diff --git a/src/main/resources/static/css/style.css b/src/main/resources/static/css/style.css index a08f19b..4ff7095 100644 --- a/src/main/resources/static/css/style.css +++ b/src/main/resources/static/css/style.css @@ -323,6 +323,33 @@ body.sidebar-collapsed #mainContent { margin-left: var(--sidebar-collapsed-width .bar-fill { height: 100%; border-radius: var(--radius-full); transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1); } @media (prefers-reduced-motion: reduce) { .bar-fill { transition: none; } } +/* Toolbar + filter chips */ +.toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; } +.toolbar .sep { width: 1px; align-self: stretch; background: var(--border); margin: 2px 0.35rem; } +.toolbar .spacer { margin-left: auto; } +.toolbar select { + padding: 0.45rem 0.6rem; + font-size: 0.82rem; + border-radius: var(--r-sm); +} +.field { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; color: var(--text-3); } + +.chip { + display: inline-flex; align-items: center; gap: 6px; + padding: 0.45rem 0.8rem; + border-radius: var(--radius-full); + border: 1px solid var(--border-strong); + background: var(--surface); + color: var(--text-2); + font-size: 0.82rem; font-weight: 500; + cursor: pointer; user-select: none; + transition: all 0.15s ease; +} +.chip:hover { background: var(--surface-2); color: var(--text); } +.chip input { display: none; } +.chip:has(input:checked) { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); } +.chip svg { width: 14px; height: 14px; } + /* Badge */ .badge { display: inline-flex; align-items: center; gap: 4px; diff --git a/src/main/resources/templates/collection.html b/src/main/resources/templates/collection.html index b1b8518..468d5b0 100644 --- a/src/main/resources/templates/collection.html +++ b/src/main/resources/templates/collection.html @@ -41,22 +41,17 @@ - +
-
- - - +
+ + + -
- - @@ -64,34 +59,31 @@ -
-
- - -
-
- - + +
-
- - -
- -