styles.scss 1.4 KB

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