feat(web): lists, groupings and threads with search-to-add, reorder and grouping rating

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Lucas Winther
2026-10-30 22:20:10 +01:00
co-authored by Claude Opus 5.5
parent ec39491f47
commit bbd04a5577
3 changed files with 360 additions and 0 deletions
+41
View File
@@ -573,3 +573,44 @@ a.log-row:hover { background: var(--surface-2); }
.log-row.skeleton .bar + .bar { width: 35%; margin-top: 6px; height: 8px; }
.log-row.skeleton .cover { background: var(--surface-2); }
.more-btn { margin-top: 18px; }
/* ---------- Lists ---------- */
.pane-title { font-size: 1.05rem; font-weight: 650; letter-spacing: -0.01em; }
.new-list { display: grid; gap: 8px; }
.new-list-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.kind-chips { display: flex; gap: 5px; flex-wrap: wrap; }
.chip[aria-checked="true"] { background: var(--surface-3); color: #fff; border-color: var(--surface-3); }
.list-row { grid-template-columns: 10px minmax(0, 1fr) auto; }
.kind-mark { width: 8px; height: 8px; border-radius: 2px; background: var(--dash); }
.kind-mark.k-grouping { background: var(--rating); border-radius: 50%; }
.kind-mark.k-thread { background: transparent; border: 1.5px dashed var(--pill-text); border-radius: 50%; }
.list-head { display: grid; gap: 8px; margin-bottom: 18px; }
.title-input, .desc-input {
background: transparent; border: 1px solid transparent; border-radius: var(--r-control); color: var(--text);
margin: 0 -8px; padding: 2px 8px; width: calc(100% + 16px); transition: border-color 0.15s, background 0.15s;
}
.title-input { font-size: 1.45rem; font-weight: 650; letter-spacing: -0.012em; line-height: 1.25; }
.desc-input { resize: vertical; color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; }
.desc-input::placeholder { color: var(--text-faint); }
.title-input:hover, .desc-input:hover { border-color: var(--surface-3); }
.title-input:focus-visible, .desc-input:focus-visible { outline: none; border-color: var(--focus); background: #211d40; }
.list-head .det-controls .m { color: var(--text-muted); font-size: 0.82rem; }
.items { list-style: none; display: grid; gap: 2px; }
.item { display: grid; grid-template-columns: 22px 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 6px 8px; margin: 0 -8px; border-radius: var(--r-control); }
.item:hover { background: var(--surface-2); }
.item .pos { color: var(--text-faint); font-size: 0.8rem; text-align: right; }
.item-main { min-width: 0; display: grid; }
.item-main .t { font-size: 0.88rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-main .m { font-size: 0.76rem; color: var(--text-muted); }
.item-acts { display: flex; gap: 2px; opacity: 0.55; transition: opacity 0.15s; }
.item:hover .item-acts, .item-acts:focus-within { opacity: 1; }
@media (hover: none) { .item-acts { opacity: 1; } }
.icon-btn { width: 28px; height: 28px; padding: 0; justify-content: center; }
.list-empty { padding: 6px 0 4px; }
.add-work { margin-top: 18px; }
.add-work .results { list-style: none; margin-top: 10px; display: grid; gap: 2px; }
.add-work .results li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 4px 6px; border-radius: 6px; font-size: 0.84rem; }
.add-work .results li:hover { background: var(--surface-3); }
.add-work .results .m { color: var(--text-muted); font-size: 0.76rem; }
.add-work .search { max-width: 420px; }
.list-foot { margin-top: 28px; }