diff --git a/public/css/style.css b/public/css/style.css index 378fc44..a6e8646 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -728,6 +728,11 @@ header p { line-height: 1; } +.square-btn { + letter-spacing: -0.1em; + font-size: 0.82rem; +} + .control-btn:hover { transform: translateY(-1px); background: rgba(51, 65, 85, 0.95); @@ -740,6 +745,37 @@ header p { transform: none; } +.control-popover { + position: relative; + display: inline-flex; + align-items: center; +} + +.popover-panel { + position: absolute; + left: 50%; + bottom: calc(100% + 0.55rem); + transform: translateX(-50%) translateY(6px); + opacity: 0; + pointer-events: none; + transition: opacity 0.18s ease, transform 0.18s ease; + padding: 0.55rem 0.6rem; + border-radius: 12px; + border: 1px solid rgba(148, 163, 184, 0.18); + background: rgba(15, 23, 42, 0.96); + box-shadow: 0 12px 24px rgba(2, 6, 23, 0.34); + backdrop-filter: blur(12px); + z-index: 20; + white-space: nowrap; +} + +.control-popover:hover .popover-panel, +.control-popover:focus-within .popover-panel { + opacity: 1; + pointer-events: auto; + transform: translateX(-50%) translateY(0); +} + .volume-control { display: flex; align-items: center; @@ -760,23 +796,11 @@ header p { font-variant-numeric: tabular-nums; } -.progress-chip { - display: inline-flex; - align-items: center; - padding: 0.34rem 0.55rem; - border-radius: 999px; - background: rgba(15, 23, 42, 0.7); - border: 1px solid rgba(148, 163, 184, 0.16); - color: rgba(226, 232, 240, 0.92); - font-size: 0.76rem; - font-weight: 600; - white-space: nowrap; -} - .speed-control { - display: inline-flex; - align-items: center; - gap: 0.4rem; + display: flex; + flex-direction: column; + align-items: flex-start; + gap: 0.45rem; color: rgba(226, 232, 240, 0.88); font-size: 0.8rem; font-weight: 600; @@ -803,11 +827,21 @@ header p { cursor: pointer; } -.seek-bar-progress { +.seek-bar-transcode { + position: absolute; + inset: 0 auto 0 0; width: 0%; height: 100%; border-radius: 999px; - background: linear-gradient(90deg, #38bdf8, #2563eb); + background: linear-gradient(90deg, rgba(59, 130, 246, 0.45), rgba(37, 99, 235, 0.82)); +} + +.seek-bar-progress { + position: relative; + width: 0%; + height: 100%; + border-radius: 999px; + background: linear-gradient(90deg, #f8fafc, #dbeafe); } .seek-bar-handle { diff --git a/public/index.html b/public/index.html index 21292f9..2809741 100644 --- a/public/index.html +++ b/public/index.html @@ -132,35 +132,43 @@ Paused -
Transcode 0%
-
Play 0%
- -
- - 100% +
+ +
+
+ + 100% +
+
- - +
+ +
+ +
+
+