Mobile-friendly Menu UI
This commit is contained in:
parent
1a47e8143a
commit
1193d70d90
5 changed files with 135 additions and 20 deletions
|
|
@ -384,3 +384,40 @@ button {
|
|||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.mobile-menu {
|
||||
position: fixed;
|
||||
z-index: 1024;
|
||||
top: 0;
|
||||
left: 0;
|
||||
display: none;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: rgba($background, 0.95);
|
||||
color: $foreground;
|
||||
|
||||
.close-mobile-menu {
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
justify-items: flex-end;
|
||||
width: 100vw;
|
||||
max-width: 100vw;
|
||||
font-size: 4rem;
|
||||
background-color: rgba($darkRed, 0.5);
|
||||
|
||||
&:hover {
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
.item {
|
||||
width: 100vw;
|
||||
height: 10px;
|
||||
max-height: 4rem;
|
||||
// height: 2rem;
|
||||
}
|
||||
|
||||
.sub.item {
|
||||
padding-left: 3rem;
|
||||
background-color: map-get($dark, "buttonActive");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue