Album art theme on web and iOS, roomier player bar
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0c9cae5b11
commit
8e57b9d0cd
8 files changed
+116
-10
No files matched your search
+4
-3
@@ -8,7 +8,7 @@
|
||||
--accent: #3a81ed;
|
||||
--accent-ink: #ffffff;
|
||||
--radius: 6px;
|
||||
--player-h: 90px;
|
||||
--player-h: 100px;
|
||||
--nav-w: 240px;
|
||||
--glass: #101010ee;
|
||||
--hover: #e7e7e70d;
|
||||
@@ -330,6 +330,7 @@ input[type=color]::-moz-color-swatch { border: 0; border-radius: 50%; }
|
||||
.q-item .x { color: var(--muted); font-size: 18px; padding: 0 4px; opacity: 0; }
|
||||
.q-item:hover .x { opacity: 1; }
|
||||
|
||||
body, #nav, #player, .sg { transition: background-color .5s; }
|
||||
#player { position: fixed; left: 0; right: 0; bottom: 0; height: var(--player-h); background: var(--bg);
|
||||
border-top: 1px solid rgba(50, 50, 50, .7); display: grid; grid-template-columns: minmax(180px, 1fr) minmax(320px, 1.6fr) minmax(180px, 1fr); align-items: center; gap: 20px; padding: 0 20px; }
|
||||
#player.empty .center, #player.empty .right, #player.empty #b-art { opacity: .35; pointer-events: none; }
|
||||
@@ -347,7 +348,7 @@ input[type=color]::-moz-color-swatch { border: 0; border-radius: 50%; }
|
||||
.np-text { min-width: 0; }
|
||||
#np-title { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
#np-sub { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.center { display: grid; gap: 4px; }
|
||||
.center { display: grid; gap: 10px; }
|
||||
.transport { display: flex; justify-content: center; align-items: center; gap: 20px; font-size: 18px; }
|
||||
.transport button { color: #c5c5c5; }
|
||||
.transport button:hover { color: #fff; }
|
||||
@@ -374,7 +375,7 @@ input[type=color]::-moz-color-swatch { border: 0; border-radius: 50%; }
|
||||
input[type=range] { accent-color: var(--accent); }
|
||||
|
||||
@media (max-width: 860px) {
|
||||
:root { --player-h: 150px; }
|
||||
:root { --player-h: 162px; }
|
||||
#app { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
|
||||
#nav { flex-direction: row; overflow-x: auto; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--line); align-items: center; }
|
||||
.brand { padding: 0 8px 0 4px; }
|
||||
|
||||
Reference in new issue
Block a user