@yewdiel21/motion-kit 0.17.0 → 0.18.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 +23 -0
- package/dist/auto/index.d.ts +18 -3
- package/dist/auto/index.js +32 -2
- package/dist/auto/index.js.map +1 -1
- package/dist/{chunk-VJFPTLAK.js → chunk-AWDEKDEJ.js} +2 -2
- package/dist/{chunk-BZLMCHUD.js → chunk-EDMXWUW3.js} +2 -2
- package/dist/{chunk-7IQTMF7Y.js → chunk-Q7IW4FV3.js} +2580 -58
- package/dist/chunk-Q7IW4FV3.js.map +1 -0
- package/dist/css/components/badge-button.css +16 -0
- package/dist/css/components/bento-grid.css +13 -0
- package/dist/css/components/drilldown-menu.css +11 -7
- package/dist/css/components/equalizer-slider.css +26 -0
- package/dist/css/components/handwriting-text.css +15 -0
- package/dist/css/components/magnetize-button.css +18 -0
- package/dist/css/components/morphing-page-dots.css +13 -0
- package/dist/css/components/not-found.css +22 -0
- package/dist/css/components/notification-stack.css +42 -0
- package/dist/css/components/particle-button.css +14 -0
- package/dist/css/components/radio-group.css +29 -0
- package/dist/css/components/rating-scale.css +23 -0
- package/dist/css/components/scroll-preview-dock.css +18 -0
- package/dist/css/components/select.css +16 -0
- package/dist/css/components/signature-pad.css +130 -103
- package/dist/css/components/stepper.css +36 -0
- package/dist/css/components/sticky-header.css +10 -0
- package/dist/css/components/temperature-slider.css +29 -0
- package/dist/css/components/voice-message-bubble.css +62 -45
- package/dist/css/components/waveform-player.css +49 -34
- package/dist/css/components/wheel-picker.css +16 -15
- package/dist/css/tokens.css +4 -0
- package/dist/elements/index.d.ts +206 -4
- package/dist/elements/index.js +581 -6
- package/dist/elements/index.js.map +1 -1
- package/dist/{engine-Bn6hC87X.d.ts → engine-t8d7brjn.d.ts} +341 -1
- package/dist/index.css +578 -170
- package/dist/index.d.ts +23 -23
- package/dist/index.js +33 -3
- package/dist/index.js.map +1 -1
- package/dist/react/index.d.ts +113 -7
- package/dist/react/index.js +669 -3
- package/dist/react/index.js.map +1 -1
- package/dist/{reduced-YS6TZjpa.d.ts → reduced-dPsZYqtI.d.ts} +1 -1
- package/dist/{store-CZ6vdtIE.d.ts → store-6hZNKiee.d.ts} +1 -1
- package/package.json +1 -1
- package/registry.json +180 -0
- package/src/auto/auto-init.ts +31 -0
- package/src/components/badge-button/README.md +28 -0
- package/src/components/badge-button/badge-button.css +15 -0
- package/src/components/badge-button/element.ts +16 -0
- package/src/components/badge-button/engine.ts +85 -0
- package/src/components/badge-button/react.tsx +31 -0
- package/src/components/bento-grid/README.md +26 -0
- package/src/components/bento-grid/bento-grid.css +12 -0
- package/src/components/bento-grid/element.ts +22 -0
- package/src/components/bento-grid/engine.ts +153 -0
- package/src/components/bento-grid/react.tsx +25 -0
- package/src/components/drilldown-menu/drilldown-menu.css +11 -7
- package/src/components/drilldown-menu/engine.ts +44 -4
- package/src/components/equalizer-slider/README.md +43 -0
- package/src/components/equalizer-slider/element.ts +41 -0
- package/src/components/equalizer-slider/engine.ts +32 -0
- package/src/components/equalizer-slider/equalizer-slider.css +26 -0
- package/src/components/equalizer-slider/react.tsx +60 -0
- package/src/components/equalizer-slider/shared.ts +161 -0
- package/src/components/handwriting-text/README.md +29 -0
- package/src/components/handwriting-text/element.ts +14 -0
- package/src/components/handwriting-text/engine.ts +108 -0
- package/src/components/handwriting-text/glyphs.ts +71 -0
- package/src/components/handwriting-text/handwriting-text.css +14 -0
- package/src/components/handwriting-text/react.tsx +23 -0
- package/src/components/magnetize-button/README.md +26 -0
- package/src/components/magnetize-button/element.ts +13 -0
- package/src/components/magnetize-button/engine.ts +84 -0
- package/src/components/magnetize-button/magnetize-button.css +17 -0
- package/src/components/magnetize-button/react.tsx +22 -0
- package/src/components/morphing-page-dots/README.md +28 -0
- package/src/components/morphing-page-dots/element.ts +16 -0
- package/src/components/morphing-page-dots/engine.ts +89 -0
- package/src/components/morphing-page-dots/morphing-page-dots.css +12 -0
- package/src/components/morphing-page-dots/react.tsx +32 -0
- package/src/components/not-found/README.md +26 -0
- package/src/components/not-found/element.ts +15 -0
- package/src/components/not-found/engine.ts +57 -0
- package/src/components/not-found/not-found.css +21 -0
- package/src/components/not-found/react.tsx +23 -0
- package/src/components/notification-stack/README.md +24 -0
- package/src/components/notification-stack/element.ts +26 -0
- package/src/components/notification-stack/engine.ts +329 -0
- package/src/components/notification-stack/notification-stack.css +41 -0
- package/src/components/notification-stack/react.tsx +28 -0
- package/src/components/particle-button/README.md +26 -0
- package/src/components/particle-button/element.ts +13 -0
- package/src/components/particle-button/engine.ts +52 -0
- package/src/components/particle-button/particle-button.css +13 -0
- package/src/components/particle-button/react.tsx +22 -0
- package/src/components/radio-group/README.md +43 -0
- package/src/components/radio-group/element.ts +41 -0
- package/src/components/radio-group/engine.ts +11 -0
- package/src/components/radio-group/radio-group.css +28 -0
- package/src/components/radio-group/react.tsx +60 -0
- package/src/components/radio-group/shared.ts +118 -0
- package/src/components/rating-scale/README.md +43 -0
- package/src/components/rating-scale/element.ts +41 -0
- package/src/components/rating-scale/engine.ts +63 -0
- package/src/components/rating-scale/rating-scale.css +22 -0
- package/src/components/rating-scale/react.tsx +60 -0
- package/src/components/scroll-preview-dock/README.md +24 -0
- package/src/components/scroll-preview-dock/element.ts +20 -0
- package/src/components/scroll-preview-dock/engine.ts +228 -0
- package/src/components/scroll-preview-dock/react.tsx +26 -0
- package/src/components/scroll-preview-dock/scroll-preview-dock.css +17 -0
- package/src/components/select/README.md +23 -9
- package/src/components/select/select.css +16 -0
- package/src/components/signature-pad/engine.ts +550 -437
- package/src/components/signature-pad/signature-pad.css +130 -103
- package/src/components/stepper/README.md +46 -0
- package/src/components/stepper/element.ts +42 -0
- package/src/components/stepper/engine.ts +103 -0
- package/src/components/stepper/react.tsx +60 -0
- package/src/components/stepper/stepper.css +35 -0
- package/src/components/sticky-header/README.md +30 -0
- package/src/components/sticky-header/element.ts +19 -0
- package/src/components/sticky-header/engine.ts +95 -0
- package/src/components/sticky-header/react.tsx +25 -0
- package/src/components/sticky-header/sticky-header.css +9 -0
- package/src/components/temperature-slider/README.md +42 -0
- package/src/components/temperature-slider/element.ts +53 -0
- package/src/components/temperature-slider/engine.ts +44 -0
- package/src/components/temperature-slider/react.tsx +66 -0
- package/src/components/temperature-slider/temperature-slider.css +29 -0
- package/src/components/voice-message-bubble/engine.ts +11 -0
- package/src/components/voice-message-bubble/voice-message-bubble.css +14 -12
- package/src/components/waveform-player/README.md +1 -1
- package/src/components/waveform-player/engine.ts +344 -261
- package/src/components/waveform-player/waveform-player.css +50 -35
- package/src/components/wheel-picker/README.md +3 -1
- package/src/components/wheel-picker/element.ts +12 -5
- package/src/components/wheel-picker/engine.ts +37 -8
- package/src/components/wheel-picker/wheel-picker.css +17 -16
- package/src/css/tokens.css +4 -0
- package/src/elements/index.ts +45 -0
- package/src/index.ts +311 -295
- package/src/react/index.ts +16 -0
- package/dist/chunk-7IQTMF7Y.js.map +0 -1
- /package/dist/{chunk-VJFPTLAK.js.map → chunk-AWDEKDEJ.js.map} +0 -0
- /package/dist/{chunk-BZLMCHUD.js.map → chunk-EDMXWUW3.js.map} +0 -0
package/dist/index.css
CHANGED
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
--mk-ease-nav-move: cubic-bezier(0.38, 0.49, 0, 1.2);
|
|
17
17
|
--mk-ease-swatch: cubic-bezier(0.38, 0.49, 0, 1.5);
|
|
18
18
|
--mk-ease-swatch-light: cubic-bezier(0.11, 1, 0, 1);
|
|
19
|
+
--mk-ease-click: cubic-bezier(0.37, 1.42, 0.37, 1);
|
|
20
|
+
--mk-ease-playful: cubic-bezier(0.38, 0.49, 0, 2);
|
|
21
|
+
--mk-ease-pop: cubic-bezier(0.1, 0.8, 0, 1.1);
|
|
22
|
+
--mk-ease-wipe: cubic-bezier(0.38, 0.49, 0, 1);
|
|
19
23
|
--mk-ease-slot: cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
20
24
|
/* Glass, sheet and control curves */
|
|
21
25
|
--mk-ease-glass: cubic-bezier(0.25, 1, 0.5, 1);
|
|
@@ -15652,6 +15656,22 @@ mk-select {
|
|
|
15652
15656
|
}
|
|
15653
15657
|
}
|
|
15654
15658
|
|
|
15659
|
+
/* Inside a kit field the trigger takes the field's height, radius, fill and type. */
|
|
15660
|
+
.mk-field :is(.mk-select, mk-select) {
|
|
15661
|
+
display: flex;
|
|
15662
|
+
width: 100%;
|
|
15663
|
+
}
|
|
15664
|
+
|
|
15665
|
+
.mk-field [data-mk-select-trigger] {
|
|
15666
|
+
height: auto;
|
|
15667
|
+
min-height: 56px;
|
|
15668
|
+
padding: 0 14px 0 16px;
|
|
15669
|
+
border-radius: var(--mk-field-radius);
|
|
15670
|
+
background: var(--mk-field-bg);
|
|
15671
|
+
font-family: var(--md-sys-typescale-body-large-font);
|
|
15672
|
+
font-size: var(--md-sys-typescale-body-large-size);
|
|
15673
|
+
}
|
|
15674
|
+
|
|
15655
15675
|
/* components/add-to-cart/add-to-cart.css */
|
|
15656
15676
|
/* add-to-cart — the little box that carries the product to the cart: a kraft front with a tape stripe in the accent,
|
|
15657
15677
|
two flaps that close over the picture, a soft shadow; it flies above everything and never takes the pointer. */
|
|
@@ -16905,159 +16925,203 @@ mk-orbit-menu {
|
|
|
16905
16925
|
}
|
|
16906
16926
|
|
|
16907
16927
|
/* components/signature-pad/signature-pad.css */
|
|
16908
|
-
/* Normalized SVG ink survives layout changes. Only the drawing area captures touch. */
|
|
16909
|
-
.mk-signature-pad,
|
|
16910
|
-
mk-signature-pad {
|
|
16911
|
-
--mk-signature-height: clamp(12rem, 32vw, 17rem);
|
|
16912
|
-
display: block;
|
|
16913
|
-
min-width: 0;
|
|
16914
|
-
overflow: hidden;
|
|
16915
|
-
border: 1px solid var(--mk-outline-soft);
|
|
16916
|
-
border-radius: 24px;
|
|
16917
|
-
background: var(--mk-surface-1);
|
|
16918
|
-
color: var(--mk-text);
|
|
16919
|
-
font-family: var(--mk-font);
|
|
16920
|
-
}
|
|
16921
|
-
|
|
16922
|
-
|
|
16923
|
-
|
|
16924
|
-
|
|
16925
|
-
|
|
16926
|
-
|
|
16927
|
-
|
|
16928
|
-
|
|
16929
|
-
|
|
16930
|
-
|
|
16931
|
-
|
|
16932
|
-
|
|
16933
|
-
|
|
16934
|
-
:
|
|
16935
|
-
|
|
16936
|
-
|
|
16937
|
-
|
|
16938
|
-
|
|
16939
|
-
|
|
16940
|
-
|
|
16941
|
-
|
|
16942
|
-
}
|
|
16943
|
-
|
|
16944
|
-
:is(.mk-signature-pad, mk-signature-pad) [data-mk-signature-
|
|
16945
|
-
position: absolute;
|
|
16946
|
-
|
|
16947
|
-
|
|
16948
|
-
|
|
16949
|
-
|
|
16950
|
-
|
|
16951
|
-
|
|
16952
|
-
|
|
16953
|
-
|
|
16954
|
-
|
|
16955
|
-
|
|
16956
|
-
|
|
16957
|
-
|
|
16958
|
-
|
|
16959
|
-
|
|
16960
|
-
|
|
16961
|
-
|
|
16962
|
-
|
|
16963
|
-
|
|
16964
|
-
|
|
16965
|
-
|
|
16966
|
-
|
|
16967
|
-
:
|
|
16968
|
-
|
|
16969
|
-
|
|
16970
|
-
|
|
16971
|
-
|
|
16972
|
-
|
|
16973
|
-
|
|
16974
|
-
|
|
16975
|
-
|
|
16976
|
-
|
|
16977
|
-
|
|
16978
|
-
|
|
16979
|
-
|
|
16980
|
-
}
|
|
16981
|
-
|
|
16982
|
-
:is(.mk-signature-pad, mk-signature-pad) [data-mk-signature-
|
|
16983
|
-
|
|
16984
|
-
|
|
16985
|
-
|
|
16986
|
-
|
|
16987
|
-
|
|
16988
|
-
|
|
16989
|
-
|
|
16990
|
-
|
|
16991
|
-
|
|
16992
|
-
|
|
16993
|
-
|
|
16994
|
-
|
|
16995
|
-
|
|
16996
|
-
|
|
16997
|
-
:is(.mk-signature-pad, mk-signature-pad) [data-mk-signature-action]
|
|
16998
|
-
|
|
16999
|
-
:
|
|
17000
|
-
:
|
|
17001
|
-
|
|
17002
|
-
|
|
17003
|
-
|
|
17004
|
-
|
|
17005
|
-
|
|
17006
|
-
:
|
|
17007
|
-
:
|
|
17008
|
-
:
|
|
17009
|
-
|
|
17010
|
-
|
|
16928
|
+
/* Normalized SVG ink survives layout changes. Only the drawing area captures touch. */
|
|
16929
|
+
.mk-signature-pad,
|
|
16930
|
+
mk-signature-pad {
|
|
16931
|
+
--mk-signature-height: clamp(12rem, 32vw, 17rem);
|
|
16932
|
+
display: block;
|
|
16933
|
+
min-width: 0;
|
|
16934
|
+
overflow: hidden;
|
|
16935
|
+
border: 1px solid var(--mk-outline-soft);
|
|
16936
|
+
border-radius: 24px;
|
|
16937
|
+
background: var(--mk-surface-1);
|
|
16938
|
+
color: var(--mk-text);
|
|
16939
|
+
font-family: var(--mk-font);
|
|
16940
|
+
}
|
|
16941
|
+
[data-mk-signature-header] { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; padding: 1rem 1.25rem; font-size: .8125rem; font-weight: 500; }
|
|
16942
|
+
[data-mk-signature-header] [data-mk-signature-status] { display: inline-flex; gap: .4rem; align-items: center; }
|
|
16943
|
+
[data-mk-signature-status]::before { content: ''; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--mk-muted); transition: background .2s; }
|
|
16944
|
+
:is(.mk-signature-pad, mk-signature-pad):not([data-mk-empty]) [data-mk-signature-status]::before { background: var(--mk-accent); animation: mk-signature-dot .45s var(--mk-ease-swatch); }
|
|
16945
|
+
@keyframes mk-signature-dot { from { scale: .2; } }
|
|
16946
|
+
|
|
16947
|
+
:is(.mk-signature-pad, mk-signature-pad) [data-mk-signature-surface] {
|
|
16948
|
+
position: relative;
|
|
16949
|
+
height: var(--mk-signature-height);
|
|
16950
|
+
min-height: 8rem;
|
|
16951
|
+
overflow: hidden;
|
|
16952
|
+
background: var(--mk-signature-paper, var(--mk-surface-2));
|
|
16953
|
+
margin-inline: 8px;
|
|
16954
|
+
border-radius: var(--mk-radius-md);
|
|
16955
|
+
cursor: crosshair;
|
|
16956
|
+
touch-action: none;
|
|
16957
|
+
user-select: none;
|
|
16958
|
+
-webkit-user-select: none;
|
|
16959
|
+
}
|
|
16960
|
+
[data-mk-signature-cursor] { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border: 1px solid currentColor; border-radius: 50%; opacity: 0; transform: translate(-50%, -50%) scale(.5); pointer-events: none; transition: opacity .12s, width .3s var(--mk-ease-click), height .3s var(--mk-ease-click), transform .3s var(--mk-ease-click); }
|
|
16961
|
+
[data-mk-pen-visible]:not([data-mk-disabled]):not([data-mk-readonly]) [data-mk-signature-cursor] { opacity: .45; transform: translate(-50%, -50%) scale(1); }
|
|
16962
|
+
[data-mk-drawing] [data-mk-signature-cursor] { width: 8px; height: 8px; background: currentColor; }
|
|
16963
|
+
|
|
16964
|
+
:is(.mk-signature-pad, mk-signature-pad) [data-mk-signature-surface]::after {
|
|
16965
|
+
position: absolute;
|
|
16966
|
+
right: 1.5rem;
|
|
16967
|
+
bottom: 2rem;
|
|
16968
|
+
left: 1.5rem;
|
|
16969
|
+
border-bottom: 1px dashed var(--mk-outline-soft);
|
|
16970
|
+
content: '';
|
|
16971
|
+
pointer-events: none;
|
|
16972
|
+
transition: border-color .25s;
|
|
16973
|
+
}
|
|
16974
|
+
/* The line you sign on wakes while the pen is down. */
|
|
16975
|
+
:is(.mk-signature-pad, mk-signature-pad)[data-mk-drawing] [data-mk-signature-surface]::after { border-bottom-color: color-mix(in srgb, var(--mk-text) 40%, transparent); }
|
|
16976
|
+
|
|
16977
|
+
:is(.mk-signature-pad, mk-signature-pad) :is([data-mk-signature-drawing], [data-mk-signature-ghost]) {
|
|
16978
|
+
position: absolute;
|
|
16979
|
+
inset: 0;
|
|
16980
|
+
display: block;
|
|
16981
|
+
width: 100%;
|
|
16982
|
+
height: 100%;
|
|
16983
|
+
overflow: hidden;
|
|
16984
|
+
}
|
|
16985
|
+
|
|
16986
|
+
:is(.mk-signature-pad, mk-signature-pad) [data-mk-signature-placeholder] {
|
|
16987
|
+
position: absolute;
|
|
16988
|
+
inset: 0;
|
|
16989
|
+
display: grid;
|
|
16990
|
+
place-items: center;
|
|
16991
|
+
color: var(--mk-muted);
|
|
16992
|
+
font-size: 1.5rem;
|
|
16993
|
+
font-style: italic;
|
|
16994
|
+
font-weight: 400;
|
|
16995
|
+
pointer-events: none;
|
|
16996
|
+
/* Returning waits for leaving ink, so the prompt never sits on top of it. */
|
|
16997
|
+
transition: opacity .3s ease .3s, filter .3s ease .3s, scale .45s var(--mk-ease-swatch) .3s;
|
|
16998
|
+
}
|
|
16999
|
+
|
|
17000
|
+
:is(.mk-signature-pad, mk-signature-pad) [data-mk-signature-placeholder][hidden] { display: grid; opacity: 0; filter: blur(6px); scale: .96; transition-duration: .16s; transition-delay: 0s; }
|
|
17001
|
+
|
|
17002
|
+
:is(.mk-signature-pad, mk-signature-pad) [data-mk-signature-footer] {
|
|
17003
|
+
display: flex;
|
|
17004
|
+
flex-wrap: wrap;
|
|
17005
|
+
align-items: center;
|
|
17006
|
+
justify-content: space-between;
|
|
17007
|
+
gap: 0.75rem;
|
|
17008
|
+
padding: 0.875rem 1rem 0;
|
|
17009
|
+
}
|
|
17010
|
+
|
|
17011
|
+
:is(.mk-signature-pad, mk-signature-pad) [data-mk-signature-toolbar] {
|
|
17012
|
+
display: flex;
|
|
17013
|
+
flex-wrap: wrap;
|
|
17014
|
+
gap: 0.375rem;
|
|
17015
|
+
}
|
|
17016
|
+
|
|
17017
|
+
:is(.mk-signature-pad, mk-signature-pad) [data-mk-signature-action] {
|
|
17018
|
+
display: inline-flex;
|
|
17019
|
+
align-items: center;
|
|
17020
|
+
justify-content: center;
|
|
17021
|
+
gap: .4rem;
|
|
17022
|
+
min-height: 2.75rem;
|
|
17023
|
+
padding: 0.5rem 0.875rem;
|
|
17024
|
+
border: 0;
|
|
17025
|
+
border-radius: var(--mk-radius-sm);
|
|
17026
|
+
background: var(--mk-surface-3);
|
|
17027
|
+
color: var(--mk-text);
|
|
17028
|
+
font: inherit;
|
|
17029
|
+
font-size: 0.8125rem;
|
|
17030
|
+
font-weight: 500;
|
|
17031
|
+
cursor: pointer;
|
|
17032
|
+
transition: background .15s, border-radius .3s var(--mk-ease-playful), opacity .2s;
|
|
17033
|
+
}
|
|
17034
|
+
[data-mk-signature-action] svg { width: 17px; height: 17px; }
|
|
17035
|
+
|
|
17036
|
+
:is(.mk-signature-pad, mk-signature-pad) [data-mk-signature-action]:hover:enabled { background: var(--mk-surface-4); border-radius: var(--mk-radius-full); }
|
|
17037
|
+
:is(.mk-signature-pad, mk-signature-pad) [data-mk-signature-action]:focus-visible { outline: 2px solid var(--mk-accent); outline-offset: 2px; }
|
|
17038
|
+
:is(.mk-signature-pad, mk-signature-pad) [data-mk-signature-action]:disabled { opacity: 0.4; cursor: default; }
|
|
17039
|
+
|
|
17040
|
+
:is(.mk-signature-pad, mk-signature-pad) [data-mk-signature-status],
|
|
17041
|
+
:is(.mk-signature-pad, mk-signature-pad) [data-mk-signature-hint] {
|
|
17042
|
+
color: var(--mk-muted);
|
|
17043
|
+
font-size: 0.75rem;
|
|
17044
|
+
line-height: 1.5;
|
|
17045
|
+
}
|
|
17046
|
+
|
|
17047
|
+
:is(.mk-signature-pad, mk-signature-pad) [data-mk-signature-status] { font-variant-numeric: tabular-nums; }
|
|
17048
|
+
:is(.mk-signature-pad, mk-signature-pad) [data-mk-signature-hint] { margin: 0; padding: 0.75rem 1rem 1rem; }
|
|
17049
|
+
:is(.mk-signature-pad, mk-signature-pad)[data-mk-readonly] [data-mk-signature-surface],
|
|
17050
|
+
:is(.mk-signature-pad, mk-signature-pad)[data-mk-disabled] [data-mk-signature-surface] { cursor: default; touch-action: auto; }
|
|
17051
|
+
:is(.mk-signature-pad, mk-signature-pad)[data-mk-disabled] [data-mk-signature-surface] { opacity: 0.55; }
|
|
17052
|
+
@media (prefers-reduced-motion: reduce) {
|
|
17053
|
+
[data-mk-signature-cursor], [data-mk-signature-action], [data-mk-signature-placeholder], [data-mk-signature-surface]::after { transition: none !important; }
|
|
17054
|
+
[data-mk-signature-status]::before { animation: none !important; }
|
|
17055
|
+
}
|
|
17056
|
+
|
|
17057
|
+
:is(.mk-signature-pad, mk-signature-pad) [data-mk-signature-ghost] { pointer-events: none; }
|
|
17011
17058
|
|
|
17012
17059
|
/* components/waveform-player/waveform-player.css */
|
|
17013
|
-
|
|
17014
|
-
|
|
17015
|
-
--mk-wave-
|
|
17016
|
-
|
|
17017
|
-
|
|
17018
|
-
|
|
17019
|
-
|
|
17020
|
-
|
|
17021
|
-
|
|
17022
|
-
|
|
17023
|
-
|
|
17024
|
-
|
|
17025
|
-
[data-mk-wave-
|
|
17026
|
-
[data-mk-wave-
|
|
17027
|
-
[data-mk-wave-
|
|
17028
|
-
[data-mk-wave-
|
|
17029
|
-
[data-mk-wave-
|
|
17030
|
-
[data-mk-wave-
|
|
17031
|
-
[data-mk-wave-
|
|
17032
|
-
[data-mk-wave-
|
|
17033
|
-
[data-mk-wave-
|
|
17034
|
-
[data-mk-wave-
|
|
17035
|
-
[data-mk-wave-
|
|
17036
|
-
[data-mk-wave-
|
|
17037
|
-
[data-mk-wave-
|
|
17038
|
-
[data-mk-wave-
|
|
17039
|
-
[data-mk-wave-
|
|
17040
|
-
[data-mk-wave-
|
|
17041
|
-
[data-mk-wave-
|
|
17042
|
-
|
|
17043
|
-
|
|
17044
|
-
|
|
17045
|
-
|
|
17046
|
-
|
|
17060
|
+
/* Shares the equalizer's vocabulary: tonal track, pill bars, a cut-out head that grows when held. */
|
|
17061
|
+
.mk-waveform-player, mk-waveform-player {
|
|
17062
|
+
--mk-wave-color: var(--mk-text);
|
|
17063
|
+
--mk-wave-track: var(--mk-outline-soft);
|
|
17064
|
+
--mk-wave-surface: var(--mk-surface-2);
|
|
17065
|
+
--mk-wave-inset: 14px;
|
|
17066
|
+
display: block;
|
|
17067
|
+
width: 100%;
|
|
17068
|
+
min-width: 0;
|
|
17069
|
+
color: var(--mk-text);
|
|
17070
|
+
font-family: var(--mk-font);
|
|
17071
|
+
}
|
|
17072
|
+
[data-mk-wave-content] { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: .875rem; }
|
|
17073
|
+
[data-mk-wave-toggle] { display: grid; place-items: center; align-self: start; width: 3.5rem; height: 3.5rem; margin-top: .25rem; border: 0; border-radius: 50%; background: var(--mk-text); color: var(--mk-bg); cursor: pointer; transition: border-radius .4s var(--mk-ease-playful); }
|
|
17074
|
+
[data-mk-wave-toggle]:hover:enabled { border-radius: 22px; }
|
|
17075
|
+
[data-mk-wave-icon] { display: grid; place-items: center; width: 24px; height: 24px; }
|
|
17076
|
+
[data-mk-wave-state='playing'] [data-mk-wave-toggle] { border-radius: 20px; }
|
|
17077
|
+
[data-mk-wave-toggle] svg { width: 1.4rem; height: 1.4rem; fill: currentColor; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
|
|
17078
|
+
[data-mk-wave-body] { display: grid; gap: .5rem; min-width: 0; }
|
|
17079
|
+
[data-mk-wave-track] { position: relative; height: 4rem; min-width: 0; border-radius: 24px; background: var(--mk-wave-surface); }
|
|
17080
|
+
[data-mk-wave-bars] { position: absolute; inset: 12px var(--mk-wave-inset); display: flex; align-items: center; gap: 3px; pointer-events: none; }
|
|
17081
|
+
[data-mk-wave-bar] { display: block; flex: 1 1 0; min-width: 1px; min-height: 4px; border-radius: 64px; background: var(--mk-wave-track); transform-origin: center; transition: background-color .16s; }
|
|
17082
|
+
[data-mk-wave-bar][data-mk-played] { background: var(--mk-wave-color); }
|
|
17083
|
+
[data-mk-wave-head] { position: absolute; z-index: 2; top: 50%; left: calc(var(--mk-wave-inset) + (100% - 2 * var(--mk-wave-inset)) * var(--mk-wave-progress, 0)); box-sizing: content-box; width: 4px; height: calc(100% - 20px); border: 3px solid var(--mk-wave-surface); border-radius: 64px; background: var(--mk-wave-color); translate: -50% -50%; pointer-events: none; transition: height .35s var(--mk-ease-swatch), border-width .35s var(--mk-ease-swatch); }
|
|
17084
|
+
[data-mk-wave-scrubbing] [data-mk-wave-head] { height: calc(100% - 10px); border-width: 5px; }
|
|
17085
|
+
@media (hover: hover) { [data-mk-wave-track]:has(input:enabled:hover) [data-mk-wave-head] { height: calc(100% - 14px); } }
|
|
17086
|
+
[data-mk-wave-preview] { position: absolute; bottom: calc(100% + 10px); left: calc(var(--mk-wave-inset) + (100% - 2 * var(--mk-wave-inset)) * var(--mk-wave-at, 0)); z-index: 3; padding: .4rem .7rem; border-radius: 99px; background: var(--mk-glass-inverse); color: var(--mk-bg); backdrop-filter: blur(16px); box-shadow: inset 1px 1px 1px color-mix(in srgb, var(--mk-bg) 20%, transparent); font-size: .6875rem; font-variant-numeric: tabular-nums; translate: -50% 0; pointer-events: none; }
|
|
17087
|
+
[data-mk-wave-preview][hidden] { display: none; }
|
|
17088
|
+
[data-mk-wave-seek] { position: absolute; z-index: 4; inset: 0; box-sizing: border-box; width: 100%; height: 100%; margin: 0; appearance: none; -webkit-appearance: none; background: transparent; opacity: 0; cursor: ew-resize; }
|
|
17089
|
+
[data-mk-wave-seek]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: calc(2 * var(--mk-wave-inset)); height: 4rem; background: transparent; }
|
|
17090
|
+
[data-mk-wave-seek]::-moz-range-thumb { width: calc(2 * var(--mk-wave-inset)); height: 4rem; border: 0; background: transparent; }
|
|
17091
|
+
[data-mk-wave-track]:has(input:focus-visible) { outline: 2px solid var(--mk-accent); outline-offset: 4px; }
|
|
17092
|
+
[data-mk-wave-footer] { display: flex; justify-content: space-between; align-items: center; gap: .75rem; min-height: 2rem; }
|
|
17093
|
+
[data-mk-wave-time] { color: var(--mk-muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
|
|
17094
|
+
[data-mk-wave-rate] { min-width: 44px; min-height: 36px; padding: .375rem .75rem; border: 0; border-radius: 64px; color: var(--mk-text); background: var(--mk-wave-surface); font: 600 .75rem var(--mk-font); font-variant-numeric: tabular-nums; cursor: pointer; transition: padding .35s var(--mk-ease-swatch), background .15s; }
|
|
17095
|
+
[data-mk-wave-rate]:hover:enabled { padding-inline: 1rem; background: color-mix(in srgb, var(--mk-text) 8%, var(--mk-wave-surface)); }
|
|
17096
|
+
[data-mk-wave-rate][hidden] { display: none; }
|
|
17097
|
+
[data-mk-wave-message] { grid-column: 2; color: var(--mk-muted); font-size: .75rem; line-height: 1.5; }
|
|
17098
|
+
[data-mk-wave-message]:empty { display: none; }
|
|
17099
|
+
[data-mk-wave-toggle]:focus-visible, [data-mk-wave-rate]:focus-visible { outline: 2px solid var(--mk-accent); outline-offset: 3px; }
|
|
17100
|
+
[data-mk-wave-toggle]:disabled, [data-mk-wave-rate]:disabled { opacity: .5; cursor: default; }
|
|
17101
|
+
[data-mk-wave-track]:has(input:disabled) { opacity: .55; }
|
|
17102
|
+
[data-mk-wave-track]:has(input:disabled) [data-mk-wave-seek] { cursor: default; }
|
|
17103
|
+
[data-mk-wave-state='error'] [data-mk-wave-message] { color: var(--mk-error, var(--mk-text)); }
|
|
17104
|
+
@media (prefers-reduced-motion: reduce) { [data-mk-wave-bar], [data-mk-wave-toggle], [data-mk-wave-head], [data-mk-wave-rate] { transition: none; } }
|
|
17105
|
+
@media (forced-colors: active) {
|
|
17106
|
+
[data-mk-wave-toggle], [data-mk-wave-rate] { border: 1px solid ButtonText; }
|
|
17107
|
+
[data-mk-wave-bar] { background: GrayText; }
|
|
17108
|
+
[data-mk-wave-bar][data-mk-played], [data-mk-wave-head] { background: Highlight; }
|
|
17047
17109
|
}
|
|
17048
17110
|
|
|
17049
17111
|
/* components/voice-message-bubble/voice-message-bubble.css */
|
|
17050
|
-
/* Requires waveform-player.css; the bubble composes its player without duplicating it. */
|
|
17051
|
-
.mk-voice-message-bubble, mk-voice-message-bubble { display: block; width: min(100%, 25rem); color: var(--mk-text); font-family: var(--mk-font); }
|
|
17052
|
-
[data-mk-voice-message-content] { display: grid; gap: .
|
|
17053
|
-
:is(.mk-voice-message-bubble, mk-voice-message-bubble)[data-mk-direction='outgoing'] { margin-inline-start: auto; }
|
|
17054
|
-
:is(.mk-voice-message-bubble, mk-voice-message-bubble)[data-mk-direction='outgoing'] [data-mk-voice-message-content] { background:
|
|
17055
|
-
[data-mk-voice-message-header], [data-mk-voice-message-footer] { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem .75rem; font-size: .6875rem; color: var(--mk-muted); }
|
|
17056
|
-
[data-mk-voice-message-author] { font-weight: 600; color: var(--mk-text); }
|
|
17057
|
-
[data-mk-voice-message-caption] { margin-inline-start: auto; }
|
|
17058
|
-
[data-mk-voice-message-footer] { justify-content: flex-end; }
|
|
17059
|
-
[data-mk-voice-message-status] { color: var(--mk-accent); }
|
|
17060
|
-
|
|
17112
|
+
/* Requires waveform-player.css; the bubble composes its player without duplicating it. */
|
|
17113
|
+
.mk-voice-message-bubble, mk-voice-message-bubble { display: block; width: min(100%, 25rem); color: var(--mk-text); font-family: var(--mk-font); }
|
|
17114
|
+
[data-mk-voice-message-content] { display: grid; gap: .5rem; padding: 1rem 1.25rem .75rem; background: var(--mk-surface-2); border: 0; border-radius: 32px 32px 32px 12px; }
|
|
17115
|
+
:is(.mk-voice-message-bubble, mk-voice-message-bubble)[data-mk-direction='outgoing'] { margin-inline-start: auto; }
|
|
17116
|
+
:is(.mk-voice-message-bubble, mk-voice-message-bubble)[data-mk-direction='outgoing'] [data-mk-voice-message-content] { background: var(--mk-surface-3); border-radius: 32px 32px 12px 32px; }
|
|
17117
|
+
[data-mk-voice-message-header], [data-mk-voice-message-footer] { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem .75rem; font-size: .6875rem; color: var(--mk-muted); }
|
|
17118
|
+
[data-mk-voice-message-author] { font-weight: 600; color: var(--mk-text); }
|
|
17119
|
+
[data-mk-voice-message-caption] { margin-inline-start: auto; }
|
|
17120
|
+
[data-mk-voice-message-footer] { justify-content: flex-end; }
|
|
17121
|
+
[data-mk-voice-message-status] { color: var(--mk-accent); }
|
|
17122
|
+
/* The track steps one tonal level above its bubble, like the equalizer above the page. */
|
|
17123
|
+
[data-mk-voice-message-content] .mk-waveform-player { --mk-wave-surface: var(--mk-surface-3); }
|
|
17124
|
+
:is(.mk-voice-message-bubble, mk-voice-message-bubble)[data-mk-direction='outgoing'] .mk-waveform-player { --mk-wave-surface: var(--mk-surface-4); }
|
|
17061
17125
|
@media (forced-colors: active) { [data-mk-voice-message-content] { border-color: CanvasText; } }
|
|
17062
17126
|
|
|
17063
17127
|
/* components/drilldown-menu/drilldown-menu.css */
|
|
@@ -17071,13 +17135,13 @@ mk-drilldown-menu {
|
|
|
17071
17135
|
width: 100%;
|
|
17072
17136
|
max-width: 26rem;
|
|
17073
17137
|
min-width: 0;
|
|
17074
|
-
padding:
|
|
17075
|
-
border:
|
|
17138
|
+
padding: 12px;
|
|
17139
|
+
border: 0;
|
|
17076
17140
|
border-radius: var(--mk-drilldown-radius);
|
|
17077
17141
|
background: var(--mk-surface-1);
|
|
17078
17142
|
color: var(--mk-text);
|
|
17079
17143
|
font-family: var(--md-sys-typescale-body-large-font, inherit);
|
|
17080
|
-
|
|
17144
|
+
font-family: var(--mk-font);
|
|
17081
17145
|
}
|
|
17082
17146
|
|
|
17083
17147
|
[data-mk-drilldown-header] {
|
|
@@ -17148,8 +17212,9 @@ mk-drilldown-menu {
|
|
|
17148
17212
|
cursor: pointer;
|
|
17149
17213
|
}
|
|
17150
17214
|
|
|
17151
|
-
[data-mk-drilldown-viewport] { overflow: hidden; border-radius: var(--mk-drilldown-item-radius); }
|
|
17152
|
-
[data-mk-drilldown-
|
|
17215
|
+
[data-mk-drilldown-viewport] { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--mk-drilldown-item-radius); }
|
|
17216
|
+
[data-mk-drilldown-highlight] { position: absolute; top: 0; left: 0; z-index: -1; border-radius: var(--mk-radius-lg); background: var(--mk-surface-3); pointer-events: none; opacity: 0; }
|
|
17217
|
+
[data-mk-drilldown-level] { position: relative; display: grid; gap: 6px; }
|
|
17153
17218
|
[data-mk-drilldown-item] {
|
|
17154
17219
|
display: flex;
|
|
17155
17220
|
align-items: center;
|
|
@@ -17167,16 +17232,19 @@ mk-drilldown-menu {
|
|
|
17167
17232
|
line-height: 1.4;
|
|
17168
17233
|
text-align: start;
|
|
17169
17234
|
cursor: pointer;
|
|
17170
|
-
transition:
|
|
17235
|
+
transition: color .15s, border-radius .3s var(--mk-ease-playful);
|
|
17171
17236
|
}
|
|
17172
17237
|
|
|
17173
17238
|
[data-mk-drilldown-item]:enabled:hover,
|
|
17174
|
-
[data-mk-drilldown-item]:focus-visible { background: var(--mk-
|
|
17239
|
+
[data-mk-drilldown-item]:focus-visible { background: color-mix(in srgb, var(--mk-text) 3%, transparent); border-radius: var(--mk-radius-xl); }
|
|
17240
|
+
[data-mk-drilldown-item][data-mk-chosen]::after { content: '✓'; display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; color: var(--mk-on-accent); background: var(--mk-accent); }
|
|
17175
17241
|
[data-mk-drilldown-item]:disabled { opacity: 0.42; cursor: default; }
|
|
17176
17242
|
[data-mk-drilldown-text] { display: grid; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
|
|
17177
17243
|
[data-mk-drilldown-label] { font-weight: 550; }
|
|
17178
17244
|
[data-mk-drilldown-description] { color: var(--mk-muted); font-size: 0.8rem; }
|
|
17179
17245
|
[data-mk-drilldown-arrow] { display: inline-flex; flex: none; color: var(--mk-muted); }
|
|
17246
|
+
[data-mk-drilldown-arrow] svg { transition: transform .35s var(--mk-ease-swatch); }
|
|
17247
|
+
[data-mk-highlighted] [data-mk-drilldown-arrow] svg { transform: translateX(3px); }
|
|
17180
17248
|
[data-mk-drilldown-empty] { margin: 0; padding: 24px 16px; color: var(--mk-muted); font-size: 0.875rem; }
|
|
17181
17249
|
|
|
17182
17250
|
[data-mk-drilldown-item]:focus-visible,
|
|
@@ -17192,19 +17260,359 @@ mk-drilldown-menu {
|
|
|
17192
17260
|
}
|
|
17193
17261
|
|
|
17194
17262
|
/* components/wheel-picker/wheel-picker.css */
|
|
17195
|
-
.mk-wheel-picker, mk-wheel-picker { --mk-wheel-row: 44px; --mk-wheel-rows: 5; display: grid; gap: .75rem; min-width: 0; color: var(--mk-text); font-family: var(--mk-font); }
|
|
17196
|
-
[data-mk-wheel-label] { color: var(--mk-muted); font-size: .8125rem; text-align: center; }
|
|
17197
|
-
[data-mk-wheel-frame] { position: relative; isolation: isolate; min-width: 0; }
|
|
17198
|
-
[data-mk-wheel-highlight] { position: absolute; top: calc(50% - var(--mk-wheel-row) / 2); right: .5rem; left: .5rem; height: var(--mk-wheel-row); border:
|
|
17199
|
-
[data-mk-wheel-viewport] { height: calc(var(--mk-wheel-row) * var(--mk-wheel-rows)); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scroll-snap-type: y mandatory; scrollbar-width: none; -webkit-tap-highlight-color: transparent; mask-image: linear-gradient(transparent, #000
|
|
17200
|
-
[data-mk-wheel-viewport]::-webkit-scrollbar { display: none; }
|
|
17201
|
-
[data-mk-wheel-viewport]:focus { outline: none; }
|
|
17202
|
-
[data-mk-wheel-frame]:has([data-mk-wheel-viewport]:focus-visible) { outline: 2px solid var(--mk-accent); outline-offset: 3px; border-radius: 24px; }
|
|
17203
|
-
[data-mk-wheel-list] { padding-block: calc(var(--mk-wheel-row) * (var(--mk-wheel-rows) - 1) / 2); }
|
|
17204
|
-
[data-mk-wheel-option] { display: grid; place-items: center; height: var(--mk-wheel-row); min-height: 44px; padding-inline: 1rem; color: var(--mk-
|
|
17205
|
-
[data-mk-wheel-option][aria-selected='true'] { color: var(--mk-text); font-weight: 650; }
|
|
17206
|
-
[data-mk-wheel-option][aria-disabled='true'] {
|
|
17207
|
-
[data-mk-wheel-
|
|
17208
|
-
[data-mk-
|
|
17209
|
-
|
|
17263
|
+
.mk-wheel-picker, mk-wheel-picker { --mk-wheel-row: 44px; --mk-wheel-rows: 5; display: grid; gap: .75rem; min-width: 0; color: var(--mk-text); font-family: var(--mk-font); }
|
|
17264
|
+
[data-mk-wheel-label] { color: var(--mk-muted); font-size: .8125rem; text-align: center; }
|
|
17265
|
+
[data-mk-wheel-frame] { position: relative; isolation: isolate; min-width: 0; overflow: hidden; border-radius: var(--mk-radius-xl); background: var(--mk-surface-1); }
|
|
17266
|
+
[data-mk-wheel-highlight] { position: absolute; top: calc(50% - var(--mk-wheel-row) / 2); right: .5rem; left: .5rem; height: var(--mk-wheel-row); border-radius: var(--mk-radius-md); background: var(--mk-surface-3); box-shadow: inset 0 1px color-mix(in srgb, var(--mk-text) 5%, transparent), inset 0 -1px color-mix(in srgb, var(--mk-text) 4%, transparent); pointer-events: none; z-index: -1; }
|
|
17267
|
+
[data-mk-wheel-viewport] { height: calc(var(--mk-wheel-row) * var(--mk-wheel-rows)); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scroll-snap-type: y mandatory; scrollbar-width: none; -webkit-tap-highlight-color: transparent; mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); }
|
|
17268
|
+
[data-mk-wheel-viewport]::-webkit-scrollbar { display: none; }
|
|
17269
|
+
[data-mk-wheel-viewport]:focus { outline: none; }
|
|
17270
|
+
[data-mk-wheel-frame]:has([data-mk-wheel-viewport]:focus-visible) { outline: 2px solid var(--mk-accent); outline-offset: 3px; border-radius: 24px; }
|
|
17271
|
+
[data-mk-wheel-list] { padding-block: calc(var(--mk-wheel-row) * (var(--mk-wheel-rows) - 1) / 2); }
|
|
17272
|
+
[data-mk-wheel-option] { display: grid; place-items: center; height: var(--mk-wheel-row); min-height: 44px; padding-inline: 1rem; color: var(--mk-text); font-size: 1.35rem; font-variant-numeric: tabular-nums; font-weight: 450; scroll-snap-align: center; cursor: pointer; user-select: none; transform-origin: center; backface-visibility: hidden; transition: color .18s ease; }
|
|
17273
|
+
[data-mk-wheel-option][aria-selected='true'] { color: var(--mk-text); font-weight: 650; }
|
|
17274
|
+
[data-mk-wheel-option]:not([aria-disabled='true']):hover { color: var(--mk-accent); }
|
|
17275
|
+
[data-mk-wheel-option][aria-disabled='true'] { color: var(--mk-muted); cursor: not-allowed; }
|
|
17276
|
+
[data-mk-wheel-empty] { display: block; text-align: center; color: var(--mk-muted); font-size: .875rem; }
|
|
17277
|
+
[data-mk-disabled] [data-mk-wheel-viewport] { overflow: hidden; opacity: .5; }
|
|
17278
|
+
@media (prefers-reduced-motion: reduce) { [data-mk-wheel-option] { transition: none; transform: none !important; } }
|
|
17210
17279
|
@media (forced-colors: active) { [data-mk-wheel-highlight] { border: 2px solid Highlight; } }
|
|
17280
|
+
|
|
17281
|
+
/* components/stepper/stepper.css */
|
|
17282
|
+
:is(.mk-stepper, mk-stepper) { display: block; min-width: 0; color: var(--mk-text); font: 500 .875rem/1.35 var(--mk-font); }
|
|
17283
|
+
[data-mk-stepper-body] { display: grid; gap: 1rem; }
|
|
17284
|
+
[data-mk-stepper-list] { display: flex; align-items: stretch; gap: .5rem; list-style: none; margin: 0; padding: 0; }
|
|
17285
|
+
[data-mk-stepper-item] { position: relative; flex: 1; min-width: 0; }
|
|
17286
|
+
[data-mk-stepper-step] { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; width: 100%; min-height: 44px; padding: .75rem; border: 0; border-radius: 16px; background: transparent; color: var(--mk-muted); font: inherit; text-align: start; cursor: pointer; transition: background .25s, border-radius .4s var(--mk-ease-swatch), color .2s; -webkit-tap-highlight-color: transparent; }
|
|
17287
|
+
[data-mk-stepper-marker] { display: grid; place-items: center; flex: none; box-sizing: border-box; width: 36px; height: 36px; border-radius: 12px; background: var(--mk-surface-2); color: var(--mk-muted); font-size: .8125rem; transition: background .25s, color .25s, width .4s var(--mk-ease-swatch), border-radius .4s var(--mk-ease-swatch); }
|
|
17288
|
+
[data-mk-stepper-copy] { display: grid; gap: .25rem; min-width: 0; }
|
|
17289
|
+
[data-mk-stepper-description] { font-size: .75rem; color: var(--mk-muted); font-weight: 400; }
|
|
17290
|
+
[data-mk-stepper-item][data-mk-current] [data-mk-stepper-step] { background: var(--mk-surface-2); color: var(--mk-text); border-radius: 24px; }
|
|
17291
|
+
[data-mk-stepper-item][data-mk-current] [data-mk-stepper-marker] { background: var(--mk-text); color: var(--mk-bg); border-radius: 64px; }
|
|
17292
|
+
[data-mk-stepper-item][data-mk-complete] [data-mk-stepper-marker] { background: var(--mk-surface-3); color: var(--mk-text); border-radius: 64px; }
|
|
17293
|
+
[data-mk-stepper-item][data-mk-error] [data-mk-stepper-marker] { background: var(--mk-error-soft); color: var(--mk-error); }
|
|
17294
|
+
[data-mk-stepper-step]:focus-visible { outline: 2px solid var(--mk-accent); outline-offset: 3px; }
|
|
17295
|
+
[data-mk-stepper-step]:disabled { opacity: .4; cursor: not-allowed; }
|
|
17296
|
+
[data-mk-stepper-caption] { min-height: 1.3em; color: var(--mk-muted); font-size: .75rem; text-align: center; font-variant-numeric: tabular-nums; }
|
|
17297
|
+
:is(.mk-stepper, mk-stepper)[data-mk-variant='vertical'] [data-mk-stepper-list] { flex-direction: column; gap: .375rem; }
|
|
17298
|
+
:is(.mk-stepper, mk-stepper)[data-mk-variant='vertical'] [data-mk-stepper-step] { flex-direction: row; align-items: center; }
|
|
17299
|
+
:is(.mk-stepper, mk-stepper)[data-mk-variant='vertical'] [data-mk-stepper-caption] { text-align: start; padding-inline: .75rem; }
|
|
17300
|
+
:is(.mk-stepper, mk-stepper)[data-mk-variant='compact'] [data-mk-stepper-step] { flex-direction: row; align-items: center; padding: .375rem; border-radius: 64px; }
|
|
17301
|
+
:is(.mk-stepper, mk-stepper)[data-mk-variant='compact'] [data-mk-stepper-item] { flex: 0 1 auto; }
|
|
17302
|
+
:is(.mk-stepper, mk-stepper)[data-mk-variant='compact'] [data-mk-stepper-item][data-mk-current] { flex: 1; }
|
|
17303
|
+
:is(.mk-stepper, mk-stepper)[data-mk-variant='compact'] [data-mk-stepper-marker] { border-radius: 64px; }
|
|
17304
|
+
:is(.mk-stepper, mk-stepper)[data-mk-variant='compact'] [data-mk-stepper-copy] { display: none; }
|
|
17305
|
+
:is(.mk-stepper, mk-stepper)[data-mk-variant='compact'] [data-mk-current] [data-mk-stepper-copy] { display: grid; padding-inline-end: .75rem; }
|
|
17306
|
+
:is(.mk-stepper, mk-stepper)[data-mk-variant='compact'] [data-mk-stepper-description] { display: none; }
|
|
17307
|
+
:is(.mk-stepper, mk-stepper)[data-mk-variant='dots'] [data-mk-stepper-list] { justify-content: center; gap: .25rem; }
|
|
17308
|
+
:is(.mk-stepper, mk-stepper)[data-mk-variant='dots'] [data-mk-stepper-item] { flex: none; }
|
|
17309
|
+
:is(.mk-stepper, mk-stepper)[data-mk-variant='dots'] [data-mk-stepper-step] { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; background: transparent; }
|
|
17310
|
+
:is(.mk-stepper, mk-stepper)[data-mk-variant='dots'] [data-mk-stepper-marker] { width: 8px; height: 8px; border-radius: 64px; font-size: 0; }
|
|
17311
|
+
:is(.mk-stepper, mk-stepper)[data-mk-variant='dots'] [data-mk-current] [data-mk-stepper-marker] { width: 28px; }
|
|
17312
|
+
:is(.mk-stepper, mk-stepper)[data-mk-variant='dots'] [data-mk-stepper-copy] { display: none; }
|
|
17313
|
+
@media (hover: hover) { [data-mk-stepper-step]:not(:disabled):hover { background: var(--mk-surface-2); border-radius: 24px; color: var(--mk-text); } }
|
|
17314
|
+
@media (max-width: 420px) { :is(.mk-stepper, mk-stepper)[data-mk-variant='horizontal'] [data-mk-stepper-step] { padding: .5rem; font-size: .75rem; } :is(.mk-stepper, mk-stepper)[data-mk-variant='horizontal'] [data-mk-stepper-description] { display: none; } }
|
|
17315
|
+
@media (prefers-reduced-motion: reduce) { [data-mk-stepper-step], [data-mk-stepper-marker] { transition: none; } }
|
|
17316
|
+
@media (forced-colors: active) { [data-mk-current] [data-mk-stepper-marker] { outline: 2px solid Highlight; } }
|
|
17317
|
+
|
|
17318
|
+
/* components/radio-group/radio-group.css */
|
|
17319
|
+
/* Tonal selectors: the selected surface rounds into a pill on the swatch curve. */
|
|
17320
|
+
:is(.mk-radio-group, mk-radio-group) { display: block; min-width: 0; font: 500 .875rem/1.4 var(--mk-font); color: var(--mk-text); }
|
|
17321
|
+
[data-mk-radio-body] { display: grid; gap: .5rem; }
|
|
17322
|
+
[data-mk-radio-options] { display: flex; flex-wrap: wrap; gap: .375rem; }
|
|
17323
|
+
[data-mk-radio-option] { position: relative; display: flex; align-items: center; gap: .75rem; min-height: 44px; padding: .65rem 1rem; border: 1px solid transparent; border-radius: 16px; background: var(--mk-surface-2); cursor: pointer; transition: background .2s, color .2s, border-radius .4s var(--mk-ease-swatch), padding .4s var(--mk-ease-swatch), box-shadow .2s; -webkit-tap-highlight-color: transparent; }
|
|
17324
|
+
[data-mk-radio-input] { position: absolute; width: 1px; height: 1px; opacity: 0; }
|
|
17325
|
+
[data-mk-radio-copy] { display: grid; gap: .2rem; }
|
|
17326
|
+
[data-mk-radio-description] { color: var(--mk-muted); font-size: .8125rem; font-weight: 400; }
|
|
17327
|
+
[data-mk-radio-mark] { flex: none; display: none; width: 20px; height: 20px; border: 1.5px solid var(--mk-outline); border-radius: 50%; box-sizing: border-box; }
|
|
17328
|
+
[data-mk-radio-option][data-mk-selected] { border-radius: 64px; padding-inline: 1.2rem; background: var(--mk-text); color: var(--mk-bg); }
|
|
17329
|
+
[data-mk-radio-option][data-mk-selected] [data-mk-radio-description] { color: inherit; opacity: .7; }
|
|
17330
|
+
[data-mk-radio-option]:has(:focus-visible) { outline: 2px solid var(--mk-accent); outline-offset: 3px; }
|
|
17331
|
+
[data-mk-radio-option]:has(:disabled) { opacity: .4; cursor: not-allowed; }
|
|
17332
|
+
[data-mk-radio-message] { color: var(--mk-muted); font-size: .8125rem; font-weight: 400; }
|
|
17333
|
+
[data-mk-radio-message]:empty { display: none; }
|
|
17334
|
+
:is(.mk-radio-group, mk-radio-group)[data-mk-error] [data-mk-radio-message] { color: var(--mk-error); }
|
|
17335
|
+
:is(.mk-radio-group, mk-radio-group)[data-mk-variant='card'] [data-mk-radio-options] { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: .75rem; }
|
|
17336
|
+
:is(.mk-radio-group, mk-radio-group)[data-mk-variant='card'] [data-mk-radio-option] { flex-direction: column; align-items: flex-start; padding: 1rem; border-radius: 24px; background: var(--mk-surface-1); border-color: var(--mk-outline-soft); }
|
|
17337
|
+
:is(.mk-radio-group, mk-radio-group)[data-mk-variant='card'] [data-mk-radio-option][data-mk-selected] { background: var(--mk-surface-3); color: var(--mk-text); box-shadow: inset 0 0 0 1px var(--mk-text); border-radius: 32px; }
|
|
17338
|
+
:is(.mk-radio-group, mk-radio-group)[data-mk-variant='list'] [data-mk-radio-options] { display: grid; gap: .375rem; }
|
|
17339
|
+
:is(.mk-radio-group, mk-radio-group)[data-mk-variant='list'] [data-mk-radio-option] { background: transparent; border-radius: 12px; }
|
|
17340
|
+
:is(.mk-radio-group, mk-radio-group)[data-mk-variant='list'] [data-mk-radio-option][data-mk-selected] { background: var(--mk-surface-2); color: var(--mk-text); border-radius: 16px; }
|
|
17341
|
+
:is(.mk-radio-group, mk-radio-group):is([data-mk-variant='card'], [data-mk-variant='list']) [data-mk-radio-mark] { display: block; }
|
|
17342
|
+
[data-mk-radio-option][data-mk-selected] [data-mk-radio-mark] { border: 6px solid var(--mk-text); }
|
|
17343
|
+
@media (hover: hover) { [data-mk-radio-option]:not(:has(:disabled)):hover { background: var(--mk-surface-3); border-radius: 24px; } [data-mk-radio-option][data-mk-selected]:hover { background: var(--mk-text); color: var(--mk-bg); border-radius: 64px; } }
|
|
17344
|
+
@media (hover: hover) { :is(.mk-radio-group, mk-radio-group):is([data-mk-variant='card'], [data-mk-variant='list']) [data-mk-radio-option][data-mk-selected]:hover { background: var(--mk-surface-3); color: var(--mk-text); border-radius: 24px; } }
|
|
17345
|
+
@media (prefers-reduced-motion: reduce) { [data-mk-radio-option] { transition: none; } }
|
|
17346
|
+
@media (forced-colors: active) { [data-mk-radio-option] { border: 1px solid ButtonText; } [data-mk-radio-option][data-mk-selected] { outline: 2px solid Highlight; } }
|
|
17347
|
+
|
|
17348
|
+
/* components/equalizer-slider/equalizer-slider.css */
|
|
17349
|
+
:is(.mk-equalizer-slider, mk-equalizer-slider) { display: block; width: 100%; min-width: 0; color: var(--mk-text); font: 500 .875rem/1.4 var(--mk-font); }
|
|
17350
|
+
[data-mk-equalizer-body] { display: grid; gap: .875rem; }
|
|
17351
|
+
[data-mk-equalizer-header] { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
|
|
17352
|
+
[data-mk-equalizer-output] { font-variant-numeric: tabular-nums; white-space: nowrap; }
|
|
17353
|
+
[data-mk-equalizer-track] { position: relative; height: 76px; min-width: 0; border-radius: 24px; background: var(--mk-surface-2); }
|
|
17354
|
+
[data-mk-equalizer-input] { position: absolute; z-index: 3; inset: 0; box-sizing: border-box; width: 100%; height: 100%; margin: 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: ew-resize; opacity: 0; }
|
|
17355
|
+
[data-mk-equalizer-input]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 32px; height: 76px; background: transparent; }
|
|
17356
|
+
[data-mk-equalizer-input]::-moz-range-thumb { width: 32px; height: 76px; border: 0; background: transparent; }
|
|
17357
|
+
[data-mk-equalizer-thumb] { position: absolute; z-index: 2; top: 50%; left: calc(16px + (100% - 32px) * var(--mk-equalizer-ratio, .5)); translate: -50% -50%; pointer-events: none; }
|
|
17358
|
+
[data-mk-equalizer-track]:has(:focus-visible) { outline: 2px solid var(--mk-accent); outline-offset: 4px; }
|
|
17359
|
+
[data-mk-equalizer-ends] { display: flex; justify-content: space-between; margin-top: -.375rem; color: var(--mk-muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
|
|
17360
|
+
[data-mk-equalizer-message] { color: var(--mk-error); font-size: .8125rem; font-weight: 400; }
|
|
17361
|
+
[data-mk-equalizer-message]:empty { display: none; }
|
|
17362
|
+
:is(.mk-equalizer-slider, mk-equalizer-slider)[data-mk-disabled] { opacity: .4; }
|
|
17363
|
+
:is(.mk-equalizer-slider, mk-equalizer-slider)[data-mk-disabled] [data-mk-equalizer-input] { cursor: not-allowed; }
|
|
17364
|
+
:is(.mk-equalizer-slider, mk-equalizer-slider)[data-mk-error] [data-mk-equalizer-track] { outline: 1px solid var(--mk-error); }
|
|
17365
|
+
[data-mk-equalizer-output] { padding: .375rem .75rem; border-radius: 64px; background: var(--mk-surface-2); font-size: .8125rem; }
|
|
17366
|
+
[data-mk-equalizer-wave] { position: absolute; inset: 14px 16px; display: flex; align-items: center; gap: 3px; pointer-events: none; }
|
|
17367
|
+
[data-mk-equalizer-wave] > span { flex: 1; min-width: 1px; border-radius: 64px; background: var(--mk-outline-soft); transform-origin: center; transition: background .16s; }
|
|
17368
|
+
[data-mk-equalizer-wave] > span[data-mk-on] { background: var(--mk-text); }
|
|
17369
|
+
[data-mk-equalizer-thumb] { width: 4px; height: 54px; border: 3px solid var(--mk-surface-2); border-radius: 64px; background: var(--mk-text); box-sizing: content-box; transition: height .35s var(--mk-ease-swatch), border-width .35s var(--mk-ease-swatch); }
|
|
17370
|
+
:is(.mk-equalizer-slider, mk-equalizer-slider)[data-mk-held] [data-mk-equalizer-thumb] { height: 66px; border-width: 5px; }
|
|
17371
|
+
@media (hover: hover) { [data-mk-equalizer-track]:has(:not(:disabled):hover) [data-mk-equalizer-thumb] { height: 62px; } }
|
|
17372
|
+
@media (prefers-reduced-motion: reduce) { [data-mk-equalizer-thumb], [data-mk-equalizer-wave] > span { transition: none; } }
|
|
17373
|
+
@media (forced-colors: active) { [data-mk-equalizer-wave] > span { background: GrayText; } [data-mk-equalizer-wave] > span[data-mk-on], [data-mk-equalizer-thumb] { background: Highlight; } }
|
|
17374
|
+
|
|
17375
|
+
/* components/temperature-slider/temperature-slider.css */
|
|
17376
|
+
:is(.mk-temperature-slider, mk-temperature-slider) { display: block; width: 100%; min-width: 0; color: var(--mk-text); font: 500 .875rem/1.4 var(--mk-font); }
|
|
17377
|
+
[data-mk-temperature-body] { display: grid; gap: .875rem; }
|
|
17378
|
+
[data-mk-temperature-header] { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
|
|
17379
|
+
[data-mk-temperature-output] { font-variant-numeric: tabular-nums; white-space: nowrap; }
|
|
17380
|
+
[data-mk-temperature-track] { position: relative; height: 76px; min-width: 0; border-radius: 24px; background: var(--mk-surface-2); }
|
|
17381
|
+
[data-mk-temperature-input] { position: absolute; z-index: 3; inset: 0; box-sizing: border-box; width: 100%; height: 100%; margin: 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: ew-resize; opacity: 0; }
|
|
17382
|
+
[data-mk-temperature-input]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 32px; height: 76px; background: transparent; }
|
|
17383
|
+
[data-mk-temperature-input]::-moz-range-thumb { width: 32px; height: 76px; border: 0; background: transparent; }
|
|
17384
|
+
[data-mk-temperature-thumb] { position: absolute; z-index: 2; top: 50%; left: calc(16px + (100% - 32px) * var(--mk-temperature-ratio, .5)); translate: -50% -50%; pointer-events: none; }
|
|
17385
|
+
[data-mk-temperature-track]:has(:focus-visible) { outline: 2px solid var(--mk-accent); outline-offset: 4px; }
|
|
17386
|
+
[data-mk-temperature-ends] { display: flex; justify-content: space-between; margin-top: -.375rem; color: var(--mk-muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
|
|
17387
|
+
[data-mk-temperature-message] { color: var(--mk-error); font-size: .8125rem; font-weight: 400; }
|
|
17388
|
+
[data-mk-temperature-message]:empty { display: none; }
|
|
17389
|
+
:is(.mk-temperature-slider, mk-temperature-slider)[data-mk-disabled] { opacity: .4; }
|
|
17390
|
+
:is(.mk-temperature-slider, mk-temperature-slider)[data-mk-disabled] [data-mk-temperature-input] { cursor: not-allowed; }
|
|
17391
|
+
:is(.mk-temperature-slider, mk-temperature-slider)[data-mk-error] [data-mk-temperature-track] { outline: 1px solid var(--mk-error); }
|
|
17392
|
+
:is(.mk-temperature-slider, mk-temperature-slider) { --mk-temperature-cool: var(--mk-accent); --mk-temperature-hot: var(--md-sys-color-tertiary, var(--mk-text)); --mk-temperature-tint: color-mix(in srgb, var(--mk-temperature-cool), var(--mk-temperature-hot) var(--mk-temperature-warm, 50%)); }
|
|
17393
|
+
[data-mk-temperature-output] { font-size: clamp(2rem, 6vw, 2.75rem); font-weight: 500; letter-spacing: -.06em; line-height: 1.2; }
|
|
17394
|
+
[data-mk-temperature-track] { height: 64px; background: color-mix(in srgb, var(--mk-temperature-tint) 5%, var(--mk-surface-2)); }
|
|
17395
|
+
[data-mk-temperature-rail] { position: absolute; inset: 28px 16px; border-radius: 64px; background: var(--mk-outline-soft); overflow: hidden; }
|
|
17396
|
+
[data-mk-temperature-fill] { display: block; height: 100%; border-radius: inherit; background: color-mix(in srgb, var(--mk-temperature-tint) 42%, var(--mk-text)); }
|
|
17397
|
+
[data-mk-temperature-ticks] { position: absolute; inset: 0 16px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
|
|
17398
|
+
[data-mk-temperature-ticks] > i { width: 1px; height: 18px; background: var(--mk-outline-soft); }
|
|
17399
|
+
[data-mk-temperature-thumb] { display: grid; place-items: center; width: 30px; height: 40px; border-radius: 12px; background: var(--mk-text); color: var(--mk-bg); font: 700 18px/1 var(--mk-font); box-shadow: 0 0 0 4px var(--mk-surface-2); transition: width .35s var(--mk-ease-swatch), border-radius .35s var(--mk-ease-swatch); }
|
|
17400
|
+
:is(.mk-temperature-slider, mk-temperature-slider)[data-mk-held] [data-mk-temperature-thumb] { width: 38px; border-radius: 16px; }
|
|
17401
|
+
@media (hover: hover) { [data-mk-temperature-track]:has(:not(:disabled):hover) [data-mk-temperature-thumb] { border-radius: 16px; width: 34px; } }
|
|
17402
|
+
@media (prefers-reduced-motion: reduce) { [data-mk-temperature-thumb] { transition: none; } }
|
|
17403
|
+
@media (forced-colors: active) { [data-mk-temperature-rail] { background: GrayText; } [data-mk-temperature-fill], [data-mk-temperature-thumb] { background: Highlight; } }
|
|
17404
|
+
|
|
17405
|
+
/* components/rating-scale/rating-scale.css */
|
|
17406
|
+
:is(.mk-rating-scale, mk-rating-scale) { display: block; min-width: 0; color: var(--mk-text); font: 500 .875rem/1.4 var(--mk-font); }
|
|
17407
|
+
[data-mk-rating-scale-body] { display: grid; gap: .875rem; }
|
|
17408
|
+
[data-mk-rating-scale-options] { display: flex; flex-wrap: wrap; gap: .375rem; }
|
|
17409
|
+
[data-mk-rating-scale-option] { position: relative; flex: 1 0 2.25rem; display: grid; place-items: center; gap: .5rem; min-width: 0; min-height: 44px; border: 1px solid transparent; border-radius: 12px; background: var(--mk-surface-2); cursor: pointer; transition: border-radius .4s var(--mk-ease-swatch), background .2s, color .2s, translate .35s var(--mk-ease-swatch); -webkit-tap-highlight-color: transparent; }
|
|
17410
|
+
[data-mk-rating-scale-input] { position: absolute; width: 1px; height: 1px; opacity: 0; }
|
|
17411
|
+
[data-mk-rating-scale-mark] { display: grid; place-items: center; width: 100%; min-height: 44px; font-variant-numeric: tabular-nums; }
|
|
17412
|
+
[data-mk-rating-scale-copy] { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
|
|
17413
|
+
[data-mk-rating-scale-option][data-mk-in-range] { background: color-mix(in srgb, var(--mk-text) 12%, var(--mk-surface-2)); }
|
|
17414
|
+
[data-mk-rating-scale-option][data-mk-selected] { background: var(--mk-text); color: var(--mk-bg); border-radius: 64px; }
|
|
17415
|
+
[data-mk-rating-scale-option]:has(:focus-visible) { outline: 2px solid var(--mk-accent); outline-offset: 3px; }
|
|
17416
|
+
[data-mk-rating-scale-option]:has(:disabled) { opacity: .4; cursor: not-allowed; }
|
|
17417
|
+
[data-mk-rating-scale-message] { min-height: 1.2em; text-align: center; color: var(--mk-muted); font-size: .8125rem; }
|
|
17418
|
+
:is(.mk-rating-scale, mk-rating-scale)[data-mk-error] [data-mk-rating-scale-message] { color: var(--mk-error); }
|
|
17419
|
+
:is(.mk-rating-scale, mk-rating-scale)[data-mk-variant='sentiment'] [data-mk-rating-scale-options] { gap: .5rem; }
|
|
17420
|
+
:is(.mk-rating-scale, mk-rating-scale)[data-mk-variant='sentiment'] [data-mk-rating-scale-option] { padding: .875rem .375rem .65rem; border-radius: 24px; flex-basis: 3rem; }
|
|
17421
|
+
:is(.mk-rating-scale, mk-rating-scale)[data-mk-variant='sentiment'] [data-mk-rating-scale-option][data-mk-selected] { border-radius: 32px; }
|
|
17422
|
+
:is(.mk-rating-scale, mk-rating-scale)[data-mk-variant='sentiment'] [data-mk-rating-scale-mark] { position: relative; box-sizing: border-box; width: 38px; height: 38px; min-height: 0; padding-top: 10px; border: 1.5px solid currentColor; border-radius: 50%; font: 500 25px/.7 var(--mk-font); }
|
|
17423
|
+
:is(.mk-rating-scale, mk-rating-scale)[data-mk-variant='sentiment'] [data-mk-rating-scale-mark]::before { content: '··'; position: absolute; top: -2px; left: 8px; letter-spacing: 5px; font-size: 24px; line-height: 1; }
|
|
17424
|
+
:is(.mk-rating-scale, mk-rating-scale)[data-mk-variant='sentiment'] [data-mk-rating-scale-copy] { position: static; width: auto; height: auto; clip-path: none; white-space: normal; text-align: center; font-size: .6875rem; }
|
|
17425
|
+
@media (hover: hover) { [data-mk-rating-scale-option]:not(:has(:disabled)):hover { translate: 0 -3px; border-radius: 24px; background: var(--mk-surface-3); } [data-mk-rating-scale-option][data-mk-selected]:hover { background: var(--mk-text); border-radius: 64px; } }
|
|
17426
|
+
@media (prefers-reduced-motion: reduce) { [data-mk-rating-scale-option] { transition: none; } }
|
|
17427
|
+
@media (forced-colors: active) { [data-mk-rating-scale-option] { border: 1px solid ButtonText; } [data-mk-rating-scale-option][data-mk-selected] { outline: 2px solid Highlight; } }
|
|
17428
|
+
|
|
17429
|
+
/* components/notification-stack/notification-stack.css */
|
|
17430
|
+
.mk-notification-stack, mk-notification-stack { display: block; width: min(100%, 400px); color: var(--mk-text); font-family: var(--mk-font); }
|
|
17431
|
+
.mk-notification-stack__deck { position: relative; width: 100%; perspective: 900px; }
|
|
17432
|
+
.mk-notification-stack__card { box-sizing: border-box; position: absolute; inset: 0 0 auto; display: flex; align-items: flex-start; gap: 12px; padding: 20px; min-height: 100px; border-radius: 24px; background: var(--mk-surface-2); box-shadow: 0 1px 0 var(--mk-outline-soft) inset, 0 12px 24px -20px var(--mk-shadow-color, rgb(0 0 0 / .4)); transform-origin: center top; }
|
|
17433
|
+
.mk-notification-stack__body { min-width: 0; flex: 1; }
|
|
17434
|
+
.mk-notification-stack__card > * { transition: opacity .25s ease var(--mk-stack-delay, 0s); }
|
|
17435
|
+
.mk-notification-stack__card[data-mk-peek] { max-height: var(--mk-stack-front, 100px); overflow: hidden; }
|
|
17436
|
+
.mk-notification-stack__card[data-mk-peek] > * { opacity: 0; }
|
|
17437
|
+
.mk-notification-stack__body strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; }
|
|
17438
|
+
.mk-notification-stack__body p { margin: 4px 0 0; color: var(--mk-muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
|
|
17439
|
+
.mk-notification-stack__mark { flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 12px; background: var(--mk-surface-3, var(--mk-surface)); font-size: 16px; }
|
|
17440
|
+
.mk-notification-stack__card[data-mk-tone=success] .mk-notification-stack__mark { background: var(--mk-accent-soft); color: var(--mk-on-accent-soft); }
|
|
17441
|
+
.mk-notification-stack__card[data-mk-tone=error] .mk-notification-stack__mark { background: color-mix(in srgb, var(--mk-error, #b3261e) 12%, var(--mk-surface-2)); color: var(--mk-error, #b3261e); }
|
|
17442
|
+
.mk-notification-stack button { border: 0; color: inherit; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
|
|
17443
|
+
.mk-notification-stack__dismiss { flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; margin: -6px -6px 0 0; border-radius: 64px; background: transparent; font-size: 20px !important; }
|
|
17444
|
+
.mk-notification-stack__action { margin-top: 10px; min-height: 32px; padding: 6px 12px; border-radius: 64px; background: var(--mk-surface-3, var(--mk-surface)); font-size: 12px !important; font-weight: 600 !important; }
|
|
17445
|
+
.mk-notification-stack__toggle { display: flex; align-items: center; gap: 8px; min-height: 36px; margin: 16px auto 0; padding: 6px 14px; border-radius: 64px; background: var(--mk-surface); font-size: 12px !important; transition: background .2s, padding .4s var(--mk-ease-swatch); }
|
|
17446
|
+
.mk-notification-stack__toggle > span:first-child { min-width: 20px; font-variant-numeric: tabular-nums; }
|
|
17447
|
+
.mk-notification-stack__chevron { display: grid; place-items: center; width: 16px; height: 16px; transition: rotate .45s var(--mk-ease-swatch); }
|
|
17448
|
+
.mk-notification-stack__chevron svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
|
|
17449
|
+
.mk-notification-stack[data-mk-expanded='true'] .mk-notification-stack__chevron { rotate: 180deg; }
|
|
17450
|
+
.mk-notification-stack__empty { padding: 24px; margin: 0; border-radius: 24px; background: var(--mk-surface); text-align: center; font-size: 13px; color: var(--mk-muted); }
|
|
17451
|
+
.mk-notification-stack [hidden] { display: none !important; }
|
|
17452
|
+
/* A closed deck with more than one card opens on click. */
|
|
17453
|
+
.mk-notification-stack[data-mk-expandable] .mk-notification-stack__deck { cursor: pointer; }
|
|
17454
|
+
/* Up: cards rest on the deck's floor and rise above the front one; the disclosure sits on top. */
|
|
17455
|
+
.mk-notification-stack[data-mk-direction='up'] { display: flex; flex-direction: column-reverse; }
|
|
17456
|
+
.mk-notification-stack[data-mk-direction='up'] .mk-notification-stack__card { inset: auto 0 0; transform-origin: center bottom; }
|
|
17457
|
+
.mk-notification-stack[data-mk-direction='up'] .mk-notification-stack__toggle { margin: 0 auto 16px; }
|
|
17458
|
+
.mk-notification-stack[data-mk-direction='up'] .mk-notification-stack__chevron { rotate: 180deg; }
|
|
17459
|
+
.mk-notification-stack[data-mk-direction='up'][data-mk-expanded='true'] .mk-notification-stack__chevron { rotate: 0deg; }
|
|
17460
|
+
/* Side: peeks show at the right edge; open, the cards become a strip that scrolls sideways. */
|
|
17461
|
+
.mk-notification-stack[data-mk-direction='side'] .mk-notification-stack__card { right: auto; width: min(86%, 340px); transform-origin: right center; }
|
|
17462
|
+
.mk-notification-stack[data-mk-direction='side'][data-mk-expanded='true'] .mk-notification-stack__deck { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; }
|
|
17463
|
+
.mk-notification-stack[data-mk-direction='side'][data-mk-expanded='true'] .mk-notification-stack__deck::-webkit-scrollbar { display: none; }
|
|
17464
|
+
.mk-notification-stack[data-mk-direction='side'] .mk-notification-stack__chevron { rotate: -90deg; }
|
|
17465
|
+
.mk-notification-stack[data-mk-direction='side'][data-mk-expanded='true'] .mk-notification-stack__chevron { rotate: 90deg; }
|
|
17466
|
+
.mk-notification-stack button:focus-visible { outline: 2px solid var(--mk-accent); outline-offset: 3px; }
|
|
17467
|
+
.mk-notification-stack button:disabled { opacity: .4; cursor: not-allowed; }
|
|
17468
|
+
@media (hover: hover) { .mk-notification-stack button:not(:disabled):hover { background: var(--mk-surface-3, var(--mk-surface)); } .mk-notification-stack__toggle:not(:disabled):hover { padding-inline: 18px; } }
|
|
17469
|
+
@media (max-width: 480px) { .mk-notification-stack__card { padding: 16px; gap: 10px; } }
|
|
17470
|
+
@media (prefers-reduced-motion: reduce) { .mk-notification-stack * { transition: none !important; } }
|
|
17471
|
+
|
|
17472
|
+
/* components/bento-grid/bento-grid.css */
|
|
17473
|
+
.mk-bento-grid, mk-bento-grid { container-type: inline-size; display: grid; grid-template-columns: repeat(var(--mk-bento-columns, 3), minmax(0, 1fr)); grid-auto-rows: minmax(112px, auto); gap: var(--mk-bento-gap, 12px); color: var(--mk-text); font-family: var(--mk-font); }
|
|
17474
|
+
.mk-bento-grid > [data-mk-bento-item], mk-bento-grid > [data-mk-bento-item] { box-sizing: border-box; min-width: 0; grid-column: span var(--mk-bento-col-span, 1); grid-row: span var(--mk-bento-row-span, 1); padding: 20px; border-radius: 24px; background: var(--mk-surface); transition: background .2s, box-shadow .25s; }
|
|
17475
|
+
.mk-bento-grid > [data-mk-bento-item][hidden], mk-bento-grid > [data-mk-bento-item][hidden] { display: none !important; }
|
|
17476
|
+
.mk-bento-grid > [data-mk-bento-item]:focus-within, mk-bento-grid > [data-mk-bento-item]:focus-within { background: var(--mk-surface-2); }
|
|
17477
|
+
.mk-bento-grid :is(a,button):focus-visible, mk-bento-grid :is(a,button):focus-visible { outline: 2px solid var(--mk-accent); outline-offset: 4px; }
|
|
17478
|
+
.mk-bento-grid :is(button,a)[aria-disabled=true], .mk-bento-grid button:disabled { opacity: .4; cursor: not-allowed; }
|
|
17479
|
+
.mk-bento-grid[data-mk-empty]::after, mk-bento-grid[data-mk-empty]::after { content: attr(data-mk-empty-label); grid-column: 1 / -1; min-height: 112px; display: grid; place-items: center; border-radius: 24px; color: var(--mk-muted); background: var(--mk-surface); font-size: 13px; }
|
|
17480
|
+
@media (hover: hover) { :is(.mk-bento-grid,mk-bento-grid) > [data-mk-bento-item]:hover { background: var(--mk-surface-2); box-shadow: 0 10px 24px -24px var(--mk-text); } }
|
|
17481
|
+
/* The container can be a 640px playground card, independent of viewport width. */
|
|
17482
|
+
@container (max-width: 440px) { :is(.mk-bento-grid,mk-bento-grid) > [data-mk-bento-item] { grid-column: span min(var(--mk-bento-col-span, 1), 2); padding: 16px; border-radius: 16px; } }
|
|
17483
|
+
@media (max-width: 480px) { :is(.mk-bento-grid,mk-bento-grid) > [data-mk-bento-item] { padding: 16px; border-radius: 16px; } }
|
|
17484
|
+
@media (prefers-reduced-motion: reduce) { :is(.mk-bento-grid,mk-bento-grid) * { transition: none !important; } }
|
|
17485
|
+
|
|
17486
|
+
/* components/scroll-preview-dock/scroll-preview-dock.css */
|
|
17487
|
+
.mk-scroll-preview-dock, mk-scroll-preview-dock { box-sizing: border-box; display: grid; gap: 10px; width: min(100%, 400px); color: var(--mk-text); font-family: var(--mk-font); }
|
|
17488
|
+
.mk-scroll-preview-dock__preview { display: flex; align-items: center; gap: 12px; min-height: 60px; box-sizing: border-box; padding: 12px 16px; border-radius: 24px; background: var(--mk-surface-2); box-shadow: 0 1px 0 var(--mk-outline-soft) inset; }
|
|
17489
|
+
.mk-scroll-preview-dock__image { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--mk-surface-3, var(--mk-surface)); overflow: hidden; font-weight: 600; font-size: 14px; }
|
|
17490
|
+
.mk-scroll-preview-dock__image img, .mk-scroll-preview-dock__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
|
|
17491
|
+
.mk-scroll-preview-dock__preview strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.4; }
|
|
17492
|
+
.mk-scroll-preview-dock__description { display: block; color: var(--mk-muted); font-size: 11px; line-height: 1.5; }
|
|
17493
|
+
.mk-scroll-preview-dock__nav { position: relative; box-sizing: border-box; display: flex; align-items: stretch; justify-content: space-between; gap: 4px; width: 100%; padding: 6px; border-radius: 32px; background: var(--mk-surface); }
|
|
17494
|
+
.mk-scroll-preview-dock__pill { position: absolute; top: 0; left: 0; border-radius: 24px; background: var(--mk-surface-3, var(--mk-surface-2)); pointer-events: none; box-shadow: 0 1px 0 var(--mk-outline-soft) inset; }
|
|
17495
|
+
.mk-scroll-preview-dock__item { position: relative; z-index: 1; display: flex; flex: 1 1 0; align-items: center; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; min-height: 68px; padding: 6px; border-radius: 24px; text-align: center; color: var(--mk-muted); text-decoration: none; font-size: 10px; line-height: 1.3; -webkit-tap-highlight-color: transparent; transition: color .2s; }
|
|
17496
|
+
.mk-scroll-preview-dock__thumb { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 12px; background: var(--mk-surface-2); overflow: hidden; color: var(--mk-text); font-size: 10px; font-weight: 600; transition: transform .4s var(--mk-ease-swatch), border-radius .4s var(--mk-ease-swatch); }
|
|
17497
|
+
.mk-scroll-preview-dock__item[aria-current] { color: var(--mk-text); }
|
|
17498
|
+
.mk-scroll-preview-dock__item[data-mk-preview=true] .mk-scroll-preview-dock__thumb { transform: translateY(-3px) rotate(-4deg) scale(1.08); border-radius: 8px; }
|
|
17499
|
+
.mk-scroll-preview-dock__item:focus-visible { outline: 2px solid var(--mk-accent); outline-offset: 2px; }
|
|
17500
|
+
.mk-scroll-preview-dock__item[aria-disabled=true] { opacity: .4; cursor: not-allowed; }
|
|
17501
|
+
.mk-scroll-preview-dock [hidden] { display: none !important; }
|
|
17502
|
+
.mk-scroll-preview-dock__empty { margin: 0; padding: 20px; text-align: center; background: var(--mk-surface); border-radius: 24px; font-size: 12px; color: var(--mk-muted); }
|
|
17503
|
+
@media (prefers-reduced-motion: reduce) { .mk-scroll-preview-dock * { transition: none !important; } }
|
|
17504
|
+
|
|
17505
|
+
/* components/sticky-header/sticky-header.css */
|
|
17506
|
+
.mk-sticky-header, mk-sticky-header { display: block; position: sticky; top: var(--mk-sticky-top, 0px); z-index: 5; height: var(--mk-sticky-expanded-height, 104px); min-height: var(--mk-sticky-expanded-height, 104px); pointer-events: none; color: var(--mk-text); font-family: var(--mk-font); }
|
|
17507
|
+
.mk-sticky-header [data-mk-sticky-surface], mk-sticky-header [data-mk-sticky-surface] { box-sizing: border-box; position: absolute; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 104px; padding: 16px 24px; border-radius: 24px; pointer-events: auto; background: var(--mk-surface); transition: background .3s, box-shadow .3s; }
|
|
17508
|
+
:is(.mk-sticky-header,mk-sticky-header)[data-mk-compact=true] [data-mk-sticky-surface] { background: var(--mk-surface-2); box-shadow: 0 10px 24px -20px var(--mk-shadow-color, rgb(0 0 0 / .4)); }
|
|
17509
|
+
:is(.mk-sticky-header,mk-sticky-header) [data-mk-sticky-title] { display: block; margin: 0; font-size: clamp(20px, 3.5vw, 28px); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; }
|
|
17510
|
+
:is(.mk-sticky-header,mk-sticky-header) [data-mk-sticky-subtitle] { display: block; margin: 4px 0 0; height: 1.5em; overflow: hidden; color: var(--mk-muted); font-size: 12px; line-height: 1.5; }
|
|
17511
|
+
:is(.mk-sticky-header,mk-sticky-header) :is(button,a):focus-visible { outline: 2px solid var(--mk-accent); outline-offset: 3px; }
|
|
17512
|
+
:is(.mk-sticky-header,mk-sticky-header) button:disabled { opacity: .4; cursor: not-allowed; }
|
|
17513
|
+
@media (max-width: 480px) { :is(.mk-sticky-header,mk-sticky-header) [data-mk-sticky-surface] { gap: 12px; } }
|
|
17514
|
+
@media (prefers-reduced-motion: reduce) { :is(.mk-sticky-header,mk-sticky-header) * { transition: none !important; } }
|
|
17515
|
+
|
|
17516
|
+
/* components/handwriting-text/handwriting-text.css */
|
|
17517
|
+
.mk-handwriting-text,
|
|
17518
|
+
mk-handwriting-text {
|
|
17519
|
+
--mk-handwriting-width: 28rem;
|
|
17520
|
+
display: inline-block;
|
|
17521
|
+
width: min(100%, var(--mk-handwriting-width));
|
|
17522
|
+
color: var(--mk-text);
|
|
17523
|
+
font-family: var(--mk-font);
|
|
17524
|
+
line-height: 1;
|
|
17525
|
+
}
|
|
17526
|
+
[data-mk-handwriting] [data-mk-handwriting-drawing] { display: block; width: 100%; height: auto; overflow: visible; }
|
|
17527
|
+
[data-mk-handwriting] path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
|
17528
|
+
[data-mk-handwriting-fallback] { fill: currentColor; stroke: none; font: 30px var(--mk-font); }
|
|
17529
|
+
[data-mk-handwriting][data-mk-empty] { min-height: 1rem; }
|
|
17530
|
+
@media (prefers-reduced-motion: reduce) { [data-mk-handwriting] path { stroke-dashoffset: 0 !important; } }
|
|
17531
|
+
|
|
17532
|
+
/* components/particle-button/particle-button.css */
|
|
17533
|
+
.mk-particle-button,
|
|
17534
|
+
mk-particle-button { display: inline-flex; overflow: visible; }
|
|
17535
|
+
[data-mk-particle-button] {
|
|
17536
|
+
position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
|
|
17537
|
+
min-height: 48px; padding: .8rem 1.45rem; border: 1px solid var(--mk-outline-soft); border-radius: 16px;
|
|
17538
|
+
background: var(--mk-surface-3); color: var(--mk-text); font: 500 .9375rem var(--mk-font); cursor: pointer;
|
|
17539
|
+
transition: background 160ms, border-radius 320ms var(--mk-ease-swatch);
|
|
17540
|
+
}
|
|
17541
|
+
[data-mk-particle-button]:hover:not(:disabled) { background: var(--mk-surface-4); border-radius: 24px; }
|
|
17542
|
+
[data-mk-particle-button]:focus-visible { outline: 2px solid var(--mk-accent); outline-offset: 4px; }
|
|
17543
|
+
[data-mk-particle-button]:disabled,
|
|
17544
|
+
[data-mk-particle-button][aria-disabled='true'] { opacity: .4; cursor: not-allowed; }
|
|
17545
|
+
@media (prefers-reduced-motion: reduce) { [data-mk-particle-button] { transition: none; } }
|
|
17546
|
+
|
|
17547
|
+
/* components/magnetize-button/magnetize-button.css */
|
|
17548
|
+
.mk-magnetize-button,
|
|
17549
|
+
mk-magnetize-button { display: inline-flex; overflow: visible; }
|
|
17550
|
+
[data-mk-magnetize-button] {
|
|
17551
|
+
position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px;
|
|
17552
|
+
padding: .8rem 1.5rem; border: 1px solid var(--mk-outline-soft); border-radius: 16px; background: var(--mk-surface-3);
|
|
17553
|
+
color: var(--mk-text); font: 500 .9375rem var(--mk-font); cursor: pointer; overflow: visible;
|
|
17554
|
+
transition: background 160ms, border-radius 350ms var(--mk-ease-swatch);
|
|
17555
|
+
}
|
|
17556
|
+
[data-mk-magnetize-button]:is(:hover, [data-mk-attracted]):not(:disabled) { border-radius: 24px; background: var(--mk-surface-4); }
|
|
17557
|
+
[data-mk-magnetize-button]:focus-visible { outline: 2px solid var(--mk-accent); outline-offset: 8px; }
|
|
17558
|
+
[data-mk-magnetize-button]:disabled,
|
|
17559
|
+
[data-mk-magnetize-button][aria-disabled='true'] { opacity: .4; cursor: not-allowed; }
|
|
17560
|
+
[data-mk-magnet-particles] { position: absolute; inset: 0; pointer-events: none; }
|
|
17561
|
+
[data-mk-magnet-particles][hidden] { display: none; }
|
|
17562
|
+
[data-mk-magnet-particles] i { position: absolute; top: 50%; left: 50%; width: 4px; height: 4px; margin: -2px; border-radius: 999px; background: var(--mk-muted); }
|
|
17563
|
+
[data-mk-magnet-particles] i:nth-child(4n) { width: 5px; height: 5px; background: var(--mk-accent); }
|
|
17564
|
+
@media (prefers-reduced-motion: reduce) { [data-mk-magnet-particles] { display: none; } [data-mk-magnetize-button] { transition: none; } }
|
|
17565
|
+
|
|
17566
|
+
/* components/badge-button/badge-button.css */
|
|
17567
|
+
.mk-badge-button,
|
|
17568
|
+
mk-badge-button { display: inline-flex; }
|
|
17569
|
+
[data-mk-badge-button] {
|
|
17570
|
+
display: inline-flex; align-items: center; justify-content: center; gap: .7rem; position: relative;
|
|
17571
|
+
min-height: 48px; padding: .65rem 1rem .65rem 1.25rem; border: 1px solid var(--mk-outline-soft); border-radius: 16px;
|
|
17572
|
+
background: var(--mk-surface-3); color: var(--mk-text); font: 500 .9375rem var(--mk-font); cursor: pointer;
|
|
17573
|
+
transition: background 160ms, border-radius 320ms var(--mk-ease-swatch);
|
|
17574
|
+
}
|
|
17575
|
+
[data-mk-badge-button]:hover:not(:disabled) { border-radius: 24px; background: var(--mk-surface-4); }
|
|
17576
|
+
[data-mk-badge-button]:focus-visible { outline: 2px solid var(--mk-accent); outline-offset: 4px; }
|
|
17577
|
+
[data-mk-badge-button]:disabled,
|
|
17578
|
+
[data-mk-badge-button][aria-disabled='true'] { opacity: .4; cursor: not-allowed; }
|
|
17579
|
+
[data-mk-badge-count] { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--mk-accent); color: var(--mk-on-accent); font-size: .75rem; font-weight: 650; font-variant-numeric: tabular-nums; }
|
|
17580
|
+
[data-mk-badge-count][hidden] { display: none; }
|
|
17581
|
+
@media (prefers-reduced-motion: reduce) { [data-mk-badge-button] { transition: none; } }
|
|
17582
|
+
|
|
17583
|
+
/* components/morphing-page-dots/morphing-page-dots.css */
|
|
17584
|
+
.mk-morphing-page-dots,
|
|
17585
|
+
mk-morphing-page-dots { display: inline-flex; max-width: 100%; color: var(--mk-text); font-family: var(--mk-font); }
|
|
17586
|
+
[data-mk-page-rail] { position: relative; display: inline-flex; max-width: 100%; border-radius: 999px; background: var(--mk-surface-2); padding: 0; overflow-x: auto; }
|
|
17587
|
+
[data-mk-page-dot] { position: relative; flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; background: transparent; border: 0; border-radius: 999px; cursor: pointer; }
|
|
17588
|
+
[data-mk-page-dot] > i { width: 8px; height: 8px; border-radius: 999px; background: var(--mk-muted); opacity: .45; transition: opacity 150ms; }
|
|
17589
|
+
[data-mk-page-dot]:hover > i { opacity: .85; }
|
|
17590
|
+
[data-mk-page-dot][aria-current='page'] > i { opacity: 0; }
|
|
17591
|
+
[data-mk-page-dot]:focus-visible { outline: 2px solid var(--mk-accent); outline-offset: -3px; }
|
|
17592
|
+
[data-mk-page-dot]:disabled { cursor: not-allowed; opacity: .4; }
|
|
17593
|
+
[data-mk-page-blob] { position: absolute; top: 18px; left: 10px; width: 24px; height: 8px; background: var(--mk-text); border-radius: 999px; pointer-events: none; }
|
|
17594
|
+
[data-mk-morphing-page-dots]:has(button:disabled) [data-mk-page-blob] { opacity: .4; }
|
|
17595
|
+
@media (prefers-reduced-motion: reduce) { [data-mk-page-dot] > i { transition: none; } }
|
|
17596
|
+
|
|
17597
|
+
/* components/not-found/not-found.css */
|
|
17598
|
+
.mk-not-found,
|
|
17599
|
+
mk-not-found { display: block; max-width: 34rem; color: var(--mk-text); font-family: var(--mk-font); }
|
|
17600
|
+
[data-mk-not-found-content] { display: grid; justify-items: center; text-align: center; gap: .75rem; padding: .75rem 1rem; }
|
|
17601
|
+
[data-mk-not-found-art] { width: min(100%, 320px); }
|
|
17602
|
+
[data-mk-not-found-art] svg { display: block; width: 100%; overflow: visible; }
|
|
17603
|
+
[data-mk-lost-track] { stroke: var(--mk-outline); stroke-width: 1.5; stroke-dasharray: 3 5; }
|
|
17604
|
+
[data-mk-lost-four] { stroke: var(--mk-text); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
|
|
17605
|
+
[data-mk-lost-portal] rect { fill: var(--mk-surface-3); stroke: var(--mk-outline-soft); }
|
|
17606
|
+
[data-mk-lost-portal] ellipse { fill: var(--mk-surface-1); stroke: var(--mk-outline); stroke-width: 1.5; }
|
|
17607
|
+
[data-mk-lost-portal] path,
|
|
17608
|
+
[data-mk-lost-star] { stroke: var(--mk-accent); stroke-width: 2; stroke-linecap: round; }
|
|
17609
|
+
[data-mk-not-found-code] { margin: 0; color: var(--mk-muted); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; }
|
|
17610
|
+
[data-mk-not-found-content] h2 { margin: 0; font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 550; line-height: 1.15; letter-spacing: -.045em; }
|
|
17611
|
+
[data-mk-not-found-description] { max-width: 34ch; margin: 0; color: var(--mk-muted); font-size: .875rem; line-height: 1.55; }
|
|
17612
|
+
[data-mk-not-found-actions] { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: .5rem; }
|
|
17613
|
+
[data-mk-not-found-actions] :is(a, button) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .7rem 1rem; border: 0; border-radius: 16px; background: var(--mk-surface-3); color: var(--mk-text); font: 500 .875rem var(--mk-font); text-decoration: none; cursor: pointer; transition: background 160ms, border-radius 320ms var(--mk-ease-swatch); }
|
|
17614
|
+
[data-mk-not-found-actions] a { background: var(--mk-text); color: var(--mk-bg); }
|
|
17615
|
+
[data-mk-not-found-actions] :is(a, button):hover { border-radius: 24px; }
|
|
17616
|
+
[data-mk-not-found-actions] :is(a, button):focus-visible { outline: 2px solid var(--mk-accent); outline-offset: 4px; }
|
|
17617
|
+
[data-mk-not-found-actions] button:disabled { opacity: .4; cursor: not-allowed; }
|
|
17618
|
+
@media (prefers-reduced-motion: reduce) { [data-mk-not-found-actions] :is(a, button) { transition: none; } }
|