mempool/frontend/src/app/components/menu/menu.component.scss

43 lines
683 B
SCSS
Raw Normal View History

.sidenav {
2023-08-21 22:08:25 +02:00
z-index: 200;
background-color: transparent;
width: 100vw;
height: 100vh;
position: fixed;
2023-08-21 22:08:25 +02:00
left: -100vw;
top: 0;
2023-08-21 17:06:12 +02:00
transition: 0.25s;
2023-08-21 22:08:25 +02:00
}
.scrollable {
overflow-x: hidden;
overflow-y: scroll;
}
.sidenav.open {
2023-08-21 17:06:12 +02:00
left: 0px;
}
.sidenav a, button{
text-decoration: none;
color: lightgray;
margin-left: 20px;
display: block;
}
.sidenav a:hover {
color: white;
}
.sidenav nav {
2023-08-21 22:08:25 +02:00
box-shadow: 0px 0px 15px 0px #000;
height: 100vh;
max-width: 250px;
background-color: #1d1f31;
padding-left: 20px;
padding-right: 20px;
2023-08-21 22:08:25 +02:00
padding-top: 20px;
padding-bottom: 100px;
}
@media screen and (max-height: 450px) {
.sidenav a {font-size: 18px;}
}