A pinned item's pin keeps its accent disc in the reader's floating actions (#480)
On a phone the floating actions (#456) make every button transparent so the frosted capsule shows through. That outranked the pinned button's accent background but not its colour, --ink, so the pin was drawn white on a light theme's capsule. Pinned keeps its accent there now. The #456 browser test checks the pinned button's background, and names the actions it expects instead of counting them: since Up Next an episode has a fourth, and the count passed only when the tests before it left an item without audio first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RqkrVAJFkEgz9cXG3jG1Zy
This commit is contained in:
@@ -1416,6 +1416,9 @@ body:has(#player.on) #status{padding-bottom:3px}
|
||||
.dfloat #dback{margin:0;width:44px;height:44px;border-radius:999px}
|
||||
.dfloat .dacts{gap:2px;padding:2px 6px;border-radius:999px}
|
||||
#detail .dfloat .dacts .btn{background:transparent;border-color:transparent;box-shadow:none}
|
||||
/* Pinned keeps its accent disc: cleared with the rest, its pin, in the colour drawn on the accent,
|
||||
was white on a light theme's capsule (#480). */
|
||||
#detail .dfloat .dacts .btn[data-a=flag][aria-pressed=true]{background:var(--accent);border-color:var(--accent)}
|
||||
/* Beside the reader while it is swiped (gestures.ts): the item next to it, with a strip of the
|
||||
page's own background between them, so the list under the reader never shows (#52). */
|
||||
#dpeek{position:fixed;top:0;bottom:0;left:0;width:calc(100% + 16px);z-index:38;background:var(--bg);pointer-events:none}
|
||||
|
||||
Reference in New Issue
Block a user