53 lines
1.2 KiB
SCSS
53 lines
1.2 KiB
SCSS
.sidebar {
|
|
grid-area: sidebar;
|
|
background: #15171e;
|
|
backdrop-filter: blur(10px);
|
|
border-right: 1.5px solid #232837;
|
|
padding: 30px 0;
|
|
animation: slideRight 0.6s ease-out;
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
width: 300px;
|
|
height: 100vh;
|
|
z-index: 1000;
|
|
box-shadow: 4px 0 24px 0 rgba(0, 0, 0, 0.12);
|
|
overflow: hidden;
|
|
}
|
|
@keyframes slideRight {
|
|
from { transform: translateX(-100%); }
|
|
to { transform: translateX(0); }
|
|
}
|
|
.nav-menu {
|
|
list-style: none;
|
|
margin-top: 80px;
|
|
}
|
|
.nav-item {
|
|
margin: 5px 0;
|
|
}
|
|
.nav-link {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 15px 25px;
|
|
color: #b0bec5;
|
|
text-decoration: none;
|
|
transition: all 0.2s cubic-bezier(.4,0,.2,1);
|
|
border-left: 3px solid transparent;
|
|
cursor: pointer;
|
|
font-size: 1.08rem;
|
|
letter-spacing: 0.02em;
|
|
position: relative;
|
|
}
|
|
.nav-link.active, .nav-link:hover {
|
|
color: #00eaff;
|
|
background: rgba(0, 234, 255, 0.08);
|
|
border-left-color: #00eaff;
|
|
box-shadow: 0 2px 12px 0 rgba(0,234,255,0.04);
|
|
}
|
|
.nav-link i {
|
|
margin-right: 15px;
|
|
font-size: 18px;
|
|
width: 20px;
|
|
filter: drop-shadow(0 1px 2px #00eaff22);
|
|
}
|