two/web/components/side-nav/side-nav.css
GnomeZworc 7946129a75
web: start: move css to dedicated file
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
2026-06-01 19:44:44 +02:00

40 lines
836 B
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: 11px 12px;
border-radius: 6px;
text-decoration: none;
color: #a6adc8;
font-size: 14px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
min-height: 44px;
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; }