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.

92 lines
1.7 KiB

  1. body {
  2. background: #222;
  3. font-family: "Fira Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
  4. font-size: 15pt;
  5. line-height: 1.42857;
  6. color: white;
  7. }
  8. /* timeline background */
  9. .vis.timeline.root {
  10. border: none;
  11. background: #3e647e url(../img/background-moche.png); /* blue2 */
  12. background: #e1953f url(../img/background-moche.png); /* orange */
  13. background: #422a6c url(../img/background-moche.png); /* purple */
  14. background: #3145B1 url(../img/background-moche.png); /* blue */
  15. }
  16. /* grid styling */
  17. .vis.timeline .timeaxis .text {
  18. color: white;
  19. padding-top: 6px;
  20. padding-left: 6px;
  21. }
  22. .vis.timeline .timeaxis .text.major {
  23. font-weight: bold;
  24. }
  25. .vis.timeline .timeaxis .grid.minor {
  26. border-width: 1px;
  27. border-color: rgba(255,255,255, 0.2);
  28. }
  29. .vis.timeline .timeaxis .grid.major {
  30. border-width: 1px;
  31. border-color: rgba(255,255,255, 0.5);
  32. }
  33. /* default item class */
  34. .vis.timeline .item,
  35. .vis.timeline .item.line {
  36. border-width: 2px;
  37. }
  38. .vis.timeline .item.dot {
  39. border-width: 6px;
  40. border-radius: 6px;
  41. }
  42. .vis.timeline .item {
  43. border-color: lightgray;
  44. background-color: white;
  45. color: #222;
  46. }
  47. .vis.timeline .item.selected {
  48. border-color: lightgray;
  49. background-color: white;
  50. box-shadow: 0 0 16px rgba(255,255,255, 0.7);
  51. }
  52. /* custom item classes */
  53. .vis.timeline .item.green {
  54. background-color: #6dd22f;
  55. border-color: green;
  56. color: white;
  57. }
  58. .vis.timeline .item.orange {
  59. background-color: #ffdb07;
  60. border-color: orange;
  61. }
  62. .vis.timeline .item.red {
  63. background-color: #ce0000;
  64. border-color: darkred;
  65. color: white;
  66. }
  67. .vis.timeline .item.magenta {
  68. background-color: #ff00ff;
  69. border-color: darkmagenta;
  70. color: white;
  71. }