aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/style.css
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-08-26 16:45:43 +0200
committerChristophe Besson <cbesson@gmail.com>2026-08-26 16:45:43 +0200
commitf2b90449841373d9b0fdd70449f3e94c9dd0116d (patch)
tree3a7e47d3994249fcc6282a00fd773d2a8635d669 /packages/meshbay-hub/src/meshbay_hub/static/style.css
parentbc94dc672d142e989fa4f483f643d4b43f66b02f (diff)
downloadmeshbay-f2b90449841373d9b0fdd70449f3e94c9dd0116d.tar.gz
feat(video): add an All/Movies/Series filter to the toolbar
A segmented control to the left of the search box, defaulting to "All". Applied before the text filter — a title match within a type nobody asked to see still isn't shown. Resets to "All" on group change, matching the text filter's own reset.
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/style.css')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/style.css32
1 files changed, 32 insertions, 0 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/style.css b/packages/meshbay-hub/src/meshbay_hub/static/style.css
index f426f8d..61404a9 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/style.css
+++ b/packages/meshbay-hub/src/meshbay_hub/static/style.css
@@ -2563,6 +2563,38 @@ a.transfer-name {
}
.video-toolbar .tb-search { margin-left: auto; }
+/* All/Movies/Series — a segmented control, not three separate .tb-btn: the
+ three are mutually exclusive (unlike the view-mode buttons, which read
+ fine standalone), and grouping them under one shared border is what says
+ so at a glance. */
+.tb-typefilter {
+ display: inline-flex;
+ height: 32px;
+ border: 1px solid var(--border);
+ border-radius: 6px;
+ overflow: hidden;
+ flex-shrink: 0;
+}
+.tb-typefilter button {
+ display: inline-flex;
+ align-items: center;
+ height: 100%;
+ padding: 0 12px;
+ border: none;
+ background: var(--bg-surface);
+ color: var(--text-dim);
+ font-size: 0.83em;
+ white-space: nowrap;
+ cursor: pointer;
+ transition: background 0.12s, color 0.12s;
+}
+.tb-typefilter button + button { border-left: 1px solid var(--border); }
+.tb-typefilter button:hover { color: var(--accent); }
+.tb-typefilter button.active {
+ background: var(--accent);
+ color: var(--accent-text);
+}
+
/* Mode A — poster grid */
.video-grid {