Dimmed buttons say why; the directory fits at 200% zoom (#507)

Checked against the style guide's design half:

- Dimmed, not removed: the page already dims rather than hides, but a
  dimmed toolbar button kept its usual tooltip, so it looked broken.
  dim() sets the reason (Choose an item first, Open a feed to
  unsubscribe from it, Nothing to play in this item) and gives the
  usual tooltip back. The player's play-button sync leaves a dimmed one
  alone, and syncTools asks it to repaint so a playing item still says
  Pause. The admin page's Save says nothing has changed yet.
- 200% zoom on a 320 px screen (160 CSS px): the app and admin page fit;
  the directory scrolled sideways, its name on one line, its header form
  beside it, its category grid at a 180 px minimum and the chart's words.
  Now its name wraps, the form takes its own line, the grid's minimum is
  the width, and long words break.
- Tap targets at 320 px: the directory's tabs, chips, button and search
  box were 35-39 px, now 40; the page's checkbox rows were 26 px, now
  40. The admin switches are iOS's 51x31 inside a taller row.
- The directory's hovers sit inside (hover:hover).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RqkrVCCH8YcP2Y3i8VNYWA
This commit is contained in:
2026-12-02 12:22:22 -05:00
parent 19f9790eef
commit 3de955c52a
14 changed files with 53 additions and 27 deletions

View File

@@ -74,7 +74,7 @@ function signalFolder(list: HTMLElement, q: string){
function renderSignals(){
const unread=S.signals.reduce((k,s)=>k+s.unread,0);
$('#count').textContent=`Signals: ${plural(S.signals.length,'signal')}, ${unread} unread`;
$<HTMLButtonElement>('#tbRemove').disabled=true;
dim($<HTMLButtonElement>('#tbRemove'),NO_FEED,UNSUB);
syncTools(null);
const box=$('#content');
box.classList.add('plain');