mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 21:38:35 +03:00
add cover with toggle
This commit is contained in:
18
src/scss/cover.scss
Normal file
18
src/scss/cover.scss
Normal file
@@ -0,0 +1,18 @@
|
||||
.cover-container {
|
||||
position: absolute;
|
||||
top: -100%;
|
||||
left: 0;
|
||||
background-color: black;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 0.95;
|
||||
transition: top 0.4s ease;
|
||||
z-index: $overheader + 1;
|
||||
|
||||
color: $offwhite;
|
||||
|
||||
&.showing {
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
@@ -16,3 +16,4 @@
|
||||
@import 'notification';
|
||||
@import 'scene';
|
||||
@import 'mediaplayer';
|
||||
@import 'cover';
|
||||
|
||||
Reference in New Issue
Block a user