@snap/valdi 1.1.7 → 1.2.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/.metadata/.bazelrc.template +9 -7
- package/.metadata/AGENTS.md.template +7 -0
- package/.metadata/MODULE.bazel.template +47 -3
- package/.metadata/README.md.template +2 -2
- package/.metadata/bzl/patches/rules_python/1.9.0/BUILD.bazel.template +1 -0
- package/.metadata/bzl/patches/rules_python/1.9.0/remove_setuptools_spaces.patch.template +96 -0
- package/.metadata/skill-tests-README.md.template +1 -1
- package/README.md +47 -14
- package/bundled-skills/registry.json +2 -1
- package/bundled-skills/skills/valdi-animations/skill.md +49 -0
- package/bundled-skills/skills/valdi-async/skill.md +3 -2
- package/bundled-skills/skills/valdi-async/tests/README.md +1 -1
- package/bundled-skills/skills/valdi-bazel/skill.md +2 -6
- package/bundled-skills/skills/valdi-component-tests/tests/README.md +1 -1
- package/bundled-skills/skills/valdi-cpp-runtime/skill.md +18 -0
- package/bundled-skills/skills/valdi-custom-view/skill.md +1 -1
- package/bundled-skills/skills/valdi-error-handling/skill.md +1 -1
- package/bundled-skills/skills/valdi-gestures/skill.md +3 -3
- package/bundled-skills/skills/valdi-migrate/skill.md +2 -1
- package/bundled-skills/skills/valdi-migrate/tests/README.md +2 -2
- package/bundled-skills/skills/valdi-mock-breakdown/skill.md +4 -4
- package/bundled-skills/skills/valdi-mock-to-module/skill.md +9 -6
- package/bundled-skills/skills/valdi-overview/skill.md +2 -1
- package/bundled-skills/skills/valdi-perf/skill.md +121 -5
- package/bundled-skills/skills/valdi-perf/tests/README.md +1 -1
- package/bundled-skills/skills/valdi-pr-review/skill.md +189 -0
- package/bundled-skills/skills/valdi-profile/skill.md +5 -3
- package/bundled-skills/skills/valdi-setup/skill.md +3 -6
- package/bundled-skills/skills/valdi-testing/skill.md +1 -1
- package/bundled-skills/skills/valdi-tsx/skill.md +47 -11
- package/bundled-skills/skills/valdi-tsx/tests/README.md +1 -1
- package/debugger/README.md +356 -0
- package/debugger/debugger-actions.js +373 -0
- package/debugger/debugger-api.js +225 -0
- package/debugger/debugger-bootstrap.js +295 -0
- package/debugger/debugger-model.js +790 -0
- package/debugger/debugger-performance.js +573 -0
- package/debugger/debugger-preview-html.js +676 -0
- package/debugger/debugger-providers.js +389 -0
- package/debugger/debugger-render.js +529 -0
- package/debugger/debugger-runtime.js +387 -0
- package/debugger/debugger-session.js +188 -0
- package/debugger/debugger-settings.js +209 -0
- package/debugger/debugger-state.js +221 -0
- package/debugger/debugger-tree-model.js +539 -0
- package/debugger/debugger.css +1865 -0
- package/debugger/devtools-panel.css +1318 -0
- package/debugger/devtools-panel.html +273 -0
- package/debugger/devtools-panel.js +3329 -0
- package/debugger/index.html +279 -0
- package/dist/commands/bootstrap.js +7 -6
- package/dist/commands/build.js +7 -1
- package/dist/commands/debugger.js +163 -0
- package/dist/commands/doctor.js +3 -62
- package/dist/commands/export.js +47 -16
- package/dist/commands/hotreload.js +247 -27
- package/dist/commands/inspect.js +5 -2
- package/dist/commands/inspect_commands/input.js +176 -0
- package/dist/commands/inspect_commands/snapshot.js +1 -1
- package/dist/commands/inspect_commands/tree.js +1 -1
- package/dist/commands/install.js +79 -2
- package/dist/commands/projectsync.js +15 -0
- package/dist/commands/webHotreload.js +31 -0
- package/dist/core/constants.js +34 -7
- package/dist/debugger/chromiumConsole.js +279 -0
- package/dist/debugger/inputClient.js +473 -0
- package/dist/debugger/server.js +3801 -0
- package/dist/debugger/targetRegistry.js +436 -0
- package/dist/debugger/webPreviewPerformance.js +864 -0
- package/dist/index.js +0 -0
- package/dist/utils/BazelClient.js +34 -5
- package/dist/utils/applicationUtils.js +20 -2
- package/dist/utils/buildInfo.js +5 -1
- package/dist/utils/chromiumDevToolsClient.js +350 -0
- package/dist/utils/cliUtils.js +2 -2
- package/dist/utils/daemonClient.js +364 -44
- package/dist/utils/directorySync.js +153 -0
- package/dist/utils/githubUtils.js +1 -1
- package/dist/utils/hermesClient.js +82 -176
- package/dist/utils/loopbackHost.js +14 -0
- package/dist/utils/owlCdpClient.js +282 -0
- package/dist/utils/owlDevToolsExtension.js +142 -0
- package/dist/utils/processUtils.js +14 -0
- package/dist/utils/stringUtils.js +13 -1
- package/dist/utils/webApplicationSession.js +58 -0
- package/dist/utils/webHotReloadSession.js +212 -0
- package/dist/utils/webServerUtils.js +195 -0
- package/dist/utils/zipUtils.js +20 -2
- package/package.json +4 -2
- package/dist/commands/inspect_commands/snapshot.spec.js +0 -105
- package/dist/core/packageFiles.spec.js +0 -29
- package/dist/preview/previewGenerator.spec.js +0 -203
- package/dist/preview/viewModelParser.spec.js +0 -171
- package/dist/utils/linuxDistro.spec.js +0 -122
- package/dist/utils/skillsAdapters.spec.js +0 -141
- package/dist/utils/stringUtils.spec.js +0 -81
|
@@ -0,0 +1,1318 @@
|
|
|
1
|
+
/* Chromium-style shell shared by generic Owl/Chromium Valdi DevTools hosts. */
|
|
2
|
+
:root {
|
|
3
|
+
color-scheme: light;
|
|
4
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
5
|
+
font-size: 12px;
|
|
6
|
+
--background: #fff;
|
|
7
|
+
--surface: #f8f9fa;
|
|
8
|
+
--surface-hover: #f1f3f4;
|
|
9
|
+
--surface-selected: #e8f0fe;
|
|
10
|
+
--toolbar: #f1f3f4;
|
|
11
|
+
--border: #dadce0;
|
|
12
|
+
--border-soft: #e8eaed;
|
|
13
|
+
--text: #202124;
|
|
14
|
+
--muted: #5f6368;
|
|
15
|
+
--muted-soft: #80868b;
|
|
16
|
+
--accent: #1a73e8;
|
|
17
|
+
--accent-soft: #d2e3fc;
|
|
18
|
+
--tag: #881280;
|
|
19
|
+
--attribute: #994500;
|
|
20
|
+
--string: #1a1aa6;
|
|
21
|
+
--number: #1c00cf;
|
|
22
|
+
--success: #188038;
|
|
23
|
+
--warning: #e37400;
|
|
24
|
+
--error: #d93025;
|
|
25
|
+
--box-margin: #f9cc9d;
|
|
26
|
+
--box-border: #fddd9b;
|
|
27
|
+
--box-padding: #c7df9e;
|
|
28
|
+
--box-content: #a7c6e8;
|
|
29
|
+
--mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:root[data-theme='dark'] {
|
|
33
|
+
color-scheme: dark;
|
|
34
|
+
--background: #202124;
|
|
35
|
+
--surface: #292a2d;
|
|
36
|
+
--surface-hover: #303134;
|
|
37
|
+
--surface-selected: #263850;
|
|
38
|
+
--toolbar: #292a2d;
|
|
39
|
+
--border: #3c4043;
|
|
40
|
+
--border-soft: #303134;
|
|
41
|
+
--text: #e8eaed;
|
|
42
|
+
--muted: #9aa0a6;
|
|
43
|
+
--muted-soft: #80868b;
|
|
44
|
+
--accent: #8ab4f8;
|
|
45
|
+
--accent-soft: #31486a;
|
|
46
|
+
--tag: #ff7bff;
|
|
47
|
+
--attribute: #f6a35e;
|
|
48
|
+
--string: #a5d6ff;
|
|
49
|
+
--number: #a5d6ff;
|
|
50
|
+
--success: #81c995;
|
|
51
|
+
--warning: #fdd663;
|
|
52
|
+
--error: #f28b82;
|
|
53
|
+
--box-margin: #8a694b;
|
|
54
|
+
--box-border: #8a7143;
|
|
55
|
+
--box-padding: #61764f;
|
|
56
|
+
--box-content: #48637e;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
* {
|
|
60
|
+
box-sizing: border-box;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
html,
|
|
64
|
+
body {
|
|
65
|
+
width: 100%;
|
|
66
|
+
height: 100%;
|
|
67
|
+
margin: 0;
|
|
68
|
+
overflow: hidden;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
body {
|
|
72
|
+
background: var(--background);
|
|
73
|
+
color: var(--text);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
button,
|
|
77
|
+
input {
|
|
78
|
+
font: inherit;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
button {
|
|
82
|
+
color: inherit;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.devtools-app {
|
|
86
|
+
display: grid;
|
|
87
|
+
width: 100%;
|
|
88
|
+
height: 100%;
|
|
89
|
+
grid-template-rows: 31px 30px minmax(0, 1fr);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.main-toolbar,
|
|
93
|
+
.target-toolbar,
|
|
94
|
+
.inspector-toolbar,
|
|
95
|
+
.filter-toolbar,
|
|
96
|
+
.breadcrumb-bar {
|
|
97
|
+
display: flex;
|
|
98
|
+
min-width: 0;
|
|
99
|
+
align-items: center;
|
|
100
|
+
border-bottom: 1px solid var(--border);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.main-toolbar {
|
|
104
|
+
background: var(--toolbar);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.main-tabs,
|
|
108
|
+
.detail-tabs {
|
|
109
|
+
display: flex;
|
|
110
|
+
min-width: 0;
|
|
111
|
+
height: 100%;
|
|
112
|
+
align-items: stretch;
|
|
113
|
+
overflow: hidden;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.main-tab,
|
|
117
|
+
.detail-tab {
|
|
118
|
+
position: relative;
|
|
119
|
+
min-width: 0;
|
|
120
|
+
border: 0;
|
|
121
|
+
background: transparent;
|
|
122
|
+
color: var(--text);
|
|
123
|
+
white-space: nowrap;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.main-tab {
|
|
127
|
+
padding: 0 10px;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.detail-tab {
|
|
131
|
+
padding: 0 9px;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.main-tab:hover,
|
|
135
|
+
.detail-tab:hover,
|
|
136
|
+
.icon-button:hover {
|
|
137
|
+
background: var(--surface-hover);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.main-tab:disabled {
|
|
141
|
+
background: transparent;
|
|
142
|
+
color: var(--muted);
|
|
143
|
+
cursor: not-allowed;
|
|
144
|
+
opacity: 0.55;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.main-tab.selected,
|
|
148
|
+
.detail-tab.selected {
|
|
149
|
+
color: var(--accent);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.main-tab.selected::after,
|
|
153
|
+
.detail-tab.selected::after {
|
|
154
|
+
position: absolute;
|
|
155
|
+
right: 0;
|
|
156
|
+
bottom: 0;
|
|
157
|
+
left: 0;
|
|
158
|
+
height: 2px;
|
|
159
|
+
background: var(--accent);
|
|
160
|
+
content: '';
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.toolbar-spacer {
|
|
164
|
+
flex: 1 1 auto;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.icon-button {
|
|
168
|
+
display: inline-grid;
|
|
169
|
+
width: 28px;
|
|
170
|
+
height: 26px;
|
|
171
|
+
flex: 0 0 auto;
|
|
172
|
+
place-items: center;
|
|
173
|
+
border: 0;
|
|
174
|
+
background: transparent;
|
|
175
|
+
color: var(--muted);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.icon-button svg,
|
|
179
|
+
.filter-icon {
|
|
180
|
+
width: 16px;
|
|
181
|
+
height: 16px;
|
|
182
|
+
fill: none;
|
|
183
|
+
stroke: currentColor;
|
|
184
|
+
stroke-linecap: round;
|
|
185
|
+
stroke-linejoin: round;
|
|
186
|
+
stroke-width: 1.4;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.target-toolbar {
|
|
190
|
+
gap: 7px;
|
|
191
|
+
padding: 0 9px;
|
|
192
|
+
background: var(--background);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.status-dot {
|
|
196
|
+
width: 7px;
|
|
197
|
+
height: 7px;
|
|
198
|
+
flex: 0 0 auto;
|
|
199
|
+
border-radius: 50%;
|
|
200
|
+
background: var(--success);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.status-dot.connecting {
|
|
204
|
+
background: var(--warning);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.status-dot.error {
|
|
208
|
+
background: var(--error);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.target-name {
|
|
212
|
+
min-width: 0;
|
|
213
|
+
overflow: hidden;
|
|
214
|
+
font-weight: 500;
|
|
215
|
+
text-overflow: ellipsis;
|
|
216
|
+
white-space: nowrap;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.target-select-label {
|
|
220
|
+
color: var(--muted);
|
|
221
|
+
font-size: 11px;
|
|
222
|
+
white-space: nowrap;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.target-select {
|
|
226
|
+
width: min(320px, 42vw);
|
|
227
|
+
min-width: 120px;
|
|
228
|
+
height: 22px;
|
|
229
|
+
overflow: hidden;
|
|
230
|
+
border: 1px solid var(--border);
|
|
231
|
+
border-radius: 3px;
|
|
232
|
+
background: var(--surface);
|
|
233
|
+
color: var(--text);
|
|
234
|
+
font: inherit;
|
|
235
|
+
text-overflow: ellipsis;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.target-select[hidden],
|
|
239
|
+
.target-select-label[hidden] {
|
|
240
|
+
display: none;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.target-picker-status {
|
|
244
|
+
min-width: 0;
|
|
245
|
+
overflow: hidden;
|
|
246
|
+
color: var(--muted);
|
|
247
|
+
text-overflow: ellipsis;
|
|
248
|
+
white-space: nowrap;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.target-metadata {
|
|
252
|
+
overflow: hidden;
|
|
253
|
+
color: var(--muted);
|
|
254
|
+
text-overflow: ellipsis;
|
|
255
|
+
white-space: nowrap;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.live-toggle {
|
|
259
|
+
display: flex;
|
|
260
|
+
margin-left: auto;
|
|
261
|
+
align-items: center;
|
|
262
|
+
color: var(--muted);
|
|
263
|
+
gap: 3px;
|
|
264
|
+
white-space: nowrap;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.live-toggle input {
|
|
268
|
+
width: 13px;
|
|
269
|
+
height: 13px;
|
|
270
|
+
margin: 0;
|
|
271
|
+
accent-color: var(--accent);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.main-content,
|
|
275
|
+
.section {
|
|
276
|
+
position: relative;
|
|
277
|
+
min-width: 0;
|
|
278
|
+
min-height: 0;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.main-content {
|
|
282
|
+
display: grid;
|
|
283
|
+
overflow: hidden;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.section {
|
|
287
|
+
display: none;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.section.selected {
|
|
291
|
+
display: grid;
|
|
292
|
+
height: 100%;
|
|
293
|
+
overflow: hidden;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
#elementsSection {
|
|
297
|
+
grid-template-rows: minmax(120px, 1fr) 5px minmax(170px, 42%) 24px;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.tree-pane {
|
|
301
|
+
position: relative;
|
|
302
|
+
display: grid;
|
|
303
|
+
min-height: 0;
|
|
304
|
+
grid-template-rows: 28px minmax(0, 1fr);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.filter-toolbar {
|
|
308
|
+
padding: 0 5px 0 8px;
|
|
309
|
+
color: var(--muted);
|
|
310
|
+
gap: 6px;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.filter-icon {
|
|
314
|
+
width: 14px;
|
|
315
|
+
height: 14px;
|
|
316
|
+
flex: 0 0 auto;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
#treeFilter,
|
|
320
|
+
#consoleInput {
|
|
321
|
+
min-width: 0;
|
|
322
|
+
flex: 1 1 auto;
|
|
323
|
+
border: 0;
|
|
324
|
+
outline: none;
|
|
325
|
+
background: transparent;
|
|
326
|
+
color: var(--text);
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
#treeFilter::placeholder,
|
|
330
|
+
#consoleInput::placeholder {
|
|
331
|
+
color: var(--muted-soft);
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.filter-summary,
|
|
335
|
+
.node-summary {
|
|
336
|
+
flex: 0 0 auto;
|
|
337
|
+
color: var(--muted);
|
|
338
|
+
white-space: nowrap;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.tree {
|
|
342
|
+
min-height: 0;
|
|
343
|
+
overflow: auto;
|
|
344
|
+
font-family: var(--mono);
|
|
345
|
+
font-size: 11px;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.tree:focus-visible {
|
|
349
|
+
outline: none;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.tree:focus-visible .tree-row.selected {
|
|
353
|
+
outline: 1px solid var(--accent);
|
|
354
|
+
outline-offset: -1px;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.tree-row {
|
|
358
|
+
display: flex;
|
|
359
|
+
min-width: max-content;
|
|
360
|
+
height: 20px;
|
|
361
|
+
align-items: center;
|
|
362
|
+
padding-right: 10px;
|
|
363
|
+
white-space: nowrap;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.tree-row:hover {
|
|
367
|
+
background: var(--surface-hover);
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.tree-row.selected {
|
|
371
|
+
background: var(--surface-selected);
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.disclosure {
|
|
375
|
+
display: inline-grid;
|
|
376
|
+
width: 15px;
|
|
377
|
+
height: 19px;
|
|
378
|
+
flex: 0 0 auto;
|
|
379
|
+
place-items: center;
|
|
380
|
+
border: 0;
|
|
381
|
+
background: transparent;
|
|
382
|
+
color: var(--muted);
|
|
383
|
+
font-size: 10px;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.disclosure.empty {
|
|
387
|
+
visibility: hidden;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.tag-bracket {
|
|
391
|
+
color: var(--muted);
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.tag-name {
|
|
395
|
+
color: var(--tag);
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.component-row .tag-name {
|
|
399
|
+
color: var(--accent);
|
|
400
|
+
font-weight: 600;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.attribute-name {
|
|
404
|
+
padding-left: 5px;
|
|
405
|
+
color: var(--attribute);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.attribute-value {
|
|
409
|
+
color: var(--string);
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.tree-text {
|
|
413
|
+
max-width: 240px;
|
|
414
|
+
overflow: hidden;
|
|
415
|
+
color: var(--muted);
|
|
416
|
+
text-overflow: ellipsis;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.empty-state {
|
|
420
|
+
padding: 18px 12px;
|
|
421
|
+
color: var(--muted);
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.tree:not(:empty) + .empty-state {
|
|
425
|
+
display: none;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.tree + .empty-state {
|
|
429
|
+
position: absolute;
|
|
430
|
+
top: 28px;
|
|
431
|
+
right: 0;
|
|
432
|
+
left: 0;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.split-handle {
|
|
436
|
+
border-top: 1px solid var(--border);
|
|
437
|
+
border-bottom: 1px solid var(--border);
|
|
438
|
+
background: var(--surface);
|
|
439
|
+
cursor: row-resize;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.split-handle:hover {
|
|
443
|
+
background: var(--accent-soft);
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
.inspector-pane {
|
|
447
|
+
display: grid;
|
|
448
|
+
min-width: 0;
|
|
449
|
+
min-height: 0;
|
|
450
|
+
overflow: hidden;
|
|
451
|
+
grid-template-rows: 30px minmax(0, 1fr);
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
.inspector-toolbar {
|
|
455
|
+
background: var(--surface);
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.inspector {
|
|
459
|
+
min-height: 0;
|
|
460
|
+
padding: 9px 11px 14px;
|
|
461
|
+
overflow: hidden auto;
|
|
462
|
+
overscroll-behavior: contain;
|
|
463
|
+
font-family: var(--mono);
|
|
464
|
+
font-size: 11px;
|
|
465
|
+
line-height: 18px;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.rule-header {
|
|
469
|
+
margin: 0 0 5px;
|
|
470
|
+
color: var(--text);
|
|
471
|
+
font-weight: 500;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.component-properties {
|
|
475
|
+
margin-bottom: 12px;
|
|
476
|
+
border-bottom: 1px solid var(--border);
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.component-property-editor {
|
|
480
|
+
display: grid;
|
|
481
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
482
|
+
gap: 6px;
|
|
483
|
+
margin: 2px 0;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.component-property-label {
|
|
487
|
+
display: flex;
|
|
488
|
+
min-width: 0;
|
|
489
|
+
gap: 4px;
|
|
490
|
+
align-items: center;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.component-property-input {
|
|
494
|
+
min-width: 0;
|
|
495
|
+
flex: 1;
|
|
496
|
+
border: 1px solid var(--border);
|
|
497
|
+
border-radius: 2px;
|
|
498
|
+
background: var(--surface);
|
|
499
|
+
color: var(--text);
|
|
500
|
+
font: inherit;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.component-property-input:focus {
|
|
504
|
+
outline: 2px solid var(--accent);
|
|
505
|
+
outline-offset: 1px;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
.component-property-string-input {
|
|
509
|
+
resize: vertical;
|
|
510
|
+
white-space: pre;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.component-property-apply {
|
|
514
|
+
border: 1px solid var(--border);
|
|
515
|
+
border-radius: 2px;
|
|
516
|
+
background: var(--surface-hover);
|
|
517
|
+
color: var(--text);
|
|
518
|
+
font: inherit;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
.component-property-error {
|
|
522
|
+
margin-bottom: 6px;
|
|
523
|
+
color: var(--error);
|
|
524
|
+
overflow-wrap: anywhere;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
.rule-origin {
|
|
528
|
+
float: right;
|
|
529
|
+
color: var(--muted);
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
.property-list {
|
|
533
|
+
margin: 0 0 12px;
|
|
534
|
+
padding-left: 13px;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
.property-row {
|
|
538
|
+
overflow-wrap: anywhere;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.property-name {
|
|
542
|
+
color: var(--attribute);
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
.property-value.string {
|
|
546
|
+
color: var(--string);
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
.property-value.number,
|
|
550
|
+
.property-value.boolean {
|
|
551
|
+
color: var(--number);
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.property-value.empty {
|
|
555
|
+
color: var(--muted);
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
.box-model {
|
|
559
|
+
width: min(100%, 360px);
|
|
560
|
+
margin: 14px auto;
|
|
561
|
+
color: #202124;
|
|
562
|
+
text-align: center;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
.box-layer {
|
|
566
|
+
position: relative;
|
|
567
|
+
min-height: 34px;
|
|
568
|
+
padding: 14px 18px 8px;
|
|
569
|
+
border: 1px dashed rgba(32, 33, 36, 0.45);
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.box-layer.margin {
|
|
573
|
+
background: var(--box-margin);
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
.box-layer.border {
|
|
577
|
+
background: var(--box-border);
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.box-layer.padding {
|
|
581
|
+
background: var(--box-padding);
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.box-layer.content {
|
|
585
|
+
padding: 7px;
|
|
586
|
+
background: var(--box-content);
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
.box-label {
|
|
590
|
+
position: absolute;
|
|
591
|
+
top: 1px;
|
|
592
|
+
left: 5px;
|
|
593
|
+
font-size: 9px;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
.computed-list {
|
|
597
|
+
width: 100%;
|
|
598
|
+
border-collapse: collapse;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
.computed-list td {
|
|
602
|
+
padding: 5px 7px;
|
|
603
|
+
border-bottom: 1px solid var(--border-soft);
|
|
604
|
+
text-align: left;
|
|
605
|
+
vertical-align: top;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
.computed-list td:first-child {
|
|
609
|
+
width: 42%;
|
|
610
|
+
color: var(--muted);
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
.json-view {
|
|
614
|
+
margin: 0;
|
|
615
|
+
white-space: pre-wrap;
|
|
616
|
+
word-break: break-word;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
.runtime-state-toolbar {
|
|
620
|
+
justify-content: flex-start;
|
|
621
|
+
gap: 9px;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
.runtime-state-summary {
|
|
625
|
+
color: var(--muted);
|
|
626
|
+
font-size: 10px;
|
|
627
|
+
font-weight: 400;
|
|
628
|
+
white-space: nowrap;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
.runtime-state-filter {
|
|
632
|
+
width: min(320px, 48vw);
|
|
633
|
+
min-width: 120px;
|
|
634
|
+
height: 23px;
|
|
635
|
+
margin-left: auto;
|
|
636
|
+
padding: 0 7px;
|
|
637
|
+
border: 1px solid var(--border);
|
|
638
|
+
border-radius: 3px;
|
|
639
|
+
outline: none;
|
|
640
|
+
background: var(--background);
|
|
641
|
+
color: var(--text);
|
|
642
|
+
font-size: 11px;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
.runtime-state-filter:focus {
|
|
646
|
+
border-color: var(--accent);
|
|
647
|
+
box-shadow: 0 0 0 1px var(--accent);
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
.runtime-state-content {
|
|
651
|
+
padding: 0;
|
|
652
|
+
font-family: var(--mono);
|
|
653
|
+
font-size: 11px;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
.runtime-state-component {
|
|
657
|
+
position: relative;
|
|
658
|
+
border-bottom: 1px solid var(--border-soft);
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
.runtime-state-component-details {
|
|
662
|
+
min-width: 0;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
.runtime-state-component-summary,
|
|
666
|
+
.runtime-state-value-summary {
|
|
667
|
+
display: flex;
|
|
668
|
+
min-width: 0;
|
|
669
|
+
align-items: center;
|
|
670
|
+
list-style: none;
|
|
671
|
+
cursor: pointer;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
.runtime-state-component-summary {
|
|
675
|
+
min-height: 34px;
|
|
676
|
+
padding: 4px 68px 4px 9px;
|
|
677
|
+
gap: 7px;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
.runtime-state-component-summary::-webkit-details-marker,
|
|
681
|
+
.runtime-state-value-summary::-webkit-details-marker {
|
|
682
|
+
display: none;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
.runtime-state-component-summary:hover,
|
|
686
|
+
.runtime-state-value-summary:hover,
|
|
687
|
+
.runtime-state-inspect:hover,
|
|
688
|
+
.runtime-state-inspect:focus-visible {
|
|
689
|
+
background: var(--surface-hover);
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
.runtime-state-disclosure {
|
|
693
|
+
width: 10px;
|
|
694
|
+
flex: 0 0 auto;
|
|
695
|
+
color: var(--muted);
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
.runtime-state-component-details[open] > .runtime-state-component-summary > .runtime-state-disclosure,
|
|
699
|
+
details[open] > .runtime-state-value-summary > .runtime-state-disclosure {
|
|
700
|
+
transform: rotate(90deg);
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
.runtime-state-component-name {
|
|
704
|
+
min-width: 0;
|
|
705
|
+
overflow: hidden;
|
|
706
|
+
color: var(--tag);
|
|
707
|
+
font-weight: 600;
|
|
708
|
+
text-overflow: ellipsis;
|
|
709
|
+
white-space: nowrap;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
.runtime-state-component-key,
|
|
713
|
+
.runtime-state-component-description,
|
|
714
|
+
.runtime-state-limit {
|
|
715
|
+
color: var(--muted);
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
.runtime-state-component-key,
|
|
719
|
+
.runtime-state-component-description {
|
|
720
|
+
min-width: 0;
|
|
721
|
+
overflow: hidden;
|
|
722
|
+
text-overflow: ellipsis;
|
|
723
|
+
white-space: nowrap;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
.runtime-state-component-description {
|
|
727
|
+
margin-left: auto;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
.runtime-state-inspect {
|
|
731
|
+
position: absolute;
|
|
732
|
+
top: 5px;
|
|
733
|
+
right: 8px;
|
|
734
|
+
flex: 0 0 auto;
|
|
735
|
+
padding: 3px 6px;
|
|
736
|
+
border: 0;
|
|
737
|
+
border-radius: 3px;
|
|
738
|
+
background: transparent;
|
|
739
|
+
color: var(--accent);
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
.runtime-state-component-body {
|
|
743
|
+
padding: 4px 10px 9px 25px;
|
|
744
|
+
border-top: 1px solid var(--border-soft);
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
.runtime-state-value-row {
|
|
748
|
+
min-height: 20px;
|
|
749
|
+
overflow-wrap: anywhere;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
.runtime-state-value-details {
|
|
753
|
+
margin-left: 10px;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
.runtime-state-value-summary {
|
|
757
|
+
min-height: 20px;
|
|
758
|
+
gap: 4px;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
.runtime-state-value-children {
|
|
762
|
+
margin-left: 10px;
|
|
763
|
+
padding-left: 8px;
|
|
764
|
+
border-left: 1px solid var(--border-soft);
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
.runtime-state-value-key {
|
|
768
|
+
color: var(--attribute);
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
.runtime-state-value-string {
|
|
772
|
+
color: var(--string);
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
.runtime-state-value-number,
|
|
776
|
+
.runtime-state-value-boolean,
|
|
777
|
+
.runtime-state-value-null {
|
|
778
|
+
color: var(--number);
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
.runtime-state-value-description {
|
|
782
|
+
color: var(--muted);
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
.runtime-state-raw {
|
|
786
|
+
max-height: 260px;
|
|
787
|
+
margin: 0;
|
|
788
|
+
overflow: auto;
|
|
789
|
+
white-space: pre-wrap;
|
|
790
|
+
word-break: break-word;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
.runtime-state-inspector {
|
|
794
|
+
margin-bottom: 12px;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
.runtime-state-limit {
|
|
798
|
+
padding: 7px 0;
|
|
799
|
+
font-style: italic;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
.breadcrumb-bar {
|
|
803
|
+
padding: 0 8px;
|
|
804
|
+
border-top: 1px solid var(--border);
|
|
805
|
+
border-bottom: 0;
|
|
806
|
+
background: var(--surface);
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
.breadcrumbs {
|
|
810
|
+
min-width: 0;
|
|
811
|
+
flex: 1 1 auto;
|
|
812
|
+
overflow: hidden;
|
|
813
|
+
color: var(--muted);
|
|
814
|
+
text-overflow: ellipsis;
|
|
815
|
+
white-space: nowrap;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
.breadcrumb {
|
|
819
|
+
border: 0;
|
|
820
|
+
background: transparent;
|
|
821
|
+
color: var(--muted);
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
.breadcrumb:last-child {
|
|
825
|
+
color: var(--accent);
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
.utility-section {
|
|
829
|
+
min-height: 0;
|
|
830
|
+
grid-template-rows: 32px minmax(0, 1fr);
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
.section-header {
|
|
834
|
+
display: flex;
|
|
835
|
+
align-items: center;
|
|
836
|
+
justify-content: space-between;
|
|
837
|
+
padding: 0 10px;
|
|
838
|
+
border-bottom: 1px solid var(--border);
|
|
839
|
+
background: var(--surface);
|
|
840
|
+
font-weight: 500;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
.text-button {
|
|
844
|
+
padding: 4px 7px;
|
|
845
|
+
border: 0;
|
|
846
|
+
background: transparent;
|
|
847
|
+
color: var(--accent);
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
.utility-content {
|
|
851
|
+
min-height: 0;
|
|
852
|
+
padding: 12px;
|
|
853
|
+
overflow: auto;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
.metric-grid {
|
|
857
|
+
display: grid;
|
|
858
|
+
margin-bottom: 15px;
|
|
859
|
+
gap: 9px;
|
|
860
|
+
grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
.metric-card {
|
|
864
|
+
min-width: 0;
|
|
865
|
+
padding: 10px;
|
|
866
|
+
border: 1px solid var(--border);
|
|
867
|
+
border-radius: 3px;
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
.metric-label {
|
|
871
|
+
color: var(--muted);
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
.metric-value {
|
|
875
|
+
margin-top: 6px;
|
|
876
|
+
font-family: var(--mono);
|
|
877
|
+
font-size: 18px;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
.metric-card-chart {
|
|
881
|
+
padding-bottom: 7px;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
.performance-sparkline {
|
|
885
|
+
display: block;
|
|
886
|
+
width: 100%;
|
|
887
|
+
height: 30px;
|
|
888
|
+
margin-top: 7px;
|
|
889
|
+
--graph-color: var(--accent);
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
.performance-sparkline.main-thread {
|
|
893
|
+
--graph-color: var(--warning);
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
.performance-sparkline.resources {
|
|
897
|
+
--graph-color: var(--tag);
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
.performance-sparkline-baseline {
|
|
901
|
+
fill: none;
|
|
902
|
+
stroke: var(--border-soft);
|
|
903
|
+
vector-effect: non-scaling-stroke;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
.performance-sparkline-area {
|
|
907
|
+
fill: color-mix(in srgb, var(--graph-color) 14%, transparent);
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
.performance-sparkline-line {
|
|
911
|
+
fill: none;
|
|
912
|
+
stroke: var(--graph-color);
|
|
913
|
+
stroke-linecap: round;
|
|
914
|
+
stroke-linejoin: round;
|
|
915
|
+
stroke-width: 1.5;
|
|
916
|
+
vector-effect: non-scaling-stroke;
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
.performance-recorder-card {
|
|
920
|
+
margin: 0 0 12px;
|
|
921
|
+
padding: 12px;
|
|
922
|
+
border: 1px solid var(--border);
|
|
923
|
+
border-radius: 4px;
|
|
924
|
+
background: var(--background);
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
.performance-recorder-heading,
|
|
928
|
+
.performance-recorder-controls,
|
|
929
|
+
.performance-legend {
|
|
930
|
+
display: flex;
|
|
931
|
+
align-items: center;
|
|
932
|
+
gap: 8px;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
.performance-recorder-heading {
|
|
936
|
+
justify-content: space-between;
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
.performance-recorder-heading > div {
|
|
940
|
+
display: flex;
|
|
941
|
+
flex-wrap: wrap;
|
|
942
|
+
align-items: center;
|
|
943
|
+
gap: 7px;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
.performance-recorder-controls {
|
|
947
|
+
flex-wrap: wrap;
|
|
948
|
+
margin: 10px 0;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
.performance-status,
|
|
952
|
+
.performance-tracing-badge {
|
|
953
|
+
padding: 2px 7px;
|
|
954
|
+
border-radius: 10px;
|
|
955
|
+
background: var(--surface);
|
|
956
|
+
color: var(--muted);
|
|
957
|
+
font-size: 10px;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
.performance-status.recording {
|
|
961
|
+
background: color-mix(in srgb, var(--error) 12%, var(--background));
|
|
962
|
+
color: var(--error);
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
.performance-tracing-badge.enabled {
|
|
966
|
+
background: color-mix(in srgb, var(--success) 12%, var(--background));
|
|
967
|
+
color: var(--success);
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
.performance-tracing-badge.disabled {
|
|
971
|
+
background: color-mix(in srgb, var(--warning) 13%, var(--background));
|
|
972
|
+
color: var(--warning);
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
.performance-button {
|
|
976
|
+
padding: 5px 8px;
|
|
977
|
+
border: 1px solid var(--border);
|
|
978
|
+
border-radius: 3px;
|
|
979
|
+
background: var(--surface);
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
.performance-button:hover:not(:disabled) {
|
|
983
|
+
background: var(--surface-hover);
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
.performance-button.primary {
|
|
987
|
+
border-color: var(--accent);
|
|
988
|
+
background: var(--accent);
|
|
989
|
+
color: var(--background);
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
.performance-button:disabled {
|
|
993
|
+
cursor: not-allowed;
|
|
994
|
+
opacity: 0.45;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
.performance-duration {
|
|
998
|
+
display: inline-flex;
|
|
999
|
+
align-items: center;
|
|
1000
|
+
color: var(--muted);
|
|
1001
|
+
gap: 4px;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
.performance-duration input {
|
|
1005
|
+
width: 55px;
|
|
1006
|
+
padding: 3px 4px;
|
|
1007
|
+
border: 1px solid var(--border);
|
|
1008
|
+
border-radius: 3px;
|
|
1009
|
+
background: var(--background);
|
|
1010
|
+
color: var(--text);
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
.performance-notice,
|
|
1014
|
+
.performance-error {
|
|
1015
|
+
margin: 9px 0;
|
|
1016
|
+
padding: 8px;
|
|
1017
|
+
border: 1px solid color-mix(in srgb, var(--warning) 45%, var(--border));
|
|
1018
|
+
border-radius: 3px;
|
|
1019
|
+
background: color-mix(in srgb, var(--warning) 7%, var(--background));
|
|
1020
|
+
line-height: 1.5;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
.performance-notice .performance-button {
|
|
1024
|
+
margin-left: 6px;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
.performance-error {
|
|
1028
|
+
border-color: color-mix(in srgb, var(--error) 45%, var(--border));
|
|
1029
|
+
background: color-mix(in srgb, var(--error) 7%, var(--background));
|
|
1030
|
+
color: var(--error);
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
.performance-caption {
|
|
1034
|
+
margin: 8px 0;
|
|
1035
|
+
color: var(--muted);
|
|
1036
|
+
font-size: 11px;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
.performance-trace-filters {
|
|
1040
|
+
display: flex;
|
|
1041
|
+
flex-wrap: wrap;
|
|
1042
|
+
align-items: center;
|
|
1043
|
+
justify-content: space-between;
|
|
1044
|
+
margin: 11px 0 6px;
|
|
1045
|
+
gap: 8px;
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
.performance-scope-group {
|
|
1049
|
+
display: flex;
|
|
1050
|
+
flex-wrap: wrap;
|
|
1051
|
+
gap: 4px;
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
.performance-scope-button {
|
|
1055
|
+
padding: 4px 7px;
|
|
1056
|
+
border: 1px solid var(--border);
|
|
1057
|
+
border-radius: 3px;
|
|
1058
|
+
background: var(--surface);
|
|
1059
|
+
color: var(--text);
|
|
1060
|
+
font-size: 10px;
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
.performance-scope-button.selected {
|
|
1064
|
+
border-color: var(--accent);
|
|
1065
|
+
background: color-mix(in srgb, var(--accent) 12%, var(--background));
|
|
1066
|
+
color: var(--accent);
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
.performance-scope-button span {
|
|
1070
|
+
margin-left: 3px;
|
|
1071
|
+
color: var(--muted);
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
.performance-trace-search {
|
|
1075
|
+
min-width: 175px;
|
|
1076
|
+
flex: 1 1 175px;
|
|
1077
|
+
padding: 4px 6px;
|
|
1078
|
+
border: 1px solid var(--border);
|
|
1079
|
+
border-radius: 3px;
|
|
1080
|
+
background: var(--background);
|
|
1081
|
+
color: var(--text);
|
|
1082
|
+
font-size: 10px;
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
.performance-legend {
|
|
1086
|
+
flex-wrap: wrap;
|
|
1087
|
+
margin: 11px 0 7px;
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
.performance-legend-item {
|
|
1091
|
+
display: inline-flex;
|
|
1092
|
+
align-items: center;
|
|
1093
|
+
color: var(--muted);
|
|
1094
|
+
font-size: 10px;
|
|
1095
|
+
gap: 4px;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
.performance-legend-item::before {
|
|
1099
|
+
width: 8px;
|
|
1100
|
+
height: 8px;
|
|
1101
|
+
border-radius: 2px;
|
|
1102
|
+
background: var(--lane-color);
|
|
1103
|
+
content: '';
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
.performance-event-bar.valdi,
|
|
1107
|
+
.performance-legend-item.valdi {
|
|
1108
|
+
--lane-color: var(--accent);
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
.performance-event-bar.script,
|
|
1112
|
+
.performance-legend-item.script {
|
|
1113
|
+
--lane-color: var(--warning);
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
.performance-event-bar.layout,
|
|
1117
|
+
.performance-legend-item.layout {
|
|
1118
|
+
--lane-color: var(--tag);
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
.performance-event-bar.paint,
|
|
1122
|
+
.performance-legend-item.paint {
|
|
1123
|
+
--lane-color: var(--success);
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
.performance-event-bar.frames,
|
|
1127
|
+
.performance-legend-item.frames {
|
|
1128
|
+
--lane-color: var(--attribute);
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
.performance-event-bar.gc,
|
|
1132
|
+
.performance-legend-item.gc {
|
|
1133
|
+
--lane-color: var(--error);
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
.performance-timeline {
|
|
1137
|
+
max-height: 350px;
|
|
1138
|
+
overflow: auto;
|
|
1139
|
+
border: 1px solid var(--border-soft);
|
|
1140
|
+
border-radius: 3px;
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
.performance-timeline-row {
|
|
1144
|
+
display: grid;
|
|
1145
|
+
min-height: 21px;
|
|
1146
|
+
align-items: center;
|
|
1147
|
+
border-bottom: 1px solid var(--border-soft);
|
|
1148
|
+
font-family: var(--mono);
|
|
1149
|
+
font-size: 10px;
|
|
1150
|
+
gap: 6px;
|
|
1151
|
+
grid-template-columns: minmax(120px, 30%) minmax(80px, 1fr) 62px;
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
.performance-timeline-row:last-child {
|
|
1155
|
+
border-bottom: 0;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
.performance-event-name,
|
|
1159
|
+
.performance-event-duration {
|
|
1160
|
+
overflow: hidden;
|
|
1161
|
+
text-overflow: ellipsis;
|
|
1162
|
+
white-space: nowrap;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
.performance-event-name {
|
|
1166
|
+
padding-left: 6px;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
.performance-event-duration {
|
|
1170
|
+
padding-right: 5px;
|
|
1171
|
+
color: var(--muted);
|
|
1172
|
+
text-align: right;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
.performance-event-track {
|
|
1176
|
+
position: relative;
|
|
1177
|
+
height: 15px;
|
|
1178
|
+
background: color-mix(in srgb, var(--surface) 70%, transparent);
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
.performance-event-bar {
|
|
1182
|
+
position: absolute;
|
|
1183
|
+
top: 3px;
|
|
1184
|
+
bottom: 3px;
|
|
1185
|
+
min-width: 2px;
|
|
1186
|
+
border-radius: 2px;
|
|
1187
|
+
background: var(--lane-color);
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
.utility-heading {
|
|
1191
|
+
margin: 13px 0 7px;
|
|
1192
|
+
color: var(--muted);
|
|
1193
|
+
font-size: 11px;
|
|
1194
|
+
font-weight: 500;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
.performance-results-table {
|
|
1198
|
+
width: 100%;
|
|
1199
|
+
border-collapse: collapse;
|
|
1200
|
+
font-family: var(--mono);
|
|
1201
|
+
font-size: 10px;
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
.performance-results-table th,
|
|
1205
|
+
.performance-results-table td {
|
|
1206
|
+
padding: 5px 6px;
|
|
1207
|
+
border-bottom: 1px solid var(--border-soft);
|
|
1208
|
+
text-align: left;
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
.performance-results-table th {
|
|
1212
|
+
color: var(--muted);
|
|
1213
|
+
font-weight: 500;
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
.performance-results-table th:not(:first-child),
|
|
1217
|
+
.performance-results-table td:not(:first-child) {
|
|
1218
|
+
text-align: right;
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
.performance-navigation {
|
|
1222
|
+
margin: 10px 0;
|
|
1223
|
+
color: var(--muted);
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
.performance-navigation summary {
|
|
1227
|
+
cursor: pointer;
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
.console-section {
|
|
1231
|
+
min-height: 0;
|
|
1232
|
+
grid-template-rows: 32px minmax(0, 1fr) 32px;
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
.console-messages {
|
|
1236
|
+
min-height: 0;
|
|
1237
|
+
overflow: auto;
|
|
1238
|
+
font-family: var(--mono);
|
|
1239
|
+
font-size: 11px;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
.console-entry {
|
|
1243
|
+
display: grid;
|
|
1244
|
+
min-height: 25px;
|
|
1245
|
+
padding: 5px 8px;
|
|
1246
|
+
border-bottom: 1px solid var(--border-soft);
|
|
1247
|
+
gap: 8px;
|
|
1248
|
+
grid-template-columns: 10px minmax(0, 1fr);
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
.console-entry.error {
|
|
1252
|
+
background: color-mix(in srgb, var(--error) 8%, var(--background));
|
|
1253
|
+
color: var(--error);
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
.console-entry.warn {
|
|
1257
|
+
background: color-mix(in srgb, var(--warning) 8%, var(--background));
|
|
1258
|
+
color: var(--warning);
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
.console-entry.debug {
|
|
1262
|
+
color: var(--muted);
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
.console-entry.result .console-chevron,
|
|
1266
|
+
.console-entry.input .console-chevron {
|
|
1267
|
+
color: var(--accent);
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
.console-entry pre {
|
|
1271
|
+
margin: 0;
|
|
1272
|
+
white-space: pre-wrap;
|
|
1273
|
+
word-break: break-word;
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
.console-prompt {
|
|
1277
|
+
display: flex;
|
|
1278
|
+
align-items: center;
|
|
1279
|
+
padding: 0 8px;
|
|
1280
|
+
border-top: 1px solid var(--border);
|
|
1281
|
+
gap: 8px;
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
.console-chevron {
|
|
1285
|
+
color: var(--accent);
|
|
1286
|
+
font-size: 16px;
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
@media (max-width: 480px) {
|
|
1290
|
+
.main-tab {
|
|
1291
|
+
padding: 0 7px;
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
.detail-tab {
|
|
1295
|
+
padding: 0 6px;
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
.target-metadata {
|
|
1299
|
+
display: none;
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
.target-picker-status {
|
|
1303
|
+
position: absolute;
|
|
1304
|
+
width: 1px;
|
|
1305
|
+
height: 1px;
|
|
1306
|
+
padding: 0;
|
|
1307
|
+
margin: -1px;
|
|
1308
|
+
overflow: hidden;
|
|
1309
|
+
border: 0;
|
|
1310
|
+
clip: rect(0 0 0 0);
|
|
1311
|
+
clip-path: inset(50%);
|
|
1312
|
+
white-space: nowrap;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
.target-select {
|
|
1316
|
+
width: min(230px, 52vw);
|
|
1317
|
+
}
|
|
1318
|
+
}
|