web: S opens universal search, sort menu, iOS-style appearance, centered play icon

- Sidebar search box replaced by a blurred overlay (S or /, Shift+S shuffles): songs,
  artists, albums, Plex and stem playlists across every enabled server, arrow keys + Enter
- Sort select + flip chip replaced by one button with a checked menu (fields, directions)
- Themes are now Black/Dark/White with the iOS accent colors; old presets migrate
- Play triangle recentered, per-button nudges removed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-11-20 17:03:51 -08:00
1 parent 11dffdf9e6
commit d30479c6f7
5 files changed
+221 -56

No files matched your search

+67 -15
View File
@@ -41,8 +41,11 @@ svg { width: 1em; height: 1em; fill: currentColor; display: block; }
#nav a svg { width: 18px; height: 18px; flex: none; }
#nav a:hover { color: var(--text); background: var(--hover); }
#nav a.on { background: var(--raised); color: var(--text); }
#search input { width: 100%; margin: 10px 0; padding: 7px 10px; background: var(--raised); border: 1px solid transparent; border-radius: 4px; outline: none; }
#search input:focus { border-color: var(--accent); }
.navtop { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; }
.navtop .brand { padding-bottom: 0; }
#b-search { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); flex: none; }
#b-search:hover { color: var(--text); background: var(--hover); }
#b-search svg { width: 18px; height: 18px; fill: currentColor; }
.settings-link { margin-top: 2px; }
#sideart { display: none; position: sticky; bottom: 0; z-index: 2; margin-top: auto; padding: 10px 0 12px; background: var(--panel); }
#sideart::before { content: ""; position: absolute; left: -10px; right: -10px; bottom: 100%; height: 28px; pointer-events: none; background: linear-gradient(to top, var(--panel), transparent); }
@@ -75,7 +78,7 @@ select, textarea, input[type=text], input[type=url], input[type=password] { back
.card.round img, .card.round .ph { border-radius: 50%; }
.cplay { position: absolute; right: 8px; bottom: 8px; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
display: grid; place-items: center; font-size: 17px; box-shadow: 0 6px 16px #0008; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s; }
.cplay svg { margin-left: 2px; }
.card:hover .cplay, .cplay:focus-visible { opacity: 1; transform: none; }
.cplay:hover { transform: scale(1.06) !important; }
.card .t { margin-top: 10px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@@ -96,7 +99,7 @@ select, textarea, input[type=text], input[type=url], input[type=password] { back
.actions { display: flex; gap: 14px; align-items: center; margin: 4px 0 6px; padding: 14px 0; }
.bigplay { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 22px;
box-shadow: 0 6px 18px #0006; transition: transform .1s, filter .15s; }
.bigplay svg { margin-left: 3px; }
.bigplay:hover { transform: scale(1.05); filter: brightness(1.1); }
.ibtn { color: var(--muted); font-size: 22px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; }
.ibtn:hover { color: var(--text); }
@@ -138,9 +141,12 @@ body.stems-ready .card.nostem .t::after { content: "NO STEMS"; font-size: 9px; f
.bar.sm { margin: 28px 0 12px; }
.bar.sm h2 { margin: 0; }
.grow { flex: 1; }
.sort { display: flex; gap: 6px; align-items: center; }
.sort select { padding: 5px 8px; font-size: 13px; }
.sort .chip svg { display: inline-block; vertical-align: -2px; }
.sortbtn { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px 0 9px; border-radius: 8px; border: 1px solid var(--line);
font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; transition: background .12s, border-color .12s; }
.sortbtn:hover { background: var(--hover); border-color: color-mix(in srgb, var(--line) 50%, var(--muted)); }
.sortbtn svg { width: 15px; height: 15px; fill: var(--muted); flex: none; }
.sortbtn small { color: var(--muted); font-size: 12px; font-weight: 500; }
.sortbtn .caret { width: 6px; height: 6px; margin: -3px 1px 0 1px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.chip { display: inline-flex; gap: 6px; align-items: center; }
.link { color: var(--accent); cursor: pointer; }
.btn.small { padding: 5px 12px; font-size: 13px; }
@@ -170,6 +176,45 @@ body.no-stems .tracks:not(:has(tbody tr.nostem)) ~ .only-nostems { display: bloc
#menu button { display: block; width: 100%; text-align: left; padding: 7px 10px; border-radius: 6px; }
#menu button:not(:disabled):hover { background: var(--accent); color: var(--accent-ink); }
#menu hr { border: 0; border-top: 1px solid var(--line); margin: 4px 2px; }
#menu h5 { margin: 4px 10px 4px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
#menu button.chk { display: flex; align-items: center; gap: 8px; padding-left: 8px; }
#menu button.chk svg { width: 15px; height: 15px; fill: currentColor; flex: none; visibility: hidden; }
#menu button.chk.on { font-weight: 600; }
#menu button.chk.on svg { visibility: visible; }
#menu.sortmenu { min-width: 190px; }
#finder { position: fixed; inset: 0; z-index: 60; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px;
background: color-mix(in srgb, var(--bg) 40%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
animation: ffade .14s ease-out; }
#finder[hidden] { display: none; }
@keyframes ffade { from { opacity: 0; } }
.fbox { width: min(640px, 100%); max-height: 72vh; display: flex; flex-direction: column; background: var(--raised); border: 1px solid var(--line);
border-radius: 14px; box-shadow: 0 24px 60px var(--shadow); overflow: hidden; animation: fpop .16s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes fpop { from { transform: translateY(-8px) scale(.98); } }
.fin { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 54px; border-bottom: 1px solid var(--line); flex: none; }
.fin svg { width: 20px; height: 20px; fill: var(--muted); flex: none; }
.fin input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 17px; padding: 0; }
.fres { overflow-y: auto; padding: 6px; overscroll-behavior: contain; }
.fres.busy { opacity: .6; }
.fgrp h4 { margin: 8px 10px 4px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.frow { display: flex; align-items: center; gap: 12px; padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.frow.on { background: var(--accent); color: var(--accent-ink); }
.frow.on small, .frow.on .fkey { color: inherit; opacity: .8; }
.fart { width: 38px; height: 38px; border-radius: 5px; overflow: hidden; background: var(--line); flex: none; }
.fart.round { border-radius: 50%; }
.fart img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fic { width: 38px; height: 38px; display: grid; place-items: center; flex: none; }
.fic svg { width: 18px; height: 18px; fill: currentColor; }
.ftx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ftx b, .ftx small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ftx b { font-weight: 600; font-size: 14px; }
.ftx small { color: var(--muted); font-size: 12px; }
.fkey { font-size: 12px; color: var(--muted); visibility: hidden; }
.frow.on .fkey { visibility: visible; }
.fall { margin-top: 4px; }
.fmsg { margin: 14px 12px; color: var(--muted); font-size: 13px; }
.fmsg kbd { margin: 0 2px; }
body.finding { overflow: hidden; }
#toast { position: fixed; left: 50%; bottom: calc(var(--player-h) + 18px); transform: translate(-50%, 10px); z-index: 60; max-width: min(520px, calc(100% - 32px));
background: var(--text); color: var(--bg); padding: 9px 16px; border-radius: 999px; font-weight: 500; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
@@ -246,13 +291,20 @@ kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px;
.keys { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.keys > div { display: flex; align-items: center; gap: 4px; min-height: 42px; padding: 8px 16px; font-size: 13px; border-top: 1px solid var(--line); margin-top: -1px; }
.keys > div > span { flex: 1; color: var(--muted); }
.themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.swatch { border: 1px solid; border-radius: 8px; padding: 10px 12px; text-align: left; font-weight: 600; font-size: 13px; display: flex; gap: 8px; align-items: center; transition: transform .12s; }
.swatch:hover { transform: translateY(-1px); }
.swatch i { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.swatch.on { outline: 2px solid var(--accent); outline-offset: 2px; }
input[type=color] { width: 32px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: none; cursor: pointer; overflow: hidden; }
input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.themes { display: flex; gap: 14px; flex-wrap: wrap; }
.tcard { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.tcard.on { color: var(--text); font-weight: 600; }
.tmock { width: 92px; height: 64px; border-radius: 10px; border: 1px solid; padding: 9px 10px; display: flex; flex-direction: column; gap: 5px;
box-shadow: 0 0 0 0 var(--accent); transition: box-shadow .14s; }
.tcard:hover .tmock { box-shadow: 0 0 0 2px var(--line); }
.tcard.on .tmock { box-shadow: 0 0 0 3px var(--accent); }
.tmock i { width: 40%; height: 5px; border-radius: 3px; opacity: .9; }
.tmock b { height: 6px; border-radius: 3px; }
.tmock u { width: 30%; height: 6px; border-radius: 3px; margin-top: auto; }
.accents { display: flex; gap: 12px; flex-wrap: wrap; padding: 2px; }
.dot { width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 0 var(--text); transition: box-shadow .12s, transform .12s; }
.dot:hover { transform: scale(1.08); }
.dot.on { box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px var(--text); }
input[type=color]::-webkit-color-swatch { border: 0; border-radius: 50%; }
input[type=color]::-moz-color-swatch { border: 0; border-radius: 50%; }
.note { color: var(--muted); font-size: 13px; }
@@ -383,7 +435,7 @@ input[type=range] { accent-color: var(--accent); }
#nav a svg, #sideart, #b-art .exp { display: none !important; }
#nav { overflow-y: hidden; }
#nav a { min-height: 32px; }
#search input { margin: 0; width: 120px; }
.navtop { padding: 0; gap: 4px; }
#live { margin: 0; white-space: nowrap; }
.settings { grid-template-columns: 1fr; gap: 0; }
.toc { display: none; }