@canonical/motion-control 0.0.0-stage → 0.47.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/README.md +300 -2
- package/cast.schema.json +101 -0
- package/dist/esm/cli.js +30 -0
- package/dist/esm/cli.js.map +1 -0
- package/dist/esm/global.js +7 -0
- package/dist/esm/global.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lib/cast/checkCasts.js +34 -0
- package/dist/esm/lib/cast/checkCasts.js.map +1 -0
- package/dist/esm/lib/cast/checkScene.js +58 -0
- package/dist/esm/lib/cast/checkScene.js.map +1 -0
- package/dist/esm/lib/cast/checkStep.js +73 -0
- package/dist/esm/lib/cast/checkStep.js.map +1 -0
- package/dist/esm/lib/cast/constants.js +53 -0
- package/dist/esm/lib/cast/constants.js.map +1 -0
- package/dist/esm/lib/cast/formatReport.js +22 -0
- package/dist/esm/lib/cast/formatReport.js.map +1 -0
- package/dist/esm/lib/cast/index.js +10 -0
- package/dist/esm/lib/cast/index.js.map +1 -0
- package/dist/esm/lib/cast/listFrameNames.js +19 -0
- package/dist/esm/lib/cast/listFrameNames.js.map +1 -0
- package/dist/esm/lib/cast/measureScene.js +11 -0
- package/dist/esm/lib/cast/measureScene.js.map +1 -0
- package/dist/esm/lib/cast/measureStep.js +21 -0
- package/dist/esm/lib/cast/measureStep.js.map +1 -0
- package/dist/esm/lib/cast/measureTyping.js +13 -0
- package/dist/esm/lib/cast/measureTyping.js.map +1 -0
- package/dist/esm/lib/cast/types.js +2 -0
- package/dist/esm/lib/cast/types.js.map +1 -0
- package/dist/esm/lib/gif/compressLzw.js +61 -0
- package/dist/esm/lib/gif/compressLzw.js.map +1 -0
- package/dist/esm/lib/gif/constants.js +9 -0
- package/dist/esm/lib/gif/constants.js.map +1 -0
- package/dist/esm/lib/gif/encodeGif.js +45 -0
- package/dist/esm/lib/gif/encodeGif.js.map +1 -0
- package/dist/esm/lib/gif/index.js +6 -0
- package/dist/esm/lib/gif/index.js.map +1 -0
- package/dist/esm/lib/gif/mergeStills.js +32 -0
- package/dist/esm/lib/gif/mergeStills.js.map +1 -0
- package/dist/esm/lib/gif/quantizePictures.js +75 -0
- package/dist/esm/lib/gif/quantizePictures.js.map +1 -0
- package/dist/esm/lib/gif/types.js +2 -0
- package/dist/esm/lib/gif/types.js.map +1 -0
- package/dist/esm/lib/index.js +3 -0
- package/dist/esm/lib/index.js.map +1 -0
- package/dist/esm/lib/moment/constants.js +33 -0
- package/dist/esm/lib/moment/constants.js.map +1 -0
- package/dist/esm/lib/moment/describeAction.js +20 -0
- package/dist/esm/lib/moment/describeAction.js.map +1 -0
- package/dist/esm/lib/moment/describeKeyRun.js +53 -0
- package/dist/esm/lib/moment/describeKeyRun.js.map +1 -0
- package/dist/esm/lib/moment/describeMoment.js +323 -0
- package/dist/esm/lib/moment/describeMoment.js.map +1 -0
- package/dist/esm/lib/moment/easeInOut.js +12 -0
- package/dist/esm/lib/moment/easeInOut.js.map +1 -0
- package/dist/esm/lib/moment/index.js +8 -0
- package/dist/esm/lib/moment/index.js.map +1 -0
- package/dist/esm/lib/moment/resolveStates.js +82 -0
- package/dist/esm/lib/moment/resolveStates.js.map +1 -0
- package/dist/esm/lib/moment/takeSpan.js +12 -0
- package/dist/esm/lib/moment/takeSpan.js.map +1 -0
- package/dist/esm/lib/moment/types.js +2 -0
- package/dist/esm/lib/moment/types.js.map +1 -0
- package/dist/esm/lib/player/Player.js +498 -0
- package/dist/esm/lib/player/Player.js.map +1 -0
- package/dist/esm/lib/player/announceHeight.js +30 -0
- package/dist/esm/lib/player/announceHeight.js.map +1 -0
- package/dist/esm/lib/player/applyMoment.js +155 -0
- package/dist/esm/lib/player/applyMoment.js.map +1 -0
- package/dist/esm/lib/player/assertPresent.js +14 -0
- package/dist/esm/lib/player/assertPresent.js.map +1 -0
- package/dist/esm/lib/player/collectFrames.js +30 -0
- package/dist/esm/lib/player/collectFrames.js.map +1 -0
- package/dist/esm/lib/player/collectStyles.js +24 -0
- package/dist/esm/lib/player/collectStyles.js.map +1 -0
- package/dist/esm/lib/player/constants.js +101 -0
- package/dist/esm/lib/player/constants.js.map +1 -0
- package/dist/esm/lib/player/defaultProfile.js +50 -0
- package/dist/esm/lib/player/defaultProfile.js.map +1 -0
- package/dist/esm/lib/player/drawMarkup.js +36 -0
- package/dist/esm/lib/player/drawMarkup.js.map +1 -0
- package/dist/esm/lib/player/drawScene.js +32 -0
- package/dist/esm/lib/player/drawScene.js.map +1 -0
- package/dist/esm/lib/player/drawSprites.js +122 -0
- package/dist/esm/lib/player/drawSprites.js.map +1 -0
- package/dist/esm/lib/player/fitEmbeds.js +42 -0
- package/dist/esm/lib/player/fitEmbeds.js.map +1 -0
- package/dist/esm/lib/player/fitSlide.js +27 -0
- package/dist/esm/lib/player/fitSlide.js.map +1 -0
- package/dist/esm/lib/player/formatKey.js +13 -0
- package/dist/esm/lib/player/formatKey.js.map +1 -0
- package/dist/esm/lib/player/formatKeySign.js +12 -0
- package/dist/esm/lib/player/formatKeySign.js.map +1 -0
- package/dist/esm/lib/player/formatSpeed.js +11 -0
- package/dist/esm/lib/player/formatSpeed.js.map +1 -0
- package/dist/esm/lib/player/formatTime.js +18 -0
- package/dist/esm/lib/player/formatTime.js.map +1 -0
- package/dist/esm/lib/player/index.js +30 -0
- package/dist/esm/lib/player/index.js.map +1 -0
- package/dist/esm/lib/player/installStateRules.js +25 -0
- package/dist/esm/lib/player/installStateRules.js.map +1 -0
- package/dist/esm/lib/player/listHidden.js +24 -0
- package/dist/esm/lib/player/listHidden.js.map +1 -0
- package/dist/esm/lib/player/makeElement.js +15 -0
- package/dist/esm/lib/player/makeElement.js.map +1 -0
- package/dist/esm/lib/player/mergeProfile.js +17 -0
- package/dist/esm/lib/player/mergeProfile.js.map +1 -0
- package/dist/esm/lib/player/mirrorStates.js +23 -0
- package/dist/esm/lib/player/mirrorStates.js.map +1 -0
- package/dist/esm/lib/player/mountScenes.js +100 -0
- package/dist/esm/lib/player/mountScenes.js.map +1 -0
- package/dist/esm/lib/player/readLayerBox.js +20 -0
- package/dist/esm/lib/player/readLayerBox.js.map +1 -0
- package/dist/esm/lib/player/recordGif.js +63 -0
- package/dist/esm/lib/player/recordGif.js.map +1 -0
- package/dist/esm/lib/player/recordVideo.js +114 -0
- package/dist/esm/lib/player/recordVideo.js.map +1 -0
- package/dist/esm/lib/player/renderLegend.js +27 -0
- package/dist/esm/lib/player/renderLegend.js.map +1 -0
- package/dist/esm/lib/player/saveFile.js +22 -0
- package/dist/esm/lib/player/saveFile.js.map +1 -0
- package/dist/esm/lib/player/serializeElement.js +36 -0
- package/dist/esm/lib/player/serializeElement.js.map +1 -0
- package/dist/esm/lib/player/types.js +2 -0
- package/dist/esm/lib/player/types.js.map +1 -0
- package/dist/esm/lib/player/wrapSlide.js +28 -0
- package/dist/esm/lib/player/wrapSlide.js.map +1 -0
- package/dist/esm/lib/timeline/advanceClock.js +24 -0
- package/dist/esm/lib/timeline/advanceClock.js.map +1 -0
- package/dist/esm/lib/timeline/buildTimeline.js +47 -0
- package/dist/esm/lib/timeline/buildTimeline.js.map +1 -0
- package/dist/esm/lib/timeline/constants.js +3 -0
- package/dist/esm/lib/timeline/constants.js.map +1 -0
- package/dist/esm/lib/timeline/findKeyframe.js +11 -0
- package/dist/esm/lib/timeline/findKeyframe.js.map +1 -0
- package/dist/esm/lib/timeline/index.js +7 -0
- package/dist/esm/lib/timeline/index.js.map +1 -0
- package/dist/esm/lib/timeline/locateTime.js +21 -0
- package/dist/esm/lib/timeline/locateTime.js.map +1 -0
- package/dist/esm/lib/timeline/stepKeyframe.js +20 -0
- package/dist/esm/lib/timeline/stepKeyframe.js.map +1 -0
- package/dist/esm/lib/timeline/types.js +2 -0
- package/dist/esm/lib/timeline/types.js.map +1 -0
- package/dist/esm/lib/video/constants.js +7 -0
- package/dist/esm/lib/video/constants.js.map +1 -0
- package/dist/esm/lib/video/index.js +4 -0
- package/dist/esm/lib/video/index.js.map +1 -0
- package/dist/esm/lib/video/types.js +2 -0
- package/dist/esm/lib/video/types.js.map +1 -0
- package/dist/esm/lib/video/writeBox.js +21 -0
- package/dist/esm/lib/video/writeBox.js.map +1 -0
- package/dist/esm/lib/video/writeMp4.js +45 -0
- package/dist/esm/lib/video/writeMp4.js.map +1 -0
- package/dist/motion.css +581 -0
- package/dist/motion.global.js +1534 -0
- package/dist/types/cli.d.ts +3 -0
- package/dist/types/cli.d.ts.map +1 -0
- package/dist/types/global.d.ts +2 -0
- package/dist/types/global.d.ts.map +1 -0
- package/dist/types/index.d.ts +17 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/lib/cast/checkCasts.d.ts +15 -0
- package/dist/types/lib/cast/checkCasts.d.ts.map +1 -0
- package/dist/types/lib/cast/checkScene.d.ts +11 -0
- package/dist/types/lib/cast/checkScene.d.ts.map +1 -0
- package/dist/types/lib/cast/checkStep.d.ts +12 -0
- package/dist/types/lib/cast/checkStep.d.ts.map +1 -0
- package/dist/types/lib/cast/constants.d.ts +20 -0
- package/dist/types/lib/cast/constants.d.ts.map +1 -0
- package/dist/types/lib/cast/formatReport.d.ts +11 -0
- package/dist/types/lib/cast/formatReport.d.ts.map +1 -0
- package/dist/types/lib/cast/index.d.ts +11 -0
- package/dist/types/lib/cast/index.d.ts.map +1 -0
- package/dist/types/lib/cast/listFrameNames.d.ts +8 -0
- package/dist/types/lib/cast/listFrameNames.d.ts.map +1 -0
- package/dist/types/lib/cast/measureScene.d.ts +9 -0
- package/dist/types/lib/cast/measureScene.d.ts.map +1 -0
- package/dist/types/lib/cast/measureStep.d.ts +13 -0
- package/dist/types/lib/cast/measureStep.d.ts.map +1 -0
- package/dist/types/lib/cast/measureTyping.d.ts +12 -0
- package/dist/types/lib/cast/measureTyping.d.ts.map +1 -0
- package/dist/types/lib/cast/types.d.ts +87 -0
- package/dist/types/lib/cast/types.d.ts.map +1 -0
- package/dist/types/lib/gif/compressLzw.d.ts +9 -0
- package/dist/types/lib/gif/compressLzw.d.ts.map +1 -0
- package/dist/types/lib/gif/constants.d.ts +9 -0
- package/dist/types/lib/gif/constants.d.ts.map +1 -0
- package/dist/types/lib/gif/encodeGif.d.ts +13 -0
- package/dist/types/lib/gif/encodeGif.d.ts.map +1 -0
- package/dist/types/lib/gif/index.d.ts +7 -0
- package/dist/types/lib/gif/index.d.ts.map +1 -0
- package/dist/types/lib/gif/mergeStills.d.ts +12 -0
- package/dist/types/lib/gif/mergeStills.d.ts.map +1 -0
- package/dist/types/lib/gif/quantizePictures.d.ts +13 -0
- package/dist/types/lib/gif/quantizePictures.d.ts.map +1 -0
- package/dist/types/lib/gif/types.d.ts +22 -0
- package/dist/types/lib/gif/types.d.ts.map +1 -0
- package/dist/types/lib/index.d.ts +3 -0
- package/dist/types/lib/index.d.ts.map +1 -0
- package/dist/types/lib/moment/constants.d.ts +33 -0
- package/dist/types/lib/moment/constants.d.ts.map +1 -0
- package/dist/types/lib/moment/describeAction.d.ts +9 -0
- package/dist/types/lib/moment/describeAction.d.ts.map +1 -0
- package/dist/types/lib/moment/describeKeyRun.d.ts +18 -0
- package/dist/types/lib/moment/describeKeyRun.d.ts.map +1 -0
- package/dist/types/lib/moment/describeMoment.d.ts +16 -0
- package/dist/types/lib/moment/describeMoment.d.ts.map +1 -0
- package/dist/types/lib/moment/easeInOut.d.ts +8 -0
- package/dist/types/lib/moment/easeInOut.d.ts.map +1 -0
- package/dist/types/lib/moment/index.d.ts +9 -0
- package/dist/types/lib/moment/index.d.ts.map +1 -0
- package/dist/types/lib/moment/resolveStates.d.ts +18 -0
- package/dist/types/lib/moment/resolveStates.d.ts.map +1 -0
- package/dist/types/lib/moment/takeSpan.d.ts +10 -0
- package/dist/types/lib/moment/takeSpan.d.ts.map +1 -0
- package/dist/types/lib/moment/types.d.ts +187 -0
- package/dist/types/lib/moment/types.d.ts.map +1 -0
- package/dist/types/lib/player/Player.d.ts +134 -0
- package/dist/types/lib/player/Player.d.ts.map +1 -0
- package/dist/types/lib/player/announceHeight.d.ts +12 -0
- package/dist/types/lib/player/announceHeight.d.ts.map +1 -0
- package/dist/types/lib/player/applyMoment.d.ts +21 -0
- package/dist/types/lib/player/applyMoment.d.ts.map +1 -0
- package/dist/types/lib/player/assertPresent.d.ts +10 -0
- package/dist/types/lib/player/assertPresent.d.ts.map +1 -0
- package/dist/types/lib/player/collectFrames.d.ts +11 -0
- package/dist/types/lib/player/collectFrames.d.ts.map +1 -0
- package/dist/types/lib/player/collectStyles.d.ts +12 -0
- package/dist/types/lib/player/collectStyles.d.ts.map +1 -0
- package/dist/types/lib/player/constants.d.ts +80 -0
- package/dist/types/lib/player/constants.d.ts.map +1 -0
- package/dist/types/lib/player/defaultProfile.d.ts +8 -0
- package/dist/types/lib/player/defaultProfile.d.ts.map +1 -0
- package/dist/types/lib/player/drawMarkup.d.ts +15 -0
- package/dist/types/lib/player/drawMarkup.d.ts.map +1 -0
- package/dist/types/lib/player/drawScene.d.ts +23 -0
- package/dist/types/lib/player/drawScene.d.ts.map +1 -0
- package/dist/types/lib/player/drawSprites.d.ts +35 -0
- package/dist/types/lib/player/drawSprites.d.ts.map +1 -0
- package/dist/types/lib/player/fitEmbeds.d.ts +13 -0
- package/dist/types/lib/player/fitEmbeds.d.ts.map +1 -0
- package/dist/types/lib/player/fitSlide.d.ts +24 -0
- package/dist/types/lib/player/fitSlide.d.ts.map +1 -0
- package/dist/types/lib/player/formatKey.d.ts +9 -0
- package/dist/types/lib/player/formatKey.d.ts.map +1 -0
- package/dist/types/lib/player/formatKeySign.d.ts +9 -0
- package/dist/types/lib/player/formatKeySign.d.ts.map +1 -0
- package/dist/types/lib/player/formatSpeed.d.ts +9 -0
- package/dist/types/lib/player/formatSpeed.d.ts.map +1 -0
- package/dist/types/lib/player/formatTime.d.ts +12 -0
- package/dist/types/lib/player/formatTime.d.ts.map +1 -0
- package/dist/types/lib/player/index.d.ts +31 -0
- package/dist/types/lib/player/index.d.ts.map +1 -0
- package/dist/types/lib/player/installStateRules.d.ts +12 -0
- package/dist/types/lib/player/installStateRules.d.ts.map +1 -0
- package/dist/types/lib/player/listHidden.d.ts +12 -0
- package/dist/types/lib/player/listHidden.d.ts.map +1 -0
- package/dist/types/lib/player/makeElement.d.ts +10 -0
- package/dist/types/lib/player/makeElement.d.ts.map +1 -0
- package/dist/types/lib/player/mergeProfile.d.ts +9 -0
- package/dist/types/lib/player/mergeProfile.d.ts.map +1 -0
- package/dist/types/lib/player/mirrorStates.d.ts +12 -0
- package/dist/types/lib/player/mirrorStates.d.ts.map +1 -0
- package/dist/types/lib/player/mountScenes.d.ts +25 -0
- package/dist/types/lib/player/mountScenes.d.ts.map +1 -0
- package/dist/types/lib/player/readLayerBox.d.ts +23 -0
- package/dist/types/lib/player/readLayerBox.d.ts.map +1 -0
- package/dist/types/lib/player/recordGif.d.ts +16 -0
- package/dist/types/lib/player/recordGif.d.ts.map +1 -0
- package/dist/types/lib/player/recordVideo.d.ts +19 -0
- package/dist/types/lib/player/recordVideo.d.ts.map +1 -0
- package/dist/types/lib/player/renderLegend.d.ts +8 -0
- package/dist/types/lib/player/renderLegend.d.ts.map +1 -0
- package/dist/types/lib/player/saveFile.d.ts +13 -0
- package/dist/types/lib/player/saveFile.d.ts.map +1 -0
- package/dist/types/lib/player/serializeElement.d.ts +14 -0
- package/dist/types/lib/player/serializeElement.d.ts.map +1 -0
- package/dist/types/lib/player/types.d.ts +321 -0
- package/dist/types/lib/player/types.d.ts.map +1 -0
- package/dist/types/lib/player/wrapSlide.d.ts +17 -0
- package/dist/types/lib/player/wrapSlide.d.ts.map +1 -0
- package/dist/types/lib/timeline/advanceClock.d.ts +16 -0
- package/dist/types/lib/timeline/advanceClock.d.ts.map +1 -0
- package/dist/types/lib/timeline/buildTimeline.d.ts +15 -0
- package/dist/types/lib/timeline/buildTimeline.d.ts.map +1 -0
- package/dist/types/lib/timeline/constants.d.ts +3 -0
- package/dist/types/lib/timeline/constants.d.ts.map +1 -0
- package/dist/types/lib/timeline/findKeyframe.d.ts +10 -0
- package/dist/types/lib/timeline/findKeyframe.d.ts.map +1 -0
- package/dist/types/lib/timeline/index.d.ts +8 -0
- package/dist/types/lib/timeline/index.d.ts.map +1 -0
- package/dist/types/lib/timeline/locateTime.d.ts +10 -0
- package/dist/types/lib/timeline/locateTime.d.ts.map +1 -0
- package/dist/types/lib/timeline/stepKeyframe.d.ts +12 -0
- package/dist/types/lib/timeline/stepKeyframe.d.ts.map +1 -0
- package/dist/types/lib/timeline/types.d.ts +40 -0
- package/dist/types/lib/timeline/types.d.ts.map +1 -0
- package/dist/types/lib/video/constants.d.ts +5 -0
- package/dist/types/lib/video/constants.d.ts.map +1 -0
- package/dist/types/lib/video/index.d.ts +5 -0
- package/dist/types/lib/video/index.d.ts.map +1 -0
- package/dist/types/lib/video/types.d.ts +21 -0
- package/dist/types/lib/video/types.d.ts.map +1 -0
- package/dist/types/lib/video/writeBox.d.ts +9 -0
- package/dist/types/lib/video/writeBox.d.ts.map +1 -0
- package/dist/types/lib/video/writeMp4.d.ts +10 -0
- package/dist/types/lib/video/writeMp4.d.ts.map +1 -0
- package/package.json +105 -4
- package/skills/design-motion-frames/SKILL.md +183 -0
package/dist/motion.css
ADDED
|
@@ -0,0 +1,581 @@
|
|
|
1
|
+
/* motion: the figure, the interaction layer and its symbols, and the panel under the screen.
|
|
2
|
+
Colours come from custom properties with fallbacks, so a host maps them to its own tokens:
|
|
3
|
+
--mo the interaction layer's own colour, used by nothing in the product
|
|
4
|
+
--mo-paper --mo-rule the host's ground and hairline, for the screen and the legend
|
|
5
|
+
--mo-bg --mo-fg --mo-edge the panel and the frame round the figure: dark in every theme */
|
|
6
|
+
|
|
7
|
+
/* One framed object: the screen, and under it the panel. */
|
|
8
|
+
.motion-figure {
|
|
9
|
+
margin: 0;
|
|
10
|
+
display: grid;
|
|
11
|
+
grid-template-columns: minmax(0, 1fr);
|
|
12
|
+
min-width: 0;
|
|
13
|
+
border: 1px solid var(--mo-edge, var(--mo-bg, #111));
|
|
14
|
+
background: var(--mo-paper, #fff);
|
|
15
|
+
}
|
|
16
|
+
.mo-out {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-wrap: wrap;
|
|
19
|
+
gap: 44px 28px;
|
|
20
|
+
align-items: start;
|
|
21
|
+
}
|
|
22
|
+
.mo-phone {
|
|
23
|
+
width: min(340px, 100%);
|
|
24
|
+
}
|
|
25
|
+
.mo-wide {
|
|
26
|
+
flex: 1 1 100%;
|
|
27
|
+
max-width: 1136px;
|
|
28
|
+
}
|
|
29
|
+
.mo-screen {
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
position: relative;
|
|
32
|
+
}
|
|
33
|
+
.mo-layer {
|
|
34
|
+
position: absolute;
|
|
35
|
+
inset: 0;
|
|
36
|
+
pointer-events: none;
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
z-index: 5;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* the symbols */
|
|
42
|
+
.mo-touch {
|
|
43
|
+
position: absolute;
|
|
44
|
+
width: 30px;
|
|
45
|
+
height: 30px;
|
|
46
|
+
border-radius: 50%;
|
|
47
|
+
transform: translate(-50%, -50%);
|
|
48
|
+
border: 1.5px solid var(--mo, #6a35e8);
|
|
49
|
+
background: color-mix(in oklab, var(--mo, #6a35e8) 14%, transparent);
|
|
50
|
+
box-shadow: 0 0 0 2px var(--mo-paper, #fff);
|
|
51
|
+
}
|
|
52
|
+
.mo-touch.down {
|
|
53
|
+
background: color-mix(in oklab, var(--mo, #6a35e8) 42%, transparent);
|
|
54
|
+
}
|
|
55
|
+
.mo-touch > svg {
|
|
56
|
+
position: absolute;
|
|
57
|
+
inset: -5px;
|
|
58
|
+
transform: rotate(-90deg);
|
|
59
|
+
}
|
|
60
|
+
.mo-touch circle {
|
|
61
|
+
fill: none;
|
|
62
|
+
stroke: var(--mo, #6a35e8);
|
|
63
|
+
stroke-width: 2.5;
|
|
64
|
+
}
|
|
65
|
+
.mo-ring {
|
|
66
|
+
position: absolute;
|
|
67
|
+
width: 30px;
|
|
68
|
+
height: 30px;
|
|
69
|
+
border-radius: 50%;
|
|
70
|
+
transform: translate(-50%, -50%);
|
|
71
|
+
border: 1.5px solid var(--mo, #6a35e8);
|
|
72
|
+
}
|
|
73
|
+
.mo-ring.sm {
|
|
74
|
+
width: 22px;
|
|
75
|
+
height: 22px;
|
|
76
|
+
}
|
|
77
|
+
.mo-tail {
|
|
78
|
+
position: absolute;
|
|
79
|
+
height: 3px;
|
|
80
|
+
margin-top: -1.5px;
|
|
81
|
+
border-radius: 2px;
|
|
82
|
+
background: linear-gradient(to left, transparent, var(--mo, #6a35e8));
|
|
83
|
+
}
|
|
84
|
+
.mo-tail.rev {
|
|
85
|
+
background: linear-gradient(to right, transparent, var(--mo, #6a35e8));
|
|
86
|
+
}
|
|
87
|
+
.mo-tail.v {
|
|
88
|
+
width: 3px;
|
|
89
|
+
height: 0;
|
|
90
|
+
margin-top: 0;
|
|
91
|
+
margin-left: -1.5px;
|
|
92
|
+
background: linear-gradient(to top, transparent, var(--mo, #6a35e8));
|
|
93
|
+
}
|
|
94
|
+
.mo-tail.v.rev {
|
|
95
|
+
background: linear-gradient(to bottom, transparent, var(--mo, #6a35e8));
|
|
96
|
+
}
|
|
97
|
+
.mo-ptr {
|
|
98
|
+
position: absolute;
|
|
99
|
+
margin: -1px 0 0 -1px;
|
|
100
|
+
line-height: 0;
|
|
101
|
+
}
|
|
102
|
+
.mo-wheel {
|
|
103
|
+
position: absolute;
|
|
104
|
+
width: 12px;
|
|
105
|
+
height: 22px;
|
|
106
|
+
border: 1.5px solid var(--mo, #6a35e8);
|
|
107
|
+
border-radius: 7px;
|
|
108
|
+
background: var(--mo-paper, #fff);
|
|
109
|
+
display: grid;
|
|
110
|
+
place-items: center;
|
|
111
|
+
}
|
|
112
|
+
.mo-wheel > i {
|
|
113
|
+
width: 2.5px;
|
|
114
|
+
height: 6px;
|
|
115
|
+
border-radius: 2px;
|
|
116
|
+
background: var(--mo, #6a35e8);
|
|
117
|
+
}
|
|
118
|
+
/* Named keys as a sign: one row in the corner, the newest key in the corner itself and the earlier ones of the
|
|
119
|
+
run beside it, fainter by age; the sign that words are arriving joins the row at its end. */
|
|
120
|
+
.mo-key-run {
|
|
121
|
+
position: absolute;
|
|
122
|
+
inset-inline-end: 12px;
|
|
123
|
+
bottom: 12px;
|
|
124
|
+
display: flex;
|
|
125
|
+
gap: 6px;
|
|
126
|
+
align-items: flex-end;
|
|
127
|
+
}
|
|
128
|
+
.mo-key {
|
|
129
|
+
padding: 1px 9px 2px;
|
|
130
|
+
border: 1.5px solid var(--mo, #6a35e8);
|
|
131
|
+
border-bottom-width: 3.5px;
|
|
132
|
+
border-radius: 4px;
|
|
133
|
+
background: var(--mo-paper, #fff);
|
|
134
|
+
color: var(--mo, #6a35e8);
|
|
135
|
+
font-weight: 600;
|
|
136
|
+
}
|
|
137
|
+
.mo-key.down {
|
|
138
|
+
border-bottom-width: 1.5px;
|
|
139
|
+
background: color-mix(
|
|
140
|
+
in oklab,
|
|
141
|
+
var(--mo, #6a35e8) 16%,
|
|
142
|
+
var(--mo-paper, #fff)
|
|
143
|
+
);
|
|
144
|
+
}
|
|
145
|
+
/* Keys shown as letters: a strip of keystrokes with the sign of typing, the last letters typed, the newest
|
|
146
|
+
marked, and a named key as a cap after them. It stands over the frame's line by a gap a page can set, and at
|
|
147
|
+
the foot of the screen when the frame has no line. */
|
|
148
|
+
.mo-keys {
|
|
149
|
+
position: absolute;
|
|
150
|
+
inset-inline: 0;
|
|
151
|
+
bottom: calc(var(--mo-keys-over, 6px) + var(--mo-keys-gap, 10px));
|
|
152
|
+
width: max-content;
|
|
153
|
+
max-width: calc(100% - 32px);
|
|
154
|
+
margin-inline: auto;
|
|
155
|
+
display: flex;
|
|
156
|
+
gap: 10px;
|
|
157
|
+
align-items: baseline;
|
|
158
|
+
padding: 6px 14px 7px;
|
|
159
|
+
overflow: hidden;
|
|
160
|
+
font-size: 1.15em;
|
|
161
|
+
white-space: pre;
|
|
162
|
+
border-radius: 6px;
|
|
163
|
+
background: var(--mo, #6a35e8);
|
|
164
|
+
color: var(--mo-paper, #fff);
|
|
165
|
+
}
|
|
166
|
+
.mo-keys-sign {
|
|
167
|
+
font-size: 0.8em;
|
|
168
|
+
letter-spacing: 0.08em;
|
|
169
|
+
opacity: 0.65;
|
|
170
|
+
}
|
|
171
|
+
.mo-keys-past {
|
|
172
|
+
margin-inline-end: -10px;
|
|
173
|
+
opacity: 0.8;
|
|
174
|
+
}
|
|
175
|
+
.mo-keys > b {
|
|
176
|
+
font-weight: 600;
|
|
177
|
+
text-decoration: underline;
|
|
178
|
+
text-underline-offset: 3px;
|
|
179
|
+
}
|
|
180
|
+
.mo-keys-past:empty,
|
|
181
|
+
.mo-keys > b:empty {
|
|
182
|
+
display: none;
|
|
183
|
+
}
|
|
184
|
+
.mo-keys-cap {
|
|
185
|
+
padding: 0 8px 1px;
|
|
186
|
+
font: inherit;
|
|
187
|
+
font-weight: 600;
|
|
188
|
+
border: 1.5px solid currentColor;
|
|
189
|
+
border-bottom-width: 3px;
|
|
190
|
+
border-radius: 4px;
|
|
191
|
+
}
|
|
192
|
+
.mo-keys-cap.down {
|
|
193
|
+
border-bottom-width: 1.5px;
|
|
194
|
+
background: color-mix(in oklab, currentColor 22%, transparent);
|
|
195
|
+
}
|
|
196
|
+
.mo-key.mo-typing {
|
|
197
|
+
font-weight: 400;
|
|
198
|
+
letter-spacing: 0.08em;
|
|
199
|
+
}
|
|
200
|
+
.mo-stuck {
|
|
201
|
+
position: relative;
|
|
202
|
+
z-index: 1;
|
|
203
|
+
background: var(--mo-paper, #fff);
|
|
204
|
+
box-shadow: 0 1px 0 var(--mo-rule, #d5d9d5);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/* The panel: the title, the frame in view, the caption and the controls, on one grid of three columns.
|
|
208
|
+
Every row puts a short token first, what it is about second, and a value last. */
|
|
209
|
+
.mo-meta {
|
|
210
|
+
--mo-first: 56px;
|
|
211
|
+
background: var(--mo-bg, #111);
|
|
212
|
+
color: var(--mo-fg, #f4f4f0);
|
|
213
|
+
display: grid;
|
|
214
|
+
grid-template-columns: var(--mo-first) minmax(0, 1fr) auto;
|
|
215
|
+
column-gap: 12px;
|
|
216
|
+
row-gap: 2px;
|
|
217
|
+
align-items: baseline;
|
|
218
|
+
padding: 9px 12px 10px;
|
|
219
|
+
}
|
|
220
|
+
.mo-wide .mo-meta {
|
|
221
|
+
--mo-first: 110px;
|
|
222
|
+
padding-inline: 16px;
|
|
223
|
+
}
|
|
224
|
+
.mo-meta button {
|
|
225
|
+
font: inherit;
|
|
226
|
+
background: none;
|
|
227
|
+
border: 0;
|
|
228
|
+
padding: 0;
|
|
229
|
+
cursor: pointer;
|
|
230
|
+
color: inherit;
|
|
231
|
+
}
|
|
232
|
+
.mo-rule {
|
|
233
|
+
grid-column: 1 / -1;
|
|
234
|
+
height: 1px;
|
|
235
|
+
margin-block: 7px;
|
|
236
|
+
background: color-mix(in oklab, var(--mo-fg, #f4f4f0) 22%, transparent);
|
|
237
|
+
}
|
|
238
|
+
/* the first column */
|
|
239
|
+
.mo-kind,
|
|
240
|
+
.mo-count {
|
|
241
|
+
opacity: 0.6;
|
|
242
|
+
white-space: nowrap;
|
|
243
|
+
overflow: hidden;
|
|
244
|
+
text-overflow: ellipsis;
|
|
245
|
+
}
|
|
246
|
+
.mo-code {
|
|
247
|
+
font-weight: 600;
|
|
248
|
+
text-align: start;
|
|
249
|
+
}
|
|
250
|
+
.mo-count {
|
|
251
|
+
font-variant-numeric: tabular-nums;
|
|
252
|
+
}
|
|
253
|
+
/* the second column */
|
|
254
|
+
.mo-head,
|
|
255
|
+
.mo-name {
|
|
256
|
+
white-space: nowrap;
|
|
257
|
+
overflow: hidden;
|
|
258
|
+
text-overflow: ellipsis;
|
|
259
|
+
}
|
|
260
|
+
/* The frame in view and the interaction share the row from the second column to the end: the interaction can be
|
|
261
|
+
long, and keeps to the end, on the edge where the third column's values end. */
|
|
262
|
+
.mo-frame {
|
|
263
|
+
grid-column: 2 / -1;
|
|
264
|
+
display: flex;
|
|
265
|
+
gap: 12px;
|
|
266
|
+
min-width: 0;
|
|
267
|
+
}
|
|
268
|
+
.mo-name {
|
|
269
|
+
flex: 1;
|
|
270
|
+
min-width: 0;
|
|
271
|
+
}
|
|
272
|
+
.mo-title {
|
|
273
|
+
font-weight: 600;
|
|
274
|
+
color: inherit;
|
|
275
|
+
text-decoration: none;
|
|
276
|
+
}
|
|
277
|
+
.mo-about {
|
|
278
|
+
opacity: 0.6;
|
|
279
|
+
}
|
|
280
|
+
.mo-say {
|
|
281
|
+
grid-column: 2 / -1;
|
|
282
|
+
opacity: 0.75;
|
|
283
|
+
min-height: 2.9em;
|
|
284
|
+
}
|
|
285
|
+
/* The title in a bar over the screen: the same grid, and its two cells are the whole row. Below, the caption
|
|
286
|
+
keeps to the second column, because the time now ends its row. */
|
|
287
|
+
.mo-top {
|
|
288
|
+
padding-block: 9px;
|
|
289
|
+
}
|
|
290
|
+
.mo-wide .mo-say {
|
|
291
|
+
min-height: 1.45em;
|
|
292
|
+
}
|
|
293
|
+
/* The controls: back, play and forward share the first column, the timeline has the second, the time its end. */
|
|
294
|
+
.mo-nav {
|
|
295
|
+
display: flex;
|
|
296
|
+
gap: 9px;
|
|
297
|
+
align-items: center;
|
|
298
|
+
}
|
|
299
|
+
/* Play and pause are drawings of one size, the height of a small letter, so the row does not move between them. */
|
|
300
|
+
.mo-pp svg {
|
|
301
|
+
display: block;
|
|
302
|
+
width: 0.62em;
|
|
303
|
+
height: 0.62em;
|
|
304
|
+
fill: currentColor;
|
|
305
|
+
}
|
|
306
|
+
/* What is read off the timeline stands at its end: the speed, then the time. */
|
|
307
|
+
.mo-read {
|
|
308
|
+
display: flex;
|
|
309
|
+
gap: 10px;
|
|
310
|
+
justify-content: end;
|
|
311
|
+
align-items: baseline;
|
|
312
|
+
}
|
|
313
|
+
.mo-meta .mo-speed {
|
|
314
|
+
opacity: 0.6;
|
|
315
|
+
font-variant-numeric: tabular-nums;
|
|
316
|
+
}
|
|
317
|
+
/* The three dots end the title's row. Their menu opens under them, in the panel's own colours reversed. */
|
|
318
|
+
.mo-opt {
|
|
319
|
+
position: relative;
|
|
320
|
+
justify-self: end;
|
|
321
|
+
}
|
|
322
|
+
.mo-more {
|
|
323
|
+
min-width: 1.2em;
|
|
324
|
+
text-align: center;
|
|
325
|
+
font-variant-numeric: tabular-nums;
|
|
326
|
+
}
|
|
327
|
+
.mo-menu {
|
|
328
|
+
position: absolute;
|
|
329
|
+
inset-inline-end: 0;
|
|
330
|
+
top: calc(100% + 6px);
|
|
331
|
+
z-index: 6;
|
|
332
|
+
display: grid;
|
|
333
|
+
gap: 6px;
|
|
334
|
+
justify-items: start;
|
|
335
|
+
padding: 8px 10px;
|
|
336
|
+
white-space: nowrap;
|
|
337
|
+
background: var(--mo-fg, #f4f4f0);
|
|
338
|
+
color: var(--mo-bg, #111);
|
|
339
|
+
}
|
|
340
|
+
.mo-menu[hidden] {
|
|
341
|
+
display: none;
|
|
342
|
+
}
|
|
343
|
+
/* An entry that is on or off says which with a tick before it, in the place it keeps either way. */
|
|
344
|
+
.mo-menu [aria-pressed]::before {
|
|
345
|
+
content: "✓";
|
|
346
|
+
display: inline-block;
|
|
347
|
+
width: 1.2em;
|
|
348
|
+
}
|
|
349
|
+
.mo-menu [aria-pressed="false"]::before {
|
|
350
|
+
visibility: hidden;
|
|
351
|
+
}
|
|
352
|
+
.mo-tl {
|
|
353
|
+
flex: 1;
|
|
354
|
+
display: flex;
|
|
355
|
+
gap: 3px;
|
|
356
|
+
min-width: 0;
|
|
357
|
+
cursor: pointer;
|
|
358
|
+
touch-action: none;
|
|
359
|
+
}
|
|
360
|
+
.mo-seg {
|
|
361
|
+
flex: 1 1 0;
|
|
362
|
+
height: 14px;
|
|
363
|
+
position: relative;
|
|
364
|
+
min-width: 4px;
|
|
365
|
+
}
|
|
366
|
+
.mo-seg.mo-ch {
|
|
367
|
+
margin-inline-start: 6px;
|
|
368
|
+
}
|
|
369
|
+
.mo-seg.mo-ch:first-child {
|
|
370
|
+
margin-inline-start: 0;
|
|
371
|
+
}
|
|
372
|
+
.mo-seg::before,
|
|
373
|
+
.mo-seg > i {
|
|
374
|
+
content: "";
|
|
375
|
+
position: absolute;
|
|
376
|
+
left: 0;
|
|
377
|
+
top: 6px;
|
|
378
|
+
height: 2px;
|
|
379
|
+
}
|
|
380
|
+
.mo-seg::before {
|
|
381
|
+
width: 100%;
|
|
382
|
+
background: color-mix(in oklab, var(--mo-fg, #f4f4f0) 28%, transparent);
|
|
383
|
+
}
|
|
384
|
+
.mo-seg > i {
|
|
385
|
+
width: 0;
|
|
386
|
+
background: var(--mo-fg, #f4f4f0);
|
|
387
|
+
}
|
|
388
|
+
/* the third column */
|
|
389
|
+
.mo-meta .mo-time,
|
|
390
|
+
.mo-pat {
|
|
391
|
+
text-align: end;
|
|
392
|
+
white-space: nowrap;
|
|
393
|
+
}
|
|
394
|
+
.mo-meta .mo-time {
|
|
395
|
+
opacity: 0.6;
|
|
396
|
+
font-variant-numeric: tabular-nums;
|
|
397
|
+
}
|
|
398
|
+
.mo-pat {
|
|
399
|
+
font-weight: 600;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/* the legend */
|
|
403
|
+
.mo-legend {
|
|
404
|
+
display: flex;
|
|
405
|
+
flex-wrap: wrap;
|
|
406
|
+
gap: 18px 28px;
|
|
407
|
+
}
|
|
408
|
+
.mo-spec {
|
|
409
|
+
display: flex;
|
|
410
|
+
gap: 12px;
|
|
411
|
+
align-items: center;
|
|
412
|
+
}
|
|
413
|
+
.mo-spec p {
|
|
414
|
+
margin: 0;
|
|
415
|
+
}
|
|
416
|
+
.mo-spec-name {
|
|
417
|
+
font-weight: 600;
|
|
418
|
+
}
|
|
419
|
+
.mo-spec-what {
|
|
420
|
+
opacity: 0.65;
|
|
421
|
+
}
|
|
422
|
+
.mo-spec-box {
|
|
423
|
+
position: relative;
|
|
424
|
+
width: 64px;
|
|
425
|
+
height: 56px;
|
|
426
|
+
flex: none;
|
|
427
|
+
border: 1px solid var(--mo-rule, #d5d9d5);
|
|
428
|
+
background: var(--mo-paper, #fff);
|
|
429
|
+
display: grid;
|
|
430
|
+
place-items: center;
|
|
431
|
+
overflow: hidden;
|
|
432
|
+
}
|
|
433
|
+
.mo-spec-box > svg {
|
|
434
|
+
position: absolute;
|
|
435
|
+
left: 14px;
|
|
436
|
+
top: 12px;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
/* one scene alone: #<scene id> in the address, or mountScenes({ solo }) */
|
|
440
|
+
.mo-solo .motion-figure:not(.mo-one) {
|
|
441
|
+
display: none;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
/* Every cell names its column, so a cell a page hides leaves its place empty and the others stay where they
|
|
445
|
+
are. */
|
|
446
|
+
.mo-kind,
|
|
447
|
+
.mo-code,
|
|
448
|
+
.mo-count,
|
|
449
|
+
.mo-nav {
|
|
450
|
+
grid-column: 1;
|
|
451
|
+
}
|
|
452
|
+
.mo-head,
|
|
453
|
+
.mo-tl {
|
|
454
|
+
grid-column: 2;
|
|
455
|
+
}
|
|
456
|
+
.mo-opt,
|
|
457
|
+
.mo-read {
|
|
458
|
+
grid-column: 3;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
/* While a scene is recorded, what a picture has no use for is left out of it. */
|
|
462
|
+
.mo-recording .mo-opt,
|
|
463
|
+
.mo-recording .mo-nav,
|
|
464
|
+
.mo-recording .mo-tl,
|
|
465
|
+
.mo-recording .mo-read,
|
|
466
|
+
.mo-recording .mo-foot {
|
|
467
|
+
display: none;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
/* What a page asked not to show. A section goes whole, with the rule that set it apart; a part goes alone. */
|
|
471
|
+
.mo-no-title .mo-top,
|
|
472
|
+
.mo-no-title .mo-kind,
|
|
473
|
+
.mo-no-title .mo-head,
|
|
474
|
+
.mo-no-title .mo-opt,
|
|
475
|
+
.mo-no-title .mo-rule:not(.mo-foot),
|
|
476
|
+
.mo-no-kind .mo-kind,
|
|
477
|
+
.mo-no-about .mo-about,
|
|
478
|
+
.mo-no-menu .mo-opt,
|
|
479
|
+
.mo-no-caption .mo-code,
|
|
480
|
+
.mo-no-caption .mo-frame,
|
|
481
|
+
.mo-no-caption .mo-count,
|
|
482
|
+
.mo-no-caption .mo-say,
|
|
483
|
+
.mo-no-caption .mo-rule:not(.mo-foot),
|
|
484
|
+
.mo-no-code .mo-code,
|
|
485
|
+
.mo-no-frame .mo-name,
|
|
486
|
+
.mo-no-interaction .mo-pat,
|
|
487
|
+
.mo-no-count .mo-count,
|
|
488
|
+
.mo-no-words .mo-say,
|
|
489
|
+
.mo-no-timeline .mo-nav,
|
|
490
|
+
.mo-no-timeline .mo-tl,
|
|
491
|
+
.mo-no-timeline .mo-read,
|
|
492
|
+
.mo-no-timeline .mo-foot,
|
|
493
|
+
.mo-no-steps .mo-nav,
|
|
494
|
+
.mo-no-speed .mo-speed,
|
|
495
|
+
.mo-no-time .mo-time,
|
|
496
|
+
/* With no caption, the rule over the controls has nothing above it to part them from, unless the title is there. */
|
|
497
|
+
.mo-no-caption.mo-title-above .mo-foot,
|
|
498
|
+
.mo-no-caption.mo-no-title .mo-foot,
|
|
499
|
+
/* A panel with nothing left in it is not drawn. */
|
|
500
|
+
.mo-no-caption.mo-no-timeline.mo-title-above figcaption,
|
|
501
|
+
.mo-no-caption.mo-no-timeline.mo-no-title figcaption {
|
|
502
|
+
display: none;
|
|
503
|
+
}
|
|
504
|
+
/* The bar keeps its place when hidden, so the speed and the time stay at the row's end. */
|
|
505
|
+
.mo-no-bar .mo-tl {
|
|
506
|
+
visibility: hidden;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
/* A step that waits for the reader: the symbol breathes where the press is wanted, and the frame takes one. */
|
|
510
|
+
.mo-awaiting .mo-screen {
|
|
511
|
+
cursor: pointer;
|
|
512
|
+
}
|
|
513
|
+
.mo-awaiting .mo-touch,
|
|
514
|
+
.mo-awaiting .mo-ptr {
|
|
515
|
+
animation: mo-await 1.4s ease-in-out infinite;
|
|
516
|
+
}
|
|
517
|
+
@keyframes mo-await {
|
|
518
|
+
50% {
|
|
519
|
+
opacity: 0.45;
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
@media (prefers-reduced-motion: reduce) {
|
|
523
|
+
.mo-awaiting .mo-touch,
|
|
524
|
+
.mo-awaiting .mo-ptr {
|
|
525
|
+
animation: none;
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
/* What a step acts on, outlined in the colour of the interactions: what keys go to, and, where the page asks,
|
|
530
|
+
what a click or a tap presses. The box is drawn over the frame, so the frame's own styles cannot hide it. */
|
|
531
|
+
.mo-outline {
|
|
532
|
+
position: absolute;
|
|
533
|
+
border: 2px solid var(--mo, #6a35e8);
|
|
534
|
+
border-radius: 4px;
|
|
535
|
+
pointer-events: none;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
/* A slide: a scene at the size of a deck's slides, with a title over it and a caption under it. Everything is
|
|
539
|
+
measured in a hundredth of the slide's height, so a slide is the same at any size; the numbers are those
|
|
540
|
+
fitSlide works the scene's scale out with. */
|
|
541
|
+
.mo-slide {
|
|
542
|
+
box-sizing: border-box;
|
|
543
|
+
display: flex;
|
|
544
|
+
flex-direction: column;
|
|
545
|
+
padding: calc(var(--mo-slide-unit, 1px) * 6);
|
|
546
|
+
overflow: hidden;
|
|
547
|
+
background: var(--mo-slide-paper, var(--mo-paper, #fff));
|
|
548
|
+
color: var(--mo-slide-ink, var(--mo-bg, #111));
|
|
549
|
+
}
|
|
550
|
+
.mo-slide-title,
|
|
551
|
+
.mo-slide-caption {
|
|
552
|
+
margin: 0;
|
|
553
|
+
flex: none;
|
|
554
|
+
text-align: center;
|
|
555
|
+
white-space: nowrap;
|
|
556
|
+
overflow: hidden;
|
|
557
|
+
text-overflow: ellipsis;
|
|
558
|
+
}
|
|
559
|
+
.mo-slide-title {
|
|
560
|
+
height: calc(var(--mo-slide-unit, 1px) * 6);
|
|
561
|
+
margin-bottom: calc(var(--mo-slide-unit, 1px) * 3);
|
|
562
|
+
font-size: calc(var(--mo-slide-unit, 1px) * 4.5);
|
|
563
|
+
line-height: calc(var(--mo-slide-unit, 1px) * 6);
|
|
564
|
+
font-weight: 600;
|
|
565
|
+
}
|
|
566
|
+
.mo-slide-caption {
|
|
567
|
+
height: calc(var(--mo-slide-unit, 1px) * 4.5);
|
|
568
|
+
margin-top: calc(var(--mo-slide-unit, 1px) * 3);
|
|
569
|
+
font-size: calc(var(--mo-slide-unit, 1px) * 3);
|
|
570
|
+
line-height: calc(var(--mo-slide-unit, 1px) * 4.5);
|
|
571
|
+
opacity: 0.7;
|
|
572
|
+
}
|
|
573
|
+
.mo-slide-stage {
|
|
574
|
+
flex: 1;
|
|
575
|
+
min-height: 0;
|
|
576
|
+
display: grid;
|
|
577
|
+
place-items: center;
|
|
578
|
+
}
|
|
579
|
+
.mo-slide-fit {
|
|
580
|
+
transform-origin: center;
|
|
581
|
+
}
|