feat(18-02): add sidebar collapsed-state CSS rules and regenerate tailwind.css

- Add .dashboard-shell.sidebar-is-collapsed grid-template-columns: 4rem 1fr
- Hide sidebar-brand-title, section labels, nav labels, project labels when collapsed
- Center icons in collapsed state via justify-content: center on sidebar-nav-link-inner
- Hide sidebar-project-list in collapsed state (no icons for project entries)
- Flip collapse button chevron with rotate(180deg) when collapsed
- Regenerate static/tailwind.css via bin/tailwindcss --minify
This commit is contained in:
Arthur Belleville 2026-05-17 15:30:42 +02:00
parent b592a02bef
commit 8a91183639
No known key found for this signature in database
2 changed files with 34 additions and 0 deletions

View file

@ -325,6 +325,38 @@
font-size: 0.75rem;
}
/* ============================================================
Section 11b Sidebar collapse state
============================================================ */
/* When sidebar-is-collapsed is toggled on the shell, shrink the grid column */
.dashboard-shell.sidebar-is-collapsed {
grid-template-columns: 4rem 1fr;
}
/* Hide text labels and section headings in collapsed state */
.dashboard-shell.sidebar-is-collapsed .sidebar-brand-title,
.dashboard-shell.sidebar-is-collapsed .sidebar-section-label,
.dashboard-shell.sidebar-is-collapsed .sidebar-nav-label,
.dashboard-shell.sidebar-is-collapsed .sidebar-project-label {
display: none;
}
/* Center icons in collapsed state */
.dashboard-shell.sidebar-is-collapsed .sidebar-nav-link-inner {
justify-content: center;
}
/* Hide the full project list in collapsed state (icons not present for projects) */
.dashboard-shell.sidebar-is-collapsed .sidebar-project-list {
display: none;
}
/* Flip the collapse button chevron when collapsed */
.dashboard-shell.sidebar-is-collapsed .sidebar-collapse-button svg {
transform: rotate(180deg);
}
/* ============================================================
Section 12 Dashboard main content area
============================================================ */

File diff suppressed because one or more lines are too long