feat: group library filters into accordions

Split the sidebar into status, genres/tags and metrics collapsible groups.
This commit is contained in:
strsv committed 2026-11-07 04:56:57 +03:00
1 parent f73ed63b2b
commit b65396421c
2 files changed
+106 -67

No files matched your search

+24
View File
@@ -275,6 +275,30 @@ body.drawer-open { overflow: hidden; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 12px; color: var(--muted); }
.filter-group {
padding: 0 10px;
border: 1px solid var(--border);
border-radius: 12px;
background: rgba(255, 255, 255, .015);
}
.filter-group summary {
display: flex;
align-items: center;
justify-content: space-between;
padding: 9px 0;
cursor: pointer;
font-size: 11.5px;
font-weight: 650;
letter-spacing: .05em;
text-transform: uppercase;
color: var(--muted);
list-style: none;
}
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary::after { content: "+"; font-size: 14px; color: var(--muted); }
.filter-group[open] summary::after { content: "−"; }
.filter-group-body { display: flex; flex-direction: column; gap: 10px; padding-bottom: 10px; }
select, input[type="search"], input[type="number"], textarea {
width: 100%;
border: 1px solid var(--border);