117 lines
2.1 KiB
CSS
117 lines
2.1 KiB
CSS
@import '../utils/variables.css';
|
|
|
|
.sidebar {
|
|
width: var(--sidebar-width);
|
|
height: 100vh;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: var(--z-sidebar);
|
|
background-color: white;
|
|
box-shadow: var(--shadow-sm);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.sidebar-header {
|
|
padding: 1.5rem;
|
|
background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
|
|
color: white;
|
|
}
|
|
|
|
.sidebar-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
text-decoration: none;
|
|
color: white;
|
|
}
|
|
|
|
.brand-logo {
|
|
width: 45px;
|
|
height: 45px;
|
|
background-color: transparent;
|
|
border-radius: var(--border-radius);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.logo-img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.brand-text {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.brand-title {
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
margin: 0;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.brand-version {
|
|
font-size: 0.8rem;
|
|
opacity: 0.8;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.sidebar-content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
.nav-section {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.nav-section-title {
|
|
padding: 0.5rem 1.5rem;
|
|
font-size: 0.75rem;
|
|
text-transform: uppercase;
|
|
color: var(--secondary-color);
|
|
font-weight: 600;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.sidebar .nav-link {
|
|
padding: 0.8rem 1.5rem;
|
|
color: var(--body-color);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
transition: color var(--transition-speed) ease,
|
|
background-color var(--transition-speed) ease;
|
|
}
|
|
|
|
.sidebar .nav-link:hover,
|
|
.sidebar .nav-link.active {
|
|
color: var(--primary-color);
|
|
background-color: rgba(13, 110, 253, 0.1);
|
|
}
|
|
|
|
.sidebar-footer {
|
|
padding: 1rem;
|
|
font-size: 0.8rem;
|
|
color: var(--text-muted);
|
|
text-align: center;
|
|
background-color: var(--light-color);
|
|
border-top: 1px solid rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
@media (max-width: 991.98px) {
|
|
.sidebar {
|
|
transform: translateX(-100%);
|
|
transition: transform var(--transition-speed) ease;
|
|
}
|
|
|
|
.sidebar.show {
|
|
transform: translateX(0);
|
|
}
|
|
}
|