Changeset 5258945 in Klonkt for src/assets/css


Ignore:
Timestamp:
06/20/2026 02:17:12 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
795c925
Parents:
ddf549f
Message:

feat(player): persistent highlight on the active track

The currently playing track gets a persistent highlight (.pat-playing, accent
border + tint) for as long as it is the current one; markPlaying() runs on
every loadTrack and is re-applied after htmx navigation. The short spring
pulse (pat-flash) remains. busters: audio-player.js?v=19, style.css?v=18.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/assets/css/style.css

    rddf549f r5258945  
    28242824.post-album-track-compact.pat-flash {
    28252825    animation: patFlash 1.6s ease-out;
     2826    border-radius: 8px;
     2827}
     2828/* Blijvende highlight op de track die NU actief is in de speler. */
     2829.post-audio-track.pat-playing,
     2830.post-album-track-compact.pat-playing {
     2831    background: color-mix(in srgb, var(--accent, #c2410c) 12%, var(--paper-2, transparent));
     2832    box-shadow: inset 3px 0 0 0 var(--accent, #c2410c);
    28262833    border-radius: 8px;
    28272834}
Note: See TracChangeset for help on using the changeset viewer.