feat: add multi-select genre and tag filters

This commit is contained in:
strsv committed 2026-11-06 08:09:33 +03:00
1 parent f1624cfde2
commit 7264a720ab
11 files changed
+183 -52

No files matched your search

+43
View File
@@ -244,6 +244,49 @@ textarea { resize: vertical; min-height: 54px; }
.check input { accent-color: var(--accent); width: 15px; height: 15px; }
.check:hover { color: var(--text); }
.multi-select { margin: 0; }
.multi-toggle {
list-style: none;
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 9px 11px;
border: 1px solid var(--border);
border-radius: 10px;
background: var(--bg-2);
font-size: 14px;
cursor: pointer;
user-select: none;
}
.multi-toggle::-webkit-details-marker { display: none; }
.multi-toggle::after {
content: "▾";
color: var(--muted);
font-size: 11px;
transition: transform .15s;
}
.multi-select[open] > .multi-toggle { border-color: rgba(243, 180, 92, .55); }
.multi-select[open] > .multi-toggle::after { transform: rotate(180deg); }
.multi-list {
display: flex;
flex-direction: column;
gap: 1px;
max-height: 210px;
overflow-y: auto;
margin-top: 6px;
padding: 5px;
border: 1px solid var(--border);
border-radius: 10px;
background: var(--bg-2);
}
.multi-list .check {
padding: 4px 6px;
border-radius: 6px;
font-size: 13px;
}
.multi-list .check:hover { background: rgba(255, 255, 255, .04); }
.maintenance {
margin-top: 10px;
padding-top: 10px;