styles.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. display:none;
  73. position:absolute; z-index: 50;
  74. top:0; left:0; width:100%; height:100%;
  75. background-color: #000;
  76. background-image: url(../assets/lagare.png);
  77. background-size: cover;
  78. background-repeat: no-repeat;
  79. .layer{
  80. position: absolute;
  81. width:100%; height:100%;
  82. top:0; left:0;
  83. background-color: rgba(0,0,0,0.7);
  84. }
  85. .popup{
  86. position: absolute;
  87. background-color: rgba(0,0,0,0.8);
  88. width:20%; left:50%; top:45%; margin-left: -10%;
  89. border-radius: 4px;
  90. h1{
  91. color: #fff;
  92. text-align: center;
  93. font-family: monospace;
  94. }
  95. }
  96. }
  97. body.teasing{
  98. #teaser{display:block;}
  99. #timelaps, #timeline, #mapin, #mapout{display: none;}
  100. }