decklight 0.8.1 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/PLATFORM.md +666 -0
- package/README.md +224 -150
- package/SPEC.md +732 -886
- package/cli/agent-review.mjs +245 -0
- package/cli/agents.mjs +25 -5
- package/cli/associate.mjs +12 -12
- package/cli/audit.mjs +42 -10
- package/cli/banner.mjs +41 -17
- package/cli/bundle-audio.mjs +183 -0
- package/cli/bundle.mjs +383 -31
- package/cli/cast.mjs +7 -7
- package/cli/check.mjs +961 -0
- package/cli/clone-deck.mjs +179 -0
- package/cli/commands.mjs +345 -0
- package/cli/comments.mjs +64 -18
- package/cli/commit-flow.mjs +44 -19
- package/cli/commit-message.mjs +51 -74
- package/cli/commit-split.mjs +601 -0
- package/cli/deck-refs.mjs +59 -0
- package/cli/deck-routes.mjs +67 -0
- package/cli/deckfile.mjs +3 -5
- package/cli/decklight.mjs +68 -289
- package/cli/design-system-deps.mjs +209 -0
- package/cli/design-system-edit.mjs +194 -0
- package/cli/design-system-refs.mjs +409 -0
- package/cli/design-system.mjs +429 -0
- package/cli/doctor.mjs +115 -0
- package/cli/edit-git.mjs +353 -0
- package/cli/edit-handover.mjs +445 -0
- package/cli/edit-look.mjs +388 -0
- package/cli/edit-slides.mjs +683 -0
- package/cli/edit.mjs +2126 -842
- package/cli/enhance.mjs +483 -0
- package/cli/extension.mjs +10 -10
- package/cli/font-refs.mjs +273 -0
- package/cli/font.mjs +246 -0
- package/cli/git-tree.mjs +1 -1
- package/cli/git.mjs +65 -11
- package/cli/import.mjs +56 -10
- package/cli/init.mjs +400 -234
- package/cli/library.mjs +127 -0
- package/cli/loader.mjs +3 -1
- package/cli/marketplace.mjs +215 -21
- package/cli/narrate.mjs +176 -0
- package/cli/open-browser.mjs +63 -0
- package/cli/open.mjs +943 -0
- package/cli/pdf.mjs +41 -13
- package/cli/pkg.mjs +44 -2
- package/cli/plugin.mjs +43 -41
- package/cli/port-conflict.mjs +53 -23
- package/cli/pptx-export.mjs +57 -24
- package/cli/publish.mjs +8 -4
- package/cli/qr.mjs +1 -1
- package/cli/record.mjs +14 -12
- package/cli/remote.mjs +11 -11
- package/cli/restore.mjs +11 -4
- package/cli/review-ref.mjs +125 -0
- package/cli/review-remote.mjs +92 -48
- package/cli/review-routes.mjs +254 -0
- package/cli/review-store.mjs +47 -7
- package/cli/review-submit.mjs +47 -57
- package/cli/runtime-link.mjs +560 -0
- package/cli/serve.mjs +235 -44
- package/cli/setup.mjs +112 -0
- package/cli/sign.mjs +1 -1
- package/cli/skill-content.mjs +190 -33
- package/cli/skills.mjs +107 -24
- package/cli/start.mjs +110 -0
- package/cli/supervise.mjs +6 -6
- package/cli/theme-refs.mjs +515 -0
- package/cli/theme.mjs +181 -137
- package/cli/trust.mjs +83 -0
- package/cli/units.mjs +39 -42
- package/cli/update-check.mjs +1 -5
- package/cli/upgrade.mjs +194 -28
- package/cli/upstream.mjs +4 -3
- package/cli/util.mjs +4 -4
- package/cli/wizard.mjs +6 -6
- package/dist/build-info.json +1 -1
- package/dist/decklight.css +1126 -49
- package/dist/decklight.js +212 -115
- package/dist/decklight.js.map +4 -4
- package/docs/GLOSSARY.md +141 -0
- package/docs/architecture.svg +17 -17
- package/package.json +4 -2
- package/themes/README.md +9 -8
- package/themes/reveal-solarized.css +10 -0
- package/tools/args.mjs +20 -0
- package/tools/atomic-write.mjs +48 -0
- package/tools/brand-palette.mjs +717 -0
- package/tools/bridge.mjs +1 -1
- package/tools/build-groups.mjs +42 -0
- package/tools/color.mjs +48 -0
- package/tools/deck-html.mjs +396 -11
- package/tools/design-system-format.mjs +753 -0
- package/tools/elevenlabs-tts.mjs +110 -17
- package/tools/exec.mjs +1 -1
- package/tools/extension-check.mjs +31 -7
- package/tools/font-format.mjs +190 -0
- package/tools/font-stacks.mjs +24 -0
- package/tools/gemini-tts.mjs +3 -0
- package/tools/lipsync-config.mjs +103 -0
- package/tools/lipsync-engines.mjs +205 -2
- package/tools/lipsync-server.mjs +264 -41
- package/tools/lipsync.mjs +37 -18
- package/tools/local-voice.mjs +32 -42
- package/tools/narration-manifest.mjs +196 -0
- package/tools/narration-synth.mjs +416 -0
- package/tools/pptx.mjs +776 -19
- package/tools/publish-targets.mjs +1 -1
- package/tools/publish-voices.mjs +3 -3
- package/tools/recording-impact.mjs +7 -3
- package/tools/render-theme.mjs +33 -0
- package/tools/review-anchor.mjs +28 -12
- package/tools/semver.mjs +40 -0
- package/tools/sentences.mjs +180 -0
- package/tools/shot.mjs +14 -7
- package/tools/site-voices.mjs +232 -0
- package/tools/template-theme.mjs +1 -1
- package/tools/test-impact.mjs +17 -10
- package/tools/theme-check.mjs +30 -3
- package/tools/tts-cache.mjs +4 -3
- package/tools/tts-engines.mjs +38 -20
- package/tools/tts-setup.mjs +7 -7
- package/tools/video-options.mjs +34 -0
- package/tools/video.mjs +461 -48
- package/tools/voiceover-server.mjs +185 -104
- package/tools/voiceover.mjs +119 -261
- package/tools/zip.mjs +1 -1
- package/cli/dev.mjs +0 -623
- package/cli/present.mjs +0 -853
- package/cli/review.mjs +0 -361
- package/tools/publish-site-voices.mjs +0 -75
package/dist/decklight.css
CHANGED
|
@@ -17,6 +17,24 @@
|
|
|
17
17
|
--transition-duration: 350ms;
|
|
18
18
|
--auto-animate-duration: 500ms;
|
|
19
19
|
--dim-opacity: 0.35;
|
|
20
|
+
/* Nested diagram tones (SVG_DIAGRAMS, #541): a filled shape drawn inside a
|
|
21
|
+
filled shape is painted one lightness step of its panel toward the ink —
|
|
22
|
+
the same hue, so the boxes read as the panel's children. A theme may set
|
|
23
|
+
these itself; left alone they derive from the theme's own slots and ink,
|
|
24
|
+
in dark and light themes alike. `-in2` is the step below that, and the
|
|
25
|
+
last: deeper nesting stays there. */
|
|
26
|
+
--d-fill-1-in: color-mix(in oklab, var(--d-fill-1) 82%, var(--d-text));
|
|
27
|
+
--d-fill-2-in: color-mix(in oklab, var(--d-fill-2) 82%, var(--d-text));
|
|
28
|
+
--d-fill-3-in: color-mix(in oklab, var(--d-fill-3) 82%, var(--d-text));
|
|
29
|
+
--d-fill-4-in: color-mix(in oklab, var(--d-fill-4) 82%, var(--d-text));
|
|
30
|
+
--d-fill-5-in: color-mix(in oklab, var(--d-fill-5) 82%, var(--d-text));
|
|
31
|
+
--d-fill-6-in: color-mix(in oklab, var(--d-fill-6) 82%, var(--d-text));
|
|
32
|
+
--d-fill-1-in2: color-mix(in oklab, var(--d-fill-1-in) 82%, var(--d-text));
|
|
33
|
+
--d-fill-2-in2: color-mix(in oklab, var(--d-fill-2-in) 82%, var(--d-text));
|
|
34
|
+
--d-fill-3-in2: color-mix(in oklab, var(--d-fill-3-in) 82%, var(--d-text));
|
|
35
|
+
--d-fill-4-in2: color-mix(in oklab, var(--d-fill-4-in) 82%, var(--d-text));
|
|
36
|
+
--d-fill-5-in2: color-mix(in oklab, var(--d-fill-5-in) 82%, var(--d-text));
|
|
37
|
+
--d-fill-6-in2: color-mix(in oklab, var(--d-fill-6-in) 82%, var(--d-text));
|
|
20
38
|
}
|
|
21
39
|
|
|
22
40
|
/* Accent overlay: --bg is the canvas (color OR gradient — the shorthand takes
|
|
@@ -31,6 +49,32 @@
|
|
|
31
49
|
background-image: var(--bg-accent, none);
|
|
32
50
|
pointer-events: none;
|
|
33
51
|
}
|
|
52
|
+
|
|
53
|
+
/* Fullscreen letterbox (SPEC PRESENTING, Display): in fullscreen the screen
|
|
54
|
+
is the presenter's, so the bands the deck's ratio leaves above and below
|
|
55
|
+
(or beside) the slide are black, like a projector's, and the slide itself
|
|
56
|
+
carries the theme's canvas and accent. Out of fullscreen the bands keep
|
|
57
|
+
the theme's colour. A slide that bleeds its art (Bleed) still fills the
|
|
58
|
+
screen: the stage goes transparent so the art behind it shows through. */
|
|
59
|
+
.decklight:fullscreen { background: #000; }
|
|
60
|
+
/* ⇧F (Settings, palette): a fullscreen talk with nothing but the slides — the
|
|
61
|
+
arrows and both slide numbers (the player's and write mode's) leave */
|
|
62
|
+
.decklight.fs-chrome-hidden:fullscreen .decklight-controls,
|
|
63
|
+
.decklight.fs-chrome-hidden:fullscreen .decklight-slide-number,
|
|
64
|
+
.decklight.fs-chrome-hidden:fullscreen .decklight-slide-num { display: none; }
|
|
65
|
+
.decklight:fullscreen::before { content: none; }
|
|
66
|
+
.decklight:fullscreen > .decklight-stage {
|
|
67
|
+
background: var(--bg, #111);
|
|
68
|
+
}
|
|
69
|
+
.decklight:fullscreen > .decklight-stage::before {
|
|
70
|
+
content: '';
|
|
71
|
+
position: absolute;
|
|
72
|
+
inset: 0;
|
|
73
|
+
background-image: var(--bg-accent, none);
|
|
74
|
+
pointer-events: none;
|
|
75
|
+
}
|
|
76
|
+
.decklight:fullscreen > .decklight-stage:has(> section[data-bled]) { background: transparent; }
|
|
77
|
+
.decklight:fullscreen > .decklight-stage:has(> section[data-bled])::before { content: none; }
|
|
34
78
|
.decklight-stage { z-index: 1; }
|
|
35
79
|
|
|
36
80
|
.decklight-stage {
|
|
@@ -83,7 +127,9 @@
|
|
|
83
127
|
.decklight-stage > section.leaving { z-index: 1; }
|
|
84
128
|
.decklight-stage > section.active { z-index: 2; }
|
|
85
129
|
|
|
86
|
-
|
|
130
|
+
/* `sources` joins the list deliberately: this rule names the asides that are
|
|
131
|
+
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; }
|
|
87
133
|
|
|
88
134
|
/* ---------- pinned titles (SPEC PRESENTING) ---------------------------------------
|
|
89
135
|
The engine marks pinnable sections with data-pinned + inline --pin-y /
|
|
@@ -399,16 +445,14 @@
|
|
|
399
445
|
margin-bottom: 6px;
|
|
400
446
|
padding-bottom: 9px;
|
|
401
447
|
}
|
|
402
|
-
/*
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
}
|
|
411
|
-
.decklight-theme-picker .tp-row.tp-mkt { text-transform: none; }
|
|
448
|
+
/* Marketplace themes: names from someone else's catalog are shown as written
|
|
449
|
+
— no capitalization. While authoring, one the deck does not mark is dimmed:
|
|
450
|
+
it can be looked at and applied, but it will not be part of the bundle. */
|
|
451
|
+
.decklight-theme-picker .tp-row.tp-marked,
|
|
452
|
+
.decklight-theme-picker .tp-row.tp-unmarked { text-transform: none; }
|
|
453
|
+
.decklight-theme-picker .tp-row.tp-unmarked { color: #b9bec8; }
|
|
454
|
+
/* the brand lock's switch (SPEC BRAND_PALETTE) is a sentence, not a theme name */
|
|
455
|
+
.decklight-theme-picker .tp-row.tp-brandlock { text-transform: none; color: #b9bec8; }
|
|
412
456
|
.decklight-theme-picker .tp-row {
|
|
413
457
|
padding: 7px 12px;
|
|
414
458
|
border-radius: 8px;
|
|
@@ -457,6 +501,7 @@
|
|
|
457
501
|
.decklight-finder .tp-side { flex-basis: 300px; }
|
|
458
502
|
.decklight-finder .tp-row,
|
|
459
503
|
.decklight-finder .tp-caption { text-transform: none; }
|
|
504
|
+
.decklight-theme-picker .tp-caption.tp-plain { text-transform: none; }
|
|
460
505
|
.decklight-finder .tp-row {
|
|
461
506
|
white-space: nowrap;
|
|
462
507
|
overflow: hidden;
|
|
@@ -611,6 +656,26 @@
|
|
|
611
656
|
}
|
|
612
657
|
.decklight-history .hs-btn:hover:not(:disabled) { background: rgba(128, 128, 128, .18); }
|
|
613
658
|
.decklight-history .hs-btn:disabled { opacity: 0.3; cursor: default; }
|
|
659
|
+
/* CC and details close the transport row. CC is the deck's closed captions,
|
|
660
|
+
shown in the preview; details is a word rather than an icon (it was once
|
|
661
|
+
"CC" itself, when the preview had no captions to show). Lit when on, the
|
|
662
|
+
way a pressed toggle looks everywhere else. */
|
|
663
|
+
.decklight-history .hs-cc,
|
|
664
|
+
.decklight-history .hs-details {
|
|
665
|
+
width: auto;
|
|
666
|
+
padding: 0 6px;
|
|
667
|
+
margin-left: 0.6em;
|
|
668
|
+
font-size: 10px;
|
|
669
|
+
font-weight: 600;
|
|
670
|
+
line-height: 1;
|
|
671
|
+
letter-spacing: .04em;
|
|
672
|
+
opacity: .6;
|
|
673
|
+
}
|
|
674
|
+
.decklight-history .hs-cc[aria-pressed="true"],
|
|
675
|
+
.decklight-history .hs-details[aria-pressed="true"] {
|
|
676
|
+
opacity: 1;
|
|
677
|
+
background: rgba(128, 128, 128, .22);
|
|
678
|
+
}
|
|
614
679
|
.decklight-history .hs-pos {
|
|
615
680
|
min-width: 4.5em;
|
|
616
681
|
text-align: center;
|
|
@@ -619,6 +684,28 @@
|
|
|
619
684
|
opacity: 0.6;
|
|
620
685
|
}
|
|
621
686
|
|
|
687
|
+
/* All slides / changes (D): the same toggle shape as CC, with words, because
|
|
688
|
+
which of the two you are walking is the thing to know at a glance. The
|
|
689
|
+
stop's kind beside the position, in the commit window's three colours. */
|
|
690
|
+
.decklight-history .hs-only {
|
|
691
|
+
width: auto;
|
|
692
|
+
padding: 0 8px;
|
|
693
|
+
margin-left: 0.6em;
|
|
694
|
+
font-size: 11px;
|
|
695
|
+
line-height: 1;
|
|
696
|
+
opacity: .6;
|
|
697
|
+
white-space: nowrap;
|
|
698
|
+
}
|
|
699
|
+
.decklight-history .hs-only[aria-pressed="true"] { opacity: 1; background: rgba(128, 128, 128, .22); }
|
|
700
|
+
.decklight-history .hs-only + .hs-cc,
|
|
701
|
+
.decklight-history .hs-only + .hs-details,
|
|
702
|
+
.decklight-history .hs-cc + .hs-details { margin-left: 0.35em; }
|
|
703
|
+
.decklight-history .hs-kind { font-size: 0.82em; white-space: nowrap; }
|
|
704
|
+
.decklight-history .hs-kind[hidden] { display: none; }
|
|
705
|
+
.decklight-history .hs-k-changed { color: #f2c46d; }
|
|
706
|
+
.decklight-history .hs-k-added { color: #7cd6a3; }
|
|
707
|
+
.decklight-history .hs-k-removed { color: #f08a7e; }
|
|
708
|
+
|
|
622
709
|
/* The confirmation. It sits under the list rather than over it, because the
|
|
623
710
|
row it is asking about must stay visible while you answer. */
|
|
624
711
|
.decklight-history .hs-confirm {
|
|
@@ -711,7 +798,8 @@
|
|
|
711
798
|
}
|
|
712
799
|
.decklight-toast.show { opacity: 1; transform: none; }
|
|
713
800
|
|
|
714
|
-
/* the
|
|
801
|
+
/* the log panel (`): Messages, every message with the time it arrived, and
|
|
802
|
+
Events, the debug stream — one panel, two tabs (engine.js openLog) */
|
|
715
803
|
.decklight-msglog {
|
|
716
804
|
position: absolute;
|
|
717
805
|
top: 18px;
|
|
@@ -734,6 +822,22 @@
|
|
|
734
822
|
letter-spacing: .04em;
|
|
735
823
|
text-transform: uppercase;
|
|
736
824
|
}
|
|
825
|
+
.decklight-msglog .msg-head kbd {
|
|
826
|
+
/* the key, printed as the key: a chip like the recorder's, and NOT uppercased
|
|
827
|
+
with the rest of the heading — a shortcut is the character on the keycap */
|
|
828
|
+
display: inline-block;
|
|
829
|
+
min-width: 1.5em;
|
|
830
|
+
padding: 0 6px;
|
|
831
|
+
border: 1px solid rgba(255, 255, 255, .25);
|
|
832
|
+
border-radius: 4px;
|
|
833
|
+
/* a backtick is a small glyph sitting at cap height: at the heading's size it
|
|
834
|
+
reads as an empty keycap, so the chip carries it a little larger and centred */
|
|
835
|
+
font-size: 1.1em;
|
|
836
|
+
line-height: 1.4;
|
|
837
|
+
text-align: center;
|
|
838
|
+
text-transform: none;
|
|
839
|
+
letter-spacing: 0;
|
|
840
|
+
}
|
|
737
841
|
.decklight-msglog .msg-log {
|
|
738
842
|
overflow-y: auto;
|
|
739
843
|
padding: 8px 14px 12px;
|
|
@@ -756,13 +860,18 @@
|
|
|
756
860
|
|
|
757
861
|
/* draw style: strokes animate dash-offset; text/fills fade */
|
|
758
862
|
.decklight .build-step[data-build-style="draw"] { visibility: visible; opacity: 1; }
|
|
759
|
-
|
|
863
|
+
/* a stroke inside a draw step, and a stroke that IS the step (a bare <line>
|
|
864
|
+
in a data-build="draw" svg, or one carrying data-build itself) */
|
|
865
|
+
.decklight .build-step[data-build-style="draw"] .draw-stroke,
|
|
866
|
+
.decklight .build-step.draw-stroke[data-build-style="draw"] {
|
|
760
867
|
stroke-dasharray: var(--draw-len);
|
|
761
868
|
stroke-dashoffset: var(--draw-len);
|
|
762
869
|
transition: stroke-dashoffset calc(var(--build-duration) * 2.2) ease;
|
|
763
870
|
}
|
|
764
871
|
.decklight .build-step[data-build-style="draw"][data-build-state="current"] .draw-stroke,
|
|
765
|
-
.decklight .build-step[data-build-style="draw"][data-build-state="done"] .draw-stroke
|
|
872
|
+
.decklight .build-step[data-build-style="draw"][data-build-state="done"] .draw-stroke,
|
|
873
|
+
.decklight .build-step.draw-stroke[data-build-style="draw"][data-build-state="current"],
|
|
874
|
+
.decklight .build-step.draw-stroke[data-build-style="draw"][data-build-state="done"] {
|
|
766
875
|
stroke-dashoffset: 0;
|
|
767
876
|
}
|
|
768
877
|
.decklight .build-step[data-build-style="draw"] .draw-fade {
|
|
@@ -778,11 +887,21 @@
|
|
|
778
887
|
/* strokes hidden by full dash offset; keep element itself visible */
|
|
779
888
|
opacity: 1;
|
|
780
889
|
}
|
|
890
|
+
/* the arrowhead that rides a drawing stroke's tip (#522): placed by the
|
|
891
|
+
engine's frame loop, never by this transition — the duration is here only
|
|
892
|
+
to be READ, so print, the overview, no-anim and reduced motion turn the
|
|
893
|
+
loop instant by zeroing it exactly as they zero the stroke's own */
|
|
894
|
+
.decklight .draw-head { transition: opacity calc(var(--build-duration) * 2.2) ease; pointer-events: none; }
|
|
895
|
+
/* the reveal inside the mask a dashed stroke draws through (#737): moved by
|
|
896
|
+
the same frame loop, its duration read the same way */
|
|
897
|
+
.decklight .draw-mask-stroke { transition: opacity calc(var(--build-duration) * 2.2) ease; }
|
|
781
898
|
|
|
782
899
|
/* instant application (slide entry, deep links, back-nav restore) */
|
|
783
900
|
.decklight.decklight-no-anim .build-step,
|
|
784
901
|
.decklight.decklight-no-anim .build-step .draw-stroke,
|
|
785
|
-
.decklight.decklight-no-anim .build-step .draw-fade
|
|
902
|
+
.decklight.decklight-no-anim .build-step .draw-fade,
|
|
903
|
+
.decklight.decklight-no-anim .draw-head,
|
|
904
|
+
.decklight.decklight-no-anim .draw-mask-stroke {
|
|
786
905
|
transition: none !important;
|
|
787
906
|
animation: none !important;
|
|
788
907
|
}
|
|
@@ -793,6 +912,15 @@
|
|
|
793
912
|
.decklight .chart { width: 100%; max-width: 860px; margin: 0.2em auto; }
|
|
794
913
|
.decklight .chart > svg { display: block; width: 100%; height: auto; }
|
|
795
914
|
.decklight .chart-svg text { font-family: var(--font-body, system-ui, sans-serif); }
|
|
915
|
+
/* an imported drawing's wordy boxes (tools/pptx.mjs drawingSvg): HTML inside the
|
|
916
|
+
SVG, so a paragraph wraps and a list stays a list — <text> can do neither */
|
|
917
|
+
.decklight svg foreignObject .dwg-text {
|
|
918
|
+
display: flex; flex-direction: column; justify-content: center;
|
|
919
|
+
height: 100%; box-sizing: border-box; padding: 4px 8px;
|
|
920
|
+
font: 600 14px/1.3 var(--font-body, system-ui, sans-serif); color: var(--d-text); text-align: center;
|
|
921
|
+
}
|
|
922
|
+
.decklight svg foreignObject .dwg-text p { margin: 0 0 .3em; }
|
|
923
|
+
.decklight svg foreignObject .dwg-text ul, .decklight svg foreignObject .dwg-text ol { margin: 0; padding-left: 1.2em; text-align: left; font-weight: 400; }
|
|
796
924
|
/* invalid chart JSON: a visible error box (the terminal-broken idiom) —
|
|
797
925
|
never a blank slide */
|
|
798
926
|
.decklight .chart-broken {
|
|
@@ -996,8 +1124,13 @@
|
|
|
996
1124
|
pointer-events: none;
|
|
997
1125
|
user-select: none;
|
|
998
1126
|
}
|
|
1127
|
+
/* the commit chip has the corner: the clock steps down under it */
|
|
1128
|
+
.decklight.has-commit-chip .decklight-clock { top: 60px; }
|
|
1129
|
+
/* the slide number (editmode.js) is above both: they step down under it */
|
|
1130
|
+
.decklight.has-slide-num .decklight-clock { top: 76px; }
|
|
1131
|
+
.decklight.has-slide-num.has-commit-chip .decklight-clock { top: 94px; }
|
|
999
1132
|
.decklight-clock .clk-elapsed { color: var(--accent, #6af); }
|
|
1000
|
-
/* The element content editor's highlighted layers (
|
|
1133
|
+
/* The element content editor's highlighted layers (write mode). A textarea
|
|
1001
1134
|
cannot render markup, so the colour is a <pre> BEHIND a textarea whose own
|
|
1002
1135
|
text is transparent.
|
|
1003
1136
|
|
|
@@ -1031,10 +1164,40 @@
|
|
|
1031
1164
|
.decklight-narr .edit-code > pre {
|
|
1032
1165
|
position: absolute;
|
|
1033
1166
|
inset: 0;
|
|
1034
|
-
|
|
1167
|
+
/* hidden, not auto: the paint is scrolled by script to wherever the textarea
|
|
1168
|
+
is, and a scrollbar of its own would narrow it by one scrollbar the
|
|
1169
|
+
textarea may not have (classic scrollbars, headless Chrome) — the two
|
|
1170
|
+
layers then wrap at different widths. The textarea's scrollbar is instead
|
|
1171
|
+
added to this layer's right padding (editmode.js) */
|
|
1172
|
+
overflow: hidden;
|
|
1035
1173
|
pointer-events: none; /* the textarea takes every click */
|
|
1036
1174
|
background: var(--code-bg, rgba(0, 0, 0, .35));
|
|
1037
1175
|
border-radius: 8px;
|
|
1176
|
+
/* the code-slide rule's `max-width: 95%` and box-shadow reached this <pre>
|
|
1177
|
+
too — a painted layer 5% narrower than the textarea wraps every long
|
|
1178
|
+
line one column sooner (#529) */
|
|
1179
|
+
max-width: none;
|
|
1180
|
+
width: auto;
|
|
1181
|
+
box-shadow: none;
|
|
1182
|
+
}
|
|
1183
|
+
/* The <code> the highlighter paints into sits inside .decklight, so the
|
|
1184
|
+
code-SLIDE rule (`.decklight pre code`, below) reached it too: a 0.62em
|
|
1185
|
+
font and `white-space: pre` on the painted layer alone. Past the first
|
|
1186
|
+
wrapped line the layers disagreed on every metric, and the textarea had
|
|
1187
|
+
2 000 px of scroll the paint could not follow — wheel, arrows and the caret
|
|
1188
|
+
all "dead" (#529). Every metric comes from the one rule above, inherited. */
|
|
1189
|
+
.decklight-narr .edit-code > pre > code {
|
|
1190
|
+
display: inline;
|
|
1191
|
+
font: inherit;
|
|
1192
|
+
line-height: inherit;
|
|
1193
|
+
letter-spacing: inherit;
|
|
1194
|
+
white-space: inherit;
|
|
1195
|
+
overflow-wrap: inherit;
|
|
1196
|
+
tab-size: inherit;
|
|
1197
|
+
padding: 0;
|
|
1198
|
+
margin: 0;
|
|
1199
|
+
background: none;
|
|
1200
|
+
border-radius: 0;
|
|
1038
1201
|
}
|
|
1039
1202
|
.decklight-narr .edit-code > textarea {
|
|
1040
1203
|
position: relative;
|
|
@@ -1054,21 +1217,34 @@
|
|
|
1054
1217
|
textarea shows its own text rather than an empty-looking box. */
|
|
1055
1218
|
.decklight-narr .edit-code > textarea:disabled { color: var(--muted, #9aa); }
|
|
1056
1219
|
|
|
1057
|
-
/* "an agent is still working" —
|
|
1220
|
+
/* "an agent is still working" — write mode only (src/core/editmode.js).
|
|
1058
1221
|
BOTTOM CENTRE, which is the one piece of chrome nothing else claims: the
|
|
1059
1222
|
logo takes a corner, the clock is top-right, the controls bottom-right and
|
|
1060
1223
|
messages top-left, so this can be persistent without ever covering them.
|
|
1061
1224
|
Quiet by construction — it reports rather than asks, and nothing about a
|
|
1062
1225
|
background job should compete with the slide. */
|
|
1063
1226
|
/* The commit chip (SPEC PRESENTING) — "this is not committed", said once.
|
|
1064
|
-
|
|
1065
|
-
|
|
1227
|
+
TOP-RIGHT: the editing bar is along the bottom whenever a deck is open to
|
|
1228
|
+
edit, and this chip is exactly what an edit leaves behind, so the bottom
|
|
1229
|
+
corner it used to take is the bar's now. The agent chip owns the bottom
|
|
1230
|
+
centre and the two can be up at the same time. The clock shares the
|
|
1231
|
+
corner and steps down while the chip is up (`has-commit-chip`).
|
|
1066
1232
|
Clickable, because a statement you can act on should be actionable where it
|
|
1067
1233
|
is, and the deck's own keyboard help is one key away. */
|
|
1234
|
+
/* the lock (editmode.js): a statement at the other corner, while changes are off */
|
|
1235
|
+
.decklight-lock-chip {
|
|
1236
|
+
position: absolute; left: 16px; bottom: 16px; z-index: 42;
|
|
1237
|
+
background: rgba(0, 0, 0, .72); color: #fff;
|
|
1238
|
+
font: 500 13px/1 var(--font-mono, monospace);
|
|
1239
|
+
padding: 7px 12px; border-radius: 999px; cursor: pointer;
|
|
1240
|
+
border: 1px solid rgba(255, 255, 255, .16);
|
|
1241
|
+
}
|
|
1242
|
+
.decklight-lock-chip:hover { background: rgba(0, 0, 0, .85); }
|
|
1243
|
+
.decklight-lock-chip:focus-visible { outline: 2px solid var(--accent, #6af); outline-offset: 2px; }
|
|
1068
1244
|
.decklight-commit-chip {
|
|
1069
1245
|
position: absolute;
|
|
1070
1246
|
right: 16px;
|
|
1071
|
-
|
|
1247
|
+
top: 14px;
|
|
1072
1248
|
z-index: 42;
|
|
1073
1249
|
background: rgba(0, 0, 0, .72);
|
|
1074
1250
|
color: #fff;
|
|
@@ -1079,8 +1255,46 @@
|
|
|
1079
1255
|
cursor: pointer;
|
|
1080
1256
|
border: 1px solid rgba(255, 255, 255, .16);
|
|
1081
1257
|
}
|
|
1258
|
+
/* a statement until the server asks: quieter, so it reads as status, not a nag */
|
|
1259
|
+
.decklight-commit-chip[data-tone="quiet"] { opacity: .62; border-color: rgba(255, 255, 255, .1); }
|
|
1260
|
+
/* the zoom (PRESENTING, pinch zoom): top right while the slide is not at fit,
|
|
1261
|
+
on the slide number's row and to its left when that is up (engine.js sets
|
|
1262
|
+
`right` from the badge's width); the badge's own geometry, so the two
|
|
1263
|
+
pills sit level; a click fits, like 0 */
|
|
1264
|
+
.decklight-zoom {
|
|
1265
|
+
position: absolute; right: 16px; top: 14px; z-index: 42;
|
|
1266
|
+
color: var(--muted, #aaa);
|
|
1267
|
+
background: color-mix(in srgb, var(--bg, #000) 82%, transparent);
|
|
1268
|
+
border: 1px solid color-mix(in srgb, var(--muted, #aaa) 45%, transparent);
|
|
1269
|
+
font: 700 14px/1 var(--font-mono, monospace);
|
|
1270
|
+
font-variant-numeric: tabular-nums;
|
|
1271
|
+
padding: 7px 12px; border-radius: 999px;
|
|
1272
|
+
cursor: pointer; user-select: none;
|
|
1273
|
+
}
|
|
1274
|
+
.decklight-zoom:hover { color: var(--fg, #eee); }
|
|
1275
|
+
/* the slide you are on, while editing is on (editmode.js): the top right
|
|
1276
|
+
corner, in the theme's accent on the theme's own background, so it reads
|
|
1277
|
+
on every theme; the commit chip steps down under it */
|
|
1278
|
+
.decklight-slide-num {
|
|
1279
|
+
position: absolute; right: 16px; top: 14px; z-index: 42;
|
|
1280
|
+
color: var(--accent, #6af);
|
|
1281
|
+
background: color-mix(in srgb, var(--bg, #000) 82%, transparent);
|
|
1282
|
+
border: 1px solid color-mix(in srgb, var(--accent, #6af) 50%, transparent);
|
|
1283
|
+
font: 700 14px/1 var(--font-mono, monospace);
|
|
1284
|
+
font-variant-numeric: tabular-nums;
|
|
1285
|
+
padding: 7px 12px; border-radius: 999px;
|
|
1286
|
+
pointer-events: none; user-select: none;
|
|
1287
|
+
}
|
|
1288
|
+
.decklight.has-slide-num .decklight-commit-chip { top: 48px; }
|
|
1289
|
+
.decklight-commit-chip[data-tone="quiet"]:hover { opacity: 1; }
|
|
1082
1290
|
.decklight-commit-chip:hover { background: rgba(0, 0, 0, .85); }
|
|
1083
1291
|
.decklight-commit-chip:focus-visible { outline: 2px solid var(--accent, #6af); outline-offset: 2px; }
|
|
1292
|
+
/* the slides since the last commit, in the commit window's colours */
|
|
1293
|
+
.decklight-commit-chip .cc-sl { font-weight: 700; }
|
|
1294
|
+
.decklight-commit-chip .cc-sl::before { content: '\25CF'; margin-right: 3px; }
|
|
1295
|
+
.decklight-commit-chip .cc-sl-changed { color: #f2c46d; }
|
|
1296
|
+
.decklight-commit-chip .cc-sl-added { color: #7cd6a3; }
|
|
1297
|
+
.decklight-commit-chip .cc-sl-removed { color: #f08a7e; }
|
|
1084
1298
|
|
|
1085
1299
|
/* The commit window. Shares the narration card chrome like every other
|
|
1086
1300
|
overlay; only the composer's own rows are new. */
|
|
@@ -1093,6 +1307,47 @@
|
|
|
1093
1307
|
.decklight-commit .cm-go:hover { background: rgba(122, 214, 163, .26); }
|
|
1094
1308
|
.decklight-commit .cm-write { background: rgba(255, 255, 255, .08); }
|
|
1095
1309
|
.decklight-commit .cm-write:hover { background: rgba(255, 255, 255, .16); }
|
|
1310
|
+
/* the thinking mark changes every frame: a fixed-width face keeps the button
|
|
1311
|
+
from jittering as | / - \ swap and the seconds join */
|
|
1312
|
+
/* subjects are off in this session: the button stays (it is how the option is
|
|
1313
|
+
found) but reads as not-now, and the reason lands on the hint line below */
|
|
1314
|
+
.decklight-commit .cm-write.cm-off { opacity: .55; }
|
|
1315
|
+
.decklight-commit .rec-hint.cm-why { opacity: .9; }
|
|
1316
|
+
.decklight-commit .cm-cmd { white-space: nowrap; font-family: var(--font-mono, ui-monospace, monospace); font-size: .95em; }
|
|
1317
|
+
.decklight-commit .cm-write.cm-thinking { font-family: var(--font-mono, ui-monospace, monospace); }
|
|
1318
|
+
.decklight-commit [hidden] { display: none !important; }
|
|
1319
|
+
/* the slides since the last commit, each count in its colour */
|
|
1320
|
+
.decklight-commit .cm-slides { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 0 12px 10px; font-size: 12px; }
|
|
1321
|
+
.decklight-commit .cm-sl-head { opacity: .6; }
|
|
1322
|
+
.decklight-commit .cm-sl { font-weight: 600; font-variant-numeric: tabular-nums; }
|
|
1323
|
+
.decklight-commit .cm-sl::before { content: '\25CF'; margin-right: 4px; }
|
|
1324
|
+
.decklight-commit .cm-sl-changed { color: #f2c46d; }
|
|
1325
|
+
.decklight-commit .cm-sl-added { color: #7cd6a3; }
|
|
1326
|
+
.decklight-commit .cm-sl-removed { color: #f08a7e; }
|
|
1327
|
+
.decklight-commit .cm-sl-zero { opacity: .35; font-weight: 400; }
|
|
1328
|
+
.decklight-commit .cm-single { background: rgba(255, 255, 255, .08); }
|
|
1329
|
+
.decklight-commit .cm-single:hover { background: rgba(255, 255, 255, .16); }
|
|
1330
|
+
/* several commits proposed: one row each, the subject editable, where it lands beside it */
|
|
1331
|
+
.decklight-commit .cm-plan { display: flex; flex-direction: column; gap: 6px; padding: 0 12px 8px; }
|
|
1332
|
+
.decklight-commit .cm-plan-row { display: flex; align-items: center; gap: 8px; }
|
|
1333
|
+
.decklight-commit .cm-plan-take { flex: 0 0 auto; margin: 0; accent-color: var(--accent, #7aa2ff); cursor: pointer; }
|
|
1334
|
+
/* an unticked commit stays uncommitted: its row steps back, still editable */
|
|
1335
|
+
.decklight-commit .cm-plan-off .cm-plan-n,
|
|
1336
|
+
.decklight-commit .cm-plan-off .cm-plan-subject,
|
|
1337
|
+
.decklight-commit .cm-plan-off .cm-plan-where { opacity: .4; }
|
|
1338
|
+
.decklight-commit .cm-plan-n { width: 1.4em; text-align: right; font-size: 12px; opacity: .6; font-variant-numeric: tabular-nums; }
|
|
1339
|
+
.decklight-commit .cm-plan-subject { flex: 1; min-width: 0; margin: 0; }
|
|
1340
|
+
.decklight-commit .cm-plan-where { flex: 0 0 auto; max-width: 34%; font-size: 12px; opacity: .6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1341
|
+
/* what happens to the work once committed: tag it, push it */
|
|
1342
|
+
.decklight-commit .cm-tagrow, .decklight-commit .cm-pushrow { align-items: center; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 8px; margin-top: 4px; }
|
|
1343
|
+
.decklight-commit .cm-tag { flex: 1; min-width: 0; margin: 0; }
|
|
1344
|
+
.decklight-commit .cm-row .cm-tag-go, .decklight-commit .cm-row .cm-push-go { flex: 0 0 96px; background: rgba(255, 255, 255, .08); }
|
|
1345
|
+
.decklight-commit .cm-row .cm-tag-go:hover, .decklight-commit .cm-row .cm-push-go:hover { background: rgba(255, 255, 255, .16); }
|
|
1346
|
+
.decklight-commit .cm-push-go.cm-off { opacity: .45; }
|
|
1347
|
+
/* nothing ticked: the button has nothing to make */
|
|
1348
|
+
.decklight-commit .cm-go:disabled { opacity: .45; cursor: default; }
|
|
1349
|
+
.decklight-commit .cm-tags { font-size: 12px; opacity: .6; white-space: nowrap; }
|
|
1350
|
+
.decklight-commit .cm-push-what { flex: 1; font-size: 12px; opacity: .75; }
|
|
1096
1351
|
|
|
1097
1352
|
.decklight-agent-chip {
|
|
1098
1353
|
position: absolute;
|
|
@@ -1149,6 +1404,11 @@
|
|
|
1149
1404
|
|
|
1150
1405
|
/* a finder row that is another module (a separate file), not a slide here */
|
|
1151
1406
|
.decklight-finder .tp-row.tp-module { color: #cbb6ff; }
|
|
1407
|
+
/* the outline (#489): a chapter's slides fold underneath it */
|
|
1408
|
+
.decklight-finder .tp-row.tp-child { padding-left: 30px; }
|
|
1409
|
+
.decklight-finder .tp-fold { display: inline-block; width: 1em; text-align: center; cursor: pointer; }
|
|
1410
|
+
.decklight-finder .tp-fold:hover { color: #fff; }
|
|
1411
|
+
.decklight-finder .tp-count { opacity: .55; }
|
|
1152
1412
|
|
|
1153
1413
|
/* overview */
|
|
1154
1414
|
.decklight-overview-grid {
|
|
@@ -1187,6 +1447,25 @@
|
|
|
1187
1447
|
.decklight-overview > .decklight-stage { visibility: hidden; }
|
|
1188
1448
|
.decklight-overview-grid .ov-cell.ov-current { border-color: var(--accent, #6af); }
|
|
1189
1449
|
.decklight-overview-grid .ov-cell.ov-selected { outline: 3px solid var(--accent, #6af); outline-offset: 2px; }
|
|
1450
|
+
/* the overview edits slides in write mode (engine.js ovEditable): a cell's
|
|
1451
|
+
tools show on hover, a drag shows where the slide would land */
|
|
1452
|
+
.decklight-overview-grid .ov-tools {
|
|
1453
|
+
position: absolute; right: 6px; top: 6px; z-index: 3;
|
|
1454
|
+
display: none; gap: 4px;
|
|
1455
|
+
}
|
|
1456
|
+
.decklight-overview-grid .ov-cell:hover .ov-tools, .decklight-overview-grid .ov-cell.ov-selected .ov-tools { display: flex; }
|
|
1457
|
+
.decklight-overview-grid .ov-tool {
|
|
1458
|
+
width: 26px; height: 26px; padding: 0;
|
|
1459
|
+
border: 1px solid rgba(255, 255, 255, .2); border-radius: 7px;
|
|
1460
|
+
background: rgba(20, 20, 22, .82); color: #e6e6e6;
|
|
1461
|
+
font: 600 13px/24px system-ui, sans-serif; text-align: center; cursor: pointer;
|
|
1462
|
+
}
|
|
1463
|
+
.decklight-overview-grid .ov-tool:hover { background: rgba(255, 255, 255, .22); }
|
|
1464
|
+
.decklight-overview-grid .ov-tool.ov-delete:hover { background: rgba(229, 83, 61, .85); }
|
|
1465
|
+
.decklight-overview-grid.ov-editable .ov-cell { cursor: grab; }
|
|
1466
|
+
.decklight-overview-grid .ov-cell.ov-dragging { opacity: .4; }
|
|
1467
|
+
.decklight-overview-grid .ov-cell.ov-drop-before { box-shadow: -8px 0 0 -2px var(--accent, #6af); }
|
|
1468
|
+
.decklight-overview-grid .ov-cell.ov-drop-after { box-shadow: 8px 0 0 -2px var(--accent, #6af); }
|
|
1190
1469
|
.decklight-overview-grid .ov-frame { transform-origin: top left; position: absolute; top: 0; left: 0; pointer-events: none; }
|
|
1191
1470
|
.decklight-overview-grid .ov-clone *, .decklight-overview-grid .ov-clone { animation: none !important; transition: none !important; }
|
|
1192
1471
|
/* clones live outside .decklight-stage, so the slide base styles must be
|
|
@@ -1263,6 +1542,10 @@
|
|
|
1263
1542
|
.decklight-overview .build-step { visibility: visible !important; opacity: 1 !important; transform: none !important; }
|
|
1264
1543
|
.decklight-overview .draw-stroke { stroke-dashoffset: 0 !important; }
|
|
1265
1544
|
.decklight-overview .draw-fade { opacity: 1 !important; }
|
|
1545
|
+
.decklight-overview .draw-head { visibility: visible !important; transition: none !important; }
|
|
1546
|
+
/* a dashed stroke shows whole: the thumbnail is a clone, so its mask's id
|
|
1547
|
+
names the live slide's mid-draw mask, not its own */
|
|
1548
|
+
.decklight-overview [data-draw-masked] { mask: none !important; }
|
|
1266
1549
|
|
|
1267
1550
|
/* narration picker (N) */
|
|
1268
1551
|
.decklight-narr {
|
|
@@ -1296,8 +1579,38 @@
|
|
|
1296
1579
|
.decklight-narr .narr-row { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; cursor: pointer; }
|
|
1297
1580
|
.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; }
|
|
1298
1581
|
.decklight-narr .narr-group:first-of-type { border-top: none; padding-top: 0; }
|
|
1582
|
+
/* the engine bar at the top of the voices view: the one choice that decides
|
|
1583
|
+
every voice below it, drawn as a control of its own rather than a line
|
|
1584
|
+
among the voices (where it got lost) */
|
|
1585
|
+
.decklight-narr .narr-engine-bar {
|
|
1586
|
+
display: flex; align-items: baseline; gap: 10px;
|
|
1587
|
+
margin: 4px 0 10px; padding: 10px 12px;
|
|
1588
|
+
border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px;
|
|
1589
|
+
background: rgba(255, 255, 255, .05); cursor: pointer;
|
|
1590
|
+
}
|
|
1591
|
+
.decklight-narr .narr-engine-bar.narr-sel { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); }
|
|
1592
|
+
.decklight-narr .narr-engine-bar .eb-k { font-size: .68em; letter-spacing: .14em; text-transform: uppercase; opacity: .55; }
|
|
1593
|
+
.decklight-narr .narr-engine-bar .eb-name { font-weight: 650; font-size: 1.05em; }
|
|
1594
|
+
.decklight-narr .narr-engine-bar .eb-model { opacity: .6; font-size: .9em; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1595
|
+
.decklight-narr .narr-engine-bar .eb-go { font-size: .85em; opacity: .75; white-space: nowrap; }
|
|
1596
|
+
.decklight-narr .narr-engine-bar.narr-sel .eb-go { opacity: 1; }
|
|
1299
1597
|
.decklight-narr .narr-row.narr-toggle { margin-top: 8px; border-top: 1px solid rgba(255, 255, 255, .12); border-radius: 0 0 8px 8px; opacity: .75; }
|
|
1300
1598
|
.decklight-narr .narr-row-label { flex: 1 1 auto; min-width: 0; }
|
|
1599
|
+
/* one answer out of a few (src/core/choice.js): what each costs, on the right */
|
|
1600
|
+
.decklight-choice .narr-card { width: min(540px, 90vw); }
|
|
1601
|
+
.decklight-choice .narr-row { align-items: baseline; }
|
|
1602
|
+
.decklight-choice .choice-figure { margin-left: auto; padding-left: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; opacity: .85; }
|
|
1603
|
+
.decklight-choice .narr-row.narr-blocked .choice-figure { opacity: .45; }
|
|
1604
|
+
/* the range picker's own-range box (src/core/ranges.js) */
|
|
1605
|
+
.decklight-range .range-custom input { flex: 0 0 7em; min-width: 0; font: inherit; padding: 2px 8px; border-radius: 6px;
|
|
1606
|
+
border: 1px solid rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .25); color: inherit; }
|
|
1607
|
+
.decklight-range .range-custom input:focus { outline: 2px solid var(--accent, #6af); outline-offset: 1px; }
|
|
1608
|
+
/* wide enough that a synthesized voice's folder and the key hint stay on one line */
|
|
1609
|
+
.decklight-range .narr-card { width: min(560px, 90vw); }
|
|
1610
|
+
/* the export card's settings: answers above the ranges, not ranges */
|
|
1611
|
+
.decklight-range .range-setting { gap: 12px; }
|
|
1612
|
+
.decklight-range .range-setting-name { flex: 0 0 5.2em; opacity: .55; font-size: .85em; }
|
|
1613
|
+
.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; }
|
|
1301
1614
|
.decklight-narr .narr-prev-btn {
|
|
1302
1615
|
flex: none;
|
|
1303
1616
|
background: none;
|
|
@@ -1318,6 +1631,37 @@
|
|
|
1318
1631
|
.decklight-narr .narr-row.narr-sel { background: rgba(255, 255, 255, .14); }
|
|
1319
1632
|
.decklight-narr .narr-row.narr-cur::after { content: ' ✓'; opacity: .7; }
|
|
1320
1633
|
.decklight-narr .narr-flavor { opacity: .5; font-size: .85em; margin-left: 6px; }
|
|
1634
|
+
/* An informational row in the settings panel: a fact, not a command. It keeps
|
|
1635
|
+
full contrast — unlike .narr-blocked, which dims a row to say "this one is
|
|
1636
|
+
not available to you" — and only loses the pointer cursor, because there is
|
|
1637
|
+
nothing to click. */
|
|
1638
|
+
.decklight-narr .narr-row.narr-fact { cursor: default; }
|
|
1639
|
+
.decklight-settings .narr-card { width: min(380px, 80vw); }
|
|
1640
|
+
/* what ⏎ does on a row, kept to the right and quieter than the value */
|
|
1641
|
+
.decklight-settings .narr-hint { margin-left: auto; padding-left: 12px; }
|
|
1642
|
+
.decklight-settings .narr-row { display: flex; align-items: baseline; }
|
|
1643
|
+
/* Check deck… (src/core/deckcheck.js): a row per finding, the mark and the
|
|
1644
|
+
slide number in fixed columns so a long list scans down its left edge, the
|
|
1645
|
+
slide's title over what is wrong with it */
|
|
1646
|
+
.decklight-deckcheck .narr-card { width: min(560px, 90vw); }
|
|
1647
|
+
.decklight-deckcheck .dc-row { align-items: flex-start; }
|
|
1648
|
+
.decklight-deckcheck .dc-mark { flex: 0 0 1em; font-weight: 700; text-align: center; }
|
|
1649
|
+
.decklight-deckcheck .dc-error .dc-mark { color: #ff7b72; }
|
|
1650
|
+
.decklight-deckcheck .dc-warn .dc-mark { color: #e3b341; }
|
|
1651
|
+
.decklight-deckcheck .dc-hint .dc-mark { color: #7ee787; }
|
|
1652
|
+
.decklight-deckcheck .dc-agent .dc-mark { color: #d2a8ff; }
|
|
1653
|
+
/* the agent review's group: judgement, not a count, so it is set apart under its own head */
|
|
1654
|
+
.decklight-deckcheck .dc-agent-head { margin-top: 6px; }
|
|
1655
|
+
.decklight-deckcheck .dc-rule {
|
|
1656
|
+
align-self: flex-start; margin-top: 3px; padding: 0 6px; border-radius: 999px;
|
|
1657
|
+
background: rgba(210, 168, 255, .14); color: #d2a8ff; font-size: 11px; line-height: 17px;
|
|
1658
|
+
}
|
|
1659
|
+
.decklight-deckcheck .dc-where { flex: 0 0 2.2em; text-align: right; font-variant-numeric: tabular-nums; opacity: .55; }
|
|
1660
|
+
.decklight-deckcheck .dc-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
|
|
1661
|
+
.decklight-deckcheck .dc-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1662
|
+
.decklight-deckcheck .dc-msg { opacity: .75; font-size: .92em; }
|
|
1663
|
+
.decklight-deckcheck .dc-clean { opacity: .8; }
|
|
1664
|
+
.decklight-deckcheck .dc-foot { margin-top: 8px; padding: 8px 12px 2px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12px; opacity: .5; }
|
|
1321
1665
|
/* An engine this machine cannot use is SHOWN, dimmed, with the terminal command
|
|
1322
1666
|
that would fix it — hiding it would answer "where did ElevenLabs go?" with
|
|
1323
1667
|
silence. The fix wraps onto its own line (the row is a flex box) because it
|
|
@@ -1359,9 +1703,16 @@
|
|
|
1359
1703
|
}
|
|
1360
1704
|
|
|
1361
1705
|
/* offline recording (V → Record… → synthesized) — shares .decklight-narr's card chrome */
|
|
1706
|
+
/* Insert-from-a-template (UNITS#REST): the picker's two panes — the list you
|
|
1707
|
+
choose in, and the slide under the cursor rendered beside it — carrying the
|
|
1708
|
+
narration card's ROWS, because a template row has a tick column and warning
|
|
1709
|
+
tags that `.tp-row` does not draw. The element wears both class names, so
|
|
1710
|
+
both sets of rules apply to the parts each one owns. */
|
|
1711
|
+
/* Wider than the picker's own, and a wider rail: a theme is one word and a
|
|
1712
|
+
slide's title is a sentence. */
|
|
1362
1713
|
.decklight-record .narr-card { width: min(400px, 82vw); }
|
|
1363
|
-
.decklight-record .rec-line { padding: 4px 12px; opacity: .85; }
|
|
1364
|
-
.decklight-record .rec-hint { padding: 10px 12px 2px; opacity: .5; font-size: 12px; }
|
|
1714
|
+
.decklight-record .rec-line, .decklight-range .rec-line, .decklight-choice .rec-line { padding: 4px 12px; opacity: .85; }
|
|
1715
|
+
.decklight-record .rec-hint, .decklight-range .rec-hint, .decklight-choice .rec-hint { padding: 10px 12px 2px; opacity: .5; font-size: 12px; }
|
|
1365
1716
|
.decklight-record .rec-bar {
|
|
1366
1717
|
height: 6px;
|
|
1367
1718
|
margin: 10px 12px 4px;
|
|
@@ -1379,6 +1730,115 @@
|
|
|
1379
1730
|
synthesized one and the line you are reading is the largest thing on it. Everything
|
|
1380
1731
|
else on the card is chrome around that one sentence. */
|
|
1381
1732
|
.decklight-mic .narr-card { width: min(640px, 90vw); }
|
|
1733
|
+
/* A design-system slide (DESIGN_SYSTEMS): what could not be expanded, or did
|
|
1734
|
+
not land in a slot, is badged — while authoring only; presenting is silent */
|
|
1735
|
+
.decklight-authoring .decklight > section[data-ds-missing]::after {
|
|
1736
|
+
content: '⚠ ' attr(data-ds-missing);
|
|
1737
|
+
position: absolute; top: .6em; right: .6em; max-width: 60%;
|
|
1738
|
+
padding: .25em .6em; border-radius: .4em;
|
|
1739
|
+
font: 600 13px/1.3 system-ui, sans-serif;
|
|
1740
|
+
background: rgba(229, 83, 61, .92); color: #fff; z-index: 5; pointer-events: none;
|
|
1741
|
+
}
|
|
1742
|
+
.decklight-authoring .decklight .ds-unslotted { outline: 2px dashed rgba(229, 83, 61, .8); outline-offset: .3em; position: relative; }
|
|
1743
|
+
.decklight-authoring .decklight .ds-unslotted::before {
|
|
1744
|
+
content: 'not in a slot'; position: absolute; top: -1.6em; left: 0;
|
|
1745
|
+
font: 600 11px/1 system-ui, sans-serif; color: rgba(229, 83, 61, .95);
|
|
1746
|
+
}
|
|
1747
|
+
/* Design systems… (DESIGN_SYSTEMS): the marketplaces' design systems, ● used / ○ not */
|
|
1748
|
+
.decklight-design-systems .narr-card { width: min(520px, 90vw); }
|
|
1749
|
+
/* Concept colors… (SVG_DIAGRAMS): one row per concept, its six slots beside it */
|
|
1750
|
+
.decklight-concepts .narr-card { width: min(640px, 92vw); }
|
|
1751
|
+
.decklight-concepts .cc-row { display: flex; align-items: center; gap: 10px; }
|
|
1752
|
+
.decklight-concepts .cc-row .narr-row-label { flex: 1 1 auto; min-width: 0; }
|
|
1753
|
+
.decklight-concepts .cc-swatch { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 5px; border: 1px solid rgba(255,255,255,.25); }
|
|
1754
|
+
.decklight-concepts .cc-slots { flex: 0 0 auto; display: flex; gap: 4px; align-items: center; }
|
|
1755
|
+
.decklight-concepts .cc-slot { width: 20px; height: 20px; border-radius: 5px; border: 2px solid transparent; padding: 0; cursor: pointer; }
|
|
1756
|
+
.decklight-concepts .cc-slot.cc-on { border-color: var(--accent, #fff); box-shadow: 0 0 0 1px rgba(0,0,0,.5) inset; }
|
|
1757
|
+
.decklight-concepts .cc-auto { height: 20px; border-radius: 5px; border: 2px solid transparent; padding: 0 6px; font: inherit; font-size: 11px; cursor: pointer; background: rgba(255,255,255,.08); color: inherit; }
|
|
1758
|
+
.decklight-concepts .cc-auto.cc-on { border-color: var(--accent, #fff); }
|
|
1759
|
+
/* pick shapes: on each row, and the one-line bar the list becomes while picking */
|
|
1760
|
+
.decklight-concepts .cc-pick { height: 20px; margin-left: 6px; border-radius: 5px; border: 1px solid rgba(255,255,255,.25); padding: 0 8px; font: inherit; font-size: 11px; cursor: pointer; background: transparent; color: inherit; }
|
|
1761
|
+
.decklight-concepts .cc-pick:hover { background: rgba(255,255,255,.12); }
|
|
1762
|
+
.decklight-concepts .cc-new .narr-input { flex: 1 1 auto; }
|
|
1763
|
+
.decklight-concepts.cc-picking { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; pointer-events: none; align-items: flex-start; }
|
|
1764
|
+
.decklight-concepts.cc-picking .narr-card { pointer-events: auto; width: auto; max-width: min(760px, 94vw); margin-top: 14px; padding: 8px 12px; }
|
|
1765
|
+
.decklight-concepts .cc-pickbar { display: flex; align-items: center; gap: 10px; font-size: 13px; }
|
|
1766
|
+
.decklight-concepts .cc-pick-text { flex: 1 1 auto; min-width: 0; }
|
|
1767
|
+
.decklight-concepts .cc-pick-done { flex: 0 0 auto; border-radius: 6px; border: 1px solid rgba(255,255,255,.3); padding: 3px 12px; font: inherit; cursor: pointer; background: rgba(255,255,255,.1); color: inherit; }
|
|
1768
|
+
/* a concept's shapes, boxed where they are: dashed, so a selection frame still reads as the selection */
|
|
1769
|
+
.decklight .dl-frame.dl-concept-outline { outline-style: dashed; z-index: 28; }
|
|
1770
|
+
/* the Colors tab's Concept row: a heading, then the deck's concepts as pills,
|
|
1771
|
+
each with a dot of the colour it gives (the theme's slot, so it follows T) */
|
|
1772
|
+
.decklight-colorpicker .cp-concept-row { display: flex; flex-direction: column; gap: 6px; margin: 2px 0 12px; }
|
|
1773
|
+
.decklight-colorpicker .cp-section { margin: 0 2px; font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: #8d94a1; }
|
|
1774
|
+
.decklight-colorpicker .cp-concepts { display: flex; flex-wrap: wrap; gap: 5px; }
|
|
1775
|
+
.decklight-colorpicker .cp-concept-chip {
|
|
1776
|
+
display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; width: auto;
|
|
1777
|
+
padding: 3px 10px; border-radius: 999px; font-size: 12px; white-space: nowrap;
|
|
1778
|
+
background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
|
|
1779
|
+
}
|
|
1780
|
+
.decklight-colorpicker .cp-concept-chip:has(.cp-concept-dot) { padding-left: 6px; }
|
|
1781
|
+
.decklight-colorpicker .cp-concept-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
|
|
1782
|
+
.decklight-colorpicker .cp-concept-chip.cp-on { background: rgba(158, 203, 255, .14); box-shadow: inset 0 0 0 1.5px #9ecbff; color: #fff; }
|
|
1783
|
+
.decklight-colorpicker .cp-concept-chip.cp-new { background: none; box-shadow: none; border: 1px dashed rgba(255, 255, 255, .28); padding: 2px 10px; color: #b9bec8; }
|
|
1784
|
+
.decklight-colorpicker .cp-concept-chip.cp-new:hover { border-color: rgba(255, 255, 255, .5); color: #fff; }
|
|
1785
|
+
.decklight-colorpicker .cp-concept-chip.cp-none { background: none; box-shadow: none; padding: 3px 6px; color: #8d94a1; }
|
|
1786
|
+
.decklight-colorpicker .cp-concept-chip.cp-none:hover { color: #fff; }
|
|
1787
|
+
.decklight-colorpicker .cp-concept-name { width: 9em; border-radius: 999px; padding: 3px 10px; }
|
|
1788
|
+
/* a notice where a palette would be (nothing to colour, or a concept's fill) */
|
|
1789
|
+
.decklight-colorpicker .cp-notice { display: flex; flex-direction: column; gap: 10px; padding: 8px 2px; font-size: 13px; line-height: 1.4; opacity: .92; }
|
|
1790
|
+
.decklight-colorpicker .cp-notice .cp-detach { align-self: flex-start; }
|
|
1791
|
+
/* the Fill side of a concept shape: a callout led by the concept's own colour */
|
|
1792
|
+
.decklight-colorpicker .cp-callout { gap: 8px; padding: 10px 12px; border-radius: 8px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); font-size: 12.5px; opacity: 1; }
|
|
1793
|
+
.decklight-colorpicker .cp-callout-head { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
|
|
1794
|
+
.decklight-colorpicker .cp-callout-chip { flex: none; width: 18px; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
|
|
1795
|
+
.decklight-colorpicker .cp-callout .cp-notice-text { color: #b9bec8; }
|
|
1796
|
+
.decklight-colorpicker .cp-callout .cp-detach { margin-top: 2px; }
|
|
1797
|
+
.decklight-ctxmenu .cm-input { padding: 4px 8px; }
|
|
1798
|
+
.decklight-ctxmenu .cm-input input { width: 100%; box-sizing: border-box; font: inherit; padding: 4px 8px; border-radius: 6px; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.35); color: inherit; }
|
|
1799
|
+
.decklight-ds-templates .narr-card { width: min(860px, 94vw); }
|
|
1800
|
+
.decklight-ds-templates .dsl-split { display: flex; gap: 14px; align-items: flex-start; }
|
|
1801
|
+
.decklight-ds-templates .dsl-list { flex: 1 1 auto; min-width: 0; max-height: 52vh; overflow: auto; }
|
|
1802
|
+
/* the preview: a real slide in the layout, its slots at their defaults, scaled down */
|
|
1803
|
+
.decklight-ds-templates .dsl-placeholder { opacity: .45; font-size: 48px; border: 3px dashed currentColor; padding: 12px 20px; margin: 10px 0; border-radius: 10px; }
|
|
1804
|
+
.decklight-ds-templates .dsl-preview { flex: 0 0 320px; height: 180px; overflow: hidden; border-radius: 8px; position: relative; background: var(--bg, #111); }
|
|
1805
|
+
.decklight-ds-templates .dsl-preview-slide { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform: scale(.25); transform-origin: 0 0;
|
|
1806
|
+
box-sizing: border-box; padding: 60px 80px; display: flex; flex-direction: column; justify-content: center; color: var(--fg, #eee); background: var(--bg, #111); }
|
|
1807
|
+
/* film yourself (V → Character): the camera in the medallion's own shape */
|
|
1808
|
+
.decklight-film .narr-card { width: min(420px, 90vw); }
|
|
1809
|
+
.decklight-film .film-circle {
|
|
1810
|
+
position: relative;
|
|
1811
|
+
width: min(260px, 60vw);
|
|
1812
|
+
aspect-ratio: 1;
|
|
1813
|
+
margin: 10px auto 6px;
|
|
1814
|
+
border-radius: 50%;
|
|
1815
|
+
overflow: hidden;
|
|
1816
|
+
background: #000;
|
|
1817
|
+
box-shadow: 0 0 0 3px rgba(255, 255, 255, .15);
|
|
1818
|
+
}
|
|
1819
|
+
.decklight-film .film-circle.rec { box-shadow: 0 0 0 3px #e5533d; }
|
|
1820
|
+
.decklight-film .film-video { width: 100%; height: 100%; object-fit: cover; display: block; }
|
|
1821
|
+
.decklight-film .film-video.mirror { transform: scaleX(-1); }
|
|
1822
|
+
.decklight-film .film-mark {
|
|
1823
|
+
position: absolute;
|
|
1824
|
+
inset: 0;
|
|
1825
|
+
display: flex;
|
|
1826
|
+
align-items: center;
|
|
1827
|
+
justify-content: center;
|
|
1828
|
+
font-size: 64px;
|
|
1829
|
+
font-weight: 700;
|
|
1830
|
+
color: #fff;
|
|
1831
|
+
text-shadow: 0 2px 12px rgba(0, 0, 0, .7);
|
|
1832
|
+
pointer-events: none;
|
|
1833
|
+
}
|
|
1834
|
+
.decklight-film .film-circle.rec .film-mark {
|
|
1835
|
+
align-items: flex-end;
|
|
1836
|
+
padding-bottom: 14px;
|
|
1837
|
+
font-size: 18px;
|
|
1838
|
+
}
|
|
1839
|
+
.decklight-film .film-tips { margin: 4px 0; padding: 0 12px 0 30px; font-size: 13px; opacity: .85; }
|
|
1840
|
+
.decklight-film .film-tips li { margin: 2px 0; }
|
|
1841
|
+
.decklight-film .film-hold { text-align: center; }
|
|
1382
1842
|
.decklight-mic .rec-where { font-size: 12px; opacity: .55; letter-spacing: .04em; }
|
|
1383
1843
|
.decklight-mic .rec-read {
|
|
1384
1844
|
padding: 10px 12px 12px;
|
|
@@ -1391,7 +1851,7 @@
|
|
|
1391
1851
|
.decklight-mic .rec-note { font-size: 12px; opacity: .7; }
|
|
1392
1852
|
/* Something you need to act on before you start reading — the amber the deck
|
|
1393
1853
|
uses everywhere for "this will not do what you expect". */
|
|
1394
|
-
.decklight-record .rec-warn {
|
|
1854
|
+
.decklight-record .rec-warn, .decklight-range .rec-warn {
|
|
1395
1855
|
color: #ffcf8b;
|
|
1396
1856
|
background: rgba(255, 207, 139, .1);
|
|
1397
1857
|
border-radius: 6px;
|
|
@@ -1471,11 +1931,12 @@
|
|
|
1471
1931
|
deck stays navigable. The frame is click-through; only the card catches the
|
|
1472
1932
|
pointer, and the stage reflows away from a docked gutter via --dock-* (engine
|
|
1473
1933
|
rescale). */
|
|
1474
|
-
.decklight-
|
|
1475
|
-
.decklight-
|
|
1934
|
+
.decklight-dockable { background: none; backdrop-filter: none; display: block; pointer-events: none; }
|
|
1935
|
+
.decklight-dockable .narr-card { position: absolute; pointer-events: auto; }
|
|
1936
|
+
.decklight-review .narr-card { width: min(560px, 88vw); }
|
|
1476
1937
|
|
|
1477
1938
|
/* float — positioned by JS at left/top, dragged by its header */
|
|
1478
|
-
.decklight-
|
|
1939
|
+
.decklight-dockable[data-dock="float"] .narr-card {
|
|
1479
1940
|
width: min(460px, 88vw);
|
|
1480
1941
|
max-height: 78vh;
|
|
1481
1942
|
box-shadow: 0 16px 50px rgba(0, 0, 0, .6);
|
|
@@ -1483,17 +1944,17 @@
|
|
|
1483
1944
|
/* left / right — a full-height column the stage reflows away from. border-box
|
|
1484
1945
|
so the card is exactly the gutter the stage was told to leave: content-box
|
|
1485
1946
|
added the 14px padding twice and the panel overhung the slide by 28px. */
|
|
1486
|
-
.decklight-
|
|
1487
|
-
.decklight-
|
|
1947
|
+
.decklight-dockable[data-dock="left"] .narr-card,
|
|
1948
|
+
.decklight-dockable[data-dock="right"] .narr-card {
|
|
1488
1949
|
box-sizing: border-box;
|
|
1489
1950
|
top: 0; bottom: 0; height: 100%;
|
|
1490
1951
|
width: var(--dock-size, 360px);
|
|
1491
1952
|
max-height: none; border-radius: 0;
|
|
1492
1953
|
}
|
|
1493
|
-
.decklight-
|
|
1494
|
-
.decklight-
|
|
1954
|
+
.decklight-dockable[data-dock="right"] .narr-card { right: 0; box-shadow: -12px 0 40px rgba(0, 0, 0, .5); }
|
|
1955
|
+
.decklight-dockable[data-dock="left"] .narr-card { left: 0; box-shadow: 12px 0 40px rgba(0, 0, 0, .5); }
|
|
1495
1956
|
/* bottom — a full-width tray */
|
|
1496
|
-
.decklight-
|
|
1957
|
+
.decklight-dockable[data-dock="bottom"] .narr-card {
|
|
1497
1958
|
box-sizing: border-box;
|
|
1498
1959
|
left: 0; right: 0; bottom: 0;
|
|
1499
1960
|
width: auto; height: var(--dock-size, 320px);
|
|
@@ -1502,21 +1963,52 @@
|
|
|
1502
1963
|
}
|
|
1503
1964
|
|
|
1504
1965
|
/* the dock control lives in the header, which becomes a flex row */
|
|
1505
|
-
.decklight-
|
|
1966
|
+
.decklight-dockable .narr-head { display: flex; align-items: center; gap: 8px; opacity: 1; }
|
|
1506
1967
|
.decklight-review .rv-heading { flex: 1; opacity: .55; }
|
|
1507
|
-
.decklight-
|
|
1508
|
-
.decklight-
|
|
1968
|
+
.decklight-dockable .dk-ctl { display: flex; gap: 2px; pointer-events: auto; }
|
|
1969
|
+
.decklight-dockable .dk-btn {
|
|
1509
1970
|
font-size: 13px; line-height: 1; padding: 3px 5px;
|
|
1510
1971
|
border: 0; border-radius: 5px;
|
|
1511
1972
|
background: transparent; color: inherit;
|
|
1512
1973
|
opacity: .5; cursor: pointer;
|
|
1513
1974
|
}
|
|
1514
|
-
.decklight-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
.decklight-
|
|
1518
|
-
.decklight-
|
|
1519
|
-
|
|
1975
|
+
.decklight-dockable .dk-btn:hover { opacity: .9; background: rgba(255, 255, 255, .12); }
|
|
1976
|
+
/* the tabs: one panel beside the slide, and the others it can be, in the same
|
|
1977
|
+
place (dock.js). A full-width row across the top of the header. */
|
|
1978
|
+
.decklight-dockable .narr-head { flex-wrap: wrap; }
|
|
1979
|
+
.decklight-dockable .dk-tabs {
|
|
1980
|
+
display: flex; flex-wrap: wrap; gap: 2px; flex: 0 0 100%; order: -1;
|
|
1981
|
+
margin-bottom: 6px; padding-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, .1);
|
|
1982
|
+
text-transform: none; letter-spacing: normal; cursor: default;
|
|
1983
|
+
}
|
|
1984
|
+
.decklight-dockable .dk-tab {
|
|
1985
|
+
background: none; border: 0; border-radius: 4px; padding: 2px 6px; cursor: pointer;
|
|
1986
|
+
color: inherit; font: inherit; font-size: 11px; letter-spacing: .02em; opacity: .55;
|
|
1987
|
+
}
|
|
1988
|
+
.decklight-dockable .dk-tab:hover { opacity: .9; background: rgba(255, 255, 255, .08); }
|
|
1989
|
+
.decklight-dockable .dk-tab-on { opacity: 1; cursor: default; box-shadow: inset 0 -2px 0 var(--accent, #6af); border-radius: 4px 4px 0 0; }
|
|
1990
|
+
.decklight-dockable .dk-on { opacity: 1; background: rgba(255, 255, 255, .18); }
|
|
1991
|
+
.decklight-dockable .dk-close { font-size: 16px; margin-left: 2px; }
|
|
1992
|
+
/* the panel's composer: at the FOOT, and pinned there while the list scrolls
|
|
1993
|
+
(the card is the scroller; -14px covers its padding, so nothing shows
|
|
1994
|
+
through beneath the box). Opaque, or the rows would read through it. */
|
|
1995
|
+
.decklight-review .rv-compose {
|
|
1996
|
+
position: sticky; bottom: -14px; z-index: 1;
|
|
1997
|
+
margin: 6px -14px -14px; padding: 8px 14px 14px;
|
|
1998
|
+
background: #16181d; border-top: 1px solid rgba(255, 255, 255, .1);
|
|
1999
|
+
}
|
|
2000
|
+
.decklight-review .rv-on { font-size: 12px; opacity: .55; margin-bottom: 4px; }
|
|
2001
|
+
.decklight-review .rv-input { width: 100%; resize: vertical; margin: 0 0 6px; }
|
|
2002
|
+
.decklight-review .rv-send { text-align: center; border-radius: 8px;
|
|
2003
|
+
background: rgba(122, 214, 163, .16); color: #7cd6a3; }
|
|
2004
|
+
.decklight-review .rv-send:hover { background: rgba(122, 214, 163, .26); }
|
|
2005
|
+
/* the bottom tray is short, so the button sits beside the box, not under it */
|
|
2006
|
+
.decklight-review[data-dock="bottom"] .rv-compose {
|
|
2007
|
+
display: grid; grid-template-columns: 1fr auto; column-gap: 10px; align-items: end;
|
|
2008
|
+
}
|
|
2009
|
+
.decklight-review[data-dock="bottom"] .rv-compose .rv-on { grid-column: 1 / -1; }
|
|
2010
|
+
.decklight-review[data-dock="bottom"] .rv-compose .rv-input { margin: 0; }
|
|
2011
|
+
.decklight-review[data-dock="bottom"] .rv-compose .rv-send { white-space: nowrap; }
|
|
1520
2012
|
.decklight-review .rv-list { padding: 4px 0; }
|
|
1521
2013
|
.decklight-review .rv-none,
|
|
1522
2014
|
.decklight-review .rv-skipped { padding: 8px 12px; opacity: .55; font-size: 13px; }
|
|
@@ -1531,7 +2023,6 @@
|
|
|
1531
2023
|
.decklight-review .rv-tick { color: #7cd6a3; margin-left: auto; }
|
|
1532
2024
|
.decklight-review .rv-body { margin-top: 3px; white-space: pre-wrap; }
|
|
1533
2025
|
.decklight-review .rv-note { margin-top: 4px; font-size: 12px; color: #ffcf8b; }
|
|
1534
|
-
.decklight-review .rv-reply { margin: 4px 0 0 12px; font-size: 13px; opacity: .8; white-space: pre-wrap; }
|
|
1535
2026
|
/* Leave a comment (⇧M) — its own card, because writing and reading are
|
|
1536
2027
|
different moments. Shares the narration chrome like every other overlay. */
|
|
1537
2028
|
.decklight-compose .narr-card { width: min(520px, 88vw); }
|
|
@@ -1588,11 +2079,19 @@
|
|
|
1588
2079
|
font-size: 12px;
|
|
1589
2080
|
white-space: nowrap;
|
|
1590
2081
|
}
|
|
2082
|
+
/* the palette's shape (palette.js): every command at the root, its category
|
|
2083
|
+
as a dimmer prefix (`Voice: Live voice…`), and a write-mode row tagged */
|
|
2084
|
+
.decklight-palette .pal-right { display: inline-flex; align-items: center; gap: 8px; }
|
|
2085
|
+
.decklight-palette .pal-cat { opacity: .55; }
|
|
2086
|
+
.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; }
|
|
1591
2087
|
|
|
1592
2088
|
/* blackout / help */
|
|
1593
2089
|
.decklight-blackout { position: absolute; inset: 0; background: #000; z-index: 90; }
|
|
1594
2090
|
.decklight-help { position: absolute; inset: 0; z-index: 95; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; }
|
|
1595
|
-
.decklight-help .help-card { background: var(--bg, #222); color: var(--fg, #eee); border-radius: 12px; padding: 24px 34px; font-size: 16px; box-shadow: var(--shadow, 0 10px 40px rgba(0,0,0,.5)); }
|
|
2091
|
+
.decklight-help .help-card { background: var(--bg, #222); color: var(--fg, #eee); border-radius: 12px; padding: 24px 34px; font-size: 16px; box-shadow: var(--shadow, 0 10px 40px rgba(0,0,0,.5)); max-height: 92%; overflow-y: auto; }
|
|
2092
|
+
/* the keys that only answer in a context (a selection, a panel, while typing) */
|
|
2093
|
+
.decklight-help h3 + table { margin-bottom: 4px; }
|
|
2094
|
+
.decklight-help .help-card h3 ~ h3 { margin-top: 18px; }
|
|
1596
2095
|
.decklight-help td { padding: 3px 14px 3px 0; }
|
|
1597
2096
|
.decklight-help td:first-child { font-family: var(--font-mono, monospace); color: var(--accent, #6af); }
|
|
1598
2097
|
|
|
@@ -1662,19 +2161,26 @@
|
|
|
1662
2161
|
.decklight-debug .dbg-theme .dbg-k { color: #b7a3ff; }
|
|
1663
2162
|
.decklight-debug .dbg-narr .dbg-k { color: #8fd6a8; }
|
|
1664
2163
|
.decklight-debug .dbg-tts .dbg-k { color: #7fb8ff; }
|
|
2164
|
+
.decklight-debug .dbg-prev { opacity: .5; }
|
|
2165
|
+
.decklight-debug .dbg-reload .dbg-k, .decklight-debug .dbg-reload .dbg-m { color: #ffd27f; }
|
|
1665
2166
|
|
|
1666
2167
|
/* closed captions (C) — the current notes segment, youtube-style */
|
|
1667
2168
|
.decklight-captions {
|
|
2169
|
+
/* The bar lives on the root, outside the scaled stage, so px here are px on
|
|
2170
|
+
the screen: in a finder or theme-picker preview it stayed full-size over a
|
|
2171
|
+
thumbnail of the slide (#490). It follows the stage scale DOWN — never up,
|
|
2172
|
+
so a full-screen deck captions exactly as it always has. */
|
|
2173
|
+
--cap-k: min(1, var(--stage-scale, 1));
|
|
1668
2174
|
position: absolute;
|
|
1669
2175
|
left: 50%;
|
|
1670
2176
|
bottom: 7%;
|
|
1671
2177
|
transform: translateX(-50%);
|
|
1672
2178
|
max-width: 72%;
|
|
1673
|
-
padding: 10px 18px;
|
|
1674
|
-
border-radius: 8px;
|
|
2179
|
+
padding: calc(10px * var(--cap-k)) calc(18px * var(--cap-k));
|
|
2180
|
+
border-radius: calc(8px * var(--cap-k));
|
|
1675
2181
|
background: rgba(8, 9, 12, .8);
|
|
1676
2182
|
color: #fff;
|
|
1677
|
-
font-size: 21px;
|
|
2183
|
+
font-size: calc(21px * var(--cap-k));
|
|
1678
2184
|
line-height: 1.45;
|
|
1679
2185
|
text-align: center;
|
|
1680
2186
|
z-index: 45;
|
|
@@ -1760,13 +2266,21 @@
|
|
|
1760
2266
|
height: var(--character-solo-size, min(74vh, 74vw));
|
|
1761
2267
|
}
|
|
1762
2268
|
.decklight-character svg, .decklight-character img { width: 100%; height: 100%; display: block; }
|
|
2269
|
+
/* video mode: the portrait still underneath, the clip over it only while it
|
|
2270
|
+
plays (.live) — never a black medallion while the next clip renders */
|
|
2271
|
+
.decklight-character.mode-video .still,
|
|
1763
2272
|
.decklight-character.mode-video video {
|
|
2273
|
+
position: absolute;
|
|
2274
|
+
inset: 0;
|
|
1764
2275
|
width: 100%;
|
|
1765
2276
|
height: 100%;
|
|
1766
2277
|
object-fit: cover;
|
|
1767
2278
|
border-radius: 50%;
|
|
1768
|
-
background: rgba(8, 9, 12, .6);
|
|
1769
2279
|
}
|
|
2280
|
+
.decklight-character.mode-video .still { background: rgba(8, 9, 12, .6); }
|
|
2281
|
+
.decklight-character.mode-video .still.missing { visibility: hidden; }
|
|
2282
|
+
.decklight-character.mode-video video { opacity: 0; transition: opacity .12s; }
|
|
2283
|
+
.decklight-character.mode-video video.live { opacity: 1; }
|
|
1770
2284
|
.decklight-character [data-mouth] { visibility: hidden; }
|
|
1771
2285
|
.decklight-character[data-viseme="A"] [data-mouth="A"],
|
|
1772
2286
|
.decklight-character[data-viseme="B"] [data-mouth="B"],
|
|
@@ -1801,6 +2315,49 @@
|
|
|
1801
2315
|
/* notes editor (right-click a slide's background, or the palette) — E now
|
|
1802
2316
|
arms element edit mode instead (below) */
|
|
1803
2317
|
.decklight-editor .narr-card { width: min(640px, 88vw); }
|
|
2318
|
+
/* The element content editor is dockable (#530): floating it keeps the
|
|
2319
|
+
modal's width, and docked to an edge its text area fills the gutter —
|
|
2320
|
+
a column of source beside a slide that stays live — instead of the
|
|
2321
|
+
46vh a centred card gets. */
|
|
2322
|
+
.decklight-editor.decklight-dockable[data-dock="float"] .narr-card { width: min(640px, 88vw); }
|
|
2323
|
+
.decklight-editor.decklight-dockable .ed-heading { flex: 1; opacity: .55; }
|
|
2324
|
+
.decklight-editor.decklight-dockable:not([data-dock="float"]) .narr-card { display: flex; flex-direction: column; overflow: hidden; }
|
|
2325
|
+
.decklight-editor.decklight-dockable:not([data-dock="float"]) .edit-code { flex: 1 1 auto; min-height: 0; display: flex; }
|
|
2326
|
+
/* min-width: 0 — a textarea's flex minimum is its intrinsic width, which
|
|
2327
|
+
overhung the column by a scrollbar's width and wrapped the two layers at
|
|
2328
|
+
different widths under classic scrollbars */
|
|
2329
|
+
.decklight-editor.decklight-dockable:not([data-dock="float"]) .edit-code > textarea { flex: 1 1 auto; width: 100%; min-width: 0; min-height: 0; max-height: none; resize: none; }
|
|
2330
|
+
.decklight-editor.decklight-dockable:not([data-dock="float"]) .edit-code > pre { max-height: none; }
|
|
2331
|
+
.decklight-editor.decklight-dockable:not([data-dock="float"]) .tr-actions { flex: 0 0 auto; }
|
|
2332
|
+
/* the notes editor's rewrite buttons ask which slides first */
|
|
2333
|
+
.decklight-editor .tr-actions { flex-wrap: wrap; }
|
|
2334
|
+
.decklight-editor .notes-scope { align-items: center; }
|
|
2335
|
+
.decklight-editor .notes-scope-what { font-size: 12px; opacity: .7; margin-right: 2px; }
|
|
2336
|
+
/* ↺ reset · ⇄ before / after: the notes as last saved, against this box */
|
|
2337
|
+
.decklight-editor .narr-prev-btn:disabled { opacity: .35; cursor: default; }
|
|
2338
|
+
.decklight-editor .notes-compare.notes-fresh { box-shadow: 0 0 0 2px var(--accent, #6af); }
|
|
2339
|
+
.decklight-editor .notes-diff {
|
|
2340
|
+
flex: 1 1 auto;
|
|
2341
|
+
min-height: 160px;
|
|
2342
|
+
max-height: 50vh;
|
|
2343
|
+
overflow: auto;
|
|
2344
|
+
margin: 0 12px;
|
|
2345
|
+
padding: 10px 12px;
|
|
2346
|
+
border-radius: 8px;
|
|
2347
|
+
background: rgba(255, 255, 255, .04);
|
|
2348
|
+
border: 1px solid rgba(255, 255, 255, .12);
|
|
2349
|
+
font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
2350
|
+
outline: none;
|
|
2351
|
+
}
|
|
2352
|
+
.decklight-editor .notes-diff-head { font: 11px/1.4 system-ui, sans-serif; letter-spacing: .04em; opacity: .6; margin-bottom: 8px; text-transform: uppercase; }
|
|
2353
|
+
.decklight-editor .notes-diff-body { white-space: pre-wrap; word-break: break-word; }
|
|
2354
|
+
.decklight-editor .notes-diff del { background: rgba(229, 83, 61, .22); color: #ffb4a8; text-decoration: line-through; }
|
|
2355
|
+
.decklight-editor .notes-diff ins { background: rgba(80, 200, 120, .22); color: #b6f5c8; text-decoration: none; }
|
|
2356
|
+
/* the notes editor and the agent ask dock the same way: their plain textarea
|
|
2357
|
+
(no painted layer behind it) is the part that takes the gutter */
|
|
2358
|
+
.decklight-editor.decklight-dockable:not([data-dock="float"]) .narr-card > textarea.edit-notes {
|
|
2359
|
+
flex: 1 1 auto; box-sizing: border-box; width: 100%; min-width: 0; min-height: 0; max-height: none; resize: none;
|
|
2360
|
+
}
|
|
1804
2361
|
/* the engine wizard's provenance line (ENGINES#WIZARD, #232): who is asking and
|
|
1805
2362
|
where the answer goes — deliberately NOT the muted narr-head treatment, since
|
|
1806
2363
|
this is the one line a presenter must read before pasting a key */
|
|
@@ -1813,6 +2370,26 @@
|
|
|
1813
2370
|
opacity: .85;
|
|
1814
2371
|
}
|
|
1815
2372
|
.decklight-editor .wiz-src div:first-child { font-weight: 650; }
|
|
2373
|
+
/* the agent card's log of this session's asks: docked it takes the gutter
|
|
2374
|
+
and the prompt below it keeps a fixed height; floating it is a short,
|
|
2375
|
+
scrolling strip above the prompt */
|
|
2376
|
+
.decklight-agent .agent-log { max-height: 32vh; overflow-y: auto; padding: 4px 12px; border-bottom: 1px solid rgba(255, 255, 255, .09); }
|
|
2377
|
+
.decklight-agent .agent-log[hidden] { display: none; }
|
|
2378
|
+
.decklight-editor.decklight-agent.decklight-dockable:not([data-dock="float"]) .agent-log { flex: 1 1 auto; min-height: 0; max-height: none; }
|
|
2379
|
+
/* …only once there is a log: before the first ask the prompt takes the gutter, as it always did */
|
|
2380
|
+
.decklight-editor.decklight-agent.decklight-dockable:not([data-dock="float"]) .agent-log:not([hidden]) + textarea.edit-notes { flex: 0 0 auto; min-height: 96px; height: 20vh; }
|
|
2381
|
+
.decklight-agent .agent-ask { padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 12.5px; line-height: 1.45; }
|
|
2382
|
+
.decklight-agent .agent-ask:first-child { border-top: 0; }
|
|
2383
|
+
.decklight-agent .agent-ask-meta { font-size: 11px; opacity: .55; }
|
|
2384
|
+
.decklight-agent .agent-ask-link { cursor: pointer; }
|
|
2385
|
+
.decklight-agent .agent-ask-link:hover { opacity: .9; text-decoration: underline; }
|
|
2386
|
+
.decklight-agent .agent-ask-prompt { margin: 2px 0 4px; white-space: pre-wrap; font-weight: 600; }
|
|
2387
|
+
.decklight-agent .agent-ask-out { white-space: pre-wrap; opacity: .8; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 11.5px; }
|
|
2388
|
+
.decklight-agent .agent-ask-running .agent-ask-out { opacity: .6; font-style: italic; }
|
|
2389
|
+
.decklight-agent .agent-ask-failed .agent-ask-out { color: #f3a3a3; }
|
|
2390
|
+
/* the notes card with no edit server behind it (S under present/review):
|
|
2391
|
+
the same box, read-only, and it looks it */
|
|
2392
|
+
.decklight-editor .edit-notes.edit-notes-readonly { cursor: default; opacity: .9; border-style: dashed; }
|
|
1816
2393
|
.decklight-editor .edit-notes {
|
|
1817
2394
|
min-height: 240px;
|
|
1818
2395
|
resize: vertical;
|
|
@@ -1821,7 +2398,7 @@
|
|
|
1821
2398
|
font-size: 13px;
|
|
1822
2399
|
}
|
|
1823
2400
|
|
|
1824
|
-
/*
|
|
2401
|
+
/* editing's right-click menu (editing is on in write mode; right-click a slide
|
|
1825
2402
|
element — #112). The first CURSOR-ANCHORED overlay: every other one dims
|
|
1826
2403
|
the whole screen and centers a card — this one must not, since the slide
|
|
1827
2404
|
under the cursor is the thing the menu is about. The backdrop stays fully
|
|
@@ -1848,6 +2425,15 @@
|
|
|
1848
2425
|
white-space: nowrap;
|
|
1849
2426
|
}
|
|
1850
2427
|
.decklight-ctxmenu .cm-row.cm-selected { background: rgba(255, 255, 255, .14); }
|
|
2428
|
+
/* a row's chord (Copy style ⌥⌘C), right-aligned and quiet, the way a menu bar says it */
|
|
2429
|
+
.decklight-ctxmenu .cm-key {
|
|
2430
|
+
float: right;
|
|
2431
|
+
margin-left: 24px;
|
|
2432
|
+
color: #8b909a;
|
|
2433
|
+
font-size: 12px;
|
|
2434
|
+
line-height: 19.6px; /* the row's 14px × 1.4, so the chord sits on the label's line */
|
|
2435
|
+
font-variant-numeric: tabular-nums;
|
|
2436
|
+
}
|
|
1851
2437
|
.decklight-ctxmenu .cm-row.cm-back {
|
|
1852
2438
|
color: #b9bec8;
|
|
1853
2439
|
border-bottom: 1px solid rgba(255, 255, 255, .12);
|
|
@@ -1855,6 +2441,174 @@
|
|
|
1855
2441
|
padding-bottom: 9px;
|
|
1856
2442
|
}
|
|
1857
2443
|
|
|
2444
|
+
/* the colour picker (element menu → Colors…): a dockable panel like the
|
|
2445
|
+
other editing surfaces (dock.js), so the shape stays in view while every
|
|
2446
|
+
pick previews on it. Its own chrome is fixed dark like every engine
|
|
2447
|
+
overlay; only the CHIPS take theme tokens, which is what makes them the
|
|
2448
|
+
theme's palette and not a copy of it. */
|
|
2449
|
+
.decklight-colorpicker.decklight-dockable[data-dock="float"] .narr-card { width: min(320px, 88vw); }
|
|
2450
|
+
.decklight-colorpicker .cp-title { flex: 1; opacity: .55; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2451
|
+
.decklight-colorpicker .cp-main { max-width: 760px; margin-top: 8px; }
|
|
2452
|
+
.decklight-colorpicker .cp-side { margin-bottom: 8px; }
|
|
2453
|
+
/* the bottom tray is wide and short: the switches and Apply stand in a column
|
|
2454
|
+
on the left, where they never scroll away, and the palette's groups sit
|
|
2455
|
+
side by side in what is left */
|
|
2456
|
+
.decklight-colorpicker[data-dock="bottom"] .cp-main {
|
|
2457
|
+
display: grid;
|
|
2458
|
+
grid-template-columns: 220px minmax(0, 1fr);
|
|
2459
|
+
grid-template-rows: auto auto 1fr;
|
|
2460
|
+
grid-template-areas: "side body" "tabs body" "foot body";
|
|
2461
|
+
column-gap: 24px;
|
|
2462
|
+
max-width: 1100px;
|
|
2463
|
+
}
|
|
2464
|
+
.decklight-colorpicker[data-dock="bottom"] .cp-side { grid-area: side; }
|
|
2465
|
+
.decklight-colorpicker[data-dock="bottom"] .cp-tabs { grid-area: tabs; }
|
|
2466
|
+
.decklight-colorpicker[data-dock="bottom"] .cp-body { grid-area: body; }
|
|
2467
|
+
.decklight-colorpicker[data-dock="bottom"] .cp-foot { grid-area: foot; align-self: start; }
|
|
2468
|
+
.decklight-colorpicker[data-dock="bottom"] .cp-body[data-tab="theme"] { columns: 3 240px; column-gap: 24px; }
|
|
2469
|
+
.decklight-colorpicker[data-dock="bottom"] .cp-groupbox:first-child .cp-group { margin-top: 0; }
|
|
2470
|
+
.decklight-colorpicker .cp-groupbox { break-inside: avoid; }
|
|
2471
|
+
.decklight-colorpicker .cp-seg { display: flex; gap: 2px; padding: 2px; border-radius: 8px; background: rgba(255, 255, 255, .07); }
|
|
2472
|
+
.decklight-colorpicker .cp-tabs, .decklight-colorpicker .cp-model { margin-bottom: 8px; }
|
|
2473
|
+
/* Theme/Custom and RGB/HSB are a level below Fill/Stroke/Text: smaller, and only as wide as their words */
|
|
2474
|
+
.decklight-colorpicker :is(.cp-tabs, .cp-model) { display: inline-flex; border-radius: 7px; }
|
|
2475
|
+
.decklight-colorpicker :is(.cp-tabs, .cp-model) .cp-seg-btn { flex: none; padding: 2px 12px; border-radius: 5px; font-size: 11.5px; }
|
|
2476
|
+
.decklight-colorpicker[data-dock="bottom"] .cp-body[data-tab="custom"] { max-width: 420px; }
|
|
2477
|
+
.decklight-colorpicker .cp-seg-btn {
|
|
2478
|
+
display: inline-flex;
|
|
2479
|
+
align-items: center;
|
|
2480
|
+
justify-content: center;
|
|
2481
|
+
gap: 6px;
|
|
2482
|
+
flex: 1;
|
|
2483
|
+
padding: 4px 10px;
|
|
2484
|
+
border: 0;
|
|
2485
|
+
border-radius: 6px;
|
|
2486
|
+
background: none;
|
|
2487
|
+
color: #b9bec8;
|
|
2488
|
+
font: inherit;
|
|
2489
|
+
font-size: 12.5px;
|
|
2490
|
+
cursor: pointer;
|
|
2491
|
+
}
|
|
2492
|
+
.decklight-colorpicker .cp-seg-btn[aria-selected="true"] { background: rgba(255, 255, 255, .16); color: #fff; }
|
|
2493
|
+
.decklight-colorpicker .cp-seg-btn:disabled { opacity: .35; cursor: default; }
|
|
2494
|
+
.decklight-colorpicker .cp-seg-btn:not([aria-selected="true"]):not(:disabled):hover { background: rgba(255, 255, 255, .06); color: #e4e7ec; }
|
|
2495
|
+
.decklight-colorpicker .cp-seg-icon { flex: none; opacity: .85; }
|
|
2496
|
+
/* Fill, Stroke and Text wear the colour each has now: a chip, a ring, an A */
|
|
2497
|
+
.decklight-colorpicker .cp-seg-chip {
|
|
2498
|
+
flex: none; box-sizing: border-box; width: 11px; height: 11px; border-radius: 3px;
|
|
2499
|
+
background: var(--chip); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
|
|
2500
|
+
}
|
|
2501
|
+
.decklight-colorpicker .cp-seg-chip.cp-seg-stroke { background: none; border: 2.5px solid var(--chip); box-shadow: 0 0 0 .5px rgba(255, 255, 255, .25); }
|
|
2502
|
+
.decklight-colorpicker .cp-seg-chip.cp-seg-text { width: auto; height: auto; background: none; box-shadow: none; color: var(--chip); font-weight: 700; line-height: 1; }
|
|
2503
|
+
.decklight-colorpicker .cp-seg-chip.cp-seg-text::before { content: 'A'; }
|
|
2504
|
+
.decklight-colorpicker .cp-seg-chip.cp-seg-none:not(.cp-seg-text) { background: linear-gradient(to top right, transparent 44%, #c66 44%, #c66 56%, transparent 56%); border: 0; }
|
|
2505
|
+
.decklight-colorpicker .cp-group {
|
|
2506
|
+
margin: 8px 2px 4px;
|
|
2507
|
+
font-size: 10.5px;
|
|
2508
|
+
letter-spacing: .07em;
|
|
2509
|
+
text-transform: uppercase;
|
|
2510
|
+
color: #8d94a1;
|
|
2511
|
+
}
|
|
2512
|
+
.decklight-colorpicker .cp-swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
|
|
2513
|
+
.decklight-colorpicker .cp-swatches.cp-compact { grid-template-columns: repeat(6, 1fr); }
|
|
2514
|
+
.decklight-colorpicker .cp-swatch {
|
|
2515
|
+
display: flex;
|
|
2516
|
+
align-items: center;
|
|
2517
|
+
gap: 7px;
|
|
2518
|
+
min-width: 0;
|
|
2519
|
+
padding: 4px 5px;
|
|
2520
|
+
border: 0;
|
|
2521
|
+
border-radius: 6px;
|
|
2522
|
+
background: none;
|
|
2523
|
+
color: inherit;
|
|
2524
|
+
font: inherit;
|
|
2525
|
+
font-size: 12.5px;
|
|
2526
|
+
text-align: left;
|
|
2527
|
+
cursor: pointer;
|
|
2528
|
+
}
|
|
2529
|
+
.decklight-colorpicker .cp-compact .cp-swatch { flex-direction: column; gap: 2px; padding: 4px 0; font-size: 11px; color: #b9bec8; }
|
|
2530
|
+
.decklight-colorpicker .cp-swatch:hover { background: rgba(255, 255, 255, .09); }
|
|
2531
|
+
.decklight-colorpicker .cp-swatch[aria-pressed="true"] { background: rgba(255, 255, 255, .16); }
|
|
2532
|
+
.decklight-colorpicker .cp-swatch[aria-pressed="true"] .cp-chip { box-shadow: 0 0 0 2px #1f2229, 0 0 0 3.5px #9ecbff; }
|
|
2533
|
+
.decklight-colorpicker .cp-chip, .decklight-colorpicker .cp-now {
|
|
2534
|
+
flex: none;
|
|
2535
|
+
width: 20px;
|
|
2536
|
+
height: 20px;
|
|
2537
|
+
border-radius: 5px;
|
|
2538
|
+
/* a chip the colour of the card would otherwise vanish into it */
|
|
2539
|
+
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
|
|
2540
|
+
}
|
|
2541
|
+
.decklight-colorpicker .cp-compact .cp-chip { width: 28px; height: 22px; }
|
|
2542
|
+
.decklight-colorpicker .cp-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2543
|
+
/* a brand palette (SPEC BRAND_PALETTE): one tight row per colour, 100 to 1000;
|
|
2544
|
+
a swatch the theme on screen uses carries a dot (its title names the role),
|
|
2545
|
+
and a weight the engine derived is drawn dashed */
|
|
2546
|
+
.decklight-colorpicker .cp-scalebox .cp-group { margin: 5px 2px 2px; }
|
|
2547
|
+
.decklight-colorpicker .cp-swatches.cp-scale { grid-template-columns: repeat(10, 1fr); gap: 1px; }
|
|
2548
|
+
.decklight-colorpicker .cp-scale .cp-swatch { position: relative; padding: 2px 0 3px; font-size: 9.5px; }
|
|
2549
|
+
.decklight-colorpicker .cp-scale .cp-chip { width: 100%; max-width: 24px; height: 18px; border-radius: 4px; }
|
|
2550
|
+
.decklight-colorpicker .cp-scale .cp-swatch.cp-derived .cp-chip { box-shadow: none; outline: 1px dashed rgba(255, 255, 255, .55); outline-offset: -1px; }
|
|
2551
|
+
.decklight-colorpicker .cp-scale .cp-swatch.cp-has-role::after {
|
|
2552
|
+
content: ''; position: absolute; top: 4px; right: 50%; transform: translateX(10px);
|
|
2553
|
+
width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .6);
|
|
2554
|
+
}
|
|
2555
|
+
.decklight-colorpicker .cp-chan { display: flex; align-items: center; gap: 8px; padding: 3px 2px; font-size: 12.5px; }
|
|
2556
|
+
.decklight-colorpicker .cp-chan-name { width: 24px; color: #b9bec8; }
|
|
2557
|
+
.decklight-colorpicker .cp-range { flex: 1; min-width: 0; accent-color: #9ecbff; }
|
|
2558
|
+
/* a colour channel's track is the run of colours it gives, the thumb a ring on it */
|
|
2559
|
+
.decklight-colorpicker .cp-range.cp-tracked {
|
|
2560
|
+
-webkit-appearance: none; appearance: none; height: 10px; margin: 0; border-radius: 999px;
|
|
2561
|
+
background: var(--track); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); cursor: pointer;
|
|
2562
|
+
}
|
|
2563
|
+
.decklight-colorpicker .cp-range.cp-tracked::-webkit-slider-thumb {
|
|
2564
|
+
-webkit-appearance: none; appearance: none; width: 15px; height: 15px; border-radius: 50%;
|
|
2565
|
+
background: transparent; border: 2.5px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(0, 0, 0, .35);
|
|
2566
|
+
}
|
|
2567
|
+
.decklight-colorpicker .cp-range.cp-tracked::-moz-range-thumb {
|
|
2568
|
+
width: 10px; height: 10px; border-radius: 50%; background: transparent; border: 2.5px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .45);
|
|
2569
|
+
}
|
|
2570
|
+
.decklight-colorpicker .cp-unit { margin-left: -4px; font-size: 11px; color: #8d94a1; }
|
|
2571
|
+
.decklight-colorpicker .cp-num, .decklight-colorpicker .cp-hex {
|
|
2572
|
+
width: 56px;
|
|
2573
|
+
padding: 3px 6px;
|
|
2574
|
+
border: 1px solid rgba(255, 255, 255, .16);
|
|
2575
|
+
border-radius: 6px;
|
|
2576
|
+
background: rgba(0, 0, 0, .3);
|
|
2577
|
+
color: inherit;
|
|
2578
|
+
font: 12.5px ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
|
|
2579
|
+
}
|
|
2580
|
+
.decklight-colorpicker .cp-hex { flex: 1; width: auto; }
|
|
2581
|
+
.decklight-colorpicker .cp-hexrow { margin-top: 4px; }
|
|
2582
|
+
.decklight-colorpicker .cp-hexrow .cp-now { width: 24px; height: 24px; border-radius: 6px; }
|
|
2583
|
+
/* the Type side: a label column wide enough for its words, the controls beside it */
|
|
2584
|
+
.decklight-colorpicker :is(.cp-typerow, .cp-widthrow) .cp-chan-name { flex: none; width: 46px; }
|
|
2585
|
+
.decklight-colorpicker .cp-widthrow { margin-bottom: 8px; }
|
|
2586
|
+
.decklight-colorpicker .cp-typerow .cp-seg { flex: 1; min-width: 0; flex-wrap: wrap; }
|
|
2587
|
+
.decklight-colorpicker .cp-typerow .cp-seg-btn { padding: 4px 3px; }
|
|
2588
|
+
.decklight-colorpicker .cp-typerow { padding: 4px 2px; }
|
|
2589
|
+
/* each weight and each font role is set in itself: the switch is its own preview */
|
|
2590
|
+
.decklight-colorpicker .cp-family .cp-seg-btn { font-size: 13px; }
|
|
2591
|
+
.decklight-colorpicker .cp-italic { font-style: italic; font-family: Georgia, 'Times New Roman', serif; font-size: 13px; }
|
|
2592
|
+
.decklight-colorpicker .cp-italic[aria-pressed="true"] { background: rgba(158, 203, 255, .16); box-shadow: inset 0 0 0 1px #9ecbff; color: #fff; }
|
|
2593
|
+
.decklight-colorpicker[data-dock="bottom"] .cp-body.cp-type { max-width: 520px; }
|
|
2594
|
+
.decklight-colorpicker .cp-foot { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .12); }
|
|
2595
|
+
.decklight-colorpicker .cp-spacer { flex: 1; }
|
|
2596
|
+
.decklight-colorpicker .cp-btn {
|
|
2597
|
+
padding: 5px 12px;
|
|
2598
|
+
border: 0;
|
|
2599
|
+
border-radius: 7px;
|
|
2600
|
+
background: rgba(255, 255, 255, .08);
|
|
2601
|
+
color: inherit;
|
|
2602
|
+
font: inherit;
|
|
2603
|
+
font-size: 12.5px;
|
|
2604
|
+
cursor: pointer;
|
|
2605
|
+
}
|
|
2606
|
+
.decklight-colorpicker .cp-btn:hover { background: rgba(255, 255, 255, .16); }
|
|
2607
|
+
.decklight-colorpicker .cp-apply { background: rgba(122, 214, 163, .16); color: #7cd6a3; }
|
|
2608
|
+
.decklight-colorpicker .cp-apply:hover { background: rgba(122, 214, 163, .26); }
|
|
2609
|
+
.decklight-colorpicker .cp-apply:disabled { opacity: .4; cursor: default; }
|
|
2610
|
+
.decklight-colorpicker :is(button, input):focus-visible { outline: 2px solid #9ecbff; outline-offset: 1px; }
|
|
2611
|
+
|
|
1858
2612
|
/* transcript overlay (palette → Transcript…) */
|
|
1859
2613
|
.decklight-transcript .narr-card { width: min(680px, 88vw); }
|
|
1860
2614
|
.decklight-transcript .tr-actions { display: flex; gap: 8px; padding: 4px 12px 10px; border-bottom: 1px solid rgba(255, 255, 255, .09); }
|
|
@@ -1897,6 +2651,8 @@
|
|
|
1897
2651
|
.decklight.decklight-print .build-step { visibility: visible !important; opacity: 1 !important; transform: none !important; }
|
|
1898
2652
|
.decklight.decklight-print .draw-stroke { stroke-dashoffset: 0 !important; }
|
|
1899
2653
|
.decklight.decklight-print .draw-fade { opacity: 1 !important; }
|
|
2654
|
+
.decklight.decklight-print .draw-head { visibility: visible !important; transition: none !important; }
|
|
2655
|
+
.decklight.decklight-print [data-draw-masked] { mask: none !important; }
|
|
1900
2656
|
|
|
1901
2657
|
/* ---------- print variants: ?print=handout | notes (SPEC PRESENTING) ---------------
|
|
1902
2658
|
Portrait pages, 816×1056 (US letter at 96dpi — the engine injects the
|
|
@@ -1975,12 +2731,333 @@
|
|
|
1975
2731
|
@media (prefers-reduced-motion: reduce) {
|
|
1976
2732
|
.decklight section.entering, .decklight section.leaving,
|
|
1977
2733
|
.decklight .build-step, .decklight [data-animate],
|
|
1978
|
-
.decklight .draw-stroke, .decklight .draw-fade, .decklight .aa-fresh {
|
|
2734
|
+
.decklight .draw-stroke, .decklight .draw-fade, .decklight .draw-head, .decklight .draw-mask-stroke, .decklight .aa-fresh {
|
|
1979
2735
|
animation: none !important;
|
|
1980
2736
|
transition: none !important;
|
|
1981
2737
|
}
|
|
1982
2738
|
}
|
|
1983
2739
|
|
|
2740
|
+
/* Where this slide got what it says (SLIDE_SOURCES) — the narration card's
|
|
2741
|
+
chrome, with rows that are real links. */
|
|
2742
|
+
.decklight-sources .narr-card { width: min(520px, 88vw); }
|
|
2743
|
+
.decklight-sources .narr-row { text-decoration: none; color: inherit; }
|
|
2744
|
+
.decklight-sources .src-go { flex: none; opacity: .45; font-size: .85em; }
|
|
2745
|
+
.decklight-sources .narr-row .narr-tag {
|
|
2746
|
+
flex: none;
|
|
2747
|
+
max-width: 50%;
|
|
2748
|
+
overflow: hidden;
|
|
2749
|
+
text-overflow: ellipsis;
|
|
2750
|
+
white-space: nowrap;
|
|
2751
|
+
opacity: .5;
|
|
2752
|
+
font-size: .78em;
|
|
2753
|
+
}
|
|
2754
|
+
/* Named facts read as a table, not as prose: the term is the label and the
|
|
2755
|
+
value is the answer, and lining them up is what makes a list of them
|
|
2756
|
+
scannable at a glance. */
|
|
2757
|
+
.decklight-sources .src-facts {
|
|
2758
|
+
display: grid;
|
|
2759
|
+
grid-template-columns: auto 1fr;
|
|
2760
|
+
gap: 2px 12px;
|
|
2761
|
+
margin: 4px 12px 8px;
|
|
2762
|
+
font-size: .9em;
|
|
2763
|
+
}
|
|
2764
|
+
.decklight-sources .src-facts dt { opacity: .5; }
|
|
2765
|
+
.decklight-sources .src-facts dd { margin: 0; }
|
|
2766
|
+
|
|
2767
|
+
/* The inspector (I, PRESENTING): all about the slide, or the selection. A
|
|
2768
|
+
two-column table of facts, each marked the way the terminal banner marks
|
|
2769
|
+
its rows: a green tick when fine, a yellow ! when it wants a look. */
|
|
2770
|
+
.decklight-inspector .narr-card { width: min(440px, 88vw); }
|
|
2771
|
+
.decklight-inspector .ins-head { display: flex; align-items: center; gap: 6px; text-transform: none; letter-spacing: 0; font-size: 12px; opacity: 1; }
|
|
2772
|
+
/* the slide on one line: its number quiet, its name the part that gives way to an ellipsis */
|
|
2773
|
+
.decklight-inspector .ins-title { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: nowrap; align-items: baseline; overflow: hidden; white-space: nowrap; }
|
|
2774
|
+
.decklight-inspector .ins-root { flex: none; color: #8d94a1; white-space: pre; }
|
|
2775
|
+
.decklight-inspector .ins-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: #e4e7ec; font-weight: 600; }
|
|
2776
|
+
/* the path down to the selection, its own line under the header: a deep one wraps */
|
|
2777
|
+
.decklight-inspector .ins-path { display: flex; flex-wrap: wrap; align-items: center; gap: 1px 2px; margin: 0 12px 4px; font-size: 12px; }
|
|
2778
|
+
.decklight-inspector .ins-sep { flex: none; color: #8d94a1; opacity: .6; }
|
|
2779
|
+
.decklight-inspector .ins-crumb {
|
|
2780
|
+
max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
2781
|
+
font: inherit; color: #b9bec8; background: none; border: 0; padding: 2px 6px; border-radius: 5px; cursor: pointer;
|
|
2782
|
+
}
|
|
2783
|
+
.decklight-inspector .ins-crumb:hover { background: rgba(255, 255, 255, .1); color: #fff; }
|
|
2784
|
+
.decklight-inspector .ins-crumb.ins-on { color: #fff; font-weight: 600; background: rgba(158, 203, 255, .14); }
|
|
2785
|
+
.decklight-inspector .ins-rows {
|
|
2786
|
+
display: grid;
|
|
2787
|
+
grid-template-columns: auto 1fr;
|
|
2788
|
+
column-gap: 14px;
|
|
2789
|
+
margin: 2px 12px 8px;
|
|
2790
|
+
font-size: .9em;
|
|
2791
|
+
}
|
|
2792
|
+
/* a hairline between facts, across both columns */
|
|
2793
|
+
.decklight-inspector .ins-rows :is(dt, dd) { padding: 5px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
|
|
2794
|
+
.decklight-inspector .ins-rows :is(dt, dd):nth-child(-n + 2) { border-top: 0; }
|
|
2795
|
+
.decklight-inspector .ins-rows dt { color: #8d94a1; }
|
|
2796
|
+
.decklight-inspector .ins-rows dt:has(+ dd .ins-warn) { color: #f2c46d; }
|
|
2797
|
+
.decklight-inspector .ins-rows dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
|
|
2798
|
+
.decklight-inspector .ins-ok,
|
|
2799
|
+
.decklight-inspector .ins-warn {
|
|
2800
|
+
display: inline-grid; place-items: center; width: 15px; height: 15px; margin-right: 6px; border-radius: 50%;
|
|
2801
|
+
font-size: 10px; font-weight: 800; line-height: 1; vertical-align: 1px;
|
|
2802
|
+
}
|
|
2803
|
+
.decklight-inspector .ins-ok { color: #7cd6a3; background: rgba(124, 214, 163, .15); }
|
|
2804
|
+
.decklight-inspector .ins-warn { color: #f2c46d; background: rgba(242, 196, 109, .17); }
|
|
2805
|
+
/* the colour a row names, beside it: a chip, a ring for a stroke, Aa for contrast */
|
|
2806
|
+
.decklight-inspector .ins-look { display: inline-block; box-sizing: border-box; margin-right: 7px; vertical-align: -2px; }
|
|
2807
|
+
.decklight-inspector .ins-chip { width: 13px; height: 13px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
|
|
2808
|
+
.decklight-inspector .ins-ring { width: 13px; height: 13px; border-radius: 3px; border: 2.5px solid; box-shadow: 0 0 0 .5px rgba(255, 255, 255, .25); }
|
|
2809
|
+
.decklight-inspector .ins-sample {
|
|
2810
|
+
padding: 0 5px; border-radius: 4px; font-size: 11.5px; line-height: 17px; vertical-align: 0;
|
|
2811
|
+
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
|
|
2812
|
+
}
|
|
2813
|
+
.decklight-inspector .ins-extra { display: block; opacity: .5; font-size: .88em; }
|
|
2814
|
+
.decklight-inspector .ins-none { margin: 2px 12px 8px; opacity: .5; font-size: .9em; }
|
|
2815
|
+
.decklight-inspector .ins-link { text-decoration: none; color: inherit; }
|
|
2816
|
+
.decklight-inspector .src-go { flex: none; opacity: .45; font-size: .85em; }
|
|
2817
|
+
.decklight-inspector .ins-link .narr-tag {
|
|
2818
|
+
flex: none; max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .5; font-size: .78em;
|
|
2819
|
+
}
|
|
2820
|
+
.decklight-inspector .ins-foot { opacity: .45; }
|
|
2821
|
+
/* a breadcrumb hovered: which node it names, on the slide. SVG shapes draw no
|
|
2822
|
+
outline, so they glow instead. */
|
|
2823
|
+
/* the panel's top level: tabs on a rule, the one open underlined in the panel's blue,
|
|
2824
|
+
so they never read as one more switch like the editor's below them */
|
|
2825
|
+
.decklight-inspector .ins-tabs { display: flex; gap: 20px; margin: 4px 12px 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
|
|
2826
|
+
.decklight-inspector .ins-tab {
|
|
2827
|
+
flex: none; margin-bottom: -1px; padding: 6px 1px 8px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none;
|
|
2828
|
+
color: #8d94a1; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer;
|
|
2829
|
+
}
|
|
2830
|
+
.decklight-inspector .ins-tab:not(:disabled):hover { color: #e4e7ec; }
|
|
2831
|
+
.decklight-inspector .ins-tab[aria-selected="true"] { color: #fff; border-bottom-color: #9ecbff; }
|
|
2832
|
+
.decklight-inspector .ins-tab:disabled { opacity: .35; cursor: default; }
|
|
2833
|
+
.decklight-inspector .ins-pick { display: inline-grid; place-items: center; }
|
|
2834
|
+
.decklight-inspector .ins-pick.ins-on { background: rgba(158, 203, 255, .22); color: #9ecbff; }
|
|
2835
|
+
/* the colour card's editor, hosted in the Colors and Type tabs: no card of its own */
|
|
2836
|
+
.decklight-inspector .cp-embedded { padding: 0 12px 4px; }
|
|
2837
|
+
.decklight-colorpicker .cp-saved { font-size: 11px; opacity: .5; }
|
|
2838
|
+
|
|
2839
|
+
/* the picker and the hover inside a diagram (pick.js): a dashed line in the
|
|
2840
|
+
theme's accent around the node under the pointer, a faint glow on the node,
|
|
2841
|
+
the stage around it dimmed a little; the box lets every pointer event
|
|
2842
|
+
through, so it never takes the click it is about */
|
|
2843
|
+
.decklight .dl-spot {
|
|
2844
|
+
position: fixed; z-index: 30; pointer-events: none; border-radius: 6px;
|
|
2845
|
+
outline: 1.5px dashed var(--accent); outline-offset: 1px;
|
|
2846
|
+
transition: left .08s, top .08s, width .08s, height .08s;
|
|
2847
|
+
}
|
|
2848
|
+
.decklight .dl-spot.dl-spot-dim { box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .16); }
|
|
2849
|
+
.decklight .dl-spot.dl-spot-block { outline: 1.5px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 0; box-shadow: 0 0 14px 2px color-mix(in srgb, var(--accent) 45%, transparent); }
|
|
2850
|
+
.decklight .dl-spot.dl-spot-block.dl-spot-dim { box-shadow: 0 0 14px 2px color-mix(in srgb, var(--accent) 45%, transparent), 0 0 0 100vmax rgba(0, 0, 0, .16); }
|
|
2851
|
+
.decklight svg .dl-glow { filter: drop-shadow(0 0 3px color-mix(in srgb, var(--accent) 90%, transparent)) drop-shadow(0 0 8px color-mix(in srgb, var(--accent) 50%, transparent)); }
|
|
2852
|
+
.decklight.dl-picking, .decklight.dl-picking .decklight-stage * { cursor: crosshair !important; }
|
|
2853
|
+
/* a node selected inside a diagram: SVG takes no outline, so a frame is drawn over it */
|
|
2854
|
+
.decklight .dl-frame { position: fixed; z-index: 29; pointer-events: none; outline: 2px solid var(--accent); border-radius: 4px; }
|
|
2855
|
+
|
|
2856
|
+
/* The sources editor. A draft, so it looks like a form and not like the card
|
|
2857
|
+
it was reading a moment ago. */
|
|
2858
|
+
.decklight-sources .src-edit-row { display: flex; align-items: center; gap: 6px; padding: 3px 12px; }
|
|
2859
|
+
.decklight-sources .src-field {
|
|
2860
|
+
flex: 1 1 0;
|
|
2861
|
+
min-width: 0;
|
|
2862
|
+
padding: 5px 8px;
|
|
2863
|
+
border: 1px solid rgba(255, 255, 255, .16);
|
|
2864
|
+
border-radius: 7px;
|
|
2865
|
+
background: rgba(255, 255, 255, .05);
|
|
2866
|
+
color: inherit;
|
|
2867
|
+
font: inherit;
|
|
2868
|
+
font-size: .9em;
|
|
2869
|
+
}
|
|
2870
|
+
.decklight-sources .src-wide { flex: 2.2 1 0; }
|
|
2871
|
+
.decklight-sources .src-field:focus { outline: none; border-color: var(--accent, #7ee787); }
|
|
2872
|
+
.decklight-sources .src-drop {
|
|
2873
|
+
flex: none;
|
|
2874
|
+
width: 24px;
|
|
2875
|
+
border: 0;
|
|
2876
|
+
border-radius: 6px;
|
|
2877
|
+
background: transparent;
|
|
2878
|
+
color: inherit;
|
|
2879
|
+
opacity: .4;
|
|
2880
|
+
cursor: pointer;
|
|
2881
|
+
font: inherit;
|
|
2882
|
+
}
|
|
2883
|
+
.decklight-sources .src-drop:hover { opacity: 1; background: rgba(255, 255, 255, .1); }
|
|
2884
|
+
.decklight-sources .src-add {
|
|
2885
|
+
width: calc(100% - 24px);
|
|
2886
|
+
margin: 2px 12px 6px;
|
|
2887
|
+
border: 1px dashed rgba(255, 255, 255, .18);
|
|
2888
|
+
background: transparent;
|
|
2889
|
+
color: inherit;
|
|
2890
|
+
opacity: .6;
|
|
2891
|
+
cursor: pointer;
|
|
2892
|
+
font: inherit;
|
|
2893
|
+
text-align: left;
|
|
2894
|
+
}
|
|
2895
|
+
.decklight-sources .src-add:hover { opacity: 1; }
|
|
2896
|
+
|
|
2897
|
+
/* ── write mode: double-click to edit, drop to add (src/core/authoring.js) ── */
|
|
2898
|
+
.decklight .dl-editing {
|
|
2899
|
+
outline: 2px solid var(--accent);
|
|
2900
|
+
outline-offset: 3px;
|
|
2901
|
+
border-radius: 2px;
|
|
2902
|
+
cursor: text;
|
|
2903
|
+
}
|
|
2904
|
+
/* a diagram label being typed (SVG text takes no contenteditable): a box laid
|
|
2905
|
+
over the hidden label, in its font and ink, the shape under it showing */
|
|
2906
|
+
.decklight .dl-label-edit {
|
|
2907
|
+
position: fixed; z-index: 40; box-sizing: border-box; margin: 0; padding: 2px 4px;
|
|
2908
|
+
min-width: 2em; border: 0; border-radius: 3px;
|
|
2909
|
+
background: transparent; color: var(--d-text, var(--fg));
|
|
2910
|
+
outline: 2px solid var(--accent); outline-offset: 1px;
|
|
2911
|
+
caret-color: currentColor;
|
|
2912
|
+
}
|
|
2913
|
+
.decklight.dl-dropping > .decklight-stage { outline: 3px dashed var(--accent); outline-offset: -3px; }
|
|
2914
|
+
.decklight.dl-dropping > .decklight-stage::after {
|
|
2915
|
+
content: 'drop to add the picture to this slide';
|
|
2916
|
+
position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%);
|
|
2917
|
+
padding: 0.4em 1em; border-radius: 999px;
|
|
2918
|
+
background: var(--accent); color: var(--accent-contrast);
|
|
2919
|
+
font: 600 0.9rem var(--font-body); letter-spacing: 0.01em;
|
|
2920
|
+
pointer-events: none;
|
|
2921
|
+
}
|
|
2922
|
+
|
|
2923
|
+
/* ── editing's face (src/core/editbar.js): the bar E opens, and the selection ── */
|
|
2924
|
+
.decklight-editbar {
|
|
2925
|
+
position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
|
|
2926
|
+
z-index: 41;
|
|
2927
|
+
display: flex; align-items: center; gap: 2px;
|
|
2928
|
+
padding: 4px;
|
|
2929
|
+
border-radius: 14px;
|
|
2930
|
+
border: 1px solid rgba(160, 160, 160, .28);
|
|
2931
|
+
background: rgba(20, 20, 22, .72);
|
|
2932
|
+
color: #e6e6e6;
|
|
2933
|
+
font: 500 13px/1 system-ui, sans-serif;
|
|
2934
|
+
-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
|
|
2935
|
+
box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
|
|
2936
|
+
}
|
|
2937
|
+
/* the emphasis pill (authoring.js): above a selection in an element being
|
|
2938
|
+
edited in place, three buttons, gone with the selection. Fixed, on the body,
|
|
2939
|
+
so the stage's scale never moves it off the text it is about. */
|
|
2940
|
+
.dl-fmt {
|
|
2941
|
+
position: fixed; z-index: 60; transform: translate(-50%, -100%);
|
|
2942
|
+
display: flex; gap: 2px; padding: 3px;
|
|
2943
|
+
border-radius: 10px; border: 1px solid rgba(160, 160, 160, .28);
|
|
2944
|
+
background: rgba(20, 20, 22, .82); color: #e6e6e6;
|
|
2945
|
+
font: 600 13px/1 system-ui, sans-serif;
|
|
2946
|
+
box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
|
|
2947
|
+
}
|
|
2948
|
+
.dl-fmt button {
|
|
2949
|
+
min-width: 30px; padding: 7px 9px; border: 0; border-radius: 7px;
|
|
2950
|
+
background: none; color: inherit; font: inherit; cursor: pointer;
|
|
2951
|
+
}
|
|
2952
|
+
.dl-fmt button:hover { background: rgba(255, 255, 255, .1); }
|
|
2953
|
+
.dl-fmt button.on { background: rgba(255, 255, 255, .2); }
|
|
2954
|
+
.dl-fmt .fmt-em { font-style: italic; font-weight: 500; }
|
|
2955
|
+
.dl-fmt .fmt-code { font-family: var(--font-mono, ui-monospace, monospace); font-weight: 500; }
|
|
2956
|
+
/* the grip: the bar moves (editbar.js); moved, it is positioned by its own
|
|
2957
|
+
left/top instead of the bottom-centre default */
|
|
2958
|
+
.decklight-editbar .eb-grip {
|
|
2959
|
+
display: inline-flex; align-items: center; align-self: stretch;
|
|
2960
|
+
padding: 0 6px 0 8px; margin-right: 2px;
|
|
2961
|
+
color: rgba(230, 230, 230, .55); font-size: 15px; line-height: 1;
|
|
2962
|
+
cursor: grab; user-select: none; touch-action: none;
|
|
2963
|
+
}
|
|
2964
|
+
.decklight-editbar .eb-grip:hover { color: #e6e6e6; }
|
|
2965
|
+
.decklight-editbar.eb-dragging .eb-grip, .decklight-editbar .eb-grip:active { cursor: grabbing; }
|
|
2966
|
+
.decklight-editbar.eb-moved { bottom: auto; transform: none; }
|
|
2967
|
+
.decklight-editbar.eb-dragging { transition: none; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); }
|
|
2968
|
+
.decklight-editbar .eb-btn {
|
|
2969
|
+
display: inline-flex; align-items: center; gap: 7px;
|
|
2970
|
+
padding: 8px 11px;
|
|
2971
|
+
border: 0; border-radius: 10px;
|
|
2972
|
+
background: none; color: inherit;
|
|
2973
|
+
font: inherit; cursor: pointer; white-space: nowrap;
|
|
2974
|
+
}
|
|
2975
|
+
.decklight-editbar .eb-btn:hover { background: rgba(255, 255, 255, .12); }
|
|
2976
|
+
.decklight-editbar .eb-btn:active { background: rgba(255, 255, 255, .2); }
|
|
2977
|
+
.decklight-editbar .eb-key {
|
|
2978
|
+
font: 600 10px/1 system-ui, sans-serif;
|
|
2979
|
+
padding: 3px 5px; border-radius: 5px;
|
|
2980
|
+
background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .7);
|
|
2981
|
+
}
|
|
2982
|
+
.decklight-editbar .eb-lock { margin-left: 4px; border-left: 1px solid rgba(255, 255, 255, .14); border-radius: 0 10px 10px 0; }
|
|
2983
|
+
.decklight-editbar .eb-file { display: none; }
|
|
2984
|
+
/* while editing: what the pointer is over, and what was chosen */
|
|
2985
|
+
.decklight.dl-editmode .decklight-stage section .dl-hover:not(.dl-selected):not(.dl-editing) { outline: 1px dashed color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 4px; border-radius: 2px; }
|
|
2986
|
+
.decklight .dl-selected { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
|
|
2987
|
+
.decklight .dl-handle {
|
|
2988
|
+
position: absolute; z-index: 42;
|
|
2989
|
+
width: 22px; height: 22px; padding: 0;
|
|
2990
|
+
border-radius: 999px; border: 0;
|
|
2991
|
+
background: var(--accent); color: var(--accent-contrast, #fff);
|
|
2992
|
+
font: 700 14px/22px system-ui, sans-serif; text-align: center;
|
|
2993
|
+
cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
|
|
2994
|
+
}
|
|
2995
|
+
@media print { .decklight-editbar, .decklight .dl-handle { display: none; } }
|
|
2996
|
+
|
|
2997
|
+
/* ---------- font picker (SPEC FONTS) — each row in its own face, its source on the right ---------- */
|
|
2998
|
+
/* the slide behind IS the preview: no blur, a light dim, the card off to the side */
|
|
2999
|
+
.decklight-narr.decklight-font-picker { background: rgba(0, 0, 0, .12); backdrop-filter: none; justify-content: flex-end; padding-right: 3vw; }
|
|
3000
|
+
.decklight-font-picker .narr-card { width: min(380px, 90vw); max-height: 86vh; overflow-y: auto; }
|
|
3001
|
+
.decklight-font-picker .fp-row .narr-row-label { font-size: 1.15em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
3002
|
+
.decklight-font-picker .fp-tag { flex: none; font-size: .72em; opacity: .6; white-space: nowrap; }
|
|
3003
|
+
.decklight-font-picker .fp-rec { opacity: .8; }
|
|
3004
|
+
.decklight-font-picker .fp-foot { margin: 10px 12px 2px; font-size: .72em; opacity: .55; }
|
|
3005
|
+
|
|
3006
|
+
/* ---------- a design system's look, offered (SPEC DESIGN_SYSTEMS) — the slide behind is the preview ---------- */
|
|
3007
|
+
.decklight-narr.decklight-look-offer { background: rgba(0, 0, 0, .12); backdrop-filter: none; align-items: flex-end; padding-bottom: 6vh; }
|
|
3008
|
+
.decklight-look-offer .narr-card { width: min(520px, 90vw); }
|
|
3009
|
+
.decklight-ds-templates .dsl-look .narr-row-label { color: #f5d77a; }
|
|
3010
|
+
|
|
3011
|
+
/* ---------- bleed (SPEC DECK_ANATOMY) — the current slide's background art, at screen size ----------
|
|
3012
|
+
A layer behind the stage, covering the viewport, so a 16:9 slide's art
|
|
3013
|
+
fills a 16:10 or 4:3 screen while its content stays on the stage. While a
|
|
3014
|
+
slide bleeds, its on-stage copy of the art is hidden — never drawn twice at
|
|
3015
|
+
two scales. Only the stage's own sections: overview and finder thumbnails
|
|
3016
|
+
are clones elsewhere, and keep their art. */
|
|
3017
|
+
.decklight-bleed { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
|
|
3018
|
+
.decklight-bleed .bleed-piece { position: absolute; inset: 0; background-repeat: no-repeat; }
|
|
3019
|
+
.decklight-bleed .bleed-piece > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
|
|
3020
|
+
.decklight-bleed .bleed-dim { position: absolute; inset: 0; }
|
|
3021
|
+
.decklight-stage > section[data-bled] > .slide-bg { visibility: hidden; }
|
|
3022
|
+
.decklight-stage > section[data-bled] [data-ds-bleed] { background: none !important; }
|
|
3023
|
+
/* the notes card's unsaved mark: full strength beside a dimmed heading (#646) */
|
|
3024
|
+
.decklight-editor .notes-dirty-mark { flex: none; margin-right: 8px; font-size: .78em; color: #f5d77a; opacity: 1; }
|
|
3025
|
+
/* …and "saved", for a moment, once an autosave has landed: the mark says it, not a toast */
|
|
3026
|
+
.decklight-editor .notes-dirty-mark.notes-saved-mark { color: #8fd694; }
|
|
3027
|
+
|
|
3028
|
+
/* the log panel: both tabs in one place, the messages' corner, above the deck's
|
|
3029
|
+
own chrome. The per-view rules above (.decklight-msglog, .decklight-debug)
|
|
3030
|
+
still style what is inside. */
|
|
3031
|
+
.decklight-log.decklight-msglog,
|
|
3032
|
+
.decklight-log.decklight-debug {
|
|
3033
|
+
top: 18px; left: 18px; right: auto; bottom: auto;
|
|
3034
|
+
width: min(70ch, 80%); max-height: 70%;
|
|
3035
|
+
z-index: 85;
|
|
3036
|
+
}
|
|
3037
|
+
.decklight-log .log-tabs {
|
|
3038
|
+
display: flex; align-items: center; gap: 4px;
|
|
3039
|
+
padding: 8px 10px; background: rgba(255, 255, 255, .07);
|
|
3040
|
+
font: 600 13px var(--font-mono, monospace);
|
|
3041
|
+
}
|
|
3042
|
+
.decklight-log .log-tab {
|
|
3043
|
+
background: none; border: 0; border-radius: 5px; padding: 3px 9px;
|
|
3044
|
+
color: inherit; font: inherit; letter-spacing: .04em; text-transform: uppercase;
|
|
3045
|
+
opacity: .55; cursor: pointer;
|
|
3046
|
+
}
|
|
3047
|
+
.decklight-log .log-tab:hover { opacity: .9; background: rgba(255, 255, 255, .08); }
|
|
3048
|
+
.decklight-log .log-tab-on { opacity: 1; cursor: default; box-shadow: inset 0 -2px 0 var(--accent, #6af); border-radius: 5px 5px 0 0; }
|
|
3049
|
+
.decklight-log .log-hint { margin-left: auto; opacity: .5; font-weight: 400; font-size: 12px; }
|
|
3050
|
+
.decklight-log .log-hint kbd {
|
|
3051
|
+
display: inline-block; min-width: 1.4em; padding: 0 5px; text-align: center;
|
|
3052
|
+
border: 1px solid rgba(255, 255, 255, .25); border-radius: 4px;
|
|
3053
|
+
}
|
|
3054
|
+
/* the content editor's way back to the inspector (its HTML tab's other end) */
|
|
3055
|
+
.decklight-editor .ed-to-inspector {
|
|
3056
|
+
background: none; border: 1px solid rgba(255, 255, 255, .18); border-radius: 5px;
|
|
3057
|
+
color: inherit; font: inherit; font-size: 12px; padding: 2px 8px; cursor: pointer; opacity: .8;
|
|
3058
|
+
}
|
|
3059
|
+
.decklight-editor .ed-to-inspector:hover { opacity: 1; background: rgba(255, 255, 255, .08); }
|
|
3060
|
+
|
|
1984
3061
|
|
|
1985
3062
|
/* Copyright 2026 Gilles Philippart
|
|
1986
3063
|
SPDX-License-Identifier: Apache-2.0 */
|