styles.css 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. html, body {
  2. position: relative;
  3. margin: 0;
  4. padding: 0;
  5. overflow: hidden;
  6. width: 100%;
  7. height: 100%;
  8. background-color: black; }
  9. #root {
  10. position: relative;
  11. width: 100%;
  12. height: 100%; }
  13. #header {
  14. position: absolute;
  15. z-index: 10;
  16. top: 0;
  17. left: 0; }
  18. #timelaps {
  19. position: relative;
  20. z-index: 5;
  21. width: 100%;
  22. height: 100%;
  23. overflow: hidden; }
  24. #timelaps video#timelapsvid {
  25. position: absolute;
  26. top: 0;
  27. left: 0;
  28. width: 100%;
  29. height: 100%; }
  30. @media (min-aspect-ratio: 16 / 9) {
  31. #timelaps video#timelapsvid {
  32. height: 300%;
  33. top: -100%; } }
  34. @media (max-aspect-ratio: 16 / 9) {
  35. #timelaps video#timelapsvid {
  36. width: 300%;
  37. left: -100%; } }
  38. #timeline {
  39. position: absolute;
  40. z-index: 9;
  41. bottom: 0;
  42. left: 0;
  43. width: 67%;
  44. margin: 1% 0 1% 32%;
  45. padding: 7px;
  46. background-color: rgba(0, 0, 0, 0.8);
  47. border-radius: 2px; }
  48. #timeline .vis-timeline {
  49. border: none; }
  50. #timeline .vis-time-axis,
  51. #timeline .vis-background, #timeline .vis-background.vis-horizontal, #timeline .vis-background.vis-vertical,
  52. #timeline .vis-panel.vis-center, #timeline .vis-panel.vis-top, #timeline .vis-panel.vis-bottom {
  53. border: none; }
  54. #timeline .vis-text {
  55. color: white; }
  56. #timeline .vis-custom-time.videotime {
  57. background-color: red; }
  58. #map {
  59. position: absolute;
  60. z-index: 9;
  61. bottom: 0;
  62. left: 0;
  63. width: 30%;
  64. margin: 1%;
  65. height: 40%;
  66. background-color: rgba(255, 255, 255, 0.6);
  67. border-radius: 2px;
  68. display: none; }