mirror of
https://github.com/myronblair/novacpx
synced 2026-06-30 17:50:41 -05:00
feat: collapsible sidebar nav with localStorage state (#48)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LP9Q4kfCAYAjJnsbHBrViZ
This commit is contained in:
@@ -139,10 +139,21 @@ input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1) opacit
|
||||
|
||||
.sidebar-section { padding: .75rem 0; }
|
||||
.sidebar-section-label {
|
||||
display: flex; align-items: center; justify-content: space-between;
|
||||
font-size: .7rem; font-weight: 700; letter-spacing: .08em;
|
||||
text-transform: uppercase; color: var(--text-muted);
|
||||
padding: .25rem 1.25rem .5rem;
|
||||
cursor: pointer; user-select: none;
|
||||
transition: color .15s;
|
||||
}
|
||||
.sidebar-section-label:hover { color: var(--text); }
|
||||
.sidebar-section-label .nav-chevron {
|
||||
font-style: normal; font-size: .65rem; opacity: .5;
|
||||
transition: transform .2s ease;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.sidebar-section.collapsed .nav-chevron { transform: rotate(-90deg); }
|
||||
.sidebar-section.collapsed .sidebar-link { display: none; }
|
||||
.sidebar-link {
|
||||
display: flex; align-items: center; gap: .75rem;
|
||||
padding: .55rem 1.25rem; text-decoration: none;
|
||||
|
||||
Reference in New Issue
Block a user