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.

235 lines
4.0 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.cluster {
  88. /* TODO: use another color or pattern? */
  89. background: #97B0F8 url('img/cluster_bg.png');
  90. color: white;
  91. }
  92. .vis.timeline .item.cluster.point {
  93. border-color: #D5DDF6;
  94. }
  95. .vis.timeline .item.box {
  96. text-align: center;
  97. border-style: solid;
  98. border-width: 1px;
  99. border-radius: 5px;
  100. -moz-border-radius: 5px; /* For Firefox 3.6 and older */
  101. }
  102. .vis.timeline .item.point {
  103. background: none;
  104. }
  105. .vis.timeline .dot {
  106. border: 5px solid #97B0F8;
  107. position: absolute;
  108. border-radius: 5px;
  109. -moz-border-radius: 5px; /* For Firefox 3.6 and older */
  110. }
  111. .vis.timeline .item.range {
  112. overflow: hidden;
  113. border-style: solid;
  114. border-width: 1px;
  115. border-radius: 2px;
  116. -moz-border-radius: 2px; /* For Firefox 3.6 and older */
  117. }
  118. .vis.timeline .item.rangeoverflow {
  119. border-style: solid;
  120. border-width: 1px;
  121. border-radius: 2px;
  122. -moz-border-radius: 2px; /* For Firefox 3.6 and older */
  123. }
  124. .vis.timeline .item.range .drag-left, .vis.timeline .item.rangeoverflow .drag-left {
  125. cursor: w-resize;
  126. z-index: 1000;
  127. }
  128. .vis.timeline .item.range .drag-right, .vis.timeline .item.rangeoverflow .drag-right {
  129. cursor: e-resize;
  130. z-index: 1000;
  131. }
  132. .vis.timeline .item.range .content, .vis.timeline .item.rangeoverflow .content {
  133. position: relative;
  134. display: inline-block;
  135. }
  136. .vis.timeline .item.line {
  137. position: absolute;
  138. width: 0;
  139. border-left-width: 1px;
  140. border-left-style: solid;
  141. }
  142. .vis.timeline .item .content {
  143. margin: 5px;
  144. white-space: nowrap;
  145. overflow: hidden;
  146. }
  147. .vis.timeline .axis {
  148. position: relative;
  149. }
  150. .vis.timeline .axis .text {
  151. position: absolute;
  152. color: #4d4d4d;
  153. padding: 3px;
  154. white-space: nowrap;
  155. }
  156. .vis.timeline .axis .text.measure {
  157. position: absolute;
  158. padding-left: 0;
  159. padding-right: 0;
  160. margin-left: 0;
  161. margin-right: 0;
  162. visibility: hidden;
  163. }
  164. .vis.timeline .axis .grid.vertical {
  165. position: absolute;
  166. width: 0;
  167. border-right: 1px solid;
  168. }
  169. .vis.timeline .axis .grid.horizontal {
  170. position: absolute;
  171. left: 0;
  172. width: 100%;
  173. height: 0;
  174. border-bottom: 1px solid;
  175. }
  176. .vis.timeline .axis .grid.minor {
  177. border-color: #e5e5e5;
  178. }
  179. .vis.timeline .axis .grid.major {
  180. border-color: #bfbfbf;
  181. }
  182. .vis.timeline .currenttime {
  183. background-color: #FF7F6E;
  184. width: 2px;
  185. z-index: 9;
  186. }
  187. .vis.timeline .customtime {
  188. background-color: #6E94FF;
  189. width: 2px;
  190. cursor: move;
  191. z-index: 9;
  192. }