From 76ff98261b60879ae42b79fdc71fca1d31622c66 Mon Sep 17 00:00:00 2001 From: Broque Thomas <26755000+Nezreka@users.noreply.github.com> Date: Tue, 14 Apr 2026 19:50:18 -0700 Subject: [PATCH] Move media player from sidebar to floating bottom-right mini player The sidebar player was a poor use of vertical real estate and created the collapsed-state layout issues. The mini player is now a fixed 360px widget at bottom-right (above the bell/help buttons), matching the convention of most streaming apps. Changes: - Removed media player from sidebar; sidebar spacer now pushes support/version section to bottom as before - New .mini-player-body horizontal layout: album art | track info | controls - Added prev/next skip buttons (mini-nav-btn) with same skip logic as the Now Playing modal; updateNpPrevNextButtons() now syncs both sets - .media-player.idle now display:none (widget hides entirely when no track) - Progress bar is a flush full-width line at the top of the widget - Volume slider kept as hidden DOM element for JS compatibility; volume is set via the Now Playing modal - Toast container moved up to bottom:174px to stay above the mini player - expand-hint button updated to four-corner expand icon, opens NP modal - All volumeSlider and click-exclusion references updated for null-safety --- webui/index.html | 124 +++++++++++++++++++---------------------- webui/static/script.js | 35 ++++++++---- webui/static/style.css | 99 +++++++++++++++++++------------- 3 files changed, 141 insertions(+), 117 deletions(-) diff --git a/webui/index.html b/webui/index.html index e343363b..53ef0c3d 100644 --- a/webui/index.html +++ b/webui/index.html @@ -255,73 +255,6 @@ - -
- -
-
-
-
-
- -
-
- 0:00 - 0:00 -
-
- - - - - -
- -
-
No track
-
Unknown Artist
-
Unknown Album
-
-
- - -
- -
- - - - -
- - -
- - - - - -
- - - - - Play a track to get started -
-
-
@@ -7455,6 +7388,63 @@
+ +
+ +
+
+
+
+
+ +
+
+ + + + + +
+ +
+
No track
+
Unknown Artist
+
+
+ + + + + +
+
+ + + + + + + + +
+