@revikornmann/muka-ui 0.41.0 → 0.43.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/build/manifest.json +20 -10
- package/dist/cjs/components/BottomBar/BottomBar.css +56 -0
- package/dist/cjs/components/BottomBar/BottomBar.js +8 -2
- package/dist/cjs/components/BottomBar/BottomBar.js.map +1 -1
- package/dist/cjs/components/Dialog/Dialog.css +43 -0
- package/dist/cjs/components/Dialog/Dialog.js +34 -9
- package/dist/cjs/components/Dialog/Dialog.js.map +1 -1
- package/dist/cjs/components/Drawer/Drawer.css +10 -1
- package/dist/cjs/components/Sheet/Sheet.css +2 -0
- package/dist/esm/components/BottomBar/BottomBar.css +56 -0
- package/dist/esm/components/BottomBar/BottomBar.js +8 -2
- package/dist/esm/components/BottomBar/BottomBar.js.map +1 -1
- package/dist/esm/components/Dialog/Dialog.css +43 -0
- package/dist/esm/components/Dialog/Dialog.js +34 -9
- package/dist/esm/components/Dialog/Dialog.js.map +1 -1
- package/dist/esm/components/Drawer/Drawer.css +10 -1
- package/dist/esm/components/Sheet/Sheet.css +2 -0
- package/dist/styles/components/BottomBar.css +56 -0
- package/dist/styles/components/Dialog.css +43 -0
- package/dist/styles/components/Drawer.css +10 -1
- package/dist/styles/components/Sheet.css +2 -0
- package/dist/styles/index.css +837 -715
- package/dist/styles/muka-dark.css +837 -715
- package/dist/styles/muka-light.css +837 -715
- package/dist/styles/tokens-bouwplan-dark.css +12 -0
- package/dist/styles/tokens-bouwplan-light.css +12 -0
- package/dist/styles/tokens-fscl-dark.css +12 -0
- package/dist/styles/tokens-fscl-light.css +12 -0
- package/dist/styles/tokens-grip-dark.css +12 -0
- package/dist/styles/tokens-grip-light.css +12 -0
- package/dist/styles/tokens-muka-dark.css +12 -0
- package/dist/styles/tokens-muka-light.css +12 -0
- package/dist/styles/tokens-wireframe-dark.css +12 -0
- package/dist/styles/tokens-wireframe-light.css +12 -0
- package/dist/styles/wireframe-dark.css +837 -715
- package/dist/styles/wireframe-light.css +837 -715
- package/dist/types/components/BottomBar/BottomBar.d.ts +16 -0
- package/dist/types/components/BottomBar/BottomBar.d.ts.map +1 -1
- package/dist/types/components/Dialog/Dialog.d.ts +8 -0
- package/dist/types/components/Dialog/Dialog.d.ts.map +1 -1
- package/package.json +1 -1
- package/scripts/build-tokens.js +1 -1
- package/tokens/t3-semantics/ui.json +7 -1
- package/tokens/t4-components/bottombar.json +20 -0
- package/tokens/t4-components/dialog.json +16 -0
- package/tokens/t4-components/drawer.json +19 -0
|
@@ -1601,9 +1601,11 @@ body {
|
|
|
1601
1601
|
--motion-duration-micro: 150ms;
|
|
1602
1602
|
--motion-duration-component: 200ms;
|
|
1603
1603
|
--motion-duration-view: 300ms;
|
|
1604
|
+
--motion-duration-exit: 100ms;
|
|
1604
1605
|
--motion-easing-default: cubic-bezier(0.4, 0, 0.2, 1);
|
|
1605
1606
|
--motion-easing-enter: cubic-bezier(0.16, 1, 0.3, 1);
|
|
1606
1607
|
--motion-easing-exit: cubic-bezier(0.4, 0, 1, 1);
|
|
1608
|
+
--effect-blur-backdrop: 2px;
|
|
1607
1609
|
--button-color-primary-background-default: #3e63dd;
|
|
1608
1610
|
--button-color-primary-background-hover: #3358d4;
|
|
1609
1611
|
--button-color-primary-background-pressed: #3a5ccc;
|
|
@@ -1929,6 +1931,7 @@ body {
|
|
|
1929
1931
|
--dialog-color-backdrop: rgba(0, 0, 0, 0.565);
|
|
1930
1932
|
--dialog-color-background: #fdfcfd;
|
|
1931
1933
|
--dialog-color-body-background: #fdfcfd;
|
|
1934
|
+
--dialog-backdrop-blur: 2px;
|
|
1932
1935
|
--dialog-border-radius: 1.5rem;
|
|
1933
1936
|
--dialog-border-radius-desktop: 1.5rem;
|
|
1934
1937
|
--dialog-shadow-default: 0 48px 96px 0 rgba(0, 0, 0, 0.220), inset 0 0 1px 0 rgba(0, 0, 0, 0.220);
|
|
@@ -1948,6 +1951,8 @@ body {
|
|
|
1948
1951
|
--dialog-drag-handle-padding-y: 0.75rem;
|
|
1949
1952
|
--dialog-drag-handle-radius: 999rem;
|
|
1950
1953
|
--dialog-padding-x: 1rem;
|
|
1954
|
+
--dialog-padding-x-desktop: 1.5rem;
|
|
1955
|
+
--dialog-motion-offset-desktop: 80px;
|
|
1951
1956
|
--menu-content-color-background: #fdfcfd;
|
|
1952
1957
|
--menu-content-color-border: #d0cdd7;
|
|
1953
1958
|
--menu-content-border-radius: 0.75rem;
|
|
@@ -2171,6 +2176,9 @@ body {
|
|
|
2171
2176
|
--bottombar-color-border: #eae7ec;
|
|
2172
2177
|
--bottombar-color-tab-active: #211f26;
|
|
2173
2178
|
--bottombar-color-tab-inactive: #8e8c99;
|
|
2179
|
+
--bottombar-color-message-neutral: #211f26;
|
|
2180
|
+
--bottombar-color-message-success: #16433c;
|
|
2181
|
+
--bottombar-color-message-warning: #ab6400;
|
|
2174
2182
|
--bottombar-floating-radius: 1.5rem;
|
|
2175
2183
|
--bottombar-floating-padding: 0.75rem;
|
|
2176
2184
|
--bottombar-floating-margin-x: 0.75rem;
|
|
@@ -2190,6 +2198,7 @@ body {
|
|
|
2190
2198
|
--bottombar-actions-gap: 0.75rem;
|
|
2191
2199
|
--bottombar-actions-button-height-sm: 3rem;
|
|
2192
2200
|
--bottombar-actions-button-height-lg: 4rem;
|
|
2201
|
+
--bottombar-actions-message-gap: 0.5rem;
|
|
2193
2202
|
--bottombar-navigation-floating-padding: 0.5rem;
|
|
2194
2203
|
--view-color-background: #f2eff3;
|
|
2195
2204
|
--badge-size-height-sm: 1.5rem;
|
|
@@ -2384,6 +2393,8 @@ body {
|
|
|
2384
2393
|
--gantt-wait-border: #d0cdd7;
|
|
2385
2394
|
--gantt-wait-foreground: #211f26;
|
|
2386
2395
|
--gantt-ghost-border: #ab6400;
|
|
2396
|
+
--drawer-padding-x: 1rem;
|
|
2397
|
+
--drawer-padding-x-desktop: 1.5rem;
|
|
2387
2398
|
}
|
|
2388
2399
|
|
|
2389
2400
|
/* Responsive overrides: md (min-width: 768px) */
|
|
@@ -2472,6 +2483,7 @@ body {
|
|
|
2472
2483
|
--motion-duration-micro: 0ms;
|
|
2473
2484
|
--motion-duration-component: 0ms;
|
|
2474
2485
|
--motion-duration-view: 0ms;
|
|
2486
|
+
--motion-duration-exit: 0ms;
|
|
2475
2487
|
}
|
|
2476
2488
|
}
|
|
2477
2489
|
|
|
@@ -2535,6 +2547,116 @@ body {
|
|
|
2535
2547
|
}
|
|
2536
2548
|
|
|
2537
2549
|
|
|
2550
|
+
/* View */
|
|
2551
|
+
/* View Component Styles */
|
|
2552
|
+
|
|
2553
|
+
/* ─── Base layout ─────────────────────────────────────── */
|
|
2554
|
+
|
|
2555
|
+
.muka-view {
|
|
2556
|
+
display: flex;
|
|
2557
|
+
flex-direction: column;
|
|
2558
|
+
height: 100dvh;
|
|
2559
|
+
background-color: var(--view-color-background);
|
|
2560
|
+
position: relative;
|
|
2561
|
+
isolation: isolate;
|
|
2562
|
+
box-sizing: border-box;
|
|
2563
|
+
|
|
2564
|
+
/* Width reserved for the footer nav once it becomes a left sidebar at the
|
|
2565
|
+
large tier (matches BottomBar's desktopAs="sidebar" rail width). */
|
|
2566
|
+
--view-sidebar-width: 240px;
|
|
2567
|
+
}
|
|
2568
|
+
|
|
2569
|
+
/* ─── Surface level variants ─────────────────────────── */
|
|
2570
|
+
|
|
2571
|
+
.muka-view--surface-3 {
|
|
2572
|
+
background-color: var(--color-surface-level3);
|
|
2573
|
+
}
|
|
2574
|
+
|
|
2575
|
+
/* ─── Large screens: make room for the left sidebar ──────────
|
|
2576
|
+
A footer nav with desktopAs="sidebar" becomes a fixed 240px left rail at
|
|
2577
|
+
≥1024px. Offset the shell so the TopBar/body clear it — tied to the sidebar's
|
|
2578
|
+
actual presence (the `.muka-bottombar--desktop-sidebar` element) rather than
|
|
2579
|
+
the View's `size`, so a forced `size="lg"` below 1024px never reserves space
|
|
2580
|
+
for a sidebar that hasn't rendered yet. */
|
|
2581
|
+
@media (min-width: 1024px) {
|
|
2582
|
+
.muka-view:has(.muka-bottombar--desktop-sidebar) {
|
|
2583
|
+
padding-left: var(--view-sidebar-width);
|
|
2584
|
+
}
|
|
2585
|
+
}
|
|
2586
|
+
|
|
2587
|
+
/* ─── TopBar elevation ────────────────────────────────── */
|
|
2588
|
+
|
|
2589
|
+
.muka-view .muka-topbar {
|
|
2590
|
+
flex-shrink: 0;
|
|
2591
|
+
z-index: 3;
|
|
2592
|
+
box-shadow: var(--shadow-level2);
|
|
2593
|
+
}
|
|
2594
|
+
|
|
2595
|
+
/* ─── Scrollable body ─────────────────────────────────── */
|
|
2596
|
+
|
|
2597
|
+
.muka-view__body {
|
|
2598
|
+
flex: 1 1 0%;
|
|
2599
|
+
min-height: 0;
|
|
2600
|
+
overflow-y: auto;
|
|
2601
|
+
overflow-x: clip;
|
|
2602
|
+
z-index: 1;
|
|
2603
|
+
|
|
2604
|
+
/* Column flow so the footer (now a scroll-area child) can pin to the bottom and
|
|
2605
|
+
content scrolls *behind* it — letting a floating BottomBar's frosted backdrop
|
|
2606
|
+
reveal the content underneath. */
|
|
2607
|
+
display: flex;
|
|
2608
|
+
flex-direction: column;
|
|
2609
|
+
}
|
|
2610
|
+
|
|
2611
|
+
/* Inner wrapper constrains content width at the large tier (enterprise desktop)
|
|
2612
|
+
using the alias-layer section/container tokens, while the body scrolls full
|
|
2613
|
+
width. Full-bleed below large. */
|
|
2614
|
+
.muka-view__body-inner {
|
|
2615
|
+
width: 100%;
|
|
2616
|
+
/* Grow on short content so the sticky footer is pushed to the bottom rather
|
|
2617
|
+
than floating mid-screen. */
|
|
2618
|
+
flex: 1 0 auto;
|
|
2619
|
+
}
|
|
2620
|
+
|
|
2621
|
+
@media (min-width: 1024px) {
|
|
2622
|
+
.muka-view:not([data-size]) .muka-view__body-inner {
|
|
2623
|
+
max-width: var(--container-max-width-xl);
|
|
2624
|
+
margin-inline: auto;
|
|
2625
|
+
padding-inline: var(--section-padding-horizontal-default);
|
|
2626
|
+
}
|
|
2627
|
+
}
|
|
2628
|
+
|
|
2629
|
+
.muka-view[data-size='lg'] .muka-view__body-inner {
|
|
2630
|
+
max-width: var(--container-max-width-xl);
|
|
2631
|
+
margin-inline: auto;
|
|
2632
|
+
padding-inline: var(--section-padding-horizontal-default);
|
|
2633
|
+
}
|
|
2634
|
+
|
|
2635
|
+
/* ─── Footer (e.g. BottomBar) ─────────────────────────── */
|
|
2636
|
+
|
|
2637
|
+
.muka-view__footer {
|
|
2638
|
+
position: sticky;
|
|
2639
|
+
bottom: 0;
|
|
2640
|
+
flex-shrink: 0;
|
|
2641
|
+
z-index: 2;
|
|
2642
|
+
}
|
|
2643
|
+
|
|
2644
|
+
/* Inside an AppShell, the persistent left rail replaces the per-view bottom
|
|
2645
|
+
navigation at the large tier, so hide a footer that holds a navigation bar.
|
|
2646
|
+
Scoped to `.muka-app-shell` so bare Views (and the standalone
|
|
2647
|
+
desktopAs="sidebar" footer pattern above) are unaffected. Action-bar footers
|
|
2648
|
+
(`.muka-bottombar--actions`) don't match and remain at the bottom. */
|
|
2649
|
+
@media (min-width: 1024px) {
|
|
2650
|
+
.muka-app-shell .muka-view__footer:has(.muka-bottombar--navigation) {
|
|
2651
|
+
display: none;
|
|
2652
|
+
}
|
|
2653
|
+
}
|
|
2654
|
+
|
|
2655
|
+
.muka-app-shell[data-size='lg'] .muka-view__footer:has(.muka-bottombar--navigation) {
|
|
2656
|
+
display: none;
|
|
2657
|
+
}
|
|
2658
|
+
|
|
2659
|
+
|
|
2538
2660
|
/* Typography */
|
|
2539
2661
|
.muka-typography-catalog {
|
|
2540
2662
|
display: flex;
|
|
@@ -2885,116 +3007,6 @@ body {
|
|
|
2885
3007
|
}
|
|
2886
3008
|
|
|
2887
3009
|
|
|
2888
|
-
/* View */
|
|
2889
|
-
/* View Component Styles */
|
|
2890
|
-
|
|
2891
|
-
/* ─── Base layout ─────────────────────────────────────── */
|
|
2892
|
-
|
|
2893
|
-
.muka-view {
|
|
2894
|
-
display: flex;
|
|
2895
|
-
flex-direction: column;
|
|
2896
|
-
height: 100dvh;
|
|
2897
|
-
background-color: var(--view-color-background);
|
|
2898
|
-
position: relative;
|
|
2899
|
-
isolation: isolate;
|
|
2900
|
-
box-sizing: border-box;
|
|
2901
|
-
|
|
2902
|
-
/* Width reserved for the footer nav once it becomes a left sidebar at the
|
|
2903
|
-
large tier (matches BottomBar's desktopAs="sidebar" rail width). */
|
|
2904
|
-
--view-sidebar-width: 240px;
|
|
2905
|
-
}
|
|
2906
|
-
|
|
2907
|
-
/* ─── Surface level variants ─────────────────────────── */
|
|
2908
|
-
|
|
2909
|
-
.muka-view--surface-3 {
|
|
2910
|
-
background-color: var(--color-surface-level3);
|
|
2911
|
-
}
|
|
2912
|
-
|
|
2913
|
-
/* ─── Large screens: make room for the left sidebar ──────────
|
|
2914
|
-
A footer nav with desktopAs="sidebar" becomes a fixed 240px left rail at
|
|
2915
|
-
≥1024px. Offset the shell so the TopBar/body clear it — tied to the sidebar's
|
|
2916
|
-
actual presence (the `.muka-bottombar--desktop-sidebar` element) rather than
|
|
2917
|
-
the View's `size`, so a forced `size="lg"` below 1024px never reserves space
|
|
2918
|
-
for a sidebar that hasn't rendered yet. */
|
|
2919
|
-
@media (min-width: 1024px) {
|
|
2920
|
-
.muka-view:has(.muka-bottombar--desktop-sidebar) {
|
|
2921
|
-
padding-left: var(--view-sidebar-width);
|
|
2922
|
-
}
|
|
2923
|
-
}
|
|
2924
|
-
|
|
2925
|
-
/* ─── TopBar elevation ────────────────────────────────── */
|
|
2926
|
-
|
|
2927
|
-
.muka-view .muka-topbar {
|
|
2928
|
-
flex-shrink: 0;
|
|
2929
|
-
z-index: 3;
|
|
2930
|
-
box-shadow: var(--shadow-level2);
|
|
2931
|
-
}
|
|
2932
|
-
|
|
2933
|
-
/* ─── Scrollable body ─────────────────────────────────── */
|
|
2934
|
-
|
|
2935
|
-
.muka-view__body {
|
|
2936
|
-
flex: 1 1 0%;
|
|
2937
|
-
min-height: 0;
|
|
2938
|
-
overflow-y: auto;
|
|
2939
|
-
overflow-x: clip;
|
|
2940
|
-
z-index: 1;
|
|
2941
|
-
|
|
2942
|
-
/* Column flow so the footer (now a scroll-area child) can pin to the bottom and
|
|
2943
|
-
content scrolls *behind* it — letting a floating BottomBar's frosted backdrop
|
|
2944
|
-
reveal the content underneath. */
|
|
2945
|
-
display: flex;
|
|
2946
|
-
flex-direction: column;
|
|
2947
|
-
}
|
|
2948
|
-
|
|
2949
|
-
/* Inner wrapper constrains content width at the large tier (enterprise desktop)
|
|
2950
|
-
using the alias-layer section/container tokens, while the body scrolls full
|
|
2951
|
-
width. Full-bleed below large. */
|
|
2952
|
-
.muka-view__body-inner {
|
|
2953
|
-
width: 100%;
|
|
2954
|
-
/* Grow on short content so the sticky footer is pushed to the bottom rather
|
|
2955
|
-
than floating mid-screen. */
|
|
2956
|
-
flex: 1 0 auto;
|
|
2957
|
-
}
|
|
2958
|
-
|
|
2959
|
-
@media (min-width: 1024px) {
|
|
2960
|
-
.muka-view:not([data-size]) .muka-view__body-inner {
|
|
2961
|
-
max-width: var(--container-max-width-xl);
|
|
2962
|
-
margin-inline: auto;
|
|
2963
|
-
padding-inline: var(--section-padding-horizontal-default);
|
|
2964
|
-
}
|
|
2965
|
-
}
|
|
2966
|
-
|
|
2967
|
-
.muka-view[data-size='lg'] .muka-view__body-inner {
|
|
2968
|
-
max-width: var(--container-max-width-xl);
|
|
2969
|
-
margin-inline: auto;
|
|
2970
|
-
padding-inline: var(--section-padding-horizontal-default);
|
|
2971
|
-
}
|
|
2972
|
-
|
|
2973
|
-
/* ─── Footer (e.g. BottomBar) ─────────────────────────── */
|
|
2974
|
-
|
|
2975
|
-
.muka-view__footer {
|
|
2976
|
-
position: sticky;
|
|
2977
|
-
bottom: 0;
|
|
2978
|
-
flex-shrink: 0;
|
|
2979
|
-
z-index: 2;
|
|
2980
|
-
}
|
|
2981
|
-
|
|
2982
|
-
/* Inside an AppShell, the persistent left rail replaces the per-view bottom
|
|
2983
|
-
navigation at the large tier, so hide a footer that holds a navigation bar.
|
|
2984
|
-
Scoped to `.muka-app-shell` so bare Views (and the standalone
|
|
2985
|
-
desktopAs="sidebar" footer pattern above) are unaffected. Action-bar footers
|
|
2986
|
-
(`.muka-bottombar--actions`) don't match and remain at the bottom. */
|
|
2987
|
-
@media (min-width: 1024px) {
|
|
2988
|
-
.muka-app-shell .muka-view__footer:has(.muka-bottombar--navigation) {
|
|
2989
|
-
display: none;
|
|
2990
|
-
}
|
|
2991
|
-
}
|
|
2992
|
-
|
|
2993
|
-
.muka-app-shell[data-size='lg'] .muka-view__footer:has(.muka-bottombar--navigation) {
|
|
2994
|
-
display: none;
|
|
2995
|
-
}
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
3010
|
/* Toast */
|
|
2999
3011
|
/* Toast Component Styles - Using Muka Design Tokens */
|
|
3000
3012
|
|
|
@@ -3185,191 +3197,28 @@ body {
|
|
|
3185
3197
|
}
|
|
3186
3198
|
|
|
3187
3199
|
|
|
3188
|
-
/*
|
|
3189
|
-
/*
|
|
3200
|
+
/* Tile */
|
|
3201
|
+
/* Tile Component Styles - Using Muka Design Tokens */
|
|
3190
3202
|
|
|
3191
|
-
/*
|
|
3192
|
-
|
|
3203
|
+
/* ─── Base ────────────────────────────────────────────── */
|
|
3204
|
+
|
|
3205
|
+
.muka-tile {
|
|
3193
3206
|
display: flex;
|
|
3194
|
-
|
|
3195
|
-
gap: var(--spacing-2);
|
|
3196
|
-
position: relative;
|
|
3197
|
-
padding: var(--spacing-4) 0;
|
|
3207
|
+
color: var(--color-text-default-default);
|
|
3198
3208
|
}
|
|
3199
3209
|
|
|
3200
|
-
.muka-
|
|
3201
|
-
|
|
3210
|
+
.muka-tile--interactive {
|
|
3211
|
+
cursor: pointer;
|
|
3212
|
+
user-select: none;
|
|
3202
3213
|
}
|
|
3203
3214
|
|
|
3204
|
-
.muka-
|
|
3205
|
-
|
|
3215
|
+
.muka-tile--interactive:focus-visible {
|
|
3216
|
+
outline: 2px solid var(--color-border-focus);
|
|
3217
|
+
outline-offset: 2px;
|
|
3218
|
+
border-radius: var(--border-radius-lg);
|
|
3206
3219
|
}
|
|
3207
3220
|
|
|
3208
|
-
/*
|
|
3209
|
-
.muka-toggle__icon {
|
|
3210
|
-
display: flex;
|
|
3211
|
-
align-items: center;
|
|
3212
|
-
justify-content: center;
|
|
3213
|
-
flex-shrink: 0;
|
|
3214
|
-
width: var(--icon-size-default);
|
|
3215
|
-
height: var(--icon-size-default);
|
|
3216
|
-
color: var(--color-text-default-default);
|
|
3217
|
-
}
|
|
3218
|
-
|
|
3219
|
-
.muka-toggle__icon svg {
|
|
3220
|
-
width: 100%;
|
|
3221
|
-
height: 100%;
|
|
3222
|
-
}
|
|
3223
|
-
|
|
3224
|
-
/* Content area (label + caption) */
|
|
3225
|
-
.muka-toggle__content {
|
|
3226
|
-
display: flex;
|
|
3227
|
-
flex-direction: column;
|
|
3228
|
-
flex: 1;
|
|
3229
|
-
min-width: 0;
|
|
3230
|
-
gap: var(--spacing-1);
|
|
3231
|
-
}
|
|
3232
|
-
|
|
3233
|
-
/* Label */
|
|
3234
|
-
.muka-toggle__label {
|
|
3235
|
-
font-family: var(--text-label-lg-regular-fontFamily);
|
|
3236
|
-
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
3237
|
-
font-size: var(--text-label-lg-regular-fontSize);
|
|
3238
|
-
line-height: var(--text-label-lg-regular-lineHeight);
|
|
3239
|
-
color: var(--color-text-default-default);
|
|
3240
|
-
cursor: pointer;
|
|
3241
|
-
}
|
|
3242
|
-
|
|
3243
|
-
.muka-toggle--with-caption .muka-toggle__label {
|
|
3244
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
3245
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
3246
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
3247
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
3248
|
-
}
|
|
3249
|
-
|
|
3250
|
-
.muka-toggle--disabled .muka-toggle__label {
|
|
3251
|
-
color: var(--color-text-subtle-default);
|
|
3252
|
-
cursor: not-allowed;
|
|
3253
|
-
}
|
|
3254
|
-
|
|
3255
|
-
/* Caption */
|
|
3256
|
-
.muka-toggle__caption {
|
|
3257
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
3258
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
3259
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
3260
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
3261
|
-
color: var(--color-text-subtle-default);
|
|
3262
|
-
}
|
|
3263
|
-
|
|
3264
|
-
/* Switch container */
|
|
3265
|
-
.muka-toggle__switch {
|
|
3266
|
-
position: relative;
|
|
3267
|
-
display: inline-flex;
|
|
3268
|
-
flex-shrink: 0;
|
|
3269
|
-
cursor: pointer;
|
|
3270
|
-
}
|
|
3271
|
-
|
|
3272
|
-
.muka-toggle--disabled .muka-toggle__switch {
|
|
3273
|
-
cursor: not-allowed;
|
|
3274
|
-
}
|
|
3275
|
-
|
|
3276
|
-
/* Hidden native input */
|
|
3277
|
-
.muka-toggle__input {
|
|
3278
|
-
position: absolute;
|
|
3279
|
-
width: 1px;
|
|
3280
|
-
height: 1px;
|
|
3281
|
-
padding: 0;
|
|
3282
|
-
margin: -1px;
|
|
3283
|
-
overflow: hidden;
|
|
3284
|
-
clip: rect(0, 0, 0, 0);
|
|
3285
|
-
white-space: nowrap;
|
|
3286
|
-
border: 0;
|
|
3287
|
-
}
|
|
3288
|
-
|
|
3289
|
-
/* Track (background pill) */
|
|
3290
|
-
.muka-toggle__track {
|
|
3291
|
-
display: flex;
|
|
3292
|
-
align-items: center;
|
|
3293
|
-
width: var(--toggle-track-width);
|
|
3294
|
-
height: var(--toggle-track-height);
|
|
3295
|
-
border-radius: var(--toggle-track-radius);
|
|
3296
|
-
background-color: var(--toggle-track-color-off);
|
|
3297
|
-
transition: background-color 0.2s ease;
|
|
3298
|
-
box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.16);
|
|
3299
|
-
position: relative;
|
|
3300
|
-
}
|
|
3301
|
-
|
|
3302
|
-
/* Knob (sliding circle) */
|
|
3303
|
-
.muka-toggle__knob {
|
|
3304
|
-
position: absolute;
|
|
3305
|
-
width: var(--toggle-knob-size);
|
|
3306
|
-
height: var(--toggle-knob-size);
|
|
3307
|
-
border-radius: var(--border-radius-full);
|
|
3308
|
-
background-color: var(--toggle-knob-color-default);
|
|
3309
|
-
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
|
|
3310
|
-
left: var(--toggle-knob-offset);
|
|
3311
|
-
transition: left 0.2s ease, transform 0.2s ease;
|
|
3312
|
-
}
|
|
3313
|
-
|
|
3314
|
-
/* Focus state */
|
|
3315
|
-
.muka-toggle__input:focus-visible + .muka-toggle__track {
|
|
3316
|
-
outline: 2px solid var(--color-border-focus);
|
|
3317
|
-
outline-offset: 2px;
|
|
3318
|
-
}
|
|
3319
|
-
|
|
3320
|
-
/* Checked (on) state */
|
|
3321
|
-
.muka-toggle__input:checked + .muka-toggle__track {
|
|
3322
|
-
background-color: var(--toggle-track-color-on);
|
|
3323
|
-
}
|
|
3324
|
-
|
|
3325
|
-
.muka-toggle__input:checked + .muka-toggle__track .muka-toggle__knob {
|
|
3326
|
-
left: calc(var(--toggle-track-width) - var(--toggle-knob-size) - var(--toggle-knob-offset));
|
|
3327
|
-
}
|
|
3328
|
-
|
|
3329
|
-
/* Disabled state */
|
|
3330
|
-
.muka-toggle--disabled .muka-toggle__track {
|
|
3331
|
-
background-color: var(--toggle-track-color-disabled);
|
|
3332
|
-
box-shadow: none;
|
|
3333
|
-
}
|
|
3334
|
-
|
|
3335
|
-
.muka-toggle--disabled .muka-toggle__knob {
|
|
3336
|
-
background-color: var(--toggle-knob-color-disabled);
|
|
3337
|
-
box-shadow: none;
|
|
3338
|
-
}
|
|
3339
|
-
|
|
3340
|
-
/* Divider */
|
|
3341
|
-
.muka-toggle__divider {
|
|
3342
|
-
position: absolute;
|
|
3343
|
-
bottom: 0;
|
|
3344
|
-
left: 0;
|
|
3345
|
-
right: 0;
|
|
3346
|
-
height: 1px;
|
|
3347
|
-
background-color: var(--color-border-muted);
|
|
3348
|
-
}
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
/* Tile */
|
|
3352
|
-
/* Tile Component Styles - Using Muka Design Tokens */
|
|
3353
|
-
|
|
3354
|
-
/* ─── Base ────────────────────────────────────────────── */
|
|
3355
|
-
|
|
3356
|
-
.muka-tile {
|
|
3357
|
-
display: flex;
|
|
3358
|
-
color: var(--color-text-default-default);
|
|
3359
|
-
}
|
|
3360
|
-
|
|
3361
|
-
.muka-tile--interactive {
|
|
3362
|
-
cursor: pointer;
|
|
3363
|
-
user-select: none;
|
|
3364
|
-
}
|
|
3365
|
-
|
|
3366
|
-
.muka-tile--interactive:focus-visible {
|
|
3367
|
-
outline: 2px solid var(--color-border-focus);
|
|
3368
|
-
outline-offset: 2px;
|
|
3369
|
-
border-radius: var(--border-radius-lg);
|
|
3370
|
-
}
|
|
3371
|
-
|
|
3372
|
-
/* ─── Image position variants ─────────────────────────── */
|
|
3221
|
+
/* ─── Image position variants ─────────────────────────── */
|
|
3373
3222
|
|
|
3374
3223
|
.muka-tile--image-top {
|
|
3375
3224
|
flex-direction: column;
|
|
@@ -3709,73 +3558,258 @@ body {
|
|
|
3709
3558
|
}
|
|
3710
3559
|
|
|
3711
3560
|
|
|
3712
|
-
/*
|
|
3713
|
-
/*
|
|
3561
|
+
/* Thumbnail */
|
|
3562
|
+
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
3714
3563
|
|
|
3715
|
-
.muka-
|
|
3716
|
-
|
|
3717
|
-
flex-
|
|
3718
|
-
gap: var(--spacing-2);
|
|
3564
|
+
.muka-thumbnail {
|
|
3565
|
+
position: relative;
|
|
3566
|
+
flex-shrink: 0;
|
|
3719
3567
|
}
|
|
3720
3568
|
|
|
3721
|
-
/*
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3569
|
+
/* The frame carries the border, background and shape clip. Keeping it separate
|
|
3570
|
+
from the root lets the remove (×) button sit outside the clip (needed for the
|
|
3571
|
+
circular/ellipse shape, whose corners would otherwise clip the button). */
|
|
3572
|
+
.muka-thumbnail__frame {
|
|
3573
|
+
position: absolute;
|
|
3574
|
+
inset: 0;
|
|
3575
|
+
overflow: hidden;
|
|
3576
|
+
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
3577
|
+
border-radius: var(--border-radius-lg);
|
|
3578
|
+
background-color: var(--color-surface-level1);
|
|
3725
3579
|
}
|
|
3726
3580
|
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
3581
|
+
/* ─── Shapes ──────────────────────────────────────────── */
|
|
3582
|
+
.muka-thumbnail--4-3 {
|
|
3583
|
+
width: 160px;
|
|
3584
|
+
height: 120px;
|
|
3732
3585
|
}
|
|
3733
3586
|
|
|
3734
|
-
.muka-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
3738
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
3587
|
+
.muka-thumbnail--1-1 {
|
|
3588
|
+
width: 120px;
|
|
3589
|
+
height: 120px;
|
|
3739
3590
|
}
|
|
3740
3591
|
|
|
3741
|
-
.muka-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
3745
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
3592
|
+
.muka-thumbnail--ellipse {
|
|
3593
|
+
width: 120px;
|
|
3594
|
+
height: 120px;
|
|
3746
3595
|
}
|
|
3747
3596
|
|
|
3748
|
-
.
|
|
3749
|
-
|
|
3597
|
+
/* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
|
|
3598
|
+
.muka-thumbnail--fluid {
|
|
3599
|
+
width: 100%;
|
|
3600
|
+
height: auto;
|
|
3601
|
+
aspect-ratio: 1 / 1;
|
|
3750
3602
|
}
|
|
3751
3603
|
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
display: flex;
|
|
3755
|
-
background-color: var(--input-field-color-default-background);
|
|
3756
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
3757
|
-
border-radius: var(--input-field-radius-md);
|
|
3758
|
-
padding: var(--input-field-padding-y) var(--input-field-padding-x);
|
|
3759
|
-
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
3760
|
-
box-sizing: border-box;
|
|
3604
|
+
.muka-thumbnail--fluid.muka-thumbnail--4-3 {
|
|
3605
|
+
aspect-ratio: 4 / 3;
|
|
3761
3606
|
}
|
|
3762
3607
|
|
|
3763
|
-
.muka-
|
|
3764
|
-
|
|
3765
|
-
border-radius: var(--input-field-radius-sm);
|
|
3608
|
+
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
3609
|
+
border-radius: var(--border-radius-full);
|
|
3766
3610
|
}
|
|
3767
3611
|
|
|
3768
|
-
.
|
|
3769
|
-
|
|
3770
|
-
|
|
3612
|
+
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
3613
|
+
interactive hover zoom has a clean origin. */
|
|
3614
|
+
.muka-thumbnail__image {
|
|
3615
|
+
position: absolute;
|
|
3616
|
+
inset: 0;
|
|
3617
|
+
width: 100%;
|
|
3618
|
+
height: 100%;
|
|
3619
|
+
object-fit: cover;
|
|
3620
|
+
display: block;
|
|
3621
|
+
transform-origin: center;
|
|
3622
|
+
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
3623
|
+
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
3771
3624
|
}
|
|
3772
3625
|
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3626
|
+
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
3627
|
+
.muka-thumbnail__trigger {
|
|
3628
|
+
position: absolute;
|
|
3629
|
+
inset: 0;
|
|
3630
|
+
padding: 0;
|
|
3631
|
+
border: 0;
|
|
3632
|
+
background: none;
|
|
3633
|
+
cursor: pointer;
|
|
3634
|
+
overflow: hidden;
|
|
3776
3635
|
}
|
|
3777
3636
|
|
|
3778
|
-
|
|
3637
|
+
.muka-thumbnail__trigger:focus-visible {
|
|
3638
|
+
outline: 2px solid var(--color-border-focus);
|
|
3639
|
+
outline-offset: -2px;
|
|
3640
|
+
}
|
|
3641
|
+
|
|
3642
|
+
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
3643
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
3644
|
+
transform: scale(1.05);
|
|
3645
|
+
}
|
|
3646
|
+
|
|
3647
|
+
/* ─── Loading overlay + progress donut ────────────────── */
|
|
3648
|
+
.muka-thumbnail__overlay {
|
|
3649
|
+
position: absolute;
|
|
3650
|
+
inset: 0;
|
|
3651
|
+
display: flex;
|
|
3652
|
+
align-items: center;
|
|
3653
|
+
justify-content: center;
|
|
3654
|
+
background-color: var(--dialog-color-backdrop);
|
|
3655
|
+
}
|
|
3656
|
+
|
|
3657
|
+
.muka-thumbnail__progress {
|
|
3658
|
+
width: 40px;
|
|
3659
|
+
height: 40px;
|
|
3660
|
+
}
|
|
3661
|
+
|
|
3662
|
+
/* ─── Error / corrupt state ───────────────────────────── */
|
|
3663
|
+
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
3664
|
+
background-color: var(--alias-color-state-error-muted);
|
|
3665
|
+
border-color: var(--alias-color-state-error-default);
|
|
3666
|
+
}
|
|
3667
|
+
|
|
3668
|
+
.muka-thumbnail__error {
|
|
3669
|
+
position: absolute;
|
|
3670
|
+
inset: 0;
|
|
3671
|
+
display: flex;
|
|
3672
|
+
flex-direction: column;
|
|
3673
|
+
align-items: center;
|
|
3674
|
+
justify-content: center;
|
|
3675
|
+
gap: var(--spacing-2);
|
|
3676
|
+
padding: var(--spacing-3);
|
|
3677
|
+
text-align: center;
|
|
3678
|
+
}
|
|
3679
|
+
|
|
3680
|
+
.muka-thumbnail__error-icon {
|
|
3681
|
+
color: var(--alert-color-error-accent);
|
|
3682
|
+
}
|
|
3683
|
+
|
|
3684
|
+
.muka-thumbnail__caption {
|
|
3685
|
+
max-width: 100%;
|
|
3686
|
+
overflow: hidden;
|
|
3687
|
+
text-overflow: ellipsis;
|
|
3688
|
+
white-space: nowrap;
|
|
3689
|
+
color: var(--alert-color-error-accent);
|
|
3690
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
3691
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
3692
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
3693
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
3694
|
+
}
|
|
3695
|
+
|
|
3696
|
+
/* ─── Remove (×) button ───────────────────────────────── */
|
|
3697
|
+
.muka-thumbnail__remove {
|
|
3698
|
+
position: absolute;
|
|
3699
|
+
top: var(--spacing-2);
|
|
3700
|
+
right: var(--spacing-2);
|
|
3701
|
+
display: flex;
|
|
3702
|
+
align-items: center;
|
|
3703
|
+
justify-content: center;
|
|
3704
|
+
width: var(--size-2xl);
|
|
3705
|
+
height: var(--size-2xl);
|
|
3706
|
+
padding: 0;
|
|
3707
|
+
color: var(--button-color-tertiary-foreground-default);
|
|
3708
|
+
background-color: var(--button-color-tertiary-background-default);
|
|
3709
|
+
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
3710
|
+
border-radius: var(--border-radius-lg);
|
|
3711
|
+
cursor: pointer;
|
|
3712
|
+
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
3713
|
+
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
3714
|
+
}
|
|
3715
|
+
|
|
3716
|
+
.muka-thumbnail__remove:hover {
|
|
3717
|
+
color: var(--button-color-tertiary-foreground-hover);
|
|
3718
|
+
background-color: var(--button-color-tertiary-background-hover);
|
|
3719
|
+
border-color: var(--button-color-tertiary-border-hover);
|
|
3720
|
+
}
|
|
3721
|
+
|
|
3722
|
+
.muka-thumbnail__remove:active {
|
|
3723
|
+
color: var(--button-color-tertiary-foreground-pressed);
|
|
3724
|
+
background-color: var(--button-color-tertiary-background-pressed);
|
|
3725
|
+
border-color: var(--button-color-tertiary-border-pressed);
|
|
3726
|
+
}
|
|
3727
|
+
|
|
3728
|
+
.muka-thumbnail__remove:focus-visible {
|
|
3729
|
+
outline: 2px solid var(--color-border-focus);
|
|
3730
|
+
outline-offset: 2px;
|
|
3731
|
+
}
|
|
3732
|
+
|
|
3733
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
3734
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3735
|
+
.muka-thumbnail__image,
|
|
3736
|
+
.muka-thumbnail__remove {
|
|
3737
|
+
transition: none;
|
|
3738
|
+
}
|
|
3739
|
+
|
|
3740
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
3741
|
+
transform: none;
|
|
3742
|
+
}
|
|
3743
|
+
}
|
|
3744
|
+
|
|
3745
|
+
|
|
3746
|
+
/* Textarea */
|
|
3747
|
+
/* Textarea Component Styles - Using Muka Design Tokens */
|
|
3748
|
+
|
|
3749
|
+
.muka-textarea {
|
|
3750
|
+
display: inline-flex;
|
|
3751
|
+
flex-direction: column;
|
|
3752
|
+
gap: var(--spacing-2);
|
|
3753
|
+
}
|
|
3754
|
+
|
|
3755
|
+
/* Label */
|
|
3756
|
+
.muka-textarea__label {
|
|
3757
|
+
color: var(--color-text-default-default);
|
|
3758
|
+
cursor: pointer;
|
|
3759
|
+
}
|
|
3760
|
+
|
|
3761
|
+
.muka-textarea__label--sm {
|
|
3762
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
3763
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
3764
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
3765
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
3766
|
+
}
|
|
3767
|
+
|
|
3768
|
+
.muka-textarea__label--md {
|
|
3769
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
3770
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
3771
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
3772
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
3773
|
+
}
|
|
3774
|
+
|
|
3775
|
+
.muka-textarea__label--lg {
|
|
3776
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
3777
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
3778
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
3779
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
3780
|
+
}
|
|
3781
|
+
|
|
3782
|
+
.muka-textarea__required {
|
|
3783
|
+
color: var(--color-state-error-default);
|
|
3784
|
+
}
|
|
3785
|
+
|
|
3786
|
+
/* Field container */
|
|
3787
|
+
.muka-textarea__field {
|
|
3788
|
+
display: flex;
|
|
3789
|
+
background-color: var(--input-field-color-default-background);
|
|
3790
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
3791
|
+
border-radius: var(--input-field-radius-md);
|
|
3792
|
+
padding: var(--input-field-padding-y) var(--input-field-padding-x);
|
|
3793
|
+
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
3794
|
+
box-sizing: border-box;
|
|
3795
|
+
}
|
|
3796
|
+
|
|
3797
|
+
.muka-textarea__field--sm {
|
|
3798
|
+
min-height: var(--input-textarea-height-sm);
|
|
3799
|
+
border-radius: var(--input-field-radius-sm);
|
|
3800
|
+
}
|
|
3801
|
+
|
|
3802
|
+
.muka-textarea__field--md {
|
|
3803
|
+
min-height: var(--input-textarea-height-default);
|
|
3804
|
+
border-radius: var(--input-field-radius-md);
|
|
3805
|
+
}
|
|
3806
|
+
|
|
3807
|
+
.muka-textarea__field--lg {
|
|
3808
|
+
min-height: var(--input-textarea-height-lg);
|
|
3809
|
+
border-radius: var(--input-field-radius-lg);
|
|
3810
|
+
}
|
|
3811
|
+
|
|
3812
|
+
/* Focus state */
|
|
3779
3813
|
.muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
|
|
3780
3814
|
border-width: var(--border-width-bold);
|
|
3781
3815
|
border-color: var(--input-field-color-focus-border);
|
|
@@ -4145,188 +4179,166 @@ body {
|
|
|
4145
4179
|
}
|
|
4146
4180
|
|
|
4147
4181
|
|
|
4148
|
-
/*
|
|
4149
|
-
/*
|
|
4182
|
+
/* Toggle */
|
|
4183
|
+
/* Toggle Component Styles - Using Muka Design Tokens */
|
|
4150
4184
|
|
|
4151
|
-
|
|
4185
|
+
/* Wrapper container */
|
|
4186
|
+
.muka-toggle {
|
|
4187
|
+
display: flex;
|
|
4188
|
+
align-items: center;
|
|
4189
|
+
gap: var(--spacing-2);
|
|
4152
4190
|
position: relative;
|
|
4153
|
-
|
|
4191
|
+
padding: var(--spacing-4) 0;
|
|
4154
4192
|
}
|
|
4155
4193
|
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
circular/ellipse shape, whose corners would otherwise clip the button). */
|
|
4159
|
-
.muka-thumbnail__frame {
|
|
4160
|
-
position: absolute;
|
|
4161
|
-
inset: 0;
|
|
4162
|
-
overflow: hidden;
|
|
4163
|
-
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
4164
|
-
border-radius: var(--border-radius-lg);
|
|
4165
|
-
background-color: var(--color-surface-level1);
|
|
4194
|
+
.muka-toggle--with-caption {
|
|
4195
|
+
padding: var(--spacing-5) 0;
|
|
4166
4196
|
}
|
|
4167
4197
|
|
|
4168
|
-
|
|
4169
|
-
.
|
|
4170
|
-
width: 160px;
|
|
4171
|
-
height: 120px;
|
|
4198
|
+
.muka-toggle--disabled {
|
|
4199
|
+
opacity: 0.6;
|
|
4172
4200
|
}
|
|
4173
4201
|
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4202
|
+
/* Icon */
|
|
4203
|
+
.muka-toggle__icon {
|
|
4204
|
+
display: flex;
|
|
4205
|
+
align-items: center;
|
|
4206
|
+
justify-content: center;
|
|
4207
|
+
flex-shrink: 0;
|
|
4208
|
+
width: var(--icon-size-default);
|
|
4209
|
+
height: var(--icon-size-default);
|
|
4210
|
+
color: var(--color-text-default-default);
|
|
4177
4211
|
}
|
|
4178
4212
|
|
|
4179
|
-
.muka-
|
|
4180
|
-
width:
|
|
4181
|
-
height:
|
|
4213
|
+
.muka-toggle__icon svg {
|
|
4214
|
+
width: 100%;
|
|
4215
|
+
height: 100%;
|
|
4182
4216
|
}
|
|
4183
4217
|
|
|
4184
|
-
/*
|
|
4185
|
-
.muka-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4218
|
+
/* Content area (label + caption) */
|
|
4219
|
+
.muka-toggle__content {
|
|
4220
|
+
display: flex;
|
|
4221
|
+
flex-direction: column;
|
|
4222
|
+
flex: 1;
|
|
4223
|
+
min-width: 0;
|
|
4224
|
+
gap: var(--spacing-1);
|
|
4189
4225
|
}
|
|
4190
4226
|
|
|
4191
|
-
|
|
4192
|
-
|
|
4227
|
+
/* Label */
|
|
4228
|
+
.muka-toggle__label {
|
|
4229
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
4230
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
4231
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
4232
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
4233
|
+
color: var(--color-text-default-default);
|
|
4234
|
+
cursor: pointer;
|
|
4193
4235
|
}
|
|
4194
4236
|
|
|
4195
|
-
.muka-
|
|
4196
|
-
|
|
4237
|
+
.muka-toggle--with-caption .muka-toggle__label {
|
|
4238
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
4239
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
4240
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
4241
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
4197
4242
|
}
|
|
4198
4243
|
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
position: absolute;
|
|
4203
|
-
inset: 0;
|
|
4204
|
-
width: 100%;
|
|
4205
|
-
height: 100%;
|
|
4206
|
-
object-fit: cover;
|
|
4207
|
-
display: block;
|
|
4208
|
-
transform-origin: center;
|
|
4209
|
-
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
4210
|
-
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4244
|
+
.muka-toggle--disabled .muka-toggle__label {
|
|
4245
|
+
color: var(--color-text-subtle-default);
|
|
4246
|
+
cursor: not-allowed;
|
|
4211
4247
|
}
|
|
4212
4248
|
|
|
4213
|
-
/*
|
|
4214
|
-
.muka-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
cursor: pointer;
|
|
4221
|
-
overflow: hidden;
|
|
4249
|
+
/* Caption */
|
|
4250
|
+
.muka-toggle__caption {
|
|
4251
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
4252
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4253
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
4254
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
4255
|
+
color: var(--color-text-subtle-default);
|
|
4222
4256
|
}
|
|
4223
4257
|
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4258
|
+
/* Switch container */
|
|
4259
|
+
.muka-toggle__switch {
|
|
4260
|
+
position: relative;
|
|
4261
|
+
display: inline-flex;
|
|
4262
|
+
flex-shrink: 0;
|
|
4263
|
+
cursor: pointer;
|
|
4227
4264
|
}
|
|
4228
4265
|
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
transform: scale(1.05);
|
|
4266
|
+
.muka-toggle--disabled .muka-toggle__switch {
|
|
4267
|
+
cursor: not-allowed;
|
|
4232
4268
|
}
|
|
4233
4269
|
|
|
4234
|
-
/*
|
|
4235
|
-
.muka-
|
|
4270
|
+
/* Hidden native input */
|
|
4271
|
+
.muka-toggle__input {
|
|
4236
4272
|
position: absolute;
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
width: 40px;
|
|
4246
|
-
height: 40px;
|
|
4247
|
-
}
|
|
4248
|
-
|
|
4249
|
-
/* ─── Error / corrupt state ───────────────────────────── */
|
|
4250
|
-
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
4251
|
-
background-color: var(--alias-color-state-error-muted);
|
|
4252
|
-
border-color: var(--alias-color-state-error-default);
|
|
4273
|
+
width: 1px;
|
|
4274
|
+
height: 1px;
|
|
4275
|
+
padding: 0;
|
|
4276
|
+
margin: -1px;
|
|
4277
|
+
overflow: hidden;
|
|
4278
|
+
clip: rect(0, 0, 0, 0);
|
|
4279
|
+
white-space: nowrap;
|
|
4280
|
+
border: 0;
|
|
4253
4281
|
}
|
|
4254
4282
|
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
inset: 0;
|
|
4283
|
+
/* Track (background pill) */
|
|
4284
|
+
.muka-toggle__track {
|
|
4258
4285
|
display: flex;
|
|
4259
|
-
flex-direction: column;
|
|
4260
4286
|
align-items: center;
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4287
|
+
width: var(--toggle-track-width);
|
|
4288
|
+
height: var(--toggle-track-height);
|
|
4289
|
+
border-radius: var(--toggle-track-radius);
|
|
4290
|
+
background-color: var(--toggle-track-color-off);
|
|
4291
|
+
transition: background-color 0.2s ease;
|
|
4292
|
+
box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.16);
|
|
4293
|
+
position: relative;
|
|
4265
4294
|
}
|
|
4266
4295
|
|
|
4267
|
-
|
|
4268
|
-
|
|
4296
|
+
/* Knob (sliding circle) */
|
|
4297
|
+
.muka-toggle__knob {
|
|
4298
|
+
position: absolute;
|
|
4299
|
+
width: var(--toggle-knob-size);
|
|
4300
|
+
height: var(--toggle-knob-size);
|
|
4301
|
+
border-radius: var(--border-radius-full);
|
|
4302
|
+
background-color: var(--toggle-knob-color-default);
|
|
4303
|
+
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
|
|
4304
|
+
left: var(--toggle-knob-offset);
|
|
4305
|
+
transition: left 0.2s ease, transform 0.2s ease;
|
|
4269
4306
|
}
|
|
4270
4307
|
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
white-space: nowrap;
|
|
4276
|
-
color: var(--alert-color-error-accent);
|
|
4277
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4278
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
4279
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4280
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4308
|
+
/* Focus state */
|
|
4309
|
+
.muka-toggle__input:focus-visible + .muka-toggle__track {
|
|
4310
|
+
outline: 2px solid var(--color-border-focus);
|
|
4311
|
+
outline-offset: 2px;
|
|
4281
4312
|
}
|
|
4282
4313
|
|
|
4283
|
-
/*
|
|
4284
|
-
.muka-
|
|
4285
|
-
|
|
4286
|
-
top: var(--spacing-2);
|
|
4287
|
-
right: var(--spacing-2);
|
|
4288
|
-
display: flex;
|
|
4289
|
-
align-items: center;
|
|
4290
|
-
justify-content: center;
|
|
4291
|
-
width: var(--size-2xl);
|
|
4292
|
-
height: var(--size-2xl);
|
|
4293
|
-
padding: 0;
|
|
4294
|
-
color: var(--button-color-tertiary-foreground-default);
|
|
4295
|
-
background-color: var(--button-color-tertiary-background-default);
|
|
4296
|
-
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
4297
|
-
border-radius: var(--border-radius-lg);
|
|
4298
|
-
cursor: pointer;
|
|
4299
|
-
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
4300
|
-
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4314
|
+
/* Checked (on) state */
|
|
4315
|
+
.muka-toggle__input:checked + .muka-toggle__track {
|
|
4316
|
+
background-color: var(--toggle-track-color-on);
|
|
4301
4317
|
}
|
|
4302
4318
|
|
|
4303
|
-
.muka-
|
|
4304
|
-
|
|
4305
|
-
background-color: var(--button-color-tertiary-background-hover);
|
|
4306
|
-
border-color: var(--button-color-tertiary-border-hover);
|
|
4319
|
+
.muka-toggle__input:checked + .muka-toggle__track .muka-toggle__knob {
|
|
4320
|
+
left: calc(var(--toggle-track-width) - var(--toggle-knob-size) - var(--toggle-knob-offset));
|
|
4307
4321
|
}
|
|
4308
4322
|
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
background-color: var(--
|
|
4312
|
-
|
|
4323
|
+
/* Disabled state */
|
|
4324
|
+
.muka-toggle--disabled .muka-toggle__track {
|
|
4325
|
+
background-color: var(--toggle-track-color-disabled);
|
|
4326
|
+
box-shadow: none;
|
|
4313
4327
|
}
|
|
4314
4328
|
|
|
4315
|
-
.muka-
|
|
4316
|
-
|
|
4317
|
-
|
|
4329
|
+
.muka-toggle--disabled .muka-toggle__knob {
|
|
4330
|
+
background-color: var(--toggle-knob-color-disabled);
|
|
4331
|
+
box-shadow: none;
|
|
4318
4332
|
}
|
|
4319
4333
|
|
|
4320
|
-
/*
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
transform: none;
|
|
4329
|
-
}
|
|
4334
|
+
/* Divider */
|
|
4335
|
+
.muka-toggle__divider {
|
|
4336
|
+
position: absolute;
|
|
4337
|
+
bottom: 0;
|
|
4338
|
+
left: 0;
|
|
4339
|
+
right: 0;
|
|
4340
|
+
height: 1px;
|
|
4341
|
+
background-color: var(--color-border-muted);
|
|
4330
4342
|
}
|
|
4331
4343
|
|
|
4332
4344
|
|
|
@@ -4734,84 +4746,6 @@ body {
|
|
|
4734
4746
|
}
|
|
4735
4747
|
|
|
4736
4748
|
|
|
4737
|
-
/* Spinner */
|
|
4738
|
-
/* Spinner Component Styles */
|
|
4739
|
-
|
|
4740
|
-
.muka-spinner {
|
|
4741
|
-
display: inline-flex;
|
|
4742
|
-
align-items: center;
|
|
4743
|
-
justify-content: center;
|
|
4744
|
-
color: var(--color-text-default-default);
|
|
4745
|
-
line-height: 0;
|
|
4746
|
-
}
|
|
4747
|
-
|
|
4748
|
-
.muka-spinner--subtle {
|
|
4749
|
-
color: var(--color-text-subtle-default);
|
|
4750
|
-
}
|
|
4751
|
-
|
|
4752
|
-
.muka-spinner--inverse {
|
|
4753
|
-
color: var(--color-text-default-inverse);
|
|
4754
|
-
}
|
|
4755
|
-
|
|
4756
|
-
.muka-spinner__circle {
|
|
4757
|
-
display: inline-block;
|
|
4758
|
-
border-radius: 50%;
|
|
4759
|
-
border-style: solid;
|
|
4760
|
-
border-color: currentColor;
|
|
4761
|
-
border-right-color: transparent;
|
|
4762
|
-
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
4763
|
-
box-sizing: border-box;
|
|
4764
|
-
}
|
|
4765
|
-
|
|
4766
|
-
/* ─── Sizes ───────────────────────────────────────────── */
|
|
4767
|
-
|
|
4768
|
-
.muka-spinner--sm .muka-spinner__circle {
|
|
4769
|
-
width: 16px;
|
|
4770
|
-
height: 16px;
|
|
4771
|
-
border-width: 2px;
|
|
4772
|
-
}
|
|
4773
|
-
|
|
4774
|
-
.muka-spinner--md .muka-spinner__circle {
|
|
4775
|
-
width: 20px;
|
|
4776
|
-
height: 20px;
|
|
4777
|
-
border-width: 2px;
|
|
4778
|
-
}
|
|
4779
|
-
|
|
4780
|
-
.muka-spinner--lg .muka-spinner__circle {
|
|
4781
|
-
width: 24px;
|
|
4782
|
-
height: 24px;
|
|
4783
|
-
border-width: 3px;
|
|
4784
|
-
}
|
|
4785
|
-
|
|
4786
|
-
/* ─── Visually-hidden label ───────────────────────────── */
|
|
4787
|
-
|
|
4788
|
-
.muka-spinner__sr-label {
|
|
4789
|
-
position: absolute;
|
|
4790
|
-
width: 1px;
|
|
4791
|
-
height: 1px;
|
|
4792
|
-
padding: 0;
|
|
4793
|
-
margin: -1px;
|
|
4794
|
-
overflow: hidden;
|
|
4795
|
-
clip: rect(0, 0, 0, 0);
|
|
4796
|
-
white-space: nowrap;
|
|
4797
|
-
border: 0;
|
|
4798
|
-
}
|
|
4799
|
-
|
|
4800
|
-
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4801
|
-
|
|
4802
|
-
@keyframes muka-spinner-rotate {
|
|
4803
|
-
to {
|
|
4804
|
-
transform: rotate(360deg);
|
|
4805
|
-
}
|
|
4806
|
-
}
|
|
4807
|
-
|
|
4808
|
-
@media (prefers-reduced-motion: reduce) {
|
|
4809
|
-
.muka-spinner__circle {
|
|
4810
|
-
animation-duration: 2.5s;
|
|
4811
|
-
}
|
|
4812
|
-
}
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
4749
|
/* SwipeActions */
|
|
4816
4750
|
/* SwipeActions Component Styles */
|
|
4817
4751
|
|
|
@@ -4920,11 +4854,89 @@ body {
|
|
|
4920
4854
|
}
|
|
4921
4855
|
|
|
4922
4856
|
|
|
4923
|
-
/*
|
|
4924
|
-
/*
|
|
4857
|
+
/* Spinner */
|
|
4858
|
+
/* Spinner Component Styles */
|
|
4925
4859
|
|
|
4926
|
-
.muka-
|
|
4927
|
-
|
|
4860
|
+
.muka-spinner {
|
|
4861
|
+
display: inline-flex;
|
|
4862
|
+
align-items: center;
|
|
4863
|
+
justify-content: center;
|
|
4864
|
+
color: var(--color-text-default-default);
|
|
4865
|
+
line-height: 0;
|
|
4866
|
+
}
|
|
4867
|
+
|
|
4868
|
+
.muka-spinner--subtle {
|
|
4869
|
+
color: var(--color-text-subtle-default);
|
|
4870
|
+
}
|
|
4871
|
+
|
|
4872
|
+
.muka-spinner--inverse {
|
|
4873
|
+
color: var(--color-text-default-inverse);
|
|
4874
|
+
}
|
|
4875
|
+
|
|
4876
|
+
.muka-spinner__circle {
|
|
4877
|
+
display: inline-block;
|
|
4878
|
+
border-radius: 50%;
|
|
4879
|
+
border-style: solid;
|
|
4880
|
+
border-color: currentColor;
|
|
4881
|
+
border-right-color: transparent;
|
|
4882
|
+
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
4883
|
+
box-sizing: border-box;
|
|
4884
|
+
}
|
|
4885
|
+
|
|
4886
|
+
/* ─── Sizes ───────────────────────────────────────────── */
|
|
4887
|
+
|
|
4888
|
+
.muka-spinner--sm .muka-spinner__circle {
|
|
4889
|
+
width: 16px;
|
|
4890
|
+
height: 16px;
|
|
4891
|
+
border-width: 2px;
|
|
4892
|
+
}
|
|
4893
|
+
|
|
4894
|
+
.muka-spinner--md .muka-spinner__circle {
|
|
4895
|
+
width: 20px;
|
|
4896
|
+
height: 20px;
|
|
4897
|
+
border-width: 2px;
|
|
4898
|
+
}
|
|
4899
|
+
|
|
4900
|
+
.muka-spinner--lg .muka-spinner__circle {
|
|
4901
|
+
width: 24px;
|
|
4902
|
+
height: 24px;
|
|
4903
|
+
border-width: 3px;
|
|
4904
|
+
}
|
|
4905
|
+
|
|
4906
|
+
/* ─── Visually-hidden label ───────────────────────────── */
|
|
4907
|
+
|
|
4908
|
+
.muka-spinner__sr-label {
|
|
4909
|
+
position: absolute;
|
|
4910
|
+
width: 1px;
|
|
4911
|
+
height: 1px;
|
|
4912
|
+
padding: 0;
|
|
4913
|
+
margin: -1px;
|
|
4914
|
+
overflow: hidden;
|
|
4915
|
+
clip: rect(0, 0, 0, 0);
|
|
4916
|
+
white-space: nowrap;
|
|
4917
|
+
border: 0;
|
|
4918
|
+
}
|
|
4919
|
+
|
|
4920
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4921
|
+
|
|
4922
|
+
@keyframes muka-spinner-rotate {
|
|
4923
|
+
to {
|
|
4924
|
+
transform: rotate(360deg);
|
|
4925
|
+
}
|
|
4926
|
+
}
|
|
4927
|
+
|
|
4928
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4929
|
+
.muka-spinner__circle {
|
|
4930
|
+
animation-duration: 2.5s;
|
|
4931
|
+
}
|
|
4932
|
+
}
|
|
4933
|
+
|
|
4934
|
+
|
|
4935
|
+
/* SpecList */
|
|
4936
|
+
/* SpecList Component Styles */
|
|
4937
|
+
|
|
4938
|
+
.muka-spec-list {
|
|
4939
|
+
margin: 0;
|
|
4928
4940
|
padding: 0;
|
|
4929
4941
|
}
|
|
4930
4942
|
|
|
@@ -5431,6 +5443,8 @@ body {
|
|
|
5431
5443
|
position: fixed;
|
|
5432
5444
|
inset: 0;
|
|
5433
5445
|
background-color: var(--color-surface-backdrop);
|
|
5446
|
+
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
5447
|
+
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
5434
5448
|
z-index: 50;
|
|
5435
5449
|
}
|
|
5436
5450
|
|
|
@@ -11239,6 +11253,8 @@ li.muka-listitem {
|
|
|
11239
11253
|
/* Backdrop */
|
|
11240
11254
|
.muka-drawer::backdrop {
|
|
11241
11255
|
background-color: var(--color-surface-backdrop);
|
|
11256
|
+
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
11257
|
+
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
11242
11258
|
opacity: 0;
|
|
11243
11259
|
transition: opacity 200ms ease;
|
|
11244
11260
|
}
|
|
@@ -11341,7 +11357,14 @@ li.muka-listitem {
|
|
|
11341
11357
|
.muka-drawer__body {
|
|
11342
11358
|
flex: 1;
|
|
11343
11359
|
overflow-y: auto;
|
|
11344
|
-
padding: var(--
|
|
11360
|
+
padding: var(--drawer-padding-x);
|
|
11361
|
+
}
|
|
11362
|
+
|
|
11363
|
+
/* Roomier body on desktop; the header and footer keep their padding */
|
|
11364
|
+
@media (min-width: 1024px) {
|
|
11365
|
+
.muka-drawer__body {
|
|
11366
|
+
padding: var(--drawer-padding-x-desktop);
|
|
11367
|
+
}
|
|
11345
11368
|
}
|
|
11346
11369
|
|
|
11347
11370
|
/* Footer */
|
|
@@ -11682,6 +11705,8 @@ li.muka-listitem {
|
|
|
11682
11705
|
|
|
11683
11706
|
.muka-dialog::backdrop {
|
|
11684
11707
|
background-color: var(--dialog-color-backdrop);
|
|
11708
|
+
-webkit-backdrop-filter: blur(var(--dialog-backdrop-blur));
|
|
11709
|
+
backdrop-filter: blur(var(--dialog-backdrop-blur));
|
|
11685
11710
|
}
|
|
11686
11711
|
|
|
11687
11712
|
/* ─── Non-modal modifier ──────────────────────────────── */
|
|
@@ -11819,6 +11844,40 @@ li.muka-listitem {
|
|
|
11819
11844
|
cursor: grabbing;
|
|
11820
11845
|
}
|
|
11821
11846
|
|
|
11847
|
+
/* ─── Desktop entrance animation (≥ 1024px) ─────────── */
|
|
11848
|
+
|
|
11849
|
+
/* The card rises into place while it fades in, then drops back out in half
|
|
11850
|
+
the time. A transition takes its timing from the state it moves to, so the
|
|
11851
|
+
resting rule carries the exit and the --slide-in rule the entrance. Reduced
|
|
11852
|
+
motion zeroes both durations. */
|
|
11853
|
+
@media (min-width: 1024px) {
|
|
11854
|
+
.muka-dialog .muka-dialog__surface {
|
|
11855
|
+
transform: translateY(var(--dialog-motion-offset-desktop));
|
|
11856
|
+
opacity: 0;
|
|
11857
|
+
transition:
|
|
11858
|
+
transform var(--motion-duration-exit) var(--motion-easing-exit),
|
|
11859
|
+
opacity var(--motion-duration-exit) var(--motion-easing-exit);
|
|
11860
|
+
}
|
|
11861
|
+
|
|
11862
|
+
.muka-dialog--slide-in .muka-dialog__surface {
|
|
11863
|
+
transform: translateY(0);
|
|
11864
|
+
opacity: 1;
|
|
11865
|
+
transition:
|
|
11866
|
+
transform var(--motion-duration-component) var(--motion-easing-enter),
|
|
11867
|
+
opacity var(--motion-duration-component) var(--motion-easing-enter);
|
|
11868
|
+
}
|
|
11869
|
+
|
|
11870
|
+
.muka-dialog::backdrop {
|
|
11871
|
+
opacity: 0;
|
|
11872
|
+
transition: opacity var(--motion-duration-exit) var(--motion-easing-exit);
|
|
11873
|
+
}
|
|
11874
|
+
|
|
11875
|
+
.muka-dialog--slide-in::backdrop {
|
|
11876
|
+
opacity: 1;
|
|
11877
|
+
transition: opacity var(--motion-duration-component) var(--motion-easing-enter);
|
|
11878
|
+
}
|
|
11879
|
+
}
|
|
11880
|
+
|
|
11822
11881
|
/* ─── Desktop overrides (≥ 1024px) ────────────────────── */
|
|
11823
11882
|
|
|
11824
11883
|
@media (min-width: 1024px) {
|
|
@@ -11838,6 +11897,13 @@ li.muka-listitem {
|
|
|
11838
11897
|
width: 100%;
|
|
11839
11898
|
}
|
|
11840
11899
|
|
|
11900
|
+
/* Roomier body on desktop; the TopBar and BottomBar keep their padding */
|
|
11901
|
+
.muka-dialog--sm .muka-dialog__body,
|
|
11902
|
+
.muka-dialog--md .muka-dialog__body,
|
|
11903
|
+
.muka-dialog--lg .muka-dialog__body {
|
|
11904
|
+
padding: var(--dialog-padding-x-desktop);
|
|
11905
|
+
}
|
|
11906
|
+
|
|
11841
11907
|
/* Half-height override not needed on desktop */
|
|
11842
11908
|
.muka-dialog--mobile-half .muka-dialog__surface {
|
|
11843
11909
|
height: auto;
|
|
@@ -15185,6 +15251,62 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15185
15251
|
width: 100%;
|
|
15186
15252
|
}
|
|
15187
15253
|
|
|
15254
|
+
/* ─── Message (actions variants only) ────────────────── */
|
|
15255
|
+
|
|
15256
|
+
/* Below 1024px the message takes its own line above the buttons. */
|
|
15257
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
|
|
15258
|
+
flex-wrap: wrap;
|
|
15259
|
+
row-gap: var(--bottombar-actions-message-gap);
|
|
15260
|
+
}
|
|
15261
|
+
|
|
15262
|
+
.muka-bottombar--actions-vertical.muka-bottombar--with-message .muka-bottombar__content {
|
|
15263
|
+
row-gap: var(--bottombar-actions-message-gap);
|
|
15264
|
+
}
|
|
15265
|
+
|
|
15266
|
+
.muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
|
|
15267
|
+
flex: 1 0 100%;
|
|
15268
|
+
width: 100%;
|
|
15269
|
+
}
|
|
15270
|
+
|
|
15271
|
+
.muka-bottombar__message {
|
|
15272
|
+
margin: 0;
|
|
15273
|
+
min-width: 0;
|
|
15274
|
+
overflow-wrap: anywhere;
|
|
15275
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15276
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15277
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15278
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15279
|
+
}
|
|
15280
|
+
|
|
15281
|
+
.muka-bottombar__message--neutral {
|
|
15282
|
+
color: var(--bottombar-color-message-neutral);
|
|
15283
|
+
}
|
|
15284
|
+
|
|
15285
|
+
.muka-bottombar__message--success {
|
|
15286
|
+
color: var(--bottombar-color-message-success);
|
|
15287
|
+
}
|
|
15288
|
+
|
|
15289
|
+
.muka-bottombar__message--warning {
|
|
15290
|
+
color: var(--bottombar-color-message-warning);
|
|
15291
|
+
}
|
|
15292
|
+
|
|
15293
|
+
/* From 1024px the horizontal bar puts the message left, the buttons right at
|
|
15294
|
+
their own width. The vertical variant keeps stacking. */
|
|
15295
|
+
@media (min-width: 1024px) {
|
|
15296
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
|
|
15297
|
+
flex-wrap: nowrap;
|
|
15298
|
+
}
|
|
15299
|
+
|
|
15300
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > * {
|
|
15301
|
+
flex: 0 0 auto;
|
|
15302
|
+
}
|
|
15303
|
+
|
|
15304
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
|
|
15305
|
+
flex: 1 1 auto;
|
|
15306
|
+
width: auto;
|
|
15307
|
+
}
|
|
15308
|
+
}
|
|
15309
|
+
|
|
15188
15310
|
/* ─── Size modifiers (actions variants only) ─────────── */
|
|
15189
15311
|
|
|
15190
15312
|
/* ─── Navigation variant ──────────────────────────────── */
|
|
@@ -15763,6 +15885,72 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15763
15885
|
}
|
|
15764
15886
|
|
|
15765
15887
|
|
|
15888
|
+
/* Autocomplete */
|
|
15889
|
+
/* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
|
|
15890
|
+
The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
|
|
15891
|
+
|
|
15892
|
+
.muka-autocomplete {
|
|
15893
|
+
min-width: 200px;
|
|
15894
|
+
}
|
|
15895
|
+
|
|
15896
|
+
/* Covers the field's outer edge so the menu matches its full width. The menu
|
|
15897
|
+
is only open while focused, when the field has the bold border. */
|
|
15898
|
+
.muka-autocomplete__menu-anchor {
|
|
15899
|
+
position: absolute;
|
|
15900
|
+
inset: calc(-1 * var(--border-width-bold));
|
|
15901
|
+
z-index: 0;
|
|
15902
|
+
margin: 0;
|
|
15903
|
+
padding: 0;
|
|
15904
|
+
border: none;
|
|
15905
|
+
background: transparent;
|
|
15906
|
+
pointer-events: none;
|
|
15907
|
+
opacity: 0;
|
|
15908
|
+
}
|
|
15909
|
+
|
|
15910
|
+
/* Keep the field content above the invisible anchor. */
|
|
15911
|
+
.muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
|
|
15912
|
+
position: relative;
|
|
15913
|
+
z-index: 1;
|
|
15914
|
+
}
|
|
15915
|
+
|
|
15916
|
+
/* Figma: the menu is as wide as the field (never below the menu min-width token). */
|
|
15917
|
+
.muka-autocomplete__menu {
|
|
15918
|
+
width: var(--radix-dropdown-menu-trigger-width);
|
|
15919
|
+
max-width: calc(100vw - 2rem);
|
|
15920
|
+
}
|
|
15921
|
+
|
|
15922
|
+
/* Suggestions are single-line; long labels truncate. */
|
|
15923
|
+
.muka-autocomplete__menu .muka-menu__item-label {
|
|
15924
|
+
overflow: hidden;
|
|
15925
|
+
text-overflow: ellipsis;
|
|
15926
|
+
}
|
|
15927
|
+
|
|
15928
|
+
/* Loading and empty rows: menu-row geometry, not selectable. */
|
|
15929
|
+
.muka-autocomplete__status {
|
|
15930
|
+
display: flex;
|
|
15931
|
+
align-items: center;
|
|
15932
|
+
gap: var(--menu-item-gap);
|
|
15933
|
+
min-height: var(--menu-item-height);
|
|
15934
|
+
padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
|
|
15935
|
+
color: var(--color-text-subtle-default);
|
|
15936
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
15937
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
15938
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
15939
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
15940
|
+
}
|
|
15941
|
+
|
|
15942
|
+
.muka-autocomplete__footer {
|
|
15943
|
+
flex-shrink: 0;
|
|
15944
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
15945
|
+
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
15946
|
+
color: var(--color-text-subtle-default);
|
|
15947
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15948
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
15949
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
15950
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
15951
|
+
}
|
|
15952
|
+
|
|
15953
|
+
|
|
15766
15954
|
/* Avatar */
|
|
15767
15955
|
/* Avatar Component Styles - Using Muka Design Tokens */
|
|
15768
15956
|
|
|
@@ -16115,168 +16303,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16115
16303
|
}
|
|
16116
16304
|
|
|
16117
16305
|
|
|
16118
|
-
/* Autocomplete */
|
|
16119
|
-
/* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
|
|
16120
|
-
The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
|
|
16121
|
-
|
|
16122
|
-
.muka-autocomplete {
|
|
16123
|
-
min-width: 200px;
|
|
16124
|
-
}
|
|
16125
|
-
|
|
16126
|
-
/* Covers the field's outer edge so the menu matches its full width. The menu
|
|
16127
|
-
is only open while focused, when the field has the bold border. */
|
|
16128
|
-
.muka-autocomplete__menu-anchor {
|
|
16129
|
-
position: absolute;
|
|
16130
|
-
inset: calc(-1 * var(--border-width-bold));
|
|
16131
|
-
z-index: 0;
|
|
16132
|
-
margin: 0;
|
|
16133
|
-
padding: 0;
|
|
16134
|
-
border: none;
|
|
16135
|
-
background: transparent;
|
|
16136
|
-
pointer-events: none;
|
|
16137
|
-
opacity: 0;
|
|
16138
|
-
}
|
|
16139
|
-
|
|
16140
|
-
/* Keep the field content above the invisible anchor. */
|
|
16141
|
-
.muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
|
|
16142
|
-
position: relative;
|
|
16143
|
-
z-index: 1;
|
|
16144
|
-
}
|
|
16145
|
-
|
|
16146
|
-
/* Figma: the menu is as wide as the field (never below the menu min-width token). */
|
|
16147
|
-
.muka-autocomplete__menu {
|
|
16148
|
-
width: var(--radix-dropdown-menu-trigger-width);
|
|
16149
|
-
max-width: calc(100vw - 2rem);
|
|
16150
|
-
}
|
|
16151
|
-
|
|
16152
|
-
/* Suggestions are single-line; long labels truncate. */
|
|
16153
|
-
.muka-autocomplete__menu .muka-menu__item-label {
|
|
16154
|
-
overflow: hidden;
|
|
16155
|
-
text-overflow: ellipsis;
|
|
16156
|
-
}
|
|
16157
|
-
|
|
16158
|
-
/* Loading and empty rows: menu-row geometry, not selectable. */
|
|
16159
|
-
.muka-autocomplete__status {
|
|
16160
|
-
display: flex;
|
|
16161
|
-
align-items: center;
|
|
16162
|
-
gap: var(--menu-item-gap);
|
|
16163
|
-
min-height: var(--menu-item-height);
|
|
16164
|
-
padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
|
|
16165
|
-
color: var(--color-text-subtle-default);
|
|
16166
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
16167
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
16168
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
16169
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
16170
|
-
}
|
|
16171
|
-
|
|
16172
|
-
.muka-autocomplete__footer {
|
|
16173
|
-
flex-shrink: 0;
|
|
16174
|
-
padding: var(--spacing-2) var(--spacing-3);
|
|
16175
|
-
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
16176
|
-
color: var(--color-text-subtle-default);
|
|
16177
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
16178
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
16179
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
16180
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
16181
|
-
}
|
|
16182
|
-
|
|
16183
|
-
|
|
16184
|
-
/* AppShell */
|
|
16185
|
-
/* AppShell Component Styles */
|
|
16186
|
-
|
|
16187
|
-
/*
|
|
16188
|
-
* Layout wrapper for a persistent left navigation rail + main view area, with an
|
|
16189
|
-
* optional full-width top app bar. The rail itself is styled by the BottomBar
|
|
16190
|
-
* `desktopAs="sidebar"` rules (fixed 240px left rail at ≥1024px); AppShell shows/
|
|
16191
|
-
* hides the sidebar + app-bar slots and offsets the main area to match. Both
|
|
16192
|
-
* appear at the large tier — responsively (no `size`, scoped with
|
|
16193
|
-
* `:not([data-size])`) or forced via `[data-size="lg"]`.
|
|
16194
|
-
*/
|
|
16195
|
-
.muka-app-shell {
|
|
16196
|
-
position: relative;
|
|
16197
|
-
/* Reserved width for the rail; matches BottomBar's desktop-sidebar width. */
|
|
16198
|
-
--app-shell-sidebar-width: 240px;
|
|
16199
|
-
/* Height of the optional top app bar. */
|
|
16200
|
-
--app-shell-appbar-height: 64px;
|
|
16201
|
-
}
|
|
16202
|
-
|
|
16203
|
-
/* Sidebar slot: hidden below the large tier (per-view nav handles small/medium). */
|
|
16204
|
-
.muka-app-shell__sidebar {
|
|
16205
|
-
display: none;
|
|
16206
|
-
}
|
|
16207
|
-
|
|
16208
|
-
.muka-app-shell__main {
|
|
16209
|
-
min-height: 100dvh;
|
|
16210
|
-
}
|
|
16211
|
-
|
|
16212
|
-
/*
|
|
16213
|
-
* App bar: full-width top strip. Intrinsic styling lives here (harmless while
|
|
16214
|
-
* hidden); it is revealed only at the large tier. Sits above the sidebar rail.
|
|
16215
|
-
*/
|
|
16216
|
-
.muka-app-shell__appbar {
|
|
16217
|
-
display: none;
|
|
16218
|
-
align-items: center;
|
|
16219
|
-
justify-content: space-between;
|
|
16220
|
-
gap: var(--spacing-4);
|
|
16221
|
-
position: fixed;
|
|
16222
|
-
top: 0;
|
|
16223
|
-
left: 0;
|
|
16224
|
-
right: 0;
|
|
16225
|
-
height: var(--app-shell-appbar-height);
|
|
16226
|
-
padding-inline: var(--spacing-4);
|
|
16227
|
-
background-color: var(--color-surface-level3);
|
|
16228
|
-
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
16229
|
-
z-index: 11; /* above the sidebar rail (z-index 10) */
|
|
16230
|
-
}
|
|
16231
|
-
|
|
16232
|
-
/* ─── Large tier (responsive) ─── */
|
|
16233
|
-
@media (min-width: 1024px) {
|
|
16234
|
-
.muka-app-shell:not([data-size]) .muka-app-shell__sidebar {
|
|
16235
|
-
display: block;
|
|
16236
|
-
}
|
|
16237
|
-
.muka-app-shell:not([data-size]) .muka-app-shell__main {
|
|
16238
|
-
padding-left: var(--app-shell-sidebar-width);
|
|
16239
|
-
}
|
|
16240
|
-
.muka-app-shell:not([data-size]) .muka-app-shell__appbar {
|
|
16241
|
-
display: flex;
|
|
16242
|
-
}
|
|
16243
|
-
/* When an app bar is present, drop the rail + content below it so nothing overlaps. */
|
|
16244
|
-
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-app-shell__main {
|
|
16245
|
-
padding-top: var(--app-shell-appbar-height);
|
|
16246
|
-
}
|
|
16247
|
-
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
|
|
16248
|
-
top: var(--app-shell-appbar-height);
|
|
16249
|
-
height: calc(100vh - var(--app-shell-appbar-height));
|
|
16250
|
-
}
|
|
16251
|
-
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-view,
|
|
16252
|
-
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-nav-transition {
|
|
16253
|
-
height: calc(100dvh - var(--app-shell-appbar-height));
|
|
16254
|
-
}
|
|
16255
|
-
}
|
|
16256
|
-
|
|
16257
|
-
/* ─── Large tier (forced via size="lg") ─── */
|
|
16258
|
-
.muka-app-shell[data-size='lg'] .muka-app-shell__sidebar {
|
|
16259
|
-
display: block;
|
|
16260
|
-
}
|
|
16261
|
-
.muka-app-shell[data-size='lg'] .muka-app-shell__main {
|
|
16262
|
-
padding-left: var(--app-shell-sidebar-width);
|
|
16263
|
-
}
|
|
16264
|
-
.muka-app-shell[data-size='lg'] .muka-app-shell__appbar {
|
|
16265
|
-
display: flex;
|
|
16266
|
-
}
|
|
16267
|
-
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-app-shell__main {
|
|
16268
|
-
padding-top: var(--app-shell-appbar-height);
|
|
16269
|
-
}
|
|
16270
|
-
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
|
|
16271
|
-
top: var(--app-shell-appbar-height);
|
|
16272
|
-
height: calc(100vh - var(--app-shell-appbar-height));
|
|
16273
|
-
}
|
|
16274
|
-
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-view,
|
|
16275
|
-
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-nav-transition {
|
|
16276
|
-
height: calc(100dvh - var(--app-shell-appbar-height));
|
|
16277
|
-
}
|
|
16278
|
-
|
|
16279
|
-
|
|
16280
16306
|
/* Alert */
|
|
16281
16307
|
/* Alert Component Styles - Using Muka Design Tokens */
|
|
16282
16308
|
|
|
@@ -16488,6 +16514,102 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16488
16514
|
}
|
|
16489
16515
|
|
|
16490
16516
|
|
|
16517
|
+
/* AppShell */
|
|
16518
|
+
/* AppShell Component Styles */
|
|
16519
|
+
|
|
16520
|
+
/*
|
|
16521
|
+
* Layout wrapper for a persistent left navigation rail + main view area, with an
|
|
16522
|
+
* optional full-width top app bar. The rail itself is styled by the BottomBar
|
|
16523
|
+
* `desktopAs="sidebar"` rules (fixed 240px left rail at ≥1024px); AppShell shows/
|
|
16524
|
+
* hides the sidebar + app-bar slots and offsets the main area to match. Both
|
|
16525
|
+
* appear at the large tier — responsively (no `size`, scoped with
|
|
16526
|
+
* `:not([data-size])`) or forced via `[data-size="lg"]`.
|
|
16527
|
+
*/
|
|
16528
|
+
.muka-app-shell {
|
|
16529
|
+
position: relative;
|
|
16530
|
+
/* Reserved width for the rail; matches BottomBar's desktop-sidebar width. */
|
|
16531
|
+
--app-shell-sidebar-width: 240px;
|
|
16532
|
+
/* Height of the optional top app bar. */
|
|
16533
|
+
--app-shell-appbar-height: 64px;
|
|
16534
|
+
}
|
|
16535
|
+
|
|
16536
|
+
/* Sidebar slot: hidden below the large tier (per-view nav handles small/medium). */
|
|
16537
|
+
.muka-app-shell__sidebar {
|
|
16538
|
+
display: none;
|
|
16539
|
+
}
|
|
16540
|
+
|
|
16541
|
+
.muka-app-shell__main {
|
|
16542
|
+
min-height: 100dvh;
|
|
16543
|
+
}
|
|
16544
|
+
|
|
16545
|
+
/*
|
|
16546
|
+
* App bar: full-width top strip. Intrinsic styling lives here (harmless while
|
|
16547
|
+
* hidden); it is revealed only at the large tier. Sits above the sidebar rail.
|
|
16548
|
+
*/
|
|
16549
|
+
.muka-app-shell__appbar {
|
|
16550
|
+
display: none;
|
|
16551
|
+
align-items: center;
|
|
16552
|
+
justify-content: space-between;
|
|
16553
|
+
gap: var(--spacing-4);
|
|
16554
|
+
position: fixed;
|
|
16555
|
+
top: 0;
|
|
16556
|
+
left: 0;
|
|
16557
|
+
right: 0;
|
|
16558
|
+
height: var(--app-shell-appbar-height);
|
|
16559
|
+
padding-inline: var(--spacing-4);
|
|
16560
|
+
background-color: var(--color-surface-level3);
|
|
16561
|
+
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
16562
|
+
z-index: 11; /* above the sidebar rail (z-index 10) */
|
|
16563
|
+
}
|
|
16564
|
+
|
|
16565
|
+
/* ─── Large tier (responsive) ─── */
|
|
16566
|
+
@media (min-width: 1024px) {
|
|
16567
|
+
.muka-app-shell:not([data-size]) .muka-app-shell__sidebar {
|
|
16568
|
+
display: block;
|
|
16569
|
+
}
|
|
16570
|
+
.muka-app-shell:not([data-size]) .muka-app-shell__main {
|
|
16571
|
+
padding-left: var(--app-shell-sidebar-width);
|
|
16572
|
+
}
|
|
16573
|
+
.muka-app-shell:not([data-size]) .muka-app-shell__appbar {
|
|
16574
|
+
display: flex;
|
|
16575
|
+
}
|
|
16576
|
+
/* When an app bar is present, drop the rail + content below it so nothing overlaps. */
|
|
16577
|
+
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-app-shell__main {
|
|
16578
|
+
padding-top: var(--app-shell-appbar-height);
|
|
16579
|
+
}
|
|
16580
|
+
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
|
|
16581
|
+
top: var(--app-shell-appbar-height);
|
|
16582
|
+
height: calc(100vh - var(--app-shell-appbar-height));
|
|
16583
|
+
}
|
|
16584
|
+
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-view,
|
|
16585
|
+
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-nav-transition {
|
|
16586
|
+
height: calc(100dvh - var(--app-shell-appbar-height));
|
|
16587
|
+
}
|
|
16588
|
+
}
|
|
16589
|
+
|
|
16590
|
+
/* ─── Large tier (forced via size="lg") ─── */
|
|
16591
|
+
.muka-app-shell[data-size='lg'] .muka-app-shell__sidebar {
|
|
16592
|
+
display: block;
|
|
16593
|
+
}
|
|
16594
|
+
.muka-app-shell[data-size='lg'] .muka-app-shell__main {
|
|
16595
|
+
padding-left: var(--app-shell-sidebar-width);
|
|
16596
|
+
}
|
|
16597
|
+
.muka-app-shell[data-size='lg'] .muka-app-shell__appbar {
|
|
16598
|
+
display: flex;
|
|
16599
|
+
}
|
|
16600
|
+
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-app-shell__main {
|
|
16601
|
+
padding-top: var(--app-shell-appbar-height);
|
|
16602
|
+
}
|
|
16603
|
+
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
|
|
16604
|
+
top: var(--app-shell-appbar-height);
|
|
16605
|
+
height: calc(100vh - var(--app-shell-appbar-height));
|
|
16606
|
+
}
|
|
16607
|
+
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-view,
|
|
16608
|
+
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-nav-transition {
|
|
16609
|
+
height: calc(100dvh - var(--app-shell-appbar-height));
|
|
16610
|
+
}
|
|
16611
|
+
|
|
16612
|
+
|
|
16491
16613
|
/* AgentTaskList */
|
|
16492
16614
|
/* AgentTaskList Component Styles */
|
|
16493
16615
|
|