@zvirb/pinup-canvas 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +9 -2
- package/dist/agent/acp.d.ts +21 -0
- package/dist/agent/acp.d.ts.map +1 -0
- package/dist/agent/acp.js +248 -0
- package/dist/agent/acp.js.map +1 -0
- package/dist/agent/backend.d.ts +70 -0
- package/dist/agent/backend.d.ts.map +1 -0
- package/dist/agent/backend.js +112 -0
- package/dist/agent/backend.js.map +1 -0
- package/dist/agent/brief.d.ts +12 -0
- package/dist/agent/brief.d.ts.map +1 -0
- package/dist/agent/brief.js +35 -0
- package/dist/agent/brief.js.map +1 -0
- package/dist/agent/claude.d.ts +6 -0
- package/dist/agent/claude.d.ts.map +1 -0
- package/dist/agent/claude.js +104 -0
- package/dist/agent/claude.js.map +1 -0
- package/dist/agent/codex.d.ts +5 -0
- package/dist/agent/codex.d.ts.map +1 -0
- package/dist/agent/codex.js +127 -0
- package/dist/agent/codex.js.map +1 -0
- package/dist/agent/copies.d.ts +47 -0
- package/dist/agent/copies.d.ts.map +1 -0
- package/dist/agent/copies.js +229 -0
- package/dist/agent/copies.js.map +1 -0
- package/dist/agent/gemini.d.ts +5 -0
- package/dist/agent/gemini.d.ts.map +1 -0
- package/dist/agent/gemini.js +116 -0
- package/dist/agent/gemini.js.map +1 -0
- package/dist/agent/http.d.ts +4 -0
- package/dist/agent/http.d.ts.map +1 -0
- package/dist/agent/http.js +20 -0
- package/dist/agent/http.js.map +1 -0
- package/dist/agent/registry.d.ts +9 -0
- package/dist/agent/registry.d.ts.map +1 -0
- package/dist/agent/registry.js +43 -0
- package/dist/agent/registry.js.map +1 -0
- package/dist/agent/runner.d.ts +33 -0
- package/dist/agent/runner.d.ts.map +1 -0
- package/dist/agent/runner.js +377 -0
- package/dist/agent/runner.js.map +1 -0
- package/dist/agent/steps.d.ts +13 -0
- package/dist/agent/steps.d.ts.map +1 -0
- package/dist/agent/steps.js +88 -0
- package/dist/agent/steps.js.map +1 -0
- package/dist/agents.d.ts +5 -0
- package/dist/agents.d.ts.map +1 -0
- package/dist/agents.js +4 -0
- package/dist/agents.js.map +1 -0
- package/dist/branch-css.d.ts +7 -0
- package/dist/branch-css.d.ts.map +1 -0
- package/dist/branch-css.js +69 -0
- package/dist/branch-css.js.map +1 -0
- package/dist/branch-graph.d.ts +14 -0
- package/dist/branch-graph.d.ts.map +1 -0
- package/dist/branch-graph.js +83 -0
- package/dist/branch-graph.js.map +1 -0
- package/dist/branches.d.ts +29 -0
- package/dist/branches.d.ts.map +1 -0
- package/dist/branches.js +115 -0
- package/dist/branches.js.map +1 -0
- package/dist/client.css +1741 -0
- package/dist/client.js +12153 -0
- package/dist/client.js.map +1 -0
- package/dist/server.d.ts +10 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +66 -0
- package/dist/server.js.map +1 -0
- package/dist/vite.d.ts +29 -0
- package/dist/vite.d.ts.map +1 -0
- package/dist/vite.js +286 -0
- package/dist/vite.js.map +1 -0
- package/package.json +53 -3
- package/src/agent/acp.ts +299 -0
- package/src/agent/backend.ts +168 -0
- package/src/agent/brief.ts +43 -0
- package/src/agent/claude.ts +142 -0
- package/src/agent/codex.ts +156 -0
- package/src/agent/copies.ts +272 -0
- package/src/agent/gemini.ts +150 -0
- package/src/agent/http.ts +26 -0
- package/src/agent/registry.ts +60 -0
- package/src/agent/runner.ts +423 -0
- package/src/agent/steps.ts +107 -0
- package/src/agents.ts +5 -0
- package/src/branch-css.ts +70 -0
- package/src/branch-graph.ts +100 -0
- package/src/branches.ts +132 -0
- package/src/canvas.css +110 -0
- package/src/server.ts +86 -0
- package/src/vite.ts +339 -0
package/dist/client.css
ADDED
|
@@ -0,0 +1,1741 @@
|
|
|
1
|
+
/* Pinup's chrome, Quiet. Every value is a token from ../tokens.json (built to ./tokens.css by
|
|
2
|
+
`pinup tokens`): colours by role, a 4px space grid, four radii, six type roles.
|
|
3
|
+
|
|
4
|
+
Radius rule: islands (toolbar, panels, popovers) are radius-lg; what sits in them (buttons,
|
|
5
|
+
rows, inputs) is radius-md, inset by space-1, so the corners stay concentric (12 = 8 + 4).
|
|
6
|
+
Chips and badges are radius-sm or full. Nothing else.
|
|
7
|
+
|
|
8
|
+
The chrome is themed by `data-pu-theme`, not `data-theme`, so a project's own theme styles
|
|
9
|
+
never reach it; and its base styles stop at every artboard root but their own, so they never
|
|
10
|
+
reach a project's screens either. *//* Generated by `pinup tokens` from ../tokens.json. Do not edit. */
|
|
11
|
+
|
|
12
|
+
:root {
|
|
13
|
+
--pu-font-family-sans: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
|
|
14
|
+
--pu-font-family-mono: ui-monospace, 'SF Mono', Menlo, monospace;
|
|
15
|
+
--pu-type-caption-size: 12px;
|
|
16
|
+
--pu-type-caption-line: 16px;
|
|
17
|
+
--pu-type-caption-weight: 500;
|
|
18
|
+
--pu-type-caption-tracking: 0.01em;
|
|
19
|
+
--pu-type-body-size: 13px;
|
|
20
|
+
--pu-type-body-line: 20px;
|
|
21
|
+
--pu-type-body-weight: 400;
|
|
22
|
+
--pu-type-body-tracking: 0em;
|
|
23
|
+
--pu-type-label-size: 13px;
|
|
24
|
+
--pu-type-label-line: 16px;
|
|
25
|
+
--pu-type-label-weight: 600;
|
|
26
|
+
--pu-type-label-tracking: 0em;
|
|
27
|
+
--pu-type-heading-size: 15px;
|
|
28
|
+
--pu-type-heading-line: 20px;
|
|
29
|
+
--pu-type-heading-weight: 650;
|
|
30
|
+
--pu-type-heading-tracking: -0.005em;
|
|
31
|
+
--pu-type-title-size: 20px;
|
|
32
|
+
--pu-type-title-line: 26px;
|
|
33
|
+
--pu-type-title-weight: 700;
|
|
34
|
+
--pu-type-title-tracking: -0.01em;
|
|
35
|
+
--pu-type-display-size: 32px;
|
|
36
|
+
--pu-type-display-line: 38px;
|
|
37
|
+
--pu-type-display-weight: 750;
|
|
38
|
+
--pu-type-display-tracking: -0.02em;
|
|
39
|
+
--pu-space-1: 4px;
|
|
40
|
+
--pu-space-2: 8px;
|
|
41
|
+
--pu-space-3: 12px;
|
|
42
|
+
--pu-space-4: 16px;
|
|
43
|
+
--pu-space-5: 20px;
|
|
44
|
+
--pu-space-6: 24px;
|
|
45
|
+
--pu-space-8: 32px;
|
|
46
|
+
--pu-space-10: 40px;
|
|
47
|
+
--pu-space-12: 48px;
|
|
48
|
+
--pu-space-16: 64px;
|
|
49
|
+
--pu-radius-sm: 4px;
|
|
50
|
+
--pu-radius-md: 8px;
|
|
51
|
+
--pu-radius-lg: 12px;
|
|
52
|
+
--pu-radius-full: 9999px;
|
|
53
|
+
--pu-size-control-sm: 24px;
|
|
54
|
+
--pu-size-control: 32px;
|
|
55
|
+
--pu-size-control-lg: 40px;
|
|
56
|
+
--pu-size-target: 44px;
|
|
57
|
+
--pu-shadow-sm: 0px 1px 2px 0px #0000000f;
|
|
58
|
+
--pu-shadow-md: 0px 1px 2px 0px #0000000f, 0px 8px 24px 0px #00000017;
|
|
59
|
+
--pu-shadow-lg: 0px 2px 4px 0px #00000014, 0px 24px 64px 0px #00000033;
|
|
60
|
+
--pu-motion-duration-fast: 120ms;
|
|
61
|
+
--pu-motion-duration-base: 180ms;
|
|
62
|
+
--pu-motion-duration-slow: 260ms;
|
|
63
|
+
--pu-motion-easing-standard: cubic-bezier(0.2, 0, 0, 1);
|
|
64
|
+
--pu-motion-easing-enter: cubic-bezier(0, 0, 0, 1);
|
|
65
|
+
--pu-motion-easing-exit: cubic-bezier(0.3, 0, 1, 1);
|
|
66
|
+
--pu-font-caption: var(--pu-type-caption-weight) var(--pu-type-caption-size) / var(--pu-type-caption-line) var(--pu-font-family-sans);
|
|
67
|
+
--pu-font-body: var(--pu-type-body-weight) var(--pu-type-body-size) / var(--pu-type-body-line) var(--pu-font-family-sans);
|
|
68
|
+
--pu-font-label: var(--pu-type-label-weight) var(--pu-type-label-size) / var(--pu-type-label-line) var(--pu-font-family-sans);
|
|
69
|
+
--pu-font-heading: var(--pu-type-heading-weight) var(--pu-type-heading-size) / var(--pu-type-heading-line) var(--pu-font-family-sans);
|
|
70
|
+
--pu-font-title: var(--pu-type-title-weight) var(--pu-type-title-size) / var(--pu-type-title-line) var(--pu-font-family-sans);
|
|
71
|
+
--pu-font-display: var(--pu-type-display-weight) var(--pu-type-display-size) / var(--pu-type-display-line) var(--pu-font-family-sans);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
[data-pu-theme="light"] {
|
|
75
|
+
--pu-color-bg: #ebebe8;
|
|
76
|
+
--pu-color-surface: #ffffff;
|
|
77
|
+
--pu-color-surface-2: #f3f3f1;
|
|
78
|
+
--pu-color-line: #e2e2de;
|
|
79
|
+
--pu-color-line-strong: #80807a;
|
|
80
|
+
--pu-color-ink: #1b1b1a;
|
|
81
|
+
--pu-color-ink-2: #4c4c48;
|
|
82
|
+
--pu-color-ink-3: #62625d;
|
|
83
|
+
--pu-color-accent: #2f5bff;
|
|
84
|
+
--pu-color-on-accent: #ffffff;
|
|
85
|
+
--pu-color-accent-ink: #2448d8;
|
|
86
|
+
--pu-color-danger: #c4291f;
|
|
87
|
+
--pu-color-on-danger: #ffffff;
|
|
88
|
+
--pu-color-danger-ink: #b3261e;
|
|
89
|
+
--pu-color-success-ink: #1b6e3f;
|
|
90
|
+
--pu-color-warning-ink: #8a5200;
|
|
91
|
+
--pu-color-focus: #2f5bff;
|
|
92
|
+
--pu-color-board-dot: #cfcfc9;
|
|
93
|
+
--pu-color-agent: #6a35dc;
|
|
94
|
+
--pu-color-on-agent: #ffffff;
|
|
95
|
+
--pu-color-agent-ink: #5b2bc4;
|
|
96
|
+
--pu-color-agent-tint: #f1ecfd;
|
|
97
|
+
--pu-color-accent-tint: #e9eeff;
|
|
98
|
+
--pu-color-scrim: #00000047;
|
|
99
|
+
--pu-color-mock-fill: #d6d6d0;
|
|
100
|
+
--pu-color-mock-brand: #d9480f;
|
|
101
|
+
--pu-color-person-1: #2f5bff;
|
|
102
|
+
--pu-color-person-2: #c4361c;
|
|
103
|
+
--pu-color-person-3: #1b7a43;
|
|
104
|
+
--pu-color-person-4: #a3407a;
|
|
105
|
+
--pu-color-on-person: #ffffff;
|
|
106
|
+
--pu-color-success: #1b6e3f;
|
|
107
|
+
--pu-color-on-success: #ffffff;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
[data-pu-theme="dark"] {
|
|
111
|
+
--pu-color-bg: #121212;
|
|
112
|
+
--pu-color-surface: #1c1c1b;
|
|
113
|
+
--pu-color-surface-2: #262625;
|
|
114
|
+
--pu-color-line: #2f2f2d;
|
|
115
|
+
--pu-color-line-strong: #75756f;
|
|
116
|
+
--pu-color-ink: #eeeeeb;
|
|
117
|
+
--pu-color-ink-2: #b9b9b3;
|
|
118
|
+
--pu-color-ink-3: #9a9a94;
|
|
119
|
+
--pu-color-accent: #7c9cff;
|
|
120
|
+
--pu-color-on-accent: #0b0b0b;
|
|
121
|
+
--pu-color-accent-ink: #8eaaff;
|
|
122
|
+
--pu-color-danger: #ff8a80;
|
|
123
|
+
--pu-color-on-danger: #1a0706;
|
|
124
|
+
--pu-color-danger-ink: #ff9c93;
|
|
125
|
+
--pu-color-success-ink: #66d395;
|
|
126
|
+
--pu-color-warning-ink: #eab456;
|
|
127
|
+
--pu-color-focus: #8eaaff;
|
|
128
|
+
--pu-color-board-dot: #2a2a28;
|
|
129
|
+
--pu-color-agent: #b394ff;
|
|
130
|
+
--pu-color-on-agent: #0f0a1a;
|
|
131
|
+
--pu-color-agent-ink: #c3a9ff;
|
|
132
|
+
--pu-color-agent-tint: #251f33;
|
|
133
|
+
--pu-color-accent-tint: #1d2540;
|
|
134
|
+
--pu-color-scrim: #0000008c;
|
|
135
|
+
--pu-color-mock-fill: #3a3a37;
|
|
136
|
+
--pu-color-mock-brand: #ff7a45;
|
|
137
|
+
--pu-color-person-1: #7c9cff;
|
|
138
|
+
--pu-color-person-2: #ff8f75;
|
|
139
|
+
--pu-color-person-3: #5ccf8f;
|
|
140
|
+
--pu-color-person-4: #f08cc8;
|
|
141
|
+
--pu-color-on-person: #0b0b0b;
|
|
142
|
+
--pu-color-success: #66d395;
|
|
143
|
+
--pu-color-on-success: #06170d;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@scope ([data-pu-theme]) to ([data-pinup-root]:not(:scope)) {
|
|
147
|
+
/* Board units and zoom: 1 on a board; the live canvas sets both on its world. */
|
|
148
|
+
:scope {
|
|
149
|
+
--pc-zoom: 1;
|
|
150
|
+
--pc-board-scale: 1;
|
|
151
|
+
font: var(--pu-font-body);
|
|
152
|
+
letter-spacing: var(--pu-type-body-tracking);
|
|
153
|
+
color: var(--pu-color-ink);
|
|
154
|
+
background: var(--pu-color-bg);
|
|
155
|
+
-webkit-font-smoothing: antialiased;
|
|
156
|
+
font-synthesis: none;
|
|
157
|
+
text-rendering: optimizeLegibility;
|
|
158
|
+
}
|
|
159
|
+
:scope[data-pu-theme="light"] {
|
|
160
|
+
color-scheme: light;
|
|
161
|
+
}
|
|
162
|
+
:scope[data-pu-theme="dark"] {
|
|
163
|
+
color-scheme: dark;
|
|
164
|
+
}
|
|
165
|
+
*,
|
|
166
|
+
*::before,
|
|
167
|
+
*::after {
|
|
168
|
+
box-sizing: border-box;
|
|
169
|
+
}
|
|
170
|
+
/* Resets at zero specificity, so any component class wins. */
|
|
171
|
+
:where(button, select, input, textarea) {
|
|
172
|
+
margin: 0;
|
|
173
|
+
color: inherit;
|
|
174
|
+
font: inherit;
|
|
175
|
+
letter-spacing: inherit;
|
|
176
|
+
}
|
|
177
|
+
:where(button) {
|
|
178
|
+
padding: 0;
|
|
179
|
+
border: 0;
|
|
180
|
+
background: none;
|
|
181
|
+
cursor: pointer;
|
|
182
|
+
}
|
|
183
|
+
:focus-visible {
|
|
184
|
+
outline: 2px solid var(--pu-color-focus);
|
|
185
|
+
outline-offset: 2px;
|
|
186
|
+
}
|
|
187
|
+
:where(code, kbd) {
|
|
188
|
+
font-family: var(--pu-font-family-mono);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
@media (prefers-reduced-motion: reduce) {
|
|
193
|
+
@scope ([data-pu-theme]) to ([data-pinup-root]:not(:scope)) {
|
|
194
|
+
*,
|
|
195
|
+
*::before,
|
|
196
|
+
*::after {
|
|
197
|
+
transition-duration: 0s;
|
|
198
|
+
animation-duration: 0s;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
/* The live canvas's own few styles; everything you see is @zvirb/pinup-chrome. All of it sits inside
|
|
203
|
+
`@scope (.pu-app) to ([data-pinup-root])`: it never reaches inside an artboard. */
|
|
204
|
+
|
|
205
|
+
/* An artboard's root: a fresh start, like a new page, whatever the chrome around it inherits.
|
|
206
|
+
Zero specificity, so a theme rule like `[data-mode="dark"] { background: ... }` wins. */
|
|
207
|
+
:where(.pu-app [data-pinup-root]) {
|
|
208
|
+
all: initial;
|
|
209
|
+
position: relative;
|
|
210
|
+
display: block;
|
|
211
|
+
contain: layout paint;
|
|
212
|
+
container: pinup / inline-size;
|
|
213
|
+
min-height: var(--pinup-vh);
|
|
214
|
+
background: Canvas;
|
|
215
|
+
color: CanvasText;
|
|
216
|
+
}
|
|
217
|
+
:where(.pu-app [data-pinup-root] > [data-pinup-content]) {
|
|
218
|
+
display: contents;
|
|
219
|
+
}
|
|
220
|
+
:where(.pu-app [data-pinup-portal]) {
|
|
221
|
+
position: absolute;
|
|
222
|
+
inset: 0 auto auto 0;
|
|
223
|
+
width: 100%;
|
|
224
|
+
height: 0;
|
|
225
|
+
overflow: visible;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
body:has(> .pu-app) {
|
|
229
|
+
margin: 0;
|
|
230
|
+
overflow: hidden;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
@scope (.pu-app) to ([data-pinup-root]) {
|
|
234
|
+
:scope {
|
|
235
|
+
position: fixed;
|
|
236
|
+
inset: 0;
|
|
237
|
+
}
|
|
238
|
+
.pu-viewport {
|
|
239
|
+
position: absolute;
|
|
240
|
+
inset: 0;
|
|
241
|
+
overflow: hidden;
|
|
242
|
+
touch-action: none;
|
|
243
|
+
}
|
|
244
|
+
.pu-viewport[data-panning] {
|
|
245
|
+
cursor: grab;
|
|
246
|
+
}
|
|
247
|
+
.pu-viewport[data-panning] .pu-world {
|
|
248
|
+
pointer-events: none;
|
|
249
|
+
}
|
|
250
|
+
/* Board text is read zoomed out: titles and labels are drawn larger than in a panel. */
|
|
251
|
+
.pu-world {
|
|
252
|
+
--pc-board-scale: 1.6;
|
|
253
|
+
position: absolute;
|
|
254
|
+
top: 0;
|
|
255
|
+
left: 0;
|
|
256
|
+
display: flex;
|
|
257
|
+
flex-direction: column;
|
|
258
|
+
gap: calc(var(--pu-space-16) * 2);
|
|
259
|
+
transform-origin: 0 0;
|
|
260
|
+
}
|
|
261
|
+
.pu-group {
|
|
262
|
+
display: grid;
|
|
263
|
+
gap: var(--pu-space-16);
|
|
264
|
+
}
|
|
265
|
+
/* Pins and popovers are drawn in screen pixels, wherever they are on the board. */
|
|
266
|
+
.pu-anchor {
|
|
267
|
+
z-index: 1;
|
|
268
|
+
transform: scale(calc(1 / var(--pc-zoom, 1)));
|
|
269
|
+
transform-origin: 0 0;
|
|
270
|
+
}
|
|
271
|
+
.pu-anchor[data-open] {
|
|
272
|
+
z-index: 2;
|
|
273
|
+
}
|
|
274
|
+
.pu-popover {
|
|
275
|
+
position: absolute;
|
|
276
|
+
top: var(--pu-space-2);
|
|
277
|
+
left: 0;
|
|
278
|
+
}
|
|
279
|
+
.pu-audit-box {
|
|
280
|
+
position: absolute;
|
|
281
|
+
border-radius: var(--pu-radius-sm);
|
|
282
|
+
outline: calc(2px / var(--pc-zoom, 1)) solid var(--pu-color-danger);
|
|
283
|
+
pointer-events: none;
|
|
284
|
+
}
|
|
285
|
+
.pu-audit-box[data-level="warn"] {
|
|
286
|
+
outline-style: dashed;
|
|
287
|
+
outline-color: var(--pu-color-warning-ink);
|
|
288
|
+
}
|
|
289
|
+
/* A worker's proposal: the agent's colour round the frame, so it never passes for the real one. */
|
|
290
|
+
[data-layer][data-branch] {
|
|
291
|
+
box-shadow:
|
|
292
|
+
0 0 0 calc(2px / var(--pc-zoom, 1)) var(--pu-color-agent),
|
|
293
|
+
var(--pu-shadow-sm);
|
|
294
|
+
}
|
|
295
|
+
:scope[data-commenting] [data-layer] {
|
|
296
|
+
box-shadow: 0 0 0 calc(2px / var(--pc-zoom, 1)) var(--pu-color-accent);
|
|
297
|
+
}
|
|
298
|
+
:scope[data-commenting] [data-pinup-root],
|
|
299
|
+
:scope[data-commenting] [data-pinup-root] * {
|
|
300
|
+
/* biome-ignore lint/complexity/noImportantStyles: components set their own cursors, comment mode must win */
|
|
301
|
+
cursor: crosshair !important;
|
|
302
|
+
}
|
|
303
|
+
.pu-error {
|
|
304
|
+
margin: 0;
|
|
305
|
+
padding: var(--pu-space-4);
|
|
306
|
+
color: var(--pu-color-danger-ink);
|
|
307
|
+
font: var(--pu-font-caption);
|
|
308
|
+
font-family: var(--pu-font-family-mono);
|
|
309
|
+
white-space: pre-wrap;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
/* Label text is in board units (`--pc-board-scale`): the live canvas is read zoomed out. */
|
|
313
|
+
.pc-artboard_H0DCw {
|
|
314
|
+
position: relative;
|
|
315
|
+
display: grid;
|
|
316
|
+
flex: none;
|
|
317
|
+
gap: calc(var(--pu-space-2) * var(--pc-board-scale, 1));
|
|
318
|
+
margin: 0;
|
|
319
|
+
}
|
|
320
|
+
.pc-artboard_H0DCw[data-raised] {
|
|
321
|
+
z-index: 2;
|
|
322
|
+
}
|
|
323
|
+
.pc-artboard__label_H0DCw {
|
|
324
|
+
display: flex;
|
|
325
|
+
flex-wrap: wrap;
|
|
326
|
+
gap: calc(var(--pu-space-2) * var(--pc-board-scale, 1));
|
|
327
|
+
align-items: baseline;
|
|
328
|
+
min-width: 0;
|
|
329
|
+
color: var(--pu-color-ink-2);
|
|
330
|
+
font-weight: var(--pu-type-label-weight);
|
|
331
|
+
font-size: calc(var(--pu-type-label-size) * var(--pc-board-scale, 1));
|
|
332
|
+
line-height: 1.25;
|
|
333
|
+
}
|
|
334
|
+
.pc-artboard__title_H0DCw {
|
|
335
|
+
overflow: hidden;
|
|
336
|
+
text-overflow: ellipsis;
|
|
337
|
+
white-space: nowrap;
|
|
338
|
+
}
|
|
339
|
+
/* On the board's dots, not a surface: ink-2 is the lightest that reads on both. */
|
|
340
|
+
.pc-artboard__note_H0DCw,
|
|
341
|
+
.pc-artboard__size_H0DCw {
|
|
342
|
+
color: var(--pu-color-ink-2);
|
|
343
|
+
font-weight: var(--pu-type-caption-weight);
|
|
344
|
+
font-size: calc(var(--pu-type-caption-size) * var(--pc-board-scale, 1));
|
|
345
|
+
}
|
|
346
|
+
/* Its own line under the title and size, wrapping: a note is read, never cut off. */
|
|
347
|
+
.pc-artboard__note_H0DCw {
|
|
348
|
+
flex-basis: 100%;
|
|
349
|
+
order: 1;
|
|
350
|
+
line-height: 1.4;
|
|
351
|
+
}
|
|
352
|
+
.pc-artboard__size_H0DCw {
|
|
353
|
+
margin-inline-start: auto;
|
|
354
|
+
font-variant-numeric: tabular-nums;
|
|
355
|
+
white-space: nowrap;
|
|
356
|
+
}
|
|
357
|
+
.pc-artboard__frame_H0DCw {
|
|
358
|
+
position: relative;
|
|
359
|
+
border-radius: var(--pu-radius-sm);
|
|
360
|
+
box-shadow:
|
|
361
|
+
0 0 0 1px var(--pu-color-line),
|
|
362
|
+
var(--pu-shadow-sm);
|
|
363
|
+
}
|
|
364
|
+
.pc-artboard__frame_H0DCw > :first-child {
|
|
365
|
+
border-radius: inherit;
|
|
366
|
+
}
|
|
367
|
+
.pc-artboard_H0DCw[data-selected] .pc-artboard__frame_H0DCw {
|
|
368
|
+
outline: calc(2px * var(--pc-board-scale, 1)) solid var(--pu-color-accent);
|
|
369
|
+
outline-offset: calc(var(--pu-space-1) * var(--pc-board-scale, 1));
|
|
370
|
+
}
|
|
371
|
+
.pc-artboard__overlay_H0DCw {
|
|
372
|
+
position: absolute;
|
|
373
|
+
inset: 0;
|
|
374
|
+
pointer-events: none;
|
|
375
|
+
}
|
|
376
|
+
.pc-artboard__overlay_H0DCw > * {
|
|
377
|
+
position: absolute;
|
|
378
|
+
pointer-events: auto;
|
|
379
|
+
}
|
|
380
|
+
/* Not dimmed by opacity: that drops the text below 4.5:1. Muted ones lose the frame. */
|
|
381
|
+
.pc-artboard_H0DCw[data-status="muted"] .pc-artboard__frame_H0DCw {
|
|
382
|
+
filter: grayscale(1);
|
|
383
|
+
box-shadow: none;
|
|
384
|
+
}
|
|
385
|
+
.pc-artboard_H0DCw[data-status="picked"] .pc-artboard__frame_H0DCw {
|
|
386
|
+
outline: 2px solid var(--pu-color-success);
|
|
387
|
+
outline-offset: var(--pu-space-1);
|
|
388
|
+
}
|
|
389
|
+
.pc-avatar_0Zd9p {
|
|
390
|
+
display: inline-grid;
|
|
391
|
+
flex: none;
|
|
392
|
+
place-items: center;
|
|
393
|
+
border: 2px solid var(--pu-color-surface);
|
|
394
|
+
border-radius: var(--pu-radius-full);
|
|
395
|
+
background: var(--pc-person, var(--pu-color-person-1));
|
|
396
|
+
color: var(--pu-color-on-person);
|
|
397
|
+
font-weight: var(--pu-type-label-weight);
|
|
398
|
+
line-height: 1;
|
|
399
|
+
}
|
|
400
|
+
/* The agent is a person-shaped square, not a sparkle: shape, not an icon, tells them apart. */
|
|
401
|
+
.pc-avatar_0Zd9p[data-kind="agent"] {
|
|
402
|
+
border-radius: var(--pu-radius-sm);
|
|
403
|
+
background: var(--pu-color-agent);
|
|
404
|
+
color: var(--pu-color-on-agent);
|
|
405
|
+
}
|
|
406
|
+
.pc-avatar_0Zd9p[data-live] {
|
|
407
|
+
box-shadow: 0 0 0 2px var(--pc-person, var(--pu-color-agent));
|
|
408
|
+
}
|
|
409
|
+
/* Board-scale text: on the dotted board, not a surface, so ink-2 is the lightest used. */
|
|
410
|
+
.pc-board-section__group-title_Mi0iS {
|
|
411
|
+
margin: 0;
|
|
412
|
+
}
|
|
413
|
+
/* Pulled out by its padding, so the title text lines up with the boards under it. */
|
|
414
|
+
.pc-board-section__group-title_Mi0iS button {
|
|
415
|
+
display: inline-flex;
|
|
416
|
+
gap: calc(var(--pu-space-3) * var(--pc-board-scale, 1));
|
|
417
|
+
align-items: center;
|
|
418
|
+
margin-inline-start: calc(var(--pu-space-4) * var(--pc-board-scale, 1) * -1);
|
|
419
|
+
padding: calc(var(--pu-space-2) * var(--pc-board-scale, 1))
|
|
420
|
+
calc(var(--pu-space-5) * var(--pc-board-scale, 1))
|
|
421
|
+
calc(var(--pu-space-2) * var(--pc-board-scale, 1))
|
|
422
|
+
calc(var(--pu-space-4) * var(--pc-board-scale, 1));
|
|
423
|
+
border-radius: var(--pu-radius-lg);
|
|
424
|
+
color: var(--pu-color-ink-2);
|
|
425
|
+
font-weight: var(--pu-type-display-weight);
|
|
426
|
+
font-size: calc(var(--pu-type-display-size) * var(--pc-board-scale, 1));
|
|
427
|
+
line-height: var(--pu-type-display-line);
|
|
428
|
+
letter-spacing: var(--pu-type-display-tracking);
|
|
429
|
+
}
|
|
430
|
+
.pc-board-section__group-title_Mi0iS button:hover {
|
|
431
|
+
background: var(--pu-color-surface-2);
|
|
432
|
+
}
|
|
433
|
+
.pc-board-section__group-title_Mi0iS svg {
|
|
434
|
+
width: 0.75em;
|
|
435
|
+
height: 0.75em;
|
|
436
|
+
}
|
|
437
|
+
.pc-board-section__board_Mi0iS {
|
|
438
|
+
display: grid;
|
|
439
|
+
gap: calc(var(--pu-space-4) * var(--pc-board-scale, 1));
|
|
440
|
+
}
|
|
441
|
+
/* Title, the file it lives in, then what it is for: read top to bottom, not squeezed on one line. */
|
|
442
|
+
.pc-board-section__head_Mi0iS {
|
|
443
|
+
display: grid;
|
|
444
|
+
gap: calc(var(--pu-space-1) * var(--pc-board-scale, 1));
|
|
445
|
+
justify-items: start;
|
|
446
|
+
}
|
|
447
|
+
.pc-board-section__head_Mi0iS h3 {
|
|
448
|
+
margin: 0;
|
|
449
|
+
font-weight: var(--pu-type-title-weight);
|
|
450
|
+
font-size: calc(var(--pu-type-title-size) * var(--pc-board-scale, 1));
|
|
451
|
+
line-height: 1.25;
|
|
452
|
+
letter-spacing: var(--pu-type-title-tracking);
|
|
453
|
+
}
|
|
454
|
+
.pc-board-section__note_Mi0iS {
|
|
455
|
+
max-width: 65ch;
|
|
456
|
+
margin: 0;
|
|
457
|
+
line-height: 1.5;
|
|
458
|
+
color: var(--pu-color-ink-2);
|
|
459
|
+
font-size: calc(var(--pu-type-body-size) * var(--pc-board-scale, 1));
|
|
460
|
+
}
|
|
461
|
+
/* Pulled out by its padding like the group title, so the icon lines up with the title text. */
|
|
462
|
+
.pc-board-section__source_Mi0iS {
|
|
463
|
+
display: inline-flex;
|
|
464
|
+
gap: calc(var(--pu-space-1) * var(--pc-board-scale, 1));
|
|
465
|
+
align-items: center;
|
|
466
|
+
min-height: calc(var(--pu-size-control-sm) * var(--pc-board-scale, 1));
|
|
467
|
+
margin-inline-start: calc(var(--pu-space-1) * var(--pc-board-scale, 1) * -1);
|
|
468
|
+
padding: 0 calc(var(--pu-space-1) * var(--pc-board-scale, 1));
|
|
469
|
+
border-radius: var(--pu-radius-sm);
|
|
470
|
+
color: var(--pu-color-ink-2);
|
|
471
|
+
font-size: calc(var(--pu-type-caption-size) * var(--pc-board-scale, 1));
|
|
472
|
+
line-height: 1.5;
|
|
473
|
+
}
|
|
474
|
+
.pc-board-section__source_Mi0iS code {
|
|
475
|
+
font-family: var(--pu-font-family-mono);
|
|
476
|
+
}
|
|
477
|
+
.pc-board-section__source_Mi0iS svg {
|
|
478
|
+
flex: none;
|
|
479
|
+
width: 1.15em;
|
|
480
|
+
height: 1.15em;
|
|
481
|
+
}
|
|
482
|
+
button.pc-board-section__source_Mi0iS:hover {
|
|
483
|
+
background: var(--pu-color-surface-2);
|
|
484
|
+
color: var(--pu-color-ink);
|
|
485
|
+
}
|
|
486
|
+
.pc-board-section__row_Mi0iS {
|
|
487
|
+
display: grid;
|
|
488
|
+
gap: calc(var(--pu-space-2) * var(--pc-board-scale, 1));
|
|
489
|
+
}
|
|
490
|
+
.pc-board-section__row-label_Mi0iS {
|
|
491
|
+
color: var(--pu-color-ink-2);
|
|
492
|
+
font-weight: var(--pu-type-label-weight);
|
|
493
|
+
font-size: calc(var(--pu-type-label-size) * var(--pc-board-scale, 1));
|
|
494
|
+
}
|
|
495
|
+
.pc-board-section__artboards_Mi0iS {
|
|
496
|
+
display: flex;
|
|
497
|
+
gap: calc(var(--pu-space-8) * var(--pc-board-scale, 1));
|
|
498
|
+
align-items: flex-start;
|
|
499
|
+
}
|
|
500
|
+
.pc-button_TQMzz {
|
|
501
|
+
display: inline-flex;
|
|
502
|
+
flex: none;
|
|
503
|
+
gap: var(--pu-space-2);
|
|
504
|
+
align-items: center;
|
|
505
|
+
justify-content: center;
|
|
506
|
+
height: var(--pu-size-control);
|
|
507
|
+
padding: 0 var(--pu-space-3);
|
|
508
|
+
border: 1px solid transparent;
|
|
509
|
+
border-radius: var(--pu-radius-md);
|
|
510
|
+
font: var(--pu-font-label);
|
|
511
|
+
white-space: nowrap;
|
|
512
|
+
}
|
|
513
|
+
.pc-button_TQMzz[data-size="sm"] {
|
|
514
|
+
gap: var(--pu-space-1);
|
|
515
|
+
height: var(--pu-size-control-sm);
|
|
516
|
+
padding: 0 var(--pu-space-2);
|
|
517
|
+
}
|
|
518
|
+
.pc-button_TQMzz > svg {
|
|
519
|
+
flex: none;
|
|
520
|
+
width: 14px;
|
|
521
|
+
height: 14px;
|
|
522
|
+
}
|
|
523
|
+
.pc-button_TQMzz[data-kind="primary"] {
|
|
524
|
+
background: var(--pu-color-accent);
|
|
525
|
+
color: var(--pu-color-on-accent);
|
|
526
|
+
}
|
|
527
|
+
/* Hover only restyles a button in its resting state: never a disabled or pressed one, which keep
|
|
528
|
+
their own pairs (a hover there once put the accent behind ink-3, and gray behind on-accent). */
|
|
529
|
+
.pc-button_TQMzz[data-kind="primary"]:where(:hover:not(:disabled, [aria-pressed="true"])) {
|
|
530
|
+
background: color-mix(in oklab, var(--pu-color-accent) 88%, var(--pu-color-ink));
|
|
531
|
+
}
|
|
532
|
+
.pc-button_TQMzz[data-kind="secondary"] {
|
|
533
|
+
border-color: var(--pu-color-line-strong);
|
|
534
|
+
background: var(--pu-color-surface);
|
|
535
|
+
color: var(--pu-color-ink);
|
|
536
|
+
}
|
|
537
|
+
.pc-button_TQMzz[data-kind="secondary"]:where(:hover:not(:disabled, [aria-pressed="true"])),
|
|
538
|
+
.pc-button_TQMzz[data-kind="quiet"]:where(:hover:not(:disabled, [aria-pressed="true"])) {
|
|
539
|
+
background: var(--pu-color-surface-2);
|
|
540
|
+
}
|
|
541
|
+
.pc-button_TQMzz[data-kind="quiet"] {
|
|
542
|
+
background: none;
|
|
543
|
+
color: var(--pu-color-ink-2);
|
|
544
|
+
}
|
|
545
|
+
.pc-button_TQMzz[data-kind="danger"] {
|
|
546
|
+
background: none;
|
|
547
|
+
color: var(--pu-color-danger-ink);
|
|
548
|
+
}
|
|
549
|
+
.pc-button_TQMzz[data-kind="danger"]:where(:hover:not(:disabled, [aria-pressed="true"])) {
|
|
550
|
+
border-color: var(--pu-color-danger);
|
|
551
|
+
}
|
|
552
|
+
/* Pressed reads as chosen: the accent pair, whatever the kind. */
|
|
553
|
+
.pc-button_TQMzz[aria-pressed="true"] {
|
|
554
|
+
border-color: var(--pu-color-accent);
|
|
555
|
+
background: var(--pu-color-accent);
|
|
556
|
+
color: var(--pu-color-on-accent);
|
|
557
|
+
}
|
|
558
|
+
.pc-button_TQMzz[aria-pressed="true"]:where(:hover:not(:disabled)) {
|
|
559
|
+
background: color-mix(in oklab, var(--pu-color-accent) 88%, var(--pu-color-ink));
|
|
560
|
+
}
|
|
561
|
+
/* Not dimmed: it changes to tokens that still read. */
|
|
562
|
+
.pc-button_TQMzz:disabled {
|
|
563
|
+
border-color: transparent;
|
|
564
|
+
background: var(--pu-color-surface-2);
|
|
565
|
+
color: var(--pu-color-ink-3);
|
|
566
|
+
cursor: default;
|
|
567
|
+
}
|
|
568
|
+
.pc-button_TQMzz[aria-pressed="true"]:disabled {
|
|
569
|
+
border-color: var(--pu-color-accent);
|
|
570
|
+
background: var(--pu-color-accent-tint);
|
|
571
|
+
color: var(--pu-color-accent-ink);
|
|
572
|
+
}
|
|
573
|
+
[data-ui="Pin"] {
|
|
574
|
+
position: relative;
|
|
575
|
+
display: inline-block;
|
|
576
|
+
width: 0;
|
|
577
|
+
height: 0;
|
|
578
|
+
padding: 0;
|
|
579
|
+
border: 0;
|
|
580
|
+
background: none;
|
|
581
|
+
cursor: pointer;
|
|
582
|
+
}
|
|
583
|
+
/* A speech-bubble pin: three round corners, the fourth points at the spot. */
|
|
584
|
+
.pc-pin__head_lDZsn {
|
|
585
|
+
position: absolute;
|
|
586
|
+
bottom: 0;
|
|
587
|
+
left: 0;
|
|
588
|
+
display: grid;
|
|
589
|
+
min-width: var(--pu-size-control-sm);
|
|
590
|
+
height: var(--pu-size-control-sm);
|
|
591
|
+
padding: 0 var(--pu-space-2);
|
|
592
|
+
place-items: center;
|
|
593
|
+
border: 2px solid var(--pu-color-surface);
|
|
594
|
+
border-radius: var(--pu-radius-full) var(--pu-radius-full) var(--pu-radius-full)
|
|
595
|
+
var(--pu-radius-sm);
|
|
596
|
+
background: var(--pu-color-accent);
|
|
597
|
+
box-shadow: var(--pu-shadow-sm);
|
|
598
|
+
color: var(--pu-color-on-accent);
|
|
599
|
+
font: var(--pu-font-caption);
|
|
600
|
+
font-weight: var(--pu-type-label-weight);
|
|
601
|
+
font-variant-numeric: tabular-nums;
|
|
602
|
+
}
|
|
603
|
+
[data-ui="Pin"][data-state="agent"] .pc-pin__head_lDZsn {
|
|
604
|
+
background: var(--pu-color-agent);
|
|
605
|
+
color: var(--pu-color-on-agent);
|
|
606
|
+
}
|
|
607
|
+
[data-ui="Pin"][data-state="queued"] .pc-pin__head_lDZsn {
|
|
608
|
+
border-style: dashed;
|
|
609
|
+
border-color: var(--pu-color-agent);
|
|
610
|
+
background: var(--pu-color-surface);
|
|
611
|
+
color: var(--pu-color-agent-ink);
|
|
612
|
+
}
|
|
613
|
+
/* Working: the agent's colour, and a ring that keeps going out while it does. */
|
|
614
|
+
[data-ui="Pin"][data-state="working"] .pc-pin__head_lDZsn {
|
|
615
|
+
background: var(--pu-color-agent);
|
|
616
|
+
color: var(--pu-color-on-agent);
|
|
617
|
+
}
|
|
618
|
+
[data-ui="Pin"][data-state="working"] .pc-pin__head_lDZsn::after {
|
|
619
|
+
content: "";
|
|
620
|
+
position: absolute;
|
|
621
|
+
inset: -2px;
|
|
622
|
+
border: 2px solid var(--pu-color-agent);
|
|
623
|
+
border-radius: inherit;
|
|
624
|
+
animation: pc-pin__working_lDZsn 1.4s var(--pu-motion-easing-standard) infinite;
|
|
625
|
+
pointer-events: none;
|
|
626
|
+
}
|
|
627
|
+
@keyframes pc-pin__working_lDZsn {
|
|
628
|
+
from {
|
|
629
|
+
opacity: 0.9;
|
|
630
|
+
transform: scale(1);
|
|
631
|
+
}
|
|
632
|
+
to {
|
|
633
|
+
opacity: 0;
|
|
634
|
+
transform: scale(1.6);
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
@media (prefers-reduced-motion: reduce) {
|
|
638
|
+
[data-ui="Pin"][data-state="working"] .pc-pin__head_lDZsn::after {
|
|
639
|
+
animation: none;
|
|
640
|
+
inset: -5px;
|
|
641
|
+
opacity: 0.5;
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
[data-ui="Pin"][data-state="review"] .pc-pin__head_lDZsn {
|
|
645
|
+
border-color: var(--pu-color-agent);
|
|
646
|
+
background: var(--pu-color-surface);
|
|
647
|
+
color: var(--pu-color-agent-ink);
|
|
648
|
+
}
|
|
649
|
+
[data-ui="Pin"][data-state="resolved"] .pc-pin__head_lDZsn {
|
|
650
|
+
border-color: var(--pu-color-line-strong);
|
|
651
|
+
background: var(--pu-color-surface-2);
|
|
652
|
+
box-shadow: none;
|
|
653
|
+
color: var(--pu-color-ink-2);
|
|
654
|
+
}
|
|
655
|
+
[data-ui="Pin"][data-state="draft"] .pc-pin__head_lDZsn {
|
|
656
|
+
border-style: dashed;
|
|
657
|
+
border-color: var(--pu-color-accent);
|
|
658
|
+
background: var(--pu-color-surface);
|
|
659
|
+
color: var(--pu-color-accent-ink);
|
|
660
|
+
}
|
|
661
|
+
[data-ui="Pin"][data-active] .pc-pin__head_lDZsn {
|
|
662
|
+
outline: 2px solid var(--pu-color-focus);
|
|
663
|
+
outline-offset: 2px;
|
|
664
|
+
}
|
|
665
|
+
.pc-comment-list__comments_outyN {
|
|
666
|
+
display: grid;
|
|
667
|
+
align-content: start;
|
|
668
|
+
gap: var(--pu-space-3);
|
|
669
|
+
padding: var(--pu-space-1);
|
|
670
|
+
border-radius: var(--pu-radius-lg);
|
|
671
|
+
background: var(--pu-color-surface);
|
|
672
|
+
box-shadow: var(--pu-shadow-md);
|
|
673
|
+
}
|
|
674
|
+
.pc-comment-list__head_outyN {
|
|
675
|
+
display: flex;
|
|
676
|
+
align-items: baseline;
|
|
677
|
+
justify-content: space-between;
|
|
678
|
+
padding: var(--pu-space-3) var(--pu-space-3) 0;
|
|
679
|
+
}
|
|
680
|
+
.pc-comment-list__head_outyN h2 {
|
|
681
|
+
margin: 0;
|
|
682
|
+
font: var(--pu-font-heading);
|
|
683
|
+
}
|
|
684
|
+
.pc-comment-list__head_outyN span {
|
|
685
|
+
display: inline-flex;
|
|
686
|
+
gap: var(--pu-space-1);
|
|
687
|
+
align-items: center;
|
|
688
|
+
color: var(--pu-color-ink-3);
|
|
689
|
+
font: var(--pu-font-caption);
|
|
690
|
+
font-variant-numeric: tabular-nums;
|
|
691
|
+
}
|
|
692
|
+
.pc-comment-list__filters_outyN {
|
|
693
|
+
display: flex;
|
|
694
|
+
flex-wrap: wrap;
|
|
695
|
+
gap: var(--pu-space-1);
|
|
696
|
+
padding: 0 var(--pu-space-3);
|
|
697
|
+
}
|
|
698
|
+
.pc-comment-list__filter_outyN {
|
|
699
|
+
display: inline-flex;
|
|
700
|
+
align-items: center;
|
|
701
|
+
min-height: var(--pu-size-control-sm);
|
|
702
|
+
padding: 0 var(--pu-space-2);
|
|
703
|
+
border-radius: var(--pu-radius-full);
|
|
704
|
+
background: var(--pu-color-surface-2);
|
|
705
|
+
color: var(--pu-color-ink-2);
|
|
706
|
+
font: var(--pu-font-caption);
|
|
707
|
+
font-weight: var(--pu-type-label-weight);
|
|
708
|
+
}
|
|
709
|
+
.pc-comment-list__filter_outyN[aria-pressed="true"] {
|
|
710
|
+
background: var(--pu-color-accent);
|
|
711
|
+
color: var(--pu-color-on-accent);
|
|
712
|
+
}
|
|
713
|
+
.pc-comment-list__list_outyN {
|
|
714
|
+
display: grid;
|
|
715
|
+
gap: 2px;
|
|
716
|
+
margin: 0;
|
|
717
|
+
padding: 0;
|
|
718
|
+
list-style: none;
|
|
719
|
+
}
|
|
720
|
+
.pc-comment-list__item_outyN {
|
|
721
|
+
display: grid;
|
|
722
|
+
grid-template-columns: 40px 1fr;
|
|
723
|
+
align-items: start;
|
|
724
|
+
width: 100%;
|
|
725
|
+
padding: var(--pu-space-2);
|
|
726
|
+
border-radius: var(--pu-radius-md);
|
|
727
|
+
text-align: start;
|
|
728
|
+
}
|
|
729
|
+
.pc-comment-list__item_outyN:hover {
|
|
730
|
+
background: var(--pu-color-surface-2);
|
|
731
|
+
}
|
|
732
|
+
.pc-comment-list__item_outyN[aria-current="true"] {
|
|
733
|
+
background: var(--pu-color-accent-tint);
|
|
734
|
+
}
|
|
735
|
+
.pc-comment-list__pin_outyN {
|
|
736
|
+
position: relative;
|
|
737
|
+
height: 28px;
|
|
738
|
+
}
|
|
739
|
+
.pc-comment-list__pin_outyN > [data-ui="Pin"] {
|
|
740
|
+
position: absolute;
|
|
741
|
+
bottom: 0;
|
|
742
|
+
left: 2px;
|
|
743
|
+
pointer-events: none;
|
|
744
|
+
}
|
|
745
|
+
.pc-comment-list__text_outyN {
|
|
746
|
+
display: grid;
|
|
747
|
+
gap: 2px;
|
|
748
|
+
}
|
|
749
|
+
.pc-comment-list__where_outyN {
|
|
750
|
+
font: var(--pu-font-label);
|
|
751
|
+
}
|
|
752
|
+
.pc-comment-list__body_outyN {
|
|
753
|
+
display: -webkit-box;
|
|
754
|
+
overflow: hidden;
|
|
755
|
+
-webkit-box-orient: vertical;
|
|
756
|
+
-webkit-line-clamp: 2;
|
|
757
|
+
color: var(--pu-color-ink-2);
|
|
758
|
+
}
|
|
759
|
+
.pc-comment-list__meta_outyN {
|
|
760
|
+
display: inline-flex;
|
|
761
|
+
gap: var(--pu-space-1);
|
|
762
|
+
align-items: center;
|
|
763
|
+
color: var(--pu-color-ink-3);
|
|
764
|
+
font: var(--pu-font-caption);
|
|
765
|
+
}
|
|
766
|
+
.pc-comment-list__empty_outyN,
|
|
767
|
+
.pc-comment-list__foot_outyN {
|
|
768
|
+
margin: 0;
|
|
769
|
+
padding: var(--pu-space-2) var(--pu-space-3);
|
|
770
|
+
color: var(--pu-color-ink-2);
|
|
771
|
+
}
|
|
772
|
+
.pc-comment-list__foot_outyN {
|
|
773
|
+
padding-top: var(--pu-space-3);
|
|
774
|
+
border-top: 1px solid var(--pu-color-line);
|
|
775
|
+
font: var(--pu-font-caption);
|
|
776
|
+
}
|
|
777
|
+
.pc-comment-list__foot_outyN code {
|
|
778
|
+
font-size: var(--pu-type-caption-size);
|
|
779
|
+
}
|
|
780
|
+
.pc-field_VZvqo {
|
|
781
|
+
display: grid;
|
|
782
|
+
gap: var(--pu-space-2);
|
|
783
|
+
}
|
|
784
|
+
.pc-field__input_VZvqo {
|
|
785
|
+
width: 100%;
|
|
786
|
+
min-height: var(--pu-size-control-lg);
|
|
787
|
+
padding: var(--pu-space-2) var(--pu-space-3);
|
|
788
|
+
border: 1px solid var(--pu-color-line-strong);
|
|
789
|
+
border-radius: var(--pu-radius-md);
|
|
790
|
+
background: var(--pu-color-surface);
|
|
791
|
+
color: var(--pu-color-ink);
|
|
792
|
+
font: var(--pu-font-body);
|
|
793
|
+
resize: vertical;
|
|
794
|
+
}
|
|
795
|
+
.pc-field__input_VZvqo::placeholder {
|
|
796
|
+
color: var(--pu-color-ink-3);
|
|
797
|
+
}
|
|
798
|
+
.pc-field__input_VZvqo:focus-visible {
|
|
799
|
+
outline: 2px solid var(--pu-color-focus);
|
|
800
|
+
outline-offset: -1px;
|
|
801
|
+
border-color: transparent;
|
|
802
|
+
}
|
|
803
|
+
.pc-field__error_VZvqo {
|
|
804
|
+
margin: 0;
|
|
805
|
+
color: var(--pu-color-danger-ink);
|
|
806
|
+
font: var(--pu-font-caption);
|
|
807
|
+
}
|
|
808
|
+
.pc-field__actions_VZvqo {
|
|
809
|
+
display: flex;
|
|
810
|
+
justify-content: flex-end;
|
|
811
|
+
}
|
|
812
|
+
.pc-icon-button_VQIwh {
|
|
813
|
+
display: inline-grid;
|
|
814
|
+
flex: none;
|
|
815
|
+
width: var(--pu-size-control-sm);
|
|
816
|
+
height: var(--pu-size-control-sm);
|
|
817
|
+
place-items: center;
|
|
818
|
+
border-radius: var(--pu-radius-md);
|
|
819
|
+
color: var(--pu-color-ink-2);
|
|
820
|
+
}
|
|
821
|
+
.pc-icon-button_VQIwh[data-size="md"] {
|
|
822
|
+
width: var(--pu-size-control);
|
|
823
|
+
height: var(--pu-size-control);
|
|
824
|
+
}
|
|
825
|
+
.pc-icon-button_VQIwh:hover {
|
|
826
|
+
background: var(--pu-color-surface-2);
|
|
827
|
+
color: var(--pu-color-ink);
|
|
828
|
+
}
|
|
829
|
+
.pc-icon-button_VQIwh > svg {
|
|
830
|
+
width: 16px;
|
|
831
|
+
height: 16px;
|
|
832
|
+
}
|
|
833
|
+
.pc-composer_4WmHd {
|
|
834
|
+
display: grid;
|
|
835
|
+
gap: var(--pu-space-2);
|
|
836
|
+
width: 320px;
|
|
837
|
+
padding: var(--pu-space-3);
|
|
838
|
+
border-radius: var(--pu-radius-lg);
|
|
839
|
+
background: var(--pu-color-surface);
|
|
840
|
+
box-shadow: var(--pu-shadow-lg);
|
|
841
|
+
}
|
|
842
|
+
.pc-composer__head_4WmHd {
|
|
843
|
+
display: flex;
|
|
844
|
+
gap: var(--pu-space-2);
|
|
845
|
+
align-items: start;
|
|
846
|
+
justify-content: space-between;
|
|
847
|
+
}
|
|
848
|
+
.pc-composer__where_4WmHd {
|
|
849
|
+
color: var(--pu-color-ink-2);
|
|
850
|
+
font: var(--pu-font-caption);
|
|
851
|
+
overflow-wrap: anywhere;
|
|
852
|
+
}
|
|
853
|
+
.pc-composer__close_4WmHd {
|
|
854
|
+
flex: none;
|
|
855
|
+
margin: calc(-1 * var(--pu-space-1)) calc(-1 * var(--pu-space-1)) 0 0;
|
|
856
|
+
}
|
|
857
|
+
.pc-cursor_TNZJy {
|
|
858
|
+
position: relative;
|
|
859
|
+
display: inline-flex;
|
|
860
|
+
gap: 2px;
|
|
861
|
+
align-items: flex-start;
|
|
862
|
+
pointer-events: none;
|
|
863
|
+
}
|
|
864
|
+
.pc-cursor__label_TNZJy {
|
|
865
|
+
margin-top: var(--pu-space-3);
|
|
866
|
+
padding: 2px var(--pu-space-2);
|
|
867
|
+
border-radius: var(--pu-radius-full);
|
|
868
|
+
background: var(--pc-person);
|
|
869
|
+
color: var(--pu-color-on-person);
|
|
870
|
+
font: var(--pu-font-caption);
|
|
871
|
+
font-weight: var(--pu-type-label-weight);
|
|
872
|
+
white-space: nowrap;
|
|
873
|
+
}
|
|
874
|
+
.pc-cursor_TNZJy[data-kind="agent"] .pc-cursor__label_TNZJy {
|
|
875
|
+
color: var(--pu-color-on-agent);
|
|
876
|
+
}
|
|
877
|
+
.pc-cursor__label_TNZJy em {
|
|
878
|
+
font-style: normal;
|
|
879
|
+
font-weight: var(--pu-type-caption-weight);
|
|
880
|
+
}
|
|
881
|
+
.pc-cursor__arrow_TNZJy {
|
|
882
|
+
flex: none;
|
|
883
|
+
fill: var(--pc-person);
|
|
884
|
+
stroke: var(--pu-color-surface);
|
|
885
|
+
}
|
|
886
|
+
/* Drawn in artboard pixels; the label counter-scales so it reads at any zoom. */
|
|
887
|
+
.pc-highlight_1ukRM {
|
|
888
|
+
position: absolute;
|
|
889
|
+
border-radius: var(--pu-radius-sm);
|
|
890
|
+
outline: calc(2px / var(--pc-zoom, 1)) solid var(--pu-color-accent);
|
|
891
|
+
background: color-mix(in srgb, var(--pu-color-accent) 7%, transparent);
|
|
892
|
+
pointer-events: none;
|
|
893
|
+
}
|
|
894
|
+
.pc-highlight__label_1ukRM {
|
|
895
|
+
position: absolute;
|
|
896
|
+
bottom: 100%;
|
|
897
|
+
left: 0;
|
|
898
|
+
padding: 0 var(--pu-space-1);
|
|
899
|
+
border-radius: var(--pu-radius-sm) var(--pu-radius-sm) 0 0;
|
|
900
|
+
background: var(--pu-color-accent);
|
|
901
|
+
color: var(--pu-color-on-accent);
|
|
902
|
+
font: var(--pu-font-caption);
|
|
903
|
+
font-weight: var(--pu-type-label-weight);
|
|
904
|
+
white-space: nowrap;
|
|
905
|
+
transform: scale(calc(1 / var(--pc-zoom, 1)));
|
|
906
|
+
transform-origin: 0 100%;
|
|
907
|
+
}
|
|
908
|
+
.pc-minimap_s2DT- {
|
|
909
|
+
position: relative;
|
|
910
|
+
overflow: hidden;
|
|
911
|
+
width: 220px;
|
|
912
|
+
height: 140px;
|
|
913
|
+
border-radius: var(--pu-radius-lg);
|
|
914
|
+
background: var(--pu-color-surface);
|
|
915
|
+
box-shadow: var(--pu-shadow-md);
|
|
916
|
+
}
|
|
917
|
+
/* Group names only: anything smaller than a caption is a shape, not text. */
|
|
918
|
+
.pc-minimap__group_s2DT- {
|
|
919
|
+
position: absolute;
|
|
920
|
+
overflow: hidden;
|
|
921
|
+
padding: 0 var(--pu-space-1);
|
|
922
|
+
border-radius: var(--pu-radius-sm);
|
|
923
|
+
background: var(--pu-color-surface-2);
|
|
924
|
+
color: var(--pu-color-ink-2);
|
|
925
|
+
font: var(--pu-font-caption);
|
|
926
|
+
white-space: nowrap;
|
|
927
|
+
}
|
|
928
|
+
.pc-minimap__pin_s2DT- {
|
|
929
|
+
position: absolute;
|
|
930
|
+
width: 6px;
|
|
931
|
+
height: 6px;
|
|
932
|
+
border-radius: var(--pu-radius-full);
|
|
933
|
+
background: var(--pu-color-accent);
|
|
934
|
+
translate: -50% -50%;
|
|
935
|
+
}
|
|
936
|
+
.pc-minimap__view_s2DT- {
|
|
937
|
+
position: absolute;
|
|
938
|
+
border: 1.5px solid var(--pu-color-accent);
|
|
939
|
+
border-radius: var(--pu-radius-sm);
|
|
940
|
+
}
|
|
941
|
+
.pc-minimap__view_s2DT- {
|
|
942
|
+
pointer-events: none;
|
|
943
|
+
}
|
|
944
|
+
.pc-outline_fCFhv {
|
|
945
|
+
display: grid;
|
|
946
|
+
align-content: start;
|
|
947
|
+
gap: var(--pu-space-2);
|
|
948
|
+
padding: var(--pu-space-1);
|
|
949
|
+
border-radius: var(--pu-radius-lg);
|
|
950
|
+
background: var(--pu-color-surface);
|
|
951
|
+
box-shadow: var(--pu-shadow-md);
|
|
952
|
+
}
|
|
953
|
+
.pc-outline__search_fCFhv {
|
|
954
|
+
display: flex;
|
|
955
|
+
gap: var(--pu-space-2);
|
|
956
|
+
align-items: center;
|
|
957
|
+
height: var(--pu-size-control);
|
|
958
|
+
padding: 0 var(--pu-space-3);
|
|
959
|
+
border-radius: var(--pu-radius-md);
|
|
960
|
+
background: var(--pu-color-surface-2);
|
|
961
|
+
color: var(--pu-color-ink-2);
|
|
962
|
+
}
|
|
963
|
+
.pc-outline__search_fCFhv input {
|
|
964
|
+
flex: 1;
|
|
965
|
+
min-width: 0;
|
|
966
|
+
height: 100%;
|
|
967
|
+
padding: 0;
|
|
968
|
+
border: 0;
|
|
969
|
+
outline: 0;
|
|
970
|
+
background: none;
|
|
971
|
+
color: var(--pu-color-ink);
|
|
972
|
+
font: var(--pu-font-body);
|
|
973
|
+
}
|
|
974
|
+
.pc-outline__search_fCFhv:focus-within {
|
|
975
|
+
outline: 2px solid var(--pu-color-focus);
|
|
976
|
+
}
|
|
977
|
+
.pc-outline__search_fCFhv input::placeholder {
|
|
978
|
+
color: var(--pu-color-ink-3);
|
|
979
|
+
}
|
|
980
|
+
.pc-outline__empty_fCFhv {
|
|
981
|
+
margin: 0;
|
|
982
|
+
padding: var(--pu-space-2) var(--pu-space-3);
|
|
983
|
+
color: var(--pu-color-ink-2);
|
|
984
|
+
}
|
|
985
|
+
.pc-outline__group_fCFhv {
|
|
986
|
+
display: grid;
|
|
987
|
+
gap: 2px;
|
|
988
|
+
}
|
|
989
|
+
.pc-outline__group_fCFhv h3 {
|
|
990
|
+
margin: 0;
|
|
991
|
+
}
|
|
992
|
+
/* Sentence case, not tracked caps: group names are read, not decorated. */
|
|
993
|
+
.pc-outline__group-title_fCFhv {
|
|
994
|
+
display: flex;
|
|
995
|
+
gap: var(--pu-space-1);
|
|
996
|
+
align-items: center;
|
|
997
|
+
width: 100%;
|
|
998
|
+
min-height: var(--pu-size-control-sm);
|
|
999
|
+
padding: var(--pu-space-1) var(--pu-space-2);
|
|
1000
|
+
border-radius: var(--pu-radius-md);
|
|
1001
|
+
color: var(--pu-color-ink-2);
|
|
1002
|
+
font: var(--pu-font-caption);
|
|
1003
|
+
font-weight: var(--pu-type-label-weight);
|
|
1004
|
+
}
|
|
1005
|
+
.pc-outline__group-title_fCFhv:hover,
|
|
1006
|
+
.pc-outline__board_fCFhv:hover,
|
|
1007
|
+
.pc-outline__artboards_fCFhv button:hover {
|
|
1008
|
+
background: var(--pu-color-surface-2);
|
|
1009
|
+
}
|
|
1010
|
+
.pc-outline__entry_fCFhv[data-active] .pc-outline__board_fCFhv,
|
|
1011
|
+
.pc-outline__entry_fCFhv[data-active] {
|
|
1012
|
+
border-radius: var(--pu-radius-md);
|
|
1013
|
+
background: var(--pu-color-accent-tint);
|
|
1014
|
+
}
|
|
1015
|
+
/* On the accent tint a gray hover reads as dirt: deepen the tint instead, in the accent's ink. */
|
|
1016
|
+
.pc-outline__entry_fCFhv[data-active] .pc-outline__board_fCFhv:hover,
|
|
1017
|
+
.pc-outline__entry_fCFhv[data-active] .pc-outline__artboards_fCFhv button:hover {
|
|
1018
|
+
background: color-mix(in oklab, var(--pu-color-accent) 14%, var(--pu-color-accent-tint));
|
|
1019
|
+
color: var(--pu-color-accent-ink);
|
|
1020
|
+
}
|
|
1021
|
+
.pc-outline__board_fCFhv {
|
|
1022
|
+
display: grid;
|
|
1023
|
+
grid-template-columns: 1fr auto;
|
|
1024
|
+
align-items: center;
|
|
1025
|
+
width: 100%;
|
|
1026
|
+
min-height: var(--pu-size-control);
|
|
1027
|
+
padding: var(--pu-space-1) var(--pu-space-3);
|
|
1028
|
+
border-radius: var(--pu-radius-md);
|
|
1029
|
+
text-align: start;
|
|
1030
|
+
}
|
|
1031
|
+
.pc-outline__board-title_fCFhv {
|
|
1032
|
+
display: inline-flex;
|
|
1033
|
+
gap: var(--pu-space-2);
|
|
1034
|
+
align-items: center;
|
|
1035
|
+
font: var(--pu-font-label);
|
|
1036
|
+
}
|
|
1037
|
+
.pc-outline__changed_fCFhv {
|
|
1038
|
+
width: 6px;
|
|
1039
|
+
height: 6px;
|
|
1040
|
+
border-radius: var(--pu-radius-full);
|
|
1041
|
+
background: var(--pu-color-accent);
|
|
1042
|
+
}
|
|
1043
|
+
.pc-outline__count_fCFhv {
|
|
1044
|
+
min-width: 20px;
|
|
1045
|
+
padding: 0 var(--pu-space-1);
|
|
1046
|
+
border-radius: var(--pu-radius-full);
|
|
1047
|
+
background: var(--pu-color-accent);
|
|
1048
|
+
color: var(--pu-color-on-accent);
|
|
1049
|
+
font: var(--pu-font-caption);
|
|
1050
|
+
font-weight: var(--pu-type-label-weight);
|
|
1051
|
+
font-variant-numeric: tabular-nums;
|
|
1052
|
+
text-align: center;
|
|
1053
|
+
}
|
|
1054
|
+
.pc-outline__artboards_fCFhv {
|
|
1055
|
+
display: grid;
|
|
1056
|
+
margin: 0;
|
|
1057
|
+
padding: 0 0 var(--pu-space-1) var(--pu-space-4);
|
|
1058
|
+
list-style: none;
|
|
1059
|
+
}
|
|
1060
|
+
.pc-outline__artboards_fCFhv button {
|
|
1061
|
+
width: 100%;
|
|
1062
|
+
min-height: var(--pu-size-control-sm);
|
|
1063
|
+
padding: 0 var(--pu-space-2);
|
|
1064
|
+
border-radius: var(--pu-radius-sm);
|
|
1065
|
+
color: var(--pu-color-ink-2);
|
|
1066
|
+
text-align: start;
|
|
1067
|
+
}
|
|
1068
|
+
.pc-readability__checks_oiqbO {
|
|
1069
|
+
display: flex;
|
|
1070
|
+
flex-direction: column;
|
|
1071
|
+
min-height: 0;
|
|
1072
|
+
max-height: 100%;
|
|
1073
|
+
overflow: hidden;
|
|
1074
|
+
border-radius: var(--pu-radius-lg);
|
|
1075
|
+
background: var(--pu-color-surface);
|
|
1076
|
+
box-shadow: var(--pu-shadow-md);
|
|
1077
|
+
}
|
|
1078
|
+
.pc-readability__head_oiqbO {
|
|
1079
|
+
display: grid;
|
|
1080
|
+
grid-template-columns: 1fr auto;
|
|
1081
|
+
gap: 0 var(--pu-space-3);
|
|
1082
|
+
align-items: center;
|
|
1083
|
+
padding: var(--pu-space-3) var(--pu-space-3) var(--pu-space-3) var(--pu-space-4);
|
|
1084
|
+
border-bottom: 1px solid var(--pu-color-line);
|
|
1085
|
+
}
|
|
1086
|
+
.pc-readability__head_oiqbO h2 {
|
|
1087
|
+
margin: 0;
|
|
1088
|
+
font: var(--pu-font-heading);
|
|
1089
|
+
}
|
|
1090
|
+
.pc-readability__sum_oiqbO {
|
|
1091
|
+
grid-row: 2;
|
|
1092
|
+
color: var(--pu-color-ink-2);
|
|
1093
|
+
font: var(--pu-font-caption);
|
|
1094
|
+
font-variant-numeric: tabular-nums;
|
|
1095
|
+
}
|
|
1096
|
+
.pc-readability__scroll_oiqbO {
|
|
1097
|
+
flex: 1;
|
|
1098
|
+
min-height: 0;
|
|
1099
|
+
overflow: auto;
|
|
1100
|
+
padding: var(--pu-space-1);
|
|
1101
|
+
}
|
|
1102
|
+
.pc-readability__group_oiqbO h3 {
|
|
1103
|
+
margin: 0;
|
|
1104
|
+
padding: var(--pu-space-3) var(--pu-space-3) var(--pu-space-1);
|
|
1105
|
+
color: var(--pu-color-ink-2);
|
|
1106
|
+
font: var(--pu-font-caption);
|
|
1107
|
+
font-weight: var(--pu-type-label-weight);
|
|
1108
|
+
}
|
|
1109
|
+
.pc-readability__group_oiqbO ul {
|
|
1110
|
+
display: grid;
|
|
1111
|
+
gap: 2px;
|
|
1112
|
+
margin: 0;
|
|
1113
|
+
padding: 0;
|
|
1114
|
+
list-style: none;
|
|
1115
|
+
}
|
|
1116
|
+
/*
|
|
1117
|
+
* Pin sits in the row's top-right corner, beside the kind, not in a column of its own, so the
|
|
1118
|
+
* text keeps the width. Its room is fixed: Pin and Pinned take the same space, so pinning never
|
|
1119
|
+
* reflows the row.
|
|
1120
|
+
*/
|
|
1121
|
+
.pc-readability__item_oiqbO {
|
|
1122
|
+
--pin: calc(var(--pu-space-16) + var(--pu-space-6));
|
|
1123
|
+
display: grid;
|
|
1124
|
+
grid-template-areas: "row";
|
|
1125
|
+
border-radius: var(--pu-radius-md);
|
|
1126
|
+
}
|
|
1127
|
+
.pc-readability__item_oiqbO > * {
|
|
1128
|
+
grid-area: row;
|
|
1129
|
+
}
|
|
1130
|
+
/*
|
|
1131
|
+
* Only the kind line leaves room for Pin, and it is Pin's height, so the button never covers
|
|
1132
|
+
* text: where and the message run below it at the full row width.
|
|
1133
|
+
*/
|
|
1134
|
+
.pc-readability__go_oiqbO {
|
|
1135
|
+
display: grid;
|
|
1136
|
+
grid-template-columns: minmax(0, 1fr) var(--pin);
|
|
1137
|
+
gap: 2px var(--pu-space-1);
|
|
1138
|
+
padding: var(--pu-space-2) var(--pu-space-3);
|
|
1139
|
+
border-radius: var(--pu-radius-md);
|
|
1140
|
+
text-align: start;
|
|
1141
|
+
}
|
|
1142
|
+
.pc-readability__go_oiqbO:hover {
|
|
1143
|
+
background: var(--pu-color-surface-2);
|
|
1144
|
+
}
|
|
1145
|
+
.pc-readability__kind_oiqbO {
|
|
1146
|
+
display: flex;
|
|
1147
|
+
align-items: center;
|
|
1148
|
+
min-height: var(--pu-size-control-sm);
|
|
1149
|
+
font: var(--pu-font-label);
|
|
1150
|
+
}
|
|
1151
|
+
.pc-readability__go_oiqbO > .pc-readability__where_oiqbO {
|
|
1152
|
+
grid-column: 1 / -1;
|
|
1153
|
+
}
|
|
1154
|
+
.pc-readability__item_oiqbO[data-level="error"] .pc-readability__kind_oiqbO {
|
|
1155
|
+
color: var(--pu-color-danger-ink);
|
|
1156
|
+
}
|
|
1157
|
+
.pc-readability__item_oiqbO[data-level="warn"] .pc-readability__kind_oiqbO {
|
|
1158
|
+
color: var(--pu-color-warning-ink);
|
|
1159
|
+
}
|
|
1160
|
+
.pc-readability__where_oiqbO {
|
|
1161
|
+
color: var(--pu-color-ink-2);
|
|
1162
|
+
font: var(--pu-font-caption);
|
|
1163
|
+
}
|
|
1164
|
+
.pc-readability__message_oiqbO {
|
|
1165
|
+
grid-column: 1 / -1;
|
|
1166
|
+
color: var(--pu-color-ink-2);
|
|
1167
|
+
overflow-wrap: anywhere;
|
|
1168
|
+
}
|
|
1169
|
+
.pc-readability__token_oiqbO {
|
|
1170
|
+
padding: var(--pu-space-2) var(--pu-space-3);
|
|
1171
|
+
color: var(--pu-color-danger-ink);
|
|
1172
|
+
overflow-wrap: anywhere;
|
|
1173
|
+
}
|
|
1174
|
+
.pc-readability__note_oiqbO {
|
|
1175
|
+
margin: 0;
|
|
1176
|
+
padding: var(--pu-space-3) var(--pu-space-4);
|
|
1177
|
+
color: var(--pu-color-ink-2);
|
|
1178
|
+
font: var(--pu-font-caption);
|
|
1179
|
+
}
|
|
1180
|
+
.pc-readability__note_oiqbO {
|
|
1181
|
+
border-top: 1px solid var(--pu-color-line);
|
|
1182
|
+
}
|
|
1183
|
+
.pc-readability__close_oiqbO {
|
|
1184
|
+
grid-row: 1 / span 2;
|
|
1185
|
+
grid-column: 2;
|
|
1186
|
+
}
|
|
1187
|
+
.pc-readability__pin_oiqbO {
|
|
1188
|
+
display: grid;
|
|
1189
|
+
justify-self: end;
|
|
1190
|
+
align-self: start;
|
|
1191
|
+
width: var(--pin);
|
|
1192
|
+
padding: var(--pu-space-2) var(--pu-space-2) 0 0;
|
|
1193
|
+
}
|
|
1194
|
+
.pc-readability__pin_oiqbO > [data-ui="Button"] {
|
|
1195
|
+
justify-content: center;
|
|
1196
|
+
}
|
|
1197
|
+
.pc-readability__pair_oiqbO {
|
|
1198
|
+
display: grid;
|
|
1199
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
1200
|
+
gap: var(--pu-space-3);
|
|
1201
|
+
align-items: center;
|
|
1202
|
+
padding: var(--pu-space-2) var(--pu-space-3);
|
|
1203
|
+
}
|
|
1204
|
+
/* The pairing itself: the background, with two bars of the foreground as "text" on it. */
|
|
1205
|
+
.pc-readability__swatch_oiqbO {
|
|
1206
|
+
display: grid;
|
|
1207
|
+
align-content: center;
|
|
1208
|
+
gap: 3px;
|
|
1209
|
+
width: var(--pu-size-control);
|
|
1210
|
+
height: var(--pu-size-control);
|
|
1211
|
+
padding: 0 var(--pu-space-2);
|
|
1212
|
+
border-radius: var(--pu-radius-md);
|
|
1213
|
+
box-shadow: inset 0 0 0 1px var(--pu-color-line);
|
|
1214
|
+
}
|
|
1215
|
+
.pc-readability__swatch_oiqbO > span {
|
|
1216
|
+
height: 3px;
|
|
1217
|
+
border-radius: var(--pu-radius-full);
|
|
1218
|
+
}
|
|
1219
|
+
.pc-readability__swatch_oiqbO > span + span {
|
|
1220
|
+
width: 60%;
|
|
1221
|
+
}
|
|
1222
|
+
.pc-readability__names_oiqbO {
|
|
1223
|
+
display: grid;
|
|
1224
|
+
gap: 2px;
|
|
1225
|
+
min-width: 0;
|
|
1226
|
+
}
|
|
1227
|
+
.pc-readability__pair-title_oiqbO {
|
|
1228
|
+
font: var(--pu-font-label);
|
|
1229
|
+
}
|
|
1230
|
+
.pc-readability__names_oiqbO code {
|
|
1231
|
+
font: var(--pu-font-label);
|
|
1232
|
+
font-family: var(--pu-font-family-mono);
|
|
1233
|
+
}
|
|
1234
|
+
.pc-readability__ratio_oiqbO {
|
|
1235
|
+
display: grid;
|
|
1236
|
+
justify-items: end;
|
|
1237
|
+
color: var(--pu-color-ink-2);
|
|
1238
|
+
font: var(--pu-font-caption);
|
|
1239
|
+
font-variant-numeric: tabular-nums;
|
|
1240
|
+
}
|
|
1241
|
+
.pc-readability__ratio_oiqbO strong {
|
|
1242
|
+
color: var(--pu-color-danger-ink);
|
|
1243
|
+
font: var(--pu-font-label);
|
|
1244
|
+
}
|
|
1245
|
+
.pc-readability__clear_oiqbO {
|
|
1246
|
+
display: grid;
|
|
1247
|
+
gap: var(--pu-space-1);
|
|
1248
|
+
justify-items: center;
|
|
1249
|
+
padding: var(--pu-space-6) var(--pu-space-4) var(--pu-space-5);
|
|
1250
|
+
text-align: center;
|
|
1251
|
+
}
|
|
1252
|
+
.pc-readability__badge_oiqbO {
|
|
1253
|
+
display: grid;
|
|
1254
|
+
place-items: center;
|
|
1255
|
+
width: var(--pu-size-control-lg);
|
|
1256
|
+
height: var(--pu-size-control-lg);
|
|
1257
|
+
margin-bottom: var(--pu-space-2);
|
|
1258
|
+
border-radius: var(--pu-radius-full);
|
|
1259
|
+
background: color-mix(in oklab, var(--pu-color-success) 16%, var(--pu-color-surface));
|
|
1260
|
+
color: var(--pu-color-success-ink);
|
|
1261
|
+
}
|
|
1262
|
+
.pc-readability__clear_oiqbO h3 {
|
|
1263
|
+
margin: 0;
|
|
1264
|
+
font: var(--pu-font-heading);
|
|
1265
|
+
}
|
|
1266
|
+
.pc-readability__clear_oiqbO p {
|
|
1267
|
+
margin: 0;
|
|
1268
|
+
color: var(--pu-color-ink-2);
|
|
1269
|
+
font: var(--pu-font-caption);
|
|
1270
|
+
font-variant-numeric: tabular-nums;
|
|
1271
|
+
}
|
|
1272
|
+
.pc-readability__rules_oiqbO {
|
|
1273
|
+
display: grid;
|
|
1274
|
+
grid-template-columns: 1fr 1fr;
|
|
1275
|
+
gap: var(--pu-space-1) var(--pu-space-4);
|
|
1276
|
+
margin: var(--pu-space-4) 0 0;
|
|
1277
|
+
padding: 0;
|
|
1278
|
+
list-style: none;
|
|
1279
|
+
text-align: start;
|
|
1280
|
+
}
|
|
1281
|
+
.pc-readability__rules_oiqbO li {
|
|
1282
|
+
display: flex;
|
|
1283
|
+
gap: var(--pu-space-2);
|
|
1284
|
+
align-items: center;
|
|
1285
|
+
font: var(--pu-font-caption);
|
|
1286
|
+
}
|
|
1287
|
+
.pc-readability__rules_oiqbO svg {
|
|
1288
|
+
flex: none;
|
|
1289
|
+
color: var(--pu-color-success-ink);
|
|
1290
|
+
}
|
|
1291
|
+
/* Quiet: floating islands on a dotted board, 12px from every edge. The board is the page. */
|
|
1292
|
+
.pc-shell_lEez7 {
|
|
1293
|
+
--pc-edge: var(--pu-space-3);
|
|
1294
|
+
--pc-below-toolbar: calc(var(--pc-edge) * 2 + var(--pu-size-target));
|
|
1295
|
+
position: relative;
|
|
1296
|
+
height: var(--pinup-vh, 100svh);
|
|
1297
|
+
overflow: hidden;
|
|
1298
|
+
background-color: var(--pu-color-bg);
|
|
1299
|
+
background-image: radial-gradient(var(--pu-color-board-dot) 1px, transparent 1px);
|
|
1300
|
+
background-size: var(--pu-space-5) var(--pu-space-5);
|
|
1301
|
+
}
|
|
1302
|
+
.pc-shell_lEez7 > * {
|
|
1303
|
+
position: absolute;
|
|
1304
|
+
}
|
|
1305
|
+
.pc-shell__board_lEez7 {
|
|
1306
|
+
inset: 0;
|
|
1307
|
+
}
|
|
1308
|
+
.pc-shell__toolbar_lEez7 {
|
|
1309
|
+
top: var(--pc-edge);
|
|
1310
|
+
right: var(--pc-edge);
|
|
1311
|
+
left: var(--pc-edge);
|
|
1312
|
+
}
|
|
1313
|
+
/* The side islands scroll inside themselves, and leave the minimap's corner free. */
|
|
1314
|
+
.pc-shell__left_lEez7,
|
|
1315
|
+
.pc-shell__right_lEez7 {
|
|
1316
|
+
top: var(--pc-below-toolbar);
|
|
1317
|
+
bottom: var(--pc-edge);
|
|
1318
|
+
display: flex;
|
|
1319
|
+
flex-direction: column;
|
|
1320
|
+
pointer-events: none;
|
|
1321
|
+
}
|
|
1322
|
+
.pc-shell__left_lEez7 > *,
|
|
1323
|
+
.pc-shell__right_lEez7 > * {
|
|
1324
|
+
min-height: 0;
|
|
1325
|
+
overflow: auto;
|
|
1326
|
+
pointer-events: auto;
|
|
1327
|
+
}
|
|
1328
|
+
.pc-shell__left_lEez7 {
|
|
1329
|
+
left: var(--pc-edge);
|
|
1330
|
+
width: 264px;
|
|
1331
|
+
}
|
|
1332
|
+
.pc-shell__right_lEez7 {
|
|
1333
|
+
right: var(--pc-edge);
|
|
1334
|
+
bottom: calc(var(--pc-edge) * 2 + 140px);
|
|
1335
|
+
width: 320px;
|
|
1336
|
+
}
|
|
1337
|
+
.pc-shell__minimap_lEez7 {
|
|
1338
|
+
right: var(--pc-edge);
|
|
1339
|
+
bottom: var(--pc-edge);
|
|
1340
|
+
}
|
|
1341
|
+
.pc-shell_lEez7[data-commenting] .pc-shell__board_lEez7 {
|
|
1342
|
+
cursor: crosshair;
|
|
1343
|
+
}
|
|
1344
|
+
.pc-shell__scrim_lEez7 {
|
|
1345
|
+
inset: 0;
|
|
1346
|
+
display: grid;
|
|
1347
|
+
justify-content: center;
|
|
1348
|
+
align-content: start;
|
|
1349
|
+
padding-top: 140px;
|
|
1350
|
+
background: var(--pu-color-scrim);
|
|
1351
|
+
}
|
|
1352
|
+
.pc-thread_rlcuO {
|
|
1353
|
+
display: grid;
|
|
1354
|
+
gap: var(--pu-space-3);
|
|
1355
|
+
width: 320px;
|
|
1356
|
+
padding: var(--pu-space-3);
|
|
1357
|
+
border-radius: var(--pu-radius-lg);
|
|
1358
|
+
background: var(--pu-color-surface);
|
|
1359
|
+
box-shadow: var(--pu-shadow-lg);
|
|
1360
|
+
}
|
|
1361
|
+
.pc-thread__head_rlcuO {
|
|
1362
|
+
display: flex;
|
|
1363
|
+
gap: var(--pu-space-2);
|
|
1364
|
+
align-items: baseline;
|
|
1365
|
+
justify-content: space-between;
|
|
1366
|
+
}
|
|
1367
|
+
.pc-thread__where_rlcuO {
|
|
1368
|
+
color: var(--pu-color-ink-2);
|
|
1369
|
+
font: var(--pu-font-caption);
|
|
1370
|
+
}
|
|
1371
|
+
.pc-thread__where_rlcuO strong {
|
|
1372
|
+
color: var(--pu-color-ink);
|
|
1373
|
+
font-weight: var(--pu-type-label-weight);
|
|
1374
|
+
}
|
|
1375
|
+
.pc-thread__where_rlcuO {
|
|
1376
|
+
flex: 1;
|
|
1377
|
+
}
|
|
1378
|
+
.pc-thread__status_rlcuO {
|
|
1379
|
+
flex: none;
|
|
1380
|
+
color: var(--pu-color-ink-2);
|
|
1381
|
+
font: var(--pu-font-caption);
|
|
1382
|
+
font-weight: var(--pu-type-label-weight);
|
|
1383
|
+
}
|
|
1384
|
+
.pc-thread_rlcuO[data-state="review"] .pc-thread__status_rlcuO {
|
|
1385
|
+
color: var(--pu-color-agent-ink);
|
|
1386
|
+
}
|
|
1387
|
+
.pc-thread__meta_rlcuO {
|
|
1388
|
+
display: flex;
|
|
1389
|
+
flex-wrap: wrap;
|
|
1390
|
+
gap: var(--pu-space-1);
|
|
1391
|
+
color: var(--pu-color-ink-2);
|
|
1392
|
+
font: var(--pu-font-caption);
|
|
1393
|
+
}
|
|
1394
|
+
.pc-thread__meta_rlcuO > span {
|
|
1395
|
+
display: inline-flex;
|
|
1396
|
+
gap: var(--pu-space-1);
|
|
1397
|
+
align-items: center;
|
|
1398
|
+
padding: 0 var(--pu-space-2);
|
|
1399
|
+
border-radius: var(--pu-radius-full);
|
|
1400
|
+
background: var(--pu-color-surface-2);
|
|
1401
|
+
}
|
|
1402
|
+
.pc-thread__meta_rlcuO > [data-kind="branch"] {
|
|
1403
|
+
font-family: var(--pu-font-family-mono);
|
|
1404
|
+
}
|
|
1405
|
+
.pc-thread__meta_rlcuO > [data-kind="agent"] {
|
|
1406
|
+
background: var(--pu-color-agent-tint);
|
|
1407
|
+
color: var(--pu-color-agent-ink);
|
|
1408
|
+
}
|
|
1409
|
+
.pc-thread__message_rlcuO {
|
|
1410
|
+
display: grid;
|
|
1411
|
+
grid-template-columns: auto 1fr;
|
|
1412
|
+
gap: var(--pu-space-2);
|
|
1413
|
+
}
|
|
1414
|
+
/* An agent's reply sits in a tint, inset from the thread's padding. */
|
|
1415
|
+
.pc-thread__message_rlcuO[data-agent] {
|
|
1416
|
+
margin: 0 calc(-1 * var(--pu-space-1));
|
|
1417
|
+
padding: var(--pu-space-2);
|
|
1418
|
+
border-radius: var(--pu-radius-md);
|
|
1419
|
+
background: var(--pu-color-agent-tint);
|
|
1420
|
+
}
|
|
1421
|
+
.pc-thread__who_rlcuO {
|
|
1422
|
+
display: flex;
|
|
1423
|
+
gap: var(--pu-space-2);
|
|
1424
|
+
align-items: baseline;
|
|
1425
|
+
font: var(--pu-font-label);
|
|
1426
|
+
}
|
|
1427
|
+
.pc-thread__who_rlcuO time {
|
|
1428
|
+
color: var(--pu-color-ink-3);
|
|
1429
|
+
font: var(--pu-font-caption);
|
|
1430
|
+
}
|
|
1431
|
+
.pc-thread__commit_rlcuO {
|
|
1432
|
+
padding: 0 var(--pu-space-1);
|
|
1433
|
+
border-radius: var(--pu-radius-sm);
|
|
1434
|
+
background: var(--pu-color-surface);
|
|
1435
|
+
color: var(--pu-color-agent-ink);
|
|
1436
|
+
font: var(--pu-font-caption);
|
|
1437
|
+
font-family: var(--pu-font-family-mono);
|
|
1438
|
+
}
|
|
1439
|
+
.pc-thread__body_rlcuO {
|
|
1440
|
+
margin: 2px 0 0;
|
|
1441
|
+
overflow-wrap: anywhere;
|
|
1442
|
+
white-space: pre-wrap;
|
|
1443
|
+
}
|
|
1444
|
+
/* Under the last message, lined up with its text: they answer it. */
|
|
1445
|
+
.pc-thread__actions_rlcuO {
|
|
1446
|
+
display: flex;
|
|
1447
|
+
flex-wrap: wrap;
|
|
1448
|
+
gap: var(--pu-space-1);
|
|
1449
|
+
margin-top: calc(-1 * var(--pu-space-1));
|
|
1450
|
+
padding-inline-start: calc(24px + var(--pu-space-2));
|
|
1451
|
+
}
|
|
1452
|
+
.pc-thread__close_rlcuO {
|
|
1453
|
+
flex: none;
|
|
1454
|
+
align-self: start;
|
|
1455
|
+
margin: calc(-1 * var(--pu-space-1)) calc(-1 * var(--pu-space-1)) 0 0;
|
|
1456
|
+
}
|
|
1457
|
+
.pc-thread_rlcuO[data-state="working"] .pc-thread__status_rlcuO,
|
|
1458
|
+
.pc-thread_rlcuO[data-state="queued"] .pc-thread__status_rlcuO {
|
|
1459
|
+
color: var(--pu-color-agent-ink);
|
|
1460
|
+
}
|
|
1461
|
+
/* The agent's progress, live: in its tint, like its replies, newest step last. */
|
|
1462
|
+
.pc-thread__work_rlcuO {
|
|
1463
|
+
display: grid;
|
|
1464
|
+
gap: var(--pu-space-2);
|
|
1465
|
+
margin: 0 calc(-1 * var(--pu-space-1));
|
|
1466
|
+
padding: var(--pu-space-2) var(--pu-space-3);
|
|
1467
|
+
border-radius: var(--pu-radius-md);
|
|
1468
|
+
background: var(--pu-color-agent-tint);
|
|
1469
|
+
}
|
|
1470
|
+
.pc-thread__work-head_rlcuO {
|
|
1471
|
+
display: flex;
|
|
1472
|
+
gap: var(--pu-space-2);
|
|
1473
|
+
align-items: center;
|
|
1474
|
+
min-height: var(--pu-size-control-sm);
|
|
1475
|
+
color: var(--pu-color-agent-ink);
|
|
1476
|
+
font: var(--pu-font-label);
|
|
1477
|
+
}
|
|
1478
|
+
.pc-thread__spinner_rlcuO {
|
|
1479
|
+
flex: none;
|
|
1480
|
+
animation: pc-thread__spin_rlcuO 1s linear infinite;
|
|
1481
|
+
}
|
|
1482
|
+
@keyframes pc-thread__spin_rlcuO {
|
|
1483
|
+
to {
|
|
1484
|
+
transform: rotate(360deg);
|
|
1485
|
+
}
|
|
1486
|
+
}
|
|
1487
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1488
|
+
.pc-thread__spinner_rlcuO {
|
|
1489
|
+
animation: none;
|
|
1490
|
+
}
|
|
1491
|
+
}
|
|
1492
|
+
.pc-thread__stop_rlcuO {
|
|
1493
|
+
margin-inline-start: auto;
|
|
1494
|
+
}
|
|
1495
|
+
.pc-thread__steps_rlcuO {
|
|
1496
|
+
display: grid;
|
|
1497
|
+
gap: var(--pu-space-1);
|
|
1498
|
+
margin: 0;
|
|
1499
|
+
padding: 0;
|
|
1500
|
+
list-style: none;
|
|
1501
|
+
color: var(--pu-color-ink-2);
|
|
1502
|
+
font: var(--pu-font-caption);
|
|
1503
|
+
}
|
|
1504
|
+
.pc-thread__steps_rlcuO li {
|
|
1505
|
+
overflow-wrap: anywhere;
|
|
1506
|
+
}
|
|
1507
|
+
.pc-thread__steps_rlcuO li:last-child {
|
|
1508
|
+
color: var(--pu-color-ink);
|
|
1509
|
+
}
|
|
1510
|
+
.pc-thread__steps_rlcuO code {
|
|
1511
|
+
font-family: var(--pu-font-family-mono);
|
|
1512
|
+
}
|
|
1513
|
+
/* 44px tall: 4px inset + 36px controls + 4px. Controls are radius-md inside a radius-lg island. */
|
|
1514
|
+
.pc-toolbar_b1oFU {
|
|
1515
|
+
display: flex;
|
|
1516
|
+
gap: var(--pu-space-2);
|
|
1517
|
+
align-items: center;
|
|
1518
|
+
height: var(--pu-size-target);
|
|
1519
|
+
padding: var(--pu-space-1) var(--pu-space-1) var(--pu-space-1) var(--pu-space-3);
|
|
1520
|
+
border-radius: var(--pu-radius-lg);
|
|
1521
|
+
background: var(--pu-color-surface);
|
|
1522
|
+
box-shadow: var(--pu-shadow-md);
|
|
1523
|
+
white-space: nowrap;
|
|
1524
|
+
}
|
|
1525
|
+
.pc-toolbar_b1oFU > * {
|
|
1526
|
+
flex: none;
|
|
1527
|
+
}
|
|
1528
|
+
.pc-toolbar__brand_b1oFU {
|
|
1529
|
+
display: inline-flex;
|
|
1530
|
+
gap: var(--pu-space-2);
|
|
1531
|
+
align-items: center;
|
|
1532
|
+
font: var(--pu-font-heading);
|
|
1533
|
+
}
|
|
1534
|
+
.pc-toolbar__mark_b1oFU {
|
|
1535
|
+
width: 18px;
|
|
1536
|
+
height: 18px;
|
|
1537
|
+
border-radius: var(--pu-radius-sm);
|
|
1538
|
+
background: var(--pu-color-accent);
|
|
1539
|
+
}
|
|
1540
|
+
.pc-toolbar__branch_b1oFU {
|
|
1541
|
+
display: inline-flex;
|
|
1542
|
+
gap: var(--pu-space-1);
|
|
1543
|
+
align-items: center;
|
|
1544
|
+
padding: 0 var(--pu-space-2);
|
|
1545
|
+
border-radius: var(--pu-radius-full);
|
|
1546
|
+
background: var(--pu-color-surface-2);
|
|
1547
|
+
color: var(--pu-color-ink-2);
|
|
1548
|
+
font: var(--pu-font-caption);
|
|
1549
|
+
font-family: var(--pu-font-family-mono);
|
|
1550
|
+
}
|
|
1551
|
+
.pc-toolbar__sep_b1oFU {
|
|
1552
|
+
width: 1px;
|
|
1553
|
+
height: var(--pu-space-5);
|
|
1554
|
+
margin: 0 var(--pu-space-1);
|
|
1555
|
+
background: var(--pu-color-line);
|
|
1556
|
+
}
|
|
1557
|
+
/* Kobalte's SegmentedControl: radios underneath, so arrows move and one is always picked. */
|
|
1558
|
+
.pc-toolbar__segmented_b1oFU {
|
|
1559
|
+
position: relative;
|
|
1560
|
+
display: inline-flex;
|
|
1561
|
+
height: var(--pu-size-control);
|
|
1562
|
+
padding: 2px;
|
|
1563
|
+
border-radius: var(--pu-radius-md);
|
|
1564
|
+
background: var(--pu-color-surface-2);
|
|
1565
|
+
}
|
|
1566
|
+
.pc-toolbar__indicator_b1oFU {
|
|
1567
|
+
position: absolute;
|
|
1568
|
+
border-radius: calc(var(--pu-radius-md) - 2px);
|
|
1569
|
+
background: var(--pu-color-surface);
|
|
1570
|
+
box-shadow:
|
|
1571
|
+
var(--pu-shadow-sm),
|
|
1572
|
+
0 0 0 1px var(--pu-color-line);
|
|
1573
|
+
transition:
|
|
1574
|
+
transform var(--pu-motion-duration-base) var(--pu-motion-easing-standard),
|
|
1575
|
+
width var(--pu-motion-duration-base) var(--pu-motion-easing-standard);
|
|
1576
|
+
}
|
|
1577
|
+
.pc-toolbar__segment_b1oFU {
|
|
1578
|
+
position: relative;
|
|
1579
|
+
display: inline-flex;
|
|
1580
|
+
}
|
|
1581
|
+
.pc-toolbar__segment-label_b1oFU {
|
|
1582
|
+
display: inline-flex;
|
|
1583
|
+
align-items: center;
|
|
1584
|
+
padding: 0 var(--pu-space-3);
|
|
1585
|
+
border-radius: calc(var(--pu-radius-md) - 2px);
|
|
1586
|
+
color: var(--pu-color-ink-2);
|
|
1587
|
+
font: var(--pu-font-label);
|
|
1588
|
+
cursor: pointer;
|
|
1589
|
+
}
|
|
1590
|
+
.pc-toolbar__segment_b1oFU[data-checked] .pc-toolbar__segment-label_b1oFU {
|
|
1591
|
+
color: var(--pu-color-ink);
|
|
1592
|
+
}
|
|
1593
|
+
.pc-toolbar__segment_b1oFU:not([data-checked]) .pc-toolbar__segment-label_b1oFU:hover {
|
|
1594
|
+
color: var(--pu-color-ink);
|
|
1595
|
+
}
|
|
1596
|
+
.pc-toolbar__segment_b1oFU:has(:focus-visible) .pc-toolbar__segment-label_b1oFU {
|
|
1597
|
+
outline: 2px solid var(--pu-color-focus);
|
|
1598
|
+
outline-offset: -2px;
|
|
1599
|
+
}
|
|
1600
|
+
.pc-toolbar__select_b1oFU {
|
|
1601
|
+
display: inline-flex;
|
|
1602
|
+
gap: var(--pu-space-2);
|
|
1603
|
+
align-items: center;
|
|
1604
|
+
height: var(--pu-size-control);
|
|
1605
|
+
padding: 0 var(--pu-space-2) 0 var(--pu-space-3);
|
|
1606
|
+
border-radius: var(--pu-radius-md);
|
|
1607
|
+
color: var(--pu-color-ink);
|
|
1608
|
+
font: var(--pu-font-label);
|
|
1609
|
+
}
|
|
1610
|
+
.pc-toolbar__select_b1oFU > svg,
|
|
1611
|
+
.pc-toolbar__chevron_b1oFU {
|
|
1612
|
+
display: inline-flex;
|
|
1613
|
+
color: var(--pu-color-ink-2);
|
|
1614
|
+
}
|
|
1615
|
+
.pc-toolbar__select_b1oFU[data-expanded],
|
|
1616
|
+
.pc-toolbar__select_b1oFU:hover,
|
|
1617
|
+
.pc-toolbar__icon_b1oFU:hover,
|
|
1618
|
+
.pc-toolbar__zoom-value_b1oFU:hover,
|
|
1619
|
+
.pc-toolbar__checks_b1oFU:hover {
|
|
1620
|
+
background: var(--pu-color-surface-2);
|
|
1621
|
+
}
|
|
1622
|
+
/* The language menu: an island, so radius-lg round radius-md rows, inset space-1. */
|
|
1623
|
+
.pc-toolbar__menu_b1oFU {
|
|
1624
|
+
min-width: calc(var(--pu-space-16) * 2.5);
|
|
1625
|
+
padding: var(--pu-space-1);
|
|
1626
|
+
border-radius: var(--pu-radius-lg);
|
|
1627
|
+
background: var(--pu-color-surface);
|
|
1628
|
+
box-shadow: var(--pu-shadow-md);
|
|
1629
|
+
transform-origin: var(--kb-select-content-transform-origin);
|
|
1630
|
+
}
|
|
1631
|
+
.pc-toolbar__listbox_b1oFU {
|
|
1632
|
+
display: grid;
|
|
1633
|
+
margin: 0;
|
|
1634
|
+
padding: 0;
|
|
1635
|
+
list-style: none;
|
|
1636
|
+
}
|
|
1637
|
+
.pc-toolbar__option_b1oFU {
|
|
1638
|
+
display: flex;
|
|
1639
|
+
gap: var(--pu-space-3);
|
|
1640
|
+
align-items: center;
|
|
1641
|
+
justify-content: space-between;
|
|
1642
|
+
height: var(--pu-size-control);
|
|
1643
|
+
padding: 0 var(--pu-space-2) 0 var(--pu-space-3);
|
|
1644
|
+
border-radius: var(--pu-radius-md);
|
|
1645
|
+
font: var(--pu-font-label);
|
|
1646
|
+
cursor: pointer;
|
|
1647
|
+
outline: none;
|
|
1648
|
+
}
|
|
1649
|
+
.pc-toolbar__option_b1oFU[data-highlighted] {
|
|
1650
|
+
background: var(--pu-color-surface-2);
|
|
1651
|
+
}
|
|
1652
|
+
.pc-toolbar__option-check_b1oFU {
|
|
1653
|
+
display: inline-flex;
|
|
1654
|
+
color: var(--pu-color-accent-ink);
|
|
1655
|
+
}
|
|
1656
|
+
.pc-toolbar__spacer_b1oFU {
|
|
1657
|
+
flex: 1;
|
|
1658
|
+
}
|
|
1659
|
+
.pc-toolbar__checks_b1oFU {
|
|
1660
|
+
display: inline-flex;
|
|
1661
|
+
gap: var(--pu-space-2);
|
|
1662
|
+
align-items: center;
|
|
1663
|
+
height: var(--pu-size-control);
|
|
1664
|
+
padding: 0 var(--pu-space-3);
|
|
1665
|
+
border-radius: var(--pu-radius-md);
|
|
1666
|
+
color: var(--pu-color-ink-2);
|
|
1667
|
+
font: var(--pu-font-label);
|
|
1668
|
+
}
|
|
1669
|
+
/* The icon is a second cue, by shape as well as colour; the words say pass or fail. */
|
|
1670
|
+
.pc-toolbar__checks_b1oFU > svg {
|
|
1671
|
+
flex: none;
|
|
1672
|
+
color: var(--pu-color-success-ink);
|
|
1673
|
+
}
|
|
1674
|
+
.pc-toolbar__checks_b1oFU[data-failing] {
|
|
1675
|
+
color: var(--pu-color-danger-ink);
|
|
1676
|
+
}
|
|
1677
|
+
.pc-toolbar__checks_b1oFU[data-failing] > svg {
|
|
1678
|
+
color: inherit;
|
|
1679
|
+
}
|
|
1680
|
+
.pc-toolbar__checks_b1oFU[aria-pressed="true"] {
|
|
1681
|
+
background: var(--pu-color-surface-2);
|
|
1682
|
+
color: var(--pu-color-ink);
|
|
1683
|
+
}
|
|
1684
|
+
.pc-toolbar__zoom_b1oFU {
|
|
1685
|
+
display: inline-flex;
|
|
1686
|
+
align-items: center;
|
|
1687
|
+
color: var(--pu-color-ink-2);
|
|
1688
|
+
font: var(--pu-font-label);
|
|
1689
|
+
font-variant-numeric: tabular-nums;
|
|
1690
|
+
}
|
|
1691
|
+
.pc-toolbar__zoom-value_b1oFU {
|
|
1692
|
+
min-width: 6ch;
|
|
1693
|
+
height: var(--pu-size-control);
|
|
1694
|
+
border-radius: var(--pu-radius-md);
|
|
1695
|
+
text-align: center;
|
|
1696
|
+
}
|
|
1697
|
+
.pc-toolbar__icon_b1oFU[aria-pressed="true"] {
|
|
1698
|
+
background: var(--pu-color-surface-2);
|
|
1699
|
+
color: var(--pu-color-ink);
|
|
1700
|
+
}
|
|
1701
|
+
.pc-toolbar__icon_b1oFU {
|
|
1702
|
+
display: inline-grid;
|
|
1703
|
+
width: var(--pu-size-control);
|
|
1704
|
+
height: var(--pu-size-control);
|
|
1705
|
+
place-items: center;
|
|
1706
|
+
border-radius: var(--pu-radius-md);
|
|
1707
|
+
color: var(--pu-color-ink-2);
|
|
1708
|
+
font: var(--pu-font-heading);
|
|
1709
|
+
}
|
|
1710
|
+
.pc-toolbar__presence_b1oFU {
|
|
1711
|
+
display: inline-flex;
|
|
1712
|
+
padding: 0 var(--pu-space-2);
|
|
1713
|
+
}
|
|
1714
|
+
.pc-toolbar__presence_b1oFU > * + * {
|
|
1715
|
+
margin-left: calc(-1 * var(--pu-space-1));
|
|
1716
|
+
}
|
|
1717
|
+
.pc-toolbar__comment_b1oFU {
|
|
1718
|
+
display: inline-flex;
|
|
1719
|
+
gap: var(--pu-space-2);
|
|
1720
|
+
align-items: center;
|
|
1721
|
+
height: var(--pu-size-control);
|
|
1722
|
+
padding: 0 var(--pu-space-2) 0 var(--pu-space-3);
|
|
1723
|
+
border-radius: var(--pu-radius-md);
|
|
1724
|
+
background: var(--pu-color-surface-2);
|
|
1725
|
+
font: var(--pu-font-label);
|
|
1726
|
+
}
|
|
1727
|
+
.pc-toolbar__comment_b1oFU[aria-pressed="true"] {
|
|
1728
|
+
background: var(--pu-color-accent);
|
|
1729
|
+
color: var(--pu-color-on-accent);
|
|
1730
|
+
}
|
|
1731
|
+
.pc-toolbar__count_b1oFU {
|
|
1732
|
+
min-width: 20px;
|
|
1733
|
+
padding: 0 var(--pu-space-1);
|
|
1734
|
+
border-radius: var(--pu-radius-full);
|
|
1735
|
+
background: var(--pu-color-surface);
|
|
1736
|
+
color: var(--pu-color-ink);
|
|
1737
|
+
font: var(--pu-font-caption);
|
|
1738
|
+
font-weight: var(--pu-type-label-weight);
|
|
1739
|
+
text-align: center;
|
|
1740
|
+
}
|
|
1741
|
+
/*$vite$:1*/
|