decklight 0.9.0 → 0.11.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/NOTICE +2 -0
- package/PLATFORM.md +61 -3
- package/README.md +58 -28
- package/SPEC.md +1326 -85
- package/cli/agent-review.mjs +5 -4
- package/cli/agents.mjs +148 -18
- package/cli/bundle-audio.mjs +10 -3
- package/cli/bundle-module.mjs +95 -0
- package/cli/bundle.mjs +125 -7
- package/cli/cast.mjs +86 -19
- package/cli/check-fixes.mjs +194 -0
- package/cli/check-watch.mjs +151 -0
- package/cli/check.mjs +491 -75
- package/cli/code-editor.mjs +287 -0
- package/cli/commands.mjs +13 -2
- package/cli/commit-flow.mjs +7 -3
- package/cli/commit-message.mjs +35 -8
- package/cli/commit-split.mjs +125 -25
- package/cli/deck-refs.mjs +8 -3
- package/cli/decklight.mjs +11 -1
- package/cli/design-system-edit.mjs +37 -1
- package/cli/design-system-refs.mjs +263 -6
- package/cli/design-system.mjs +82 -14
- package/cli/edit-address.mjs +184 -0
- package/cli/edit-git.mjs +23 -6
- package/cli/edit-handover.mjs +257 -40
- package/cli/edit-look.mjs +293 -6
- package/cli/edit-open.mjs +143 -0
- package/cli/edit-slides.mjs +1043 -67
- package/cli/edit-translate.mjs +243 -0
- package/cli/edit.mjs +3680 -319
- package/cli/editor-support.mjs +286 -0
- package/cli/enhance.mjs +157 -27
- package/cli/find-replace.mjs +142 -0
- package/cli/fix-review.mjs +368 -0
- package/cli/git.mjs +13 -0
- package/cli/init.mjs +101 -22
- package/cli/keep-awake.mjs +68 -0
- package/cli/marketplace-autocheck.mjs +200 -0
- package/cli/marketplace.mjs +250 -13
- package/cli/migrate-writing.mjs +214 -0
- package/cli/narrate.mjs +121 -5
- package/cli/open.mjs +53 -15
- package/cli/outside-edit.mjs +257 -0
- package/cli/paste.mjs +92 -0
- package/cli/pdf.mjs +88 -10
- package/cli/pptx-export.mjs +10 -5
- package/cli/publish.mjs +24 -3
- package/cli/record.mjs +86 -15
- package/cli/remote.mjs +32 -6
- package/cli/rewrite.mjs +265 -0
- package/cli/runtime-link.mjs +218 -17
- package/cli/serve.mjs +9 -6
- package/cli/setup.mjs +2 -2
- package/cli/skill-content.mjs +251 -10
- package/cli/skills/slide-writing.md +333 -0
- package/cli/skills/voiceover.md +423 -0
- package/cli/skills.mjs +282 -15
- package/cli/starter-full.mjs +353 -0
- package/cli/supervise.mjs +14 -0
- package/cli/theme-refs.mjs +14 -2
- package/cli/theme.mjs +3 -2
- package/cli/translate-core.mjs +466 -0
- package/cli/translate-files.mjs +149 -0
- package/cli/translate.mjs +458 -0
- package/cli/units.mjs +75 -7
- package/cli/util.mjs +25 -0
- package/cli/vocabulary-docs.mjs +138 -0
- package/dist/decklight.css +2506 -113
- package/dist/decklight.js +385 -175
- package/dist/decklight.js.map +4 -4
- package/docs/GLOSSARY.md +9 -2
- package/docs/WRITING_RESEARCH.md +327 -0
- package/package.json +5 -3
- package/themes/coastal.css +3 -0
- package/themes/metropolis.css +2 -0
- package/themes/reveal-blood.css +3 -0
- package/themes/reveal-league.css +2 -0
- package/themes/reveal-moon.css +2 -0
- package/themes/reveal-serif.css +1 -0
- package/themes/reveal-sky.css +1 -0
- package/themes/reveal-solarized.css +4 -0
- package/tools/brand-palette.mjs +6 -1
- package/tools/build-groups.mjs +28 -8
- package/tools/cdp.mjs +176 -0
- package/tools/chart-spec.mjs +242 -0
- package/tools/click-match.mjs +70 -0
- package/tools/code-options.mjs +174 -0
- package/tools/conversation.mjs +49 -0
- package/tools/deck-family.mjs +101 -0
- package/tools/deck-html.mjs +212 -15
- package/tools/design-system-format.mjs +40 -1
- package/tools/design-system-migrations.mjs +207 -0
- package/tools/diagram-shapes.mjs +221 -0
- package/tools/elevenlabs-tts.mjs +62 -53
- package/tools/exec.mjs +10 -2
- package/tools/face-clip.mjs +96 -0
- package/tools/face-layout.mjs +94 -0
- package/tools/gemini-tts.mjs +1 -1
- package/tools/invisible-in-print.mjs +27 -0
- package/tools/lipsync-auto.mjs +197 -0
- package/tools/lipsync-config.mjs +16 -0
- package/tools/lipsync-engines.mjs +22 -4
- package/tools/lipsync-server.mjs +8 -5
- package/tools/lipsync.mjs +122 -30
- package/tools/local-voice.mjs +1 -1
- package/tools/mouth-file.mjs +26 -0
- package/tools/mouth.mjs +320 -0
- package/tools/narration-manifest.mjs +100 -6
- package/tools/narration-synth.mjs +96 -76
- package/tools/recording-impact.mjs +16 -1
- package/tools/sentences.mjs +7 -1
- package/tools/site-clip.mjs +114 -0
- package/tools/starters.mjs +402 -0
- package/tools/steps.mjs +118 -0
- package/tools/take-check.mjs +146 -0
- package/tools/template-theme.mjs +3 -1
- package/tools/test-impact.mjs +36 -12
- package/tools/theme-check.mjs +196 -1
- package/tools/tone-cue.mjs +108 -0
- package/tools/tts-cache.mjs +9 -3
- package/tools/tts-engines.mjs +100 -11
- package/tools/video-cache.mjs +93 -0
- package/tools/video-live.mjs +349 -0
- package/tools/video-options.mjs +11 -0
- package/tools/video.mjs +825 -117
- package/tools/viseme-fit.mjs +27 -0
- package/tools/viseme-match.mjs +77 -0
- package/tools/vocabulary.mjs +397 -0
- package/tools/voice-renumber.mjs +605 -0
- package/tools/voiceover-server.mjs +42 -11
- package/tools/voiceover.mjs +48 -20
- package/dist/build-info.json +0 -1
package/dist/decklight.css
CHANGED
|
@@ -23,6 +23,11 @@
|
|
|
23
23
|
these itself; left alone they derive from the theme's own slots and ink,
|
|
24
24
|
in dark and light themes alike. `-in2` is the step below that, and the
|
|
25
25
|
last: deeper nesting stays there. */
|
|
26
|
+
/* A highlight (<mark>, PRESENTING_EDITING): the theme's accent tinted over
|
|
27
|
+
the slide, so it is readable on dark and light themes alike (the theme
|
|
28
|
+
gate checks it, tools/theme-check.mjs). A theme may set --mark-tint, or
|
|
29
|
+
its own --mark-bg and --mark-fg. */
|
|
30
|
+
--mark-bg: color-mix(in srgb, var(--accent, #6af) var(--mark-tint, 25%), transparent);
|
|
26
31
|
--d-fill-1-in: color-mix(in oklab, var(--d-fill-1) 82%, var(--d-text));
|
|
27
32
|
--d-fill-2-in: color-mix(in oklab, var(--d-fill-2) 82%, var(--d-text));
|
|
28
33
|
--d-fill-3-in: color-mix(in oklab, var(--d-fill-3) 82%, var(--d-text));
|
|
@@ -57,11 +62,15 @@
|
|
|
57
62
|
the theme's colour. A slide that bleeds its art (Bleed) still fills the
|
|
58
63
|
screen: the stage goes transparent so the art behind it shows through. */
|
|
59
64
|
.decklight:fullscreen { background: #000; }
|
|
60
|
-
/* ⇧F (Settings, palette): a
|
|
65
|
+
/* ⇧F (Settings, palette): a talk with nothing but the slides — in fullscreen,
|
|
66
|
+
and while the speaker view is open (the talk is driven from there), the
|
|
61
67
|
arrows and both slide numbers (the player's and write mode's) leave */
|
|
62
68
|
.decklight.fs-chrome-hidden:fullscreen .decklight-controls,
|
|
63
69
|
.decklight.fs-chrome-hidden:fullscreen .decklight-slide-number,
|
|
64
|
-
.decklight.fs-chrome-hidden:fullscreen .decklight-slide-num
|
|
70
|
+
.decklight.fs-chrome-hidden:fullscreen .decklight-slide-num,
|
|
71
|
+
.decklight.fs-chrome-hidden.speaker-open .decklight-controls,
|
|
72
|
+
.decklight.fs-chrome-hidden.speaker-open .decklight-slide-number,
|
|
73
|
+
.decklight.fs-chrome-hidden.speaker-open .decklight-slide-num { display: none; }
|
|
65
74
|
.decklight:fullscreen::before { content: none; }
|
|
66
75
|
.decklight:fullscreen > .decklight-stage {
|
|
67
76
|
background: var(--bg, #111);
|
|
@@ -129,7 +138,9 @@
|
|
|
129
138
|
|
|
130
139
|
/* `sources` joins the list deliberately: this rule names the asides that are
|
|
131
140
|
NOT the slide, so a new kind renders on the slide until it is added here. */
|
|
132
|
-
.decklight aside.notes, .decklight aside.rehearse, .decklight aside.sources { display: none; }
|
|
141
|
+
.decklight aside.notes, .decklight aside.rehearse, .decklight aside.sources, .decklight aside.callouts { display: none; }
|
|
142
|
+
/* a run's groups written as a list (DECK_ANATOMY): the runtime draws them as the strip below */
|
|
143
|
+
.decklight section nav.steps { display: none; }
|
|
133
144
|
|
|
134
145
|
/* ---------- pinned titles (SPEC PRESENTING) ---------------------------------------
|
|
135
146
|
The engine marks pinnable sections with data-pinned + inline --pin-y /
|
|
@@ -200,6 +211,18 @@
|
|
|
200
211
|
column-gap: 2em;
|
|
201
212
|
}
|
|
202
213
|
.decklight-stage > section[data-layout|="split"] > .split-columns > li { break-inside: avoid; }
|
|
214
|
+
/* A column the editor wrapped round a bare block (`<div class="column">`,
|
|
215
|
+
COMPARISON_SLIDES): its blocks take the column's whole width, as the bare
|
|
216
|
+
block did as a column of its own, where a plain <div>'s are sized to their
|
|
217
|
+
content and centred. Lists are blocks, tables, pictures and code fill it. */
|
|
218
|
+
.decklight-stage > section[data-layout|="split"] > .column > *,
|
|
219
|
+
.decklight-overview-grid .ov-clone[data-layout|="split"] > .column > * { margin-left: 0; margin-right: 0; max-width: 100%; box-sizing: border-box; }
|
|
220
|
+
.decklight-stage > section[data-layout|="split"] > .column > :is(ul, ol, dl),
|
|
221
|
+
.decklight-overview-grid .ov-clone[data-layout|="split"] > .column > :is(ul, ol, dl) { display: block; }
|
|
222
|
+
.decklight-stage > section[data-layout|="split"] > .column > :is(table, img, pre),
|
|
223
|
+
.decklight-overview-grid .ov-clone[data-layout|="split"] > .column > :is(table, img, pre) { width: 100%; }
|
|
224
|
+
.decklight-stage > section[data-layout|="split"] > .column > img,
|
|
225
|
+
.decklight-overview-grid .ov-clone[data-layout|="split"] > .column > img { height: auto; }
|
|
203
226
|
|
|
204
227
|
/* A third content block is a FOOTER, not a third column (SPEC PRESENTING): the note
|
|
205
228
|
under a comparison applies to both sides, so it spans them and centres
|
|
@@ -307,6 +330,8 @@
|
|
|
307
330
|
max-width: 34em;
|
|
308
331
|
}
|
|
309
332
|
.decklight li { margin: 0.35em 0; }
|
|
333
|
+
/* a sublist sits under its point: the inline-block above centres a list as a whole, and nested it put the sublist beside the words */
|
|
334
|
+
.decklight li > ul, .decklight li > ol { display: block; margin: 0.2em 0 0; }
|
|
310
335
|
.decklight blockquote {
|
|
311
336
|
text-align: left;
|
|
312
337
|
border-left: 4px solid var(--accent, #6af);
|
|
@@ -315,12 +340,239 @@
|
|
|
315
340
|
border-radius: var(--block-radius, 8px);
|
|
316
341
|
font-style: italic;
|
|
317
342
|
}
|
|
343
|
+
/* ---------- a run's strip (SPEC DECK_ANATOMY, #1188) ---------------------------------
|
|
344
|
+
`data-steps` on the slide a run starts on, `data-step` on the slides after
|
|
345
|
+
it: every slide of the run shows the groups in order, its own lit in
|
|
346
|
+
--steps-ink (the accent unless the theme sets its own, THEMING), the ones
|
|
347
|
+
done muted, and "3 of 7" when the run numbers its slides. The runtime draws
|
|
348
|
+
it (steps.js). It sits in the slide's top padding (3.5% of the width, 44.8
|
|
349
|
+
design px), above where a pinned title starts and clear of the corner
|
|
350
|
+
chrome, so no content can reach it; a theme or a design system moves it
|
|
351
|
+
with --steps-top / --steps-bottom / --steps-inset / --steps-align and
|
|
352
|
+
sizes it with --steps-size, and a template's `data-slot="steps"` holds it
|
|
353
|
+
in place. A group name too long for the room is cut short (…), never the
|
|
354
|
+
one the slide is in.
|
|
355
|
+
It takes no click: a click on it is a click on the slide. */
|
|
356
|
+
.decklight .decklight-steps {
|
|
357
|
+
display: flex;
|
|
358
|
+
align-items: baseline;
|
|
359
|
+
justify-content: var(--steps-align, center);
|
|
360
|
+
gap: 1em;
|
|
361
|
+
box-sizing: border-box;
|
|
362
|
+
margin: 0;
|
|
363
|
+
font-family: var(--font-body, system-ui, sans-serif);
|
|
364
|
+
font-size: var(--steps-size, 19px);
|
|
365
|
+
font-weight: 400;
|
|
366
|
+
line-height: 1.3;
|
|
367
|
+
letter-spacing: 0;
|
|
368
|
+
text-align: left;
|
|
369
|
+
white-space: nowrap;
|
|
370
|
+
pointer-events: none;
|
|
371
|
+
user-select: none;
|
|
372
|
+
}
|
|
373
|
+
.decklight :is(.decklight-stage > section, .ov-clone) > .decklight-steps {
|
|
374
|
+
position: absolute;
|
|
375
|
+
top: var(--steps-top, 12px);
|
|
376
|
+
bottom: var(--steps-bottom, auto);
|
|
377
|
+
/* the middle of the slide: the corners are the chrome's (the slide number and
|
|
378
|
+
its chapter top right, messages and a logo top left) */
|
|
379
|
+
left: var(--steps-inset, 20%);
|
|
380
|
+
right: var(--steps-inset, 20%);
|
|
381
|
+
max-width: none;
|
|
382
|
+
flex: none;
|
|
383
|
+
z-index: 1;
|
|
384
|
+
}
|
|
385
|
+
.decklight .decklight-steps .steps-groups { display: flex; align-items: baseline; gap: 0.45em; min-width: 0; overflow: hidden; }
|
|
386
|
+
.decklight .decklight-steps .steps-group { color: var(--fg); min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
387
|
+
.decklight .decklight-steps .steps-group + .steps-group::before { content: "›"; color: var(--muted); font-weight: 400; margin-right: 0.45em; }
|
|
388
|
+
.decklight .decklight-steps .steps-done { color: var(--muted); }
|
|
389
|
+
.decklight .decklight-steps .steps-current { color: var(--steps-ink, var(--accent, #6af)); font-weight: 700; flex: none; }
|
|
390
|
+
.decklight .decklight-steps .steps-count { color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
|
|
391
|
+
|
|
392
|
+
/* ---------- figures (SPEC DECK_ANATOMY) ---------------------------------------------
|
|
393
|
+
One oversized value with its label: `<div class="figure"><p data-figure>94%</p>
|
|
394
|
+
<p>label</p><small>context</small></div>`. The value is set at the theme's
|
|
395
|
+
--figure-size (4.5× the body by default) in --figure-ink (the accent unless
|
|
396
|
+
the theme sets its own, THEMING), tabular figures, and clamped to its column:
|
|
397
|
+
the figure is a size container and the runtime gives each value its length
|
|
398
|
+
(--figure-chars, figure.js), so the value is never wider than the column it
|
|
399
|
+
stands in, alone on a slide, in a split column or three in a row. */
|
|
400
|
+
.decklight .figure {
|
|
401
|
+
container-type: inline-size; /* sized by its column, never by its value: hence the width */
|
|
402
|
+
box-sizing: border-box;
|
|
403
|
+
width: 100%;
|
|
404
|
+
max-width: 100%;
|
|
405
|
+
margin: 0.3em auto;
|
|
406
|
+
text-align: center;
|
|
407
|
+
}
|
|
408
|
+
.decklight .figure > [data-figure] {
|
|
409
|
+
font-family: var(--font-heading, var(--font-body, system-ui, sans-serif));
|
|
410
|
+
font-weight: var(--heading-weight, 700);
|
|
411
|
+
color: var(--figure-ink, var(--accent, #6af));
|
|
412
|
+
font-variant-numeric: tabular-nums lining-nums;
|
|
413
|
+
line-height: 1;
|
|
414
|
+
letter-spacing: -0.01em;
|
|
415
|
+
white-space: nowrap;
|
|
416
|
+
max-width: none;
|
|
417
|
+
margin: 0 auto 0.14em;
|
|
418
|
+
/* the theme's size, or the size at which this many characters fit the column (a figure's glyphs average under 0.66em) */
|
|
419
|
+
font-size: min(var(--figure-size, 4.5em), calc(100cqi / (var(--figure-chars, 4) * 0.66 + 0.1)));
|
|
420
|
+
}
|
|
421
|
+
.decklight .figure > p:not([data-figure]) { font-size: 1em; margin: 0 auto; max-width: 32em; color: var(--fg, inherit); }
|
|
422
|
+
.decklight .figure > small { display: block; font-size: 0.72em; line-height: 1.4; margin: 0.35em auto 0; max-width: 40em; }
|
|
423
|
+
/* two or three figures side by side: evenly, sharing a top edge */
|
|
424
|
+
.decklight .figures {
|
|
425
|
+
display: flex;
|
|
426
|
+
justify-content: space-evenly;
|
|
427
|
+
align-items: flex-start;
|
|
428
|
+
gap: 4%;
|
|
429
|
+
width: 100%;
|
|
430
|
+
margin: 0.3em auto;
|
|
431
|
+
}
|
|
432
|
+
.decklight .figures > .figure { flex: 1 1 0; min-width: 0; margin: 0; }
|
|
433
|
+
|
|
434
|
+
/* ---------- a conversation (SPEC DECK_ANATOMY, #1179) ---------------------------------
|
|
435
|
+
`<div class="conversation">` of turns, each `data-role` (user, agent, tool,
|
|
436
|
+
system, any word: its label) and `data-kind` (thought, tool-call; speech when
|
|
437
|
+
absent), `data-name` naming a tool. Drawn from the attributes alone: the
|
|
438
|
+
label is the turn's ::before, the user's turns sit on the right and everyone
|
|
439
|
+
else's on the left. Bubbles in theme tokens: `--turn-bg` / `--turn-ink`
|
|
440
|
+
(the block's ground and the body ink unless the theme sets them) and
|
|
441
|
+
`--turn-border` (a border shorthand, the block's by default), the user's
|
|
442
|
+
`--turn-user-bg` / `--turn-user-ink` (the accent and its contrast), a tool's
|
|
443
|
+
the code's ground and ink. A turn in a concept (`data-concept`, or its role
|
|
444
|
+
in the config's `roleConcepts`) is the concept's slot, as a diagram shape is.
|
|
445
|
+
Live, conversation.js holds it to the room its slide leaves and it scrolls
|
|
446
|
+
inside itself, the newest turn in view; in print it is whole, shrunk to fit. */
|
|
447
|
+
.decklight .conversation {
|
|
448
|
+
position: relative; /* the turns' offsetTop, for scroll-to-newest */
|
|
449
|
+
display: flex;
|
|
450
|
+
flex-direction: column;
|
|
451
|
+
align-items: flex-start;
|
|
452
|
+
gap: 0.42em;
|
|
453
|
+
box-sizing: border-box;
|
|
454
|
+
width: 100%;
|
|
455
|
+
max-width: 36em;
|
|
456
|
+
min-height: 0;
|
|
457
|
+
flex: 0 1 auto; /* a slide's flex column may take room from it: it scrolls, never pushes */
|
|
458
|
+
margin: 0.3em auto;
|
|
459
|
+
padding: 0.15em 0.35em;
|
|
460
|
+
font-size: 0.72em;
|
|
461
|
+
line-height: 1.38;
|
|
462
|
+
text-align: left;
|
|
463
|
+
overflow-x: hidden;
|
|
464
|
+
overflow-y: auto;
|
|
465
|
+
overscroll-behavior: contain;
|
|
466
|
+
scrollbar-width: thin;
|
|
467
|
+
}
|
|
468
|
+
.decklight .conversation > :not(aside, script, style, template) {
|
|
469
|
+
box-sizing: border-box;
|
|
470
|
+
flex: none;
|
|
471
|
+
max-width: 82%;
|
|
472
|
+
margin: 0;
|
|
473
|
+
padding: 0.42em 0.8em 0.48em;
|
|
474
|
+
border-radius: calc(var(--block-radius, 8px) + 4px);
|
|
475
|
+
border: var(--turn-border, var(--block-border, 1px solid transparent));
|
|
476
|
+
background: var(--turn-bg, var(--block-bg, rgba(127, 127, 127, 0.12)));
|
|
477
|
+
color: var(--turn-ink, var(--fg, inherit));
|
|
478
|
+
overflow-wrap: anywhere;
|
|
479
|
+
}
|
|
480
|
+
/* who speaks: the role as written, a tool's name after it */
|
|
481
|
+
.decklight .conversation > [data-role]::before {
|
|
482
|
+
content: attr(data-role);
|
|
483
|
+
display: block;
|
|
484
|
+
margin-bottom: 0.12em;
|
|
485
|
+
font-family: var(--font-body, system-ui, sans-serif);
|
|
486
|
+
font-size: 0.66em;
|
|
487
|
+
font-style: normal;
|
|
488
|
+
font-weight: 700;
|
|
489
|
+
letter-spacing: 0.04em;
|
|
490
|
+
line-height: 1.3;
|
|
491
|
+
white-space: normal;
|
|
492
|
+
opacity: 0.8;
|
|
493
|
+
}
|
|
494
|
+
.decklight .conversation > [data-role][data-name]::before { content: attr(data-role) " \00b7 " attr(data-name); }
|
|
495
|
+
.decklight .conversation > [data-role][data-kind="thought"]::before { content: attr(data-role) " \00b7 thinking"; }
|
|
496
|
+
.decklight .conversation > [data-role][data-kind="tool-call"]::before { content: attr(data-role) " \00b7 calls a tool"; }
|
|
497
|
+
.decklight .conversation > [data-role="user"] {
|
|
498
|
+
align-self: flex-end;
|
|
499
|
+
border: 1px solid transparent;
|
|
500
|
+
background: var(--turn-user-bg, var(--accent, #6af));
|
|
501
|
+
color: var(--turn-user-ink, var(--accent-contrast, #fff));
|
|
502
|
+
}
|
|
503
|
+
.decklight .conversation > [data-role="system"] {
|
|
504
|
+
align-self: center;
|
|
505
|
+
max-width: 90%;
|
|
506
|
+
background: transparent;
|
|
507
|
+
border: 1px solid transparent;
|
|
508
|
+
color: var(--muted, inherit);
|
|
509
|
+
font-size: 0.86em;
|
|
510
|
+
text-align: center;
|
|
511
|
+
}
|
|
512
|
+
.decklight .conversation > [data-kind="thought"] {
|
|
513
|
+
background: transparent;
|
|
514
|
+
border: 1px dashed var(--muted, currentColor);
|
|
515
|
+
color: var(--muted, inherit);
|
|
516
|
+
font-style: italic;
|
|
517
|
+
}
|
|
518
|
+
.decklight .conversation > [data-kind="tool-call"],
|
|
519
|
+
.decklight .conversation > [data-role="tool"] {
|
|
520
|
+
background: var(--code-bg, rgba(127, 127, 127, 0.15));
|
|
521
|
+
color: var(--code-fg, inherit);
|
|
522
|
+
font-family: var(--font-mono, ui-monospace, monospace);
|
|
523
|
+
font-size: 0.84em;
|
|
524
|
+
}
|
|
525
|
+
.decklight .conversation > .turn-code { white-space: pre-wrap; }
|
|
526
|
+
/* a turn in a concept: the concept's slot, the diagram's ink, as a shape is
|
|
527
|
+
painted; a thought or a tool's turn keeps its own ground (muted words, code
|
|
528
|
+
colours) and wears the concept as its outline */
|
|
529
|
+
.decklight .conversation > .turn-concept {
|
|
530
|
+
background: var(--turn-concept);
|
|
531
|
+
color: var(--d-text, inherit);
|
|
532
|
+
border: 1px solid var(--d-stroke, transparent);
|
|
533
|
+
}
|
|
534
|
+
.decklight .conversation > .turn-concept:is([data-kind="tool-call"], [data-role="tool"]) {
|
|
535
|
+
background: var(--code-bg, rgba(127, 127, 127, 0.15));
|
|
536
|
+
color: var(--code-fg, inherit);
|
|
537
|
+
border: 2px solid var(--turn-concept);
|
|
538
|
+
}
|
|
539
|
+
.decklight .conversation > .turn-concept[data-kind="thought"] {
|
|
540
|
+
background: transparent;
|
|
541
|
+
color: var(--muted, inherit);
|
|
542
|
+
border: 2px dashed var(--turn-concept);
|
|
543
|
+
}
|
|
544
|
+
/* scrolled past its first turns: the top edge fades, so the box reads as one that scrolls */
|
|
545
|
+
.decklight .conversation.conversation-scrolled {
|
|
546
|
+
-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 1.6em);
|
|
547
|
+
mask-image: linear-gradient(to bottom, transparent 0, #000 1.6em);
|
|
548
|
+
}
|
|
549
|
+
/* print and the PDF: every turn, the whole conversation, shrunk to fit by conversation.js */
|
|
550
|
+
.decklight.decklight-print .conversation { overflow: visible; max-height: none !important; flex-shrink: 0; }
|
|
551
|
+
|
|
318
552
|
.decklight table {
|
|
319
|
-
|
|
553
|
+
/* 0.6em of the cells' smaller text, as when the table itself was 0.82em */
|
|
554
|
+
margin: 0.492em auto;
|
|
320
555
|
border-collapse: collapse;
|
|
321
556
|
text-align: left;
|
|
322
|
-
|
|
323
|
-
|
|
557
|
+
/* A page with no doctype is laid out in quirks mode, where a table takes
|
|
558
|
+
neither the colour nor the size of the text around it: the browser's
|
|
559
|
+
black on a dark theme (#1190). Inherit both, as standards mode does. The
|
|
560
|
+
table is the slide's size and its cells (and caption) set the smaller
|
|
561
|
+
text, so the cells read the same with or without a doctype. This also
|
|
562
|
+
holds the help card's and the welcome card's tables, which live in the
|
|
563
|
+
deck. */
|
|
564
|
+
color: inherit;
|
|
565
|
+
font-size: inherit;
|
|
566
|
+
}
|
|
567
|
+
/* No weight of its own: a deck's own `td { font-size }` still wins, as it did
|
|
568
|
+
when the cells had no size here at all. */
|
|
569
|
+
:where(.decklight th, .decklight td, .decklight caption) { font-size: 0.82em; }
|
|
570
|
+
/* A table an author sized inline (a deck's markup, or write mode's Text size
|
|
571
|
+
on the table) sets its cells' size and its margin, as when the table was
|
|
572
|
+
0.82em itself and its cells only inherited. */
|
|
573
|
+
.decklight table:where([style*="font-size"]) { margin: 0.6em auto; }
|
|
574
|
+
:where(.decklight table[style*="font-size"] > * > tr > :is(th, td),
|
|
575
|
+
.decklight table[style*="font-size"] > caption) { font-size: inherit; }
|
|
324
576
|
.decklight th, .decklight td {
|
|
325
577
|
padding: 0.35em 0.9em;
|
|
326
578
|
/* --block-border is a full border shorthand ("1px solid #…", themes may
|
|
@@ -331,6 +583,27 @@
|
|
|
331
583
|
.decklight th { color: var(--accent, #6af); }
|
|
332
584
|
.decklight img, .decklight svg { max-width: 100%; }
|
|
333
585
|
.decklight section > svg, .decklight section > img { margin: 0.3em auto; display: block; }
|
|
586
|
+
/* A diagram or picture that is a template slot's one block takes the room the
|
|
587
|
+
slot is given, no more: a second title line shrinks it, keeping its aspect
|
|
588
|
+
ratio, instead of the slot cutting off its bottom (PRESENTING_FIT, #1183).
|
|
589
|
+
It sits on the top of its line, so the gap a baseline leaves under an
|
|
590
|
+
inline box is not cut either. A slot with no definite height leaves 100%
|
|
591
|
+
unresolved, so nothing changes. */
|
|
592
|
+
.decklight :where([data-slot][data-ds-injected]) > :where(svg, img):only-child,
|
|
593
|
+
.decklight :where([data-slot][data-ds-injected]) > picture:only-child > img { max-height: 100%; vertical-align: top; }
|
|
594
|
+
.decklight :where([data-slot][data-ds-injected]) > img:only-child,
|
|
595
|
+
.decklight :where([data-slot][data-ds-injected]) > picture:only-child > img { object-fit: contain; }
|
|
596
|
+
.decklight :where([data-slot][data-ds-injected]) > picture:only-child { display: contents; }
|
|
597
|
+
/* A wrapped diagram or picture, or one alone in a split column, is shrunk by
|
|
598
|
+
the runtime when its slide is cut (fit-visual.js, data-fit-scale on it).
|
|
599
|
+
While write mode's handles resize it by hand it shows the size the hand
|
|
600
|
+
gives it; the fit is measured again when the drag ends. */
|
|
601
|
+
.decklight.dl-pic-resizing :is(svg, img)[data-fit-scale] { max-height: none !important; }
|
|
602
|
+
/* a framed web page (Add ▾ › Web page): the content's width at 16:9 unless it
|
|
603
|
+
says its own size, at zero specificity so a deck's own rules win */
|
|
604
|
+
.decklight :where(section iframe:not([width])) { width: 100%; }
|
|
605
|
+
.decklight :where(section iframe:not([height])) { aspect-ratio: 16 / 9; height: auto; }
|
|
606
|
+
.decklight :where(section iframe) { display: block; max-width: 100%; margin: 0.3em auto; border: 1px solid var(--d-stroke, currentColor); border-radius: 6px; background: var(--bg); }
|
|
334
607
|
|
|
335
608
|
/* ---------- builds (SPEC BUILDS) ---------------------------------------------- */
|
|
336
609
|
.decklight .build-step {
|
|
@@ -656,51 +929,244 @@
|
|
|
656
929
|
}
|
|
657
930
|
.decklight-history .hs-btn:hover:not(:disabled) { background: rgba(128, 128, 128, .18); }
|
|
658
931
|
.decklight-history .hs-btn:disabled { opacity: 0.3; cursor: default; }
|
|
659
|
-
/*
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
.
|
|
664
|
-
.decklight-history .hs-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
opacity: .6;
|
|
932
|
+
/* What you see of the version, on a row of its own under the transport:
|
|
933
|
+
changed slides only (D), captions (C), more info (I). A switch is a box and
|
|
934
|
+
a label that never changes — the box says whether it is on — so the words
|
|
935
|
+
always name the thing, never the state of the thing. It wraps rather than
|
|
936
|
+
widening the preview column on a narrow panel. */
|
|
937
|
+
.decklight-history .hs-view {
|
|
938
|
+
display: flex;
|
|
939
|
+
flex-wrap: wrap;
|
|
940
|
+
justify-content: center;
|
|
941
|
+
gap: 6px;
|
|
942
|
+
margin-top: 6px;
|
|
943
|
+
padding-top: 8px;
|
|
944
|
+
border-top: 1px solid rgba(128, 128, 128, .2);
|
|
673
945
|
}
|
|
674
|
-
.decklight-history .hs-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
946
|
+
.decklight-history .hs-switch {
|
|
947
|
+
display: inline-flex;
|
|
948
|
+
align-items: center;
|
|
949
|
+
gap: 6px;
|
|
950
|
+
padding: 3px 8px;
|
|
951
|
+
border: 1px solid rgba(128, 128, 128, .28);
|
|
952
|
+
border-radius: 4px;
|
|
953
|
+
background: transparent;
|
|
954
|
+
color: inherit;
|
|
955
|
+
font: inherit;
|
|
956
|
+
font-size: 11px;
|
|
957
|
+
line-height: 1.2;
|
|
958
|
+
white-space: nowrap;
|
|
959
|
+
cursor: pointer;
|
|
960
|
+
opacity: .65;
|
|
961
|
+
}
|
|
962
|
+
.decklight-history .hs-switch:hover { background: rgba(128, 128, 128, .18); }
|
|
963
|
+
.decklight-history .hs-switch[aria-checked="true"] { opacity: 1; background: rgba(128, 128, 128, .14); }
|
|
964
|
+
.decklight-history .hs-box {
|
|
965
|
+
position: relative;
|
|
966
|
+
flex: 0 0 auto;
|
|
967
|
+
width: 9px;
|
|
968
|
+
height: 9px;
|
|
969
|
+
border: 1px solid currentColor;
|
|
970
|
+
border-radius: 2px;
|
|
971
|
+
}
|
|
972
|
+
.decklight-history .hs-switch[aria-checked="true"] .hs-box::after {
|
|
973
|
+
content: '';
|
|
974
|
+
position: absolute;
|
|
975
|
+
left: 2px;
|
|
976
|
+
top: 0;
|
|
977
|
+
width: 3px;
|
|
978
|
+
height: 6px;
|
|
979
|
+
border: solid currentColor;
|
|
980
|
+
border-width: 0 1.5px 1.5px 0;
|
|
981
|
+
transform: rotate(45deg);
|
|
982
|
+
}
|
|
983
|
+
.decklight-history .hs-switch kbd {
|
|
984
|
+
font: inherit;
|
|
985
|
+
font-size: 10px;
|
|
986
|
+
padding: 0 4px;
|
|
987
|
+
border: 1px solid rgba(128, 128, 128, .3);
|
|
988
|
+
border-radius: 3px;
|
|
989
|
+
opacity: .7;
|
|
678
990
|
}
|
|
679
991
|
.decklight-history .hs-pos {
|
|
680
992
|
min-width: 4.5em;
|
|
993
|
+
white-space: nowrap;
|
|
681
994
|
text-align: center;
|
|
682
995
|
font-size: 0.82em;
|
|
683
996
|
font-variant-numeric: tabular-nums;
|
|
684
997
|
opacity: 0.6;
|
|
685
998
|
}
|
|
686
999
|
|
|
687
|
-
/*
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
1000
|
+
/* A quick fix under review (#907, fixreview.js): the deck as it is and as
|
|
1001
|
+
the fix would make it, side by side at the same slide and step, the notes'
|
|
1002
|
+
word diff under them, and one bar of decisions. The panes keep the deck's
|
|
1003
|
+
ratio, so a slide reads as a slide rather than as whatever box was left. */
|
|
1004
|
+
.decklight-fixreview {
|
|
1005
|
+
position: absolute;
|
|
1006
|
+
inset: 0;
|
|
1007
|
+
/* over the docked panels (70): the agent panel the ask opened stays up beneath it */
|
|
1008
|
+
z-index: 80;
|
|
1009
|
+
background: rgba(0, 0, 0, .6);
|
|
1010
|
+
backdrop-filter: blur(3px);
|
|
1011
|
+
display: flex;
|
|
1012
|
+
align-items: center;
|
|
1013
|
+
justify-content: center;
|
|
1014
|
+
}
|
|
1015
|
+
.decklight-fixreview:focus { outline: none; }
|
|
1016
|
+
.decklight-fixreview .fr-panel {
|
|
1017
|
+
display: flex;
|
|
1018
|
+
flex-direction: column;
|
|
1019
|
+
gap: 10px;
|
|
1020
|
+
width: min(1400px, 96vw);
|
|
1021
|
+
max-height: 94vh;
|
|
1022
|
+
box-sizing: border-box;
|
|
1023
|
+
background: #16181d;
|
|
1024
|
+
color: #e8eaee;
|
|
1025
|
+
border-radius: 14px;
|
|
1026
|
+
padding: 16px 18px;
|
|
1027
|
+
box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
|
|
1028
|
+
font: 14px/1.4 system-ui, sans-serif;
|
|
1029
|
+
overflow: auto;
|
|
1030
|
+
}
|
|
1031
|
+
.decklight-fixreview .fr-head { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; }
|
|
1032
|
+
.decklight-fixreview .fr-title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
|
|
1033
|
+
.decklight-fixreview .fr-pos { font-variant-numeric: tabular-nums; opacity: .75; white-space: nowrap; }
|
|
1034
|
+
/* the slide on screen, and its builds: ‹ build 2 of 4 › and fully built, to click */
|
|
1035
|
+
.decklight-fixreview .fr-where { display: flex; gap: 10px; align-items: baseline; flex: none; }
|
|
1036
|
+
.decklight-fixreview .fr-builds { display: inline-flex; gap: 4px; align-items: baseline; }
|
|
1037
|
+
.decklight-fixreview .fr-builds[hidden] { display: none; }
|
|
1038
|
+
.decklight-fixreview .fr-builds .fr-btn { font-size: 12px; padding: 0 7px; }
|
|
1039
|
+
.decklight-fixreview .fr-build-at { font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 7.5em; text-align: center; }
|
|
1040
|
+
.decklight-fixreview .fr-built[aria-pressed="true"] { background: rgba(128, 128, 128, .22); }
|
|
1041
|
+
.decklight-fixreview .fr-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 14px; min-height: 0; }
|
|
1042
|
+
/* the slides down the left: every change with its state, then what was left as it was */
|
|
1043
|
+
.decklight-fixreview .fr-rail { overflow: auto; max-height: 70vh; font-size: 12px; border-right: 1px solid rgba(255, 255, 255, .08); padding-right: 8px; }
|
|
1044
|
+
.decklight-fixreview .fr-rail-head { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; opacity: .55; margin: 6px 6px 4px; }
|
|
1045
|
+
.decklight-fixreview .fr-row { display: flex; gap: 6px; align-items: baseline; padding: 4px 6px; border-radius: 6px; cursor: pointer; min-width: 0; }
|
|
1046
|
+
.decklight-fixreview .fr-row:hover { background: rgba(255, 255, 255, .05); }
|
|
1047
|
+
.decklight-fixreview .fr-row[aria-current="true"] { background: rgba(255, 255, 255, .1); }
|
|
1048
|
+
.decklight-fixreview .fr-row-state { flex: 0 0 1.1em; text-align: center; }
|
|
1049
|
+
.decklight-fixreview .fr-row[data-state="approved"] .fr-row-state { color: #4ec98a; }
|
|
1050
|
+
.decklight-fixreview .fr-row[data-state="rejected"] .fr-row-state { color: #f2777a; }
|
|
1051
|
+
.decklight-fixreview .fr-row[data-state="adjusting"] .fr-row-state { color: #3b82f6; }
|
|
1052
|
+
.decklight-fixreview .fr-row[data-state="left"] { opacity: .55; }
|
|
1053
|
+
.decklight-fixreview .fr-row-n { flex: 0 0 2ch; text-align: right; font-variant-numeric: tabular-nums; opacity: .7; }
|
|
1054
|
+
.decklight-fixreview .fr-row-title { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
1055
|
+
.decklight-fixreview .fr-row-why { display: none; }
|
|
1056
|
+
.decklight-fixreview .fr-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; min-height: 0; }
|
|
1057
|
+
.decklight-fixreview .fr-panes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-height: 0; }
|
|
1058
|
+
/* reading a script: the proposed render small, for context; a click brings the slides up */
|
|
1059
|
+
.decklight-fixreview[data-view="diff"] .fr-panes,
|
|
1060
|
+
.decklight-fixreview[data-view="side"] .fr-panes { grid-template-columns: 1fr; width: 240px; cursor: zoom-in; }
|
|
1061
|
+
.decklight-fixreview[data-view="diff"] .fr-before,
|
|
1062
|
+
.decklight-fixreview[data-view="side"] .fr-before { display: none; }
|
|
1063
|
+
.decklight-fixreview[data-view="diff"] .fr-notes,
|
|
1064
|
+
.decklight-fixreview[data-view="side"] .fr-notes { max-height: 56vh; font-size: 15px; line-height: 1.55; }
|
|
1065
|
+
.decklight-fixreview .fr-side { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
|
|
1066
|
+
.decklight-fixreview .fr-side > div { white-space: pre-wrap; word-break: break-word; min-width: 0; }
|
|
1067
|
+
.decklight-fixreview .fr-side-after { border-left: 1px solid rgba(255, 255, 255, .1); padding-left: 14px; }
|
|
1068
|
+
.decklight-fixreview .fr-notes-head { display: flex; gap: 10px; align-items: center; }
|
|
1069
|
+
.decklight-fixreview .fr-hear { font-size: 11px; padding: 2px 8px; text-transform: none; letter-spacing: 0; }
|
|
1070
|
+
.decklight-fixreview .fr-view { min-width: 7em; font-size: 12px; }
|
|
1071
|
+
.decklight-fixreview .fr-pane { position: relative; margin: 0; min-width: 0; }
|
|
1072
|
+
/* a click on a slide steps both a build, as it does a presented one */
|
|
1073
|
+
.decklight-fixreview[data-view="slides"][data-builds="on"] .fr-pane { cursor: pointer; }
|
|
1074
|
+
.decklight-fixreview .fr-label { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .6; margin-bottom: 4px; }
|
|
1075
|
+
.decklight-fixreview .fr-after .fr-label { color: #4ec98a; opacity: .9; }
|
|
1076
|
+
.decklight-fixreview .fr-pane iframe {
|
|
1077
|
+
display: block;
|
|
1078
|
+
width: 100%;
|
|
1079
|
+
aspect-ratio: 16 / 9;
|
|
1080
|
+
height: auto;
|
|
1081
|
+
border: 1px solid rgba(255, 255, 255, .12);
|
|
1082
|
+
border-radius: 6px;
|
|
1083
|
+
background: #000;
|
|
1084
|
+
/* looked at, not driven: a click in a pane would hand the keys to its deck */
|
|
1085
|
+
pointer-events: none;
|
|
1086
|
+
}
|
|
1087
|
+
.decklight-fixreview .fr-gone {
|
|
1088
|
+
position: absolute;
|
|
1089
|
+
inset: 22px 0 0 0;
|
|
1090
|
+
display: flex;
|
|
1091
|
+
align-items: center;
|
|
1092
|
+
justify-content: center;
|
|
1093
|
+
text-align: center;
|
|
1094
|
+
padding: 12px;
|
|
1095
|
+
border: 1px dashed rgba(255, 255, 255, .25);
|
|
1096
|
+
border-radius: 6px;
|
|
1097
|
+
opacity: .7;
|
|
1098
|
+
}
|
|
1099
|
+
.decklight-fixreview .fr-notes {
|
|
1100
|
+
max-height: 22vh;
|
|
1101
|
+
overflow: auto;
|
|
1102
|
+
padding: 8px 12px;
|
|
1103
|
+
border-radius: 8px;
|
|
1104
|
+
background: rgba(255, 255, 255, .04);
|
|
1105
|
+
}
|
|
1106
|
+
.decklight-fixreview .fr-notes-head { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; opacity: .6; margin-bottom: 6px; }
|
|
1107
|
+
.decklight-fixreview .fr-notes-body { white-space: pre-wrap; word-break: break-word; }
|
|
1108
|
+
.decklight-fixreview .fr-code { font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; }
|
|
1109
|
+
.decklight-fixreview .fr-notes del { background: rgba(229, 83, 61, .22); color: #ffb4a8; text-decoration: line-through; }
|
|
1110
|
+
.decklight-fixreview .fr-notes ins { background: rgba(80, 200, 120, .22); color: #b6f5c8; text-decoration: none; }
|
|
1111
|
+
/* room around a change of one letter or one comma, so it can be seen */
|
|
1112
|
+
.decklight-fixreview .fr-notes :is(del, ins) { padding: 0 .1em; border-radius: 3px; }
|
|
1113
|
+
/* the slide's text, a line a change: where, what it was, what it would be */
|
|
1114
|
+
.decklight-fixreview .fr-hunks { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 2px; }
|
|
1115
|
+
.decklight-fixreview .fr-hunk-place, .decklight-fixreview .fr-hunk-small { opacity: .6; }
|
|
1116
|
+
.decklight-fixreview .fr-quote { white-space: pre-wrap; }
|
|
1117
|
+
.decklight-fixreview .fr-btn.fr-from { font-size: 11px; padding: 0 6px; }
|
|
1118
|
+
/* the slide's own settings, and why a change opened fully built */
|
|
1119
|
+
.decklight-fixreview .fr-attr { font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; color: #f2c46d; }
|
|
1120
|
+
.decklight-fixreview .fr-unseen { color: #f2c46d; opacity: .9; }
|
|
1121
|
+
.decklight-fixreview .fr-bar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
|
|
1122
|
+
.decklight-fixreview .fr-gap { flex: 1 1 auto; }
|
|
1123
|
+
.decklight-fixreview .fr-btn {
|
|
1124
|
+
padding: 5px 12px;
|
|
1125
|
+
border: 1px solid rgba(128, 128, 128, .35);
|
|
1126
|
+
border-radius: 6px;
|
|
1127
|
+
background: transparent;
|
|
1128
|
+
color: inherit;
|
|
1129
|
+
font: inherit;
|
|
1130
|
+
cursor: pointer;
|
|
698
1131
|
}
|
|
699
|
-
.decklight-
|
|
700
|
-
.decklight-
|
|
701
|
-
.decklight-
|
|
702
|
-
.decklight-
|
|
703
|
-
.decklight-
|
|
1132
|
+
.decklight-fixreview .fr-btn:hover:not(:disabled) { background: rgba(128, 128, 128, .18); }
|
|
1133
|
+
.decklight-fixreview .fr-btn:disabled { opacity: .35; cursor: default; }
|
|
1134
|
+
.decklight-fixreview .fr-prev,
|
|
1135
|
+
.decklight-fixreview .fr-next { font-size: 16px; line-height: 1; padding: 4px 10px; }
|
|
1136
|
+
.decklight-fixreview .fr-cc { font-size: 10px; font-weight: 600; letter-spacing: .04em; opacity: .6; }
|
|
1137
|
+
.decklight-fixreview .fr-cc[aria-pressed="true"] { opacity: 1; background: rgba(128, 128, 128, .22); }
|
|
1138
|
+
.decklight-fixreview .fr-primary { background: #3b82f6; border-color: #3b82f6; color: #fff; }
|
|
1139
|
+
.decklight-fixreview .fr-primary:hover:not(:disabled) { background: #2f6fd8; }
|
|
1140
|
+
.decklight-fixreview .fr-approve { color: #4ec98a; border-color: rgba(78, 201, 138, .5); }
|
|
1141
|
+
.decklight-fixreview .fr-reject { color: #f2777a; border-color: rgba(242, 119, 122, .5); }
|
|
1142
|
+
.decklight-fixreview .fr-state { font-size: 12px; opacity: .8; margin: 0 6px; max-width: 40ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
1143
|
+
.decklight-fixreview .fr-state[data-state="approved"] { color: #4ec98a; }
|
|
1144
|
+
.decklight-fixreview .fr-state[data-state="rejected"] { color: #f2777a; }
|
|
1145
|
+
.decklight-fixreview .fr-box { display: flex; gap: 6px; align-items: flex-start; }
|
|
1146
|
+
.decklight-fixreview .fr-box textarea {
|
|
1147
|
+
flex: 1 1 auto;
|
|
1148
|
+
resize: vertical;
|
|
1149
|
+
padding: 6px 10px;
|
|
1150
|
+
border-radius: 6px;
|
|
1151
|
+
border: 1px solid rgba(255, 255, 255, .15);
|
|
1152
|
+
background: rgba(255, 255, 255, .06);
|
|
1153
|
+
color: inherit;
|
|
1154
|
+
font: inherit;
|
|
1155
|
+
}
|
|
1156
|
+
.decklight-fixreview .fr-foot { font-size: 12px; opacity: .55; }
|
|
1157
|
+
/* their display is set above, which would otherwise outrank [hidden] */
|
|
1158
|
+
.decklight-fixreview [hidden] { display: none; }
|
|
1159
|
+
@media (max-width: 760px) {
|
|
1160
|
+
.decklight-fixreview .fr-panes { grid-template-columns: 1fr; }
|
|
1161
|
+
.decklight-fixreview .fr-body { grid-template-columns: 1fr; }
|
|
1162
|
+
.decklight-fixreview .fr-rail { max-height: 18vh; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 0 0 6px; }
|
|
1163
|
+
.decklight-fixreview .fr-side { grid-template-columns: 1fr; }
|
|
1164
|
+
.decklight-fixreview .fr-side-after { border-left: 0; padding-left: 0; }
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
/* Walking only the changes (D), the stop's kind under the position, in the
|
|
1168
|
+
commit window's three colours. */
|
|
1169
|
+
.decklight-history .hs-kind { font-size: 0.82em; white-space: nowrap; text-align: center; }
|
|
704
1170
|
.decklight-history .hs-kind[hidden] { display: none; }
|
|
705
1171
|
.decklight-history .hs-k-changed { color: #f2c46d; }
|
|
706
1172
|
.decklight-history .hs-k-added { color: #7cd6a3; }
|
|
@@ -797,6 +1263,22 @@
|
|
|
797
1263
|
pointer-events: none;
|
|
798
1264
|
}
|
|
799
1265
|
.decklight-toast.show { opacity: 1; transform: none; }
|
|
1266
|
+
/* a toast that asks: it stays until answered, so its buttons take the pointer */
|
|
1267
|
+
.decklight-toast-ask { pointer-events: auto; }
|
|
1268
|
+
.decklight-toast-ask .toast-actions { display: flex; gap: 8px; margin-top: 8px; }
|
|
1269
|
+
.decklight-toast-ask .toast-act {
|
|
1270
|
+
font: 600 16px/1.2 var(--font-mono, monospace);
|
|
1271
|
+
color: #fff;
|
|
1272
|
+
background: rgba(255, 255, 255, .14);
|
|
1273
|
+
border: 1px solid rgba(255, 255, 255, .35);
|
|
1274
|
+
border-radius: 6px;
|
|
1275
|
+
padding: 5px 12px;
|
|
1276
|
+
cursor: pointer;
|
|
1277
|
+
}
|
|
1278
|
+
.decklight-toast-ask .toast-act:first-child { background: var(--accent, #7ee787); border-color: transparent; color: #000; }
|
|
1279
|
+
.decklight-toast-ask .toast-act.toast-dismiss:first-child { background: rgba(255, 255, 255, .14); color: #fff; }
|
|
1280
|
+
.decklight-toast-ask .toast-act:disabled { opacity: .5; cursor: default; }
|
|
1281
|
+
.decklight-toast-ask .toast-act:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
|
|
800
1282
|
|
|
801
1283
|
/* the log panel (`): Messages, every message with the time it arrived, and
|
|
802
1284
|
Events, the debug stream — one panel, two tabs (engine.js openLog) */
|
|
@@ -864,7 +1346,9 @@
|
|
|
864
1346
|
in a data-build="draw" svg, or one carrying data-build itself) */
|
|
865
1347
|
.decklight .build-step[data-build-style="draw"] .draw-stroke,
|
|
866
1348
|
.decklight .build-step.draw-stroke[data-build-style="draw"] {
|
|
867
|
-
stroke
|
|
1349
|
+
/* the gap outruns the stroke: at one length, the next dash began where a
|
|
1350
|
+
closed rounded outline closes, a speck on a pending step (#1214) */
|
|
1351
|
+
stroke-dasharray: var(--draw-len) calc(var(--draw-len) * 2);
|
|
868
1352
|
stroke-dashoffset: var(--draw-len);
|
|
869
1353
|
transition: stroke-dashoffset calc(var(--build-duration) * 2.2) ease;
|
|
870
1354
|
}
|
|
@@ -883,6 +1367,23 @@
|
|
|
883
1367
|
opacity: 1;
|
|
884
1368
|
}
|
|
885
1369
|
.decklight .build-step[data-build-style="draw"][data-build-state="pending"] .draw-fade { opacity: 0; }
|
|
1370
|
+
/* the fill of a drawn shape (#973): out while pending, in once its outline
|
|
1371
|
+
has drawn, back up to the shape's own fill-opacity (read by the engine).
|
|
1372
|
+
Every .draw-fill is a .draw-stroke too, and `transition` is one property:
|
|
1373
|
+
this rule comes after the stroke's and carries both, dash offset first
|
|
1374
|
+
(the restore after a CSS draw reads the first duration) */
|
|
1375
|
+
.decklight .build-step[data-build-style="draw"] .draw-fill,
|
|
1376
|
+
.decklight .build-step.draw-fill[data-build-style="draw"] {
|
|
1377
|
+
fill-opacity: 0;
|
|
1378
|
+
transition: stroke-dashoffset calc(var(--build-duration) * 2.2) ease,
|
|
1379
|
+
fill-opacity var(--build-duration) ease calc(var(--build-duration) * 1.2);
|
|
1380
|
+
}
|
|
1381
|
+
.decklight .build-step[data-build-style="draw"][data-build-state="current"] .draw-fill,
|
|
1382
|
+
.decklight .build-step[data-build-style="draw"][data-build-state="done"] .draw-fill,
|
|
1383
|
+
.decklight .build-step.draw-fill[data-build-style="draw"][data-build-state="current"],
|
|
1384
|
+
.decklight .build-step.draw-fill[data-build-style="draw"][data-build-state="done"] {
|
|
1385
|
+
fill-opacity: var(--draw-fill-op, 1);
|
|
1386
|
+
}
|
|
886
1387
|
.decklight .build-step[data-build-style="draw"][data-build-state="pending"] {
|
|
887
1388
|
/* strokes hidden by full dash offset; keep element itself visible */
|
|
888
1389
|
opacity: 1;
|
|
@@ -895,11 +1396,54 @@
|
|
|
895
1396
|
/* the reveal inside the mask a dashed stroke draws through (#737): moved by
|
|
896
1397
|
the same frame loop, its duration read the same way */
|
|
897
1398
|
.decklight .draw-mask-stroke { transition: opacity calc(var(--build-duration) * 2.2) ease; }
|
|
1399
|
+
/* a token along a wire (BUILD_ENTRANCES, travel): the engine's, put after the
|
|
1400
|
+
wire and moved by travel.js. Its pace (four build durations) and its fade
|
|
1401
|
+
(one) are here only to be READ, so a theme's --build-duration sets both;
|
|
1402
|
+
reduced motion, print and instant application are travel.js's to honour */
|
|
1403
|
+
.decklight .travel-token {
|
|
1404
|
+
visibility: hidden;
|
|
1405
|
+
pointer-events: none;
|
|
1406
|
+
animation-duration: calc(var(--build-duration) * 4);
|
|
1407
|
+
transition-property: none;
|
|
1408
|
+
transition-duration: var(--build-duration);
|
|
1409
|
+
}
|
|
1410
|
+
.decklight .travel-token.travel-on { visibility: visible; }
|
|
1411
|
+
.decklight .travel-token .travel-chip-text { font-family: var(--font-body, system-ui, sans-serif); font-weight: 650; }
|
|
1412
|
+
/* a pulse arrival: the node the wire goes to glows once in the accent */
|
|
1413
|
+
.decklight svg .travel-pulse { animation: dl-travel-pulse 700ms ease-out; }
|
|
1414
|
+
@keyframes dl-travel-pulse {
|
|
1415
|
+
0%, 100% { filter: none; }
|
|
1416
|
+
25% { filter: drop-shadow(0 0 2px var(--accent, #6af)) drop-shadow(0 0 9px var(--accent, #6af)) drop-shadow(0 0 20px color-mix(in srgb, var(--accent, #6af) 70%, transparent)) brightness(1.08); }
|
|
1417
|
+
}
|
|
1418
|
+
/* the overview shows a slide as it ends: a token that stays, at its end; one that goes, gone */
|
|
1419
|
+
.decklight-overview-grid .travel-token[data-arrive="stay"] { visibility: visible !important; opacity: 1 !important; }
|
|
1420
|
+
.decklight-overview-grid .travel-token:not([data-arrive="stay"]) { visibility: hidden !important; }
|
|
1421
|
+
/* write mode with the bar on (PRESENTING_EDITING): a step still to come is
|
|
1422
|
+
shown dimmed where it will land instead of hidden, so it takes a click and
|
|
1423
|
+
can be selected, typed in and removed. Its strokes are drawn and its fades
|
|
1424
|
+
in, as the overview shows them; the dimming is the one difference. The bar
|
|
1425
|
+
off (presenting, fullscreen, the lock), print and export keep the builds.
|
|
1426
|
+
The author can also hide them while the bar is on: "Show steps still to
|
|
1427
|
+
come" (D, the palette, the Builds tab; editbar.js) takes the class off, so
|
|
1428
|
+
the slide plays click by click as when presenting, with no CSS of its own. */
|
|
1429
|
+
.decklight.dl-show-waiting .build-step[data-build-state="pending"] {
|
|
1430
|
+
visibility: visible !important;
|
|
1431
|
+
opacity: var(--dl-waiting-opacity, 0.35) !important;
|
|
1432
|
+
transform: none !important;
|
|
1433
|
+
}
|
|
1434
|
+
.decklight.dl-show-waiting .build-step[data-build-state="pending"] .draw-stroke,
|
|
1435
|
+
.decklight.dl-show-waiting .build-step.draw-stroke[data-build-state="pending"] { stroke-dashoffset: 0 !important; }
|
|
1436
|
+
.decklight.dl-show-waiting .build-step[data-build-state="pending"] .draw-fade { opacity: 1 !important; }
|
|
1437
|
+
.decklight.dl-show-waiting .build-step[data-build-state="pending"] .draw-fill,
|
|
1438
|
+
.decklight.dl-show-waiting .build-step.draw-fill[data-build-state="pending"] { fill-opacity: var(--draw-fill-op, 1) !important; }
|
|
1439
|
+
.decklight.dl-show-waiting .build-step[data-build-state="pending"] [data-draw-masked],
|
|
1440
|
+
.decklight.dl-show-waiting .build-step[data-draw-masked][data-build-state="pending"] { mask: none !important; }
|
|
898
1441
|
|
|
899
1442
|
/* instant application (slide entry, deep links, back-nav restore) */
|
|
900
1443
|
.decklight.decklight-no-anim .build-step,
|
|
901
1444
|
.decklight.decklight-no-anim .build-step .draw-stroke,
|
|
902
1445
|
.decklight.decklight-no-anim .build-step .draw-fade,
|
|
1446
|
+
.decklight.decklight-no-anim .build-step .draw-fill,
|
|
903
1447
|
.decklight.decklight-no-anim .draw-head,
|
|
904
1448
|
.decklight.decklight-no-anim .draw-mask-stroke {
|
|
905
1449
|
transition: none !important;
|
|
@@ -1013,6 +1557,16 @@
|
|
|
1013
1557
|
background: none;
|
|
1014
1558
|
white-space: pre;
|
|
1015
1559
|
}
|
|
1560
|
+
.decklight mark {
|
|
1561
|
+
background: var(--mark-bg);
|
|
1562
|
+
color: var(--mark-fg, inherit);
|
|
1563
|
+
padding: 0 0.12em;
|
|
1564
|
+
border-radius: 0.15em;
|
|
1565
|
+
-webkit-box-decoration-break: clone;
|
|
1566
|
+
box-decoration-break: clone;
|
|
1567
|
+
}
|
|
1568
|
+
/* a superscript or a subscript does not push its line away from the next */
|
|
1569
|
+
.decklight sup, .decklight sub { line-height: 0; }
|
|
1016
1570
|
.decklight :not(pre) > code {
|
|
1017
1571
|
font-family: var(--font-mono, ui-monospace, monospace);
|
|
1018
1572
|
font-size: 0.9em;
|
|
@@ -1020,6 +1574,9 @@
|
|
|
1020
1574
|
padding: 0.1em 0.35em;
|
|
1021
1575
|
border-radius: 5px;
|
|
1022
1576
|
}
|
|
1577
|
+
/* data-fit (#958): while code/fit.js measures, a pending build stands where it
|
|
1578
|
+
will land — an entrance offset is not where the content ends up */
|
|
1579
|
+
.decklight section.dl-fit-measure .build-step { transform: none !important; transition: none !important; }
|
|
1023
1580
|
.decklight .code-line { display: block; min-height: 1.55em; transition: opacity var(--build-duration) ease; }
|
|
1024
1581
|
.decklight pre.line-numbers { counter-reset: dl-line; }
|
|
1025
1582
|
.decklight pre.line-numbers .code-line { counter-increment: dl-line; }
|
|
@@ -1034,6 +1591,148 @@
|
|
|
1034
1591
|
}
|
|
1035
1592
|
.decklight .code-line.line-dim { opacity: var(--dim-opacity); }
|
|
1036
1593
|
.decklight .code-line.line-hl { opacity: 1; }
|
|
1594
|
+
/* data-lines-end="all": the walk ends lit with no step of its own. Its last
|
|
1595
|
+
step keeps its dimming while it is the click on screen; the dimming lifts at
|
|
1596
|
+
the next build of the slide, as the slide leaves, and wherever the slide is
|
|
1597
|
+
a picture of its end (the overview, print, a still). CODE_AND_MATH */
|
|
1598
|
+
.decklight pre[data-lines-end="all"].lines-past .code-line.line-dim,
|
|
1599
|
+
.decklight section.leaving pre[data-lines-end="all"].lines-last .code-line.line-dim,
|
|
1600
|
+
.decklight .ov-clone pre[data-lines-end="all"].lines-last .code-line.line-dim,
|
|
1601
|
+
.decklight.decklight-print pre[data-lines-end="all"].lines-last .code-line.line-dim,
|
|
1602
|
+
.decklight.decklight-capture pre[data-lines-end="all"].lines-last .code-line.line-dim { opacity: 1; }
|
|
1603
|
+
/* the printed page (?print, PDF, PPTX) shows a stepped block whole, whatever
|
|
1604
|
+
its last step lit; data-lines-print="last" keeps that step's dimming */
|
|
1605
|
+
.decklight.decklight-print pre.stepping:not([data-lines-print="last"]) .code-line.line-dim,
|
|
1606
|
+
.decklight.decklight-capture-print pre.stepping:not([data-lines-print="last"]) .code-line.line-dim { opacity: 1; }
|
|
1607
|
+
|
|
1608
|
+
/* callouts (#1182): a line step's label, drawn while its step is current, in a
|
|
1609
|
+
gutter the block keeps at its right, level with the middle of its lines and
|
|
1610
|
+
a bracket spanning them (code/code.js places them). A block whose room is
|
|
1611
|
+
too narrow for a gutter shows the one current label just under its lines,
|
|
1612
|
+
pushing nothing; when it shows several at once (data-callouts-keep, the
|
|
1613
|
+
printed page) each step has a numbered marker in a slim column at the
|
|
1614
|
+
block's right, by a bracket spanning its lines, and the labels are listed
|
|
1615
|
+
by number under the code, in the block's own flow. The label is the code's
|
|
1616
|
+
ink on the code's ground, in the body face; the bracket and the marker's
|
|
1617
|
+
ring are --callout-ink (the accent unless the theme says otherwise).
|
|
1618
|
+
CODE_AND_MATH */
|
|
1619
|
+
.decklight pre.has-callouts { position: relative; }
|
|
1620
|
+
.decklight pre.callouts-gutter { box-sizing: border-box; padding-right: calc(1em + var(--code-callout-width, 26%)); }
|
|
1621
|
+
.decklight pre.callouts-legend { box-sizing: border-box; padding-right: 2.4em; }
|
|
1622
|
+
.decklight .code-callouts,
|
|
1623
|
+
.decklight .code-callout-legend {
|
|
1624
|
+
pointer-events: none;
|
|
1625
|
+
font-family: var(--font-body, system-ui, sans-serif);
|
|
1626
|
+
font-size: 0.6em;
|
|
1627
|
+
font-style: normal;
|
|
1628
|
+
font-weight: normal;
|
|
1629
|
+
line-height: 1.3;
|
|
1630
|
+
white-space: normal;
|
|
1631
|
+
text-align: left;
|
|
1632
|
+
}
|
|
1633
|
+
.decklight .code-callouts { position: absolute; top: 0; height: 100%; }
|
|
1634
|
+
.decklight section.dl-fit-measure .code-callouts { display: none; }
|
|
1635
|
+
/* a label's own markup (the aside form): words in code read as inline code, not as the block's */
|
|
1636
|
+
.decklight .code-callout-label code {
|
|
1637
|
+
display: inline;
|
|
1638
|
+
font-size: 0.95em;
|
|
1639
|
+
line-height: inherit;
|
|
1640
|
+
color: inherit;
|
|
1641
|
+
white-space: normal;
|
|
1642
|
+
background: var(--block-bg, rgba(128,128,128,.15));
|
|
1643
|
+
padding: 0.05em 0.3em;
|
|
1644
|
+
border-radius: 4px;
|
|
1645
|
+
}
|
|
1646
|
+
.decklight .code-callout { position: absolute; left: 0; right: 0; }
|
|
1647
|
+
.decklight .code-callout,
|
|
1648
|
+
.decklight .code-callout-entry {
|
|
1649
|
+
--dl-callout-line: var(--callout-ink, var(--accent, #7aa2f7));
|
|
1650
|
+
color: var(--code-fg, #e6e6e6);
|
|
1651
|
+
opacity: 0;
|
|
1652
|
+
visibility: hidden;
|
|
1653
|
+
transition: opacity var(--build-duration) ease, visibility 0s linear var(--build-duration);
|
|
1654
|
+
}
|
|
1655
|
+
.decklight .code-callout.callout-on,
|
|
1656
|
+
.decklight .code-callout.callout-kept,
|
|
1657
|
+
.decklight .code-callout-entry.callout-on,
|
|
1658
|
+
.decklight .code-callout-entry.callout-kept { opacity: 1; visibility: visible; transition: opacity var(--build-duration) ease, visibility 0s; }
|
|
1659
|
+
/* data-callouts-keep: an earlier step's label stays, muted, as the walk goes on */
|
|
1660
|
+
.decklight .code-callout.callout-kept,
|
|
1661
|
+
.decklight .code-callout-entry.callout-kept { color: var(--hl-comment, #7d8799); --dl-callout-line: var(--hl-comment, #7d8799); }
|
|
1662
|
+
.decklight pre.callouts-gutter .code-callout-bracket,
|
|
1663
|
+
.decklight pre.callouts-legend .code-callout-bracket {
|
|
1664
|
+
position: absolute;
|
|
1665
|
+
left: 0.7em;
|
|
1666
|
+
top: 0.2em;
|
|
1667
|
+
bottom: 0.2em;
|
|
1668
|
+
width: 0.45em;
|
|
1669
|
+
border: 0.16em solid var(--dl-callout-line);
|
|
1670
|
+
border-left: none;
|
|
1671
|
+
border-radius: 0 0.25em 0.25em 0;
|
|
1672
|
+
}
|
|
1673
|
+
.decklight pre.callouts-gutter .code-callout-label { position: absolute; left: 1.7em; right: 0; top: 0; }
|
|
1674
|
+
.decklight pre.callouts-under .code-callout-bracket { display: none; }
|
|
1675
|
+
.decklight pre.callouts-under .code-callout-label {
|
|
1676
|
+
display: block;
|
|
1677
|
+
width: fit-content;
|
|
1678
|
+
max-width: 100%;
|
|
1679
|
+
box-sizing: border-box;
|
|
1680
|
+
padding: 0.2em 0.7em;
|
|
1681
|
+
background: var(--code-bg, #1d1f27);
|
|
1682
|
+
border-left: 0.25em solid var(--dl-callout-line);
|
|
1683
|
+
border-radius: 0 0.3em 0.3em 0;
|
|
1684
|
+
box-shadow: var(--shadow, 0 6px 24px rgba(0,0,0,.25));
|
|
1685
|
+
}
|
|
1686
|
+
/* a narrow block showing several: a step's number by its bracket, its words in the legend */
|
|
1687
|
+
.decklight .code-callout-mark {
|
|
1688
|
+
display: inline-flex;
|
|
1689
|
+
align-items: center;
|
|
1690
|
+
justify-content: center;
|
|
1691
|
+
box-sizing: border-box;
|
|
1692
|
+
min-width: 1.5em;
|
|
1693
|
+
height: 1.5em;
|
|
1694
|
+
padding: 0 0.3em;
|
|
1695
|
+
border: 0.13em solid var(--dl-callout-line);
|
|
1696
|
+
border-radius: 0.75em;
|
|
1697
|
+
font-size: 0.9em;
|
|
1698
|
+
font-weight: 600;
|
|
1699
|
+
line-height: 1;
|
|
1700
|
+
font-variant-numeric: tabular-nums;
|
|
1701
|
+
}
|
|
1702
|
+
.decklight .code-callouts .code-callout-mark { display: none; }
|
|
1703
|
+
.decklight pre.callouts-legend .code-callouts .code-callout-mark { display: inline-flex; position: absolute; left: 1.45em; top: 50%; transform: translateY(-50%); }
|
|
1704
|
+
.decklight pre.callouts-legend .code-callouts .code-callout-label { display: none; }
|
|
1705
|
+
.decklight .code-callout-legend { display: none; }
|
|
1706
|
+
.decklight pre.callouts-legend .code-callout-legend {
|
|
1707
|
+
display: flex;
|
|
1708
|
+
flex-direction: column;
|
|
1709
|
+
gap: 0.35em;
|
|
1710
|
+
margin-top: 0.8em;
|
|
1711
|
+
padding-top: 0.7em;
|
|
1712
|
+
border-top: 1px solid color-mix(in srgb, var(--hl-comment, #7d8799) 40%, transparent);
|
|
1713
|
+
}
|
|
1714
|
+
.decklight .code-callout-entry { display: flex; align-items: baseline; gap: 0.6em; }
|
|
1715
|
+
.decklight .code-callout-entry .code-callout-mark { flex: none; }
|
|
1716
|
+
/* a walk that ends lit (data-lines-end="all"): its last label leaves with the
|
|
1717
|
+
dimming, or, kept, every label stays at full ink over the whole block */
|
|
1718
|
+
.decklight pre[data-lines-end="all"].lines-past:not([data-callouts-keep]) :is(.code-callout, .code-callout-entry),
|
|
1719
|
+
.decklight section.leaving pre[data-lines-end="all"].lines-last:not([data-callouts-keep]) :is(.code-callout, .code-callout-entry),
|
|
1720
|
+
.decklight .ov-clone pre[data-lines-end="all"].lines-last:not([data-callouts-keep]) :is(.code-callout, .code-callout-entry),
|
|
1721
|
+
.decklight.decklight-print pre[data-lines-end="all"].lines-last:not([data-callouts-keep]) :is(.code-callout, .code-callout-entry),
|
|
1722
|
+
.decklight.decklight-capture pre[data-lines-end="all"].lines-last:not([data-callouts-keep]) :is(.code-callout, .code-callout-entry) { opacity: 0; visibility: hidden; }
|
|
1723
|
+
.decklight pre[data-lines-end="all"].lines-past[data-callouts-keep] :is(.code-callout, .code-callout-entry).callout-kept,
|
|
1724
|
+
.decklight section.leaving pre[data-lines-end="all"].lines-last[data-callouts-keep] :is(.code-callout, .code-callout-entry).callout-kept,
|
|
1725
|
+
.decklight .ov-clone pre[data-lines-end="all"].lines-last[data-callouts-keep] :is(.code-callout, .code-callout-entry).callout-kept,
|
|
1726
|
+
.decklight.decklight-print pre[data-lines-end="all"].lines-last[data-callouts-keep] :is(.code-callout, .code-callout-entry).callout-kept,
|
|
1727
|
+
.decklight.decklight-capture pre[data-lines-end="all"].lines-last[data-callouts-keep] :is(.code-callout, .code-callout-entry).callout-kept { color: var(--code-fg, #e6e6e6); --dl-callout-line: var(--callout-ink, var(--accent, #7aa2f7)); }
|
|
1728
|
+
/* the printed page shows the block whole, so every label at full ink: in the
|
|
1729
|
+
gutter, or numbered in a narrow block's legend (code.js gives a narrow
|
|
1730
|
+
block the legend there). data-lines-print="last" prints the last step as
|
|
1731
|
+
the room saw it */
|
|
1732
|
+
.decklight.decklight-print pre.stepping:is(.callouts-gutter, .callouts-legend):not([data-lines-print="last"]) :is(.code-callout, .code-callout-entry),
|
|
1733
|
+
.decklight.decklight-capture-print pre.stepping:is(.callouts-gutter, .callouts-legend):not([data-lines-print="last"]) :is(.code-callout, .code-callout-entry) {
|
|
1734
|
+
opacity: 1; visibility: visible; color: var(--code-fg, #e6e6e6); --dl-callout-line: var(--callout-ink, var(--accent, #7aa2f7));
|
|
1735
|
+
}
|
|
1037
1736
|
|
|
1038
1737
|
/* hljs token → theme token mapping (no separate hljs theme files) */
|
|
1039
1738
|
.decklight .hljs-keyword, .decklight .hljs-literal, .decklight .hljs-selector-tag { color: var(--hl-keyword, #c792ea); }
|
|
@@ -1057,7 +1756,10 @@
|
|
|
1057
1756
|
.decklight .terminal ::selection { background: var(--term-selection, rgba(120,150,255,.35)); }
|
|
1058
1757
|
|
|
1059
1758
|
/* ---------- chrome --------------------------------------------------------- */
|
|
1060
|
-
|
|
1759
|
+
/* right and bottom clear a docked panel's gutter (dock.js sets --dock-* on the
|
|
1760
|
+
root, the same figures the stage reflows by); divided by the chrome's zoom,
|
|
1761
|
+
which scales every length on these, the gutter included */
|
|
1762
|
+
.decklight-controls { position: absolute; right: calc(18px + var(--dock-right, 0px) / var(--chrome-k, 1)); bottom: calc(14px + var(--dock-bottom, 0px) / var(--chrome-k, 1)); z-index: 40; display: flex; gap: 6px; }
|
|
1061
1763
|
.decklight-arrow {
|
|
1062
1764
|
background: transparent;
|
|
1063
1765
|
border: 0;
|
|
@@ -1092,7 +1794,7 @@
|
|
|
1092
1794
|
.decklight-annotate.tool-laser { pointer-events: auto; cursor: none; }
|
|
1093
1795
|
.decklight-slide-number {
|
|
1094
1796
|
position: absolute;
|
|
1095
|
-
right: 20px;
|
|
1797
|
+
right: calc(20px + var(--dock-right, 0px) / var(--chrome-k, 1));
|
|
1096
1798
|
top: 16px;
|
|
1097
1799
|
z-index: 40;
|
|
1098
1800
|
color: var(--muted, #888);
|
|
@@ -1231,6 +1933,29 @@
|
|
|
1231
1933
|
corner and steps down while the chip is up (`has-commit-chip`).
|
|
1232
1934
|
Clickable, because a statement you can act on should be actionable where it
|
|
1233
1935
|
is, and the deck's own keyboard help is one key away. */
|
|
1936
|
+
/* a reload held for unsaved work, and the edit server gone (editmode.js):
|
|
1937
|
+
top centre, above the slide and every panel, until they are over */
|
|
1938
|
+
.decklight-alerts {
|
|
1939
|
+
position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 60;
|
|
1940
|
+
display: flex; flex-direction: column; gap: 8px;
|
|
1941
|
+
width: max-content; max-width: calc(100% - 32px);
|
|
1942
|
+
}
|
|
1943
|
+
.decklight-held, .decklight-offline {
|
|
1944
|
+
display: flex; align-items: center; gap: 12px; max-width: 80ch;
|
|
1945
|
+
background: rgba(0, 0, 0, .86); color: #fff;
|
|
1946
|
+
font: 500 14px/1.4 system-ui, sans-serif;
|
|
1947
|
+
padding: 9px 14px; border-radius: 10px;
|
|
1948
|
+
border-left: 4px solid var(--accent, #7ee787);
|
|
1949
|
+
box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
|
|
1950
|
+
}
|
|
1951
|
+
.decklight-offline { border-left-color: #f85149; }
|
|
1952
|
+
.decklight-held .held-now {
|
|
1953
|
+
flex: none; font: 600 13px/1.2 system-ui, sans-serif; color: #fff; cursor: pointer;
|
|
1954
|
+
background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35);
|
|
1955
|
+
border-radius: 6px; padding: 5px 10px;
|
|
1956
|
+
}
|
|
1957
|
+
.decklight-held .held-now:hover { background: rgba(255, 255, 255, .24); }
|
|
1958
|
+
.decklight-held .held-now:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
|
|
1234
1959
|
/* the lock (editmode.js): a statement at the other corner, while changes are off */
|
|
1235
1960
|
.decklight-lock-chip {
|
|
1236
1961
|
position: absolute; left: 16px; bottom: 16px; z-index: 42;
|
|
@@ -1284,7 +2009,25 @@
|
|
|
1284
2009
|
font-variant-numeric: tabular-nums;
|
|
1285
2010
|
padding: 7px 12px; border-radius: 999px;
|
|
1286
2011
|
pointer-events: none; user-select: none;
|
|
2012
|
+
display: flex; align-items: center; gap: 8px;
|
|
2013
|
+
}
|
|
2014
|
+
/* a clipped slide says so on its number (editmode.js, PRESENTING_EDITING):
|
|
2015
|
+
the guardrail's red, pulled toward the theme's own text so it reads on a
|
|
2016
|
+
dark canvas and a light one alike; the one part of the pill that clicks
|
|
2017
|
+
(Check deck, on that slide's row) */
|
|
2018
|
+
.decklight-slide-num .sn-clip {
|
|
2019
|
+
--sn-clip: color-mix(in oklab, #e5534b 70%, var(--fg, #eee));
|
|
2020
|
+
pointer-events: auto; cursor: pointer;
|
|
2021
|
+
margin: -3px -6px -3px 0; padding: 3px 7px;
|
|
2022
|
+
font: 700 11px/1 var(--font-mono, monospace); letter-spacing: .02em;
|
|
2023
|
+
color: var(--sn-clip);
|
|
2024
|
+
background: color-mix(in srgb, var(--sn-clip) 14%, transparent);
|
|
2025
|
+
border: 1px solid color-mix(in srgb, var(--sn-clip) 55%, transparent);
|
|
2026
|
+
border-radius: 999px;
|
|
1287
2027
|
}
|
|
2028
|
+
.decklight-slide-num .sn-clip::before { content: '\25B2'; font-size: 8px; margin-right: 4px; vertical-align: 1px; }
|
|
2029
|
+
.decklight-slide-num .sn-clip:hover { background: color-mix(in srgb, var(--sn-clip) 26%, transparent); }
|
|
2030
|
+
.decklight-slide-num .sn-clip:focus-visible { outline: 2px solid var(--accent, #6af); outline-offset: 2px; }
|
|
1288
2031
|
.decklight.has-slide-num .decklight-commit-chip { top: 48px; }
|
|
1289
2032
|
.decklight-commit-chip[data-tone="quiet"]:hover { opacity: 1; }
|
|
1290
2033
|
.decklight-commit-chip:hover { background: rgba(0, 0, 0, .85); }
|
|
@@ -1297,27 +2040,56 @@
|
|
|
1297
2040
|
.decklight-commit-chip .cc-sl-removed { color: #f08a7e; }
|
|
1298
2041
|
|
|
1299
2042
|
/* The commit window. Shares the narration card chrome like every other
|
|
1300
|
-
overlay
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
.decklight-commit .
|
|
1304
|
-
.decklight-commit
|
|
1305
|
-
.decklight-commit .cm-
|
|
1306
|
-
.decklight-commit .cm-
|
|
1307
|
-
.decklight-commit .cm-
|
|
1308
|
-
.decklight-commit .cm-
|
|
1309
|
-
.decklight-commit .cm-
|
|
2043
|
+
overlay. Three sections in the order the work goes, commit, tag, push,
|
|
2044
|
+
each named on its own rule and ending in one button at the same right
|
|
2045
|
+
edge; Commit is the only filled one. */
|
|
2046
|
+
.decklight-commit .narr-card { width: min(540px, 90vw); }
|
|
2047
|
+
.decklight-commit [hidden] { display: none !important; }
|
|
2048
|
+
.decklight-commit .cm-sec { padding: 10px 12px 12px; }
|
|
2049
|
+
.decklight-commit .cm-sec + .cm-sec { border-top: 1px solid rgba(255, 255, 255, .08); }
|
|
2050
|
+
.decklight-commit .cm-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .55; margin-bottom: 6px; }
|
|
2051
|
+
.decklight-commit .cm-line { display: flex; align-items: center; gap: 8px; }
|
|
2052
|
+
.decklight-commit .cm-what { font-size: 13px; opacity: .75; margin-bottom: 6px; }
|
|
2053
|
+
.decklight-commit .cm-body { margin-top: 4px; }
|
|
2054
|
+
.decklight-commit .cm-msg-head { justify-content: space-between; margin-bottom: 4px; }
|
|
2055
|
+
.decklight-commit .cm-sub { font-size: 12px; opacity: .6; }
|
|
2056
|
+
.decklight-commit .cm-tools { display: inline-flex; gap: 6px; }
|
|
2057
|
+
.decklight-commit .cm-input { width: 100%; margin: 0 0 8px; resize: vertical; }
|
|
2058
|
+
.decklight-commit .cm-actions { justify-content: flex-end; }
|
|
2059
|
+
.decklight-commit .cm-keys { font-size: 12px; opacity: .5; }
|
|
2060
|
+
/* one button, three weights: primary (Commit), plain (Tag, Push), quiet (the
|
|
2061
|
+
message's own tools) */
|
|
2062
|
+
.decklight-commit .cm-btn {
|
|
2063
|
+
font: inherit;
|
|
2064
|
+
font-size: 13px;
|
|
2065
|
+
line-height: 1.2;
|
|
2066
|
+
min-height: 32px;
|
|
2067
|
+
min-width: 96px;
|
|
2068
|
+
padding: 7px 14px;
|
|
2069
|
+
border-radius: 8px;
|
|
2070
|
+
border: 1px solid rgba(255, 255, 255, .18);
|
|
2071
|
+
background: rgba(255, 255, 255, .08);
|
|
2072
|
+
color: inherit;
|
|
2073
|
+
cursor: pointer;
|
|
2074
|
+
flex: none;
|
|
2075
|
+
}
|
|
2076
|
+
.decklight-commit .cm-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .32); }
|
|
2077
|
+
.decklight-commit .cm-btn:focus-visible { outline: 2px solid var(--accent, #7aa2ff); outline-offset: 2px; }
|
|
2078
|
+
.decklight-commit .cm-btn:disabled { opacity: .4; cursor: default; }
|
|
2079
|
+
.decklight-commit .cm-primary { background: #3f9e6c; border-color: #3f9e6c; color: #fff; font-weight: 600; }
|
|
2080
|
+
.decklight-commit .cm-primary:hover:not(:disabled) { background: #48b079; border-color: #48b079; }
|
|
2081
|
+
.decklight-commit .cm-quiet { min-width: 0; min-height: 28px; padding: 4px 10px; font-size: 12px; background: none; }
|
|
1310
2082
|
/* the thinking mark changes every frame: a fixed-width face keeps the button
|
|
1311
2083
|
from jittering as | / - \ swap and the seconds join */
|
|
2084
|
+
.decklight-commit .cm-write.cm-thinking { font-family: var(--font-mono, ui-monospace, monospace); }
|
|
1312
2085
|
/* subjects are off in this session: the button stays (it is how the option is
|
|
1313
2086
|
found) but reads as not-now, and the reason lands on the hint line below */
|
|
1314
2087
|
.decklight-commit .cm-write.cm-off { opacity: .55; }
|
|
2088
|
+
.decklight-commit .rec-hint { padding: 8px 12px 4px; font-size: 12px; opacity: .55; }
|
|
1315
2089
|
.decklight-commit .rec-hint.cm-why { opacity: .9; }
|
|
1316
2090
|
.decklight-commit .cm-cmd { white-space: nowrap; font-family: var(--font-mono, ui-monospace, monospace); font-size: .95em; }
|
|
1317
|
-
.decklight-commit .cm-write.cm-thinking { font-family: var(--font-mono, ui-monospace, monospace); }
|
|
1318
|
-
.decklight-commit [hidden] { display: none !important; }
|
|
1319
2091
|
/* the slides since the last commit, each count in its colour */
|
|
1320
|
-
.decklight-commit .cm-slides { display: flex; flex-wrap: wrap; gap: 4px 12px;
|
|
2092
|
+
.decklight-commit .cm-slides { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 8px; font-size: 12px; }
|
|
1321
2093
|
.decklight-commit .cm-sl-head { opacity: .6; }
|
|
1322
2094
|
.decklight-commit .cm-sl { font-weight: 600; font-variant-numeric: tabular-nums; }
|
|
1323
2095
|
.decklight-commit .cm-sl::before { content: '\25CF'; margin-right: 4px; }
|
|
@@ -1325,10 +2097,8 @@
|
|
|
1325
2097
|
.decklight-commit .cm-sl-added { color: #7cd6a3; }
|
|
1326
2098
|
.decklight-commit .cm-sl-removed { color: #f08a7e; }
|
|
1327
2099
|
.decklight-commit .cm-sl-zero { opacity: .35; font-weight: 400; }
|
|
1328
|
-
.decklight-commit .cm-single { background: rgba(255, 255, 255, .08); }
|
|
1329
|
-
.decklight-commit .cm-single:hover { background: rgba(255, 255, 255, .16); }
|
|
1330
2100
|
/* several commits proposed: one row each, the subject editable, where it lands beside it */
|
|
1331
|
-
.decklight-commit .cm-plan { display: flex; flex-direction: column; gap: 6px;
|
|
2101
|
+
.decklight-commit .cm-plan { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
|
|
1332
2102
|
.decklight-commit .cm-plan-row { display: flex; align-items: center; gap: 8px; }
|
|
1333
2103
|
.decklight-commit .cm-plan-take { flex: 0 0 auto; margin: 0; accent-color: var(--accent, #7aa2ff); cursor: pointer; }
|
|
1334
2104
|
/* an unticked commit stays uncommitted: its row steps back, still editable */
|
|
@@ -1338,16 +2108,11 @@
|
|
|
1338
2108
|
.decklight-commit .cm-plan-n { width: 1.4em; text-align: right; font-size: 12px; opacity: .6; font-variant-numeric: tabular-nums; }
|
|
1339
2109
|
.decklight-commit .cm-plan-subject { flex: 1; min-width: 0; margin: 0; }
|
|
1340
2110
|
.decklight-commit .cm-plan-where { flex: 0 0 auto; max-width: 34%; font-size: 12px; opacity: .6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1341
|
-
/*
|
|
1342
|
-
.decklight-commit .cm-tagrow, .decklight-commit .cm-pushrow { align-items: center; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 8px; margin-top: 4px; }
|
|
2111
|
+
/* tag a commit, push them */
|
|
1343
2112
|
.decklight-commit .cm-tag { flex: 1; min-width: 0; margin: 0; }
|
|
1344
|
-
.decklight-commit .cm-
|
|
1345
|
-
.decklight-commit .cm-
|
|
2113
|
+
.decklight-commit .cm-tags { display: block; margin-top: 6px; font-size: 12px; opacity: .6; }
|
|
2114
|
+
.decklight-commit .cm-push-what { flex: 1; min-width: 0; font-size: 13px; opacity: .8; }
|
|
1346
2115
|
.decklight-commit .cm-push-go.cm-off { opacity: .45; }
|
|
1347
|
-
/* nothing ticked: the button has nothing to make */
|
|
1348
|
-
.decklight-commit .cm-go:disabled { opacity: .45; cursor: default; }
|
|
1349
|
-
.decklight-commit .cm-tags { font-size: 12px; opacity: .6; white-space: nowrap; }
|
|
1350
|
-
.decklight-commit .cm-push-what { flex: 1; font-size: 12px; opacity: .75; }
|
|
1351
2116
|
|
|
1352
2117
|
.decklight-agent-chip {
|
|
1353
2118
|
position: absolute;
|
|
@@ -1369,6 +2134,16 @@
|
|
|
1369
2134
|
pointer-events: none; /* never in the way of a slide click */
|
|
1370
2135
|
white-space: nowrap;
|
|
1371
2136
|
}
|
|
2137
|
+
/* …except its Stop, the one part of it that is a control */
|
|
2138
|
+
.decklight-agent-chip .agent-chip-stop {
|
|
2139
|
+
pointer-events: auto; cursor: pointer;
|
|
2140
|
+
font: 600 12px/1 system-ui, sans-serif; color: #fff;
|
|
2141
|
+
background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35);
|
|
2142
|
+
border-radius: 999px; padding: 4px 10px; margin-left: 2px;
|
|
2143
|
+
}
|
|
2144
|
+
.decklight-agent-chip .agent-chip-stop:hover { background: rgba(248, 81, 73, .35); }
|
|
2145
|
+
.decklight-agent-chip .agent-chip-stop:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
|
|
2146
|
+
.decklight-agent-chip .agent-chip-stop:disabled { opacity: .5; cursor: default; }
|
|
1372
2147
|
.decklight-agent-chip::before {
|
|
1373
2148
|
content: '';
|
|
1374
2149
|
width: 7px;
|
|
@@ -1401,6 +2176,44 @@
|
|
|
1401
2176
|
}
|
|
1402
2177
|
.decklight-touch-btn:active { background: rgba(70, 70, 74, .6); }
|
|
1403
2178
|
@media (pointer: coarse) { .decklight-touch-controls { display: flex; } }
|
|
2179
|
+
/* the arrows, where they are tapped: a finger-sized target on a quiet scrim,
|
|
2180
|
+
not a faint glyph a few pixels wide */
|
|
2181
|
+
@media (pointer: coarse) {
|
|
2182
|
+
.decklight-controls { gap: 10px; right: calc(12px + var(--dock-right, 0px) / var(--chrome-k, 1)); bottom: calc(12px + var(--dock-bottom, 0px) / var(--chrome-k, 1)); }
|
|
2183
|
+
.decklight-arrow {
|
|
2184
|
+
min-width: 48px; min-height: 48px; padding: 0 12px;
|
|
2185
|
+
display: flex; align-items: center; justify-content: center;
|
|
2186
|
+
border-radius: 12px; border: 1px solid rgba(160, 160, 160, .28);
|
|
2187
|
+
background: rgba(20, 20, 22, .45); color: var(--fg, #e6e6e6);
|
|
2188
|
+
-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
|
|
2189
|
+
-webkit-tap-highlight-color: transparent;
|
|
2190
|
+
}
|
|
2191
|
+
.decklight-arrow:active { background: rgba(70, 70, 74, .6); }
|
|
2192
|
+
}
|
|
2193
|
+
/* the ⋯ menu (engine.js): a short list of big rows under its button */
|
|
2194
|
+
.decklight-touch-menu { position: absolute; inset: 0; z-index: 70; }
|
|
2195
|
+
.decklight-touch-menu .tm-list {
|
|
2196
|
+
position: absolute; left: 14px; top: 68px; min-width: 220px; max-width: calc(100% - 28px);
|
|
2197
|
+
display: flex; flex-direction: column; padding: 6px;
|
|
2198
|
+
background: rgba(20, 20, 22, .94); border: 1px solid rgba(160, 160, 160, .28); border-radius: 14px;
|
|
2199
|
+
box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
|
|
2200
|
+
-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
|
|
2201
|
+
}
|
|
2202
|
+
.decklight-touch-menu .tm-row {
|
|
2203
|
+
display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
|
|
2204
|
+
min-height: 48px; padding: 8px 12px; border: 0; border-radius: 10px;
|
|
2205
|
+
background: transparent; color: #f2f2f2; text-align: left; cursor: pointer;
|
|
2206
|
+
font: 500 16px/1.25 system-ui, sans-serif; -webkit-tap-highlight-color: transparent;
|
|
2207
|
+
}
|
|
2208
|
+
.decklight-touch-menu .tm-row:active, .decklight-touch-menu .tm-row:focus-visible { background: rgba(255, 255, 255, .1); outline: none; }
|
|
2209
|
+
.decklight-touch-menu .tm-sub { font-size: 12px; opacity: .65; font-weight: 400; }
|
|
2210
|
+
/* turn the phone (engine.js): a pill at the bottom while it is upright */
|
|
2211
|
+
.decklight-rotate-hint {
|
|
2212
|
+
position: absolute; left: 50%; bottom: max(70px, calc(env(safe-area-inset-bottom) + 70px)); transform: translateX(-50%); z-index: 60;
|
|
2213
|
+
padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(160, 160, 160, .28);
|
|
2214
|
+
background: rgba(20, 20, 22, .88); color: #f2f2f2; white-space: nowrap;
|
|
2215
|
+
font: 500 15px/1.2 system-ui, sans-serif; cursor: pointer;
|
|
2216
|
+
}
|
|
1404
2217
|
|
|
1405
2218
|
/* a finder row that is another module (a separate file), not a slide here */
|
|
1406
2219
|
.decklight-finder .tp-row.tp-module { color: #cbb6ff; }
|
|
@@ -1409,6 +2222,11 @@
|
|
|
1409
2222
|
.decklight-finder .tp-fold { display: inline-block; width: 1em; text-align: center; cursor: pointer; }
|
|
1410
2223
|
.decklight-finder .tp-fold:hover { color: #fff; }
|
|
1411
2224
|
.decklight-finder .tp-count { opacity: .55; }
|
|
2225
|
+
/* a run's groups (#1188): a group's name over its slides, one step further in */
|
|
2226
|
+
.decklight-finder .tp-row.tp-group { font-weight: 600; }
|
|
2227
|
+
.decklight-finder .tp-row.tp-in-group { padding-left: 30px; }
|
|
2228
|
+
.decklight-finder .tp-row.tp-child.tp-group { padding-left: 30px; }
|
|
2229
|
+
.decklight-finder .tp-row.tp-child.tp-in-group { padding-left: 50px; }
|
|
1412
2230
|
|
|
1413
2231
|
/* overview */
|
|
1414
2232
|
.decklight-overview-grid {
|
|
@@ -1542,6 +2360,7 @@
|
|
|
1542
2360
|
.decklight-overview .build-step { visibility: visible !important; opacity: 1 !important; transform: none !important; }
|
|
1543
2361
|
.decklight-overview .draw-stroke { stroke-dashoffset: 0 !important; }
|
|
1544
2362
|
.decklight-overview .draw-fade { opacity: 1 !important; }
|
|
2363
|
+
.decklight-overview .draw-fill { fill-opacity: var(--draw-fill-op, 1) !important; }
|
|
1545
2364
|
.decklight-overview .draw-head { visibility: visible !important; transition: none !important; }
|
|
1546
2365
|
/* a dashed stroke shows whole: the thumbnail is a clone, so its mask's id
|
|
1547
2366
|
names the live slide's mid-draw mask, not its own */
|
|
@@ -1576,9 +2395,16 @@
|
|
|
1576
2395
|
letter-spacing: .08em;
|
|
1577
2396
|
padding: 10px 12px 2px;
|
|
1578
2397
|
}
|
|
2398
|
+
/* the way back to where the panel was opened from (the export card): held
|
|
2399
|
+
in sight at the top while the two questions under it scroll */
|
|
2400
|
+
.decklight-narr .narr-back { position: sticky; top: -14px; z-index: 1; background: #16181d; box-shadow: 0 1px 0 rgba(255, 255, 255, .12); }
|
|
2401
|
+
.decklight-narr .narr-row.narr-back.narr-sel { background: #3a3c41; } /* opaque: rows scroll under it */
|
|
1579
2402
|
.decklight-narr .narr-row { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; cursor: pointer; }
|
|
1580
2403
|
.decklight-narr .narr-group { margin: 10px 12px 2px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .68em; letter-spacing: .14em; text-transform: uppercase; opacity: .55; }
|
|
1581
2404
|
.decklight-narr .narr-group:first-of-type { border-top: none; padding-top: 0; }
|
|
2405
|
+
/* the Writing picker (writing.js): the tools in their groups, then the scopes */
|
|
2406
|
+
.decklight-writing .narr-foot { margin: 10px 12px 4px; font-size: .78em; opacity: .55; }
|
|
2407
|
+
.decklight-writing .writing-ask { display: block; width: calc(100% - 24px); margin: 8px 12px 0; padding: 8px 10px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .06); color: inherit; font: inherit; }
|
|
1582
2408
|
/* the engine bar at the top of the voices view: the one choice that decides
|
|
1583
2409
|
every voice below it, drawn as a control of its own rather than a line
|
|
1584
2410
|
among the voices (where it got lost) */
|
|
@@ -1607,10 +2433,40 @@
|
|
|
1607
2433
|
.decklight-range .range-custom input:focus { outline: 2px solid var(--accent, #6af); outline-offset: 1px; }
|
|
1608
2434
|
/* wide enough that a synthesized voice's folder and the key hint stay on one line */
|
|
1609
2435
|
.decklight-range .narr-card { width: min(560px, 90vw); }
|
|
1610
|
-
/* the export card's settings: answers
|
|
2436
|
+
/* the export card's settings: answers, not ranges */
|
|
1611
2437
|
.decklight-range .range-setting { gap: 12px; }
|
|
1612
2438
|
.decklight-range .range-setting-name { flex: 0 0 5.2em; opacity: .55; font-size: .85em; }
|
|
2439
|
+
.decklight-range .range-link .range-setting-value { flex: 1 1 auto; min-width: 0; }
|
|
2440
|
+
.decklight-range .range-link-go { flex: 0 0 auto; margin-left: auto; font-size: .85em; opacity: .7; white-space: nowrap; }
|
|
2441
|
+
.decklight-range .range-link-warn .range-setting-value { color: #ffcf8b; }
|
|
2442
|
+
.decklight-range .range-setting-choices { display: grid; gap: 3px; }
|
|
2443
|
+
.decklight-range .range-setting-choices button {
|
|
2444
|
+
font: inherit;
|
|
2445
|
+
text-align: left;
|
|
2446
|
+
color: inherit;
|
|
2447
|
+
padding: 4px 7px;
|
|
2448
|
+
border: 1px solid transparent;
|
|
2449
|
+
border-radius: 5px;
|
|
2450
|
+
background: transparent;
|
|
2451
|
+
cursor: pointer;
|
|
2452
|
+
}
|
|
2453
|
+
.decklight-range .range-setting-choices button[aria-pressed="true"] {
|
|
2454
|
+
border-color: var(--accent, #7ee787);
|
|
2455
|
+
}
|
|
1613
2456
|
.decklight-range .range-setting-last { margin-bottom: 6px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .12); border-radius: 8px 8px 0 0; }
|
|
2457
|
+
/* an export card (an action): Slides, Options, and a button that runs it */
|
|
2458
|
+
.decklight-range .rec-sect {
|
|
2459
|
+
margin: 6px 12px 4px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .1);
|
|
2460
|
+
font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .55;
|
|
2461
|
+
}
|
|
2462
|
+
.decklight-range .narr-head + .rec-sect { border-top: 0; padding-top: 0; }
|
|
2463
|
+
.decklight-range .rec-foot { display: flex; align-items: center; gap: 14px; margin: 6px 12px 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .1); }
|
|
2464
|
+
.decklight-range .rec-foot .rec-hint { padding: 0; }
|
|
2465
|
+
.decklight-range .narr-row.range-go {
|
|
2466
|
+
display: inline-flex; flex: none; align-items: center; gap: 8px; border: 0; border-radius: 8px; padding: 8px 16px;
|
|
2467
|
+
font: inherit; font-size: 14px; font-weight: 600; color: #16181d; background: var(--accent, #6af); cursor: pointer;
|
|
2468
|
+
}
|
|
2469
|
+
.decklight-range .narr-row.range-go.narr-sel { background: var(--accent, #6af); outline: 2px solid rgba(255, 255, 255, .7); outline-offset: 2px; }
|
|
1614
2470
|
.decklight-narr .narr-prev-btn {
|
|
1615
2471
|
flex: none;
|
|
1616
2472
|
background: none;
|
|
@@ -1631,6 +2487,8 @@
|
|
|
1631
2487
|
.decklight-narr .narr-row.narr-sel { background: rgba(255, 255, 255, .14); }
|
|
1632
2488
|
.decklight-narr .narr-row.narr-cur::after { content: ' ✓'; opacity: .7; }
|
|
1633
2489
|
.decklight-narr .narr-flavor { opacity: .5; font-size: .85em; margin-left: 6px; }
|
|
2490
|
+
.decklight-narr .narr-tone-summary { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2491
|
+
.decklight-narr .narr-tone-note { display: block; margin-left: 0; }
|
|
1634
2492
|
/* An informational row in the settings panel: a fact, not a command. It keeps
|
|
1635
2493
|
full contrast — unlike .narr-blocked, which dims a row to say "this one is
|
|
1636
2494
|
not available to you" — and only loses the pointer cursor, because there is
|
|
@@ -1642,9 +2500,34 @@
|
|
|
1642
2500
|
.decklight-settings .narr-row { display: flex; align-items: baseline; }
|
|
1643
2501
|
/* Check deck… (src/core/deckcheck.js): a row per finding, the mark and the
|
|
1644
2502
|
slide number in fixed columns so a long list scans down its left edge, the
|
|
1645
|
-
slide's title over what is wrong with it
|
|
1646
|
-
|
|
1647
|
-
|
|
2503
|
+
slide's title over what is wrong with it, and under that the fix that
|
|
2504
|
+
would clear it. A dockable panel (dock.js): floating it is a card, docked
|
|
2505
|
+
the list takes the gutter and scrolls while the head and foot stay put. */
|
|
2506
|
+
.decklight-deckcheck.decklight-dockable[data-dock="float"] .narr-card { width: min(560px, 90vw); }
|
|
2507
|
+
.decklight-deckcheck .narr-card { display: flex; flex-direction: column; overflow: hidden; }
|
|
2508
|
+
.decklight-deckcheck .dc-heading { flex: 1; opacity: .55; }
|
|
2509
|
+
.decklight-deckcheck .dc-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
|
|
2510
|
+
.decklight-deckcheck .dc-row { align-items: flex-start; cursor: pointer; }
|
|
2511
|
+
/* a deck-wide finding: no slide to go to, the dash says so */
|
|
2512
|
+
.decklight-deckcheck .dc-deck .dc-where { opacity: .35; }
|
|
2513
|
+
.decklight-deckcheck .dc-act { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
|
|
2514
|
+
.decklight-deckcheck .dc-fix {
|
|
2515
|
+
font: inherit; font-size: 11.5px; line-height: 1.3; padding: 2px 8px; cursor: pointer;
|
|
2516
|
+
border: 1px solid rgba(126, 231, 135, .45); border-radius: 999px;
|
|
2517
|
+
background: rgba(126, 231, 135, .1); color: #b6f5c8;
|
|
2518
|
+
}
|
|
2519
|
+
.decklight-deckcheck .dc-fix:hover { background: rgba(126, 231, 135, .22); }
|
|
2520
|
+
.decklight-deckcheck .dc-fix:disabled { opacity: .4; cursor: default; }
|
|
2521
|
+
.decklight-deckcheck .dc-fix-agent { border-color: rgba(210, 168, 255, .45); background: rgba(210, 168, 255, .1); color: #e2ccff; }
|
|
2522
|
+
.decklight-deckcheck .dc-fix-agent:hover { background: rgba(210, 168, 255, .22); }
|
|
2523
|
+
.decklight-deckcheck .dc-fix-all { border-style: dashed; }
|
|
2524
|
+
.ai-icon { vertical-align: -1px; margin-right: 4px; }
|
|
2525
|
+
.decklight-agent .agent-ask-fix {
|
|
2526
|
+
display: block; margin-top: 6px; font: inherit; font-size: 11.5px; line-height: 1.3; padding: 2px 10px; cursor: pointer;
|
|
2527
|
+
border: 1px solid rgba(210, 168, 255, .45); border-radius: 999px; background: rgba(210, 168, 255, .1); color: #e2ccff;
|
|
2528
|
+
}
|
|
2529
|
+
.decklight-agent .agent-ask-fix:hover { background: rgba(210, 168, 255, .22); }
|
|
2530
|
+
.decklight-deckcheck .dc-nofix { font-size: 11px; opacity: .4; }
|
|
1648
2531
|
.decklight-deckcheck .dc-mark { flex: 0 0 1em; font-weight: 700; text-align: center; }
|
|
1649
2532
|
.decklight-deckcheck .dc-error .dc-mark { color: #ff7b72; }
|
|
1650
2533
|
.decklight-deckcheck .dc-warn .dc-mark { color: #e3b341; }
|
|
@@ -1746,6 +2629,104 @@
|
|
|
1746
2629
|
}
|
|
1747
2630
|
/* Design systems… (DESIGN_SYSTEMS): the marketplaces' design systems, ● used / ○ not */
|
|
1748
2631
|
.decklight-design-systems .narr-card { width: min(520px, 90vw); }
|
|
2632
|
+
/* one marker says "in use" — the ● — so the row is not .narr-cur and gets no ✓ */
|
|
2633
|
+
.decklight-design-systems .ds-row:not(.ds-add) { align-items: flex-start; }
|
|
2634
|
+
.decklight-design-systems .ds-mark { flex: none; width: 1em; line-height: 1.45; }
|
|
2635
|
+
.decklight-design-systems .ds-row .narr-row-label { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; line-height: 1.45; }
|
|
2636
|
+
.decklight-design-systems .ds-name { font-weight: 600; }
|
|
2637
|
+
.decklight-design-systems .ds-version {
|
|
2638
|
+
font: 500 .75em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 0 5px;
|
|
2639
|
+
border: 1px solid rgba(255, 255, 255, .22); border-radius: 4px; opacity: .7;
|
|
2640
|
+
}
|
|
2641
|
+
/* the description is a line; the whole of it is the row's tooltip */
|
|
2642
|
+
.decklight-design-systems .ds-desc {
|
|
2643
|
+
flex: 1 0 100%; min-width: 0; font-size: .85em; opacity: .55;
|
|
2644
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
2645
|
+
}
|
|
2646
|
+
.decklight-design-systems .ds-act { display: none; flex: 1 0 100%; font-size: .8em; opacity: .85; }
|
|
2647
|
+
.decklight-design-systems .ds-row.narr-sel .ds-act { display: block; }
|
|
2648
|
+
/* Marketplaces… (MARKETPLACES_SCREEN): one row per catalog. The name line
|
|
2649
|
+
carries its state as a pill on the right — one glance down the column says
|
|
2650
|
+
which are behind — and one dim line beneath says where it comes from and
|
|
2651
|
+
what it offers. What ⏎ would do appears under the selected row only. */
|
|
2652
|
+
.decklight-marketplaces .narr-card { width: min(600px, 92vw); }
|
|
2653
|
+
.decklight-marketplaces .mk-row { align-items: flex-start; padding: 8px 12px; }
|
|
2654
|
+
.decklight-marketplaces .mk-mark { flex: none; width: 1.2em; line-height: 1.5; text-align: center; opacity: .6; }
|
|
2655
|
+
.decklight-marketplaces .mk-row .narr-row-label { display: flex; flex-direction: column; gap: 2px; line-height: 1.5; min-width: 0; }
|
|
2656
|
+
.decklight-marketplaces .mk-head { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 2px; min-width: 0; }
|
|
2657
|
+
.decklight-marketplaces .mk-name { font-weight: 600; }
|
|
2658
|
+
.decklight-marketplaces .mk-tag {
|
|
2659
|
+
font-size: .72em; letter-spacing: .06em; text-transform: uppercase; opacity: .55;
|
|
2660
|
+
padding: 0 5px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 4px; line-height: 1.6;
|
|
2661
|
+
}
|
|
2662
|
+
.decklight-marketplaces .mk-state { margin-left: auto; display: flex; align-items: baseline; gap: 8px; font-size: .85em; min-width: 0; }
|
|
2663
|
+
.decklight-marketplaces .mk-pill {
|
|
2664
|
+
padding: 1px 8px; border-radius: 999px; white-space: nowrap;
|
|
2665
|
+
background: rgba(255, 255, 255, .08); color: rgba(232, 234, 238, .8);
|
|
2666
|
+
}
|
|
2667
|
+
.decklight-marketplaces .mk-hint { opacity: .5; white-space: nowrap; }
|
|
2668
|
+
.decklight-marketplaces .mk-behind .mk-pill { background: rgba(255, 207, 139, .14); color: #ffcf8b; }
|
|
2669
|
+
.decklight-marketplaces .mk-behind .mk-mark { color: #ffcf8b; opacity: 1; }
|
|
2670
|
+
.decklight-marketplaces .mk-current .mk-pill { background: rgba(95, 201, 138, .14); color: #5fc98a; }
|
|
2671
|
+
.decklight-marketplaces .mk-current .mk-mark { color: #5fc98a; opacity: 1; }
|
|
2672
|
+
.decklight-marketplaces .mk-warn .mk-pill { background: rgba(240, 132, 111, .14); color: #f0846f; }
|
|
2673
|
+
.decklight-marketplaces .mk-warn .mk-mark { color: #f0846f; opacity: 1; }
|
|
2674
|
+
.decklight-marketplaces .mk-meta {
|
|
2675
|
+
display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px;
|
|
2676
|
+
font-size: .8em; opacity: .55; min-width: 0;
|
|
2677
|
+
}
|
|
2678
|
+
.decklight-marketplaces .mk-src { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
|
|
2679
|
+
.decklight-marketplaces .mk-ref { opacity: .75; }
|
|
2680
|
+
.decklight-marketplaces .mk-offers::before { content: '·'; margin-right: 6px; }
|
|
2681
|
+
.decklight-marketplaces .mk-offers { white-space: nowrap; }
|
|
2682
|
+
.decklight-marketplaces .mk-act { display: none; margin-top: 2px; font-size: .8em; opacity: .85; }
|
|
2683
|
+
.decklight-marketplaces .mk-row.narr-sel .mk-act { display: block; }
|
|
2684
|
+
.decklight-marketplaces .mk-row.narr-sel .mk-mark { opacity: 1; }
|
|
2685
|
+
/* the last row is a door, not a catalog: set off from the list above it */
|
|
2686
|
+
.decklight-marketplaces .mk-add { margin-top: 6px; border-top: 1px solid rgba(255, 255, 255, .1); border-radius: 0 0 8px 8px; }
|
|
2687
|
+
.decklight-marketplaces .mk-add .mk-name { font-weight: 500; }
|
|
2688
|
+
.decklight-marketplaces .mk-add .narr-flavor { margin-left: 0; }
|
|
2689
|
+
/* the footer: the last check's answer, and the keys, under a rule */
|
|
2690
|
+
.decklight-marketplaces .mk-foot { margin-top: 8px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .1); }
|
|
2691
|
+
.decklight-marketplaces .mk-summary { opacity: .6; font-size: .85em; }
|
|
2692
|
+
.decklight-marketplaces .mk-summary-behind { color: #ffcf8b; opacity: .9; }
|
|
2693
|
+
/* the auto-check's one question, asked while it is off */
|
|
2694
|
+
.decklight-marketplaces .mk-auto-ask { font-size: .85em; opacity: .85; padding-top: 4px; }
|
|
2695
|
+
.decklight-marketplaces .rec-hint { padding-top: 6px; }
|
|
2696
|
+
.decklight-marketplaces kbd {
|
|
2697
|
+
display: inline-block; padding: 0 5px; margin: 0 1px;
|
|
2698
|
+
border: 1px solid rgba(255, 255, 255, .22); border-radius: 4px;
|
|
2699
|
+
font: inherit; font-size: .92em; line-height: 1.5; opacity: .95;
|
|
2700
|
+
}
|
|
2701
|
+
.decklight-marketplaces .mk-error { white-space: pre-wrap; }
|
|
2702
|
+
/* the add view: one example of each form under the field, a click fills it */
|
|
2703
|
+
.decklight-marketplaces .mk-examples { margin: 6px 12px 2px; font-size: .8em; opacity: .65; }
|
|
2704
|
+
.decklight-marketplaces .mk-examples-head { text-transform: uppercase; letter-spacing: .1em; font-size: .85em; opacity: .8; margin-bottom: 2px; }
|
|
2705
|
+
.decklight-marketplaces .mk-example { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; line-height: 1.6; }
|
|
2706
|
+
.decklight-marketplaces .mk-form { flex: none; width: 8em; }
|
|
2707
|
+
.decklight-marketplaces .mk-example code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; cursor: pointer; }
|
|
2708
|
+
.decklight-marketplaces .mk-example code:hover { text-decoration: underline; }
|
|
2709
|
+
.decklight-marketplaces .mk-example .narr-flavor { margin-left: 0; }
|
|
2710
|
+
.decklight-marketplaces .mk-does { font-size: 1.05em; }
|
|
2711
|
+
/* what's new: a sign column, the entry, its versions, its kind */
|
|
2712
|
+
.decklight-marketplaces .mk-when { opacity: .6; font-size: .9em; }
|
|
2713
|
+
.decklight-marketplaces .mk-change { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; }
|
|
2714
|
+
.decklight-marketplaces .mk-sign { flex: none; width: 1.2em; text-align: center; font-weight: 600; opacity: .7; }
|
|
2715
|
+
.decklight-marketplaces .mk-ver { font-variant-numeric: tabular-nums; opacity: .85; }
|
|
2716
|
+
.decklight-marketplaces .mk-ver:empty { display: none; }
|
|
2717
|
+
.decklight-marketplaces .mk-change .mk-tag { margin-left: 2px; }
|
|
2718
|
+
.decklight-marketplaces .mk-newer .narr-fix { margin: 2px 0 2px calc(1.2em + 6px); flex-basis: 100%; }
|
|
2719
|
+
|
|
2720
|
+
/* Languages… (TRANSLATE_PANEL): the Marketplaces card's rows, plus a
|
|
2721
|
+
translation's slide read side by side, source and translation */
|
|
2722
|
+
.decklight-languages .mk-input { width: 100%; box-sizing: border-box; margin: 6px 0; padding: 6px 8px; font: inherit; color: inherit;
|
|
2723
|
+
background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); border-radius: 6px; }
|
|
2724
|
+
.decklight-languages .mk-log { font-variant-numeric: tabular-nums; opacity: .8; }
|
|
2725
|
+
.decklight-languages .mk-units { display: grid; gap: 6px; margin: 4px 12px 8px; max-height: 40vh; overflow: auto; }
|
|
2726
|
+
.decklight-languages .mk-unit { display: grid; grid-template-columns: 5.5em 1fr 1fr auto; gap: 8px; align-items: baseline; font-size: .92em; }
|
|
2727
|
+
.decklight-languages .mk-kind { opacity: .6; }
|
|
2728
|
+
.decklight-languages .mk-from { opacity: .7; }
|
|
2729
|
+
.decklight-languages .mk-unread .mk-to { text-decoration: underline dotted rgba(255, 207, 139, .7); text-underline-offset: 3px; }
|
|
1749
2730
|
/* Concept colors… (SVG_DIAGRAMS): one row per concept, its six slots beside it */
|
|
1750
2731
|
.decklight-concepts .narr-card { width: min(640px, 92vw); }
|
|
1751
2732
|
.decklight-concepts .cc-row { display: flex; align-items: center; gap: 10px; }
|
|
@@ -1794,6 +2775,8 @@
|
|
|
1794
2775
|
.decklight-colorpicker .cp-callout-chip { flex: none; width: 18px; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
|
|
1795
2776
|
.decklight-colorpicker .cp-callout .cp-notice-text { color: #b9bec8; }
|
|
1796
2777
|
.decklight-colorpicker .cp-callout .cp-detach { margin-top: 2px; }
|
|
2778
|
+
.decklight-colorpicker .cp-callout-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
|
|
2779
|
+
.decklight-colorpicker .cp-callout-actions .cp-detach { margin-top: 0; }
|
|
1797
2780
|
.decklight-ctxmenu .cm-input { padding: 4px 8px; }
|
|
1798
2781
|
.decklight-ctxmenu .cm-input input { width: 100%; box-sizing: border-box; font: inherit; padding: 4px 8px; border-radius: 6px; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.35); color: inherit; }
|
|
1799
2782
|
.decklight-ds-templates .narr-card { width: min(860px, 94vw); }
|
|
@@ -1804,7 +2787,7 @@
|
|
|
1804
2787
|
.decklight-ds-templates .dsl-preview { flex: 0 0 320px; height: 180px; overflow: hidden; border-radius: 8px; position: relative; background: var(--bg, #111); }
|
|
1805
2788
|
.decklight-ds-templates .dsl-preview-slide { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform: scale(.25); transform-origin: 0 0;
|
|
1806
2789
|
box-sizing: border-box; padding: 60px 80px; display: flex; flex-direction: column; justify-content: center; color: var(--fg, #eee); background: var(--bg, #111); }
|
|
1807
|
-
/*
|
|
2790
|
+
/* make my portrait (V → who is on screen): the camera in the medallion's own shape */
|
|
1808
2791
|
.decklight-film .narr-card { width: min(420px, 90vw); }
|
|
1809
2792
|
.decklight-film .film-circle {
|
|
1810
2793
|
position: relative;
|
|
@@ -1848,7 +2831,24 @@
|
|
|
1848
2831
|
max-height: 42vh;
|
|
1849
2832
|
overflow-y: auto;
|
|
1850
2833
|
}
|
|
2834
|
+
/* per slide, the beats still to come in this take: there to read on into,
|
|
2835
|
+
quieter than the one the build on screen belongs to */
|
|
2836
|
+
.decklight-mic .rec-ahead {
|
|
2837
|
+
padding: 0 12px 10px;
|
|
2838
|
+
font-size: 15px;
|
|
2839
|
+
line-height: 1.4;
|
|
2840
|
+
opacity: .5;
|
|
2841
|
+
max-height: 20vh;
|
|
2842
|
+
overflow-y: auto;
|
|
2843
|
+
}
|
|
2844
|
+
.decklight-mic .rec-ahead p { margin: 0 0 6px; }
|
|
2845
|
+
/* the beat's words, edited at the size they are read at */
|
|
2846
|
+
.decklight-mic .rec-edit { font-size: 18px; line-height: 1.45; resize: vertical; min-height: 6em; }
|
|
1851
2847
|
.decklight-mic .rec-note { font-size: 12px; opacity: .7; }
|
|
2848
|
+
/* the phone remote's QR, on the intro card: the speaker view that usually
|
|
2849
|
+
carries it is not open while you record */
|
|
2850
|
+
.decklight-mic .rec-phone { display: flex; gap: 12px; align-items: center; font-size: 13px; opacity: 1; }
|
|
2851
|
+
.decklight-mic .rec-phone img { flex: none; background: #fff; border-radius: 6px; padding: 4px; }
|
|
1852
2852
|
/* Something you need to act on before you start reading — the amber the deck
|
|
1853
2853
|
uses everywhere for "this will not do what you expect". */
|
|
1854
2854
|
.decklight-record .rec-warn, .decklight-range .rec-warn {
|
|
@@ -1907,6 +2907,320 @@
|
|
|
1907
2907
|
}
|
|
1908
2908
|
.decklight-mic .rec-level.hot .rec-level-fill { background: #e5533d; }
|
|
1909
2909
|
|
|
2910
|
+
/* A voice row (#919, redesigned): the row selects the voice (a radio, its
|
|
2911
|
+
name, the tag saying whose voice it is, and a line saying what made it and
|
|
2912
|
+
whether it still matches the notes), a named button fixes it when it is out
|
|
2913
|
+
of date (#850), and the › at its right opens its card. */
|
|
2914
|
+
.decklight-narr .narr-now { padding: 0 12px 8px; font-size: 15px; font-weight: 500; }
|
|
2915
|
+
.decklight-narr .narr-group-hint { margin-left: 8px; letter-spacing: 0; text-transform: none; font-size: 1.25em; opacity: .85; }
|
|
2916
|
+
.decklight-narr .narr-row.narr-voice { align-items: center; padding: 0 4px 0 0; gap: 4px; }
|
|
2917
|
+
.decklight-narr .narr-row.narr-voice.narr-cur::after { content: none; }
|
|
2918
|
+
/* an answer that cannot be chosen yet keeps its buttons on its own line */
|
|
2919
|
+
.decklight-narr .narr-row.narr-voice.narr-blocked { flex-wrap: nowrap; }
|
|
2920
|
+
.decklight-narr .narr-voice .narr-pick { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 6px 12px; }
|
|
2921
|
+
.decklight-narr .narr-voice .narr-radio {
|
|
2922
|
+
flex: 0 0 auto; width: 14px; height: 14px; box-sizing: border-box; border-radius: 50%;
|
|
2923
|
+
border: 1.5px solid rgba(255, 255, 255, .45);
|
|
2924
|
+
}
|
|
2925
|
+
.decklight-narr .narr-voice.narr-cur .narr-radio {
|
|
2926
|
+
border-color: var(--accent, #6af);
|
|
2927
|
+
background: radial-gradient(circle, var(--accent, #6af) 0 3.5px, transparent 4px);
|
|
2928
|
+
}
|
|
2929
|
+
.decklight-narr .narr-voice .narr-words { display: flex; flex-direction: column; min-width: 0; }
|
|
2930
|
+
.decklight-narr .narr-voice .narr-row-label { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
|
|
2931
|
+
.decklight-narr .narr-voice .narr-name { overflow-wrap: anywhere; }
|
|
2932
|
+
.decklight-narr .narr-sub { font-size: .85em; color: rgba(232, 234, 238, .62); }
|
|
2933
|
+
.decklight-narr .narr-sub.narr-sub-warn { color: #ffcf8b; }
|
|
2934
|
+
.decklight-narr .narr-voice .narr-status { margin-left: auto; padding: 6px 12px; font-size: .85em; opacity: .55; white-space: nowrap; }
|
|
2935
|
+
/* whose voice it is and how it arrives: two kinds of tag, told apart by fill */
|
|
2936
|
+
.decklight-narr .narr-tag {
|
|
2937
|
+
display: inline-block; padding: 0 7px; border-radius: 999px; font-size: 10.5px; line-height: 17px;
|
|
2938
|
+
font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
|
|
2939
|
+
border: 1px solid rgba(232, 234, 238, .45); color: rgba(232, 234, 238, .85);
|
|
2940
|
+
}
|
|
2941
|
+
.decklight-narr .narr-row-label > .narr-tag { margin-left: 8px; vertical-align: 1px; }
|
|
2942
|
+
.decklight-narr .narr-voice .narr-row-label > .narr-tag { margin-left: 0; }
|
|
2943
|
+
.decklight-narr .narr-tag.narr-tag-mine { background: #e8eaee; border-color: #e8eaee; color: #16181d; }
|
|
2944
|
+
.decklight-narr .narr-tags { display: flex; gap: 6px; padding: 2px 12px 6px; }
|
|
2945
|
+
.decklight-narr .narr-lede { padding: 2px 12px 8px; font-size: .92em; opacity: .75; }
|
|
2946
|
+
.decklight-narr .narr-act {
|
|
2947
|
+
flex: 0 0 auto; min-height: 30px; padding: 0 10px; font: inherit; font-size: .85em; white-space: nowrap; cursor: pointer;
|
|
2948
|
+
color: #e8eaee; background: none; border: 1px solid rgba(255, 255, 255, .25); border-radius: 7px;
|
|
2949
|
+
}
|
|
2950
|
+
.decklight-narr .narr-act.narr-act-warn { color: #ffcf8b; border-color: rgba(255, 207, 139, .55); }
|
|
2951
|
+
.decklight-narr .narr-act:hover { background: rgba(255, 255, 255, .12); }
|
|
2952
|
+
.decklight-narr .narr-manage {
|
|
2953
|
+
flex: 0 0 auto; width: 32px; min-height: 32px; font: inherit; font-size: 1.25em; line-height: 1; cursor: pointer;
|
|
2954
|
+
color: rgba(232, 234, 238, .6); background: none; border: 0; border-radius: 7px;
|
|
2955
|
+
}
|
|
2956
|
+
.decklight-narr .narr-manage:hover { background: rgba(255, 255, 255, .12); color: #e8eaee; }
|
|
2957
|
+
/* a card's facts: what made the voice, where it is kept, what is out of date */
|
|
2958
|
+
.decklight-narr .narr-facts { margin: 0 12px 8px; padding: 0; font-size: .9em; }
|
|
2959
|
+
.decklight-narr .narr-facts > div { display: flex; gap: 12px; padding: 4px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
|
|
2960
|
+
.decklight-narr .narr-facts dt { flex: 0 0 84px; opacity: .55; }
|
|
2961
|
+
.decklight-narr .narr-facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
|
|
2962
|
+
.decklight-narr .narr-facts .narr-fact-warn dd { color: #ffcf8b; }
|
|
2963
|
+
/* the options' controls: a switch, and a − value + stepper */
|
|
2964
|
+
.decklight-narr .narr-switch {
|
|
2965
|
+
flex: 0 0 auto; margin-left: auto; width: 34px; height: 20px; box-sizing: border-box; border-radius: 999px; position: relative;
|
|
2966
|
+
border: 1.5px solid rgba(255, 255, 255, .45);
|
|
2967
|
+
}
|
|
2968
|
+
.decklight-narr .narr-switch::after {
|
|
2969
|
+
content: ''; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: rgba(255, 255, 255, .55);
|
|
2970
|
+
}
|
|
2971
|
+
.decklight-narr .narr-switch.narr-on { background: var(--accent, #6af); border-color: var(--accent, #6af); }
|
|
2972
|
+
.decklight-narr .narr-switch.narr-on::after { left: auto; right: 2px; background: #16181d; }
|
|
2973
|
+
.decklight-narr .narr-stepper {
|
|
2974
|
+
flex: 0 0 auto; margin-left: auto; display: flex; align-items: center;
|
|
2975
|
+
border: 1px solid rgba(255, 255, 255, .25); border-radius: 7px;
|
|
2976
|
+
}
|
|
2977
|
+
.decklight-narr .narr-stepper button { width: 30px; height: 28px; font: inherit; font-size: 1.1em; color: inherit; background: none; border: 0; cursor: pointer; }
|
|
2978
|
+
.decklight-narr .narr-stepper button:hover { background: rgba(255, 255, 255, .12); }
|
|
2979
|
+
.decklight-narr .narr-step-val { min-width: 44px; text-align: center; font-size: .92em; }
|
|
2980
|
+
/* a setting that belongs to the row above it (Caption size, under Captions) */
|
|
2981
|
+
.decklight-narr .narr-row.narr-subrow { padding-left: 28px; }
|
|
2982
|
+
.decklight-narr .narr-step-val { white-space: nowrap; }
|
|
2983
|
+
.decklight-narr .narr-subrow .narr-step-val { min-width: 84px; }
|
|
2984
|
+
/* Face and character placement preview */
|
|
2985
|
+
.decklight-narr .narr-face-sketch {
|
|
2986
|
+
position: relative; height: 118px; margin: 4px 12px 10px; border-radius: 8px;
|
|
2987
|
+
border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .04);
|
|
2988
|
+
}
|
|
2989
|
+
.decklight-narr .narr-face-dot {
|
|
2990
|
+
position: absolute; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; z-index: 1;
|
|
2991
|
+
border: 1px solid currentColor; color: inherit; background: transparent; opacity: .45;
|
|
2992
|
+
}
|
|
2993
|
+
.decklight-narr .narr-face-at-br { right: 8px; bottom: 8px; }
|
|
2994
|
+
.decklight-narr .narr-face-at-bl { left: 8px; bottom: 8px; }
|
|
2995
|
+
.decklight-narr .narr-face-at-tr { right: 8px; top: 8px; }
|
|
2996
|
+
.decklight-narr .narr-face-at-tl { left: 8px; top: 8px; }
|
|
2997
|
+
.decklight-narr .narr-face-full-preview {
|
|
2998
|
+
position: absolute; inset: 0; margin: auto; width: var(--preview-size); height: var(--preview-size);
|
|
2999
|
+
max-height: 100%; display: grid; place-items: center; border: 2px solid var(--accent, #6af); border-radius: 50%;
|
|
3000
|
+
}
|
|
3001
|
+
.decklight-narr .narr-face-presets { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 12px 10px; }
|
|
3002
|
+
.decklight-narr .narr-face-presets button {
|
|
3003
|
+
border: 1px solid currentColor; border-radius: 6px; padding: 4px 10px;
|
|
3004
|
+
font: inherit; color: inherit; background: transparent; cursor: pointer;
|
|
3005
|
+
}
|
|
3006
|
+
.decklight-narr :is(.narr-face-dot, .narr-face-presets button)[aria-pressed="true"] {
|
|
3007
|
+
border-color: var(--accent, #6af); background: color-mix(in srgb, var(--accent, #6af) 22%, transparent); opacity: 1;
|
|
3008
|
+
}
|
|
3009
|
+
/* the recorders' three steps: plan, record or generate, review */
|
|
3010
|
+
.decklight-narr .narr-steps { display: flex; gap: 6px; margin: 4px 12px 8px; padding: 0; list-style: none; font-size: .78em; }
|
|
3011
|
+
.decklight-narr .narr-steps li { flex: 1; padding-top: 5px; border-top: 3px solid rgba(255, 255, 255, .16); opacity: .55; }
|
|
3012
|
+
.decklight-narr .narr-steps li.narr-step-on { border-top-color: var(--accent, #6af); opacity: 1; }
|
|
3013
|
+
|
|
3014
|
+
/* The plan card (V → Record my voice): what to record, how, where, and the
|
|
3015
|
+
microphone, as sections. Taller than any other card, so it takes more of
|
|
3016
|
+
the screen; the slide list scrolls inside it. */
|
|
3017
|
+
.decklight-mic .narr-card { max-height: 88vh; }
|
|
3018
|
+
.decklight-mic .rec-lede { margin: 0; padding: 4px 12px 10px; font-size: 14px; line-height: 1.5; opacity: .85; text-wrap: pretty; }
|
|
3019
|
+
.decklight-mic .rec-click { color: var(--accent, #6af); }
|
|
3020
|
+
.decklight-mic .rec-sect {
|
|
3021
|
+
margin: 6px 12px 4px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .1);
|
|
3022
|
+
font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .55;
|
|
3023
|
+
}
|
|
3024
|
+
.decklight-mic .rec-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 12px 6px; }
|
|
3025
|
+
.decklight-mic .rec-chip {
|
|
3026
|
+
font: inherit; font-size: 13px; color: inherit; cursor: pointer; opacity: .8;
|
|
3027
|
+
padding: 3px 12px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 16px; background: transparent;
|
|
3028
|
+
}
|
|
3029
|
+
.decklight-mic .rec-chip.on { opacity: 1; border-color: var(--accent, #6af); background: color-mix(in srgb, var(--accent, #6af) 16%, transparent); }
|
|
3030
|
+
.decklight-mic .rec-estimate { font-size: 13px; }
|
|
3031
|
+
/* every slide, one row: number · title · beats · what the folder holds · start here */
|
|
3032
|
+
.decklight-mic .rec-slides {
|
|
3033
|
+
margin: 2px 12px 0; max-height: 196px; overflow-y: auto;
|
|
3034
|
+
border: 1px solid rgba(255, 255, 255, .1); border-radius: 8px;
|
|
3035
|
+
}
|
|
3036
|
+
.decklight-mic .rec-slide {
|
|
3037
|
+
display: flex; align-items: center; gap: 10px; width: 100%; box-sizing: border-box;
|
|
3038
|
+
padding: 5px 10px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .06);
|
|
3039
|
+
font: inherit; font-size: 13px; color: inherit; text-align: left; background: transparent; cursor: pointer;
|
|
3040
|
+
}
|
|
3041
|
+
.decklight-mic .rec-slide:last-child { border-bottom: 0; }
|
|
3042
|
+
.decklight-mic .rec-slide.on { background: color-mix(in srgb, var(--accent, #6af) 9%, transparent); }
|
|
3043
|
+
.decklight-mic .rec-slide.off { opacity: .45; cursor: default; }
|
|
3044
|
+
.decklight-mic .rec-slide-n { flex: none; width: 22px; text-align: right; font-variant-numeric: tabular-nums; opacity: .6; }
|
|
3045
|
+
.decklight-mic .rec-slide-t { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
3046
|
+
.decklight-mic .rec-slide-b { flex: none; width: 52px; text-align: right; font-size: 12px; opacity: .6; }
|
|
3047
|
+
.decklight-mic .rec-slide-s { flex: none; width: 170px; font-size: 12px; opacity: .6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
3048
|
+
.decklight-mic .rec-slide-s.ok { color: #7bd88f; opacity: 1; }
|
|
3049
|
+
.decklight-mic .rec-slide-s.warn { color: #ffcf8b; opacity: 1; }
|
|
3050
|
+
.decklight-mic .rec-slide-s.dim { opacity: .5; }
|
|
3051
|
+
.decklight-mic .rec-pill {
|
|
3052
|
+
flex: none; font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
|
|
3053
|
+
color: #16181d; background: var(--accent, #6af); border-radius: 10px; padding: 1px 8px;
|
|
3054
|
+
}
|
|
3055
|
+
.decklight-mic .rec-slides-hint { font-size: 12px; opacity: .5; }
|
|
3056
|
+
/* slides whose [click] markers do not match their builds (#929): one row
|
|
3057
|
+
each, the two numbers and the likely cause, then its three ways on */
|
|
3058
|
+
.decklight-mic .rec-offstep {
|
|
3059
|
+
margin: 2px 12px 0; border: 1px solid rgba(255, 207, 139, .35); border-radius: 8px;
|
|
3060
|
+
background: rgba(255, 207, 139, .06);
|
|
3061
|
+
}
|
|
3062
|
+
.decklight-mic .rec-off {
|
|
3063
|
+
display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 6px 10px;
|
|
3064
|
+
border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 13px;
|
|
3065
|
+
}
|
|
3066
|
+
.decklight-mic .rec-off:last-child { border-bottom: 0; }
|
|
3067
|
+
.decklight-mic .rec-off-t { flex: 1 1 220px; min-width: 0; color: #ffcf8b; }
|
|
3068
|
+
.decklight-mic .rec-off.decided .rec-off-t { color: inherit; opacity: .7; }
|
|
3069
|
+
.decklight-mic .rec-off-why { opacity: .75; }
|
|
3070
|
+
.decklight-mic .rec-off-acts { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
|
|
3071
|
+
.decklight-mic .rec-off-acts button {
|
|
3072
|
+
font: inherit; font-size: 12px; color: inherit; cursor: pointer;
|
|
3073
|
+
padding: 2px 10px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; background: transparent;
|
|
3074
|
+
}
|
|
3075
|
+
.decklight-mic .rec-off-acts button[data-off-fix] { border-color: var(--accent, #6af); background: color-mix(in srgb, var(--accent, #6af) 16%, transparent); }
|
|
3076
|
+
.decklight-mic .rec-off-acts button[data-off-undo] { border: 0; padding: 0 2px; color: var(--accent, #6af); }
|
|
3077
|
+
.decklight-mic .rec-off-chose { font-size: 12px; opacity: .7; }
|
|
3078
|
+
.decklight-mic .rec-off-hint { font-size: 12px; opacity: .7; }
|
|
3079
|
+
.decklight-mic .rec-where-off { color: #ffcf8b; }
|
|
3080
|
+
/* HOW: one line that says the choices, and the choices behind it */
|
|
3081
|
+
.decklight-mic .rec-how {
|
|
3082
|
+
display: flex; align-items: center; gap: 8px; width: 100%; box-sizing: border-box;
|
|
3083
|
+
padding: 2px 12px 6px; border: 0; background: transparent; font: inherit; font-size: 13px; color: inherit; cursor: pointer; text-align: left;
|
|
3084
|
+
}
|
|
3085
|
+
.decklight-mic .rec-chev { display: inline-block; opacity: .6; transition: transform 120ms; }
|
|
3086
|
+
.decklight-mic .rec-chev.open { transform: rotate(90deg); }
|
|
3087
|
+
.decklight-mic .rec-how-sum { flex: 1 1 auto; }
|
|
3088
|
+
.decklight-mic .rec-how-act { font-size: 12px; color: var(--accent, #6af); }
|
|
3089
|
+
.decklight-mic .rec-opts { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 10px 12px; padding: 0 12px 10px; font-size: 13px; }
|
|
3090
|
+
.decklight-mic .rec-opt-k { opacity: .85; padding-top: 3px; }
|
|
3091
|
+
.decklight-mic .rec-seg { display: inline-flex; border: 1px solid rgba(255, 255, 255, .18); border-radius: 6px; overflow: hidden; }
|
|
3092
|
+
.decklight-mic .rec-seg button {
|
|
3093
|
+
font: inherit; font-size: 12px; color: inherit; cursor: pointer;
|
|
3094
|
+
padding: 3px 10px; border: 0; background: transparent; opacity: .7;
|
|
3095
|
+
}
|
|
3096
|
+
.decklight-mic .rec-seg button + button { border-left: 1px solid rgba(255, 255, 255, .18); }
|
|
3097
|
+
.decklight-mic .rec-seg button.on { background: rgba(255, 255, 255, .16); opacity: 1; }
|
|
3098
|
+
.decklight-mic .rec-opt-why { margin-top: 4px; font-size: 12px; opacity: .6; line-height: 1.45; }
|
|
3099
|
+
.decklight-mic .rec-folder { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
|
|
3100
|
+
.decklight-mic .rec-folder label { flex: 0 1 auto; }
|
|
3101
|
+
.decklight-mic .rec-folder .rec-dir { flex: none; width: 180px; }
|
|
3102
|
+
.decklight-mic .rec-folder-note { font-size: 12px; opacity: .6; }
|
|
3103
|
+
/* the microphone check: the input, its level while you read the card, and why not */
|
|
3104
|
+
.decklight-mic .rec-check-row { display: flex; align-items: center; gap: 12px; font-size: 13px; }
|
|
3105
|
+
.decklight-mic .rec-device, .decklight-mic .rec-device-name { flex: none; max-width: 42%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
3106
|
+
.decklight-mic .rec-device {
|
|
3107
|
+
font: inherit; font-size: 13px; color: inherit; background: rgba(255, 255, 255, .07);
|
|
3108
|
+
border: 1px solid rgba(255, 255, 255, .18); border-radius: 6px; padding: 3px 6px;
|
|
3109
|
+
}
|
|
3110
|
+
.decklight-mic .rec-device-name { opacity: .85; }
|
|
3111
|
+
.decklight-mic .rec-level.rec-check { flex: 1 1 auto; margin: 0; }
|
|
3112
|
+
.decklight-mic .rec-level.rec-check .rec-level-fill { background: #7bd88f; }
|
|
3113
|
+
.decklight-mic .rec-check-hint { flex: none; font-size: 12px; opacity: .55; }
|
|
3114
|
+
.decklight-mic .rec-check-why { color: #ffcf8b; font-size: 13px; }
|
|
3115
|
+
/* the foot: Start, and what the keys do */
|
|
3116
|
+
.decklight-mic .rec-foot { display: flex; align-items: center; gap: 14px; margin: 6px 12px 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .1); }
|
|
3117
|
+
.decklight-mic .rec-foot .rec-hint { padding: 0; }
|
|
3118
|
+
.decklight-mic .rec-start {
|
|
3119
|
+
display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 8px; padding: 8px 16px;
|
|
3120
|
+
font: inherit; font-size: 14px; font-weight: 600; color: #16181d; background: var(--accent, #6af); cursor: pointer;
|
|
3121
|
+
}
|
|
3122
|
+
.decklight-mic .rec-start.narr-sel { background: var(--accent, #6af); }
|
|
3123
|
+
/* where the take starts: ‹ slide 6 · beat 3 of 4 ›, and what that keeps */
|
|
3124
|
+
.decklight-mic .rec-from { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; }
|
|
3125
|
+
.decklight-mic .rec-from .rec-seg button { opacity: 1; padding: 1px 9px; font-size: 14px; }
|
|
3126
|
+
.decklight-mic .rec-from-why { font-size: 12px; opacity: .6; }
|
|
3127
|
+
.decklight-mic .rec-to { white-space: nowrap; }
|
|
3128
|
+
/* the start slide's beats by their opening words, the ones this take reads
|
|
3129
|
+
lit; each is a button that picks it alone */
|
|
3130
|
+
.decklight-mic .rec-beats { display: flex; flex-direction: column; gap: 2px; padding-top: 0; font-size: 12px; }
|
|
3131
|
+
.decklight-mic .rec-beat {
|
|
3132
|
+
display: flex; gap: 8px; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer;
|
|
3133
|
+
padding: 2px 6px; border: 1px solid transparent; border-radius: 6px; background: transparent; opacity: .5;
|
|
3134
|
+
}
|
|
3135
|
+
.decklight-mic .rec-beat:hover { opacity: .85; border-color: rgba(255, 255, 255, .15); }
|
|
3136
|
+
.decklight-mic .rec-beat.on { opacity: 1; background: color-mix(in srgb, var(--accent, #6af) 12%, transparent); }
|
|
3137
|
+
.decklight-mic .rec-beat-n { flex: none; width: 18px; text-align: right; opacity: .6; font-variant-numeric: tabular-nums; }
|
|
3138
|
+
|
|
3139
|
+
/* before a take, 3-2-1 in amber; during one, the red dot. The words to read
|
|
3140
|
+
are already on the card while it counts, so the count is a glance, not a wall */
|
|
3141
|
+
.decklight-mic .rec-status {
|
|
3142
|
+
display: flex; align-items: center; gap: 10px;
|
|
3143
|
+
margin: 2px 12px 0; min-height: 34px;
|
|
3144
|
+
font-size: 13px; font-weight: 600; letter-spacing: .06em;
|
|
3145
|
+
}
|
|
3146
|
+
.decklight-mic .rec-status[data-phase="countdown"] { color: #ffcf8b; }
|
|
3147
|
+
.decklight-mic .rec-status[data-phase="rec"] { color: #ff6b5a; }
|
|
3148
|
+
.decklight-mic .rec-count { font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; min-width: 1ch; }
|
|
3149
|
+
.decklight-mic .rec-dot {
|
|
3150
|
+
width: 12px; height: 12px; border-radius: 50%; background: #e5533d;
|
|
3151
|
+
animation: decklight-rec-pulse 1.2s ease-in-out infinite;
|
|
3152
|
+
}
|
|
3153
|
+
@keyframes decklight-rec-pulse { 50% { opacity: .35; } }
|
|
3154
|
+
@media (prefers-reduced-motion: reduce) { .decklight-mic .rec-dot { animation: none; } }
|
|
3155
|
+
/* The recording card around the words: the strip (REC and the clock, or the
|
|
3156
|
+
count; where you are; the level), the bar across the take's slides, the
|
|
3157
|
+
beats read and to come either side of the one on screen, and the keys */
|
|
3158
|
+
.decklight-mic .rec-strip { display: flex; align-items: center; gap: 14px; padding: 2px 12px 6px; min-height: 40px; }
|
|
3159
|
+
.decklight-mic .rec-strip .rec-status { margin: 0; min-width: 130px; }
|
|
3160
|
+
.decklight-mic .rec-strip .rec-where { flex: 1 1 auto; text-align: center; }
|
|
3161
|
+
.decklight-mic .rec-clock { font-weight: 500; letter-spacing: 0; color: #e8eaee; font-variant-numeric: tabular-nums; }
|
|
3162
|
+
.decklight-mic .rec-meter { display: flex; align-items: center; gap: 8px; min-width: 150px; justify-content: flex-end; opacity: .85; }
|
|
3163
|
+
/* the Camera option: you, as the camera films you, mirrored as a face
|
|
3164
|
+
expects (the film is not). A thumbnail on the plan card, a smaller one in
|
|
3165
|
+
the strip beside REC while you read */
|
|
3166
|
+
.decklight-mic .rec-cam-slot:empty { display: none; }
|
|
3167
|
+
.decklight-mic .rec-cam-row .rec-cam-slot { width: 192px; aspect-ratio: 16 / 9; margin: 4px 12px 2px; border-radius: 8px; overflow: hidden; background: #000; }
|
|
3168
|
+
.decklight-mic .rec-cam-row .rec-cam-says { padding: 0 12px; }
|
|
3169
|
+
.decklight-mic .rec-strip .rec-cam-mini { flex: none; width: 64px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #000; }
|
|
3170
|
+
.decklight-mic .rec-cam-view { display: block; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
|
|
3171
|
+
.decklight-mic .rec-meter .rec-level { width: 120px; margin: 0; }
|
|
3172
|
+
.decklight-mic .rec-progress { display: flex; gap: 3px; margin: 0 12px 8px; }
|
|
3173
|
+
.decklight-mic .rec-progress span { flex: 1 1 0; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .12); }
|
|
3174
|
+
.decklight-mic .rec-progress span.done { background: color-mix(in srgb, var(--accent, #6af) 55%, transparent); }
|
|
3175
|
+
.decklight-mic .rec-progress span.now { background: var(--accent, #6af); }
|
|
3176
|
+
.decklight-mic .rec-title { padding: 0 12px 2px; font-size: 12px; opacity: .55; }
|
|
3177
|
+
.decklight-mic .rec-script { max-height: 56vh; overflow-y: auto; }
|
|
3178
|
+
.decklight-mic .rec-script .rec-read, .decklight-mic .rec-script .rec-ahead { max-height: none; overflow: visible; }
|
|
3179
|
+
.decklight-mic .rec-read,
|
|
3180
|
+
.decklight-mic .rec-ahead p,
|
|
3181
|
+
.decklight-mic .rec-past span:last-child { white-space: pre-wrap; }
|
|
3182
|
+
.decklight-mic .rec-past { display: flex; gap: 10px; align-items: flex-start; padding: 4px 12px; font-size: 14px; opacity: .55; }
|
|
3183
|
+
.decklight-mic .rec-tick { flex: none; color: #7bd88f; }
|
|
3184
|
+
.decklight-mic .rec-cut { display: flex; align-items: center; gap: 8px; padding: 2px 12px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .55; }
|
|
3185
|
+
.decklight-mic .rec-cut > span:first-child, .decklight-mic .rec-cut > span:last-child { flex: 1 1 auto; height: 1px; background: rgba(255, 255, 255, .14); }
|
|
3186
|
+
.decklight-mic .rec-cut kbd { text-transform: none; letter-spacing: 0; }
|
|
3187
|
+
.decklight-mic .rec-cut-next { color: var(--accent, #6af); opacity: 1; }
|
|
3188
|
+
.decklight-mic .rec-cut-next > span:first-child, .decklight-mic .rec-cut-next > span:last-child { background: color-mix(in srgb, var(--accent, #6af) 35%, transparent); }
|
|
3189
|
+
.decklight-mic .rec-keys { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 6px 12px 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; opacity: .85; }
|
|
3190
|
+
.decklight-mic .rec-keys-dim { opacity: .6; }
|
|
3191
|
+
.decklight-mic .narr-card[data-phase="countdown"] .rec-keys-rec,
|
|
3192
|
+
.decklight-mic .narr-card:not([data-phase="countdown"]) .rec-keys-count { display: none; }
|
|
3193
|
+
|
|
3194
|
+
/* the done card: the slides just recorded, each with its length, a play
|
|
3195
|
+
button and a redo; the offer in its own box; the config line behind a line */
|
|
3196
|
+
.decklight-mic .rec-done-sum { font-size: 15px; opacity: 1; }
|
|
3197
|
+
.decklight-mic .rec-done-left { font-size: 13px; color: #ffcf8b; }
|
|
3198
|
+
.decklight-mic .rec-takes { margin: 6px 12px 0; border: 1px solid rgba(255, 255, 255, .1); border-radius: 8px; max-height: 196px; overflow-y: auto; }
|
|
3199
|
+
.decklight-mic .rec-take { display: flex; align-items: center; gap: 10px; padding: 5px 10px; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 13px; }
|
|
3200
|
+
.decklight-mic .rec-take:last-child { border-bottom: 0; }
|
|
3201
|
+
.decklight-mic .rec-take-note { flex: none; max-width: 190px; font-size: 12px; opacity: .6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
3202
|
+
.decklight-mic .rec-take-note.warn { color: #ffcf8b; opacity: 1; }
|
|
3203
|
+
.decklight-mic .rec-take-dur { flex: none; width: 44px; text-align: right; font-size: 12px; opacity: .6; font-variant-numeric: tabular-nums; }
|
|
3204
|
+
.decklight-mic .rec-play {
|
|
3205
|
+
flex: none; width: 28px; height: 24px; display: flex; align-items: center; justify-content: center;
|
|
3206
|
+
font: inherit; font-size: 10px; color: inherit; cursor: pointer;
|
|
3207
|
+
border: 1px solid rgba(255, 255, 255, .2); border-radius: 6px; background: transparent;
|
|
3208
|
+
}
|
|
3209
|
+
/* a slide's beats, folded under its row on the done card */
|
|
3210
|
+
.decklight-mic .rec-beats-toggle { flex: none; font: inherit; font-size: 12px; color: inherit; opacity: .7; cursor: pointer; border: 0; background: transparent; padding: 0 2px; white-space: nowrap; }
|
|
3211
|
+
.decklight-mic .rec-take-beat { padding-left: 22px; font-size: 12px; background: rgba(255, 255, 255, .025); }
|
|
3212
|
+
.decklight-mic .rec-take-beat .rec-slide-n { width: 30px; }
|
|
3213
|
+
.decklight-mic .rec-take-beat[hidden] { display: none; }
|
|
3214
|
+
.decklight-mic .rec-redo { flex: none; font: inherit; font-size: 12px; color: var(--accent, #6af); cursor: pointer; border: 0; background: transparent; padding: 0 2px; }
|
|
3215
|
+
.decklight-mic .rec-use-box { margin: 12px 12px 0; padding: 12px; border: 1px solid color-mix(in srgb, var(--accent, #6af) 35%, transparent); border-radius: 10px; background: color-mix(in srgb, var(--accent, #6af) 6%, transparent); }
|
|
3216
|
+
.decklight-mic .rec-use-box .rec-use { margin: 0; display: inline-flex; border-radius: 8px; padding: 8px 16px; font-weight: 600; color: #16181d; background: var(--accent, #6af); }
|
|
3217
|
+
.decklight-mic .rec-use-box .rec-use.rec-done, .decklight-mic .rec-use-box .rec-use.rec-failed { color: inherit; background: transparent; padding: 0; font-weight: 400; }
|
|
3218
|
+
.decklight-mic .rec-use-why { margin-top: 8px; font-size: 13px; opacity: .85; }
|
|
3219
|
+
.decklight-mic .rec-done-actions { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 12px 12px 0; font-size: 13px; }
|
|
3220
|
+
.decklight-mic .rec-again { font: inherit; font-size: 13px; color: inherit; cursor: pointer; border: 0; background: transparent; padding: 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .3); }
|
|
3221
|
+
.decklight-mic .rec-cfg-toggle { margin-top: 8px; font-size: 12px; opacity: .6; }
|
|
3222
|
+
.decklight-mic .rec-cfg { font-size: 13px; }
|
|
3223
|
+
|
|
1910
3224
|
/* "Use this track" — the offer that spares you pasting a config line. Shares
|
|
1911
3225
|
.narr-row's chrome; the two states it can reach are the two things worth
|
|
1912
3226
|
saying afterwards, so neither is a toast that scrolls away. */
|
|
@@ -1962,33 +3276,20 @@
|
|
|
1962
3276
|
box-shadow: 0 -12px 40px rgba(0, 0, 0, .5);
|
|
1963
3277
|
}
|
|
1964
3278
|
|
|
3279
|
+
/* window — out of the browser in a window of its own (dock.js): the card is
|
|
3280
|
+
the whole window, and scrolls inside it */
|
|
3281
|
+
.decklight-dockable[data-dock="window"] { position: fixed; inset: 0; }
|
|
3282
|
+
.decklight-dockable[data-dock="window"] .narr-card {
|
|
3283
|
+
box-sizing: border-box;
|
|
3284
|
+
inset: 0; width: auto; height: auto;
|
|
3285
|
+
max-height: none; border-radius: 0; box-shadow: none;
|
|
3286
|
+
}
|
|
3287
|
+
/* float, dragged past the browser's edge: let go and it leaves for a window */
|
|
3288
|
+
.decklight-dockable .narr-card.dk-leaving { opacity: .5; outline: 2px dashed var(--accent, #6af); outline-offset: -2px; }
|
|
3289
|
+
|
|
1965
3290
|
/* the dock control lives in the header, which becomes a flex row */
|
|
1966
3291
|
.decklight-dockable .narr-head { display: flex; align-items: center; gap: 8px; opacity: 1; }
|
|
1967
3292
|
.decklight-review .rv-heading { flex: 1; opacity: .55; }
|
|
1968
|
-
.decklight-dockable .dk-ctl { display: flex; gap: 2px; pointer-events: auto; }
|
|
1969
|
-
.decklight-dockable .dk-btn {
|
|
1970
|
-
font-size: 13px; line-height: 1; padding: 3px 5px;
|
|
1971
|
-
border: 0; border-radius: 5px;
|
|
1972
|
-
background: transparent; color: inherit;
|
|
1973
|
-
opacity: .5; cursor: pointer;
|
|
1974
|
-
}
|
|
1975
|
-
.decklight-dockable .dk-btn:hover { opacity: .9; background: rgba(255, 255, 255, .12); }
|
|
1976
|
-
/* the tabs: one panel beside the slide, and the others it can be, in the same
|
|
1977
|
-
place (dock.js). A full-width row across the top of the header. */
|
|
1978
|
-
.decklight-dockable .narr-head { flex-wrap: wrap; }
|
|
1979
|
-
.decklight-dockable .dk-tabs {
|
|
1980
|
-
display: flex; flex-wrap: wrap; gap: 2px; flex: 0 0 100%; order: -1;
|
|
1981
|
-
margin-bottom: 6px; padding-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, .1);
|
|
1982
|
-
text-transform: none; letter-spacing: normal; cursor: default;
|
|
1983
|
-
}
|
|
1984
|
-
.decklight-dockable .dk-tab {
|
|
1985
|
-
background: none; border: 0; border-radius: 4px; padding: 2px 6px; cursor: pointer;
|
|
1986
|
-
color: inherit; font: inherit; font-size: 11px; letter-spacing: .02em; opacity: .55;
|
|
1987
|
-
}
|
|
1988
|
-
.decklight-dockable .dk-tab:hover { opacity: .9; background: rgba(255, 255, 255, .08); }
|
|
1989
|
-
.decklight-dockable .dk-tab-on { opacity: 1; cursor: default; box-shadow: inset 0 -2px 0 var(--accent, #6af); border-radius: 4px 4px 0 0; }
|
|
1990
|
-
.decklight-dockable .dk-on { opacity: 1; background: rgba(255, 255, 255, .18); }
|
|
1991
|
-
.decklight-dockable .dk-close { font-size: 16px; margin-left: 2px; }
|
|
1992
3293
|
/* the panel's composer: at the FOOT, and pinned there while the list scrolls
|
|
1993
3294
|
(the card is the scroller; -14px covers its padding, so nothing shows
|
|
1994
3295
|
through beneath the box). Opaque, or the rows would read through it. */
|
|
@@ -2080,9 +3381,29 @@
|
|
|
2080
3381
|
white-space: nowrap;
|
|
2081
3382
|
}
|
|
2082
3383
|
/* the palette's shape (palette.js): every command at the root, its category
|
|
2083
|
-
as a dimmer prefix (`Voice:
|
|
3384
|
+
as a dimmer prefix (`Voice: AI voice…`), and a write-mode row tagged */
|
|
2084
3385
|
.decklight-palette .pal-right { display: inline-flex; align-items: center; gap: 8px; }
|
|
2085
3386
|
.decklight-palette .pal-cat { opacity: .55; }
|
|
3387
|
+
/* with nothing typed: group headings, and the rows' own prefix out of sight
|
|
3388
|
+
(kept for a screen reader, which reads the row without its heading) */
|
|
3389
|
+
.decklight-palette .pal-group { padding: 10px 12px 4px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #8d93a0; }
|
|
3390
|
+
.decklight-palette .pal-group:first-child { padding-top: 2px; }
|
|
3391
|
+
/* the chord's two meanings, kept in sight at the foot of the card however far the list scrolls */
|
|
3392
|
+
.decklight-palette .pal-hint {
|
|
3393
|
+
position: sticky; bottom: -14px; z-index: 1;
|
|
3394
|
+
margin: 6px -14px -14px; padding: 9px 26px 11px;
|
|
3395
|
+
background: #16181d; border-top: 1px solid rgba(255, 255, 255, .08); border-radius: 0 0 12px 12px;
|
|
3396
|
+
font-size: 12px; color: #8d93a0;
|
|
3397
|
+
}
|
|
3398
|
+
.decklight-palette .pal-grouped .pal-cat { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
|
|
3399
|
+
/* a picker's query box (overlay.js queryInput): a real input, so a phone's
|
|
3400
|
+
keyboard appears and a paste or an accented letter lands */
|
|
3401
|
+
.decklight-narr input.tp-query, .decklight-theme-picker input.tp-query {
|
|
3402
|
+
display: block; width: 100%; box-sizing: border-box; border: 0; outline: none;
|
|
3403
|
+
font: inherit; font-size: 16px; color: #fff; -webkit-appearance: none; appearance: none;
|
|
3404
|
+
}
|
|
3405
|
+
.decklight-narr input.tp-query::placeholder, .decklight-theme-picker input.tp-query::placeholder { color: #8d93a0; opacity: 1; }
|
|
3406
|
+
.decklight-narr input.tp-query:focus-visible, .decklight-theme-picker input.tp-query:focus-visible { box-shadow: 0 0 0 2px var(--accent, #6af); }
|
|
2086
3407
|
.decklight-palette .pal-tag { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 5px; border-radius: 4px; background: rgba(255, 255, 255, .1); opacity: .7; }
|
|
2087
3408
|
|
|
2088
3409
|
/* blackout / help */
|
|
@@ -2094,6 +3415,14 @@
|
|
|
2094
3415
|
.decklight-help .help-card h3 ~ h3 { margin-top: 18px; }
|
|
2095
3416
|
.decklight-help td { padding: 3px 14px 3px 0; }
|
|
2096
3417
|
.decklight-help td:first-child { font-family: var(--font-mono, monospace); color: var(--accent, #6af); }
|
|
3418
|
+
/* the groups (engine.js): side by side where there is room, one column on a phone */
|
|
3419
|
+
.decklight-help .help-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 6px 32px; align-items: start; }
|
|
3420
|
+
.decklight-help .help-card { width: min(980px, 96%); }
|
|
3421
|
+
.decklight-help h4 { margin: 12px 0 4px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #999); }
|
|
3422
|
+
.decklight-help .help-group td { vertical-align: top; }
|
|
3423
|
+
.decklight-help .help-group table { width: 100%; border-collapse: collapse; }
|
|
3424
|
+
.decklight-help .help-group td:first-child { width: 38%; }
|
|
3425
|
+
@media (max-width: 700px) { .decklight-help .help-groups { grid-template-columns: 1fr; } }
|
|
2097
3426
|
|
|
2098
3427
|
/* first-run welcome — the help card's anatomy, on the theme's own tokens so it
|
|
2099
3428
|
reads on all 46 built-in themes and anything a marketplace adds. z-index sits
|
|
@@ -2164,6 +3493,31 @@
|
|
|
2164
3493
|
.decklight-debug .dbg-prev { opacity: .5; }
|
|
2165
3494
|
.decklight-debug .dbg-reload .dbg-k, .decklight-debug .dbg-reload .dbg-m { color: #ffd27f; }
|
|
2166
3495
|
|
|
3496
|
+
/* The chrome follows a small box down. Arrows, the slide number, toasts, the
|
|
3497
|
+
voice hint and the welcome and help cards sit on the root, outside the
|
|
3498
|
+
scaled stage, in px: a deck embedded in a 520×292 box (decklight.io's hero)
|
|
3499
|
+
showed its slide at 0.4× under a full-size welcome card that overflowed the
|
|
3500
|
+
frame. They now take `zoom` from the FIT scale, the way the captions take
|
|
3501
|
+
their size (#490), but gentler and with a floor: full size whenever the
|
|
3502
|
+
slide is drawn at 0.72× or more (a window about 920 px wide), down to half
|
|
3503
|
+
size and no further, so an arrow stays something a finger can hit. Never
|
|
3504
|
+
up: a full-screen deck is exactly as it was. */
|
|
3505
|
+
.decklight { --chrome-k: clamp(0.5, calc(var(--stage-scale, 1) * 1.4), 1); }
|
|
3506
|
+
.decklight-controls,
|
|
3507
|
+
.decklight-slide-number,
|
|
3508
|
+
.decklight-toast,
|
|
3509
|
+
.decklight-narr-hint,
|
|
3510
|
+
.decklight-welcome .wel-card,
|
|
3511
|
+
.decklight-help .help-card { zoom: var(--chrome-k); }
|
|
3512
|
+
/* a card taller than its box scrolls inside it rather than overflowing it; a
|
|
3513
|
+
percentage resolves against the box as it is on screen, zoom or no zoom
|
|
3514
|
+
(the help card has had this all along) */
|
|
3515
|
+
.decklight-welcome .wel-card { max-height: 92%; overflow-y: auto; }
|
|
3516
|
+
/* …and the cap counts the padding: a content-box card was its padding taller */
|
|
3517
|
+
.decklight-welcome .wel-card,
|
|
3518
|
+
.decklight-help .help-card { box-sizing: border-box; }
|
|
3519
|
+
.decklight-help .help-card { max-width: 96%; }
|
|
3520
|
+
|
|
2167
3521
|
/* closed captions (C) — the current notes segment, youtube-style */
|
|
2168
3522
|
.decklight-captions {
|
|
2169
3523
|
/* The bar lives on the root, outside the scaled stage, so px here are px on
|
|
@@ -2180,16 +3534,17 @@
|
|
|
2180
3534
|
border-radius: calc(8px * var(--cap-k));
|
|
2181
3535
|
background: rgba(8, 9, 12, .8);
|
|
2182
3536
|
color: #fff;
|
|
2183
|
-
font-size: calc(21px * var(--cap-k));
|
|
3537
|
+
font-size: calc(21px * var(--cap-k) * var(--cap-size, 1));
|
|
2184
3538
|
line-height: 1.45;
|
|
2185
3539
|
text-align: center;
|
|
2186
3540
|
z-index: 45;
|
|
2187
3541
|
pointer-events: none;
|
|
3542
|
+
white-space: pre-wrap;
|
|
2188
3543
|
display: none;
|
|
2189
3544
|
}
|
|
2190
3545
|
.decklight-captions.show { display: block; }
|
|
2191
3546
|
|
|
2192
|
-
/* the voice-over hint — "this deck has a voice-over,
|
|
3547
|
+
/* the voice-over hint — "this deck has a voice-over, click to hear it".
|
|
2193
3548
|
Shares the captions' corner, which is why the two never show at once, and
|
|
2194
3549
|
the toast's visual language (dark pill, mono, accent) because it is the
|
|
2195
3550
|
same kind of thing: the deck telling you something, briefly. A real
|
|
@@ -2229,7 +3584,7 @@
|
|
|
2229
3584
|
.decklight-narr-hint { transform: translateX(-50%); transition: opacity .25s; }
|
|
2230
3585
|
}
|
|
2231
3586
|
|
|
2232
|
-
/* animated character (
|
|
3587
|
+
/* animated character (V → who is on screen) — lip-synced narration companion.
|
|
2233
3588
|
The controller sets data-viseme on the overlay each frame; one
|
|
2234
3589
|
[data-mouth] group shows at a time. [data-eyelid]/[data-idle] are the
|
|
2235
3590
|
default art's blink + sway — custom art gets them for free too. */
|
|
@@ -2243,10 +3598,11 @@
|
|
|
2243
3598
|
filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35));
|
|
2244
3599
|
}
|
|
2245
3600
|
.decklight-character.show { display: block; }
|
|
2246
|
-
|
|
2247
|
-
.decklight-character.pos-
|
|
2248
|
-
.decklight-character.pos-
|
|
2249
|
-
.decklight-character.pos-
|
|
3601
|
+
/* its corner is the slide's, so a docked panel's gutter (--dock-*) moves it in */
|
|
3602
|
+
.decklight-character.pos-br { right: calc(28px + var(--dock-right, 0px)); bottom: calc(28px + var(--dock-bottom, 0px)); }
|
|
3603
|
+
.decklight-character.pos-bl { left: calc(28px + var(--dock-left, 0px)); bottom: calc(28px + var(--dock-bottom, 0px)); }
|
|
3604
|
+
.decklight-character.pos-tr { right: calc(28px + var(--dock-right, 0px)); top: 28px; }
|
|
3605
|
+
.decklight-character.pos-tl { left: calc(28px + var(--dock-left, 0px)); top: 28px; }
|
|
2250
3606
|
|
|
2251
3607
|
/* solo — the narrator takes the stage. The slide steps aside and the
|
|
2252
3608
|
character centers, sized to the stage: `inset: 0` pins all four offsets
|
|
@@ -2281,6 +3637,61 @@
|
|
|
2281
3637
|
.decklight-character.mode-video .still.missing { visibility: hidden; }
|
|
2282
3638
|
.decklight-character.mode-video video { opacity: 0; transition: opacity .12s; }
|
|
2283
3639
|
.decklight-character.mode-video video.live { opacity: 1; }
|
|
3640
|
+
/* where the face shows (FACE_LAYOUT): data-face="hide" puts the overlay
|
|
3641
|
+
away for the beat (the voice plays on); data-face="full 1.4" gives it the
|
|
3642
|
+
whole deck, the slide stepped aside the way solo does it, the face cropped
|
|
3643
|
+
to fill the frame and zoomed on itself. Above solo in the cascade, so a
|
|
3644
|
+
full-screen beat in a solo deck is full screen. */
|
|
3645
|
+
/* Builds and mouth shapes can override inherited visibility. Hide each group. */
|
|
3646
|
+
.decklight-character.face-hide { visibility: hidden; opacity: 0; }
|
|
3647
|
+
.decklight:is(.decklight-face-full, .decklight-face-preview-full:not(:fullscreen, .decklight-overview):not(:has(> .decklight-character.show:not(.decklight-character-preview)))) {
|
|
3648
|
+
> :is(.decklight-stage, .decklight-progress, .decklight-slide-number) { visibility: hidden; }
|
|
3649
|
+
> .decklight-stage { opacity: 0; }
|
|
3650
|
+
> .decklight-stage:has(> section.active:not([data-face-keep="none"]) [data-face-keep]) {
|
|
3651
|
+
opacity: 1;
|
|
3652
|
+
z-index: 45; /* above the narrator (44), below the later captions (45) */
|
|
3653
|
+
> :not(section.active) { opacity: 0 !important; }
|
|
3654
|
+
}
|
|
3655
|
+
}
|
|
3656
|
+
/* Keep the original boxes in flow, including every ancestor that positions
|
|
3657
|
+
or animates a kept title. Hide whole sibling branches even when a build
|
|
3658
|
+
explicitly sets visibility on its children. */
|
|
3659
|
+
:where(.decklight-face-full, .decklight-face-preview-full:not(:fullscreen, .decklight-overview):not(:has(> .decklight-character.show:not(.decklight-character-preview)))) > .decklight-stage > section.active,
|
|
3660
|
+
.decklight section.decklight-face-page {
|
|
3661
|
+
visibility: hidden;
|
|
3662
|
+
:where(&:not([data-face-keep="none"]) [data-face-keep]) { visibility: visible; }
|
|
3663
|
+
& :not([data-face-keep], section [data-face-keep] *, :has([data-face-keep]), .decklight-face-still, .decklight-face-still *),
|
|
3664
|
+
&[data-face-keep="none"] > :not(.decklight-face-still) { visibility: hidden !important; opacity: 0 !important; }
|
|
3665
|
+
& :has([data-face-keep]):not([data-face-keep], section [data-face-keep] *) { visibility: hidden !important; }
|
|
3666
|
+
}
|
|
3667
|
+
.decklight .decklight-character.face-full {
|
|
3668
|
+
inset: 0;
|
|
3669
|
+
margin: 0;
|
|
3670
|
+
width: 100%;
|
|
3671
|
+
height: 100%;
|
|
3672
|
+
overflow: hidden;
|
|
3673
|
+
filter: none;
|
|
3674
|
+
background: #000;
|
|
3675
|
+
}
|
|
3676
|
+
/* the 2D character full screen: the solo treatment, not a cover crop. The
|
|
3677
|
+
bust centres at the solo size, a zoom scales it up to what the stage can
|
|
3678
|
+
hold (never so far that the face leaves the frame), and it keeps its
|
|
3679
|
+
shadow on the deck's own background rather than a black frame. */
|
|
3680
|
+
.decklight .decklight-character.face-full:not(.mode-video) {
|
|
3681
|
+
inset: 0;
|
|
3682
|
+
margin: auto;
|
|
3683
|
+
overflow: visible;
|
|
3684
|
+
background: none;
|
|
3685
|
+
filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35));
|
|
3686
|
+
width: min(calc(var(--character-solo-size, min(74vh, 74vw)) * var(--face-zoom, 1)), 96vh, 96vw);
|
|
3687
|
+
height: min(calc(var(--character-solo-size, min(74vh, 74vw)) * var(--face-zoom, 1)), 96vh, 96vw);
|
|
3688
|
+
}
|
|
3689
|
+
.decklight-character.face-full.mode-video .still { display: none; }
|
|
3690
|
+
.decklight-character.face-full.mode-video video {
|
|
3691
|
+
border-radius: 0;
|
|
3692
|
+
transform: scale(var(--face-zoom, 1));
|
|
3693
|
+
transform-origin: 50% 40%;
|
|
3694
|
+
}
|
|
2284
3695
|
.decklight-character [data-mouth] { visibility: hidden; }
|
|
2285
3696
|
.decklight-character[data-viseme="A"] [data-mouth="A"],
|
|
2286
3697
|
.decklight-character[data-viseme="B"] [data-mouth="B"],
|
|
@@ -2311,6 +3722,57 @@
|
|
|
2311
3722
|
to { transform: rotate(1.1deg) translateY(1.5px); }
|
|
2312
3723
|
}
|
|
2313
3724
|
.decklight.decklight-print .decklight-character { display: none !important; }
|
|
3725
|
+
.decklight section.decklight-face-page > .decklight-face-still {
|
|
3726
|
+
display: block !important;
|
|
3727
|
+
visibility: visible;
|
|
3728
|
+
z-index: -1;
|
|
3729
|
+
}
|
|
3730
|
+
/* Exact video photographs this transparent layer above a filmed face. */
|
|
3731
|
+
html.decklight-face-layer, .decklight-face-layer body, .decklight-face-layer .decklight { background: transparent !important; }
|
|
3732
|
+
.decklight-face-layer .decklight::before,
|
|
3733
|
+
.decklight-face-layer .decklight > :not(.decklight-stage) { display: none !important; }
|
|
3734
|
+
|
|
3735
|
+
/* Write mode draws the narrator's footprint over the same slide composition. */
|
|
3736
|
+
.decklight-character-preview,
|
|
3737
|
+
.decklight .decklight-character-preview.face-full {
|
|
3738
|
+
opacity: .48;
|
|
3739
|
+
pointer-events: none;
|
|
3740
|
+
user-select: none;
|
|
3741
|
+
background: transparent;
|
|
3742
|
+
filter: none;
|
|
3743
|
+
}
|
|
3744
|
+
.decklight-character-preview [data-idle],
|
|
3745
|
+
.decklight-character-preview [data-eyelid] { animation: none; }
|
|
3746
|
+
.decklight-character-preview.mode-video,
|
|
3747
|
+
.decklight-character-preview.face-full {
|
|
3748
|
+
outline: 2px dashed var(--fg, #fff);
|
|
3749
|
+
outline-offset: -2px;
|
|
3750
|
+
}
|
|
3751
|
+
.decklight-character-preview.mode-video { border-radius: 50%; }
|
|
3752
|
+
.decklight .decklight-character-preview.face-full { border-radius: 0; }
|
|
3753
|
+
.decklight-character-preview[data-preview-label]:not([data-preview-label=""])::after {
|
|
3754
|
+
content: attr(data-preview-label);
|
|
3755
|
+
position: absolute;
|
|
3756
|
+
top: 50%;
|
|
3757
|
+
left: 50%;
|
|
3758
|
+
transform: translate(-50%, -50%);
|
|
3759
|
+
max-width: 100%;
|
|
3760
|
+
background: var(--bg, #000);
|
|
3761
|
+
color: var(--fg, #fff);
|
|
3762
|
+
font: 600 13px/1.4 system-ui, sans-serif;
|
|
3763
|
+
padding: 3px 8px;
|
|
3764
|
+
border-radius: 4px;
|
|
3765
|
+
white-space: nowrap;
|
|
3766
|
+
}
|
|
3767
|
+
.decklight-character-preview.face-full::after { top: 6px; transform: translateX(-50%); }
|
|
3768
|
+
.decklight:fullscreen > .decklight-character-preview,
|
|
3769
|
+
.decklight.decklight-overview > .decklight-character-preview,
|
|
3770
|
+
.decklight:has(> .decklight-character.show:not(.decklight-character-preview)) > .decklight-character-preview {
|
|
3771
|
+
display: none;
|
|
3772
|
+
}
|
|
3773
|
+
@media print {
|
|
3774
|
+
.decklight-character-preview { display: none !important; }
|
|
3775
|
+
}
|
|
2314
3776
|
|
|
2315
3777
|
/* notes editor (right-click a slide's background, or the palette) — E now
|
|
2316
3778
|
arms element edit mode instead (below) */
|
|
@@ -2330,12 +3792,42 @@
|
|
|
2330
3792
|
.decklight-editor.decklight-dockable:not([data-dock="float"]) .edit-code > pre { max-height: none; }
|
|
2331
3793
|
.decklight-editor.decklight-dockable:not([data-dock="float"]) .tr-actions { flex: 0 0 auto; }
|
|
2332
3794
|
/* the notes editor's rewrite buttons ask which slides first */
|
|
2333
|
-
.decklight-editor .tr-actions { flex-wrap: wrap; }
|
|
3795
|
+
.decklight-editor .tr-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 12px; }
|
|
2334
3796
|
.decklight-editor .notes-scope { align-items: center; }
|
|
2335
|
-
.decklight-editor .notes-scope-what { font-size:
|
|
2336
|
-
/*
|
|
3797
|
+
.decklight-editor .notes-scope-what { font-size: 13px; opacity: .7; margin-right: 2px; }
|
|
3798
|
+
/* The notes toolbar: ✎ edit / ⇄ changes and ↺ reset on the left, the agent's
|
|
3799
|
+
rewrites on the right. Buttons a pointer can find: the shared .narr-prev-btn
|
|
3800
|
+
is sized for a row's corner, 11px, and read as a row of specks here. */
|
|
3801
|
+
.decklight-editor .notes-bar { justify-content: space-between; align-items: center; }
|
|
3802
|
+
.decklight-editor .notes-tools,
|
|
3803
|
+
.decklight-editor .notes-rewrites { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
|
|
3804
|
+
/* the quick actions, then Writing tools…; while a Rewrite of part of the
|
|
3805
|
+
notes runs, the mark after them says which words */
|
|
3806
|
+
.decklight-editor .notes-sep { opacity: .4; }
|
|
3807
|
+
.decklight-editor .notes-running { font-size: 12px; opacity: .75; max-width: 28em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
3808
|
+
.decklight-editor .narr-prev-btn,
|
|
3809
|
+
.decklight-editor .notes-btn {
|
|
3810
|
+
font-size: 13px;
|
|
3811
|
+
line-height: 1.2;
|
|
3812
|
+
padding: 7px 12px;
|
|
3813
|
+
min-height: 32px;
|
|
3814
|
+
border-radius: 8px;
|
|
3815
|
+
opacity: .85;
|
|
3816
|
+
}
|
|
2337
3817
|
.decklight-editor .narr-prev-btn:disabled { opacity: .35; cursor: default; }
|
|
2338
|
-
|
|
3818
|
+
/* A's model field (#918): a button's height beside the agent picker, not the
|
|
3819
|
+
full-width notes input it borrows its look from */
|
|
3820
|
+
.decklight-editor .narr-input.agent-model {
|
|
3821
|
+
width: 10em; flex: 0 1 10em; min-width: 6em; margin: 0;
|
|
3822
|
+
padding: 6px 10px; min-height: 32px; font-size: 13px;
|
|
3823
|
+
}
|
|
3824
|
+
.decklight-editor .narr-input.agent-model:disabled { opacity: .45; cursor: not-allowed; }
|
|
3825
|
+
/* a switch, not two buttons: the lit half is the view on screen */
|
|
3826
|
+
.decklight-editor .notes-views { display: inline-flex; }
|
|
3827
|
+
.decklight-editor .notes-views .notes-btn { border-radius: 0; }
|
|
3828
|
+
.decklight-editor .notes-views .notes-btn:first-child { border-radius: 8px 0 0 8px; }
|
|
3829
|
+
.decklight-editor .notes-views .notes-btn:last-child { border-radius: 0 8px 8px 0; border-left: none; }
|
|
3830
|
+
.decklight-editor .notes-views .notes-btn.narr-sel { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); opacity: 1; }
|
|
2339
3831
|
.decklight-editor .notes-diff {
|
|
2340
3832
|
flex: 1 1 auto;
|
|
2341
3833
|
min-height: 160px;
|
|
@@ -2350,7 +3842,7 @@
|
|
|
2350
3842
|
outline: none;
|
|
2351
3843
|
}
|
|
2352
3844
|
.decklight-editor .notes-diff-head { font: 11px/1.4 system-ui, sans-serif; letter-spacing: .04em; opacity: .6; margin-bottom: 8px; text-transform: uppercase; }
|
|
2353
|
-
.decklight-editor .notes-diff-body { white-space: pre-wrap; word-break: break-word; }
|
|
3845
|
+
.decklight-editor .notes-diff-body { white-space: pre-wrap; word-break: break-word; font-size: var(--notes-px, 13px); }
|
|
2354
3846
|
.decklight-editor .notes-diff del { background: rgba(229, 83, 61, .22); color: #ffb4a8; text-decoration: line-through; }
|
|
2355
3847
|
.decklight-editor .notes-diff ins { background: rgba(80, 200, 120, .22); color: #b6f5c8; text-decoration: none; }
|
|
2356
3848
|
/* the notes editor and the agent ask dock the same way: their plain textarea
|
|
@@ -2386,6 +3878,20 @@
|
|
|
2386
3878
|
.decklight-agent .agent-ask-prompt { margin: 2px 0 4px; white-space: pre-wrap; font-weight: 600; }
|
|
2387
3879
|
.decklight-agent .agent-ask-out { white-space: pre-wrap; opacity: .8; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 11.5px; }
|
|
2388
3880
|
.decklight-agent .agent-ask-running .agent-ask-out { opacity: .6; font-style: italic; }
|
|
3881
|
+
/* what the agent said, its markdown rendered (mdtext.js): prose, not a log */
|
|
3882
|
+
.decklight-agent .agent-ask-md { white-space: normal; font-family: system-ui, sans-serif; font-size: 12.5px; margin-top: 2px; }
|
|
3883
|
+
.decklight-agent .agent-ask-md > div { white-space: pre-wrap; }
|
|
3884
|
+
.decklight-agent .agent-ask-md .md-gap { height: .5em; }
|
|
3885
|
+
.decklight-agent .agent-ask-md .md-h { font-weight: 700; margin-top: 4px; }
|
|
3886
|
+
.decklight-agent .agent-ask-md .md-hr { border-top: 1px solid rgba(255, 255, 255, .15); margin: 6px 0; }
|
|
3887
|
+
.decklight-agent .agent-ask-md .md-li { text-indent: -1.2em; }
|
|
3888
|
+
.decklight-agent .agent-ask-md .md-mark { display: inline-block; min-width: 1.2em; text-indent: 0; opacity: .7; }
|
|
3889
|
+
.decklight-agent .agent-ask-md .md-quote { border-left: 2px solid rgba(255, 255, 255, .25); padding-left: 8px; opacity: .85; }
|
|
3890
|
+
.decklight-agent .agent-ask-md strong { font-weight: 700; }
|
|
3891
|
+
.decklight-agent .agent-ask-md code, .decklight-agent .agent-ask-md .md-pre { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 11.5px; background: rgba(255, 255, 255, .08); border-radius: 3px; }
|
|
3892
|
+
.decklight-agent .agent-ask-md code { padding: 0 3px; }
|
|
3893
|
+
.decklight-agent .agent-ask-md .md-pre { margin: 4px 0; padding: 6px 8px; white-space: pre-wrap; }
|
|
3894
|
+
.decklight-agent .agent-ask-md a { color: inherit; text-decoration: underline; }
|
|
2389
3895
|
.decklight-agent .agent-ask-failed .agent-ask-out { color: #f3a3a3; }
|
|
2390
3896
|
/* the notes card with no edit server behind it (S under present/review):
|
|
2391
3897
|
the same box, read-only, and it looks it */
|
|
@@ -2395,8 +3901,12 @@
|
|
|
2395
3901
|
resize: vertical;
|
|
2396
3902
|
line-height: 1.6;
|
|
2397
3903
|
font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
|
|
2398
|
-
font-size: 13px;
|
|
3904
|
+
font-size: var(--notes-px, 13px);
|
|
2399
3905
|
}
|
|
3906
|
+
/* A− / A+ in the notes card's header: the notes' type size (--notes-px) */
|
|
3907
|
+
.decklight-editor .notes-size { display: flex; gap: 2px; flex: none; pointer-events: auto; }
|
|
3908
|
+
.decklight-editor .notes-size .notes-size-btn { font-size: 12px; font-weight: 600; }
|
|
3909
|
+
.decklight-editor .notes-size .notes-size-btn:disabled { opacity: .2; cursor: default; background: transparent; }
|
|
2400
3910
|
|
|
2401
3911
|
/* editing's right-click menu (editing is on in write mode; right-click a slide
|
|
2402
3912
|
element — #112). The first CURSOR-ANCHORED overlay: every other one dims
|
|
@@ -2417,6 +3927,10 @@
|
|
|
2417
3927
|
padding: 6px;
|
|
2418
3928
|
box-shadow: 0 12px 40px rgba(0, 0, 0, .55);
|
|
2419
3929
|
font: 14px/1.4 system-ui, sans-serif;
|
|
3930
|
+
/* a menu taller than the deck scrolls inside itself rather than running off it */
|
|
3931
|
+
max-height: calc(100% - 8px);
|
|
3932
|
+
overflow-y: auto;
|
|
3933
|
+
box-sizing: border-box;
|
|
2420
3934
|
}
|
|
2421
3935
|
.decklight-ctxmenu .cm-row {
|
|
2422
3936
|
padding: 7px 12px;
|
|
@@ -2440,6 +3954,21 @@
|
|
|
2440
3954
|
margin-bottom: 4px;
|
|
2441
3955
|
padding-bottom: 9px;
|
|
2442
3956
|
}
|
|
3957
|
+
/* a submenu's small headed groups (Wire ▸: Route, then Arrows) and the rule
|
|
3958
|
+
before a row that is not one of them: neither is a row the arrows stop on */
|
|
3959
|
+
.decklight-ctxmenu .cm-head {
|
|
3960
|
+
padding: 6px 12px 2px;
|
|
3961
|
+
font-size: 11px;
|
|
3962
|
+
letter-spacing: .08em;
|
|
3963
|
+
text-transform: uppercase;
|
|
3964
|
+
color: #8b909a;
|
|
3965
|
+
cursor: default;
|
|
3966
|
+
}
|
|
3967
|
+
.decklight-ctxmenu .cm-sep {
|
|
3968
|
+
height: 1px;
|
|
3969
|
+
margin: 4px 6px;
|
|
3970
|
+
background: rgba(255, 255, 255, .12);
|
|
3971
|
+
}
|
|
2443
3972
|
|
|
2444
3973
|
/* the colour picker (element menu → Colors…): a dockable panel like the
|
|
2445
3974
|
other editing surfaces (dock.js), so the shape stays in view while every
|
|
@@ -2651,6 +4180,7 @@
|
|
|
2651
4180
|
.decklight.decklight-print .build-step { visibility: visible !important; opacity: 1 !important; transform: none !important; }
|
|
2652
4181
|
.decklight.decklight-print .draw-stroke { stroke-dashoffset: 0 !important; }
|
|
2653
4182
|
.decklight.decklight-print .draw-fade { opacity: 1 !important; }
|
|
4183
|
+
.decklight.decklight-print .draw-fill { fill-opacity: var(--draw-fill-op, 1) !important; }
|
|
2654
4184
|
.decklight.decklight-print .draw-head { visibility: visible !important; transition: none !important; }
|
|
2655
4185
|
.decklight.decklight-print [data-draw-masked] { mask: none !important; }
|
|
2656
4186
|
|
|
@@ -2731,7 +4261,8 @@
|
|
|
2731
4261
|
@media (prefers-reduced-motion: reduce) {
|
|
2732
4262
|
.decklight section.entering, .decklight section.leaving,
|
|
2733
4263
|
.decklight .build-step, .decklight [data-animate],
|
|
2734
|
-
.decklight .draw-stroke, .decklight .draw-fade, .decklight .draw-head, .decklight .draw-mask-stroke, .decklight .aa-fresh
|
|
4264
|
+
.decklight .draw-stroke, .decklight .draw-fade, .decklight .draw-fill, .decklight .draw-head, .decklight .draw-mask-stroke, .decklight .aa-fresh,
|
|
4265
|
+
.decklight .travel-pulse {
|
|
2735
4266
|
animation: none !important;
|
|
2736
4267
|
transition: none !important;
|
|
2737
4268
|
}
|
|
@@ -2811,6 +4342,11 @@
|
|
|
2811
4342
|
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
|
|
2812
4343
|
}
|
|
2813
4344
|
.decklight-inspector .ins-extra { display: block; opacity: .5; font-size: .88em; }
|
|
4345
|
+
.decklight-inspector .ins-act {
|
|
4346
|
+
padding: 0; border: 0; background: none; font: inherit; color: #9ecbff; cursor: pointer;
|
|
4347
|
+
text-decoration: underline dotted; text-underline-offset: 3px;
|
|
4348
|
+
}
|
|
4349
|
+
.decklight-inspector .ins-act:hover, .decklight-inspector .ins-act:focus-visible { color: #fff; text-decoration-style: solid; }
|
|
2814
4350
|
.decklight-inspector .ins-none { margin: 2px 12px 8px; opacity: .5; font-size: .9em; }
|
|
2815
4351
|
.decklight-inspector .ins-link { text-decoration: none; color: inherit; }
|
|
2816
4352
|
.decklight-inspector .src-go { flex: none; opacity: .45; font-size: .85em; }
|
|
@@ -2836,6 +4372,83 @@
|
|
|
2836
4372
|
.decklight-inspector .cp-embedded { padding: 0 12px 4px; }
|
|
2837
4373
|
.decklight-colorpicker .cp-saved { font-size: 11px; opacity: .5; }
|
|
2838
4374
|
|
|
4375
|
+
/* the Data tab (chartgrid.js): a chart's numbers as a grid, a cell an input,
|
|
4376
|
+
numbers right-aligned in the mono face so their digits line up */
|
|
4377
|
+
.decklight-inspector .dl-chartgrid { padding: 0 12px 4px; font-size: 12.5px; }
|
|
4378
|
+
.decklight-inspector .dg-field { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
|
|
4379
|
+
.decklight-inspector .dg-key { flex: none; width: 64px; color: #b9bec8; }
|
|
4380
|
+
.decklight-inspector .dg-seg { display: flex; flex: 1; min-width: 0; gap: 2px; padding: 2px; border-radius: 8px; background: rgba(255, 255, 255, .07); }
|
|
4381
|
+
.decklight-inspector .dg-seg-btn {
|
|
4382
|
+
flex: 1; min-width: 0; padding: 4px 4px; border: 0; border-radius: 6px; background: none;
|
|
4383
|
+
color: #b9bec8; font: inherit; font-size: 12px; cursor: pointer;
|
|
4384
|
+
}
|
|
4385
|
+
.decklight-inspector .dg-seg-btn[aria-checked="true"] { background: rgba(255, 255, 255, .16); color: #fff; }
|
|
4386
|
+
.decklight-inspector .dg-seg-btn:disabled { opacity: .35; cursor: default; }
|
|
4387
|
+
.decklight-inspector .dg-seg-btn:not([aria-checked="true"]):not(:disabled):hover { background: rgba(255, 255, 255, .06); color: #e4e7ec; }
|
|
4388
|
+
.decklight-inspector :is(.dg-title, .dg-cell) {
|
|
4389
|
+
box-sizing: border-box; min-width: 0; padding: 4px 7px;
|
|
4390
|
+
border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px; background: rgba(0, 0, 0, .3); color: inherit; font: inherit;
|
|
4391
|
+
}
|
|
4392
|
+
.decklight-inspector .dg-title { flex: 1; }
|
|
4393
|
+
.decklight-inspector :is(.dg-title, .dg-cell):focus { outline: none; border-color: #9ecbff; box-shadow: 0 0 0 1px #9ecbff; }
|
|
4394
|
+
.decklight-inspector :is(.dg-title, .dg-cell)[readonly] { opacity: .7; }
|
|
4395
|
+
.decklight-inspector .dg-scroll { max-height: 46vh; overflow: auto; margin: 0 -2px; padding: 2px; }
|
|
4396
|
+
.decklight-inspector .dg-grid { border-collapse: separate; border-spacing: 3px; margin: -3px; }
|
|
4397
|
+
/* a theme's table rules (borders, stripes) are the slide's, not this panel's */
|
|
4398
|
+
.decklight-inspector .dg-grid :is(th, td) { padding: 0; border: 0; background: none; font-weight: inherit; }
|
|
4399
|
+
.decklight-inspector .dg-corner { color: #8d94a1; font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; text-align: left; padding-left: 7px !important; }
|
|
4400
|
+
.decklight-inspector .dg-cell { width: 100%; min-width: 64px; }
|
|
4401
|
+
.decklight-inspector .dg-name { font-weight: 600; color: #fff; }
|
|
4402
|
+
/* a scatter's pairs: an x and a y under each series' name, a number per point */
|
|
4403
|
+
.decklight-inspector .dg-pairs .dg-axis-head, .decklight-inspector .dg-pairs .dg-pt-n { color: #8d94a1; font-size: 10.5px; font-weight: 400; text-align: center; }
|
|
4404
|
+
.decklight-inspector .dg-pairs .dg-pt-n { text-align: right; padding-right: 6px; }
|
|
4405
|
+
/* a line series' band edges and its markers (CHARTS): a second header row
|
|
4406
|
+
names the columns, a band's edges sit a shade back from its values */
|
|
4407
|
+
.decklight-inspector .dg-part-head { color: #8d94a1; font-size: 10.5px; font-weight: 400; text-align: center; }
|
|
4408
|
+
.decklight-inspector .dg-part-mark { min-width: 22px; }
|
|
4409
|
+
.decklight-inspector .dg-band { background: rgba(255, 255, 255, .06); }
|
|
4410
|
+
.decklight-inspector .dg-mark-cell { white-space: nowrap; }
|
|
4411
|
+
.decklight-inspector .dg-mark { margin: 0 4px; vertical-align: middle; accent-color: #9ecbff; cursor: pointer; }
|
|
4412
|
+
.decklight-inspector .dg-cell.dg-mark-label { width: 7.5em; min-width: 7.5em; vertical-align: middle; }
|
|
4413
|
+
/* a grid with band and marker columns is wide: its numbers take less room each */
|
|
4414
|
+
.decklight-inspector .dg-grid.dg-wide .dg-num { min-width: 44px; }
|
|
4415
|
+
.decklight-inspector .dg-grid.dg-wide .dg-label { min-width: 64px; }
|
|
4416
|
+
.decklight-inspector .dg-label { min-width: 84px; color: #e4e7ec; }
|
|
4417
|
+
.decklight-inspector .dg-num { text-align: right; font: 12.5px ui-monospace, 'SF Mono', Menlo, Consolas, monospace; }
|
|
4418
|
+
.decklight-inspector .dg-cell.dg-bad { border-color: #f08a7e; box-shadow: 0 0 0 1px #f08a7e; background: rgba(240, 138, 126, .12); }
|
|
4419
|
+
.decklight-inspector .dg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; margin-top: 10px; }
|
|
4420
|
+
.decklight-inspector .dg-spacer { flex: 1; }
|
|
4421
|
+
.decklight-inspector .dg-btn {
|
|
4422
|
+
padding: 4px 8px; border: 0; border-radius: 7px; background: rgba(255, 255, 255, .08);
|
|
4423
|
+
color: inherit; font: inherit; font-size: 12px; cursor: pointer;
|
|
4424
|
+
}
|
|
4425
|
+
.decklight-inspector .dg-btn:not(:disabled):hover { background: rgba(255, 255, 255, .16); }
|
|
4426
|
+
.decklight-inspector .dg-btn:disabled { opacity: .35; cursor: default; }
|
|
4427
|
+
.decklight-inspector .dg-status { margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 11px; opacity: .5; }
|
|
4428
|
+
.decklight-inspector .dg-status:empty { display: none; }
|
|
4429
|
+
.decklight-inspector .dg-status.dg-failed { color: #f08a7e; opacity: 1; }
|
|
4430
|
+
.decklight-inspector .dg-note { margin: 2px 0 10px; color: #b9bec8; font-size: .95em; line-height: 1.45; }
|
|
4431
|
+
.decklight-inspector .dg-readonly { color: #f2c46d; }
|
|
4432
|
+
/* the chart's now and threshold, and where each line turns dashed (CHARTS):
|
|
4433
|
+
a label picked from the chart's own, never one typed */
|
|
4434
|
+
.decklight-inspector .dg-select {
|
|
4435
|
+
box-sizing: border-box; min-width: 0; max-width: 100%; padding: 4px 5px;
|
|
4436
|
+
border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px; background: rgba(0, 0, 0, .3);
|
|
4437
|
+
color: inherit; font: inherit; color-scheme: dark; cursor: pointer;
|
|
4438
|
+
}
|
|
4439
|
+
.decklight-inspector .dg-select:focus { outline: none; border-color: #9ecbff; box-shadow: 0 0 0 1px #9ecbff; }
|
|
4440
|
+
.decklight-inspector .dg-select:disabled { opacity: .5; cursor: default; }
|
|
4441
|
+
.decklight-inspector .dg-rule :is(.dg-select, .dg-threshold-y) { flex: none; width: 7.5em; }
|
|
4442
|
+
.decklight-inspector .dg-rule .dg-rule-words { flex: 1; }
|
|
4443
|
+
.decklight-inspector .dg-threshold-y { text-align: right; font: 12.5px ui-monospace, 'SF Mono', Menlo, Consolas, monospace; }
|
|
4444
|
+
.decklight-inspector .dg-threshold-y.dg-bad { border-color: #f08a7e; box-shadow: 0 0 0 1px #f08a7e; background: rgba(240, 138, 126, .12); }
|
|
4445
|
+
.decklight-inspector .dg-title:disabled { opacity: .4; }
|
|
4446
|
+
.decklight-inspector .dg-foot .dg-select { width: 100%; margin-top: 3px; }
|
|
4447
|
+
.decklight-inspector .dg-foot .dg-corner { padding-top: 3px !important; white-space: nowrap; }
|
|
4448
|
+
.decklight-inspector .dg-break { flex-basis: 100%; height: 0; }
|
|
4449
|
+
/* the panel's foot, set inside the pane that already has the panel's margin */
|
|
4450
|
+
.decklight-inspector .dl-chartgrid .ins-foot { margin: 0 -12px; }
|
|
4451
|
+
|
|
2839
4452
|
/* the picker and the hover inside a diagram (pick.js): a dashed line in the
|
|
2840
4453
|
theme's accent around the node under the pointer, a faint glow on the node,
|
|
2841
4454
|
the stage around it dimmed a little; the box lets every pointer event
|
|
@@ -2852,6 +4465,17 @@
|
|
|
2852
4465
|
.decklight.dl-picking, .decklight.dl-picking .decklight-stage * { cursor: crosshair !important; }
|
|
2853
4466
|
/* a node selected inside a diagram: SVG takes no outline, so a frame is drawn over it */
|
|
2854
4467
|
.decklight .dl-frame { position: fixed; z-index: 29; pointer-events: none; outline: 2px solid var(--accent); border-radius: 4px; }
|
|
4468
|
+
/* a wire is never boxed (the box its route spans is mostly empty): selected, it glows along its own stroke,
|
|
4469
|
+
tighter and fuller than the hover's glow, and winning over it */
|
|
4470
|
+
.decklight svg .dl-wire-selected, .decklight svg .dl-wire-selected.dl-glow { filter: drop-shadow(0 0 1.5px var(--accent)) drop-shadow(0 0 4px var(--accent)); }
|
|
4471
|
+
/* several shapes of one diagram selected (SVG_DIAGRAMS): the others beside the
|
|
4472
|
+
framed one glow in the accent, as a selected wire does */
|
|
4473
|
+
.decklight svg .dl-shape-also { filter: drop-shadow(0 0 1.5px var(--accent)) drop-shadow(0 0 5px var(--accent)); }
|
|
4474
|
+
/* the marquee a drag on a diagram's empty canvas draws (shapes.js) */
|
|
4475
|
+
.decklight .dl-marquee {
|
|
4476
|
+
position: fixed; z-index: 31; pointer-events: none;
|
|
4477
|
+
border: 1px dashed var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent);
|
|
4478
|
+
}
|
|
2855
4479
|
|
|
2856
4480
|
/* The sources editor. A draft, so it looks like a form and not like the card
|
|
2857
4481
|
it was reading a moment ago. */
|
|
@@ -2900,7 +4524,47 @@
|
|
|
2900
4524
|
outline-offset: 3px;
|
|
2901
4525
|
border-radius: 2px;
|
|
2902
4526
|
cursor: text;
|
|
4527
|
+
/* editing is not selecting: a tint and a glow say the keys go into the words */
|
|
4528
|
+
background: color-mix(in srgb, var(--accent) 9%, transparent);
|
|
4529
|
+
box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 16%, transparent);
|
|
4530
|
+
}
|
|
4531
|
+
/* under the element being edited: its two ways out (authoring.js) */
|
|
4532
|
+
.dl-edit-hint {
|
|
4533
|
+
position: fixed; z-index: 60; transform: translateX(-50%);
|
|
4534
|
+
padding: 4px 9px; border-radius: 7px;
|
|
4535
|
+
background: rgba(20, 20, 22, .86); color: #e6e6e6;
|
|
4536
|
+
border: 1px solid rgba(160, 160, 160, .28);
|
|
4537
|
+
font: 500 12px/1.2 system-ui, sans-serif; white-space: nowrap; pointer-events: none;
|
|
4538
|
+
}
|
|
4539
|
+
/* a table typed in like a document (list-session.js): an empty cell keeps a
|
|
4540
|
+
line's height while editing is on, so a row Tab or the menu added can be
|
|
4541
|
+
clicked into */
|
|
4542
|
+
.decklight.dl-editmode td:empty, .decklight.dl-editmode th:empty { height: 1.4em; }
|
|
4543
|
+
/* a column's edge under the pointer while editing: dragged, it sets the column's width (list-session.js) */
|
|
4544
|
+
.decklight.dl-editmode.dl-col-edge, .decklight.dl-editmode.dl-col-edge * { cursor: col-resize !important; }
|
|
4545
|
+
/* placing a draw stop (builds-panel.js): the next press on the slide says where */
|
|
4546
|
+
html.dl-placing-stop .decklight-stage, html.dl-placing-stop .decklight-stage * { cursor: crosshair !important; }
|
|
4547
|
+
/* while editing, a frame is a block to select, not a page to click into */
|
|
4548
|
+
.decklight.dl-editmode section iframe { pointer-events: none; }
|
|
4549
|
+
/* Add ▾ › Web page: its address, asked above the bar */
|
|
4550
|
+
.decklight .dl-url-ask { position: fixed; z-index: 60; display: flex; gap: 6px; align-items: center; padding: 8px; border-radius: 10px;
|
|
4551
|
+
background: #1b1e24; color: #e4e7ec; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); font: 13px/1.3 system-ui, sans-serif; }
|
|
4552
|
+
.decklight .dl-url-ask input { width: 26em; padding: 4px 6px; border-radius: 6px; border: 1px solid #4b5160; background: #12141a; color: inherit; font: inherit; }
|
|
4553
|
+
.decklight .dl-url-ask .dl-url-why { color: #f2c46d; }
|
|
4554
|
+
/* the panel the keyboard goes to (PRESENTING_EDITING): a box in it has the
|
|
4555
|
+
caret, or the comments panel is taking its letters (review.js) */
|
|
4556
|
+
.decklight-dockable:focus-within > .narr-card,
|
|
4557
|
+
.decklight-dockable.dl-has-keys > .narr-card {
|
|
4558
|
+
box-shadow: 0 0 0 2px var(--accent, #6af), 0 10px 40px rgba(0, 0, 0, .45);
|
|
4559
|
+
}
|
|
4560
|
+
.decklight .dl-editing.dl-unsaved { outline-style: solid; }
|
|
4561
|
+
/* a save that failed (authoring.js): the words stay, marked, until saved or given up */
|
|
4562
|
+
.decklight .dl-unsaved {
|
|
4563
|
+
outline: 2px dashed #f85149;
|
|
4564
|
+
outline-offset: 3px;
|
|
4565
|
+
border-radius: 2px;
|
|
2903
4566
|
}
|
|
4567
|
+
.decklight svg text.dl-unsaved, .decklight svg tspan.dl-unsaved { text-decoration: underline wavy #f85149; }
|
|
2904
4568
|
/* a diagram label being typed (SVG text takes no contenteditable): a box laid
|
|
2905
4569
|
over the hidden label, in its font and ink, the shape under it showing */
|
|
2906
4570
|
.decklight .dl-label-edit {
|
|
@@ -2909,7 +4573,63 @@
|
|
|
2909
4573
|
background: transparent; color: var(--d-text, var(--fg));
|
|
2910
4574
|
outline: 2px solid var(--accent); outline-offset: 1px;
|
|
2911
4575
|
caret-color: currentColor;
|
|
4576
|
+
/* a textarea (⇧⏎ makes a line): sized by the page, its rows the label's lines */
|
|
4577
|
+
resize: none; overflow: hidden; white-space: pre; line-height: 1.25;
|
|
4578
|
+
}
|
|
4579
|
+
/* a label too long for its shape even wrapped (SVG_DIAGRAMS): its shape glows
|
|
4580
|
+
amber in write mode, never in the file (Check deck… lists it too) */
|
|
4581
|
+
.decklight.dl-editmode svg .dl-label-overflow { filter: drop-shadow(0 0 2px #ff9f1c) drop-shadow(0 0 1px #ff9f1c); }
|
|
4582
|
+
/* a diagram's canvas (src/core/canvas.js): a bar on each edge gives the
|
|
4583
|
+
drawing more room or takes empty room away; its corners are the picture's */
|
|
4584
|
+
.decklight .dl-canvas-handle {
|
|
4585
|
+
position: absolute; z-index: 43; box-sizing: border-box; padding: 0;
|
|
4586
|
+
background: var(--bg, #fff); border: 2px solid var(--accent); border-radius: 3px;
|
|
4587
|
+
box-shadow: 0 0 0 1px color-mix(in srgb, var(--bg, #fff) 70%, transparent);
|
|
4588
|
+
touch-action: none; transform: translate(-50%, -50%);
|
|
4589
|
+
}
|
|
4590
|
+
.decklight .dl-canvas-n, .decklight .dl-canvas-s { width: 24px; height: 8px; cursor: ns-resize; }
|
|
4591
|
+
.decklight .dl-canvas-e, .decklight .dl-canvas-w { width: 8px; height: 24px; cursor: ew-resize; }
|
|
4592
|
+
/* a diagram's shapes moved and resized in place (src/core/shapes.js): a
|
|
4593
|
+
selected node drags, and a box wears handles, a line one at each end */
|
|
4594
|
+
.decklight.dl-editmode svg .dl-glow { cursor: move; }
|
|
4595
|
+
.decklight.dl-shape-dragging, .decklight.dl-shape-dragging * { cursor: grabbing !important; user-select: none !important; }
|
|
4596
|
+
.decklight .dl-shape-handle {
|
|
4597
|
+
position: fixed; z-index: 31; box-sizing: border-box; width: 10px; height: 10px; margin: -5px 0 0 -5px;
|
|
4598
|
+
background: var(--bg, #fff); border: 2px solid var(--accent); border-radius: 2px;
|
|
4599
|
+
box-shadow: 0 0 0 1px color-mix(in srgb, var(--bg, #fff) 70%, transparent);
|
|
4600
|
+
touch-action: none;
|
|
2912
4601
|
}
|
|
4602
|
+
.decklight .dl-shape-handle.dl-shape-end { border-radius: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; }
|
|
4603
|
+
.decklight .dl-shape-handle:hover { background: var(--accent); }
|
|
4604
|
+
.decklight.dl-shape-handles .dl-handle { translate: 16px -10px; }
|
|
4605
|
+
/* a wire has no corner handle: its ⋯ stays where it was put, beside the middle of the line */
|
|
4606
|
+
.decklight.dl-shape-handles .dl-handle.dl-handle-wire { translate: none; }
|
|
4607
|
+
@media print { .decklight .dl-shape-handle { display: none; } }
|
|
4608
|
+
/* connectors (src/core/shapes.js, connectors.js): a dot off each side of a
|
|
4609
|
+
selected box to draw a wire from, the wire after the pointer, the node it
|
|
4610
|
+
would join lit; a connector's body does not drag, its ends do */
|
|
4611
|
+
.decklight.dl-editmode svg .dl-glow:is([data-from], [data-to]) { cursor: default; }
|
|
4612
|
+
.decklight .dl-wire-dot {
|
|
4613
|
+
position: fixed; z-index: 31; box-sizing: border-box; width: 12px; height: 12px; margin: -6px 0 0 -6px;
|
|
4614
|
+
border-radius: 50%; background: var(--accent); border: 2px solid var(--bg, #fff);
|
|
4615
|
+
box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 60%, transparent);
|
|
4616
|
+
cursor: crosshair; touch-action: none; opacity: 0.9; transition: transform 0.12s ease;
|
|
4617
|
+
}
|
|
4618
|
+
.decklight .dl-wire-dot:hover { transform: scale(1.35); opacity: 1; }
|
|
4619
|
+
.decklight.dl-wiring, .decklight.dl-wiring * { cursor: crosshair !important; user-select: none !important; }
|
|
4620
|
+
.decklight .dl-wire-ghost { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 32; pointer-events: none; overflow: visible; }
|
|
4621
|
+
.decklight .dl-wire-ghost line { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 4; stroke-linecap: round; }
|
|
4622
|
+
.decklight .dl-wire-ghost circle { fill: var(--accent); }
|
|
4623
|
+
.decklight .dl-wire-target {
|
|
4624
|
+
position: fixed; z-index: 30; pointer-events: none; box-sizing: border-box; border-radius: 6px;
|
|
4625
|
+
border: 2px solid var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent);
|
|
4626
|
+
}
|
|
4627
|
+
.decklight svg .dl-wire-lit { filter: drop-shadow(0 0 4px color-mix(in srgb, var(--accent) 90%, transparent)); }
|
|
4628
|
+
/* alignment guides while a shape is dragged or resized */
|
|
4629
|
+
.decklight .dl-guide { position: fixed; z-index: 30; pointer-events: none; box-sizing: content-box; }
|
|
4630
|
+
.decklight .dl-guide-x { width: 0; border-left: 1px solid var(--accent); margin: -10px 0 0 -0.5px; padding-bottom: 20px; }
|
|
4631
|
+
.decklight .dl-guide-y { height: 0; border-top: 1px solid var(--accent); margin: -0.5px 0 0 -10px; padding-right: 20px; }
|
|
4632
|
+
@media print { .decklight .dl-wire-dot, .decklight .dl-wire-ghost, .decklight .dl-wire-target, .decklight .dl-guide { display: none; } }
|
|
2913
4633
|
.decklight.dl-dropping > .decklight-stage { outline: 3px dashed var(--accent); outline-offset: -3px; }
|
|
2914
4634
|
.decklight.dl-dropping > .decklight-stage::after {
|
|
2915
4635
|
content: 'drop to add the picture to this slide';
|
|
@@ -2922,7 +4642,14 @@
|
|
|
2922
4642
|
|
|
2923
4643
|
/* ── editing's face (src/core/editbar.js): the bar E opens, and the selection ── */
|
|
2924
4644
|
.decklight-editbar {
|
|
2925
|
-
|
|
4645
|
+
/* centred on the slide, not the window: between a docked panel's gutters
|
|
4646
|
+
(--dock-*), where a bar centred on the window ran under the panel. Held
|
|
4647
|
+
by both edges with its margins taking up the slack, so a window too
|
|
4648
|
+
narrow for it starts it at the left gutter, its grip in reach, and lets
|
|
4649
|
+
the far end run on, rather than pushing both ends out of sight. */
|
|
4650
|
+
position: absolute; left: var(--dock-left, 0px); right: var(--dock-right, 0px);
|
|
4651
|
+
width: max-content; margin-inline: auto;
|
|
4652
|
+
bottom: calc(14px + var(--dock-bottom, 0px));
|
|
2926
4653
|
z-index: 41;
|
|
2927
4654
|
display: flex; align-items: center; gap: 2px;
|
|
2928
4655
|
padding: 4px;
|
|
@@ -2953,6 +4680,51 @@
|
|
|
2953
4680
|
.dl-fmt button.on { background: rgba(255, 255, 255, .2); }
|
|
2954
4681
|
.dl-fmt .fmt-em { font-style: italic; font-weight: 500; }
|
|
2955
4682
|
.dl-fmt .fmt-code { font-family: var(--font-mono, ui-monospace, monospace); font-weight: 500; }
|
|
4683
|
+
.dl-fmt .fmt-mark { font-weight: 600; box-shadow: inset 0 -0.45em 0 color-mix(in srgb, var(--accent, #6af) 45%, transparent); }
|
|
4684
|
+
.dl-fmt .fmt-s { text-decoration: line-through; font-weight: 500; }
|
|
4685
|
+
.dl-fmt .fmt-sup, .dl-fmt .fmt-sub { font-weight: 500; }
|
|
4686
|
+
.dl-fmt .fmt-a { display: inline-flex; align-items: center; justify-content: center; }
|
|
4687
|
+
/* the link box (authoring.js): ⌘K or the pill's link button, under the
|
|
4688
|
+
selection, in the stage's chrome colours whatever the theme */
|
|
4689
|
+
.decklight .dl-link {
|
|
4690
|
+
position: fixed; z-index: 61; box-sizing: border-box;
|
|
4691
|
+
width: min(440px, calc(100vw - 16px)); padding: 6px;
|
|
4692
|
+
border-radius: 11px; border: 1px solid rgba(160, 160, 160, .28);
|
|
4693
|
+
background: rgba(20, 20, 22, .94); color: #e6e6e6;
|
|
4694
|
+
font: 500 13px/1.3 system-ui, sans-serif;
|
|
4695
|
+
box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
|
|
4696
|
+
-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
|
|
4697
|
+
}
|
|
4698
|
+
.decklight .dl-link-row, .decklight .dl-link-acts { display: flex; gap: 4px; align-items: center; }
|
|
4699
|
+
.decklight .dl-link-acts { margin-top: 4px; justify-content: flex-end; }
|
|
4700
|
+
.decklight .dl-link-url {
|
|
4701
|
+
flex: 1; min-width: 0; box-sizing: border-box; margin: 0; padding: 7px 9px;
|
|
4702
|
+
border: 1px solid rgba(160, 160, 160, .35); border-radius: 7px;
|
|
4703
|
+
background: rgba(0, 0, 0, .35); color: inherit; font: inherit;
|
|
4704
|
+
outline: none;
|
|
4705
|
+
}
|
|
4706
|
+
.decklight .dl-link-url:focus { border-color: var(--accent, #6af); }
|
|
4707
|
+
.decklight .dl-link.refused .dl-link-url { border-color: #f85149; }
|
|
4708
|
+
.decklight .dl-link button {
|
|
4709
|
+
padding: 7px 10px; border: 0; border-radius: 7px;
|
|
4710
|
+
background: rgba(255, 255, 255, .08); color: inherit; font: inherit; cursor: pointer; white-space: nowrap;
|
|
4711
|
+
}
|
|
4712
|
+
.decklight .dl-link button:hover { background: rgba(255, 255, 255, .16); }
|
|
4713
|
+
.decklight .dl-link .dl-link-apply { background: var(--accent, #6af); color: var(--accent-contrast, #000); font-weight: 600; }
|
|
4714
|
+
.decklight .dl-link .dl-link-remove { color: #ffb1ab; }
|
|
4715
|
+
.decklight .dl-link-why:empty { display: none; }
|
|
4716
|
+
.decklight .dl-link-why { margin: 6px 3px 2px; color: #ffb1ab; font-size: 12px; }
|
|
4717
|
+
.decklight .dl-link-slides:empty { display: none; }
|
|
4718
|
+
.decklight .dl-link-slides { margin-top: 4px; display: flex; flex-direction: column; gap: 1px; }
|
|
4719
|
+
.decklight .dl-link-slide {
|
|
4720
|
+
display: flex; gap: 8px; padding: 6px 8px; border-radius: 6px; cursor: pointer;
|
|
4721
|
+
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
|
|
4722
|
+
}
|
|
4723
|
+
.decklight .dl-link-slide b { flex: none; font-weight: 600; color: rgba(230, 230, 230, .7); }
|
|
4724
|
+
.decklight .dl-link-slide span { overflow: hidden; text-overflow: ellipsis; }
|
|
4725
|
+
.decklight .dl-link-slide:hover, .decklight .dl-link-slide.on { background: rgba(255, 255, 255, .12); }
|
|
4726
|
+
/* the words a link is being made for, while the caret is in the box */
|
|
4727
|
+
::highlight(dl-link-target) { background-color: color-mix(in srgb, var(--accent, #6af) 35%, transparent); }
|
|
2956
4728
|
/* the grip: the bar moves (editbar.js); moved, it is positioned by its own
|
|
2957
4729
|
left/top instead of the bottom-centre default */
|
|
2958
4730
|
.decklight-editbar .eb-grip {
|
|
@@ -2963,7 +4735,7 @@
|
|
|
2963
4735
|
}
|
|
2964
4736
|
.decklight-editbar .eb-grip:hover { color: #e6e6e6; }
|
|
2965
4737
|
.decklight-editbar.eb-dragging .eb-grip, .decklight-editbar .eb-grip:active { cursor: grabbing; }
|
|
2966
|
-
.decklight-editbar.eb-moved { bottom: auto;
|
|
4738
|
+
.decklight-editbar.eb-moved { bottom: auto; right: auto; margin-inline: 0; }
|
|
2967
4739
|
.decklight-editbar.eb-dragging { transition: none; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); }
|
|
2968
4740
|
.decklight-editbar .eb-btn {
|
|
2969
4741
|
display: inline-flex; align-items: center; gap: 7px;
|
|
@@ -2974,6 +4746,12 @@
|
|
|
2974
4746
|
}
|
|
2975
4747
|
.decklight-editbar .eb-btn:hover { background: rgba(255, 255, 255, .12); }
|
|
2976
4748
|
.decklight-editbar .eb-btn:active { background: rgba(255, 255, 255, .2); }
|
|
4749
|
+
/* nothing to undo or redo (editbar.js): said by the button, greyed out */
|
|
4750
|
+
.decklight-editbar .eb-btn:disabled { opacity: .38; cursor: default; }
|
|
4751
|
+
.decklight-editbar .eb-btn:disabled:hover, .decklight-editbar .eb-btn:disabled:active { background: none; }
|
|
4752
|
+
/* Add on a slide-template slide (add-content.js): pressable, so it can say why it is off */
|
|
4753
|
+
.decklight-editbar .eb-btn[aria-disabled="true"] { opacity: .38; }
|
|
4754
|
+
.decklight-editbar .eb-btn[aria-disabled="true"]:hover, .decklight-editbar .eb-btn[aria-disabled="true"]:active { background: none; }
|
|
2977
4755
|
.decklight-editbar .eb-key {
|
|
2978
4756
|
font: 600 10px/1 system-ui, sans-serif;
|
|
2979
4757
|
padding: 3px 5px; border-radius: 5px;
|
|
@@ -2981,6 +4759,121 @@
|
|
|
2981
4759
|
}
|
|
2982
4760
|
.decklight-editbar .eb-lock { margin-left: 4px; border-left: 1px solid rgba(255, 255, 255, .14); border-radius: 0 10px 10px 0; }
|
|
2983
4761
|
.decklight-editbar .eb-file { display: none; }
|
|
4762
|
+
/* the steps still to come hidden (D, editbar.js): a chip at the end of the bar that shows them again */
|
|
4763
|
+
.decklight-editbar .eb-ahead {
|
|
4764
|
+
display: inline-flex; align-items: center; gap: 6px;
|
|
4765
|
+
margin-left: 6px; padding: 6px 10px;
|
|
4766
|
+
border: 1px solid color-mix(in srgb, var(--accent, #6af) 55%, transparent); border-radius: 999px;
|
|
4767
|
+
background: color-mix(in srgb, var(--accent, #6af) 16%, transparent); color: inherit;
|
|
4768
|
+
font: 500 12px/1 system-ui, sans-serif; cursor: pointer; white-space: nowrap;
|
|
4769
|
+
}
|
|
4770
|
+
.decklight-editbar .eb-ahead[hidden] { display: none; }
|
|
4771
|
+
.decklight-editbar .eb-ahead:hover { background: color-mix(in srgb, var(--accent, #6af) 28%, transparent); }
|
|
4772
|
+
.decklight-editbar .eb-ahead .eb-x { opacity: .7; }
|
|
4773
|
+
/* never wider than the window: on a narrow one the key hints go (the
|
|
4774
|
+
buttons' titles and the help still name them) and the buttons tighten */
|
|
4775
|
+
.decklight-editbar { max-width: calc(100% - 16px); box-sizing: border-box; }
|
|
4776
|
+
/* ---------- the layout picker (layout-picker.js, PRESENTING_EDITING) ----------
|
|
4777
|
+
One short row above the bar: no taller than about a fifth of the stage, so
|
|
4778
|
+
the slide it previews stays in view. The cells shrink rather than wrap, and
|
|
4779
|
+
a long row scrolls sideways. Chrome, like the bar: the same glass. */
|
|
4780
|
+
.decklight-layout-picker {
|
|
4781
|
+
position: fixed; z-index: 62;
|
|
4782
|
+
max-width: min(92vw, 980px); box-sizing: border-box;
|
|
4783
|
+
padding: 8px 8px 6px; border-radius: 12px;
|
|
4784
|
+
border: 1px solid rgba(160, 160, 160, .28);
|
|
4785
|
+
background: rgba(20, 20, 22, .9); color: #e6e6e6;
|
|
4786
|
+
font: 500 12px/1.2 system-ui, sans-serif;
|
|
4787
|
+
-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
|
|
4788
|
+
box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
|
|
4789
|
+
outline: none;
|
|
4790
|
+
}
|
|
4791
|
+
.decklight-layout-picker .dl-lp-row { display: flex; align-items: flex-start; gap: 10px; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
|
|
4792
|
+
.decklight-layout-picker .dl-lp-group { display: flex; flex-direction: column; gap: 4px; flex: none; }
|
|
4793
|
+
.decklight-layout-picker .dl-lp-more + .dl-lp-builtin { padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .14); }
|
|
4794
|
+
/* the popover holds focus for its arrow keys; the focused CELL is what is marked */
|
|
4795
|
+
.decklight .decklight-layout-picker.decklight-layout-picker:is(:focus, :focus-visible) { outline: none; }
|
|
4796
|
+
.decklight-layout-picker .dl-lp-head { color: #a9a9b2; font-size: 11px; margin-left: 2px; white-space: nowrap; }
|
|
4797
|
+
.decklight-layout-picker .dl-lp-cells { display: flex; gap: 6px; }
|
|
4798
|
+
.decklight-layout-picker .dl-lp-note { color: #a9a9b2; max-width: 220px; line-height: 1.35; padding: 4px 2px; }
|
|
4799
|
+
.decklight-layout-picker .dl-lp-cell {
|
|
4800
|
+
position: relative; flex: none; width: clamp(72px, 9vw, 112px);
|
|
4801
|
+
padding: 3px; border-radius: 8px; border: 2px solid transparent; cursor: pointer;
|
|
4802
|
+
}
|
|
4803
|
+
.decklight-layout-picker .dl-lp-thumb {
|
|
4804
|
+
position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
|
|
4805
|
+
border-radius: 4px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04);
|
|
4806
|
+
pointer-events: none;
|
|
4807
|
+
}
|
|
4808
|
+
.decklight-layout-picker .dl-lp-thumb.dl-lp-pending { background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.1), rgba(255,255,255,.04)); }
|
|
4809
|
+
/* a slide at its own size, scaled into the cell: the stage's rules lay it out */
|
|
4810
|
+
.decklight-layout-picker .dl-lp-thumb > .decklight-stage.dl-lp-stage {
|
|
4811
|
+
position: absolute; top: 0; left: 0; transform-origin: top left; z-index: auto; perspective: none;
|
|
4812
|
+
}
|
|
4813
|
+
.decklight-layout-picker .dl-lp-name { display: block; margin-top: 4px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
4814
|
+
.decklight-layout-picker .dl-lp-dot { color: var(--accent, #7c9cff); font-size: 9px; vertical-align: 1px; }
|
|
4815
|
+
.decklight-layout-picker .dl-lp-leaves {
|
|
4816
|
+
position: absolute; top: 6px; right: 6px; width: 16px; height: 16px; border-radius: 999px;
|
|
4817
|
+
display: grid; place-items: center; font-size: 10px; background: rgba(20, 20, 22, .85); color: #ffd27a;
|
|
4818
|
+
}
|
|
4819
|
+
.decklight-layout-picker .dl-lp-warn { display: block; text-align: center; color: #ffb36b; font-size: 10.5px; min-height: 0; }
|
|
4820
|
+
.decklight-layout-picker .dl-lp-warn:empty { display: none; }
|
|
4821
|
+
.decklight-layout-picker .dl-lp-cell.dl-lp-focus { border-color: var(--accent, #7c9cff); background: rgba(124, 156, 255, .14); }
|
|
4822
|
+
.decklight-layout-picker .dl-lp-more {
|
|
4823
|
+
flex: none; align-self: center; margin-top: 14px; padding: 8px 10px; border-radius: 8px; white-space: nowrap; cursor: pointer;
|
|
4824
|
+
border: 1px solid rgba(255, 255, 255, .2);
|
|
4825
|
+
}
|
|
4826
|
+
.decklight-layout-picker .dl-lp-more.dl-lp-focus { border-color: var(--accent, #7c9cff); background: rgba(124, 156, 255, .14); }
|
|
4827
|
+
.decklight-layout-picker .dl-lp-status { display: flex; align-items: center; gap: 8px; margin: 6px 2px 0; color: #ffb36b; }
|
|
4828
|
+
.decklight-layout-picker .dl-lp-status[hidden] { display: none; }
|
|
4829
|
+
.decklight-layout-picker .dl-lp-status span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
4830
|
+
.decklight-layout-picker .dl-lp-retry { font: inherit; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 4px; padding: 1px 8px; cursor: pointer; }
|
|
4831
|
+
.decklight-layout-picker .dl-lp-foot { margin: 6px 2px 0; color: #a9a9b2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
4832
|
+
/* the large preview (#1241): space on a tile, the slide as big as the window allows */
|
|
4833
|
+
.decklight-layout-look {
|
|
4834
|
+
position: fixed; inset: 0; z-index: 63; display: grid; place-items: center;
|
|
4835
|
+
background: rgba(0, 0, 0, .55);
|
|
4836
|
+
font: 500 13px/1.3 system-ui, sans-serif; color: #e6e6e6;
|
|
4837
|
+
}
|
|
4838
|
+
.decklight-layout-look .dl-ll-panel {
|
|
4839
|
+
display: flex; flex-direction: column; gap: 8px; padding: 10px; box-sizing: content-box;
|
|
4840
|
+
border-radius: 12px; border: 1px solid rgba(160, 160, 160, .28); background: rgba(20, 20, 22, .94);
|
|
4841
|
+
box-shadow: 0 16px 48px rgba(0, 0, 0, .5);
|
|
4842
|
+
}
|
|
4843
|
+
.decklight-layout-look .dl-ll-head { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
|
|
4844
|
+
.decklight-layout-look .dl-ll-name { color: #fff; white-space: nowrap; }
|
|
4845
|
+
.decklight-layout-look .dl-ll-marks { color: #a9a9b2; white-space: nowrap; }
|
|
4846
|
+
.decklight-layout-look .dl-ll-note { color: #ffb36b; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
4847
|
+
.decklight-layout-look .dl-ll-slide {
|
|
4848
|
+
position: relative; overflow: hidden; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04);
|
|
4849
|
+
}
|
|
4850
|
+
.decklight-layout-look .dl-ll-slide > .decklight-stage.dl-lp-stage {
|
|
4851
|
+
position: absolute; top: 0; left: 0; transform-origin: top left; z-index: auto; perspective: none; pointer-events: none;
|
|
4852
|
+
}
|
|
4853
|
+
.decklight-layout-look .dl-ll-slide:is(.dl-ll-pending, .dl-ll-failed) { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #a9a9b2; }
|
|
4854
|
+
.decklight-layout-look .dl-ll-failed p { margin: 0; color: #ffb36b; max-width: 70%; text-align: center; }
|
|
4855
|
+
.decklight-layout-look .dl-lp-retry { font: inherit; color: #ffb36b; background: transparent; border: 1px solid currentColor; border-radius: 4px; padding: 2px 10px; cursor: pointer; }
|
|
4856
|
+
.decklight-layout-look .dl-ll-keys { color: #a9a9b2; font-size: 12px; }
|
|
4857
|
+
.decklight-layout-picker .dl-lp-confirm { max-width: 520px; padding: 4px 6px; line-height: 1.45; font-size: 13px; }
|
|
4858
|
+
.decklight-layout-picker .dl-lp-confirm p { margin: 0 0 6px; }
|
|
4859
|
+
.decklight-layout-picker .dl-lp-confirm b { color: #fff; }
|
|
4860
|
+
.decklight-layout-picker .dl-lp-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
|
|
4861
|
+
.decklight-layout-picker .dl-lp-actions button {
|
|
4862
|
+
font: inherit; padding: 7px 12px; border-radius: 8px; cursor: pointer;
|
|
4863
|
+
border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: inherit;
|
|
4864
|
+
}
|
|
4865
|
+
.decklight-layout-picker .dl-lp-actions .dl-lp-leave { background: var(--accent, #7c9cff); color: var(--accent-contrast, #0b0d14); border-color: transparent; font-weight: 600; }
|
|
4866
|
+
.decklight-layout-picker .dl-lp-actions button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
|
|
4867
|
+
/* a preview sits over the live slide, which stays where it is underneath;
|
|
4868
|
+
the live slide's art bled past the stage (bleed.js) is not the preview's */
|
|
4869
|
+
.decklight-stage > section.dl-layout-previewed { visibility: hidden; }
|
|
4870
|
+
.decklight:has(.decklight-stage > section.dl-layout-previewed) > .decklight-bleed { visibility: hidden; }
|
|
4871
|
+
.decklight-stage > section.dl-layout-preview { z-index: 3; transition: none; pointer-events: none; }
|
|
4872
|
+
|
|
4873
|
+
@media (max-width: 960px) {
|
|
4874
|
+
.decklight-editbar .eb-key { display: none; }
|
|
4875
|
+
.decklight-editbar .eb-btn { padding: 8px 8px; }
|
|
4876
|
+
}
|
|
2984
4877
|
/* while editing: what the pointer is over, and what was chosen */
|
|
2985
4878
|
.decklight.dl-editmode .decklight-stage section .dl-hover:not(.dl-selected):not(.dl-editing) { outline: 1px dashed color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 4px; border-radius: 2px; }
|
|
2986
4879
|
.decklight .dl-selected { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
|
|
@@ -2993,6 +4886,214 @@
|
|
|
2993
4886
|
cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
|
|
2994
4887
|
}
|
|
2995
4888
|
@media print { .decklight-editbar, .decklight .dl-handle { display: none; } }
|
|
4889
|
+
/* moving an element within its slide (PRESENTING_EDITING, Moving): the ⋯
|
|
4890
|
+
handle drags, the element being moved fades, and a line in the accent says
|
|
4891
|
+
where it would land; a row with nowhere to go is greyed */
|
|
4892
|
+
.decklight .dl-handle { touch-action: none; }
|
|
4893
|
+
.decklight.dl-moving, .decklight.dl-moving .dl-handle { cursor: grabbing; }
|
|
4894
|
+
.decklight.dl-moving { user-select: none; -webkit-user-select: none; }
|
|
4895
|
+
.decklight .dl-move-src { opacity: .45; }
|
|
4896
|
+
.decklight .dl-drop-line {
|
|
4897
|
+
position: absolute; z-index: 43; pointer-events: none;
|
|
4898
|
+
height: 0; border-top: 3px solid var(--accent); margin-top: -1.5px;
|
|
4899
|
+
border-radius: 2px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--bg, #000) 70%, transparent), 0 0 10px color-mix(in srgb, var(--accent) 60%, transparent);
|
|
4900
|
+
}
|
|
4901
|
+
.decklight .dl-drop-line.dl-drop-row { width: 0; border-top: 0; margin-top: 0; border-left: 3px solid var(--accent); margin-left: -1.5px; }
|
|
4902
|
+
.decklight .dl-drop-line::before, .decklight .dl-drop-line::after {
|
|
4903
|
+
content: ''; position: absolute; width: 9px; height: 9px; border-radius: 50%;
|
|
4904
|
+
background: var(--accent); top: -6px;
|
|
4905
|
+
}
|
|
4906
|
+
.decklight .dl-drop-line::before { left: -5px; }
|
|
4907
|
+
.decklight .dl-drop-line::after { right: -5px; }
|
|
4908
|
+
.decklight .dl-drop-line.dl-drop-row::before { left: -6px; top: -5px; }
|
|
4909
|
+
.decklight .dl-drop-line.dl-drop-row::after { left: -6px; right: auto; top: auto; bottom: -5px; }
|
|
4910
|
+
.decklight .dl-drop-line[hidden] { display: none; }
|
|
4911
|
+
.decklight-ctxmenu .cm-row.cm-disabled { color: #6b707a; cursor: default; }
|
|
4912
|
+
.decklight-ctxmenu .cm-row.cm-disabled .cm-key { color: #4f535b; }
|
|
4913
|
+
|
|
4914
|
+
/* ---------- pictures after the drop (SPEC PRESENTING_EDITING) ----------------
|
|
4915
|
+
A selected picture's four corner handles, on its selection outline; the ⋯
|
|
4916
|
+
handle steps out of the top-right one's way. While a drag is on, the size
|
|
4917
|
+
it would write is said under the picture, in deck units. */
|
|
4918
|
+
.decklight .dl-pic-handle {
|
|
4919
|
+
position: absolute; z-index: 43;
|
|
4920
|
+
width: 12px; height: 12px; margin: -6px 0 0 -6px; padding: 0;
|
|
4921
|
+
border: 2px solid var(--accent, #6af); border-radius: 3px;
|
|
4922
|
+
background: var(--bg, #111); box-shadow: 0 1px 4px rgba(0, 0, 0, .45);
|
|
4923
|
+
}
|
|
4924
|
+
.decklight .dl-pic-nw, .decklight .dl-pic-se { cursor: nwse-resize; }
|
|
4925
|
+
.decklight .dl-pic-ne, .decklight .dl-pic-sw { cursor: nesw-resize; }
|
|
4926
|
+
/* a block's side handles: how wide it may be (block-resize.js), a bar rather than a square */
|
|
4927
|
+
.decklight .dl-pic-w, .decklight .dl-pic-e { cursor: ew-resize; width: 8px; height: 22px; margin: -11px 0 0 -4px; border-radius: 3px; }
|
|
4928
|
+
.decklight .dl-pic-handle:hover, .decklight.dl-pic-resizing .dl-pic-handle { background: var(--accent, #6af); }
|
|
4929
|
+
.decklight.dl-pic-handles .dl-handle { transform: translate(14px, -16px); }
|
|
4930
|
+
.decklight.dl-pic-resizing, .decklight.dl-pic-resizing * { cursor: nwse-resize !important; user-select: none; }
|
|
4931
|
+
.decklight .dl-pic-size {
|
|
4932
|
+
position: absolute; z-index: 43; transform: translateX(-50%); pointer-events: none;
|
|
4933
|
+
padding: 2px 8px; border-radius: 999px; background: rgba(15, 17, 22, .88); color: #fff;
|
|
4934
|
+
font: 600 11.5px/18px system-ui, sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap;
|
|
4935
|
+
}
|
|
4936
|
+
@media print { .decklight .dl-pic-handle, .decklight .dl-pic-size { display: none; } }
|
|
4937
|
+
/* the Info tab's alt field and Replace… */
|
|
4938
|
+
.decklight-inspector .ins-field {
|
|
4939
|
+
box-sizing: border-box; width: 100%; padding: 3px 7px; border-radius: 5px;
|
|
4940
|
+
border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06);
|
|
4941
|
+
font: inherit; color: #fff;
|
|
4942
|
+
}
|
|
4943
|
+
.decklight-inspector .ins-field:focus { outline: none; border-color: #9ecbff; background: rgba(255, 255, 255, .1); }
|
|
4944
|
+
.decklight-inspector :is(.ins-ok, .ins-warn) + .ins-field { width: calc(100% - 21px); }
|
|
4945
|
+
.decklight-inspector .ins-value + .ins-field { margin-top: 5px; }
|
|
4946
|
+
/* the Slide tab: a field a row, the label beside it */
|
|
4947
|
+
.decklight-inspector .ins-settings dt { align-self: center; }
|
|
4948
|
+
.decklight-inspector .ins-select { width: auto; max-width: 100%; padding: 2px 5px; }
|
|
4949
|
+
.decklight-inspector .ins-select option { color: #111; }
|
|
4950
|
+
.decklight-inspector .ins-check { margin: 0; accent-color: #9ecbff; width: 15px; height: 15px; vertical-align: middle; }
|
|
4951
|
+
.decklight-inspector .ins-settings .ins-group {
|
|
4952
|
+
grid-column: 1 / -1; margin-top: 10px; padding: 6px 0 2px; border-top: 1px solid rgba(255, 255, 255, .1);
|
|
4953
|
+
color: #e4e7ec; font-weight: 600; font-size: .92em;
|
|
4954
|
+
}
|
|
4955
|
+
.decklight-inspector .ins-settings .ins-group + dt, .decklight-inspector .ins-settings .ins-group + dt + dd { border-top: 0; }
|
|
4956
|
+
.decklight-inspector .ins-settings .ins-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
|
|
4957
|
+
.decklight-inspector .ins-settings .ins-line .ins-btn { margin-left: 0; }
|
|
4958
|
+
.decklight-inspector .ins-settings .ins-short { width: 6.5em; }
|
|
4959
|
+
.decklight-inspector .ins-settings .ins-line .ins-extra { margin: 0; }
|
|
4960
|
+
.decklight-inspector .ins-settings .ins-file { display: inline-block; max-width: 11em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
|
|
4961
|
+
.decklight-inspector .ins-range { display: flex; align-items: center; gap: 10px; }
|
|
4962
|
+
.decklight-inspector .ins-settings [hidden] { display: none !important; }
|
|
4963
|
+
/* Find and replace: a docked panel, its two fields, its matches with the words around them */
|
|
4964
|
+
.decklight-findreplace .fr-form { display: grid; gap: 6px; margin: 2px 12px 8px; }
|
|
4965
|
+
.decklight-findreplace .fr-input {
|
|
4966
|
+
box-sizing: border-box; width: 100%; padding: 4px 8px; border-radius: 5px;
|
|
4967
|
+
border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); font: inherit; color: #fff;
|
|
4968
|
+
}
|
|
4969
|
+
.decklight-findreplace .fr-input:focus { outline: none; border-color: #9ecbff; background: rgba(255, 255, 255, .1); }
|
|
4970
|
+
.decklight-findreplace .fr-opts { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .86em; color: #c3c8d1; }
|
|
4971
|
+
.decklight-findreplace .fr-opts input { accent-color: #9ecbff; margin: 0; vertical-align: -2px; }
|
|
4972
|
+
.decklight-findreplace .fr-list { overflow: auto; max-height: 60vh; margin: 0 4px; }
|
|
4973
|
+
.decklight-findreplace .fr-said { padding: 6px 8px; color: #8d94a1; font-size: .86em; }
|
|
4974
|
+
.decklight-findreplace .fr-more { color: #f2c46d; }
|
|
4975
|
+
.decklight-findreplace .fr-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; cursor: pointer; }
|
|
4976
|
+
.decklight-findreplace .fr-where { color: #8d94a1; font-size: .86em; white-space: nowrap; }
|
|
4977
|
+
.decklight-findreplace .fr-ctx { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
4978
|
+
.decklight-findreplace .fr-ctx mark { background: rgba(158, 203, 255, .28); color: #fff; border-radius: 2px; padding: 0 1px; }
|
|
4979
|
+
.decklight-findreplace .fr-btn {
|
|
4980
|
+
padding: 1px 9px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06);
|
|
4981
|
+
color: #e4e7ec; font: inherit; font-size: .86em; cursor: pointer;
|
|
4982
|
+
}
|
|
4983
|
+
.decklight-findreplace .fr-btn:disabled { opacity: .4; cursor: default; }
|
|
4984
|
+
.decklight-findreplace .fr-foot { display: flex; justify-content: flex-end; padding: 8px 12px 4px; }
|
|
4985
|
+
.decklight-findreplace .fr-all:not(:disabled) { background: #2f6fd0; border-color: #2f6fd0; color: #fff; font-weight: 600; }
|
|
4986
|
+
/* Deck settings…: the Slide tab's fields, in a card of their own */
|
|
4987
|
+
.decklight-decksettings .narr-card { width: min(560px, 92vw); max-height: 86vh; overflow: auto; }
|
|
4988
|
+
.decklight-decksettings .ds-rows { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; margin: 4px 14px 10px; font-size: .92em; }
|
|
4989
|
+
.decklight-decksettings .ds-rows :is(dt, dd) { padding: 6px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
|
|
4990
|
+
.decklight-decksettings .ds-rows dt { color: #8d94a1; align-self: center; }
|
|
4991
|
+
.decklight-decksettings .ds-rows dd { margin: 0; min-width: 0; }
|
|
4992
|
+
.decklight-decksettings .ds-rows .ins-group { grid-column: 1 / -1; margin-top: 8px; padding: 6px 0 2px; border-top: 1px solid rgba(255, 255, 255, .1); color: #e4e7ec; font-weight: 600; }
|
|
4993
|
+
.decklight-decksettings .ins-field {
|
|
4994
|
+
box-sizing: border-box; width: 100%; padding: 3px 7px; border-radius: 5px;
|
|
4995
|
+
border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); font: inherit; color: #fff;
|
|
4996
|
+
}
|
|
4997
|
+
.decklight-decksettings .ins-field:focus { outline: none; border-color: #9ecbff; background: rgba(255, 255, 255, .1); }
|
|
4998
|
+
.decklight-decksettings .ins-field:disabled { opacity: .55; }
|
|
4999
|
+
.decklight-decksettings .ins-select { width: auto; max-width: 100%; padding: 2px 5px; }
|
|
5000
|
+
.decklight-decksettings .ins-select option { color: #111; }
|
|
5001
|
+
.decklight-decksettings .ins-short { width: 6.5em; }
|
|
5002
|
+
.decklight-decksettings .ins-check { margin: 0; accent-color: #9ecbff; width: 15px; height: 15px; }
|
|
5003
|
+
.decklight-decksettings .ins-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
|
|
5004
|
+
.decklight-decksettings .ins-line input.ins-field:not(.ins-short) { flex: 1; min-width: 8em; width: auto; }
|
|
5005
|
+
.decklight-decksettings .ins-extra { opacity: .6; font-size: .88em; }
|
|
5006
|
+
.decklight-decksettings .ins-btn {
|
|
5007
|
+
padding: 2px 10px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06);
|
|
5008
|
+
color: #e4e7ec; font: inherit; cursor: pointer;
|
|
5009
|
+
}
|
|
5010
|
+
.decklight-decksettings .ins-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .12); }
|
|
5011
|
+
.decklight-decksettings .ds-logo { display: grid; gap: 6px; }
|
|
5012
|
+
.decklight-decksettings .ds-sub { color: #8d94a1; min-width: 3.2em; }
|
|
5013
|
+
.decklight-decksettings .ds-why { margin: 2px 14px 6px; color: #f2c46d; }
|
|
5014
|
+
.decklight-decksettings .ds-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 14px 12px; }
|
|
5015
|
+
.decklight-decksettings .ds-save { background: #2f6fd0; border-color: #2f6fd0; color: #fff; font-weight: 600; }
|
|
5016
|
+
.decklight-decksettings [hidden] { display: none !important; }
|
|
5017
|
+
.decklight-inspector .ins-slider { flex: 1; min-width: 80px; accent-color: #9ecbff; margin: 0; }
|
|
5018
|
+
.decklight-inspector .ins-range-value { min-width: 3.2em; text-align: right; color: #c3c8d1; font-variant-numeric: tabular-nums; }
|
|
5019
|
+
/* the Options tab: a code block's line steps, a row each (options-tab.js) */
|
|
5020
|
+
.decklight-inspector .ins-settings .ins-steps-box { grid-column: 1 / -1; border-top: 0; }
|
|
5021
|
+
.decklight-inspector .ins-step { display: grid; grid-template-columns: 1.6em 1fr auto; align-items: center; gap: 4px 8px; margin: 0 0 6px; }
|
|
5022
|
+
.decklight-inspector .ins-step-n { color: #8d94a1; text-align: right; font-variant-numeric: tabular-nums; }
|
|
5023
|
+
.decklight-inspector .ins-step .ins-btn { margin-left: 0; }
|
|
5024
|
+
.decklight-inspector .ins-step-why { grid-column: 2 / -1; color: #f2c46d; font-size: .92em; }
|
|
5025
|
+
/* the step's callout (#1182): its label, under its lines */
|
|
5026
|
+
.decklight-inspector .ins-step-label { grid-column: 2 / -1; }
|
|
5027
|
+
.decklight-inspector .ins-field.ins-invalid { border-color: #f2c46d; }
|
|
5028
|
+
.decklight-inspector .ins-step-add { margin-left: 0; }
|
|
5029
|
+
.decklight-inspector .ins-step-hint { margin-top: 6px; color: #8d94a1; font-size: .9em; }
|
|
5030
|
+
.decklight-inspector .ins-options-status { margin: 4px 12px 8px; color: #8d94a1; font-size: .85em; }
|
|
5031
|
+
.decklight-inspector .ins-options-status.ins-failed { color: #f2c46d; }
|
|
5032
|
+
.decklight-inspector .ins-options > .ins-apply { margin: 6px 12px 2px; }
|
|
5033
|
+
.decklight-inspector .ins-settings .ins-opt-note { grid-column: 1 / -1; color: #f2c46d; font-size: .9em; padding: 2px 0 6px; }
|
|
5034
|
+
.decklight-inspector .ins-btn {
|
|
5035
|
+
margin-left: 8px; padding: 1px 8px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, .18);
|
|
5036
|
+
background: rgba(255, 255, 255, .06); font: inherit; font-size: .92em; color: #dfe3ea; cursor: pointer;
|
|
5037
|
+
}
|
|
5038
|
+
.decklight-inspector .ins-btn:hover, .decklight-inspector .ins-btn:focus-visible { background: rgba(255, 255, 255, .14); color: #fff; }
|
|
5039
|
+
/* the Builds tab (builds-panel.js): one row a click, in play order, with its beat */
|
|
5040
|
+
.decklight-inspector .ins-builds { margin: 2px 12px 8px; font-size: 12.5px; container-type: inline-size; }
|
|
5041
|
+
.decklight-inspector .ins-builds :is(.bl-start, .bl-extra, .bl-foot) { display: flex; gap: 8px; padding: 5px 0; color: #c3c8d1; }
|
|
5042
|
+
.decklight-inspector .ins-builds .bl-waiting { display: flex; align-items: center; gap: 6px; padding: 4px 0 6px; color: #c3c8d1; cursor: pointer; }
|
|
5043
|
+
.decklight-inspector .ins-builds .bl-head { flex: none; min-width: 7.5em; color: #8d94a1; }
|
|
5044
|
+
.decklight-inspector .ins-builds .bl-text { min-width: 0; overflow-wrap: break-word; }
|
|
5045
|
+
.decklight-inspector .ins-builds .bl-extra .bl-text { font-style: italic; }
|
|
5046
|
+
.decklight-inspector .ins-builds .bl-foot { margin-top: 4px; border-top: 1px solid rgba(255, 255, 255, .08); color: #8d94a1; }
|
|
5047
|
+
/* the rows are the panel's width, not a slide list's 34em inline block (`.decklight ol`) */
|
|
5048
|
+
.decklight-inspector .ins-builds .bl-list { display: block; max-width: none; list-style: none; margin: 0; padding: 0; }
|
|
5049
|
+
.decklight-inspector .ins-builds .bl-go {
|
|
5050
|
+
display: grid; grid-template-columns: 1.6em minmax(0, 1fr) minmax(0, 9em); gap: 8px; align-items: baseline;
|
|
5051
|
+
width: 100%; padding: 5px 6px; border: 0; border-top: 1px solid rgba(255, 255, 255, .06); border-radius: 4px;
|
|
5052
|
+
background: none; font: inherit; color: #dfe3ea; text-align: left; cursor: pointer;
|
|
5053
|
+
}
|
|
5054
|
+
.decklight-inspector .ins-builds .bl-go:hover, .decklight-inspector .ins-builds .bl-go:focus-visible { background: rgba(255, 255, 255, .08); }
|
|
5055
|
+
.decklight-inspector .ins-builds .bl-on .bl-go { background: rgba(158, 203, 255, .14); box-shadow: inset 2px 0 0 #9ecbff; }
|
|
5056
|
+
.decklight-inspector .ins-builds .bl-past .bl-go { color: #aeb4be; }
|
|
5057
|
+
.decklight-inspector .ins-builds .bl-n { color: #9ecbff; font-variant-numeric: tabular-nums; text-align: right; }
|
|
5058
|
+
.decklight-inspector .ins-builds .bl-what { display: flex; flex-wrap: wrap; gap: 2px 6px; min-width: 0; }
|
|
5059
|
+
.decklight-inspector .ins-builds .bl-item { display: inline-flex; gap: 6px; min-width: 0; }
|
|
5060
|
+
.decklight-inspector .ins-builds .bl-fx { flex: none; color: #8d94a1; }
|
|
5061
|
+
.decklight-inspector .ins-builds .bl-label { min-width: 0; overflow-wrap: break-word; }
|
|
5062
|
+
.decklight-inspector .ins-builds .bl-with { color: #8d94a1; font-style: italic; }
|
|
5063
|
+
.decklight-inspector .ins-builds .bl-beat { color: #aeb4be; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
5064
|
+
.decklight-inspector .ins-builds .bl-nobeat { color: #f2c46d; }
|
|
5065
|
+
.decklight-inspector .ins-builds .bl-row { position: relative; display: flex; align-items: baseline; gap: 4px; }
|
|
5066
|
+
.decklight-inspector .ins-builds .bl-row > .bl-go { flex: 1 1 auto; min-width: 0; }
|
|
5067
|
+
.decklight-inspector .ins-builds .bl-grip { flex: none; width: 1em; color: #6c7380; cursor: grab; user-select: none; font-size: 11px; }
|
|
5068
|
+
.decklight-inspector .ins-builds .bl-row:not([draggable="true"]) .bl-grip { cursor: default; opacity: .4; }
|
|
5069
|
+
.decklight-inspector .ins-builds .bl-tools { flex: none; display: inline-flex; gap: 4px; align-items: center; }
|
|
5070
|
+
.decklight-inspector .ins-builds .bl-tools .ins-btn { margin-left: 0; padding: 0 6px; }
|
|
5071
|
+
.decklight-inspector .ins-builds .bl-tools:empty { display: none; } /* a code line's row: its block's, nothing to set */
|
|
5072
|
+
.decklight-inspector .ins-builds :is(.bl-pick, .bl-trip, .bl-arrive) { font: inherit; font-size: 11.5px; color: #dfe3ea; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); border-radius: 5px; padding: 0 2px; max-width: 7.5em; }
|
|
5073
|
+
.decklight-inspector .ins-builds .bl-repeat-l { font-size: 11.5px; color: #c9ced6; white-space: nowrap; }
|
|
5074
|
+
/* a panel at its docked width (360px, 320 at its narrowest) has no room for a
|
|
5075
|
+
row on one line: what arrives would be left a few pixels beside its beat and
|
|
5076
|
+
its tools. There the beat goes under what arrives, and the tools under both. */
|
|
5077
|
+
@container (max-width: 42em) {
|
|
5078
|
+
.decklight-inspector .ins-builds .bl-go { grid-template-columns: 1.6em minmax(0, 1fr); row-gap: 2px; }
|
|
5079
|
+
.decklight-inspector .ins-builds .bl-beat { grid-column: 2; }
|
|
5080
|
+
.decklight-inspector .ins-builds .bl-row { flex-wrap: wrap; }
|
|
5081
|
+
.decklight-inspector .ins-builds .bl-row > .bl-go { flex: 1 1 0; width: auto; }
|
|
5082
|
+
.decklight-inspector .ins-builds .bl-tools { flex: 0 0 100%; flex-wrap: wrap; justify-content: flex-end; padding: 0 6px 5px; box-sizing: border-box; }
|
|
5083
|
+
}
|
|
5084
|
+
.decklight-inspector .ins-builds .bl-dragging { opacity: .45; }
|
|
5085
|
+
.decklight-inspector .ins-builds .bl-drop-before { box-shadow: inset 0 2px 0 #9ecbff; }
|
|
5086
|
+
.decklight-inspector .ins-builds .bl-drop-after { box-shadow: inset 0 -2px 0 #9ecbff; }
|
|
5087
|
+
.decklight-inspector .ins-builds .bl-drop-onto .bl-go { background: rgba(158, 203, 255, .22); outline: 1px dashed #9ecbff; }
|
|
5088
|
+
.decklight-inspector .ins-builds .bl-flag { color: #f2c46d; font-size: 11px; }
|
|
5089
|
+
.decklight-inspector .ins-builds .bl-selected { margin-top: 8px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 4px; }
|
|
5090
|
+
.decklight-inspector .ins-builds .bl-selected .bl-head { color: #e4e7ec; }
|
|
5091
|
+
/* a captioned picture: the figure stands where the picture stood, centred
|
|
5092
|
+
as a lone picture is, with its caption under it in the theme's muted ink;
|
|
5093
|
+
zero specificity past .decklight, so a deck's own figure rules win */
|
|
5094
|
+
.decklight :where(section > figure) { margin: 0.3em auto; text-align: center; }
|
|
5095
|
+
.decklight :where(figure > img) { display: block; margin: 0 auto; }
|
|
5096
|
+
.decklight :where(figcaption) { margin-top: 0.35em; font-size: 0.62em; color: var(--muted, inherit); }
|
|
2996
5097
|
|
|
2997
5098
|
/* ---------- font picker (SPEC FONTS) — each row in its own face, its source on the right ---------- */
|
|
2998
5099
|
/* the slide behind IS the preview: no blur, a light dim, the card off to the side */
|
|
@@ -3058,6 +5159,298 @@
|
|
|
3058
5159
|
}
|
|
3059
5160
|
.decklight-editor .ed-to-inspector:hover { opacity: 1; background: rgba(255, 255, 255, .08); }
|
|
3060
5161
|
|
|
5162
|
+
/* ── one look for Decklight's own controls (PRESENTING_CHROME) ─────────────
|
|
5163
|
+
The palette, the finder, the editing bar and the voice cards were a fixed
|
|
5164
|
+
dark grey in the system's type; help and the welcome card followed the
|
|
5165
|
+
deck's theme; messages were the theme's big monospace. Everything that is
|
|
5166
|
+
Decklight rather than the deck now wears the first: one surface, one ink,
|
|
5167
|
+
one type, with the deck's accent as the one thing it borrows. */
|
|
5168
|
+
.decklight {
|
|
5169
|
+
--dl-chrome-bg: rgba(20, 20, 22, .94);
|
|
5170
|
+
--dl-chrome-fg: #f2f2f2;
|
|
5171
|
+
--dl-chrome-muted: #9aa0aa;
|
|
5172
|
+
--dl-chrome-line: rgba(160, 160, 160, .28);
|
|
5173
|
+
--dl-chrome-font: system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
5174
|
+
--dl-danger: #f85149;
|
|
5175
|
+
}
|
|
5176
|
+
.decklight-toast {
|
|
5177
|
+
background: var(--dl-chrome-bg); color: var(--dl-chrome-fg);
|
|
5178
|
+
font: 500 15px/1.45 var(--dl-chrome-font);
|
|
5179
|
+
padding: 9px 14px; border-radius: 10px;
|
|
5180
|
+
border: 1px solid var(--dl-chrome-line); border-left: 4px solid var(--accent, #7ee787);
|
|
5181
|
+
}
|
|
5182
|
+
.decklight-toast-ask .toast-act { font: 600 13px/1.2 var(--dl-chrome-font); }
|
|
5183
|
+
/* presenter-only: small and quiet, not over the talk at full size */
|
|
5184
|
+
.decklight-toast.decklight-toast-aside {
|
|
5185
|
+
font-size: 12px; padding: 5px 10px; border-left-width: 2px; opacity: .9;
|
|
5186
|
+
}
|
|
5187
|
+
.decklight-toast.decklight-toast-aside.show { opacity: .9; }
|
|
5188
|
+
/* an error looks like one */
|
|
5189
|
+
.decklight-toast.decklight-toast-error { border-left-color: var(--dl-danger); background: rgba(48, 16, 16, .94); }
|
|
5190
|
+
.decklight-toast.decklight-toast-error::before { content: '⚠ '; color: var(--dl-danger); }
|
|
5191
|
+
.decklight-help .help-card, .decklight-welcome .wel-card {
|
|
5192
|
+
background: var(--dl-chrome-bg); color: var(--dl-chrome-fg);
|
|
5193
|
+
font-family: var(--dl-chrome-font);
|
|
5194
|
+
border: 1px solid var(--dl-chrome-line);
|
|
5195
|
+
}
|
|
5196
|
+
.decklight-help h3, .decklight-welcome h3 { color: var(--dl-chrome-fg); font-family: var(--dl-chrome-font); }
|
|
5197
|
+
.decklight-help h4, .decklight-welcome .wel-lead, .decklight-welcome .wel-foot span { color: var(--dl-chrome-muted); }
|
|
5198
|
+
.decklight-help td:first-child, .decklight-welcome td:first-child { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
|
|
5199
|
+
/* one slide number at a time: write mode's, in the accent, stands in for the deck's own */
|
|
5200
|
+
.decklight.has-slide-num .decklight-slide-number { visibility: hidden; }
|
|
5201
|
+
/* messages clear of the touch cluster at the top left, and of a notch */
|
|
5202
|
+
@media (pointer: coarse) {
|
|
5203
|
+
.decklight-messages { top: max(76px, calc(env(safe-area-inset-top) + 70px)); left: max(14px, env(safe-area-inset-left)); }
|
|
5204
|
+
}
|
|
5205
|
+
/* ── accessibility (PRESENTING_CHROME) ─────────────────────────────────────
|
|
5206
|
+
One focus ring for every control Decklight draws, where many had none;
|
|
5207
|
+
and the screen reader's line, out of sight. */
|
|
5208
|
+
.decklight button:focus-visible, .decklight [role="button"]:focus-visible, .decklight [role="option"]:focus-visible,
|
|
5209
|
+
.decklight [tabindex]:focus-visible, .decklight a:focus-visible, .decklight select:focus-visible,
|
|
5210
|
+
.decklight-narr input:focus-visible, .decklight-narr textarea:focus-visible, .decklight-narr .narr-row:focus-visible {
|
|
5211
|
+
outline: 2px solid var(--accent, #6af); outline-offset: 2px;
|
|
5212
|
+
}
|
|
5213
|
+
.decklight .wel-card:focus, .decklight .help-card:focus { outline: none; }
|
|
5214
|
+
.decklight-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
|
|
5215
|
+
|
|
5216
|
+
/* ── The panels' frame (dock.js) ──────────────────────────────────────────
|
|
5217
|
+
One header, one foot and one set of insets for every panel beside the
|
|
5218
|
+
slide: the notes, the inspector, the check, the comments, the sources, the
|
|
5219
|
+
agent and the HTML editor. Last in the file, so it settles a tie with a
|
|
5220
|
+
panel's own rules above.
|
|
5221
|
+
|
|
5222
|
+
The insets: TEXT sits 26px in from the panel's edge (the card's 14 and a
|
|
5223
|
+
row's 12); a BOX (a text area, a field, a row that lights) starts at 14. */
|
|
5224
|
+
.decklight-dockable .narr-card { --dk-dim: #969dab; --dk-line: rgba(255, 255, 255, .09); }
|
|
5225
|
+
/* docked, a column: the header, what the panel is for, the keys at the foot */
|
|
5226
|
+
.decklight-dockable:not([data-dock="float"]) .narr-card { display: flex; flex-direction: column; }
|
|
5227
|
+
:where(.decklight-dockable:not([data-dock="float"]) .narr-card > *) { flex-shrink: 0; }
|
|
5228
|
+
|
|
5229
|
+
/* the header: the tabs on a rule across the panel, then one line saying what
|
|
5230
|
+
this panel is on, its own buttons, where it sits, and a close */
|
|
5231
|
+
.decklight-dockable .narr-head.dk-head {
|
|
5232
|
+
display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px;
|
|
5233
|
+
margin: 0; padding: 0 12px 10px; opacity: 1;
|
|
5234
|
+
font-size: 12.5px; line-height: 1.3; text-transform: none; letter-spacing: 0;
|
|
5235
|
+
}
|
|
5236
|
+
.decklight-dockable .dk-tabs {
|
|
5237
|
+
order: -1; flex: 0 0 calc(100% + 52px); box-sizing: border-box;
|
|
5238
|
+
display: flex; gap: 0; margin: -6px -26px 4px; padding: 0 8px;
|
|
5239
|
+
border-bottom: 1px solid var(--dk-line);
|
|
5240
|
+
overflow-x: auto; scrollbar-width: none; cursor: default;
|
|
5241
|
+
container-type: inline-size;
|
|
5242
|
+
}
|
|
5243
|
+
.decklight-dockable .dk-tabs::-webkit-scrollbar { display: none; }
|
|
5244
|
+
.decklight-dockable .dk-tab {
|
|
5245
|
+
/* six names are about 270px of text: the air either side of each gives way
|
|
5246
|
+
first (6px down to 2) as the panel narrows, and under that the row scrolls */
|
|
5247
|
+
flex: 0 0 auto; margin-bottom: -1px; padding: 7px clamp(2px, calc((100cqw - 272px) / 12), 6px) 8px; cursor: pointer;
|
|
5248
|
+
background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0;
|
|
5249
|
+
color: var(--dk-dim); font: 500 12px/1.3 system-ui, sans-serif; white-space: nowrap;
|
|
5250
|
+
}
|
|
5251
|
+
.decklight-dockable .dk-tab:hover { color: #e8eaee; }
|
|
5252
|
+
.decklight-dockable .dk-tab-on { color: #fff; border-bottom-color: var(--accent, #6af); cursor: default; }
|
|
5253
|
+
.decklight-dockable .dk-tab:focus-visible { outline: 2px solid var(--accent, #6af); outline-offset: -2px; border-radius: 4px; }
|
|
5254
|
+
/* what the panel is on: one line, the first letter a capital, an ellipsis when it runs out of room */
|
|
5255
|
+
.decklight-dockable .dk-head .dk-title {
|
|
5256
|
+
flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
5257
|
+
color: #c5cad3; opacity: 1;
|
|
5258
|
+
}
|
|
5259
|
+
.decklight-dockable .dk-head .dk-title::first-letter,
|
|
5260
|
+
.decklight-dockable .dk-head .dk-title > .ins-root::first-letter { text-transform: uppercase; }
|
|
5261
|
+
/* the only panel on offer has no tabs to name it: the header does */
|
|
5262
|
+
.decklight-dockable .dk-name { flex: none; font-weight: 650; color: #fff; }
|
|
5263
|
+
.decklight-dockable .dk-name::after { content: '·'; margin: 0 0 0 6px; color: var(--dk-dim); font-weight: 400; }
|
|
5264
|
+
/* a header's buttons: one size, the panel's own (pick, copy, A− A+) and the frame's */
|
|
5265
|
+
.decklight-dockable .dk-ctl { display: flex; gap: 2px; margin-left: 2px; pointer-events: auto; }
|
|
5266
|
+
.decklight-dockable .dk-btn {
|
|
5267
|
+
flex: none; display: inline-grid; place-items: center; box-sizing: border-box;
|
|
5268
|
+
min-width: 26px; height: 26px; padding: 0 5px;
|
|
5269
|
+
border: 0; border-radius: 6px; background: transparent; color: var(--dk-dim);
|
|
5270
|
+
font: 600 11px/1 system-ui, sans-serif; opacity: 1; cursor: pointer;
|
|
5271
|
+
}
|
|
5272
|
+
.decklight-dockable .dk-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
|
|
5273
|
+
.decklight-dockable .dk-btn:disabled { opacity: .35; cursor: default; }
|
|
5274
|
+
.decklight-dockable .dk-btn:focus-visible { outline: 2px solid var(--accent, #6af); outline-offset: -1px; }
|
|
5275
|
+
.decklight-dockable .dk-btn.dk-open,
|
|
5276
|
+
.decklight-dockable .dk-btn.dk-on { background: rgba(255, 255, 255, .15); color: #fff; }
|
|
5277
|
+
/* where the panel sits: the five places, named, in a strip under the header
|
|
5278
|
+
while the placement button is open */
|
|
5279
|
+
.decklight-dockable .dk-menu {
|
|
5280
|
+
order: 9; flex: 0 0 100%; box-sizing: border-box; display: flex; gap: 2px;
|
|
5281
|
+
padding: 3px; border-radius: 9px; background: rgba(255, 255, 255, .06);
|
|
5282
|
+
}
|
|
5283
|
+
.decklight-dockable .dk-menu[hidden] { display: none; }
|
|
5284
|
+
.decklight-dockable .dk-menu .dk-opt {
|
|
5285
|
+
flex: 1 1 0; min-width: 0; height: auto; padding: 6px 2px 5px;
|
|
5286
|
+
display: flex; flex-direction: column; align-items: center; gap: 4px;
|
|
5287
|
+
font: 500 10.5px/1 system-ui, sans-serif;
|
|
5288
|
+
}
|
|
5289
|
+
/* a section's label inside a panel: one look */
|
|
5290
|
+
.decklight-dockable .narr-group { font-size: 10.5px; letter-spacing: .1em; color: var(--dk-dim); opacity: 1; border-top-color: var(--dk-line); }
|
|
5291
|
+
|
|
5292
|
+
/* the foot: the keys this panel takes, pinned to its bottom edge. The rule is
|
|
5293
|
+
painted 10px down, so there is always air between it and what is above. */
|
|
5294
|
+
.decklight-dockable .dk-foot {
|
|
5295
|
+
display: block; margin: auto -14px 0; padding: 18px 26px 0;
|
|
5296
|
+
background: linear-gradient(var(--dk-line), var(--dk-line)) 0 10px / 100% 1px no-repeat;
|
|
5297
|
+
border: 0; opacity: 1; color: var(--dk-dim);
|
|
5298
|
+
font: 11.5px/1.9 system-ui, sans-serif; text-transform: none; letter-spacing: 0; cursor: default;
|
|
5299
|
+
}
|
|
5300
|
+
.decklight-dockable .dk-hint { white-space: nowrap; }
|
|
5301
|
+
.decklight-dockable .dk-foot kbd {
|
|
5302
|
+
display: inline-block; min-width: 1.1em; margin-right: 1px; padding: 0 4px; text-align: center;
|
|
5303
|
+
border: 1px solid rgba(255, 255, 255, .16); border-radius: 4px; background: rgba(255, 255, 255, .05);
|
|
5304
|
+
color: #c5cad3; font: 10.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: capitalize;
|
|
5305
|
+
}
|
|
5306
|
+
/* the panel taking the deck's letters (the comments, review.js) says so where
|
|
5307
|
+
those letters are listed, and its keys light */
|
|
5308
|
+
.decklight-dockable.dl-has-keys .dk-foot::before {
|
|
5309
|
+
content: 'keys here'; display: inline-block; margin-right: 8px; padding: 3px 6px; border-radius: 5px; vertical-align: 1px;
|
|
5310
|
+
font: 600 10px/1 system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase;
|
|
5311
|
+
background: var(--accent, #6af); color: var(--accent-contrast, #000);
|
|
5312
|
+
}
|
|
5313
|
+
.decklight-dockable.dl-has-keys .dk-foot kbd { border-color: var(--accent, #6af); color: #fff; }
|
|
5314
|
+
/* a hint long enough to need the line (the comments' gone-slide note) may break */
|
|
5315
|
+
.decklight-dockable[data-dock="left"] .dk-hint, .decklight-dockable[data-dock="right"] .dk-hint { white-space: normal; }
|
|
5316
|
+
|
|
5317
|
+
/* the docked panel's inner edge, to drag (dock.js): a strip 9px wide astride
|
|
5318
|
+
the edge, a short grip at its middle to say it is there, the whole edge lit
|
|
5319
|
+
in the accent under the pointer, while it is dragged and with the keyboard
|
|
5320
|
+
on it. On the panel's frame, placed by the same --dock-size as the card. */
|
|
5321
|
+
.decklight-dockable > .dk-resize { display: none; position: absolute; z-index: 3; pointer-events: auto; touch-action: none; outline: none; }
|
|
5322
|
+
.decklight-dockable:is([data-dock="left"], [data-dock="right"]) > .dk-resize { display: block; top: 0; bottom: 0; width: 9px; cursor: col-resize; }
|
|
5323
|
+
.decklight-dockable[data-dock="right"] > .dk-resize { right: calc(var(--dock-size, 360px) - 5px); }
|
|
5324
|
+
.decklight-dockable[data-dock="left"] > .dk-resize { left: calc(var(--dock-size, 360px) - 5px); }
|
|
5325
|
+
.decklight-dockable[data-dock="bottom"] > .dk-resize { display: block; left: 0; right: 0; height: 9px; bottom: calc(var(--dock-size, 320px) - 5px); cursor: row-resize; }
|
|
5326
|
+
.decklight-dockable > .dk-resize::before {
|
|
5327
|
+
content: ''; position: absolute; inset: 0 3px; background: transparent; transition: background .12s;
|
|
5328
|
+
}
|
|
5329
|
+
.decklight-dockable[data-dock="bottom"] > .dk-resize::before { inset: 3px 0; }
|
|
5330
|
+
.decklight-dockable > .dk-resize::after {
|
|
5331
|
+
content: ''; position: absolute; top: 50%; left: 50%; width: 4px; height: 36px; margin: -18px 0 0 -2px;
|
|
5332
|
+
border-radius: 2px; background: rgba(255, 255, 255, .28); box-shadow: 0 0 0 1px rgba(0, 0, 0, .35);
|
|
5333
|
+
}
|
|
5334
|
+
.decklight-dockable[data-dock="bottom"] > .dk-resize::after { width: 36px; height: 4px; margin: -2px 0 0 -18px; }
|
|
5335
|
+
.decklight-dockable > .dk-resize:is(:hover, :focus-visible, .dk-dragging)::before { background: var(--accent, #6af); }
|
|
5336
|
+
.decklight-dockable > .dk-resize:is(:hover, :focus-visible, .dk-dragging)::after { background: #fff; }
|
|
5337
|
+
/* while the edge is dragged nothing under the pointer selects or takes it */
|
|
5338
|
+
.decklight.dk-resizing { user-select: none; -webkit-user-select: none; }
|
|
5339
|
+
.decklight.dk-resizing iframe { pointer-events: none; }
|
|
5340
|
+
|
|
5341
|
+
/* ── the notes ── what the box shows above it, what can be done with it below */
|
|
5342
|
+
.decklight-editor.decklight-dockable .notes-tools { margin: 0 0 8px; gap: 6px; }
|
|
5343
|
+
.decklight-editor.decklight-dockable .notes-tools .notes-btn { font-size: 12px; padding: 4px 10px; min-height: 26px; border-radius: 7px; }
|
|
5344
|
+
.decklight-editor.decklight-dockable .notes-tools .notes-views .notes-btn { border-radius: 0; }
|
|
5345
|
+
.decklight-editor.decklight-dockable .notes-tools .notes-views .notes-btn:first-child { border-radius: 7px 0 0 7px; }
|
|
5346
|
+
.decklight-editor.decklight-dockable .notes-tools .notes-views .notes-btn:last-child { border-radius: 0 7px 7px 0; }
|
|
5347
|
+
.decklight-editor.decklight-dockable .notes-tools .notes-reset { margin-left: auto; }
|
|
5348
|
+
/* in a side panel the row is the two switches and the reset as its arrow alone
|
|
5349
|
+
(its title says what it does); with the word it wrapped to a row of its own */
|
|
5350
|
+
.decklight-editor.decklight-dockable:is([data-dock="left"], [data-dock="right"]) .notes-tools { flex-wrap: nowrap; }
|
|
5351
|
+
.decklight-editor.decklight-dockable:is([data-dock="left"], [data-dock="right"]) .notes-tools { container-type: inline-size; }
|
|
5352
|
+
.decklight-editor.decklight-dockable:is([data-dock="left"], [data-dock="right"]) .notes-tools .notes-btn { padding: 4px clamp(4px, calc((100cqw - 268px) / 8), 8px); white-space: nowrap; }
|
|
5353
|
+
.decklight-editor.decklight-dockable:is([data-dock="left"], [data-dock="right"]) .notes-tools .notes-reset {
|
|
5354
|
+
width: 28px; padding: 4px 0; overflow: hidden; font-size: 0;
|
|
5355
|
+
}
|
|
5356
|
+
.decklight-editor.decklight-dockable:is([data-dock="left"], [data-dock="right"]) .notes-tools .notes-reset::before { content: '↺'; font-size: 14px; }
|
|
5357
|
+
/* along the bottom the tray is short: the switches and the rewrites share a
|
|
5358
|
+
row above the box, which takes what is left */
|
|
5359
|
+
.decklight-notes.decklight-dockable[data-dock="bottom"] .narr-card {
|
|
5360
|
+
display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto minmax(0, 1fr) auto; column-gap: 12px;
|
|
5361
|
+
}
|
|
5362
|
+
.decklight-notes.decklight-dockable[data-dock="bottom"] .narr-card > :is(.narr-head, textarea, .notes-diff, .dk-foot) { grid-column: 1 / -1; }
|
|
5363
|
+
.decklight-notes.decklight-dockable[data-dock="bottom"] .narr-card > .notes-tools { grid-column: 1; grid-row: 2; }
|
|
5364
|
+
.decklight-notes.decklight-dockable[data-dock="bottom"] .narr-card > .tr-actions { grid-column: 2; grid-row: 2; padding: 0; margin-bottom: 8px; }
|
|
5365
|
+
.decklight-notes.decklight-dockable[data-dock="bottom"] .narr-card > textarea.edit-notes { height: auto; min-height: 0; }
|
|
5366
|
+
.decklight-notes.decklight-dockable[data-dock="bottom"] .tr-actions .notes-btn { font-size: 12px; padding: 4px 10px; min-height: 26px; border-radius: 7px; }
|
|
5367
|
+
.decklight-notes.decklight-dockable[data-dock="bottom"] .narr-card > .notes-diff { margin: 0; min-height: 0; max-height: none; }
|
|
5368
|
+
.decklight-editor.decklight-dockable .notes-sep { display: none; }
|
|
5369
|
+
/* a panel's buttons line up with its box, not with its text */
|
|
5370
|
+
.decklight-editor.decklight-dockable .tr-actions { padding: 8px 0 0; }
|
|
5371
|
+
.decklight-editor.decklight-dockable .notes-size { display: flex; gap: 2px; }
|
|
5372
|
+
|
|
5373
|
+
/* ── the agent ── a log of what was asked, the box to ask in under it; before
|
|
5374
|
+
the first ask, what this is for and three asks to start from */
|
|
5375
|
+
.decklight-agent .agent-empty { padding: 2px 12px 12px; }
|
|
5376
|
+
.decklight-agent .agent-empty[hidden] { display: none; }
|
|
5377
|
+
.decklight-agent .agent-empty-say { margin-bottom: 12px; font-size: 13px; line-height: 1.5; color: var(--dk-dim, #969dab); }
|
|
5378
|
+
.decklight-agent .agent-try {
|
|
5379
|
+
display: block; width: 100%; box-sizing: border-box; margin: 0 0 6px; padding: 8px 10px; text-align: left; cursor: pointer;
|
|
5380
|
+
border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; background: rgba(255, 255, 255, .04);
|
|
5381
|
+
color: #d7dbe2; font: 12.5px/1.3 system-ui, sans-serif;
|
|
5382
|
+
}
|
|
5383
|
+
.decklight-agent .agent-try:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff; }
|
|
5384
|
+
.decklight-editor.decklight-agent.decklight-dockable:not([data-dock="float"]) .agent-empty { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
|
|
5385
|
+
.decklight-editor.decklight-agent.decklight-dockable:not([data-dock="float"]) .narr-card > textarea.edit-notes { flex: 0 0 auto; min-height: 96px; height: 20vh; }
|
|
5386
|
+
.decklight-editor.decklight-agent.decklight-dockable[data-dock="bottom"] .agent-empty { display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; }
|
|
5387
|
+
.decklight-editor.decklight-agent.decklight-dockable[data-dock="bottom"] .agent-empty[hidden] { display: none; }
|
|
5388
|
+
.decklight-editor.decklight-agent.decklight-dockable[data-dock="bottom"] .agent-empty-say { flex: 0 0 100%; margin-bottom: 4px; }
|
|
5389
|
+
.decklight-editor.decklight-agent.decklight-dockable[data-dock="bottom"] .agent-try { width: auto; margin: 0; }
|
|
5390
|
+
.decklight-editor.decklight-agent.decklight-dockable[data-dock="bottom"] .narr-card > textarea.edit-notes { height: 64px; min-height: 64px; }
|
|
5391
|
+
|
|
5392
|
+
/* ── the sources ── in a side panel a link is three fields under one another,
|
|
5393
|
+
the address with a line to itself, instead of three squeezed onto one */
|
|
5394
|
+
.decklight-sources:is([data-dock="left"], [data-dock="right"]) .src-edit-row:has(.src-wide) {
|
|
5395
|
+
display: grid; grid-template-columns: 1fr auto; gap: 4px 6px; padding-bottom: 8px;
|
|
5396
|
+
}
|
|
5397
|
+
.decklight-sources:is([data-dock="left"], [data-dock="right"]) .src-edit-row:has(.src-wide) .src-field { grid-column: 1; width: 100%; box-sizing: border-box; margin: 0; }
|
|
5398
|
+
.decklight-sources:is([data-dock="left"], [data-dock="right"]) .src-edit-row:has(.src-wide) .src-drop { grid-column: 2; grid-row: 1; }
|
|
5399
|
+
|
|
5400
|
+
/* a panel's first section sits under the header's rule: it needs none of its own */
|
|
5401
|
+
.decklight-dockable .dk-head + .narr-group { border-top: 0; padding-top: 0; margin-top: 0; }
|
|
5402
|
+
/* floating, every panel with tabs is one width, so the tabs stay under the
|
|
5403
|
+
pointer from one panel to the next (they were 440 to 640, and the card
|
|
5404
|
+
jumped sideways with each tab) */
|
|
5405
|
+
.decklight-dockable[data-dock="float"]:has(.dk-tabs) .narr-card { width: min(480px, 88vw); }
|
|
5406
|
+
/* the facts are the panel's width, not a slide list's 34em (`.decklight dl`) */
|
|
5407
|
+
.decklight-inspector .ins-rows { max-width: none; }
|
|
5408
|
+
|
|
5409
|
+
/* ── along the bottom ── a tray is wide and short: lists run in columns */
|
|
5410
|
+
.decklight-inspector[data-dock="bottom"] .ins-rows { grid-template-columns: repeat(3, auto 1fr); column-gap: 14px; }
|
|
5411
|
+
.decklight-inspector[data-dock="bottom"] .ins-rows :is(dt, dd):nth-child(-n + 6) { border-top: 0; }
|
|
5412
|
+
.decklight-inspector[data-dock="bottom"] .ins-rows dd { padding-right: 18px; }
|
|
5413
|
+
.decklight-deckcheck[data-dock="bottom"] .dc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); align-content: start; column-gap: 8px; }
|
|
5414
|
+
|
|
5415
|
+
/* `decklight video --disclose` (TRANSLATION_VOICE): the line on the first
|
|
5416
|
+
slide saying an AI voice narrates it, in the render only */
|
|
5417
|
+
.decklight section .decklight-disclose { position: absolute; left: 0; right: 0; bottom: 3%; margin: 0; text-align: center;
|
|
5418
|
+
font-size: 18px; line-height: 1.3; opacity: .72; color: var(--muted, currentColor); pointer-events: none; }
|
|
5419
|
+
|
|
5420
|
+
/* a translation in write mode (TRANSLATE_PANEL): a piece of its text nobody
|
|
5421
|
+
has read yet, marked where it stands; the panel's R marks the slide read */
|
|
5422
|
+
.decklight .decklight-unread { text-decoration: underline dotted rgba(255, 190, 90, .85); text-decoration-thickness: 2px; text-underline-offset: .18em; }
|
|
5423
|
+
.decklight-languages .mk-warn-line { color: #ffcf8b; }
|
|
5424
|
+
/* LETTER_BY_LETTER: the visual glyphs are CSS content so the only text node
|
|
5425
|
+
is the original sentence. Its accessible copy stays in the reading order. */
|
|
5426
|
+
.decklight .dl-write-source {
|
|
5427
|
+
position: absolute;
|
|
5428
|
+
inline-size: 1px;
|
|
5429
|
+
block-size: 1px;
|
|
5430
|
+
overflow: hidden;
|
|
5431
|
+
clip-path: inset(50%);
|
|
5432
|
+
white-space: nowrap;
|
|
5433
|
+
pointer-events: none;
|
|
5434
|
+
}
|
|
5435
|
+
.decklight .dl-write-visual { pointer-events: none; }
|
|
5436
|
+
.decklight .dl-write-word { display: inline-block; white-space: nowrap; }
|
|
5437
|
+
.decklight :is(.dl-write-letter, .dl-write-gap)::before { content: attr(data-dl-write-glyph); }
|
|
5438
|
+
.decklight .dl-write-letter {
|
|
5439
|
+
animation: dl-write-show 0s calc(var(--dl-write-index) * var(--dl-write-step, var(--cf-write-step, 45ms))) both;
|
|
5440
|
+
}
|
|
5441
|
+
.decklight .dl-write-out {
|
|
5442
|
+
animation: dl-write-fade var(--dl-write-fade, var(--cf-write-out, 350ms)) linear
|
|
5443
|
+
calc(var(--dl-write-length) * var(--dl-write-step, var(--cf-write-step, 45ms)) + var(--dl-write-hold, var(--cf-write-hold, 900ms))) both;
|
|
5444
|
+
}
|
|
5445
|
+
.decklight .dl-write-follows { animation: dl-write-show 0s var(--dl-write-start, 0ms) both; }
|
|
5446
|
+
@keyframes dl-write-show { from { opacity: 0; } to { opacity: 1; } }
|
|
5447
|
+
@keyframes dl-write-fade { from { opacity: 1; } to { opacity: 0; } }
|
|
5448
|
+
.decklight.decklight-write-frame :is(.dl-write-letter, .dl-write-out, .dl-write-follows) { animation-play-state: paused; }
|
|
5449
|
+
.decklight .ov-clone :is(.dl-write-letter, .dl-write-out, .dl-write-follows) { animation: none; }
|
|
5450
|
+
@media (prefers-reduced-motion: reduce), print {
|
|
5451
|
+
.decklight :is(.dl-write-letter, .dl-write-out, .dl-write-follows) { animation: none; }
|
|
5452
|
+
}
|
|
5453
|
+
|
|
3061
5454
|
|
|
3062
5455
|
/* Copyright 2026 Gilles Philippart
|
|
3063
5456
|
SPDX-License-Identifier: Apache-2.0 */
|