ChandimaPrabath's picture
0.0.0.2 Alpha
3b85fd7
raw
history blame
1.85 kB
.sidebar {
display: flex;
flex-direction: column;
position: fixed;
top: 0;
left: 0;
height: 100vh;
background-color: #0c0c16;
color: white;
font-family: 'Inter', sans-serif;
transition: width 0.3s;
z-index: 1000;
}
.sidebar-content {
display: flex;
flex-direction: column;
flex: 1;
}
.sidebar.open {
width: 320px;
}
.sidebar.closed {
width: 0;
}
.sidebar-header {
display: flex;
align-items: center;
padding-top: 20px;
padding-left: 20px;
}
.sidebar-toggle {
background: none;
border: none;
color: white;
font-size: 1.5rem;
cursor: pointer;
}
.sidebar-title {
font-size: 1.25rem;
margin-left: 16px;
white-space: nowrap;
}
.sidebar-menu {
margin-top: 16px;
flex: 1;
}
.sidebar-link {
text-decoration: none;
color: #b0b0b0;
display: flex;
align-items: center;
padding: 8px 16px;
border-radius: 8px;
margin-bottom: 8px;
margin-left: 10px;
margin-right: 10px;
background-color: #161527;
cursor: pointer;
white-space: nowrap;
position: relative;
transition: color 0.3s ease, transform 0.3s ease;
}
.sidebar-link.active {
color: #ffffff;
background-color: #21264a;
}
.sidebar-link:hover {
color: #ffffff;
transform: translateY(-2px);
}
.sidebar-footer {
padding: 16px;
margin-bottom: 20px;
}
@media only screen and (orientation: portrait) {
.sidebar-footer {
padding: 16px;
}
}
.sidebar-item {
display: flex;
align-items: center;
padding: 8px 16px;
border-radius: 8px;
cursor: pointer;
white-space: nowrap;
}
.sidebar-item svg {
margin-right: 15px;
}
.sidebar-item-text {
font-size: 0.875rem;
font-weight: 500;
}