On a phone, an episode's title starts at the row's edge (#484)
The read dot's column and the pin button took 77px of a 390px row before the title, the first of them empty once an episode was read. On a phone the row has neither now: unread is a dot before the title, named for a screen reader, and pinned a pin in the line under it, both changed from the reader's floating actions. The hairline between rows starts with the text. A desktop's rows are as they were. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RqkrVAJFkEgz9cXG3jG1Zy
This commit is contained in:
@@ -54,6 +54,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
### Changed
|
||||
|
||||
- On a phone, an episode's title starts at the row's edge: the read and pin buttons are gone from the row, an unread episode has a dot before its title and a pinned one a pin under it, and both are changed from the reader's actions (#484).
|
||||
- Podcasts are in order by name with a leading "The", "A" or "An" set aside, in the feed list, the Podcasts shelf, a playlist's choices and the Directory: The Rest Is Science is under R, not T (#481).
|
||||
- A file has one button that brings it to where you are: on a phone or in the iOS app it ends on the device, with iPX fetching it first when it has not got it, and on a computer iPX fetches it and the button then saves a copy. A line beside the file's size says where it is (publisher only, queued for iPX, on iPX, on this device), and the rarer actions (remove from this device, delete from iPX, download to iPX only) are under ⋯ (#457).
|
||||
- The admin page is laid out as a feed's settings are: each tab in named parts, numbers with their unit beside them, switches for on and off, Server's Save always in reach, and on a phone the tabs in a row of their own so all four fit (#414).
|
||||
|
||||
14
web/app.css
14
web/app.css
@@ -1118,6 +1118,8 @@ body.playing .eq i:nth-child(3){animation-delay:-.6s}
|
||||
.ep.read .t{color:var(--dim);font-weight:500}
|
||||
.ep .line{display:flex;gap:9px;align-items:center;flex-wrap:wrap;color:var(--faint);font-size:11.5px}
|
||||
.ep .line:empty{display:none}
|
||||
/* A phone's marks for what the row's buttons say elsewhere (#484). */
|
||||
.ep .udot,.ep .pinmark,.ep .pinmark+.dot{display:none}
|
||||
.ep .kept{display:inline-flex;align-items:center;gap:4px;color:var(--dim)}
|
||||
.ep .kept svg{width:1em;height:1em}
|
||||
.ep .fd,.ep .size,.ep .date{color:var(--dim);font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
||||
@@ -1408,7 +1410,15 @@ body:has(#player.on) #status{padding-bottom:3px}
|
||||
#split{grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:"list"}
|
||||
/* Title and date only; the files sit above the item's text in the reader instead. */
|
||||
#files,.ephead,.ep .fd,.ep .file,.ep .size,.ep .rowacts{display:none}
|
||||
.ep,#split.one .ep{grid-template-columns:20px 20px minmax(0,1fr) auto}
|
||||
/* No read or pin button: their two columns cost 77px of a 390px screen before the title, empty
|
||||
once an episode is read (#484). Unread is a dot before the title, pinned a pin under it, and
|
||||
both are changed from the reader's actions. */
|
||||
.ep .st,.ep .fl{display:none}
|
||||
.ep,#split.one .ep{grid-template-columns:minmax(0,1fr) auto}
|
||||
.ep:not(.read) .udot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--accent2);margin-inline-end:7px;vertical-align:.12em}
|
||||
.ep .pinmark{display:inline-flex;color:var(--dim)}
|
||||
.ep .pinmark+.dot{display:block}
|
||||
.ep .pinmark svg{width:.9em;height:.9em}
|
||||
#grab{display:none}
|
||||
#detail{position:fixed;inset:0;z-index:38;display:none;border-top:0;padding:12px 16px 90px;padding-top:calc(12px + var(--safe-t))}
|
||||
body.reading #detail{display:block}
|
||||
@@ -1557,7 +1567,7 @@ body:has(#player.on) #status{padding-bottom:3px}
|
||||
.ep.sel{border-color:var(--edge)}
|
||||
.ep .t{font-size:17px}
|
||||
.ep .line,.ep .date{font-size:15px}
|
||||
.ep+.ep{background-image:linear-gradient(var(--line),var(--line));background-size:calc(100% - 64px) 1px;background-position:64px 0;background-repeat:no-repeat}
|
||||
.ep+.ep{background-image:linear-gradient(var(--line),var(--line));background-size:calc(100% - 8px) 1px;background-position:8px 0;background-repeat:no-repeat}
|
||||
.ep.sel,.ep.sel+.ep{background-image:none}
|
||||
.feed{padding:9px 10px;min-height:44px;border-radius:10px}
|
||||
.places{border-bottom-color:var(--edge);padding-bottom:10px;margin-bottom:10px}
|
||||
|
||||
@@ -197,8 +197,10 @@ function epEl(e: Entry){
|
||||
<button class="fl${e.flagged?' on':''}" data-a="flag" aria-pressed="${!!e.flagged}" title="${
|
||||
e.flagged?'Unpin':'Pin, so it is never deleted'}">${e.flagged?ICON.pinOn:ICON.pin}</button>
|
||||
<div class="body">
|
||||
<button type="button" class="t${name.derived?' notitle':''}">${esc(name.text)}</button>
|
||||
<button type="button" class="t${name.derived?' notitle':''}">${e.read?'':'<span class="udot" role="img" aria-label="Unread"></span>'}${esc(name.text)}</button>
|
||||
<div class="line">${[
|
||||
// On a phone, where the row has no pin button, what says it is pinned (#484).
|
||||
e.flagged&&`<span class="pinmark" role="img" aria-label="Pinned">${ICON.pinOn}</span>`,
|
||||
num&&`<span>${num}</span>`,
|
||||
left&&`<span>${left}</span>`,
|
||||
others>0&&`<span>+${others} more file${others===1?'':'s'}</span>`,
|
||||
|
||||
Reference in New Issue
Block a user