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

103 lines
1.5 KiB
SCSS
Raw Normal View History

.sidenav {
z-index: 10;
2023-08-21 22:08:25 +02:00
background-color: transparent;
width: 225px;
height: calc(100vh - 65px);
position: absolute;
top: 65px;
2024-04-04 17:45:48 +09:00
transition: 0.25s;
box-shadow: 5px 0px 30px 0px #000;
padding-bottom: 20px;
2023-09-13 09:21:31 +02:00
@media (max-width: 613px) {
top: 105px;
}
2023-08-21 22:08:25 +02:00
}
2024-04-04 17:45:48 +09:00
:host-context(.ltr-layout) .sidenav {
left: -250px;
}
:host-context(.rtl-layout) .sidenav {
right: -250px;
}
2023-09-13 09:30:11 +02:00
.ellipsis {
display: block;
overflow: hidden;
text-overflow: ellipsis;
}
2023-08-21 22:08:25 +02:00
.scrollable {
overflow-x: hidden;
2023-09-13 09:21:31 +02:00
overflow-y: auto;
}
.sidenav.open {
display: block;
2024-04-06 15:48:35 +09:00
background-color: var(--bg);
}
2024-04-04 17:45:48 +09:00
:host-context(.ltr-layout) .sidenav.open {
left: 0;
}
:host-context(.rtl-layout) .sidenav.open {
right: 0;
}
.sidenav a, button{
text-decoration: none;
color: lightgray;
margin-left: 20px;
}
.sidenav a:hover {
color: white;
}
.sidenav nav {
width: 100%;
height: calc(100vh - 65px);
2024-04-06 15:48:35 +09:00
background-color: var(--bg);
padding-left: 20px;
padding-right: 20px;
2023-08-21 22:08:25 +02:00
padding-top: 20px;
padding-bottom: 20px;
@media (max-width: 991px) {
padding-bottom: 200px;
}
}
@media screen and (max-height: 450px) {
.sidenav a {font-size: 18px;}
}
.badge-default {
background-color: black;
}
.badge-og {
2024-04-06 15:48:35 +09:00
background-color: var(--title-fg);
}
.badge-pleb {
background-color: #3ccbe3;
}
.badge-chad {
background-color: #957d0b;
}
.badge-whale {
2024-04-06 15:48:35 +09:00
background-color: var(--tertiary);
}
.badge-silver {
background-color: #95a5a6;
}
.badge-gold {
background-color: #f1c40f;
}
2023-12-15 16:58:10 +01:00
.badge-platinum {
2024-04-06 15:48:35 +09:00
background-color: var(--tertiary);
}