You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

174 lines
3.3 KiB

  1. .lr-timeline {
  2. position: relative;
  3. width: 100%;
  4. height: 100%;
  5. padding:5px;
  6. }
  7. .lr-timeline-allwrap {
  8. position: relative;
  9. width: 100%;
  10. height: 100%;
  11. padding:10px;
  12. background-color:#f0f3f4;
  13. color:#58666e;
  14. }
  15. .lr-timeline ul {
  16. padding: 0;
  17. margin: 0;
  18. }
  19. .lr-timeline-header,
  20. .lr-timeline-ender
  21. {
  22. display:block;
  23. width:290px;
  24. text-align:center;
  25. }
  26. .lr-timeline-ender >div,
  27. .lr-timeline-header > div {
  28. display:inline-block;
  29. background-color:#5bc0de;
  30. padding: 6px 12px;
  31. margin-bottom: 0;
  32. font-size: 14px;
  33. font-weight: 400;
  34. line-height: 1.42857143;
  35. text-align: center;
  36. white-space: nowrap;
  37. vertical-align: middle;
  38. -ms-touch-action: manipulation;
  39. touch-action: manipulation;
  40. cursor: pointer;
  41. -webkit-user-select: none;
  42. -moz-user-select: none;
  43. -ms-user-select: none;
  44. user-select: none;
  45. background-image: none;
  46. border: 1px solid transparent;
  47. border-radius: 4px;
  48. color:#fff;
  49. }
  50. .lr-timeline-ender > div {
  51. background-color:#5cb85c;
  52. }
  53. .lr-timeline-item {
  54. display:block;
  55. }
  56. .lr-timeline-item:before, .lr-timeline-item:after {
  57. display: table;
  58. content: " ";
  59. }
  60. .lr-timeline-wrap {
  61. display: block;
  62. position:relative;
  63. padding: 15px 0 15px 20px;
  64. margin-left:143px;
  65. border-color: #dee5e7;
  66. border-style: solid;
  67. border-width: 0 0 0 4px;
  68. }
  69. .lr-timeline-wrap:hover:before {
  70. background: transparent;
  71. border-color: #fff;
  72. }
  73. .lr-timeline-current {
  74. border-color: #5bc0de;
  75. }
  76. .lr-timeline-wrap:before, .lr-timeline-wrap:after {
  77. display: table;
  78. content: " ";
  79. }
  80. .lr-timeline-wrap:before {
  81. position: relative;
  82. top: 15px;
  83. float: left;
  84. width: 10px;
  85. height: 10px;
  86. margin-left: -27px;
  87. background: #edf1f2;
  88. border-color: inherit;
  89. border-style: solid;
  90. border-width: 3px;
  91. border-radius: 50%;
  92. content: "";
  93. box-shadow: 0 0 0 4px #f0f3f4;
  94. }
  95. .lr-timeline-wrap:after {
  96. clear: both;
  97. }
  98. .lr-timeline-date {
  99. display: block;
  100. position: absolute;
  101. top: 25px;
  102. left: -143px;
  103. width: 123px;
  104. text-align: right;
  105. }
  106. .lr-timeline-content {
  107. position: relative;
  108. display: inline-block;
  109. padding: 8px 10px;
  110. padding-bottom:0px;
  111. background-color: #fff;
  112. border: 1px solid #dee5e7;
  113. border-radius: 2px;
  114. -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  115. box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  116. }
  117. .lr-timeline-content .arrow {
  118. position: absolute;
  119. display: block;
  120. z-index: 10;
  121. border-width: 9px;
  122. border-color: transparent;
  123. border-style: solid;
  124. width: 0;
  125. height: 0;
  126. top: 19px;
  127. left: -9px;
  128. margin-top: -9px;
  129. border-right-color: rgba(0, 0, 0, 0.1);
  130. border-left-width: 0;
  131. }
  132. .lr-timeline-content .arrow:after {
  133. position: absolute;
  134. display: block;
  135. width: 0;
  136. height: 0;
  137. border-color: transparent;
  138. border-style: solid;
  139. border-width: 8px;
  140. content: "";
  141. bottom: -8px;
  142. left: 1px;
  143. border-right-color: #ffffff;
  144. border-left-width: 0;
  145. }
  146. .lr-timeline-title {
  147. margin-bottom:8px;
  148. color:#333;
  149. }
  150. .lr-timeline-body {
  151. margin-left:-10px;
  152. margin-right:-10px;
  153. padding:12px;
  154. border-top: 1px solid #edf1f2;
  155. }
  156. .lr-timeline-body > span {
  157. color:#5bc0de;
  158. cursor:pointer;
  159. }