From bb61a4654a064569090cfd792a8b077ec5035898 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 6 Apr 2026 17:22:31 +0500 Subject: [PATCH] feat: portrait cover card + blurred bg in ListeningMode Replace the full-bleed landscape hero with the Apple Music / Spotify layout pattern: - Full-screen blurred+darkened cover as atmospheric background layer - Centered portrait 2/3 cover card (38svh tall, rounded-2xl, shadow-2xl) - Track info (chapter label, title, book name) moved below cover card - Radial vignette overlay for depth - No dead empty space between art and controls - Header bar and controls area lifted to z-index 2 above the bg layers --- ui/src/lib/components/ListeningMode.svelte | 151 +++++++++++---------- 1 file changed, 81 insertions(+), 70 deletions(-) diff --git a/ui/src/lib/components/ListeningMode.svelte b/ui/src/lib/components/ListeningMode.svelte index 6fd3681..b956b5e 100644 --- a/ui/src/lib/components/ListeningMode.svelte +++ b/ui/src/lib/components/ListeningMode.svelte @@ -262,90 +262,101 @@ ontouchend={onTouchEnd} > - -
- {#if audioStore.cover} - - - {:else} - -
- - - -
- {/if} - -
+ {#if audioStore.cover} +
- - + class="absolute inset-0 w-full h-full object-cover pointer-events-none select-none" + style="filter: blur(40px) brightness(0.25) saturate(1.4); transform: scale(1.15); z-index: 0;" + /> + {:else} +
+ {/if} + + - -
- - Now Playing -
- - {#if audioStore.chapters.length > 0} - - {/if} - + +
+ + Now Playing +
+ + {#if audioStore.chapters.length > 0} -
+ {/if} + + +
+
+ + +
+ +
+ {#if audioStore.cover} + + {:else} +
+ + + +
+ {/if}
- -
+ +
{#if audioStore.chapter > 0}

Chapter {audioStore.chapter} @@ -499,7 +510,7 @@ {/if} -

+