vis.js is a dynamic, browser-based visualization library
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.

243 lines
4.2 KiB

  1. .vis.timeline {
  2. }
  3. .vis.timeline.rootpanel {
  4. position: relative;
  5. overflow: hidden;
  6. border: 1px solid #bfbfbf;
  7. -moz-box-sizing: border-box;
  8. box-sizing: border-box;
  9. }
  10. .vis.timeline .panel {
  11. position: absolute;
  12. overflow: hidden;
  13. }
  14. .vis.timeline .groupset {
  15. position: absolute;
  16. padding: 0;
  17. margin: 0;
  18. }
  19. .vis.timeline .labels {
  20. position: absolute;
  21. top: 0;
  22. left: 0;
  23. width: 100%;
  24. height: 100%;
  25. padding: 0;
  26. margin: 0;
  27. border-right: 1px solid #bfbfbf;
  28. box-sizing: border-box;
  29. -moz-box-sizing: border-box;
  30. }
  31. .vis.timeline .labels .label-set {
  32. position: absolute;
  33. top: 0;
  34. left: 0;
  35. width: 100%;
  36. height: 100%;
  37. overflow: hidden;
  38. border-top: none;
  39. border-bottom: 1px solid #bfbfbf;
  40. }
  41. .vis.timeline .labels .label-set .label {
  42. position: absolute;
  43. left: 0;
  44. top: 0;
  45. width: 100%;
  46. color: #4d4d4d;
  47. }
  48. .vis.timeline.top .labels .label-set .label,
  49. .vis.timeline.top .groupset .itemset-axis {
  50. border-top: 1px solid #bfbfbf;
  51. border-bottom: none;
  52. }
  53. .vis.timeline.bottom .labels .label-set .label,
  54. .vis.timeline.bottom .groupset .itemset-axis {
  55. border-top: none;
  56. border-bottom: 1px solid #bfbfbf;
  57. }
  58. .vis.timeline .labels .label-set .label .inner {
  59. display: inline-block;
  60. padding: 5px;
  61. }
  62. .vis.timeline .itemset {
  63. position: absolute;
  64. padding: 0;
  65. margin: 0;
  66. overflow: hidden;
  67. }
  68. .vis.timeline .background {
  69. }
  70. .vis.timeline .foreground {
  71. }
  72. .vis.timeline .itemset-axis {
  73. position: absolute;
  74. }
  75. .vis.timeline .item {
  76. position: absolute;
  77. color: #1A1A1A;
  78. border-color: #97B0F8;
  79. background-color: #D5DDF6;
  80. display: inline-block;
  81. }
  82. .vis.timeline .item.selected {
  83. border-color: #FFC200;
  84. background-color: #FFF785;
  85. z-index: 999;
  86. }
  87. .vis.timeline .item.point.selected {
  88. background-color: #FFF785;
  89. z-index: 999;
  90. }
  91. .vis.timeline .item.point.selected .dot {
  92. border-color: #FFC200;
  93. }
  94. .vis.timeline .item.cluster {
  95. /* TODO: use another color or pattern? */
  96. background: #97B0F8 url('img/cluster_bg.png');
  97. color: white;
  98. }
  99. .vis.timeline .item.cluster.point {
  100. border-color: #D5DDF6;
  101. }
  102. .vis.timeline .item.box {
  103. text-align: center;
  104. border-style: solid;
  105. border-width: 1px;
  106. border-radius: 5px;
  107. -moz-border-radius: 5px; /* For Firefox 3.6 and older */
  108. }
  109. .vis.timeline .item.point {
  110. background: none;
  111. }
  112. .vis.timeline .dot {
  113. border: 5px solid #97B0F8;
  114. position: absolute;
  115. border-radius: 5px;
  116. -moz-border-radius: 5px; /* For Firefox 3.6 and older */
  117. }
  118. .vis.timeline .item.range {
  119. overflow: hidden;
  120. border-style: solid;
  121. border-width: 1px;
  122. border-radius: 2px;
  123. -moz-border-radius: 2px; /* For Firefox 3.6 and older */
  124. }
  125. .vis.timeline .item.rangeoverflow {
  126. border-style: solid;
  127. border-width: 1px;
  128. border-radius: 2px;
  129. -moz-border-radius: 2px; /* For Firefox 3.6 and older */
  130. }
  131. .vis.timeline .item.range .drag-left, .vis.timeline .item.rangeoverflow .drag-left {
  132. cursor: w-resize;
  133. z-index: 1000;
  134. }
  135. .vis.timeline .item.range .drag-right, .vis.timeline .item.rangeoverflow .drag-right {
  136. cursor: e-resize;
  137. z-index: 1000;
  138. }
  139. .vis.timeline .item.range .content, .vis.timeline .item.rangeoverflow .content {
  140. position: relative;
  141. display: inline-block;
  142. }
  143. .vis.timeline .item.line {
  144. position: absolute;
  145. width: 0;
  146. border-left-width: 1px;
  147. border-left-style: solid;
  148. }
  149. .vis.timeline .item .content {
  150. margin: 5px;
  151. white-space: nowrap;
  152. overflow: hidden;
  153. }
  154. .vis.timeline .axis {
  155. position: relative;
  156. }
  157. .vis.timeline .axis .text {
  158. position: absolute;
  159. color: #4d4d4d;
  160. padding: 3px;
  161. white-space: nowrap;
  162. }
  163. .vis.timeline .axis .text.measure {
  164. position: absolute;
  165. padding-left: 0;
  166. padding-right: 0;
  167. margin-left: 0;
  168. margin-right: 0;
  169. visibility: hidden;
  170. }
  171. .vis.timeline .axis .grid.vertical {
  172. position: absolute;
  173. width: 0;
  174. border-right: 1px solid;
  175. }
  176. .vis.timeline .axis .grid.horizontal {
  177. position: absolute;
  178. left: 0;
  179. width: 100%;
  180. height: 0;
  181. border-bottom: 1px solid;
  182. }
  183. .vis.timeline .axis .grid.minor {
  184. border-color: #e5e5e5;
  185. }
  186. .vis.timeline .axis .grid.major {
  187. border-color: #bfbfbf;
  188. }
  189. .vis.timeline .currenttime {
  190. background-color: #FF7F6E;
  191. width: 2px;
  192. z-index: 9;
  193. }
  194. .vis.timeline .customtime {
  195. background-color: #6E94FF;
  196. width: 2px;
  197. cursor: move;
  198. z-index: 9;
  199. }