sideby 0.34.0 → 0.35.1
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/dist/build.json +1 -1
- package/dist/src/cli/commands.d.ts +2 -0
- package/dist/src/cli/commands.js +66 -22
- package/dist/src/cli/json-schemas.js +10 -3
- package/dist/src/cli/main.js +13 -6
- package/dist/src/core/cli-commands.js +2 -2
- package/dist/src/core/shell-init.d.ts +16 -2
- package/dist/src/core/shell-init.js +67 -12
- package/dist/src/panel/handler.js +26 -0
- package/dist/src/panel/i18n.d.ts +25 -0
- package/dist/src/panel/i18n.js +60 -10
- package/dist/src/panel/page-logic.d.ts +56 -5
- package/dist/src/panel/page-logic.js +69 -10
- package/dist/src/panel/page-script.js +270 -38
- package/dist/src/panel/page-styles.js +507 -459
- package/dist/src/panel/ui/dropdown-menu/dropdown-menu.html.d.ts +48 -0
- package/dist/src/panel/ui/dropdown-menu/dropdown-menu.html.js +38 -0
- package/dist/src/panel/ui/lib/cn.d.ts +4 -0
- package/dist/src/panel/ui/lib/cn.js +6 -0
- package/dist/src/panel/ui-css.d.ts +6 -0
- package/dist/src/panel/ui-css.js +88 -0
- package/dist/src/runtime.d.ts +16 -3
- package/dist/src/runtime.js +40 -13
- package/package.json +1 -1
- package/schemas/alias.json +9 -1
- package/schemas/new.json +4 -1
- package/skills/sideby/SKILL.md +4 -3
- package/skills/sideby/references/accounts.md +12 -0
- package/skills/sideby/references/ai-tasks.md +1 -1
- package/skills/sideby/references/setup.md +1 -1
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
// The Panel page's styles: design tokens (a host theme layers its values over them, see theme.ts) and the rules
|
|
2
|
-
// that read them. Every color
|
|
2
|
+
// that read them. Every color comes from a token, so a host theme reaches every component. Type sizes, weights, radii,
|
|
3
|
+
// spacing and motion follow adonis-brand's design system (design-system/README.md): sizes 11/12/13/14/16/20px, weights
|
|
4
|
+
// 400/500/600, radii from --radius-*, spacing in steps of 4px, motion from --duration-* and --ease-*; a selected item
|
|
5
|
+
// takes --selected (soft accent fill) with --brand text and weight 500, no outline.
|
|
3
6
|
import { resolveTheme, THEME_TOKENS } from './theme.js';
|
|
4
7
|
import { BUILTIN_THEMES, DEFAULT_THEME_ID } from './themes.js';
|
|
8
|
+
// The component library's dropdown menu, generated by the brand repo's add script (--inline); do not edit it.
|
|
9
|
+
import { UI_CSS } from './ui-css.js';
|
|
5
10
|
// The default Theme's colors (spec §3.34): every color token, as declarations for the token blocks below.
|
|
6
11
|
const DEFAULT_THEME = BUILTIN_THEMES.find((t) => t.id === DEFAULT_THEME_ID);
|
|
7
12
|
const colorDecls = (tokens) => Object.entries(tokens)
|
|
@@ -10,8 +15,11 @@ const colorDecls = (tokens) => Object.entries(tokens)
|
|
|
10
15
|
// Colors defined from other tokens, before each scheme's Theme colors so a Theme can set them; repeated in both schemes so they follow that scheme's base colors. Dark mode keeps
|
|
11
16
|
// the logo tile light: the painted mark (core/brand-mark.ts, ADR-0064) is drawn for a light ground. `--logo-fg` no longer
|
|
12
17
|
// colours the mark (it is a painting); it stays the brand blue so Themes that set it keep working (ADR-0050).
|
|
18
|
+
// A selected item takes `--selected` (soft accent fill) with `--brand` text; `--on-badge` is the white of the initials on
|
|
19
|
+
// each Host's fixed logo color, whatever the Theme.
|
|
13
20
|
const DERIVED_COLORS = `
|
|
14
21
|
--btn-text: var(--text); --btn-hover-text: var(--accent); --check: var(--focus);
|
|
22
|
+
--selected: var(--accent-soft); --brand: var(--accent); --on-badge: #fff;
|
|
15
23
|
--logo-bg: var(--surface-2); --logo-fg: #3f8fc4; /* design-system-ignore: the brand blue (ADR-0050); the painted mark keeps its own colours (ADR-0064) */ --logo-line: var(--border);
|
|
16
24
|
--focus-outline: 2px solid var(--focus); --focus-ring: none;
|
|
17
25
|
--scrim: color-mix(in srgb, var(--text) 40%, transparent);`;
|
|
@@ -22,10 +30,13 @@ const DERIVED_COLORS = `
|
|
|
22
30
|
// type, shape and layout tokens are shared by both schemes.
|
|
23
31
|
const LIGHT_TOKENS = `
|
|
24
32
|
--font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
25
|
-
--font-size:
|
|
26
|
-
--title-weight:
|
|
27
|
-
--radius:
|
|
28
|
-
--content-width: 1180px; --gutter: 24px
|
|
33
|
+
--font-size: 13px; --small: 12px; --control-size: 13px; --heading-size: 16px; --large: 16px; --title-size: 20px;
|
|
34
|
+
--title-weight: 600; --heading-weight: 600; --strong-weight: 600; --button-weight: 500; --primary-weight: 500;
|
|
35
|
+
--radius: 10px; --ctl-radius: 6px; --primary-radius: 999px; --chip-radius: 999px; --ctl-h: 34px; --ctl-h-sm: 28px; --field-h: 36px;
|
|
36
|
+
--content-width: 1180px; --gutter: 24px;
|
|
37
|
+
--radius-sm: 4px; --radius-md: 6px; --radius-lg: 8px; --radius-xl: 10px; --radius-pill: 999px;
|
|
38
|
+
--duration-fast: 120ms; --duration-base: 160ms; --duration-slow: 200ms;
|
|
39
|
+
--ease-out: cubic-bezier(0.2, 0, 0, 1); --ease-in: cubic-bezier(0.4, 0, 1, 1);${DERIVED_COLORS}
|
|
29
40
|
--spark: oklch(from var(--primary) clamp(0.55, l, 0.62) c h); --spark-soft: oklch(from var(--primary) 0.83 calc(c * 0.6) h);
|
|
30
41
|
${colorDecls(DEFAULT_THEME.light)};
|
|
31
42
|
--float-shadow: 0 10px 30px color-mix(in srgb, var(--text) 14%, transparent), 0 2px 6px color-mix(in srgb, var(--text) 6%, transparent);`;
|
|
@@ -60,136 +71,139 @@ export function tokenStyles(theme) {
|
|
|
60
71
|
const CSS = `
|
|
61
72
|
* { box-sizing: border-box; }
|
|
62
73
|
html { -webkit-text-size-adjust: 100%; }
|
|
63
|
-
body { margin: 0; background: var(--bg); color: var(--text); font: var(--font-size
|
|
74
|
+
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 13px; line-height: 1.5; font-variant-numeric: tabular-nums; }
|
|
64
75
|
[hidden] { display: none !important; }
|
|
65
76
|
.top-in, .wrap { max-width: var(--content-width); margin: 0 auto; }
|
|
66
77
|
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px var(--gutter) 0; }
|
|
67
78
|
/* When the name, its version pill and the buttons do not fit one row, the buttons wrap below, on the right. */
|
|
68
|
-
.top-in { flex-wrap: wrap; row-gap:
|
|
79
|
+
.top-in { flex-wrap: wrap; row-gap: 12px; }
|
|
69
80
|
.top-in > .top-actions { margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
|
|
70
81
|
.wrap { padding: 20px var(--gutter) 40px; }
|
|
71
82
|
.header-bar .top { background: var(--surface); border-bottom: 1px solid var(--border); }
|
|
72
|
-
.header-bar .top-in { min-height: 84px; padding:
|
|
83
|
+
.header-bar .top-in { min-height: 84px; padding: 16px var(--gutter); }
|
|
73
84
|
.header-bar .wrap { padding-top: 20px; }
|
|
74
85
|
h1, h2, h3 { margin: 0; letter-spacing: -0.01em; }
|
|
75
|
-
h2 { font-size:
|
|
76
|
-
b, strong { font-weight:
|
|
86
|
+
h2 { font-size: 16px; font-weight: 600; }
|
|
87
|
+
b, strong { font-weight: 600; }
|
|
77
88
|
p { margin: 0; }
|
|
78
89
|
a { color: var(--accent); text-decoration: none; }
|
|
79
90
|
a:hover { text-decoration: underline; }
|
|
80
|
-
code, .mono { font-family: var(--mono); font-size:
|
|
91
|
+
code, .mono { font-family: var(--mono); font-size: 12px; }
|
|
81
92
|
.muted { color: var(--muted); }
|
|
82
93
|
.faint { color: var(--faint); }
|
|
83
|
-
.small { font-size:
|
|
94
|
+
.small { font-size: 12px; }
|
|
84
95
|
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
|
|
85
|
-
.sep { color: var(--faint); margin: 0
|
|
96
|
+
.sep { color: var(--faint); margin: 0 8px; }
|
|
86
97
|
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
|
|
87
|
-
.brand h1 { font-size:
|
|
98
|
+
.brand h1 { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
|
|
88
99
|
.tagline { color: var(--muted); font-size: 13px; }
|
|
89
100
|
/* When the account data was read; the dot says whether it still refreshes on its own (green) or stopped (amber). */
|
|
90
|
-
#updated { display: inline-flex; align-items: center; gap:
|
|
101
|
+
#updated { display: inline-flex; align-items: center; gap: 8px; }
|
|
91
102
|
#updated.is-live::before, #updated.is-stale::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok-bar); }
|
|
92
103
|
#updated.is-stale::before { background: var(--warn-bar); }
|
|
93
104
|
/* The running version, a quiet pill after the name; with a newer version it takes the accent and a dot (spec §3.23). */
|
|
94
105
|
.title-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
|
|
95
|
-
.ver-pill { display: inline-flex; align-items: center; gap:
|
|
106
|
+
.ver-pill { display: inline-flex; align-items: center; gap: 4px; padding: 0 8px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface); color: var(--muted); font-family: var(--mono); font-size: 11px; font-weight: 500; line-height: 18px; cursor: pointer; white-space: nowrap; }
|
|
96
107
|
.ver-pill:hover:not(:disabled), .ver-pill[aria-expanded="true"] { color: var(--on-primary); border-color: var(--primary-hover-border); background: var(--primary-hover); }
|
|
97
108
|
.ver-pill.has-update:hover:not(:disabled), .ver-pill.has-update[aria-expanded="true"] { color: var(--accent); border-color: var(--accent); background: var(--active); }
|
|
98
109
|
.ver-pill:disabled { cursor: default; }
|
|
99
110
|
.ver-pill:focus-visible { outline: var(--focus-outline); outline-offset: 2px; }
|
|
100
111
|
.ver-pill.has-update { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
|
|
101
112
|
.ver-pill.has-update::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
|
|
102
|
-
.logo { display: inline-flex; flex: none; width: 40px; height: 40px; border-radius:
|
|
113
|
+
.logo { display: inline-flex; flex: none; width: 40px; height: 40px; border-radius: var(--radius-xl); background: var(--logo-bg); box-shadow: inset 0 0 0 1px var(--logo-line); }
|
|
103
114
|
/* The painted mark (core/brand-mark.ts), 3 px in from the tile's edge; desktop/icon.ts lays the app icon out the same way. */
|
|
104
|
-
.logo img { display: block; width: 100%; height: 100%; padding:
|
|
115
|
+
.logo img { display: block; width: 100%; height: 100%; padding: 4px; box-sizing: border-box; object-fit: contain; }
|
|
105
116
|
.top-actions { display: flex; align-items: center; gap: 8px; }
|
|
106
117
|
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
|
|
107
118
|
.section-head > div:first-child { min-width: 0; }
|
|
108
|
-
.block { margin-bottom:
|
|
119
|
+
.block { margin-bottom: 24px; }
|
|
109
120
|
.ic { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
|
110
121
|
|
|
111
122
|
/* Themes (spec §3.34): the cards in the Theme dialog, and the short fade while the page takes a new Theme. */
|
|
112
|
-
.theme-head { margin: 12px 0 8px; color: var(--muted); font-size:
|
|
113
|
-
.theme-head b { color: var(--text); font-weight:
|
|
123
|
+
.theme-head { margin: 12px 0 8px; color: var(--muted); font-size: 12px; }
|
|
124
|
+
.theme-head b { color: var(--text); font-weight: 600; }
|
|
114
125
|
/* Theme dots: a 28px dot per Theme; the hairline keeps a black or white dot visible on a page of the same color. */
|
|
115
|
-
.theme-dots { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0
|
|
116
|
-
.theme-dot { position: relative; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 18%, transparent); cursor: pointer; transition: transform
|
|
126
|
+
.theme-dots { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 20px; padding: 4px; }
|
|
127
|
+
.theme-dot { position: relative; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 18%, transparent); cursor: pointer; transition: transform var(--duration-fast); }
|
|
117
128
|
.theme-dot:hover:not(:disabled) { transform: scale(1.08); }
|
|
118
129
|
.theme-dot[aria-checked=true] { outline: 2px solid var(--dot); outline-offset: 2px; cursor: default; }
|
|
119
|
-
.theme-dot[aria-checked=true]::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color:
|
|
130
|
+
.theme-dot[aria-checked=true]::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--on-primary); font-size: 14px; font-weight: 600; }
|
|
120
131
|
.theme-dot:disabled:not([aria-checked=true]) { opacity: .6; cursor: default; }
|
|
121
132
|
.theme-dot:focus-visible { outline: var(--focus-outline); outline-offset: 3px; }
|
|
122
133
|
.theme-dot[aria-checked=true]:focus-visible { outline: 2px solid var(--focus); }
|
|
123
134
|
.theme-status { display: flex; align-items: center; gap: 8px; margin: 0 auto 0 0; min-width: 0; color: var(--muted); }
|
|
124
|
-
.theme-row { display: flex; align-items: center; gap:
|
|
125
|
-
.theme-label { font-weight:
|
|
126
|
-
.theme-row input[type=color] { width: 40px; height: 30px; padding:
|
|
127
|
-
.theme-files { margin-top: 16px; display: grid; gap:
|
|
128
|
-
.theme-file { display: flex; align-items: center; justify-content: space-between; gap:
|
|
135
|
+
.theme-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 8px 0; }
|
|
136
|
+
.theme-label { font-weight: 600; }
|
|
137
|
+
.theme-row input[type=color] { width: 40px; height: 30px; padding: 4px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface); cursor: pointer; }
|
|
138
|
+
.theme-files { margin-top: 16px; display: grid; gap: 8px; }
|
|
139
|
+
.theme-file { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--border); }
|
|
129
140
|
.theme-file-name { display: flex; flex-direction: column; min-width: 0; }
|
|
130
141
|
.theme-bad { color: var(--fail); }
|
|
131
|
-
.theme-fade, .theme-fade * { transition: background-color
|
|
142
|
+
.theme-fade, .theme-fade * { transition: background-color var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out), fill var(--duration-base) var(--ease-out) !important; }
|
|
132
143
|
@media (prefers-reduced-motion: reduce) { .theme-fade, .theme-fade * { transition: none !important; } }
|
|
133
144
|
/* Summary: four quiet numbers in one surface. */
|
|
134
145
|
.summary[hidden], #checkup[hidden] { display: none; }
|
|
135
|
-
.summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom:
|
|
136
|
-
.stat { display: flex; align-items: flex-end; justify-content: space-between; gap:
|
|
146
|
+
.summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); margin-bottom: 20px; overflow: hidden; }
|
|
147
|
+
.stat { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; min-width: 0; padding: 16px 20px; border-left: 1px solid var(--border); text-align: left; }
|
|
137
148
|
.stat:first-child { border-left: 0; }
|
|
138
149
|
.stat-text { min-width: 0; }
|
|
139
|
-
.stat-label { color: var(--muted); font-size:
|
|
140
|
-
.stat-value { font-size:
|
|
150
|
+
.stat-label { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 8px; }
|
|
151
|
+
.stat-value { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; white-space: nowrap; }
|
|
141
152
|
.stat-sub { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
142
|
-
.stat-btn { font: inherit; color: inherit; background: none; border: 0; border-left: 1px solid var(--border); cursor: pointer; transition: background-color
|
|
153
|
+
.stat-btn { font: inherit; color: inherit; background: none; border: 0; border-left: 1px solid var(--border); cursor: pointer; transition: background-color var(--duration-fast); }
|
|
143
154
|
.stat-btn:hover { background: var(--hover); }
|
|
144
|
-
.stat-btn[aria-pressed=true] { background: var(--
|
|
155
|
+
.stat-btn[aria-pressed=true] { background: var(--selected); color: var(--brand); }
|
|
145
156
|
.stat-warn .stat-value { color: var(--warn); }
|
|
146
157
|
.stat-ok .stat-value { color: var(--ok); }
|
|
147
|
-
.label-tip { display: inline-flex; align-items: center; gap:
|
|
158
|
+
.label-tip { display: inline-flex; align-items: center; gap: 8px; }
|
|
148
159
|
|
|
149
160
|
/* Toolbar */
|
|
150
161
|
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
|
|
151
162
|
.search { position: relative; flex: 1 1 160px; min-width: 120px; display: block; }
|
|
152
163
|
.search-ic { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
|
|
153
|
-
.search .search-input { padding-left:
|
|
154
|
-
.kbd { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); font:
|
|
164
|
+
.search .search-input { padding-left: 36px; padding-right: 36px; height: var(--ctl-h); }
|
|
165
|
+
.kbd { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 11px; line-height: 16px; color: var(--muted); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 4px; pointer-events: none; }
|
|
155
166
|
.search:focus-within .kbd, .search input:not(:placeholder-shown) ~ .kbd { display: none; }
|
|
156
167
|
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
|
|
157
|
-
.tb-select { width: auto; height: var(--ctl-h); font-size:
|
|
158
|
-
|
|
159
|
-
.
|
|
168
|
+
.tb-select { width: auto; height: var(--ctl-h); font-size: 13px; }
|
|
169
|
+
/* An action in a picker (selectMenu data-action) puts its icon where a choice has its check, so the words line up. */
|
|
170
|
+
.select-wrap .ui-menu-item[data-action] { padding-left: 28px; }
|
|
171
|
+
.select-wrap .ui-menu-item[data-action] > svg { position: absolute; left: 8px; width: 14px; height: 14px; color: inherit; }
|
|
172
|
+
.seg { display: inline-flex; align-items: center; gap: 4px; height: var(--ctl-h); padding: 4px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface); }
|
|
173
|
+
.seg-btn { display: inline-flex; align-items: center; gap: 4px; height: 100%; padding: 0 12px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
|
|
160
174
|
.seg-btn:hover { color: var(--text); }
|
|
161
|
-
.seg-btn[aria-selected=true] { background: var(--
|
|
162
|
-
.pages { margin: 0 0
|
|
175
|
+
.seg-btn[aria-selected=true] { background: var(--selected); color: var(--brand); font-weight: 500; }
|
|
176
|
+
.pages { margin: 0 0 16px; }
|
|
163
177
|
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
|
|
164
|
-
.tune-confirm { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--border); padding-top:
|
|
165
|
-
.pk-row { display: flex; flex-direction: column; gap:
|
|
178
|
+
.tune-confirm { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--border); padding-top: 12px; }
|
|
179
|
+
.pk-row { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-top: 1px solid var(--border); }
|
|
166
180
|
.pk-row p { margin: 0; }
|
|
167
|
-
.tune-confirm ul { margin: 0; padding-left:
|
|
181
|
+
.tune-confirm ul { margin: 0; padding-left: 20px; }
|
|
168
182
|
.tune-undo { margin: 0; }
|
|
169
183
|
.tune-details { margin-top: 4px; }
|
|
170
|
-
.tune-details summary { cursor: pointer; color: var(--muted); font-size:
|
|
171
|
-
.tune-detail { border-left: 2px solid var(--border); padding: 4px 0 4px
|
|
172
|
-
.tune-setting { display: flex; flex-direction: column; gap: 8px; border: 1px dashed var(--border-strong); border-radius:
|
|
173
|
-
.tune-acct { display: flex; flex-direction: column; gap: 8px; margin:
|
|
184
|
+
.tune-details summary { cursor: pointer; color: var(--muted); font-size: 12px; }
|
|
185
|
+
.tune-detail { border-left: 2px solid var(--border); padding: 4px 0 4px 12px; margin: 8px 0; display: flex; flex-direction: column; gap: 4px; }
|
|
186
|
+
.tune-setting { display: flex; flex-direction: column; gap: 8px; border: 1px dashed var(--border-strong); border-radius: var(--radius-md); padding: 12px 12px; }
|
|
187
|
+
.tune-acct { display: flex; flex-direction: column; gap: 8px; margin: 20px 0; }
|
|
174
188
|
.tune-acct-head { display: flex; align-items: center; gap: 8px; }
|
|
175
|
-
.seg-btn[aria-pressed=true] { background: var(--
|
|
189
|
+
.seg-btn[aria-pressed=true] { background: var(--selected); color: var(--brand); font-weight: 500; }
|
|
176
190
|
.seg-btn:focus-visible { outline: var(--focus-outline); outline-offset: 1px; box-shadow: var(--focus-ring); }
|
|
177
|
-
.acct-head { margin-bottom:
|
|
178
|
-
.acct-head h2 { display: flex; align-items: baseline; gap:
|
|
191
|
+
.acct-head { margin-bottom: 12px; justify-content: flex-start; column-gap: 16px; }
|
|
192
|
+
.acct-head h2 { display: flex; align-items: baseline; gap: 12px; }
|
|
179
193
|
#acct-count { font-weight: 400; }
|
|
180
194
|
|
|
181
195
|
/* Family groups */
|
|
182
|
-
.group { margin-bottom:
|
|
183
|
-
.group-list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
|
|
184
|
-
.group-head { display: flex; align-items: center; gap:
|
|
196
|
+
.group { margin-bottom: 16px; min-width: 0; }
|
|
197
|
+
.group-list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
|
|
198
|
+
.group-head { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; min-height: 48px; flex-wrap: wrap; }
|
|
185
199
|
.group-cards .group-head { padding: 0 0 8px; min-height: 0; }
|
|
186
|
-
.group-toggle { display: inline-flex; align-items: center; gap:
|
|
200
|
+
.group-toggle { display: inline-flex; align-items: center; gap: 8px; min-width: 0; padding: 4px 8px 4px 4px; border: 0; border-radius: var(--radius-md); background: none; color: var(--text); font: inherit; cursor: pointer; }
|
|
187
201
|
.group-toggle:hover { background: var(--hover); }
|
|
188
202
|
.group-toggle:focus-visible { outline: var(--focus-outline); outline-offset: 1px; box-shadow: var(--focus-ring); }
|
|
189
|
-
.chev { color: var(--faint); transition: transform
|
|
203
|
+
.chev { color: var(--faint); transition: transform var(--duration-fast); }
|
|
190
204
|
.group-toggle[aria-expanded=true] .chev { transform: rotate(90deg); }
|
|
191
|
-
.group-title { font-weight:
|
|
192
|
-
.group-count { color: var(--muted); font-size: 12px; background: var(--surface-2); border-radius: var(--
|
|
205
|
+
.group-title { font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
206
|
+
.group-count { color: var(--muted); font-size: 12px; background: var(--surface-2); border-radius: var(--radius-pill); padding: 0 8px; line-height: 20px; }
|
|
193
207
|
.group-meta { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
194
208
|
.group-quota { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
|
|
195
209
|
|
|
@@ -198,10 +212,10 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
|
|
|
198
212
|
same column titles. --qn is the number of quota columns; the page sets it on #accounts. */
|
|
199
213
|
#accounts { --qn: 2; --q-w: 176px; --l-w: 92px; --m-w: 92px; --col-gap: 28px; }
|
|
200
214
|
.row, .col-head { display: grid; grid-template-columns: minmax(0, 1fr) calc(var(--qn) * var(--q-w) + (var(--qn) - 1) * var(--col-gap)) var(--l-w) var(--m-w); column-gap: var(--col-gap); align-items: center; min-width: 0; }
|
|
201
|
-
.row { grid-template-areas: "id quota last more" "detail detail detail detail" "notes notes notes notes"; padding:
|
|
215
|
+
.row { grid-template-areas: "id quota last more" "detail detail detail detail" "notes notes notes notes"; padding: 12px 12px 12px 16px; border-top: 1px solid var(--border); transition: background-color var(--duration-fast); }
|
|
202
216
|
.rows .row:hover { background: color-mix(in srgb, var(--hover) 55%, transparent); }
|
|
203
217
|
.row:first-child { border-top: 0; }
|
|
204
|
-
.row:last-child { border-radius: 0 0 var(--radius) var(--radius); }
|
|
218
|
+
.row:last-child { border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
|
|
205
219
|
.row-error .ident-name .name { color: var(--fail); }
|
|
206
220
|
.row { position: relative; }
|
|
207
221
|
/* Old quota keeps its colour (the colour is how full it is) and says its age in words. */
|
|
@@ -211,45 +225,45 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
|
|
|
211
225
|
.more-opts > summary { cursor: pointer; color: var(--muted); font-size: 13px; }
|
|
212
226
|
.more-opts[open] > summary { margin-bottom: 4px; }
|
|
213
227
|
.tune-custom > summary { cursor: pointer; color: var(--muted); font-size: 13px; margin: 4px 0; }
|
|
214
|
-
.ai-asks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap:
|
|
215
|
-
.ai-ask { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px
|
|
228
|
+
.ai-asks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
|
|
229
|
+
.ai-ask { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
|
|
216
230
|
.ai-ask:hover { border-color: var(--btn-hover-border); color: var(--accent); }
|
|
217
231
|
.ai-ask .ic { width: 14px; height: 14px; color: var(--muted); flex: none; }
|
|
218
|
-
.arrange-text .link-btn { margin-left:
|
|
232
|
+
.arrange-text .link-btn { margin-left: 8px; }
|
|
219
233
|
.q-asof { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 11px; }
|
|
220
234
|
.q-asof .ic { width: 11px; height: 11px; }
|
|
221
235
|
.stat-act { align-self: flex-end; color: var(--accent); font-size: 12px; white-space: nowrap; }
|
|
222
|
-
.next-why { margin: 0 0
|
|
236
|
+
.next-why { margin: 0 0 12px; max-width: 280px; line-height: 1.5; }
|
|
223
237
|
.next-cmd { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; }
|
|
224
238
|
/* A Same Login (spec §3.21, ADR-0026): one row; opened, a short line per directory. */
|
|
225
239
|
.login-mark { display: inline-flex; flex: none; color: var(--muted); cursor: help; }
|
|
226
240
|
.login-mark .ic { width: 13px; height: 13px; }
|
|
227
241
|
.login-detail { flex-direction: column; gap: 8px; }
|
|
228
242
|
.login-detail .rd-note { margin: 0; }
|
|
229
|
-
.login-detail > .rd-browser { flex-direction: row; align-items: center; gap:
|
|
243
|
+
.login-detail > .rd-browser { flex-direction: row; align-items: center; gap: 16px; }
|
|
230
244
|
.login-detail > .rd-browser > .rd-label { flex: none; width: 68px; }
|
|
231
245
|
/* The directories share one set of columns (subgrid), so a wider cell in one line moves every line alike. */
|
|
232
|
-
.login-dirs { display: grid; grid-template-columns: minmax(120px, 1fr) auto var(--l-w) minmax(0, 1.4fr) auto auto auto auto; column-gap:
|
|
233
|
-
.login-dir { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; padding:
|
|
246
|
+
.login-dirs { display: grid; grid-template-columns: minmax(120px, 1fr) auto var(--l-w) minmax(0, 1.4fr) auto auto auto auto; column-gap: 16px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
|
|
247
|
+
.login-dir { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; padding: 8px 8px 8px 12px; }
|
|
234
248
|
.login-dir > * { justify-self: start; min-width: 0; }
|
|
235
249
|
.login-dir + .login-dir { border-top: 1px solid var(--border); }
|
|
236
|
-
.login-dir .ld-name { display: flex; align-items: center; gap:
|
|
237
|
-
.login-dir .ld-name .name { font-weight:
|
|
250
|
+
.login-dir .ld-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
|
|
251
|
+
.login-dir .ld-name .name { font-weight: 600; }
|
|
238
252
|
.login-dir .usage { justify-content: flex-start; }
|
|
239
253
|
.login-dir .btn .ic { width: 13px; height: 13px; }
|
|
240
254
|
/* The arrange mode (spec §3.25): a bar over the list, short rows, grips, up and down, pin. Drag only here. */
|
|
241
|
-
.arrange-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; padding: 8px
|
|
255
|
+
.arrange-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; padding: 8px 12px 8px 16px; border: 1px solid var(--primary-border); border-radius: var(--radius-xl); background: var(--accent-soft); color: var(--text); }
|
|
242
256
|
.arrange-text { display: inline-flex; align-items: center; gap: 8px; }
|
|
243
257
|
.arrange-text .ic { width: 14px; height: 14px; color: var(--accent); }
|
|
244
258
|
.arrange-actions { display: inline-flex; align-items: center; gap: 12px; }
|
|
245
|
-
.row.row-arrange { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding:
|
|
259
|
+
.row.row-arrange { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px 8px 8px; }
|
|
246
260
|
.row-arrange .ident { flex: 1; }
|
|
247
261
|
.row-arrange.is-pinned { background: color-mix(in srgb, var(--accent-soft) 60%, transparent); }
|
|
248
|
-
.arrange-tools { display: inline-flex; align-items: center; gap:
|
|
262
|
+
.arrange-tools { display: inline-flex; align-items: center; gap: 4px; }
|
|
249
263
|
.arrange-tools .icon-btn { width: 28px; height: 28px; }
|
|
250
264
|
.arrange-tools .icon-btn .ic { width: 14px; height: 14px; }
|
|
251
265
|
/* One width for "Pin to top" and "Unpin", so the arrows line up down the list. */
|
|
252
|
-
.arrange-tools .pin-btn { min-width: 96px; margin-left:
|
|
266
|
+
.arrange-tools .pin-btn { min-width: 96px; margin-left: 8px; justify-content: center; }
|
|
253
267
|
.pin-btn[aria-disabled="true"] { color: var(--faint); cursor: not-allowed; }
|
|
254
268
|
.drag-handle { width: 20px; height: 28px; color: var(--muted); cursor: grab; }
|
|
255
269
|
.drag-handle:hover { color: var(--accent); }
|
|
@@ -259,9 +273,9 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
|
|
|
259
273
|
.is-dragging { opacity: .45; }
|
|
260
274
|
.drop-before { box-shadow: inset 0 2px 0 var(--accent); }
|
|
261
275
|
.drop-after { box-shadow: inset 0 -2px 0 var(--accent); }
|
|
262
|
-
.menu-head { padding:
|
|
276
|
+
.menu-head { padding: 8px 12px 4px; color: var(--muted); font-size: 11px; font-weight: 600; }
|
|
263
277
|
/* The arrow at a row's start opens and closes its details; so does a click anywhere else in the row. */
|
|
264
|
-
.row-toggle { width: 28px; height: 28px; margin: -4px -
|
|
278
|
+
.row-toggle { width: 28px; height: 28px; margin: -4px -8px -4px -8px; }
|
|
265
279
|
.fold-hit { cursor: pointer; }
|
|
266
280
|
.fold-hit .row-detail { cursor: auto; }
|
|
267
281
|
.fold-hit:hover .row-toggle { background: var(--hover); color: var(--text); }
|
|
@@ -270,19 +284,19 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
|
|
|
270
284
|
.fold-hit:hover .row-toggle[aria-expanded=true] { background: var(--hover); color: var(--text); }
|
|
271
285
|
/* 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,
|
|
272
286
|
less its 14px of negative margins), 10px, the 26px mark, 10px and the pin's 18px. */
|
|
273
|
-
.row-detail { grid-area: detail; display: flex; flex-wrap: wrap; gap:
|
|
287
|
+
.row-detail { grid-area: detail; display: flex; flex-wrap: wrap; gap: 12px 36px; margin: 12px 0 4px calc(var(--ctl-h-sm) + 50px); padding-top: 12px; border-top: 1px dashed var(--border); cursor: default; }
|
|
274
288
|
.rd-item { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
|
|
275
289
|
/* An open account's details sit in one bordered panel under the name: four cells side by side (how it runs, its web
|
|
276
290
|
sign-in, tokens, health), each a label above its value, with the same widths in every row. Without browser
|
|
277
291
|
sign-ins (rd-nobr) there are three. Medium and narrow widths make it two by two; phones put one detail on each line,
|
|
278
292
|
its label in front. */
|
|
279
|
-
.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(--
|
|
293
|
+
.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(--radius-md); background: var(--surface-2); }
|
|
280
294
|
.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"; }
|
|
281
|
-
.row-detail:not(.login-detail) > .rd-item { display: flex; flex-direction: column; gap:
|
|
295
|
+
.row-detail:not(.login-detail) > .rd-item { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 12px 16px; }
|
|
282
296
|
.row-detail > .rd-run { grid-area: run; } .row-detail > .rd-browser { grid-area: br; }
|
|
283
297
|
.row-detail > .rd-usage { grid-area: use; } .row-detail > .rd-health { grid-area: hl; }
|
|
284
298
|
.row-detail:not(.login-detail) > .rd-item:not(.rd-run) { border-left: 1px solid var(--border); }
|
|
285
|
-
.row-detail .rd-val, .row-detail:not(.login-detail) .br-line { min-width: 0; min-height: 22px; display: flex; align-items: center; gap: 4px
|
|
299
|
+
.row-detail .rd-val, .row-detail:not(.login-detail) .br-line { min-width: 0; min-height: 22px; display: flex; align-items: center; gap: 4px 12px; }
|
|
286
300
|
.row-detail:not(.login-detail) .br-line { flex-wrap: nowrap; }
|
|
287
301
|
.row-detail:not(.login-detail) .br-line > * { flex: none; }
|
|
288
302
|
/* A long email shortens itself rather than push "Change" out; its tooltip and the browser dialog have it whole. */
|
|
@@ -302,31 +316,34 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
|
|
|
302
316
|
:where(:root[data-width=phone]) .row-detail:not(.login-detail) > .rd-item > .rd-label { flex: none; width: 96px; }
|
|
303
317
|
:where(:root[data-width=phone]) .row-detail:not(.login-detail) > .rd-item > :not(.rd-label) { flex: 1; }
|
|
304
318
|
:where(:root[data-width=phone]) .row-detail:not(.login-detail) .br-line { flex-wrap: wrap; }
|
|
305
|
-
:where(:root[data-width=phone]) .row-detail:not(.login-detail) .usage { flex-wrap: wrap; row-gap:
|
|
306
|
-
.rd-label { color: var(--faint); font-size:
|
|
319
|
+
:where(:root[data-width=phone]) .row-detail:not(.login-detail) .usage { flex-wrap: wrap; row-gap: 4px; }
|
|
320
|
+
.rd-label { color: var(--faint); font-size: 12px; font-weight: 600; white-space: nowrap; }
|
|
307
321
|
.rd-note { color: var(--muted); font-size: 12px; }
|
|
308
322
|
.row-detail .ident-sub { margin-top: 0; }
|
|
309
323
|
.att-dot { flex: none; }
|
|
310
|
-
.col-head { position: sticky; top: 0; z-index: 2; padding:
|
|
324
|
+
.col-head { position: sticky; top: 0; z-index: 2; padding: 8px 12px 8px 16px; border-top: 1px solid var(--border); background: var(--surface); color: var(--faint); font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
|
|
311
325
|
.col-head > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
312
326
|
.col-head .quota > span { overflow: hidden; text-overflow: ellipsis; }
|
|
313
|
-
.ident { grid-area: id; display: flex; align-items: center; gap:
|
|
314
|
-
.ident-text { min-width: 0; flex: 1; position: relative; padding-left:
|
|
327
|
+
.ident { grid-area: id; display: flex; align-items: center; gap: 12px; min-width: 0; }
|
|
328
|
+
.ident-text { min-width: 0; flex: 1; position: relative; padding-left: 20px; }
|
|
315
329
|
/* The pin sits in the text column's own gutter, so the name and the email below it start at the same place. */
|
|
316
330
|
.ident-text .pin-slot, .ident-text .pin-mark { position: absolute; left: 0; top: 2px; margin: 0; }
|
|
317
|
-
.ident-name { display: flex; align-items: center; gap:
|
|
318
|
-
.ident-name .name { font-weight:
|
|
331
|
+
.ident-name { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; row-gap: 4px; }
|
|
332
|
+
.ident-name .name { font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
|
|
319
333
|
.ident-name .alias { color: var(--muted); font-family: var(--mono); font-size: 12px; white-space: nowrap; }
|
|
320
|
-
|
|
321
|
-
.
|
|
334
|
+
/* Every short command of an Account, in one line that ends in an ellipsis when a card is too narrow. */
|
|
335
|
+
.ident-name .aliases { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-family: var(--mono); font-size: 12px; }
|
|
336
|
+
.ident-name .aliases .alias + .alias { margin-left: 8px; }
|
|
337
|
+
.ident-email { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 0; }
|
|
338
|
+
.email-btn, .model-btn { all: unset; cursor: pointer; border-radius: var(--radius-sm); }
|
|
322
339
|
.model-btn:hover { color: var(--text); text-decoration: underline dotted; }
|
|
323
340
|
.model-btn:focus-visible { outline: var(--focus-outline); outline-offset: 2px; }
|
|
324
341
|
.model-set { color: var(--accent); }
|
|
325
342
|
.md-now { display: flex; flex-direction: column; gap: 4px; }
|
|
326
|
-
.br-line { display: flex; align-items: center; flex-wrap: wrap; gap: 4px
|
|
327
|
-
.br-acts { display: flex; align-items: center; gap:
|
|
328
|
-
.br-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap:
|
|
329
|
-
.br-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding:
|
|
343
|
+
.br-line { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; min-width: 0; }
|
|
344
|
+
.br-acts { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
|
|
345
|
+
.br-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
|
|
346
|
+
.br-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); }
|
|
330
347
|
.email-btn:hover { color: var(--text); text-decoration: underline dotted; }
|
|
331
348
|
/* A button is laid out as one box, so the parent's ellipsis does not reach its text: it ends its own. */
|
|
332
349
|
.ident-email .email-btn { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
|
|
@@ -339,16 +356,16 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
|
|
|
339
356
|
.ident-email + .ident-sub { color: var(--faint); margin-top: 0; }
|
|
340
357
|
.tools .tb-icon { width: var(--ctl-h); height: var(--ctl-h); border-color: var(--border-strong); background: var(--surface); }
|
|
341
358
|
.tools .tb-icon:hover { background: var(--hover); }
|
|
342
|
-
.tools .tb-icon[aria-pressed=true] { background: var(--
|
|
343
|
-
.display-panel { display: flex; flex-direction: column; gap:
|
|
359
|
+
.tools .tb-icon[aria-pressed=true] { background: var(--selected); color: var(--brand); }
|
|
360
|
+
.display-panel { display: flex; flex-direction: column; gap: 12px; min-width: 240px; }
|
|
344
361
|
.dp-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
|
|
345
|
-
.dp-label { color: var(--muted); font-size:
|
|
346
|
-
.dp-check { justify-content: flex-start; gap: 8px; cursor: pointer; font-size:
|
|
347
|
-
.ident-sub { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top:
|
|
362
|
+
.dp-label { color: var(--muted); font-size: 12px; }
|
|
363
|
+
.dp-check { justify-content: flex-start; gap: 8px; cursor: pointer; font-size: 12px; }
|
|
364
|
+
.ident-sub { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 0; }
|
|
348
365
|
.plan { text-transform: capitalize; }
|
|
349
366
|
.row > .quota { grid-area: quota; }
|
|
350
367
|
.row > .last { grid-area: last; }
|
|
351
|
-
.ident-meta { display: flex; align-items: baseline; gap:
|
|
368
|
+
.ident-meta { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
|
|
352
369
|
.ident-meta > :first-child { min-width: 0; }
|
|
353
370
|
.last-inline { display: none; }
|
|
354
371
|
.row > .row-end { grid-area: more; display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
|
|
@@ -357,60 +374,60 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
|
|
|
357
374
|
.row-run:hover { color: var(--accent); }
|
|
358
375
|
.row-run.is-off, .row-run.is-off:hover { color: var(--faint); background: transparent; cursor: not-allowed; }
|
|
359
376
|
.row-desk.is-open { color: var(--accent); }
|
|
360
|
-
.card-head > .row-end { display: flex; align-items: center; gap:
|
|
377
|
+
.card-head > .row-end { display: flex; align-items: center; gap: 4px; margin-left: auto; }
|
|
361
378
|
/* A pinned row's mark (spec §3.25, §3.27): a small muted outline pin right before the name, not a button. */
|
|
362
|
-
.pin-mark { display: inline-flex; flex: none; margin-right: -
|
|
379
|
+
.pin-mark { display: inline-flex; flex: none; margin-right: -4px; color: var(--faint); }
|
|
363
380
|
.pin-mark .ic { width: 12px; height: 12px; }
|
|
364
381
|
/* The pin before the name (spec §3.27): always there when pinned; a fainter one on hover or focus in the row
|
|
365
382
|
otherwise. The slot keeps its width either way, so the name never moves. */
|
|
366
|
-
.pin-slot { display: inline-grid; place-items: center; flex: none; width: 16px; height: 16px; margin: 0 -4px 0 -
|
|
383
|
+
.pin-slot { display: inline-grid; place-items: center; flex: none; width: 16px; height: 16px; margin: 0 -4px 0 -4px; padding: 0; border: 0; border-radius: var(--radius-sm); background: none; color: var(--faint); cursor: pointer; opacity: 0; }
|
|
367
384
|
.pin-slot .ic { width: 12px; height: 12px; }
|
|
368
385
|
.pin-slot.is-on { opacity: 1; }
|
|
369
386
|
.row:hover .pin-slot:not(.is-on), .row:focus-within .pin-slot:not(.is-on), .card:hover .pin-slot:not(.is-on), .card:focus-within .pin-slot:not(.is-on) { opacity: .5; }
|
|
370
387
|
.pin-slot:hover, .pin-slot:focus-visible { opacity: 1 !important; color: var(--accent); background: var(--hover); outline: none; }
|
|
371
388
|
.ctx-anchor { position: fixed; width: 0; height: 0; pointer-events: none; }
|
|
372
|
-
.row-notes { grid-area: notes; display: flex; flex-direction: column; gap:
|
|
389
|
+
.row-notes { grid-area: notes; display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
|
|
373
390
|
|
|
374
391
|
/* Quota meters: percent and countdown over a bar colored by level (ok, warn at 60%, fail at 85% used). */
|
|
375
392
|
.quota { display: grid; grid-template-columns: repeat(var(--qr, var(--qn)), minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 4px; min-width: 0; }
|
|
376
393
|
.row > .quota { grid-template-columns: repeat(var(--qn), var(--q-w)); }
|
|
377
394
|
.meter { min-width: 0; }
|
|
378
395
|
/* The countdown never ends in an ellipsis: where the line is too short it wraps to a line of its own, at the right. */
|
|
379
|
-
.m-top { display: flex; flex-wrap: wrap; align-items: baseline; gap:
|
|
380
|
-
.m-label { color: var(--muted); font-weight:
|
|
381
|
-
.m-pct { font-weight:
|
|
382
|
-
.m-unit { color: var(--faint); font-weight: 400; font-size:
|
|
383
|
-
.m-reset { margin-left: auto; color: var(--faint); font-size:
|
|
396
|
+
.m-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 12px; line-height: 1.35; white-space: nowrap; min-width: 0; }
|
|
397
|
+
.m-label { color: var(--muted); font-weight: 600; }
|
|
398
|
+
.m-pct { font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; }
|
|
399
|
+
.m-unit { color: var(--faint); font-weight: 400; font-size: 12px; }
|
|
400
|
+
.m-reset { margin-left: auto; color: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; }
|
|
384
401
|
.m-passed { color: var(--muted); }
|
|
385
402
|
.m-none { color: var(--faint); }
|
|
386
|
-
.bar { height: 6px; border-radius:
|
|
387
|
-
.bar > span { display: block; height: 100%; min-width: 0; border-radius: inherit; background: var(--ok-bar); transition: width
|
|
403
|
+
.bar { height: 6px; border-radius: var(--radius-pill); background: var(--track); overflow: hidden; margin-top: 4px; }
|
|
404
|
+
.bar > span { display: block; height: 100%; min-width: 0; border-radius: inherit; background: var(--ok-bar); transition: width var(--duration-slow) var(--ease-out); }
|
|
388
405
|
.lvl-warn .bar > span { background: var(--warn-bar); } .lvl-warn .m-pct { color: var(--warn); }
|
|
389
406
|
.lvl-fail .bar > span { background: var(--fail-bar); } .lvl-fail .m-pct { color: var(--fail); }
|
|
390
407
|
.lvl-reset .m-pct { color: var(--muted); }
|
|
391
|
-
.q-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size:
|
|
392
|
-
.link-btn { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight:
|
|
393
|
-
.link-btn.small { font-size:
|
|
408
|
+
.q-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
|
|
409
|
+
.link-btn { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; }
|
|
410
|
+
.link-btn.small { font-size: 12px; }
|
|
394
411
|
.link-btn:hover:not(:disabled) { text-decoration: underline; }
|
|
395
412
|
.link-btn:disabled { color: var(--faint); cursor: not-allowed; }
|
|
396
413
|
.foot .link-btn { color: inherit; font-weight: inherit; }
|
|
397
414
|
.update-btn { border-color: var(--accent); color: var(--accent); }
|
|
398
|
-
.link-btn:focus-visible { outline: var(--focus-outline); outline-offset: 2px; border-radius:
|
|
415
|
+
.link-btn:focus-visible { outline: var(--focus-outline); outline-offset: 2px; border-radius: var(--radius-sm); }
|
|
399
416
|
|
|
400
417
|
/* Usage: total over cache hits, with the 7 day bars beside both lines. In the wide list the bars sit at the column's
|
|
401
418
|
right edge, so they line up down the column whatever the totals. */
|
|
402
419
|
.usage { display: flex; align-items: center; gap: 12px; min-width: 0; }
|
|
403
420
|
.rows .usage { justify-content: space-between; }
|
|
404
|
-
.u-text { display: flex; flex-direction: column; gap:
|
|
405
|
-
.u-num { font-weight:
|
|
421
|
+
.u-text { display: flex; flex-direction: column; gap: 0; min-width: 0; }
|
|
422
|
+
.u-num { font-weight: 600; font-size: 13px; line-height: 1.3; white-space: nowrap; font-variant-numeric: tabular-nums; }
|
|
406
423
|
.u-unit { color: var(--faint); font-weight: 400; font-size: 12px; }
|
|
407
424
|
.rows .u-unit { display: none; }
|
|
408
|
-
.u-sub, .u-note { color: var(--faint); font-size:
|
|
409
|
-
.u-note { font-size:
|
|
425
|
+
.u-sub, .u-note { color: var(--faint); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
426
|
+
.u-note { font-size: 12px; color: var(--muted); white-space: normal; }
|
|
410
427
|
/* One slot per day, bars grow from a shared baseline; past days are a tint of the accent, today is the accent. */
|
|
411
|
-
.spark { display: inline-flex; align-items: flex-end; gap:
|
|
428
|
+
.spark { display: inline-flex; align-items: flex-end; gap: 4px; height: 26px; flex: none; }
|
|
412
429
|
.spark i { display: flex; align-items: flex-end; width: 5px; height: 100%; }
|
|
413
|
-
.spark b { display: block; width: 100%; min-height: 4px; border-radius:
|
|
430
|
+
.spark b { display: block; width: 100%; min-height: 4px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--accent) 32%, var(--surface)); transition: background-color var(--duration-fast); }
|
|
414
431
|
.spark i.zero b { height: 2px; min-height: 0; background: color-mix(in srgb, var(--faint) 30%, transparent); }
|
|
415
432
|
.spark i.today b { background: var(--accent); }
|
|
416
433
|
.spark i:not(.zero):hover b { background: color-mix(in srgb, var(--accent) 70%, var(--surface)); }
|
|
@@ -423,63 +440,63 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
|
|
|
423
440
|
}
|
|
424
441
|
.spark-lg { height: 36px; gap: 4px; }
|
|
425
442
|
.spark-lg i { width: 7px; }
|
|
426
|
-
.spark-lg b { border-radius:
|
|
443
|
+
.spark-lg b { border-radius: var(--radius-sm); }
|
|
427
444
|
.last { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
428
|
-
.health { font-size:
|
|
445
|
+
.health { font-size: 12px; line-height: 20px; padding: 0 8px 0 8px; gap: 4px; max-width: 100%; }
|
|
429
446
|
.health .dot { width: 6px; height: 6px; }
|
|
430
447
|
|
|
431
448
|
/* In the wide list the column titles name the windows; elsewhere each meter carries its label. */
|
|
432
449
|
.rows .m-label, .rows .m-unit { display: none; }
|
|
433
450
|
|
|
434
451
|
/* Chips and badges */
|
|
435
|
-
.badge { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius:
|
|
452
|
+
.badge { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: var(--radius-xl); color: var(--on-badge); font-weight: 600; font-size: 12px; letter-spacing: .02em; }
|
|
436
453
|
.badge-logo { background: var(--surface-2); border: 1px solid var(--border); color: var(--text); }
|
|
437
454
|
.badge svg { display: block; width: 20px; height: 20px; fill: currentColor; }
|
|
438
|
-
.badge-sm { width: 26px; height: 26px; border-radius:
|
|
455
|
+
.badge-sm { width: 26px; height: 26px; border-radius: var(--radius-md); font-size: 11px; }
|
|
439
456
|
.badge-sm svg { width: 16px; height: 16px; }
|
|
440
457
|
.badge svg.ic { fill: none; stroke: currentColor; }
|
|
441
|
-
.badge-xs { width: 16px; height: 16px; border-radius:
|
|
458
|
+
.badge-xs { width: 16px; height: 16px; border-radius: var(--radius-sm); border: 0; background: none; }
|
|
442
459
|
.badge-xs svg { width: 13px; height: 13px; }
|
|
443
|
-
.chip { display: inline-flex; align-items: center; gap:
|
|
444
|
-
.chip-sm { font-size: 11px; line-height: 16px; padding: 0
|
|
445
|
-
.chip-btn { cursor: pointer; transition: filter
|
|
460
|
+
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 0 8px; border-radius: var(--radius-pill); background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); font: inherit; font-size: 12px; line-height: 20px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
|
|
461
|
+
.chip-sm { font-size: 11px; line-height: 16px; padding: 0 8px; }
|
|
462
|
+
.chip-btn { cursor: pointer; transition: filter var(--duration-fast), border-color var(--duration-fast); }
|
|
446
463
|
.chip-btn:hover { border-color: var(--border-strong); filter: brightness(.97); }
|
|
447
464
|
.chip-btn:focus-visible { outline: var(--focus-outline); outline-offset: 2px; box-shadow: var(--focus-ring); }
|
|
448
465
|
.chip-accent { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
|
|
449
466
|
.chip-ok { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
|
|
450
467
|
.chip-warn { background: var(--warn-soft); border-color: transparent; color: var(--warn); }
|
|
451
468
|
.chip-fail { background: var(--fail-soft); border-color: transparent; color: var(--fail); }
|
|
452
|
-
.chip .badge-xs { margin-left: -
|
|
469
|
+
.chip .badge-xs { margin-left: -4px; }
|
|
453
470
|
/* Tags next to a name: short command, API, signed out, host missing; one size for all. */
|
|
454
|
-
.tag { display: inline-flex; align-items: center; gap: 4px; height: 18px; padding: 0
|
|
471
|
+
.tag { display: inline-flex; align-items: center; gap: 4px; height: 18px; padding: 0 8px; border: 0; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--muted); font: inherit; font-size: 11px; font-weight: 600; line-height: 1; white-space: nowrap; }
|
|
455
472
|
.tag-alias { font-family: var(--mono); font-weight: 400; }
|
|
456
473
|
.tag-warn { background: var(--warn-soft); color: var(--warn); }
|
|
457
474
|
.tag-fail { background: var(--fail-soft); color: var(--fail); }
|
|
458
475
|
.tag-ok { background: var(--ok-soft); color: var(--ok); }
|
|
459
476
|
.tag .dot { width: 6px; height: 6px; }
|
|
460
|
-
.tag-btn { cursor: pointer; transition: filter
|
|
477
|
+
.tag-btn { cursor: pointer; transition: filter var(--duration-fast); }
|
|
461
478
|
.tag-btn:hover { filter: brightness(.96); }
|
|
462
479
|
.tag-btn:focus-visible { outline: var(--focus-outline); outline-offset: 2px; }
|
|
463
|
-
.group-wait { display: inline-flex; align-items: center; gap:
|
|
480
|
+
.group-wait { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
|
|
464
481
|
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; animation: pulse 1.4s ease-in-out infinite; }
|
|
465
482
|
@keyframes pulse { 50% { opacity: .3; } }
|
|
466
483
|
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); flex: none; }
|
|
467
484
|
.dot-ok { background: var(--ok-bar); } .dot-fail { background: var(--fail-bar); } .dot-warn { background: var(--warn-bar); }
|
|
468
|
-
.title-logo { display: flex; align-items: center; gap:
|
|
485
|
+
.title-logo { display: flex; align-items: center; gap: 8px; min-width: 0; }
|
|
469
486
|
|
|
470
487
|
/* Cards view */
|
|
471
488
|
/* Cards in a row share one height, so their foot lines and buttons line up; the foot sits at the bottom. */
|
|
472
489
|
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
|
|
473
|
-
.panel, .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
|
|
474
|
-
.panel { padding:
|
|
490
|
+
.panel, .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
|
|
491
|
+
.panel { padding: 20px; }
|
|
475
492
|
/* 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
|
|
476
493
|
who it is and when it was last used, how it runs, its quota (label and percent, bar, reset, one under the other, so
|
|
477
494
|
two windows line up), its Chrome sign-in as one line, and a foot with tokens and the row's own buttons. */
|
|
478
|
-
.card { padding:
|
|
495
|
+
.card { padding: 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
|
|
479
496
|
.m-short { display: none; }
|
|
480
497
|
.card .m-full { display: none; } .card .m-short { display: inline; }
|
|
481
498
|
/* Who and how it runs are one quiet block under the name; the run line is small, as it is reference only. */
|
|
482
|
-
.card .ident-sub { font-size:
|
|
499
|
+
.card .ident-sub { font-size: 12px; color: var(--faint); }
|
|
483
500
|
.card-error { border-color: var(--fail); }
|
|
484
501
|
.card-head { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; }
|
|
485
502
|
/* 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
|
|
@@ -491,15 +508,15 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
|
|
|
491
508
|
.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); }
|
|
492
509
|
.card-head > .ident-name { flex: 1; min-width: 0; flex-wrap: nowrap; }
|
|
493
510
|
.card-head > .row-end { margin-left: auto; }
|
|
494
|
-
.card-id { display: flex; flex-direction: column; gap:
|
|
511
|
+
.card-id { display: flex; flex-direction: column; gap: 4px; margin-top: -8px; min-width: 0; }
|
|
495
512
|
/* A Same Login card names its other directories under who it is. */
|
|
496
|
-
.card-dirs { display: flex; flex-wrap: wrap; align-items: center; gap:
|
|
497
|
-
.card-dirs .tag-dir { gap:
|
|
513
|
+
.card-dirs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; color: var(--muted); font-size: 12px; }
|
|
514
|
+
.card-dirs .tag-dir { gap: 8px; color: var(--text); }
|
|
498
515
|
.card-dirs .tag-dir .alias { color: var(--muted); font-family: var(--mono); font-weight: 400; }
|
|
499
|
-
.card .last-inline { display: flex; flex: none; gap:
|
|
516
|
+
.card .last-inline { display: flex; flex: none; gap: 8px; color: var(--muted); font-size: 12px; white-space: nowrap; margin-top: 0; }
|
|
500
517
|
.card .last-inline::before { content: "·"; color: var(--faint); }
|
|
501
518
|
.card .quota { gap: 12px 24px; }
|
|
502
|
-
.card .meter { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap:
|
|
519
|
+
.card .meter { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 8px; row-gap: 4px; }
|
|
503
520
|
.card .m-top { display: contents; }
|
|
504
521
|
.card .m-label { grid-area: 1 / 1; white-space: nowrap; }
|
|
505
522
|
.card .m-pct { grid-area: 1 / 2; white-space: nowrap; }
|
|
@@ -510,23 +527,23 @@ code, .mono { font-family: var(--mono); font-size: 0.92em; }
|
|
|
510
527
|
.card-br > .br-btn { flex: 0 1 auto; color: var(--accent); }
|
|
511
528
|
.card-br > :not(.br-btn) { flex: none; }
|
|
512
529
|
.br-none { display: inline-flex; align-items: center; gap: 4px; color: var(--faint); font-size: 12px; }
|
|
513
|
-
.card-foot { display: flex; align-items: center; justify-content: space-between; gap:
|
|
514
|
-
.card-side { display: flex; align-items: center; gap:
|
|
530
|
+
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); padding-top: 16px; margin-top: auto; min-width: 0; }
|
|
531
|
+
.card-side { display: flex; align-items: center; gap: 4px; flex: none; }
|
|
515
532
|
.card .row-notes { margin: 0; }
|
|
516
533
|
|
|
517
534
|
/* Buttons: .btn is the secondary (outlined) variant; .btn-primary is the one main action of a block; .btn-ghost is a
|
|
518
535
|
quiet action such as Close. Two sizes: default (--ctl-h) for block actions, .btn-sm (--ctl-h-sm) inside cards, notes
|
|
519
536
|
and banners. .icon-btn is a square ghost button for icons. */
|
|
520
|
-
.btn { display: inline-flex; align-items: center; justify-content: center; gap:
|
|
537
|
+
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--ctl-h); padding: 0 16px; border-radius: var(--radius-md); border: 1px solid var(--border-strong); background: var(--surface); color: var(--btn-text); font: inherit; font-size: 13px; font-weight: 500; line-height: 1; cursor: pointer; white-space: nowrap; text-decoration: none; user-select: none; transition: background-color var(--duration-fast), border-color var(--duration-fast), color var(--duration-fast); }
|
|
521
538
|
a.btn:hover { text-decoration: none; }
|
|
522
539
|
.btn:hover:not(:disabled) { background: var(--hover); border-color: var(--btn-hover-border); color: var(--btn-hover-text); }
|
|
523
540
|
.btn:active:not(:disabled) { background: var(--active); }
|
|
524
|
-
.btn-primary { background: var(--primary); border-color: var(--primary-border); color: var(--on-primary); font-weight:
|
|
541
|
+
.btn-primary { background: var(--primary); border-color: var(--primary-border); color: var(--on-primary); font-weight: 500; border-radius: var(--radius-pill); }
|
|
525
542
|
.btn-primary:hover:not(:disabled) { background: var(--primary-hover); border-color: var(--primary-hover-border); color: var(--on-primary); }
|
|
526
543
|
.btn-primary:active:not(:disabled) { background: var(--primary-active); border-color: var(--primary-hover-border); }
|
|
527
544
|
.btn-ghost { border-color: transparent; background: transparent; color: var(--muted); }
|
|
528
545
|
.btn-ghost:hover:not(:disabled) { border-color: transparent; color: var(--text); }
|
|
529
|
-
.btn-sm { height: var(--ctl-h-sm); padding: 0
|
|
546
|
+
.btn-sm { height: var(--ctl-h-sm); padding: 0 12px; font-size: 12px; }
|
|
530
547
|
.btn svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
|
531
548
|
.btn:disabled { background: var(--surface-2); border-color: var(--border); color: var(--faint); cursor: not-allowed; }
|
|
532
549
|
.btn-ghost:disabled { background: transparent; border-color: transparent; }
|
|
@@ -536,49 +553,49 @@ a.btn:hover { text-decoration: none; }
|
|
|
536
553
|
.btn[aria-busy=true]:disabled { cursor: progress; color: var(--muted); }
|
|
537
554
|
.btn-primary[aria-busy=true]:disabled { background: var(--primary); border-color: var(--primary-border); color: var(--on-primary); opacity: .85; }
|
|
538
555
|
.is-spinning svg { animation: spin .8s linear infinite; }
|
|
539
|
-
.icon-btn { display: inline-grid; place-items: center; width: var(--ctl-h-sm); height: var(--ctl-h-sm); padding: 0; border: 1px solid transparent; border-radius: var(--
|
|
556
|
+
.icon-btn { display: inline-grid; place-items: center; width: var(--ctl-h-sm); height: var(--ctl-h-sm); padding: 0; border: 1px solid transparent; border-radius: var(--radius-md); background: transparent; color: var(--muted); cursor: pointer; font: inherit; }
|
|
540
557
|
.icon-btn:hover:not(:disabled), .icon-btn[aria-expanded=true] { background: var(--hover); color: var(--text); }
|
|
541
558
|
.more .ic { stroke-width: 3.2; width: 17px; height: 17px; }
|
|
542
559
|
.icon-btn:disabled { color: var(--faint); cursor: not-allowed; }
|
|
543
560
|
.top-actions .icon-btn { width: var(--ctl-h); height: var(--ctl-h); border-color: var(--border-strong); background: var(--surface); }
|
|
544
561
|
.top-actions .icon-btn:hover { background: var(--hover); }
|
|
545
562
|
.repo-link svg { width: 17px; height: 17px; fill: currentColor; }
|
|
546
|
-
.btn:focus-visible, .icon-btn:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible, .stat-btn:focus-visible { outline: var(--focus-outline); outline-offset: 2px; box-shadow: var(--focus-ring); }
|
|
563
|
+
.btn:focus-visible, .icon-btn:focus-visible, input:focus-visible, :where(.select-btn):focus-visible, a:focus-visible, .stat-btn:focus-visible { outline: var(--focus-outline); outline-offset: 2px; box-shadow: var(--focus-ring); }
|
|
547
564
|
.btn:focus-visible { border-color: var(--focus); }
|
|
548
|
-
.note a, .banner a { color: inherit; text-decoration: underline; text-underline-offset: 2px; font-weight:
|
|
565
|
+
.note a, .banner a { color: inherit; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
|
|
549
566
|
|
|
550
567
|
/* Notes and banners */
|
|
551
|
-
.note { background: var(--surface-2); border-radius:
|
|
568
|
+
.note { background: var(--surface-2); border-radius: var(--radius-sm); padding: 8px 12px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
|
|
552
569
|
.note b { color: inherit; }
|
|
553
570
|
.note-read .read-why { overflow-wrap: anywhere; }
|
|
554
571
|
.note-fail { background: var(--fail-soft); color: var(--fail); }
|
|
555
572
|
.note-warn { background: var(--warn-soft); color: var(--warn); }
|
|
556
573
|
/* A note in two lines: what is wrong, then the command to run (with its copy button and the install page). */
|
|
557
574
|
.note-line { flex-basis: 100%; min-width: 0; overflow-wrap: anywhere; }
|
|
558
|
-
.note-cmd { display: flex; flex-wrap: wrap; align-items: center; gap:
|
|
575
|
+
.note-cmd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
|
|
559
576
|
.error-note { justify-content: space-between; gap: 12px; }
|
|
560
577
|
.error-note > span { min-width: 0; overflow-wrap: anywhere; }
|
|
561
578
|
.error-note > .note-sub { flex-basis: 100%; color: var(--text); }
|
|
562
|
-
.banner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; padding:
|
|
579
|
+
.banner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: var(--radius-lg); margin-bottom: 12px; border: 1px solid var(--border); background: var(--surface); }
|
|
563
580
|
.banner > div { min-width: 0; }
|
|
564
581
|
/* The text takes the room; buttons that no longer fit beside it move below it instead of squeezing it. */
|
|
565
582
|
.banner > div:not(.banner-actions) { flex: 1 1 260px; }
|
|
566
|
-
.banner-quiet { padding: 8px
|
|
583
|
+
.banner-quiet { padding: 8px 16px; background: transparent; border-style: dashed; }
|
|
567
584
|
.banner-fail { background: var(--fail-soft); border-color: transparent; color: var(--fail); }
|
|
568
585
|
.banner-warn { background: var(--warn-soft); border-color: transparent; color: var(--warn); }
|
|
569
|
-
.banner ul { margin:
|
|
570
|
-
.net-countries { display: flex; flex-wrap: wrap; gap:
|
|
571
|
-
.net-cty { display: inline-flex; align-items: center; gap: 4px; height: var(--ctl-h-sm); padding: 0
|
|
586
|
+
.banner ul { margin: 8px 0 0; padding-left: 20px; }
|
|
587
|
+
.net-countries { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
|
|
588
|
+
.net-cty { display: inline-flex; align-items: center; gap: 4px; height: var(--ctl-h-sm); padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); background: var(--surface); color: var(--text); font: inherit; font-size: 13px; cursor: pointer; transition: background-color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out); }
|
|
572
589
|
.net-cty:hover { background: var(--hover); }
|
|
573
|
-
.net-cty[aria-pressed=true] { background: var(--
|
|
574
|
-
.net-cty .chip { margin-left:
|
|
590
|
+
.net-cty[aria-pressed=true] { background: var(--selected); border-color: transparent; color: var(--brand); font-weight: 500; }
|
|
591
|
+
.net-cty .chip { margin-left: 4px; }
|
|
575
592
|
@media (prefers-reduced-motion: reduce) { .net-cty { transition: none; } }
|
|
576
|
-
.rc-list { list-style: none; margin:
|
|
577
|
-
.rc-row { padding: 8px
|
|
593
|
+
.rc-list { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 8px; }
|
|
594
|
+
.rc-row { padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-lg); display: grid; gap: 4px; }
|
|
578
595
|
.rc-row code { word-break: break-all; }
|
|
579
596
|
.banner-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 1 auto; }
|
|
580
597
|
.hp-rules { list-style: none; margin: 0; padding: 0; counter-reset: hp-rule; display: flex; flex-direction: column; }
|
|
581
|
-
.hp-rules > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; padding:
|
|
598
|
+
.hp-rules > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
|
|
582
599
|
.hp-rules > li:last-child { border-bottom: 0; }
|
|
583
600
|
.hp-rule-text::before { counter-increment: hp-rule; content: counter(hp-rule) '. '; color: var(--muted); font-variant-numeric: tabular-nums; }
|
|
584
601
|
.hp-rule-ctl { display: flex; align-items: center; gap: 8px; justify-self: end; }
|
|
@@ -586,19 +603,19 @@ a.btn:hover { text-decoration: none; }
|
|
|
586
603
|
.hp-rule-below { grid-column: 1 / -1; margin-top: 8px; }
|
|
587
604
|
.hp-rule-sub { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
|
|
588
605
|
.hp-rules .seg { height: var(--ctl-h-sm); }
|
|
589
|
-
.hp-rules .seg-btn[aria-pressed=true] { background: var(--
|
|
606
|
+
.hp-rules .seg-btn[aria-pressed=true] { background: var(--selected); color: var(--brand); }
|
|
590
607
|
.hp-on-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
|
|
591
608
|
.hp-on-row > p { margin: 0; }
|
|
592
609
|
.hp-ai-order { margin: 0; }
|
|
593
610
|
.hp-ai-order li .title-logo { min-width: 150px; }
|
|
594
|
-
.ah-cross { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap:
|
|
611
|
+
.ah-cross { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px 12px; }
|
|
595
612
|
.ah-fam > summary { cursor: pointer; }
|
|
596
613
|
.hp-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
|
|
597
614
|
.hp-steps li { display: flex; gap: 8px; }
|
|
598
615
|
.hp-steps li::before { content: '•'; color: var(--muted); }
|
|
599
616
|
.hp-steps li > div { flex: 1; min-width: 0; }
|
|
600
617
|
.hp-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
|
|
601
|
-
.hp-rows li { display: grid; grid-template-columns: minmax(0, 16rem) 7rem minmax(0, 1fr); align-items: center; column-gap:
|
|
618
|
+
.hp-rows li { display: grid; grid-template-columns: minmax(0, 16rem) 7rem minmax(0, 1fr); align-items: center; column-gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--border); }
|
|
602
619
|
.hp-rows li:last-child { border-bottom: 0; }
|
|
603
620
|
.hp-rows .num { font-variant-numeric: tabular-nums; }
|
|
604
621
|
.hp-rows li > .num { text-align: end; }
|
|
@@ -608,7 +625,7 @@ a.btn:hover { text-decoration: none; }
|
|
|
608
625
|
#handoff-page > h3 { margin-top: 28px; }
|
|
609
626
|
#handoff-page > h3 + * { margin-top: 8px; }
|
|
610
627
|
:where(:root[data-width=narrow], :root[data-width=phone]) {
|
|
611
|
-
.hp-rows li { grid-template-columns: minmax(0, 1fr) auto; row-gap:
|
|
628
|
+
.hp-rows li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
|
|
612
629
|
.hp-rows li > :last-child { grid-column: 1 / -1; }
|
|
613
630
|
.hp-rules > li { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
|
|
614
631
|
.hp-rule-ctl { justify-self: start; }
|
|
@@ -617,19 +634,19 @@ a.btn:hover { text-decoration: none; }
|
|
|
617
634
|
}
|
|
618
635
|
/* Sessions page (spec §3.32): one row per Live Session; a Session that needs the user gets the warning tint. */
|
|
619
636
|
#sessions-page > * + * { margin-top: 12px; }
|
|
620
|
-
.sess-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding:
|
|
621
|
-
.sess-row:first-child { border-top: 0; border-radius: var(--radius) var(--radius) 0 0; }
|
|
622
|
-
.sess-row:last-child { border-radius: 0 0 var(--radius) var(--radius); }
|
|
623
|
-
.sess-row:only-child { border-radius: var(--radius); }
|
|
637
|
+
.sess-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 12px 12px 12px 16px; border-top: 1px solid var(--border); transition: background-color var(--duration-fast); }
|
|
638
|
+
.sess-row:first-child { border-top: 0; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
|
|
639
|
+
.sess-row:last-child { border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
|
|
640
|
+
.sess-row:only-child { border-radius: var(--radius-xl); }
|
|
624
641
|
.sess-needs-you { background: var(--warn-soft); }
|
|
625
|
-
.sess-main { min-width: 0; display: flex; flex-direction: column; gap:
|
|
642
|
+
.sess-main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
|
|
626
643
|
.sess-label { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
|
|
627
644
|
.sess-label > * { flex: none; }
|
|
628
645
|
.sess-title { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
629
646
|
.sess-id { color: var(--muted); }
|
|
630
|
-
.sess-sub { display: flex; flex-wrap: wrap; align-items: center; gap:
|
|
631
|
-
.sess-status { display: inline-flex; align-items: center; gap:
|
|
632
|
-
.sess-needs-you .sess-status { color: var(--warn); font-weight:
|
|
647
|
+
.sess-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-width: 0; }
|
|
648
|
+
.sess-status { display: inline-flex; align-items: center; gap: 8px; }
|
|
649
|
+
.sess-needs-you .sess-status { color: var(--warn); font-weight: 600; }
|
|
633
650
|
.sess-needs-you .sess-dot { background: var(--warn-bar); box-shadow: 0 0 0 3px color-mix(in srgb, var(--warn-bar) 25%, transparent); }
|
|
634
651
|
.sess-busy .sess-dot { background: var(--ok-bar); animation: pulse 1.4s ease-in-out infinite; }
|
|
635
652
|
.sess-unknown .sess-dot { background: transparent; border: 1px solid var(--faint); }
|
|
@@ -637,188 +654,219 @@ a.btn:hover { text-decoration: none; }
|
|
|
637
654
|
.sess-guessed { cursor: help; }
|
|
638
655
|
.sess-run { flex: 0 1 auto; min-width: 0; max-width: 24em; }
|
|
639
656
|
.sess-run-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
640
|
-
.sess-run-more { flex: none; font-weight:
|
|
657
|
+
.sess-run-more { flex: none; font-weight: 600; }
|
|
641
658
|
.sess-age { white-space: nowrap; }
|
|
642
659
|
.sess-actions { display: flex; align-items: center; gap: 4px; }
|
|
643
|
-
.sess-copy { min-width: 8.5em; justify-content: center; transition: background-color
|
|
660
|
+
.sess-copy { min-width: 8.5em; justify-content: center; transition: background-color var(--duration-fast), border-color var(--duration-fast), color var(--duration-fast); }
|
|
644
661
|
.sess-copy.is-copied { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
|
|
645
662
|
.sess-copy .ic { width: 14px; height: 14px; }
|
|
646
|
-
.sess-copy-text { display: block; width: 100%; box-sizing: border-box; margin-top: 8px; padding: 8px; border: 1px solid var(--border); border-radius: var(--
|
|
663
|
+
.sess-copy-text { display: block; width: 100%; box-sizing: border-box; margin-top: 8px; padding: 8px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-2); color: var(--text); resize: none; }
|
|
647
664
|
.pop-sess-copy { width: min(440px, calc(100vw - 16px)); }
|
|
648
665
|
.sess-send .ic { width: 14px; height: 14px; }
|
|
649
|
-
.sess-msg { flex: none; animation: chip-in
|
|
650
|
-
.sess-msg-paste { display: inline-flex; align-items: center; gap:
|
|
666
|
+
.sess-msg { flex: none; animation: chip-in var(--duration-base) var(--ease-out); }
|
|
667
|
+
.sess-msg-paste { display: inline-flex; align-items: center; gap: 4px; border: 0; font: inherit; cursor: pointer; }
|
|
651
668
|
.sess-msg-paste .ic { width: 11px; height: 11px; transform: rotate(90deg); }
|
|
652
669
|
.sess-msg-paste:hover { filter: brightness(.96); }
|
|
653
670
|
@keyframes chip-in { from { opacity: 0; } to { opacity: 1; } }
|
|
654
|
-
.sess-row.flash { animation: flash-row
|
|
671
|
+
.sess-row.flash { animation: flash-row var(--duration-slow) var(--ease-in) backwards; animation-delay: 2.2s; }
|
|
655
672
|
/* Wide enough for every label it shows, so it keeps its size while sending. */
|
|
656
|
-
.seg-badge { display: inline-grid; place-items: center; min-width: 16px; height: 16px; margin-left:
|
|
673
|
+
.seg-badge { display: inline-grid; place-items: center; min-width: 16px; height: 16px; margin-left: 8px; padding: 0 4px; border-radius: var(--radius-lg); background: var(--warn-soft); color: var(--warn); font-size: 11px; font-weight: 600; line-height: 1; animation: chip-in var(--duration-base) var(--ease-out); }
|
|
657
674
|
.send-go { min-width: 8.5em; justify-content: center; }
|
|
658
675
|
.popover.pop-sess-paste { width: min(420px, calc(100vw - 24px)); }
|
|
659
676
|
.pop-actions { display: flex; justify-content: flex-end; }
|
|
660
677
|
/* "Send to it" (spec §3.32 step 2): the result and the line the user pastes into the target. */
|
|
661
678
|
.note-ok { background: var(--ok-soft); color: var(--ok); }
|
|
662
679
|
.note-ok .ic { flex: none; width: 16px; height: 16px; }
|
|
663
|
-
.send-line { display: grid; gap: 8px; padding:
|
|
680
|
+
.send-line { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-2); }
|
|
664
681
|
.send-line-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; color: var(--text); }
|
|
665
682
|
.send-line-actions { display: flex; flex-wrap: wrap; gap: 8px; }
|
|
666
683
|
.ah-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
|
|
667
|
-
.tune-model { border: 1px solid var(--border); border-radius:
|
|
684
|
+
.tune-model { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 12px; display: flex; flex-direction: column; gap: 8px; }
|
|
668
685
|
.tune-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
|
|
669
686
|
.tune-vals { display: flex; gap: 24px; }
|
|
670
|
-
.tune-num { font-size:
|
|
687
|
+
.tune-num { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
|
|
671
688
|
.tune-best { color: var(--ok); }
|
|
672
|
-
.ah-fam { border: 1px solid var(--border); border-radius:
|
|
689
|
+
.ah-fam { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 12px; display: flex; flex-direction: column; gap: 8px; }
|
|
673
690
|
.ah-fam-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
|
|
674
|
-
.ah-order { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap:
|
|
675
|
-
.ah-order li { display: flex; align-items: center; gap:
|
|
691
|
+
.ah-order { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
|
|
692
|
+
.ah-order li { display: flex; align-items: center; gap: 8px; }
|
|
676
693
|
.ah-order li .mono { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
677
|
-
.ah-add { display: flex; gap:
|
|
678
|
-
.ah-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap:
|
|
679
|
-
.disabled-why { color: var(--muted); font-size:
|
|
694
|
+
.ah-add { display: flex; gap: 8px; }
|
|
695
|
+
.ah-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
|
|
696
|
+
.disabled-why { color: var(--muted); font-size: 12px; margin-top: 12px; }
|
|
680
697
|
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
|
|
681
698
|
/* A thin ring with an arc that fades out behind its head: lighter than a thick broken circle at text size. */
|
|
682
|
-
.spin { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 8%, color-mix(in srgb, currentColor 18%, transparent) 30%, currentColor); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.75px),
|
|
699
|
+
.spin { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 8%, color-mix(in srgb, currentColor 18%, transparent) 30%, currentColor); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.75px), black calc(100% - 1.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 1.75px), black calc(100% - 1.5px)); animation: spin .75s linear infinite; vertical-align: -2px; flex: none; } /* the mask only reads alpha: black is fully opaque, not a paint color */
|
|
683
700
|
@keyframes spin { to { transform: rotate(360deg); } }
|
|
684
|
-
.copy { display: flex; align-items: center; gap:
|
|
685
|
-
.copy code { background: var(--surface-2); border: 1px solid var(--border); border-radius:
|
|
701
|
+
.copy { display: flex; align-items: center; gap: 8px; max-width: 100%; min-width: 0; }
|
|
702
|
+
.copy code { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 4px 8px; overflow-x: auto; white-space: nowrap; color: var(--text); min-width: 0; }
|
|
686
703
|
|
|
687
704
|
/* Health check */
|
|
688
|
-
.diff { margin: 0; max-height: 260px; overflow: auto; background: var(--surface); border: 1px solid var(--border); border-radius:
|
|
705
|
+
.diff { margin: 0; max-height: 260px; overflow: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 0; font-family: var(--mono); font-size: 12px; line-height: 1.55; }
|
|
689
706
|
.diff span { display: block; padding: 0 12px; white-space: pre; }
|
|
690
707
|
.diff .add { background: var(--ok-soft); color: var(--ok); } .diff .del { background: var(--fail-soft); color: var(--fail); } .diff .hunk { color: var(--faint); }
|
|
691
|
-
.filter-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 8px
|
|
708
|
+
.filter-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 8px 12px; margin-bottom: 4px; border-radius: var(--radius-md); background: var(--surface-2); }
|
|
692
709
|
.findings { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
|
|
693
|
-
.more-findings { margin-top:
|
|
694
|
-
.finding { display: flex; gap:
|
|
695
|
-
.finding .dot { margin-top:
|
|
710
|
+
.more-findings { margin-top: 12px; }
|
|
711
|
+
.finding { display: flex; gap: 12px; padding: 12px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); }
|
|
712
|
+
.finding .dot { margin-top: 8px; }
|
|
696
713
|
.finding.lvl-fail .dot { background: var(--fail-bar); } .finding.lvl-warn .dot { background: var(--warn-bar); }
|
|
697
|
-
.finding-body { min-width: 0; display: flex; flex-direction: column; gap:
|
|
698
|
-
.finding-top { display: flex; flex-wrap: wrap; gap:
|
|
699
|
-
.hint { color: var(--muted); font-size:
|
|
700
|
-
.all-good { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px
|
|
701
|
-
.check-icon { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ok); color: var(--surface); font-weight:
|
|
702
|
-
.warn-icon { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--warn); color: var(--surface); font-weight:
|
|
703
|
-
.fix-result { margin-top: 12px; padding:
|
|
714
|
+
.finding-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
|
|
715
|
+
.finding-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
|
|
716
|
+
.hint { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
|
|
717
|
+
.all-good { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 16px; border-radius: var(--radius-md); background: var(--ok-soft); }
|
|
718
|
+
.check-icon { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ok); color: var(--surface); font-weight: 600; flex: none; }
|
|
719
|
+
.warn-icon { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--warn); color: var(--surface); font-weight: 600; flex: none; }
|
|
720
|
+
.fix-result { margin-top: 12px; padding: 12px 12px; border-radius: var(--radius-md); font-size: 13px; }
|
|
704
721
|
.fix-result.is-ok { background: var(--ok-soft); color: var(--ok); } .fix-result.is-warn { background: var(--warn-soft); color: var(--warn); }
|
|
705
|
-
.fix-result ul { margin:
|
|
722
|
+
.fix-result ul { margin: 8px 0 0; padding-left: 20px; }
|
|
706
723
|
|
|
707
724
|
/* Forms */
|
|
708
|
-
.form { display: flex; flex-direction: column; gap:
|
|
709
|
-
.field { display: flex; flex-direction: column; gap:
|
|
710
|
-
.
|
|
711
|
-
.field > span { margin-bottom:
|
|
712
|
-
|
|
725
|
+
.form { display: flex; flex-direction: column; gap: 16px; }
|
|
726
|
+
.field { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
|
|
727
|
+
/* A picker's wrapper (.select-wrap) is a span too, but no label: its button and menu keep their own type. */
|
|
728
|
+
.field > span:not(.select-wrap), .field > legend { font-weight: 600; font-size: 12px; padding: 0; margin-bottom: 8px; }
|
|
729
|
+
.field > span:not(.select-wrap) { margin-bottom: 0; }
|
|
730
|
+
input[type=text], input[type=search], input[type=number], :where(.select-btn) { height: var(--field-h); border-radius: var(--radius-md); border: 1px solid var(--border-strong); background-color: var(--surface); color: var(--text); font: inherit; padding: 0 12px; width: 100%; transition: border-color var(--duration-fast), box-shadow var(--duration-fast); }
|
|
713
731
|
input[type=search] { -webkit-appearance: none; appearance: none; }
|
|
714
732
|
input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; }
|
|
715
733
|
input::placeholder { color: var(--faint); }
|
|
716
|
-
input[type=text]:hover:not(:disabled), input[type=number]:hover:not(:disabled), input[type=search]:hover, select:hover:not(:disabled) { border-color: var(--btn-hover-border); }
|
|
717
|
-
input[type=text]:focus, input[type=search]:focus, select:focus { border-color: var(--focus); }
|
|
718
|
-
input[type=text]:disabled, select:disabled { background-color: var(--surface-2); color: var(--faint); cursor: not-allowed; }
|
|
734
|
+
input[type=text]:hover:not(:disabled), input[type=number]:hover:not(:disabled), input[type=search]:hover, :where(.select-btn):hover:not(:disabled) { border-color: var(--btn-hover-border); }
|
|
735
|
+
input[type=text]:focus, input[type=search]:focus, :where(.select-btn):focus { border-color: var(--focus); }
|
|
736
|
+
input[type=text]:disabled, :where(.select-btn):disabled { background-color: var(--surface-2); color: var(--faint); cursor: not-allowed; }
|
|
719
737
|
input.invalid { border-color: var(--fail); }
|
|
720
738
|
/* AI Tasks (spec §3.28): the text box, the key field, the example chips and the account and terminal pickers. */
|
|
721
|
-
input[type=password] { height: var(--field-h); border-radius: var(--
|
|
722
|
-
textarea.ask-text { min-height: 64px; resize: vertical; border-radius: var(--
|
|
739
|
+
input[type=password] { height: var(--field-h); border-radius: var(--radius-md); border: 1px solid var(--border-strong); background-color: var(--surface); color: var(--text); font: inherit; padding: 0 12px; width: 100%; }
|
|
740
|
+
textarea.ask-text { min-height: 64px; resize: vertical; border-radius: var(--radius-md); border: 1px solid var(--border-strong); background-color: var(--surface); color: var(--text); font: inherit; padding: 8px 12px; width: 100%; line-height: 1.45; }
|
|
723
741
|
input[type=password]:focus, textarea.ask-text:focus { border-color: var(--focus); }
|
|
724
742
|
textarea.ask-text:focus-visible, input[type=password]:focus-visible { outline: var(--focus-outline); outline-offset: 2px; box-shadow: var(--focus-ring); }
|
|
725
743
|
textarea::placeholder { color: var(--faint); }
|
|
726
|
-
.ask-chips { display: flex; flex-wrap: wrap; gap:
|
|
727
|
-
.ask-chips .chip { font: inherit; font-size:
|
|
728
|
-
.ask-attach-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px
|
|
729
|
-
.ask-files-wrap { display: grid; gap:
|
|
744
|
+
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; }
|
|
745
|
+
.ask-chips .chip { font: inherit; font-size: 12px; text-align: left; white-space: normal; }
|
|
746
|
+
.ask-attach-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
|
|
747
|
+
.ask-files-wrap { display: grid; gap: 8px; }
|
|
730
748
|
.ask-files-wrap:empty { display: none; }
|
|
731
749
|
.ask-files { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
|
|
732
|
-
.ask-file { position: relative; display: grid; gap:
|
|
750
|
+
.ask-file { position: relative; display: grid; gap: 4px; width: 104px; padding: 4px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
|
|
733
751
|
.ask-file.is-error { border-color: var(--fail); } .ask-file.is-error .ask-file-face { color: var(--fail); }
|
|
734
|
-
.ask-file-img, .ask-file-face { width: 94px; height: 64px; border-radius:
|
|
752
|
+
.ask-file-img, .ask-file-face { width: 94px; height: 64px; border-radius: var(--radius-sm); }
|
|
735
753
|
.ask-file-img { object-fit: cover; display: block; }
|
|
736
|
-
.ask-file-face { display: grid; place-items: center; align-content: center; gap:
|
|
754
|
+
.ask-file-face { display: grid; place-items: center; align-content: center; gap: 4px; background: var(--surface-2); color: var(--muted); }
|
|
737
755
|
.ask-file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
738
756
|
.ask-file-x { position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; background: var(--surface); }
|
|
739
757
|
.ask-file-retry { position: absolute; top: 2px; right: 26px; width: 22px; height: 22px; background: var(--surface); }
|
|
740
758
|
.dialog.drop-on { outline: 2px dashed var(--focus); outline-offset: -6px; }
|
|
741
|
-
.ask-pick {display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap:
|
|
742
|
-
.ask-setup .link-btn { display: inline-flex; align-items: center; gap:
|
|
759
|
+
.ask-pick {display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
|
|
760
|
+
.ask-setup .link-btn { display: inline-flex; align-items: center; gap: 8px; }
|
|
743
761
|
.ask-setup .ic { width: 14px; height: 14px; }
|
|
744
762
|
.fam-other { background: transparent; color: inherit; font: inherit; text-align: left; border-style: dashed; }
|
|
745
|
-
.q-ask { margin-left:
|
|
746
|
-
/*
|
|
747
|
-
|
|
748
|
-
|
|
763
|
+
.q-ask { margin-left: 8px; }
|
|
764
|
+
/* A picker (selectMenu in page-script.ts) is a field-like button that opens the component library's single-choice
|
|
765
|
+
menu. It draws its chevron with two gradient strokes (the CSP allows no external images), so it follows the text
|
|
766
|
+
color in both schemes and on hover. Its wrapper adds no box, so the button sits where a select would, and :where()
|
|
767
|
+
keeps these rules as weak as the select's element selector, so .tb-select and .hk-select still set its width. */
|
|
768
|
+
.select-wrap { display: contents; }
|
|
769
|
+
:where(.select-btn) { --chevron: var(--muted); appearance: none; padding-right: 32px; cursor: pointer; display: flex; align-items: center; text-align: left; white-space: nowrap; overflow: hidden;
|
|
749
770
|
background-image: linear-gradient(45deg, transparent calc(50% - .8px), var(--chevron) calc(50% - .8px) calc(50% + .8px), transparent calc(50% + .8px)), linear-gradient(-45deg, transparent calc(50% - .8px), var(--chevron) calc(50% - .8px) calc(50% + .8px), transparent calc(50% + .8px));
|
|
750
771
|
background-position: right 16px center, right 11px center; background-size: 5px 5px; background-repeat: no-repeat; }
|
|
751
|
-
select:is(:hover, :focus) { --chevron: var(--text); }
|
|
772
|
+
:where(.select-btn):is(:hover, :focus) { --chevron: var(--text); }
|
|
773
|
+
.select-text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
774
|
+
.select-btn.is-placeholder .select-text { color: var(--muted); }
|
|
775
|
+
/* The menu's roles from the Panel's tokens (a Theme recolors it like the rest): the checked item is the soft accent
|
|
776
|
+
fill with accent text, like every selected item here. */
|
|
777
|
+
.ui-menu { --background: var(--bg); --foreground: var(--text); --popover: var(--surface); --popover-foreground: var(--text);
|
|
778
|
+
--muted-foreground: var(--muted); --shadow-popover: var(--float-shadow); --accent: var(--selected); --accent-foreground: var(--brand);
|
|
779
|
+
--accent-hover: color-mix(in srgb, var(--brand) 10%, var(--selected)); --accent-active: color-mix(in srgb, var(--brand) 16%, var(--selected));
|
|
780
|
+
--ring: var(--focus); --disabled-foreground: var(--faint); --danger: var(--fail-bar); --danger-text: var(--fail); --danger-soft: var(--fail-soft);
|
|
781
|
+
--danger-soft-hover: color-mix(in srgb, var(--fail-bar) 24%, transparent);
|
|
782
|
+
font-weight: 400; }
|
|
783
|
+
${UI_CSS}
|
|
784
|
+
/* A long picker menu (the accounts of Auto handoff) fits neither below nor above its button; the library's flips then
|
|
785
|
+
give up and the menu covers the button. Here each side is an option whose height is capped to the room on that side
|
|
786
|
+
(less the 4px margins), and the side with more room wins; a menu that fits below still opens below. */
|
|
787
|
+
@supports (position-area: block-end) {
|
|
788
|
+
@position-try --select-below { position-area: block-end span-inline-end; max-height: calc(100% - 8px); }
|
|
789
|
+
@position-try --select-above { position-area: block-start span-inline-end; max-height: calc(100% - 8px); }
|
|
790
|
+
.select-wrap > .ui-menu[popover] { position-try-fallbacks: --select-below, --select-above, --select-below flip-inline, --select-above flip-inline; position-try-order: most-height; }
|
|
791
|
+
}
|
|
752
792
|
.check-row { display: flex; align-items: flex-start; gap: 8px; }
|
|
753
793
|
.check-row .check { flex: 1; }
|
|
754
794
|
.check-row .tip { margin-top: 12px; }
|
|
755
|
-
|
|
795
|
+
/* A field that belongs to a choice above it (the Vendor under "API key"): it grows in when the choice is made and
|
|
796
|
+
folds away when it is undone, instead of snapping the dialog. */
|
|
797
|
+
.reveal { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows var(--duration-base) var(--ease-out), opacity var(--duration-base) var(--ease-out), visibility 0s .18s; }
|
|
798
|
+
.reveal.is-open { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition: grid-template-rows var(--duration-base) var(--ease-out), opacity var(--duration-base) var(--ease-out); }
|
|
799
|
+
/* The side and bottom padding keep a focused input's outline inside the clipped box. */
|
|
800
|
+
.reveal > .reveal-in { min-height: 0; overflow: hidden; margin: 0 -4px; padding: 0 4px 4px; }
|
|
801
|
+
.reveal > .reveal-in > .field { padding-top: 12px; }
|
|
802
|
+
@media (prefers-reduced-motion: reduce) { .reveal, .reveal.is-open { transition: none; } }
|
|
803
|
+
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 12px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); transition: border-color var(--duration-fast), background-color var(--duration-fast); }
|
|
756
804
|
.check:hover { border-color: var(--btn-hover-border); }
|
|
757
|
-
.check:has(input:checked) { background: var(--
|
|
758
|
-
.check input { width: 16px; height: 16px; margin:
|
|
759
|
-
.check span { display: flex; flex-direction: column; gap:
|
|
760
|
-
.check b { font-size:
|
|
761
|
-
.field-error { color: var(--fail); font-size:
|
|
762
|
-
.field-hint { color: var(--muted); font-size:
|
|
805
|
+
.check:has(input:checked) { background: var(--selected); border-color: transparent; color: var(--text); }
|
|
806
|
+
.check input { width: 16px; height: 16px; margin: 4px 0 0; flex: none; accent-color: var(--check); cursor: pointer; }
|
|
807
|
+
.check span { display: flex; flex-direction: column; gap: 4px; }
|
|
808
|
+
.check b { font-size: 12px; }
|
|
809
|
+
.field-error { color: var(--fail); font-size: 12px; }
|
|
810
|
+
.field-hint { color: var(--muted); font-size: 12px; }
|
|
763
811
|
.field-hint:empty { display: none; }
|
|
764
812
|
.field-error:empty { display: none; }
|
|
765
813
|
.field-error.field-note { color: var(--muted); }
|
|
766
814
|
/* Grok Bot windows (ADR-0019): a simple row of their own, since they have no quota, usage or health columns. */
|
|
767
|
-
.app-row { display: flex; align-items: center; gap: 12px; padding:
|
|
815
|
+
.app-row { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-top: 1px solid var(--border); min-width: 0; }
|
|
768
816
|
.app-row:first-child { border-top: 0; }
|
|
769
817
|
.app-row > .ident { flex: 1; }
|
|
770
818
|
.app-actions { flex: none; justify-content: flex-end; }
|
|
771
819
|
/* The open arrow of an account row is --ctl-h-sm wide less its 14px of negative margins. */
|
|
772
820
|
.app-gap { flex: none; width: calc(var(--ctl-h-sm) - 14px); }
|
|
773
|
-
.app-foot { display: flex; flex-direction: column; gap:
|
|
821
|
+
.app-foot { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px 12px; border-top: 1px solid var(--border); }
|
|
774
822
|
.app-foot > .btn { align-self: flex-start; }
|
|
775
823
|
.app-new { display: flex; gap: 8px; align-items: center; max-width: 420px; }
|
|
776
824
|
.app-new input { height: var(--ctl-h-sm); flex: 1; min-width: 0; }
|
|
777
825
|
.fam-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
|
|
778
|
-
.fam-card { position: relative; display: flex; align-items: center; gap:
|
|
826
|
+
.fam-card { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); cursor: pointer; min-width: 0; transition: border-color var(--duration-fast), background-color var(--duration-fast); }
|
|
779
827
|
.fam-card:hover { border-color: var(--btn-hover-border); }
|
|
780
|
-
.fam-card:has(input:checked) { border-color:
|
|
828
|
+
.fam-card:has(input:checked) { border-color: transparent; background: var(--selected); color: var(--text); }
|
|
781
829
|
.fam-card:has(input:focus-visible) { outline: var(--focus-outline); outline-offset: 2px; }
|
|
782
830
|
.fam-card.is-off { cursor: not-allowed; opacity: .6; }
|
|
783
831
|
.fam-card.is-off:hover { border-color: var(--border); }
|
|
784
832
|
.fam-text { display: flex; flex-direction: column; min-width: 0; }
|
|
785
|
-
.fam-title { font-weight:
|
|
786
|
-
.fam-sub { color: var(--muted); font-size:
|
|
787
|
-
.preview { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px
|
|
833
|
+
.fam-title { font-weight: 600; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
834
|
+
.fam-sub { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
835
|
+
.preview { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 16px; margin: 0; padding: 12px 12px; border-radius: var(--radius-md); background: var(--surface-2); font-size: 12px; }
|
|
788
836
|
.preview dt { color: var(--muted); }
|
|
789
837
|
.preview dd { margin: 0; overflow-wrap: anywhere; color: var(--text); }
|
|
790
838
|
.preview.is-draft dd { color: var(--faint); }
|
|
791
|
-
.created { display: flex; flex-direction: column; gap:
|
|
792
|
-
.created-head { display: flex; align-items: center; gap:
|
|
839
|
+
.created { display: flex; flex-direction: column; gap: 12px; }
|
|
840
|
+
.created-head { display: flex; align-items: center; gap: 12px; }
|
|
793
841
|
.steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
|
|
794
842
|
.steps li::marker { color: var(--faint); }
|
|
795
843
|
.steps li { min-width: 0; }
|
|
796
844
|
.steps li > span:not(.copy) { display: block; margin-bottom: 4px; }
|
|
797
845
|
|
|
798
846
|
/* Dialog */
|
|
799
|
-
.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); }
|
|
847
|
+
.dialog { padding: 0; border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface); color: var(--text); width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 48px); box-shadow: var(--float-shadow); }
|
|
800
848
|
.dialog[open] { display: flex; }
|
|
801
849
|
.dialog::backdrop { background: var(--scrim); }
|
|
802
850
|
/* The dialog box takes focus when it opens (showModal) but is not a control: no ring around it. Any other focusable
|
|
803
851
|
element without its own rule gets the Theme's focus ring, never the browser's default blue. */
|
|
804
852
|
.dialog:focus, .dialog:focus-visible { outline: none; }
|
|
805
853
|
:where(:focus-visible) { outline: var(--focus-outline); outline-offset: 2px; }
|
|
806
|
-
.dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px
|
|
807
|
-
.dlg-head h2 { font-size:
|
|
808
|
-
.dlg-body { padding:
|
|
809
|
-
.dlg-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px
|
|
854
|
+
.dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 4px; }
|
|
855
|
+
.dlg-head h2 { font-size: 16px; }
|
|
856
|
+
.dlg-body { padding: 12px 20px 16px; overflow: auto; display: flex; flex-direction: column; gap: 12px; }
|
|
857
|
+
.dlg-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--border); background: var(--surface-2); border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
|
|
810
858
|
|
|
811
859
|
/* Menu, tooltips, toasts */
|
|
812
|
-
.menu { position: fixed; z-index: 40; min-width: 230px; max-width: min(380px, calc(100vw - 16px)); padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius:
|
|
813
|
-
.menu-item { display: flex; align-items: center; gap:
|
|
860
|
+
.menu { position: fixed; z-index: 40; min-width: 230px; max-width: min(380px, calc(100vw - 16px)); padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--float-shadow); overflow-y: auto; overscroll-behavior: contain; }
|
|
861
|
+
.menu-item { display: flex; align-items: center; gap: 12px; width: 100%; height: 32px; padding: 0 12px; border: 0; border-radius: var(--radius-sm); background: none; color: var(--text); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
|
|
814
862
|
.menu-item .ic { flex: none; color: var(--muted); }
|
|
815
863
|
.menu-item:hover:not(:disabled), .menu-item:focus-visible { background: var(--hover); outline: none; }
|
|
816
864
|
.menu-item:disabled { color: var(--faint); cursor: not-allowed; }
|
|
817
865
|
.menu-label { flex: none; white-space: nowrap; }
|
|
818
866
|
/* The hint gives way first: it shrinks to an ellipsis so a long label never pushes it past the menu's edge. */
|
|
819
867
|
.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; }
|
|
820
|
-
.menu-sep { height: 1px; margin: 4px
|
|
821
|
-
.menu-sub > .ic:last-child { margin-left:
|
|
868
|
+
.menu-sep { height: 1px; margin: 4px 8px; background: var(--border); }
|
|
869
|
+
.menu-sub > .ic:last-child { margin-left: 8px; color: var(--faint); }
|
|
822
870
|
.menu-sub > .menu-label + .ic:last-child { margin-left: auto; }
|
|
823
871
|
/* A menu that scrolls fades at the edge that has more: a strip that stays at that edge inside the scroll, so the menu
|
|
824
872
|
keeps its border and shadow. */
|
|
@@ -826,7 +874,7 @@ select:is(:hover, :focus) { --chevron: var(--text); }
|
|
|
826
874
|
.menu.more-above::before { top: -4px; margin-bottom: -24px; background: linear-gradient(var(--surface), transparent); }
|
|
827
875
|
.menu.more-below::after { bottom: -4px; margin-top: -24px; background: linear-gradient(transparent, var(--surface)); }
|
|
828
876
|
/* Popover: the menu's floating box with free content (text, a few buttons), lighter than a dialog. */
|
|
829
|
-
.popover { width: 280px; padding: 12px
|
|
877
|
+
.popover { width: 280px; padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
|
|
830
878
|
.popover p { margin: 0; }
|
|
831
879
|
.popover-actions { display: flex; gap: 8px; flex-wrap: wrap; }
|
|
832
880
|
.popover-foot { padding-top: 8px; border-top: 1px solid var(--border); }
|
|
@@ -835,7 +883,7 @@ select:is(:hover, :focus) { --chevron: var(--text); }
|
|
|
835
883
|
.set-label { color: var(--muted); font-size: 13px; white-space: nowrap; }
|
|
836
884
|
.set-row .seg { height: var(--ctl-h-sm); }
|
|
837
885
|
.set-check { align-items: flex-start; }
|
|
838
|
-
.set-text { display: flex; flex-direction: column; gap:
|
|
886
|
+
.set-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
|
|
839
887
|
.set-hint { color: var(--faint); font-size: 12px; max-width: 260px; }
|
|
840
888
|
.set-link { margin: 0 -8px; width: calc(100% + 16px); }
|
|
841
889
|
.set-link .chip { margin-left: auto; }
|
|
@@ -844,110 +892,110 @@ select:is(:hover, :focus) { --chevron: var(--text); }
|
|
|
844
892
|
.set-group { display: flex; flex-direction: column; gap: 8px; }
|
|
845
893
|
.set-check .set-label { white-space: normal; }
|
|
846
894
|
.set-link .menu-label { flex: 1 1 auto; min-width: 0; white-space: normal; line-height: 1.3; }
|
|
847
|
-
.set-link { height: auto; min-height: 32px; padding-top:
|
|
895
|
+
.set-link { height: auto; min-height: 32px; padding-top: 8px; padding-bottom: 8px; }
|
|
848
896
|
.set-link .chip { flex: none; }
|
|
849
|
-
.set-group-title { color: var(--faint); font-size: 11px; font-weight:
|
|
850
|
-
.popover .set-sep { margin: 0 -
|
|
897
|
+
.set-group-title { color: var(--faint); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
|
|
898
|
+
.popover .set-sep { margin: 0 -16px; }
|
|
851
899
|
.set-hint .link-btn { font-size: 12px; }
|
|
852
|
-
.set-help { margin:
|
|
900
|
+
.set-help { margin: 8px 0 0; padding-left: 16px; display: grid; gap: 4px; }
|
|
853
901
|
.note-fail-text { color: var(--fail); }
|
|
854
|
-
.hk-field { flex: none; display: flex; align-items: center; gap:
|
|
902
|
+
.hk-field { flex: none; display: flex; align-items: center; gap: 12px; }
|
|
855
903
|
.hk-select { flex: none; width: auto; min-width: 150px; }
|
|
856
904
|
.hk-custom { display: flex; justify-content: flex-end; margin-top: 8px; }
|
|
857
905
|
.note-warn-line { display: block; margin-top: 4px; color: var(--warn); }
|
|
858
|
-
.hk-rec { min-width: 140px; padding:
|
|
906
|
+
.hk-rec { min-width: 140px; padding: 8px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); font-family: var(--mono); font-size: 13px; line-height: 18px; text-align: center; cursor: pointer; }
|
|
859
907
|
.hk-rec:hover:not(:disabled) { border-color: var(--accent); }
|
|
860
908
|
.hk-rec:focus-visible { outline: var(--focus-outline); outline-offset: 2px; }
|
|
861
909
|
.hk-rec.unset { color: var(--faint); font-family: var(--font); }
|
|
862
910
|
.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); }
|
|
863
911
|
.hk-rec.taken { border-color: var(--fail); color: var(--fail); }
|
|
864
|
-
.mb-help-title { margin: 16px 0 4px; font-size: 13px; font-weight:
|
|
912
|
+
.mb-help-title { margin: 16px 0 4px; font-size: 13px; font-weight: 600; }
|
|
865
913
|
.as-details { margin-top: 8px; }
|
|
866
914
|
.as-details summary { color: var(--muted); font-size: 12px; cursor: pointer; }
|
|
867
|
-
.as-details[open] summary { margin-bottom:
|
|
915
|
+
.as-details[open] summary { margin-bottom: 8px; }
|
|
868
916
|
/* "More settings…" stays at the bottom of a popover that scrolls. */
|
|
869
|
-
.set-more { margin: 4px -
|
|
917
|
+
.set-more { margin: 4px -16px -12px; width: calc(100% + 28px); height: 40px; padding: 0 16px 0 16px; border-top: 1px solid var(--border); border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
|
|
870
918
|
.set-more .ic { margin-left: auto; }
|
|
871
919
|
/* The settings dialog: the sections in a list at the side, one section at a time beside it (spec §3.29). */
|
|
872
920
|
.dialog.dialog-wide { width: min(760px, calc(100vw - 24px)); }
|
|
873
921
|
.set-dialog { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 0 24px; min-height: 380px; }
|
|
874
|
-
.set-nav { display: flex; flex-direction: column; gap:
|
|
875
|
-
.set-tab { all: unset; box-sizing: border-box; display: flex; align-items: center; min-height: 32px; padding:
|
|
922
|
+
.set-nav { display: flex; flex-direction: column; gap: 4px; padding-right: 16px; border-right: 1px solid var(--border); }
|
|
923
|
+
.set-tab { all: unset; box-sizing: border-box; display: flex; align-items: center; min-height: 32px; padding: 8px 12px; border-radius: var(--radius-md); color: var(--muted); font-size: 13px; cursor: pointer; }
|
|
876
924
|
.set-tab:hover { background: var(--hover); color: var(--text); }
|
|
877
|
-
.set-tab[aria-selected=true] { background: var(--
|
|
925
|
+
.set-tab[aria-selected=true] { background: var(--selected); color: var(--brand); font-weight: 500; }
|
|
878
926
|
.set-tab:focus-visible { outline: var(--focus-outline); outline-offset: 1px; }
|
|
879
927
|
.set-pane { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
|
|
880
|
-
.set-pane-title { margin: 4px 0 0; font-size:
|
|
881
|
-
.set-foot { margin: -
|
|
928
|
+
.set-pane-title { margin: 4px 0 0; font-size: 14px; font-weight: 600; }
|
|
929
|
+
.set-foot { margin: -8px 0 4px; color: var(--muted); font-size: 12px; line-height: 1.5; }
|
|
882
930
|
.set-dialog .set-hint { max-width: none; }
|
|
883
|
-
.set-dialog .set-link { margin: 0 -
|
|
931
|
+
.set-dialog .set-link { margin: 0 -12px; width: calc(100% + 20px); }
|
|
884
932
|
:where(:root[data-width=narrow], :root[data-width=phone]) {
|
|
885
|
-
.set-dialog { grid-template-columns: minmax(0, 1fr); gap:
|
|
933
|
+
.set-dialog { grid-template-columns: minmax(0, 1fr); gap: 16px; min-height: 0; }
|
|
886
934
|
.set-nav { flex-direction: row; overflow-x: auto; padding: 0 0 8px; border-right: 0; border-bottom: 1px solid var(--border); }
|
|
887
935
|
.set-tab { flex: none; white-space: nowrap; }
|
|
888
936
|
}
|
|
889
|
-
.as-code { display: block; margin: -4px 0 4px; padding: 8px
|
|
937
|
+
.as-code { display: block; margin: -4px 0 4px; padding: 8px 12px; border-radius: var(--radius-md); background: var(--hover); font-family: var(--mono); font-size: 12px; overflow-wrap: anywhere; }
|
|
890
938
|
.set-dot { background: var(--warn-bar); }
|
|
891
939
|
.tip { display: inline-flex; position: relative; vertical-align: middle; }
|
|
892
|
-
.tip-btn { display: inline-grid; place-items: center; width: 16px; height: 16px; padding: 0; border: 1px solid var(--border-strong); border-radius: 50%; background: var(--surface); color: var(--muted); font:
|
|
940
|
+
.tip-btn { display: inline-grid; place-items: center; width: 16px; height: 16px; padding: 0; border: 1px solid var(--border-strong); border-radius: 50%; background: var(--surface); color: var(--muted); font-family: var(--font); font-size: 11px; font-weight: 600; line-height: 1; cursor: help; }
|
|
893
941
|
.tip-btn:hover, .tip.is-open .tip-btn { color: var(--text); border-color: var(--muted); }
|
|
894
942
|
.tip-btn:focus-visible { outline: var(--focus-outline); outline-offset: 2px; }
|
|
895
|
-
.tip-body { display: none; position: fixed; z-index: 60; width: max-content; max-width: min(280px, calc(100vw - 16px)); padding:
|
|
943
|
+
.tip-body { display: none; position: fixed; z-index: 60; width: max-content; max-width: min(280px, calc(100vw - 16px)); padding: 8px 12px; border-radius: var(--radius-md); 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; }
|
|
896
944
|
.tip.is-open .tip-body, .tip-float.is-shown { display: block; }
|
|
897
|
-
.toasts { position: fixed; inset: auto
|
|
898
|
-
.toast { pointer-events: auto; display: flex; align-items: center; gap:
|
|
945
|
+
.toasts { position: fixed; inset: auto 0 20px 0; margin: 0 auto; padding: 0; border: 0; background: none; color: inherit; overflow: visible; z-index: 50; display: flex; flex-direction: column; align-items: stretch; gap: 8px; width: max-content; max-width: calc(100vw - 24px); pointer-events: none; }
|
|
946
|
+
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; max-width: min(460px, calc(100vw - 24px)); min-height: 40px; padding: 8px 8px 8px 16px; border-radius: var(--radius-lg); background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: var(--float-shadow); font-size: 13px; animation: toast-in var(--duration-base) var(--ease-out); }
|
|
899
947
|
.toast-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--ok); }
|
|
900
948
|
.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); }
|
|
901
949
|
.toast-text { min-width: 0; overflow-wrap: anywhere; }
|
|
902
|
-
.toast-action { flex: none; height: 28px; padding: 0
|
|
950
|
+
.toast-action { flex: none; height: 28px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface); color: var(--text); font: inherit; font-weight: 500; cursor: pointer; }
|
|
903
951
|
.toast-action:hover { background: var(--hover); }
|
|
904
|
-
.toast-x { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius:
|
|
952
|
+
.toast-x { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: var(--radius-md); background: none; color: var(--faint); cursor: pointer; }
|
|
905
953
|
.toast-x:hover { color: var(--text); background: var(--hover); }
|
|
906
954
|
.toast-x .ic { width: 13px; height: 13px; }
|
|
907
|
-
.toast.bump { animation: toast-bump
|
|
955
|
+
.toast.bump { animation: toast-bump var(--duration-slow) var(--ease-out); }
|
|
908
956
|
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
|
|
909
957
|
@keyframes toast-bump { 50% { transform: scale(1.03); } }
|
|
910
|
-
.conn { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 55; display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 24px); padding: 8px
|
|
958
|
+
.conn { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 55; display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 24px); padding: 8px 16px; border-radius: var(--radius-pill); background: var(--warn-soft); color: var(--warn); border: 1px solid var(--border); box-shadow: var(--float-shadow); font-size: 13px; font-weight: 600; }
|
|
911
959
|
|
|
912
960
|
/* Empty, loading and filtered states */
|
|
913
|
-
.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; }
|
|
961
|
+
.empty { text-align: center; padding: 36px 20px; background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius-xl); display: flex; flex-direction: column; align-items: center; gap: 12px; }
|
|
914
962
|
.empty-sm { padding: 28px 20px; }
|
|
915
963
|
/* The empty state is a block of its own, apart from what follows it (Grok Bot windows). */
|
|
916
964
|
#accounts > .empty { margin-bottom: 12px; }
|
|
917
965
|
.empty-fail { border-color: var(--fail); border-style: solid; background: var(--fail-soft); color: var(--fail); }
|
|
918
|
-
.empty h3 { font-size:
|
|
966
|
+
.empty h3 { font-size: 16px; font-weight: 600; }
|
|
919
967
|
.empty p { max-width: 520px; overflow-wrap: anywhere; }
|
|
920
968
|
.host-list { list-style: none; padding: 0; margin: 4px 0; display: flex; flex-direction: column; gap: 8px; min-width: min(360px, 100%); text-align: left; }
|
|
921
|
-
.host-list li { display: flex; align-items: center; gap:
|
|
922
|
-
.host-list li > span:nth-child(2) { flex: 1; font-weight:
|
|
923
|
-
.sk { display: block; border-radius:
|
|
924
|
-
.sk-row { display: flex; align-items: center; gap: 12px; padding:
|
|
969
|
+
.host-list li { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); }
|
|
970
|
+
.host-list li > span:nth-child(2) { flex: 1; font-weight: 600; }
|
|
971
|
+
.sk { display: block; border-radius: var(--radius-md); background: linear-gradient(90deg, var(--surface-2) 25%, var(--track) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: shimmer 1.3s ease-in-out infinite; }
|
|
972
|
+
.sk-row { display: flex; align-items: center; gap: 12px; padding: 16px 16px; border-top: 1px solid var(--border); }
|
|
925
973
|
.sk-row:first-child { border-top: 0; }
|
|
926
|
-
.sk-badge { width: 26px; height: 26px; border-radius:
|
|
974
|
+
.sk-badge { width: 26px; height: 26px; border-radius: var(--radius-md); flex: none; }
|
|
927
975
|
.sk-title { height: 12px; width: 22%; }
|
|
928
976
|
.sk-bar { height: 8px; flex: 1; max-width: 160px; margin-left: auto; }
|
|
929
977
|
.sk-line { height: 12px; margin: 8px 0; }
|
|
930
|
-
.sk-stat { height: 40px; margin:
|
|
978
|
+
.sk-stat { height: 40px; margin: 16px 20px; }
|
|
931
979
|
.w50 { width: 50%; } .w70 { width: 70%; }
|
|
932
980
|
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
|
|
933
|
-
.view-in > * { animation: view-in
|
|
934
|
-
@keyframes view-in { from { opacity: 0; transform: translateY(
|
|
981
|
+
.view-in > * { animation: view-in var(--duration-base) var(--ease-out) both; }
|
|
982
|
+
@keyframes view-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
|
|
935
983
|
/* Menus, popovers and dialogs ease in and out instead of appearing at once; a row that appears inside one grows in. */
|
|
936
|
-
.menu { animation: float-in
|
|
937
|
-
.menu.float-out { animation: float-out
|
|
984
|
+
.menu { animation: float-in var(--duration-fast) var(--ease-out); transform-origin: top right; }
|
|
985
|
+
.menu.float-out { animation: float-out var(--duration-fast) var(--ease-in) forwards; }
|
|
938
986
|
@keyframes float-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
|
|
939
987
|
@keyframes float-out { to { opacity: 0; transform: translateY(-2px) scale(.99); } }
|
|
940
|
-
.dialog[open] { animation: dialog-in
|
|
941
|
-
.dialog[open]::backdrop { animation: backdrop-in
|
|
988
|
+
.dialog[open] { animation: dialog-in var(--duration-base) var(--ease-out); }
|
|
989
|
+
.dialog[open]::backdrop { animation: backdrop-in var(--duration-base) var(--ease-out); }
|
|
942
990
|
@keyframes dialog-in { from { opacity: 0; transform: translateY(6px) scale(.985); } }
|
|
943
991
|
@keyframes backdrop-in { from { opacity: 0; } }
|
|
944
|
-
.enter { animation: grow-in
|
|
992
|
+
.enter { animation: grow-in var(--duration-slow) var(--ease-out) backwards; overflow: hidden; }
|
|
945
993
|
/* Many rows arriving at once (a page more, a renewal) fade in together instead of each growing in turn. */
|
|
946
|
-
.fade-in { animation: fade-in
|
|
994
|
+
.fade-in { animation: fade-in var(--duration-base) var(--ease-out) backwards; }
|
|
947
995
|
@keyframes fade-in { from { opacity: 0; } }
|
|
948
996
|
@keyframes grow-in { from { opacity: 0; max-height: 0; } to { opacity: 1; max-height: 160px; } }
|
|
949
|
-
.row.flash { animation: flash-row
|
|
950
|
-
.card.flash { animation: flash-card
|
|
997
|
+
.row.flash { animation: flash-row var(--duration-slow) var(--ease-in) backwards; animation-delay: 2.2s; }
|
|
998
|
+
.card.flash { animation: flash-card var(--duration-slow) var(--ease-in) backwards; animation-delay: 2.2s; }
|
|
951
999
|
@keyframes flash-row { from { background: var(--accent-soft); } to { background: transparent; } }
|
|
952
1000
|
@keyframes flash-card { from { box-shadow: 0 0 0 2px var(--accent), var(--shadow); } to { box-shadow: 0 0 0 2px transparent, var(--shadow); } }
|
|
953
1001
|
.checkup { margin-top: 8px; }
|
|
@@ -969,9 +1017,9 @@ select:is(:hover, :focus) { --chevron: var(--text); }
|
|
|
969
1017
|
.rows .m-label, .rows .m-unit, .rows .u-unit { display: inline; }
|
|
970
1018
|
.rows .usage { justify-content: flex-start; }
|
|
971
1019
|
.row > .last { display: none; }
|
|
972
|
-
.last-inline { display: flex; flex: none; gap:
|
|
1020
|
+
.last-inline { display: flex; flex: none; gap: 8px; color: var(--muted); font-size: 12px; white-space: nowrap; margin-top: 0; }
|
|
973
1021
|
.last-inline::before { content: "·"; color: var(--faint); }
|
|
974
|
-
.row > .row-end { align-self: start; margin-top: -
|
|
1022
|
+
.row > .row-end { align-self: start; margin-top: -4px; }
|
|
975
1023
|
}
|
|
976
1024
|
:where(:root[data-width=narrow], :root[data-width=phone]) {
|
|
977
1025
|
/* The toolbar stays one line: "New account" keeps its icon, its name moves to the tooltip and the label. */
|
|
@@ -986,23 +1034,23 @@ select:is(:hover, :focus) { --chevron: var(--text); }
|
|
|
986
1034
|
.top-in { padding: 16px var(--gutter) 0; }
|
|
987
1035
|
.header-bar .top-in { min-height: 0; padding: 12px var(--gutter); }
|
|
988
1036
|
.update-btn span { display: none; }
|
|
989
|
-
.wrap { padding:
|
|
1037
|
+
.wrap { padding: 16px var(--gutter) 32px; }
|
|
990
1038
|
.hide-sm { display: none; }
|
|
991
1039
|
.tagline { display: none; }
|
|
992
1040
|
.brand .logo { width: 34px; height: 34px; }
|
|
993
|
-
.brand h1 { font-size:
|
|
1041
|
+
.brand h1 { font-size: 16px; }
|
|
994
1042
|
.banner > div:not(.banner-actions) { flex-basis: 100%; }
|
|
995
|
-
.stat { padding:
|
|
996
|
-
.stat-value { font-size:
|
|
1043
|
+
.stat { padding: 12px 12px; align-items: flex-start; flex-direction: column; gap: 8px; }
|
|
1044
|
+
.stat-value { font-size: 16px; }
|
|
997
1045
|
.stat-sub { white-space: normal; }
|
|
998
1046
|
.spark-lg { display: none; }
|
|
999
1047
|
.search { flex-basis: 100%; }
|
|
1000
1048
|
.tools { width: 100%; }
|
|
1001
1049
|
.tools .tb-select { flex: 1 1 140px; min-width: 0; }
|
|
1002
|
-
.toolbar > .btn-primary { flex: 1; width: auto; padding: 0
|
|
1050
|
+
.toolbar > .btn-primary { flex: 1; width: auto; padding: 0 16px; }
|
|
1003
1051
|
.toolbar > .btn-primary > span { display: inline; }
|
|
1004
1052
|
/* A phone keeps the last use as a column of its own: the line under the name has no room for it. */
|
|
1005
|
-
.row { padding:
|
|
1053
|
+
.row { padding: 12px 12px; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "id last more" "quota quota quota" "detail detail detail" "notes notes notes"; }
|
|
1006
1054
|
.row > .last { display: block; justify-self: end; }
|
|
1007
1055
|
.last-inline { display: none; }
|
|
1008
1056
|
.row > .row-end { align-self: center; margin-top: 0; }
|
|
@@ -1011,29 +1059,29 @@ select:is(:hover, :focus) { --chevron: var(--text); }
|
|
|
1011
1059
|
.row > .row-end > .row-run { display: none; }
|
|
1012
1060
|
#accounts { --col-gap: 14px; }
|
|
1013
1061
|
/* One window per line, so the reset time is never cut off. */
|
|
1014
|
-
.row > .quota { grid-template-columns: 1fr; row-gap:
|
|
1062
|
+
.row > .quota { grid-template-columns: 1fr; row-gap: 12px; max-width: none; }
|
|
1015
1063
|
/* On a phone the summary keeps what needs a look and the next reset. */
|
|
1016
1064
|
.stat:nth-child(1), .stat:nth-child(3) { display: none; }
|
|
1017
1065
|
.stat:nth-child(n) { border-top: 0; }
|
|
1018
1066
|
.stat:nth-child(4) { border-left: 1px solid var(--border); }
|
|
1019
1067
|
.row-end .icon-btn { width: 36px; height: 36px; }
|
|
1020
|
-
.sess-row { grid-template-columns: auto minmax(0, 1fr); row-gap:
|
|
1068
|
+
.sess-row { grid-template-columns: auto minmax(0, 1fr); row-gap: 12px; }
|
|
1021
1069
|
.sess-actions { grid-column: 2; }
|
|
1022
1070
|
.login-dirs { grid-template-columns: minmax(0, 1fr); }
|
|
1023
|
-
.login-dir { grid-template-columns: minmax(0, 1fr) auto auto; column-gap:
|
|
1071
|
+
.login-dir { grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 16px; row-gap: 8px; }
|
|
1024
1072
|
.login-dir .usage, .login-dir .health { display: none; }
|
|
1025
1073
|
.login-dir .ld-other { grid-column: 1 / -1; order: 1; }
|
|
1026
1074
|
.grid { grid-template-columns: 1fr; }
|
|
1027
|
-
.panel { padding:
|
|
1028
|
-
.dlg-head { padding:
|
|
1075
|
+
.panel { padding: 16px; }
|
|
1076
|
+
.dlg-head { padding: 16px 16px 4px; } .dlg-body { padding: 12px 16px 16px; } .dlg-foot { padding: 12px 16px; flex-wrap: wrap; }
|
|
1029
1077
|
}
|
|
1030
1078
|
/* A change of layout band runs as a short View Transition (page-script.ts followWidth): each block below moves and
|
|
1031
1079
|
resizes to its new place while its old and new look cross-fade; the rest of the page cross-fades as one. Same
|
|
1032
1080
|
length and ease as a Portal's sliding sidebar (.26s, quick start, soft landing), so both read as one move. */
|
|
1033
|
-
::view-transition-group(*) { animation-duration:
|
|
1081
|
+
::view-transition-group(*) { animation-duration: var(--duration-slow); animation-timing-function: var(--ease-out); }
|
|
1034
1082
|
/* Old and new looks keep their own size (pinned top left) instead of stretching to the moving box, so text never
|
|
1035
1083
|
grows or shrinks on the way. */
|
|
1036
|
-
::view-transition-old(*), ::view-transition-new(*) { animation-duration:
|
|
1084
|
+
::view-transition-old(*), ::view-transition-new(*) { animation-duration: var(--duration-slow); height: 100%; object-fit: none; object-position: left top; }
|
|
1037
1085
|
.vt-width :is(.top-in, .summary, .stat, .section-head, .toolbar, .group-list, .group-head, .row) { view-transition-name: match-element; }
|
|
1038
1086
|
/* Session History (spec §3.33): the toolbar, then the projects on the left and the sessions on the right. The list
|
|
1039
1087
|
keeps the projects in view while it scrolls; at narrow widths the projects become one
|
|
@@ -1041,140 +1089,140 @@ select:is(:hover, :focus) { --chevron: var(--text); }
|
|
|
1041
1089
|
.sess-mode { flex: none; }
|
|
1042
1090
|
.hist-bar { align-items: center; }
|
|
1043
1091
|
.hist-search { flex: 1 1 240px; }
|
|
1044
|
-
.hist-checks { display: flex; flex-wrap: wrap; align-items: center; gap: 4px
|
|
1092
|
+
.hist-checks { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
|
|
1045
1093
|
.hist-display { margin-left: auto; }
|
|
1046
1094
|
.pop-hist-display { width: 240px; }
|
|
1047
|
-
.hist-opts { display: flex; flex-direction: column; gap:
|
|
1048
|
-
.hist-opt { display: flex; align-items: center; gap: 8px; width: 100%; padding:
|
|
1095
|
+
.hist-opts { display: flex; flex-direction: column; gap: 0; margin: 0 -8px; }
|
|
1096
|
+
.hist-opt { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px; border: 0; border-radius: var(--radius-md); background: transparent; color: var(--text); font: inherit; font-size: 12px; text-align: left; cursor: pointer; transition: background-color var(--duration-fast); }
|
|
1049
1097
|
.hist-opt:hover { background: var(--hover); }
|
|
1050
|
-
.hist-opt[aria-pressed=true] { font-weight:
|
|
1098
|
+
.hist-opt[aria-pressed=true] { font-weight: 500; }
|
|
1051
1099
|
.hist-opt:focus-visible { outline: var(--focus-outline); outline-offset: 1px; box-shadow: var(--focus-ring); }
|
|
1052
1100
|
.hist-opt-ck { flex: none; display: inline-flex; width: 14px; color: var(--accent); }
|
|
1053
1101
|
.hist-opt-ck .ic { width: 14px; height: 14px; }
|
|
1054
1102
|
.hist-group { display: flex; flex-direction: column; gap: 4px; }
|
|
1055
|
-
.hist-group + .hist-group { margin-top:
|
|
1103
|
+
.hist-group + .hist-group { margin-top: 12px; }
|
|
1056
1104
|
.hist-group.is-folded + .hist-group.is-folded { margin-top: 0; }
|
|
1057
|
-
.hist-ghead { display: flex; align-items: center; min-width: 0; padding-left:
|
|
1058
|
-
.hist-gtoggle { max-width: 100%; padding:
|
|
1105
|
+
.hist-ghead { display: flex; align-items: center; min-width: 0; padding-left: 16px; }
|
|
1106
|
+
.hist-gtoggle { max-width: 100%; padding: 4px 8px 4px 4px; font-size: 12px; font-weight: 600; }
|
|
1059
1107
|
.hist-gtitle { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1060
1108
|
.hist-gtoggle .spin { width: 12px; height: 12px; }
|
|
1061
|
-
.hist-catgrp { display: flex; flex-direction: column; margin-top:
|
|
1109
|
+
.hist-catgrp { display: flex; flex-direction: column; margin-top: 8px; }
|
|
1062
1110
|
.hist-cathead { display: flex; align-items: center; min-width: 0; }
|
|
1063
|
-
.hist-cathead > .hist-proj { padding-left:
|
|
1111
|
+
.hist-cathead > .hist-proj { padding-left: 8px; }
|
|
1064
1112
|
.hist-cathead .chev { flex: none; width: 12px; height: 12px; }
|
|
1065
1113
|
.hist-cathead [aria-expanded=true] .chev { transform: rotate(90deg); }
|
|
1066
1114
|
/* The rows fold by easing the grid row from its content to nothing, so nothing below jumps. */
|
|
1067
|
-
.hist-catbody { display: grid; grid-template-rows: 1fr; transition: grid-template-rows
|
|
1068
|
-
.hist-catbody > .hist-catps { min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap:
|
|
1069
|
-
.hist-catgrp.is-folded .hist-catbody { grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows
|
|
1070
|
-
.hist-cat { color: var(--text); font-weight:
|
|
1115
|
+
.hist-catbody { display: grid; grid-template-rows: 1fr; transition: grid-template-rows var(--duration-base) var(--ease-out), opacity var(--duration-base) var(--ease-out); }
|
|
1116
|
+
.hist-catbody > .hist-catps { min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 0; padding-top: 0; }
|
|
1117
|
+
.hist-catgrp.is-folded .hist-catbody { grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows var(--duration-base) var(--ease-out), opacity var(--duration-base) var(--ease-out), visibility 0s .18s; }
|
|
1118
|
+
.hist-cat { color: var(--text); font-weight: 600; }
|
|
1071
1119
|
.hist-catps .hist-proj { padding-left: 24px; }
|
|
1072
|
-
.hist-check { display: inline-flex; align-items: center; gap:
|
|
1120
|
+
.hist-check { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); cursor: pointer; white-space: nowrap; }
|
|
1073
1121
|
.hist-check input { margin: 0; accent-color: var(--accent); }
|
|
1074
1122
|
.hist-check:hover { color: var(--text); }
|
|
1075
1123
|
.hist-grid { display: grid; grid-template-columns: minmax(150px, 210px) minmax(0, 1fr); gap: 16px; align-items: start; }
|
|
1076
1124
|
.hist-none .hist-bar, .hist-none .hist-side { display: none; }
|
|
1077
1125
|
.hist-none .hist-grid { grid-template-columns: minmax(0, 1fr); }
|
|
1078
|
-
.hist-side { position: sticky; top: 12px; display: flex; flex-direction: column; gap:
|
|
1126
|
+
.hist-side { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; max-height: calc(100vh - 160px); overflow: auto; padding-right: 4px; }
|
|
1079
1127
|
/* Inner scroll boxes get a thin bar in the theme's colours; the side list shows it only while the pointer is on it. */
|
|
1080
1128
|
:is(.hist-side, .hv-msgs, .diff, .dlg-body, .menu) { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
|
|
1081
1129
|
.hist-side:not(:hover, :focus-within) { scrollbar-color: transparent transparent; }
|
|
1082
|
-
.hist-side-h { margin: 0 0
|
|
1083
|
-
.hist-projs { display: flex; flex-direction: column; gap:
|
|
1084
|
-
.hist-proj { display: flex; align-items: center; gap:
|
|
1130
|
+
.hist-side-h { margin: 0 0 4px 12px; font-size: 12px; font-weight: 400; color: var(--muted); }
|
|
1131
|
+
.hist-projs { display: flex; flex-direction: column; gap: 0; }
|
|
1132
|
+
.hist-proj { display: flex; align-items: center; gap: 8px; width: 100%; padding: 4px 12px; border: 0; border-radius: var(--radius-md); background: transparent; color: var(--muted); font: inherit; font-size: 12px; text-align: left; cursor: pointer; transition: background-color var(--duration-fast), color var(--duration-fast); }
|
|
1085
1133
|
.hist-proj:hover { background: var(--hover); color: var(--text); }
|
|
1086
|
-
.hist-proj[aria-pressed=true] { background: var(--
|
|
1134
|
+
.hist-proj[aria-pressed=true] { background: var(--selected); color: var(--brand); font-weight: 500; }
|
|
1087
1135
|
.hist-proj:focus-visible { outline: var(--focus-outline); outline-offset: 1px; box-shadow: var(--focus-ring); }
|
|
1088
1136
|
.hist-proj-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1089
1137
|
.hist-proj-gone { flex: none; display: inline-flex; color: var(--faint); }
|
|
1090
1138
|
.hist-proj-gone .ic { width: 12px; height: 12px; }
|
|
1091
|
-
.hist-proj-n { flex: none; color: var(--muted); font-size:
|
|
1092
|
-
.hist-sk { width: 70%; margin: 8px
|
|
1093
|
-
.hist-main { min-width: 0; display: flex; flex-direction: column; gap:
|
|
1094
|
-
.hist-status { display: flex; flex-direction: column; gap:
|
|
1139
|
+
.hist-proj-n { flex: none; color: var(--muted); font-size: 12px; font-weight: 400; }
|
|
1140
|
+
.hist-sk { width: 70%; margin: 8px 12px; }
|
|
1141
|
+
.hist-main { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
|
|
1142
|
+
.hist-status { display: flex; flex-direction: column; gap: 8px; }
|
|
1095
1143
|
.hist-status:empty { display: none; }
|
|
1096
1144
|
.hist-count { margin: 0; }
|
|
1097
|
-
.hist-list { transition: opacity
|
|
1145
|
+
.hist-list { transition: opacity var(--duration-fast); }
|
|
1098
1146
|
.hist-list.is-loading { opacity: .6; }
|
|
1099
|
-
.hist-list.swap-in { animation: hist-swap
|
|
1147
|
+
.hist-list.swap-in { animation: hist-swap var(--duration-base) var(--ease-out); }
|
|
1100
1148
|
@keyframes hist-swap { from { opacity: .6; } }
|
|
1101
|
-
.hist-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; column-gap: 12px; padding:
|
|
1149
|
+
.hist-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; column-gap: 12px; padding: 12px 12px 12px 16px; border-top: 1px solid var(--border); transition: background-color var(--duration-fast); }
|
|
1102
1150
|
/* In a long list, rows out of view are not laid out until they come near it, so it folds and scrolls without stalls;
|
|
1103
1151
|
a short list lays out every row at once, so nothing moves when a guessed height is replaced by the real one. */
|
|
1104
1152
|
.hist-list.is-long .hist-row { content-visibility: auto; contain-intrinsic-size: auto 92px; }
|
|
1105
|
-
.hist-row:first-child { border-top: 0; border-radius: var(--radius) var(--radius) 0 0; }
|
|
1106
|
-
.hist-row:last-child { border-radius: 0 0 var(--radius) var(--radius); }
|
|
1107
|
-
.hist-row:only-child { border-radius: var(--radius); }
|
|
1153
|
+
.hist-row:first-child { border-top: 0; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
|
|
1154
|
+
.hist-row:last-child { border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
|
|
1155
|
+
.hist-row:only-child { border-radius: var(--radius-xl); }
|
|
1108
1156
|
.hist-row:hover { background: var(--hover); cursor: pointer; }
|
|
1109
|
-
.hist-row > .badge { margin-top:
|
|
1110
|
-
.hist-body { min-width: 0; display: flex; flex-direction: column; gap:
|
|
1157
|
+
.hist-row > .badge { margin-top: 0; }
|
|
1158
|
+
.hist-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
|
|
1111
1159
|
.hist-line { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
|
|
1112
|
-
.hist-open { flex: 0 1 auto; min-width: 0; padding: 0; border: 0; background: none; color: var(--text); font: inherit; font-weight:
|
|
1160
|
+
.hist-open { flex: 0 1 auto; min-width: 0; padding: 0; border: 0; background: none; color: var(--text); font: inherit; font-weight: 600; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; border-radius: var(--radius-sm); }
|
|
1113
1161
|
.hist-open:hover { text-decoration: underline; text-underline-offset: 2px; }
|
|
1114
1162
|
.hist-open:focus-visible { outline: var(--focus-outline); outline-offset: 2px; box-shadow: var(--focus-ring); }
|
|
1115
1163
|
.hist-open[aria-busy=true] { cursor: progress; opacity: .7; }
|
|
1116
1164
|
.hist-view[aria-busy=true] { cursor: progress; color: var(--muted); }
|
|
1117
1165
|
.hist-view[aria-busy=true] .ic { display: none; }
|
|
1118
|
-
.hist-live { flex: none; display: inline-flex; align-items: center; gap:
|
|
1166
|
+
.hist-live { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ok); }
|
|
1119
1167
|
.hist-live .hist-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok-bar); }
|
|
1120
|
-
.hist-meta { min-width: 0; overflow: hidden; padding:
|
|
1121
|
-
.hist-mi-wrap { display: flex; flex-wrap: wrap; align-items: center; row-gap:
|
|
1168
|
+
.hist-meta { min-width: 0; overflow: hidden; padding: 4px; margin: -4px; }
|
|
1169
|
+
.hist-mi-wrap { display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px; margin-left: -16px; }
|
|
1122
1170
|
.hist-mi { display: inline-flex; align-items: center; min-width: 0; max-width: 100%; }
|
|
1123
1171
|
.hist-mi::before { content: '·'; flex: none; width: 14px; text-align: center; opacity: .7; }
|
|
1124
1172
|
.hist-meta b { color: var(--text); font-weight: 500; }
|
|
1125
1173
|
.hist-pname, .hist-branch { min-width: 0; max-width: 18em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1126
1174
|
.hist-age { white-space: nowrap; }
|
|
1127
|
-
.hist-snip { color: var(--muted); font-size:
|
|
1128
|
-
.hist mark, .hv-msgs mark { background: var(--accent-soft); color: var(--text); border-radius:
|
|
1129
|
-
.hist-cont { min-width: 6.5em; justify-content: center; transition: background-color
|
|
1175
|
+
.hist-snip { color: var(--muted); font-size: 12px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
|
|
1176
|
+
.hist mark, .hv-msgs mark { background: var(--accent-soft); color: var(--text); border-radius: var(--radius-sm); padding: 0 0; }
|
|
1177
|
+
.hist-cont { min-width: 6.5em; justify-content: center; transition: background-color var(--duration-fast), border-color var(--duration-fast), color var(--duration-fast); }
|
|
1130
1178
|
.hist-cont.is-copied { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
|
|
1131
1179
|
.hist-cont .ic { width: 14px; height: 14px; }
|
|
1132
1180
|
.hist-tail { display: flex; justify-content: center; }
|
|
1133
1181
|
.hist-tail:empty { display: none; }
|
|
1134
1182
|
.hist-tail p { margin: 0; }
|
|
1135
|
-
.hist-empty p { margin: 0 0
|
|
1183
|
+
.hist-empty p { margin: 0 0 12px; }
|
|
1136
1184
|
.hist-ways { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
|
|
1137
1185
|
.hist-toolbox { display: flex; flex-direction: column; gap: 8px; }
|
|
1138
1186
|
.hist-toolbox:empty { display: none; }
|
|
1139
1187
|
.hist-toolbox > p { margin: 0; }
|
|
1140
|
-
.hist-tool-head { display: flex; flex-wrap: wrap; align-items: center; gap:
|
|
1141
|
-
.hist-tool-head h3 { margin: 0; font-size:
|
|
1188
|
+
.hist-tool-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
|
|
1189
|
+
.hist-tool-head h3 { margin: 0; font-size: 13px; }
|
|
1142
1190
|
.hist-tool-prog { display: inline-flex; align-items: center; }
|
|
1143
|
-
.hist-sources-box { margin-top:
|
|
1144
|
-
.hist-sources summary { cursor: pointer; font-size:
|
|
1191
|
+
.hist-sources-box { margin-top: 20px; }
|
|
1192
|
+
.hist-sources summary { cursor: pointer; font-size: 12px; color: var(--muted); width: fit-content; border-radius: var(--radius-sm); }
|
|
1145
1193
|
.hist-sources summary:hover { color: var(--text); }
|
|
1146
1194
|
.hist-sources summary:focus-visible { outline: var(--focus-outline); outline-offset: 2px; box-shadow: var(--focus-ring); }
|
|
1147
|
-
.hist-src { width: 100%; margin-top: 8px; border-collapse: collapse; font-size:
|
|
1148
|
-
.hist-src th { text-align: left; font-weight:
|
|
1149
|
-
.hist-src td { padding:
|
|
1195
|
+
.hist-src { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 12px; }
|
|
1196
|
+
.hist-src th { text-align: left; font-weight: 600; color: var(--muted); padding: 4px 8px; border-bottom: 1px solid var(--border); }
|
|
1197
|
+
.hist-src td { padding: 4px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
|
|
1150
1198
|
.hist-src .num { text-align: right; white-space: nowrap; }
|
|
1151
|
-
.hist-clear { margin:
|
|
1152
|
-
.hv-meta { margin: 0 0
|
|
1153
|
-
.hv-msgs { max-height: min(60vh, 560px); overflow: auto; display: flex; flex-direction: column; gap:
|
|
1199
|
+
.hist-clear { margin: 12px 0 0; }
|
|
1200
|
+
.hv-meta { margin: 0 0 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
|
|
1201
|
+
.hv-msgs { max-height: min(60vh, 560px); overflow: auto; display: flex; flex-direction: column; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-2); }
|
|
1154
1202
|
.hv-msgs:focus-visible { outline: var(--focus-outline); outline-offset: 2px; box-shadow: var(--focus-ring); }
|
|
1155
1203
|
.hv-earlier { align-self: center; }
|
|
1156
1204
|
.hv-start { margin: 0; text-align: center; }
|
|
1157
|
-
.hv-msg { display: flex; flex-direction: column; gap:
|
|
1205
|
+
.hv-msg { display: flex; flex-direction: column; gap: 4px; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); max-width: 92%; }
|
|
1158
1206
|
.hv-user { align-self: flex-end; background: var(--accent-soft); border-color: transparent; }
|
|
1159
1207
|
.hv-who { display: flex; gap: 8px; align-items: baseline; }
|
|
1160
1208
|
.hv-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.55; }
|
|
1161
1209
|
.hv-all { align-self: flex-start; }
|
|
1162
1210
|
.hv-md { white-space: normal; }
|
|
1163
1211
|
.hv-md > * { margin: 0; }
|
|
1164
|
-
.hv-md > * + * { margin-top:
|
|
1212
|
+
.hv-md > * + * { margin-top: 8px; }
|
|
1165
1213
|
.hv-md p, .hv-md li, .hv-md blockquote { white-space: pre-wrap; }
|
|
1166
1214
|
.hv-md .hv-h { font-weight: 600; }
|
|
1167
|
-
.hv-md :is(ul, ol) { padding-left:
|
|
1168
|
-
.hv-md blockquote { padding-left:
|
|
1215
|
+
.hv-md :is(ul, ol) { padding-left: 20px; }
|
|
1216
|
+
.hv-md blockquote { padding-left: 12px; border-left: 2px solid var(--border); color: var(--muted); }
|
|
1169
1217
|
.hv-md hr { border: 0; border-top: 1px solid var(--border); }
|
|
1170
|
-
.hv-md :not(pre) > code { background: var(--surface-2); border-radius:
|
|
1218
|
+
.hv-md :not(pre) > code { background: var(--surface-2); border-radius: var(--radius-sm); padding: 0 4px; }
|
|
1171
1219
|
.hv-md a { color: var(--accent); }
|
|
1172
|
-
.hv-code { background: var(--surface-2); border: 1px solid var(--border); border-radius:
|
|
1220
|
+
.hv-code { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 8px 8px; overflow-x: auto; white-space: pre; font-size: 12px; line-height: 1.5; }
|
|
1173
1221
|
.hv-table { overflow-x: auto; max-width: 100%; }
|
|
1174
1222
|
.hv-table table { border-collapse: collapse; font-size: 12px; }
|
|
1175
|
-
.hv-table :is(th, td) { border: 1px solid var(--border); padding:
|
|
1223
|
+
.hv-table :is(th, td) { border: 1px solid var(--border); padding: 4px 8px; text-align: left; vertical-align: top; }
|
|
1176
1224
|
.hv-table th { background: var(--surface-2); font-weight: 600; white-space: nowrap; }
|
|
1177
|
-
.hv-tools { display: flex; align-items: center; gap:
|
|
1225
|
+
.hv-tools { display: flex; align-items: center; gap: 8px; padding: 0 4px; }
|
|
1178
1226
|
.hv-tools .ic { flex: none; width: 13px; height: 13px; }
|
|
1179
1227
|
:where(:root[data-width=narrow], :root[data-width=phone]) .hist-grid { grid-template-columns: minmax(0, 1fr); }
|
|
1180
1228
|
: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; }
|
|
@@ -1183,7 +1231,7 @@ select:is(:hover, :focus) { --chevron: var(--text); }
|
|
|
1183
1231
|
:where(:root[data-width=narrow], :root[data-width=phone]) .hist-catbody > .hist-catps { flex-direction: row; overflow: visible; }
|
|
1184
1232
|
:where(:root[data-width=narrow], :root[data-width=phone]) .hist-proj { width: auto; flex: none; max-width: 16em; }
|
|
1185
1233
|
:where(:root[data-width=narrow], :root[data-width=phone]) :is(.hist-catgrp, .hist-catps) { flex-direction: row; display: flex; gap: 4px; margin-top: 0; }
|
|
1186
|
-
:where(:root[data-width=narrow], :root[data-width=phone]) .hist-catps .hist-proj { padding-left:
|
|
1234
|
+
:where(:root[data-width=narrow], :root[data-width=phone]) .hist-catps .hist-proj { padding-left: 12px; }
|
|
1187
1235
|
:where(:root[data-width=narrow], :root[data-width=phone]) .hist-cathead { display: none; }
|
|
1188
1236
|
:where(:root[data-width=narrow], :root[data-width=phone]) .hist-catbody { display: contents; }
|
|
1189
1237
|
/* Without its heading a folded category could not be opened again, so a narrow screen shows every category open. */
|
|
@@ -1192,52 +1240,52 @@ select:is(:hover, :focus) { --chevron: var(--text); }
|
|
|
1192
1240
|
:where(:root[data-width=narrow], :root[data-width=phone]) .hist-row .sess-actions { grid-column: 2; }
|
|
1193
1241
|
/* Small motions (2026-10-20): every state change of a control eases over 120 ms, a press shrinks it a little, and what
|
|
1194
1242
|
appears or goes away fades. Only opacity and transform move, so nothing reflows. */
|
|
1195
|
-
.icon-btn, .seg-btn, .menu-item, .set-tab, .link-btn, .email-btn { transition: background-color
|
|
1196
|
-
.tag-btn { transition: filter
|
|
1197
|
-
.btn { transition: background-color
|
|
1198
|
-
.chip-btn { transition: filter
|
|
1243
|
+
.icon-btn, .seg-btn, .menu-item, .set-tab, .link-btn, .email-btn { transition: background-color var(--duration-fast), color var(--duration-fast), border-color var(--duration-fast), transform var(--duration-fast); }
|
|
1244
|
+
.tag-btn { transition: filter var(--duration-fast), transform var(--duration-fast); }
|
|
1245
|
+
.btn { transition: background-color var(--duration-fast), border-color var(--duration-fast), color var(--duration-fast), transform var(--duration-fast); }
|
|
1246
|
+
.chip-btn { transition: filter var(--duration-fast), border-color var(--duration-fast), transform var(--duration-fast); }
|
|
1199
1247
|
:is(.btn, .icon-btn, .seg-btn, .set-tab, .chip-btn):not(.drag-handle):active:not(:disabled) { transform: scale(.97); }
|
|
1200
|
-
.set-link .ic { transition: transform
|
|
1248
|
+
.set-link .ic { transition: transform var(--duration-fast); }
|
|
1201
1249
|
.set-link:hover .ic { transform: translateX(2px); }
|
|
1202
1250
|
.icon-btn.row-run.is-done { color: var(--ok); }
|
|
1203
|
-
.row-run.is-done .ic { animation: pop-in
|
|
1251
|
+
.row-run.is-done .ic { animation: pop-in var(--duration-base) var(--ease-out); }
|
|
1204
1252
|
@keyframes pop-in { from { opacity: 0; transform: scale(.6); } }
|
|
1205
|
-
.tip.is-open .tip-body, .tip-float.is-shown { animation: tip-in
|
|
1253
|
+
.tip.is-open .tip-body, .tip-float.is-shown { animation: tip-in var(--duration-fast) var(--ease-out); }
|
|
1206
1254
|
@keyframes tip-in { from { opacity: 0; transform: translateY(2px); } }
|
|
1207
|
-
.toast.toast-out { box-sizing: border-box; overflow: hidden; animation: toast-out
|
|
1255
|
+
.toast.toast-out { box-sizing: border-box; overflow: hidden; animation: toast-out var(--duration-fast) var(--ease-in) forwards; }
|
|
1208
1256
|
@keyframes toast-out { to { opacity: 0; height: 0; min-height: 0; padding-top: 0; padding-bottom: 0; margin-top: -8px; border-width: 0; } }
|
|
1209
|
-
.set-pane.view-in { animation: view-in
|
|
1257
|
+
.set-pane.view-in { animation: view-in var(--duration-base) var(--ease-out) both; }
|
|
1210
1258
|
.set-pane.view-in > * { animation: none; }
|
|
1211
1259
|
/* A dialog closes at once (the page takes clicks again) and only its picture fades out: the browser keeps it in the top
|
|
1212
1260
|
layer for the transition. Browsers without overlay transitions just close it. */
|
|
1213
|
-
.dialog, .dialog::backdrop { transition: opacity
|
|
1261
|
+
.dialog, .dialog::backdrop { transition: opacity var(--duration-fast) var(--ease-in), transform var(--duration-fast) var(--ease-in), overlay var(--duration-fast) var(--ease-in) allow-discrete, display var(--duration-fast) var(--ease-in) allow-discrete; }
|
|
1214
1262
|
/* A dialog that opens another in its place (Settings → Preferred terminal) eases to the new width instead of jumping. */
|
|
1215
|
-
.dialog[open] { transition: width
|
|
1263
|
+
.dialog[open] { transition: width var(--duration-slow) var(--ease-out); }
|
|
1216
1264
|
/* While it fades out it is no longer modal. Its column layout must not depend on [open], or the content would turn
|
|
1217
1265
|
into a row mid-fade; the geometry below matches the modal one for engines that drop the modal styles there. */
|
|
1218
1266
|
.dialog { position: fixed; inset: 0; margin: auto; height: fit-content; max-width: none; overflow: auto; flex-direction: column; }
|
|
1219
|
-
.dialog.dialog-top { margin-top:
|
|
1267
|
+
.dialog.dialog-top { margin-top: 96px; max-height: calc(100vh - 120px); }
|
|
1220
1268
|
.dialog:not([open]) { opacity: 0; transform: translateY(4px) scale(.985); pointer-events: none; }
|
|
1221
1269
|
.dialog:not([open])::backdrop { opacity: 0; }
|
|
1222
1270
|
/* Page tabs (2026-10-21): underline tabs across the content width, as GitHub and Vercel draw them. The selected page
|
|
1223
1271
|
is in full text color with its mark in the accent and a 2px accent line under it; the others are muted. Each label
|
|
1224
1272
|
reserves its bold width, so picking a tab never moves the ones after it. */
|
|
1225
|
-
.pages { margin:
|
|
1226
|
-
.tabs { display: flex; align-items: flex-end; gap:
|
|
1227
|
-
.tab { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap:
|
|
1228
|
-
.tab::before { content: ""; position: absolute; inset:
|
|
1273
|
+
.pages { margin: 4px 0 24px; }
|
|
1274
|
+
.tabs { display: flex; align-items: flex-end; gap: 4px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
|
|
1275
|
+
.tab { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 8px; flex: none; height: 44px; padding: 0 12px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: color var(--duration-fast); }
|
|
1276
|
+
.tab::before { content: ""; position: absolute; inset: 8px 4px 8px; z-index: -1; border-radius: var(--radius-md); background: var(--hover); opacity: 0; transition: opacity var(--duration-fast); }
|
|
1229
1277
|
.tab:hover { color: var(--text); }
|
|
1230
1278
|
.tab:hover::before { opacity: 1; }
|
|
1231
1279
|
/* The icon takes its tab's text color, so a tab is always one color: muted, then the accent once selected. */
|
|
1232
|
-
.tab .ic { width: 16px; height: 16px; color: currentColor; transition: color
|
|
1280
|
+
.tab .ic { width: 16px; height: 16px; color: currentColor; transition: color var(--duration-fast); }
|
|
1233
1281
|
.tab-label { display: inline-grid; }
|
|
1234
|
-
.tab-label::after { content: attr(data-label); height: 0; overflow: hidden; visibility: hidden; font-weight:
|
|
1235
|
-
.tab[aria-selected=true] { color: var(--
|
|
1236
|
-
.tab[aria-selected=true]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius:
|
|
1282
|
+
.tab-label::after { content: attr(data-label); height: 0; overflow: hidden; visibility: hidden; font-weight: 600; }
|
|
1283
|
+
.tab[aria-selected=true] { color: var(--brand); font-weight: 500; }
|
|
1284
|
+
.tab[aria-selected=true]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; background: var(--accent); animation: tab-line var(--duration-slow) var(--ease-out); }
|
|
1237
1285
|
@keyframes tab-line { from { opacity: 0; transform: scaleX(.3); } }
|
|
1238
|
-
.tab:focus-visible { outline: var(--focus-outline); outline-offset: -5px; border-radius: var(--
|
|
1239
|
-
.tab-count { min-width: 20px; padding: 0
|
|
1240
|
-
.tab[aria-selected=true] .tab-count { background: var(--
|
|
1286
|
+
.tab:focus-visible { outline: var(--focus-outline); outline-offset: -5px; border-radius: var(--radius-md); }
|
|
1287
|
+
.tab-count { min-width: 20px; padding: 0 8px; border-radius: var(--radius-pill); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); color: var(--muted); font-size: 12px; font-weight: 500; line-height: 18px; text-align: center; }
|
|
1288
|
+
.tab[aria-selected=true] .tab-count { background: var(--selected); box-shadow: none; color: var(--brand); }
|
|
1241
1289
|
.tab-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok-bar); box-shadow: 0 0 0 3px var(--ok-soft); }
|
|
1242
1290
|
.tab .seg-badge { margin-left: 0; }
|
|
1243
1291
|
.tab .spin { width: 16px; height: 16px; }
|
|
@@ -1245,26 +1293,26 @@ select:is(:hover, :focus) { --chevron: var(--text); }
|
|
|
1245
1293
|
/* Pages other than Accounts open the same way: a title with its actions on the right, one line saying what the page
|
|
1246
1294
|
is for, then the content in surfaces. A section inside a page has a small heading with more room above than below. */
|
|
1247
1295
|
.page > .section-head { margin-bottom: 4px; min-height: var(--ctl-h); }
|
|
1248
|
-
.page > .section-head h2 { font-size:
|
|
1249
|
-
.page > .section-head + p { margin-bottom:
|
|
1250
|
-
.page-sec { margin: 28px 0
|
|
1251
|
-
.page-sec-head { display: flex; flex-direction: column; gap:
|
|
1296
|
+
.page > .section-head h2 { font-size: 20px; letter-spacing: -0.015em; }
|
|
1297
|
+
.page > .section-head + p { margin-bottom: 20px; max-width: 860px; color: var(--muted); font-size: 13px; line-height: 1.6; }
|
|
1298
|
+
.page-sec { margin: 28px 0 12px; font-size: 13px; font-weight: 600; color: var(--text); }
|
|
1299
|
+
.page-sec-head { display: flex; flex-direction: column; gap: 4px; margin: 28px 0 12px; }
|
|
1252
1300
|
.page-sec-head .page-sec { margin: 0; }
|
|
1253
1301
|
|
|
1254
1302
|
/* Auto Handoff's status card: its mark, on or off in words, what that means, and the one action that changes it. On,
|
|
1255
1303
|
it takes a green edge and tint, so the state reads before the words. */
|
|
1256
|
-
.hp-status { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding:
|
|
1257
|
-
.hp-status-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius:
|
|
1304
|
+
.hp-status { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 20px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); transition: background-color var(--duration-slow), border-color var(--duration-slow); }
|
|
1305
|
+
.hp-status-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius-xl); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); color: var(--muted); }
|
|
1258
1306
|
.hp-status-ic .ic { width: 20px; height: 20px; }
|
|
1259
|
-
.hp-status-text { min-width: 0; display: flex; flex-direction: column; gap:
|
|
1260
|
-
.hp-status-text b { font-size:
|
|
1307
|
+
.hp-status-text { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
|
|
1308
|
+
.hp-status-text b { font-size: 16px; font-weight: 600; }
|
|
1261
1309
|
.hp-status-text p { font-size: 13px; line-height: 1.55; }
|
|
1262
1310
|
.hp-status.is-on { border-color: color-mix(in srgb, var(--ok-bar) 40%, var(--border)); background: color-mix(in srgb, var(--ok-soft) 55%, var(--surface)); }
|
|
1263
1311
|
.hp-status.is-on .hp-status-ic { background: var(--ok-soft); box-shadow: none; color: var(--ok); }
|
|
1264
1312
|
.hp-status + :not(.page-sec-head, .page-sec) { margin-top: 12px; }
|
|
1265
|
-
.page .hp-rules, .page .hp-rows { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
|
|
1313
|
+
.page .hp-rules, .page .hp-rows { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
|
|
1266
1314
|
.page .hp-rules > li { padding: 12px 16px; min-height: 52px; }
|
|
1267
|
-
.page .hp-rows li { padding:
|
|
1315
|
+
.page .hp-rows li { padding: 12px 16px; }
|
|
1268
1316
|
.hp-rule-text::before { color: var(--faint); }
|
|
1269
1317
|
:where(:root[data-width=narrow], :root[data-width=phone]) .hp-status { grid-template-columns: auto minmax(0, 1fr); }
|
|
1270
1318
|
:where(:root[data-width=narrow], :root[data-width=phone]) .hp-status > .btn { grid-column: 1 / -1; justify-self: start; }
|
|
@@ -1272,24 +1320,24 @@ select:is(:hover, :focus) { --chevron: var(--text); }
|
|
|
1272
1320
|
/* Context tuning on its page: one surface per settings file. Now, the suggestion and what it saves are one strip like
|
|
1273
1321
|
the Accounts summary; the per-account details sit in the card's foot. */
|
|
1274
1322
|
.tg-head { display: flex; align-items: center; gap: 8px; min-width: 0; }
|
|
1275
|
-
.tg-stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: var(--surface-2); border: 1px solid var(--border); border-radius:
|
|
1323
|
+
.tg-stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
|
|
1276
1324
|
.tg-stat { min-width: 0; padding: 12px 16px; border-left: 1px solid var(--border); }
|
|
1277
1325
|
.tg-stat:first-child { border-left: 0; }
|
|
1278
|
-
.tg-stats .tune-num { font-size:
|
|
1279
|
-
#tuning-page .tune-acct { gap: 0; margin: 0 0 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
|
|
1280
|
-
#tuning-page .tune-group { gap: 12px; padding:
|
|
1281
|
-
#tuning-page .tune-acct > .tune-details { margin: 0; padding:
|
|
1326
|
+
.tg-stats .tune-num { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; white-space: nowrap; }
|
|
1327
|
+
#tuning-page .tune-acct { gap: 0; margin: 0 0 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
|
|
1328
|
+
#tuning-page .tune-group { gap: 12px; padding: 20px 20px; border: 0; border-radius: 0; }
|
|
1329
|
+
#tuning-page .tune-acct > .tune-details { margin: 0; padding: 12px 20px; border-top: 1px solid var(--border); background: var(--surface-2); }
|
|
1282
1330
|
#tuning-page .tune-acct > .tune-details:first-child { border-top: 0; }
|
|
1283
|
-
#tuning-page .tune-acct > .tune-details[open] > summary { margin-bottom:
|
|
1331
|
+
#tuning-page .tune-acct > .tune-details[open] > summary { margin-bottom: 8px; }
|
|
1284
1332
|
:where(:root[data-width=phone]) .tg-stats { grid-auto-flow: row; }
|
|
1285
1333
|
:where(:root[data-width=phone]) .tg-stat { border-left: 0; border-top: 1px solid var(--border); }
|
|
1286
1334
|
:where(:root[data-width=phone]) .tg-stat:first-child { border-top: 0; }
|
|
1287
1335
|
|
|
1288
1336
|
/* Hidden Families and Accounts (spec §3.25): the line under the list, and the marks while they are shown. */
|
|
1289
|
-
.hidden-bar { display: flex; align-items: center; justify-content: center; gap: 8px; padding:
|
|
1337
|
+
.hidden-bar { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 0 4px; animation: chip-in var(--duration-base) var(--ease-out); }
|
|
1290
1338
|
.hidden-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fail); flex: none; }
|
|
1291
1339
|
.hidden-chip .ic { width: 12px; height: 12px; }
|
|
1292
|
-
.ident-name .hidden-chip { margin-left:
|
|
1340
|
+
.ident-name .hidden-chip { margin-left: 4px; }
|
|
1293
1341
|
.group.is-hidden .group-title, .row.is-hidden .name { color: var(--muted); }
|
|
1294
1342
|
.hide-btn .ic { width: 16px; height: 16px; }
|
|
1295
1343
|
.hide-btn.is-on { color: var(--muted); }
|
|
@@ -1298,47 +1346,47 @@ select:is(:hover, :focus) { --chevron: var(--text); }
|
|
|
1298
1346
|
/* Unattended Mode (spec §3.37): the status card (green while on, amber while paused), the chooser under it, the
|
|
1299
1347
|
Schedule's rows of day chips and times, and what sessions left for the user, grouped by session. Parts that come
|
|
1300
1348
|
and go are animated from the script (uaPatch); these rules only lay them out. */
|
|
1301
|
-
.ua-badge { gap:
|
|
1349
|
+
.ua-badge { gap: 8px; border-color: color-mix(in srgb, var(--ok-bar) 45%, var(--border-strong)); background: color-mix(in srgb, var(--ok-soft) 70%, var(--surface)); color: var(--ok); }
|
|
1302
1350
|
.ua-badge .ic { width: 15px; height: 15px; }
|
|
1303
1351
|
.ua-badge:hover { border-color: var(--ok-bar); }
|
|
1304
1352
|
.ua-status.is-paused { border-color: color-mix(in srgb, var(--warn-bar) 40%, var(--border)); background: color-mix(in srgb, var(--warn-soft) 50%, var(--surface)); }
|
|
1305
1353
|
.ua-status.is-paused .hp-status-ic { background: var(--warn-soft); box-shadow: none; color: var(--warn); }
|
|
1306
1354
|
.ua-status-rest { font-weight: 500; color: var(--text); }
|
|
1307
|
-
.ua-chooser { max-width: 560px; margin-top: 12px; padding:
|
|
1308
|
-
.ua-chooser-title { font-weight:
|
|
1309
|
-
.ua-opts { display: flex; flex-direction: column; gap:
|
|
1310
|
-
.ua-opt { display: flex; align-items: center; gap:
|
|
1355
|
+
.ua-chooser { max-width: 560px; margin-top: 12px; padding: 16px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
|
|
1356
|
+
.ua-chooser-title { font-weight: 600; margin-bottom: 8px; }
|
|
1357
|
+
.ua-opts { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
|
|
1358
|
+
.ua-opt { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 4px 12px; border-radius: var(--radius-sm); cursor: pointer; transition: background-color var(--duration-fast); }
|
|
1311
1359
|
.ua-opt:hover { background: var(--hover); }
|
|
1312
1360
|
.ua-opt.is-on { background: var(--accent-soft); }
|
|
1313
|
-
.ua-radio { display: inline-flex; align-items: center; gap:
|
|
1314
|
-
.ua-radio:focus-visible { outline: var(--focus-outline); outline-offset: 3px; border-radius:
|
|
1315
|
-
.ua-dot { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--border-strong); background: var(--surface); transition: border-color
|
|
1361
|
+
.ua-radio { display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; color: var(--text); font: inherit; cursor: pointer; min-width: 9.5em; text-align: left; }
|
|
1362
|
+
.ua-radio:focus-visible { outline: var(--focus-outline); outline-offset: 3px; border-radius: var(--radius-sm); }
|
|
1363
|
+
.ua-dot { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--border-strong); background: var(--surface); transition: border-color var(--duration-fast), box-shadow var(--duration-fast); }
|
|
1316
1364
|
.ua-radio[aria-checked=true] .ua-dot { border-color: var(--accent); box-shadow: inset 0 0 0 3.5px var(--surface), inset 0 0 0 8px var(--accent); }
|
|
1317
1365
|
.ua-when { margin-left: auto; font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
|
|
1318
|
-
input.ua-time { width: 4.6em; height: var(--ctl-h-sm); padding: 0
|
|
1366
|
+
input.ua-time { width: 4.6em; height: var(--ctl-h-sm); padding: 0 8px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface); color: var(--text); font: inherit; font-size: 13px; font-variant-numeric: tabular-nums; text-align: center; transition: border-color var(--duration-fast), box-shadow var(--duration-fast); }
|
|
1319
1367
|
input.ua-time:hover:not(:disabled) { border-color: var(--btn-hover-border); }
|
|
1320
1368
|
input.ua-time:focus { border-color: var(--focus); outline: none; box-shadow: var(--focus-ring); }
|
|
1321
1369
|
input.ua-time:invalid { border-color: var(--fail); }
|
|
1322
1370
|
input.ua-time:disabled { background: var(--surface-2); color: var(--faint); }
|
|
1323
1371
|
input.ua-time::placeholder { color: var(--faint); }
|
|
1324
1372
|
.ua-slots, .ua-cover, .ua-items { list-style: none; margin: 0; padding: 0; }
|
|
1325
|
-
.ua-slots { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
|
|
1326
|
-
.ua-slot { display: flex; align-items: center; flex-wrap: wrap; gap:
|
|
1373
|
+
.ua-slots { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
|
|
1374
|
+
.ua-slot { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; padding: 12px 12px 12px 16px; border-top: 1px solid var(--border); }
|
|
1327
1375
|
.ua-slot:first-child { border-top: 0; }
|
|
1328
|
-
.ua-slot-name { min-width: 7em; font-weight:
|
|
1376
|
+
.ua-slot-name { min-width: 7em; font-weight: 600; }
|
|
1329
1377
|
.ua-days { display: inline-flex; gap: 4px; }
|
|
1330
|
-
.ua-day { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0
|
|
1378
|
+
.ua-day { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); background: var(--surface); color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; transition: background-color var(--duration-fast), border-color var(--duration-fast), color var(--duration-fast); }
|
|
1331
1379
|
.ua-day:hover:not(:disabled) { border-color: var(--btn-hover-border); color: var(--text); }
|
|
1332
|
-
.ua-day[aria-pressed=true] { background: var(--
|
|
1380
|
+
.ua-day[aria-pressed=true] { background: var(--selected); border-color: transparent; color: var(--brand); font-weight: 500; }
|
|
1333
1381
|
.ua-day:disabled { cursor: default; }
|
|
1334
1382
|
.ua-day[aria-pressed=false]:disabled { opacity: .5; }
|
|
1335
1383
|
.ua-day:focus-visible { outline: var(--focus-outline); outline-offset: 1px; box-shadow: var(--focus-ring); }
|
|
1336
|
-
.ua-times { display: inline-flex; align-items: center; gap:
|
|
1384
|
+
.ua-times { display: inline-flex; align-items: center; gap: 8px; }
|
|
1337
1385
|
.ua-dash { color: var(--muted); }
|
|
1338
|
-
.ua-night { animation: fade-in
|
|
1386
|
+
.ua-night { animation: fade-in var(--duration-base) var(--ease-out); }
|
|
1339
1387
|
.ua-del { margin-left: auto; }
|
|
1340
1388
|
.ua-del .ic { width: 15px; height: 15px; }
|
|
1341
|
-
.ua-add-row { margin-top:
|
|
1389
|
+
.ua-add-row { margin-top: 12px; }
|
|
1342
1390
|
.ua-empty { gap: 8px; }
|
|
1343
1391
|
.ua-empty .ic, .ua-first .ic { width: 15px; height: 15px; flex: none; }
|
|
1344
1392
|
.ua-first { margin-top: 12px; }
|
|
@@ -1346,17 +1394,17 @@ input.ua-time::placeholder { color: var(--faint); }
|
|
|
1346
1394
|
.ua-sec-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
|
|
1347
1395
|
.ua-sec-row .tab-count { margin-left: 4px; vertical-align: 1px; }
|
|
1348
1396
|
.ua-groups { display: flex; flex-direction: column; }
|
|
1349
|
-
.ua-group { margin-bottom: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
|
|
1350
|
-
.ua-group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding:
|
|
1351
|
-
.ua-group-who { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px
|
|
1397
|
+
.ua-group { margin-bottom: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
|
|
1398
|
+
.ua-group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border); border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
|
|
1399
|
+
.ua-group-who { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; min-width: 0; }
|
|
1352
1400
|
.ua-cwd { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
|
|
1353
1401
|
.ua-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 12px 12px 12px 16px; border-top: 1px solid var(--border); }
|
|
1354
1402
|
.ua-item:first-child { border-top: 0; }
|
|
1355
1403
|
.ua-item-meta { display: flex; align-items: center; gap: 8px; grid-column: 1; }
|
|
1356
1404
|
.ua-text { grid-column: 1; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; }
|
|
1357
1405
|
.ua-text.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
|
|
1358
|
-
.ua-item-actions { grid-column: 2; grid-row: 1 / span 2; display: flex; align-items: flex-start; gap:
|
|
1359
|
-
.ua-cover { display: flex; flex-direction: column; gap:
|
|
1406
|
+
.ua-item-actions { grid-column: 2; grid-row: 1 / span 2; display: flex; align-items: flex-start; gap: 12px; }
|
|
1407
|
+
.ua-cover { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
|
|
1360
1408
|
.ua-cover li::before { content: "·"; margin-right: 8px; color: var(--faint); }
|
|
1361
1409
|
:where(:root[data-width=narrow], :root[data-width=phone]) .ua-item { grid-template-columns: minmax(0, 1fr); }
|
|
1362
1410
|
:where(:root[data-width=narrow], :root[data-width=phone]) .ua-item-actions { grid-column: 1; grid-row: auto; }
|
|
@@ -1365,48 +1413,48 @@ input.ua-time::placeholder { color: var(--faint); }
|
|
|
1365
1413
|
@media (prefers-reduced-motion: reduce) { .ua-opt, .ua-dot, .ua-day, input.ua-time { transition: none; } .ua-night { animation: none; } }
|
|
1366
1414
|
|
|
1367
1415
|
/* Command Palette (spec §3.36): a search box over one list; the dialog keeps its top edge while the list changes. */
|
|
1368
|
-
.kbd-inline { font:
|
|
1416
|
+
.kbd-inline { font-family: var(--mono); font-size: 11px; line-height: 16px; color: var(--muted); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 4px; margin-left: 4px; }
|
|
1369
1417
|
.dialog.dialog-pal { width: min(620px, calc(100vw - 24px)); flex-direction: column; }
|
|
1370
|
-
.pal-head { display: flex; align-items: center; gap:
|
|
1418
|
+
.pal-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
|
|
1371
1419
|
.pal-ic { flex: none; color: var(--muted); }
|
|
1372
|
-
.dialog .pal-input, .dialog .pal-input:focus, .dialog .pal-input:focus-visible { flex: 1; min-width: 0; height: 32px; padding: 0; border: 0; box-shadow: none; outline: none; background: none; color: var(--text); font: inherit; font-size:
|
|
1420
|
+
.dialog .pal-input, .dialog .pal-input:focus, .dialog .pal-input:focus-visible { flex: 1; min-width: 0; height: 32px; padding: 0; border: 0; box-shadow: none; outline: none; background: none; color: var(--text); font: inherit; font-size: 16px; outline: none; }
|
|
1373
1421
|
.pal-input::-webkit-search-cancel-button { display: none; }
|
|
1374
|
-
.pal-list { overflow-y: auto; overscroll-behavior: contain; padding:
|
|
1375
|
-
.pal-group { padding: 8px
|
|
1376
|
-
.pal-opt { display: flex; align-items: center; gap:
|
|
1377
|
-
.pal-opt[aria-selected=true] { background: var(--
|
|
1422
|
+
.pal-list { overflow-y: auto; overscroll-behavior: contain; padding: 8px; display: flex; flex-direction: column; gap: 0; max-height: min(56vh, 460px); }
|
|
1423
|
+
.pal-group { padding: 8px 12px 4px; font-size: 11px; font-weight: 600; color: var(--muted); }
|
|
1424
|
+
.pal-opt { display: flex; align-items: center; gap: 12px; min-height: 38px; padding: 4px 12px; border-radius: var(--radius-sm); color: var(--text); cursor: pointer; transition: background-color var(--duration-fast) var(--ease-out); }
|
|
1425
|
+
.pal-opt[aria-selected=true] { background: var(--selected); color: var(--text); }
|
|
1378
1426
|
.pal-opt[aria-disabled=true] { color: var(--faint); cursor: not-allowed; }
|
|
1379
|
-
.pal-kind { flex: none; min-width: 52px; font-size: 11px; line-height: 18px; color: var(--muted); border: 1px solid var(--border); border-radius:
|
|
1427
|
+
.pal-kind { flex: none; min-width: 52px; font-size: 11px; line-height: 18px; color: var(--muted); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 0 8px; text-align: center; }
|
|
1380
1428
|
.pal-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
|
|
1381
1429
|
.pal-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
1382
1430
|
.pal-also { font-size: 11px; color: var(--muted); }
|
|
1383
1431
|
.pal-where { flex: none; max-width: 42%; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
1384
|
-
.pal-opt mark { background: var(--accent-soft); color: inherit; border-radius:
|
|
1432
|
+
.pal-opt mark { background: var(--accent-soft); color: inherit; border-radius: var(--radius-sm); padding: 0 0; }
|
|
1385
1433
|
.pal-more .pal-main, .pal-hist .pal-title, .pal-ai .pal-title { color: var(--accent); }
|
|
1386
1434
|
.pal-hist { margin-top: 4px; }
|
|
1387
|
-
.pal-none { padding:
|
|
1388
|
-
.pal-foot { padding: 8px 16px; border-top: 1px solid var(--border); background: var(--surface-2); border-radius: 0 0 var(--radius) var(--radius); }
|
|
1435
|
+
.pal-none { padding: 16px 12px 4px; margin: 0; }
|
|
1436
|
+
.pal-foot { padding: 8px 16px; border-top: 1px solid var(--border); background: var(--surface-2); border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
|
|
1389
1437
|
[data-width=narrow] .pal-where, [data-width=narrow] .pal-foot { display: none; }
|
|
1390
1438
|
.dialog.dialog-cmds { width: min(760px, calc(100vw - 24px)); flex-direction: column; }
|
|
1391
|
-
.cmd-list { overflow-y: auto; overscroll-behavior: contain; padding: 4px
|
|
1392
|
-
.cmd-intro { margin: 8px
|
|
1439
|
+
.cmd-list { overflow-y: auto; overscroll-behavior: contain; padding: 4px 8px 12px; height: min(62vh, 560px); }
|
|
1440
|
+
.cmd-intro { margin: 8px 12px 4px; }
|
|
1393
1441
|
.cmd-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
|
|
1394
|
-
.cmd-row { display: flex; flex-direction: column; gap:
|
|
1442
|
+
.cmd-row { display: flex; flex-direction: column; gap: 4px; padding: 8px 12px; border-top: 1px solid var(--border); }
|
|
1395
1443
|
.cmd-row:first-child { border-top: 0; }
|
|
1396
1444
|
.cmd-line, .cmd-ex { display: flex; align-items: center; gap: 8px; min-width: 0; }
|
|
1397
|
-
.cmd-usage { flex: 1; min-width: 0; color: var(--text); font-weight:
|
|
1398
|
-
.cmd-desc { color: var(--muted); font-size:
|
|
1445
|
+
.cmd-usage { flex: 1; min-width: 0; color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
|
|
1446
|
+
.cmd-desc { color: var(--muted); font-size: 12px; }
|
|
1399
1447
|
.cmd-ex { font-size: 12px; color: var(--muted); }
|
|
1400
|
-
.cmd-ex code { min-width: 0; color: var(--text); background: var(--surface-2); border: 1px solid var(--border); border-radius:
|
|
1448
|
+
.cmd-ex code { min-width: 0; color: var(--text); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0 8px; overflow-wrap: anywhere; }
|
|
1401
1449
|
.cmd-ex-label { flex: none; }
|
|
1402
|
-
.cmd-open { flex: none; font-size:
|
|
1450
|
+
.cmd-open { flex: none; font-size: 12px; }
|
|
1403
1451
|
.cmd-copy { flex: none; }
|
|
1404
1452
|
.cmd-copy.is-done { color: var(--ok); }
|
|
1405
|
-
.cmd-none { padding:
|
|
1453
|
+
.cmd-none { padding: 16px 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
|
|
1406
1454
|
.cmd-none p { margin: 0; }
|
|
1407
1455
|
.cmd-none .link-btn { display: inline-flex; align-items: center; gap: 4px; }
|
|
1408
|
-
.find-flash { animation: find-flash
|
|
1409
|
-
@keyframes find-flash {
|
|
1456
|
+
.find-flash { animation: find-flash var(--duration-slow) var(--ease-in) backwards; animation-delay: 1s; border-radius: var(--radius-md); }
|
|
1457
|
+
@keyframes find-flash { from { box-shadow: 0 0 0 6px var(--accent-soft); background: var(--accent-soft); } to { box-shadow: 0 0 0 6px transparent; background: transparent; } }
|
|
1410
1458
|
@media (prefers-reduced-motion: reduce) { .find-flash { animation: none; } .pal-opt { transition: none; } }
|
|
1411
1459
|
@media (prefers-reduced-motion: reduce) {
|
|
1412
1460
|
.sk, .spin, .hidden-bar, .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, .tab[aria-selected=true]::after { animation: none; }
|