Web: sidebar playlists fixed for 1080p, side album art, vertical stem faders with live meters
- Nav scrolls, playlists section always gets room, boot race fixed (waits on connect) - Album art expands into the left sidebar (Feishin style), collapses on hover button - Mixer: tall vertical channel strips with per-stem peak meters (AnalyserNode, rAF, transform-only) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
115eb28bdf
commit
f624a9866a
5 files changed
+165
-100
No files matched your search
+7
-5
@@ -22,10 +22,13 @@
|
||||
<a href="#/playlists" data-nav="playlists"><svg viewBox="0 0 24 24"><path d="M3 5h14v2H3zm0 6h14v2H3zm0 6h9v2H3zm16-4v-2l4 1v2l-2-.5V19a2.5 2.5 0 1 1-2-2.45V13z"/></svg>Playlists</a>
|
||||
<a href="#/downloads" data-nav="downloads"><svg viewBox="0 0 24 24"><path d="M11 3h2v10.2l3.6-3.6 1.4 1.4-6 6-6-6 1.4-1.4 3.6 3.6V3zM4 19h16v2H4z"/></svg>Downloads</a>
|
||||
<a href="#/radio" data-nav="radio"><svg viewBox="0 0 24 24"><path d="M12 10a2 2 0 1 1 0 4 2 2 0 0 1 0-4zM7.8 7.8l1.4 1.4a4 4 0 0 0 0 5.6l-1.4 1.4a6 6 0 0 1 0-8.4zm8.4 0a6 6 0 0 1 0 8.4l-1.4-1.4a4 4 0 0 0 0-5.6l1.4-1.4zM5 5l1.4 1.4a8 8 0 0 0 0 11.2L5 19A10 10 0 0 1 5 5zm14 0a10 10 0 0 1 0 14l-1.4-1.4a8 8 0 0 0 0-11.2L19 5z"/></svg>Web Radio</a>
|
||||
<div class="nav-h">Playlists</div>
|
||||
<div id="nav-pl"></div>
|
||||
<div id="live" hidden></div>
|
||||
<a href="#/settings" data-nav="settings" class="settings-link"><svg viewBox="0 0 24 24"><path d="M10.3 2h3.4l.5 2.6c.6.2 1.2.5 1.7.9l2.5-.9 1.7 2.9-2 1.8a7 7 0 0 1 0 1.9l2 1.8-1.7 2.9-2.5-.9c-.5.4-1.1.7-1.7.9l-.5 2.6h-3.4l-.5-2.6a7 7 0 0 1-1.7-.9l-2.5.9-1.7-2.9 2-1.8a7 7 0 0 1 0-1.9l-2-1.8 1.7-2.9 2.5.9c.5-.4 1.1-.7 1.7-.9l.5-2.6zM12 9a3 3 0 1 0 0 6 3 3 0 0 0 0-6z" transform="translate(0 1)"/></svg>Settings</a>
|
||||
<section class="nav-sec">
|
||||
<a class="nav-h" href="#/playlists">Playlists</a>
|
||||
<div id="nav-pl"></div>
|
||||
</section>
|
||||
<div id="live" hidden></div>
|
||||
<div id="sideart"><button class="sa-img" title="Go to album"><img alt=""></button><button class="sa-col" title="Collapse art"><svg viewBox="0 0 24 24"><path d="M12 16.4L4.3 8.7l1.4-1.4 6.3 6.3 6.3-6.3 1.4 1.4z"/></svg></button></div>
|
||||
</aside>
|
||||
<main id="view"></main>
|
||||
<aside id="drawer" hidden></aside>
|
||||
@@ -33,7 +36,7 @@
|
||||
<footer id="player" class="empty">
|
||||
<div class="left">
|
||||
<div class="np">
|
||||
<button id="b-art" title="Expand art" hidden><img id="np-art" alt=""><span class="exp"><svg viewBox="0 0 24 24"><path d="M4 4h6v2H7.4l4 4-1.4 1.4-4-4V10H4V4zm16 0v6h-2V7.4l-4 4-1.4-1.4 4-4H14V4h6zM4 20v-6h2v2.6l4-4 1.4 1.4-4 4H10v2H4zm16 0h-6v-2h2.6l-4-4 1.4-1.4 4 4V14h2v6z"/></svg></span></button>
|
||||
<button id="b-art" title="Expand art" hidden><img id="np-art" alt=""><span class="exp"><svg viewBox="0 0 24 24"><path d="M12 7.6l7.7 7.7-1.4 1.4-6.3-6.3-6.3 6.3-1.4-1.4z"/></svg></span></button>
|
||||
<div class="np-text"><div id="np-title"></div><div id="np-sub"></div></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -59,7 +62,6 @@
|
||||
<input id="volume" type="range" min="0" max="1" step="0.01" title="Volume">
|
||||
</div>
|
||||
</footer>
|
||||
<div id="bigart" hidden><div class="bg"></div><button class="x" title="Close (Esc)">×</button><img alt=""><div class="cap"><div class="t"></div><div class="s"></div></div></div>
|
||||
<script type="module" src="app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user