feat: collapsible domain groups on focus page

Domain headers are now clickable to expand/collapse their item rows,
with a chevron indicator and item count badge. State persists via
localStorage, matching the sidebar toggle pattern.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-03 16:00:01 +00:00
parent 1a6b3fac1d
commit 9833f131e1
3 changed files with 35 additions and 8 deletions

View File

@@ -1107,6 +1107,9 @@ a:hover { color: var(--accent-hover); }
transition: width 0.3s;
}
/* ---- Focus Domain Toggle ---- */
.focus-domain-header:hover td { background: var(--surface3); }
/* ---- Focus Drag-and-Drop ---- */
.focus-drag-row { cursor: grab; }
.focus-drag-row.dragging { opacity: 0.4; background: var(--accent-soft); }