@revikornmann/muka-ui 0.49.0 → 0.50.1
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/cli/templates/agents-block.md +16 -0
- package/dist/cjs/components/AppShell/AppShell.css +36 -10
- package/dist/cjs/components/BottomBar/BottomBar.css +2 -0
- package/dist/cjs/components/Dialog/Dialog.css +38 -0
- package/dist/cjs/components/DocumentViewer/DocumentViewer.css +22 -0
- package/dist/cjs/components/Drawer/Drawer.css +43 -0
- package/dist/cjs/components/Page/Page.css +57 -0
- package/dist/cjs/components/Page/Page.js +31 -0
- package/dist/cjs/components/Page/Page.js.map +1 -0
- package/dist/cjs/components/Page/index.js +6 -0
- package/dist/cjs/components/Page/index.js.map +1 -0
- package/dist/cjs/components/SiteHeader/SiteHeader.css +104 -0
- package/dist/cjs/components/SiteHeader/SiteHeader.js +34 -0
- package/dist/cjs/components/SiteHeader/SiteHeader.js.map +1 -0
- package/dist/cjs/components/SiteHeader/index.js +6 -0
- package/dist/cjs/components/SiteHeader/index.js.map +1 -0
- package/dist/cjs/components/Toast/Toast.css +12 -10
- package/dist/cjs/components/View/View.css +12 -0
- package/dist/cjs/components/index.js +7 -3
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/AppShell/AppShell.css +36 -10
- package/dist/esm/components/BottomBar/BottomBar.css +2 -0
- package/dist/esm/components/Dialog/Dialog.css +38 -0
- package/dist/esm/components/DocumentViewer/DocumentViewer.css +22 -0
- package/dist/esm/components/Drawer/Drawer.css +43 -0
- package/dist/esm/components/Page/Page.css +57 -0
- package/dist/esm/components/Page/Page.js +27 -0
- package/dist/esm/components/Page/Page.js.map +1 -0
- package/dist/esm/components/Page/index.js +2 -0
- package/dist/esm/components/Page/index.js.map +1 -0
- package/dist/esm/components/SiteHeader/SiteHeader.css +104 -0
- package/dist/esm/components/SiteHeader/SiteHeader.js +30 -0
- package/dist/esm/components/SiteHeader/SiteHeader.js.map +1 -0
- package/dist/esm/components/SiteHeader/index.js +2 -0
- package/dist/esm/components/SiteHeader/index.js.map +1 -0
- package/dist/esm/components/Toast/Toast.css +12 -10
- package/dist/esm/components/View/View.css +12 -0
- package/dist/esm/components/index.js +2 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/styles/components/AppShell.css +36 -10
- package/dist/styles/components/BottomBar.css +2 -0
- package/dist/styles/components/ControlBar.css +72 -0
- package/dist/styles/components/Dialog.css +38 -0
- package/dist/styles/components/DocumentViewer.css +22 -0
- package/dist/styles/components/Drawer.css +43 -0
- package/dist/styles/components/Page.css +57 -0
- package/dist/styles/components/SiteHeader.css +104 -0
- package/dist/styles/components/TablePagination.css +199 -0
- package/dist/styles/components/Toast.css +12 -10
- package/dist/styles/components/TopBar.css +225 -43
- package/dist/styles/components/View.css +12 -0
- package/dist/styles/index.css +2145 -1651
- package/dist/styles/muka-dark.css +2145 -1651
- package/dist/styles/muka-light.css +2145 -1651
- package/dist/styles/wireframe-dark.css +2145 -1651
- package/dist/styles/wireframe-light.css +2145 -1651
- package/dist/types/components/Page/Page.d.ts +38 -0
- package/dist/types/components/Page/Page.d.ts.map +1 -0
- package/dist/types/components/Page/index.d.ts +3 -0
- package/dist/types/components/Page/index.d.ts.map +1 -0
- package/dist/types/components/SiteHeader/SiteHeader.d.ts +43 -0
- package/dist/types/components/SiteHeader/SiteHeader.d.ts.map +1 -0
- package/dist/types/components/SiteHeader/index.d.ts +3 -0
- package/dist/types/components/SiteHeader/index.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/docs/consumers/README.md +1 -0
- package/docs/consumers/devices.md +59 -0
- package/docs/consumers/setup-instructions.md +7 -0
- package/package.json +1 -1
- package/skills/setup-muka/SKILL.md +9 -0
|
@@ -2603,6 +2603,18 @@ body {
|
|
|
2603
2603
|
/* Grow on short content so the sticky footer is pushed to the bottom rather
|
|
2604
2604
|
than floating mid-screen. */
|
|
2605
2605
|
flex: 1 0 auto;
|
|
2606
|
+
/* Keep content clear of the notch in landscape (0 everywhere else). The
|
|
2607
|
+
large tier below replaces this with its section padding. */
|
|
2608
|
+
padding-left: env(safe-area-inset-left, 0px);
|
|
2609
|
+
padding-right: env(safe-area-inset-right, 0px);
|
|
2610
|
+
}
|
|
2611
|
+
|
|
2612
|
+
/* Home indicator: the body pads for it only when nothing inside does. A
|
|
2613
|
+
BottomBar pads itself, whether it sits in the footer slot or in the content
|
|
2614
|
+
(a chat composer pinned under a message list), so the body must not do it
|
|
2615
|
+
twice; doing so left a strip of body colour under the bar. */
|
|
2616
|
+
.muka-view__body:not(:has(.muka-view__footer, .muka-bottombar:not(.muka-bottombar--no-safe-area))) {
|
|
2617
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
2606
2618
|
}
|
|
2607
2619
|
|
|
2608
2620
|
@media (min-width: 1024px) {
|
|
@@ -2809,81 +2821,263 @@ body {
|
|
|
2809
2821
|
|
|
2810
2822
|
|
|
2811
2823
|
/* TopBar */
|
|
2812
|
-
/*
|
|
2824
|
+
/* TopBar Component Styles */
|
|
2813
2825
|
|
|
2814
2826
|
/*
|
|
2815
|
-
* Sizing is driven by `--
|
|
2816
|
-
* values live on `.muka-
|
|
2817
|
-
* responsively (no `size` prop
|
|
2818
|
-
*
|
|
2819
|
-
* Size affects the bar's own box only; `--controlbar-content-radius` is exposed
|
|
2820
|
-
* for consumers to apply to nested fields.
|
|
2827
|
+
* Sizing is driven by a batch of `--tb-*` custom properties set per tier.
|
|
2828
|
+
* The base (small) values live on `.muka-topbar`; the medium/large tiers flip
|
|
2829
|
+
* the same vars. Tiers are applied either responsively (when no `size` prop is
|
|
2830
|
+
* set, scoped with `:not([data-size])`) or forced via `[data-size="…"]`.
|
|
2821
2831
|
*/
|
|
2822
|
-
.muka-
|
|
2832
|
+
.muka-topbar {
|
|
2823
2833
|
display: flex;
|
|
2824
|
-
|
|
2825
|
-
|
|
2834
|
+
flex-direction: column;
|
|
2835
|
+
align-items: stretch;
|
|
2836
|
+
background-color: var(--topbar-color-background);
|
|
2826
2837
|
width: 100%;
|
|
2838
|
+
box-shadow: var(--shadow-level2);
|
|
2827
2839
|
|
|
2828
2840
|
/* ─── Small tier (base) ─── */
|
|
2829
|
-
--
|
|
2830
|
-
--
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2841
|
+
--tb-height: var(--topbar-height-sm);
|
|
2842
|
+
--tb-pad: var(--topbar-padding-x-sm);
|
|
2843
|
+
/* Three-column grid (leading | title | trailing): the equal 1fr side columns
|
|
2844
|
+
keep the title centered, and since each side column is at least as wide
|
|
2845
|
+
as its content, wide (text) actions shrink and truncate the title instead
|
|
2846
|
+
of overlapping it. */
|
|
2847
|
+
--tb-container-display: grid;
|
|
2848
|
+
--tb-title-align: center;
|
|
2849
|
+
--tb-title-font-family: var(--text-heading-xs-fontFamily);
|
|
2850
|
+
--tb-title-font-weight: var(--text-heading-xs-fontWeight);
|
|
2851
|
+
--tb-title-font-size: var(--text-heading-xs-fontSize);
|
|
2852
|
+
--tb-title-line-height: var(--text-heading-xs-lineHeight);
|
|
2853
|
+
--tb-title-letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
2854
|
+
--tb-breadcrumb-display: none;
|
|
2855
|
+
--tb-pad-y: 0;
|
|
2856
|
+
}
|
|
2857
|
+
|
|
2858
|
+
/* ─── Medium tier ─── */
|
|
2859
|
+
@media (min-width: 768px) {
|
|
2860
|
+
.muka-topbar:not([data-size]) {
|
|
2861
|
+
--tb-height: var(--topbar-height-md);
|
|
2862
|
+
--tb-pad: var(--topbar-padding-x-md);
|
|
2863
|
+
--tb-title-font-family: var(--text-heading-md-fontFamily);
|
|
2864
|
+
--tb-title-font-weight: var(--text-heading-md-fontWeight);
|
|
2865
|
+
--tb-title-font-size: var(--text-heading-md-fontSize);
|
|
2866
|
+
--tb-title-line-height: var(--text-heading-md-lineHeight);
|
|
2867
|
+
--tb-title-letter-spacing: var(--text-heading-md-letterSpacing);
|
|
2868
|
+
}
|
|
2869
|
+
}
|
|
2834
2870
|
|
|
2835
|
-
|
|
2871
|
+
.muka-topbar[data-size='md'] {
|
|
2872
|
+
--tb-height: var(--topbar-height-md);
|
|
2873
|
+
--tb-pad: var(--topbar-padding-x-md);
|
|
2874
|
+
--tb-title-font-family: var(--text-heading-md-fontFamily);
|
|
2875
|
+
--tb-title-font-weight: var(--text-heading-md-fontWeight);
|
|
2876
|
+
--tb-title-font-size: var(--text-heading-md-fontSize);
|
|
2877
|
+
--tb-title-line-height: var(--text-heading-md-lineHeight);
|
|
2878
|
+
--tb-title-letter-spacing: var(--text-heading-md-letterSpacing);
|
|
2836
2879
|
}
|
|
2837
2880
|
|
|
2838
|
-
/* ─── Large tier ─── */
|
|
2881
|
+
/* ─── Large tier: left-aligned title, breadcrumb row ─── */
|
|
2839
2882
|
@media (min-width: 1024px) {
|
|
2840
|
-
.muka-
|
|
2841
|
-
--
|
|
2842
|
-
--
|
|
2843
|
-
--
|
|
2844
|
-
--
|
|
2845
|
-
--
|
|
2883
|
+
.muka-topbar:not([data-size]):not([data-max-size='md']) {
|
|
2884
|
+
--tb-height: var(--topbar-height-lg);
|
|
2885
|
+
--tb-pad: var(--topbar-padding-x-lg);
|
|
2886
|
+
--tb-pad-y: var(--spacing-4);
|
|
2887
|
+
--tb-container-display: flex;
|
|
2888
|
+
--tb-title-align: left;
|
|
2889
|
+
--tb-title-font-family: var(--text-heading-md-fontFamily);
|
|
2890
|
+
--tb-title-font-weight: var(--text-heading-md-fontWeight);
|
|
2891
|
+
--tb-title-font-size: var(--text-heading-md-fontSize);
|
|
2892
|
+
--tb-title-line-height: var(--text-heading-md-lineHeight);
|
|
2893
|
+
--tb-title-letter-spacing: var(--text-heading-md-letterSpacing);
|
|
2894
|
+
--tb-breadcrumb-display: flex;
|
|
2846
2895
|
}
|
|
2847
2896
|
}
|
|
2848
2897
|
|
|
2849
|
-
.muka-
|
|
2850
|
-
--
|
|
2851
|
-
--
|
|
2852
|
-
--
|
|
2853
|
-
--
|
|
2854
|
-
--
|
|
2898
|
+
.muka-topbar[data-size='lg'] {
|
|
2899
|
+
--tb-height: var(--topbar-height-lg);
|
|
2900
|
+
--tb-pad: var(--topbar-padding-x-lg);
|
|
2901
|
+
--tb-pad-y: var(--spacing-4);
|
|
2902
|
+
--tb-container-display: flex;
|
|
2903
|
+
--tb-title-align: left;
|
|
2904
|
+
--tb-title-font-family: var(--text-heading-md-fontFamily);
|
|
2905
|
+
--tb-title-font-weight: var(--text-heading-md-fontWeight);
|
|
2906
|
+
--tb-title-font-size: var(--text-heading-md-fontSize);
|
|
2907
|
+
--tb-title-line-height: var(--text-heading-md-lineHeight);
|
|
2908
|
+
--tb-title-letter-spacing: var(--text-heading-md-letterSpacing);
|
|
2909
|
+
--tb-breadcrumb-display: flex;
|
|
2855
2910
|
}
|
|
2856
2911
|
|
|
2857
|
-
/*
|
|
2858
|
-
|
|
2859
|
-
|
|
2912
|
+
/* Push content below the iOS notch / status bar. Opt out via disableSafeArea. */
|
|
2913
|
+
.muka-topbar:not(.muka-topbar--no-safe-area) {
|
|
2914
|
+
padding-top: env(safe-area-inset-top);
|
|
2915
|
+
}
|
|
2916
|
+
|
|
2917
|
+
/* ─── Drag Handle (draggable variant) ─────────────────── */
|
|
2918
|
+
|
|
2919
|
+
.muka-topbar__drag-handle-container {
|
|
2860
2920
|
display: flex;
|
|
2921
|
+
flex-direction: column;
|
|
2861
2922
|
align-items: center;
|
|
2862
|
-
|
|
2863
|
-
width: 100%;
|
|
2864
|
-
max-width: var(--cb-max-width);
|
|
2923
|
+
padding: var(--topbar-drag-handle-padding-y) 0;
|
|
2865
2924
|
}
|
|
2866
2925
|
|
|
2867
|
-
|
|
2926
|
+
.muka-topbar__drag-handle {
|
|
2927
|
+
width: var(--topbar-drag-handle-width);
|
|
2928
|
+
height: var(--topbar-drag-handle-height);
|
|
2929
|
+
background-color: var(--topbar-drag-handle-color);
|
|
2930
|
+
border-radius: var(--topbar-drag-handle-radius);
|
|
2931
|
+
}
|
|
2868
2932
|
|
|
2869
|
-
|
|
2870
|
-
|
|
2933
|
+
/* ─── Breadcrumb (large tier, stacked above the title) ── */
|
|
2934
|
+
|
|
2935
|
+
.muka-topbar__breadcrumb {
|
|
2936
|
+
display: var(--tb-breadcrumb-display);
|
|
2937
|
+
align-items: center;
|
|
2871
2938
|
}
|
|
2872
2939
|
|
|
2873
|
-
|
|
2940
|
+
/* ─── Container (the bar itself) ──────────────────────── */
|
|
2941
|
+
|
|
2942
|
+
.muka-topbar__container {
|
|
2943
|
+
position: relative;
|
|
2944
|
+
display: var(--tb-container-display);
|
|
2945
|
+
grid-template-columns: 1fr auto 1fr;
|
|
2946
|
+
align-items: center;
|
|
2947
|
+
min-height: var(--tb-height);
|
|
2948
|
+
padding: var(--tb-pad-y) var(--tb-pad);
|
|
2949
|
+
}
|
|
2950
|
+
|
|
2951
|
+
/* Inset content on iPhone landscape with notch / iPad with curved corners. */
|
|
2952
|
+
.muka-topbar:not(.muka-topbar--no-safe-area) .muka-topbar__container {
|
|
2953
|
+
padding-left: max(var(--tb-pad), env(safe-area-inset-left));
|
|
2954
|
+
padding-right: max(var(--tb-pad), env(safe-area-inset-right));
|
|
2955
|
+
}
|
|
2956
|
+
|
|
2957
|
+
/* ─── Leading slot ────────────────────────────────────── */
|
|
2958
|
+
|
|
2959
|
+
.muka-topbar__leading {
|
|
2960
|
+
grid-column: 1;
|
|
2961
|
+
justify-self: start;
|
|
2962
|
+
flex-shrink: 0;
|
|
2963
|
+
/* Text actions keep their width; the title is what truncates. */
|
|
2964
|
+
white-space: nowrap;
|
|
2965
|
+
z-index: 1;
|
|
2966
|
+
}
|
|
2967
|
+
|
|
2968
|
+
/* Large tier with a breadcrumb replaces the back button with the breadcrumb. */
|
|
2969
|
+
@media (min-width: 1024px) {
|
|
2970
|
+
.muka-topbar:not([data-size]):not([data-max-size='md']):has(.muka-topbar__breadcrumb) .muka-topbar__leading {
|
|
2971
|
+
display: none;
|
|
2972
|
+
}
|
|
2973
|
+
}
|
|
2974
|
+
|
|
2975
|
+
.muka-topbar[data-size='lg']:has(.muka-topbar__breadcrumb) .muka-topbar__leading {
|
|
2976
|
+
display: none;
|
|
2977
|
+
}
|
|
2978
|
+
|
|
2979
|
+
/* ─── Heading (breadcrumb + title) ────────────────────── */
|
|
2980
|
+
|
|
2981
|
+
/* Base/sm/md: transparent wrapper so the title is the center grid item and
|
|
2982
|
+
the breadcrumb stays hidden. */
|
|
2983
|
+
.muka-topbar__heading {
|
|
2984
|
+
display: contents;
|
|
2985
|
+
}
|
|
2986
|
+
|
|
2987
|
+
/* Large tier: a tight column with the breadcrumb stacked above the title. */
|
|
2988
|
+
@media (min-width: 1024px) {
|
|
2989
|
+
.muka-topbar:not([data-size]):not([data-max-size='md']) .muka-topbar__heading {
|
|
2990
|
+
display: flex;
|
|
2991
|
+
flex-direction: column;
|
|
2992
|
+
justify-content: center;
|
|
2993
|
+
gap: var(--spacing-1);
|
|
2994
|
+
flex: 1 1 0%;
|
|
2995
|
+
min-width: 0;
|
|
2996
|
+
}
|
|
2997
|
+
}
|
|
2998
|
+
|
|
2999
|
+
.muka-topbar[data-size='lg'] .muka-topbar__heading {
|
|
3000
|
+
display: flex;
|
|
3001
|
+
flex-direction: column;
|
|
2874
3002
|
justify-content: center;
|
|
3003
|
+
gap: var(--spacing-1);
|
|
3004
|
+
flex: 1 1 0%;
|
|
3005
|
+
min-width: 0;
|
|
2875
3006
|
}
|
|
2876
3007
|
|
|
2877
|
-
|
|
2878
|
-
|
|
3008
|
+
/* ─── Title ───────────────────────────────────────────── */
|
|
3009
|
+
|
|
3010
|
+
.muka-topbar__title {
|
|
3011
|
+
grid-column: 2;
|
|
3012
|
+
min-width: 0;
|
|
3013
|
+
overflow: hidden;
|
|
3014
|
+
text-overflow: ellipsis;
|
|
3015
|
+
white-space: nowrap;
|
|
3016
|
+
text-align: var(--tb-title-align);
|
|
3017
|
+
color: var(--topbar-color-foreground);
|
|
3018
|
+
font-family: var(--tb-title-font-family);
|
|
3019
|
+
font-weight: var(--tb-title-font-weight);
|
|
3020
|
+
font-size: var(--tb-title-font-size);
|
|
3021
|
+
line-height: var(--tb-title-line-height);
|
|
3022
|
+
letter-spacing: var(--tb-title-letter-spacing);
|
|
3023
|
+
margin: 0;
|
|
2879
3024
|
}
|
|
2880
3025
|
|
|
2881
|
-
|
|
2882
|
-
|
|
3026
|
+
/* ─── Trailing slot ───────────────────────────────────── */
|
|
3027
|
+
|
|
3028
|
+
.muka-topbar__trailing {
|
|
3029
|
+
grid-column: 3;
|
|
3030
|
+
justify-self: end;
|
|
3031
|
+
display: flex;
|
|
3032
|
+
align-items: center;
|
|
3033
|
+
margin-left: auto;
|
|
3034
|
+
flex-shrink: 0;
|
|
3035
|
+
white-space: nowrap;
|
|
3036
|
+
z-index: 1;
|
|
3037
|
+
}
|
|
3038
|
+
|
|
3039
|
+
.muka-topbar__trailing-action {
|
|
3040
|
+
flex-shrink: 0;
|
|
2883
3041
|
}
|
|
2884
3042
|
|
|
3043
|
+
/* ─── Icon-only actions: md in the small tier ────────── */
|
|
2885
3044
|
|
|
2886
|
-
/*
|
|
3045
|
+
/* Below 768px (the small tier), `lg` icon-only action buttons in the
|
|
3046
|
+
leading/trailing slots render at the `md` button size (40px). The medium and
|
|
3047
|
+
large tiers keep `lg` (48px), per the TopBar design. Scoped to the action
|
|
3048
|
+
slots so ControlBar buttons are unaffected. */
|
|
3049
|
+
@media (max-width: 767.98px) {
|
|
3050
|
+
.muka-topbar:not([data-size]) :is(.muka-topbar__leading, .muka-topbar__trailing-action) .muka-button--icon-only.muka-button--lg {
|
|
3051
|
+
width: 40px;
|
|
3052
|
+
min-height: 40px;
|
|
3053
|
+
border-radius: var(--button-radius-md);
|
|
3054
|
+
}
|
|
3055
|
+
|
|
3056
|
+
.muka-topbar:not([data-size]) :is(.muka-topbar__leading, .muka-topbar__trailing-action) .muka-button--icon-only.muka-button--lg .muka-button__icon {
|
|
3057
|
+
width: var(--button-icon-md);
|
|
3058
|
+
height: var(--button-icon-md);
|
|
3059
|
+
}
|
|
3060
|
+
}
|
|
3061
|
+
|
|
3062
|
+
.muka-topbar[data-size='sm'] :is(.muka-topbar__leading, .muka-topbar__trailing-action) .muka-button--icon-only.muka-button--lg {
|
|
3063
|
+
width: 40px;
|
|
3064
|
+
min-height: 40px;
|
|
3065
|
+
border-radius: var(--button-radius-md);
|
|
3066
|
+
}
|
|
3067
|
+
|
|
3068
|
+
.muka-topbar[data-size='sm'] :is(.muka-topbar__leading, .muka-topbar__trailing-action) .muka-button--icon-only.muka-button--lg .muka-button__icon {
|
|
3069
|
+
width: var(--button-icon-md);
|
|
3070
|
+
height: var(--button-icon-md);
|
|
3071
|
+
}
|
|
3072
|
+
|
|
3073
|
+
/* ─── ControlBar slot ────────────────────────────────── */
|
|
3074
|
+
|
|
3075
|
+
.muka-topbar__controlbar {
|
|
3076
|
+
width: 100%;
|
|
3077
|
+
}
|
|
3078
|
+
|
|
3079
|
+
|
|
3080
|
+
/* ControlBar */
|
|
2887
3081
|
/* ControlBar Component Styles */
|
|
2888
3082
|
|
|
2889
3083
|
/*
|
|
@@ -3196,34 +3390,36 @@ body {
|
|
|
3196
3390
|
z-index: 9999;
|
|
3197
3391
|
}
|
|
3198
3392
|
|
|
3393
|
+
/* Offsets clear the status bar, home indicator and landscape notch on a device
|
|
3394
|
+
that has them (env() is 0 elsewhere). */
|
|
3199
3395
|
.muka-toast--top-right {
|
|
3200
|
-
top: var(--spacing-4);
|
|
3201
|
-
right: var(--spacing-4);
|
|
3396
|
+
top: calc(var(--spacing-4) + env(safe-area-inset-top, 0px));
|
|
3397
|
+
right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
|
|
3202
3398
|
}
|
|
3203
3399
|
|
|
3204
3400
|
.muka-toast--top-left {
|
|
3205
|
-
top: var(--spacing-4);
|
|
3206
|
-
left: var(--spacing-4);
|
|
3401
|
+
top: calc(var(--spacing-4) + env(safe-area-inset-top, 0px));
|
|
3402
|
+
left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
|
|
3207
3403
|
}
|
|
3208
3404
|
|
|
3209
3405
|
.muka-toast--top-center {
|
|
3210
|
-
top: var(--spacing-4);
|
|
3406
|
+
top: calc(var(--spacing-4) + env(safe-area-inset-top, 0px));
|
|
3211
3407
|
left: 50%;
|
|
3212
3408
|
transform: translateX(-50%);
|
|
3213
3409
|
}
|
|
3214
3410
|
|
|
3215
3411
|
.muka-toast--bottom-right {
|
|
3216
|
-
bottom: var(--spacing-4);
|
|
3217
|
-
right: var(--spacing-4);
|
|
3412
|
+
bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
|
|
3413
|
+
right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
|
|
3218
3414
|
}
|
|
3219
3415
|
|
|
3220
3416
|
.muka-toast--bottom-left {
|
|
3221
|
-
bottom: var(--spacing-4);
|
|
3222
|
-
left: var(--spacing-4);
|
|
3417
|
+
bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
|
|
3418
|
+
left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
|
|
3223
3419
|
}
|
|
3224
3420
|
|
|
3225
3421
|
.muka-toast--bottom-center {
|
|
3226
|
-
bottom: var(--spacing-4);
|
|
3422
|
+
bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
|
|
3227
3423
|
left: 50%;
|
|
3228
3424
|
transform: translateX(-50%);
|
|
3229
3425
|
}
|
|
@@ -3347,795 +3543,795 @@ body {
|
|
|
3347
3543
|
}
|
|
3348
3544
|
|
|
3349
3545
|
|
|
3350
|
-
/*
|
|
3351
|
-
/*
|
|
3352
|
-
|
|
3353
|
-
/* ─── Base ────────────────────────────────────────────── */
|
|
3546
|
+
/* Thumbnail */
|
|
3547
|
+
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
3354
3548
|
|
|
3355
|
-
.muka-
|
|
3356
|
-
|
|
3357
|
-
|
|
3549
|
+
.muka-thumbnail {
|
|
3550
|
+
position: relative;
|
|
3551
|
+
flex-shrink: 0;
|
|
3358
3552
|
}
|
|
3359
3553
|
|
|
3360
|
-
.
|
|
3361
|
-
|
|
3362
|
-
|
|
3554
|
+
/* The frame carries the border, background and shape clip. Keeping it separate
|
|
3555
|
+
from the root lets the remove (×) button sit outside the clip (needed for the
|
|
3556
|
+
circular/ellipse shape, whose corners would otherwise clip the button). */
|
|
3557
|
+
.muka-thumbnail__frame {
|
|
3558
|
+
position: absolute;
|
|
3559
|
+
inset: 0;
|
|
3560
|
+
overflow: hidden;
|
|
3561
|
+
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
3562
|
+
border-radius: var(--border-radius-lg);
|
|
3563
|
+
background-color: var(--color-surface-level1);
|
|
3363
3564
|
}
|
|
3364
3565
|
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3566
|
+
/* ─── Shapes ──────────────────────────────────────────── */
|
|
3567
|
+
.muka-thumbnail--4-3 {
|
|
3568
|
+
width: 160px;
|
|
3569
|
+
height: 120px;
|
|
3369
3570
|
}
|
|
3370
3571
|
|
|
3371
|
-
|
|
3572
|
+
.muka-thumbnail--1-1 {
|
|
3573
|
+
width: 120px;
|
|
3574
|
+
height: 120px;
|
|
3575
|
+
}
|
|
3372
3576
|
|
|
3373
|
-
.muka-
|
|
3374
|
-
|
|
3577
|
+
.muka-thumbnail--ellipse {
|
|
3578
|
+
width: 120px;
|
|
3579
|
+
height: 120px;
|
|
3375
3580
|
}
|
|
3376
3581
|
|
|
3377
|
-
.
|
|
3378
|
-
|
|
3582
|
+
/* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
|
|
3583
|
+
.muka-thumbnail--fluid {
|
|
3584
|
+
width: 100%;
|
|
3585
|
+
height: auto;
|
|
3586
|
+
aspect-ratio: 1 / 1;
|
|
3379
3587
|
}
|
|
3380
3588
|
|
|
3381
|
-
.muka-
|
|
3382
|
-
|
|
3589
|
+
.muka-thumbnail--fluid.muka-thumbnail--4-3 {
|
|
3590
|
+
aspect-ratio: 4 / 3;
|
|
3383
3591
|
}
|
|
3384
3592
|
|
|
3385
|
-
|
|
3593
|
+
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
3594
|
+
border-radius: var(--border-radius-full);
|
|
3595
|
+
}
|
|
3386
3596
|
|
|
3387
|
-
.
|
|
3388
|
-
|
|
3597
|
+
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
3598
|
+
interactive hover zoom has a clean origin. */
|
|
3599
|
+
.muka-thumbnail__image {
|
|
3600
|
+
position: absolute;
|
|
3601
|
+
inset: 0;
|
|
3602
|
+
width: 100%;
|
|
3603
|
+
height: 100%;
|
|
3604
|
+
object-fit: cover;
|
|
3605
|
+
display: block;
|
|
3606
|
+
transform-origin: center;
|
|
3607
|
+
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
3608
|
+
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
3389
3609
|
}
|
|
3390
3610
|
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3611
|
+
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
3612
|
+
.muka-thumbnail__trigger {
|
|
3613
|
+
position: absolute;
|
|
3614
|
+
inset: 0;
|
|
3615
|
+
padding: 0;
|
|
3616
|
+
border: 0;
|
|
3617
|
+
background: none;
|
|
3618
|
+
cursor: pointer;
|
|
3619
|
+
overflow: hidden;
|
|
3394
3620
|
}
|
|
3395
3621
|
|
|
3396
|
-
.muka-
|
|
3397
|
-
|
|
3398
|
-
|
|
3622
|
+
.muka-thumbnail__trigger:focus-visible {
|
|
3623
|
+
outline: 2px solid var(--color-border-focus);
|
|
3624
|
+
outline-offset: -2px;
|
|
3399
3625
|
}
|
|
3400
3626
|
|
|
3401
|
-
/*
|
|
3627
|
+
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
3628
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
3629
|
+
transform: scale(1.05);
|
|
3630
|
+
}
|
|
3402
3631
|
|
|
3403
|
-
|
|
3404
|
-
.muka-
|
|
3405
|
-
|
|
3632
|
+
/* ─── Loading overlay + progress donut ────────────────── */
|
|
3633
|
+
.muka-thumbnail__overlay {
|
|
3634
|
+
position: absolute;
|
|
3635
|
+
inset: 0;
|
|
3636
|
+
display: flex;
|
|
3406
3637
|
align-items: center;
|
|
3638
|
+
justify-content: center;
|
|
3639
|
+
background-color: var(--dialog-color-backdrop);
|
|
3407
3640
|
}
|
|
3408
3641
|
|
|
3409
|
-
.muka-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
align-items: center;
|
|
3642
|
+
.muka-thumbnail__progress {
|
|
3643
|
+
width: 40px;
|
|
3644
|
+
height: 40px;
|
|
3413
3645
|
}
|
|
3414
3646
|
|
|
3415
|
-
|
|
3416
|
-
.muka-
|
|
3417
|
-
|
|
3418
|
-
|
|
3647
|
+
/* ─── Error / corrupt state ───────────────────────────── */
|
|
3648
|
+
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
3649
|
+
background-color: var(--alias-color-state-error-muted);
|
|
3650
|
+
border-color: var(--alias-color-state-error-default);
|
|
3419
3651
|
}
|
|
3420
3652
|
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
position: relative;
|
|
3425
|
-
flex-shrink: 0;
|
|
3426
|
-
overflow: hidden;
|
|
3653
|
+
.muka-thumbnail__error {
|
|
3654
|
+
position: absolute;
|
|
3655
|
+
inset: 0;
|
|
3427
3656
|
display: flex;
|
|
3428
3657
|
flex-direction: column;
|
|
3429
|
-
|
|
3658
|
+
align-items: center;
|
|
3659
|
+
justify-content: center;
|
|
3660
|
+
gap: var(--spacing-2);
|
|
3661
|
+
padding: var(--spacing-3);
|
|
3662
|
+
text-align: center;
|
|
3430
3663
|
}
|
|
3431
3664
|
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
.muka-tile--md .muka-tile__photos {
|
|
3435
|
-
border-radius: var(--border-radius-lg);
|
|
3665
|
+
.muka-thumbnail__error-icon {
|
|
3666
|
+
color: var(--alert-color-error-accent);
|
|
3436
3667
|
}
|
|
3437
3668
|
|
|
3438
|
-
.muka-
|
|
3439
|
-
|
|
3669
|
+
.muka-thumbnail__caption {
|
|
3670
|
+
max-width: 100%;
|
|
3671
|
+
overflow: hidden;
|
|
3672
|
+
text-overflow: ellipsis;
|
|
3673
|
+
white-space: nowrap;
|
|
3674
|
+
color: var(--alert-color-error-accent);
|
|
3675
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
3676
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
3677
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
3678
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
3440
3679
|
}
|
|
3441
3680
|
|
|
3442
|
-
/*
|
|
3443
|
-
.muka-
|
|
3444
|
-
|
|
3681
|
+
/* ─── Remove (×) button ───────────────────────────────── */
|
|
3682
|
+
.muka-thumbnail__remove {
|
|
3683
|
+
position: absolute;
|
|
3684
|
+
top: var(--spacing-2);
|
|
3685
|
+
right: var(--spacing-2);
|
|
3686
|
+
display: flex;
|
|
3687
|
+
align-items: center;
|
|
3688
|
+
justify-content: center;
|
|
3689
|
+
width: var(--size-2xl);
|
|
3690
|
+
height: var(--size-2xl);
|
|
3691
|
+
padding: 0;
|
|
3692
|
+
color: var(--button-color-tertiary-foreground-default);
|
|
3693
|
+
background-color: var(--button-color-tertiary-background-default);
|
|
3694
|
+
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
3695
|
+
border-radius: var(--border-radius-lg);
|
|
3696
|
+
cursor: pointer;
|
|
3697
|
+
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
3698
|
+
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
3445
3699
|
}
|
|
3446
3700
|
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3701
|
+
.muka-thumbnail__remove:hover {
|
|
3702
|
+
color: var(--button-color-tertiary-foreground-hover);
|
|
3703
|
+
background-color: var(--button-color-tertiary-background-hover);
|
|
3704
|
+
border-color: var(--button-color-tertiary-border-hover);
|
|
3451
3705
|
}
|
|
3452
3706
|
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3707
|
+
.muka-thumbnail__remove:active {
|
|
3708
|
+
color: var(--button-color-tertiary-foreground-pressed);
|
|
3709
|
+
background-color: var(--button-color-tertiary-background-pressed);
|
|
3710
|
+
border-color: var(--button-color-tertiary-border-pressed);
|
|
3457
3711
|
}
|
|
3458
3712
|
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
width: 80px;
|
|
3463
|
-
align-self: stretch;
|
|
3713
|
+
.muka-thumbnail__remove:focus-visible {
|
|
3714
|
+
outline: 2px solid var(--color-border-focus);
|
|
3715
|
+
outline-offset: 2px;
|
|
3464
3716
|
}
|
|
3465
3717
|
|
|
3466
|
-
/* ───
|
|
3718
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
3719
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3720
|
+
.muka-thumbnail__image,
|
|
3721
|
+
.muka-thumbnail__remove {
|
|
3722
|
+
transition: none;
|
|
3723
|
+
}
|
|
3467
3724
|
|
|
3468
|
-
.muka-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
overflow: hidden;
|
|
3472
|
-
flex-shrink: 0;
|
|
3725
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
3726
|
+
transform: none;
|
|
3727
|
+
}
|
|
3473
3728
|
}
|
|
3474
3729
|
|
|
3475
|
-
/* 16:9 aspect for lg and md */
|
|
3476
|
-
.muka-tile--lg .muka-tile__photo-main,
|
|
3477
|
-
.muka-tile--md .muka-tile__photo-main {
|
|
3478
|
-
aspect-ratio: 1280 / 720;
|
|
3479
|
-
}
|
|
3480
3730
|
|
|
3481
|
-
/*
|
|
3482
|
-
|
|
3483
|
-
aspect-ratio: 1 / 1;
|
|
3484
|
-
}
|
|
3731
|
+
/* Textarea */
|
|
3732
|
+
/* Textarea Component Styles - Using Muka Design Tokens */
|
|
3485
3733
|
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
height: 80px;
|
|
3491
|
-
aspect-ratio: auto;
|
|
3734
|
+
.muka-textarea {
|
|
3735
|
+
display: inline-flex;
|
|
3736
|
+
flex-direction: column;
|
|
3737
|
+
gap: var(--spacing-2);
|
|
3492
3738
|
}
|
|
3493
3739
|
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
display: block;
|
|
3740
|
+
/* Label */
|
|
3741
|
+
.muka-textarea__label {
|
|
3742
|
+
color: var(--color-text-default-default);
|
|
3743
|
+
cursor: pointer;
|
|
3499
3744
|
}
|
|
3500
3745
|
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3746
|
+
.muka-textarea__label--sm {
|
|
3747
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
3748
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
3749
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
3750
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
3506
3751
|
}
|
|
3507
3752
|
|
|
3508
|
-
.muka-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3753
|
+
.muka-textarea__label--md {
|
|
3754
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
3755
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
3756
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
3757
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
3512
3758
|
}
|
|
3513
3759
|
|
|
3514
|
-
.muka-
|
|
3515
|
-
|
|
3516
|
-
|
|
3760
|
+
.muka-textarea__label--lg {
|
|
3761
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
3762
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
3763
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
3764
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
3517
3765
|
}
|
|
3518
3766
|
|
|
3519
|
-
|
|
3767
|
+
.muka-textarea__required {
|
|
3768
|
+
color: var(--color-state-error-default);
|
|
3769
|
+
}
|
|
3520
3770
|
|
|
3521
|
-
|
|
3771
|
+
/* Field container */
|
|
3772
|
+
.muka-textarea__field {
|
|
3522
3773
|
display: flex;
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3774
|
+
background-color: var(--input-field-color-default-background);
|
|
3775
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
3776
|
+
border-radius: var(--input-field-radius-md);
|
|
3777
|
+
padding: var(--input-field-padding-y) var(--input-field-padding-x);
|
|
3778
|
+
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
3779
|
+
box-sizing: border-box;
|
|
3527
3780
|
}
|
|
3528
3781
|
|
|
3529
|
-
.muka-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
flex-shrink: 0;
|
|
3533
|
-
overflow: hidden;
|
|
3782
|
+
.muka-textarea__field--sm {
|
|
3783
|
+
min-height: var(--input-textarea-height-sm);
|
|
3784
|
+
border-radius: var(--input-field-radius-sm);
|
|
3534
3785
|
}
|
|
3535
3786
|
|
|
3536
|
-
.muka-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
object-fit: cover;
|
|
3540
|
-
display: block;
|
|
3787
|
+
.muka-textarea__field--md {
|
|
3788
|
+
min-height: var(--input-textarea-height-default);
|
|
3789
|
+
border-radius: var(--input-field-radius-md);
|
|
3541
3790
|
}
|
|
3542
3791
|
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3792
|
+
.muka-textarea__field--lg {
|
|
3793
|
+
min-height: var(--input-textarea-height-lg);
|
|
3794
|
+
border-radius: var(--input-field-radius-lg);
|
|
3546
3795
|
}
|
|
3547
3796
|
|
|
3548
|
-
/*
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
min-width: 0;
|
|
3797
|
+
/* Focus state */
|
|
3798
|
+
.muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
|
|
3799
|
+
border-width: var(--border-width-bold);
|
|
3800
|
+
border-color: var(--input-field-color-focus-border);
|
|
3801
|
+
background-color: var(--input-field-color-focus-background);
|
|
3802
|
+
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
3555
3803
|
}
|
|
3556
3804
|
|
|
3557
|
-
/*
|
|
3558
|
-
.muka-
|
|
3559
|
-
|
|
3560
|
-
|
|
3805
|
+
/* Error state */
|
|
3806
|
+
.muka-textarea__field--error:not(.muka-textarea__field--disabled) {
|
|
3807
|
+
border-width: var(--border-width-bold);
|
|
3808
|
+
border-color: var(--input-field-color-error-border);
|
|
3809
|
+
background-color: var(--input-field-color-error-background);
|
|
3810
|
+
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
3561
3811
|
}
|
|
3562
3812
|
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3813
|
+
/* Disabled state */
|
|
3814
|
+
.muka-textarea__field--disabled {
|
|
3815
|
+
background-color: var(--input-field-color-disabled-background);
|
|
3816
|
+
border-color: var(--input-field-color-disabled-border);
|
|
3817
|
+
cursor: not-allowed;
|
|
3566
3818
|
}
|
|
3567
3819
|
|
|
3568
|
-
|
|
3569
|
-
|
|
3820
|
+
/* Native textarea */
|
|
3821
|
+
.muka-textarea__native {
|
|
3822
|
+
flex: 1;
|
|
3823
|
+
border: none;
|
|
3824
|
+
outline: none;
|
|
3825
|
+
background: transparent;
|
|
3826
|
+
color: var(--input-field-color-default-foreground);
|
|
3827
|
+
font-family: var(--text-input-md-fontFamily);
|
|
3828
|
+
font-weight: var(--text-input-md-fontWeight);
|
|
3829
|
+
font-size: var(--text-input-md-fontSize);
|
|
3830
|
+
line-height: var(--text-input-md-lineHeight);
|
|
3831
|
+
padding: 0;
|
|
3832
|
+
width: 100%;
|
|
3833
|
+
min-width: 0;
|
|
3570
3834
|
}
|
|
3571
3835
|
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3836
|
+
.muka-textarea__field--sm .muka-textarea__native {
|
|
3837
|
+
font-family: var(--text-input-sm-fontFamily);
|
|
3838
|
+
font-weight: var(--text-input-sm-fontWeight);
|
|
3839
|
+
font-size: var(--text-input-sm-fontSize);
|
|
3840
|
+
line-height: var(--text-input-sm-lineHeight);
|
|
3576
3841
|
}
|
|
3577
3842
|
|
|
3578
|
-
.muka-
|
|
3579
|
-
|
|
3580
|
-
|
|
3843
|
+
.muka-textarea__field--lg .muka-textarea__native {
|
|
3844
|
+
font-family: var(--text-input-lg-fontFamily);
|
|
3845
|
+
font-weight: var(--text-input-lg-fontWeight);
|
|
3846
|
+
font-size: var(--text-input-lg-fontSize);
|
|
3847
|
+
line-height: var(--text-input-lg-lineHeight);
|
|
3581
3848
|
}
|
|
3582
3849
|
|
|
3583
|
-
.muka-
|
|
3584
|
-
|
|
3585
|
-
padding: var(--spacing-2) var(--spacing-3);
|
|
3850
|
+
.muka-textarea__native::placeholder {
|
|
3851
|
+
color: var(--color-text-subtle-default);
|
|
3586
3852
|
}
|
|
3587
3853
|
|
|
3588
|
-
.muka-
|
|
3589
|
-
|
|
3590
|
-
|
|
3854
|
+
.muka-textarea__field--disabled .muka-textarea__native {
|
|
3855
|
+
color: var(--input-field-color-disabled-foreground);
|
|
3856
|
+
cursor: not-allowed;
|
|
3591
3857
|
}
|
|
3592
3858
|
|
|
3593
|
-
/*
|
|
3594
|
-
|
|
3595
|
-
.muka-tile__header {
|
|
3859
|
+
/* Footer (helper/error + count) */
|
|
3860
|
+
.muka-textarea__footer {
|
|
3596
3861
|
display: flex;
|
|
3862
|
+
justify-content: space-between;
|
|
3597
3863
|
align-items: flex-start;
|
|
3598
|
-
gap: var(--spacing-4);
|
|
3599
|
-
}
|
|
3600
|
-
|
|
3601
|
-
/* Small horizontal: row with text and action */
|
|
3602
|
-
.muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
|
|
3603
|
-
gap: var(--spacing-2);
|
|
3604
|
-
align-items: center;
|
|
3605
|
-
padding-top: var(--spacing-1);
|
|
3606
|
-
}
|
|
3607
|
-
|
|
3608
|
-
/* ─── Text group ──────────────────────────────────────── */
|
|
3609
|
-
|
|
3610
|
-
.muka-tile__text {
|
|
3611
|
-
display: flex;
|
|
3612
|
-
flex-direction: column;
|
|
3613
|
-
flex: 1;
|
|
3614
|
-
min-width: 0;
|
|
3615
3864
|
gap: var(--spacing-2);
|
|
3616
3865
|
}
|
|
3617
3866
|
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3867
|
+
.muka-textarea__helper {
|
|
3868
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
3869
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
3870
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
3871
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
3872
|
+
color: var(--color-text-subtle-default);
|
|
3621
3873
|
margin: 0;
|
|
3622
3874
|
}
|
|
3623
3875
|
|
|
3624
|
-
.muka-
|
|
3625
|
-
font-family: var(--text-label-
|
|
3626
|
-
font-weight: var(--text-label-
|
|
3627
|
-
font-size: var(--text-label-
|
|
3628
|
-
line-height: var(--text-label-
|
|
3629
|
-
color: var(--color-
|
|
3630
|
-
}
|
|
3631
|
-
|
|
3632
|
-
.muka-tile--md .muka-tile__heading {
|
|
3633
|
-
font-family: var(--text-label-xl-semibold-fontFamily);
|
|
3634
|
-
font-weight: var(--text-label-xl-semibold-fontWeight);
|
|
3635
|
-
font-size: var(--text-label-xl-semibold-fontSize);
|
|
3636
|
-
line-height: var(--text-label-xl-semibold-lineHeight);
|
|
3637
|
-
color: var(--color-text-default-default);
|
|
3638
|
-
}
|
|
3639
|
-
|
|
3640
|
-
.muka-tile--sm .muka-tile__heading {
|
|
3641
|
-
font-family: var(--text-label-lg-bold-fontFamily);
|
|
3642
|
-
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
3643
|
-
font-size: var(--text-label-lg-bold-fontSize);
|
|
3644
|
-
line-height: var(--text-label-lg-bold-lineHeight);
|
|
3645
|
-
color: var(--color-text-default-default);
|
|
3646
|
-
}
|
|
3647
|
-
|
|
3648
|
-
/* ─── Subheading typography ───────────────────────────── */
|
|
3649
|
-
|
|
3650
|
-
.muka-tile__subheading {
|
|
3876
|
+
.muka-textarea__error {
|
|
3877
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
3878
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
3879
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
3880
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
3881
|
+
color: var(--color-state-error-default);
|
|
3651
3882
|
margin: 0;
|
|
3652
|
-
color: var(--color-text-subtle-default);
|
|
3653
3883
|
}
|
|
3654
3884
|
|
|
3655
|
-
.muka-
|
|
3656
|
-
font-family: var(--text-
|
|
3657
|
-
font-weight: var(--text-
|
|
3658
|
-
font-size: var(--text-
|
|
3659
|
-
line-height: var(--text-
|
|
3885
|
+
.muka-textarea__count {
|
|
3886
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
3887
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
3888
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
3889
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
3890
|
+
color: var(--color-text-subtle-default);
|
|
3891
|
+
margin-left: auto;
|
|
3660
3892
|
}
|
|
3661
3893
|
|
|
3662
|
-
.muka-tile--md .muka-tile__subheading,
|
|
3663
|
-
.muka-tile--sm .muka-tile__subheading {
|
|
3664
|
-
font-family: var(--text-subheading-sm-fontFamily);
|
|
3665
|
-
font-weight: var(--text-subheading-sm-fontWeight);
|
|
3666
|
-
font-size: var(--text-subheading-sm-fontSize);
|
|
3667
|
-
line-height: var(--text-subheading-sm-lineHeight);
|
|
3668
|
-
}
|
|
3669
3894
|
|
|
3670
|
-
/*
|
|
3895
|
+
/* TextLink */
|
|
3896
|
+
/* TextLink Component Styles - Using Muka Design Tokens */
|
|
3671
3897
|
|
|
3672
|
-
.muka-
|
|
3673
|
-
|
|
3674
|
-
|
|
3898
|
+
.muka-text-link {
|
|
3899
|
+
display: inline;
|
|
3900
|
+
cursor: pointer;
|
|
3901
|
+
text-decoration: underline;
|
|
3902
|
+
/* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
|
|
3903
|
+
text-underline-offset: 0.2em;
|
|
3904
|
+
text-decoration-thickness: from-font;
|
|
3905
|
+
/* Rounds the focus ring's corners; the link itself has no visible box. */
|
|
3906
|
+
border-radius: var(--border-radius-sm);
|
|
3907
|
+
transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
|
|
3675
3908
|
}
|
|
3676
3909
|
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
font-
|
|
3681
|
-
|
|
3910
|
+
/* ─── Sizes ───────────────────────────────────────────────
|
|
3911
|
+
Mirrors the body text scale so a link matches the copy it sits in. */
|
|
3912
|
+
.muka-text-link--sm {
|
|
3913
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
3914
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
3915
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
3916
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
3682
3917
|
}
|
|
3683
3918
|
|
|
3684
|
-
.muka-
|
|
3685
|
-
.muka-tile--sm .muka-tile__description {
|
|
3919
|
+
.muka-text-link--base {
|
|
3686
3920
|
font-family: var(--text-body-base-regular-fontFamily);
|
|
3687
3921
|
font-weight: var(--text-body-base-regular-fontWeight);
|
|
3688
3922
|
font-size: var(--text-body-base-regular-fontSize);
|
|
3689
3923
|
line-height: var(--text-body-base-regular-lineHeight);
|
|
3690
3924
|
}
|
|
3691
3925
|
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3926
|
+
.muka-text-link--lg {
|
|
3927
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
3928
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
3929
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
3930
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
3696
3931
|
}
|
|
3697
3932
|
|
|
3698
|
-
/* ───
|
|
3699
|
-
|
|
3700
|
-
.
|
|
3701
|
-
|
|
3933
|
+
/* ─── Variant: default (accent) ───────────────────────────
|
|
3934
|
+
Visited repeats the default colour on purpose: the design treats visited and
|
|
3935
|
+
default the same, and pinning it stops the browser's purple from showing. */
|
|
3936
|
+
.muka-text-link--default,
|
|
3937
|
+
.muka-text-link--default:visited {
|
|
3938
|
+
color: var(--color-text-action-default);
|
|
3702
3939
|
}
|
|
3703
3940
|
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
flex-shrink: 0;
|
|
3941
|
+
.muka-text-link--default:hover,
|
|
3942
|
+
.muka-text-link--default:focus-visible {
|
|
3943
|
+
color: var(--color-text-action-hover);
|
|
3708
3944
|
}
|
|
3709
3945
|
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
3713
|
-
|
|
3714
|
-
.muka-thumbnail {
|
|
3715
|
-
position: relative;
|
|
3716
|
-
flex-shrink: 0;
|
|
3946
|
+
.muka-text-link--default:active {
|
|
3947
|
+
color: var(--color-text-action-pressed);
|
|
3717
3948
|
}
|
|
3718
3949
|
|
|
3719
|
-
/*
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
.muka-
|
|
3723
|
-
|
|
3724
|
-
inset: 0;
|
|
3725
|
-
overflow: hidden;
|
|
3726
|
-
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
3727
|
-
border-radius: var(--border-radius-lg);
|
|
3728
|
-
background-color: var(--color-surface-level1);
|
|
3950
|
+
/* ─── Variant: subtle (neutral) ───────────────────────────
|
|
3951
|
+
Hover, focus and pressed all darken to the default text colour. */
|
|
3952
|
+
.muka-text-link--subtle,
|
|
3953
|
+
.muka-text-link--subtle:visited {
|
|
3954
|
+
color: var(--color-text-subtle-default);
|
|
3729
3955
|
}
|
|
3730
3956
|
|
|
3731
|
-
|
|
3732
|
-
.muka-
|
|
3733
|
-
|
|
3734
|
-
|
|
3957
|
+
.muka-text-link--subtle:hover,
|
|
3958
|
+
.muka-text-link--subtle:focus-visible,
|
|
3959
|
+
.muka-text-link--subtle:active {
|
|
3960
|
+
color: var(--color-text-default-default);
|
|
3735
3961
|
}
|
|
3736
3962
|
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3963
|
+
/* ─── Focus ───────────────────────────────────────────────
|
|
3964
|
+
Same ring as every other focusable Muka component. */
|
|
3965
|
+
.muka-text-link:focus-visible {
|
|
3966
|
+
outline: 2px solid var(--color-border-focus);
|
|
3967
|
+
outline-offset: 2px;
|
|
3740
3968
|
}
|
|
3741
3969
|
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3970
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3971
|
+
.muka-text-link {
|
|
3972
|
+
transition: none;
|
|
3973
|
+
}
|
|
3745
3974
|
}
|
|
3746
3975
|
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3976
|
+
|
|
3977
|
+
/* Tile */
|
|
3978
|
+
/* Tile Component Styles - Using Muka Design Tokens */
|
|
3979
|
+
|
|
3980
|
+
/* ─── Base ────────────────────────────────────────────── */
|
|
3981
|
+
|
|
3982
|
+
.muka-tile {
|
|
3983
|
+
display: flex;
|
|
3984
|
+
color: var(--color-text-default-default);
|
|
3752
3985
|
}
|
|
3753
3986
|
|
|
3754
|
-
.muka-
|
|
3755
|
-
|
|
3987
|
+
.muka-tile--interactive {
|
|
3988
|
+
cursor: pointer;
|
|
3989
|
+
user-select: none;
|
|
3756
3990
|
}
|
|
3757
3991
|
|
|
3758
|
-
.muka-
|
|
3759
|
-
|
|
3992
|
+
.muka-tile--interactive:focus-visible {
|
|
3993
|
+
outline: 2px solid var(--color-border-focus);
|
|
3994
|
+
outline-offset: 2px;
|
|
3995
|
+
border-radius: var(--border-radius-lg);
|
|
3760
3996
|
}
|
|
3761
3997
|
|
|
3762
|
-
/* Image
|
|
3763
|
-
|
|
3764
|
-
.muka-
|
|
3765
|
-
|
|
3766
|
-
inset: 0;
|
|
3767
|
-
width: 100%;
|
|
3768
|
-
height: 100%;
|
|
3769
|
-
object-fit: cover;
|
|
3770
|
-
display: block;
|
|
3771
|
-
transform-origin: center;
|
|
3772
|
-
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
3773
|
-
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
3998
|
+
/* ─── Image position variants ─────────────────────────── */
|
|
3999
|
+
|
|
4000
|
+
.muka-tile--image-top {
|
|
4001
|
+
flex-direction: column;
|
|
3774
4002
|
}
|
|
3775
4003
|
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
position: absolute;
|
|
3779
|
-
inset: 0;
|
|
3780
|
-
padding: 0;
|
|
3781
|
-
border: 0;
|
|
3782
|
-
background: none;
|
|
3783
|
-
cursor: pointer;
|
|
3784
|
-
overflow: hidden;
|
|
4004
|
+
.muka-tile--image-left {
|
|
4005
|
+
flex-direction: row;
|
|
3785
4006
|
}
|
|
3786
4007
|
|
|
3787
|
-
.muka-
|
|
3788
|
-
|
|
3789
|
-
outline-offset: -2px;
|
|
4008
|
+
.muka-tile--image-right {
|
|
4009
|
+
flex-direction: row;
|
|
3790
4010
|
}
|
|
3791
4011
|
|
|
3792
|
-
/*
|
|
3793
|
-
|
|
3794
|
-
|
|
4012
|
+
/* ─── Gap by size (top) ───────────────────────────────── */
|
|
4013
|
+
|
|
4014
|
+
.muka-tile--image-top.muka-tile--lg {
|
|
4015
|
+
gap: var(--spacing-6);
|
|
3795
4016
|
}
|
|
3796
4017
|
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
inset: 0;
|
|
3801
|
-
display: flex;
|
|
3802
|
-
align-items: center;
|
|
3803
|
-
justify-content: center;
|
|
3804
|
-
background-color: var(--dialog-color-backdrop);
|
|
4018
|
+
.muka-tile--image-top.muka-tile--md {
|
|
4019
|
+
gap: var(--spacing-6);
|
|
4020
|
+
width: 320px;
|
|
3805
4021
|
}
|
|
3806
4022
|
|
|
3807
|
-
.muka-
|
|
3808
|
-
|
|
3809
|
-
|
|
4023
|
+
.muka-tile--image-top.muka-tile--sm {
|
|
4024
|
+
gap: var(--spacing-4);
|
|
4025
|
+
min-width: 120px;
|
|
3810
4026
|
}
|
|
3811
4027
|
|
|
3812
|
-
/* ───
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
4028
|
+
/* ─── Gap by size (left/right) ────────────────────────── */
|
|
4029
|
+
|
|
4030
|
+
.muka-tile--image-left.muka-tile--lg,
|
|
4031
|
+
.muka-tile--image-right.muka-tile--lg {
|
|
4032
|
+
gap: var(--spacing-6);
|
|
4033
|
+
align-items: center;
|
|
3816
4034
|
}
|
|
3817
4035
|
|
|
3818
|
-
.muka-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
display: flex;
|
|
3822
|
-
flex-direction: column;
|
|
4036
|
+
.muka-tile--image-left.muka-tile--md,
|
|
4037
|
+
.muka-tile--image-right.muka-tile--md {
|
|
4038
|
+
gap: var(--spacing-6);
|
|
3823
4039
|
align-items: center;
|
|
3824
|
-
justify-content: center;
|
|
3825
|
-
gap: var(--spacing-2);
|
|
3826
|
-
padding: var(--spacing-3);
|
|
3827
|
-
text-align: center;
|
|
3828
4040
|
}
|
|
3829
4041
|
|
|
3830
|
-
.muka-
|
|
3831
|
-
|
|
4042
|
+
.muka-tile--image-left.muka-tile--sm,
|
|
4043
|
+
.muka-tile--image-right.muka-tile--sm {
|
|
4044
|
+
gap: var(--spacing-4);
|
|
4045
|
+
align-items: flex-start;
|
|
3832
4046
|
}
|
|
3833
4047
|
|
|
3834
|
-
|
|
3835
|
-
|
|
4048
|
+
/* ─── Photos container ────────────────────────────────── */
|
|
4049
|
+
|
|
4050
|
+
.muka-tile__photos {
|
|
4051
|
+
position: relative;
|
|
4052
|
+
flex-shrink: 0;
|
|
3836
4053
|
overflow: hidden;
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
3841
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
3842
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
3843
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4054
|
+
display: flex;
|
|
4055
|
+
flex-direction: column;
|
|
4056
|
+
isolation: isolate;
|
|
3844
4057
|
}
|
|
3845
4058
|
|
|
3846
|
-
/*
|
|
3847
|
-
.muka-
|
|
3848
|
-
|
|
3849
|
-
top: var(--spacing-2);
|
|
3850
|
-
right: var(--spacing-2);
|
|
3851
|
-
display: flex;
|
|
3852
|
-
align-items: center;
|
|
3853
|
-
justify-content: center;
|
|
3854
|
-
width: var(--size-2xl);
|
|
3855
|
-
height: var(--size-2xl);
|
|
3856
|
-
padding: 0;
|
|
3857
|
-
color: var(--button-color-tertiary-foreground-default);
|
|
3858
|
-
background-color: var(--button-color-tertiary-background-default);
|
|
3859
|
-
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
4059
|
+
/* Photos border radius by size */
|
|
4060
|
+
.muka-tile--lg .muka-tile__photos,
|
|
4061
|
+
.muka-tile--md .muka-tile__photos {
|
|
3860
4062
|
border-radius: var(--border-radius-lg);
|
|
3861
|
-
cursor: pointer;
|
|
3862
|
-
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
3863
|
-
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
3864
4063
|
}
|
|
3865
4064
|
|
|
3866
|
-
.muka-
|
|
3867
|
-
|
|
3868
|
-
background-color: var(--button-color-tertiary-background-hover);
|
|
3869
|
-
border-color: var(--button-color-tertiary-border-hover);
|
|
4065
|
+
.muka-tile--sm .muka-tile__photos {
|
|
4066
|
+
border-radius: var(--border-radius-md);
|
|
3870
4067
|
}
|
|
3871
4068
|
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
border-color: var(--button-color-tertiary-border-pressed);
|
|
4069
|
+
/* Photos sizing: top layout */
|
|
4070
|
+
.muka-tile--image-top .muka-tile__photos {
|
|
4071
|
+
width: 100%;
|
|
3876
4072
|
}
|
|
3877
4073
|
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
4074
|
+
/* Photos sizing: left/right large */
|
|
4075
|
+
.muka-tile--image-left.muka-tile--lg .muka-tile__photos,
|
|
4076
|
+
.muka-tile--image-right.muka-tile--lg .muka-tile__photos {
|
|
4077
|
+
width: 520px;
|
|
3881
4078
|
}
|
|
3882
4079
|
|
|
3883
|
-
/*
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
}
|
|
4080
|
+
/* Photos sizing: left/right medium */
|
|
4081
|
+
.muka-tile--image-left.muka-tile--md .muka-tile__photos,
|
|
4082
|
+
.muka-tile--image-right.muka-tile--md .muka-tile__photos {
|
|
4083
|
+
width: 320px;
|
|
4084
|
+
}
|
|
3889
4085
|
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
4086
|
+
/* Photos sizing: left/right small (single 80x80 thumbnail) */
|
|
4087
|
+
.muka-tile--image-left.muka-tile--sm .muka-tile__photos,
|
|
4088
|
+
.muka-tile--image-right.muka-tile--sm .muka-tile__photos {
|
|
4089
|
+
width: 80px;
|
|
4090
|
+
align-self: stretch;
|
|
3893
4091
|
}
|
|
3894
4092
|
|
|
4093
|
+
/* ─── Main photo ──────────────────────────────────────── */
|
|
3895
4094
|
|
|
3896
|
-
|
|
3897
|
-
|
|
4095
|
+
.muka-tile__photo-main {
|
|
4096
|
+
position: relative;
|
|
4097
|
+
width: 100%;
|
|
4098
|
+
overflow: hidden;
|
|
4099
|
+
flex-shrink: 0;
|
|
4100
|
+
}
|
|
3898
4101
|
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
4102
|
+
/* 16:9 aspect for lg and md */
|
|
4103
|
+
.muka-tile--lg .muka-tile__photo-main,
|
|
4104
|
+
.muka-tile--md .muka-tile__photo-main {
|
|
4105
|
+
aspect-ratio: 1280 / 720;
|
|
3903
4106
|
}
|
|
3904
4107
|
|
|
3905
|
-
/*
|
|
3906
|
-
.muka-
|
|
3907
|
-
|
|
3908
|
-
cursor: pointer;
|
|
4108
|
+
/* 1:1 aspect for top + sm */
|
|
4109
|
+
.muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
|
|
4110
|
+
aspect-ratio: 1 / 1;
|
|
3909
4111
|
}
|
|
3910
4112
|
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
4113
|
+
/* Fixed size for left/right + sm */
|
|
4114
|
+
.muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
|
|
4115
|
+
.muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
|
|
4116
|
+
width: 80px;
|
|
4117
|
+
height: 80px;
|
|
4118
|
+
aspect-ratio: auto;
|
|
3916
4119
|
}
|
|
3917
4120
|
|
|
3918
|
-
.muka-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
4121
|
+
.muka-tile__photo-main img {
|
|
4122
|
+
width: 100%;
|
|
4123
|
+
height: 100%;
|
|
4124
|
+
object-fit: cover;
|
|
4125
|
+
display: block;
|
|
3923
4126
|
}
|
|
3924
4127
|
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
4128
|
+
/* ─── Favourite overlay ───────────────────────────────── */
|
|
4129
|
+
|
|
4130
|
+
.muka-tile__favourite {
|
|
4131
|
+
position: absolute;
|
|
4132
|
+
z-index: 3;
|
|
3930
4133
|
}
|
|
3931
4134
|
|
|
3932
|
-
.muka-
|
|
3933
|
-
|
|
4135
|
+
.muka-tile--lg .muka-tile__favourite,
|
|
4136
|
+
.muka-tile--md .muka-tile__favourite {
|
|
4137
|
+
top: var(--spacing-4);
|
|
4138
|
+
right: var(--spacing-4);
|
|
3934
4139
|
}
|
|
3935
4140
|
|
|
3936
|
-
|
|
3937
|
-
|
|
4141
|
+
.muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
|
|
4142
|
+
top: var(--spacing-1);
|
|
4143
|
+
right: var(--spacing-1);
|
|
4144
|
+
}
|
|
4145
|
+
|
|
4146
|
+
/* ─── Thumbnails ──────────────────────────────────────── */
|
|
4147
|
+
|
|
4148
|
+
.muka-tile__thumbnails {
|
|
3938
4149
|
display: flex;
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
3944
|
-
box-sizing: border-box;
|
|
4150
|
+
gap: 2px;
|
|
4151
|
+
overflow: hidden;
|
|
4152
|
+
flex-shrink: 0;
|
|
4153
|
+
height: 80px;
|
|
3945
4154
|
}
|
|
3946
4155
|
|
|
3947
|
-
.muka-
|
|
3948
|
-
|
|
3949
|
-
|
|
4156
|
+
.muka-tile__thumbnail {
|
|
4157
|
+
width: 80px;
|
|
4158
|
+
height: 80px;
|
|
4159
|
+
flex-shrink: 0;
|
|
4160
|
+
overflow: hidden;
|
|
3950
4161
|
}
|
|
3951
4162
|
|
|
3952
|
-
.muka-
|
|
3953
|
-
|
|
3954
|
-
|
|
4163
|
+
.muka-tile__thumbnail img {
|
|
4164
|
+
width: 100%;
|
|
4165
|
+
height: 100%;
|
|
4166
|
+
object-fit: cover;
|
|
4167
|
+
display: block;
|
|
3955
4168
|
}
|
|
3956
4169
|
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
4170
|
+
/* Gap between main photo and thumbnails */
|
|
4171
|
+
.muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
|
|
4172
|
+
margin-top: 2px;
|
|
3960
4173
|
}
|
|
3961
4174
|
|
|
3962
|
-
/*
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
4175
|
+
/* ─── Content section ─────────────────────────────────── */
|
|
4176
|
+
|
|
4177
|
+
.muka-tile__content {
|
|
4178
|
+
display: flex;
|
|
4179
|
+
flex-direction: column;
|
|
4180
|
+
flex: 1;
|
|
4181
|
+
min-width: 0;
|
|
3968
4182
|
}
|
|
3969
4183
|
|
|
3970
|
-
/*
|
|
3971
|
-
.muka-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
background-color: var(--input-field-color-error-background);
|
|
3975
|
-
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
4184
|
+
/* Top layout: content has horizontal padding */
|
|
4185
|
+
.muka-tile--image-top.muka-tile--lg .muka-tile__content {
|
|
4186
|
+
padding: 0 var(--spacing-3);
|
|
4187
|
+
gap: var(--spacing-1);
|
|
3976
4188
|
}
|
|
3977
4189
|
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
border-color: var(--input-field-color-disabled-border);
|
|
3982
|
-
cursor: not-allowed;
|
|
4190
|
+
.muka-tile--image-top.muka-tile--md .muka-tile__content {
|
|
4191
|
+
padding: 0 var(--spacing-3);
|
|
4192
|
+
gap: var(--spacing-2);
|
|
3983
4193
|
}
|
|
3984
4194
|
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
flex: 1;
|
|
3988
|
-
border: none;
|
|
3989
|
-
outline: none;
|
|
3990
|
-
background: transparent;
|
|
3991
|
-
color: var(--input-field-color-default-foreground);
|
|
3992
|
-
font-family: var(--text-input-md-fontFamily);
|
|
3993
|
-
font-weight: var(--text-input-md-fontWeight);
|
|
3994
|
-
font-size: var(--text-input-md-fontSize);
|
|
3995
|
-
line-height: var(--text-input-md-lineHeight);
|
|
3996
|
-
padding: 0;
|
|
3997
|
-
width: 100%;
|
|
3998
|
-
min-width: 0;
|
|
4195
|
+
.muka-tile--image-top.muka-tile--sm .muka-tile__content {
|
|
4196
|
+
gap: var(--spacing-2);
|
|
3999
4197
|
}
|
|
4000
4198
|
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
line-height: var(--text-input-sm-lineHeight);
|
|
4199
|
+
/* Left/right layout: content grows to fill space */
|
|
4200
|
+
.muka-tile--image-left .muka-tile__content,
|
|
4201
|
+
.muka-tile--image-right .muka-tile__content {
|
|
4202
|
+
gap: var(--spacing-3);
|
|
4006
4203
|
}
|
|
4007
4204
|
|
|
4008
|
-
.muka-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
font-size: var(--text-input-lg-fontSize);
|
|
4012
|
-
line-height: var(--text-input-lg-lineHeight);
|
|
4205
|
+
.muka-tile--image-left.muka-tile--lg .muka-tile__content,
|
|
4206
|
+
.muka-tile--image-right.muka-tile--lg .muka-tile__content {
|
|
4207
|
+
padding: 0 var(--spacing-3);
|
|
4013
4208
|
}
|
|
4014
4209
|
|
|
4015
|
-
.muka-
|
|
4016
|
-
|
|
4210
|
+
.muka-tile--image-left.muka-tile--md .muka-tile__content,
|
|
4211
|
+
.muka-tile--image-right.muka-tile--md .muka-tile__content {
|
|
4212
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
4017
4213
|
}
|
|
4018
4214
|
|
|
4019
|
-
.muka-
|
|
4020
|
-
|
|
4021
|
-
|
|
4215
|
+
.muka-tile--image-left.muka-tile--sm .muka-tile__content,
|
|
4216
|
+
.muka-tile--image-right.muka-tile--sm .muka-tile__content {
|
|
4217
|
+
gap: var(--spacing-2);
|
|
4022
4218
|
}
|
|
4023
4219
|
|
|
4024
|
-
/*
|
|
4025
|
-
|
|
4220
|
+
/* ─── Header (heading row + price) ────────────────────── */
|
|
4221
|
+
|
|
4222
|
+
.muka-tile__header {
|
|
4026
4223
|
display: flex;
|
|
4027
|
-
justify-content: space-between;
|
|
4028
4224
|
align-items: flex-start;
|
|
4225
|
+
gap: var(--spacing-4);
|
|
4226
|
+
}
|
|
4227
|
+
|
|
4228
|
+
/* Small horizontal: row with text and action */
|
|
4229
|
+
.muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
|
|
4029
4230
|
gap: var(--spacing-2);
|
|
4231
|
+
align-items: center;
|
|
4232
|
+
padding-top: var(--spacing-1);
|
|
4030
4233
|
}
|
|
4031
4234
|
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4235
|
+
/* ─── Text group ──────────────────────────────────────── */
|
|
4236
|
+
|
|
4237
|
+
.muka-tile__text {
|
|
4238
|
+
display: flex;
|
|
4239
|
+
flex-direction: column;
|
|
4240
|
+
flex: 1;
|
|
4241
|
+
min-width: 0;
|
|
4242
|
+
gap: var(--spacing-2);
|
|
4243
|
+
}
|
|
4244
|
+
|
|
4245
|
+
/* ─── Heading typography ──────────────────────────────── */
|
|
4246
|
+
|
|
4247
|
+
.muka-tile__heading {
|
|
4038
4248
|
margin: 0;
|
|
4039
4249
|
}
|
|
4040
4250
|
|
|
4041
|
-
.muka-
|
|
4042
|
-
font-family: var(--text-label-
|
|
4043
|
-
font-weight: var(--text-label-
|
|
4044
|
-
font-size: var(--text-label-
|
|
4045
|
-
line-height: var(--text-label-
|
|
4046
|
-
color: var(--color-
|
|
4047
|
-
|
|
4251
|
+
.muka-tile--lg .muka-tile__heading {
|
|
4252
|
+
font-family: var(--text-label-2xl-semibold-fontFamily);
|
|
4253
|
+
font-weight: var(--text-label-2xl-semibold-fontWeight);
|
|
4254
|
+
font-size: var(--text-label-2xl-semibold-fontSize);
|
|
4255
|
+
line-height: var(--text-label-2xl-semibold-lineHeight);
|
|
4256
|
+
color: var(--color-text-default-default);
|
|
4257
|
+
}
|
|
4258
|
+
|
|
4259
|
+
.muka-tile--md .muka-tile__heading {
|
|
4260
|
+
font-family: var(--text-label-xl-semibold-fontFamily);
|
|
4261
|
+
font-weight: var(--text-label-xl-semibold-fontWeight);
|
|
4262
|
+
font-size: var(--text-label-xl-semibold-fontSize);
|
|
4263
|
+
line-height: var(--text-label-xl-semibold-lineHeight);
|
|
4264
|
+
color: var(--color-text-default-default);
|
|
4048
4265
|
}
|
|
4049
4266
|
|
|
4050
|
-
.muka-
|
|
4051
|
-
font-family: var(--text-label-
|
|
4052
|
-
font-weight: var(--text-label-
|
|
4053
|
-
font-size: var(--text-label-
|
|
4054
|
-
line-height: var(--text-label-
|
|
4055
|
-
color: var(--color-text-
|
|
4056
|
-
margin-left: auto;
|
|
4267
|
+
.muka-tile--sm .muka-tile__heading {
|
|
4268
|
+
font-family: var(--text-label-lg-bold-fontFamily);
|
|
4269
|
+
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
4270
|
+
font-size: var(--text-label-lg-bold-fontSize);
|
|
4271
|
+
line-height: var(--text-label-lg-bold-lineHeight);
|
|
4272
|
+
color: var(--color-text-default-default);
|
|
4057
4273
|
}
|
|
4058
4274
|
|
|
4275
|
+
/* ─── Subheading typography ───────────────────────────── */
|
|
4059
4276
|
|
|
4060
|
-
|
|
4061
|
-
|
|
4277
|
+
.muka-tile__subheading {
|
|
4278
|
+
margin: 0;
|
|
4279
|
+
color: var(--color-text-subtle-default);
|
|
4280
|
+
}
|
|
4062
4281
|
|
|
4063
|
-
.muka-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
text-underline-offset: 0.2em;
|
|
4069
|
-
text-decoration-thickness: from-font;
|
|
4070
|
-
/* Rounds the focus ring's corners; the link itself has no visible box. */
|
|
4071
|
-
border-radius: var(--border-radius-sm);
|
|
4072
|
-
transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
|
|
4282
|
+
.muka-tile--lg .muka-tile__subheading {
|
|
4283
|
+
font-family: var(--text-subheading-md-fontFamily);
|
|
4284
|
+
font-weight: var(--text-subheading-md-fontWeight);
|
|
4285
|
+
font-size: var(--text-subheading-md-fontSize);
|
|
4286
|
+
line-height: var(--text-subheading-md-lineHeight);
|
|
4073
4287
|
}
|
|
4074
4288
|
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
font-
|
|
4079
|
-
font-
|
|
4080
|
-
|
|
4081
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4289
|
+
.muka-tile--md .muka-tile__subheading,
|
|
4290
|
+
.muka-tile--sm .muka-tile__subheading {
|
|
4291
|
+
font-family: var(--text-subheading-sm-fontFamily);
|
|
4292
|
+
font-weight: var(--text-subheading-sm-fontWeight);
|
|
4293
|
+
font-size: var(--text-subheading-sm-fontSize);
|
|
4294
|
+
line-height: var(--text-subheading-sm-lineHeight);
|
|
4082
4295
|
}
|
|
4083
4296
|
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4297
|
+
/* ─── Description typography ──────────────────────────── */
|
|
4298
|
+
|
|
4299
|
+
.muka-tile__description {
|
|
4300
|
+
margin: 0;
|
|
4301
|
+
color: var(--color-text-default-default);
|
|
4089
4302
|
}
|
|
4090
4303
|
|
|
4091
|
-
.muka-
|
|
4304
|
+
.muka-tile--lg .muka-tile__description {
|
|
4092
4305
|
font-family: var(--text-body-lg-regular-fontFamily);
|
|
4093
4306
|
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
4094
4307
|
font-size: var(--text-body-lg-regular-fontSize);
|
|
4095
4308
|
line-height: var(--text-body-lg-regular-lineHeight);
|
|
4096
4309
|
}
|
|
4097
4310
|
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
}
|
|
4105
|
-
|
|
4106
|
-
.muka-text-link--default:hover,
|
|
4107
|
-
.muka-text-link--default:focus-visible {
|
|
4108
|
-
color: var(--color-text-action-hover);
|
|
4311
|
+
.muka-tile--md .muka-tile__description,
|
|
4312
|
+
.muka-tile--sm .muka-tile__description {
|
|
4313
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
4314
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4315
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
4316
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
4109
4317
|
}
|
|
4110
4318
|
|
|
4111
|
-
|
|
4112
|
-
|
|
4319
|
+
/* Description overflow for medium */
|
|
4320
|
+
.muka-tile--md .muka-tile__description {
|
|
4321
|
+
overflow: hidden;
|
|
4322
|
+
text-overflow: ellipsis;
|
|
4113
4323
|
}
|
|
4114
4324
|
|
|
4115
|
-
/* ───
|
|
4116
|
-
Hover, focus and pressed all darken to the default text colour. */
|
|
4117
|
-
.muka-text-link--subtle,
|
|
4118
|
-
.muka-text-link--subtle:visited {
|
|
4119
|
-
color: var(--color-text-subtle-default);
|
|
4120
|
-
}
|
|
4325
|
+
/* ─── Price slot ──────────────────────────────────────── */
|
|
4121
4326
|
|
|
4122
|
-
.muka-
|
|
4123
|
-
|
|
4124
|
-
.muka-text-link--subtle:active {
|
|
4125
|
-
color: var(--color-text-default-default);
|
|
4327
|
+
.muka-tile__price {
|
|
4328
|
+
flex-shrink: 0;
|
|
4126
4329
|
}
|
|
4127
4330
|
|
|
4128
|
-
/* ───
|
|
4129
|
-
Same ring as every other focusable Muka component. */
|
|
4130
|
-
.muka-text-link:focus-visible {
|
|
4131
|
-
outline: 2px solid var(--color-border-focus);
|
|
4132
|
-
outline-offset: 2px;
|
|
4133
|
-
}
|
|
4331
|
+
/* ─── Action slot ─────────────────────────────────────── */
|
|
4134
4332
|
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
transition: none;
|
|
4138
|
-
}
|
|
4333
|
+
.muka-tile__action {
|
|
4334
|
+
flex-shrink: 0;
|
|
4139
4335
|
}
|
|
4140
4336
|
|
|
4141
4337
|
|
|
@@ -4329,205 +4525,205 @@ body {
|
|
|
4329
4525
|
}
|
|
4330
4526
|
|
|
4331
4527
|
|
|
4332
|
-
/*
|
|
4333
|
-
/*
|
|
4528
|
+
/* TablePagination */
|
|
4529
|
+
/* TablePagination Component Styles - Using Muka Design Tokens */
|
|
4334
4530
|
|
|
4335
4531
|
/* ========================================
|
|
4336
|
-
|
|
4532
|
+
PAGINATION CONTAINER
|
|
4337
4533
|
======================================== */
|
|
4338
4534
|
|
|
4339
|
-
.muka-table-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
-
|
|
4535
|
+
.muka-table-pagination {
|
|
4536
|
+
display: flex;
|
|
4537
|
+
align-items: center;
|
|
4538
|
+
justify-content: space-between;
|
|
4539
|
+
flex-wrap: wrap;
|
|
4540
|
+
gap: var(--table-pagination-gap, var(--spacing-4));
|
|
4541
|
+
padding: var(--table-pagination-padding, var(--spacing-3));
|
|
4542
|
+
background-color: var(--table-pagination-background, var(--color-surface-level1));
|
|
4543
|
+
border-top: var(--border-width-regular) solid var(--table-pagination-border, var(--color-border-default));
|
|
4544
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
4545
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
4546
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4547
|
+
color: var(--color-text-default-default);
|
|
4343
4548
|
}
|
|
4344
4549
|
|
|
4345
4550
|
/* ========================================
|
|
4346
|
-
|
|
4551
|
+
LEFT SECTION (Page Size & Range)
|
|
4347
4552
|
======================================== */
|
|
4348
4553
|
|
|
4349
|
-
.muka-table {
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
4354
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
4355
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4356
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
4357
|
-
color: var(--color-text-default-default);
|
|
4358
|
-
background-color: var(--color-surface-level3);
|
|
4554
|
+
.muka-table-pagination__left {
|
|
4555
|
+
display: flex;
|
|
4556
|
+
align-items: center;
|
|
4557
|
+
gap: var(--spacing-4);
|
|
4359
4558
|
}
|
|
4360
4559
|
|
|
4361
|
-
.muka-table
|
|
4362
|
-
|
|
4560
|
+
.muka-table-pagination__page-size {
|
|
4561
|
+
display: flex;
|
|
4562
|
+
align-items: center;
|
|
4563
|
+
gap: var(--spacing-2);
|
|
4363
4564
|
}
|
|
4364
4565
|
|
|
4365
|
-
.muka-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
text-align: left;
|
|
4369
|
-
color: var(--color-text-default-default);
|
|
4370
|
-
caption-side: top;
|
|
4566
|
+
.muka-table-pagination__label {
|
|
4567
|
+
color: var(--color-text-subtle-default);
|
|
4568
|
+
white-space: nowrap;
|
|
4371
4569
|
}
|
|
4372
4570
|
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
border-
|
|
4571
|
+
.muka-table-pagination__select {
|
|
4572
|
+
appearance: none;
|
|
4573
|
+
padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-2);
|
|
4574
|
+
background-color: var(--color-surface-level0);
|
|
4575
|
+
border: var(--border-width-regular) solid var(--color-border-default);
|
|
4576
|
+
border-radius: var(--border-radius-sm);
|
|
4577
|
+
font-family: inherit;
|
|
4578
|
+
font-size: inherit;
|
|
4579
|
+
line-height: inherit;
|
|
4580
|
+
color: var(--color-text-default-default);
|
|
4581
|
+
cursor: pointer;
|
|
4582
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
|
|
4583
|
+
background-repeat: no-repeat;
|
|
4584
|
+
background-position: right var(--spacing-1) center;
|
|
4585
|
+
background-size: 12px;
|
|
4586
|
+
padding-right: var(--spacing-5);
|
|
4379
4587
|
}
|
|
4380
4588
|
|
|
4381
|
-
.muka-
|
|
4382
|
-
|
|
4589
|
+
.muka-table-pagination__select:hover {
|
|
4590
|
+
border-color: var(--color-border-contrast);
|
|
4383
4591
|
}
|
|
4384
4592
|
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4593
|
+
.muka-table-pagination__select:focus {
|
|
4594
|
+
outline: 2px solid var(--color-action-default);
|
|
4595
|
+
outline-offset: -2px;
|
|
4388
4596
|
}
|
|
4389
4597
|
|
|
4390
|
-
.muka-
|
|
4391
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4392
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4393
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
4394
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4598
|
+
.muka-table-pagination__range {
|
|
4395
4599
|
color: var(--color-text-subtle-default);
|
|
4396
|
-
|
|
4600
|
+
white-space: nowrap;
|
|
4397
4601
|
}
|
|
4398
4602
|
|
|
4399
4603
|
/* ========================================
|
|
4400
|
-
|
|
4604
|
+
RIGHT SECTION (Page Numbers & Navigation)
|
|
4401
4605
|
======================================== */
|
|
4402
4606
|
|
|
4403
|
-
.muka-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
.muka-table__body .muka-table__row:last-child {
|
|
4408
|
-
border-bottom: none;
|
|
4409
|
-
}
|
|
4410
|
-
|
|
4411
|
-
.muka-table__body .muka-table__row:hover {
|
|
4412
|
-
background-color: var(--color-surface-hover);
|
|
4607
|
+
.muka-table-pagination__right {
|
|
4608
|
+
display: flex;
|
|
4609
|
+
align-items: center;
|
|
4610
|
+
gap: var(--spacing-2);
|
|
4413
4611
|
}
|
|
4414
4612
|
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
border-bottom-color: var(--table-row-tone-warning-border);
|
|
4613
|
+
.muka-table-pagination__pages {
|
|
4614
|
+
display: flex;
|
|
4615
|
+
align-items: center;
|
|
4616
|
+
gap: var(--spacing-1);
|
|
4420
4617
|
}
|
|
4421
4618
|
|
|
4422
|
-
.muka-
|
|
4423
|
-
|
|
4424
|
-
|
|
4619
|
+
.muka-table-pagination__nav-only {
|
|
4620
|
+
display: flex;
|
|
4621
|
+
align-items: center;
|
|
4622
|
+
gap: var(--spacing-2);
|
|
4425
4623
|
}
|
|
4426
4624
|
|
|
4427
|
-
.muka-
|
|
4428
|
-
|
|
4625
|
+
.muka-table-pagination__page-indicator {
|
|
4626
|
+
color: var(--color-text-subtle-default);
|
|
4627
|
+
white-space: nowrap;
|
|
4628
|
+
min-width: 80px;
|
|
4629
|
+
text-align: center;
|
|
4429
4630
|
}
|
|
4430
4631
|
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4632
|
+
/* ========================================
|
|
4633
|
+
BUTTONS
|
|
4634
|
+
======================================== */
|
|
4434
4635
|
|
|
4435
|
-
.muka-
|
|
4636
|
+
.muka-table-pagination__button {
|
|
4637
|
+
display: inline-flex;
|
|
4638
|
+
align-items: center;
|
|
4639
|
+
justify-content: center;
|
|
4640
|
+
min-width: var(--size-2xl);
|
|
4641
|
+
height: var(--size-2xl);
|
|
4642
|
+
padding: var(--spacing-1);
|
|
4643
|
+
border: var(--border-width-regular) solid transparent;
|
|
4644
|
+
border-radius: var(--border-radius-sm);
|
|
4645
|
+
background-color: transparent;
|
|
4646
|
+
color: var(--color-text-default-default);
|
|
4647
|
+
font-family: inherit;
|
|
4648
|
+
font-size: inherit;
|
|
4649
|
+
line-height: 1;
|
|
4436
4650
|
cursor: pointer;
|
|
4651
|
+
transition: background-color 0.15s, border-color 0.15s, color 0.15s;
|
|
4437
4652
|
}
|
|
4438
4653
|
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4654
|
+
.muka-table-pagination__button:hover:not(:disabled) {
|
|
4655
|
+
background-color: var(--color-surface-level2);
|
|
4656
|
+
}
|
|
4442
4657
|
|
|
4443
|
-
.muka-
|
|
4444
|
-
|
|
4445
|
-
|
|
4658
|
+
.muka-table-pagination__button:focus-visible {
|
|
4659
|
+
outline: 2px solid var(--color-action-default);
|
|
4660
|
+
outline-offset: -2px;
|
|
4446
4661
|
}
|
|
4447
4662
|
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4663
|
+
.muka-table-pagination__button:disabled {
|
|
4664
|
+
color: var(--color-text-muted-default);
|
|
4665
|
+
cursor: not-allowed;
|
|
4666
|
+
opacity: 0.5;
|
|
4452
4667
|
}
|
|
4453
4668
|
|
|
4454
|
-
/*
|
|
4455
|
-
.muka-table--
|
|
4456
|
-
|
|
4457
|
-
padding: var(--table-cell-padding-y-md) var(--table-cell-padding-x-md);
|
|
4669
|
+
/* Navigation buttons (arrows) */
|
|
4670
|
+
.muka-table-pagination__button--nav {
|
|
4671
|
+
gap: -4px;
|
|
4458
4672
|
}
|
|
4459
4673
|
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
.muka-table--lg .muka-table__header-cell {
|
|
4463
|
-
padding: var(--table-cell-padding-y-lg) var(--table-cell-padding-x-lg);
|
|
4674
|
+
.muka-table-pagination__button--nav svg {
|
|
4675
|
+
margin: -2px;
|
|
4464
4676
|
}
|
|
4465
4677
|
|
|
4466
|
-
/*
|
|
4467
|
-
.muka-
|
|
4468
|
-
|
|
4469
|
-
text-align: left;
|
|
4678
|
+
/* Page number buttons */
|
|
4679
|
+
.muka-table-pagination__button--page {
|
|
4680
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
4470
4681
|
}
|
|
4471
4682
|
|
|
4472
|
-
.muka-
|
|
4473
|
-
|
|
4474
|
-
text-
|
|
4683
|
+
.muka-table-pagination__button--active {
|
|
4684
|
+
background-color: var(--color-action-default);
|
|
4685
|
+
color: var(--color-text-default-inverse);
|
|
4686
|
+
border-color: var(--color-action-default);
|
|
4475
4687
|
}
|
|
4476
4688
|
|
|
4477
|
-
.muka-
|
|
4478
|
-
|
|
4479
|
-
|
|
4689
|
+
.muka-table-pagination__button--active:hover:not(:disabled) {
|
|
4690
|
+
background-color: var(--color-action-hover);
|
|
4691
|
+
border-color: var(--color-action-hover);
|
|
4480
4692
|
}
|
|
4481
4693
|
|
|
4482
4694
|
/* ========================================
|
|
4483
|
-
|
|
4695
|
+
ELLIPSIS
|
|
4484
4696
|
======================================== */
|
|
4485
4697
|
|
|
4486
|
-
.muka-
|
|
4487
|
-
font-family: var(--text-body-base-bold-fontFamily);
|
|
4488
|
-
font-weight: var(--text-body-base-bold-fontWeight);
|
|
4489
|
-
font-size: var(--text-body-base-bold-fontSize);
|
|
4490
|
-
line-height: var(--text-body-base-bold-lineHeight);
|
|
4491
|
-
color: var(--color-text-default-default);
|
|
4492
|
-
white-space: nowrap;
|
|
4493
|
-
}
|
|
4494
|
-
|
|
4495
|
-
.muka-table__header-content {
|
|
4698
|
+
.muka-table-pagination__ellipsis {
|
|
4496
4699
|
display: inline-flex;
|
|
4497
4700
|
align-items: center;
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
.muka-table__header-cell--sortable {
|
|
4503
|
-
cursor: pointer;
|
|
4701
|
+
justify-content: center;
|
|
4702
|
+
min-width: var(--size-2xl);
|
|
4703
|
+
height: var(--size-2xl);
|
|
4704
|
+
color: var(--color-text-muted-default);
|
|
4504
4705
|
user-select: none;
|
|
4505
4706
|
}
|
|
4506
4707
|
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
.muka-table__header-cell--sortable:focus-visible {
|
|
4512
|
-
outline: 2px solid var(--color-action-default);
|
|
4513
|
-
outline-offset: -2px;
|
|
4514
|
-
}
|
|
4708
|
+
/* ========================================
|
|
4709
|
+
RESPONSIVE
|
|
4710
|
+
======================================== */
|
|
4515
4711
|
|
|
4516
|
-
|
|
4517
|
-
.muka-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
transition: opacity 0.2s, transform 0.2s;
|
|
4522
|
-
}
|
|
4712
|
+
@media (max-width: 640px) {
|
|
4713
|
+
.muka-table-pagination {
|
|
4714
|
+
flex-direction: column;
|
|
4715
|
+
align-items: stretch;
|
|
4716
|
+
}
|
|
4523
4717
|
|
|
4524
|
-
.muka-
|
|
4525
|
-
|
|
4526
|
-
|
|
4718
|
+
.muka-table-pagination__left,
|
|
4719
|
+
.muka-table-pagination__right {
|
|
4720
|
+
justify-content: center;
|
|
4721
|
+
}
|
|
4527
4722
|
|
|
4528
|
-
.muka-
|
|
4529
|
-
|
|
4530
|
-
|
|
4723
|
+
.muka-table-pagination__pages {
|
|
4724
|
+
flex-wrap: wrap;
|
|
4725
|
+
justify-content: center;
|
|
4726
|
+
}
|
|
4531
4727
|
}
|
|
4532
4728
|
|
|
4533
4729
|
|
|
@@ -4733,114 +4929,6 @@ body {
|
|
|
4733
4929
|
}
|
|
4734
4930
|
|
|
4735
4931
|
|
|
4736
|
-
/* SwipeActions */
|
|
4737
|
-
/* SwipeActions Component Styles */
|
|
4738
|
-
|
|
4739
|
-
.muka-swipe-actions {
|
|
4740
|
-
position: relative;
|
|
4741
|
-
overflow: hidden;
|
|
4742
|
-
touch-action: pan-y;
|
|
4743
|
-
-webkit-user-select: none;
|
|
4744
|
-
user-select: none;
|
|
4745
|
-
background-color: var(--color-surface-level3);
|
|
4746
|
-
}
|
|
4747
|
-
|
|
4748
|
-
.muka-swipe-actions--disabled {
|
|
4749
|
-
touch-action: auto;
|
|
4750
|
-
}
|
|
4751
|
-
|
|
4752
|
-
/* ─── Row that holds the actual content ────────────────── */
|
|
4753
|
-
|
|
4754
|
-
.muka-swipe-actions__row {
|
|
4755
|
-
position: relative;
|
|
4756
|
-
z-index: 1;
|
|
4757
|
-
background-color: inherit;
|
|
4758
|
-
will-change: transform;
|
|
4759
|
-
}
|
|
4760
|
-
|
|
4761
|
-
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
4762
|
-
|
|
4763
|
-
.muka-swipe-actions__panel {
|
|
4764
|
-
position: absolute;
|
|
4765
|
-
top: 0;
|
|
4766
|
-
bottom: 0;
|
|
4767
|
-
display: flex;
|
|
4768
|
-
align-items: stretch;
|
|
4769
|
-
z-index: 0;
|
|
4770
|
-
}
|
|
4771
|
-
|
|
4772
|
-
.muka-swipe-actions__panel--left {
|
|
4773
|
-
left: 0;
|
|
4774
|
-
}
|
|
4775
|
-
|
|
4776
|
-
.muka-swipe-actions__panel--right {
|
|
4777
|
-
right: 0;
|
|
4778
|
-
}
|
|
4779
|
-
|
|
4780
|
-
/* ─── Single action button ─────────────────────────────── */
|
|
4781
|
-
|
|
4782
|
-
.muka-swipe-actions__button {
|
|
4783
|
-
display: flex;
|
|
4784
|
-
flex-direction: column;
|
|
4785
|
-
align-items: center;
|
|
4786
|
-
justify-content: center;
|
|
4787
|
-
gap: var(--spacing-1);
|
|
4788
|
-
border: none;
|
|
4789
|
-
cursor: pointer;
|
|
4790
|
-
padding: var(--spacing-2);
|
|
4791
|
-
background-color: var(--color-surface-level2);
|
|
4792
|
-
color: var(--color-text-default-default);
|
|
4793
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
4794
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4795
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4796
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4797
|
-
-webkit-tap-highlight-color: transparent;
|
|
4798
|
-
transition: filter 0.12s ease;
|
|
4799
|
-
}
|
|
4800
|
-
|
|
4801
|
-
.muka-swipe-actions__button:hover {
|
|
4802
|
-
filter: brightness(0.95);
|
|
4803
|
-
}
|
|
4804
|
-
|
|
4805
|
-
.muka-swipe-actions__button:focus-visible {
|
|
4806
|
-
outline: 2px solid var(--color-action-default);
|
|
4807
|
-
outline-offset: -2px;
|
|
4808
|
-
}
|
|
4809
|
-
|
|
4810
|
-
.muka-swipe-actions__button-icon {
|
|
4811
|
-
display: inline-flex;
|
|
4812
|
-
align-items: center;
|
|
4813
|
-
justify-content: center;
|
|
4814
|
-
}
|
|
4815
|
-
|
|
4816
|
-
/* ─── Color variants ───────────────────────────────────── */
|
|
4817
|
-
|
|
4818
|
-
.muka-swipe-actions__button--neutral {
|
|
4819
|
-
background-color: var(--color-surface-level2);
|
|
4820
|
-
color: var(--color-text-default-default);
|
|
4821
|
-
}
|
|
4822
|
-
|
|
4823
|
-
.muka-swipe-actions__button--primary {
|
|
4824
|
-
background-color: var(--color-action-default);
|
|
4825
|
-
color: var(--color-text-default-inverse);
|
|
4826
|
-
}
|
|
4827
|
-
|
|
4828
|
-
.muka-swipe-actions__button--success {
|
|
4829
|
-
background-color: var(--color-state-success-default);
|
|
4830
|
-
color: var(--color-text-default-inverse);
|
|
4831
|
-
}
|
|
4832
|
-
|
|
4833
|
-
.muka-swipe-actions__button--warning {
|
|
4834
|
-
background-color: var(--color-state-warning-default);
|
|
4835
|
-
color: var(--color-text-default-default);
|
|
4836
|
-
}
|
|
4837
|
-
|
|
4838
|
-
.muka-swipe-actions__button--destructive {
|
|
4839
|
-
background-color: var(--color-state-error-default);
|
|
4840
|
-
color: var(--color-text-default-inverse);
|
|
4841
|
-
}
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
4932
|
/* Spinner */
|
|
4845
4933
|
/* Spinner Component Styles */
|
|
4846
4934
|
|
|
@@ -5406,18 +5494,125 @@ body {
|
|
|
5406
5494
|
animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
|
|
5407
5495
|
}
|
|
5408
5496
|
|
|
5409
|
-
/* Pulse animation */
|
|
5410
|
-
@keyframes muka-skeleton-pulse {
|
|
5411
|
-
0%, 100% {
|
|
5412
|
-
opacity: 1;
|
|
5497
|
+
/* Pulse animation */
|
|
5498
|
+
@keyframes muka-skeleton-pulse {
|
|
5499
|
+
0%, 100% {
|
|
5500
|
+
opacity: 1;
|
|
5501
|
+
}
|
|
5502
|
+
50% {
|
|
5503
|
+
opacity: 0.4;
|
|
5504
|
+
}
|
|
5505
|
+
}
|
|
5506
|
+
|
|
5507
|
+
.muka-skeleton--pulse {
|
|
5508
|
+
animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
|
|
5509
|
+
}
|
|
5510
|
+
|
|
5511
|
+
|
|
5512
|
+
/* SiteHeader */
|
|
5513
|
+
/* SiteHeader Component Styles */
|
|
5514
|
+
|
|
5515
|
+
/*
|
|
5516
|
+
* Header for document-scrolling pages. Its colour comes from, in order:
|
|
5517
|
+
* `--muka-site-header-background` (set by the consumer), the surrounding
|
|
5518
|
+
* Page's `--muka-page-background`, and the base surface.
|
|
5519
|
+
*
|
|
5520
|
+
* Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
|
|
5521
|
+
* running edge to edge, the header extends behind the status bar in its own
|
|
5522
|
+
* colour and keeps its content clear of a landscape notch.
|
|
5523
|
+
*/
|
|
5524
|
+
.muka-site-header {
|
|
5525
|
+
width: 100%;
|
|
5526
|
+
flex-shrink: 0;
|
|
5527
|
+
background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
|
|
5528
|
+
padding-top: env(safe-area-inset-top, 0px);
|
|
5529
|
+
}
|
|
5530
|
+
|
|
5531
|
+
.muka-site-header--sticky {
|
|
5532
|
+
position: sticky;
|
|
5533
|
+
top: 0;
|
|
5534
|
+
z-index: 30;
|
|
5535
|
+
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
5536
|
+
}
|
|
5537
|
+
|
|
5538
|
+
/*
|
|
5539
|
+
* A header that scrolls away would leave the status bar over the content. A
|
|
5540
|
+
* fixed strip in the header's colour stays behind the status bar instead.
|
|
5541
|
+
* Below Muka's overlays, so a dialog's backdrop dims it with the page.
|
|
5542
|
+
*/
|
|
5543
|
+
.muka-site-header:not(.muka-site-header--sticky)::before {
|
|
5544
|
+
content: '';
|
|
5545
|
+
position: fixed;
|
|
5546
|
+
top: 0;
|
|
5547
|
+
left: 0;
|
|
5548
|
+
right: 0;
|
|
5549
|
+
height: env(safe-area-inset-top, 0px);
|
|
5550
|
+
background-color: inherit;
|
|
5551
|
+
pointer-events: none;
|
|
5552
|
+
z-index: 30;
|
|
5553
|
+
}
|
|
5554
|
+
|
|
5555
|
+
.muka-site-header__inner {
|
|
5556
|
+
display: flex;
|
|
5557
|
+
align-items: center;
|
|
5558
|
+
gap: var(--spacing-2);
|
|
5559
|
+
width: 100%;
|
|
5560
|
+
max-width: var(--container-max-width-xl);
|
|
5561
|
+
margin: 0 auto;
|
|
5562
|
+
padding-block: var(--spacing-6);
|
|
5563
|
+
padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
|
|
5564
|
+
padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
|
|
5565
|
+
}
|
|
5566
|
+
|
|
5567
|
+
.muka-site-header__brand {
|
|
5568
|
+
display: flex;
|
|
5569
|
+
align-items: center;
|
|
5570
|
+
flex-shrink: 0;
|
|
5571
|
+
min-width: 0;
|
|
5572
|
+
}
|
|
5573
|
+
|
|
5574
|
+
.muka-site-header__nav {
|
|
5575
|
+
display: none;
|
|
5576
|
+
align-items: center;
|
|
5577
|
+
gap: var(--spacing-1);
|
|
5578
|
+
min-width: 0;
|
|
5579
|
+
}
|
|
5580
|
+
|
|
5581
|
+
.muka-site-header__actions {
|
|
5582
|
+
display: flex;
|
|
5583
|
+
align-items: center;
|
|
5584
|
+
margin-left: auto;
|
|
5585
|
+
min-width: 0;
|
|
5586
|
+
}
|
|
5587
|
+
|
|
5588
|
+
.muka-site-header__action-group {
|
|
5589
|
+
display: flex;
|
|
5590
|
+
align-items: center;
|
|
5591
|
+
gap: var(--spacing-2);
|
|
5592
|
+
}
|
|
5593
|
+
|
|
5594
|
+
/* Small screens: the compact set replaces the full one. */
|
|
5595
|
+
.muka-site-header__action-group--wide {
|
|
5596
|
+
display: none;
|
|
5597
|
+
}
|
|
5598
|
+
|
|
5599
|
+
@media (min-width: 768px) {
|
|
5600
|
+
.muka-site-header__inner {
|
|
5601
|
+
gap: var(--spacing-4);
|
|
5602
|
+
padding-block: var(--spacing-8);
|
|
5413
5603
|
}
|
|
5414
|
-
|
|
5415
|
-
|
|
5604
|
+
|
|
5605
|
+
.muka-site-header__nav {
|
|
5606
|
+
display: flex;
|
|
5416
5607
|
}
|
|
5417
|
-
}
|
|
5418
5608
|
|
|
5419
|
-
.muka-
|
|
5420
|
-
|
|
5609
|
+
.muka-site-header__action-group--wide {
|
|
5610
|
+
display: flex;
|
|
5611
|
+
}
|
|
5612
|
+
|
|
5613
|
+
.muka-site-header__action-group--compact {
|
|
5614
|
+
display: none;
|
|
5615
|
+
}
|
|
5421
5616
|
}
|
|
5422
5617
|
|
|
5423
5618
|
|
|
@@ -5885,6 +6080,29 @@ body {
|
|
|
5885
6080
|
}
|
|
5886
6081
|
|
|
5887
6082
|
|
|
6083
|
+
/* Section */
|
|
6084
|
+
/* Section Component - Layout tokens (section.padding) */
|
|
6085
|
+
|
|
6086
|
+
.muka-section {
|
|
6087
|
+
box-sizing: border-box;
|
|
6088
|
+
}
|
|
6089
|
+
|
|
6090
|
+
.muka-section--padding-compact {
|
|
6091
|
+
padding-block: var(--section-padding-vertical-compact);
|
|
6092
|
+
padding-inline: var(--section-padding-horizontal-compact);
|
|
6093
|
+
}
|
|
6094
|
+
|
|
6095
|
+
.muka-section--padding-default {
|
|
6096
|
+
padding-block: var(--section-padding-vertical-default);
|
|
6097
|
+
padding-inline: var(--section-padding-horizontal-default);
|
|
6098
|
+
}
|
|
6099
|
+
|
|
6100
|
+
.muka-section--padding-spacious {
|
|
6101
|
+
padding-block: var(--section-padding-vertical-spacious);
|
|
6102
|
+
padding-inline: var(--section-padding-horizontal-spacious);
|
|
6103
|
+
}
|
|
6104
|
+
|
|
6105
|
+
|
|
5888
6106
|
/* SearchInput */
|
|
5889
6107
|
/* SearchInput Component Styles */
|
|
5890
6108
|
|
|
@@ -6181,29 +6399,6 @@ body {
|
|
|
6181
6399
|
}
|
|
6182
6400
|
|
|
6183
6401
|
|
|
6184
|
-
/* Section */
|
|
6185
|
-
/* Section Component - Layout tokens (section.padding) */
|
|
6186
|
-
|
|
6187
|
-
.muka-section {
|
|
6188
|
-
box-sizing: border-box;
|
|
6189
|
-
}
|
|
6190
|
-
|
|
6191
|
-
.muka-section--padding-compact {
|
|
6192
|
-
padding-block: var(--section-padding-vertical-compact);
|
|
6193
|
-
padding-inline: var(--section-padding-horizontal-compact);
|
|
6194
|
-
}
|
|
6195
|
-
|
|
6196
|
-
.muka-section--padding-default {
|
|
6197
|
-
padding-block: var(--section-padding-vertical-default);
|
|
6198
|
-
padding-inline: var(--section-padding-horizontal-default);
|
|
6199
|
-
}
|
|
6200
|
-
|
|
6201
|
-
.muka-section--padding-spacious {
|
|
6202
|
-
padding-block: var(--section-padding-vertical-spacious);
|
|
6203
|
-
padding-inline: var(--section-padding-horizontal-spacious);
|
|
6204
|
-
}
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
6402
|
/* RecordingBar */
|
|
6208
6403
|
/* RecordingBar Component Styles */
|
|
6209
6404
|
|
|
@@ -6470,6 +6665,114 @@ body {
|
|
|
6470
6665
|
}
|
|
6471
6666
|
|
|
6472
6667
|
|
|
6668
|
+
/* SwipeActions */
|
|
6669
|
+
/* SwipeActions Component Styles */
|
|
6670
|
+
|
|
6671
|
+
.muka-swipe-actions {
|
|
6672
|
+
position: relative;
|
|
6673
|
+
overflow: hidden;
|
|
6674
|
+
touch-action: pan-y;
|
|
6675
|
+
-webkit-user-select: none;
|
|
6676
|
+
user-select: none;
|
|
6677
|
+
background-color: var(--color-surface-level3);
|
|
6678
|
+
}
|
|
6679
|
+
|
|
6680
|
+
.muka-swipe-actions--disabled {
|
|
6681
|
+
touch-action: auto;
|
|
6682
|
+
}
|
|
6683
|
+
|
|
6684
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
6685
|
+
|
|
6686
|
+
.muka-swipe-actions__row {
|
|
6687
|
+
position: relative;
|
|
6688
|
+
z-index: 1;
|
|
6689
|
+
background-color: inherit;
|
|
6690
|
+
will-change: transform;
|
|
6691
|
+
}
|
|
6692
|
+
|
|
6693
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
6694
|
+
|
|
6695
|
+
.muka-swipe-actions__panel {
|
|
6696
|
+
position: absolute;
|
|
6697
|
+
top: 0;
|
|
6698
|
+
bottom: 0;
|
|
6699
|
+
display: flex;
|
|
6700
|
+
align-items: stretch;
|
|
6701
|
+
z-index: 0;
|
|
6702
|
+
}
|
|
6703
|
+
|
|
6704
|
+
.muka-swipe-actions__panel--left {
|
|
6705
|
+
left: 0;
|
|
6706
|
+
}
|
|
6707
|
+
|
|
6708
|
+
.muka-swipe-actions__panel--right {
|
|
6709
|
+
right: 0;
|
|
6710
|
+
}
|
|
6711
|
+
|
|
6712
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
6713
|
+
|
|
6714
|
+
.muka-swipe-actions__button {
|
|
6715
|
+
display: flex;
|
|
6716
|
+
flex-direction: column;
|
|
6717
|
+
align-items: center;
|
|
6718
|
+
justify-content: center;
|
|
6719
|
+
gap: var(--spacing-1);
|
|
6720
|
+
border: none;
|
|
6721
|
+
cursor: pointer;
|
|
6722
|
+
padding: var(--spacing-2);
|
|
6723
|
+
background-color: var(--color-surface-level2);
|
|
6724
|
+
color: var(--color-text-default-default);
|
|
6725
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
6726
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
6727
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
6728
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
6729
|
+
-webkit-tap-highlight-color: transparent;
|
|
6730
|
+
transition: filter 0.12s ease;
|
|
6731
|
+
}
|
|
6732
|
+
|
|
6733
|
+
.muka-swipe-actions__button:hover {
|
|
6734
|
+
filter: brightness(0.95);
|
|
6735
|
+
}
|
|
6736
|
+
|
|
6737
|
+
.muka-swipe-actions__button:focus-visible {
|
|
6738
|
+
outline: 2px solid var(--color-action-default);
|
|
6739
|
+
outline-offset: -2px;
|
|
6740
|
+
}
|
|
6741
|
+
|
|
6742
|
+
.muka-swipe-actions__button-icon {
|
|
6743
|
+
display: inline-flex;
|
|
6744
|
+
align-items: center;
|
|
6745
|
+
justify-content: center;
|
|
6746
|
+
}
|
|
6747
|
+
|
|
6748
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
6749
|
+
|
|
6750
|
+
.muka-swipe-actions__button--neutral {
|
|
6751
|
+
background-color: var(--color-surface-level2);
|
|
6752
|
+
color: var(--color-text-default-default);
|
|
6753
|
+
}
|
|
6754
|
+
|
|
6755
|
+
.muka-swipe-actions__button--primary {
|
|
6756
|
+
background-color: var(--color-action-default);
|
|
6757
|
+
color: var(--color-text-default-inverse);
|
|
6758
|
+
}
|
|
6759
|
+
|
|
6760
|
+
.muka-swipe-actions__button--success {
|
|
6761
|
+
background-color: var(--color-state-success-default);
|
|
6762
|
+
color: var(--color-text-default-inverse);
|
|
6763
|
+
}
|
|
6764
|
+
|
|
6765
|
+
.muka-swipe-actions__button--warning {
|
|
6766
|
+
background-color: var(--color-state-warning-default);
|
|
6767
|
+
color: var(--color-text-default-default);
|
|
6768
|
+
}
|
|
6769
|
+
|
|
6770
|
+
.muka-swipe-actions__button--destructive {
|
|
6771
|
+
background-color: var(--color-state-error-default);
|
|
6772
|
+
color: var(--color-text-default-inverse);
|
|
6773
|
+
}
|
|
6774
|
+
|
|
6775
|
+
|
|
6473
6776
|
/* RadioTile */
|
|
6474
6777
|
/* RadioTile Component Styles - Using Muka Design Tokens */
|
|
6475
6778
|
|
|
@@ -7775,26 +8078,97 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
7775
8078
|
animation: muka-progress-circle-rotate 2s linear infinite;
|
|
7776
8079
|
}
|
|
7777
8080
|
|
|
7778
|
-
.muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
|
|
7779
|
-
animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
|
|
8081
|
+
.muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
|
|
8082
|
+
animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
|
|
8083
|
+
}
|
|
8084
|
+
|
|
8085
|
+
@keyframes muka-progress-circle-rotate {
|
|
8086
|
+
100% {
|
|
8087
|
+
transform: rotate(270deg);
|
|
8088
|
+
}
|
|
8089
|
+
}
|
|
8090
|
+
|
|
8091
|
+
@keyframes muka-progress-circle-dash {
|
|
8092
|
+
0% {
|
|
8093
|
+
stroke-dashoffset: 220;
|
|
8094
|
+
}
|
|
8095
|
+
50% {
|
|
8096
|
+
stroke-dashoffset: 70;
|
|
8097
|
+
}
|
|
8098
|
+
100% {
|
|
8099
|
+
stroke-dashoffset: 220;
|
|
8100
|
+
}
|
|
8101
|
+
}
|
|
8102
|
+
|
|
8103
|
+
|
|
8104
|
+
/* ProfileBadge */
|
|
8105
|
+
/* ProfileBadge Component Styles - Using Muka Design Tokens */
|
|
8106
|
+
|
|
8107
|
+
.muka-profile-badge {
|
|
8108
|
+
display: inline-flex;
|
|
8109
|
+
align-items: center;
|
|
8110
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
8111
|
+
}
|
|
8112
|
+
|
|
8113
|
+
/* Size variants */
|
|
8114
|
+
.muka-profile-badge--lg {
|
|
8115
|
+
gap: var(--spacing-4); /* 16px */
|
|
8116
|
+
}
|
|
8117
|
+
|
|
8118
|
+
.muka-profile-badge--md {
|
|
8119
|
+
gap: var(--spacing-3); /* 12px */
|
|
8120
|
+
}
|
|
8121
|
+
|
|
8122
|
+
.muka-profile-badge__avatar {
|
|
8123
|
+
flex-shrink: 0;
|
|
8124
|
+
}
|
|
8125
|
+
|
|
8126
|
+
/* Text stack */
|
|
8127
|
+
.muka-profile-badge__text {
|
|
8128
|
+
display: flex;
|
|
8129
|
+
flex-direction: column;
|
|
8130
|
+
align-items: flex-start;
|
|
8131
|
+
min-width: 0;
|
|
8132
|
+
}
|
|
8133
|
+
|
|
8134
|
+
.muka-profile-badge__name {
|
|
8135
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
8136
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
8137
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
8138
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
8139
|
+
color: var(--color-text-default-default);
|
|
8140
|
+
}
|
|
8141
|
+
|
|
8142
|
+
.muka-profile-badge__email {
|
|
8143
|
+
font-family: var(--text-body-xs-regular-fontFamily);
|
|
8144
|
+
font-size: var(--text-body-xs-regular-fontSize);
|
|
8145
|
+
font-weight: var(--text-body-xs-regular-fontWeight);
|
|
8146
|
+
line-height: var(--text-body-xs-regular-lineHeight);
|
|
8147
|
+
color: var(--color-text-subtle-default);
|
|
8148
|
+
}
|
|
8149
|
+
|
|
8150
|
+
/* Clickable state */
|
|
8151
|
+
.muka-profile-badge--clickable {
|
|
8152
|
+
cursor: pointer;
|
|
8153
|
+
border: none;
|
|
8154
|
+
background: none;
|
|
8155
|
+
padding: 0;
|
|
8156
|
+
text-align: left;
|
|
8157
|
+
border-radius: var(--radius-md);
|
|
8158
|
+
transition: opacity 0.2s ease;
|
|
8159
|
+
}
|
|
8160
|
+
|
|
8161
|
+
.muka-profile-badge--clickable:hover {
|
|
8162
|
+
opacity: 0.9;
|
|
7780
8163
|
}
|
|
7781
8164
|
|
|
7782
|
-
|
|
7783
|
-
|
|
7784
|
-
transform: rotate(270deg);
|
|
7785
|
-
}
|
|
8165
|
+
.muka-profile-badge--clickable:active {
|
|
8166
|
+
opacity: 0.8;
|
|
7786
8167
|
}
|
|
7787
8168
|
|
|
7788
|
-
|
|
7789
|
-
|
|
7790
|
-
|
|
7791
|
-
}
|
|
7792
|
-
50% {
|
|
7793
|
-
stroke-dashoffset: 70;
|
|
7794
|
-
}
|
|
7795
|
-
100% {
|
|
7796
|
-
stroke-dashoffset: 220;
|
|
7797
|
-
}
|
|
8169
|
+
.muka-profile-badge--clickable:focus-visible {
|
|
8170
|
+
outline: 2px solid var(--color-border-focus);
|
|
8171
|
+
outline-offset: 2px;
|
|
7798
8172
|
}
|
|
7799
8173
|
|
|
7800
8174
|
|
|
@@ -7895,77 +8269,6 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
7895
8269
|
}
|
|
7896
8270
|
|
|
7897
8271
|
|
|
7898
|
-
/* ProfileBadge */
|
|
7899
|
-
/* ProfileBadge Component Styles - Using Muka Design Tokens */
|
|
7900
|
-
|
|
7901
|
-
.muka-profile-badge {
|
|
7902
|
-
display: inline-flex;
|
|
7903
|
-
align-items: center;
|
|
7904
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
7905
|
-
}
|
|
7906
|
-
|
|
7907
|
-
/* Size variants */
|
|
7908
|
-
.muka-profile-badge--lg {
|
|
7909
|
-
gap: var(--spacing-4); /* 16px */
|
|
7910
|
-
}
|
|
7911
|
-
|
|
7912
|
-
.muka-profile-badge--md {
|
|
7913
|
-
gap: var(--spacing-3); /* 12px */
|
|
7914
|
-
}
|
|
7915
|
-
|
|
7916
|
-
.muka-profile-badge__avatar {
|
|
7917
|
-
flex-shrink: 0;
|
|
7918
|
-
}
|
|
7919
|
-
|
|
7920
|
-
/* Text stack */
|
|
7921
|
-
.muka-profile-badge__text {
|
|
7922
|
-
display: flex;
|
|
7923
|
-
flex-direction: column;
|
|
7924
|
-
align-items: flex-start;
|
|
7925
|
-
min-width: 0;
|
|
7926
|
-
}
|
|
7927
|
-
|
|
7928
|
-
.muka-profile-badge__name {
|
|
7929
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
7930
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
7931
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7932
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
7933
|
-
color: var(--color-text-default-default);
|
|
7934
|
-
}
|
|
7935
|
-
|
|
7936
|
-
.muka-profile-badge__email {
|
|
7937
|
-
font-family: var(--text-body-xs-regular-fontFamily);
|
|
7938
|
-
font-size: var(--text-body-xs-regular-fontSize);
|
|
7939
|
-
font-weight: var(--text-body-xs-regular-fontWeight);
|
|
7940
|
-
line-height: var(--text-body-xs-regular-lineHeight);
|
|
7941
|
-
color: var(--color-text-subtle-default);
|
|
7942
|
-
}
|
|
7943
|
-
|
|
7944
|
-
/* Clickable state */
|
|
7945
|
-
.muka-profile-badge--clickable {
|
|
7946
|
-
cursor: pointer;
|
|
7947
|
-
border: none;
|
|
7948
|
-
background: none;
|
|
7949
|
-
padding: 0;
|
|
7950
|
-
text-align: left;
|
|
7951
|
-
border-radius: var(--radius-md);
|
|
7952
|
-
transition: opacity 0.2s ease;
|
|
7953
|
-
}
|
|
7954
|
-
|
|
7955
|
-
.muka-profile-badge--clickable:hover {
|
|
7956
|
-
opacity: 0.9;
|
|
7957
|
-
}
|
|
7958
|
-
|
|
7959
|
-
.muka-profile-badge--clickable:active {
|
|
7960
|
-
opacity: 0.8;
|
|
7961
|
-
}
|
|
7962
|
-
|
|
7963
|
-
.muka-profile-badge--clickable:focus-visible {
|
|
7964
|
-
outline: 2px solid var(--color-border-focus);
|
|
7965
|
-
outline-offset: 2px;
|
|
7966
|
-
}
|
|
7967
|
-
|
|
7968
|
-
|
|
7969
8272
|
/* Popover */
|
|
7970
8273
|
/* Popover Component Styles */
|
|
7971
8274
|
|
|
@@ -9383,82 +9686,276 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9383
9686
|
transition: opacity var(--motion-duration-micro) var(--motion-easing-enter);
|
|
9384
9687
|
}
|
|
9385
9688
|
|
|
9386
|
-
.muka-media-viewer__nav--previous {
|
|
9387
|
-
left: var(--spacing-4);
|
|
9689
|
+
.muka-media-viewer__nav--previous {
|
|
9690
|
+
left: var(--spacing-4);
|
|
9691
|
+
}
|
|
9692
|
+
|
|
9693
|
+
.muka-media-viewer__nav--next {
|
|
9694
|
+
right: var(--spacing-4);
|
|
9695
|
+
}
|
|
9696
|
+
|
|
9697
|
+
@media (hover: hover) and (pointer: fine) {
|
|
9698
|
+
.muka-media-viewer__nav {
|
|
9699
|
+
display: block;
|
|
9700
|
+
}
|
|
9701
|
+
|
|
9702
|
+
.muka-media-viewer__stage:hover .muka-media-viewer__nav,
|
|
9703
|
+
.muka-media-viewer__nav:focus-within {
|
|
9704
|
+
opacity: 1;
|
|
9705
|
+
}
|
|
9706
|
+
}
|
|
9707
|
+
|
|
9708
|
+
/* ─── Footer: caption, meta and actions ───────────────── */
|
|
9709
|
+
.muka-media-viewer__footer {
|
|
9710
|
+
flex-shrink: 0;
|
|
9711
|
+
display: flex;
|
|
9712
|
+
flex-direction: column;
|
|
9713
|
+
gap: var(--spacing-3);
|
|
9714
|
+
padding: var(--spacing-4);
|
|
9715
|
+
padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
|
|
9716
|
+
background-color: var(--color-surface-level3);
|
|
9717
|
+
}
|
|
9718
|
+
|
|
9719
|
+
.muka-media-viewer__details {
|
|
9720
|
+
display: flex;
|
|
9721
|
+
align-items: flex-start;
|
|
9722
|
+
justify-content: space-between;
|
|
9723
|
+
gap: var(--spacing-3);
|
|
9724
|
+
}
|
|
9725
|
+
|
|
9726
|
+
.muka-media-viewer__caption {
|
|
9727
|
+
min-width: 0;
|
|
9728
|
+
color: var(--color-text-subtle-default);
|
|
9729
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
9730
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
9731
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
9732
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
9733
|
+
overflow-wrap: anywhere;
|
|
9734
|
+
}
|
|
9735
|
+
|
|
9736
|
+
.muka-media-viewer__meta {
|
|
9737
|
+
flex-shrink: 0;
|
|
9738
|
+
}
|
|
9739
|
+
|
|
9740
|
+
.muka-media-viewer__actions {
|
|
9741
|
+
display: flex;
|
|
9742
|
+
flex-wrap: wrap;
|
|
9743
|
+
gap: var(--spacing-2);
|
|
9744
|
+
}
|
|
9745
|
+
|
|
9746
|
+
/* Mobile: actions stack full width, like Dialog footers. */
|
|
9747
|
+
@media (max-width: 1023px) {
|
|
9748
|
+
.muka-media-viewer__actions {
|
|
9749
|
+
flex-direction: column;
|
|
9750
|
+
}
|
|
9751
|
+
|
|
9752
|
+
.muka-media-viewer__actions > * {
|
|
9753
|
+
width: 100%;
|
|
9754
|
+
}
|
|
9755
|
+
}
|
|
9756
|
+
|
|
9757
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
9758
|
+
@media (prefers-reduced-motion: reduce) {
|
|
9759
|
+
.muka-media-viewer,
|
|
9760
|
+
.muka-media-viewer__slide,
|
|
9761
|
+
.muka-media-viewer__nav {
|
|
9762
|
+
animation: none;
|
|
9763
|
+
transition: none;
|
|
9764
|
+
}
|
|
9765
|
+
}
|
|
9766
|
+
|
|
9767
|
+
|
|
9768
|
+
/* ListItem */
|
|
9769
|
+
/* ListItem Component Styles - Using Muka Design Tokens */
|
|
9770
|
+
|
|
9771
|
+
/* Base list item styles */
|
|
9772
|
+
.muka-listitem {
|
|
9773
|
+
/* Layout */
|
|
9774
|
+
display: flex;
|
|
9775
|
+
align-items: flex-start;
|
|
9776
|
+
gap: var(--spacing-4);
|
|
9777
|
+
padding: var(--spacing-5) var(--spacing-4);
|
|
9778
|
+
|
|
9779
|
+
/* Background - using semantic tokens */
|
|
9780
|
+
background-color: var(--color-surface-level3);
|
|
9781
|
+
|
|
9782
|
+
/* Typography */
|
|
9783
|
+
font-family: var(--alias-font-brand-family);
|
|
9784
|
+
|
|
9785
|
+
/* Border and spacing */
|
|
9786
|
+
border: none;
|
|
9787
|
+
position: relative;
|
|
9788
|
+
|
|
9789
|
+
/* Interaction - only apply if interactive */
|
|
9790
|
+
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
9791
|
+
}
|
|
9792
|
+
|
|
9793
|
+
/* Interactive state */
|
|
9794
|
+
.muka-listitem--interactive {
|
|
9795
|
+
cursor: pointer;
|
|
9796
|
+
}
|
|
9797
|
+
|
|
9798
|
+
/*
|
|
9799
|
+
* surface.hover / surface.pressed are theme-adaptive translucent tints, so they
|
|
9800
|
+
* are layered on top of the item's base surface via an inset box-shadow overlay
|
|
9801
|
+
* rather than replacing background-color. This preserves the base level (level3,
|
|
9802
|
+
* or level2 when selected) and lets the tint read correctly on any surface.
|
|
9803
|
+
*/
|
|
9804
|
+
.muka-listitem--interactive:hover:not(:disabled):not(.muka-listitem--disabled) {
|
|
9805
|
+
box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
|
|
9806
|
+
}
|
|
9807
|
+
|
|
9808
|
+
.muka-listitem--interactive:active:not(:disabled):not(.muka-listitem--disabled),
|
|
9809
|
+
.muka-listitem--interactive.muka-listitem--pressed:not(:disabled):not(.muka-listitem--disabled) {
|
|
9810
|
+
box-shadow: inset 0 0 0 9999px var(--color-surface-pressed);
|
|
9811
|
+
}
|
|
9812
|
+
|
|
9813
|
+
/* Focus styles for accessibility */
|
|
9814
|
+
.muka-listitem:focus-visible {
|
|
9815
|
+
outline: 2px solid var(--color-border-focus);
|
|
9816
|
+
outline-offset: -2px;
|
|
9817
|
+
}
|
|
9818
|
+
|
|
9819
|
+
/* Disabled state */
|
|
9820
|
+
.muka-listitem--disabled {
|
|
9821
|
+
opacity: 0.5;
|
|
9822
|
+
cursor: not-allowed;
|
|
9823
|
+
pointer-events: none;
|
|
9824
|
+
}
|
|
9825
|
+
|
|
9826
|
+
.muka-listitem--disabled:hover {
|
|
9827
|
+
background-color: var(--color-surface-level3);
|
|
9828
|
+
}
|
|
9829
|
+
|
|
9830
|
+
/* Selected state */
|
|
9831
|
+
.muka-listitem--selected {
|
|
9832
|
+
background-color: var(--color-surface-level2);
|
|
9833
|
+
}
|
|
9834
|
+
|
|
9835
|
+
.muka-listitem--selected:hover {
|
|
9836
|
+
box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
|
|
9837
|
+
}
|
|
9838
|
+
|
|
9839
|
+
/* No divider modifier */
|
|
9840
|
+
.muka-listitem--no-divider .muka-listitem__divider {
|
|
9841
|
+
display: none;
|
|
9842
|
+
}
|
|
9843
|
+
|
|
9844
|
+
/* Center content vertically when no caption */
|
|
9845
|
+
.muka-listitem--no-caption {
|
|
9846
|
+
align-items: center;
|
|
9847
|
+
}
|
|
9848
|
+
|
|
9849
|
+
/* Leading content (icon or image) */
|
|
9850
|
+
.muka-listitem__leading {
|
|
9851
|
+
display: flex;
|
|
9852
|
+
align-items: center;
|
|
9853
|
+
justify-content: center;
|
|
9854
|
+
flex-shrink: 0;
|
|
9855
|
+
width: 48px;
|
|
9856
|
+
height: 48px;
|
|
9388
9857
|
}
|
|
9389
9858
|
|
|
9390
|
-
.muka-
|
|
9391
|
-
|
|
9859
|
+
.muka-listitem__icon {
|
|
9860
|
+
display: inline-flex;
|
|
9861
|
+
align-items: center;
|
|
9862
|
+
justify-content: center;
|
|
9863
|
+
width: 32px;
|
|
9864
|
+
height: 32px;
|
|
9865
|
+
color: var(--color-text-default-default);
|
|
9392
9866
|
}
|
|
9393
9867
|
|
|
9394
|
-
|
|
9395
|
-
|
|
9396
|
-
|
|
9397
|
-
|
|
9868
|
+
.muka-listitem__image {
|
|
9869
|
+
width: 48px;
|
|
9870
|
+
height: 48px;
|
|
9871
|
+
border-radius: var(--radius-md);
|
|
9872
|
+
object-fit: cover;
|
|
9873
|
+
}
|
|
9398
9874
|
|
|
9399
|
-
|
|
9400
|
-
|
|
9401
|
-
|
|
9402
|
-
|
|
9875
|
+
/* Main content area */
|
|
9876
|
+
.muka-listitem__content {
|
|
9877
|
+
flex: 1;
|
|
9878
|
+
display: flex;
|
|
9879
|
+
align-items: center;
|
|
9880
|
+
gap: var(--spacing-4);
|
|
9881
|
+
min-width: 0;
|
|
9403
9882
|
}
|
|
9404
9883
|
|
|
9405
|
-
|
|
9406
|
-
|
|
9407
|
-
flex-shrink: 0;
|
|
9884
|
+
.muka-listitem__text {
|
|
9885
|
+
flex: 1;
|
|
9408
9886
|
display: flex;
|
|
9409
9887
|
flex-direction: column;
|
|
9410
|
-
gap: var(--spacing-
|
|
9411
|
-
|
|
9412
|
-
padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
|
|
9413
|
-
background-color: var(--color-surface-level3);
|
|
9888
|
+
gap: var(--spacing-1);
|
|
9889
|
+
min-width: 0;
|
|
9414
9890
|
}
|
|
9415
9891
|
|
|
9416
|
-
|
|
9417
|
-
|
|
9418
|
-
|
|
9419
|
-
|
|
9420
|
-
|
|
9892
|
+
/* Label text */
|
|
9893
|
+
.muka-listitem__label {
|
|
9894
|
+
margin: 0;
|
|
9895
|
+
padding: 0;
|
|
9896
|
+
|
|
9897
|
+
/* Typography - using semantic tokens */
|
|
9898
|
+
font-family: var(--alias-font-plain-family);
|
|
9899
|
+
font-weight: var(--alias-font-plain-weight-semibold, 600);
|
|
9900
|
+
font-size: var(--text-label-md-fontSize);
|
|
9901
|
+
line-height: var(--text-label-md-lineHeight);
|
|
9902
|
+
color: var(--color-text-default-default);
|
|
9903
|
+
|
|
9904
|
+
/* Text handling */
|
|
9905
|
+
overflow: hidden;
|
|
9906
|
+
text-overflow: ellipsis;
|
|
9907
|
+
white-space: nowrap;
|
|
9421
9908
|
}
|
|
9422
9909
|
|
|
9423
|
-
|
|
9424
|
-
|
|
9910
|
+
/* Caption text */
|
|
9911
|
+
.muka-listitem__caption {
|
|
9912
|
+
margin: 0;
|
|
9913
|
+
padding: 0;
|
|
9914
|
+
|
|
9915
|
+
/* Typography - using semantic tokens */
|
|
9916
|
+
font-family: var(--alias-font-plain-family);
|
|
9917
|
+
font-weight: var(--alias-font-plain-weight-regular, 400);
|
|
9918
|
+
font-size: var(--text-body-sm-fontSize);
|
|
9919
|
+
line-height: var(--text-body-sm-lineHeight);
|
|
9425
9920
|
color: var(--color-text-subtle-default);
|
|
9426
|
-
|
|
9427
|
-
|
|
9428
|
-
|
|
9429
|
-
|
|
9430
|
-
|
|
9921
|
+
|
|
9922
|
+
/* Text handling */
|
|
9923
|
+
overflow: hidden;
|
|
9924
|
+
text-overflow: ellipsis;
|
|
9925
|
+
white-space: nowrap;
|
|
9431
9926
|
}
|
|
9432
9927
|
|
|
9433
|
-
|
|
9928
|
+
/* Trailing chevron */
|
|
9929
|
+
.muka-listitem__chevron {
|
|
9930
|
+
display: inline-flex;
|
|
9931
|
+
align-items: center;
|
|
9932
|
+
justify-content: center;
|
|
9434
9933
|
flex-shrink: 0;
|
|
9934
|
+
width: 24px;
|
|
9935
|
+
height: 24px;
|
|
9936
|
+
color: var(--color-text-subtle-default);
|
|
9435
9937
|
}
|
|
9436
9938
|
|
|
9437
|
-
|
|
9438
|
-
|
|
9439
|
-
|
|
9440
|
-
|
|
9939
|
+
/* Bottom divider */
|
|
9940
|
+
.muka-listitem__divider {
|
|
9941
|
+
position: absolute;
|
|
9942
|
+
bottom: 0;
|
|
9943
|
+
left: 0;
|
|
9944
|
+
right: 0;
|
|
9945
|
+
height: 1px;
|
|
9946
|
+
background-color: var(--color-border-default);
|
|
9441
9947
|
}
|
|
9442
9948
|
|
|
9443
|
-
/*
|
|
9444
|
-
|
|
9445
|
-
|
|
9446
|
-
|
|
9447
|
-
|
|
9448
|
-
|
|
9449
|
-
.muka-media-viewer__actions > * {
|
|
9450
|
-
width: 100%;
|
|
9451
|
-
}
|
|
9949
|
+
/* Button and anchor specific styles */
|
|
9950
|
+
button.muka-listitem,
|
|
9951
|
+
a.muka-listitem {
|
|
9952
|
+
text-align: left;
|
|
9953
|
+
width: 100%;
|
|
9452
9954
|
}
|
|
9453
9955
|
|
|
9454
|
-
/*
|
|
9455
|
-
|
|
9456
|
-
|
|
9457
|
-
.muka-media-viewer__slide,
|
|
9458
|
-
.muka-media-viewer__nav {
|
|
9459
|
-
animation: none;
|
|
9460
|
-
transition: none;
|
|
9461
|
-
}
|
|
9956
|
+
/* List item specific styles */
|
|
9957
|
+
li.muka-listitem {
|
|
9958
|
+
list-style: none;
|
|
9462
9959
|
}
|
|
9463
9960
|
|
|
9464
9961
|
|
|
@@ -9679,214 +10176,80 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9679
10176
|
line-height: var(--text-label-md-semibold-lineHeight);
|
|
9680
10177
|
}
|
|
9681
10178
|
|
|
9682
|
-
.muka-label--lg {
|
|
9683
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
9684
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
9685
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
9686
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
9687
|
-
}
|
|
9688
|
-
|
|
9689
|
-
.muka-label--disabled {
|
|
9690
|
-
color: var(--color-text-subtle-default);
|
|
9691
|
-
cursor: not-allowed;
|
|
9692
|
-
}
|
|
9693
|
-
|
|
9694
|
-
.muka-label__required {
|
|
9695
|
-
color: var(--color-state-error-default);
|
|
9696
|
-
}
|
|
9697
|
-
|
|
9698
|
-
|
|
9699
|
-
/* ListItem */
|
|
9700
|
-
/* ListItem Component Styles - Using Muka Design Tokens */
|
|
9701
|
-
|
|
9702
|
-
/* Base list item styles */
|
|
9703
|
-
.muka-listitem {
|
|
9704
|
-
/* Layout */
|
|
9705
|
-
display: flex;
|
|
9706
|
-
align-items: flex-start;
|
|
9707
|
-
gap: var(--spacing-4);
|
|
9708
|
-
padding: var(--spacing-5) var(--spacing-4);
|
|
9709
|
-
|
|
9710
|
-
/* Background - using semantic tokens */
|
|
9711
|
-
background-color: var(--color-surface-level3);
|
|
9712
|
-
|
|
9713
|
-
/* Typography */
|
|
9714
|
-
font-family: var(--alias-font-brand-family);
|
|
9715
|
-
|
|
9716
|
-
/* Border and spacing */
|
|
9717
|
-
border: none;
|
|
9718
|
-
position: relative;
|
|
9719
|
-
|
|
9720
|
-
/* Interaction - only apply if interactive */
|
|
9721
|
-
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
9722
|
-
}
|
|
9723
|
-
|
|
9724
|
-
/* Interactive state */
|
|
9725
|
-
.muka-listitem--interactive {
|
|
9726
|
-
cursor: pointer;
|
|
9727
|
-
}
|
|
9728
|
-
|
|
9729
|
-
/*
|
|
9730
|
-
* surface.hover / surface.pressed are theme-adaptive translucent tints, so they
|
|
9731
|
-
* are layered on top of the item's base surface via an inset box-shadow overlay
|
|
9732
|
-
* rather than replacing background-color. This preserves the base level (level3,
|
|
9733
|
-
* or level2 when selected) and lets the tint read correctly on any surface.
|
|
9734
|
-
*/
|
|
9735
|
-
.muka-listitem--interactive:hover:not(:disabled):not(.muka-listitem--disabled) {
|
|
9736
|
-
box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
|
|
9737
|
-
}
|
|
9738
|
-
|
|
9739
|
-
.muka-listitem--interactive:active:not(:disabled):not(.muka-listitem--disabled),
|
|
9740
|
-
.muka-listitem--interactive.muka-listitem--pressed:not(:disabled):not(.muka-listitem--disabled) {
|
|
9741
|
-
box-shadow: inset 0 0 0 9999px var(--color-surface-pressed);
|
|
9742
|
-
}
|
|
9743
|
-
|
|
9744
|
-
/* Focus styles for accessibility */
|
|
9745
|
-
.muka-listitem:focus-visible {
|
|
9746
|
-
outline: 2px solid var(--color-border-focus);
|
|
9747
|
-
outline-offset: -2px;
|
|
9748
|
-
}
|
|
9749
|
-
|
|
9750
|
-
/* Disabled state */
|
|
9751
|
-
.muka-listitem--disabled {
|
|
9752
|
-
opacity: 0.5;
|
|
9753
|
-
cursor: not-allowed;
|
|
9754
|
-
pointer-events: none;
|
|
9755
|
-
}
|
|
9756
|
-
|
|
9757
|
-
.muka-listitem--disabled:hover {
|
|
9758
|
-
background-color: var(--color-surface-level3);
|
|
9759
|
-
}
|
|
9760
|
-
|
|
9761
|
-
/* Selected state */
|
|
9762
|
-
.muka-listitem--selected {
|
|
9763
|
-
background-color: var(--color-surface-level2);
|
|
9764
|
-
}
|
|
9765
|
-
|
|
9766
|
-
.muka-listitem--selected:hover {
|
|
9767
|
-
box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
|
|
9768
|
-
}
|
|
9769
|
-
|
|
9770
|
-
/* No divider modifier */
|
|
9771
|
-
.muka-listitem--no-divider .muka-listitem__divider {
|
|
9772
|
-
display: none;
|
|
9773
|
-
}
|
|
9774
|
-
|
|
9775
|
-
/* Center content vertically when no caption */
|
|
9776
|
-
.muka-listitem--no-caption {
|
|
9777
|
-
align-items: center;
|
|
9778
|
-
}
|
|
9779
|
-
|
|
9780
|
-
/* Leading content (icon or image) */
|
|
9781
|
-
.muka-listitem__leading {
|
|
9782
|
-
display: flex;
|
|
9783
|
-
align-items: center;
|
|
9784
|
-
justify-content: center;
|
|
9785
|
-
flex-shrink: 0;
|
|
9786
|
-
width: 48px;
|
|
9787
|
-
height: 48px;
|
|
9788
|
-
}
|
|
9789
|
-
|
|
9790
|
-
.muka-listitem__icon {
|
|
9791
|
-
display: inline-flex;
|
|
9792
|
-
align-items: center;
|
|
9793
|
-
justify-content: center;
|
|
9794
|
-
width: 32px;
|
|
9795
|
-
height: 32px;
|
|
9796
|
-
color: var(--color-text-default-default);
|
|
10179
|
+
.muka-label--lg {
|
|
10180
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
10181
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
10182
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
10183
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
9797
10184
|
}
|
|
9798
10185
|
|
|
9799
|
-
.muka-
|
|
9800
|
-
|
|
9801
|
-
|
|
9802
|
-
border-radius: var(--radius-md);
|
|
9803
|
-
object-fit: cover;
|
|
10186
|
+
.muka-label--disabled {
|
|
10187
|
+
color: var(--color-text-subtle-default);
|
|
10188
|
+
cursor: not-allowed;
|
|
9804
10189
|
}
|
|
9805
10190
|
|
|
9806
|
-
|
|
9807
|
-
|
|
9808
|
-
flex: 1;
|
|
9809
|
-
display: flex;
|
|
9810
|
-
align-items: center;
|
|
9811
|
-
gap: var(--spacing-4);
|
|
9812
|
-
min-width: 0;
|
|
10191
|
+
.muka-label__required {
|
|
10192
|
+
color: var(--color-state-error-default);
|
|
9813
10193
|
}
|
|
9814
10194
|
|
|
9815
|
-
|
|
9816
|
-
|
|
10195
|
+
|
|
10196
|
+
/* Page */
|
|
10197
|
+
/* Page Component Styles */
|
|
10198
|
+
|
|
10199
|
+
/*
|
|
10200
|
+
* Shell for document-scrolling pages (marketing, sign-in, legal). Safe areas:
|
|
10201
|
+
* env(safe-area-inset-*) is 0 outside notched devices, so the padding below
|
|
10202
|
+
* only appears in an app running edge to edge (viewport-fit=cover).
|
|
10203
|
+
*
|
|
10204
|
+
* `--muka-page-background` is the page colour. SiteHeader reads it, so a
|
|
10205
|
+
* header and its status-bar scrim match the page without configuration.
|
|
10206
|
+
*/
|
|
10207
|
+
.muka-page {
|
|
10208
|
+
--muka-page-background: var(--color-surface-level3);
|
|
9817
10209
|
display: flex;
|
|
9818
10210
|
flex-direction: column;
|
|
9819
|
-
|
|
9820
|
-
min-
|
|
10211
|
+
min-height: 100vh;
|
|
10212
|
+
min-height: 100dvh;
|
|
10213
|
+
background-color: var(--muka-page-background);
|
|
9821
10214
|
}
|
|
9822
10215
|
|
|
9823
|
-
|
|
9824
|
-
|
|
9825
|
-
margin: 0;
|
|
9826
|
-
padding: 0;
|
|
9827
|
-
|
|
9828
|
-
/* Typography - using semantic tokens */
|
|
9829
|
-
font-family: var(--alias-font-plain-family);
|
|
9830
|
-
font-weight: var(--alias-font-plain-weight-semibold, 600);
|
|
9831
|
-
font-size: var(--text-label-md-fontSize);
|
|
9832
|
-
line-height: var(--text-label-md-lineHeight);
|
|
9833
|
-
color: var(--color-text-default-default);
|
|
9834
|
-
|
|
9835
|
-
/* Text handling */
|
|
9836
|
-
overflow: hidden;
|
|
9837
|
-
text-overflow: ellipsis;
|
|
9838
|
-
white-space: nowrap;
|
|
10216
|
+
.muka-page--surface-2 {
|
|
10217
|
+
--muka-page-background: var(--color-surface-level2);
|
|
9839
10218
|
}
|
|
9840
10219
|
|
|
9841
|
-
/*
|
|
9842
|
-
.muka-
|
|
9843
|
-
|
|
9844
|
-
padding: 0;
|
|
9845
|
-
|
|
9846
|
-
/* Typography - using semantic tokens */
|
|
9847
|
-
font-family: var(--alias-font-plain-family);
|
|
9848
|
-
font-weight: var(--alias-font-plain-weight-regular, 400);
|
|
9849
|
-
font-size: var(--text-body-sm-fontSize);
|
|
9850
|
-
line-height: var(--text-body-sm-lineHeight);
|
|
9851
|
-
color: var(--color-text-subtle-default);
|
|
9852
|
-
|
|
9853
|
-
/* Text handling */
|
|
9854
|
-
overflow: hidden;
|
|
9855
|
-
text-overflow: ellipsis;
|
|
9856
|
-
white-space: nowrap;
|
|
10220
|
+
/* Overscroll (rubber band) shows the document background: keep it the page's. */
|
|
10221
|
+
:root:has(.muka-page--surface-2) body {
|
|
10222
|
+
background-color: var(--color-surface-level2);
|
|
9857
10223
|
}
|
|
9858
10224
|
|
|
9859
|
-
|
|
9860
|
-
|
|
9861
|
-
display:
|
|
9862
|
-
|
|
9863
|
-
|
|
10225
|
+
.muka-page__main {
|
|
10226
|
+
flex: 1 0 auto;
|
|
10227
|
+
display: flex;
|
|
10228
|
+
flex-direction: column;
|
|
10229
|
+
/* Landscape: clear the notch. */
|
|
10230
|
+
padding-left: env(safe-area-inset-left, 0px);
|
|
10231
|
+
padding-right: env(safe-area-inset-right, 0px);
|
|
10232
|
+
}
|
|
10233
|
+
|
|
10234
|
+
.muka-page__footer {
|
|
9864
10235
|
flex-shrink: 0;
|
|
9865
|
-
|
|
9866
|
-
|
|
9867
|
-
|
|
10236
|
+
padding-left: env(safe-area-inset-left, 0px);
|
|
10237
|
+
padding-right: env(safe-area-inset-right, 0px);
|
|
10238
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
9868
10239
|
}
|
|
9869
10240
|
|
|
9870
|
-
/*
|
|
9871
|
-
.muka-
|
|
9872
|
-
|
|
9873
|
-
bottom: 0;
|
|
9874
|
-
left: 0;
|
|
9875
|
-
right: 0;
|
|
9876
|
-
height: 1px;
|
|
9877
|
-
background-color: var(--color-border-default);
|
|
10241
|
+
/* A footer with its own colour: the colour runs under the home indicator. */
|
|
10242
|
+
.muka-page__footer--surface-2 {
|
|
10243
|
+
background-color: var(--color-surface-level2);
|
|
9878
10244
|
}
|
|
9879
10245
|
|
|
9880
|
-
|
|
9881
|
-
|
|
9882
|
-
a.muka-listitem {
|
|
9883
|
-
text-align: left;
|
|
9884
|
-
width: 100%;
|
|
10246
|
+
.muka-page__footer--surface-3 {
|
|
10247
|
+
background-color: var(--color-surface-level3);
|
|
9885
10248
|
}
|
|
9886
10249
|
|
|
9887
|
-
/*
|
|
9888
|
-
|
|
9889
|
-
|
|
10250
|
+
/* Without a footer, the content is last and clears the home indicator. */
|
|
10251
|
+
.muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
|
|
10252
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
9890
10253
|
}
|
|
9891
10254
|
|
|
9892
10255
|
|
|
@@ -10403,6 +10766,26 @@ li.muka-listitem {
|
|
|
10403
10766
|
}
|
|
10404
10767
|
|
|
10405
10768
|
|
|
10769
|
+
/* Form */
|
|
10770
|
+
.muka-form {
|
|
10771
|
+
display: flex;
|
|
10772
|
+
flex-direction: column;
|
|
10773
|
+
width: 100%;
|
|
10774
|
+
}
|
|
10775
|
+
|
|
10776
|
+
.muka-form--gap-sm {
|
|
10777
|
+
gap: var(--size-sm);
|
|
10778
|
+
}
|
|
10779
|
+
|
|
10780
|
+
.muka-form--gap-md {
|
|
10781
|
+
gap: var(--size-md);
|
|
10782
|
+
}
|
|
10783
|
+
|
|
10784
|
+
.muka-form--gap-lg {
|
|
10785
|
+
gap: var(--size-lg);
|
|
10786
|
+
}
|
|
10787
|
+
|
|
10788
|
+
|
|
10406
10789
|
/* FileUpload */
|
|
10407
10790
|
/* FileUpload Component Styles */
|
|
10408
10791
|
|
|
@@ -11341,6 +11724,49 @@ li.muka-listitem {
|
|
|
11341
11724
|
flex-shrink: 0;
|
|
11342
11725
|
}
|
|
11343
11726
|
|
|
11727
|
+
/* ─── Safe areas (notch, status bar, home indicator) ────
|
|
11728
|
+
env(safe-area-inset-*) is 0 outside notched devices, so these only change
|
|
11729
|
+
an app running edge to edge (viewport-fit=cover, e.g. an iOS shell). */
|
|
11730
|
+
|
|
11731
|
+
/* Top edge. Side, top and full-height drawers reach the status bar: their
|
|
11732
|
+
TopBar pads for it; without a header the surface does. A bottom drawer
|
|
11733
|
+
stops short of it, so its TopBar must not. */
|
|
11734
|
+
.muka-drawer--right .muka-drawer__surface:not(:has(> .muka-topbar)),
|
|
11735
|
+
.muka-drawer--left .muka-drawer__surface:not(:has(> .muka-topbar)),
|
|
11736
|
+
.muka-drawer--top .muka-drawer__surface:not(:has(> .muka-topbar)) {
|
|
11737
|
+
padding-top: env(safe-area-inset-top, 0px);
|
|
11738
|
+
}
|
|
11739
|
+
|
|
11740
|
+
.muka-drawer--bottom:not(.muka-drawer--full) .muka-topbar {
|
|
11741
|
+
padding-top: 0;
|
|
11742
|
+
}
|
|
11743
|
+
|
|
11744
|
+
/* Bottom edge. Side and bottom drawers reach the home indicator: the footer
|
|
11745
|
+
pads for it, or the surface when there is no footer. */
|
|
11746
|
+
.muka-drawer:not(.muka-drawer--top) .muka-drawer__footer {
|
|
11747
|
+
padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
|
|
11748
|
+
}
|
|
11749
|
+
|
|
11750
|
+
.muka-drawer:not(.muka-drawer--top) .muka-drawer__surface:not(:has(> .muka-drawer__footer)) {
|
|
11751
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
11752
|
+
}
|
|
11753
|
+
|
|
11754
|
+
/* Sides (landscape notch): the edge the drawer is attached to. The TopBar
|
|
11755
|
+
already insets its own content. */
|
|
11756
|
+
@media (max-width: 1023px) {
|
|
11757
|
+
.muka-drawer--left .muka-drawer__body,
|
|
11758
|
+
.muka-drawer--top .muka-drawer__body,
|
|
11759
|
+
.muka-drawer--bottom .muka-drawer__body {
|
|
11760
|
+
padding-left: max(var(--drawer-padding-x), env(safe-area-inset-left, 0px));
|
|
11761
|
+
}
|
|
11762
|
+
|
|
11763
|
+
.muka-drawer--right .muka-drawer__body,
|
|
11764
|
+
.muka-drawer--top .muka-drawer__body,
|
|
11765
|
+
.muka-drawer--bottom .muka-drawer__body {
|
|
11766
|
+
padding-right: max(var(--drawer-padding-x), env(safe-area-inset-right, 0px));
|
|
11767
|
+
}
|
|
11768
|
+
}
|
|
11769
|
+
|
|
11344
11770
|
|
|
11345
11771
|
/* DocumentViewer */
|
|
11346
11772
|
/* DocumentViewer Component Styles - Using Muka Design Tokens */
|
|
@@ -11620,6 +12046,28 @@ li.muka-listitem {
|
|
|
11620
12046
|
max-width: 100%;
|
|
11621
12047
|
}
|
|
11622
12048
|
|
|
12049
|
+
/* ─── Safe areas in full screen ─────────────────────────
|
|
12050
|
+
Full screen covers the whole display: the toolbar extends behind the status
|
|
12051
|
+
bar and the content clears the home indicator and a landscape notch.
|
|
12052
|
+
env(safe-area-inset-*) is 0 outside notched devices. */
|
|
12053
|
+
.muka-documentviewer--fullscreen {
|
|
12054
|
+
height: 100dvh;
|
|
12055
|
+
}
|
|
12056
|
+
|
|
12057
|
+
.muka-documentviewer--fullscreen .muka-documentviewer__toolbar {
|
|
12058
|
+
box-sizing: border-box;
|
|
12059
|
+
height: calc(var(--documentviewer-toolbar-height) + env(safe-area-inset-top, 0px));
|
|
12060
|
+
padding-top: calc(var(--documentviewer-toolbar-padding-y) + env(safe-area-inset-top, 0px));
|
|
12061
|
+
padding-left: max(var(--documentviewer-toolbar-padding-x), env(safe-area-inset-left, 0px));
|
|
12062
|
+
padding-right: max(var(--documentviewer-toolbar-padding-x), env(safe-area-inset-right, 0px));
|
|
12063
|
+
}
|
|
12064
|
+
|
|
12065
|
+
.muka-documentviewer--fullscreen .muka-documentviewer__content {
|
|
12066
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
12067
|
+
padding-left: env(safe-area-inset-left, 0px);
|
|
12068
|
+
padding-right: env(safe-area-inset-right, 0px);
|
|
12069
|
+
}
|
|
12070
|
+
|
|
11623
12071
|
|
|
11624
12072
|
/* Divider */
|
|
11625
12073
|
/* Divider Component Styles - Using Muka Design Tokens */
|
|
@@ -11971,6 +12419,44 @@ li.muka-listitem {
|
|
|
11971
12419
|
line-height: var(--text-body-base-regular-lineHeight);
|
|
11972
12420
|
}
|
|
11973
12421
|
|
|
12422
|
+
/* ─── Safe areas (notch, status bar, home indicator) ────
|
|
12423
|
+
env(safe-area-inset-*) is 0 outside notched devices, so these only change
|
|
12424
|
+
an app running edge to edge (viewport-fit=cover, e.g. an iOS shell). */
|
|
12425
|
+
|
|
12426
|
+
/* The surface never reaches the top of the screen, so its TopBar must not pad
|
|
12427
|
+
for the status bar. */
|
|
12428
|
+
.muka-dialog .muka-topbar {
|
|
12429
|
+
padding-top: 0;
|
|
12430
|
+
}
|
|
12431
|
+
|
|
12432
|
+
@media (max-width: 1023px) {
|
|
12433
|
+
/* The tallest sheet still starts below the status bar. */
|
|
12434
|
+
.muka-dialog--lg .muka-dialog__surface {
|
|
12435
|
+
height: calc(100vh - var(--dialog-margin-top-mobile) - env(safe-area-inset-top, 0px));
|
|
12436
|
+
height: calc(100dvh - var(--dialog-margin-top-mobile) - env(safe-area-inset-top, 0px));
|
|
12437
|
+
}
|
|
12438
|
+
|
|
12439
|
+
/* Landscape: keep the body clear of the notch. */
|
|
12440
|
+
.muka-dialog__body {
|
|
12441
|
+
padding-left: max(var(--dialog-padding-x), env(safe-area-inset-left, 0px));
|
|
12442
|
+
padding-right: max(var(--dialog-padding-x), env(safe-area-inset-right, 0px));
|
|
12443
|
+
}
|
|
12444
|
+
|
|
12445
|
+
/* The sheet is bottom-attached. A footer BottomBar pads itself for the home
|
|
12446
|
+
indicator; without a visible footer the body does. */
|
|
12447
|
+
.muka-dialog__surface:not(:has(.muka-dialog__footer)) .muka-dialog__body,
|
|
12448
|
+
.muka-dialog:not(.muka-dialog--non-modal):not(.muka-dialog--no-inputs):not(.muka-dialog--mobile-actions-footer) .muka-dialog__body {
|
|
12449
|
+
padding-bottom: calc(var(--dialog-padding-x) + env(safe-area-inset-bottom, 0px));
|
|
12450
|
+
}
|
|
12451
|
+
}
|
|
12452
|
+
|
|
12453
|
+
@media (min-width: 1024px) {
|
|
12454
|
+
/* Centred card: nothing touches the bottom edge. */
|
|
12455
|
+
.muka-dialog__footer .muka-bottombar {
|
|
12456
|
+
padding-bottom: 0;
|
|
12457
|
+
}
|
|
12458
|
+
}
|
|
12459
|
+
|
|
11974
12460
|
|
|
11975
12461
|
/* DatePicker */
|
|
11976
12462
|
/* DatePicker — compact native date field. */
|
|
@@ -13741,49 +14227,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
13741
14227
|
}
|
|
13742
14228
|
|
|
13743
14229
|
|
|
13744
|
-
/* ChatMessageList */
|
|
13745
|
-
/* ChatMessageList Component Styles */
|
|
13746
|
-
|
|
13747
|
-
.muka-chat-message-list {
|
|
13748
|
-
flex: 1 1 auto;
|
|
13749
|
-
min-height: 0;
|
|
13750
|
-
width: 100%;
|
|
13751
|
-
overflow-x: clip;
|
|
13752
|
-
overflow-y: auto;
|
|
13753
|
-
background-color: var(--color-surface-level3);
|
|
13754
|
-
padding: var(--section-padding-vertical-default, var(--spacing-8))
|
|
13755
|
-
var(--section-padding-horizontal-default, var(--spacing-4));
|
|
13756
|
-
-webkit-overflow-scrolling: touch;
|
|
13757
|
-
overscroll-behavior: contain;
|
|
13758
|
-
}
|
|
13759
|
-
|
|
13760
|
-
.muka-chat-message-list__inner {
|
|
13761
|
-
display: flex;
|
|
13762
|
-
flex-direction: column;
|
|
13763
|
-
align-items: stretch;
|
|
13764
|
-
gap: var(--spacing-8);
|
|
13765
|
-
width: 100%;
|
|
13766
|
-
max-width: var(--chat-column-max-width);
|
|
13767
|
-
margin: 0 auto;
|
|
13768
|
-
}
|
|
13769
|
-
|
|
13770
|
-
/* ─── Print ────────────────────────────────────────────── */
|
|
13771
|
-
|
|
13772
|
-
@media print {
|
|
13773
|
-
.muka-chat-message-list {
|
|
13774
|
-
overflow: visible;
|
|
13775
|
-
height: auto;
|
|
13776
|
-
max-height: none;
|
|
13777
|
-
background: none;
|
|
13778
|
-
padding: 0;
|
|
13779
|
-
}
|
|
13780
|
-
|
|
13781
|
-
.muka-chat-message-list__inner {
|
|
13782
|
-
max-width: 100%;
|
|
13783
|
-
}
|
|
13784
|
-
}
|
|
13785
|
-
|
|
13786
|
-
|
|
13787
14230
|
/* ChatMessageStack */
|
|
13788
14231
|
/* ChatMessageStack Component Styles */
|
|
13789
14232
|
|
|
@@ -13823,31 +14266,74 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
13823
14266
|
padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
|
|
13824
14267
|
}
|
|
13825
14268
|
|
|
13826
|
-
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
13827
|
-
.muka-chat-message-stack__widgets,
|
|
13828
|
-
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
13829
|
-
.muka-chat-message-stack__reasoning {
|
|
13830
|
-
padding-left: 0;
|
|
13831
|
-
padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
|
|
13832
|
-
}
|
|
14269
|
+
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14270
|
+
.muka-chat-message-stack__widgets,
|
|
14271
|
+
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14272
|
+
.muka-chat-message-stack__reasoning {
|
|
14273
|
+
padding-left: 0;
|
|
14274
|
+
padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
|
|
14275
|
+
}
|
|
14276
|
+
|
|
14277
|
+
/* Follow the message's compact rail and gap below the desktop breakpoint */
|
|
14278
|
+
@media (max-width: 1023px) {
|
|
14279
|
+
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
|
|
14280
|
+
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
|
|
14281
|
+
padding-left: calc(
|
|
14282
|
+
var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
|
|
14283
|
+
);
|
|
14284
|
+
}
|
|
14285
|
+
|
|
14286
|
+
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14287
|
+
.muka-chat-message-stack__widgets,
|
|
14288
|
+
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14289
|
+
.muka-chat-message-stack__reasoning {
|
|
14290
|
+
padding-left: 0;
|
|
14291
|
+
padding-right: calc(
|
|
14292
|
+
var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
|
|
14293
|
+
);
|
|
14294
|
+
}
|
|
14295
|
+
}
|
|
14296
|
+
|
|
14297
|
+
|
|
14298
|
+
/* ChatMessageList */
|
|
14299
|
+
/* ChatMessageList Component Styles */
|
|
14300
|
+
|
|
14301
|
+
.muka-chat-message-list {
|
|
14302
|
+
flex: 1 1 auto;
|
|
14303
|
+
min-height: 0;
|
|
14304
|
+
width: 100%;
|
|
14305
|
+
overflow-x: clip;
|
|
14306
|
+
overflow-y: auto;
|
|
14307
|
+
background-color: var(--color-surface-level3);
|
|
14308
|
+
padding: var(--section-padding-vertical-default, var(--spacing-8))
|
|
14309
|
+
var(--section-padding-horizontal-default, var(--spacing-4));
|
|
14310
|
+
-webkit-overflow-scrolling: touch;
|
|
14311
|
+
overscroll-behavior: contain;
|
|
14312
|
+
}
|
|
14313
|
+
|
|
14314
|
+
.muka-chat-message-list__inner {
|
|
14315
|
+
display: flex;
|
|
14316
|
+
flex-direction: column;
|
|
14317
|
+
align-items: stretch;
|
|
14318
|
+
gap: var(--spacing-8);
|
|
14319
|
+
width: 100%;
|
|
14320
|
+
max-width: var(--chat-column-max-width);
|
|
14321
|
+
margin: 0 auto;
|
|
14322
|
+
}
|
|
14323
|
+
|
|
14324
|
+
/* ─── Print ────────────────────────────────────────────── */
|
|
13833
14325
|
|
|
13834
|
-
|
|
13835
|
-
|
|
13836
|
-
|
|
13837
|
-
|
|
13838
|
-
|
|
13839
|
-
|
|
13840
|
-
|
|
14326
|
+
@media print {
|
|
14327
|
+
.muka-chat-message-list {
|
|
14328
|
+
overflow: visible;
|
|
14329
|
+
height: auto;
|
|
14330
|
+
max-height: none;
|
|
14331
|
+
background: none;
|
|
14332
|
+
padding: 0;
|
|
13841
14333
|
}
|
|
13842
14334
|
|
|
13843
|
-
.muka-chat-message-
|
|
13844
|
-
|
|
13845
|
-
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
13846
|
-
.muka-chat-message-stack__reasoning {
|
|
13847
|
-
padding-left: 0;
|
|
13848
|
-
padding-right: calc(
|
|
13849
|
-
var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
|
|
13850
|
-
);
|
|
14335
|
+
.muka-chat-message-list__inner {
|
|
14336
|
+
max-width: 100%;
|
|
13851
14337
|
}
|
|
13852
14338
|
}
|
|
13853
14339
|
|
|
@@ -14475,6 +14961,42 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14475
14961
|
}
|
|
14476
14962
|
|
|
14477
14963
|
|
|
14964
|
+
/* ChatChoiceCard */
|
|
14965
|
+
/* ChatChoiceCard — compact option rows (experimental) */
|
|
14966
|
+
.muka-chat-choice__list {
|
|
14967
|
+
display: flex;
|
|
14968
|
+
flex-direction: column;
|
|
14969
|
+
gap: var(--spacing-2);
|
|
14970
|
+
}
|
|
14971
|
+
|
|
14972
|
+
.muka-chat-choice__row {
|
|
14973
|
+
display: flex;
|
|
14974
|
+
align-items: center;
|
|
14975
|
+
min-height: var(--spacing-8);
|
|
14976
|
+
min-width: 0;
|
|
14977
|
+
}
|
|
14978
|
+
|
|
14979
|
+
.muka-chat-choice__row--other {
|
|
14980
|
+
gap: var(--spacing-2);
|
|
14981
|
+
}
|
|
14982
|
+
|
|
14983
|
+
/* The free-text option: the control, then the field filling the row. */
|
|
14984
|
+
.muka-chat-choice__row--other {
|
|
14985
|
+
flex-wrap: nowrap;
|
|
14986
|
+
}
|
|
14987
|
+
|
|
14988
|
+
.muka-chat-choice__row--other > .muka-radio,
|
|
14989
|
+
.muka-chat-choice__row--other > .muka-checkbox {
|
|
14990
|
+
flex: 0 0 auto;
|
|
14991
|
+
}
|
|
14992
|
+
|
|
14993
|
+
.muka-chat-choice__row--other > .muka-input {
|
|
14994
|
+
flex: 1 1 auto;
|
|
14995
|
+
width: auto;
|
|
14996
|
+
min-width: 0;
|
|
14997
|
+
}
|
|
14998
|
+
|
|
14999
|
+
|
|
14478
15000
|
/* ChatAttachmentChip */
|
|
14479
15001
|
/* ChatAttachmentChip Component Styles */
|
|
14480
15002
|
|
|
@@ -14571,245 +15093,63 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14571
15093
|
}
|
|
14572
15094
|
|
|
14573
15095
|
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
|
|
14574
|
-
color: var(--color-state-error-default, var(--color-text-default-default));
|
|
14575
|
-
}
|
|
14576
|
-
|
|
14577
|
-
/* ─── Remove button ────────────────────────────────────── */
|
|
14578
|
-
|
|
14579
|
-
.muka-chat-attachment-chip__remove {
|
|
14580
|
-
display: inline-flex;
|
|
14581
|
-
align-items: center;
|
|
14582
|
-
justify-content: center;
|
|
14583
|
-
width: 20px;
|
|
14584
|
-
height: 20px;
|
|
14585
|
-
border: none;
|
|
14586
|
-
background: none;
|
|
14587
|
-
padding: 0;
|
|
14588
|
-
border-radius: var(--radius-sm);
|
|
14589
|
-
cursor: pointer;
|
|
14590
|
-
color: var(--color-text-subtle-default);
|
|
14591
|
-
flex-shrink: 0;
|
|
14592
|
-
-webkit-tap-highlight-color: transparent;
|
|
14593
|
-
}
|
|
14594
|
-
|
|
14595
|
-
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
14596
|
-
color: var(--color-text-default-default);
|
|
14597
|
-
background-color: var(--color-surface-level2);
|
|
14598
|
-
}
|
|
14599
|
-
|
|
14600
|
-
.muka-chat-attachment-chip__remove:focus-visible {
|
|
14601
|
-
outline: 2px solid var(--color-action-default);
|
|
14602
|
-
outline-offset: 2px;
|
|
14603
|
-
}
|
|
14604
|
-
|
|
14605
|
-
.muka-chat-attachment-chip__remove:disabled {
|
|
14606
|
-
cursor: not-allowed;
|
|
14607
|
-
opacity: 0.5;
|
|
14608
|
-
}
|
|
14609
|
-
|
|
14610
|
-
/* ─── Progress bar ─────────────────────────────────────── */
|
|
14611
|
-
|
|
14612
|
-
.muka-chat-attachment-chip__progress {
|
|
14613
|
-
position: absolute;
|
|
14614
|
-
left: 0;
|
|
14615
|
-
right: 0;
|
|
14616
|
-
bottom: 0;
|
|
14617
|
-
height: 2px;
|
|
14618
|
-
background-color: var(--color-surface-level2);
|
|
14619
|
-
overflow: hidden;
|
|
14620
|
-
}
|
|
14621
|
-
|
|
14622
|
-
.muka-chat-attachment-chip__progress-fill {
|
|
14623
|
-
display: block;
|
|
14624
|
-
height: 100%;
|
|
14625
|
-
background-color: var(--color-action-default);
|
|
14626
|
-
transition: width 0.16s ease;
|
|
14627
|
-
}
|
|
14628
|
-
|
|
14629
|
-
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
14630
|
-
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
14631
|
-
}
|
|
14632
|
-
|
|
14633
|
-
|
|
14634
|
-
/* ChatChoiceCard */
|
|
14635
|
-
/* ChatChoiceCard — compact option rows (experimental) */
|
|
14636
|
-
.muka-chat-choice__list {
|
|
14637
|
-
display: flex;
|
|
14638
|
-
flex-direction: column;
|
|
14639
|
-
gap: var(--spacing-2);
|
|
14640
|
-
}
|
|
14641
|
-
|
|
14642
|
-
.muka-chat-choice__row {
|
|
14643
|
-
display: flex;
|
|
14644
|
-
align-items: center;
|
|
14645
|
-
min-height: var(--spacing-8);
|
|
14646
|
-
min-width: 0;
|
|
14647
|
-
}
|
|
14648
|
-
|
|
14649
|
-
.muka-chat-choice__row--other {
|
|
14650
|
-
gap: var(--spacing-2);
|
|
14651
|
-
}
|
|
14652
|
-
|
|
14653
|
-
/* The free-text option: the control, then the field filling the row. */
|
|
14654
|
-
.muka-chat-choice__row--other {
|
|
14655
|
-
flex-wrap: nowrap;
|
|
14656
|
-
}
|
|
14657
|
-
|
|
14658
|
-
.muka-chat-choice__row--other > .muka-radio,
|
|
14659
|
-
.muka-chat-choice__row--other > .muka-checkbox {
|
|
14660
|
-
flex: 0 0 auto;
|
|
14661
|
-
}
|
|
14662
|
-
|
|
14663
|
-
.muka-chat-choice__row--other > .muka-input {
|
|
14664
|
-
flex: 1 1 auto;
|
|
14665
|
-
width: auto;
|
|
14666
|
-
min-width: 0;
|
|
14667
|
-
}
|
|
14668
|
-
|
|
14669
|
-
|
|
14670
|
-
/* Card */
|
|
14671
|
-
/* Card Component Styles - Using Muka Design Tokens */
|
|
14672
|
-
|
|
14673
|
-
.muka-card {
|
|
14674
|
-
background-color: var(--card-color-default-background);
|
|
14675
|
-
color: var(--card-color-default-foreground);
|
|
14676
|
-
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
14677
|
-
box-shadow: var(--card-shadow-default);
|
|
14678
|
-
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
14679
|
-
overflow: hidden;
|
|
14680
|
-
}
|
|
14681
|
-
|
|
14682
|
-
/* Padding variants */
|
|
14683
|
-
.muka-card--padding-none {
|
|
14684
|
-
padding: 0;
|
|
14685
|
-
}
|
|
14686
|
-
|
|
14687
|
-
.muka-card--padding-sm {
|
|
14688
|
-
padding: var(--card-padding-sm);
|
|
14689
|
-
}
|
|
14690
|
-
|
|
14691
|
-
.muka-card--padding-md {
|
|
14692
|
-
padding: var(--card-padding-md);
|
|
14693
|
-
}
|
|
14694
|
-
|
|
14695
|
-
.muka-card--padding-lg {
|
|
14696
|
-
padding: var(--card-padding-lg);
|
|
14697
|
-
}
|
|
14698
|
-
|
|
14699
|
-
/* Radius variants */
|
|
14700
|
-
.muka-card--radius-sm {
|
|
14701
|
-
border-radius: var(--card-radius-sm);
|
|
14702
|
-
}
|
|
14703
|
-
|
|
14704
|
-
.muka-card--radius-md {
|
|
14705
|
-
border-radius: var(--card-radius-md);
|
|
14706
|
-
}
|
|
14707
|
-
|
|
14708
|
-
.muka-card--radius-lg {
|
|
14709
|
-
border-radius: var(--card-radius-lg);
|
|
14710
|
-
}
|
|
14711
|
-
|
|
14712
|
-
/* Interactive variant */
|
|
14713
|
-
.muka-card--interactive {
|
|
14714
|
-
cursor: pointer;
|
|
14715
|
-
user-select: none;
|
|
14716
|
-
}
|
|
14717
|
-
|
|
14718
|
-
.muka-card--interactive:hover {
|
|
14719
|
-
background-color: var(--card-color-hover-background);
|
|
14720
|
-
border-color: var(--card-color-hover-border);
|
|
14721
|
-
box-shadow: var(--card-shadow-hover);
|
|
14722
|
-
}
|
|
14723
|
-
|
|
14724
|
-
.muka-card--interactive:active,
|
|
14725
|
-
.muka-card--interactive.muka-card--pressed {
|
|
14726
|
-
background-color: var(--card-color-pressed-background);
|
|
14727
|
-
border-color: var(--card-color-pressed-border);
|
|
14728
|
-
box-shadow: var(--card-shadow-pressed);
|
|
14729
|
-
}
|
|
14730
|
-
|
|
14731
|
-
.muka-card--interactive:focus-visible {
|
|
14732
|
-
outline: 2px solid var(--color-border-focus);
|
|
14733
|
-
outline-offset: 2px;
|
|
14734
|
-
}
|
|
14735
|
-
|
|
14736
|
-
/* Selected variant */
|
|
14737
|
-
.muka-card--selected {
|
|
14738
|
-
background-color: var(--card-color-selected-background);
|
|
14739
|
-
border-color: var(--card-color-selected-border);
|
|
14740
|
-
border-width: var(--border-width-bold);
|
|
14741
|
-
box-shadow: var(--card-shadow-selected);
|
|
14742
|
-
}
|
|
14743
|
-
|
|
14744
|
-
/* Tone: sticky note (MUK-105) */
|
|
14745
|
-
.muka-card--tone-note {
|
|
14746
|
-
background-color: var(--card-color-note-background);
|
|
14747
|
-
color: var(--card-color-note-foreground);
|
|
14748
|
-
border-color: var(--card-color-note-border);
|
|
14749
|
-
box-shadow: var(--card-shadow-note);
|
|
14750
|
-
}
|
|
14751
|
-
|
|
14752
|
-
.muka-card--tone-note.muka-card--interactive:hover,
|
|
14753
|
-
.muka-card--tone-note.muka-card--interactive:active,
|
|
14754
|
-
.muka-card--tone-note.muka-card--interactive.muka-card--pressed {
|
|
14755
|
-
background-color: var(--card-color-note-background);
|
|
14756
|
-
border-color: var(--card-color-note-border);
|
|
14757
|
-
}
|
|
14758
|
-
|
|
14759
|
-
.muka-card--tilt-left {
|
|
14760
|
-
transform: rotate(-0.75deg);
|
|
15096
|
+
color: var(--color-state-error-default, var(--color-text-default-default));
|
|
14761
15097
|
}
|
|
14762
15098
|
|
|
14763
|
-
|
|
14764
|
-
transform: rotate(0.6deg);
|
|
14765
|
-
}
|
|
15099
|
+
/* ─── Remove button ────────────────────────────────────── */
|
|
14766
15100
|
|
|
14767
|
-
|
|
14768
|
-
|
|
14769
|
-
|
|
14770
|
-
|
|
14771
|
-
|
|
15101
|
+
.muka-chat-attachment-chip__remove {
|
|
15102
|
+
display: inline-flex;
|
|
15103
|
+
align-items: center;
|
|
15104
|
+
justify-content: center;
|
|
15105
|
+
width: 20px;
|
|
15106
|
+
height: 20px;
|
|
15107
|
+
border: none;
|
|
15108
|
+
background: none;
|
|
15109
|
+
padding: 0;
|
|
15110
|
+
border-radius: var(--radius-sm);
|
|
15111
|
+
cursor: pointer;
|
|
15112
|
+
color: var(--color-text-subtle-default);
|
|
15113
|
+
flex-shrink: 0;
|
|
15114
|
+
-webkit-tap-highlight-color: transparent;
|
|
14772
15115
|
}
|
|
14773
15116
|
|
|
14774
|
-
.muka-
|
|
14775
|
-
|
|
14776
|
-
|
|
15117
|
+
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
15118
|
+
color: var(--color-text-default-default);
|
|
15119
|
+
background-color: var(--color-surface-level2);
|
|
14777
15120
|
}
|
|
14778
15121
|
|
|
14779
|
-
|
|
14780
|
-
|
|
14781
|
-
|
|
15122
|
+
.muka-chat-attachment-chip__remove:focus-visible {
|
|
15123
|
+
outline: 2px solid var(--color-action-default);
|
|
15124
|
+
outline-offset: 2px;
|
|
14782
15125
|
}
|
|
14783
15126
|
|
|
14784
|
-
.muka-
|
|
14785
|
-
|
|
14786
|
-
|
|
14787
|
-
font-family: var(--text-heading-xs-fontFamily);
|
|
14788
|
-
font-weight: var(--text-heading-xs-fontWeight);
|
|
14789
|
-
font-size: var(--text-heading-xs-fontSize);
|
|
14790
|
-
line-height: var(--text-heading-xs-lineHeight);
|
|
14791
|
-
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
15127
|
+
.muka-chat-attachment-chip__remove:disabled {
|
|
15128
|
+
cursor: not-allowed;
|
|
15129
|
+
opacity: 0.5;
|
|
14792
15130
|
}
|
|
14793
15131
|
|
|
14794
|
-
|
|
14795
|
-
|
|
14796
|
-
|
|
14797
|
-
|
|
14798
|
-
|
|
14799
|
-
|
|
14800
|
-
|
|
15132
|
+
/* ─── Progress bar ─────────────────────────────────────── */
|
|
15133
|
+
|
|
15134
|
+
.muka-chat-attachment-chip__progress {
|
|
15135
|
+
position: absolute;
|
|
15136
|
+
left: 0;
|
|
15137
|
+
right: 0;
|
|
15138
|
+
bottom: 0;
|
|
15139
|
+
height: 2px;
|
|
15140
|
+
background-color: var(--color-surface-level2);
|
|
15141
|
+
overflow: hidden;
|
|
14801
15142
|
}
|
|
14802
15143
|
|
|
14803
|
-
|
|
14804
|
-
|
|
14805
|
-
|
|
15144
|
+
.muka-chat-attachment-chip__progress-fill {
|
|
15145
|
+
display: block;
|
|
15146
|
+
height: 100%;
|
|
15147
|
+
background-color: var(--color-action-default);
|
|
15148
|
+
transition: width 0.16s ease;
|
|
14806
15149
|
}
|
|
14807
15150
|
|
|
14808
|
-
|
|
14809
|
-
|
|
14810
|
-
opacity: 0.5;
|
|
14811
|
-
cursor: not-allowed;
|
|
14812
|
-
pointer-events: none;
|
|
15151
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
15152
|
+
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
14813
15153
|
}
|
|
14814
15154
|
|
|
14815
15155
|
|
|
@@ -15167,6 +15507,98 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15167
15507
|
}
|
|
15168
15508
|
|
|
15169
15509
|
|
|
15510
|
+
/* Breadcrumb */
|
|
15511
|
+
/* Breadcrumb Component Styles (Figma: Breadcrumb 6770:12446)
|
|
15512
|
+
*
|
|
15513
|
+
* Every level is a ghost Chip (Chip.css); this file only lays them out,
|
|
15514
|
+
* with the same gap (breadcrumb.gap.separator, 4px) on either side of the
|
|
15515
|
+
* separator.
|
|
15516
|
+
*/
|
|
15517
|
+
|
|
15518
|
+
.muka-breadcrumb__list {
|
|
15519
|
+
display: flex;
|
|
15520
|
+
align-items: center;
|
|
15521
|
+
flex-wrap: wrap;
|
|
15522
|
+
list-style: none;
|
|
15523
|
+
margin: 0;
|
|
15524
|
+
padding: 0;
|
|
15525
|
+
gap: var(--breadcrumb-gap-separator);
|
|
15526
|
+
}
|
|
15527
|
+
|
|
15528
|
+
.muka-breadcrumb__item {
|
|
15529
|
+
display: inline-flex;
|
|
15530
|
+
align-items: center;
|
|
15531
|
+
gap: var(--breadcrumb-gap-separator);
|
|
15532
|
+
min-width: 0;
|
|
15533
|
+
}
|
|
15534
|
+
|
|
15535
|
+
.muka-breadcrumb__separator,
|
|
15536
|
+
.muka-breadcrumb__ellipsis {
|
|
15537
|
+
color: var(--breadcrumb-separator-color);
|
|
15538
|
+
user-select: none;
|
|
15539
|
+
}
|
|
15540
|
+
|
|
15541
|
+
/* Size variants: separator and ellipsis type (the chips size themselves) */
|
|
15542
|
+
.muka-breadcrumb--sm {
|
|
15543
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15544
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
15545
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
15546
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
15547
|
+
}
|
|
15548
|
+
|
|
15549
|
+
.muka-breadcrumb--md {
|
|
15550
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
15551
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
15552
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
15553
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
15554
|
+
}
|
|
15555
|
+
|
|
15556
|
+
.muka-breadcrumb--lg {
|
|
15557
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
15558
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
15559
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
15560
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
15561
|
+
}
|
|
15562
|
+
|
|
15563
|
+
.muka-breadcrumb__menu {
|
|
15564
|
+
min-width: 17.5rem;
|
|
15565
|
+
}
|
|
15566
|
+
|
|
15567
|
+
/*
|
|
15568
|
+
* Truncate: one line. The current page shortens first, down to
|
|
15569
|
+
* breadcrumb.truncate.current.minWidth (4rem: an ellipsis and a few
|
|
15570
|
+
* characters, and below the width of almost any chip, so it rarely reserves
|
|
15571
|
+
* space a short label doesn't use); after that the earlier levels shorten too,
|
|
15572
|
+
* each with an ellipsis.
|
|
15573
|
+
*
|
|
15574
|
+
* Only min-width sets the floor. A width (or flex-basis) on the item would
|
|
15575
|
+
* also become the breadcrumb's intrinsic width, and a breadcrumb sized by its
|
|
15576
|
+
* content would then collapse to the floor.
|
|
15577
|
+
*/
|
|
15578
|
+
.muka-breadcrumb--truncate {
|
|
15579
|
+
min-width: 0;
|
|
15580
|
+
overflow: hidden;
|
|
15581
|
+
}
|
|
15582
|
+
|
|
15583
|
+
.muka-breadcrumb--truncate .muka-breadcrumb__list {
|
|
15584
|
+
flex-wrap: nowrap;
|
|
15585
|
+
min-width: 0;
|
|
15586
|
+
}
|
|
15587
|
+
|
|
15588
|
+
.muka-breadcrumb--truncate .muka-breadcrumb__item {
|
|
15589
|
+
flex: 0 1 auto;
|
|
15590
|
+
}
|
|
15591
|
+
|
|
15592
|
+
.muka-breadcrumb--truncate .muka-breadcrumb__item:last-child {
|
|
15593
|
+
flex-shrink: 1000;
|
|
15594
|
+
min-width: min(var(--breadcrumb-truncate-current-minWidth), 100%);
|
|
15595
|
+
}
|
|
15596
|
+
|
|
15597
|
+
.muka-breadcrumb--truncate .muka-breadcrumb__chip {
|
|
15598
|
+
min-width: 0;
|
|
15599
|
+
}
|
|
15600
|
+
|
|
15601
|
+
|
|
15170
15602
|
/* BottomBar */
|
|
15171
15603
|
/* BottomBar Component Styles */
|
|
15172
15604
|
|
|
@@ -15431,6 +15863,8 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15431
15863
|
flex-direction: column;
|
|
15432
15864
|
align-items: stretch;
|
|
15433
15865
|
padding: var(--spacing-4) var(--spacing-3);
|
|
15866
|
+
/* The rail runs to the top of the screen: clear the status bar there. */
|
|
15867
|
+
padding-top: calc(var(--spacing-4) + env(safe-area-inset-top, 0px));
|
|
15434
15868
|
gap: var(--spacing-1);
|
|
15435
15869
|
}
|
|
15436
15870
|
|
|
@@ -15485,149 +15919,57 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15485
15919
|
display: none;
|
|
15486
15920
|
}
|
|
15487
15921
|
|
|
15488
|
-
.muka-bottombar--desktop-topnav .muka-bottombar__content {
|
|
15489
|
-
flex-direction: row;
|
|
15490
|
-
justify-content: center;
|
|
15491
|
-
gap: var(--spacing-1);
|
|
15492
|
-
padding: 0 var(--spacing-4);
|
|
15493
|
-
max-width: var(--container-max-width-large, 1200px);
|
|
15494
|
-
margin: 0 auto;
|
|
15495
|
-
}
|
|
15496
|
-
|
|
15497
|
-
.muka-bottombar--desktop-topnav .muka-bottombar__tab {
|
|
15498
|
-
flex: 0 0 auto;
|
|
15499
|
-
flex-direction: row;
|
|
15500
|
-
gap: var(--spacing-2);
|
|
15501
|
-
padding: var(--spacing-3) var(--spacing-4);
|
|
15502
|
-
border-radius: 0;
|
|
15503
|
-
border-bottom: 2px solid transparent;
|
|
15504
|
-
}
|
|
15505
|
-
|
|
15506
|
-
.muka-bottombar--desktop-topnav .muka-bottombar__tab--active {
|
|
15507
|
-
border-bottom-color: var(--color-action-default);
|
|
15508
|
-
}
|
|
15509
|
-
|
|
15510
|
-
.muka-bottombar--desktop-topnav .muka-bottombar__tab:hover {
|
|
15511
|
-
background-color: var(--color-surface-level2);
|
|
15512
|
-
}
|
|
15513
|
-
|
|
15514
|
-
.muka-bottombar--desktop-topnav .muka-bottombar__tab-label {
|
|
15515
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
15516
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
15517
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
15518
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
15519
|
-
}
|
|
15520
|
-
|
|
15521
|
-
/* When floating and topnav, remove the floating card styles */
|
|
15522
|
-
.muka-bottombar--desktop-topnav.muka-bottombar--floating {
|
|
15523
|
-
padding: 0;
|
|
15524
|
-
}
|
|
15525
|
-
|
|
15526
|
-
.muka-bottombar--desktop-topnav.muka-bottombar--floating .muka-bottombar__content {
|
|
15527
|
-
background-color: transparent;
|
|
15528
|
-
border-radius: 0;
|
|
15529
|
-
box-shadow: none;
|
|
15530
|
-
}
|
|
15531
|
-
}
|
|
15532
|
-
|
|
15533
|
-
/* ─── Print ────────────────────────────────────────────── */
|
|
15534
|
-
|
|
15535
|
-
@media print {
|
|
15536
|
-
.muka-bottombar {
|
|
15537
|
-
display: none;
|
|
15538
|
-
}
|
|
15539
|
-
}
|
|
15540
|
-
|
|
15541
|
-
|
|
15542
|
-
/* Breadcrumb */
|
|
15543
|
-
/* Breadcrumb Component Styles (Figma: Breadcrumb 6770:12446)
|
|
15544
|
-
*
|
|
15545
|
-
* Every level is a ghost Chip (Chip.css); this file only lays them out,
|
|
15546
|
-
* with the same gap (breadcrumb.gap.separator, 4px) on either side of the
|
|
15547
|
-
* separator.
|
|
15548
|
-
*/
|
|
15549
|
-
|
|
15550
|
-
.muka-breadcrumb__list {
|
|
15551
|
-
display: flex;
|
|
15552
|
-
align-items: center;
|
|
15553
|
-
flex-wrap: wrap;
|
|
15554
|
-
list-style: none;
|
|
15555
|
-
margin: 0;
|
|
15556
|
-
padding: 0;
|
|
15557
|
-
gap: var(--breadcrumb-gap-separator);
|
|
15558
|
-
}
|
|
15559
|
-
|
|
15560
|
-
.muka-breadcrumb__item {
|
|
15561
|
-
display: inline-flex;
|
|
15562
|
-
align-items: center;
|
|
15563
|
-
gap: var(--breadcrumb-gap-separator);
|
|
15564
|
-
min-width: 0;
|
|
15565
|
-
}
|
|
15566
|
-
|
|
15567
|
-
.muka-breadcrumb__separator,
|
|
15568
|
-
.muka-breadcrumb__ellipsis {
|
|
15569
|
-
color: var(--breadcrumb-separator-color);
|
|
15570
|
-
user-select: none;
|
|
15571
|
-
}
|
|
15572
|
-
|
|
15573
|
-
/* Size variants: separator and ellipsis type (the chips size themselves) */
|
|
15574
|
-
.muka-breadcrumb--sm {
|
|
15575
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15576
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
15577
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
15578
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
15579
|
-
}
|
|
15922
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__content {
|
|
15923
|
+
flex-direction: row;
|
|
15924
|
+
justify-content: center;
|
|
15925
|
+
gap: var(--spacing-1);
|
|
15926
|
+
padding: 0 var(--spacing-4);
|
|
15927
|
+
max-width: var(--container-max-width-large, 1200px);
|
|
15928
|
+
margin: 0 auto;
|
|
15929
|
+
}
|
|
15580
15930
|
|
|
15581
|
-
.muka-
|
|
15582
|
-
|
|
15583
|
-
|
|
15584
|
-
|
|
15585
|
-
|
|
15586
|
-
|
|
15931
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab {
|
|
15932
|
+
flex: 0 0 auto;
|
|
15933
|
+
flex-direction: row;
|
|
15934
|
+
gap: var(--spacing-2);
|
|
15935
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
15936
|
+
border-radius: 0;
|
|
15937
|
+
border-bottom: 2px solid transparent;
|
|
15938
|
+
}
|
|
15587
15939
|
|
|
15588
|
-
.muka-
|
|
15589
|
-
|
|
15590
|
-
|
|
15591
|
-
font-size: var(--text-label-lg-regular-fontSize);
|
|
15592
|
-
line-height: var(--text-label-lg-regular-lineHeight);
|
|
15593
|
-
}
|
|
15940
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab--active {
|
|
15941
|
+
border-bottom-color: var(--color-action-default);
|
|
15942
|
+
}
|
|
15594
15943
|
|
|
15595
|
-
.muka-
|
|
15596
|
-
|
|
15597
|
-
}
|
|
15944
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab:hover {
|
|
15945
|
+
background-color: var(--color-surface-level2);
|
|
15946
|
+
}
|
|
15598
15947
|
|
|
15599
|
-
|
|
15600
|
-
|
|
15601
|
-
|
|
15602
|
-
|
|
15603
|
-
|
|
15604
|
-
|
|
15605
|
-
*
|
|
15606
|
-
* Only min-width sets the floor. A width (or flex-basis) on the item would
|
|
15607
|
-
* also become the breadcrumb's intrinsic width, and a breadcrumb sized by its
|
|
15608
|
-
* content would then collapse to the floor.
|
|
15609
|
-
*/
|
|
15610
|
-
.muka-breadcrumb--truncate {
|
|
15611
|
-
min-width: 0;
|
|
15612
|
-
overflow: hidden;
|
|
15613
|
-
}
|
|
15948
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab-label {
|
|
15949
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
15950
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
15951
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
15952
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
15953
|
+
}
|
|
15614
15954
|
|
|
15615
|
-
|
|
15616
|
-
|
|
15617
|
-
|
|
15618
|
-
}
|
|
15955
|
+
/* When floating and topnav, remove the floating card styles */
|
|
15956
|
+
.muka-bottombar--desktop-topnav.muka-bottombar--floating {
|
|
15957
|
+
padding: 0;
|
|
15958
|
+
}
|
|
15619
15959
|
|
|
15620
|
-
.muka-
|
|
15621
|
-
|
|
15960
|
+
.muka-bottombar--desktop-topnav.muka-bottombar--floating .muka-bottombar__content {
|
|
15961
|
+
background-color: transparent;
|
|
15962
|
+
border-radius: 0;
|
|
15963
|
+
box-shadow: none;
|
|
15964
|
+
}
|
|
15622
15965
|
}
|
|
15623
15966
|
|
|
15624
|
-
|
|
15625
|
-
flex-shrink: 1000;
|
|
15626
|
-
min-width: min(var(--breadcrumb-truncate-current-minWidth), 100%);
|
|
15627
|
-
}
|
|
15967
|
+
/* ─── Print ────────────────────────────────────────────── */
|
|
15628
15968
|
|
|
15629
|
-
|
|
15630
|
-
|
|
15969
|
+
@media print {
|
|
15970
|
+
.muka-bottombar {
|
|
15971
|
+
display: none;
|
|
15972
|
+
}
|
|
15631
15973
|
}
|
|
15632
15974
|
|
|
15633
15975
|
|
|
@@ -16383,8 +16725,11 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16383
16725
|
position: relative;
|
|
16384
16726
|
/* Reserved width for the rail; matches BottomBar's desktop-sidebar width. */
|
|
16385
16727
|
--app-shell-sidebar-width: 240px;
|
|
16386
|
-
/* Height of the optional top app bar. */
|
|
16728
|
+
/* Height of the optional top app bar, without the status-bar inset. */
|
|
16387
16729
|
--app-shell-appbar-height: 64px;
|
|
16730
|
+
/* What the app bar actually takes from the top: its height plus the status
|
|
16731
|
+
bar on a device with one (an iPad in an app shell); 0 inset elsewhere. */
|
|
16732
|
+
--app-shell-appbar-offset: calc(var(--app-shell-appbar-height) + env(safe-area-inset-top, 0px));
|
|
16388
16733
|
}
|
|
16389
16734
|
|
|
16390
16735
|
/* Sidebar slot: hidden below the large tier (per-view nav handles small/medium). */
|
|
@@ -16409,7 +16754,10 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16409
16754
|
top: 0;
|
|
16410
16755
|
left: 0;
|
|
16411
16756
|
right: 0;
|
|
16412
|
-
|
|
16757
|
+
/* Extends behind the status bar in its own colour; content starts below it. */
|
|
16758
|
+
box-sizing: border-box;
|
|
16759
|
+
height: var(--app-shell-appbar-offset);
|
|
16760
|
+
padding-top: env(safe-area-inset-top, 0px);
|
|
16413
16761
|
padding-inline: var(--spacing-4);
|
|
16414
16762
|
background-color: var(--color-surface-level3);
|
|
16415
16763
|
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
@@ -16429,15 +16777,15 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16429
16777
|
}
|
|
16430
16778
|
/* When an app bar is present, drop the rail + content below it so nothing overlaps. */
|
|
16431
16779
|
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-app-shell__main {
|
|
16432
|
-
padding-top: var(--app-shell-appbar-
|
|
16780
|
+
padding-top: var(--app-shell-appbar-offset);
|
|
16433
16781
|
}
|
|
16434
16782
|
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
|
|
16435
|
-
top: var(--app-shell-appbar-
|
|
16436
|
-
height: calc(100vh - var(--app-shell-appbar-
|
|
16783
|
+
top: var(--app-shell-appbar-offset);
|
|
16784
|
+
height: calc(100vh - var(--app-shell-appbar-offset));
|
|
16437
16785
|
}
|
|
16438
16786
|
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-view,
|
|
16439
16787
|
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-nav-transition {
|
|
16440
|
-
height: calc(100dvh - var(--app-shell-appbar-
|
|
16788
|
+
height: calc(100dvh - var(--app-shell-appbar-offset));
|
|
16441
16789
|
}
|
|
16442
16790
|
}
|
|
16443
16791
|
|
|
@@ -16452,35 +16800,35 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16452
16800
|
display: flex;
|
|
16453
16801
|
}
|
|
16454
16802
|
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-app-shell__main {
|
|
16455
|
-
padding-top: var(--app-shell-appbar-
|
|
16803
|
+
padding-top: var(--app-shell-appbar-offset);
|
|
16456
16804
|
}
|
|
16457
16805
|
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
|
|
16458
|
-
top: var(--app-shell-appbar-
|
|
16459
|
-
height: calc(100vh - var(--app-shell-appbar-
|
|
16806
|
+
top: var(--app-shell-appbar-offset);
|
|
16807
|
+
height: calc(100vh - var(--app-shell-appbar-offset));
|
|
16460
16808
|
}
|
|
16461
16809
|
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-view,
|
|
16462
16810
|
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-nav-transition {
|
|
16463
|
-
height: calc(100dvh - var(--app-shell-appbar-
|
|
16464
|
-
}
|
|
16465
|
-
|
|
16466
|
-
|
|
16467
|
-
/* Form */
|
|
16468
|
-
.muka-form {
|
|
16469
|
-
display: flex;
|
|
16470
|
-
flex-direction: column;
|
|
16471
|
-
width: 100%;
|
|
16811
|
+
height: calc(100dvh - var(--app-shell-appbar-offset));
|
|
16472
16812
|
}
|
|
16473
16813
|
|
|
16474
|
-
|
|
16475
|
-
|
|
16814
|
+
/* ─── Below an app bar, the status bar is already covered ───
|
|
16815
|
+
The app bar takes the top inset, so the View's TopBar and the sidebar rail
|
|
16816
|
+
under it must not pad for the status bar a second time. */
|
|
16817
|
+
@media (min-width: 1024px) {
|
|
16818
|
+
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-view .muka-topbar {
|
|
16819
|
+
padding-top: 0;
|
|
16820
|
+
}
|
|
16821
|
+
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar .muka-bottombar__content {
|
|
16822
|
+
padding-top: var(--spacing-4);
|
|
16823
|
+
}
|
|
16476
16824
|
}
|
|
16477
16825
|
|
|
16478
|
-
.muka-
|
|
16479
|
-
|
|
16826
|
+
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-view .muka-topbar {
|
|
16827
|
+
padding-top: 0;
|
|
16480
16828
|
}
|
|
16481
16829
|
|
|
16482
|
-
.muka-
|
|
16483
|
-
|
|
16830
|
+
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar .muka-bottombar__content {
|
|
16831
|
+
padding-top: var(--spacing-4);
|
|
16484
16832
|
}
|
|
16485
16833
|
|
|
16486
16834
|
|
|
@@ -17136,3 +17484,149 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
17136
17484
|
border-bottom: none;
|
|
17137
17485
|
}
|
|
17138
17486
|
|
|
17487
|
+
|
|
17488
|
+
/* Card */
|
|
17489
|
+
/* Card Component Styles - Using Muka Design Tokens */
|
|
17490
|
+
|
|
17491
|
+
.muka-card {
|
|
17492
|
+
background-color: var(--card-color-default-background);
|
|
17493
|
+
color: var(--card-color-default-foreground);
|
|
17494
|
+
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
17495
|
+
box-shadow: var(--card-shadow-default);
|
|
17496
|
+
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
17497
|
+
overflow: hidden;
|
|
17498
|
+
}
|
|
17499
|
+
|
|
17500
|
+
/* Padding variants */
|
|
17501
|
+
.muka-card--padding-none {
|
|
17502
|
+
padding: 0;
|
|
17503
|
+
}
|
|
17504
|
+
|
|
17505
|
+
.muka-card--padding-sm {
|
|
17506
|
+
padding: var(--card-padding-sm);
|
|
17507
|
+
}
|
|
17508
|
+
|
|
17509
|
+
.muka-card--padding-md {
|
|
17510
|
+
padding: var(--card-padding-md);
|
|
17511
|
+
}
|
|
17512
|
+
|
|
17513
|
+
.muka-card--padding-lg {
|
|
17514
|
+
padding: var(--card-padding-lg);
|
|
17515
|
+
}
|
|
17516
|
+
|
|
17517
|
+
/* Radius variants */
|
|
17518
|
+
.muka-card--radius-sm {
|
|
17519
|
+
border-radius: var(--card-radius-sm);
|
|
17520
|
+
}
|
|
17521
|
+
|
|
17522
|
+
.muka-card--radius-md {
|
|
17523
|
+
border-radius: var(--card-radius-md);
|
|
17524
|
+
}
|
|
17525
|
+
|
|
17526
|
+
.muka-card--radius-lg {
|
|
17527
|
+
border-radius: var(--card-radius-lg);
|
|
17528
|
+
}
|
|
17529
|
+
|
|
17530
|
+
/* Interactive variant */
|
|
17531
|
+
.muka-card--interactive {
|
|
17532
|
+
cursor: pointer;
|
|
17533
|
+
user-select: none;
|
|
17534
|
+
}
|
|
17535
|
+
|
|
17536
|
+
.muka-card--interactive:hover {
|
|
17537
|
+
background-color: var(--card-color-hover-background);
|
|
17538
|
+
border-color: var(--card-color-hover-border);
|
|
17539
|
+
box-shadow: var(--card-shadow-hover);
|
|
17540
|
+
}
|
|
17541
|
+
|
|
17542
|
+
.muka-card--interactive:active,
|
|
17543
|
+
.muka-card--interactive.muka-card--pressed {
|
|
17544
|
+
background-color: var(--card-color-pressed-background);
|
|
17545
|
+
border-color: var(--card-color-pressed-border);
|
|
17546
|
+
box-shadow: var(--card-shadow-pressed);
|
|
17547
|
+
}
|
|
17548
|
+
|
|
17549
|
+
.muka-card--interactive:focus-visible {
|
|
17550
|
+
outline: 2px solid var(--color-border-focus);
|
|
17551
|
+
outline-offset: 2px;
|
|
17552
|
+
}
|
|
17553
|
+
|
|
17554
|
+
/* Selected variant */
|
|
17555
|
+
.muka-card--selected {
|
|
17556
|
+
background-color: var(--card-color-selected-background);
|
|
17557
|
+
border-color: var(--card-color-selected-border);
|
|
17558
|
+
border-width: var(--border-width-bold);
|
|
17559
|
+
box-shadow: var(--card-shadow-selected);
|
|
17560
|
+
}
|
|
17561
|
+
|
|
17562
|
+
/* Tone: sticky note (MUK-105) */
|
|
17563
|
+
.muka-card--tone-note {
|
|
17564
|
+
background-color: var(--card-color-note-background);
|
|
17565
|
+
color: var(--card-color-note-foreground);
|
|
17566
|
+
border-color: var(--card-color-note-border);
|
|
17567
|
+
box-shadow: var(--card-shadow-note);
|
|
17568
|
+
}
|
|
17569
|
+
|
|
17570
|
+
.muka-card--tone-note.muka-card--interactive:hover,
|
|
17571
|
+
.muka-card--tone-note.muka-card--interactive:active,
|
|
17572
|
+
.muka-card--tone-note.muka-card--interactive.muka-card--pressed {
|
|
17573
|
+
background-color: var(--card-color-note-background);
|
|
17574
|
+
border-color: var(--card-color-note-border);
|
|
17575
|
+
}
|
|
17576
|
+
|
|
17577
|
+
.muka-card--tilt-left {
|
|
17578
|
+
transform: rotate(-0.75deg);
|
|
17579
|
+
}
|
|
17580
|
+
|
|
17581
|
+
.muka-card--tilt-right {
|
|
17582
|
+
transform: rotate(0.6deg);
|
|
17583
|
+
}
|
|
17584
|
+
|
|
17585
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
17586
|
+
.muka-card--tilt-left,
|
|
17587
|
+
.muka-card--tilt-right {
|
|
17588
|
+
transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
17589
|
+
}
|
|
17590
|
+
}
|
|
17591
|
+
|
|
17592
|
+
.muka-card--interactive.muka-card--tilt-left:hover,
|
|
17593
|
+
.muka-card--interactive.muka-card--tilt-right:hover {
|
|
17594
|
+
transform: none;
|
|
17595
|
+
}
|
|
17596
|
+
|
|
17597
|
+
/* Optional header (title + description) */
|
|
17598
|
+
.muka-card__header {
|
|
17599
|
+
margin-bottom: var(--spacing-4);
|
|
17600
|
+
}
|
|
17601
|
+
|
|
17602
|
+
.muka-card__title {
|
|
17603
|
+
margin: 0;
|
|
17604
|
+
color: var(--color-text-default-default);
|
|
17605
|
+
font-family: var(--text-heading-xs-fontFamily);
|
|
17606
|
+
font-weight: var(--text-heading-xs-fontWeight);
|
|
17607
|
+
font-size: var(--text-heading-xs-fontSize);
|
|
17608
|
+
line-height: var(--text-heading-xs-lineHeight);
|
|
17609
|
+
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
17610
|
+
}
|
|
17611
|
+
|
|
17612
|
+
.muka-card__description {
|
|
17613
|
+
margin: var(--spacing-1) 0 0;
|
|
17614
|
+
color: var(--color-text-subtle-default);
|
|
17615
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17616
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17617
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
17618
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17619
|
+
}
|
|
17620
|
+
|
|
17621
|
+
/* Hide divider on last list item inside card */
|
|
17622
|
+
.muka-card > .muka-listitem:last-child > .muka-listitem__divider {
|
|
17623
|
+
display: none;
|
|
17624
|
+
}
|
|
17625
|
+
|
|
17626
|
+
/* Disabled state */
|
|
17627
|
+
.muka-card--disabled {
|
|
17628
|
+
opacity: 0.5;
|
|
17629
|
+
cursor: not-allowed;
|
|
17630
|
+
pointer-events: none;
|
|
17631
|
+
}
|
|
17632
|
+
|