@yewdiel21/motion-kit 0.0.0-stage → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +38 -0
- package/README.md +80 -2
- package/bin/motion-kit.mjs +242 -0
- package/css.d.ts +2 -0
- package/dist/auto/index.d.ts +63 -0
- package/dist/auto/index.js +207 -0
- package/dist/auto/index.js.map +1 -0
- package/dist/chunk-2BQGFOA7.js +177 -0
- package/dist/chunk-2BQGFOA7.js.map +1 -0
- package/dist/chunk-34XYOXHG.js +2374 -0
- package/dist/chunk-34XYOXHG.js.map +1 -0
- package/dist/chunk-6OJAP6ZL.js +832 -0
- package/dist/chunk-6OJAP6ZL.js.map +1 -0
- package/dist/chunk-ABNRDDO7.js +28 -0
- package/dist/chunk-ABNRDDO7.js.map +1 -0
- package/dist/chunk-FS2HJVVY.js +3320 -0
- package/dist/chunk-FS2HJVVY.js.map +1 -0
- package/dist/chunk-J27KH2A2.js +157 -0
- package/dist/chunk-J27KH2A2.js.map +1 -0
- package/dist/chunk-KLY5BRRI.js +18 -0
- package/dist/chunk-KLY5BRRI.js.map +1 -0
- package/dist/chunk-Q4LVFNLN.js +1617 -0
- package/dist/chunk-Q4LVFNLN.js.map +1 -0
- package/dist/chunk-RFDIZYFX.js +304 -0
- package/dist/chunk-RFDIZYFX.js.map +1 -0
- package/dist/chunk-TGV27ZWM.js +17 -0
- package/dist/chunk-TGV27ZWM.js.map +1 -0
- package/dist/confetti-BSX1CLLV.d.ts +41 -0
- package/dist/css/components/chat-background.css +87 -0
- package/dist/css/components/chat.css +237 -0
- package/dist/css/components/cursor.css +178 -0
- package/dist/css/components/dialog.css +259 -0
- package/dist/css/components/island.css +301 -0
- package/dist/css/components/menu.css +105 -0
- package/dist/css/components/nav.css +1054 -0
- package/dist/css/components/steps.css +50 -0
- package/dist/css/components/theme-picker.css +115 -0
- package/dist/css/components/toast.css +115 -0
- package/dist/css/controls.css +950 -0
- package/dist/css/effects.css +587 -0
- package/dist/css/fonts.css +3 -0
- package/dist/css/themes/black-green.css +126 -0
- package/dist/css/themes/black.css +126 -0
- package/dist/css/themes/blue.css +126 -0
- package/dist/css/themes/brown.css +126 -0
- package/dist/css/themes/cold-blue.css +126 -0
- package/dist/css/themes/funny.css +126 -0
- package/dist/css/themes/gray.css +126 -0
- package/dist/css/themes/green.css +126 -0
- package/dist/css/themes/modern-1.css +126 -0
- package/dist/css/themes/neogreen.css +126 -0
- package/dist/css/themes/new.css +126 -0
- package/dist/css/themes/new2.css +126 -0
- package/dist/css/themes/oled.css +126 -0
- package/dist/css/themes/orange.css +126 -0
- package/dist/css/themes/pastel-pink.css +126 -0
- package/dist/css/themes/pink.css +126 -0
- package/dist/css/themes/purple.css +126 -0
- package/dist/css/themes/red.css +126 -0
- package/dist/css/themes/super-blue.css +126 -0
- package/dist/css/themes.css +2431 -0
- package/dist/css/tokens.css +452 -0
- package/dist/elements/index.d.ts +183 -0
- package/dist/elements/index.js +472 -0
- package/dist/elements/index.js.map +1 -0
- package/dist/engine-CUr9QijM.d.ts +46 -0
- package/dist/gl/index.d.ts +61 -0
- package/dist/gl/index.js +18 -0
- package/dist/gl/index.js.map +1 -0
- package/dist/index.css +5296 -0
- package/dist/index.d.ts +440 -0
- package/dist/index.js +390 -0
- package/dist/index.js.map +1 -0
- package/dist/react/index.d.ts +476 -0
- package/dist/react/index.js +969 -0
- package/dist/react/index.js.map +1 -0
- package/dist/reduced-BM4Ls0g5.d.ts +566 -0
- package/dist/reveal-WFUWDrei.d.ts +416 -0
- package/dist/store-Bqy_obnD.d.ts +195 -0
- package/dist/theme/generate.d.ts +18 -0
- package/dist/theme/generate.js +64 -0
- package/dist/theme/generate.js.map +1 -0
- package/dist/theme/index.d.ts +17 -0
- package/dist/theme/index.js +32 -0
- package/dist/theme/index.js.map +1 -0
- package/dist/theme-BFMoCzi6.d.ts +158 -0
- package/dist/types-BkS_raL8.d.ts +7 -0
- package/package.json +114 -3
- package/registry.json +469 -0
- package/skills/motion-kit/SKILL.md +189 -0
- package/skills/motion-kit/reference/components.md +86 -0
- package/skills/motion-kit/reference/design.md +92 -0
- package/skills/motion-kit/reference/recipes.md +172 -0
- package/src/auto/auto-init.ts +151 -0
- package/src/auto/index.ts +3 -0
- package/src/auto/parse-options.ts +68 -0
- package/src/components/chat/README.md +90 -0
- package/src/components/chat/chat.css +236 -0
- package/src/components/chat/element.ts +98 -0
- package/src/components/chat/engine.ts +295 -0
- package/src/components/chat/react.tsx +196 -0
- package/src/components/chat-background/README.md +50 -0
- package/src/components/chat-background/audio.ts +56 -0
- package/src/components/chat-background/chat-background.css +86 -0
- package/src/components/chat-background/element.ts +31 -0
- package/src/components/chat-background/engine.ts +108 -0
- package/src/components/chat-background/react.tsx +36 -0
- package/src/components/cursor/README.md +53 -0
- package/src/components/cursor/cursor.css +177 -0
- package/src/components/cursor/element.ts +23 -0
- package/src/components/cursor/engine.ts +254 -0
- package/src/components/cursor/react.tsx +26 -0
- package/src/components/dialog/README.md +106 -0
- package/src/components/dialog/dialog.css +258 -0
- package/src/components/dialog/element.ts +118 -0
- package/src/components/dialog/engine.ts +432 -0
- package/src/components/dialog/react.tsx +200 -0
- package/src/components/icon.tsx +10 -0
- package/src/components/icons.ts +24 -0
- package/src/components/island/README.md +91 -0
- package/src/components/island/element.ts +45 -0
- package/src/components/island/engine.ts +200 -0
- package/src/components/island/island.css +300 -0
- package/src/components/island/react.tsx +115 -0
- package/src/components/menu/README.md +67 -0
- package/src/components/menu/element.ts +55 -0
- package/src/components/menu/engine.ts +142 -0
- package/src/components/menu/menu.css +104 -0
- package/src/components/menu/react.tsx +82 -0
- package/src/components/nav/README.md +85 -0
- package/src/components/nav/element.ts +39 -0
- package/src/components/nav/engine.ts +164 -0
- package/src/components/nav/nav.css +1053 -0
- package/src/components/nav/react.tsx +90 -0
- package/src/components/steps/README.md +70 -0
- package/src/components/steps/element.ts +43 -0
- package/src/components/steps/engine.ts +185 -0
- package/src/components/steps/react.tsx +91 -0
- package/src/components/steps/steps.css +49 -0
- package/src/components/theme-picker/README.md +57 -0
- package/src/components/theme-picker/element.ts +20 -0
- package/src/components/theme-picker/engine.ts +91 -0
- package/src/components/theme-picker/react.tsx +31 -0
- package/src/components/theme-picker/theme-picker.css +114 -0
- package/src/components/toast/README.md +60 -0
- package/src/components/toast/element.ts +25 -0
- package/src/components/toast/engine.ts +483 -0
- package/src/components/toast/react.tsx +22 -0
- package/src/components/toast/store.ts +122 -0
- package/src/components/toast/toast.css +114 -0
- package/src/core/channels.ts +165 -0
- package/src/core/curves.ts +35 -0
- package/src/core/frame.ts +12 -0
- package/src/core/gsap.ts +65 -0
- package/src/core/loop.ts +44 -0
- package/src/core/math.ts +9 -0
- package/src/core/physics-spring.ts +59 -0
- package/src/core/pointer.ts +63 -0
- package/src/core/reduced.ts +21 -0
- package/src/core/scope.ts +70 -0
- package/src/core/scroll-track.ts +106 -0
- package/src/core/split.ts +68 -0
- package/src/core/spring.ts +22 -0
- package/src/core/styles.ts +31 -0
- package/src/core/timing.ts +204 -0
- package/src/core/types.ts +20 -0
- package/src/core/visible.ts +19 -0
- package/src/css/base.css +142 -0
- package/src/css/controls/README.md +122 -0
- package/src/css/controls/burger.css +67 -0
- package/src/css/controls/button.css +226 -0
- package/src/css/controls/checkbox.css +53 -0
- package/src/css/controls/chip.css +85 -0
- package/src/css/controls/field.css +124 -0
- package/src/css/controls/glass.css +220 -0
- package/src/css/controls/icon.css +26 -0
- package/src/css/controls/segmented.css +60 -0
- package/src/css/controls/switch.css +72 -0
- package/src/css/default-theme.css +123 -0
- package/src/css/effects/README.md +134 -0
- package/src/css/effects/anim.css +224 -0
- package/src/css/effects/fade.css +15 -0
- package/src/css/effects/float.css +64 -0
- package/src/css/effects/frost.css +62 -0
- package/src/css/effects/grain.css +58 -0
- package/src/css/effects/loading.css +60 -0
- package/src/css/effects/success.css +22 -0
- package/src/css/effects/text.css +67 -0
- package/src/css/fonts.css +3 -0
- package/src/css/states.css +51 -0
- package/src/css/themes/black-green.css +126 -0
- package/src/css/themes/black.css +126 -0
- package/src/css/themes/blue.css +126 -0
- package/src/css/themes/brown.css +126 -0
- package/src/css/themes/cold-blue.css +126 -0
- package/src/css/themes/funny.css +126 -0
- package/src/css/themes/gray.css +126 -0
- package/src/css/themes/green.css +126 -0
- package/src/css/themes/modern-1.css +126 -0
- package/src/css/themes/neogreen.css +126 -0
- package/src/css/themes/new.css +126 -0
- package/src/css/themes/new2.css +126 -0
- package/src/css/themes/oled.css +126 -0
- package/src/css/themes/orange.css +126 -0
- package/src/css/themes/pastel-pink.css +126 -0
- package/src/css/themes/pink.css +126 -0
- package/src/css/themes/purple.css +126 -0
- package/src/css/themes/red.css +126 -0
- package/src/css/themes/super-blue.css +126 -0
- package/src/css/tokens.css +182 -0
- package/src/elements/base.ts +76 -0
- package/src/elements/index.ts +48 -0
- package/src/gl/index.ts +15 -0
- package/src/gl/liquid-blend/README.md +23 -0
- package/src/gl/liquid-blend/create-liquid-blend.ts +7 -0
- package/src/gl/liquid-blend/shader.ts +9 -0
- package/src/gl/matcap/README.md +23 -0
- package/src/gl/matcap/create-matcap.ts +7 -0
- package/src/gl/matcap/shader.ts +16 -0
- package/src/gl/particle-hero/README.md +41 -0
- package/src/gl/particle-hero/create-particle-hero.ts +544 -0
- package/src/gl/particle-hero/particle-hero.css +19 -0
- package/src/gl/particle-hero/shaders.ts +84 -0
- package/src/gl/shader-blur/README.md +23 -0
- package/src/gl/shader-blur/create-shader-blur.ts +7 -0
- package/src/gl/shader-blur/shader.ts +11 -0
- package/src/gl/shader-grain/README.md +23 -0
- package/src/gl/shader-grain/create-shader-grain.ts +7 -0
- package/src/gl/shader-grain/shader.ts +6 -0
- package/src/gl/shared/create-shader-effect.ts +186 -0
- package/src/gl/shared/shader.css +3 -0
- package/src/gl/shared/shaders.ts +30 -0
- package/src/index.ts +177 -0
- package/src/motion/anchor.ts +45 -0
- package/src/motion/chat.ts +97 -0
- package/src/motion/confetti.ts +130 -0
- package/src/motion/count.ts +95 -0
- package/src/motion/details.ts +70 -0
- package/src/motion/drag-dismiss.ts +231 -0
- package/src/motion/effects.ts +81 -0
- package/src/motion/entrances.ts +27 -0
- package/src/motion/floating.ts +389 -0
- package/src/motion/flow.ts +115 -0
- package/src/motion/indicator.ts +44 -0
- package/src/motion/layout.ts +39 -0
- package/src/motion/liquid.ts +227 -0
- package/src/motion/morph.ts +540 -0
- package/src/motion/reveal.ts +112 -0
- package/src/motion/sheet.ts +65 -0
- package/src/motion/surface.ts +108 -0
- package/src/react/animated-number.tsx +30 -0
- package/src/react/flip-group.tsx +44 -0
- package/src/react/frost.tsx +33 -0
- package/src/react/index.ts +80 -0
- package/src/react/slot-text.tsx +44 -0
- package/src/react/theme-provider.tsx +42 -0
- package/src/react/use-card-dock.ts +9 -0
- package/src/react/use-cascade.ts +9 -0
- package/src/react/use-contrast.ts +9 -0
- package/src/react/use-counter.ts +8 -0
- package/src/react/use-curved-carousel.ts +10 -0
- package/src/react/use-depth-grid.ts +9 -0
- package/src/react/use-details.ts +7 -0
- package/src/react/use-dock-pill.ts +10 -0
- package/src/react/use-drag-ruler.ts +10 -0
- package/src/react/use-fill-text.ts +9 -0
- package/src/react/use-fit-text.ts +8 -0
- package/src/react/use-flow.ts +8 -0
- package/src/react/use-frame-zoom.ts +9 -0
- package/src/react/use-infinite-reel.ts +8 -0
- package/src/react/use-letters.ts +9 -0
- package/src/react/use-liquid-blend.ts +8 -0
- package/src/react/use-marquee.ts +9 -0
- package/src/react/use-mask-text.ts +9 -0
- package/src/react/use-matcap.ts +8 -0
- package/src/react/use-parallax.ts +9 -0
- package/src/react/use-particle-hero.ts +9 -0
- package/src/react/use-pile.ts +8 -0
- package/src/react/use-pop.ts +8 -0
- package/src/react/use-radial-menu.ts +10 -0
- package/src/react/use-recipe.ts +38 -0
- package/src/react/use-reflow.ts +9 -0
- package/src/react/use-repel-bento.ts +8 -0
- package/src/react/use-reveal.ts +8 -0
- package/src/react/use-rotator.ts +10 -0
- package/src/react/use-shader-blur.ts +8 -0
- package/src/react/use-shader-grain.ts +8 -0
- package/src/react/use-slot-text.ts +17 -0
- package/src/react/use-snap-strip.ts +9 -0
- package/src/react/use-sortable.ts +14 -0
- package/src/react/use-spring-cards.ts +8 -0
- package/src/react/use-stretch-footer.ts +20 -0
- package/src/react/use-tabs.ts +10 -0
- package/src/react/use-text-roll.ts +9 -0
- package/src/react/use-ticket-menu.ts +15 -0
- package/src/react/use-words.ts +8 -0
- package/src/recipes/card-dock/README.md +36 -0
- package/src/recipes/card-dock/card-dock.css +178 -0
- package/src/recipes/card-dock/create-card-dock.ts +97 -0
- package/src/recipes/cascade/README.md +33 -0
- package/src/recipes/cascade/create-cascade.ts +111 -0
- package/src/recipes/contrast/README.md +29 -0
- package/src/recipes/contrast/create-contrast.ts +68 -0
- package/src/recipes/counter/README.md +42 -0
- package/src/recipes/counter/create-counter.ts +84 -0
- package/src/recipes/curved-carousel/README.md +50 -0
- package/src/recipes/curved-carousel/carousel-math.ts +20 -0
- package/src/recipes/curved-carousel/create-curved-carousel.ts +257 -0
- package/src/recipes/curved-carousel/curved-carousel.css +50 -0
- package/src/recipes/depth-grid/README.md +30 -0
- package/src/recipes/depth-grid/create-depth-grid.ts +120 -0
- package/src/recipes/details/README.md +31 -0
- package/src/recipes/details/create-details.ts +27 -0
- package/src/recipes/dock-pill/README.md +23 -0
- package/src/recipes/dock-pill/create-dock-pill.ts +68 -0
- package/src/recipes/dock-pill/dock-pill.css +5 -0
- package/src/recipes/drag-ruler/README.md +21 -0
- package/src/recipes/drag-ruler/create-drag-ruler.ts +95 -0
- package/src/recipes/drag-ruler/drag-ruler.css +16 -0
- package/src/recipes/fill-text/README.md +27 -0
- package/src/recipes/fill-text/create-fill-text.ts +93 -0
- package/src/recipes/fit-text/README.md +37 -0
- package/src/recipes/fit-text/create-fit-text.ts +55 -0
- package/src/recipes/fit-text/fit-text.css +6 -0
- package/src/recipes/flow/README.md +46 -0
- package/src/recipes/flow/create-flow.ts +55 -0
- package/src/recipes/frame-zoom/README.md +29 -0
- package/src/recipes/frame-zoom/create-frame-zoom.ts +91 -0
- package/src/recipes/infinite-reel/README.md +23 -0
- package/src/recipes/infinite-reel/create-infinite-reel.ts +140 -0
- package/src/recipes/infinite-reel/infinite-reel.css +8 -0
- package/src/recipes/letters/README.md +30 -0
- package/src/recipes/letters/create-letters.ts +113 -0
- package/src/recipes/marquee/README.md +32 -0
- package/src/recipes/marquee/create-marquee.ts +74 -0
- package/src/recipes/marquee/marquee.css +41 -0
- package/src/recipes/mask-text/README.md +39 -0
- package/src/recipes/mask-text/create-mask-text.ts +134 -0
- package/src/recipes/parallax/README.md +31 -0
- package/src/recipes/parallax/create-parallax.ts +74 -0
- package/src/recipes/pile/README.md +48 -0
- package/src/recipes/pile/create-pile.ts +50 -0
- package/src/recipes/pile/pile-math.ts +27 -0
- package/src/recipes/pile/pile.css +63 -0
- package/src/recipes/pill/README.md +30 -0
- package/src/recipes/pill/pill.css +48 -0
- package/src/recipes/pop/README.md +36 -0
- package/src/recipes/pop/create-pop.ts +52 -0
- package/src/recipes/radial-menu/README.md +44 -0
- package/src/recipes/radial-menu/create-radial-menu.ts +96 -0
- package/src/recipes/radial-menu/radial-menu.css +45 -0
- package/src/recipes/reflow/README.md +47 -0
- package/src/recipes/reflow/create-reflow.ts +49 -0
- package/src/recipes/repel-bento/README.md +21 -0
- package/src/recipes/repel-bento/create-repel-bento.ts +65 -0
- package/src/recipes/repel-bento/repel-bento.css +3 -0
- package/src/recipes/reveal/README.md +36 -0
- package/src/recipes/reveal/create-reveal.ts +48 -0
- package/src/recipes/rotator/README.md +21 -0
- package/src/recipes/rotator/create-rotator.ts +66 -0
- package/src/recipes/rotator/rotator.css +3 -0
- package/src/recipes/slot-text/README.md +44 -0
- package/src/recipes/slot-text/create-slot-text.ts +244 -0
- package/src/recipes/slot-text/slot-text.css +42 -0
- package/src/recipes/snap-strip/README.md +31 -0
- package/src/recipes/snap-strip/create-snap-strip.ts +133 -0
- package/src/recipes/snap-strip/snap-strip.css +23 -0
- package/src/recipes/sortable/README.md +88 -0
- package/src/recipes/sortable/create-sortable.ts +863 -0
- package/src/recipes/sortable/sortable.css +40 -0
- package/src/recipes/spring-cards/README.md +48 -0
- package/src/recipes/spring-cards/create-spring-cards.ts +140 -0
- package/src/recipes/spring-cards/spring-cards.css +23 -0
- package/src/recipes/stretch-footer/README.md +44 -0
- package/src/recipes/stretch-footer/create-stretch-footer.ts +69 -0
- package/src/recipes/stretch-footer/stretch-footer.css +28 -0
- package/src/recipes/tabs/README.md +39 -0
- package/src/recipes/tabs/create-tabs.ts +91 -0
- package/src/recipes/tabs/tabs.css +19 -0
- package/src/recipes/text-roll/README.md +35 -0
- package/src/recipes/text-roll/create-text-roll.ts +137 -0
- package/src/recipes/text-roll/text-roll.css +21 -0
- package/src/recipes/ticket-menu/README.md +24 -0
- package/src/recipes/ticket-menu/create-ticket-menu.ts +6 -0
- package/src/recipes/words/README.md +43 -0
- package/src/recipes/words/create-words.ts +114 -0
- package/src/theme/css-format.ts +32 -0
- package/src/theme/generate.ts +72 -0
- package/src/theme/index.ts +15 -0
- package/src/theme/presets.ts +79 -0
- package/src/theme/theme.ts +119 -0
|
@@ -0,0 +1,1054 @@
|
|
|
1
|
+
/* components/nav/nav.css */
|
|
2
|
+
/*
|
|
3
|
+
* nav — Stepbro's navigation (Money and Tasks): seven desktop styles and one
|
|
4
|
+
* mobile bar under 680 px, inside an app shell. Ported from Stepbro's
|
|
5
|
+
* `.app-nav.style-N` rules: .app-container → .mk-shell, .app-view → .mk-shell__view,
|
|
6
|
+
* .nav-button → .mk-nav__button, [active=true] → [aria-current="page"],
|
|
7
|
+
* variant-1 → .mk-nav--accent.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/* Shell: the view and the nav side by side (the nav first), stacked on phones. */
|
|
11
|
+
.mk-shell {
|
|
12
|
+
position: relative;
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: row;
|
|
15
|
+
flex-grow: 1;
|
|
16
|
+
min-height: 0;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
background: var(--md-sys-color-background);
|
|
19
|
+
color: var(--md-sys-color-on-background);
|
|
20
|
+
font-family: var(--mk-font);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.mk-shell__view {
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
flex-grow: 1;
|
|
27
|
+
min-width: 0;
|
|
28
|
+
padding: 16px;
|
|
29
|
+
padding-top: max(16px, env(safe-area-inset-top));
|
|
30
|
+
gap: 8px;
|
|
31
|
+
overflow: auto;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.mk-shell__view:has(> .mk-shell__content) {
|
|
35
|
+
padding: 0;
|
|
36
|
+
gap: 0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.mk-shell__content {
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-grow: 1;
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
gap: 8px;
|
|
44
|
+
padding: 16px;
|
|
45
|
+
box-sizing: border-box;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.mk-shell__header {
|
|
49
|
+
display: flex;
|
|
50
|
+
justify-content: space-between;
|
|
51
|
+
align-items: center;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.mk-shell__view:has(> .mk-shell__content) > .mk-shell__header {
|
|
55
|
+
padding: 16px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.mk-shell__title {
|
|
59
|
+
margin: 0;
|
|
60
|
+
font-family: var(--mk-font);
|
|
61
|
+
font-weight: 500;
|
|
62
|
+
font-size: var(--md-sys-typescale-display-medium-size);
|
|
63
|
+
line-height: 1.1;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* Nav parts shared by every style. */
|
|
67
|
+
.mk-nav {
|
|
68
|
+
box-sizing: border-box;
|
|
69
|
+
font-family: var(--mk-font);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.mk-nav__buttons,
|
|
73
|
+
.mk-nav__actions {
|
|
74
|
+
margin: 0;
|
|
75
|
+
padding: 0;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.mk-nav__button {
|
|
79
|
+
position: relative;
|
|
80
|
+
box-sizing: border-box;
|
|
81
|
+
margin: 0;
|
|
82
|
+
border: none;
|
|
83
|
+
color: inherit;
|
|
84
|
+
font: inherit;
|
|
85
|
+
text-decoration: none;
|
|
86
|
+
-webkit-tap-highlight-color: transparent;
|
|
87
|
+
-webkit-user-select: none;
|
|
88
|
+
user-select: none;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.mk-nav__button:focus-visible {
|
|
92
|
+
outline: 2px solid var(--mk-accent);
|
|
93
|
+
outline-offset: 2px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.mk-nav__icon {
|
|
97
|
+
display: inline-flex;
|
|
98
|
+
flex: none;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.mk-nav__icon:is(svg),
|
|
102
|
+
.mk-nav__icon > svg {
|
|
103
|
+
width: var(--mk-nav-icon-size, 24px);
|
|
104
|
+
height: var(--mk-nav-icon-size, 24px);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.mk-nav__options {
|
|
108
|
+
display: none;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/* The current page's icon fills (Material Symbols): the font axis directly, or .mk-icon's --mk-icon-fill. */
|
|
112
|
+
@property --mk-icon-fill {
|
|
113
|
+
syntax: '<number>';
|
|
114
|
+
inherits: true;
|
|
115
|
+
initial-value: 0;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.mk-nav .mk-nav__button[aria-current='page'] {
|
|
119
|
+
--mk-icon-fill: 1;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@keyframes mk-nav-icon {
|
|
123
|
+
from {
|
|
124
|
+
font-variation-settings: 'FILL' 0;
|
|
125
|
+
--mk-icon-fill: 0;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
to {
|
|
129
|
+
font-variation-settings: 'FILL' 1;
|
|
130
|
+
--mk-icon-fill: 1;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@media only screen and (min-width: 680px) {
|
|
135
|
+
.mk-shell > .mk-nav {
|
|
136
|
+
order: -1;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/* 1 · Clásica: a bordered sidebar, a filled pill for the current page. */
|
|
140
|
+
.mk-shell:has(> .mk-nav--clasica) > .mk-shell__view {
|
|
141
|
+
border-right: 1px solid var(--md-sys-color-surface-container);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.mk-nav--clasica {
|
|
145
|
+
display: flex;
|
|
146
|
+
flex-direction: column;
|
|
147
|
+
min-width: 270px;
|
|
148
|
+
padding: 16px;
|
|
149
|
+
border-right: 1px solid var(--md-sys-color-surface-container);
|
|
150
|
+
z-index: 1;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.mk-nav--clasica .mk-nav__buttons {
|
|
154
|
+
display: flex;
|
|
155
|
+
flex-direction: column;
|
|
156
|
+
gap: 4px;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.mk-nav--clasica .mk-nav__actions {
|
|
160
|
+
margin-top: auto;
|
|
161
|
+
display: flex;
|
|
162
|
+
flex-direction: column;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.mk-nav--clasica .mk-nav__options {
|
|
166
|
+
display: flex;
|
|
167
|
+
flex-direction: column;
|
|
168
|
+
gap: 4px;
|
|
169
|
+
margin-top: 24px;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.mk-nav--clasica .mk-nav__label {
|
|
173
|
+
display: flex;
|
|
174
|
+
align-items: center;
|
|
175
|
+
height: 40px;
|
|
176
|
+
padding: 0 16px;
|
|
177
|
+
opacity: 0.6;
|
|
178
|
+
user-select: none;
|
|
179
|
+
font-size: 16px;
|
|
180
|
+
font-weight: 500;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.mk-nav--clasica .mk-nav__button {
|
|
184
|
+
display: flex;
|
|
185
|
+
align-items: center;
|
|
186
|
+
gap: 8px;
|
|
187
|
+
background: transparent;
|
|
188
|
+
color: var(--md-sys-color-outline);
|
|
189
|
+
border-radius: 12px;
|
|
190
|
+
height: 40px;
|
|
191
|
+
padding: 8px 16px;
|
|
192
|
+
font-size: 16px;
|
|
193
|
+
font-weight: 500;
|
|
194
|
+
cursor: pointer;
|
|
195
|
+
transition:
|
|
196
|
+
0.15s color,
|
|
197
|
+
0.15s background;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.mk-nav--clasica .mk-nav__button:hover {
|
|
201
|
+
color: var(--md-sys-color-primary);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.mk-nav--clasica .mk-nav__button[aria-current='page'] {
|
|
205
|
+
background: var(--md-sys-color-surface-container-high);
|
|
206
|
+
color: var(--md-sys-color-primary);
|
|
207
|
+
animation: mk-nav-icon 125ms cubic-bezier(0.48, 0, 0, 1);
|
|
208
|
+
font-variation-settings: 'FILL' 1;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.mk-nav--clasica.mk-nav--accent .mk-nav__button[aria-current='page'] {
|
|
212
|
+
background: var(--md-sys-color-primary-container);
|
|
213
|
+
color: var(--md-sys-color-on-primary-container);
|
|
214
|
+
box-shadow: 0 0 32px -10px var(--md-sys-color-primary-container);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.mk-nav--clasica .mk-nav__button.mk-nav__button--first {
|
|
218
|
+
color: var(--md-sys-color-on-background);
|
|
219
|
+
margin-bottom: 32px;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.mk-nav--clasica .mk-nav__button--first .mk-nav__name {
|
|
223
|
+
display: flex;
|
|
224
|
+
flex-grow: 1;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.mk-nav--clasica .mk-nav__button--first::after {
|
|
228
|
+
content: '';
|
|
229
|
+
position: absolute;
|
|
230
|
+
left: -16px;
|
|
231
|
+
right: -16px;
|
|
232
|
+
height: 1px;
|
|
233
|
+
bottom: -17px;
|
|
234
|
+
background: var(--md-sys-color-surface-container);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/* 2 · Bonita: centred text pills that widen on hover and when current (spring padding). */
|
|
238
|
+
.mk-nav--bonita {
|
|
239
|
+
display: flex;
|
|
240
|
+
flex-direction: column;
|
|
241
|
+
justify-content: center;
|
|
242
|
+
min-width: 200px;
|
|
243
|
+
padding: 12px 16px;
|
|
244
|
+
z-index: 1;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.mk-nav--bonita .mk-nav__buttons {
|
|
248
|
+
display: flex;
|
|
249
|
+
flex-direction: column;
|
|
250
|
+
gap: 4px;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.mk-nav--bonita .mk-nav__actions {
|
|
254
|
+
position: absolute;
|
|
255
|
+
bottom: 16px;
|
|
256
|
+
display: flex;
|
|
257
|
+
gap: 8px;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.mk-nav--bonita .mk-nav__button {
|
|
261
|
+
display: flex;
|
|
262
|
+
align-items: center;
|
|
263
|
+
gap: 8px;
|
|
264
|
+
background: var(--md-sys-color-surface-container-low);
|
|
265
|
+
color: color-mix(in srgb, var(--md-sys-color-outline), var(--md-sys-color-background) 40%);
|
|
266
|
+
border-radius: 40px;
|
|
267
|
+
max-width: min-content;
|
|
268
|
+
height: 48px;
|
|
269
|
+
padding: 0 24px;
|
|
270
|
+
font-size: 16px;
|
|
271
|
+
font-weight: 500;
|
|
272
|
+
white-space: nowrap;
|
|
273
|
+
cursor: pointer;
|
|
274
|
+
transition:
|
|
275
|
+
0.15s color,
|
|
276
|
+
0.15s background,
|
|
277
|
+
0.3s padding var(--mk-ease-swatch);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.mk-nav--bonita .mk-nav__icon {
|
|
281
|
+
display: none;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.mk-nav--bonita .mk-nav__button:hover {
|
|
285
|
+
color: var(--md-sys-color-primary);
|
|
286
|
+
padding: 0 26px;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.mk-nav--bonita .mk-nav__button[aria-current='page'] {
|
|
290
|
+
background: var(--md-sys-color-surface-container-highest);
|
|
291
|
+
color: var(--md-sys-color-on-background);
|
|
292
|
+
animation: mk-nav-icon 125ms cubic-bezier(0.48, 0, 0, 1);
|
|
293
|
+
font-variation-settings: 'FILL' 1;
|
|
294
|
+
padding: 0 32px;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.mk-nav--bonita.mk-nav--accent .mk-nav__button[aria-current='page'] {
|
|
298
|
+
background: var(--md-sys-color-primary-container);
|
|
299
|
+
color: var(--md-sys-color-on-primary-container);
|
|
300
|
+
box-shadow: 0 0 32px -10px var(--md-sys-color-primary-container);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.mk-nav--bonita .mk-nav__name {
|
|
304
|
+
display: flex;
|
|
305
|
+
flex-grow: 1;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.mk-nav--bonita .mk-nav__button.mk-nav__button--first {
|
|
309
|
+
display: none;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
/* 3 · Dock: a floating glass bar centred at the bottom. */
|
|
313
|
+
.mk-shell:has(> .mk-nav--dock) {
|
|
314
|
+
flex-direction: column;
|
|
315
|
+
overflow: auto;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.mk-shell:has(> .mk-nav--dock) > .mk-nav {
|
|
319
|
+
order: 1;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.mk-shell:has(> .mk-nav--dock) > .mk-shell__view {
|
|
323
|
+
overflow: visible;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.mk-nav--dock {
|
|
327
|
+
position: sticky;
|
|
328
|
+
display: flex;
|
|
329
|
+
align-items: center;
|
|
330
|
+
justify-content: space-between;
|
|
331
|
+
margin: 16px;
|
|
332
|
+
bottom: 16px;
|
|
333
|
+
left: 50%;
|
|
334
|
+
transform: translate(-50%);
|
|
335
|
+
z-index: 1;
|
|
336
|
+
max-width: fit-content;
|
|
337
|
+
gap: 16px;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.mk-nav--dock .mk-nav__actions {
|
|
341
|
+
display: flex;
|
|
342
|
+
gap: 8px;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.mk-nav--dock .mk-nav__button.mk-nav__button--first {
|
|
346
|
+
display: none !important;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.mk-nav--dock .mk-nav__buttons {
|
|
350
|
+
display: flex;
|
|
351
|
+
flex-direction: row;
|
|
352
|
+
padding: 8px;
|
|
353
|
+
border-radius: 64px;
|
|
354
|
+
background: color-mix(in srgb, var(--mk-bg) 50%, transparent);
|
|
355
|
+
-webkit-backdrop-filter: blur(8px);
|
|
356
|
+
backdrop-filter: blur(8px);
|
|
357
|
+
box-shadow:
|
|
358
|
+
1px 1px 1px color-mix(in srgb, var(--mk-bg) 60%, transparent) inset,
|
|
359
|
+
-1px -1px 1px color-mix(in srgb, var(--mk-bg) 60%, transparent) inset,
|
|
360
|
+
0 0 16px #00000014;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.mk-nav--dock .mk-nav__button {
|
|
364
|
+
display: flex;
|
|
365
|
+
flex: 1;
|
|
366
|
+
flex-direction: column;
|
|
367
|
+
align-items: center;
|
|
368
|
+
justify-content: center;
|
|
369
|
+
background: transparent;
|
|
370
|
+
color: var(--md-sys-color-outline);
|
|
371
|
+
border-radius: 32px;
|
|
372
|
+
min-width: 64px;
|
|
373
|
+
width: 64px;
|
|
374
|
+
height: 64px;
|
|
375
|
+
padding: 16px;
|
|
376
|
+
font-size: 16px;
|
|
377
|
+
font-weight: 500;
|
|
378
|
+
cursor: pointer;
|
|
379
|
+
transition:
|
|
380
|
+
color 0.15s,
|
|
381
|
+
transform 0.3s var(--mk-ease-nav-move),
|
|
382
|
+
background 0.25s,
|
|
383
|
+
min-width 0.3s cubic-bezier(0.38, 0.49, 0, 1);
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.mk-nav--dock .mk-nav__button:hover {
|
|
387
|
+
color: var(--md-sys-color-primary);
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.mk-nav--dock .mk-nav__button[aria-current='page'] {
|
|
391
|
+
background: var(--md-sys-color-tertiary-container);
|
|
392
|
+
color: var(--md-sys-color-on-tertiary-container);
|
|
393
|
+
animation: mk-nav-icon 125ms cubic-bezier(0.48, 0, 0, 1);
|
|
394
|
+
font-variation-settings: 'FILL' 1;
|
|
395
|
+
min-width: 80px;
|
|
396
|
+
box-shadow:
|
|
397
|
+
1px 1px 1px color-mix(in srgb, var(--mk-bg) 60%, transparent) inset,
|
|
398
|
+
-1px -1px 1px color-mix(in srgb, var(--mk-bg) 60%, transparent) inset,
|
|
399
|
+
0 0 16px #00000014;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.mk-nav--dock .mk-nav__name {
|
|
403
|
+
/* Hidden from sight, not from screen readers: the button keeps its name. */
|
|
404
|
+
position: absolute;
|
|
405
|
+
width: 1px;
|
|
406
|
+
height: 1px;
|
|
407
|
+
overflow: hidden;
|
|
408
|
+
clip-path: inset(50%);
|
|
409
|
+
white-space: nowrap;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.mk-nav--dock .mk-nav__button.mk-nav__button--action {
|
|
413
|
+
background: var(--md-sys-color-primary-container);
|
|
414
|
+
color: var(--md-sys-color-on-primary-container);
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
/* 4 · Guapa: the view is a raised card on a tinted shell; the current page is a white chip. */
|
|
418
|
+
.mk-shell:has(> .mk-nav--guapa) {
|
|
419
|
+
background: var(--md-sys-color-surface-container-low);
|
|
420
|
+
padding: 8px 8px 8px 0;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.mk-shell:has(> .mk-nav--guapa) > .mk-shell__view {
|
|
424
|
+
background: var(--md-sys-color-background);
|
|
425
|
+
border-radius: 24px;
|
|
426
|
+
box-shadow: 0 0.5px 2.5px #0000001f;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.mk-shell:has(> .mk-nav--guapa) > .mk-shell__view:not(:last-of-type) {
|
|
430
|
+
margin-right: 8px;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.mk-nav--guapa {
|
|
434
|
+
display: flex;
|
|
435
|
+
flex-direction: column;
|
|
436
|
+
min-width: 270px;
|
|
437
|
+
padding: 12px 16px;
|
|
438
|
+
z-index: 1;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.mk-nav--guapa .mk-nav__buttons {
|
|
442
|
+
display: flex;
|
|
443
|
+
flex-direction: column;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
.mk-nav--guapa .mk-nav__actions {
|
|
447
|
+
margin-top: auto;
|
|
448
|
+
display: flex;
|
|
449
|
+
flex-direction: column;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.mk-nav--guapa .mk-nav__options {
|
|
453
|
+
display: flex;
|
|
454
|
+
flex-direction: column;
|
|
455
|
+
margin-top: 24px;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.mk-nav--guapa .mk-nav__label {
|
|
459
|
+
display: flex;
|
|
460
|
+
align-items: center;
|
|
461
|
+
height: 40px;
|
|
462
|
+
padding: 0 12px;
|
|
463
|
+
opacity: 0.6;
|
|
464
|
+
user-select: none;
|
|
465
|
+
font-size: 16px;
|
|
466
|
+
font-weight: 500;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.mk-nav--guapa .mk-nav__button {
|
|
470
|
+
--mk-nav-icon-size: 16px;
|
|
471
|
+
display: flex;
|
|
472
|
+
align-items: center;
|
|
473
|
+
gap: 8px;
|
|
474
|
+
background: transparent;
|
|
475
|
+
color: var(--md-sys-color-outline);
|
|
476
|
+
border-radius: 12px;
|
|
477
|
+
height: 40px;
|
|
478
|
+
padding: 8px 12px;
|
|
479
|
+
font-size: 16px;
|
|
480
|
+
font-weight: 500;
|
|
481
|
+
cursor: pointer;
|
|
482
|
+
transition:
|
|
483
|
+
50ms color,
|
|
484
|
+
0.15s background;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.mk-nav--guapa .mk-nav__button:hover {
|
|
488
|
+
color: var(--md-sys-color-primary);
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.mk-nav--guapa .mk-nav__button[aria-current='page'] {
|
|
492
|
+
background: var(--md-sys-color-background);
|
|
493
|
+
color: color-mix(in srgb, var(--md-sys-color-primary) 80%, var(--md-sys-color-primary-container) 90%);
|
|
494
|
+
box-shadow:
|
|
495
|
+
0 0 0 1px #00000008,
|
|
496
|
+
0 0.5px 2.5px #00000014;
|
|
497
|
+
animation: mk-nav-icon 125ms cubic-bezier(0.48, 0, 0, 1);
|
|
498
|
+
font-variation-settings: 'FILL' 1;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
.mk-nav--guapa.mk-nav--accent .mk-nav__button[aria-current='page'] {
|
|
502
|
+
background: linear-gradient(
|
|
503
|
+
color-mix(in srgb, var(--md-sys-color-primary-container) 100%, var(--md-sys-color-background) 40%),
|
|
504
|
+
var(--md-sys-color-primary-container)
|
|
505
|
+
);
|
|
506
|
+
color: var(--md-sys-color-on-primary-container);
|
|
507
|
+
box-shadow:
|
|
508
|
+
0 0 32px -10px var(--md-sys-color-primary-container),
|
|
509
|
+
0 0 0 1px color-mix(in srgb, var(--md-sys-color-on-background) 10%, transparent 100%) inset,
|
|
510
|
+
inset 0 1.8px #ffffff4d;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.mk-nav--guapa .mk-nav__button.mk-nav__button--first {
|
|
514
|
+
color: var(--md-sys-color-on-background);
|
|
515
|
+
margin-bottom: 16px;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
.mk-nav--guapa .mk-nav__button--first .mk-nav__name {
|
|
519
|
+
display: flex;
|
|
520
|
+
flex-grow: 1;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
/* 5 · Tasks: a rail of round 56 px buttons; the current one squares off (springy radius). */
|
|
524
|
+
.mk-shell:has(> .mk-nav--tasks) {
|
|
525
|
+
padding: 8px;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
.mk-shell:has(> .mk-nav--tasks) > .mk-shell__view {
|
|
529
|
+
background: var(--md-sys-color-background);
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
.mk-shell:has(> .mk-nav--tasks) > .mk-shell__view:not(:last-of-type) .mk-shell__content {
|
|
533
|
+
padding-right: 0 !important;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.mk-nav--tasks {
|
|
537
|
+
display: flex;
|
|
538
|
+
flex-direction: column;
|
|
539
|
+
width: auto;
|
|
540
|
+
padding: 16px 8px 16px 16px;
|
|
541
|
+
z-index: 1;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.mk-nav--tasks .mk-nav__buttons {
|
|
545
|
+
display: flex;
|
|
546
|
+
flex-direction: column;
|
|
547
|
+
gap: 0;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.mk-nav--tasks .mk-nav__actions {
|
|
551
|
+
margin-top: auto;
|
|
552
|
+
display: flex;
|
|
553
|
+
flex-direction: column;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
.mk-nav--tasks .mk-nav__button {
|
|
557
|
+
display: flex;
|
|
558
|
+
align-items: center;
|
|
559
|
+
justify-content: center;
|
|
560
|
+
background: var(--md-sys-color-surface-container-low);
|
|
561
|
+
color: var(--md-sys-color-outline);
|
|
562
|
+
border-radius: 28px;
|
|
563
|
+
width: 56px;
|
|
564
|
+
height: 56px;
|
|
565
|
+
padding: 0;
|
|
566
|
+
font-size: 16px;
|
|
567
|
+
font-weight: 500;
|
|
568
|
+
cursor: pointer;
|
|
569
|
+
transition:
|
|
570
|
+
border-radius 0.3s var(--mk-ease-nav-radius),
|
|
571
|
+
transform 0.5s var(--mk-ease-nav-move),
|
|
572
|
+
background 0.25s;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
.mk-nav--tasks .mk-nav__name {
|
|
576
|
+
/* Hidden from sight, not from screen readers: the button keeps its name. */
|
|
577
|
+
position: absolute;
|
|
578
|
+
width: 1px;
|
|
579
|
+
height: 1px;
|
|
580
|
+
overflow: hidden;
|
|
581
|
+
clip-path: inset(50%);
|
|
582
|
+
white-space: nowrap;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
.mk-nav--tasks .mk-nav__button:hover {
|
|
586
|
+
color: var(--md-sys-color-primary);
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
.mk-nav--tasks .mk-nav__button[aria-current='page'] {
|
|
590
|
+
background: var(--md-sys-color-surface-container-highest);
|
|
591
|
+
color: var(--md-sys-color-primary);
|
|
592
|
+
animation: mk-nav-icon 125ms cubic-bezier(0.48, 0, 0, 1);
|
|
593
|
+
font-variation-settings: 'FILL' 1;
|
|
594
|
+
border-radius: 12px;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
.mk-nav--tasks.mk-nav--accent .mk-nav__button[aria-current='page'] {
|
|
598
|
+
background: var(--md-sys-color-primary-container);
|
|
599
|
+
color: var(--md-sys-color-on-primary-container);
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
.mk-nav--tasks .mk-nav__button.mk-nav__button--first {
|
|
603
|
+
color: var(--md-sys-color-on-background);
|
|
604
|
+
margin-bottom: 8px;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
.mk-nav--tasks .mk-nav__button--first .mk-nav__icon {
|
|
608
|
+
display: none;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
/* 6 · Melon: a soft sidebar with a faint primary wash on the current page. */
|
|
612
|
+
.mk-shell:has(> .mk-nav--melon) > .mk-shell__view {
|
|
613
|
+
border-right: 1px solid var(--md-sys-color-surface-container);
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
.mk-nav--melon {
|
|
617
|
+
display: flex;
|
|
618
|
+
flex-direction: column;
|
|
619
|
+
min-width: 270px;
|
|
620
|
+
padding: 16px 0 16px 16px;
|
|
621
|
+
z-index: 1;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
.mk-nav--melon .mk-nav__buttons {
|
|
625
|
+
display: flex;
|
|
626
|
+
flex-direction: column;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
.mk-nav--melon .mk-nav__actions {
|
|
630
|
+
margin-top: auto;
|
|
631
|
+
display: flex;
|
|
632
|
+
flex-direction: column;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
.mk-nav--melon .mk-nav__options {
|
|
636
|
+
display: flex;
|
|
637
|
+
flex-direction: column;
|
|
638
|
+
margin-top: 24px;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
.mk-nav--melon .mk-nav__label {
|
|
642
|
+
display: flex;
|
|
643
|
+
align-items: center;
|
|
644
|
+
height: 40px;
|
|
645
|
+
padding: 0 16px;
|
|
646
|
+
opacity: 0.6;
|
|
647
|
+
user-select: none;
|
|
648
|
+
font-size: 16px;
|
|
649
|
+
font-weight: 500;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
.mk-nav--melon .mk-nav__button {
|
|
653
|
+
display: flex;
|
|
654
|
+
align-items: center;
|
|
655
|
+
gap: 8px;
|
|
656
|
+
background: transparent;
|
|
657
|
+
color: var(--md-sys-color-outline);
|
|
658
|
+
border-radius: 12px;
|
|
659
|
+
height: 40px;
|
|
660
|
+
padding: 8px 16px;
|
|
661
|
+
font-size: 16px;
|
|
662
|
+
font-weight: 500;
|
|
663
|
+
cursor: pointer;
|
|
664
|
+
transition:
|
|
665
|
+
0.15s color,
|
|
666
|
+
0.15s background;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
.mk-nav--melon .mk-nav__button:hover {
|
|
670
|
+
color: var(--md-sys-color-primary);
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
.mk-nav--melon .mk-nav__button[aria-current='page'] {
|
|
674
|
+
background: color-mix(in srgb, var(--md-sys-color-primary-container) 10%, var(--md-sys-color-background) 90%);
|
|
675
|
+
color: var(--md-sys-color-primary);
|
|
676
|
+
animation: mk-nav-icon 125ms cubic-bezier(0.48, 0, 0, 1);
|
|
677
|
+
font-variation-settings: 'FILL' 1;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
.mk-nav--melon.mk-nav--accent .mk-nav__button {
|
|
681
|
+
--mk-nav-icon-size: 16px;
|
|
682
|
+
padding: 8px 12px;
|
|
683
|
+
transition:
|
|
684
|
+
50ms color,
|
|
685
|
+
0.15s background;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
.mk-nav--melon.mk-nav--accent .mk-nav__label {
|
|
689
|
+
padding: 0 12px;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
.mk-nav--melon.mk-nav--accent .mk-nav__button[aria-current='page'] {
|
|
693
|
+
background: var(--md-sys-color-background);
|
|
694
|
+
color: color-mix(in srgb, var(--md-sys-color-primary) 80%, var(--md-sys-color-primary-container) 90%);
|
|
695
|
+
box-shadow:
|
|
696
|
+
0 0 0 1px #00000008,
|
|
697
|
+
0 0.5px 2.5px #00000014;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
.mk-nav--melon .mk-nav__button.mk-nav__button--first {
|
|
701
|
+
color: var(--md-sys-color-on-background);
|
|
702
|
+
margin-bottom: 16px;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
.mk-nav--melon .mk-nav__button--first .mk-nav__name {
|
|
706
|
+
display: flex;
|
|
707
|
+
flex-grow: 1;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
/* 7 · Tunnel: big words; the hovered one and its neighbours grow like a dock. */
|
|
711
|
+
.mk-shell:has(> .mk-nav--tunnel) > .mk-shell__view {
|
|
712
|
+
border-right: 1px solid var(--md-sys-color-surface-container);
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
.mk-nav--tunnel {
|
|
716
|
+
display: flex;
|
|
717
|
+
flex-direction: column;
|
|
718
|
+
min-width: 270px;
|
|
719
|
+
padding: 16px;
|
|
720
|
+
border-right: 1px solid var(--md-sys-color-surface-container);
|
|
721
|
+
z-index: 1;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
.mk-nav--tunnel .mk-nav__buttons {
|
|
725
|
+
display: flex;
|
|
726
|
+
flex-direction: column;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
.mk-nav--tunnel .mk-nav__actions {
|
|
730
|
+
margin-top: auto;
|
|
731
|
+
display: flex;
|
|
732
|
+
flex-direction: column;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
.mk-nav--tunnel .mk-nav__options {
|
|
736
|
+
display: flex;
|
|
737
|
+
flex-direction: column;
|
|
738
|
+
gap: 4px;
|
|
739
|
+
margin-top: 24px;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
.mk-nav--tunnel .mk-nav__label {
|
|
743
|
+
display: flex;
|
|
744
|
+
align-items: center;
|
|
745
|
+
height: 40px;
|
|
746
|
+
padding: 0 8px;
|
|
747
|
+
user-select: none;
|
|
748
|
+
font-size: 16px;
|
|
749
|
+
font-weight: 500;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
.mk-nav--tunnel .mk-nav__button {
|
|
753
|
+
display: flex;
|
|
754
|
+
align-items: center;
|
|
755
|
+
gap: 8px;
|
|
756
|
+
background: transparent;
|
|
757
|
+
color: var(--md-sys-color-outline-variant);
|
|
758
|
+
border-radius: 12px;
|
|
759
|
+
height: 40px;
|
|
760
|
+
padding: 8px;
|
|
761
|
+
font-size: 24px;
|
|
762
|
+
font-weight: 400;
|
|
763
|
+
cursor: pointer;
|
|
764
|
+
transition:
|
|
765
|
+
font-size 0.3s var(--mk-ease-swatch),
|
|
766
|
+
color 0.15s,
|
|
767
|
+
transform 0.3s var(--mk-ease-nav-move),
|
|
768
|
+
text-shadow 0.3s var(--mk-ease-nav-move);
|
|
769
|
+
transform-origin: left;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
.mk-nav--tunnel .mk-nav__icon {
|
|
773
|
+
display: none;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
.mk-nav--tunnel .mk-nav__button:hover {
|
|
777
|
+
color: var(--md-sys-color-primary-container);
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
.mk-nav--tunnel .mk-nav__button:not(.mk-nav__button--first):has(+ * + *:hover) {
|
|
781
|
+
transform: scale(1.03);
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
.mk-nav--tunnel .mk-nav__button:not(.mk-nav__button--first):has(+ *:hover) {
|
|
785
|
+
transform: scale(1.09);
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
.mk-nav--tunnel .mk-nav__button:hover {
|
|
789
|
+
transform: scale(1.2);
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
.mk-nav--tunnel .mk-nav__button:not(.mk-nav__button--first):hover + * {
|
|
793
|
+
transform: scale(1.09);
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
.mk-nav--tunnel .mk-nav__button:not(.mk-nav__button--first):hover + * + * {
|
|
797
|
+
transform: scale(1.03);
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
.mk-nav--tunnel .mk-nav__button[aria-current='page'] {
|
|
801
|
+
color: var(--md-sys-color-primary);
|
|
802
|
+
font-size: 28px;
|
|
803
|
+
font-weight: 600;
|
|
804
|
+
animation: mk-nav-icon 125ms cubic-bezier(0.48, 0, 0, 1);
|
|
805
|
+
font-variation-settings: 'FILL' 1;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
.mk-nav--tunnel.mk-nav--accent .mk-nav__button[aria-current='page'] {
|
|
809
|
+
background: var(--md-sys-color-primary-container);
|
|
810
|
+
color: var(--md-sys-color-on-primary-container);
|
|
811
|
+
box-shadow: 0 0 32px -10px var(--md-sys-color-primary-container);
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
.mk-nav--tunnel .mk-nav__button.mk-nav__button--first {
|
|
815
|
+
color: var(--md-sys-color-on-background);
|
|
816
|
+
width: 40px;
|
|
817
|
+
padding: 0;
|
|
818
|
+
display: flex;
|
|
819
|
+
align-items: center;
|
|
820
|
+
justify-content: center;
|
|
821
|
+
border-radius: 64px;
|
|
822
|
+
background: var(--md-sys-color-surface-container);
|
|
823
|
+
margin: 8px;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
.mk-nav--tunnel .mk-nav__button--first .mk-nav__name {
|
|
827
|
+
/* Hidden from sight, not from screen readers: the button keeps its name. */
|
|
828
|
+
position: absolute;
|
|
829
|
+
width: 1px;
|
|
830
|
+
height: 1px;
|
|
831
|
+
overflow: hidden;
|
|
832
|
+
clip-path: inset(50%);
|
|
833
|
+
white-space: nowrap;
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
.mk-nav--tunnel .mk-nav__button--first .mk-nav__icon {
|
|
837
|
+
display: none;
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
/* Phones: every style becomes the same floating glass bar at the bottom. */
|
|
842
|
+
@media only screen and (max-width: 679.98px) {
|
|
843
|
+
.mk-shell {
|
|
844
|
+
flex-direction: column;
|
|
845
|
+
overflow: auto;
|
|
846
|
+
overscroll-behavior: contain;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
.mk-shell > .mk-shell__view {
|
|
850
|
+
overflow: visible;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
.mk-nav {
|
|
854
|
+
position: sticky;
|
|
855
|
+
display: flex;
|
|
856
|
+
align-items: center;
|
|
857
|
+
justify-content: space-between;
|
|
858
|
+
margin: 16px;
|
|
859
|
+
bottom: 16px;
|
|
860
|
+
z-index: 1;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
.mk-nav .mk-nav__buttons {
|
|
864
|
+
display: flex;
|
|
865
|
+
flex-direction: row;
|
|
866
|
+
padding: 8px;
|
|
867
|
+
border-radius: 64px;
|
|
868
|
+
background: color-mix(in srgb, var(--mk-bg) 50%, transparent);
|
|
869
|
+
-webkit-backdrop-filter: blur(8px);
|
|
870
|
+
backdrop-filter: blur(8px);
|
|
871
|
+
box-shadow:
|
|
872
|
+
1px 1px 1px color-mix(in srgb, var(--mk-bg) 60%, transparent) inset,
|
|
873
|
+
-1px -1px 1px color-mix(in srgb, var(--mk-bg) 60%, transparent) inset,
|
|
874
|
+
0 0 16px #00000014;
|
|
875
|
+
overflow: auto !important;
|
|
876
|
+
scrollbar-width: none;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
.mk-nav .mk-nav__buttons::-webkit-scrollbar {
|
|
880
|
+
display: none;
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
.mk-nav .mk-nav__actions {
|
|
884
|
+
position: relative;
|
|
885
|
+
display: flex;
|
|
886
|
+
gap: 8px;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
.mk-nav .mk-nav__button {
|
|
890
|
+
display: flex;
|
|
891
|
+
flex: 1;
|
|
892
|
+
flex-direction: column;
|
|
893
|
+
align-items: center;
|
|
894
|
+
justify-content: center;
|
|
895
|
+
background: transparent;
|
|
896
|
+
color: var(--md-sys-color-outline);
|
|
897
|
+
border-radius: 32px;
|
|
898
|
+
min-width: 64px;
|
|
899
|
+
width: 64px;
|
|
900
|
+
height: 64px;
|
|
901
|
+
padding: 16px;
|
|
902
|
+
font-size: 16px;
|
|
903
|
+
font-weight: 500;
|
|
904
|
+
cursor: pointer;
|
|
905
|
+
transition:
|
|
906
|
+
color 0.15s,
|
|
907
|
+
transform 0.3s var(--mk-ease-nav-move),
|
|
908
|
+
background 0.25s,
|
|
909
|
+
min-width 0.3s cubic-bezier(0.38, 0.49, 0, 1);
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
.mk-nav .mk-nav__button:hover {
|
|
913
|
+
color: var(--md-sys-color-primary);
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
.mk-nav .mk-nav__button[aria-current='page'] {
|
|
917
|
+
background: var(--md-sys-color-tertiary-container);
|
|
918
|
+
color: var(--md-sys-color-on-tertiary-container);
|
|
919
|
+
animation: mk-nav-icon 125ms cubic-bezier(0.48, 0, 0, 1);
|
|
920
|
+
font-variation-settings: 'FILL' 1;
|
|
921
|
+
min-width: 80px;
|
|
922
|
+
box-shadow:
|
|
923
|
+
1px 1px 1px color-mix(in srgb, var(--mk-bg) 60%, transparent) inset,
|
|
924
|
+
-1px -1px 1px color-mix(in srgb, var(--mk-bg) 60%, transparent) inset,
|
|
925
|
+
0 0 16px #00000014;
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
.mk-nav .mk-nav__name {
|
|
929
|
+
/* Hidden from sight, not from screen readers: the button keeps its name. */
|
|
930
|
+
position: absolute;
|
|
931
|
+
width: 1px;
|
|
932
|
+
height: 1px;
|
|
933
|
+
overflow: hidden;
|
|
934
|
+
clip-path: inset(50%);
|
|
935
|
+
white-space: nowrap;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
.mk-nav .mk-nav__button.mk-nav__button--first,
|
|
939
|
+
.mk-nav [data-mk-hide-mobile] {
|
|
940
|
+
display: none !important;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
.mk-nav .mk-nav__button.mk-nav__button--action {
|
|
944
|
+
background: var(--md-sys-color-primary-container);
|
|
945
|
+
color: var(--md-sys-color-on-primary-container);
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
@media only screen and (max-width: 380px) {
|
|
950
|
+
.mk-nav .mk-nav__button {
|
|
951
|
+
min-width: 56px;
|
|
952
|
+
width: 56px;
|
|
953
|
+
height: 56px;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
.mk-nav .mk-nav__button[aria-current='page'] {
|
|
957
|
+
min-width: 72px;
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
/* Each style's view header. */
|
|
962
|
+
.mk-shell:has(> .mk-nav--clasica) .mk-shell__title {
|
|
963
|
+
font-size: var(--md-sys-typescale-headline-small-size);
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
.mk-shell:has(> .mk-nav--clasica) .mk-shell__view:has(> .mk-shell__content) > .mk-shell__header {
|
|
967
|
+
position: sticky;
|
|
968
|
+
top: 0;
|
|
969
|
+
z-index: 1;
|
|
970
|
+
background: color-mix(in srgb, var(--md-sys-color-background) 80%, transparent);
|
|
971
|
+
-webkit-backdrop-filter: blur(16px);
|
|
972
|
+
backdrop-filter: blur(16px);
|
|
973
|
+
box-shadow: 0 1px 0 0 var(--md-sys-color-surface-container);
|
|
974
|
+
padding-top: max(16px, env(safe-area-inset-top));
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
.mk-shell:has(> .mk-nav--bonita) .mk-shell__title,
|
|
978
|
+
.mk-shell:has(> .mk-nav--tasks) .mk-shell__title {
|
|
979
|
+
font-size: var(--md-sys-typescale-title-small-size);
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
.mk-shell:has(> .mk-nav--bonita) .mk-shell__view:has(> .mk-shell__content) > .mk-shell__header,
|
|
983
|
+
.mk-shell:has(> .mk-nav--tasks) .mk-shell__view:has(> .mk-shell__content) > .mk-shell__header {
|
|
984
|
+
display: flex;
|
|
985
|
+
align-items: center;
|
|
986
|
+
margin: 16px 16px -8px;
|
|
987
|
+
position: sticky;
|
|
988
|
+
top: 0;
|
|
989
|
+
z-index: 1;
|
|
990
|
+
box-sizing: border-box;
|
|
991
|
+
background: linear-gradient(var(--md-sys-color-background), transparent);
|
|
992
|
+
height: 56px;
|
|
993
|
+
max-height: 56px;
|
|
994
|
+
min-height: 56px;
|
|
995
|
+
padding: 0;
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
.mk-shell:has(> .mk-nav--bonita) .mk-shell__view:has(> .mk-shell__content) > .mk-shell__header {
|
|
999
|
+
padding-top: env(safe-area-inset-top);
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
.mk-shell:has(> .mk-nav--dock) .mk-shell__view:has(> .mk-shell__content) > .mk-shell__header {
|
|
1003
|
+
margin-bottom: -24px;
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
.mk-shell:has(> .mk-nav--guapa) .mk-shell__title {
|
|
1007
|
+
font-size: var(--md-sys-typescale-title-large-size);
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
.mk-shell:has(> .mk-nav--guapa) .mk-shell__view:has(> .mk-shell__content) > .mk-shell__header {
|
|
1011
|
+
position: sticky;
|
|
1012
|
+
top: 0;
|
|
1013
|
+
z-index: 1;
|
|
1014
|
+
background: color-mix(in srgb, var(--md-sys-color-background) 70%, transparent);
|
|
1015
|
+
-webkit-backdrop-filter: blur(24px);
|
|
1016
|
+
backdrop-filter: blur(24px);
|
|
1017
|
+
height: 40px;
|
|
1018
|
+
max-height: 40px;
|
|
1019
|
+
padding: 12px 12px 12px 16px;
|
|
1020
|
+
margin-bottom: -16px;
|
|
1021
|
+
padding-top: max(12px, env(safe-area-inset-top));
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
.mk-shell:has(> .mk-nav--melon) .mk-shell__title {
|
|
1025
|
+
font-size: var(--md-sys-typescale-headline-small-size);
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
.mk-shell:has(> .mk-nav--melon) .mk-shell__view:has(> .mk-shell__content) > .mk-shell__header {
|
|
1029
|
+
position: sticky;
|
|
1030
|
+
top: 0;
|
|
1031
|
+
z-index: 1;
|
|
1032
|
+
-webkit-backdrop-filter: blur(16px);
|
|
1033
|
+
backdrop-filter: blur(16px);
|
|
1034
|
+
margin-bottom: -16px;
|
|
1035
|
+
padding-top: max(16px, env(safe-area-inset-top));
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
@media only screen and (max-width: 679.98px) {
|
|
1039
|
+
.mk-shell:has(> .mk-nav--tasks) .mk-shell__view:has(> .mk-shell__content) > .mk-shell__header {
|
|
1040
|
+
margin: 0;
|
|
1041
|
+
border-radius: 0;
|
|
1042
|
+
background: none;
|
|
1043
|
+
max-height: unset;
|
|
1044
|
+
height: auto;
|
|
1045
|
+
padding: 16px;
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1050
|
+
.mk-nav .mk-nav__button {
|
|
1051
|
+
transition: none !important;
|
|
1052
|
+
animation: none !important;
|
|
1053
|
+
}
|
|
1054
|
+
}
|