2025-07-03 19:18:51 +02:00

75 lines
1.3 KiB
SCSS

.sidebar {
position: fixed;
top: 0;
left: 0;
width: 240px;
height: 100vh;
background-color: var(--background-primary);
color: white;
display: flex;
flex-direction: column;
padding: 16px;
z-index: 1100;
border-right: 1px solid #333;
&__header {
font-size: 20px;
font-weight: 600;
margin-bottom: 24px;
display: flex;
align-items: center;
color: white;
&__icon-spacing {
margin-left: 8px;
}
}
&__dropdown-button {
padding: 10px 0;
background: none;
border: none;
color: white;
font-size: 16px;
text-align: left;
display: flex;
align-items: center;
width: 100%;
cursor: pointer;
transition: background-color 0.2s ease;
&:hover {
background-color: rgba(255, 255, 255, 0.08);
}
svg {
margin-right: 10px;
}
.sidebar__arrow {
margin-left: auto;
font-size: 12px;
}
}
&__submenu {
margin-left: 28px;
display: flex;
flex-direction: column;
border-left: 2px solid rgba(255, 255, 255, 0.1);
padding-left: 8px;
a {
color: white;
padding: 8px 0;
font-size: 14px;
text-decoration: none;
transition: color 0.2s ease;
&:hover {
color: var(--primary-color); // Define your highlight color in variables
}
}
}
}