styles.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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. display: none;
  16. }
  17. #timelaps{
  18. position: relative; z-index: 5;
  19. width:100%; height:100%;
  20. overflow: hidden;
  21. // border: 1px solid blue;
  22. video#timelapsvid {
  23. position: absolute;
  24. top: 0; left: 0;
  25. width:100%; height:100%;
  26. // source:not(.1080p){
  27. // display:none;
  28. // }
  29. @media (min-aspect-ratio: 16/9) {
  30. height: 200%;
  31. top: -50%;
  32. }
  33. @media (max-aspect-ratio: 16/9) {
  34. width: 200%;
  35. left: -50%;
  36. }
  37. }
  38. }
  39. #mapout{
  40. position: absolute; z-index: 9;
  41. bottom:0; left:0; width:23.5%; margin:1% 0.5% 1% 1%; height:10%;
  42. background-color: rgba(255, 255, 255, 0.6);
  43. border-radius: 2px;
  44. }
  45. #mapin{
  46. position: absolute; z-index: 9;
  47. bottom:0; left:25%; width:23.5%; margin:1% 0.5% 1% 0.5%; height:10%;
  48. background-color: rgba(255, 255, 255, 0.6);
  49. border-radius: 2px;
  50. }
  51. #timeline{
  52. position: absolute; z-index: 9;
  53. bottom:0; right:0; width:48%; margin:1% 1% 1% 0.5%; padding:0.5%; height:8.3%;
  54. background-color: rgba(15, 15, 15, 0.8);
  55. border-radius: 2px;
  56. .vis-timeline{
  57. border:none;
  58. }
  59. .vis-time-axis,
  60. .vis-background, .vis-background.vis-horizontal, .vis-background.vis-vertical,
  61. .vis-panel.vis-center, .vis-panel.vis-top, .vis-panel.vis-bottom{
  62. border:none;
  63. }
  64. .vis-text{
  65. color:#827f7f;
  66. }
  67. .vis-custom-time.videotime{
  68. background-color: #2781cc;
  69. }
  70. }
  71. #teaser{
  72. position:absolute; z-index: 50;
  73. top:0; left:0; width:100%; height:100%;
  74. background-color: #000;
  75. background-image: url(../assets/lagare.png);
  76. background-size: cover;
  77. background-repeat: no-repeat;
  78. .layer{
  79. position: absolute;
  80. width:100%; height:100%;
  81. top:0; left:0;
  82. background-color: rgba(0,0,0,0.7);
  83. }
  84. .popup{
  85. position: absolute;
  86. background-color: rgba(0,0,0,0.8);
  87. width:20%; left:50%; top:45%; margin-left: -10%;
  88. border-radius: 4px;
  89. h1{
  90. color: #fff;
  91. text-align: center;
  92. font-family: monospace;
  93. }
  94. }
  95. }
  96. body.teasing{
  97. #timelaps, #mapin, #mapout{display: none;}
  98. }