Now Playing: a full view of what is playing (#475)

Tapping the player bar, or Enter on it, opens a sheet over the feeds and the
list: the episode's artwork large, its podcast, its show notes and Up Next.
The bar stays below it with the controls, so there is one set of them rather
than a second kept in step. Chapters are left for #477: nothing reads them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 14:40:02 +00:00
parent 1fb1edd6b0
commit 2faca684da
10 changed files with 123 additions and 20 deletions

View File

@@ -688,14 +688,34 @@ body.scan-this .fhead [data-a=scan] .i,body.scan-any .fhead [data-a=scanall] .i,
/* Currently Listening: how far into each episode you are, as a rail along the foot of its row.
The one in the player is marked as it is everywhere else, by the amber EQ bars, and its rail
and time left move as it plays. The rest stay neutral, so that one is what stands out. */
#listening .childrow{position:relative;overflow:hidden;gap:12px;padding:10px 10px 13px}
#listening .childrow .art{width:44px;height:44px;font-size:13px}
#listening .txt b{display:flex;align-items:center;gap:7px}
#listening .txt b span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#listening .txt small{display:flex;gap:12px;margin-top:3px;color:var(--faint);font-size:11.5px}
#listening .txt small .fd{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#listening .txt small .left{flex:none;color:var(--dim)}
#listening .childrow:not(.now) .eq{display:none}
#listening .childrow,#nowqueue .childrow{position:relative;overflow:hidden;gap:12px;padding:10px 10px 13px}
#listening .childrow .art,#nowqueue .childrow .art{width:44px;height:44px;font-size:13px}
#listening .txt b,#nowqueue .txt b{display:flex;align-items:center;gap:7px}
#listening .txt b span,#nowqueue .txt b span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#listening .txt small,#nowqueue .txt small{display:flex;gap:12px;margin-top:3px;color:var(--faint);font-size:11.5px}
#listening .txt small .fd,#nowqueue .txt small .fd{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#listening .txt small .left,#nowqueue .txt small .left{flex:none;color:var(--dim)}
#listening .childrow:not(.now) .eq,#nowqueue .childrow:not(.now) .eq{display:none}
/* Now Playing (#475): over the feeds and the list, above the player bar, which keeps the
controls. The artwork is the one large thing on the page. */
#nowsheet{grid-row:1;grid-column:1/-1;z-index:30;overflow:auto;background:var(--bg);
padding:22px max(16px,calc((100% - 720px)/2)) 32px;position:relative}
#nowclose{position:absolute;top:14px;right:max(12px,calc((100% - 720px)/2 - 44px))}
.nowhead{display:grid;grid-template-columns:minmax(0,280px) minmax(0,1fr);gap:24px;align-items:end;margin:10px 0 26px}
.nowhead .nowart{width:100%;height:auto;aspect-ratio:1;border-radius:14px;font-size:56px}
.nowmeta{display:flex;flex-direction:column;gap:6px;min-width:0}
.nowmeta h2{margin:0;font-size:24px;line-height:1.2;text-wrap:balance}
.nowshow{align-self:flex-start;color:var(--accent);font-size:15px;font-weight:500;text-align:left}
.nowmeta small{color:var(--dim);font-size:12.5px;font-variant-numeric:tabular-nums}
#nowsheet h3{font-size:14px;font-weight:600;margin:22px 0 10px;color:var(--dim)}
#nowqueue{display:flex;flex-direction:column;gap:6px}
#pnow{cursor:pointer;border-radius:8px}
@media (max-width:820px){
.nowhead{grid-template-columns:1fr;justify-items:center;text-align:center;gap:18px}
.nowhead .nowart{max-width:300px}
.nowmeta{align-items:center}
.nowshow{align-self:center;text-align:center}
}
/* The Podcasts shelf (#474): the artwork is the podcast, as on a shelf of records, so nothing
frames it: no card, no shadow, the name and its new episodes under it. */
.shelf{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:20px 14px;padding:4px 2px 24px}
@@ -708,14 +728,14 @@ body.scan-this .fhead [data-a=scan] .i,body.scan-any .fhead [data-a=scanall] .i,
#listening .grip{width:22px;margin-left:-4px;color:var(--faint);cursor:grab;touch-action:none}
#listening .grip svg{width:12px;height:12px}
#listening .childrow.dragging{border-color:var(--accent);cursor:grabbing}
#listening .rail{position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--raise)}
#listening .rail i{display:block;height:100%;width:0;background:var(--faint);transition:width .25s linear}
#listening .now{border-color:color-mix(in srgb,var(--accent2) 60%,var(--line))}
#listening .now .eq,#listening .now .left{color:var(--accent2)}
#listening .now .rail i{background:var(--accent2)}
#listening .rail,#nowqueue .rail{position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--raise)}
#listening .rail i,#nowqueue .rail i{display:block;height:100%;width:0;background:var(--faint);transition:width .25s linear}
#listening .now,#nowqueue .now{border-color:color-mix(in srgb,var(--accent2) 60%,var(--line))}
#listening .now .eq,#nowqueue .now .eq,#listening .now .left,#nowqueue .now .left{color:var(--accent2)}
#listening .now .rail i,#nowqueue .now .rail i{background:var(--accent2)}
/* Quiet buttons: a filled one on every row outshouted the row that is playing. */
#listening [data-a=play]{color:var(--accent)}
#listening [data-a=remove]{color:var(--faint)}
#listening [data-a=play],#nowqueue [data-a=play]{color:var(--accent)}
#listening [data-a=remove],#nowqueue [data-a=remove]{color:var(--faint)}
/* The Directory, laid out as Apple's is: a large title, then sections. Every page carries what
kind of feed (.tabs, as the item filters are) in its title row. */
.dhead{margin-bottom:6px}