decklight 0.10.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 +17 -0
- package/README.md +53 -25
- package/SPEC.md +1239 -67
- package/cli/agents.mjs +139 -15
- package/cli/bundle.mjs +68 -2
- package/cli/cast.mjs +45 -14
- package/cli/check-fixes.mjs +12 -4
- package/cli/check-watch.mjs +151 -0
- package/cli/check.mjs +460 -71
- package/cli/code-editor.mjs +287 -0
- package/cli/commands.mjs +13 -2
- package/cli/commit-message.mjs +34 -7
- package/cli/commit-split.mjs +123 -23
- package/cli/decklight.mjs +11 -1
- package/cli/design-system-edit.mjs +37 -1
- package/cli/edit-address.mjs +184 -0
- package/cli/edit-git.mjs +21 -4
- package/cli/edit-handover.mjs +136 -25
- package/cli/edit-look.mjs +45 -1
- 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 +3182 -267
- package/cli/editor-support.mjs +286 -0
- package/cli/enhance.mjs +148 -20
- package/cli/find-replace.mjs +142 -0
- package/cli/fix-review.mjs +368 -0
- package/cli/init.mjs +93 -19
- package/cli/keep-awake.mjs +68 -0
- package/cli/migrate-writing.mjs +214 -0
- package/cli/narrate.mjs +51 -10
- package/cli/open.mjs +29 -9
- package/cli/outside-edit.mjs +257 -0
- package/cli/paste.mjs +92 -0
- package/cli/pdf.mjs +61 -2
- package/cli/pptx-export.mjs +3 -1
- package/cli/publish.mjs +24 -3
- package/cli/record.mjs +19 -8
- package/cli/rewrite.mjs +265 -0
- package/cli/runtime-link.mjs +218 -17
- package/cli/serve.mjs +7 -4
- package/cli/setup.mjs +2 -2
- package/cli/skill-content.mjs +212 -8
- package/cli/skills/slide-writing.md +333 -0
- package/cli/skills/voiceover.md +423 -0
- package/cli/skills.mjs +36 -13
- package/cli/starter-full.mjs +353 -0
- package/cli/supervise.mjs +14 -0
- 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/util.mjs +25 -0
- package/cli/vocabulary-docs.mjs +138 -0
- package/dist/decklight.css +2087 -91
- package/dist/decklight.js +367 -203
- 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 +15 -1
- package/tools/diagram-shapes.mjs +221 -0
- package/tools/elevenlabs-tts.mjs +62 -53
- 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 +24 -4
- package/tools/narration-synth.mjs +96 -76
- package/tools/recording-impact.mjs +16 -1
- package/tools/sentences.mjs +7 -1
- 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 +772 -127
- 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;
|
|
698
1030
|
}
|
|
699
|
-
.decklight-
|
|
700
|
-
.decklight-
|
|
701
|
-
.decklight-
|
|
702
|
-
|
|
703
|
-
.decklight-
|
|
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;
|
|
1131
|
+
}
|
|
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; }
|
|
@@ -880,7 +1346,9 @@
|
|
|
880
1346
|
in a data-build="draw" svg, or one carrying data-build itself) */
|
|
881
1347
|
.decklight .build-step[data-build-style="draw"] .draw-stroke,
|
|
882
1348
|
.decklight .build-step.draw-stroke[data-build-style="draw"] {
|
|
883
|
-
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);
|
|
884
1352
|
stroke-dashoffset: var(--draw-len);
|
|
885
1353
|
transition: stroke-dashoffset calc(var(--build-duration) * 2.2) ease;
|
|
886
1354
|
}
|
|
@@ -899,6 +1367,23 @@
|
|
|
899
1367
|
opacity: 1;
|
|
900
1368
|
}
|
|
901
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
|
+
}
|
|
902
1387
|
.decklight .build-step[data-build-style="draw"][data-build-state="pending"] {
|
|
903
1388
|
/* strokes hidden by full dash offset; keep element itself visible */
|
|
904
1389
|
opacity: 1;
|
|
@@ -911,11 +1396,54 @@
|
|
|
911
1396
|
/* the reveal inside the mask a dashed stroke draws through (#737): moved by
|
|
912
1397
|
the same frame loop, its duration read the same way */
|
|
913
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; }
|
|
914
1441
|
|
|
915
1442
|
/* instant application (slide entry, deep links, back-nav restore) */
|
|
916
1443
|
.decklight.decklight-no-anim .build-step,
|
|
917
1444
|
.decklight.decklight-no-anim .build-step .draw-stroke,
|
|
918
1445
|
.decklight.decklight-no-anim .build-step .draw-fade,
|
|
1446
|
+
.decklight.decklight-no-anim .build-step .draw-fill,
|
|
919
1447
|
.decklight.decklight-no-anim .draw-head,
|
|
920
1448
|
.decklight.decklight-no-anim .draw-mask-stroke {
|
|
921
1449
|
transition: none !important;
|
|
@@ -1029,6 +1557,16 @@
|
|
|
1029
1557
|
background: none;
|
|
1030
1558
|
white-space: pre;
|
|
1031
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; }
|
|
1032
1570
|
.decklight :not(pre) > code {
|
|
1033
1571
|
font-family: var(--font-mono, ui-monospace, monospace);
|
|
1034
1572
|
font-size: 0.9em;
|
|
@@ -1036,6 +1574,9 @@
|
|
|
1036
1574
|
padding: 0.1em 0.35em;
|
|
1037
1575
|
border-radius: 5px;
|
|
1038
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; }
|
|
1039
1580
|
.decklight .code-line { display: block; min-height: 1.55em; transition: opacity var(--build-duration) ease; }
|
|
1040
1581
|
.decklight pre.line-numbers { counter-reset: dl-line; }
|
|
1041
1582
|
.decklight pre.line-numbers .code-line { counter-increment: dl-line; }
|
|
@@ -1050,6 +1591,148 @@
|
|
|
1050
1591
|
}
|
|
1051
1592
|
.decklight .code-line.line-dim { opacity: var(--dim-opacity); }
|
|
1052
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
|
+
}
|
|
1053
1736
|
|
|
1054
1737
|
/* hljs token → theme token mapping (no separate hljs theme files) */
|
|
1055
1738
|
.decklight .hljs-keyword, .decklight .hljs-literal, .decklight .hljs-selector-tag { color: var(--hl-keyword, #c792ea); }
|
|
@@ -1073,7 +1756,10 @@
|
|
|
1073
1756
|
.decklight .terminal ::selection { background: var(--term-selection, rgba(120,150,255,.35)); }
|
|
1074
1757
|
|
|
1075
1758
|
/* ---------- chrome --------------------------------------------------------- */
|
|
1076
|
-
|
|
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; }
|
|
1077
1763
|
.decklight-arrow {
|
|
1078
1764
|
background: transparent;
|
|
1079
1765
|
border: 0;
|
|
@@ -1108,7 +1794,7 @@
|
|
|
1108
1794
|
.decklight-annotate.tool-laser { pointer-events: auto; cursor: none; }
|
|
1109
1795
|
.decklight-slide-number {
|
|
1110
1796
|
position: absolute;
|
|
1111
|
-
right: 20px;
|
|
1797
|
+
right: calc(20px + var(--dock-right, 0px) / var(--chrome-k, 1));
|
|
1112
1798
|
top: 16px;
|
|
1113
1799
|
z-index: 40;
|
|
1114
1800
|
color: var(--muted, #888);
|
|
@@ -1247,6 +1933,29 @@
|
|
|
1247
1933
|
corner and steps down while the chip is up (`has-commit-chip`).
|
|
1248
1934
|
Clickable, because a statement you can act on should be actionable where it
|
|
1249
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; }
|
|
1250
1959
|
/* the lock (editmode.js): a statement at the other corner, while changes are off */
|
|
1251
1960
|
.decklight-lock-chip {
|
|
1252
1961
|
position: absolute; left: 16px; bottom: 16px; z-index: 42;
|
|
@@ -1300,7 +2009,25 @@
|
|
|
1300
2009
|
font-variant-numeric: tabular-nums;
|
|
1301
2010
|
padding: 7px 12px; border-radius: 999px;
|
|
1302
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;
|
|
1303
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; }
|
|
1304
2031
|
.decklight.has-slide-num .decklight-commit-chip { top: 48px; }
|
|
1305
2032
|
.decklight-commit-chip[data-tone="quiet"]:hover { opacity: 1; }
|
|
1306
2033
|
.decklight-commit-chip:hover { background: rgba(0, 0, 0, .85); }
|
|
@@ -1407,6 +2134,16 @@
|
|
|
1407
2134
|
pointer-events: none; /* never in the way of a slide click */
|
|
1408
2135
|
white-space: nowrap;
|
|
1409
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; }
|
|
1410
2147
|
.decklight-agent-chip::before {
|
|
1411
2148
|
content: '';
|
|
1412
2149
|
width: 7px;
|
|
@@ -1439,6 +2176,44 @@
|
|
|
1439
2176
|
}
|
|
1440
2177
|
.decklight-touch-btn:active { background: rgba(70, 70, 74, .6); }
|
|
1441
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
|
+
}
|
|
1442
2217
|
|
|
1443
2218
|
/* a finder row that is another module (a separate file), not a slide here */
|
|
1444
2219
|
.decklight-finder .tp-row.tp-module { color: #cbb6ff; }
|
|
@@ -1447,6 +2222,11 @@
|
|
|
1447
2222
|
.decklight-finder .tp-fold { display: inline-block; width: 1em; text-align: center; cursor: pointer; }
|
|
1448
2223
|
.decklight-finder .tp-fold:hover { color: #fff; }
|
|
1449
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; }
|
|
1450
2230
|
|
|
1451
2231
|
/* overview */
|
|
1452
2232
|
.decklight-overview-grid {
|
|
@@ -1580,6 +2360,7 @@
|
|
|
1580
2360
|
.decklight-overview .build-step { visibility: visible !important; opacity: 1 !important; transform: none !important; }
|
|
1581
2361
|
.decklight-overview .draw-stroke { stroke-dashoffset: 0 !important; }
|
|
1582
2362
|
.decklight-overview .draw-fade { opacity: 1 !important; }
|
|
2363
|
+
.decklight-overview .draw-fill { fill-opacity: var(--draw-fill-op, 1) !important; }
|
|
1583
2364
|
.decklight-overview .draw-head { visibility: visible !important; transition: none !important; }
|
|
1584
2365
|
/* a dashed stroke shows whole: the thumbnail is a clone, so its mask's id
|
|
1585
2366
|
names the live slide's mid-draw mask, not its own */
|
|
@@ -1614,9 +2395,16 @@
|
|
|
1614
2395
|
letter-spacing: .08em;
|
|
1615
2396
|
padding: 10px 12px 2px;
|
|
1616
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 */
|
|
1617
2402
|
.decklight-narr .narr-row { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; cursor: pointer; }
|
|
1618
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; }
|
|
1619
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; }
|
|
1620
2408
|
/* the engine bar at the top of the voices view: the one choice that decides
|
|
1621
2409
|
every voice below it, drawn as a control of its own rather than a line
|
|
1622
2410
|
among the voices (where it got lost) */
|
|
@@ -1648,6 +2436,23 @@
|
|
|
1648
2436
|
/* the export card's settings: answers, not ranges */
|
|
1649
2437
|
.decklight-range .range-setting { gap: 12px; }
|
|
1650
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
|
+
}
|
|
1651
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; }
|
|
1652
2457
|
/* an export card (an action): Slides, Options, and a button that runs it */
|
|
1653
2458
|
.decklight-range .rec-sect {
|
|
@@ -1682,6 +2487,8 @@
|
|
|
1682
2487
|
.decklight-narr .narr-row.narr-sel { background: rgba(255, 255, 255, .14); }
|
|
1683
2488
|
.decklight-narr .narr-row.narr-cur::after { content: ' ✓'; opacity: .7; }
|
|
1684
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; }
|
|
1685
2492
|
/* An informational row in the settings panel: a fact, not a command. It keeps
|
|
1686
2493
|
full contrast — unlike .narr-blocked, which dims a row to say "this one is
|
|
1687
2494
|
not available to you" — and only loses the pointer cursor, because there is
|
|
@@ -1714,6 +2521,12 @@
|
|
|
1714
2521
|
.decklight-deckcheck .dc-fix-agent { border-color: rgba(210, 168, 255, .45); background: rgba(210, 168, 255, .1); color: #e2ccff; }
|
|
1715
2522
|
.decklight-deckcheck .dc-fix-agent:hover { background: rgba(210, 168, 255, .22); }
|
|
1716
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); }
|
|
1717
2530
|
.decklight-deckcheck .dc-nofix { font-size: 11px; opacity: .4; }
|
|
1718
2531
|
.decklight-deckcheck .dc-mark { flex: 0 0 1em; font-weight: 700; text-align: center; }
|
|
1719
2532
|
.decklight-deckcheck .dc-error .dc-mark { color: #ff7b72; }
|
|
@@ -1903,6 +2716,17 @@
|
|
|
1903
2716
|
.decklight-marketplaces .mk-ver:empty { display: none; }
|
|
1904
2717
|
.decklight-marketplaces .mk-change .mk-tag { margin-left: 2px; }
|
|
1905
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; }
|
|
1906
2730
|
/* Concept colors… (SVG_DIAGRAMS): one row per concept, its six slots beside it */
|
|
1907
2731
|
.decklight-concepts .narr-card { width: min(640px, 92vw); }
|
|
1908
2732
|
.decklight-concepts .cc-row { display: flex; align-items: center; gap: 10px; }
|
|
@@ -1963,7 +2787,7 @@
|
|
|
1963
2787
|
.decklight-ds-templates .dsl-preview { flex: 0 0 320px; height: 180px; overflow: hidden; border-radius: 8px; position: relative; background: var(--bg, #111); }
|
|
1964
2788
|
.decklight-ds-templates .dsl-preview-slide { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform: scale(.25); transform-origin: 0 0;
|
|
1965
2789
|
box-sizing: border-box; padding: 60px 80px; display: flex; flex-direction: column; justify-content: center; color: var(--fg, #eee); background: var(--bg, #111); }
|
|
1966
|
-
/*
|
|
2790
|
+
/* make my portrait (V → who is on screen): the camera in the medallion's own shape */
|
|
1967
2791
|
.decklight-film .narr-card { width: min(420px, 90vw); }
|
|
1968
2792
|
.decklight-film .film-circle {
|
|
1969
2793
|
position: relative;
|
|
@@ -2083,13 +2907,109 @@
|
|
|
2083
2907
|
}
|
|
2084
2908
|
.decklight-mic .rec-level.hot .rec-level-fill { background: #e5533d; }
|
|
2085
2909
|
|
|
2086
|
-
/*
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
}
|
|
2092
|
-
.decklight-narr .narr-
|
|
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; }
|
|
2093
3013
|
|
|
2094
3014
|
/* The plan card (V → Record my voice): what to record, how, where, and the
|
|
2095
3015
|
microphone, as sections. Taller than any other card, so it takes more of
|
|
@@ -2133,6 +3053,30 @@
|
|
|
2133
3053
|
color: #16181d; background: var(--accent, #6af); border-radius: 10px; padding: 1px 8px;
|
|
2134
3054
|
}
|
|
2135
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; }
|
|
2136
3080
|
/* HOW: one line that says the choices, and the choices behind it */
|
|
2137
3081
|
.decklight-mic .rec-how {
|
|
2138
3082
|
display: flex; align-items: center; gap: 8px; width: 100%; box-sizing: border-box;
|
|
@@ -2181,9 +3125,15 @@
|
|
|
2181
3125
|
.decklight-mic .rec-from .rec-seg button { opacity: 1; padding: 1px 9px; font-size: 14px; }
|
|
2182
3126
|
.decklight-mic .rec-from-why { font-size: 12px; opacity: .6; }
|
|
2183
3127
|
.decklight-mic .rec-to { white-space: nowrap; }
|
|
2184
|
-
/* the
|
|
2185
|
-
|
|
2186
|
-
.decklight-mic .rec-
|
|
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); }
|
|
2187
3137
|
.decklight-mic .rec-beat-n { flex: none; width: 18px; text-align: right; opacity: .6; font-variant-numeric: tabular-nums; }
|
|
2188
3138
|
|
|
2189
3139
|
/* before a take, 3-2-1 in amber; during one, the red dot. The words to read
|
|
@@ -2210,6 +3160,14 @@
|
|
|
2210
3160
|
.decklight-mic .rec-strip .rec-where { flex: 1 1 auto; text-align: center; }
|
|
2211
3161
|
.decklight-mic .rec-clock { font-weight: 500; letter-spacing: 0; color: #e8eaee; font-variant-numeric: tabular-nums; }
|
|
2212
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); }
|
|
2213
3171
|
.decklight-mic .rec-meter .rec-level { width: 120px; margin: 0; }
|
|
2214
3172
|
.decklight-mic .rec-progress { display: flex; gap: 3px; margin: 0 12px 8px; }
|
|
2215
3173
|
.decklight-mic .rec-progress span { flex: 1 1 0; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .12); }
|
|
@@ -2218,6 +3176,9 @@
|
|
|
2218
3176
|
.decklight-mic .rec-title { padding: 0 12px 2px; font-size: 12px; opacity: .55; }
|
|
2219
3177
|
.decklight-mic .rec-script { max-height: 56vh; overflow-y: auto; }
|
|
2220
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; }
|
|
2221
3182
|
.decklight-mic .rec-past { display: flex; gap: 10px; align-items: flex-start; padding: 4px 12px; font-size: 14px; opacity: .55; }
|
|
2222
3183
|
.decklight-mic .rec-tick { flex: none; color: #7bd88f; }
|
|
2223
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; }
|
|
@@ -2245,6 +3206,11 @@
|
|
|
2245
3206
|
font: inherit; font-size: 10px; color: inherit; cursor: pointer;
|
|
2246
3207
|
border: 1px solid rgba(255, 255, 255, .2); border-radius: 6px; background: transparent;
|
|
2247
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; }
|
|
2248
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; }
|
|
2249
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); }
|
|
2250
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); }
|
|
@@ -2310,33 +3276,20 @@
|
|
|
2310
3276
|
box-shadow: 0 -12px 40px rgba(0, 0, 0, .5);
|
|
2311
3277
|
}
|
|
2312
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
|
+
|
|
2313
3290
|
/* the dock control lives in the header, which becomes a flex row */
|
|
2314
3291
|
.decklight-dockable .narr-head { display: flex; align-items: center; gap: 8px; opacity: 1; }
|
|
2315
3292
|
.decklight-review .rv-heading { flex: 1; opacity: .55; }
|
|
2316
|
-
.decklight-dockable .dk-ctl { display: flex; gap: 2px; pointer-events: auto; }
|
|
2317
|
-
.decklight-dockable .dk-btn {
|
|
2318
|
-
font-size: 13px; line-height: 1; padding: 3px 5px;
|
|
2319
|
-
border: 0; border-radius: 5px;
|
|
2320
|
-
background: transparent; color: inherit;
|
|
2321
|
-
opacity: .5; cursor: pointer;
|
|
2322
|
-
}
|
|
2323
|
-
.decklight-dockable .dk-btn:hover { opacity: .9; background: rgba(255, 255, 255, .12); }
|
|
2324
|
-
/* the tabs: one panel beside the slide, and the others it can be, in the same
|
|
2325
|
-
place (dock.js). A full-width row across the top of the header. */
|
|
2326
|
-
.decklight-dockable .narr-head { flex-wrap: wrap; }
|
|
2327
|
-
.decklight-dockable .dk-tabs {
|
|
2328
|
-
display: flex; flex-wrap: wrap; gap: 2px; flex: 0 0 100%; order: -1;
|
|
2329
|
-
margin-bottom: 6px; padding-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, .1);
|
|
2330
|
-
text-transform: none; letter-spacing: normal; cursor: default;
|
|
2331
|
-
}
|
|
2332
|
-
.decklight-dockable .dk-tab {
|
|
2333
|
-
background: none; border: 0; border-radius: 4px; padding: 2px 6px; cursor: pointer;
|
|
2334
|
-
color: inherit; font: inherit; font-size: 11px; letter-spacing: .02em; opacity: .55;
|
|
2335
|
-
}
|
|
2336
|
-
.decklight-dockable .dk-tab:hover { opacity: .9; background: rgba(255, 255, 255, .08); }
|
|
2337
|
-
.decklight-dockable .dk-tab-on { opacity: 1; cursor: default; box-shadow: inset 0 -2px 0 var(--accent, #6af); border-radius: 4px 4px 0 0; }
|
|
2338
|
-
.decklight-dockable .dk-on { opacity: 1; background: rgba(255, 255, 255, .18); }
|
|
2339
|
-
.decklight-dockable .dk-close { font-size: 16px; margin-left: 2px; }
|
|
2340
3293
|
/* the panel's composer: at the FOOT, and pinned there while the list scrolls
|
|
2341
3294
|
(the card is the scroller; -14px covers its padding, so nothing shows
|
|
2342
3295
|
through beneath the box). Opaque, or the rows would read through it. */
|
|
@@ -2428,9 +3381,29 @@
|
|
|
2428
3381
|
white-space: nowrap;
|
|
2429
3382
|
}
|
|
2430
3383
|
/* the palette's shape (palette.js): every command at the root, its category
|
|
2431
|
-
as a dimmer prefix (`Voice:
|
|
3384
|
+
as a dimmer prefix (`Voice: AI voice…`), and a write-mode row tagged */
|
|
2432
3385
|
.decklight-palette .pal-right { display: inline-flex; align-items: center; gap: 8px; }
|
|
2433
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); }
|
|
2434
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; }
|
|
2435
3408
|
|
|
2436
3409
|
/* blackout / help */
|
|
@@ -2442,6 +3415,14 @@
|
|
|
2442
3415
|
.decklight-help .help-card h3 ~ h3 { margin-top: 18px; }
|
|
2443
3416
|
.decklight-help td { padding: 3px 14px 3px 0; }
|
|
2444
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; } }
|
|
2445
3426
|
|
|
2446
3427
|
/* first-run welcome — the help card's anatomy, on the theme's own tokens so it
|
|
2447
3428
|
reads on all 46 built-in themes and anything a marketplace adds. z-index sits
|
|
@@ -2553,16 +3534,17 @@
|
|
|
2553
3534
|
border-radius: calc(8px * var(--cap-k));
|
|
2554
3535
|
background: rgba(8, 9, 12, .8);
|
|
2555
3536
|
color: #fff;
|
|
2556
|
-
font-size: calc(21px * var(--cap-k));
|
|
3537
|
+
font-size: calc(21px * var(--cap-k) * var(--cap-size, 1));
|
|
2557
3538
|
line-height: 1.45;
|
|
2558
3539
|
text-align: center;
|
|
2559
3540
|
z-index: 45;
|
|
2560
3541
|
pointer-events: none;
|
|
3542
|
+
white-space: pre-wrap;
|
|
2561
3543
|
display: none;
|
|
2562
3544
|
}
|
|
2563
3545
|
.decklight-captions.show { display: block; }
|
|
2564
3546
|
|
|
2565
|
-
/* 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".
|
|
2566
3548
|
Shares the captions' corner, which is why the two never show at once, and
|
|
2567
3549
|
the toast's visual language (dark pill, mono, accent) because it is the
|
|
2568
3550
|
same kind of thing: the deck telling you something, briefly. A real
|
|
@@ -2602,7 +3584,7 @@
|
|
|
2602
3584
|
.decklight-narr-hint { transform: translateX(-50%); transition: opacity .25s; }
|
|
2603
3585
|
}
|
|
2604
3586
|
|
|
2605
|
-
/* animated character (
|
|
3587
|
+
/* animated character (V → who is on screen) — lip-synced narration companion.
|
|
2606
3588
|
The controller sets data-viseme on the overlay each frame; one
|
|
2607
3589
|
[data-mouth] group shows at a time. [data-eyelid]/[data-idle] are the
|
|
2608
3590
|
default art's blink + sway — custom art gets them for free too. */
|
|
@@ -2616,10 +3598,11 @@
|
|
|
2616
3598
|
filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35));
|
|
2617
3599
|
}
|
|
2618
3600
|
.decklight-character.show { display: block; }
|
|
2619
|
-
|
|
2620
|
-
.decklight-character.pos-
|
|
2621
|
-
.decklight-character.pos-
|
|
2622
|
-
.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; }
|
|
2623
3606
|
|
|
2624
3607
|
/* solo — the narrator takes the stage. The slide steps aside and the
|
|
2625
3608
|
character centers, sized to the stage: `inset: 0` pins all four offsets
|
|
@@ -2654,6 +3637,61 @@
|
|
|
2654
3637
|
.decklight-character.mode-video .still.missing { visibility: hidden; }
|
|
2655
3638
|
.decklight-character.mode-video video { opacity: 0; transition: opacity .12s; }
|
|
2656
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
|
+
}
|
|
2657
3695
|
.decklight-character [data-mouth] { visibility: hidden; }
|
|
2658
3696
|
.decklight-character[data-viseme="A"] [data-mouth="A"],
|
|
2659
3697
|
.decklight-character[data-viseme="B"] [data-mouth="B"],
|
|
@@ -2684,6 +3722,57 @@
|
|
|
2684
3722
|
to { transform: rotate(1.1deg) translateY(1.5px); }
|
|
2685
3723
|
}
|
|
2686
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
|
+
}
|
|
2687
3776
|
|
|
2688
3777
|
/* notes editor (right-click a slide's background, or the palette) — E now
|
|
2689
3778
|
arms element edit mode instead (below) */
|
|
@@ -2712,6 +3801,10 @@
|
|
|
2712
3801
|
.decklight-editor .notes-bar { justify-content: space-between; align-items: center; }
|
|
2713
3802
|
.decklight-editor .notes-tools,
|
|
2714
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; }
|
|
2715
3808
|
.decklight-editor .narr-prev-btn,
|
|
2716
3809
|
.decklight-editor .notes-btn {
|
|
2717
3810
|
font-size: 13px;
|
|
@@ -2722,6 +3815,13 @@
|
|
|
2722
3815
|
opacity: .85;
|
|
2723
3816
|
}
|
|
2724
3817
|
.decklight-editor .narr-prev-btn:disabled { opacity: .35; cursor: default; }
|
|
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; }
|
|
2725
3825
|
/* a switch, not two buttons: the lit half is the view on screen */
|
|
2726
3826
|
.decklight-editor .notes-views { display: inline-flex; }
|
|
2727
3827
|
.decklight-editor .notes-views .notes-btn { border-radius: 0; }
|
|
@@ -2742,7 +3842,7 @@
|
|
|
2742
3842
|
outline: none;
|
|
2743
3843
|
}
|
|
2744
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; }
|
|
2745
|
-
.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); }
|
|
2746
3846
|
.decklight-editor .notes-diff del { background: rgba(229, 83, 61, .22); color: #ffb4a8; text-decoration: line-through; }
|
|
2747
3847
|
.decklight-editor .notes-diff ins { background: rgba(80, 200, 120, .22); color: #b6f5c8; text-decoration: none; }
|
|
2748
3848
|
/* the notes editor and the agent ask dock the same way: their plain textarea
|
|
@@ -2778,6 +3878,20 @@
|
|
|
2778
3878
|
.decklight-agent .agent-ask-prompt { margin: 2px 0 4px; white-space: pre-wrap; font-weight: 600; }
|
|
2779
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; }
|
|
2780
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; }
|
|
2781
3895
|
.decklight-agent .agent-ask-failed .agent-ask-out { color: #f3a3a3; }
|
|
2782
3896
|
/* the notes card with no edit server behind it (S under present/review):
|
|
2783
3897
|
the same box, read-only, and it looks it */
|
|
@@ -2787,8 +3901,12 @@
|
|
|
2787
3901
|
resize: vertical;
|
|
2788
3902
|
line-height: 1.6;
|
|
2789
3903
|
font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
|
|
2790
|
-
font-size: 13px;
|
|
3904
|
+
font-size: var(--notes-px, 13px);
|
|
2791
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; }
|
|
2792
3910
|
|
|
2793
3911
|
/* editing's right-click menu (editing is on in write mode; right-click a slide
|
|
2794
3912
|
element — #112). The first CURSOR-ANCHORED overlay: every other one dims
|
|
@@ -2809,6 +3927,10 @@
|
|
|
2809
3927
|
padding: 6px;
|
|
2810
3928
|
box-shadow: 0 12px 40px rgba(0, 0, 0, .55);
|
|
2811
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;
|
|
2812
3934
|
}
|
|
2813
3935
|
.decklight-ctxmenu .cm-row {
|
|
2814
3936
|
padding: 7px 12px;
|
|
@@ -2832,6 +3954,21 @@
|
|
|
2832
3954
|
margin-bottom: 4px;
|
|
2833
3955
|
padding-bottom: 9px;
|
|
2834
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
|
+
}
|
|
2835
3972
|
|
|
2836
3973
|
/* the colour picker (element menu → Colors…): a dockable panel like the
|
|
2837
3974
|
other editing surfaces (dock.js), so the shape stays in view while every
|
|
@@ -3043,6 +4180,7 @@
|
|
|
3043
4180
|
.decklight.decklight-print .build-step { visibility: visible !important; opacity: 1 !important; transform: none !important; }
|
|
3044
4181
|
.decklight.decklight-print .draw-stroke { stroke-dashoffset: 0 !important; }
|
|
3045
4182
|
.decklight.decklight-print .draw-fade { opacity: 1 !important; }
|
|
4183
|
+
.decklight.decklight-print .draw-fill { fill-opacity: var(--draw-fill-op, 1) !important; }
|
|
3046
4184
|
.decklight.decklight-print .draw-head { visibility: visible !important; transition: none !important; }
|
|
3047
4185
|
.decklight.decklight-print [data-draw-masked] { mask: none !important; }
|
|
3048
4186
|
|
|
@@ -3123,7 +4261,8 @@
|
|
|
3123
4261
|
@media (prefers-reduced-motion: reduce) {
|
|
3124
4262
|
.decklight section.entering, .decklight section.leaving,
|
|
3125
4263
|
.decklight .build-step, .decklight [data-animate],
|
|
3126
|
-
.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 {
|
|
3127
4266
|
animation: none !important;
|
|
3128
4267
|
transition: none !important;
|
|
3129
4268
|
}
|
|
@@ -3233,6 +4372,83 @@
|
|
|
3233
4372
|
.decklight-inspector .cp-embedded { padding: 0 12px 4px; }
|
|
3234
4373
|
.decklight-colorpicker .cp-saved { font-size: 11px; opacity: .5; }
|
|
3235
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
|
+
|
|
3236
4452
|
/* the picker and the hover inside a diagram (pick.js): a dashed line in the
|
|
3237
4453
|
theme's accent around the node under the pointer, a faint glow on the node,
|
|
3238
4454
|
the stage around it dimmed a little; the box lets every pointer event
|
|
@@ -3249,6 +4465,17 @@
|
|
|
3249
4465
|
.decklight.dl-picking, .decklight.dl-picking .decklight-stage * { cursor: crosshair !important; }
|
|
3250
4466
|
/* a node selected inside a diagram: SVG takes no outline, so a frame is drawn over it */
|
|
3251
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
|
+
}
|
|
3252
4479
|
|
|
3253
4480
|
/* The sources editor. A draft, so it looks like a form and not like the card
|
|
3254
4481
|
it was reading a moment ago. */
|
|
@@ -3297,7 +4524,47 @@
|
|
|
3297
4524
|
outline-offset: 3px;
|
|
3298
4525
|
border-radius: 2px;
|
|
3299
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;
|
|
3300
4566
|
}
|
|
4567
|
+
.decklight svg text.dl-unsaved, .decklight svg tspan.dl-unsaved { text-decoration: underline wavy #f85149; }
|
|
3301
4568
|
/* a diagram label being typed (SVG text takes no contenteditable): a box laid
|
|
3302
4569
|
over the hidden label, in its font and ink, the shape under it showing */
|
|
3303
4570
|
.decklight .dl-label-edit {
|
|
@@ -3306,7 +4573,63 @@
|
|
|
3306
4573
|
background: transparent; color: var(--d-text, var(--fg));
|
|
3307
4574
|
outline: 2px solid var(--accent); outline-offset: 1px;
|
|
3308
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;
|
|
3309
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; } }
|
|
3310
4633
|
.decklight.dl-dropping > .decklight-stage { outline: 3px dashed var(--accent); outline-offset: -3px; }
|
|
3311
4634
|
.decklight.dl-dropping > .decklight-stage::after {
|
|
3312
4635
|
content: 'drop to add the picture to this slide';
|
|
@@ -3319,7 +4642,14 @@
|
|
|
3319
4642
|
|
|
3320
4643
|
/* ── editing's face (src/core/editbar.js): the bar E opens, and the selection ── */
|
|
3321
4644
|
.decklight-editbar {
|
|
3322
|
-
|
|
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));
|
|
3323
4653
|
z-index: 41;
|
|
3324
4654
|
display: flex; align-items: center; gap: 2px;
|
|
3325
4655
|
padding: 4px;
|
|
@@ -3350,6 +4680,51 @@
|
|
|
3350
4680
|
.dl-fmt button.on { background: rgba(255, 255, 255, .2); }
|
|
3351
4681
|
.dl-fmt .fmt-em { font-style: italic; font-weight: 500; }
|
|
3352
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); }
|
|
3353
4728
|
/* the grip: the bar moves (editbar.js); moved, it is positioned by its own
|
|
3354
4729
|
left/top instead of the bottom-centre default */
|
|
3355
4730
|
.decklight-editbar .eb-grip {
|
|
@@ -3360,7 +4735,7 @@
|
|
|
3360
4735
|
}
|
|
3361
4736
|
.decklight-editbar .eb-grip:hover { color: #e6e6e6; }
|
|
3362
4737
|
.decklight-editbar.eb-dragging .eb-grip, .decklight-editbar .eb-grip:active { cursor: grabbing; }
|
|
3363
|
-
.decklight-editbar.eb-moved { bottom: auto;
|
|
4738
|
+
.decklight-editbar.eb-moved { bottom: auto; right: auto; margin-inline: 0; }
|
|
3364
4739
|
.decklight-editbar.eb-dragging { transition: none; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); }
|
|
3365
4740
|
.decklight-editbar .eb-btn {
|
|
3366
4741
|
display: inline-flex; align-items: center; gap: 7px;
|
|
@@ -3371,6 +4746,12 @@
|
|
|
3371
4746
|
}
|
|
3372
4747
|
.decklight-editbar .eb-btn:hover { background: rgba(255, 255, 255, .12); }
|
|
3373
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; }
|
|
3374
4755
|
.decklight-editbar .eb-key {
|
|
3375
4756
|
font: 600 10px/1 system-ui, sans-serif;
|
|
3376
4757
|
padding: 3px 5px; border-radius: 5px;
|
|
@@ -3378,6 +4759,121 @@
|
|
|
3378
4759
|
}
|
|
3379
4760
|
.decklight-editbar .eb-lock { margin-left: 4px; border-left: 1px solid rgba(255, 255, 255, .14); border-radius: 0 10px 10px 0; }
|
|
3380
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
|
+
}
|
|
3381
4877
|
/* while editing: what the pointer is over, and what was chosen */
|
|
3382
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; }
|
|
3383
4879
|
.decklight .dl-selected { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
|
|
@@ -3390,6 +4886,214 @@
|
|
|
3390
4886
|
cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
|
|
3391
4887
|
}
|
|
3392
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); }
|
|
3393
5097
|
|
|
3394
5098
|
/* ---------- font picker (SPEC FONTS) — each row in its own face, its source on the right ---------- */
|
|
3395
5099
|
/* the slide behind IS the preview: no blur, a light dim, the card off to the side */
|
|
@@ -3455,6 +5159,298 @@
|
|
|
3455
5159
|
}
|
|
3456
5160
|
.decklight-editor .ed-to-inspector:hover { opacity: 1; background: rgba(255, 255, 255, .08); }
|
|
3457
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
|
+
|
|
3458
5454
|
|
|
3459
5455
|
/* Copyright 2026 Gilles Philippart
|
|
3460
5456
|
SPDX-License-Identifier: Apache-2.0 */
|