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:
2026-06-20 21:17:07 +00:00
parent c0cc88ac3b
commit 1a907d18b0
3 changed files with 56 additions and 0 deletions
+11
View File
@@ -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;