add cover with toggle

This commit is contained in:
Lachlan Kermode
2019-02-07 12:04:47 +00:00
parent 4badf11999
commit ed9af1cbf6
10 changed files with 85 additions and 60 deletions

18
src/scss/cover.scss Normal file
View 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;
}
}

View File

@@ -16,3 +16,4 @@
@import 'notification';
@import 'scene';
@import 'mediaplayer';
@import 'cover';