sideby 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -4
- package/ai-tasks.json +28 -0
- package/dist/build.json +1 -1
- package/dist/src/cli/commands.d.ts +22 -1
- package/dist/src/cli/commands.js +815 -21
- package/dist/src/cli/format.d.ts +4 -0
- package/dist/src/cli/format.js +42 -4
- package/dist/src/cli/json-schemas.js +334 -4
- package/dist/src/cli/main.js +159 -13
- package/dist/src/core/accounts.d.ts +6 -0
- package/dist/src/core/accounts.js +12 -0
- package/dist/src/core/autostart.d.ts +11 -0
- package/dist/src/core/autostart.js +32 -5
- package/dist/src/core/browser-profiles.d.ts +23 -2
- package/dist/src/core/browser-profiles.js +148 -37
- package/dist/src/core/claude-settings-file.d.ts +18 -0
- package/dist/src/core/claude-settings-file.js +52 -3
- package/dist/src/core/config.d.ts +5 -0
- package/dist/src/core/config.js +12 -1
- package/dist/src/core/edit-settings.d.ts +7 -0
- package/dist/src/core/edit-settings.js +10 -5
- package/dist/src/core/file-memo.js +26 -4
- package/dist/src/core/history-group.d.ts +28 -0
- package/dist/src/core/history-group.js +47 -0
- package/dist/src/core/history-index.d.ts +145 -0
- package/dist/src/core/history-index.js +447 -0
- package/dist/src/core/history-project.d.ts +13 -0
- package/dist/src/core/history-project.js +87 -0
- package/dist/src/core/history.d.ts +210 -0
- package/dist/src/core/history.js +952 -0
- package/dist/src/core/inbound.d.ts +62 -0
- package/dist/src/core/inbound.js +215 -0
- package/dist/src/core/launch.d.ts +9 -1
- package/dist/src/core/launch.js +58 -24
- package/dist/src/core/live-sessions-copy.d.ts +5 -0
- package/dist/src/core/live-sessions-copy.js +46 -0
- package/dist/src/core/live-sessions-procs.d.ts +89 -0
- package/dist/src/core/live-sessions-procs.js +296 -0
- package/dist/src/core/live-sessions-title.d.ts +28 -0
- package/dist/src/core/live-sessions-title.js +80 -0
- package/dist/src/core/live-sessions.d.ts +68 -0
- package/dist/src/core/live-sessions.js +163 -0
- package/dist/src/core/login-check.d.ts +15 -0
- package/dist/src/core/login-check.js +32 -0
- package/dist/src/core/messages.d.ts +83 -0
- package/dist/src/core/messages.js +433 -0
- package/dist/src/core/project-categories.d.ts +14 -0
- package/dist/src/core/project-categories.js +48 -0
- package/dist/src/core/quota-fetch.d.ts +3 -3
- package/dist/src/core/quota-fetch.js +5 -5
- package/dist/src/core/quota-levels.d.ts +5 -0
- package/dist/src/core/quota-levels.js +5 -0
- package/dist/src/core/remote-control.d.ts +2 -0
- package/dist/src/core/remote-control.js +34 -59
- package/dist/src/core/run-link.d.ts +76 -0
- package/dist/src/core/run-link.js +245 -0
- package/dist/src/core/same-login.d.ts +4 -3
- package/dist/src/core/same-login.js +10 -7
- package/dist/src/core/session-select.d.ts +31 -0
- package/dist/src/core/session-select.js +44 -0
- package/dist/src/families/browser.d.ts +7 -18
- package/dist/src/families/browser.js +19 -8
- package/dist/src/families/claude/deliver.d.ts +2 -0
- package/dist/src/families/claude/deliver.js +43 -0
- package/dist/src/families/claude/history.d.ts +2 -0
- package/dist/src/families/claude/history.js +192 -0
- package/dist/src/families/claude/live-sessions.d.ts +13 -0
- package/dist/src/families/claude/live-sessions.js +117 -0
- package/dist/src/families/claude/messaging.d.ts +69 -0
- package/dist/src/families/claude/messaging.js +165 -0
- package/dist/src/families/claude/mod.d.ts +26 -0
- package/dist/src/families/claude/mod.js +105 -0
- package/dist/src/families/claude/session-files.d.ts +21 -0
- package/dist/src/families/claude/session-files.js +54 -0
- package/dist/src/families/codex/deliver.d.ts +5 -0
- package/dist/src/families/codex/deliver.js +76 -0
- package/dist/src/families/codex/history.d.ts +7 -0
- package/dist/src/families/codex/history.js +174 -0
- package/dist/src/families/codex/index.js +2 -0
- package/dist/src/families/codex/live-sessions.d.ts +12 -0
- package/dist/src/families/codex/live-sessions.js +193 -0
- package/dist/src/families/codex/quota.d.ts +3 -0
- package/dist/src/families/codex/quota.js +123 -0
- package/dist/src/families/codex/rate-limits.js +2 -0
- package/dist/src/families/codex/rollout.js +1 -1
- package/dist/src/families/grok/browser.d.ts +3 -0
- package/dist/src/families/grok/browser.js +5 -0
- package/dist/src/families/grok/history.d.ts +2 -0
- package/dist/src/families/grok/history.js +157 -0
- package/dist/src/families/grok/live-sessions.d.ts +4 -0
- package/dist/src/families/grok/live-sessions.js +80 -0
- package/dist/src/families/grok/login-key.d.ts +14 -0
- package/dist/src/families/grok/login-key.js +37 -0
- package/dist/src/families/history.d.ts +20 -0
- package/dist/src/families/history.js +81 -0
- package/dist/src/families/live-sessions.d.ts +26 -0
- package/dist/src/families/live-sessions.js +9 -0
- package/dist/src/families/login-keys.js +5 -1
- package/dist/src/families/messaging.d.ts +27 -0
- package/dist/src/families/messaging.js +6 -0
- package/dist/src/families/pi/history.d.ts +2 -0
- package/dist/src/families/pi/history.js +124 -0
- package/dist/src/families/pi/live-sessions.d.ts +2 -0
- package/dist/src/families/pi/live-sessions.js +70 -0
- package/dist/src/families/shared/history-text.d.ts +65 -0
- package/dist/src/families/shared/history-text.js +261 -0
- package/dist/src/menubar/hotkey.d.ts +86 -0
- package/dist/src/menubar/hotkey.js +159 -0
- package/dist/src/menubar/script.d.ts +2 -0
- package/dist/src/menubar/script.js +118 -22
- package/dist/src/menubar/snapshot.d.ts +8 -4
- package/dist/src/menubar/snapshot.js +45 -13
- package/dist/src/menubar/strings.d.ts +24 -6
- package/dist/src/menubar/strings.js +24 -6
- package/dist/src/panel/handler.d.ts +69 -0
- package/dist/src/panel/handler.js +686 -15
- package/dist/src/panel/i18n.d.ts +304 -3
- package/dist/src/panel/i18n.js +669 -67
- package/dist/src/panel/orca.d.ts +48 -0
- package/dist/src/panel/orca.js +153 -0
- package/dist/src/panel/page-logic.d.ts +255 -13
- package/dist/src/panel/page-logic.js +483 -1
- package/dist/src/panel/page-script.js +2265 -207
- package/dist/src/panel/page-styles.js +404 -32
- package/dist/src/panel/page.js +1 -0
- package/dist/src/plugins/account-script.js +61 -27
- package/dist/src/plugins/check.js +16 -4
- package/dist/src/plugins/loader.d.ts +8 -1
- package/dist/src/plugins/loader.js +72 -7
- package/dist/src/runtime.d.ts +5 -0
- package/dist/src/runtime.js +27 -5
- package/dist/src/types.d.ts +116 -1
- package/dist/testing/index.d.ts +5 -0
- package/dist/testing/index.js +5 -0
- package/mods/claude/.claude-plugin/plugin.json +7 -0
- package/mods/claude/hooks/hooks.json +1 -0
- package/mods/claude/hooks/register.js +261 -0
- package/package.json +5 -2
- package/schemas/autostart.json +74 -1
- package/schemas/browser-set.json +110 -0
- package/schemas/browser.json +22 -2
- package/schemas/config.json +26 -1
- package/schemas/history-index.json +209 -0
- package/schemas/history-projects.json +133 -0
- package/schemas/history-show.json +275 -0
- package/schemas/history.json +410 -0
- package/schemas/menubar-hotkey.json +139 -0
- package/schemas/menubar-snapshot.json +36 -2
- package/schemas/menubar.json +74 -1
- package/schemas/messages-inbound.json +258 -0
- package/schemas/messages.json +164 -0
- package/schemas/send.json +165 -0
- package/schemas/sessions-copy.json +113 -0
- package/schemas/sessions-open-run.json +97 -0
- package/schemas/sessions.json +237 -0
- package/skills/sideby/SKILL.md +10 -5
- package/skills/sideby/references/accounts.md +11 -0
- package/skills/sideby/references/ai-tasks.md +17 -1
- package/skills/sideby/references/panel.md +6 -4
- package/skills/sideby/references/quota.md +2 -2
- package/skills/sideby/references/sessions.md +79 -0
|
@@ -13,13 +13,13 @@ const DERIVED_COLORS = `
|
|
|
13
13
|
const LIGHT_TOKENS = `
|
|
14
14
|
--font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
15
15
|
--font-size: 14px; --small: 12.5px; --control-size: 13.5px; --heading-size: 15px; --large: 16px; --title-size: 22px;
|
|
16
|
-
--title-weight: 750; --heading-weight: 650; --strong-weight: 600; --button-weight: 600; --primary-weight:
|
|
16
|
+
--title-weight: 750; --heading-weight: 650; --strong-weight: 600; --button-weight: 600; --primary-weight: 650;
|
|
17
17
|
--radius: 14px; --ctl-radius: 8px; --chip-radius: 999px; --ctl-h: 34px; --ctl-h-sm: 28px; --field-h: 36px;
|
|
18
18
|
--content-width: 1180px; --gutter: 24px;
|
|
19
19
|
--bg: #f2f8fc; --surface: #fcfcfa; --surface-2: #f6fafd; --border: #dce8f0; --border-strong: #c5d7e4;
|
|
20
20
|
--text: #15171c; --muted: #555b63; --faint: #8b93a1; --accent: #27658f; --accent-soft: #e5f2fb;
|
|
21
|
-
--primary: #
|
|
22
|
-
--primary-border: #
|
|
21
|
+
--primary: #d9ebf9; --primary-hover: #cbe3f7; --primary-active: #bcdbf4; --on-primary: #17588a;
|
|
22
|
+
--primary-border: #7eb2dd; --primary-hover-border: #5f9dd0; --btn-hover-border: #8fbde3;
|
|
23
23
|
--hover: #f0f7fc; --active: #e6f1fa; --focus: #3f8fc4;
|
|
24
24
|
--ok: #15803d; --ok-bar: #22c55e; --ok-soft: #e8f7ee; --warn: #b45309; --warn-bar: #f59e0b; --warn-soft: #fdf3e2;
|
|
25
25
|
--fail: #c81e1e; --fail-bar: #ef4444; --fail-soft: #fdecec; --track: #e4edf4;
|
|
@@ -29,8 +29,8 @@ const LIGHT_TOKENS = `
|
|
|
29
29
|
const DARK_TOKENS = `
|
|
30
30
|
--bg: #0e1621; --surface: #141e2a; --surface-2: #111a25; --border: #233244; --border-strong: #30455b;
|
|
31
31
|
--text: #e6edf3; --muted: #9aa9b8; --faint: #6b7a8a; --accent: #8cc4ee; --accent-soft: #16314a;
|
|
32
|
-
--primary: #
|
|
33
|
-
--primary-border: #
|
|
32
|
+
--primary: #1a4366; --primary-hover: #20507a; --primary-active: #265c8a; --on-primary: #dcedfb;
|
|
33
|
+
--primary-border: #3d74a3; --primary-hover-border: #4f86b5; --btn-hover-border: #4a7fa8;
|
|
34
34
|
--hover: #182736; --active: #1c2f42; --focus: #5aa7dc;
|
|
35
35
|
--ok: #4ade80; --ok-bar: #22c55e; --ok-soft: #13291c; --warn: #fbbf24; --warn-bar: #f59e0b; --warn-soft: #2d2410;
|
|
36
36
|
--fail: #f87171; --fail-bar: #ef4444; --fail-soft: #331717; --track: #1f2c3a;
|
|
@@ -203,8 +203,10 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
|
|
|
203
203
|
.login-mark .ic { width: 13px; height: 13px; }
|
|
204
204
|
.login-detail { flex-direction: column; gap: 8px; }
|
|
205
205
|
.login-detail .rd-note { margin: 0; }
|
|
206
|
+
.login-detail > .rd-browser { flex-direction: row; align-items: center; gap: 14px; }
|
|
207
|
+
.login-detail > .rd-browser > .rd-label { flex: none; width: 68px; }
|
|
206
208
|
/* The directories share one set of columns (subgrid), so a wider cell in one line moves every line alike. */
|
|
207
|
-
.login-dirs { display: grid; grid-template-columns: minmax(120px, 1fr) auto var(--l-w) minmax(0, 1.4fr) auto auto auto; column-gap: 14px; border: 1px solid var(--border); border-radius: var(--ctl-radius); background: var(--surface); }
|
|
209
|
+
.login-dirs { display: grid; grid-template-columns: minmax(120px, 1fr) auto var(--l-w) minmax(0, 1.4fr) auto auto auto auto; column-gap: 14px; border: 1px solid var(--border); border-radius: var(--ctl-radius); background: var(--surface); }
|
|
208
210
|
.login-dir { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; padding: 6px 6px 6px 12px; }
|
|
209
211
|
.login-dir > * { justify-self: start; min-width: 0; }
|
|
210
212
|
.login-dir + .login-dir { border-top: 1px solid var(--border); }
|
|
@@ -243,12 +245,43 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
|
|
|
243
245
|
.row-toggle[aria-expanded=true] .chev { transform: rotate(90deg); }
|
|
244
246
|
.row-toggle[aria-expanded=true]:not(:hover) { background: transparent; color: var(--muted); }
|
|
245
247
|
.fold-hit:hover .row-toggle[aria-expanded=true] { background: var(--hover); color: var(--text); }
|
|
246
|
-
/* The details
|
|
247
|
-
|
|
248
|
+
/* The details under a row's name (a Same Login's after a dashed line). Their left edge is the name's: the open arrow (--ctl-h-sm,
|
|
249
|
+
less its 14px of negative margins), 10px, the 26px mark, 10px and the pin's 18px. */
|
|
250
|
+
.row-detail { grid-area: detail; display: flex; flex-wrap: wrap; gap: 10px 36px; margin: 10px 0 2px calc(var(--ctl-h-sm) + 50px); padding-top: 10px; border-top: 1px dashed var(--border); cursor: default; }
|
|
248
251
|
.rd-item { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
|
|
249
|
-
|
|
252
|
+
/* An open account's details sit in one bordered panel under the name: four cells side by side (how it runs, its web
|
|
253
|
+
sign-in, tokens, health), each a label above its value, with the same widths in every row. Without browser
|
|
254
|
+
sign-ins (rd-nobr) there are three. Medium and narrow widths make it two by two; phones put one detail on each line,
|
|
255
|
+
its label in front. */
|
|
256
|
+
.row-detail:not(.login-detail) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .7fr); grid-template-areas: "run br use hl"; gap: 0; align-items: stretch; margin-bottom: 4px; padding: 0; border: 1px solid var(--border); border-radius: var(--ctl-radius); background: var(--surface-2); }
|
|
257
|
+
.row-detail.rd-nobr:not(.login-detail) { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .7fr); grid-template-areas: "run use hl"; }
|
|
258
|
+
.row-detail:not(.login-detail) > .rd-item { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 10px 14px; }
|
|
259
|
+
.row-detail > .rd-run { grid-area: run; } .row-detail > .rd-browser { grid-area: br; }
|
|
260
|
+
.row-detail > .rd-usage { grid-area: use; } .row-detail > .rd-health { grid-area: hl; }
|
|
261
|
+
.row-detail:not(.login-detail) > .rd-item:not(.rd-run) { border-left: 1px solid var(--border); }
|
|
262
|
+
.row-detail .rd-val, .row-detail:not(.login-detail) .br-line { min-width: 0; min-height: 22px; display: flex; align-items: center; gap: 4px 10px; }
|
|
263
|
+
.row-detail:not(.login-detail) .br-line { flex-wrap: nowrap; }
|
|
264
|
+
.row-detail:not(.login-detail) .br-line > * { flex: none; }
|
|
265
|
+
/* A long email shortens itself rather than push "Change" out; its tooltip and the browser dialog have it whole. */
|
|
266
|
+
.row-detail:not(.login-detail) .br-btn { flex: 0 1 auto; }
|
|
267
|
+
.rd-none { color: var(--faint); }
|
|
268
|
+
.row-detail .usage { gap: 12px; }
|
|
269
|
+
.row-detail .u-text { flex-direction: row; align-items: baseline; gap: 8px; }
|
|
270
|
+
.row-detail .spark { height: 18px; }
|
|
271
|
+
:where(:root[data-width=medium], :root[data-width=narrow]) .row-detail:not(.login-detail) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "run br" "use hl"; }
|
|
272
|
+
:where(:root[data-width=medium], :root[data-width=narrow]) .row-detail.rd-nobr:not(.login-detail) { grid-template-areas: "run run" "use hl"; }
|
|
273
|
+
:where(:root[data-width=medium], :root[data-width=narrow]) .row-detail:not(.login-detail) > :is(.rd-usage, .rd-health) { border-top: 1px solid var(--border); }
|
|
274
|
+
:where(:root[data-width=medium], :root[data-width=narrow]) .row-detail:not(.login-detail) > .rd-usage { border-left: 0; }
|
|
275
|
+
:where(:root[data-width=phone]) .row-detail:not(.login-detail) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "run" "br" "use" "hl"; }
|
|
276
|
+
:where(:root[data-width=phone]) .row-detail.rd-nobr:not(.login-detail) { grid-template-areas: "run" "use" "hl"; }
|
|
277
|
+
:where(:root[data-width=phone]) .row-detail:not(.login-detail) > .rd-item { flex-direction: row; align-items: center; gap: 12px; padding: 8px 12px; }
|
|
278
|
+
:where(:root[data-width=phone]) .row-detail:not(.login-detail) > .rd-item:not(.rd-run) { border-left: 0; border-top: 1px solid var(--border); }
|
|
279
|
+
:where(:root[data-width=phone]) .row-detail:not(.login-detail) > .rd-item > .rd-label { flex: none; width: 96px; }
|
|
280
|
+
:where(:root[data-width=phone]) .row-detail:not(.login-detail) > .rd-item > :not(.rd-label) { flex: 1; }
|
|
281
|
+
:where(:root[data-width=phone]) .row-detail:not(.login-detail) .br-line { flex-wrap: wrap; }
|
|
282
|
+
:where(:root[data-width=phone]) .row-detail:not(.login-detail) .usage { flex-wrap: wrap; row-gap: 2px; }
|
|
283
|
+
.rd-label { color: var(--faint); font-size: 11.5px; font-weight: var(--strong-weight); white-space: nowrap; }
|
|
250
284
|
.rd-note { color: var(--muted); font-size: 12px; }
|
|
251
|
-
.rows .row-detail .usage { justify-content: flex-start; gap: 16px; }
|
|
252
285
|
.row-detail .ident-sub { margin-top: 0; }
|
|
253
286
|
.att-dot { flex: none; }
|
|
254
287
|
.col-head { position: sticky; top: 0; z-index: 2; padding: 7px 10px 7px 16px; border-top: 1px solid var(--border); background: var(--surface); color: var(--faint); font-size: 11.5px; font-weight: var(--strong-weight); line-height: 1.3; white-space: nowrap; }
|
|
@@ -267,15 +300,18 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
|
|
|
267
300
|
.model-btn:focus-visible { outline: var(--focus-outline); outline-offset: 2px; }
|
|
268
301
|
.model-set { color: var(--accent); }
|
|
269
302
|
.md-now { display: flex; flex-direction: column; gap: 4px; }
|
|
303
|
+
.br-line { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; min-width: 0; }
|
|
304
|
+
.br-acts { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
|
|
270
305
|
.br-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
|
|
271
306
|
.br-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--ctl-radius); }
|
|
272
307
|
.email-btn:hover { color: var(--text); text-decoration: underline dotted; }
|
|
273
308
|
/* A button is laid out as one box, so the parent's ellipsis does not reach its text: it ends its own. */
|
|
274
309
|
.ident-email .email-btn { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
|
|
275
310
|
.email-btn:focus-visible { outline: var(--focus-outline); outline-offset: 2px; }
|
|
276
|
-
.br-btn { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; max-width: 100%; }
|
|
311
|
+
.br-btn { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; max-width: 100%; min-width: 0; }
|
|
312
|
+
/* A long browser user shortens itself; the button's tooltip and the browser dialog have it whole. */
|
|
313
|
+
.br-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
277
314
|
.br-btn:hover { color: var(--text); text-decoration: underline dotted; }
|
|
278
|
-
.card > .rd-browser { flex-direction: row; align-items: center; gap: 8px; }
|
|
279
315
|
.br-ico { width: 12px; height: 12px; flex: none; }
|
|
280
316
|
.ident-email + .ident-sub { color: var(--faint); margin-top: 0; }
|
|
281
317
|
.tools .tb-icon { width: var(--ctl-h); height: var(--ctl-h); border-color: var(--border-strong); background: var(--surface); }
|
|
@@ -296,6 +332,8 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
|
|
|
296
332
|
.row-run { width: 28px; height: 28px; color: var(--muted); }
|
|
297
333
|
.row-run .ic { width: 15px; height: 15px; }
|
|
298
334
|
.row-run:hover { color: var(--accent); }
|
|
335
|
+
.row-run.is-off, .row-run.is-off:hover { color: var(--faint); background: transparent; cursor: not-allowed; }
|
|
336
|
+
.row-desk.is-open { color: var(--accent); }
|
|
299
337
|
.card-head > .row-end { display: flex; align-items: center; gap: 2px; margin-left: auto; }
|
|
300
338
|
/* A pinned row's mark (spec §3.25, §3.27): a small muted outline pin right before the name, not a button. */
|
|
301
339
|
.pin-mark { display: inline-flex; flex: none; margin-right: -2px; color: var(--faint); }
|
|
@@ -327,9 +365,9 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
|
|
|
327
365
|
.lvl-warn .bar > span { background: var(--warn-bar); } .lvl-warn .m-pct { color: var(--warn); }
|
|
328
366
|
.lvl-fail .bar > span { background: var(--fail-bar); } .lvl-fail .m-pct { color: var(--fail); }
|
|
329
367
|
.lvl-reset .m-pct { color: var(--muted); }
|
|
330
|
-
/* Old numbers keep their level's color, paler, so the bar and the number agree. */
|
|
331
368
|
.q-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: var(--small); }
|
|
332
369
|
.link-btn { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: var(--strong-weight); cursor: pointer; }
|
|
370
|
+
.link-btn.small { font-size: var(--small); }
|
|
333
371
|
.link-btn:hover:not(:disabled) { text-decoration: underline; }
|
|
334
372
|
.link-btn:disabled { color: var(--faint); cursor: not-allowed; }
|
|
335
373
|
.foot .link-btn { color: inherit; font-weight: inherit; }
|
|
@@ -407,17 +445,50 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
|
|
|
407
445
|
.title-logo { display: flex; align-items: center; gap: 9px; min-width: 0; }
|
|
408
446
|
|
|
409
447
|
/* Cards view */
|
|
410
|
-
|
|
448
|
+
/* Cards in a row share one height, so their foot lines and buttons line up; the foot sits at the bottom. */
|
|
449
|
+
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
|
|
411
450
|
.panel, .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
|
|
412
451
|
.panel { padding: 18px; }
|
|
413
|
-
|
|
452
|
+
/* A card (spec §3.27, 2026-10-20): one left edge for everything. The head is the mark, the name and the menu; under it
|
|
453
|
+
who it is and when it was last used, how it runs, its quota (label and percent, bar, reset, one under the other, so
|
|
454
|
+
two windows line up), its Chrome sign-in as one line, and a foot with tokens and the row's own buttons. */
|
|
455
|
+
.card { padding: 18px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
|
|
456
|
+
.m-short { display: none; }
|
|
457
|
+
.card .m-full { display: none; } .card .m-short { display: inline; }
|
|
458
|
+
/* Who and how it runs are one quiet block under the name; the run line is small, as it is reference only. */
|
|
459
|
+
.card .ident-sub { font-size: 11.5px; color: var(--faint); }
|
|
414
460
|
.card-error { border-color: var(--fail); }
|
|
415
|
-
.card-head { display: flex; align-items:
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
.card .
|
|
419
|
-
.card-
|
|
420
|
-
|
|
461
|
+
.card-head { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; }
|
|
462
|
+
/* A card's pin is a small badge on the corner of its mark, so it belongs to the account and the name keeps its place
|
|
463
|
+
on every card, pinned or not. Unpinned, it shows only while the card is hovered, as a way to pin it. */
|
|
464
|
+
.card-head .pin-slot, .card-head .pin-mark { position: absolute; left: 17px; top: -6px; z-index: 1; display: inline-grid; place-items: center; width: 16px; height: 16px; margin: 0; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1px var(--border-strong); color: var(--muted); }
|
|
465
|
+
.card-head .pin-slot .ic, .card-head .pin-mark .ic { width: 11px; height: 11px; }
|
|
466
|
+
/* Pinned reads as on: the accent, on its soft tint. */
|
|
467
|
+
.card-head .pin-slot.is-on, .card-head .pin-mark { color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 55%, var(--surface)); }
|
|
468
|
+
.card-head .pin-slot:hover, .card-head .pin-slot:focus-visible { background: var(--accent-soft); color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
|
|
469
|
+
.card-head > .ident-name { flex: 1; min-width: 0; flex-wrap: nowrap; }
|
|
470
|
+
.card-head > .row-end { margin-left: auto; }
|
|
471
|
+
.card-id { display: flex; flex-direction: column; gap: 3px; margin-top: -8px; min-width: 0; }
|
|
472
|
+
/* A Same Login card names its other directories under who it is. */
|
|
473
|
+
.card-dirs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 3px; color: var(--muted); font-size: 12px; }
|
|
474
|
+
.card-dirs .tag-dir { gap: 6px; color: var(--text); }
|
|
475
|
+
.card-dirs .tag-dir .alias { color: var(--muted); font-family: var(--mono); font-weight: 400; }
|
|
476
|
+
.card .last-inline { display: flex; flex: none; gap: 6px; color: var(--muted); font-size: 12px; white-space: nowrap; margin-top: 1px; }
|
|
477
|
+
.card .last-inline::before { content: "·"; color: var(--faint); }
|
|
478
|
+
.card .quota { gap: 12px 24px; }
|
|
479
|
+
.card .meter { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 6px; row-gap: 5px; }
|
|
480
|
+
.card .m-top { display: contents; }
|
|
481
|
+
.card .m-label { grid-area: 1 / 1; white-space: nowrap; }
|
|
482
|
+
.card .m-pct { grid-area: 1 / 2; white-space: nowrap; }
|
|
483
|
+
.card .bar { grid-area: 2 / 1 / 3 / 3; height: 6px; }
|
|
484
|
+
.card .m-reset { grid-area: 3 / 1 / 4 / 3; margin-left: 0; }
|
|
485
|
+
.card .m-none { grid-area: 1 / 2; }
|
|
486
|
+
.card-br { display: flex; align-items: center; gap: 8px; min-width: 0; }
|
|
487
|
+
.card-br > .br-btn { flex: 0 1 auto; color: var(--accent); }
|
|
488
|
+
.card-br > :not(.br-btn) { flex: none; }
|
|
489
|
+
.br-none { display: inline-flex; align-items: center; gap: 4px; color: var(--faint); font-size: 12px; }
|
|
490
|
+
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--border); padding-top: 14px; margin-top: auto; min-width: 0; }
|
|
491
|
+
.card-side { display: flex; align-items: center; gap: 2px; flex: none; }
|
|
421
492
|
.card .row-notes { margin: 0; }
|
|
422
493
|
|
|
423
494
|
/* Buttons: .btn is the secondary (outlined) variant; .btn-primary is the one main action of a block; .btn-ghost is a
|
|
@@ -456,6 +527,7 @@ a.btn:hover { text-decoration: none; }
|
|
|
456
527
|
/* Notes and banners */
|
|
457
528
|
.note { background: var(--surface-2); border-radius: calc(var(--radius) - 6px); padding: 8px 11px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
|
|
458
529
|
.note b { color: inherit; }
|
|
530
|
+
.note-read .read-why { overflow-wrap: anywhere; }
|
|
459
531
|
.note-fail { background: var(--fail-soft); color: var(--fail); }
|
|
460
532
|
.note-warn { background: var(--warn-soft); color: var(--warn); }
|
|
461
533
|
/* A note in two lines: what is wrong, then the command to run (with its copy button and the install page). */
|
|
@@ -483,6 +555,54 @@ a.btn:hover { text-decoration: none; }
|
|
|
483
555
|
.hp-rows li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 8px 0; border-bottom: 1px solid var(--border); }
|
|
484
556
|
.hp-rows li:last-child { border-bottom: 0; }
|
|
485
557
|
#handoff-page > * + * { margin-top: 12px; }
|
|
558
|
+
/* Sessions page (spec §3.32): one row per Live Session; a Session that needs the user gets the warning tint. */
|
|
559
|
+
#sessions-page > * + * { margin-top: 12px; }
|
|
560
|
+
.sess-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 11px 10px 11px 16px; border-top: 1px solid var(--border); transition: background-color .15s; }
|
|
561
|
+
.sess-row:first-child { border-top: 0; border-radius: var(--radius) var(--radius) 0 0; }
|
|
562
|
+
.sess-row:last-child { border-radius: 0 0 var(--radius) var(--radius); }
|
|
563
|
+
.sess-row:only-child { border-radius: var(--radius); }
|
|
564
|
+
.sess-needs-you { background: var(--warn-soft); }
|
|
565
|
+
.sess-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
|
|
566
|
+
.sess-label { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
|
|
567
|
+
.sess-label > * { flex: none; }
|
|
568
|
+
.sess-title { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
569
|
+
.sess-id { color: var(--muted); }
|
|
570
|
+
.sess-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; min-width: 0; }
|
|
571
|
+
.sess-status { display: inline-flex; align-items: center; gap: 6px; }
|
|
572
|
+
.sess-needs-you .sess-status { color: var(--warn); font-weight: var(--strong-weight); }
|
|
573
|
+
.sess-needs-you .sess-dot { background: var(--warn-bar); box-shadow: 0 0 0 3px color-mix(in srgb, var(--warn-bar) 25%, transparent); }
|
|
574
|
+
.sess-busy .sess-dot { background: var(--ok-bar); animation: pulse 1.4s ease-in-out infinite; }
|
|
575
|
+
.sess-unknown .sess-dot { background: transparent; border: 1px solid var(--faint); }
|
|
576
|
+
.sess-cwd { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
577
|
+
.sess-guessed { cursor: help; }
|
|
578
|
+
.sess-run { flex: 0 1 auto; min-width: 0; max-width: 24em; }
|
|
579
|
+
.sess-run-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
580
|
+
.sess-run-more { flex: none; font-weight: var(--strong-weight); }
|
|
581
|
+
.sess-age { white-space: nowrap; }
|
|
582
|
+
.sess-actions { display: flex; align-items: center; gap: 4px; }
|
|
583
|
+
.sess-copy { min-width: 8.5em; justify-content: center; transition: background-color .15s, border-color .15s, color .15s; }
|
|
584
|
+
.sess-copy.is-copied { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
|
|
585
|
+
.sess-copy .ic { width: 14px; height: 14px; }
|
|
586
|
+
.sess-copy-text { display: block; width: 100%; box-sizing: border-box; margin-top: 8px; padding: 8px; border: 1px solid var(--border); border-radius: var(--ctl-radius); background: var(--surface-2); color: var(--text); resize: none; }
|
|
587
|
+
.pop-sess-copy { width: min(440px, calc(100vw - 16px)); }
|
|
588
|
+
.sess-send .ic { width: 14px; height: 14px; }
|
|
589
|
+
.sess-msg { flex: none; animation: chip-in .18s ease-out; }
|
|
590
|
+
.sess-msg-paste { display: inline-flex; align-items: center; gap: 2px; border: 0; font: inherit; cursor: pointer; }
|
|
591
|
+
.sess-msg-paste .ic { width: 11px; height: 11px; transform: rotate(90deg); }
|
|
592
|
+
.sess-msg-paste:hover { filter: brightness(.96); }
|
|
593
|
+
@keyframes chip-in { from { opacity: 0; } to { opacity: 1; } }
|
|
594
|
+
.sess-row.flash { animation: flash-row 2.4s ease-out; }
|
|
595
|
+
/* Wide enough for every label it shows, so it keeps its size while sending. */
|
|
596
|
+
.seg-badge { display: inline-grid; place-items: center; min-width: 16px; height: 16px; margin-left: 6px; padding: 0 4px; border-radius: 8px; background: var(--warn-soft); color: var(--warn); font-size: 11px; font-weight: 600; line-height: 1; animation: chip-in .18s ease-out; }
|
|
597
|
+
.send-go { min-width: 8.5em; justify-content: center; }
|
|
598
|
+
.popover.pop-sess-paste { width: min(420px, calc(100vw - 24px)); }
|
|
599
|
+
.pop-actions { display: flex; justify-content: flex-end; }
|
|
600
|
+
/* "Send to it" (spec §3.32 step 2): the result and the line the user pastes into the target. */
|
|
601
|
+
.note-ok { background: var(--ok-soft); color: var(--ok); }
|
|
602
|
+
.note-ok .ic { flex: none; width: 16px; height: 16px; }
|
|
603
|
+
.send-line { display: grid; gap: 8px; padding: 10px; border: 1px solid var(--border); border-radius: var(--ctl-radius); background: var(--surface-2); }
|
|
604
|
+
.send-line-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; color: var(--text); }
|
|
605
|
+
.send-line-actions { display: flex; flex-wrap: wrap; gap: 8px; }
|
|
486
606
|
.ah-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
|
|
487
607
|
.tune-model { border: 1px solid var(--border); border-radius: calc(var(--radius) - 4px); padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
|
|
488
608
|
.tune-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
|
|
@@ -549,12 +669,13 @@ textarea::placeholder { color: var(--faint); }
|
|
|
549
669
|
.ask-files-wrap:empty { display: none; }
|
|
550
670
|
.ask-files { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
|
|
551
671
|
.ask-file { position: relative; display: grid; gap: 2px; width: 104px; padding: 4px; border: 1px solid var(--border); border-radius: var(--ctl-radius); background: var(--surface); }
|
|
552
|
-
.ask-file.is-error { border-color: var(--fail); }
|
|
672
|
+
.ask-file.is-error { border-color: var(--fail); } .ask-file.is-error .ask-file-face { color: var(--fail); }
|
|
553
673
|
.ask-file-img, .ask-file-face { width: 94px; height: 64px; border-radius: calc(var(--ctl-radius) - 2px); }
|
|
554
674
|
.ask-file-img { object-fit: cover; display: block; }
|
|
555
675
|
.ask-file-face { display: grid; place-items: center; align-content: center; gap: 2px; background: var(--surface-2); color: var(--muted); }
|
|
556
676
|
.ask-file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
557
677
|
.ask-file-x { position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; background: var(--surface); }
|
|
678
|
+
.ask-file-retry { position: absolute; top: 2px; right: 26px; width: 22px; height: 22px; background: var(--surface); }
|
|
558
679
|
.dialog.drop-on { outline: 2px dashed var(--focus); outline-offset: -6px; }
|
|
559
680
|
.ask-pick {display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
|
|
560
681
|
.ask-setup .link-btn { display: inline-flex; align-items: center; gap: 6px; }
|
|
@@ -586,6 +707,8 @@ select:is(:hover, :focus) { --chevron: var(--text); }
|
|
|
586
707
|
.app-row:first-child { border-top: 0; }
|
|
587
708
|
.app-row > .ident { flex: 1; }
|
|
588
709
|
.app-actions { flex: none; justify-content: flex-end; }
|
|
710
|
+
/* The open arrow of an account row is --ctl-h-sm wide less its 14px of negative margins. */
|
|
711
|
+
.app-gap { flex: none; width: calc(var(--ctl-h-sm) - 14px); }
|
|
589
712
|
.app-foot { display: flex; flex-direction: column; gap: 6px; padding: 10px 16px 12px; border-top: 1px solid var(--border); }
|
|
590
713
|
.app-foot > .btn { align-self: flex-start; }
|
|
591
714
|
.app-new { display: flex; gap: 8px; align-items: center; max-width: 420px; }
|
|
@@ -613,7 +736,7 @@ select:is(:hover, :focus) { --chevron: var(--text); }
|
|
|
613
736
|
|
|
614
737
|
/* Dialog */
|
|
615
738
|
.dialog { padding: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 48px); box-shadow: var(--float-shadow); }
|
|
616
|
-
.dialog[open] { display: flex;
|
|
739
|
+
.dialog[open] { display: flex; }
|
|
617
740
|
.dialog::backdrop { background: rgba(10, 12, 16, .4); }
|
|
618
741
|
.dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 4px; }
|
|
619
742
|
.dlg-head h2 { font-size: var(--large); }
|
|
@@ -630,6 +753,13 @@ select:is(:hover, :focus) { --chevron: var(--text); }
|
|
|
630
753
|
/* The hint gives way first: it shrinks to an ellipsis so a long label never pushes it past the menu's edge. */
|
|
631
754
|
.menu-hint { min-width: 0; margin-left: auto; padding-left: 12px; color: var(--faint); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
632
755
|
.menu-sep { height: 1px; margin: 4px 6px; background: var(--border); }
|
|
756
|
+
.menu-sub > .ic:last-child { margin-left: 6px; color: var(--faint); }
|
|
757
|
+
.menu-sub > .menu-label + .ic:last-child { margin-left: auto; }
|
|
758
|
+
/* A menu that scrolls fades at the edge that has more: a strip that stays at that edge inside the scroll, so the menu
|
|
759
|
+
keeps its border and shadow. */
|
|
760
|
+
.menu.more-above::before, .menu.more-below::after { content: ""; position: sticky; display: block; height: 24px; margin: 0 -4px; pointer-events: none; z-index: 1; }
|
|
761
|
+
.menu.more-above::before { top: -4px; margin-bottom: -24px; background: linear-gradient(var(--surface), transparent); }
|
|
762
|
+
.menu.more-below::after { bottom: -4px; margin-top: -24px; background: linear-gradient(transparent, var(--surface)); }
|
|
633
763
|
/* Popover: the menu's floating box with free content (text, a few buttons), lighter than a dialog. */
|
|
634
764
|
.popover { width: 280px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
|
|
635
765
|
.popover p { margin: 0; }
|
|
@@ -654,13 +784,43 @@ select:is(:hover, :focus) { --chevron: var(--text); }
|
|
|
654
784
|
.set-group-title { color: var(--faint); font-size: 11px; font-weight: var(--strong-weight); letter-spacing: .02em; }
|
|
655
785
|
.popover .set-sep { margin: 0 -14px; }
|
|
656
786
|
.set-hint .link-btn { font-size: 12px; }
|
|
787
|
+
.set-help { margin: 6px 0 0; padding-left: 16px; display: grid; gap: 3px; }
|
|
788
|
+
.note-fail-text { color: var(--fail); }
|
|
789
|
+
.hk-field { flex: none; display: flex; align-items: center; gap: 10px; }
|
|
790
|
+
.hk-select { flex: none; width: auto; min-width: 150px; }
|
|
791
|
+
.hk-custom { display: flex; justify-content: flex-end; margin-top: 8px; }
|
|
792
|
+
.note-warn-line { display: block; margin-top: 4px; color: var(--warn); }
|
|
793
|
+
.hk-rec { min-width: 140px; padding: 6px 12px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); color: var(--text); font: 13px/18px var(--mono); text-align: center; cursor: pointer; }
|
|
794
|
+
.hk-rec:hover:not(:disabled) { border-color: var(--accent); }
|
|
795
|
+
.hk-rec:focus-visible { outline: var(--focus-outline); outline-offset: 2px; }
|
|
796
|
+
.hk-rec.unset { color: var(--faint); font-family: var(--font); }
|
|
797
|
+
.hk-rec.recording { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent); font-family: var(--font); }
|
|
798
|
+
.hk-rec.taken { border-color: var(--fail); color: var(--fail); }
|
|
799
|
+
.mb-help-title { margin: 16px 0 4px; font-size: 13px; font-weight: var(--strong-weight); }
|
|
800
|
+
.as-details { margin-top: 8px; }
|
|
801
|
+
.as-details summary { color: var(--muted); font-size: 12px; cursor: pointer; }
|
|
802
|
+
.as-details[open] summary { margin-bottom: 6px; }
|
|
657
803
|
/* "More settings…" stays at the bottom of a popover that scrolls. */
|
|
658
|
-
.set-more {
|
|
659
|
-
.set-more:hover { background: var(--hover); }
|
|
804
|
+
.set-more { margin: 4px -14px -12px; width: calc(100% + 28px); height: 40px; padding: 0 16px 0 17px; border-top: 1px solid var(--border); border-radius: 0 0 var(--radius) var(--radius); }
|
|
660
805
|
.set-more .ic { margin-left: auto; }
|
|
661
|
-
|
|
806
|
+
/* The settings dialog: the sections in a list at the side, one section at a time beside it (spec §3.29). */
|
|
807
|
+
.dialog.dialog-wide { width: min(760px, calc(100vw - 24px)); }
|
|
808
|
+
.set-dialog { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 0 24px; min-height: 380px; }
|
|
809
|
+
.set-nav { display: flex; flex-direction: column; gap: 2px; padding-right: 16px; border-right: 1px solid var(--border); }
|
|
810
|
+
.set-tab { all: unset; box-sizing: border-box; display: flex; align-items: center; min-height: 32px; padding: 6px 10px; border-radius: var(--ctl-radius); color: var(--muted); font-size: 13px; cursor: pointer; }
|
|
811
|
+
.set-tab:hover { background: var(--hover); color: var(--text); }
|
|
812
|
+
.set-tab[aria-selected=true] { background: var(--hover); color: var(--text); font-weight: var(--strong-weight); }
|
|
813
|
+
.set-tab:focus-visible { outline: var(--focus-outline); outline-offset: 1px; }
|
|
814
|
+
.set-pane { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
|
|
815
|
+
.set-pane-title { margin: 4px 0 0; font-size: 15px; font-weight: var(--strong-weight); }
|
|
816
|
+
.set-foot { margin: -6px 0 4px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
|
|
662
817
|
.set-dialog .set-hint { max-width: none; }
|
|
663
818
|
.set-dialog .set-link { margin: 0 -10px; width: calc(100% + 20px); }
|
|
819
|
+
:where(:root[data-width=narrow], :root[data-width=phone]) {
|
|
820
|
+
.set-dialog { grid-template-columns: minmax(0, 1fr); gap: 14px; min-height: 0; }
|
|
821
|
+
.set-nav { flex-direction: row; overflow-x: auto; padding: 0 0 8px; border-right: 0; border-bottom: 1px solid var(--border); }
|
|
822
|
+
.set-tab { flex: none; white-space: nowrap; }
|
|
823
|
+
}
|
|
664
824
|
.as-code { display: block; margin: -4px 0 4px; padding: 8px 10px; border-radius: var(--ctl-radius); background: var(--hover); font-family: var(--mono); font-size: 12px; overflow-wrap: anywhere; }
|
|
665
825
|
.set-dot { background: var(--warn-bar); }
|
|
666
826
|
.tip { display: inline-flex; position: relative; vertical-align: middle; }
|
|
@@ -668,11 +828,11 @@ select:is(:hover, :focus) { --chevron: var(--text); }
|
|
|
668
828
|
.tip-btn:hover, .tip.is-open .tip-btn { color: var(--text); border-color: var(--muted); }
|
|
669
829
|
.tip-btn:focus-visible { outline: var(--focus-outline); outline-offset: 2px; }
|
|
670
830
|
.tip-body { display: none; position: fixed; z-index: 60; width: max-content; max-width: min(280px, calc(100vw - 16px)); padding: 7px 10px; border-radius: 7px; background: var(--text); color: var(--bg); font-size: 12px; font-weight: 400; line-height: 1.45; letter-spacing: 0; box-shadow: var(--float-shadow); pointer-events: none; text-align: left; white-space: normal; }
|
|
671
|
-
.tip.is-open .tip-body { display: block; }
|
|
672
|
-
.toasts { position: fixed; inset: auto auto 20px 50%; margin: 0; padding: 0; border: 0; background: none; color: inherit; overflow: visible; transform: translateX(-50%); z-index: 50; display: flex; flex-direction: column; align-items:
|
|
831
|
+
.tip.is-open .tip-body, .tip-float.is-shown { display: block; }
|
|
832
|
+
.toasts { position: fixed; inset: auto auto 20px 50%; margin: 0; padding: 0; border: 0; background: none; color: inherit; overflow: visible; transform: translateX(-50%); z-index: 50; display: flex; flex-direction: column; align-items: stretch; gap: 8px; width: max-content; max-width: calc(100vw - 24px); pointer-events: none; }
|
|
673
833
|
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; max-width: min(460px, calc(100vw - 24px)); min-height: 40px; padding: 6px 6px 6px 14px; border-radius: calc(var(--ctl-radius) + 2px); background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: var(--float-shadow); font-size: 13px; animation: toast-in .18s ease-out; }
|
|
674
834
|
.toast-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--ok); }
|
|
675
|
-
.toast-fail .toast-dot { background: var(--fail); } .toast-plain .toast-dot { background: var(--faint); } .toast-info .toast-dot { background: var(--warn); }
|
|
835
|
+
.toast-fail .toast-dot { background: var(--fail); } .toast-accent .toast-dot { background: var(--accent); } .toast-plain .toast-dot { background: var(--faint); } .toast-info .toast-dot { background: var(--warn); }
|
|
676
836
|
.toast-text { min-width: 0; overflow-wrap: anywhere; }
|
|
677
837
|
.toast-action { flex: none; height: 28px; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: var(--ctl-radius); background: var(--surface); color: var(--text); font: inherit; font-weight: var(--button-weight); cursor: pointer; }
|
|
678
838
|
.toast-action:hover { background: var(--hover); }
|
|
@@ -687,6 +847,8 @@ select:is(:hover, :focus) { --chevron: var(--text); }
|
|
|
687
847
|
/* Empty, loading and filtered states */
|
|
688
848
|
.empty { text-align: center; padding: 36px 20px; background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; gap: 12px; }
|
|
689
849
|
.empty-sm { padding: 28px 20px; }
|
|
850
|
+
/* The empty state is a block of its own, apart from what follows it (Grok Bot windows). */
|
|
851
|
+
#accounts > .empty { margin-bottom: 12px; }
|
|
690
852
|
.empty-fail { border-color: var(--fail); border-style: solid; background: var(--fail-soft); color: var(--fail); }
|
|
691
853
|
.empty h3 { font-size: 17px; font-weight: var(--heading-weight); }
|
|
692
854
|
.empty p { max-width: 520px; overflow-wrap: anywhere; }
|
|
@@ -705,6 +867,20 @@ select:is(:hover, :focus) { --chevron: var(--text); }
|
|
|
705
867
|
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
|
|
706
868
|
.view-in > * { animation: view-in .22s ease-out both; }
|
|
707
869
|
@keyframes view-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
|
|
870
|
+
/* Menus, popovers and dialogs ease in and out instead of appearing at once; a row that appears inside one grows in. */
|
|
871
|
+
.menu { animation: float-in .14s cubic-bezier(.2, .8, .2, 1); transform-origin: top right; }
|
|
872
|
+
.menu.float-out { animation: float-out .12s ease-in forwards; }
|
|
873
|
+
@keyframes float-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
|
|
874
|
+
@keyframes float-out { to { opacity: 0; transform: translateY(-2px) scale(.99); } }
|
|
875
|
+
.dialog[open] { animation: dialog-in .18s cubic-bezier(.2, .8, .2, 1); }
|
|
876
|
+
.dialog[open]::backdrop { animation: backdrop-in .18s ease-out; }
|
|
877
|
+
@keyframes dialog-in { from { opacity: 0; transform: translateY(6px) scale(.985); } }
|
|
878
|
+
@keyframes backdrop-in { from { opacity: 0; } }
|
|
879
|
+
.enter { animation: grow-in .2s ease-out backwards; overflow: hidden; }
|
|
880
|
+
/* Many rows arriving at once (a page more, a renewal) fade in together instead of each growing in turn. */
|
|
881
|
+
.fade-in { animation: fade-in .16s ease-out backwards; }
|
|
882
|
+
@keyframes fade-in { from { opacity: 0; } }
|
|
883
|
+
@keyframes grow-in { from { opacity: 0; max-height: 0; } to { opacity: 1; max-height: 160px; } }
|
|
708
884
|
.row.flash { animation: flash-row 2.4s ease-out; }
|
|
709
885
|
.card.flash { animation: flash-card 2.4s ease-out; }
|
|
710
886
|
@keyframes flash-row { from { background: var(--accent-soft); } to { background: transparent; } }
|
|
@@ -765,6 +941,9 @@ select:is(:hover, :focus) { --chevron: var(--text); }
|
|
|
765
941
|
.row > .last { display: block; justify-self: end; }
|
|
766
942
|
.last-inline { display: none; }
|
|
767
943
|
.row > .row-end { align-self: center; margin-top: 0; }
|
|
944
|
+
/* A phone keeps only the menu at a row's end, so the name and email keep their room; opening the desktop app and
|
|
945
|
+
copying the start command are the first items of that menu. */
|
|
946
|
+
.row > .row-end > .row-run { display: none; }
|
|
768
947
|
#accounts { --col-gap: 14px; }
|
|
769
948
|
/* One window per line, so the reset time is never cut off. */
|
|
770
949
|
.row > .quota { grid-template-columns: 1fr; row-gap: 10px; max-width: none; }
|
|
@@ -773,12 +952,15 @@ select:is(:hover, :focus) { --chevron: var(--text); }
|
|
|
773
952
|
.stat:nth-child(n) { border-top: 0; }
|
|
774
953
|
.stat:nth-child(4) { border-left: 1px solid var(--border); }
|
|
775
954
|
.row-end .icon-btn { width: 36px; height: 36px; }
|
|
955
|
+
.sess-row { grid-template-columns: auto minmax(0, 1fr); row-gap: 10px; }
|
|
956
|
+
.sess-actions { grid-column: 2; }
|
|
776
957
|
.login-dirs { grid-template-columns: minmax(0, 1fr); }
|
|
777
958
|
.login-dir { grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 14px; row-gap: 6px; }
|
|
778
959
|
.login-dir .usage, .login-dir .health { display: none; }
|
|
960
|
+
.login-dir .ld-other { grid-column: 1 / -1; order: 1; }
|
|
779
961
|
.grid { grid-template-columns: 1fr; }
|
|
780
962
|
.panel { padding: 14px; }
|
|
781
|
-
.dlg-head { padding: 14px 14px 2px; } .dlg-body { padding: 10px 14px 14px; } .dlg-foot { padding: 10px 14px; }
|
|
963
|
+
.dlg-head { padding: 14px 14px 2px; } .dlg-body { padding: 10px 14px 14px; } .dlg-foot { padding: 10px 14px; flex-wrap: wrap; }
|
|
782
964
|
}
|
|
783
965
|
/* A change of layout band runs as a short View Transition (page-script.ts followWidth): each block below moves and
|
|
784
966
|
resizes to its new place while its old and new look cross-fade; the rest of the page cross-fades as one. Same
|
|
@@ -788,8 +970,198 @@ select:is(:hover, :focus) { --chevron: var(--text); }
|
|
|
788
970
|
grows or shrinks on the way. */
|
|
789
971
|
::view-transition-old(*), ::view-transition-new(*) { animation-duration: .26s; height: 100%; object-fit: none; object-position: left top; }
|
|
790
972
|
.vt-width :is(.top-in, .summary, .stat, .section-head, .toolbar, .group-list, .group-head, .row) { view-transition-name: match-element; }
|
|
973
|
+
/* Session History (spec §3.33): the toolbar, then the projects on the left and the sessions on the right. The list
|
|
974
|
+
keeps the projects in view while it scrolls; at narrow widths the projects become one
|
|
975
|
+
scrolling row above the list (the narrow and phone widths). */
|
|
976
|
+
.sess-mode { flex: none; }
|
|
977
|
+
.hist-bar { align-items: center; }
|
|
978
|
+
.hist-search { flex: 1 1 240px; }
|
|
979
|
+
.hist-checks { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
|
|
980
|
+
.hist-display { margin-left: auto; }
|
|
981
|
+
.pop-hist-display { width: 240px; }
|
|
982
|
+
.hist-opts { display: flex; flex-direction: column; gap: 1px; margin: 0 -6px; }
|
|
983
|
+
.hist-opt { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px; border: 0; border-radius: var(--ctl-radius); background: transparent; color: var(--text); font: inherit; font-size: var(--small); text-align: left; cursor: pointer; transition: background-color .12s; }
|
|
984
|
+
.hist-opt:hover { background: var(--hover); }
|
|
985
|
+
.hist-opt[aria-pressed=true] { font-weight: var(--strong-weight); }
|
|
986
|
+
.hist-opt:focus-visible { outline: var(--focus-outline); outline-offset: 1px; box-shadow: var(--focus-ring); }
|
|
987
|
+
.hist-opt-ck { flex: none; display: inline-flex; width: 14px; color: var(--accent); }
|
|
988
|
+
.hist-opt-ck .ic { width: 14px; height: 14px; }
|
|
989
|
+
.hist-group { display: flex; flex-direction: column; gap: 4px; }
|
|
990
|
+
.hist-group + .hist-group { margin-top: 10px; }
|
|
991
|
+
.hist-group.is-folded + .hist-group.is-folded { margin-top: 0; }
|
|
992
|
+
.hist-ghead { display: flex; align-items: center; min-width: 0; }
|
|
993
|
+
.hist-gtoggle { max-width: 100%; padding: 3px 8px 3px 2px; font-size: var(--small); font-weight: var(--strong-weight); }
|
|
994
|
+
.hist-gtitle { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
995
|
+
.hist-gtoggle .spin { width: 12px; height: 12px; }
|
|
996
|
+
.hist-catgrp { display: flex; flex-direction: column; margin-top: 6px; }
|
|
997
|
+
.hist-cathead { position: relative; display: flex; align-items: center; min-width: 0; }
|
|
998
|
+
.hist-cathead > .hist-proj, .hist-cathead > .hist-cat-none { padding-left: 24px; }
|
|
999
|
+
.hist-catfold { position: absolute; left: 2px; top: 50%; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-top: -10px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--faint); cursor: pointer; transition: background-color .12s, color .12s; }
|
|
1000
|
+
.hist-catfold:hover { background: var(--hover); color: var(--text); }
|
|
1001
|
+
.hist-catfold:focus-visible { outline: var(--focus-outline); outline-offset: 1px; box-shadow: var(--focus-ring); }
|
|
1002
|
+
.hist-catfold .chev { width: 12px; height: 12px; color: inherit; }
|
|
1003
|
+
.hist-catfold[aria-expanded=true] .chev { transform: rotate(90deg); }
|
|
1004
|
+
/* The rows fold by easing the grid row from its content to nothing, so nothing below jumps. */
|
|
1005
|
+
.hist-catbody { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .18s ease, opacity .18s ease; }
|
|
1006
|
+
.hist-catbody > .hist-catps { min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 1px; padding-top: 1px; }
|
|
1007
|
+
.hist-catgrp.is-folded .hist-catbody { grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows .18s ease, opacity .18s ease, visibility 0s .18s; }
|
|
1008
|
+
.hist-cat { color: var(--text); font-weight: var(--strong-weight); }
|
|
1009
|
+
.hist-cat-none { display: flex; align-items: center; gap: 6px; width: 100%; padding: 5px 10px; font-size: var(--small); color: var(--muted); }
|
|
1010
|
+
.hist-catps .hist-proj { padding-left: 24px; }
|
|
1011
|
+
.hist-check { display: inline-flex; align-items: center; gap: 6px; font-size: var(--small); color: var(--muted); cursor: pointer; white-space: nowrap; }
|
|
1012
|
+
.hist-check input { margin: 0; accent-color: var(--accent); }
|
|
1013
|
+
.hist-check:hover { color: var(--text); }
|
|
1014
|
+
.hist-grid { display: grid; grid-template-columns: minmax(150px, 210px) minmax(0, 1fr); gap: 16px; align-items: start; }
|
|
1015
|
+
.hist-none .hist-bar, .hist-none .hist-side { display: none; }
|
|
1016
|
+
.hist-none .hist-grid { grid-template-columns: minmax(0, 1fr); }
|
|
1017
|
+
.hist-side { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; max-height: calc(100vh - 160px); overflow: auto; padding-right: 4px; }
|
|
1018
|
+
/* Inner scroll boxes get a thin bar in the theme's colours; the side list shows it only while the pointer is on it. */
|
|
1019
|
+
:is(.hist-side, .hv-msgs, .diff, .dlg-body, .menu) { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
|
|
1020
|
+
.hist-side:not(:hover, :focus-within) { scrollbar-color: transparent transparent; }
|
|
1021
|
+
.hist-side-h { margin: 0 0 2px 10px; font-size: 11.5px; font-weight: var(--strong-weight); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
|
|
1022
|
+
.hist-projs { display: flex; flex-direction: column; gap: 1px; }
|
|
1023
|
+
.hist-proj { display: flex; align-items: center; gap: 6px; width: 100%; padding: 5px 10px; border: 0; border-radius: var(--ctl-radius); background: transparent; color: var(--muted); font: inherit; font-size: var(--small); text-align: left; cursor: pointer; transition: background-color .12s, color .12s; }
|
|
1024
|
+
.hist-proj:hover { background: var(--hover); color: var(--text); }
|
|
1025
|
+
.hist-proj[aria-pressed=true] { background: var(--active); color: var(--text); font-weight: var(--strong-weight); }
|
|
1026
|
+
.hist-proj:focus-visible { outline: var(--focus-outline); outline-offset: 1px; box-shadow: var(--focus-ring); }
|
|
1027
|
+
.hist-proj-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1028
|
+
.hist-proj-gone { flex: none; display: inline-flex; color: var(--faint); }
|
|
1029
|
+
.hist-proj-gone .ic { width: 12px; height: 12px; }
|
|
1030
|
+
.hist-proj-n { flex: none; color: var(--muted); font-size: 11.5px; font-weight: 400; }
|
|
1031
|
+
.hist-sk { width: 70%; margin: 8px 10px; }
|
|
1032
|
+
.hist-main { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
|
|
1033
|
+
.hist-status { display: flex; flex-direction: column; gap: 6px; }
|
|
1034
|
+
.hist-status:empty { display: none; }
|
|
1035
|
+
.hist-count { margin: 0; }
|
|
1036
|
+
.hist-list { transition: opacity .15s; }
|
|
1037
|
+
.hist-list.is-loading { opacity: .6; }
|
|
1038
|
+
.hist-list.swap-in { animation: hist-swap .18s ease-out; }
|
|
1039
|
+
@keyframes hist-swap { from { opacity: .6; } }
|
|
1040
|
+
.hist-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; column-gap: 12px; padding: 11px 10px 11px 16px; border-top: 1px solid var(--border); transition: background-color .15s; }
|
|
1041
|
+
/* In a long list, rows out of view are not laid out until they come near it, so it folds and scrolls without stalls;
|
|
1042
|
+
a short list lays out every row at once, so nothing moves when a guessed height is replaced by the real one. */
|
|
1043
|
+
.hist-list.is-long .hist-row { content-visibility: auto; contain-intrinsic-size: auto 92px; }
|
|
1044
|
+
.hist-row:first-child { border-top: 0; border-radius: var(--radius) var(--radius) 0 0; }
|
|
1045
|
+
.hist-row:last-child { border-radius: 0 0 var(--radius) var(--radius); }
|
|
1046
|
+
.hist-row:only-child { border-radius: var(--radius); }
|
|
1047
|
+
.hist-row:hover { background: var(--hover); cursor: pointer; }
|
|
1048
|
+
.hist-row > .badge { margin-top: 1px; }
|
|
1049
|
+
.hist-body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
|
|
1050
|
+
.hist-line { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
|
|
1051
|
+
.hist-open { flex: 0 1 auto; min-width: 0; padding: 0; border: 0; background: none; color: var(--text); font: inherit; font-weight: var(--strong-weight); text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; border-radius: 4px; }
|
|
1052
|
+
.hist-open:hover { text-decoration: underline; text-underline-offset: 2px; }
|
|
1053
|
+
.hist-open:focus-visible { outline: var(--focus-outline); outline-offset: 2px; box-shadow: var(--focus-ring); }
|
|
1054
|
+
.hist-open[aria-busy=true] { cursor: progress; opacity: .7; }
|
|
1055
|
+
.hist-view[aria-busy=true] { cursor: progress; color: var(--muted); }
|
|
1056
|
+
.hist-view[aria-busy=true] .ic { display: none; }
|
|
1057
|
+
.hist-live { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--ok); }
|
|
1058
|
+
.hist-live .hist-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok-bar); }
|
|
1059
|
+
.hist-meta { min-width: 0; overflow: hidden; padding: 2px; margin: -2px; }
|
|
1060
|
+
.hist-mi-wrap { display: flex; flex-wrap: wrap; align-items: center; row-gap: 2px; margin-left: -14px; }
|
|
1061
|
+
.hist-mi { display: inline-flex; align-items: center; min-width: 0; max-width: 100%; }
|
|
1062
|
+
.hist-mi::before { content: '·'; flex: none; width: 14px; text-align: center; opacity: .7; }
|
|
1063
|
+
.hist-meta b { color: var(--text); font-weight: var(--strong-weight); }
|
|
1064
|
+
.hist-pname, .hist-branch { min-width: 0; max-width: 18em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1065
|
+
.hist-age { white-space: nowrap; }
|
|
1066
|
+
.hist-snip { color: var(--muted); font-size: var(--small); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
|
|
1067
|
+
.hist mark, .hv-msgs mark { background: var(--accent-soft); color: var(--text); border-radius: 3px; padding: 0 1px; }
|
|
1068
|
+
.hist-cont { min-width: 6.5em; justify-content: center; transition: background-color .15s, border-color .15s, color .15s; }
|
|
1069
|
+
.hist-cont.is-copied { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
|
|
1070
|
+
.hist-cont .ic { width: 14px; height: 14px; }
|
|
1071
|
+
.hist-tail { display: flex; justify-content: center; }
|
|
1072
|
+
.hist-tail:empty { display: none; }
|
|
1073
|
+
.hist-tail p { margin: 0; }
|
|
1074
|
+
.hist-empty p { margin: 0 0 10px; }
|
|
1075
|
+
.hist-ways { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
|
|
1076
|
+
.hist-toolbox { display: flex; flex-direction: column; gap: 8px; }
|
|
1077
|
+
.hist-toolbox:empty { display: none; }
|
|
1078
|
+
.hist-toolbox > p { margin: 0; }
|
|
1079
|
+
.hist-tool-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
|
|
1080
|
+
.hist-tool-head h3 { margin: 0; font-size: 13.5px; }
|
|
1081
|
+
.hist-tool-prog { display: inline-flex; align-items: center; }
|
|
1082
|
+
.hist-sources-box { margin-top: 18px; }
|
|
1083
|
+
.hist-sources summary { cursor: pointer; font-size: var(--small); color: var(--muted); width: fit-content; border-radius: 4px; }
|
|
1084
|
+
.hist-sources summary:hover { color: var(--text); }
|
|
1085
|
+
.hist-sources summary:focus-visible { outline: var(--focus-outline); outline-offset: 2px; box-shadow: var(--focus-ring); }
|
|
1086
|
+
.hist-src { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: var(--small); }
|
|
1087
|
+
.hist-src th { text-align: left; font-weight: var(--strong-weight); color: var(--muted); padding: 4px 8px; border-bottom: 1px solid var(--border); }
|
|
1088
|
+
.hist-src td { padding: 5px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
|
|
1089
|
+
.hist-src .num { text-align: right; white-space: nowrap; }
|
|
1090
|
+
.hist-clear { margin: 10px 0 0; }
|
|
1091
|
+
.hv-meta { margin: 0 0 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
|
|
1092
|
+
.hv-msgs { max-height: min(60vh, 560px); overflow: auto; display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--border); border-radius: calc(var(--radius) - 4px); background: var(--surface-2); }
|
|
1093
|
+
.hv-msgs:focus-visible { outline: var(--focus-outline); outline-offset: 2px; box-shadow: var(--focus-ring); }
|
|
1094
|
+
.hv-earlier { align-self: center; }
|
|
1095
|
+
.hv-start { margin: 0; text-align: center; }
|
|
1096
|
+
.hv-msg { display: flex; flex-direction: column; gap: 3px; padding: 8px 11px; border-radius: calc(var(--radius) - 6px); background: var(--surface); border: 1px solid var(--border); max-width: 92%; }
|
|
1097
|
+
.hv-user { align-self: flex-end; background: var(--accent-soft); border-color: transparent; }
|
|
1098
|
+
.hv-who { display: flex; gap: 8px; align-items: baseline; }
|
|
1099
|
+
.hv-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.55; }
|
|
1100
|
+
.hv-all { align-self: flex-start; }
|
|
1101
|
+
.hv-md { white-space: normal; }
|
|
1102
|
+
.hv-md > * { margin: 0; }
|
|
1103
|
+
.hv-md > * + * { margin-top: 6px; }
|
|
1104
|
+
.hv-md p, .hv-md li, .hv-md blockquote { white-space: pre-wrap; }
|
|
1105
|
+
.hv-md .hv-h { font-weight: 600; }
|
|
1106
|
+
.hv-md :is(ul, ol) { padding-left: 1.4em; }
|
|
1107
|
+
.hv-md blockquote { padding-left: 10px; border-left: 2px solid var(--border); color: var(--muted); }
|
|
1108
|
+
.hv-md hr { border: 0; border-top: 1px solid var(--border); }
|
|
1109
|
+
.hv-md :not(pre) > code { background: var(--surface-2); border-radius: 4px; padding: 0 4px; }
|
|
1110
|
+
.hv-md a { color: var(--accent); }
|
|
1111
|
+
.hv-code { background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 7px 9px; overflow-x: auto; white-space: pre; font-size: 12px; line-height: 1.5; }
|
|
1112
|
+
.hv-table { overflow-x: auto; max-width: 100%; }
|
|
1113
|
+
.hv-table table { border-collapse: collapse; font-size: 12px; }
|
|
1114
|
+
.hv-table :is(th, td) { border: 1px solid var(--border); padding: 3px 8px; text-align: left; vertical-align: top; }
|
|
1115
|
+
.hv-table th { background: var(--surface-2); font-weight: 600; white-space: nowrap; }
|
|
1116
|
+
.hv-tools { display: flex; align-items: center; gap: 6px; padding: 0 4px; }
|
|
1117
|
+
.hv-tools .ic { flex: none; width: 13px; height: 13px; }
|
|
1118
|
+
:where(:root[data-width=narrow], :root[data-width=phone]) .hist-grid { grid-template-columns: minmax(0, 1fr); }
|
|
1119
|
+
:where(:root[data-width=narrow], :root[data-width=phone]) .hist-side { position: static; max-height: none; flex-direction: row; align-items: center; overflow-x: auto; }
|
|
1120
|
+
:where(:root[data-width=narrow], :root[data-width=phone]) .hist-side-h { display: none; }
|
|
1121
|
+
:where(:root[data-width=narrow], :root[data-width=phone]) .hist-projs { flex-direction: row; gap: 4px; }
|
|
1122
|
+
:where(:root[data-width=narrow], :root[data-width=phone]) .hist-proj { width: auto; flex: none; max-width: 16em; }
|
|
1123
|
+
:where(:root[data-width=narrow], :root[data-width=phone]) :is(.hist-catgrp, .hist-catps) { flex-direction: row; display: flex; gap: 4px; margin-top: 0; }
|
|
1124
|
+
:where(:root[data-width=narrow], :root[data-width=phone]) .hist-cat-none { display: none; }
|
|
1125
|
+
:where(:root[data-width=narrow], :root[data-width=phone]) .hist-catps .hist-proj { padding-left: 10px; }
|
|
1126
|
+
:where(:root[data-width=narrow], :root[data-width=phone]) .hist-catfold { display: none; }
|
|
1127
|
+
:where(:root[data-width=narrow], :root[data-width=phone]) .hist-cathead > .hist-proj { padding-left: 10px; }
|
|
1128
|
+
:where(:root[data-width=narrow], :root[data-width=phone]) :is(.hist-catbody, .hist-cathead) { display: contents; }
|
|
1129
|
+
/* Without the arrow a folded category could not be opened again, so a narrow screen shows every category open. */
|
|
1130
|
+
:where(:root[data-width=narrow], :root[data-width=phone]) .hist-catgrp.is-folded .hist-catbody { opacity: 1; visibility: visible; }
|
|
1131
|
+
:where(:root[data-width=narrow], :root[data-width=phone]) .hist-row { grid-template-columns: auto minmax(0, 1fr); row-gap: 8px; }
|
|
1132
|
+
:where(:root[data-width=narrow], :root[data-width=phone]) .hist-row .sess-actions { grid-column: 2; }
|
|
1133
|
+
/* Small motions (2026-10-20): every state change of a control eases over 120 ms, a press shrinks it a little, and what
|
|
1134
|
+
appears or goes away fades. Only opacity and transform move, so nothing reflows. */
|
|
1135
|
+
.icon-btn, .seg-btn, .menu-item, .set-tab, .link-btn, .email-btn { transition: background-color .12s, color .12s, border-color .12s, transform .1s; }
|
|
1136
|
+
.tag-btn { transition: filter .12s, transform .1s; }
|
|
1137
|
+
.btn { transition: background-color .12s, border-color .12s, color .12s, transform .1s; }
|
|
1138
|
+
.chip-btn { transition: filter .12s, border-color .12s, transform .1s; }
|
|
1139
|
+
:is(.btn, .icon-btn, .seg-btn, .set-tab, .chip-btn):not(.drag-handle):active:not(:disabled) { transform: scale(.97); }
|
|
1140
|
+
.set-link .ic { transition: transform .15s; }
|
|
1141
|
+
.set-link:hover .ic { transform: translateX(2px); }
|
|
1142
|
+
.icon-btn.row-run.is-done { color: var(--ok); }
|
|
1143
|
+
.row-run.is-done .ic { animation: pop-in .18s cubic-bezier(.2, .8, .2, 1); }
|
|
1144
|
+
@keyframes pop-in { from { opacity: 0; transform: scale(.6); } }
|
|
1145
|
+
.tip.is-open .tip-body, .tip-float.is-shown { animation: tip-in .12s ease-out; }
|
|
1146
|
+
@keyframes tip-in { from { opacity: 0; transform: translateY(2px); } }
|
|
1147
|
+
.toast.toast-out { box-sizing: border-box; overflow: hidden; animation: toast-out .18s ease-in forwards; }
|
|
1148
|
+
@keyframes toast-out { to { opacity: 0; height: 0; min-height: 0; padding-top: 0; padding-bottom: 0; margin-top: -8px; border-width: 0; } }
|
|
1149
|
+
.set-pane.view-in { animation: view-in .2s ease-out both; }
|
|
1150
|
+
.set-pane.view-in > * { animation: none; }
|
|
1151
|
+
/* A dialog closes at once (the page takes clicks again) and only its picture fades out: the browser keeps it in the top
|
|
1152
|
+
layer for the transition. Browsers without overlay transitions just close it. */
|
|
1153
|
+
.dialog, .dialog::backdrop { transition: opacity .14s ease-in, transform .14s ease-in, overlay .14s ease-in allow-discrete, display .14s ease-in allow-discrete; }
|
|
1154
|
+
/* A dialog that opens another in its place (Settings → Preferred terminal) eases to the new width instead of jumping. */
|
|
1155
|
+
.dialog[open] { transition: width .2s cubic-bezier(.2, 0, 0, 1); }
|
|
1156
|
+
/* While it fades out it is no longer modal. Its column layout must not depend on [open], or the content would turn
|
|
1157
|
+
into a row mid-fade; the geometry below matches the modal one for engines that drop the modal styles there. */
|
|
1158
|
+
.dialog { position: fixed; inset: 0; margin: auto; height: fit-content; max-width: none; overflow: auto; flex-direction: column; }
|
|
1159
|
+
.dialog.dialog-top { margin-top: min(12vh, 96px); max-height: calc(100vh - min(12vh, 96px) - 24px); }
|
|
1160
|
+
.dialog:not([open]) { opacity: 0; transform: translateY(4px) scale(.985); pointer-events: none; }
|
|
1161
|
+
.dialog:not([open])::backdrop { opacity: 0; }
|
|
791
1162
|
@media (prefers-reduced-motion: reduce) {
|
|
792
|
-
.sk, .spin, .is-spinning svg, .toast, .toast.bump, .view-in > *, .row.flash, .card.flash, .pulse { animation: none; }
|
|
793
|
-
.bar > span, .chev, .row { transition: none; }
|
|
1163
|
+
.sk, .spin, .is-spinning svg, .toast, .toast.bump, .toast.toast-out, .view-in > *, .set-pane.view-in, .row.flash, .sess-row.flash, .sess-msg, .seg-badge, .card.flash, .pulse, .sess-busy .sess-dot, .menu, .menu.float-out, .dialog[open], .dialog[open]::backdrop, .enter, .fade-in, .hist-list.swap-in, .tip-body, .tip-float, .row-run.is-done .ic { animation: none; }
|
|
1164
|
+
.bar > span, .chev, .row, .sess-row, .sess-copy, .hist-row, .hist-cont, .hist-proj, .hist-catfold, .hist-catbody, .hist-opt, .hist-list, .icon-btn, .seg-btn, .menu-item, .set-tab, .link-btn, .tag-btn, .email-btn, .btn, .chip-btn, .set-link .ic, .dialog, .dialog[open], .dialog::backdrop { transition: none; }
|
|
1165
|
+
:is(.btn, .icon-btn, .seg-btn, .set-tab, .chip-btn):active:not(:disabled), .set-link:hover .ic, .dialog:not([open]) { transform: none; }
|
|
794
1166
|
}
|
|
795
1167
|
`;
|