Files
CatoandClaude Opus 5.5 77a2b95d2f fix(tools): 44px breadcrumb and reader-tab targets; careers sidebar above Ask; X-ray keeps an early paste; after-deploy measurements (#119)
- The render sweep, run over the tool pages, flagged 14px breadcrumb links
  (15 hand-written copies, now class "crumbs" with inline padding: 44px
  target, same line), 40px reader tabs, and the careers sidebar ending under
  the Ask button at 1440.
- A list pasted into the X-ray before hydration sat in the box with the
  button grey; the client now adopts it on mount (found by scripts/ux).
- scripts/ux/reports/after.* and compare.md: 11/20 -> 20/20 task runs
  passing against production, dead ends 6 -> 1 (the early-paste case above).

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-26 01:01:28 -07:00

186 lines
4.0 KiB
CSS

/* Shared by working screens (the desk, /exposure): kicker, big title, status line, filter bar. */
.desk-kicker {
font-family: var(--font-mono);
font-size: 0.72rem;
letter-spacing: var(--tracking-caps);
text-transform: uppercase;
color: var(--color-fg-tertiary);
}
.desk-kicker a:hover {
color: var(--color-fg-primary);
}
.desk-title {
margin-top: 0.75rem;
font: 600 clamp(2rem, 4.5vw, 3.4rem) / 1.02 var(--font-heading);
letter-spacing: var(--tracking-display);
color: var(--color-fg-primary);
max-width: 22ch;
}
.desk-title-sub {
font-weight: 400;
color: var(--color-fg-tertiary);
}
.desk-title a:hover {
text-decoration: underline;
text-decoration-thickness: 2px;
text-underline-offset: 0.15em;
}
.desk-status {
margin-top: 0.9rem;
font-size: 0.9rem;
color: var(--color-fg-secondary);
}
.desk-status a {
color: var(--color-fg-secondary);
text-decoration: underline;
text-decoration-color: var(--color-border-strong);
text-underline-offset: 0.2em;
}
.desk-status a:hover {
color: var(--color-fg-primary);
}
.desk-filters {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
padding: 0.9rem 0 0.4rem;
}
.desk-filter select,
.desk-filter input {
min-height: 2.5rem;
max-width: 100%;
padding: 0 0.75rem;
border: 1px solid var(--color-border-strong);
border-radius: 0.5rem;
background: var(--color-surface-page);
color: var(--color-fg-primary);
font-size: 0.85rem;
}
.desk-filter select {
max-width: 16rem;
}
.desk-filter-q {
flex: 1 1 14rem;
}
.desk-filter-q input {
width: 100%;
}
.desk-showing {
font-size: 0.8rem;
color: var(--color-fg-muted);
}
.desk-showing a {
color: var(--color-fg-secondary);
text-decoration: underline;
text-underline-offset: 0.2em;
}
.list-more {
margin-top: 1rem;
font-size: 0.9rem;
}
.list-more a {
text-decoration: underline;
text-underline-offset: 0.2em;
}
.desk-empty {
margin-top: 2rem;
color: var(--color-fg-secondary);
}
/* ── The shared page header (components/portal/PageHeader.tsx) ── */
.page-head {
margin-bottom: 1.5rem;
padding-bottom: 1.25rem;
border-bottom: 1px solid var(--color-border-subtle);
}
.page-head-top {
display: flex;
flex-wrap: wrap;
align-items: baseline;
justify-content: space-between;
gap: 0.5rem 1.5rem;
}
.page-head-actions {
display: flex;
flex-wrap: wrap;
gap: 0.4rem 1rem;
font-size: 0.85rem;
}
.page-head-actions a {
color: var(--color-accent);
text-underline-offset: 0.2em;
}
.page-head-actions a:hover {
text-decoration: underline;
}
.page-head-note {
margin-top: 0.6rem;
max-width: 44rem;
font-size: 0.8rem;
line-height: 1.55;
color: var(--color-fg-muted);
}
.page-head-note a {
text-decoration: underline;
text-underline-offset: 0.2em;
}
/* ── The one empty state (Empty in components/portal/Shell.tsx) ── */
.empty-state {
margin-top: 1.5rem;
}
.empty-state-actions {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.5rem 1.25rem;
margin-top: 0.9rem;
font-size: 0.85rem;
}
.empty-state-actions a {
color: var(--color-accent);
text-decoration: underline;
text-underline-offset: 0.2em;
}
.empty-state-actions button {
cursor: pointer;
}
/* ── Copy a shareable link (components/portal/CopyLink.tsx) ── */
.copy-link {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.5rem 0.75rem;
font-size: 0.8rem;
color: var(--color-fg-muted);
}
.copy-link code {
overflow-wrap: anywhere;
}
/* ── The one loading state for filter bars (AutoSubmitForm) ── */
.filter-pending {
display: none;
}
.desk-filters .filter-pending:not(:empty) {
display: inline;
align-self: center;
font-size: 0.8rem;
color: var(--color-fg-muted);
}
.desk-filters[data-pending] ~ * {
opacity: 0.55;
transition: opacity 150ms ease;
}
@media (prefers-reduced-motion: reduce) {
.desk-filters[data-pending] ~ * {
transition: none;
}
}
/* ── Breadcrumbs: a 44px tap target without changing the line (inline padding) ── */
.crumbs a {
padding-block: 0.95rem;
}