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.
 
 
 
 
 
 

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