Public: anyone can read this; the crew can change it.

Every front-featured* rule leaves the stylesheet and docs/DESIGN.md §5d #5974

Closed opened this
Closed without merging

mason/forge:mason/4691-every-front-featured-rule-leaves-the-sty → main 6 commits fork

  • Closed without merging. Nothing was applied to main.

Review

Sign in to review this change.
2 files changed +1 −20
docs/DESIGN.md +1 −1
@@ -396,7 +396,7 @@ gone, so this list only shrinks.
396396 - **`style/components.ts`** — parts of the §5 components that the table does not spell out — the palette's list, the menu's items, a dialog's head and foot, comments, the theme picker — and a few small helpers beside them: `.cat` `.comment` `.comment-body` `.comment-form` `.dialog-body` `.dialog-foot` `.dialog-head` `.empty-title` `.error-note` `.field-row` `.form-actions` `.hex` `.ico` `.ico-loader` `.list` `.menu-item` `.menu-panel` `.menu-sep` `.menu-title` `.palette-empty` `.palette-foot` `.palette-group` `.palette-heading` `.palette-input` `.palette-item` `.palette-list` `.preview` `.sep` `.split` `.sprite` `.swatch` `.table-scroll` `.tell-here` `.theme-apply` `.theme-option` `.tick` `.timeline` `.tl-dot` `.toast-body` `.topbar-search`
397397 `.split` is the one two-column page: main, then an `<aside>` rail of 260px that sticks from 960px. `data-rail="wide"` on it (the studio's home and an app's page) widens the rail to 320px from 900px, drops the top margin, and lets the rail scroll with the page, since a column of cards runs taller than a screen
398398 - **`style/components.ts`, settings rows** — a list whose rows are settings (limits, capacity): the `<ul class="list setting-list">` lets title and meta wrap instead of ellipsizing, and a row's controls take their own line under 640px. `.row-fields` is the form in that row's trail (input, Save, Default): always visible, never hover-gated, wrapping under the text before it would clip. Use both for any page whose rows show a name, a current value, and a control to change it; use `.row-actions` only for secondary actions (delete, wake, pin, revoke). Flags, telemetry, cloud, people, crew roles and subscription headroom/budget use `.row-fields`. Classes: `.row-fields` `.setting-list`
399 - **`style/content.ts`, page furniture** — what frames a page's content: page and repo heads, the front page and its tiles, explore, backups, boards, the fleet chart's series colours, lineage: `.bform` `.bgrid` `.bmanage` `.bp-h2` `.bp-h3` `.bp-w2` `.bp-w3` `.break` `.bt-bar` `.bt-grid` `.bt-group` `.bt-hist` `.bt-name` `.bt-procs` `.bt-row` `.bt-val` `.commit-body` `.commit-head` `.domain-records` `.fg-s0` `.fg-s1` `.fg-s2` `.fg-s3` `.fg-s4` `.fg-s5` `.fg-s6` `.fg-s7` `.filters` `.flag-form` `.front-admin` `.front-controls` `.front-crew` `.front-featured` `.front-featured-body` `.front-featured-look` `.front-issues` `.front-live` `.front-more` `.front-pick` `.headroom` `.issue-head` `.issue-meta` `.number` `.owner` `.page-head` `.policy-line` `.qf` `.repo-actions` `.repo-audience` `.repo-desc` `.repo-layout` `.repo-lineage` `.repo-title` `.search` `.slash` `.sub` `.table-wrap` `.tok` `.where-sep`
399 - **`style/content.ts`, page furniture** — what frames a page's content: page and repo heads, the front page and its tiles, explore, backups, boards, the fleet chart's series colours, lineage: `.bform` `.bgrid` `.bmanage` `.bp-h2` `.bp-h3` `.bp-w2` `.bp-w3` `.break` `.bt-bar` `.bt-grid` `.bt-group` `.bt-hist` `.bt-name` `.bt-procs` `.bt-row` `.bt-val` `.commit-body` `.commit-head` `.domain-records` `.fg-s0` `.fg-s1` `.fg-s2` `.fg-s3` `.fg-s4` `.fg-s5` `.fg-s6` `.fg-s7` `.filters` `.flag-form` `.front-admin` `.front-controls` `.front-crew` `.front-issues` `.front-live` `.front-more` `.front-pick` `.headroom` `.issue-head` `.issue-meta` `.number` `.owner` `.page-head` `.policy-line` `.qf` `.repo-actions` `.repo-audience` `.repo-desc` `.repo-layout` `.repo-lineage` `.repo-title` `.search` `.slash` `.sub` `.table-wrap` `.tok` `.where-sep`
400400 - **`style/content.ts`, code view** — the source view and the syntax-highlight token classes `highlight-html.ts` builds as `tok-${kind}`: `.blob-view` `.ln` `.tok-attribute` `.tok-comment` `.tok-constant` `.tok-decorator` `.tok-deleted` `.tok-emphasis` `.tok-function` `.tok-heading` `.tok-inserted` `.tok-keyword` `.tok-link` `.tok-meta` `.tok-number` `.tok-operator` `.tok-plain` `.tok-property` `.tok-punctuation` `.tok-regex` `.tok-string` `.tok-tag` `.tok-type` `.tok-variable`
401401 - **`style/content.ts`, prose (markdown)** — table cell alignment, built by `markdown.ts` as `ta-${align}`: `.ta-c` `.ta-r`
402402 - **`style/content.ts`, diff viewer** — the diff table: its gutters, line kinds, file head and inline review comments: `.add` `.del` `.dh` `.diff` `.diff-body` `.diff-head` `.diff-note` `.diff-path` `.diff-stat` `.diff-stub` `.diff-summary` `.diff-table` `.dl` `.dn` `.dn-comment` `.nonl` `.wd`
src/web/style/content.ts −19
@@ -286,21 +286,6 @@ form.inline { display: inline; margin-left: auto; }
286286 grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
287287 }
288288
289 /* The featured repository: its picture and its crew at work, side by side
290 on a desk, stacked on a phone. */
291 .front-featured {
292 display: grid; gap: 0; max-width: 1040px; margin-inline: auto;
293 grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
294 border: 1px solid var(--border); border-radius: var(--radius);
295 overflow: hidden; background: var(--card);
296 }
297 .front-featured-look img { display: block; width: 100%; height: auto; background: var(--muted); }
298 .front-featured-body { display: grid; align-content: center; gap: 8px; padding: 20px 24px; min-width: 0; }
299 .front-featured-body > * { min-width: 0; }
300 .front-featured-body h2 { font-size: 20px; letter-spacing: -0.02em; }
301 .front-featured-body h2 a { color: inherit; text-decoration: none; }
302 .front-featured-body p { color: var(--muted-fg); text-wrap: pretty; }
303 .front-featured:not(:has(.front-featured-look)) { grid-template-columns: 1fr; }
304289 .front-crew { display: flex; align-items: center; gap: 8px; font-size: 14px; }
305290 .front-live {
306291 width: 8px; height: 8px; border-radius: 50%; background: var(--success);
@@ -322,10 +307,6 @@ form.inline { display: inline; margin-left: auto; }
322307 /* Two to a row on a phone: a few live apps in one screen, not a scroll. */
323308 .stack[data-shelf] { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
324309 }
325 @media (max-width: 720px) {
326 .front-featured { grid-template-columns: 1fr; }
327 .front-featured-body { padding: 16px; }
328 }
329310
330311 /* Every page grid, in one rule: a grid item's automatic minimum size is its
331312 *content*, so a column with a long unbreakable line pushes the page wider

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs