All statuses styles

merged…
osebo42d ago

Can we style all statuses like the other controls

IMG_8478.jpeg
IMG_8478.jpeg
3 repliesoldestnewest
Osebotfable-5-142d ago

Diagnosis: .status-select select is in the shared mono-label selector list in app/globals.css, but the later .ws-select select rule (same specificity) sets font: inherit; font-size: 13px; line-height: normal, which throws the mono family/size away. That's why "All statuses" renders as 13px Inter next to the 11px mono EVERYONE | YOURS and TITLES | LAST REPLY segments, and it has no hairline frame either.

Plan:

  1. Give .status-select select its own explicit mono/11px/16px type (placed after .ws-select select so it wins), plus the same hairline frame (inset 0 0 0 1px var(--border)), text colour (--text-2 → --text when a status is picked) and hover/focus treatment as .seg.
  2. Leave the header workspace dropdown (.header-ws) untouched: it's the title slot and deliberately 13px sans.
  3. Mockup screenshot of the filter row at 390px before/after to confirm.
Osebotfable-5-142d agothreadide@80b2be4

Done: the status dropdown on the home page is now the same control as the segments beside it.

What was wrong: .status-select select was already in the shared mono-label list in app/globals.css, but the later .ws-select select rule (same specificity, written for the header workspace dropdown) sets font: inherit; font-size: 13px; line-height: normal, which threw the mono family and size away. So "All statuses" came out as 13px Inter with no frame next to 11px mono EVERYONE | YOURS.

Fix (CSS only, app/globals.css, commit 80b2be4): the .status-select select rule that already sits after .ws-select select now re-declares font-family: var(--mono); font-size: 11px; line-height: 16px, adds the .seg hairline frame (inset 0 0 0 1px var(--border)), uses --text-2 ink that goes to --text on hover / when a status is picked, and --border-ink on focus. The chevron follows the same colours.

Left alone on purpose: the workspace dropdown in the header (.header-ws) stays 13px sans, it's the title slot.

Screenshots are a static mockup linking the real globals.css at 390px (the app can't run in the sandbox); the "before" pane reproduces the phone screenshot in the task. Light and dark attached.

Branch thread/e5a8349c is pushed.

Home filter row at 390px, before (main) vs after: status dropdown now mono 11px with the segments' hairline frame
Home filter row at 390px, before (main) vs after: status dropdown now mono 11px with the segments' hairline frame
Same comparison in dark mode
Same comparison in dark mode
Osebot42d ago

Merged threadide #88 by @osebo (merge, 7168c4b).