2026-03-18 10:06:32 +01:00
|
|
|
.sidebar {
|
2026-03-18 17:50:41 +01:00
|
|
|
width: 260px;
|
2026-03-18 10:06:32 +01:00
|
|
|
flex-shrink: 0;
|
|
|
|
|
background: var(--sidebar-bg);
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
overflow: hidden;
|
feat(sidebar): update CSS for composable compound component
Add collapsed state styles (sidebarCollapsed, collapseToggle), icon-rail
mode (sectionRailItem, sectionIcon), and width transition. Remove old
monolithic classes (navArea, section, items, item, navIcon, routeArrow,
all starred-section styles). Pin footer with margin-top: auto.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 17:55:20 +02:00
|
|
|
position: relative;
|
|
|
|
|
transition: width 200ms ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebarCollapsed {
|
|
|
|
|
width: 48px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Collapse toggle */
|
|
|
|
|
.collapseToggle {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 8px;
|
|
|
|
|
right: 4px;
|
|
|
|
|
width: 24px;
|
|
|
|
|
height: 24px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
background: none;
|
|
|
|
|
border: none;
|
|
|
|
|
color: var(--sidebar-muted);
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
border-radius: var(--radius-sm);
|
|
|
|
|
padding: 0;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
transition: color 0.12s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.collapseToggle:hover {
|
|
|
|
|
color: var(--sidebar-text);
|
2026-03-18 10:06:32 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Logo */
|
|
|
|
|
.logo {
|
|
|
|
|
padding: 16px 18px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
|
|
|
flex-shrink: 0;
|
feat(sidebar): update CSS for composable compound component
Add collapsed state styles (sidebarCollapsed, collapseToggle), icon-rail
mode (sectionRailItem, sectionIcon), and width transition. Remove old
monolithic classes (navArea, section, items, item, navIcon, routeArrow,
all starred-section styles). Pin footer with margin-top: auto.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 17:55:20 +02:00
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebarCollapsed .logo {
|
|
|
|
|
padding: 16px 0;
|
|
|
|
|
justify-content: center;
|
2026-03-18 10:06:32 +01:00
|
|
|
}
|
|
|
|
|
|
2026-04-15 18:42:12 +02:00
|
|
|
|
2026-03-18 11:01:40 +01:00
|
|
|
.logoImg {
|
|
|
|
|
width: 28px;
|
|
|
|
|
height: 24px;
|
2026-03-19 16:33:34 +01:00
|
|
|
color: var(--amber);
|
2026-03-18 11:01:40 +01:00
|
|
|
filter: brightness(0) saturate(100%) invert(76%) sepia(30%) saturate(400%) hue-rotate(5deg) brightness(95%);
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-18 10:06:32 +01:00
|
|
|
.brand {
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 15px;
|
2026-03-19 16:33:34 +01:00
|
|
|
color: var(--amber);
|
2026-03-18 10:06:32 +01:00
|
|
|
letter-spacing: -0.3px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.version {
|
|
|
|
|
font-family: var(--font-mono);
|
2026-04-12 17:24:42 +02:00
|
|
|
font-size: 10px;
|
2026-03-18 10:06:32 +01:00
|
|
|
color: var(--sidebar-muted);
|
2026-04-12 17:24:42 +02:00
|
|
|
margin-left: 8px;
|
|
|
|
|
opacity: 0.6;
|
2026-03-18 10:06:32 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Search */
|
|
|
|
|
.searchWrap {
|
|
|
|
|
padding: 10px 12px;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.searchInner {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.searchInput {
|
|
|
|
|
width: 100%;
|
|
|
|
|
background: rgba(255, 255, 255, 0.06);
|
|
|
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
|
|
|
border-radius: var(--radius-sm);
|
2026-03-18 19:11:58 +01:00
|
|
|
padding: 6px 26px 6px 28px;
|
2026-03-18 10:06:32 +01:00
|
|
|
color: var(--sidebar-text);
|
|
|
|
|
font-family: var(--font-body);
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
outline: none;
|
|
|
|
|
transition: border-color 0.15s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.searchInput::placeholder {
|
|
|
|
|
color: var(--sidebar-muted);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.searchInput:focus {
|
|
|
|
|
border-color: rgba(198, 130, 14, 0.4);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.searchIcon {
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 9px;
|
|
|
|
|
top: 50%;
|
|
|
|
|
transform: translateY(-50%);
|
|
|
|
|
color: var(--sidebar-muted);
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-18 19:11:58 +01:00
|
|
|
.searchClear {
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 4px;
|
|
|
|
|
top: 50%;
|
|
|
|
|
transform: translateY(-50%);
|
|
|
|
|
width: 20px;
|
|
|
|
|
height: 20px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
border: none;
|
|
|
|
|
background: none;
|
|
|
|
|
color: var(--sidebar-muted);
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
border-radius: var(--radius-sm);
|
|
|
|
|
padding: 0;
|
|
|
|
|
line-height: 1;
|
|
|
|
|
transition: color 0.1s, background 0.1s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.searchClear:hover {
|
|
|
|
|
color: var(--sidebar-text);
|
|
|
|
|
background: rgba(255, 255, 255, 0.08);
|
|
|
|
|
}
|
|
|
|
|
|
feat(sidebar): update CSS for composable compound component
Add collapsed state styles (sidebarCollapsed, collapseToggle), icon-rail
mode (sectionRailItem, sectionIcon), and width transition. Remove old
monolithic classes (navArea, section, items, item, navIcon, routeArrow,
all starred-section styles). Pin footer with margin-top: auto.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 17:55:20 +02:00
|
|
|
/* Section icon (collapsed rail) */
|
|
|
|
|
.sectionIcon {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 16px;
|
2026-03-18 10:06:32 +01:00
|
|
|
color: var(--sidebar-muted);
|
|
|
|
|
}
|
|
|
|
|
|
feat(sidebar): update CSS for composable compound component
Add collapsed state styles (sidebarCollapsed, collapseToggle), icon-rail
mode (sectionRailItem, sectionIcon), and width transition. Remove old
monolithic classes (navArea, section, items, item, navIcon, routeArrow,
all starred-section styles). Pin footer with margin-top: auto.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 17:55:20 +02:00
|
|
|
/* Rail item (collapsed sidebar section) */
|
|
|
|
|
.sectionRailItem {
|
2026-03-18 10:06:32 +01:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
feat(sidebar): update CSS for composable compound component
Add collapsed state styles (sidebarCollapsed, collapseToggle), icon-rail
mode (sectionRailItem, sectionIcon), and width transition. Remove old
monolithic classes (navArea, section, items, item, navIcon, routeArrow,
all starred-section styles). Pin footer with margin-top: auto.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 17:55:20 +02:00
|
|
|
justify-content: center;
|
|
|
|
|
padding: 10px 0;
|
2026-03-18 10:06:32 +01:00
|
|
|
cursor: pointer;
|
|
|
|
|
border-left: 3px solid transparent;
|
feat(sidebar): update CSS for composable compound component
Add collapsed state styles (sidebarCollapsed, collapseToggle), icon-rail
mode (sectionRailItem, sectionIcon), and width transition. Remove old
monolithic classes (navArea, section, items, item, navIcon, routeArrow,
all starred-section styles). Pin footer with margin-top: auto.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 17:55:20 +02:00
|
|
|
transition: background 0.12s;
|
2026-03-18 10:06:32 +01:00
|
|
|
}
|
|
|
|
|
|
feat(sidebar): update CSS for composable compound component
Add collapsed state styles (sidebarCollapsed, collapseToggle), icon-rail
mode (sectionRailItem, sectionIcon), and width transition. Remove old
monolithic classes (navArea, section, items, item, navIcon, routeArrow,
all starred-section styles). Pin footer with margin-top: auto.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 17:55:20 +02:00
|
|
|
.sectionRailItem:hover {
|
2026-03-18 10:06:32 +01:00
|
|
|
background: var(--sidebar-hover);
|
|
|
|
|
}
|
|
|
|
|
|
feat(sidebar): update CSS for composable compound component
Add collapsed state styles (sidebarCollapsed, collapseToggle), icon-rail
mode (sectionRailItem, sectionIcon), and width transition. Remove old
monolithic classes (navArea, section, items, item, navIcon, routeArrow,
all starred-section styles). Pin footer with margin-top: auto.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 17:55:20 +02:00
|
|
|
.sectionRailItemActive {
|
2026-03-18 10:06:32 +01:00
|
|
|
border-left-color: var(--amber);
|
|
|
|
|
}
|
|
|
|
|
|
feat(sidebar): update CSS for composable compound component
Add collapsed state styles (sidebarCollapsed, collapseToggle), icon-rail
mode (sectionRailItem, sectionIcon), and width transition. Remove old
monolithic classes (navArea, section, items, item, navIcon, routeArrow,
all starred-section styles). Pin footer with margin-top: auto.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 17:55:20 +02:00
|
|
|
.sectionRailItemActive .sectionIcon {
|
2026-03-19 16:33:34 +01:00
|
|
|
color: var(--amber);
|
2026-03-18 11:01:40 +01:00
|
|
|
}
|
|
|
|
|
|
feat(sidebar): update CSS for composable compound component
Add collapsed state styles (sidebarCollapsed, collapseToggle), icon-rail
mode (sectionRailItem, sectionIcon), and width transition. Remove old
monolithic classes (navArea, section, items, item, navIcon, routeArrow,
all starred-section styles). Pin footer with margin-top: auto.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 17:55:20 +02:00
|
|
|
.treeSectionActive {
|
|
|
|
|
border-left-color: var(--amber);
|
2026-03-18 10:06:32 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Item sub-elements */
|
|
|
|
|
.itemInfo {
|
|
|
|
|
flex: 1;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.itemName {
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-18 17:50:41 +01:00
|
|
|
/* No results */
|
|
|
|
|
.noResults {
|
|
|
|
|
padding: 16px 18px;
|
|
|
|
|
font-size: 12px;
|
2026-03-18 10:06:32 +01:00
|
|
|
color: var(--sidebar-muted);
|
2026-03-18 17:50:41 +01:00
|
|
|
text-align: center;
|
2026-03-18 10:06:32 +01:00
|
|
|
}
|
|
|
|
|
|
2026-03-18 17:50:41 +01:00
|
|
|
/* ── SidebarTree styles ──────────────────────────────────────────────────── */
|
|
|
|
|
|
|
|
|
|
.treeSection {
|
2026-03-19 15:39:45 +01:00
|
|
|
padding: 0 6px 6px;
|
|
|
|
|
margin-bottom: 2px;
|
|
|
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.12);
|
2026-04-02 17:59:25 +02:00
|
|
|
border-left: 3px solid transparent;
|
2026-03-18 10:06:32 +01:00
|
|
|
}
|
|
|
|
|
|
2026-03-18 17:50:41 +01:00
|
|
|
/* Collapsible section toggle */
|
|
|
|
|
.treeSectionToggle {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2026-03-19 14:15:28 +01:00
|
|
|
gap: 2px;
|
2026-03-18 17:50:41 +01:00
|
|
|
width: 100%;
|
2026-03-19 14:15:28 +01:00
|
|
|
padding: 8px 0 4px;
|
2026-04-02 21:59:47 +02:00
|
|
|
cursor: pointer;
|
|
|
|
|
user-select: none;
|
2026-03-18 19:26:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.treeSectionChevronBtn {
|
2026-03-18 17:50:41 +01:00
|
|
|
background: none;
|
|
|
|
|
border: none;
|
2026-03-18 19:26:27 +01:00
|
|
|
padding: 2px 4px;
|
|
|
|
|
margin: 0;
|
|
|
|
|
color: var(--sidebar-muted);
|
|
|
|
|
font-size: 9px;
|
2026-03-18 17:50:41 +01:00
|
|
|
cursor: pointer;
|
2026-03-18 19:26:27 +01:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2026-03-18 17:50:41 +01:00
|
|
|
transition: color 0.12s;
|
2026-03-18 10:06:32 +01:00
|
|
|
}
|
|
|
|
|
|
2026-03-18 19:26:27 +01:00
|
|
|
.treeSectionChevronBtn:hover {
|
2026-03-18 17:50:41 +01:00
|
|
|
color: var(--sidebar-text);
|
2026-03-18 10:06:32 +01:00
|
|
|
}
|
|
|
|
|
|
2026-03-18 19:26:27 +01:00
|
|
|
.treeSectionLabel {
|
2026-04-08 12:13:17 +02:00
|
|
|
font-size: 12px;
|
2026-03-18 18:22:14 +01:00
|
|
|
font-weight: 600;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
letter-spacing: 1px;
|
|
|
|
|
color: var(--sidebar-muted);
|
2026-03-18 19:26:27 +01:00
|
|
|
cursor: pointer;
|
2026-03-18 18:22:14 +01:00
|
|
|
transition: color 0.12s;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-18 19:26:27 +01:00
|
|
|
.treeSectionLabel:hover {
|
2026-03-19 16:33:34 +01:00
|
|
|
color: var(--amber);
|
2026-03-18 18:22:14 +01:00
|
|
|
}
|
|
|
|
|
|
2026-03-18 19:26:27 +01:00
|
|
|
.treeSectionLabelActive {
|
2026-03-19 16:33:34 +01:00
|
|
|
color: var(--amber);
|
2026-03-18 18:22:14 +01:00
|
|
|
}
|
|
|
|
|
|
2026-03-18 17:50:41 +01:00
|
|
|
.tree {
|
|
|
|
|
list-style: none;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
2026-03-18 10:06:32 +01:00
|
|
|
}
|
|
|
|
|
|
2026-03-18 17:50:41 +01:00
|
|
|
.treeGroup {
|
|
|
|
|
list-style: none;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
2026-03-18 10:06:32 +01:00
|
|
|
}
|
|
|
|
|
|
2026-03-18 17:50:41 +01:00
|
|
|
.treeRow {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 6px;
|
|
|
|
|
padding: 5px 8px;
|
|
|
|
|
border-radius: var(--radius-sm);
|
|
|
|
|
color: var(--sidebar-text);
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: background 0.12s;
|
|
|
|
|
border-left: 3px solid transparent;
|
|
|
|
|
margin-bottom: 1px;
|
|
|
|
|
user-select: none;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.treeRow:hover {
|
|
|
|
|
background: var(--sidebar-hover);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.treeRowActive {
|
|
|
|
|
background: var(--sidebar-active);
|
2026-03-19 16:33:34 +01:00
|
|
|
color: var(--amber);
|
2026-03-18 17:50:41 +01:00
|
|
|
border-left-color: var(--amber);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.treeRowActive .treeBadge {
|
|
|
|
|
background: rgba(198, 130, 14, 0.2);
|
2026-03-19 16:33:34 +01:00
|
|
|
color: var(--amber);
|
2026-03-18 17:50:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Chevron */
|
|
|
|
|
.treeChevronSlot {
|
|
|
|
|
width: 14px;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.treeChevron {
|
|
|
|
|
background: none;
|
|
|
|
|
border: none;
|
|
|
|
|
padding: 0;
|
|
|
|
|
margin: 0;
|
2026-03-18 10:06:32 +01:00
|
|
|
color: var(--sidebar-muted);
|
2026-04-08 12:13:17 +02:00
|
|
|
font-size: 12px;
|
2026-03-18 17:50:41 +01:00
|
|
|
cursor: pointer;
|
|
|
|
|
line-height: 1;
|
2026-03-18 10:06:32 +01:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2026-03-18 17:50:41 +01:00
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.treeChevron:hover {
|
|
|
|
|
color: var(--sidebar-text);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Icon slot */
|
|
|
|
|
.treeIcon {
|
2026-03-18 10:06:32 +01:00
|
|
|
flex-shrink: 0;
|
2026-03-18 17:50:41 +01:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2026-03-18 10:06:32 +01:00
|
|
|
}
|
|
|
|
|
|
2026-03-18 17:50:41 +01:00
|
|
|
/* Label */
|
|
|
|
|
.treeLabel {
|
|
|
|
|
flex: 1;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Badge */
|
|
|
|
|
.treeBadge {
|
2026-03-18 10:06:32 +01:00
|
|
|
font-family: var(--font-mono);
|
2026-04-08 12:13:17 +02:00
|
|
|
font-size: 12px;
|
2026-03-18 17:50:41 +01:00
|
|
|
color: var(--sidebar-muted);
|
|
|
|
|
background: rgba(255, 255, 255, 0.06);
|
2026-03-18 10:06:32 +01:00
|
|
|
padding: 1px 6px;
|
|
|
|
|
border-radius: 10px;
|
2026-03-18 17:50:41 +01:00
|
|
|
flex-shrink: 0;
|
|
|
|
|
white-space: nowrap;
|
2026-03-18 10:06:32 +01:00
|
|
|
}
|
|
|
|
|
|
2026-03-18 17:50:41 +01:00
|
|
|
/* Star button */
|
|
|
|
|
.treeStar {
|
|
|
|
|
background: none;
|
|
|
|
|
border: none;
|
|
|
|
|
padding: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
color: var(--sidebar-muted);
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transition: opacity 0.15s, color 0.15s;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2026-03-18 10:06:32 +01:00
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-18 17:50:41 +01:00
|
|
|
.treeStarActive {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
color: var(--amber);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.treeRow:hover .treeStar {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.treeStar:hover {
|
2026-03-19 16:33:34 +01:00
|
|
|
color: var(--amber);
|
2026-03-18 17:50:41 +01:00
|
|
|
}
|
|
|
|
|
|
2026-04-15 20:56:03 +02:00
|
|
|
/* ── Section groups (top/bottom positioning) ───────────────────────────── */
|
|
|
|
|
|
|
|
|
|
.sectionGroup {
|
|
|
|
|
flex: 0 1 auto;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
min-height: 0;
|
|
|
|
|
scrollbar-width: thin;
|
|
|
|
|
scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sectionGroup::-webkit-scrollbar {
|
|
|
|
|
width: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sectionGroup::-webkit-scrollbar-track {
|
|
|
|
|
background: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sectionGroup::-webkit-scrollbar-thumb {
|
|
|
|
|
background: rgba(255, 255, 255, 0.15);
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sectionGroup::-webkit-scrollbar-thumb:hover {
|
|
|
|
|
background: rgba(255, 255, 255, 0.3);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sectionSpacer {
|
|
|
|
|
flex: 1 0 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Section content (scrollable maxHeight) ────────────────────────────── */
|
|
|
|
|
|
|
|
|
|
.sectionContent {
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
scrollbar-width: thin;
|
|
|
|
|
scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sectionContent::-webkit-scrollbar {
|
|
|
|
|
width: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sectionContent::-webkit-scrollbar-track {
|
|
|
|
|
background: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sectionContent::-webkit-scrollbar-thumb {
|
|
|
|
|
background: rgba(255, 255, 255, 0.15);
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sectionContent::-webkit-scrollbar-thumb:hover {
|
|
|
|
|
background: rgba(255, 255, 255, 0.3);
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-18 17:50:41 +01:00
|
|
|
/* ── Bottom links ────────────────────────────────────────────────────────── */
|
|
|
|
|
|
2026-03-18 10:06:32 +01:00
|
|
|
.bottom {
|
|
|
|
|
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
|
|
|
padding: 6px;
|
|
|
|
|
flex-shrink: 0;
|
feat(sidebar): update CSS for composable compound component
Add collapsed state styles (sidebarCollapsed, collapseToggle), icon-rail
mode (sectionRailItem, sectionIcon), and width transition. Remove old
monolithic classes (navArea, section, items, item, navIcon, routeArrow,
all starred-section styles). Pin footer with margin-top: auto.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 17:55:20 +02:00
|
|
|
margin-top: auto;
|
2026-03-18 10:06:32 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bottomItem {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
padding: 7px 12px;
|
|
|
|
|
border-radius: var(--radius-sm);
|
|
|
|
|
color: var(--sidebar-muted);
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.12s;
|
|
|
|
|
border-left: 3px solid transparent;
|
|
|
|
|
margin-bottom: 1px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bottomItem:hover {
|
|
|
|
|
background: var(--sidebar-hover);
|
|
|
|
|
color: var(--sidebar-text);
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-18 17:50:41 +01:00
|
|
|
.bottomItemActive {
|
|
|
|
|
background: var(--sidebar-active);
|
2026-03-19 16:33:34 +01:00
|
|
|
color: var(--amber);
|
2026-03-18 17:50:41 +01:00
|
|
|
border-left-color: var(--amber);
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-18 10:06:32 +01:00
|
|
|
.bottomIcon {
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
width: 18px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|