two/web/components/side-nav/side-nav.css
GnomeZworc 686b2f62f3
web: start: menu css
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
2026-06-02 15:04:48 +02:00

56 lines
1.1 KiB
CSS

:host {
display: flex;
flex-direction: column;
width: 220px;
min-width: 220px;
background: #1e1e2e;
border-right: 1px solid #313244;
padding: 16px 12px;
gap: 4px;
height: 100%;
overflow: hidden;
box-sizing: border-box;
}
.item {
display: flex;
align-items: center;
gap: 10px;
padding: 5px 12px;
margin: 2px;
border-radius: 6px;
text-decoration: none;
color: #a6adc8;
font-size: 14px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
min-height: 25px;
transition: background 0.1s, color 0.1s;
}
.item:hover { background: #313244; color: #cdd6f4; }
.item.active { background: #313244; color: #89b4fa; }
.item.active .icon { color: #89b4fa; }
.icon {
display: flex;
align-items: center;
color: #6c7086;
flex-shrink: 0;
}
.item:hover .icon { color: #cdd6f4; }
.section-header {
font-size: 10px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.1em;
color: #45475a;
padding: 14px 12px 4px;
}
.separator {
height: 1px;
background: #313244;
margin: 6px 4px;
}