From 10a738866be64512564b85d3e9d220d16ab4a68c Mon Sep 17 00:00:00 2001 From: Manuel de Brito Fontes Date: Fri, 4 Dec 2026 22:30:05 -0300 Subject: [PATCH 1/2] target: the workspace page, Settings, the Overview and Runners speak the prototype's language The four screens drawn on 2026-12-01 are redrawn in the language of 2026-12-04, so the destination is one console and not two: each leads with its verdict on the spot, what needs the person is a card with its next step, a setting or a fact is a name over the line that says what it governs, an event is a row of its log, and where the person is - a page, a tab, a place on a page - is the selected tint. Each is drawn whole at 1440 and 390 px. The old rules, their scope and the closure that drew them are gone, and so is the shooter's second kind of screen: all six are held to the same checks, and to one more, a machine's last hour at the width its token gives, which a rule for icons took from it on the way here. target/README.md keeps only the decisions in force. Co-Authored-By: Claude Opus 5.5 --- target.html | 637 +++++++++++--------------- target/README.md | 58 ++- target/admin-overview.dark.png | Bin 131469 -> 165242 bytes target/admin-overview.light.png | Bin 128998 -> 161871 bytes target/admin-overview.phone.dark.png | Bin 0 -> 131492 bytes target/admin-overview.phone.light.png | Bin 0 -> 127499 bytes target/admin-runners.dark.png | Bin 127444 -> 184359 bytes target/admin-runners.light.png | Bin 125551 -> 182821 bytes target/admin-runners.phone.dark.png | Bin 0 -> 140521 bytes target/admin-runners.phone.light.png | Bin 0 -> 139268 bytes target/inbox.dark.png | Bin 231062 -> 231466 bytes target/inbox.light.png | Bin 231354 -> 231621 bytes target/inbox.phone.dark.png | Bin 212714 -> 212871 bytes target/inbox.phone.light.png | Bin 211339 -> 211372 bytes target/settings.dark.png | Bin 130706 -> 175258 bytes target/settings.light.png | Bin 130222 -> 174337 bytes target/settings.phone.dark.png | Bin 0 -> 127115 bytes target/settings.phone.light.png | Bin 0 -> 125365 bytes target/shoot.mjs | 68 +-- target/workspace.dark.png | Bin 157685 -> 196031 bytes target/workspace.light.png | Bin 156006 -> 195449 bytes target/workspace.phone.dark.png | Bin 0 -> 164106 bytes target/workspace.phone.light.png | Bin 0 -> 163186 bytes target/workspaces.dark.png | Bin 186089 -> 186776 bytes target/workspaces.light.png | Bin 185581 -> 186058 bytes target/workspaces.phone.dark.png | Bin 142800 -> 142821 bytes target/workspaces.phone.light.png | Bin 141325 -> 141324 bytes target/workspaces.project.dark.png | Bin 233763 -> 234089 bytes target/workspaces.project.light.png | Bin 232601 -> 232549 bytes 29 files changed, 320 insertions(+), 443 deletions(-) create mode 100644 target/admin-overview.phone.dark.png create mode 100644 target/admin-overview.phone.light.png create mode 100644 target/admin-runners.phone.dark.png create mode 100644 target/admin-runners.phone.light.png create mode 100644 target/settings.phone.dark.png create mode 100644 target/settings.phone.light.png create mode 100644 target/workspace.phone.dark.png create mode 100644 target/workspace.phone.light.png diff --git a/target.html b/target.html index 45eeeb7..6d44ed0 100644 --- a/target.html +++ b/target.html @@ -28,129 +28,20 @@ #frame { box-shadow: 0 0 0 1px var(--spin-border); } .bare .hud { display: none; } .bare .stage { padding: 0; } .bare #frame { box-shadow: none; } -/* The workspace page, Settings, the Overview and Runners, as they were drawn on 2026-12-01, in a - 1440 by 900 desktop. */ -@scope (.frame) { -:scope { --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s6: 24px; --s8: 32px; width: 1440px; height: 900px; overflow: hidden; display: grid; grid-template-columns: var(--spin-sidebar-app) minmax(0, 1fr); background: var(--spin-page); } -.mono { font-family: var(--spin-font-mono); } -.muted { color: var(--spin-muted); } -.link { color: var(--spin-accent-text); } -.warn-t { color: var(--spin-warning); } -.err-t { color: var(--spin-error); } -.trunc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; } -.grow { flex: 1; } -.side { display: flex; flex-direction: column; min-height: 0; background: var(--spin-surface); border-right: 1px solid var(--spin-border); padding: 0 var(--s2) var(--s2); } -.side .brand { display: flex; align-items: center; gap: var(--s2); height: 52px; padding: 0 var(--s2); font: 600 15px var(--spin-font-mono); } -.side .brand img { width: 20px; height: 20px; } -.side .search { display: flex; align-items: center; gap: var(--s2); height: var(--spin-control-md); margin: 0 0 var(--s3); padding: 0 var(--s2); border: 1px solid var(--spin-control-border); border-radius: var(--spin-radius-sm); background: var(--spin-control); color: var(--spin-muted); } -.side .search span:last-child { margin-left: auto; font: 13px var(--spin-font-mono); } -.side .group { margin: var(--s4) var(--s2) var(--s1); font-weight: 500; color: var(--spin-muted); } -.side nav a, .side .foot a { display: flex; align-items: center; gap: 10px; height: var(--spin-control-md); padding: 0 var(--s2); border-radius: var(--spin-radius-sm); color: var(--spin-muted); } -.side nav a:hover, .side .foot a:hover { background: var(--spin-row-hover); color: var(--spin-text); } -.side nav a.cur, .side .foot a.cur { background: var(--spin-raised); color: var(--spin-text); font-weight: 500; } -.side nav a .n { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--spin-text); font-weight: 400; } -.side svg, .btn svg, .input svg, .sec-h svg { width: var(--spin-control-icon); height: var(--spin-control-icon); flex: none; } -.side .foot { margin-top: auto; border-top: 1px solid var(--spin-hairline); padding-top: var(--s2); } -.side .who { display: flex; align-items: center; gap: 10px; padding: var(--s2); } -.side .who i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--spin-raised); font: 500 13px var(--spin-font-sans); font-style: normal; flex: none; } -.side .who div { min-width: 0; line-height: 18px; } -.side .ver { padding: 0 var(--s2); font: 13px var(--spin-font-mono); color: var(--spin-muted); } -.main { min-width: 0; min-height: 0; overflow: auto; padding: var(--s6) var(--s8) var(--s6); } -h1 { margin: 0; font: var(--spin-heading-weight) 24px/32px var(--spin-font-heading); letter-spacing: var(--spin-heading-tracking); } -h2 { margin: 0; font: var(--spin-heading-weight) 16px/24px var(--spin-font-heading); letter-spacing: -0.01em; } -.name { font-size: 14px; font-weight: 500; } -.ph { display: flex; align-items: flex-start; gap: var(--s4); margin-bottom: var(--s6); } -.ph > div:first-child { min-width: 0; flex: 1; } -.ph .acts { display: flex; align-items: center; gap: var(--s2); padding-top: 2px; } -.crumb { display: flex; gap: var(--s2); margin-bottom: var(--s1); color: var(--spin-muted); } -.ctx { margin: var(--s1) 0 0; color: var(--spin-muted); } -.verdict { display: flex; align-items: center; gap: var(--s2); margin: var(--s1) 0 0; font-size: 14px; font-weight: 500; } -.verdict .ex { font-size: 13px; font-weight: 400; color: var(--spin-muted); } -.mk { display: inline-block; width: 8px; height: 8px; flex: none; } -.mk.ok { border-radius: 50%; background: var(--spin-success); } -.mk.idle { border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--spin-muted); } -.mk.warn { width: 7px; height: 7px; margin: 0 0.5px; transform: rotate(45deg); border-radius: 1px; background: var(--spin-warning); } -.mk.err { border-radius: 1px; background: var(--spin-error); } -.st { display: inline-flex; align-items: center; gap: var(--s2); white-space: nowrap; min-width: 0; } -.st .why { color: var(--spin-muted); overflow: hidden; text-overflow: ellipsis; } -.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--spin-control-gap); height: var(--spin-control-md); padding: 0 var(--s3); border-radius: var(--spin-radius-sm); border: 1px solid transparent; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background-color var(--spin-duration-fast) var(--spin-ease); } -.btn.sm { height: var(--spin-control-sm); padding: 0 10px; } -.btn.primary { background: var(--spin-accent); color: var(--spin-on-accent); } -.btn.primary:hover { background: var(--spin-accent-fill-hover); } -.btn.secondary { background: var(--spin-control); border-color: var(--spin-control-border); } -.btn.secondary:hover { background: var(--spin-control-hover); } -.btn.ghost { background: transparent; color: var(--spin-muted); } -.btn.ghost:hover { background: var(--spin-row-hover); color: var(--spin-text); } -.btn.icon { width: var(--spin-control-md); padding: 0; } -.verb { justify-self: end; display: inline-flex; align-items: center; height: var(--spin-control-sm); padding: 0 var(--s2); margin-right: calc(-1 * var(--s2)); border-radius: var(--spin-radius-sm); border: 0; background: transparent; color: var(--spin-muted); font-weight: 500; white-space: nowrap; cursor: pointer; } -.r:hover .verb, .dr:hover .verb { color: var(--spin-text); } -.verb:hover { background: var(--spin-row-action-hover); } -.verb.danger:hover { color: var(--spin-error); } -.r > .btn { justify-self: end; } -.sec + .sec { margin-top: var(--s6); } -.sec-h { display: flex; align-items: center; gap: var(--s2); min-height: var(--spin-control-md); margin-bottom: var(--s2); } -.sec-h .n { color: var(--spin-muted); } -.sec-h + .ex { margin: calc(-1 * var(--s2)) 0 var(--s2); color: var(--spin-muted); } -.panel { background: var(--spin-surface); border: 1px solid var(--spin-hairline); border-radius: var(--spin-radius-sm); overflow: hidden; } -.r { display: grid; align-items: center; column-gap: var(--s4); height: var(--spin-row); padding: 0 var(--s3); white-space: nowrap; } -.r > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; } -.r:hover { background: var(--spin-row-hover); } -.r.head { height: var(--spin-control-md); border-bottom: 1px solid var(--spin-hairline); font-size: 12px; font-weight: 500; color: var(--spin-muted); } -.r.head:hover { background: none; } -.r .t { color: var(--spin-muted); text-align: right; } -.clock { font-family: var(--spin-font-mono); color: var(--spin-muted); } -.r .num { text-align: right; } -.facts .r + .r { border-top: 1px solid var(--spin-hairline); } -.facts .r > :first-child { color: var(--spin-muted); } -.dr { display: flex; align-items: center; gap: var(--s6); min-height: 52px; padding: 6px var(--s4); } -.dr + .dr { border-top: 1px solid var(--spin-hairline); } -.dr .k { flex: 1; min-width: 0; } -.dr .k > * { display: block; } -.dr .k > b { font-size: 14px; font-weight: 500; } -.dr .k > span { color: var(--spin-muted); } -.dr .v { flex: none; display: flex; align-items: center; gap: var(--s3); } -.dr .fig { min-width: 88px; text-align: right; } -.dr .verb { min-width: 80px; justify-content: flex-end; } -:not(.vb) > .dr > .v:not(:has(.verb))::after { content: ''; width: 72px; } -.vb { margin-bottom: var(--s6); } -.vb .top { display: flex; align-items: flex-start; gap: var(--s3); padding: var(--s4); } -.vb .top > .mk { margin-top: 8px; } -.vb .top p { margin: 0; color: var(--spin-muted); } -.vb .top .clock { margin-left: auto; padding-top: 2px; } -.vb .dr { gap: var(--s3); padding-left: 36px; border-top: 1px solid var(--spin-hairline); } -.meter { display: inline-block; width: 56px; height: 4px; border-radius: 2px; background: var(--spin-raised); vertical-align: middle; margin-right: var(--s2); position: relative; overflow: hidden; } -.meter i { position: absolute; inset: 0 auto 0 0; background: var(--spin-text); border-radius: 2px; } -.meter.warn i { background: var(--spin-warning); } -.dr .meter { width: 120px; margin-right: 0; } -.tabs { display: flex; gap: var(--s6); margin: calc(-1 * var(--s2)) 0 var(--s6); border-bottom: 1px solid var(--spin-hairline); } -.tabs a { display: inline-flex; align-items: center; gap: 6px; height: var(--spin-control-lg); margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--spin-muted); } -.tabs a.cur { color: var(--spin-text); font-weight: 500; border-color: var(--spin-accent); } -.tabs a .n { color: var(--spin-muted); font-weight: 400; } -.two { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: var(--s6); align-items: start; } -.rail { position: sticky; top: 0; display: flex; flex-direction: column; gap: 2px; padding-top: 2px; } -.rail .head { margin-bottom: var(--s2); color: var(--spin-muted); font-weight: 500; } -.rail a { display: flex; align-items: center; height: var(--spin-control-sm); padding-left: var(--s3); border-left: 2px solid var(--spin-hairline); color: var(--spin-muted); } -.rail a.cur { color: var(--spin-text); font-weight: 500; border-color: var(--spin-accent); } -.prob .ph2 { display: flex; align-items: center; gap: var(--s3); height: 48px; padding: 0 var(--s3); border-bottom: 1px solid var(--spin-hairline); } -.prob .ph2 .name { font-family: var(--spin-font-mono); font-size: 14px; } -.prob + .prob { margin-top: var(--s3); } -.prob .facts .r { grid-template-columns: 96px minmax(0, 1fr); } -.ev { display: flex; gap: var(--s4); } -.sub { color: var(--spin-muted); } -.nest { display: inline-flex; align-items: center; gap: var(--s2); padding-left: var(--s6); } -} - /* The console as the prototype of 2026-12-04 draws it: the navigation, a bar over the page with where the person is and the page's one way to make something, and the page. A page leads with its verdict on the spot; what needs the person is a card with its next step; everything else is a row. The frame is a container, so a 390 px frame is drawn as a phone in a desktop's window. */ -@scope (.app) { -:scope { container: app / inline-size; background: var(--spin-page); } +.app { container: app / inline-size; background: var(--spin-page); } .shell { display: grid; grid-template-columns: var(--spin-sidebar-app) minmax(0, 1fr); min-height: 100vh; } -svg { width: var(--spin-control-icon); height: var(--spin-control-icon); flex: none; } -.mono { font-family: var(--spin-font-mono); } +.app svg { width: var(--spin-control-icon); height: var(--spin-control-icon); flex: none; } +/* An id, a command or a clock time, in the mono, never broken at its hyphens. */ +.mono { font-family: var(--spin-font-mono); white-space: nowrap; } +/* A path in the mono, which breaks after a slash and nowhere else. */ +.path { font-family: var(--spin-font-mono); } .muted { color: var(--spin-muted); } .link { color: var(--spin-accent-text); } +.warn-t { color: var(--spin-warning); } .err-t { color: var(--spin-error); } /* The ranks of type, each set whole from its six variables. */ @@ -176,6 +67,7 @@ .mark.warn { width: calc(var(--spin-mark) - 1px); height: calc(var(--spin-mark) - 1px); margin: 0 0.5px; border-radius: 1px; transform: rotate(45deg); } .mark.err { border-radius: 1px; } .mark.idle { background: none; box-shadow: inset 0 0 0 1.5px var(--c); } +.st { display: inline-flex; align-items: center; gap: var(--spin-space-xs); } /* A key hint: the key that does what its control does, on a cap. */ kbd { display: inline-grid; place-items: center; min-width: var(--spin-kbd); height: var(--spin-kbd); padding: 0 var(--spin-space-2xs); border: 1px solid var(--spin-border); border-radius: var(--spin-radius-xs); background: var(--spin-surface); color: var(--spin-muted); font: var(--spin-weight-medium) var(--spin-rank-label-size)/1 var(--spin-font-mono); } @@ -191,13 +83,17 @@ .btn.sm { height: var(--spin-control-sm); padding: 0 var(--spin-space-sm); } .btn.icon { width: var(--spin-control-md); padding: 0; } .btn.icon.sm { width: var(--spin-control-sm); } -/* A row's verb: a word in accent_text, lifted off its row under the pointer. */ +.btn[aria-pressed=true] { border-color: var(--spin-accent); background: var(--spin-selected); color: var(--spin-accent-text); } +/* A row's verb: a word in accent_text, lifted off its row under the pointer; one that takes + something away turns to error under it. */ .verb { display: inline-flex; align-items: center; height: var(--spin-control-sm); padding: 0 var(--spin-space-xs); border: 0; border-radius: var(--spin-radius-xs); background: none; color: var(--spin-accent-text); font-weight: var(--spin-weight-strong); white-space: nowrap; cursor: pointer; } .verb:hover { background: var(--spin-row-action-hover); } +.verb.danger:hover { color: var(--spin-error); } /* A next step written as words, with the arrow that says it goes somewhere. */ .go { display: inline-flex; align-items: center; gap: var(--spin-space-2xs); color: var(--spin-accent-text); font-weight: var(--spin-weight-strong); white-space: nowrap; } -/* The navigation, on the surface. */ +/* The navigation, on the surface. Where the person is - the page, the place on it, the view of it - + is the selected tint with its word in accent_text. */ .side { display: flex; flex-direction: column; gap: var(--spin-space-xl); padding: var(--spin-space-xl) var(--spin-space-md); background: var(--spin-surface); border-right: 1px solid var(--spin-hairline); } .brand { display: flex; align-items: center; gap: var(--spin-space-sm); padding: 0 var(--spin-space-sm); } .brand img { width: var(--spin-control-sm); height: var(--spin-control-sm); } @@ -205,9 +101,9 @@ .search kbd { margin-left: auto; } .nav { display: flex; flex-direction: column; gap: var(--spin-space-3xs); } .nav > .rank-label { padding: 0 var(--spin-space-sm) var(--spin-space-sm); } -.nav a { display: flex; align-items: center; gap: var(--spin-space-sm); height: var(--spin-control-md); padding: 0 var(--spin-space-sm); border-radius: var(--spin-radius-sm); color: var(--spin-muted); } -.nav a:hover { background: var(--spin-row-hover); color: var(--spin-text); } -.nav a[aria-current] { background: var(--spin-selected); color: var(--spin-accent-text); font-weight: var(--spin-weight-strong); } +.nav a, .tabs a, .rail a { display: flex; align-items: center; gap: var(--spin-space-sm); height: var(--spin-control-md); padding: 0 var(--spin-space-sm); border-radius: var(--spin-radius-sm); color: var(--spin-muted); white-space: nowrap; } +.nav a:hover, .tabs a:hover, .rail a:hover { background: var(--spin-row-hover); color: var(--spin-text); } +.nav a[aria-current], .tabs a[aria-current], .rail a[aria-current] { background: var(--spin-selected); color: var(--spin-accent-text); font-weight: var(--spin-weight-strong); } .nav .n { display: inline-flex; align-items: center; gap: var(--spin-space-xs); margin-left: auto; color: var(--spin-text); } .side .foot { display: flex; flex-direction: column; gap: var(--spin-space-md); margin-top: auto; } .who { display: flex; align-items: center; gap: var(--spin-space-sm); padding: var(--spin-space-md) var(--spin-space-sm) 0; border-top: 1px solid var(--spin-hairline); } @@ -225,13 +121,16 @@ .content { max-width: var(--spin-width-page); margin: 0 auto; padding: var(--spin-inset-page) var(--spin-inset-page) calc(2 * var(--spin-inset-page)); } /* A page's head: what it counts, its title with the cursor that says it has just arrived, its - line, and on the right what it does besides making something. */ + line, and on the right what it does besides making something. Its views, when it has them, are + tabs under it. */ .head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--spin-space-lg); margin-bottom: var(--spin-gap-head); } .head h1 { margin: var(--spin-space-sm) 0; } .head h1 .cur { color: var(--spin-accent); animation: spin-blink var(--spin-blink) steps(1) var(--spin-blink-times); } .head p { margin: 0; color: var(--spin-muted); } .head .acts { display: flex; align-items: center; gap: var(--spin-space-sm); } @keyframes spin-blink { 50% { opacity: 0; } } +.tabs { display: flex; gap: var(--spin-space-2xs); margin: calc(-1 * var(--spin-space-sm)) 0 var(--spin-gap-head); } +.tabs .rank-label { margin-left: var(--spin-space-2xs); } /* The spot: the verdict and the counts it rests on, the one plane a page has that is not its own, with the one texture in the palette. It holds words and figures, never a control. */ @@ -249,20 +148,27 @@ .figs { display: flex; border-left: 1px solid var(--spin-spot-border); } .fig { display: flex; flex-direction: column; justify-content: space-between; gap: var(--spin-space-lg); min-width: var(--spin-width-figure); padding: var(--spin-inset-spot) var(--spin-space-lg); } .fig + .fig { border-left: 1px solid var(--spin-spot-border); } -.fig b { color: var(--c); } +.fig b { color: var(--c, var(--spin-spot-text)); } .fig.idle b { color: var(--spin-spot-text); } -.fig .rank-label { display: flex; align-items: center; gap: var(--spin-space-xs); color: var(--spin-spot-muted); } +.fig .rank-label { display: flex; align-items: center; gap: var(--spin-space-xs); color: var(--spin-spot-muted); white-space: nowrap; } .skel { display: block; border-radius: var(--spin-radius-xs); background: var(--spin-raised); } .spot .skel { background: var(--spin-spot-border); } -/* A section: its heading, how many it holds, and on the right what orders it. */ +/* A section: its heading, how many it holds, and on the right what orders it or what adds to it. */ .sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--spin-space-md); margin: var(--spin-gap-section) 0 var(--spin-gap); } .sec-head > div { display: flex; align-items: baseline; gap: var(--spin-space-sm); } .sec-head h2 { margin: 0; } +.intro { max-width: var(--spin-measure); margin: calc(-1 * var(--spin-space-xs)) 0 var(--spin-gap); color: var(--spin-muted); } +/* Sections side by side, and a page's sections beside the list of them. */ +.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--spin-gap-section); align-items: start; } +.with-rail { display: grid; grid-template-columns: minmax(0, 1fr) var(--spin-width-aside); gap: var(--spin-gap-section); align-items: start; } +.rail { position: sticky; top: var(--spin-inset-page); display: flex; flex-direction: column; gap: var(--spin-space-3xs); margin-top: var(--spin-gap-section); } +.rail > .rank-label { padding: 0 var(--spin-space-sm) var(--spin-space-sm); } /* What needs the person, and only that, is a card: its state and how long, what it is, its reason, - and its next step beside where it is. */ + and its next step beside where it is. A card alone is no wider than a panel's least. */ .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(var(--spin-width-card-min), 1fr)); gap: var(--spin-gap); } +.cards:has(> :only-child) { grid-template-columns: minmax(0, var(--spin-width-panel-min)); } .card { display: flex; flex-direction: column; min-width: 0; padding: var(--spin-inset-card); border: 1px solid var(--spin-hairline); border-radius: var(--spin-radius); background: var(--spin-surface); } .card[aria-current] { border-color: var(--spin-accent); box-shadow: inset 0 0 0 1px var(--spin-accent); } .card .top { display: flex; align-items: center; justify-content: space-between; gap: var(--spin-space-sm); } @@ -273,8 +179,14 @@ .card p b { color: var(--spin-text); font-weight: var(--spin-weight-strong); } .card p.why { color: var(--spin-error); } .card .foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--spin-space-sm); margin-top: var(--spin-space-md); padding-top: var(--spin-space-md); border-top: 1px solid var(--spin-hairline); } -.card .foot .acts { display: flex; align-items: center; gap: var(--spin-space-xs); margin-left: auto; } +.card .foot .acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--spin-space-xs); margin-left: auto; } .card .foot .acts:only-child { margin-left: 0; } +/* A problem's cause, what it touches and where its evidence is. */ +.kv { flex: 1; display: grid; grid-template-columns: var(--spin-width-key) minmax(0, 1fr); align-content: start; gap: var(--spin-space-xs) var(--spin-space-md); margin: var(--spin-space-sm) 0 0; } +.kv dt { color: var(--spin-muted); } +.kv dd { margin: 0; } +.links { display: flex; flex-wrap: wrap; gap: var(--spin-space-2xs) var(--spin-space-md); } +.links a { color: var(--spin-accent-text); font-weight: var(--spin-weight-strong); } .empty { display: flex; align-items: flex-start; gap: var(--spin-space-lg); padding: var(--spin-inset-spot); border: 1px dashed var(--spin-border); border-radius: var(--spin-radius); background: var(--spin-surface); } .empty h3 { margin: 0 0 var(--spin-space-2xs); } .empty p { margin: 0; color: var(--spin-muted); } @@ -288,7 +200,6 @@ .seg { display: flex; gap: var(--spin-space-3xs); padding: var(--spin-space-2xs); border-radius: var(--spin-radius-sm); background: var(--spin-page); } .seg button { display: inline-flex; align-items: center; gap: var(--spin-space-xs); height: var(--spin-control-sm); padding: 0 var(--spin-space-md); border: 0; border-radius: var(--spin-radius-xs); background: none; color: var(--spin-muted); font-weight: var(--spin-weight-medium); white-space: nowrap; cursor: pointer; } .seg button[aria-pressed=true] { background: var(--spin-surface); color: var(--spin-text); font-weight: var(--spin-weight-strong); box-shadow: 0 0 0 1px var(--spin-hairline); } -.btn[aria-pressed=true] { border-color: var(--spin-accent); background: var(--spin-selected); color: var(--spin-accent-text); } .input { display: flex; align-items: center; gap: var(--spin-space-sm); min-width: var(--spin-width-search); height: var(--spin-control-md); padding: 0 var(--spin-space-xs) 0 var(--spin-space-md); border: 1px solid var(--spin-border-strong); border-radius: var(--spin-radius-sm); background: var(--spin-surface); color: var(--spin-muted); } .input kbd { margin-left: auto; } @@ -326,18 +237,38 @@ .fact + .fact { border-top: 1px solid var(--spin-hairline); } .fact > span:first-child { color: var(--spin-muted); } +/* A setting or a fact of one thing: its name over the line that says what it governs or why, and + on the right its value and what changes it. */ +.row2 { display: flex; align-items: center; gap: var(--spin-space-lg); min-height: var(--spin-row-two); padding: var(--spin-space-sm) var(--spin-inset-cell); } +.row2 + .row2 { border-top: 1px solid var(--spin-hairline); } +.row2 .k { flex: 1; min-width: 0; } +.row2 .k > b { display: block; } +.row2 .k > span { display: block; color: var(--spin-muted); } +.row2 .v { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--spin-space-md); } +/* How much of what it holds a machine uses, in its state's colour on the raised plane. */ +.meter { position: relative; flex: none; width: var(--spin-usage-width); height: var(--spin-space-xs); overflow: hidden; border-radius: var(--spin-radius-xs); background: var(--spin-raised); } +.meter i { position: absolute; inset: 0 auto 0 0; background: var(--c); } + /* A table of many: its heads in the label rank, a hairline between rows, a row's next step at its end - at most one outlined button, a verb in accent_text, and its menu. */ .table { width: 100%; border-collapse: collapse; } .table th { padding: var(--spin-space-sm); border-bottom: 1px solid var(--spin-hairline); text-align: left; white-space: nowrap; } .table td { height: var(--spin-row-item); padding: var(--spin-space-xs) var(--spin-space-sm); vertical-align: middle; white-space: nowrap; } +.table.log td { height: var(--spin-row); } +.table.log td:not(:last-child) { width: 1%; } .table :is(th, td):first-child { padding-left: var(--spin-space-md); } .table :is(th, td):last-child { padding-right: var(--spin-space-md); } .table tbody tr + tr td { border-top: 1px solid var(--spin-hairline); } -.table tbody tr:not(.group):hover td { background: var(--spin-row-hover); } -.table td.agent { white-space: normal; text-wrap: pretty; } +.table tbody tr:not(.group, .sub):hover td { background: var(--spin-row-hover); } +.table .num { text-align: right; } +.table td.wrap { white-space: normal; text-wrap: pretty; } +.table td .why { display: block; color: var(--spin-muted); } .table tr.group td { height: auto; padding: var(--spin-space-sm) var(--spin-space-md); background: var(--spin-page); } .table tr.group span { margin-left: var(--spin-space-sm); color: var(--spin-muted); } +/* What a row holds, under it and of it. */ +.table tbody tr.sub td { height: auto; padding-bottom: var(--spin-space-md); border-top: 0; } +.on { display: flex; flex-wrap: wrap; align-items: center; gap: var(--spin-space-xs) var(--spin-space-lg); } +.on > span { display: inline-flex; align-items: center; gap: var(--spin-space-xs); } .chip { display: inline-flex; align-items: center; gap: var(--spin-space-sm); height: var(--spin-control-sm); padding: 0 var(--spin-space-sm); border-radius: var(--spin-radius-sm); background: var(--tint); font-weight: var(--spin-weight-medium); white-space: nowrap; } .st-for { display: inline-flex; align-items: center; gap: var(--spin-space-sm); } .where span { display: block; } @@ -345,7 +276,7 @@ /* A machine's last hour, as GetWorkspaceUsage gives it: its own cores dashed, what it is lent above them, what it used, and the figures beside it. */ .use { display: flex; align-items: center; gap: var(--spin-space-sm); } -.spark { display: block; width: var(--spin-usage-width); height: var(--spin-usage-height); overflow: visible; } +svg.spark { display: block; width: var(--spin-usage-width); height: var(--spin-usage-height); overflow: visible; } .spark .lent { fill: var(--spin-usage-lent); } .spark .own { stroke: var(--spin-usage-own); stroke-width: 1; stroke-dasharray: 2 3; } .spark .area { fill: var(--spin-usage-used); } @@ -358,31 +289,35 @@ column, a table's row as a block, and no key hints, since a phone has no keys. */ @container app (width < 768px) { .shell { grid-template-columns: minmax(0, 1fr); } - .side, .crumb .desk, kbd, .sec-note { display: none; } + .side, .crumb .desk, kbd, .sec-note, .rail { display: none; } .bar { padding: 0 var(--spin-space-lg); } .bar .menu { display: inline-flex; } - .btn, .seg button, .verb { min-height: var(--spin-target-touch); } + .btn, .seg button, .verb, .tabs a { min-height: var(--spin-target-touch); } .btn.icon { width: var(--spin-target-touch); } .content { padding: var(--spin-space-xl) var(--spin-space-lg) calc(2 * var(--spin-space-xl)); } .head { flex-direction: column; align-items: flex-start; } .spot { grid-template-columns: minmax(0, 1fr); } .figs { border-top: 1px solid var(--spin-spot-border); border-left: 0; } .fig { flex: 1; gap: var(--spin-space-sm); min-width: 0; padding: var(--spin-space-md) var(--spin-space-lg); } - .split { grid-template-columns: minmax(0, 1fr); } + .fig .rank-label { white-space: normal; } + .split, .cols, .with-rail { grid-template-columns: minmax(0, 1fr); } .tools { flex-direction: column; align-items: stretch; } .input { min-width: 0; } + .row2 { flex-wrap: wrap; gap: var(--spin-space-2xs) var(--spin-space-lg); } + .row2 .k { flex-basis: 100%; } + .row2 .v { justify-content: flex-start; } .table thead { display: none; } .table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--spin-space-xs) var(--spin-space-md); padding: var(--spin-space-md) var(--spin-space-lg); } .table tbody tr + tr { border-top: 1px solid var(--spin-hairline); } - .table td, .table tbody tr + tr td, .table td:is(:first-child, :last-child) { height: auto; padding: 0; border: 0; } - .table td.agent, .table td.use, .table td:last-child, .table tr.group td { grid-column: 1 / -1; min-width: 0; } - .table td.where, .table td.use:has(.none) { display: none; } + .table tbody tr.sub { padding-top: 0; border-top: 0; } + .table td, .table tbody tr + tr td, .table td:is(:first-child, :last-child), .table.log td:not(:last-child) { width: auto; height: auto; padding: 0; border: 0; } + .table td.span, .table td:last-child, .table tr:is(.group, .sub) td { grid-column: 1 / -1; min-width: 0; } + .table td.desk, .table td.use:has(.none) { display: none; } .actions { justify-content: flex-start; } } @media (prefers-reduced-motion: reduce) { .head h1 .cur, .item.live .tile::after { animation: none; } } -} @@ -394,209 +329,51 @@ -
+