demoman 0.8.1 → 0.9.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/THIRD_PARTY_NOTICES +2 -1
- package/dist/demoman.mjs +24069 -16815
- package/dist/page/decode-probe-entry.js +44 -0
- package/dist/page/executor-entry.js +102 -17
- package/dist/page/mux-entry.js +184 -59
- package/dist/page/render-entry.js +941 -635
- package/dist/recipe.md +221 -255
- package/dist/skills/record-demo/SKILL.md +5 -4
- package/dist/studio/assets/editor-DNMFFNBB.js +4 -0
- package/dist/studio/assets/{editor-inline-7e387eed.css → editor-inline-07bcb316.css} +13 -0
- package/dist/studio/assets/library-Doev8wa8.js +1 -0
- package/dist/studio/assets/library-inline-1ca82571.css +1430 -0
- package/dist/studio/assets/settings-BRA8xkpS.js +1 -0
- package/dist/studio/assets/{settings-inline-7bb8bf61.css → settings-inline-2f59fbb0.css} +4 -0
- package/dist/studio/assets/state-B_PivD_k.js +2 -0
- package/dist/studio/assets/toast-Dg-G_N89.css +1 -0
- package/dist/studio/assets/toast-vpo2H1vK.js +72 -0
- package/dist/studio/assets/topbar-DW2VlQMA.js +1 -0
- package/dist/studio/assets/view-Oa5Fj9vk.js +1 -0
- package/dist/studio/editor.html +11 -10
- package/dist/studio/library.html +9 -8
- package/dist/studio/settings.html +8 -7
- package/dist/studio/studio-build.json +3 -3
- package/package.json +2 -1
- package/dist/studio/assets/confirm-dialog-B20ZVWlP.css +0 -1
- package/dist/studio/assets/confirm-dialog-DgJ946Hc.js +0 -72
- package/dist/studio/assets/editor-BC4sLdWT.js +0 -4
- package/dist/studio/assets/library-DVubUJtn.js +0 -1
- package/dist/studio/assets/library-inline-ff1b0c15.css +0 -635
- package/dist/studio/assets/settings-DLH9VoT0.js +0 -1
- package/dist/studio/assets/state-DyL2jOOv.js +0 -1
- package/dist/studio/assets/topbar-sSUyITjl.js +0 -1
- package/dist/studio/assets/view-Df6XUnyO.js +0 -1
|
@@ -0,0 +1,1430 @@
|
|
|
1
|
+
|
|
2
|
+
/* Wide, on purpose — a 720px column left a third of a laptop screen
|
|
3
|
+
empty on each side — but capped, so on a big monitor the page
|
|
4
|
+
sits centred with clear margins rather than running edge to edge.
|
|
5
|
+
The cap is the shell's `.page`, shared with the bar above it:
|
|
6
|
+
1280 less two 32px gutters holds four 270px cards with their
|
|
7
|
+
gaps. */
|
|
8
|
+
body { font-size: 14px; }
|
|
9
|
+
#notice { margin-bottom: 16px; }
|
|
10
|
+
|
|
11
|
+
/* Settings' shape since 2026-10-08: a left column with the title and
|
|
12
|
+
a jump list of the sections, held in view on a wide window; the
|
|
13
|
+
list beside it. The list's column starts the title's height lower
|
|
14
|
+
— its 36px line and 28px under it — so the first section sits
|
|
15
|
+
level with the jump list and the title reads as the page's. One column under 1024px, not Settings' 768: the list is a
|
|
16
|
+
grid of 270px cards, and beside a column at 800px it had room for
|
|
17
|
+
one. The storage trigger is in the top bar. */
|
|
18
|
+
.library { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
|
|
19
|
+
.library-side {
|
|
20
|
+
align-self: start;
|
|
21
|
+
min-width: 0;
|
|
22
|
+
/* On the dotted ground, not a card: the ground's opaque control
|
|
23
|
+
tones, or the dots show through a dark theme's translucent ones. */
|
|
24
|
+
--control: var(--control-ground);
|
|
25
|
+
--control-hover: var(--control-hover-ground);
|
|
26
|
+
}
|
|
27
|
+
.library-content { min-width: 0; }
|
|
28
|
+
/* Under 1024px the rail is not drawn: a full column of places above
|
|
29
|
+
the list took most of the window (the author, 2026-11-01). The
|
|
30
|
+
title is a button that opens the same places as a menu instead
|
|
31
|
+
(view.ts). Wide, the switcher is not drawn. */
|
|
32
|
+
.place-switch { display: none; }
|
|
33
|
+
@media (max-width: 1023px) {
|
|
34
|
+
[data-rail] { display: none; }
|
|
35
|
+
.place-switch:not([hidden]) {
|
|
36
|
+
display: inline-flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
gap: 8px;
|
|
39
|
+
max-width: 100%;
|
|
40
|
+
padding: 0;
|
|
41
|
+
border: 0;
|
|
42
|
+
background: transparent;
|
|
43
|
+
color: inherit;
|
|
44
|
+
font: inherit;
|
|
45
|
+
letter-spacing: inherit;
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
}
|
|
48
|
+
.place-switch:not([hidden]) + [data-place-title] { display: none; }
|
|
49
|
+
}
|
|
50
|
+
/* Shrinks, so the name's own ellipsis (.place-name) has a width to
|
|
51
|
+
keep to; not clipped itself, or the glyphs' descenders go. */
|
|
52
|
+
.place-switch-name { min-width: 0; }
|
|
53
|
+
.place-switch svg {
|
|
54
|
+
flex: none;
|
|
55
|
+
width: 20px;
|
|
56
|
+
height: 20px;
|
|
57
|
+
color: var(--ink-faint);
|
|
58
|
+
transition: transform 120ms ease;
|
|
59
|
+
}
|
|
60
|
+
.place-switch[aria-expanded="true"] svg { transform: rotate(180deg); }
|
|
61
|
+
@media (min-width: 1024px) {
|
|
62
|
+
.library { grid-template-columns: 184px minmax(0, 1fr); gap: 48px; }
|
|
63
|
+
/* Held, and never taller than the window: a long rail scrolls
|
|
64
|
+
itself rather than running off the foot of the screen. The rail,
|
|
65
|
+
not the column, so the title band's name can run on past the
|
|
66
|
+
column into the band. */
|
|
67
|
+
.library-side {
|
|
68
|
+
position: sticky;
|
|
69
|
+
top: 24px;
|
|
70
|
+
max-height: calc(100vh - 48px);
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-direction: column;
|
|
73
|
+
}
|
|
74
|
+
[data-rail] { min-height: 0; overflow-y: auto; }
|
|
75
|
+
.library-content { padding-top: calc(36px + 28px); }
|
|
76
|
+
.side-list { flex-direction: column; }
|
|
77
|
+
}
|
|
78
|
+
h1 {
|
|
79
|
+
margin: 0 0 28px;
|
|
80
|
+
font: 700 30px/1.2 "Outfit", ui-sans-serif, system-ui, sans-serif;
|
|
81
|
+
letter-spacing: -0.02em;
|
|
82
|
+
}
|
|
83
|
+
/* The project rail's places (All flows, each owner's projects, No
|
|
84
|
+
project, Couldn't read): the place shown (aria-current) in the
|
|
85
|
+
stronger control tone, the rest muted text that firms under the
|
|
86
|
+
pointer, a count at the end. */
|
|
87
|
+
/* A column at every width: wrapped into rows, the last projects of one
|
|
88
|
+
owner shared a row with "No project" and read as that owner's. */
|
|
89
|
+
.side-list { display: flex; flex-direction: column; gap: 2px; }
|
|
90
|
+
.side-item {
|
|
91
|
+
display: flex; align-items: center; gap: 8px;
|
|
92
|
+
min-width: 0;
|
|
93
|
+
padding: 7px 10px;
|
|
94
|
+
border: 0;
|
|
95
|
+
border-radius: var(--radius);
|
|
96
|
+
background: transparent;
|
|
97
|
+
color: var(--ink-muted);
|
|
98
|
+
font: inherit;
|
|
99
|
+
font-size: 13px; font-weight: 600;
|
|
100
|
+
text-align: left;
|
|
101
|
+
text-decoration: none;
|
|
102
|
+
cursor: pointer;
|
|
103
|
+
transition: background-color 120ms ease, color 120ms ease;
|
|
104
|
+
}
|
|
105
|
+
.side-item:hover { color: var(--ink); background: var(--control); }
|
|
106
|
+
.side-item[aria-pressed="true"],
|
|
107
|
+
.side-item[aria-current="true"] { color: var(--ink); background: var(--control-hover); }
|
|
108
|
+
.side-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
109
|
+
.side-count { margin-left: auto; font-size: 12px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
|
|
110
|
+
.meter {
|
|
111
|
+
height: 4px;
|
|
112
|
+
border-radius: 999px;
|
|
113
|
+
background: var(--control-hover);
|
|
114
|
+
overflow: hidden;
|
|
115
|
+
}
|
|
116
|
+
.meter-fill {
|
|
117
|
+
height: 100%;
|
|
118
|
+
border-radius: inherit;
|
|
119
|
+
background: var(--accent);
|
|
120
|
+
}
|
|
121
|
+
.meter[data-full] .meter-fill { background: var(--warn); }
|
|
122
|
+
|
|
123
|
+
/* The trigger: the meter, the sentence and a chevron in one quiet
|
|
124
|
+
button. It opens the storage panel (view.ts) and points up while
|
|
125
|
+
the panel is open. Its bar sits on the button's own control tone,
|
|
126
|
+
so the track steps once more to stay visible under the pointer. */
|
|
127
|
+
.storage-trigger {
|
|
128
|
+
gap: 10px;
|
|
129
|
+
color: var(--ink-muted);
|
|
130
|
+
font-weight: 500;
|
|
131
|
+
}
|
|
132
|
+
.storage-trigger:hover,
|
|
133
|
+
.storage-trigger[data-open] { color: var(--ink); }
|
|
134
|
+
.storage-trigger[data-open] { background: var(--control-hover); }
|
|
135
|
+
.storage-trigger .meter {
|
|
136
|
+
width: 72px;
|
|
137
|
+
background: var(--ring-strong);
|
|
138
|
+
}
|
|
139
|
+
[data-meter] { font-variant-numeric: tabular-nums; }
|
|
140
|
+
/* The word that says what the bar measures, in the button's own
|
|
141
|
+
stronger ink, so it reads as the label and the figure as its value. */
|
|
142
|
+
.storage-label { color: var(--ink); font-weight: 600; }
|
|
143
|
+
/* The studio's total in the same slot: the word and the figure, not a
|
|
144
|
+
button. The word keeps .storage-label's ink; the figure is muted. */
|
|
145
|
+
.library-total {
|
|
146
|
+
display: inline-flex;
|
|
147
|
+
gap: 8px;
|
|
148
|
+
align-items: baseline;
|
|
149
|
+
color: var(--ink-muted);
|
|
150
|
+
font-size: 13px;
|
|
151
|
+
font-variant-numeric: tabular-nums;
|
|
152
|
+
}
|
|
153
|
+
.storage-trigger svg {
|
|
154
|
+
width: 14px;
|
|
155
|
+
height: 14px;
|
|
156
|
+
transition: transform 120ms ease;
|
|
157
|
+
}
|
|
158
|
+
/* In the top bar since 2026-10-08, left of the theme switch: under
|
|
159
|
+
900px the words go and the bar and chevron stay, so the bar's
|
|
160
|
+
right end still fits beside the tabs. The button's label carries
|
|
161
|
+
the numbers either way. */
|
|
162
|
+
@media (max-width: 899px) {
|
|
163
|
+
.storage-trigger .storage-label,
|
|
164
|
+
.storage-trigger [data-meter] { display: none; }
|
|
165
|
+
}
|
|
166
|
+
/* And under 560px, the shell's last step (shell.css, the bar), the
|
|
167
|
+
meter shortens, so a phone-width bar keeps one line. */
|
|
168
|
+
@media (max-width: 559px) {
|
|
169
|
+
.storage-trigger .meter { width: 44px; }
|
|
170
|
+
}
|
|
171
|
+
.storage-trigger[data-open] svg { transform: rotate(180deg); }
|
|
172
|
+
|
|
173
|
+
/* The panel: a popover in the top layer, so it floats over the list
|
|
174
|
+
instead of pushing it down. Placed by the script — absolute, so it
|
|
175
|
+
scrolls with the trigger — and edged as the split button's menu
|
|
176
|
+
is: a hairline ring under the overlay shadow. It floats over cards
|
|
177
|
+
of its own tone, and in dark the shadow alone is lost on the black
|
|
178
|
+
page, so the panel's edge ran into the card beneath it. No
|
|
179
|
+
`display` here: the UA's `[popover]:not(:popover-open)` is what
|
|
180
|
+
keeps it hidden. */
|
|
181
|
+
.storage-panel,
|
|
182
|
+
.place-menu {
|
|
183
|
+
position: absolute;
|
|
184
|
+
/* Capped to the room beside its trigger by view.ts's placePanel
|
|
185
|
+
when it does not fit; it scrolls inside then. */
|
|
186
|
+
overflow-y: auto;
|
|
187
|
+
box-sizing: border-box;
|
|
188
|
+
inset: auto;
|
|
189
|
+
margin: 0;
|
|
190
|
+
padding: 16px;
|
|
191
|
+
border: 0;
|
|
192
|
+
border-radius: var(--radius-card);
|
|
193
|
+
background: var(--card);
|
|
194
|
+
color: var(--ink);
|
|
195
|
+
box-shadow:
|
|
196
|
+
0 0 0 1px var(--ring),
|
|
197
|
+
var(--shadow-overlay);
|
|
198
|
+
font-size: 13px;
|
|
199
|
+
}
|
|
200
|
+
/* The switcher's menu: the storage panel's surface, holding the rail's
|
|
201
|
+
own rows. */
|
|
202
|
+
.place-menu { padding: 4px; }
|
|
203
|
+
/* Manrope since 2026-10-06, as every heading under the page title is:
|
|
204
|
+
Outfit is the page title's and the dialogs'. */
|
|
205
|
+
.storage-title {
|
|
206
|
+
margin: 0 0 12px;
|
|
207
|
+
font: 700 15px/1.3 "Manrope", ui-sans-serif, system-ui, sans-serif;
|
|
208
|
+
}
|
|
209
|
+
.storage-used {
|
|
210
|
+
margin: 6px 0 0;
|
|
211
|
+
color: var(--ink-muted);
|
|
212
|
+
font-variant-numeric: tabular-nums;
|
|
213
|
+
}
|
|
214
|
+
.storage-field { margin-top: 16px; }
|
|
215
|
+
.storage-field label {
|
|
216
|
+
display: block;
|
|
217
|
+
margin-bottom: 6px;
|
|
218
|
+
font-size: 12px;
|
|
219
|
+
font-weight: 600;
|
|
220
|
+
color: var(--ink-muted);
|
|
221
|
+
}
|
|
222
|
+
.storage-budget-row {
|
|
223
|
+
display: flex;
|
|
224
|
+
align-items: center;
|
|
225
|
+
gap: 8px;
|
|
226
|
+
color: var(--ink-muted);
|
|
227
|
+
}
|
|
228
|
+
.storage-budget-row input {
|
|
229
|
+
width: 6em;
|
|
230
|
+
font-variant-numeric: tabular-nums;
|
|
231
|
+
}
|
|
232
|
+
.storage-hint {
|
|
233
|
+
margin: 6px 0 0;
|
|
234
|
+
font-size: 12px;
|
|
235
|
+
line-height: 1.4;
|
|
236
|
+
color: var(--ink-faint);
|
|
237
|
+
}
|
|
238
|
+
.storage-field .notice { margin-top: 8px; }
|
|
239
|
+
.storage-foot {
|
|
240
|
+
margin-top: 16px;
|
|
241
|
+
padding-top: 12px;
|
|
242
|
+
border-top: 1px solid var(--ring);
|
|
243
|
+
}
|
|
244
|
+
.storage-reclaim { width: 100%; }
|
|
245
|
+
.storage-reclaim svg { width: 14px; height: 14px; }
|
|
246
|
+
|
|
247
|
+
[data-notices] > .notice { margin: 0 0 16px; }
|
|
248
|
+
|
|
249
|
+
/* The list, in sections by when the take was made: Today, Yesterday,
|
|
250
|
+
the last week by weekday, then a month at a time (view.ts,
|
|
251
|
+
state.ts's sectionsOf). Each section is a fold whose summary is
|
|
252
|
+
its heading and count; every section starts open, and its
|
|
253
|
+
chevron closes it. */
|
|
254
|
+
/* Settings' rhythm (2026-10-06): 28px from the title block to the
|
|
255
|
+
first day; 40px after a day that is open, Settings' gap between
|
|
256
|
+
sections; 8px between closed ones. */
|
|
257
|
+
.section { margin-top: 8px; }
|
|
258
|
+
.library-content > .section:first-of-type { margin-top: 0; }
|
|
259
|
+
.section[open] + .section { margin-top: 40px; }
|
|
260
|
+
|
|
261
|
+
/* A section's summary: Settings' chevron, the heading, its count. */
|
|
262
|
+
.section-head {
|
|
263
|
+
list-style: none;
|
|
264
|
+
cursor: pointer;
|
|
265
|
+
display: flex;
|
|
266
|
+
align-items: center;
|
|
267
|
+
gap: 10px;
|
|
268
|
+
width: fit-content;
|
|
269
|
+
padding: 4px 8px 4px 0;
|
|
270
|
+
border-radius: var(--radius);
|
|
271
|
+
}
|
|
272
|
+
.section-head::-webkit-details-marker { display: none; }
|
|
273
|
+
.section-head:hover .chev { color: var(--ink); }
|
|
274
|
+
.section[open] > .section-head .chev { transform: rotate(90deg); }
|
|
275
|
+
/* Settings' section heading: Manrope 700 at 20px, where it was Outfit
|
|
276
|
+
at 15px until 2026-10-06. */
|
|
277
|
+
.section-head h2 {
|
|
278
|
+
margin: 0;
|
|
279
|
+
font-size: 20px;
|
|
280
|
+
font-weight: 700;
|
|
281
|
+
line-height: 1.3;
|
|
282
|
+
}
|
|
283
|
+
.section-count {
|
|
284
|
+
font-size: 12px;
|
|
285
|
+
font-weight: 600;
|
|
286
|
+
color: var(--ink-faint);
|
|
287
|
+
font-variant-numeric: tabular-nums;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
/* The cards under a heading. Each recording is one card with its
|
|
291
|
+
thumbnail on top, and the card answers the pointer: a firmer ring
|
|
292
|
+
and a lifted shadow, nothing that moves. A grid of equal columns,
|
|
293
|
+
as many 270px-or-wider columns as fit (two at 800px, four at the
|
|
294
|
+
1200 cap), left on the heading's own edge — a heading anchors the
|
|
295
|
+
left, so the centred wrap the flat gallery had (03cddd4) would
|
|
296
|
+
float a partial row away from it. A grid also keeps a partial last
|
|
297
|
+
row's cards in their columns, at the columns' width. */
|
|
298
|
+
.rows {
|
|
299
|
+
display: grid;
|
|
300
|
+
/* min(270px, 100%): a track cannot shrink below its minimum, so
|
|
301
|
+
a bare 270px would scroll a viewport narrower than that sideways. */
|
|
302
|
+
grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
|
|
303
|
+
gap: 14px;
|
|
304
|
+
/* Each card its own height: a video's versions opened under one
|
|
305
|
+
card must not stretch its neighbours to match. */
|
|
306
|
+
align-items: start;
|
|
307
|
+
}
|
|
308
|
+
/* The cards sit 14px under their day, as a card sits under its
|
|
309
|
+
title on Settings. */
|
|
310
|
+
.section > .rows { margin-top: 14px; }
|
|
311
|
+
article.card {
|
|
312
|
+
/* The whole card opens the editor (view.ts); the name inside it is
|
|
313
|
+
a field, and says so with its own cursor below. */
|
|
314
|
+
cursor: pointer;
|
|
315
|
+
/* min-width: 0 is load-bearing — a grid item's automatic minimum
|
|
316
|
+
is its min-content width, and the one-line meta below makes that
|
|
317
|
+
the whole host and path, which took a card in a 360px column to
|
|
318
|
+
430px and out the side. */
|
|
319
|
+
min-width: 0;
|
|
320
|
+
display: flex;
|
|
321
|
+
flex-direction: column;
|
|
322
|
+
/* No padding: the thumbnail runs to the card's edges, and the card
|
|
323
|
+
clips it to its own corners. The text below carries its own. */
|
|
324
|
+
padding: 0;
|
|
325
|
+
overflow: hidden;
|
|
326
|
+
transition: background-color 120ms ease;
|
|
327
|
+
}
|
|
328
|
+
/* Hover was a stronger ring and a lift until 2026-09-20; flat, it is
|
|
329
|
+
a tone step instead. Mixed against `--ink`, NOT `--control`: in
|
|
330
|
+
dark `--control` is a translucent white, and as the card's OWN
|
|
331
|
+
background it composites over the page behind it rather than over
|
|
332
|
+
the card — measured 1.042:1, a highlight nobody can see. Mixing
|
|
333
|
+
with the theme's ink darkens in light and lightens in dark, which
|
|
334
|
+
is the same gesture in both (1.151 / 1.200). */
|
|
335
|
+
article.card:hover {
|
|
336
|
+
background: color-mix(in srgb, var(--ink) 7%, var(--card));
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/* The thumbnail: the take's first keyframe at rest, a flipbook of
|
|
340
|
+
its keyframes while the pointer is anywhere on the card
|
|
341
|
+
(src/library/preview.ts). Edge to edge across the top of the card
|
|
342
|
+
since 2026-10-05; it was a padded well inside the card until then.
|
|
343
|
+
No surface of its own and no hairline under it, also since
|
|
344
|
+
2026-10-05: the control tone showed in a letterboxed keyframe's
|
|
345
|
+
bars as a grey mat around the picture, and the author preferred
|
|
346
|
+
the bare image. A fixed 16:9 so the grid's rows line up; a
|
|
347
|
+
keyframe of another shape letterboxes inside it rather than
|
|
348
|
+
stretching, and its bars are the card's own colour.
|
|
349
|
+
The picture itself carries a hairline (D3 shots, L2): a mostly white
|
|
350
|
+
page pillarboxed on a white card had no edge at all. The canvas is
|
|
351
|
+
sized to the picture (`--thumb-ratio`, set by preview.ts) rather
|
|
352
|
+
than to the box, and the box clips the ring — so it shows only
|
|
353
|
+
where the picture meets a bar, and a picture that fills the box
|
|
354
|
+
stays bare, with no line under it. */
|
|
355
|
+
[data-preview] {
|
|
356
|
+
position: relative;
|
|
357
|
+
display: flex;
|
|
358
|
+
align-items: center;
|
|
359
|
+
justify-content: center;
|
|
360
|
+
width: 100%;
|
|
361
|
+
aspect-ratio: 16 / 9;
|
|
362
|
+
overflow: hidden;
|
|
363
|
+
container-type: size;
|
|
364
|
+
}
|
|
365
|
+
[data-preview-canvas] {
|
|
366
|
+
display: block;
|
|
367
|
+
width: min(100cqw, 100cqh * var(--thumb-ratio, 16 / 9));
|
|
368
|
+
height: auto;
|
|
369
|
+
object-fit: contain;
|
|
370
|
+
box-shadow: 0 0 0 1px var(--ring);
|
|
371
|
+
}
|
|
372
|
+
/* `display: block` above beats the UA's `[hidden] { display: none }`
|
|
373
|
+
— an author rule wins over the UA sheet whatever its specificity —
|
|
374
|
+
so without this the hidden canvas kept its 100% width and shoved
|
|
375
|
+
the note out of the box's right edge, clipped. */
|
|
376
|
+
[data-preview-canvas][hidden] { display: none; }
|
|
377
|
+
[data-preview-note] {
|
|
378
|
+
padding: 0 10px;
|
|
379
|
+
text-align: center;
|
|
380
|
+
font-size: 12px;
|
|
381
|
+
line-height: 1.4;
|
|
382
|
+
color: var(--ink-faint);
|
|
383
|
+
}
|
|
384
|
+
[data-preview-note]:empty { display: none; }
|
|
385
|
+
|
|
386
|
+
/* The export's length, on the picture's bottom-right corner, the way
|
|
387
|
+
every video player and file browser puts it. A dark scrim with
|
|
388
|
+
white figures in both themes, not a theme surface: it sits on a
|
|
389
|
+
screenshot, which is whatever colour the recorded page was. In the
|
|
390
|
+
page's Manrope with tabular figures since 2026-10-08, as the
|
|
391
|
+
editor's clock is — not `--font-mono`. */
|
|
392
|
+
[data-duration] {
|
|
393
|
+
position: absolute;
|
|
394
|
+
right: 8px;
|
|
395
|
+
bottom: 8px;
|
|
396
|
+
padding: 2px 6px;
|
|
397
|
+
border-radius: 4px;
|
|
398
|
+
background: rgba(0, 0, 0, 0.72);
|
|
399
|
+
color: #ffffff;
|
|
400
|
+
font-size: 11px;
|
|
401
|
+
line-height: 1.4;
|
|
402
|
+
font-variant-numeric: tabular-nums;
|
|
403
|
+
}
|
|
404
|
+
[data-duration][hidden] { display: none; }
|
|
405
|
+
|
|
406
|
+
/* The tags ride on the picture's bottom-left, opposite the length.
|
|
407
|
+
Stays put whatever the pointer does: a reclaimed take has to say
|
|
408
|
+
so without being hovered. Room kept on the right for the length,
|
|
409
|
+
so a tag never runs under it. */
|
|
410
|
+
.row-tags {
|
|
411
|
+
position: absolute;
|
|
412
|
+
left: 8px;
|
|
413
|
+
right: 64px;
|
|
414
|
+
bottom: 8px;
|
|
415
|
+
display: flex;
|
|
416
|
+
flex-wrap: wrap;
|
|
417
|
+
gap: 6px;
|
|
418
|
+
min-width: 0;
|
|
419
|
+
}
|
|
420
|
+
/* `.tag`, not `.chip`: on Settings a chip is the round on/off icon. */
|
|
421
|
+
.tag {
|
|
422
|
+
display: inline-flex;
|
|
423
|
+
align-items: center;
|
|
424
|
+
gap: 5px;
|
|
425
|
+
padding: 2px 8px 2px 6px;
|
|
426
|
+
border-radius: var(--radius);
|
|
427
|
+
/* The card's own surface under the tag's tone: on a picture, a
|
|
428
|
+
translucent dark-theme `--control` would take its colour from
|
|
429
|
+
the screenshot behind it. */
|
|
430
|
+
background:
|
|
431
|
+
linear-gradient(var(--control), var(--control)),
|
|
432
|
+
var(--card);
|
|
433
|
+
color: var(--ink-muted);
|
|
434
|
+
font-size: 11px;
|
|
435
|
+
font-weight: 600;
|
|
436
|
+
/* A whole pixel, so every tag stands 20px and the glyph-only Needs
|
|
437
|
+
a look flag below can be a 20px square level with them. The
|
|
438
|
+
inherited 1.5 made it 20.5. */
|
|
439
|
+
line-height: 16px;
|
|
440
|
+
/* One line, always: a tag that wraps mid-word is a broken pill. */
|
|
441
|
+
white-space: nowrap;
|
|
442
|
+
}
|
|
443
|
+
.tag svg { width: 12px; height: 12px; }
|
|
444
|
+
.tag-warn {
|
|
445
|
+
background: var(--warn-soft);
|
|
446
|
+
color: var(--warn);
|
|
447
|
+
}
|
|
448
|
+
/* Needs a look: the one tag that is a button, and a glyph alone — so
|
|
449
|
+
a square, the 20px every worded tag stands. */
|
|
450
|
+
.tag-look {
|
|
451
|
+
justify-content: center;
|
|
452
|
+
width: 20px;
|
|
453
|
+
height: 20px;
|
|
454
|
+
padding: 0;
|
|
455
|
+
border: 0;
|
|
456
|
+
cursor: pointer;
|
|
457
|
+
}
|
|
458
|
+
.tag-look svg { width: 14px; height: 14px; }
|
|
459
|
+
.tag-look:hover { filter: brightness(0.96); }
|
|
460
|
+
.tag-look:focus-visible {
|
|
461
|
+
outline: 2px solid var(--focus);
|
|
462
|
+
outline-offset: 2px;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.row-text {
|
|
466
|
+
min-width: 0;
|
|
467
|
+
padding: 8px 8px 12px 12px;
|
|
468
|
+
}
|
|
469
|
+
/* The name and the actions on one line. The name takes what the
|
|
470
|
+
actions leave, and clips. */
|
|
471
|
+
.row-title {
|
|
472
|
+
display: flex;
|
|
473
|
+
align-items: center;
|
|
474
|
+
gap: 8px;
|
|
475
|
+
min-height: 28px;
|
|
476
|
+
}
|
|
477
|
+
/* The take's name, editable in place: the editor's own name field,
|
|
478
|
+
in the card. Pulled back by its own 4px padding so the text sits on
|
|
479
|
+
the card's text edge, and the ring appears around it. */
|
|
480
|
+
[data-name] {
|
|
481
|
+
display: block;
|
|
482
|
+
flex: 1;
|
|
483
|
+
min-width: 0;
|
|
484
|
+
margin-left: -4px;
|
|
485
|
+
padding: 2px 4px;
|
|
486
|
+
text-overflow: ellipsis;
|
|
487
|
+
font: inherit;
|
|
488
|
+
/* 14px since 2026-10-06, the size of an item's name on Settings. */
|
|
489
|
+
font-size: 14px;
|
|
490
|
+
font-weight: 700;
|
|
491
|
+
line-height: 1.3;
|
|
492
|
+
color: inherit;
|
|
493
|
+
background: transparent;
|
|
494
|
+
border: 1px solid transparent;
|
|
495
|
+
border-radius: var(--radius);
|
|
496
|
+
cursor: text;
|
|
497
|
+
}
|
|
498
|
+
/* An untitled take: "Untitled" in the row's quiet ink, so it reads as
|
|
499
|
+
a state rather than as a name somebody chose. */
|
|
500
|
+
[data-name]::placeholder { color: var(--ink-muted); opacity: 1; }
|
|
501
|
+
[data-name]:hover { border-color: var(--ring); }
|
|
502
|
+
[data-name]:focus {
|
|
503
|
+
outline: none;
|
|
504
|
+
border-color: var(--accent);
|
|
505
|
+
background: var(--control);
|
|
506
|
+
}
|
|
507
|
+
/* A flow's checkbox, for a bulk delete (spec 2026-10-30
|
|
508
|
+
flows-and-bulk-delete §1.2): in the thumbnail's corner, shown on
|
|
509
|
+
the card's hover or its own focus, and on every flow card once
|
|
510
|
+
one is ticked. Opacity, not display: Tab still reaches it. */
|
|
511
|
+
.select-box {
|
|
512
|
+
position: absolute;
|
|
513
|
+
top: 8px;
|
|
514
|
+
left: 8px;
|
|
515
|
+
z-index: 1;
|
|
516
|
+
width: 18px;
|
|
517
|
+
height: 18px;
|
|
518
|
+
margin: 0;
|
|
519
|
+
accent-color: var(--ink);
|
|
520
|
+
cursor: pointer;
|
|
521
|
+
opacity: 0;
|
|
522
|
+
transition: opacity 120ms ease;
|
|
523
|
+
}
|
|
524
|
+
article.card:hover .select-box,
|
|
525
|
+
.select-box:focus-visible,
|
|
526
|
+
[data-selecting] .select-box {
|
|
527
|
+
opacity: 1;
|
|
528
|
+
}
|
|
529
|
+
/* While flows are ticked the bar's Delete is the one Delete on the
|
|
530
|
+
page: a flow card's own Edit and Delete step aside. Hidden by the
|
|
531
|
+
selecting state, not left out of the render, so a tick changes
|
|
532
|
+
nothing but attributes (view.ts, applySelection). */
|
|
533
|
+
[data-selecting] article[data-video] :is([data-action="edit"], [data-action="delete"]) {
|
|
534
|
+
display: none;
|
|
535
|
+
}
|
|
536
|
+
/* The list's own: in its cell, not the thumbnail's corner; shown as
|
|
537
|
+
the card's is, on its row's hover or keyboard focus (list spec
|
|
538
|
+
§4.4) — not a click's focus, which outlasts the pointer. */
|
|
539
|
+
.library-list .select-box {
|
|
540
|
+
position: static;
|
|
541
|
+
/* Not the thumbnail's 1: a flex item takes a z-index unpositioned,
|
|
542
|
+
and the boxes painted over the sticky head as rows scrolled
|
|
543
|
+
under it. A heading's box is lifted by its cell (below). */
|
|
544
|
+
z-index: auto;
|
|
545
|
+
}
|
|
546
|
+
.library-list > [data-key]:is(:hover, :focus-visible, :has(:focus-visible)) .select-box {
|
|
547
|
+
opacity: 1;
|
|
548
|
+
}
|
|
549
|
+
/* A grid section's own: in its head, left of the label, shown on the
|
|
550
|
+
head's hover or focus and while flows are ticked (the list's heading
|
|
551
|
+
box is shown by its row's hover, above). */
|
|
552
|
+
.section-head .select-box {
|
|
553
|
+
position: static;
|
|
554
|
+
flex: none;
|
|
555
|
+
}
|
|
556
|
+
.section-head:is(:hover, :focus-within) .select-box {
|
|
557
|
+
opacity: 1;
|
|
558
|
+
}
|
|
559
|
+
article.card[data-selected] {
|
|
560
|
+
box-shadow: inset 0 0 0 2px var(--ink);
|
|
561
|
+
}
|
|
562
|
+
/* Stands over the list while flows are ticked, and stays in view as
|
|
563
|
+
the list scrolls under it. */
|
|
564
|
+
.selection-bar {
|
|
565
|
+
position: sticky;
|
|
566
|
+
top: 12px;
|
|
567
|
+
z-index: 2;
|
|
568
|
+
display: flex;
|
|
569
|
+
flex-wrap: wrap;
|
|
570
|
+
align-items: center;
|
|
571
|
+
gap: 8px;
|
|
572
|
+
margin-bottom: 16px;
|
|
573
|
+
padding: 8px 8px 8px 14px;
|
|
574
|
+
border-radius: 10px;
|
|
575
|
+
background: var(--card);
|
|
576
|
+
box-shadow: inset 0 0 0 1px var(--ring);
|
|
577
|
+
}
|
|
578
|
+
.selection-count {
|
|
579
|
+
flex: 1;
|
|
580
|
+
font-weight: 500;
|
|
581
|
+
font-variant-numeric: tabular-nums;
|
|
582
|
+
}
|
|
583
|
+
.selection-said {
|
|
584
|
+
flex-basis: 100%;
|
|
585
|
+
margin: 0;
|
|
586
|
+
color: var(--ink-muted);
|
|
587
|
+
font-size: 13px;
|
|
588
|
+
}
|
|
589
|
+
/* Quiet glyphs beside the name, not filled buttons: at rest the card
|
|
590
|
+
is a picture and two lines, and four tinted squares would be the
|
|
591
|
+
loudest thing on it. The tone comes with the pointer. */
|
|
592
|
+
.row-actions {
|
|
593
|
+
display: flex;
|
|
594
|
+
align-items: center;
|
|
595
|
+
gap: 2px;
|
|
596
|
+
flex: none;
|
|
597
|
+
}
|
|
598
|
+
.row-actions .btn-icon {
|
|
599
|
+
width: 28px;
|
|
600
|
+
height: 28px;
|
|
601
|
+
background: transparent;
|
|
602
|
+
color: var(--ink-muted);
|
|
603
|
+
}
|
|
604
|
+
.row-actions .btn-icon:not(:disabled):hover {
|
|
605
|
+
background: var(--control-hover);
|
|
606
|
+
color: var(--ink);
|
|
607
|
+
}
|
|
608
|
+
.row-actions .btn-icon[aria-disabled="true"]:hover {
|
|
609
|
+
background: transparent;
|
|
610
|
+
color: var(--ink-muted);
|
|
611
|
+
}
|
|
612
|
+
/* Delete keeps the shell's red hover. Restated here because the rule
|
|
613
|
+
above matches it at the same specificity as the shell's own
|
|
614
|
+
`.btn-icon.btn-danger` hover, and wins by coming later. */
|
|
615
|
+
.row-actions .btn-icon.btn-danger:not(:disabled):hover {
|
|
616
|
+
background: var(--error-soft);
|
|
617
|
+
color: var(--error);
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
/* Where and when, and the size, in one place: both sit in the same
|
|
621
|
+
grid cell and trade opacity, so the line never changes height and
|
|
622
|
+
nothing below it moves. */
|
|
623
|
+
.row-line {
|
|
624
|
+
display: grid;
|
|
625
|
+
margin-top: 2px;
|
|
626
|
+
font-size: 13px;
|
|
627
|
+
}
|
|
628
|
+
.row-line > * {
|
|
629
|
+
grid-area: 1 / 1;
|
|
630
|
+
min-width: 0;
|
|
631
|
+
white-space: nowrap;
|
|
632
|
+
overflow: hidden;
|
|
633
|
+
text-overflow: ellipsis;
|
|
634
|
+
transition: opacity 120ms ease;
|
|
635
|
+
}
|
|
636
|
+
.row-meta { color: var(--ink-muted); }
|
|
637
|
+
.row-size {
|
|
638
|
+
color: var(--ink-muted);
|
|
639
|
+
font-variant-numeric: tabular-nums;
|
|
640
|
+
}
|
|
641
|
+
/* At rest a card is its thumbnail, its name, and where and when. The
|
|
642
|
+
size and the actions come with the pointer, or with focus anywhere
|
|
643
|
+
in the card, so the keyboard reaches them too. Opacity rather than
|
|
644
|
+
visibility or display: they keep their space, so nothing in the
|
|
645
|
+
card moves, and the actions stay in the tab order — a Tab into a
|
|
646
|
+
hidden button is what reveals it. */
|
|
647
|
+
.row-size,
|
|
648
|
+
.row-actions {
|
|
649
|
+
opacity: 0;
|
|
650
|
+
transition: opacity 120ms ease;
|
|
651
|
+
}
|
|
652
|
+
article.card:hover .row-size,
|
|
653
|
+
article.card:hover .row-actions,
|
|
654
|
+
article.card:focus-within .row-size,
|
|
655
|
+
article.card:focus-within .row-actions {
|
|
656
|
+
opacity: 1;
|
|
657
|
+
}
|
|
658
|
+
article.card:hover .row-meta,
|
|
659
|
+
article.card:focus-within .row-meta {
|
|
660
|
+
opacity: 0;
|
|
661
|
+
}
|
|
662
|
+
/* A device with no pointer that hovers — a touchscreen Chromebook —
|
|
663
|
+
never reveals them, and an invisible Delete is still where a tap
|
|
664
|
+
lands. There they stay in view, and the two sentences stack rather
|
|
665
|
+
than share a place, since nothing would ever swap them. */
|
|
666
|
+
@media (hover: none) {
|
|
667
|
+
.row-size,
|
|
668
|
+
.row-actions,
|
|
669
|
+
article.card .row-meta,
|
|
670
|
+
article.card:focus-within .row-meta {
|
|
671
|
+
opacity: 1;
|
|
672
|
+
}
|
|
673
|
+
.row-line > .row-size { grid-area: 2 / 1; }
|
|
674
|
+
.select-box { opacity: 1; }
|
|
675
|
+
}
|
|
676
|
+
article.card [data-status] { margin: 0 12px 12px; }
|
|
677
|
+
/* A video's versions, under its card: the count is the fold, and
|
|
678
|
+
each version a line of its number, when, and its actions. */
|
|
679
|
+
.versions { padding: 0 8px 8px 12px; cursor: default; }
|
|
680
|
+
.versions-count {
|
|
681
|
+
list-style: none;
|
|
682
|
+
cursor: pointer;
|
|
683
|
+
display: flex;
|
|
684
|
+
align-items: center;
|
|
685
|
+
gap: 4px;
|
|
686
|
+
width: fit-content;
|
|
687
|
+
font-size: 12.5px;
|
|
688
|
+
color: var(--ink-muted);
|
|
689
|
+
}
|
|
690
|
+
.versions-count::-webkit-details-marker { display: none; }
|
|
691
|
+
.versions > .versions-count > .chev { width: 14px; height: 14px; }
|
|
692
|
+
.versions-count:hover .chev { color: var(--ink); }
|
|
693
|
+
.versions[open] > .versions-count .chev { transform: rotate(90deg); }
|
|
694
|
+
.versions-list { list-style: none; margin: 6px 0 0; padding: 0; }
|
|
695
|
+
.version-head {
|
|
696
|
+
display: flex;
|
|
697
|
+
align-items: center;
|
|
698
|
+
gap: 8px;
|
|
699
|
+
min-height: 28px;
|
|
700
|
+
font-size: 12.5px;
|
|
701
|
+
}
|
|
702
|
+
.version-number { font-variant-numeric: tabular-nums; }
|
|
703
|
+
.version-when {
|
|
704
|
+
flex: 1;
|
|
705
|
+
min-width: 0;
|
|
706
|
+
color: var(--ink-muted);
|
|
707
|
+
white-space: nowrap;
|
|
708
|
+
overflow: hidden;
|
|
709
|
+
text-overflow: ellipsis;
|
|
710
|
+
}
|
|
711
|
+
/* The commit the version filmed, beside its day. */
|
|
712
|
+
.version-commit { flex: none; color: var(--ink-muted); }
|
|
713
|
+
.version .row-rerun { margin: 0 0 6px; font-size: 12px; color: var(--ink-muted); }
|
|
714
|
+
article.card .version [data-status] { margin: 0 0 6px; }
|
|
715
|
+
.version-exports { list-style: none; margin: 0 0 6px; padding: 0; }
|
|
716
|
+
.version-exports li {
|
|
717
|
+
display: flex;
|
|
718
|
+
gap: 8px;
|
|
719
|
+
font-size: 12px;
|
|
720
|
+
color: var(--ink-muted);
|
|
721
|
+
}
|
|
722
|
+
.version-exports .export-name {
|
|
723
|
+
flex: 1;
|
|
724
|
+
min-width: 0;
|
|
725
|
+
white-space: nowrap;
|
|
726
|
+
overflow: hidden;
|
|
727
|
+
text-overflow: ellipsis;
|
|
728
|
+
}
|
|
729
|
+
.version-exports [data-gone] .export-name { text-decoration: line-through; }
|
|
730
|
+
/* A folder the studio could not read is a row of words, not a take:
|
|
731
|
+
its name, the reason and the size are what it says, so none of
|
|
732
|
+
them trades places with the others at rest or under the pointer
|
|
733
|
+
(the take card's swap above hid the size at rest and the name and
|
|
734
|
+
reason while reaching for Delete). The reason names whole paths,
|
|
735
|
+
which have nowhere to break, so it may break anywhere rather than
|
|
736
|
+
run past the card. */
|
|
737
|
+
article.card[data-unreadable-row]:is(*, :hover, :focus-within)
|
|
738
|
+
:is(.row-meta, .row-size) {
|
|
739
|
+
opacity: 1;
|
|
740
|
+
}
|
|
741
|
+
article.card[data-unreadable-row] [data-reason] { overflow-wrap: anywhere; }
|
|
742
|
+
|
|
743
|
+
/* The list view (list spec §2.1, §4.7): a treegrid whose rows are
|
|
744
|
+
subgrids of one column template, so a column lines up down the
|
|
745
|
+
list whatever its cells hold. Narrow lists drop columns rather
|
|
746
|
+
than scroll sideways — Size, then Length, then Videos — and Where,
|
|
747
|
+
the one track with no floor, truncates before any of them goes.
|
|
748
|
+
The widths are the list's own (a container), not the window's:
|
|
749
|
+
the side column comes and goes at 1024px. */
|
|
750
|
+
.library-content { container: library / inline-size; }
|
|
751
|
+
/* The tab row: In repo · Not in repo · All at the left, List or
|
|
752
|
+
Grid at the right, even when the tabs are hidden. */
|
|
753
|
+
.tabs-row {
|
|
754
|
+
display: flex;
|
|
755
|
+
flex-wrap: wrap;
|
|
756
|
+
align-items: center;
|
|
757
|
+
gap: 12px;
|
|
758
|
+
margin-bottom: 8px;
|
|
759
|
+
}
|
|
760
|
+
/* The tabs keep one line: under a 600px list the box folds (below)
|
|
761
|
+
rather than push them onto two. */
|
|
762
|
+
.place-tabs { display: flex; gap: 4px; }
|
|
763
|
+
.layout-toggle {
|
|
764
|
+
display: flex;
|
|
765
|
+
justify-content: flex-end;
|
|
766
|
+
gap: 2px;
|
|
767
|
+
margin-left: auto;
|
|
768
|
+
}
|
|
769
|
+
/* Above the studio stylesheet's transparent `.btn-quiet.btn-icon`. */
|
|
770
|
+
.layout-toggle .btn.btn-icon[aria-pressed="true"] {
|
|
771
|
+
background: var(--control-hover);
|
|
772
|
+
color: var(--ink);
|
|
773
|
+
}
|
|
774
|
+
/* The search box, right of the tabs and before the toggle: the
|
|
775
|
+
system's field, its glyph inside the left edge and the `/` hint
|
|
776
|
+
inside the right (the Studio sheet pads the text clear of both).
|
|
777
|
+
Under a 600px list it folds to its glyph (below). */
|
|
778
|
+
.search-field {
|
|
779
|
+
position: relative;
|
|
780
|
+
display: flex;
|
|
781
|
+
align-items: center;
|
|
782
|
+
flex: 0 1 260px;
|
|
783
|
+
min-width: 180px;
|
|
784
|
+
margin-left: auto;
|
|
785
|
+
}
|
|
786
|
+
.search-field:not([hidden]) + .layout-toggle { margin-left: 0; }
|
|
787
|
+
.search-field > input { width: 100%; }
|
|
788
|
+
.search-field > :is(svg, kbd) {
|
|
789
|
+
position: absolute;
|
|
790
|
+
pointer-events: none;
|
|
791
|
+
color: var(--ink-faint);
|
|
792
|
+
}
|
|
793
|
+
.search-field > svg { left: 10px; width: 14px; height: 14px; }
|
|
794
|
+
.search-field > kbd {
|
|
795
|
+
right: 8px;
|
|
796
|
+
min-width: 18px;
|
|
797
|
+
padding: 0 4px;
|
|
798
|
+
border-radius: 4px;
|
|
799
|
+
box-shadow: inset 0 0 0 1px var(--line-2);
|
|
800
|
+
font-family: inherit;
|
|
801
|
+
font-size: 11px;
|
|
802
|
+
line-height: 18px;
|
|
803
|
+
text-align: center;
|
|
804
|
+
}
|
|
805
|
+
.search-field:focus-within > kbd { display: none; }
|
|
806
|
+
/* Under a 600px list, where the box would wrap under the tabs: empty
|
|
807
|
+
and unfocused it is its glyph alone, a pill's height square, still
|
|
808
|
+
the input (a press focuses it); focused it opens across the row
|
|
809
|
+
over the tabs, up to the toggle; holding a query it keeps the room
|
|
810
|
+
between the tabs and the toggle, so the query is always in view.
|
|
811
|
+
The Studio sheet takes the input's padding (as specific as its
|
|
812
|
+
own). The `/` hint goes: there is no room for it. */
|
|
813
|
+
@container library (max-width: 599px) {
|
|
814
|
+
.tabs-row { position: relative; flex-wrap: nowrap; }
|
|
815
|
+
.place-tabs .btn { white-space: nowrap; }
|
|
816
|
+
.search-field { flex: 1 1 0; min-width: 32px; margin-left: 0; }
|
|
817
|
+
.search-field > kbd { display: none; }
|
|
818
|
+
/* The toggle keeps the row's end, the box in the row or over it;
|
|
819
|
+
folded, the glyph stands beside it (the approved mockup). */
|
|
820
|
+
.search-field:not([hidden]) + .layout-toggle { margin-left: auto; }
|
|
821
|
+
.search-field:not(:focus-within):has(> input:placeholder-shown) {
|
|
822
|
+
flex: 0 0 32px;
|
|
823
|
+
margin-left: auto;
|
|
824
|
+
}
|
|
825
|
+
.search-field:not(:focus-within):has(> input:placeholder-shown) + .layout-toggle {
|
|
826
|
+
margin-left: 0;
|
|
827
|
+
}
|
|
828
|
+
.search-field:not(:focus-within) > input:placeholder-shown {
|
|
829
|
+
cursor: pointer;
|
|
830
|
+
}
|
|
831
|
+
.search-field:not(:focus-within) > input::placeholder { color: transparent; }
|
|
832
|
+
/* Open over the row, up to the toggle: its two 32px buttons and
|
|
833
|
+
their 2px (shell.css `.btn-icon`, `.layout-toggle` above) and
|
|
834
|
+
the row's 12px gap. With no toggle, to the row's end. */
|
|
835
|
+
.search-field:focus-within {
|
|
836
|
+
position: absolute;
|
|
837
|
+
top: 0;
|
|
838
|
+
left: 0;
|
|
839
|
+
right: calc(66px + 12px);
|
|
840
|
+
z-index: 2;
|
|
841
|
+
}
|
|
842
|
+
.search-field:focus-within:has(+ .layout-toggle[hidden]) { right: 0; }
|
|
843
|
+
}
|
|
844
|
+
/* A phone's list: tighter tabs (the Studio sheet's padding), the
|
|
845
|
+
toggle's one button the layout not shown, and no room beside the
|
|
846
|
+
tabs, so a held query keeps the box open over them until cleared.
|
|
847
|
+
At 480 the box beside the tabs is about 112px, its query 72; at
|
|
848
|
+
440 it was 32, too little to read "invite" whole. */
|
|
849
|
+
@container library (max-width: 479px) {
|
|
850
|
+
.tabs-row { gap: 8px; }
|
|
851
|
+
/* Three-digit counts do not fit a phone's row: the tabs scroll
|
|
852
|
+
sideways inside their strip, with no scrollbar, rather than push
|
|
853
|
+
the toggle past the list's end; view.ts keeps the pressed one in
|
|
854
|
+
view. The 4px of padding, given back by the margin, is room for
|
|
855
|
+
a tab's focus ring, which the strip's clip would cut. */
|
|
856
|
+
.place-tabs {
|
|
857
|
+
gap: 2px;
|
|
858
|
+
min-width: 0;
|
|
859
|
+
margin: -4px;
|
|
860
|
+
padding: 4px;
|
|
861
|
+
overflow-x: auto;
|
|
862
|
+
scrollbar-width: none;
|
|
863
|
+
}
|
|
864
|
+
.layout-toggle .btn[aria-pressed="true"] { display: none; }
|
|
865
|
+
/* Open over the tabs, up to the toggle's one 32px button and the
|
|
866
|
+
row's 8px gap. With no toggle, to the row's end. */
|
|
867
|
+
.search-field:is(:focus-within, :not(:has(> input:placeholder-shown))) {
|
|
868
|
+
position: absolute;
|
|
869
|
+
top: 0;
|
|
870
|
+
left: 0;
|
|
871
|
+
right: calc(32px + 8px);
|
|
872
|
+
z-index: 2;
|
|
873
|
+
}
|
|
874
|
+
.search-field:is(:focus-within, :not(:has(> input:placeholder-shown))):has(
|
|
875
|
+
+ .layout-toggle[hidden]
|
|
876
|
+
) {
|
|
877
|
+
right: 0;
|
|
878
|
+
}
|
|
879
|
+
/* While a tab holds the keys, a held box steps aside to its glyph
|
|
880
|
+
beside the toggle, so the focused tab is not under it; it is
|
|
881
|
+
still the input, the next Tab stop. The Studio sheet hides its
|
|
882
|
+
text while it is folded so. */
|
|
883
|
+
.tabs-row:has(> .place-tabs:focus-within) > .search-field:not(:focus-within) {
|
|
884
|
+
position: relative;
|
|
885
|
+
flex: 0 0 32px;
|
|
886
|
+
margin-left: auto;
|
|
887
|
+
}
|
|
888
|
+
.tabs-row:has(> .place-tabs:focus-within) > .search-field:not(:focus-within) + .layout-toggle {
|
|
889
|
+
margin-left: 0;
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
/* Why a search found a flow: dim, after the name or in Where's
|
|
893
|
+
place, cut before the name is. */
|
|
894
|
+
.match-why {
|
|
895
|
+
min-width: 0;
|
|
896
|
+
overflow: hidden;
|
|
897
|
+
text-overflow: ellipsis;
|
|
898
|
+
white-space: nowrap;
|
|
899
|
+
color: var(--ink-faint);
|
|
900
|
+
}
|
|
901
|
+
/* The why keeps its width and the name gives way, down to a floor
|
|
902
|
+
of 35% of the cell: 56px of name at the narrowest (160px), where
|
|
903
|
+
40% cut a five-letter matched word (the name's rule is with the
|
|
904
|
+
name's, below). A longer why is cut after the floor, its 12px and
|
|
905
|
+
the gap of 8, and starts at the matched word (`whyOf`). */
|
|
906
|
+
.library-list [data-col="name"] > .match-why {
|
|
907
|
+
flex: none;
|
|
908
|
+
max-width: calc(65% - 20px);
|
|
909
|
+
margin-left: 12px;
|
|
910
|
+
}
|
|
911
|
+
/* Wide, the why follows the name; the copy in Where waits. */
|
|
912
|
+
.library-list [data-col="where"] > .match-why { display: none; }
|
|
913
|
+
/* Chrome's own clear button: Esc clears, and the box adds nothing. */
|
|
914
|
+
.search-field > input::-webkit-search-cancel-button {
|
|
915
|
+
-webkit-appearance: none;
|
|
916
|
+
appearance: none;
|
|
917
|
+
display: none;
|
|
918
|
+
}
|
|
919
|
+
.none-here { margin: 28px 0 0; color: var(--ink-muted); }
|
|
920
|
+
/* A search's cards: one run, spaced from the tabs as a section's are. */
|
|
921
|
+
.rows[data-results] { margin-top: 14px; }
|
|
922
|
+
:is(.library-list, .unreadable-list) {
|
|
923
|
+
--list-row: 34px;
|
|
924
|
+
/* Wide enough for a video row's "Sep 26, 11:00 AM": as content
|
|
925
|
+
width, opening a flow widened it and moved every column left. */
|
|
926
|
+
--recorded: 9em;
|
|
927
|
+
--gap: 24px;
|
|
928
|
+
display: grid;
|
|
929
|
+
/* Select, open, Name, Where, Videos, Length, Size, Recorded: the
|
|
930
|
+
numbers together and the date at the row's end. The actions
|
|
931
|
+
hold no track; they float over the row's end (below). */
|
|
932
|
+
grid-template-columns:
|
|
933
|
+
28px 20px minmax(160px, 3fr) minmax(0, 2fr)
|
|
934
|
+
56px 64px 72px var(--recorded);
|
|
935
|
+
column-gap: var(--gap);
|
|
936
|
+
font-size: 13px;
|
|
937
|
+
font-variant-numeric: tabular-nums;
|
|
938
|
+
}
|
|
939
|
+
.library-list > [role="row"] {
|
|
940
|
+
display: grid;
|
|
941
|
+
grid-column: 1 / -1;
|
|
942
|
+
grid-template-columns: subgrid;
|
|
943
|
+
/* The hairline is the row's last pixel: 34 in all. */
|
|
944
|
+
grid-template-rows: calc(var(--list-row) - 1px);
|
|
945
|
+
border-bottom: 1px solid var(--ring);
|
|
946
|
+
/* Clear of the sticky head when the keys scroll a row into view. */
|
|
947
|
+
scroll-margin-top: var(--list-row);
|
|
948
|
+
/* What the actions float over. */
|
|
949
|
+
position: relative;
|
|
950
|
+
/* A Shift-click selects flows, not the text between them. */
|
|
951
|
+
user-select: none;
|
|
952
|
+
}
|
|
953
|
+
.library-list :is([data-name-text], [data-status]) { user-select: text; }
|
|
954
|
+
/* Under the top bar, held while the list scrolls; opaque, so a row
|
|
955
|
+
never shows through it. */
|
|
956
|
+
.library-list > [data-list-head] {
|
|
957
|
+
position: sticky;
|
|
958
|
+
top: 0;
|
|
959
|
+
z-index: 1;
|
|
960
|
+
background: var(--shell);
|
|
961
|
+
color: var(--ink-faint);
|
|
962
|
+
font-size: 12px;
|
|
963
|
+
font-weight: 500;
|
|
964
|
+
}
|
|
965
|
+
/* While flows are ticked the selection bar holds the top (from its
|
|
966
|
+
own 12px, `.selection-bar`), and the head stands beneath it;
|
|
967
|
+
`--selection-bar` is the bar's height, measured by view.ts. */
|
|
968
|
+
[data-selecting] .library-list > [data-list-head] {
|
|
969
|
+
top: calc(12px + var(--selection-bar, 0px));
|
|
970
|
+
}
|
|
971
|
+
[data-selecting] .library-list > [role="row"] {
|
|
972
|
+
scroll-margin-top: calc(12px + var(--selection-bar, 0px) + var(--list-row));
|
|
973
|
+
}
|
|
974
|
+
.library-list [data-list-head] [data-sort] {
|
|
975
|
+
padding: 0;
|
|
976
|
+
background: none;
|
|
977
|
+
color: inherit;
|
|
978
|
+
font: inherit;
|
|
979
|
+
cursor: pointer;
|
|
980
|
+
display: inline-flex;
|
|
981
|
+
align-items: center;
|
|
982
|
+
gap: 2px;
|
|
983
|
+
}
|
|
984
|
+
/* Hover lifts a heading a step, short of the sorted one's ink, so a
|
|
985
|
+
pointer over it never reads as a sort (DEM-32). */
|
|
986
|
+
.library-list [data-list-head] [data-sort]:hover { color: var(--ink-muted); }
|
|
987
|
+
.library-list [data-list-head] [aria-sort],
|
|
988
|
+
.library-list [data-list-head] [aria-sort] [data-sort] { color: var(--ink); }
|
|
989
|
+
.library-list [data-list-head] [data-sort] svg { width: 12px; height: 12px; }
|
|
990
|
+
.library-list [data-list-head] [aria-sort="ascending"] [data-sort] svg {
|
|
991
|
+
transform: rotate(180deg);
|
|
992
|
+
}
|
|
993
|
+
.library-list :is([role="gridcell"], [role="columnheader"]) {
|
|
994
|
+
min-width: 0;
|
|
995
|
+
line-height: calc(var(--list-row) - 1px);
|
|
996
|
+
white-space: nowrap;
|
|
997
|
+
overflow: hidden;
|
|
998
|
+
text-overflow: ellipsis;
|
|
999
|
+
}
|
|
1000
|
+
.library-list [role="gridcell"]:focus-visible { outline-offset: -2px; }
|
|
1001
|
+
.library-list :is([data-col="videos"], [data-col="length"], [data-col="size"]) {
|
|
1002
|
+
text-align: right;
|
|
1003
|
+
}
|
|
1004
|
+
.library-list :is([data-col="select"], [data-col="open"], [data-col="name"], [data-col="actions"]) {
|
|
1005
|
+
display: flex;
|
|
1006
|
+
align-items: center;
|
|
1007
|
+
gap: 8px;
|
|
1008
|
+
}
|
|
1009
|
+
.library-list [data-col="select"] { justify-content: center; }
|
|
1010
|
+
/* The actions hold no track: they float over the row's end, so the
|
|
1011
|
+
width they held goes to Name and Where, and nothing moves when
|
|
1012
|
+
they show. Still a cell, last in the row's keys. The empty ones
|
|
1013
|
+
(the head's, a heading's) keep a box for the keyboard's outline. */
|
|
1014
|
+
:is(.library-list, .unreadable-list) [data-col="actions"] {
|
|
1015
|
+
position: absolute;
|
|
1016
|
+
top: 0;
|
|
1017
|
+
right: 0;
|
|
1018
|
+
height: calc(var(--list-row) - 1px);
|
|
1019
|
+
min-width: 28px;
|
|
1020
|
+
justify-content: flex-end;
|
|
1021
|
+
/* A focused button's ring stands 2px outside it, past the row's
|
|
1022
|
+
end; the cells' clipping would cut it. */
|
|
1023
|
+
overflow: visible;
|
|
1024
|
+
}
|
|
1025
|
+
/* While flows are ticked, the flow and video rows' actions step aside
|
|
1026
|
+
as the cards' do, by visibility: they keep their cell, so nothing
|
|
1027
|
+
moves (list spec §2.1, §4.2), and the pointer's reveal below is
|
|
1028
|
+
opacity only, so it cannot bring them back. */
|
|
1029
|
+
[data-selecting] .library-list :is([data-flow], [data-video-row]) > [data-col="actions"] {
|
|
1030
|
+
visibility: hidden;
|
|
1031
|
+
}
|
|
1032
|
+
/* The name keeps its width while a tag beside it is clipped, and
|
|
1033
|
+
only a name wider than the cell is cut, at the cell's edge. */
|
|
1034
|
+
.library-list [data-name-text] {
|
|
1035
|
+
flex: none;
|
|
1036
|
+
max-width: 100%;
|
|
1037
|
+
overflow: hidden;
|
|
1038
|
+
text-overflow: ellipsis;
|
|
1039
|
+
}
|
|
1040
|
+
/* But a name as wide as its cell leaves its tag the glyph: a worded
|
|
1041
|
+
tag's padding and icon, the glyph-only tag's square, and the gap
|
|
1042
|
+
(DEM-34). */
|
|
1043
|
+
.library-list [data-col="name"]:has(> .row-tags) > [data-name-text] {
|
|
1044
|
+
max-width: calc(100% - 20px - 8px);
|
|
1045
|
+
}
|
|
1046
|
+
/* Beside a search's why, the name is what gives way. */
|
|
1047
|
+
.library-list [data-col="name"]:has(> .match-why) > [data-name-text] {
|
|
1048
|
+
flex: 0 1 auto;
|
|
1049
|
+
min-width: 0;
|
|
1050
|
+
}
|
|
1051
|
+
.library-list [data-video-row] [data-col="name"] { padding-left: 16px; }
|
|
1052
|
+
.library-list .row-tags {
|
|
1053
|
+
position: static;
|
|
1054
|
+
flex: 0 1 auto;
|
|
1055
|
+
flex-wrap: nowrap;
|
|
1056
|
+
min-width: 0;
|
|
1057
|
+
overflow: hidden;
|
|
1058
|
+
}
|
|
1059
|
+
/* A date heading is a section label, as the cards' are, not a row:
|
|
1060
|
+
from the list's left edge, its chevron, label and count, then a
|
|
1061
|
+
rule to the end; room above it and no hairline under it. Its cells
|
|
1062
|
+
stay in their columns for the keys; the label's cell spans them. */
|
|
1063
|
+
.library-list > [data-heading] {
|
|
1064
|
+
padding-top: 14px;
|
|
1065
|
+
border-bottom-color: transparent;
|
|
1066
|
+
color: var(--ink-faint);
|
|
1067
|
+
}
|
|
1068
|
+
/* Placed, every one: the label's cell spans the row, so a cell left
|
|
1069
|
+
to auto-placement would find no room on it. Videos, Length and
|
|
1070
|
+
Size keep their tracks while drawn; Recorded is always the last. */
|
|
1071
|
+
.library-list > [data-heading] > [role="gridcell"] { grid-row: 1; }
|
|
1072
|
+
/* Positioned, so the box is over the label's cell that spans it, and
|
|
1073
|
+
still under the sticky head (z 1) as rows scroll. */
|
|
1074
|
+
.library-list > [data-heading] > [data-col="select"] {
|
|
1075
|
+
grid-column: 1;
|
|
1076
|
+
position: relative;
|
|
1077
|
+
}
|
|
1078
|
+
.library-list > [data-heading] > [data-col="open"] { grid-column: 2; }
|
|
1079
|
+
.library-list > [data-heading] > [data-col="name"] {
|
|
1080
|
+
grid-column: 1 / -1;
|
|
1081
|
+
/* Past the box and the chevron. */
|
|
1082
|
+
padding-left: calc(28px + 20px + var(--gap));
|
|
1083
|
+
}
|
|
1084
|
+
.library-list > [data-heading] > [data-col="where"] { grid-column: 4; }
|
|
1085
|
+
.library-list > [data-heading] > [data-col="videos"] { grid-column: 5; }
|
|
1086
|
+
.library-list > [data-heading] > [data-col="length"] { grid-column: 6; }
|
|
1087
|
+
.library-list > [data-heading] > [data-col="size"] { grid-column: 7; }
|
|
1088
|
+
.library-list > [data-heading] > [data-col="recorded"] { grid-column: -2; }
|
|
1089
|
+
.library-list > [data-heading] > [data-col="name"]::after {
|
|
1090
|
+
content: "";
|
|
1091
|
+
flex: 1;
|
|
1092
|
+
height: 1px;
|
|
1093
|
+
background: var(--ring);
|
|
1094
|
+
}
|
|
1095
|
+
.library-list > [data-heading] .chev {
|
|
1096
|
+
width: 12px;
|
|
1097
|
+
height: 12px;
|
|
1098
|
+
}
|
|
1099
|
+
/* The UI sans: the studio's card count is mono. */
|
|
1100
|
+
.library-list > [data-heading] :is([data-name-text], .section-count) {
|
|
1101
|
+
font-family: inherit;
|
|
1102
|
+
font-size: 12px;
|
|
1103
|
+
font-weight: 600;
|
|
1104
|
+
}
|
|
1105
|
+
.library-list > [data-heading] .section-count {
|
|
1106
|
+
font-weight: 500;
|
|
1107
|
+
color: var(--ink-4, var(--ink-faint));
|
|
1108
|
+
}
|
|
1109
|
+
/* "Couldn't read" under the list: the date headings' label, with no
|
|
1110
|
+
chevron (it does not fold) — their room above, their line, their
|
|
1111
|
+
sans. The Studio's sheet gives the cards' headings it too (DEM-30). */
|
|
1112
|
+
.library-list ~ [data-unreadable] { margin-top: 0; }
|
|
1113
|
+
.library-list ~ [data-unreadable] > .section-head {
|
|
1114
|
+
/* A date heading row: 14px above a 34px line. */
|
|
1115
|
+
height: 48px;
|
|
1116
|
+
padding: 14px 0 1px;
|
|
1117
|
+
gap: 8px;
|
|
1118
|
+
}
|
|
1119
|
+
.library-list ~ [data-unreadable] > .section-head :is(h2, .section-count) {
|
|
1120
|
+
font-family: inherit;
|
|
1121
|
+
font-size: 12px;
|
|
1122
|
+
font-weight: 600;
|
|
1123
|
+
line-height: normal;
|
|
1124
|
+
letter-spacing: normal;
|
|
1125
|
+
text-transform: none;
|
|
1126
|
+
color: var(--ink-faint);
|
|
1127
|
+
}
|
|
1128
|
+
.library-list ~ [data-unreadable] > .section-head .section-count {
|
|
1129
|
+
font-weight: 500;
|
|
1130
|
+
color: var(--ink-4, var(--ink-faint));
|
|
1131
|
+
}
|
|
1132
|
+
/* The video's exports as small labels; a file gone is struck. */
|
|
1133
|
+
.library-list .version-exports {
|
|
1134
|
+
display: flex;
|
|
1135
|
+
align-items: center;
|
|
1136
|
+
gap: 4px;
|
|
1137
|
+
height: 100%;
|
|
1138
|
+
margin: 0;
|
|
1139
|
+
}
|
|
1140
|
+
.library-list .version-exports .export-name { display: none; }
|
|
1141
|
+
.library-list .version-exports .export-type {
|
|
1142
|
+
padding: 1px 6px;
|
|
1143
|
+
border-radius: var(--radius);
|
|
1144
|
+
background: var(--control);
|
|
1145
|
+
font-size: 11px;
|
|
1146
|
+
line-height: 1.4;
|
|
1147
|
+
}
|
|
1148
|
+
.library-list .version-exports [data-gone] .export-type {
|
|
1149
|
+
text-decoration: line-through;
|
|
1150
|
+
}
|
|
1151
|
+
/* The row's line: under its cells, from the name column on. */
|
|
1152
|
+
.library-list > [role="row"] > [data-status] {
|
|
1153
|
+
grid-column: 3 / -1;
|
|
1154
|
+
display: grid;
|
|
1155
|
+
gap: 4px;
|
|
1156
|
+
padding-bottom: 8px;
|
|
1157
|
+
white-space: normal;
|
|
1158
|
+
}
|
|
1159
|
+
.library-list [data-status] > p { margin: 0; }
|
|
1160
|
+
.library-list .row-rerun { font-size: 12px; color: var(--ink-muted); }
|
|
1161
|
+
/* Video rows on a raised ground; hover and keyboard focus share one
|
|
1162
|
+
background, and the keyboard's row adds its inset edge. */
|
|
1163
|
+
.library-list > [data-video-row] { background: var(--control); }
|
|
1164
|
+
.library-list > [data-key]:not([data-heading]):is(:hover, :focus-visible, :has(:focus-visible)) {
|
|
1165
|
+
background: var(--control-hover);
|
|
1166
|
+
}
|
|
1167
|
+
.library-list > [data-key]:focus-visible {
|
|
1168
|
+
outline: none;
|
|
1169
|
+
box-shadow: inset 2px 0 0 var(--focus);
|
|
1170
|
+
}
|
|
1171
|
+
/* The actions keep their cell at rest and only fade, so nothing
|
|
1172
|
+
moves and the keys still reach them; the selecting rule's
|
|
1173
|
+
`visibility` above outranks this. Over the row's end they cover
|
|
1174
|
+
the value under them on the hovered row's own ground (the hover
|
|
1175
|
+
over the page's), faded in from clear across the gap before
|
|
1176
|
+
Recorded, so the date is hidden whole, never half; unseen, they
|
|
1177
|
+
let the pointer through to that value. */
|
|
1178
|
+
.library-list [data-col="actions"],
|
|
1179
|
+
.library-list .row-actions {
|
|
1180
|
+
pointer-events: none;
|
|
1181
|
+
}
|
|
1182
|
+
.library-list .row-actions {
|
|
1183
|
+
opacity: 0;
|
|
1184
|
+
height: 100%;
|
|
1185
|
+
min-width: calc(var(--recorded) + var(--gap));
|
|
1186
|
+
justify-content: flex-end;
|
|
1187
|
+
padding-left: var(--gap);
|
|
1188
|
+
background:
|
|
1189
|
+
linear-gradient(90deg, transparent, var(--control-hover) var(--gap)),
|
|
1190
|
+
linear-gradient(90deg, transparent, var(--shell) var(--gap));
|
|
1191
|
+
}
|
|
1192
|
+
.library-list > [data-key]:is(:hover, :focus-visible, :has(:focus-visible)) .row-actions {
|
|
1193
|
+
opacity: 1;
|
|
1194
|
+
pointer-events: auto;
|
|
1195
|
+
}
|
|
1196
|
+
/* The keys on Recorded itself: the cover would hide the cell and
|
|
1197
|
+
its ring, so neither shows. */
|
|
1198
|
+
.library-list > [data-key]:has(> [data-col="recorded"]:focus-visible) .row-actions {
|
|
1199
|
+
opacity: 0;
|
|
1200
|
+
pointer-events: none;
|
|
1201
|
+
}
|
|
1202
|
+
/* Where nothing hovers (a touchscreen) they would show always, and
|
|
1203
|
+
over Recorded they covered the date (2026-11-03): there they fold
|
|
1204
|
+
into a menu behind a ⋯ (list.ts `rowMenu`), which takes the end of
|
|
1205
|
+
a Recorded track grown by its width. */
|
|
1206
|
+
.library-list .row-more { display: none; }
|
|
1207
|
+
@media (hover: none) {
|
|
1208
|
+
.library-list .row-actions { display: none; }
|
|
1209
|
+
.library-list .row-more {
|
|
1210
|
+
display: inline-flex;
|
|
1211
|
+
pointer-events: auto;
|
|
1212
|
+
}
|
|
1213
|
+
:is(.library-list, .unreadable-list) { --recorded: calc(9em + 32px); }
|
|
1214
|
+
.library-list > [role="row"] > [data-col="recorded"] { padding-right: 32px; }
|
|
1215
|
+
}
|
|
1216
|
+
/* Under its ⋯, the end aligned, or above it when the screen ends. */
|
|
1217
|
+
.row-menu {
|
|
1218
|
+
inset: auto;
|
|
1219
|
+
margin: 4px 0;
|
|
1220
|
+
position-area: bottom span-left;
|
|
1221
|
+
position-try-fallbacks: flip-block;
|
|
1222
|
+
min-width: 176px;
|
|
1223
|
+
padding: 4px;
|
|
1224
|
+
border: 0;
|
|
1225
|
+
border-radius: 10px;
|
|
1226
|
+
background: var(--shell);
|
|
1227
|
+
color: var(--ink);
|
|
1228
|
+
box-shadow: 0 0 0 1px var(--line-2), 0 12px 32px rgb(0 0 0 / 0.5);
|
|
1229
|
+
line-height: normal;
|
|
1230
|
+
pointer-events: auto;
|
|
1231
|
+
}
|
|
1232
|
+
.row-menu > button {
|
|
1233
|
+
display: flex;
|
|
1234
|
+
align-items: center;
|
|
1235
|
+
gap: 10px;
|
|
1236
|
+
width: 100%;
|
|
1237
|
+
height: 40px;
|
|
1238
|
+
padding: 0 12px;
|
|
1239
|
+
border: 0;
|
|
1240
|
+
border-radius: 6px;
|
|
1241
|
+
background: none;
|
|
1242
|
+
color: inherit;
|
|
1243
|
+
font: inherit;
|
|
1244
|
+
font-size: 14px;
|
|
1245
|
+
text-align: left;
|
|
1246
|
+
}
|
|
1247
|
+
.row-menu > button:is(:hover, :active, :focus-visible) { background: var(--control-hover); }
|
|
1248
|
+
.row-menu > button.btn-danger { color: var(--error); }
|
|
1249
|
+
.row-menu > button:is(:disabled, [aria-disabled="true"]) { color: var(--ink-faint); }
|
|
1250
|
+
.row-menu svg { width: 16px; height: 16px; flex: none; }
|
|
1251
|
+
/* A finger's row (2026-11-03): 44px, the least a tap target should
|
|
1252
|
+
be, where the pointer is coarse; a mouse keeps the dense 34. */
|
|
1253
|
+
@media (pointer: coarse) {
|
|
1254
|
+
:is(.library-list, .unreadable-list) { --list-row: 44px; }
|
|
1255
|
+
}
|
|
1256
|
+
.library-list > [aria-expanded="true"] .chev { transform: rotate(90deg); }
|
|
1257
|
+
/* An opening flow's videos fade in; no height animation. */
|
|
1258
|
+
.library-list > [data-video-row] { transition: opacity 120ms ease; }
|
|
1259
|
+
@starting-style {
|
|
1260
|
+
.library-list > [data-video-row][data-opening] { opacity: 0; }
|
|
1261
|
+
}
|
|
1262
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1263
|
+
.library-list > [data-video-row],
|
|
1264
|
+
.library-list [data-col="open"] .chev,
|
|
1265
|
+
.library-list .row-actions { transition: none; }
|
|
1266
|
+
}
|
|
1267
|
+
/* Under a 760px list the box holds no track and the gaps narrow, so
|
|
1268
|
+
the chevron starts at the list's left edge (the tab row's) and the
|
|
1269
|
+
name follows it closely: 96px of a 560px list was all box, chevron
|
|
1270
|
+
and gaps, and the rows read shifted right of the tab row. The box
|
|
1271
|
+
hangs in the margin left of the chevron, the width its track had,
|
|
1272
|
+
and shows by the same rules; the placements below are the wide
|
|
1273
|
+
ones a track to the left. */
|
|
1274
|
+
@container library (max-width: 759px) {
|
|
1275
|
+
:is(.library-list, .unreadable-list) {
|
|
1276
|
+
--gap: 12px;
|
|
1277
|
+
grid-template-columns:
|
|
1278
|
+
20px minmax(140px, 3fr) minmax(0, 2fr)
|
|
1279
|
+
56px 64px var(--recorded);
|
|
1280
|
+
}
|
|
1281
|
+
.library-list > [role="row"] > [data-col="select"] {
|
|
1282
|
+
position: absolute;
|
|
1283
|
+
top: 0;
|
|
1284
|
+
right: 100%;
|
|
1285
|
+
width: 28px;
|
|
1286
|
+
height: calc(var(--list-row) - 1px);
|
|
1287
|
+
}
|
|
1288
|
+
/* The sticky head and the selection bar stand over the rows as
|
|
1289
|
+
they scroll, so they cover the margin the boxes hang in too, or a
|
|
1290
|
+
column of boxes slides past them: the bar from 12px above it,
|
|
1291
|
+
its sticky top. */
|
|
1292
|
+
.library-list > [data-list-head] > [data-col="select"] {
|
|
1293
|
+
height: var(--list-row);
|
|
1294
|
+
background: var(--shell);
|
|
1295
|
+
}
|
|
1296
|
+
.selection-bar::before {
|
|
1297
|
+
content: "";
|
|
1298
|
+
position: absolute;
|
|
1299
|
+
top: -12px;
|
|
1300
|
+
bottom: 0;
|
|
1301
|
+
right: 100%;
|
|
1302
|
+
width: 28px;
|
|
1303
|
+
background: var(--shell);
|
|
1304
|
+
}
|
|
1305
|
+
.library-list > [data-heading] > [data-col="open"] { grid-column: 1; }
|
|
1306
|
+
.library-list > [data-heading] > [data-col="name"] {
|
|
1307
|
+
padding-left: calc(20px + var(--gap));
|
|
1308
|
+
}
|
|
1309
|
+
.library-list > [data-heading] > [data-col="where"] { grid-column: 3; }
|
|
1310
|
+
.library-list > [data-heading] > [data-col="videos"] { grid-column: 4; }
|
|
1311
|
+
.library-list > [data-heading] > [data-col="length"] { grid-column: 5; }
|
|
1312
|
+
.library-list > [role="row"] > [data-status] { grid-column: 2 / -1; }
|
|
1313
|
+
:is(.library-list, .unreadable-list) [data-col="size"] { display: none; }
|
|
1314
|
+
}
|
|
1315
|
+
/* Where the name column narrows, the why takes Where's place, as on
|
|
1316
|
+
a card, and runs on to Recorded over Videos and Length, as the
|
|
1317
|
+
unreadable rows' reason does: in the name cell it was cut to "st…". */
|
|
1318
|
+
@container library (max-width: 759px) {
|
|
1319
|
+
.library-list [data-col="name"] > .match-why,
|
|
1320
|
+
.library-list [data-col="where"] > [data-where-text]:has(+ .match-why) {
|
|
1321
|
+
display: none;
|
|
1322
|
+
}
|
|
1323
|
+
.library-list [data-col="where"] > .match-why { display: inline; }
|
|
1324
|
+
.library-list > [role="row"]:has(> [data-col="where"] > .match-why) > [data-col="where"] {
|
|
1325
|
+
grid-column: 3 / -2;
|
|
1326
|
+
}
|
|
1327
|
+
.library-list
|
|
1328
|
+
> [role="row"]:has(> [data-col="where"] > .match-why)
|
|
1329
|
+
> :is([data-col="videos"], [data-col="length"]) {
|
|
1330
|
+
display: none;
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
@container library (max-width: 639px) {
|
|
1334
|
+
:is(.library-list, .unreadable-list) {
|
|
1335
|
+
grid-template-columns:
|
|
1336
|
+
20px minmax(120px, 3fr) minmax(0, 2fr)
|
|
1337
|
+
56px var(--recorded);
|
|
1338
|
+
}
|
|
1339
|
+
.library-list [data-col="length"] { display: none; }
|
|
1340
|
+
}
|
|
1341
|
+
@container library (max-width: 559px) {
|
|
1342
|
+
:is(.library-list, .unreadable-list) {
|
|
1343
|
+
grid-template-columns:
|
|
1344
|
+
20px minmax(120px, 3fr) minmax(0, 2fr)
|
|
1345
|
+
var(--recorded);
|
|
1346
|
+
}
|
|
1347
|
+
.library-list [data-col="videos"] { display: none; }
|
|
1348
|
+
}
|
|
1349
|
+
/* A phone's list (under 480, the tab row's cut too) drops Where: at
|
|
1350
|
+
31px it read "/or…". The name takes its room, and a search's why
|
|
1351
|
+
goes back beside the name, as wide. A video's export labels, in
|
|
1352
|
+
its Where, go with it. */
|
|
1353
|
+
@container library (max-width: 479px) {
|
|
1354
|
+
.library-list {
|
|
1355
|
+
grid-template-columns: 20px minmax(0, 1fr) var(--recorded);
|
|
1356
|
+
}
|
|
1357
|
+
.library-list [data-col="where"] { display: none; }
|
|
1358
|
+
.library-list [data-col="name"] > .match-why { display: inline; }
|
|
1359
|
+
}
|
|
1360
|
+
/* "Couldn't read" in the list layout, drawn in its own place (no flow
|
|
1361
|
+
rows and no column heads above it): the list's column template, so
|
|
1362
|
+
the name, reason and size sit where a flow's Name, Where and Size
|
|
1363
|
+
would. Delete floats over the row's end, as a flow's actions do,
|
|
1364
|
+
and shows at rest: it is all these rows do. */
|
|
1365
|
+
.unreadable-list > .unreadable-row {
|
|
1366
|
+
position: relative;
|
|
1367
|
+
display: grid;
|
|
1368
|
+
grid-column: 1 / -1;
|
|
1369
|
+
grid-template-columns: subgrid;
|
|
1370
|
+
grid-template-rows: calc(var(--list-row) - 1px);
|
|
1371
|
+
align-items: center;
|
|
1372
|
+
border-bottom: 1px solid var(--ring);
|
|
1373
|
+
}
|
|
1374
|
+
.unreadable-list > .unreadable-row > [data-col] {
|
|
1375
|
+
min-width: 0;
|
|
1376
|
+
white-space: nowrap;
|
|
1377
|
+
overflow: hidden;
|
|
1378
|
+
text-overflow: ellipsis;
|
|
1379
|
+
}
|
|
1380
|
+
.unreadable-list > .unreadable-row > [data-col="name"] { grid-column: 3; }
|
|
1381
|
+
.unreadable-list > .unreadable-row > [data-col="where"] {
|
|
1382
|
+
grid-column: 4 / -3;
|
|
1383
|
+
color: var(--ink-muted);
|
|
1384
|
+
}
|
|
1385
|
+
.unreadable-list > .unreadable-row > [data-col="size"] { grid-column: -3; text-align: right; }
|
|
1386
|
+
.unreadable-list > .unreadable-row > [data-col="actions"] {
|
|
1387
|
+
display: flex;
|
|
1388
|
+
align-items: center;
|
|
1389
|
+
}
|
|
1390
|
+
.unreadable-list > .unreadable-row > [data-status] {
|
|
1391
|
+
grid-column: 3 / -1;
|
|
1392
|
+
padding-bottom: 8px;
|
|
1393
|
+
white-space: normal;
|
|
1394
|
+
}
|
|
1395
|
+
.unreadable-list > .unreadable-row > [data-status] > p { margin: 0; }
|
|
1396
|
+
/* Under a 760px list, the same a track to the left (above), after
|
|
1397
|
+
the rules it overrides; the reason runs on to Recorded, the size it
|
|
1398
|
+
stood beside gone. */
|
|
1399
|
+
@container library (max-width: 759px) {
|
|
1400
|
+
.unreadable-list > .unreadable-row > [data-col="name"] { grid-column: 2; }
|
|
1401
|
+
.unreadable-list > .unreadable-row > [data-col="where"] { grid-column: 3 / -2; }
|
|
1402
|
+
.unreadable-list > .unreadable-row > [data-status] { grid-column: 2 / -1; }
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
/* Last: every `display` above loses to `hidden` (shell.css's note on
|
|
1406
|
+
`.hidden`). */
|
|
1407
|
+
.library-list [hidden],
|
|
1408
|
+
.library-list > [role="row"] > [data-status][hidden],
|
|
1409
|
+
.layout-toggle[hidden],
|
|
1410
|
+
.search-field[hidden],
|
|
1411
|
+
.tabs-row[hidden],
|
|
1412
|
+
.place-tabs[hidden] { display: none; }
|
|
1413
|
+
|
|
1414
|
+
/* The empty states: the shell's `.empty`, on a card, as on Settings. */
|
|
1415
|
+
.empty-card {
|
|
1416
|
+
margin-top: 28px;
|
|
1417
|
+
padding: 20px 24px;
|
|
1418
|
+
}
|
|
1419
|
+
.empty .btn-link {
|
|
1420
|
+
display: inline;
|
|
1421
|
+
padding: 0;
|
|
1422
|
+
text-decoration: underline;
|
|
1423
|
+
text-underline-offset: 2px;
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
/* Repeated from the shell, on purpose: rules above set `display` at
|
|
1427
|
+
the same specificity, and this file loads after the shell, so the
|
|
1428
|
+
shell's own `.hidden` would lose to them. */
|
|
1429
|
+
.hidden { display: none; }
|
|
1430
|
+
|