|
|
|
@@ -129,6 +129,10 @@ html, body { |
|
|
|
} |
|
|
|
|
|
|
|
/* Buttons base */ |
|
|
|
/* No flexbox here: on iOS 9 a <button> with display:flex ignores |
|
|
|
justify-content, leaving text left-aligned. Classic text-align (horizontal) |
|
|
|
+ line-height (vertical) centering is single-line only but works on every |
|
|
|
browser. line-height is set per variant to match each button's height. */ |
|
|
|
.btn { |
|
|
|
background: var(--surface); |
|
|
|
color: var(--text); |
|
|
|
@@ -138,15 +142,9 @@ html, body { |
|
|
|
cursor: pointer; |
|
|
|
-webkit-transition: background 0.15s, -webkit-transform 0.08s; |
|
|
|
transition: background 0.15s, transform 0.08s; |
|
|
|
display: -webkit-flex; |
|
|
|
display: flex; |
|
|
|
-webkit-align-items: center; |
|
|
|
align-items: center; |
|
|
|
-webkit-justify-content: center; |
|
|
|
justify-content: center; |
|
|
|
/* Fallback for iOS 9: <button> ignores justify-content on flex, |
|
|
|
so center the text the old-fashioned way too. */ |
|
|
|
text-align: center; |
|
|
|
white-space: nowrap; |
|
|
|
padding: 0; |
|
|
|
touch-action: manipulation; |
|
|
|
} |
|
|
|
.btn:active { -webkit-transform: scale(0.93); transform: scale(0.93); background: var(--accent2); } |
|
|
|
@@ -176,6 +174,7 @@ html, body { |
|
|
|
|
|
|
|
.btn-seek { |
|
|
|
height: 52px; |
|
|
|
line-height: 52px; |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 600; |
|
|
|
} |
|
|
|
@@ -203,7 +202,7 @@ html, body { |
|
|
|
#controls-row > .btn-ctrl + .btn-ctrl { margin-left: 0; } |
|
|
|
} |
|
|
|
|
|
|
|
.btn-ctrl { height: var(--btn-h); font-size: 28px; } |
|
|
|
.btn-ctrl { height: var(--btn-h); line-height: var(--btn-h); font-size: 28px; } |
|
|
|
.btn-play { |
|
|
|
background: var(--accent); |
|
|
|
font-size: 32px; |
|
|
|
@@ -218,7 +217,7 @@ html, body { |
|
|
|
align-items: center; |
|
|
|
} |
|
|
|
#volume-row > * + * { margin-left: 10px; } |
|
|
|
.btn-vol { width: 48px; height: 48px; -webkit-flex-shrink: 0; flex-shrink: 0; font-size: 18px; } |
|
|
|
.btn-vol { width: 48px; height: 48px; line-height: 48px; -webkit-flex-shrink: 0; flex-shrink: 0; font-size: 18px; } |
|
|
|
#btn-mute { font-size: 22px; } |
|
|
|
#btn-mute.muted { color: var(--accent); } |
|
|
|
#volume-bar-wrap { |
|
|
|
@@ -258,10 +257,10 @@ html, body { |
|
|
|
display: flex; |
|
|
|
} |
|
|
|
#killist-row > * + * { margin-left: 8px; } |
|
|
|
.btn-kill { -webkit-flex: 1; flex: 1; height: 52px; font-size: 16px; background: #3a1a1a; } |
|
|
|
.btn-kill { -webkit-flex: 1; flex: 1; height: 52px; line-height: 52px; font-size: 16px; background: #3a1a1a; } |
|
|
|
.btn-kill:active { background: var(--accent); } |
|
|
|
.btn-kill-list { width: 64px; height: 52px; font-size: 14px; } |
|
|
|
.btn-action { width: 52px; height: 52px; font-size: 20px; } |
|
|
|
.btn-kill-list { width: 64px; height: 52px; line-height: 52px; font-size: 14px; } |
|
|
|
.btn-action { width: 52px; height: 52px; line-height: 52px; font-size: 20px; } |
|
|
|
|
|
|
|
#killist-panel { |
|
|
|
background: var(--surface); |
|
|
|
@@ -297,7 +296,7 @@ html, body { |
|
|
|
padding: 4px 10px; |
|
|
|
cursor: pointer; |
|
|
|
} |
|
|
|
#btn-close-killist { margin-top: 12px; width: 100%; height: 44px; font-size: 15px; } |
|
|
|
#btn-close-killist { margin-top: 12px; width: 100%; height: 44px; line-height: 44px; font-size: 15px; } |
|
|
|
|
|
|
|
/* ── Playlist overlay ────────────────────────────────────────────────────── */ |
|
|
|
#playlist-overlay { |
|
|
|
|