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.

70 lines
1.2 KiB

11 years ago
11 years ago
  1. .vis.timeline.root {
  2. position: relative;
  3. border: 1px solid #bfbfbf;
  4. overflow: hidden;
  5. padding: 0;
  6. margin: 0;
  7. box-sizing: border-box;
  8. }
  9. .vis.timeline .vispanel {
  10. position: absolute;
  11. padding: 0;
  12. margin: 0;
  13. box-sizing: border-box;
  14. }
  15. .vis.timeline .vispanel.center,
  16. .vis.timeline .vispanel.left,
  17. .vis.timeline .vispanel.right,
  18. .vis.timeline .vispanel.top,
  19. .vis.timeline .vispanel.bottom {
  20. border: 1px #bfbfbf;
  21. }
  22. .vis.timeline .vispanel.center,
  23. .vis.timeline .vispanel.left,
  24. .vis.timeline .vispanel.right {
  25. border-top-style: solid;
  26. border-bottom-style: solid;
  27. overflow: hidden;
  28. }
  29. .vis.timeline .vispanel.center,
  30. .vis.timeline .vispanel.top,
  31. .vis.timeline .vispanel.bottom {
  32. border-left-style: solid;
  33. border-right-style: solid;
  34. }
  35. .vis.timeline .background {
  36. overflow: hidden;
  37. }
  38. .vis.timeline .vispanel > .content {
  39. position: relative;
  40. }
  41. .vis.timeline .vispanel .shadow {
  42. position: absolute;
  43. width: 100%;
  44. height: 1px;
  45. box-shadow: 0 0 10px rgba(0,0,0,0.8);
  46. /* TODO: find a nice way to ensure shadows are drawn on top of items
  47. z-index: 1;
  48. */
  49. }
  50. .vis.timeline .vispanel .shadow.top {
  51. top: -1px;
  52. left: 0;
  53. }
  54. .vis.timeline .vispanel .shadow.bottom {
  55. bottom: -1px;
  56. left: 0;
  57. }