feat(web): card hover-reveal + drop year + accent rule on section headers
test-web / test (push) Failing after 33s
test-web / test (push) Failing after 33s
First wave of Home visual polish (UI tasks 78/79/81/85): - CardActionCluster like/queue/menu cluster is now opacity-0 and fades in on group-hover or focus-within. The group class moves from the inner anchor to the outer card wrapper so the cluster (positioned outside the anchor) participates in the same hover scope. PlaylistCard refresh kebab gets the same treatment. - AlbumCard drops the year line. Title plus artist is enough on Home tiles; the album detail page still shows the year. - HorizontalScrollRow h2 picks up a flex-baseline layout with a trailing 12-wide accent rule (after:bg-accent/60), so section headers read as chapter breaks instead of identical plain text. - AlbumCard art-wrap is shadow-sm by default and lifts to shadow-lg plus ring-accent/40 on hover. Pairs with the existing group-hover:scale-1.03 for a clean lift-on-mouseover feel.
This commit is contained in:
@@ -104,9 +104,14 @@
|
||||
|
||||
<svelte:window onclick={() => { menuOpen = false; }} />
|
||||
|
||||
<div class="card relative">
|
||||
<div class="card group relative">
|
||||
{#if refreshable}
|
||||
<div class="kebab-wrap absolute right-1 top-1 z-10">
|
||||
<!-- Kebab is hover/focus-revealed so the default tile state is
|
||||
just the cover. Same pattern as CardActionCluster. -->
|
||||
<div
|
||||
class="kebab-wrap absolute right-1 top-1 z-10 transition-opacity duration-150
|
||||
{menuOpen ? 'opacity-100' : 'opacity-0 group-hover:opacity-100 focus-within:opacity-100'}"
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
aria-label="Playlist actions"
|
||||
|
||||
Reference in New Issue
Block a user