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.

115 lines
1.9 KiB

11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
  1. .vis-item {
  2. position: absolute;
  3. color: #1A1A1A;
  4. border-color: #97B0F8;
  5. border-width: 1px;
  6. background-color: #D5DDF6;
  7. display: inline-block;
  8. overflow: hidden;
  9. }
  10. .vis-item.vis-selected {
  11. border-color: #FFC200;
  12. background-color: #FFF785;
  13. /* z-index must be higher than the z-index of custom time bar and current time bar */
  14. z-index: 2;
  15. }
  16. .vis-editable .vis-item.vis-selected {
  17. cursor: move;
  18. }
  19. .vis-item.vis-point.vis-selected {
  20. background-color: #FFF785;
  21. }
  22. .vis-item.vis-box {
  23. text-align: center;
  24. border-style: solid;
  25. border-radius: 2px;
  26. }
  27. .vis-item.vis-point {
  28. background: none;
  29. }
  30. .vis-item.vis-dot {
  31. position: absolute;
  32. padding: 0;
  33. border-width: 4px;
  34. border-style: solid;
  35. border-radius: 4px;
  36. }
  37. .vis-item.vis-range {
  38. border-style: solid;
  39. border-radius: 2px;
  40. box-sizing: border-box;
  41. }
  42. .vis-item.background {
  43. border: none;
  44. background-color: rgba(213, 221, 246, 0.4);
  45. box-sizing: border-box;
  46. padding: 0;
  47. margin: 0;
  48. }
  49. .vis-item.vis-range .vis-item-content {
  50. position: relative;
  51. display: inline-block;
  52. max-width: 100%;
  53. }
  54. .vis-item.background .vis-item-content {
  55. position: absolute;
  56. display: inline-block;
  57. max-width: 100%;
  58. margin: 5px;
  59. }
  60. .vis-item.vis-line {
  61. padding: 0;
  62. position: absolute;
  63. width: 0;
  64. border-left-width: 1px;
  65. border-left-style: solid;
  66. }
  67. .vis-item .vis-item-content {
  68. white-space: nowrap;
  69. box-sizing: border-box;
  70. padding: 5px;
  71. }
  72. .vis-item .vis-delete {
  73. background: url('img/timeline/delete.png') no-repeat top center;
  74. position: absolute;
  75. width: 24px;
  76. height: 24px;
  77. top: 0;
  78. right: -24px;
  79. cursor: pointer;
  80. }
  81. .vis-item.vis-range .vis-drag-left {
  82. position: absolute;
  83. width: 24px;
  84. height: 100%;
  85. top: 0;
  86. left: -4px;
  87. cursor: w-resize;
  88. }
  89. .vis-item.vis-range .vis-drag-right {
  90. position: absolute;
  91. width: 24px;
  92. height: 100%;
  93. top: 0;
  94. right: -4px;
  95. cursor: e-resize;
  96. }