Files
picrinth-admin/src/components/Sidebar.css
2025-09-22 16:45:50 +03:00

79 lines
1.3 KiB
CSS

.sidebar {
display: flex;
top: 0;
left: 0;
width: 280px;
height: 100%;
background-color: var(--background-dark);
box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
border-right: 1px solid #404040;
flex-direction: column;
}
.sidebar-content {
flex: 1;
}
.sidebar-header {
padding: 1.5rem;
border-bottom: 1px solid #404040;
background-color: #333333;
}
.sidebar-title {
margin: 0;
font-size: 1.25rem;
color: var(--text-dark);
}
.sidebar-nav {
padding: 1rem 0;
}
.sidebar-bottom {
padding: 0;
border-top: 1px solid #404040;
margin-top: auto;
}
.sidebar-link {
display: block;
padding: 0.75rem 1.5rem;
color: var(--text-dark);
text-decoration: none;
transition: all 0.2s ease;
border-left: 3px solid transparent;
}
.sidebar-link:hover {
background-color: #333333;
border-left-color: var(--links-main-color);
color: var(--links-main-color);
}
.logout-button {
display: block;
width: 100%;
padding: 0.75rem 1.5rem;
background: none;
border: none;
text-align: left;
font-family: inherit;
font-size: inherit;
color: var(--text-dark);
text-decoration: none;
cursor: pointer;
transition: color 0.2s ease;
border-left: 3px solid transparent;
}
.logout-button:hover {
color: var(--accent-color-alternative);
background-color: #333333;
border-left-color: var(--accent-color-alternative);
}