@revikornmann/muka-ui 0.51.0 → 0.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/DocumentViewer/DocumentCanvas.js +11 -9
- package/dist/cjs/components/DocumentViewer/DocumentCanvas.js.map +1 -1
- package/dist/cjs/components/DocumentViewer/DocumentThumbnails.js +5 -3
- package/dist/cjs/components/DocumentViewer/DocumentThumbnails.js.map +1 -1
- package/dist/cjs/components/DocumentViewer/DocumentToolbar.js +4 -2
- package/dist/cjs/components/DocumentViewer/DocumentToolbar.js.map +1 -1
- package/dist/cjs/components/DocumentViewer/DocumentViewer.js +4 -2
- package/dist/cjs/components/DocumentViewer/DocumentViewer.js.map +1 -1
- package/dist/cjs/components/DocumentViewer/index.js.map +1 -1
- package/dist/cjs/components/DocumentViewer/labels.js +43 -0
- package/dist/cjs/components/DocumentViewer/labels.js.map +1 -0
- package/dist/cjs/components/FileUpload/FileUpload.js +4 -11
- package/dist/cjs/components/FileUpload/FileUpload.js.map +1 -1
- package/dist/cjs/components/FileUpload/FileUploadItem.js +2 -9
- package/dist/cjs/components/FileUpload/FileUploadItem.js.map +1 -1
- package/dist/cjs/components/Menu/Menu.css +18 -0
- package/dist/cjs/components/Menu/Menu.js +3 -2
- package/dist/cjs/components/Menu/Menu.js.map +1 -1
- package/dist/cjs/components/PhotoUploader/PhotoUploader.js +65 -13
- package/dist/cjs/components/PhotoUploader/PhotoUploader.js.map +1 -1
- package/dist/cjs/components/PhotoUploader/index.js.map +1 -1
- package/dist/cjs/components/TopBar/TopBar.css +68 -0
- package/dist/cjs/components/TopBar/TopBar.js +11 -2
- package/dist/cjs/components/TopBar/TopBar.js.map +1 -1
- package/dist/cjs/components/TopBar/index.js.map +1 -1
- package/dist/cjs/components/View/View.js +2 -2
- package/dist/cjs/components/View/View.js.map +1 -1
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/cjs/utils/formatBytes.js +13 -0
- package/dist/cjs/utils/formatBytes.js.map +1 -0
- package/dist/esm/components/DocumentViewer/DocumentCanvas.js +12 -10
- package/dist/esm/components/DocumentViewer/DocumentCanvas.js.map +1 -1
- package/dist/esm/components/DocumentViewer/DocumentThumbnails.js +6 -4
- package/dist/esm/components/DocumentViewer/DocumentThumbnails.js.map +1 -1
- package/dist/esm/components/DocumentViewer/DocumentToolbar.js +5 -3
- package/dist/esm/components/DocumentViewer/DocumentToolbar.js.map +1 -1
- package/dist/esm/components/DocumentViewer/DocumentViewer.js +5 -3
- package/dist/esm/components/DocumentViewer/DocumentViewer.js.map +1 -1
- package/dist/esm/components/DocumentViewer/index.js.map +1 -1
- package/dist/esm/components/DocumentViewer/labels.js +39 -0
- package/dist/esm/components/DocumentViewer/labels.js.map +1 -0
- package/dist/esm/components/FileUpload/FileUpload.js +3 -10
- package/dist/esm/components/FileUpload/FileUpload.js.map +1 -1
- package/dist/esm/components/FileUpload/FileUploadItem.js +1 -8
- package/dist/esm/components/FileUpload/FileUploadItem.js.map +1 -1
- package/dist/esm/components/Menu/Menu.css +18 -0
- package/dist/esm/components/Menu/Menu.js +3 -2
- package/dist/esm/components/Menu/Menu.js.map +1 -1
- package/dist/esm/components/PhotoUploader/PhotoUploader.js +66 -14
- package/dist/esm/components/PhotoUploader/PhotoUploader.js.map +1 -1
- package/dist/esm/components/PhotoUploader/index.js.map +1 -1
- package/dist/esm/components/TopBar/TopBar.css +68 -0
- package/dist/esm/components/TopBar/TopBar.js +11 -2
- package/dist/esm/components/TopBar/TopBar.js.map +1 -1
- package/dist/esm/components/TopBar/index.js.map +1 -1
- package/dist/esm/components/View/View.js +2 -2
- package/dist/esm/components/View/View.js.map +1 -1
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/utils/formatBytes.js +10 -0
- package/dist/esm/utils/formatBytes.js.map +1 -0
- package/dist/styles/components/Menu.css +18 -0
- package/dist/styles/components/TopBar.css +68 -0
- package/dist/styles/index.css +2210 -2124
- package/dist/styles/muka-dark.css +2210 -2124
- package/dist/styles/muka-light.css +2210 -2124
- package/dist/styles/wireframe-dark.css +2210 -2124
- package/dist/styles/wireframe-light.css +2210 -2124
- package/dist/types/components/DocumentViewer/DocumentCanvas.d.ts +3 -0
- package/dist/types/components/DocumentViewer/DocumentCanvas.d.ts.map +1 -1
- package/dist/types/components/DocumentViewer/DocumentThumbnails.d.ts +3 -0
- package/dist/types/components/DocumentViewer/DocumentThumbnails.d.ts.map +1 -1
- package/dist/types/components/DocumentViewer/DocumentToolbar.d.ts +3 -0
- package/dist/types/components/DocumentViewer/DocumentToolbar.d.ts.map +1 -1
- package/dist/types/components/DocumentViewer/DocumentViewer.d.ts +3 -0
- package/dist/types/components/DocumentViewer/DocumentViewer.d.ts.map +1 -1
- package/dist/types/components/DocumentViewer/index.d.ts +1 -0
- package/dist/types/components/DocumentViewer/index.d.ts.map +1 -1
- package/dist/types/components/DocumentViewer/labels.d.ts +57 -0
- package/dist/types/components/DocumentViewer/labels.d.ts.map +1 -0
- package/dist/types/components/FileUpload/FileUpload.d.ts.map +1 -1
- package/dist/types/components/FileUpload/FileUploadItem.d.ts.map +1 -1
- package/dist/types/components/Menu/Menu.d.ts +5 -0
- package/dist/types/components/Menu/Menu.d.ts.map +1 -1
- package/dist/types/components/PhotoUploader/PhotoUploader.d.ts +55 -9
- package/dist/types/components/PhotoUploader/PhotoUploader.d.ts.map +1 -1
- package/dist/types/components/PhotoUploader/index.d.ts +1 -1
- package/dist/types/components/PhotoUploader/index.d.ts.map +1 -1
- package/dist/types/components/TopBar/TopBar.d.ts +36 -0
- package/dist/types/components/TopBar/TopBar.d.ts.map +1 -1
- package/dist/types/components/TopBar/index.d.ts +1 -1
- package/dist/types/components/TopBar/index.d.ts.map +1 -1
- package/dist/types/components/View/View.d.ts +11 -0
- package/dist/types/components/View/View.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +3 -3
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/utils/formatBytes.d.ts +3 -0
- package/dist/types/utils/formatBytes.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -2846,6 +2846,7 @@ body {
|
|
|
2846
2846
|
of overlapping it. */
|
|
2847
2847
|
--tb-container-display: grid;
|
|
2848
2848
|
--tb-title-align: center;
|
|
2849
|
+
--tb-title-justify: center;
|
|
2849
2850
|
--tb-title-font-family: var(--text-heading-xs-fontFamily);
|
|
2850
2851
|
--tb-title-font-weight: var(--text-heading-xs-fontWeight);
|
|
2851
2852
|
--tb-title-font-size: var(--text-heading-xs-fontSize);
|
|
@@ -2886,6 +2887,7 @@ body {
|
|
|
2886
2887
|
--tb-pad-y: var(--spacing-4);
|
|
2887
2888
|
--tb-container-display: flex;
|
|
2888
2889
|
--tb-title-align: left;
|
|
2890
|
+
--tb-title-justify: start;
|
|
2889
2891
|
--tb-title-font-family: var(--text-heading-md-fontFamily);
|
|
2890
2892
|
--tb-title-font-weight: var(--text-heading-md-fontWeight);
|
|
2891
2893
|
--tb-title-font-size: var(--text-heading-md-fontSize);
|
|
@@ -2901,6 +2903,7 @@ body {
|
|
|
2901
2903
|
--tb-pad-y: var(--spacing-4);
|
|
2902
2904
|
--tb-container-display: flex;
|
|
2903
2905
|
--tb-title-align: left;
|
|
2906
|
+
--tb-title-justify: start;
|
|
2904
2907
|
--tb-title-font-family: var(--text-heading-md-fontFamily);
|
|
2905
2908
|
--tb-title-font-weight: var(--text-heading-md-fontWeight);
|
|
2906
2909
|
--tb-title-font-size: var(--text-heading-md-fontSize);
|
|
@@ -3023,6 +3026,71 @@ body {
|
|
|
3023
3026
|
margin: 0;
|
|
3024
3027
|
}
|
|
3025
3028
|
|
|
3029
|
+
/* ─── Title with a subtitle ─────────────────────────────
|
|
3030
|
+
The block takes the title's grid cell and stacks the title over a subdued
|
|
3031
|
+
line (subtitle), aligned like the title: centred, start in the large tier. */
|
|
3032
|
+
|
|
3033
|
+
.muka-topbar__title-block {
|
|
3034
|
+
grid-column: 2;
|
|
3035
|
+
display: flex;
|
|
3036
|
+
flex-direction: column;
|
|
3037
|
+
align-items: var(--tb-title-justify);
|
|
3038
|
+
min-width: 0;
|
|
3039
|
+
}
|
|
3040
|
+
|
|
3041
|
+
.muka-topbar__title-block > .muka-topbar__title {
|
|
3042
|
+
max-width: 100%;
|
|
3043
|
+
}
|
|
3044
|
+
|
|
3045
|
+
.muka-topbar__subtitle {
|
|
3046
|
+
max-width: 100%;
|
|
3047
|
+
overflow: hidden;
|
|
3048
|
+
text-overflow: ellipsis;
|
|
3049
|
+
white-space: nowrap;
|
|
3050
|
+
text-align: var(--tb-title-align);
|
|
3051
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
3052
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
3053
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
3054
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
3055
|
+
color: var(--color-text-subtle-default);
|
|
3056
|
+
}
|
|
3057
|
+
|
|
3058
|
+
/* ─── Title as a button (titleTrailing) ──────────────────
|
|
3059
|
+
Same type as the text title, with a trailing glyph; sized to its content so
|
|
3060
|
+
only the title is the hit area, centred (start in the large tier). */
|
|
3061
|
+
|
|
3062
|
+
.muka-topbar__title--button {
|
|
3063
|
+
display: inline-flex;
|
|
3064
|
+
align-items: center;
|
|
3065
|
+
gap: var(--spacing-1);
|
|
3066
|
+
justify-self: var(--tb-title-justify);
|
|
3067
|
+
align-self: var(--tb-title-justify);
|
|
3068
|
+
max-width: 100%;
|
|
3069
|
+
padding: 0;
|
|
3070
|
+
border: 0;
|
|
3071
|
+
background: none;
|
|
3072
|
+
cursor: pointer;
|
|
3073
|
+
border-radius: var(--radius-sm);
|
|
3074
|
+
}
|
|
3075
|
+
|
|
3076
|
+
.muka-topbar__title-text {
|
|
3077
|
+
min-width: 0;
|
|
3078
|
+
overflow: hidden;
|
|
3079
|
+
text-overflow: ellipsis;
|
|
3080
|
+
white-space: nowrap;
|
|
3081
|
+
}
|
|
3082
|
+
|
|
3083
|
+
.muka-topbar__title-glyph {
|
|
3084
|
+
display: inline-flex;
|
|
3085
|
+
flex-shrink: 0;
|
|
3086
|
+
color: var(--color-text-subtle-default);
|
|
3087
|
+
}
|
|
3088
|
+
|
|
3089
|
+
.muka-topbar__title--button:focus-visible {
|
|
3090
|
+
outline: 2px solid var(--color-border-focus);
|
|
3091
|
+
outline-offset: 2px;
|
|
3092
|
+
}
|
|
3093
|
+
|
|
3026
3094
|
/* ─── Trailing slot ───────────────────────────────────── */
|
|
3027
3095
|
|
|
3028
3096
|
.muka-topbar__trailing {
|
|
@@ -5200,156 +5268,6 @@ body {
|
|
|
5200
5268
|
}
|
|
5201
5269
|
|
|
5202
5270
|
|
|
5203
|
-
/* SocialSignInButton */
|
|
5204
|
-
/*
|
|
5205
|
-
* SocialSignInButton lockup colors are provider-mandated (Apple HIG /
|
|
5206
|
-
* Google Identity branding) and intentionally fixed across Muka brands —
|
|
5207
|
-
* same exception pattern as LicensePlateInput regulatory colors.
|
|
5208
|
-
*
|
|
5209
|
-
* Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
|
|
5210
|
-
* Google: https://developers.google.com/identity/branding-guidelines
|
|
5211
|
-
*/
|
|
5212
|
-
.muka-social-sign-in-button {
|
|
5213
|
-
--ssi-white: #ffffff;
|
|
5214
|
-
--ssi-black: #000000;
|
|
5215
|
-
--ssi-google-text-light: #1f1f1f;
|
|
5216
|
-
|
|
5217
|
-
display: inline-flex;
|
|
5218
|
-
align-items: center;
|
|
5219
|
-
justify-content: center;
|
|
5220
|
-
|
|
5221
|
-
/* Provider lockup type — matches Figma / HIG, not brand font tokens.
|
|
5222
|
-
* SF Pro Text is OS-provided on Apple platforms (not redistributable).
|
|
5223
|
-
* Google Sans is not freely shippable; Roboto is the closest system fallback. */
|
|
5224
|
-
font-family: inherit;
|
|
5225
|
-
font-weight: 600;
|
|
5226
|
-
text-decoration: none;
|
|
5227
|
-
white-space: nowrap;
|
|
5228
|
-
|
|
5229
|
-
border: 1px solid transparent;
|
|
5230
|
-
cursor: pointer;
|
|
5231
|
-
user-select: none;
|
|
5232
|
-
transition: opacity 0.15s ease, filter 0.15s ease;
|
|
5233
|
-
|
|
5234
|
-
outline: none;
|
|
5235
|
-
position: relative;
|
|
5236
|
-
box-sizing: border-box;
|
|
5237
|
-
}
|
|
5238
|
-
|
|
5239
|
-
.muka-social-sign-in-button--apple {
|
|
5240
|
-
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
5241
|
-
Helvetica, Arial, sans-serif;
|
|
5242
|
-
font-weight: 600;
|
|
5243
|
-
}
|
|
5244
|
-
|
|
5245
|
-
.muka-social-sign-in-button--google {
|
|
5246
|
-
font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
5247
|
-
font-weight: 500;
|
|
5248
|
-
}
|
|
5249
|
-
|
|
5250
|
-
.muka-social-sign-in-button:focus-visible {
|
|
5251
|
-
outline: 2px solid var(--color-border-focus);
|
|
5252
|
-
outline-offset: 2px;
|
|
5253
|
-
}
|
|
5254
|
-
|
|
5255
|
-
/* Sizes — heights align with Button md/lg */
|
|
5256
|
-
.muka-social-sign-in-button--md {
|
|
5257
|
-
padding: 0 var(--button-padding-md-x);
|
|
5258
|
-
border-radius: var(--button-radius-md);
|
|
5259
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5260
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5261
|
-
min-height: 40px;
|
|
5262
|
-
min-width: 240px;
|
|
5263
|
-
}
|
|
5264
|
-
|
|
5265
|
-
.muka-social-sign-in-button--md .muka-social-sign-in-button__label {
|
|
5266
|
-
padding: 0 var(--button-gap-md);
|
|
5267
|
-
}
|
|
5268
|
-
|
|
5269
|
-
.muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
|
|
5270
|
-
width: var(--button-icon-md);
|
|
5271
|
-
height: var(--button-icon-md);
|
|
5272
|
-
}
|
|
5273
|
-
|
|
5274
|
-
.muka-social-sign-in-button--lg {
|
|
5275
|
-
padding: 0 var(--button-padding-lg-x);
|
|
5276
|
-
border-radius: var(--button-radius-lg);
|
|
5277
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5278
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5279
|
-
min-height: 48px;
|
|
5280
|
-
min-width: 280px;
|
|
5281
|
-
}
|
|
5282
|
-
|
|
5283
|
-
.muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
|
|
5284
|
-
padding: 0 var(--button-gap-lg);
|
|
5285
|
-
}
|
|
5286
|
-
|
|
5287
|
-
.muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
|
|
5288
|
-
width: var(--button-icon-lg);
|
|
5289
|
-
height: var(--button-icon-lg);
|
|
5290
|
-
}
|
|
5291
|
-
|
|
5292
|
-
/* White lockup — for dark surfaces (Apple White with Outline) */
|
|
5293
|
-
.muka-social-sign-in-button--white {
|
|
5294
|
-
background-color: var(--ssi-white);
|
|
5295
|
-
color: var(--ssi-black);
|
|
5296
|
-
border-color: var(--ssi-black);
|
|
5297
|
-
}
|
|
5298
|
-
|
|
5299
|
-
.muka-social-sign-in-button--white.muka-social-sign-in-button--google {
|
|
5300
|
-
color: var(--ssi-google-text-light);
|
|
5301
|
-
}
|
|
5302
|
-
|
|
5303
|
-
/* Black lockup — for light surfaces */
|
|
5304
|
-
.muka-social-sign-in-button--black {
|
|
5305
|
-
background-color: var(--ssi-black);
|
|
5306
|
-
color: var(--ssi-white);
|
|
5307
|
-
border-color: transparent;
|
|
5308
|
-
}
|
|
5309
|
-
|
|
5310
|
-
/* Interaction — luminance/opacity only; no brand tint */
|
|
5311
|
-
.muka-social-sign-in-button:hover:not(:disabled) {
|
|
5312
|
-
filter: brightness(0.92);
|
|
5313
|
-
}
|
|
5314
|
-
|
|
5315
|
-
.muka-social-sign-in-button:active:not(:disabled) {
|
|
5316
|
-
filter: brightness(0.85);
|
|
5317
|
-
}
|
|
5318
|
-
|
|
5319
|
-
.muka-social-sign-in-button:disabled,
|
|
5320
|
-
.muka-social-sign-in-button--disabled {
|
|
5321
|
-
cursor: not-allowed;
|
|
5322
|
-
opacity: 0.4;
|
|
5323
|
-
pointer-events: none;
|
|
5324
|
-
filter: none;
|
|
5325
|
-
}
|
|
5326
|
-
|
|
5327
|
-
.muka-social-sign-in-button--full-width {
|
|
5328
|
-
width: 100%;
|
|
5329
|
-
min-width: 0;
|
|
5330
|
-
}
|
|
5331
|
-
|
|
5332
|
-
.muka-social-sign-in-button__icon {
|
|
5333
|
-
display: inline-flex;
|
|
5334
|
-
align-items: center;
|
|
5335
|
-
justify-content: center;
|
|
5336
|
-
flex-shrink: 0;
|
|
5337
|
-
}
|
|
5338
|
-
|
|
5339
|
-
.muka-social-sign-in-button__icon > *,
|
|
5340
|
-
.muka-social-sign-in-button__icon svg {
|
|
5341
|
-
width: auto;
|
|
5342
|
-
height: 100%;
|
|
5343
|
-
max-width: 100%;
|
|
5344
|
-
display: block;
|
|
5345
|
-
}
|
|
5346
|
-
|
|
5347
|
-
.muka-social-sign-in-button__label {
|
|
5348
|
-
display: inline-flex;
|
|
5349
|
-
align-items: center;
|
|
5350
|
-
}
|
|
5351
|
-
|
|
5352
|
-
|
|
5353
5271
|
/* SmsOtpField */
|
|
5354
5272
|
/* SmsOtpField Component Styles - Using Muka Design Tokens */
|
|
5355
5273
|
|
|
@@ -5542,137 +5460,30 @@ body {
|
|
|
5542
5460
|
}
|
|
5543
5461
|
|
|
5544
5462
|
|
|
5545
|
-
/*
|
|
5546
|
-
/*
|
|
5463
|
+
/* Skeleton */
|
|
5464
|
+
/* Skeleton Component Styles */
|
|
5547
5465
|
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
* Page's `--muka-page-background`, and the base surface.
|
|
5552
|
-
*
|
|
5553
|
-
* Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
|
|
5554
|
-
* running edge to edge, the header extends behind the status bar in its own
|
|
5555
|
-
* colour and keeps its content clear of a landscape notch.
|
|
5556
|
-
*/
|
|
5557
|
-
.muka-site-header {
|
|
5558
|
-
width: 100%;
|
|
5559
|
-
flex-shrink: 0;
|
|
5560
|
-
background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
|
|
5561
|
-
padding-top: env(safe-area-inset-top, 0px);
|
|
5466
|
+
.muka-skeleton {
|
|
5467
|
+
background-color: var(--color-surface-level1);
|
|
5468
|
+
display: block;
|
|
5562
5469
|
}
|
|
5563
5470
|
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5471
|
+
/* Variants */
|
|
5472
|
+
.muka-skeleton--text {
|
|
5473
|
+
height: 1em;
|
|
5474
|
+
border-radius: var(--radius-md);
|
|
5475
|
+
width: 100%;
|
|
5569
5476
|
}
|
|
5570
5477
|
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
*/
|
|
5576
|
-
.muka-site-header:not(.muka-site-header--sticky)::before {
|
|
5577
|
-
content: '';
|
|
5578
|
-
position: fixed;
|
|
5579
|
-
top: 0;
|
|
5580
|
-
left: 0;
|
|
5581
|
-
right: 0;
|
|
5582
|
-
height: env(safe-area-inset-top, 0px);
|
|
5583
|
-
background-color: inherit;
|
|
5584
|
-
pointer-events: none;
|
|
5585
|
-
z-index: 30;
|
|
5478
|
+
.muka-skeleton--circular {
|
|
5479
|
+
width: 2.5rem;
|
|
5480
|
+
height: 2.5rem;
|
|
5481
|
+
border-radius: var(--radius-full);
|
|
5586
5482
|
}
|
|
5587
5483
|
|
|
5588
|
-
.muka-
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
gap: var(--spacing-2);
|
|
5592
|
-
width: 100%;
|
|
5593
|
-
max-width: var(--container-max-width-xl);
|
|
5594
|
-
margin: 0 auto;
|
|
5595
|
-
padding-block: var(--spacing-6);
|
|
5596
|
-
padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
|
|
5597
|
-
padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
|
|
5598
|
-
}
|
|
5599
|
-
|
|
5600
|
-
.muka-site-header__brand {
|
|
5601
|
-
display: flex;
|
|
5602
|
-
align-items: center;
|
|
5603
|
-
flex-shrink: 0;
|
|
5604
|
-
min-width: 0;
|
|
5605
|
-
}
|
|
5606
|
-
|
|
5607
|
-
.muka-site-header__nav {
|
|
5608
|
-
display: none;
|
|
5609
|
-
align-items: center;
|
|
5610
|
-
gap: var(--spacing-1);
|
|
5611
|
-
min-width: 0;
|
|
5612
|
-
}
|
|
5613
|
-
|
|
5614
|
-
.muka-site-header__actions {
|
|
5615
|
-
display: flex;
|
|
5616
|
-
align-items: center;
|
|
5617
|
-
margin-left: auto;
|
|
5618
|
-
min-width: 0;
|
|
5619
|
-
}
|
|
5620
|
-
|
|
5621
|
-
.muka-site-header__action-group {
|
|
5622
|
-
display: flex;
|
|
5623
|
-
align-items: center;
|
|
5624
|
-
gap: var(--spacing-2);
|
|
5625
|
-
}
|
|
5626
|
-
|
|
5627
|
-
/* Small screens: the compact set replaces the full one. */
|
|
5628
|
-
.muka-site-header__action-group--wide {
|
|
5629
|
-
display: none;
|
|
5630
|
-
}
|
|
5631
|
-
|
|
5632
|
-
@media (min-width: 768px) {
|
|
5633
|
-
.muka-site-header__inner {
|
|
5634
|
-
gap: var(--spacing-4);
|
|
5635
|
-
padding-block: var(--spacing-8);
|
|
5636
|
-
}
|
|
5637
|
-
|
|
5638
|
-
.muka-site-header__nav {
|
|
5639
|
-
display: flex;
|
|
5640
|
-
}
|
|
5641
|
-
|
|
5642
|
-
.muka-site-header__action-group--wide {
|
|
5643
|
-
display: flex;
|
|
5644
|
-
}
|
|
5645
|
-
|
|
5646
|
-
.muka-site-header__action-group--compact {
|
|
5647
|
-
display: none;
|
|
5648
|
-
}
|
|
5649
|
-
}
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
/* Skeleton */
|
|
5653
|
-
/* Skeleton Component Styles */
|
|
5654
|
-
|
|
5655
|
-
.muka-skeleton {
|
|
5656
|
-
background-color: var(--color-surface-level1);
|
|
5657
|
-
display: block;
|
|
5658
|
-
}
|
|
5659
|
-
|
|
5660
|
-
/* Variants */
|
|
5661
|
-
.muka-skeleton--text {
|
|
5662
|
-
height: 1em;
|
|
5663
|
-
border-radius: var(--radius-md);
|
|
5664
|
-
width: 100%;
|
|
5665
|
-
}
|
|
5666
|
-
|
|
5667
|
-
.muka-skeleton--circular {
|
|
5668
|
-
width: 2.5rem;
|
|
5669
|
-
height: 2.5rem;
|
|
5670
|
-
border-radius: var(--radius-full);
|
|
5671
|
-
}
|
|
5672
|
-
|
|
5673
|
-
.muka-skeleton--rectangular {
|
|
5674
|
-
height: 7.5rem;
|
|
5675
|
-
border-radius: var(--radius-md);
|
|
5484
|
+
.muka-skeleton--rectangular {
|
|
5485
|
+
height: 7.5rem;
|
|
5486
|
+
border-radius: var(--radius-md);
|
|
5676
5487
|
width: 100%;
|
|
5677
5488
|
}
|
|
5678
5489
|
|
|
@@ -5724,313 +5535,376 @@ body {
|
|
|
5724
5535
|
}
|
|
5725
5536
|
|
|
5726
5537
|
|
|
5727
|
-
/*
|
|
5728
|
-
/*
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
/* ─── Surface ─────────────────────────────────────────── */
|
|
5742
|
-
|
|
5743
|
-
.muka-sheet {
|
|
5744
|
-
position: fixed;
|
|
5745
|
-
left: 0;
|
|
5746
|
-
right: 0;
|
|
5747
|
-
bottom: 0;
|
|
5748
|
-
z-index: 51;
|
|
5538
|
+
/* SocialSignInButton */
|
|
5539
|
+
/*
|
|
5540
|
+
* SocialSignInButton lockup colors are provider-mandated (Apple HIG /
|
|
5541
|
+
* Google Identity branding) and intentionally fixed across Muka brands —
|
|
5542
|
+
* same exception pattern as LicensePlateInput regulatory colors.
|
|
5543
|
+
*
|
|
5544
|
+
* Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
|
|
5545
|
+
* Google: https://developers.google.com/identity/branding-guidelines
|
|
5546
|
+
*/
|
|
5547
|
+
.muka-social-sign-in-button {
|
|
5548
|
+
--ssi-white: #ffffff;
|
|
5549
|
+
--ssi-black: #000000;
|
|
5550
|
+
--ssi-google-text-light: #1f1f1f;
|
|
5749
5551
|
|
|
5750
|
-
display: flex;
|
|
5751
|
-
|
|
5552
|
+
display: inline-flex;
|
|
5553
|
+
align-items: center;
|
|
5554
|
+
justify-content: center;
|
|
5752
5555
|
|
|
5753
|
-
|
|
5556
|
+
/* Provider lockup type — matches Figma / HIG, not brand font tokens.
|
|
5557
|
+
* SF Pro Text is OS-provided on Apple platforms (not redistributable).
|
|
5558
|
+
* Google Sans is not freely shippable; Roboto is the closest system fallback. */
|
|
5559
|
+
font-family: inherit;
|
|
5560
|
+
font-weight: 600;
|
|
5561
|
+
text-decoration: none;
|
|
5562
|
+
white-space: nowrap;
|
|
5754
5563
|
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5564
|
+
border: 1px solid transparent;
|
|
5565
|
+
cursor: pointer;
|
|
5566
|
+
user-select: none;
|
|
5567
|
+
transition: opacity 0.15s ease, filter 0.15s ease;
|
|
5759
5568
|
|
|
5760
5569
|
outline: none;
|
|
5570
|
+
position: relative;
|
|
5571
|
+
box-sizing: border-box;
|
|
5761
5572
|
}
|
|
5762
5573
|
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5574
|
+
.muka-social-sign-in-button--apple {
|
|
5575
|
+
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
5576
|
+
Helvetica, Arial, sans-serif;
|
|
5577
|
+
font-weight: 600;
|
|
5766
5578
|
}
|
|
5767
5579
|
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
5771
|
-
display: flex;
|
|
5772
|
-
justify-content: center;
|
|
5773
|
-
flex-shrink: 0;
|
|
5774
|
-
padding: var(--spacing-3) 0;
|
|
5580
|
+
.muka-social-sign-in-button--google {
|
|
5581
|
+
font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
5582
|
+
font-weight: 500;
|
|
5775
5583
|
}
|
|
5776
5584
|
|
|
5777
|
-
.muka-
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
background-color: var(--dialog-drag-handle-color);
|
|
5781
|
-
border-radius: var(--dialog-drag-handle-radius);
|
|
5585
|
+
.muka-social-sign-in-button:focus-visible {
|
|
5586
|
+
outline: 2px solid var(--color-border-focus);
|
|
5587
|
+
outline-offset: 2px;
|
|
5782
5588
|
}
|
|
5783
5589
|
|
|
5784
|
-
/*
|
|
5785
|
-
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
|
|
5789
|
-
|
|
5790
|
-
-
|
|
5791
|
-
|
|
5590
|
+
/* Sizes — heights align with Button md/lg */
|
|
5591
|
+
.muka-social-sign-in-button--md {
|
|
5592
|
+
padding: 0 var(--button-padding-md-x);
|
|
5593
|
+
border-radius: var(--button-radius-md);
|
|
5594
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5595
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5596
|
+
min-height: 40px;
|
|
5597
|
+
min-width: 240px;
|
|
5792
5598
|
}
|
|
5793
5599
|
|
|
5794
|
-
|
|
5795
|
-
|
|
5796
|
-
.muka-sheet__sr-title {
|
|
5797
|
-
position: absolute;
|
|
5798
|
-
width: 1px;
|
|
5799
|
-
height: 1px;
|
|
5800
|
-
padding: 0;
|
|
5801
|
-
margin: -1px;
|
|
5802
|
-
overflow: hidden;
|
|
5803
|
-
clip: rect(0, 0, 0, 0);
|
|
5804
|
-
white-space: nowrap;
|
|
5805
|
-
border: 0;
|
|
5600
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__label {
|
|
5601
|
+
padding: 0 var(--button-gap-md);
|
|
5806
5602
|
}
|
|
5807
5603
|
|
|
5808
|
-
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
.muka-select {
|
|
5813
|
-
display: inline-flex;
|
|
5814
|
-
flex-direction: column;
|
|
5815
|
-
gap: var(--spacing-2);
|
|
5604
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
|
|
5605
|
+
width: var(--button-icon-md);
|
|
5606
|
+
height: var(--button-icon-md);
|
|
5816
5607
|
}
|
|
5817
5608
|
|
|
5818
|
-
.muka-
|
|
5819
|
-
|
|
5609
|
+
.muka-social-sign-in-button--lg {
|
|
5610
|
+
padding: 0 var(--button-padding-lg-x);
|
|
5611
|
+
border-radius: var(--button-radius-lg);
|
|
5612
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5613
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5614
|
+
min-height: 48px;
|
|
5615
|
+
min-width: 280px;
|
|
5820
5616
|
}
|
|
5821
5617
|
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
color: var(--color-text-default-default);
|
|
5825
|
-
cursor: pointer;
|
|
5618
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
|
|
5619
|
+
padding: 0 var(--button-gap-lg);
|
|
5826
5620
|
}
|
|
5827
5621
|
|
|
5828
|
-
.muka-
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5832
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5622
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
|
|
5623
|
+
width: var(--button-icon-lg);
|
|
5624
|
+
height: var(--button-icon-lg);
|
|
5833
5625
|
}
|
|
5834
5626
|
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
|
|
5839
|
-
|
|
5627
|
+
/* White lockup — for dark surfaces (Apple White with Outline) */
|
|
5628
|
+
.muka-social-sign-in-button--white {
|
|
5629
|
+
background-color: var(--ssi-white);
|
|
5630
|
+
color: var(--ssi-black);
|
|
5631
|
+
border-color: var(--ssi-black);
|
|
5840
5632
|
}
|
|
5841
5633
|
|
|
5842
|
-
.muka-
|
|
5843
|
-
|
|
5844
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
5845
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5846
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5634
|
+
.muka-social-sign-in-button--white.muka-social-sign-in-button--google {
|
|
5635
|
+
color: var(--ssi-google-text-light);
|
|
5847
5636
|
}
|
|
5848
5637
|
|
|
5849
|
-
|
|
5850
|
-
|
|
5638
|
+
/* Black lockup — for light surfaces */
|
|
5639
|
+
.muka-social-sign-in-button--black {
|
|
5640
|
+
background-color: var(--ssi-black);
|
|
5641
|
+
color: var(--ssi-white);
|
|
5642
|
+
border-color: transparent;
|
|
5851
5643
|
}
|
|
5852
5644
|
|
|
5853
|
-
|
|
5854
|
-
.muka-
|
|
5855
|
-
|
|
5856
|
-
cursor: not-allowed;
|
|
5645
|
+
/* Interaction — luminance/opacity only; no brand tint */
|
|
5646
|
+
.muka-social-sign-in-button:hover:not(:disabled) {
|
|
5647
|
+
filter: brightness(0.92);
|
|
5857
5648
|
}
|
|
5858
5649
|
|
|
5859
|
-
|
|
5860
|
-
.
|
|
5861
|
-
display: flex;
|
|
5862
|
-
align-items: center;
|
|
5863
|
-
gap: var(--spacing-2);
|
|
5864
|
-
position: relative;
|
|
5865
|
-
background-color: var(--input-field-color-default-background);
|
|
5866
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
5867
|
-
border-radius: var(--input-field-radius-md);
|
|
5868
|
-
padding: var(--input-field-padding-y) var(--input-field-padding-x);
|
|
5869
|
-
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
5870
|
-
cursor: pointer;
|
|
5871
|
-
box-sizing: border-box;
|
|
5650
|
+
.muka-social-sign-in-button:active:not(:disabled) {
|
|
5651
|
+
filter: brightness(0.85);
|
|
5872
5652
|
}
|
|
5873
5653
|
|
|
5874
|
-
|
|
5875
|
-
.muka-
|
|
5876
|
-
|
|
5877
|
-
|
|
5878
|
-
inset: 0;
|
|
5879
|
-
border-radius: inherit;
|
|
5880
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
5654
|
+
.muka-social-sign-in-button:disabled,
|
|
5655
|
+
.muka-social-sign-in-button--disabled {
|
|
5656
|
+
cursor: not-allowed;
|
|
5657
|
+
opacity: 0.4;
|
|
5881
5658
|
pointer-events: none;
|
|
5659
|
+
filter: none;
|
|
5882
5660
|
}
|
|
5883
5661
|
|
|
5884
|
-
|
|
5885
|
-
|
|
5886
|
-
min-
|
|
5887
|
-
border-radius: var(--input-field-radius-sm);
|
|
5662
|
+
.muka-social-sign-in-button--full-width {
|
|
5663
|
+
width: 100%;
|
|
5664
|
+
min-width: 0;
|
|
5888
5665
|
}
|
|
5889
5666
|
|
|
5890
|
-
.muka-
|
|
5891
|
-
|
|
5892
|
-
|
|
5667
|
+
.muka-social-sign-in-button__icon {
|
|
5668
|
+
display: inline-flex;
|
|
5669
|
+
align-items: center;
|
|
5670
|
+
justify-content: center;
|
|
5671
|
+
flex-shrink: 0;
|
|
5893
5672
|
}
|
|
5894
5673
|
|
|
5895
|
-
.muka-
|
|
5896
|
-
|
|
5897
|
-
|
|
5674
|
+
.muka-social-sign-in-button__icon > *,
|
|
5675
|
+
.muka-social-sign-in-button__icon svg {
|
|
5676
|
+
width: auto;
|
|
5677
|
+
height: 100%;
|
|
5678
|
+
max-width: 100%;
|
|
5679
|
+
display: block;
|
|
5898
5680
|
}
|
|
5899
5681
|
|
|
5900
|
-
|
|
5901
|
-
|
|
5902
|
-
|
|
5903
|
-
.muka-select__field--focused:not(.muka-select__field--disabled) {
|
|
5904
|
-
border-width: var(--border-width-bold);
|
|
5905
|
-
border-color: var(--input-field-color-focus-border);
|
|
5906
|
-
background-color: var(--input-field-color-focus-background);
|
|
5907
|
-
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
5682
|
+
.muka-social-sign-in-button__label {
|
|
5683
|
+
display: inline-flex;
|
|
5684
|
+
align-items: center;
|
|
5908
5685
|
}
|
|
5909
5686
|
|
|
5910
|
-
|
|
5911
|
-
|
|
5912
|
-
|
|
5913
|
-
|
|
5914
|
-
|
|
5915
|
-
|
|
5687
|
+
|
|
5688
|
+
/* SiteHeader */
|
|
5689
|
+
/* SiteHeader Component Styles */
|
|
5690
|
+
|
|
5691
|
+
/*
|
|
5692
|
+
* Header for document-scrolling pages. Its colour comes from, in order:
|
|
5693
|
+
* `--muka-site-header-background` (set by the consumer), the surrounding
|
|
5694
|
+
* Page's `--muka-page-background`, and the base surface.
|
|
5695
|
+
*
|
|
5696
|
+
* Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
|
|
5697
|
+
* running edge to edge, the header extends behind the status bar in its own
|
|
5698
|
+
* colour and keeps its content clear of a landscape notch.
|
|
5699
|
+
*/
|
|
5700
|
+
.muka-site-header {
|
|
5701
|
+
width: 100%;
|
|
5702
|
+
flex-shrink: 0;
|
|
5703
|
+
background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
|
|
5704
|
+
padding-top: env(safe-area-inset-top, 0px);
|
|
5916
5705
|
}
|
|
5917
5706
|
|
|
5918
|
-
|
|
5919
|
-
|
|
5920
|
-
|
|
5921
|
-
|
|
5922
|
-
|
|
5707
|
+
.muka-site-header--sticky {
|
|
5708
|
+
position: sticky;
|
|
5709
|
+
top: 0;
|
|
5710
|
+
z-index: 30;
|
|
5711
|
+
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
5923
5712
|
}
|
|
5924
5713
|
|
|
5925
|
-
|
|
5926
|
-
|
|
5714
|
+
/*
|
|
5715
|
+
* A header that scrolls away would leave the status bar over the content. A
|
|
5716
|
+
* fixed strip in the header's colour stays behind the status bar instead.
|
|
5717
|
+
* Below Muka's overlays, so a dialog's backdrop dims it with the page.
|
|
5718
|
+
*/
|
|
5719
|
+
.muka-site-header:not(.muka-site-header--sticky)::before {
|
|
5720
|
+
content: '';
|
|
5721
|
+
position: fixed;
|
|
5722
|
+
top: 0;
|
|
5723
|
+
left: 0;
|
|
5724
|
+
right: 0;
|
|
5725
|
+
height: env(safe-area-inset-top, 0px);
|
|
5726
|
+
background-color: inherit;
|
|
5727
|
+
pointer-events: none;
|
|
5728
|
+
z-index: 30;
|
|
5927
5729
|
}
|
|
5928
5730
|
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
5933
|
-
flex: 1;
|
|
5934
|
-
border: none;
|
|
5935
|
-
outline: none;
|
|
5936
|
-
background: transparent;
|
|
5937
|
-
color: var(--input-field-color-default-foreground);
|
|
5938
|
-
font-family: var(--text-input-md-fontFamily);
|
|
5939
|
-
font-weight: var(--text-input-md-fontWeight);
|
|
5940
|
-
font-size: var(--text-input-md-fontSize);
|
|
5941
|
-
line-height: var(--text-input-md-lineHeight);
|
|
5942
|
-
padding: 0;
|
|
5943
|
-
padding-right: calc(var(--input-field-padding-x) + 1.5rem);
|
|
5944
|
-
cursor: pointer;
|
|
5945
|
-
min-width: 0;
|
|
5731
|
+
.muka-site-header__inner {
|
|
5732
|
+
display: flex;
|
|
5733
|
+
align-items: center;
|
|
5734
|
+
gap: var(--spacing-2);
|
|
5946
5735
|
width: 100%;
|
|
5736
|
+
max-width: var(--container-max-width-xl);
|
|
5737
|
+
margin: 0 auto;
|
|
5738
|
+
padding-block: var(--spacing-6);
|
|
5739
|
+
padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
|
|
5740
|
+
padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
|
|
5947
5741
|
}
|
|
5948
5742
|
|
|
5949
|
-
.muka-
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
|
|
5953
|
-
|
|
5743
|
+
.muka-site-header__brand {
|
|
5744
|
+
display: flex;
|
|
5745
|
+
align-items: center;
|
|
5746
|
+
flex-shrink: 0;
|
|
5747
|
+
min-width: 0;
|
|
5954
5748
|
}
|
|
5955
5749
|
|
|
5956
|
-
.muka-
|
|
5957
|
-
|
|
5958
|
-
|
|
5959
|
-
|
|
5960
|
-
|
|
5750
|
+
.muka-site-header__nav {
|
|
5751
|
+
display: none;
|
|
5752
|
+
align-items: center;
|
|
5753
|
+
gap: var(--spacing-1);
|
|
5754
|
+
min-width: 0;
|
|
5961
5755
|
}
|
|
5962
5756
|
|
|
5963
|
-
.muka-
|
|
5964
|
-
|
|
5965
|
-
|
|
5757
|
+
.muka-site-header__actions {
|
|
5758
|
+
display: flex;
|
|
5759
|
+
align-items: center;
|
|
5760
|
+
margin-left: auto;
|
|
5761
|
+
min-width: 0;
|
|
5966
5762
|
}
|
|
5967
5763
|
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
display: inline-flex;
|
|
5764
|
+
.muka-site-header__action-group {
|
|
5765
|
+
display: flex;
|
|
5971
5766
|
align-items: center;
|
|
5972
|
-
|
|
5973
|
-
right: var(--input-field-padding-x);
|
|
5974
|
-
pointer-events: none;
|
|
5975
|
-
color: var(--color-text-subtle-default);
|
|
5767
|
+
gap: var(--spacing-2);
|
|
5976
5768
|
}
|
|
5977
5769
|
|
|
5978
|
-
|
|
5979
|
-
|
|
5770
|
+
/* Small screens: the compact set replaces the full one. */
|
|
5771
|
+
.muka-site-header__action-group--wide {
|
|
5772
|
+
display: none;
|
|
5980
5773
|
}
|
|
5981
5774
|
|
|
5982
|
-
|
|
5983
|
-
.muka-
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
|
|
5987
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
5988
|
-
color: var(--color-text-subtle-default);
|
|
5989
|
-
margin: 0;
|
|
5990
|
-
}
|
|
5775
|
+
@media (min-width: 768px) {
|
|
5776
|
+
.muka-site-header__inner {
|
|
5777
|
+
gap: var(--spacing-4);
|
|
5778
|
+
padding-block: var(--spacing-8);
|
|
5779
|
+
}
|
|
5991
5780
|
|
|
5992
|
-
|
|
5993
|
-
|
|
5994
|
-
|
|
5995
|
-
|
|
5996
|
-
|
|
5997
|
-
|
|
5998
|
-
|
|
5999
|
-
|
|
5781
|
+
.muka-site-header__nav {
|
|
5782
|
+
display: flex;
|
|
5783
|
+
}
|
|
5784
|
+
|
|
5785
|
+
.muka-site-header__action-group--wide {
|
|
5786
|
+
display: flex;
|
|
5787
|
+
}
|
|
5788
|
+
|
|
5789
|
+
.muka-site-header__action-group--compact {
|
|
5790
|
+
display: none;
|
|
5791
|
+
}
|
|
6000
5792
|
}
|
|
6001
5793
|
|
|
6002
5794
|
|
|
6003
|
-
/*
|
|
6004
|
-
/*
|
|
5795
|
+
/* Sheet */
|
|
5796
|
+
/* Sheet Component Styles */
|
|
6005
5797
|
|
|
6006
|
-
/*
|
|
6007
|
-
.muka-segmentgroup {
|
|
6008
|
-
display: inline-flex;
|
|
6009
|
-
align-items: center;
|
|
6010
|
-
gap: 0;
|
|
6011
|
-
padding: var(--segmentgroup-container-padding);
|
|
6012
|
-
background-color: var(--segmentgroup-container-background);
|
|
6013
|
-
border-radius: var(--segmentgroup-container-radius);
|
|
6014
|
-
position: relative;
|
|
6015
|
-
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
6016
|
-
}
|
|
5798
|
+
/* ─── Backdrop ────────────────────────────────────────── */
|
|
6017
5799
|
|
|
6018
|
-
|
|
6019
|
-
|
|
6020
|
-
content: '';
|
|
6021
|
-
position: absolute;
|
|
5800
|
+
.muka-sheet__overlay {
|
|
5801
|
+
position: fixed;
|
|
6022
5802
|
inset: 0;
|
|
6023
|
-
|
|
6024
|
-
|
|
6025
|
-
|
|
5803
|
+
background-color: var(--color-surface-backdrop);
|
|
5804
|
+
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
5805
|
+
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
5806
|
+
z-index: 50;
|
|
6026
5807
|
}
|
|
6027
5808
|
|
|
6028
|
-
/*
|
|
6029
|
-
.muka-segmentgroup--full-width {
|
|
6030
|
-
width: 100%;
|
|
6031
|
-
}
|
|
5809
|
+
/* ─── Surface ─────────────────────────────────────────── */
|
|
6032
5810
|
|
|
6033
|
-
.muka-
|
|
5811
|
+
.muka-sheet {
|
|
5812
|
+
position: fixed;
|
|
5813
|
+
left: 0;
|
|
5814
|
+
right: 0;
|
|
5815
|
+
bottom: 0;
|
|
5816
|
+
z-index: 51;
|
|
5817
|
+
|
|
5818
|
+
display: flex;
|
|
5819
|
+
flex-direction: column;
|
|
5820
|
+
|
|
5821
|
+
max-height: 96dvh;
|
|
5822
|
+
|
|
5823
|
+
background-color: var(--color-surface-level3);
|
|
5824
|
+
border-top-left-radius: var(--radius-lg);
|
|
5825
|
+
border-top-right-radius: var(--radius-lg);
|
|
5826
|
+
box-shadow: var(--shadow-level5);
|
|
5827
|
+
|
|
5828
|
+
outline: none;
|
|
5829
|
+
}
|
|
5830
|
+
|
|
5831
|
+
/* Safe-area bottom inset for the iPhone home indicator. */
|
|
5832
|
+
.muka-sheet:not(.muka-sheet--no-safe-area) {
|
|
5833
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
5834
|
+
}
|
|
5835
|
+
|
|
5836
|
+
/* ─── Drag handle ─────────────────────────────────────── */
|
|
5837
|
+
|
|
5838
|
+
.muka-sheet__handle-container {
|
|
5839
|
+
display: flex;
|
|
5840
|
+
justify-content: center;
|
|
5841
|
+
flex-shrink: 0;
|
|
5842
|
+
padding: var(--spacing-3) 0;
|
|
5843
|
+
}
|
|
5844
|
+
|
|
5845
|
+
.muka-sheet__handle {
|
|
5846
|
+
width: var(--dialog-drag-handle-width);
|
|
5847
|
+
height: var(--dialog-drag-handle-height);
|
|
5848
|
+
background-color: var(--dialog-drag-handle-color);
|
|
5849
|
+
border-radius: var(--dialog-drag-handle-radius);
|
|
5850
|
+
}
|
|
5851
|
+
|
|
5852
|
+
/* ─── Body (scrollable) ───────────────────────────────── */
|
|
5853
|
+
|
|
5854
|
+
.muka-sheet__body {
|
|
5855
|
+
flex: 1 1 0%;
|
|
5856
|
+
min-height: 0;
|
|
5857
|
+
overflow-y: auto;
|
|
5858
|
+
-webkit-overflow-scrolling: touch;
|
|
5859
|
+
overscroll-behavior: contain;
|
|
5860
|
+
}
|
|
5861
|
+
|
|
5862
|
+
/* ─── Visually-hidden title (a11y) ────────────────────── */
|
|
5863
|
+
|
|
5864
|
+
.muka-sheet__sr-title {
|
|
5865
|
+
position: absolute;
|
|
5866
|
+
width: 1px;
|
|
5867
|
+
height: 1px;
|
|
5868
|
+
padding: 0;
|
|
5869
|
+
margin: -1px;
|
|
5870
|
+
overflow: hidden;
|
|
5871
|
+
clip: rect(0, 0, 0, 0);
|
|
5872
|
+
white-space: nowrap;
|
|
5873
|
+
border: 0;
|
|
5874
|
+
}
|
|
5875
|
+
|
|
5876
|
+
|
|
5877
|
+
/* SegmentGroup */
|
|
5878
|
+
/* SegmentGroup Component Styles - Using Muka Design Tokens */
|
|
5879
|
+
|
|
5880
|
+
/* Container */
|
|
5881
|
+
.muka-segmentgroup {
|
|
5882
|
+
display: inline-flex;
|
|
5883
|
+
align-items: center;
|
|
5884
|
+
gap: 0;
|
|
5885
|
+
padding: var(--segmentgroup-container-padding);
|
|
5886
|
+
background-color: var(--segmentgroup-container-background);
|
|
5887
|
+
border-radius: var(--segmentgroup-container-radius);
|
|
5888
|
+
position: relative;
|
|
5889
|
+
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
5890
|
+
}
|
|
5891
|
+
|
|
5892
|
+
/* Inset shadow on container */
|
|
5893
|
+
.muka-segmentgroup::after {
|
|
5894
|
+
content: '';
|
|
5895
|
+
position: absolute;
|
|
5896
|
+
inset: 0;
|
|
5897
|
+
border-radius: inherit;
|
|
5898
|
+
box-shadow: var(--segmentgroup-container-shadow);
|
|
5899
|
+
pointer-events: none;
|
|
5900
|
+
}
|
|
5901
|
+
|
|
5902
|
+
/* Full width variant */
|
|
5903
|
+
.muka-segmentgroup--full-width {
|
|
5904
|
+
width: 100%;
|
|
5905
|
+
}
|
|
5906
|
+
|
|
5907
|
+
.muka-segmentgroup--full-width .muka-segmentgroup__segment {
|
|
6034
5908
|
flex: 1;
|
|
6035
5909
|
}
|
|
6036
5910
|
|
|
@@ -6188,123 +6062,317 @@ body {
|
|
|
6188
6062
|
}
|
|
6189
6063
|
|
|
6190
6064
|
|
|
6191
|
-
/*
|
|
6192
|
-
/*
|
|
6065
|
+
/* Select */
|
|
6066
|
+
/* Select Component Styles - Aligned with Input for consistency */
|
|
6193
6067
|
|
|
6194
|
-
.muka-
|
|
6195
|
-
|
|
6068
|
+
.muka-select {
|
|
6069
|
+
display: inline-flex;
|
|
6070
|
+
flex-direction: column;
|
|
6071
|
+
gap: var(--spacing-2);
|
|
6196
6072
|
}
|
|
6197
6073
|
|
|
6198
|
-
.muka-
|
|
6199
|
-
|
|
6200
|
-
padding-inline: var(--section-padding-horizontal-compact);
|
|
6074
|
+
.muka-select--full-width {
|
|
6075
|
+
width: 100%;
|
|
6201
6076
|
}
|
|
6202
6077
|
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6078
|
+
/* Label */
|
|
6079
|
+
.muka-select__label {
|
|
6080
|
+
color: var(--color-text-default-default);
|
|
6081
|
+
cursor: pointer;
|
|
6206
6082
|
}
|
|
6207
6083
|
|
|
6208
|
-
.muka-
|
|
6209
|
-
|
|
6210
|
-
|
|
6084
|
+
.muka-select__label--sm {
|
|
6085
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
6086
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
6087
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
6088
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
6211
6089
|
}
|
|
6212
6090
|
|
|
6091
|
+
.muka-select__label--md {
|
|
6092
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
6093
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
6094
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
6095
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
6096
|
+
}
|
|
6213
6097
|
|
|
6214
|
-
|
|
6215
|
-
|
|
6098
|
+
.muka-select__label--lg {
|
|
6099
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
6100
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
6101
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
6102
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
6103
|
+
}
|
|
6216
6104
|
|
|
6217
|
-
.muka-
|
|
6218
|
-
|
|
6219
|
-
align-items: center;
|
|
6220
|
-
gap: var(--spacing-3);
|
|
6221
|
-
width: 100%;
|
|
6105
|
+
.muka-select__required {
|
|
6106
|
+
color: var(--color-state-error-default);
|
|
6222
6107
|
}
|
|
6223
6108
|
|
|
6224
|
-
|
|
6109
|
+
.muka-select__label--sm + .muka-select__field--disabled,
|
|
6110
|
+
.muka-select__label--md + .muka-select__field--disabled,
|
|
6111
|
+
.muka-select__label--lg + .muka-select__field--disabled {
|
|
6112
|
+
cursor: not-allowed;
|
|
6113
|
+
}
|
|
6225
6114
|
|
|
6226
|
-
|
|
6227
|
-
|
|
6115
|
+
/* Field container — same as Input: 1px border, radius, padding, inset shadow */
|
|
6116
|
+
.muka-select__field {
|
|
6228
6117
|
display: flex;
|
|
6229
6118
|
align-items: center;
|
|
6230
6119
|
gap: var(--spacing-2);
|
|
6120
|
+
position: relative;
|
|
6231
6121
|
background-color: var(--input-field-color-default-background);
|
|
6232
6122
|
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
6233
6123
|
border-radius: var(--input-field-radius-md);
|
|
6234
|
-
padding:
|
|
6235
|
-
transition: border-color 0.
|
|
6124
|
+
padding: var(--input-field-padding-y) var(--input-field-padding-x);
|
|
6125
|
+
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
6126
|
+
cursor: pointer;
|
|
6127
|
+
box-sizing: border-box;
|
|
6236
6128
|
}
|
|
6237
6129
|
|
|
6238
|
-
|
|
6239
|
-
|
|
6130
|
+
/* Inset shadow — same as Input (single subtle line) */
|
|
6131
|
+
.muka-select__field::after {
|
|
6132
|
+
content: '';
|
|
6133
|
+
position: absolute;
|
|
6134
|
+
inset: 0;
|
|
6135
|
+
border-radius: inherit;
|
|
6136
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
6137
|
+
pointer-events: none;
|
|
6240
6138
|
}
|
|
6241
6139
|
|
|
6242
|
-
/*
|
|
6243
|
-
|
|
6244
|
-
.muka-search-input--sm .muka-search-input__field {
|
|
6140
|
+
/* Size variants — same radius/height as Input */
|
|
6141
|
+
.muka-select__field--sm {
|
|
6245
6142
|
min-height: var(--input-field-height-sm);
|
|
6246
6143
|
border-radius: var(--input-field-radius-sm);
|
|
6247
6144
|
}
|
|
6248
6145
|
|
|
6249
|
-
.muka-
|
|
6146
|
+
.muka-select__field--md {
|
|
6250
6147
|
min-height: var(--input-field-height-default);
|
|
6148
|
+
border-radius: var(--input-field-radius-md);
|
|
6251
6149
|
}
|
|
6252
6150
|
|
|
6253
|
-
.muka-
|
|
6151
|
+
.muka-select__field--lg {
|
|
6254
6152
|
min-height: var(--input-field-height-lg);
|
|
6255
6153
|
border-radius: var(--input-field-radius-lg);
|
|
6256
6154
|
}
|
|
6257
6155
|
|
|
6258
|
-
/*
|
|
6156
|
+
/* Hover — no visual change (same as Input) */
|
|
6259
6157
|
|
|
6260
|
-
|
|
6261
|
-
|
|
6262
|
-
border-
|
|
6158
|
+
/* Focus (active) — same as Input: 2px border, padding compensation */
|
|
6159
|
+
.muka-select__field--focused:not(.muka-select__field--disabled) {
|
|
6160
|
+
border-width: var(--border-width-bold);
|
|
6161
|
+
border-color: var(--input-field-color-focus-border);
|
|
6162
|
+
background-color: var(--input-field-color-focus-background);
|
|
6163
|
+
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
6263
6164
|
}
|
|
6264
6165
|
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
|
|
6166
|
+
/* Error — same as Input: 2px border, padding compensation */
|
|
6167
|
+
.muka-select__field--error:not(.muka-select__field--disabled) {
|
|
6168
|
+
border-width: var(--border-width-bold);
|
|
6169
|
+
border-color: var(--input-field-color-error-border);
|
|
6170
|
+
background-color: var(--input-field-color-error-background);
|
|
6171
|
+
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
6268
6172
|
}
|
|
6269
6173
|
|
|
6270
|
-
/*
|
|
6271
|
-
|
|
6272
|
-
|
|
6273
|
-
|
|
6274
|
-
|
|
6174
|
+
/* Disabled — same as Input */
|
|
6175
|
+
.muka-select__field--disabled {
|
|
6176
|
+
background-color: var(--input-field-color-disabled-background);
|
|
6177
|
+
border-color: var(--input-field-color-disabled-border);
|
|
6178
|
+
cursor: not-allowed;
|
|
6275
6179
|
}
|
|
6276
6180
|
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
.muka-search-input__leading {
|
|
6280
|
-
display: inline-flex;
|
|
6281
|
-
align-items: center;
|
|
6282
|
-
justify-content: center;
|
|
6283
|
-
flex-shrink: 0;
|
|
6284
|
-
color: var(--color-text-subtle-default);
|
|
6181
|
+
.muka-select__field--disabled::after {
|
|
6182
|
+
display: none;
|
|
6285
6183
|
}
|
|
6286
6184
|
|
|
6287
|
-
/*
|
|
6288
|
-
|
|
6289
|
-
|
|
6290
|
-
|
|
6291
|
-
|
|
6185
|
+
/* Native select — padding on field so native has 0 + right space for chevron */
|
|
6186
|
+
.muka-select__native {
|
|
6187
|
+
appearance: none;
|
|
6188
|
+
-webkit-appearance: none;
|
|
6189
|
+
flex: 1;
|
|
6292
6190
|
border: none;
|
|
6293
|
-
background: transparent;
|
|
6294
6191
|
outline: none;
|
|
6192
|
+
background: transparent;
|
|
6193
|
+
color: var(--input-field-color-default-foreground);
|
|
6194
|
+
font-family: var(--text-input-md-fontFamily);
|
|
6195
|
+
font-weight: var(--text-input-md-fontWeight);
|
|
6196
|
+
font-size: var(--text-input-md-fontSize);
|
|
6197
|
+
line-height: var(--text-input-md-lineHeight);
|
|
6295
6198
|
padding: 0;
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
|
|
6299
|
-
|
|
6300
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
6301
|
-
appearance: none;
|
|
6302
|
-
-webkit-appearance: none;
|
|
6199
|
+
padding-right: calc(var(--input-field-padding-x) + 1.5rem);
|
|
6200
|
+
cursor: pointer;
|
|
6201
|
+
min-width: 0;
|
|
6202
|
+
width: 100%;
|
|
6303
6203
|
}
|
|
6304
6204
|
|
|
6305
|
-
.muka-
|
|
6306
|
-
|
|
6307
|
-
|
|
6205
|
+
.muka-select__field--sm .muka-select__native {
|
|
6206
|
+
font-family: var(--text-input-sm-fontFamily);
|
|
6207
|
+
font-weight: var(--text-input-sm-fontWeight);
|
|
6208
|
+
font-size: var(--text-input-sm-fontSize);
|
|
6209
|
+
line-height: var(--text-input-sm-lineHeight);
|
|
6210
|
+
}
|
|
6211
|
+
|
|
6212
|
+
.muka-select__field--lg .muka-select__native {
|
|
6213
|
+
font-family: var(--text-input-lg-fontFamily);
|
|
6214
|
+
font-weight: var(--text-input-lg-fontWeight);
|
|
6215
|
+
font-size: var(--text-input-lg-fontSize);
|
|
6216
|
+
line-height: var(--text-input-lg-lineHeight);
|
|
6217
|
+
}
|
|
6218
|
+
|
|
6219
|
+
.muka-select__field--disabled .muka-select__native {
|
|
6220
|
+
color: var(--input-field-color-disabled-foreground);
|
|
6221
|
+
cursor: not-allowed;
|
|
6222
|
+
}
|
|
6223
|
+
|
|
6224
|
+
/* Chevron — aligned with field padding */
|
|
6225
|
+
.muka-select__chevron {
|
|
6226
|
+
display: inline-flex;
|
|
6227
|
+
align-items: center;
|
|
6228
|
+
position: absolute;
|
|
6229
|
+
right: var(--input-field-padding-x);
|
|
6230
|
+
pointer-events: none;
|
|
6231
|
+
color: var(--color-text-subtle-default);
|
|
6232
|
+
}
|
|
6233
|
+
|
|
6234
|
+
.muka-select__field--disabled .muka-select__chevron {
|
|
6235
|
+
color: var(--input-field-color-disabled-foreground);
|
|
6236
|
+
}
|
|
6237
|
+
|
|
6238
|
+
/* Helper text — same as Input */
|
|
6239
|
+
.muka-select__helper {
|
|
6240
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
6241
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
6242
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
6243
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
6244
|
+
color: var(--color-text-subtle-default);
|
|
6245
|
+
margin: 0;
|
|
6246
|
+
}
|
|
6247
|
+
|
|
6248
|
+
/* Error message — same as Input */
|
|
6249
|
+
.muka-select__error {
|
|
6250
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
6251
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
6252
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
6253
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
6254
|
+
color: var(--color-state-error-default);
|
|
6255
|
+
margin: 0;
|
|
6256
|
+
}
|
|
6257
|
+
|
|
6258
|
+
|
|
6259
|
+
/* Section */
|
|
6260
|
+
/* Section Component - Layout tokens (section.padding) */
|
|
6261
|
+
|
|
6262
|
+
.muka-section {
|
|
6263
|
+
box-sizing: border-box;
|
|
6264
|
+
}
|
|
6265
|
+
|
|
6266
|
+
.muka-section--padding-compact {
|
|
6267
|
+
padding-block: var(--section-padding-vertical-compact);
|
|
6268
|
+
padding-inline: var(--section-padding-horizontal-compact);
|
|
6269
|
+
}
|
|
6270
|
+
|
|
6271
|
+
.muka-section--padding-default {
|
|
6272
|
+
padding-block: var(--section-padding-vertical-default);
|
|
6273
|
+
padding-inline: var(--section-padding-horizontal-default);
|
|
6274
|
+
}
|
|
6275
|
+
|
|
6276
|
+
.muka-section--padding-spacious {
|
|
6277
|
+
padding-block: var(--section-padding-vertical-spacious);
|
|
6278
|
+
padding-inline: var(--section-padding-horizontal-spacious);
|
|
6279
|
+
}
|
|
6280
|
+
|
|
6281
|
+
|
|
6282
|
+
/* SearchInput */
|
|
6283
|
+
/* SearchInput Component Styles */
|
|
6284
|
+
|
|
6285
|
+
.muka-search-input {
|
|
6286
|
+
display: flex;
|
|
6287
|
+
align-items: center;
|
|
6288
|
+
gap: var(--spacing-3);
|
|
6289
|
+
width: 100%;
|
|
6290
|
+
}
|
|
6291
|
+
|
|
6292
|
+
/* ─── Field wrapper ───────────────────────────────────── */
|
|
6293
|
+
|
|
6294
|
+
.muka-search-input__field {
|
|
6295
|
+
flex: 1 1 auto;
|
|
6296
|
+
display: flex;
|
|
6297
|
+
align-items: center;
|
|
6298
|
+
gap: var(--spacing-2);
|
|
6299
|
+
background-color: var(--input-field-color-default-background);
|
|
6300
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
6301
|
+
border-radius: var(--input-field-radius-md);
|
|
6302
|
+
padding: 0 var(--input-field-padding-x);
|
|
6303
|
+
transition: border-color 0.12s ease, background-color 0.12s ease;
|
|
6304
|
+
}
|
|
6305
|
+
|
|
6306
|
+
.muka-search-input--focused .muka-search-input__field {
|
|
6307
|
+
border-color: var(--input-field-color-focus-border, var(--color-action-default));
|
|
6308
|
+
}
|
|
6309
|
+
|
|
6310
|
+
/* ─── Sizes ───────────────────────────────────────────── */
|
|
6311
|
+
|
|
6312
|
+
.muka-search-input--sm .muka-search-input__field {
|
|
6313
|
+
min-height: var(--input-field-height-sm);
|
|
6314
|
+
border-radius: var(--input-field-radius-sm);
|
|
6315
|
+
}
|
|
6316
|
+
|
|
6317
|
+
.muka-search-input--md .muka-search-input__field {
|
|
6318
|
+
min-height: var(--input-field-height-default);
|
|
6319
|
+
}
|
|
6320
|
+
|
|
6321
|
+
.muka-search-input--lg .muka-search-input__field {
|
|
6322
|
+
min-height: var(--input-field-height-lg);
|
|
6323
|
+
border-radius: var(--input-field-radius-lg);
|
|
6324
|
+
}
|
|
6325
|
+
|
|
6326
|
+
/* ─── Embedded variant (e.g. inside TopBar) ───────────── */
|
|
6327
|
+
|
|
6328
|
+
.muka-search-input--embedded .muka-search-input__field {
|
|
6329
|
+
background-color: var(--color-surface-level1);
|
|
6330
|
+
border-color: transparent;
|
|
6331
|
+
}
|
|
6332
|
+
|
|
6333
|
+
.muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
|
|
6334
|
+
border-color: transparent;
|
|
6335
|
+
background-color: var(--color-surface-level2);
|
|
6336
|
+
}
|
|
6337
|
+
|
|
6338
|
+
/* ─── Disabled ────────────────────────────────────────── */
|
|
6339
|
+
|
|
6340
|
+
.muka-search-input--disabled .muka-search-input__field {
|
|
6341
|
+
opacity: 0.5;
|
|
6342
|
+
pointer-events: none;
|
|
6343
|
+
}
|
|
6344
|
+
|
|
6345
|
+
/* ─── Leading icon ────────────────────────────────────── */
|
|
6346
|
+
|
|
6347
|
+
.muka-search-input__leading {
|
|
6348
|
+
display: inline-flex;
|
|
6349
|
+
align-items: center;
|
|
6350
|
+
justify-content: center;
|
|
6351
|
+
flex-shrink: 0;
|
|
6352
|
+
color: var(--color-text-subtle-default);
|
|
6353
|
+
}
|
|
6354
|
+
|
|
6355
|
+
/* ─── Input element ───────────────────────────────────── */
|
|
6356
|
+
|
|
6357
|
+
.muka-search-input__input {
|
|
6358
|
+
flex: 1 1 auto;
|
|
6359
|
+
min-width: 0;
|
|
6360
|
+
border: none;
|
|
6361
|
+
background: transparent;
|
|
6362
|
+
outline: none;
|
|
6363
|
+
padding: 0;
|
|
6364
|
+
color: var(--color-text-default-default);
|
|
6365
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
6366
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
6367
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
6368
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
6369
|
+
appearance: none;
|
|
6370
|
+
-webkit-appearance: none;
|
|
6371
|
+
}
|
|
6372
|
+
|
|
6373
|
+
.muka-search-input__input::placeholder {
|
|
6374
|
+
color: var(--color-text-subtle-default);
|
|
6375
|
+
}
|
|
6308
6376
|
|
|
6309
6377
|
/* Hide the browser-supplied clear button (WebKit + Edge) */
|
|
6310
6378
|
.muka-search-input__input::-webkit-search-cancel-button,
|
|
@@ -7060,166 +7128,119 @@ body {
|
|
|
7060
7128
|
}
|
|
7061
7129
|
|
|
7062
7130
|
|
|
7063
|
-
/*
|
|
7064
|
-
/*
|
|
7131
|
+
/* ProgressTracker */
|
|
7132
|
+
/* ProgressTracker Component Styles — Using Muka Design Tokens */
|
|
7065
7133
|
|
|
7066
|
-
|
|
7067
|
-
|
|
7068
|
-
display: flex;
|
|
7069
|
-
flex-direction: column;
|
|
7134
|
+
/* ─── Root ──────────────────────────────────────────────── */
|
|
7135
|
+
.muka-progress-tracker {
|
|
7070
7136
|
width: 100%;
|
|
7071
|
-
height: 100%;
|
|
7072
|
-
overflow: hidden;
|
|
7073
|
-
}
|
|
7074
|
-
|
|
7075
|
-
.muka-pull-to-refresh__indicator {
|
|
7076
|
-
position: absolute;
|
|
7077
|
-
top: 0;
|
|
7078
|
-
left: 0;
|
|
7079
|
-
right: 0;
|
|
7080
|
-
display: flex;
|
|
7081
|
-
align-items: flex-end;
|
|
7082
|
-
justify-content: center;
|
|
7083
|
-
padding-bottom: var(--spacing-2);
|
|
7084
|
-
color: var(--color-text-subtle-default);
|
|
7085
|
-
overflow: hidden;
|
|
7086
|
-
pointer-events: none;
|
|
7087
|
-
z-index: 1;
|
|
7088
7137
|
}
|
|
7089
7138
|
|
|
7090
|
-
.muka-
|
|
7091
|
-
|
|
7092
|
-
align-items: center;
|
|
7093
|
-
justify-content: center;
|
|
7094
|
-
transition: transform 0.16s ease;
|
|
7139
|
+
.muka-progress-tracker--horizontal {
|
|
7140
|
+
padding-bottom: var(--spacing-7);
|
|
7095
7141
|
}
|
|
7096
7142
|
|
|
7097
|
-
.
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
overflow-x:
|
|
7102
|
-
overflow-y:
|
|
7143
|
+
/* Scrollable: the root scrolls sideways when the steps don't fit. The inline
|
|
7144
|
+
padding leaves room for the first and last labels, which hang past their
|
|
7145
|
+
indicators; the scrollbar stays hidden (touch and trackpad still scroll). */
|
|
7146
|
+
.muka-progress-tracker--scrollable {
|
|
7147
|
+
overflow-x: auto;
|
|
7148
|
+
overflow-y: hidden;
|
|
7103
7149
|
-webkit-overflow-scrolling: touch;
|
|
7104
|
-
|
|
7105
|
-
|
|
7106
|
-
|
|
7150
|
+
scrollbar-width: none;
|
|
7151
|
+
padding-inline: var(--spacing-12);
|
|
7152
|
+
box-sizing: border-box;
|
|
7107
7153
|
}
|
|
7108
7154
|
|
|
7155
|
+
.muka-progress-tracker--scrollable::-webkit-scrollbar {
|
|
7156
|
+
display: none;
|
|
7157
|
+
}
|
|
7109
7158
|
|
|
7110
|
-
/*
|
|
7111
|
-
|
|
7159
|
+
/* ─── Track (layered container) ─────────────────────────── */
|
|
7160
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__track {
|
|
7161
|
+
position: relative;
|
|
7162
|
+
/* Vertical padding = (indicator size - connector height) / 2 = (32 - 4) / 2 = 14px */
|
|
7163
|
+
padding-top: 14px;
|
|
7164
|
+
padding-bottom: 14px;
|
|
7165
|
+
}
|
|
7112
7166
|
|
|
7113
|
-
/* ───
|
|
7114
|
-
.muka-progress-
|
|
7115
|
-
|
|
7167
|
+
/* ─── Steps layer (on top) — horizontal ─────────────────── */
|
|
7168
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__steps {
|
|
7169
|
+
position: absolute;
|
|
7170
|
+
inset: 0;
|
|
7116
7171
|
display: flex;
|
|
7117
|
-
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
/* Top padding provides the vertical rhythm between stacked steps */
|
|
7121
|
-
padding-top: var(--spacing-8);
|
|
7172
|
+
align-items: flex-start;
|
|
7173
|
+
justify-content: space-between;
|
|
7174
|
+
z-index: 2;
|
|
7122
7175
|
}
|
|
7123
7176
|
|
|
7124
|
-
/*
|
|
7125
|
-
.muka-progress-
|
|
7126
|
-
.muka-progress-accordeon--current.muka-progress-accordeon--expanded,
|
|
7127
|
-
.muka-progress-accordeon--past.muka-progress-accordeon--expanded,
|
|
7128
|
-
.muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
|
|
7129
|
-
gap: var(--spacing-6);
|
|
7130
|
-
}
|
|
7131
|
-
|
|
7132
|
-
.muka-progress-accordeon--upcoming,
|
|
7133
|
-
.muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
|
|
7134
|
-
.muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
|
|
7135
|
-
.muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
|
|
7136
|
-
gap: var(--spacing-8);
|
|
7137
|
-
}
|
|
7138
|
-
|
|
7139
|
-
/* Collapsible steps group header + slot. The header↔content gap lives inside the
|
|
7140
|
-
collapsing slot (as padding-top) so it collapses with the content, so the
|
|
7141
|
-
body gap itself is 0. */
|
|
7142
|
-
.muka-progress-accordeon__body {
|
|
7177
|
+
/* ─── Individual step — horizontal ──────────────────────── */
|
|
7178
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__step {
|
|
7143
7179
|
display: flex;
|
|
7144
7180
|
flex-direction: column;
|
|
7145
|
-
|
|
7146
|
-
|
|
7181
|
+
align-items: center;
|
|
7182
|
+
position: relative;
|
|
7183
|
+
/* Labels are absolutely positioned so the step stays 32px and
|
|
7184
|
+
circle centers line up with the connector padding. */
|
|
7185
|
+
width: 32px;
|
|
7186
|
+
flex: 0 0 32px;
|
|
7147
7187
|
}
|
|
7148
7188
|
|
|
7149
|
-
/* ───
|
|
7150
|
-
.muka-progress-
|
|
7189
|
+
/* ─── Step indicator (circle) ───────────────────────────── */
|
|
7190
|
+
.muka-progress-tracker__indicator {
|
|
7191
|
+
width: 32px;
|
|
7192
|
+
height: 32px;
|
|
7193
|
+
border-radius: var(--border-radius-full);
|
|
7151
7194
|
display: flex;
|
|
7152
|
-
|
|
7153
|
-
|
|
7154
|
-
|
|
7195
|
+
align-items: center;
|
|
7196
|
+
justify-content: center;
|
|
7197
|
+
flex-shrink: 0;
|
|
7198
|
+
position: relative;
|
|
7199
|
+
z-index: 1;
|
|
7155
7200
|
}
|
|
7156
7201
|
|
|
7157
|
-
|
|
7158
|
-
|
|
7159
|
-
|
|
7160
|
-
|
|
7161
|
-
width: 100%;
|
|
7162
|
-
min-height: 40px;
|
|
7202
|
+
/* Past: dark accent contrast circle with white checkmark */
|
|
7203
|
+
.muka-progress-tracker__indicator--past {
|
|
7204
|
+
background-color: var(--alias-color-accent-contrast);
|
|
7205
|
+
color: var(--color-text-default-inverse);
|
|
7163
7206
|
}
|
|
7164
7207
|
|
|
7165
|
-
.muka-progress-
|
|
7166
|
-
|
|
7167
|
-
flex: 1 0 0;
|
|
7168
|
-
min-width: 0;
|
|
7169
|
-
align-items: flex-start;
|
|
7170
|
-
gap: var(--spacing-4);
|
|
7208
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--interactive {
|
|
7209
|
+
cursor: pointer;
|
|
7171
7210
|
}
|
|
7172
7211
|
|
|
7173
|
-
|
|
7174
|
-
|
|
7175
|
-
|
|
7176
|
-
.muka-progress-accordeon__heading-group {
|
|
7177
|
-
padding-top: var(--spacing-1);
|
|
7212
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--interactive:focus-visible {
|
|
7213
|
+
outline: 2px solid var(--color-border-focus);
|
|
7214
|
+
outline-offset: 2px;
|
|
7178
7215
|
}
|
|
7179
7216
|
|
|
7180
|
-
.muka-progress-
|
|
7181
|
-
|
|
7182
|
-
flex-shrink: 0;
|
|
7183
|
-
align-items: center;
|
|
7184
|
-
gap: var(--spacing-3);
|
|
7217
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--past.muka-progress-tracker__indicator--interactive:hover {
|
|
7218
|
+
background-color: var(--alias-color-accent-pressed);
|
|
7185
7219
|
}
|
|
7186
7220
|
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
width: 32px;
|
|
7190
|
-
height: 32px;
|
|
7191
|
-
flex-shrink: 0;
|
|
7192
|
-
border-radius: var(--border-radius-full);
|
|
7193
|
-
display: flex;
|
|
7194
|
-
align-items: center;
|
|
7195
|
-
justify-content: center;
|
|
7221
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--current.muka-progress-tracker__indicator--interactive:hover {
|
|
7222
|
+
background-color: var(--alias-color-accent-hover);
|
|
7196
7223
|
}
|
|
7197
7224
|
|
|
7198
|
-
/*
|
|
7199
|
-
.muka-progress-
|
|
7200
|
-
|
|
7201
|
-
color: var(--color-text-default-inverse);
|
|
7225
|
+
/* Upcoming (clickableSteps="all"): a 4px halo, the vertical hover's 40px circle */
|
|
7226
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--upcoming.muka-progress-tracker__indicator--interactive:hover {
|
|
7227
|
+
box-shadow: 0 0 0 4px var(--color-surface-level1);
|
|
7202
7228
|
}
|
|
7203
7229
|
|
|
7204
|
-
/* Current: accent circle with
|
|
7205
|
-
.muka-progress-
|
|
7230
|
+
/* Current: accent default circle with white number */
|
|
7231
|
+
.muka-progress-tracker__indicator--current {
|
|
7206
7232
|
background-color: var(--alias-color-accent-default);
|
|
7207
7233
|
color: var(--color-text-default-inverse);
|
|
7208
7234
|
}
|
|
7209
7235
|
|
|
7210
|
-
/* Upcoming: sunken/
|
|
7211
|
-
.muka-progress-
|
|
7236
|
+
/* Upcoming: sunken/gray circle with dark number */
|
|
7237
|
+
.muka-progress-tracker__indicator--upcoming {
|
|
7212
7238
|
background-color: var(--color-surface-sunken);
|
|
7213
7239
|
color: var(--color-text-default-default);
|
|
7214
7240
|
}
|
|
7215
7241
|
|
|
7216
|
-
|
|
7217
|
-
|
|
7218
|
-
height: 20px;
|
|
7219
|
-
color: var(--color-text-default-inverse);
|
|
7220
|
-
}
|
|
7221
|
-
|
|
7222
|
-
.muka-progress-accordeon__number {
|
|
7242
|
+
/* ─── Step number text ──────────────────────────────────── */
|
|
7243
|
+
.muka-progress-tracker__number {
|
|
7223
7244
|
font-family: var(--text-label-md-bold-fontFamily);
|
|
7224
7245
|
font-weight: var(--text-label-md-bold-fontWeight);
|
|
7225
7246
|
font-size: var(--text-label-md-bold-fontSize);
|
|
@@ -7228,354 +7249,96 @@ body {
|
|
|
7228
7249
|
user-select: none;
|
|
7229
7250
|
}
|
|
7230
7251
|
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
font-
|
|
7234
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7235
|
-
}
|
|
7236
|
-
|
|
7237
|
-
/* ─── Heading (responsive: heading/md on wide, heading/sm on narrow) ─────── */
|
|
7238
|
-
.muka-progress-accordeon__heading {
|
|
7239
|
-
flex: 1 0 0;
|
|
7240
|
-
min-width: 0;
|
|
7241
|
-
margin: 0;
|
|
7242
|
-
font-family: var(--text-heading-md-fontFamily);
|
|
7243
|
-
font-weight: var(--text-heading-md-fontWeight);
|
|
7244
|
-
font-size: var(--text-heading-md-fontSize);
|
|
7245
|
-
line-height: var(--text-heading-md-lineHeight);
|
|
7246
|
-
letter-spacing: var(--text-heading-md-letterSpacing);
|
|
7247
|
-
color: var(--color-text-default-default);
|
|
7248
|
-
}
|
|
7249
|
-
|
|
7250
|
-
/* ─── Description ────────────────────────────────────────── */
|
|
7251
|
-
/* Indented 48px (32px indicator + 16px gap) to align under the heading text */
|
|
7252
|
-
.muka-progress-accordeon__description {
|
|
7253
|
-
width: 100%;
|
|
7254
|
-
padding-left: 48px;
|
|
7255
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
7256
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7257
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
7258
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
7259
|
-
color: var(--color-text-default-default);
|
|
7252
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
7253
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
7254
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
7260
7255
|
}
|
|
7261
7256
|
|
|
7262
|
-
|
|
7263
|
-
|
|
7264
|
-
|
|
7257
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
7258
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7259
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7260
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
7261
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
7265
7262
|
}
|
|
7266
7263
|
|
|
7267
|
-
/*
|
|
7268
|
-
.muka-progress-
|
|
7269
|
-
|
|
7264
|
+
/* ─── Checkmark icon ────────────────────────────────────── */
|
|
7265
|
+
.muka-progress-tracker__check-icon {
|
|
7266
|
+
width: 20px;
|
|
7267
|
+
height: 20px;
|
|
7270
7268
|
}
|
|
7271
7269
|
|
|
7272
|
-
/*
|
|
7273
|
-
.
|
|
7274
|
-
|
|
7275
|
-
|
|
7276
|
-
align-items: stretch;
|
|
7277
|
-
width: 100%;
|
|
7270
|
+
/* Past checkmark uses inverse foreground, matching the active step number.
|
|
7271
|
+
Scoped under the indicator to override the Icon component's default color. */
|
|
7272
|
+
.muka-progress-tracker__indicator--past .muka-progress-tracker__check-icon {
|
|
7273
|
+
color: var(--color-text-default-inverse);
|
|
7278
7274
|
}
|
|
7279
7275
|
|
|
7280
|
-
/* ───
|
|
7281
|
-
|
|
7282
|
-
|
|
7283
|
-
|
|
7284
|
-
|
|
7285
|
-
|
|
7286
|
-
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
|
|
7290
|
-
|
|
7276
|
+
/* ─── Step label — horizontal ───────────────────────────── */
|
|
7277
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__label {
|
|
7278
|
+
position: absolute;
|
|
7279
|
+
top: 39px;
|
|
7280
|
+
left: 50%;
|
|
7281
|
+
transform: translateX(-50%);
|
|
7282
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
7283
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
7284
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
7285
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
7286
|
+
color: var(--color-text-default-default);
|
|
7287
|
+
text-align: center;
|
|
7288
|
+
max-width: 120px;
|
|
7289
|
+
white-space: nowrap;
|
|
7290
|
+
overflow: hidden;
|
|
7291
|
+
text-overflow: ellipsis;
|
|
7291
7292
|
}
|
|
7292
7293
|
|
|
7293
|
-
|
|
7294
|
-
|
|
7295
|
-
|
|
7296
|
-
|
|
7297
|
-
grid-template-rows var(--motion-duration-view) var(--motion-easing-exit),
|
|
7298
|
-
opacity calc(var(--motion-duration-view) * 0.6) var(--motion-easing-exit);
|
|
7294
|
+
/* Current step label is bold (horizontal only) */
|
|
7295
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__label--current {
|
|
7296
|
+
font-family: var(--text-label-sm-bold-fontFamily);
|
|
7297
|
+
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
7299
7298
|
}
|
|
7300
7299
|
|
|
7301
|
-
/*
|
|
7302
|
-
|
|
7303
|
-
|
|
7304
|
-
|
|
7305
|
-
|
|
7306
|
-
|
|
7300
|
+
/* Selected step: a pill behind the label (horizontal), matching the vertical
|
|
7301
|
+
selected pill's surface. The label stays centred under its indicator. */
|
|
7302
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__step[data-selected='true'] .muka-progress-tracker__label {
|
|
7303
|
+
padding: 0 var(--spacing-2);
|
|
7304
|
+
border-radius: var(--border-radius-full);
|
|
7305
|
+
background-color: var(--color-surface-level1);
|
|
7306
|
+
max-width: calc(120px + 2 * var(--spacing-2));
|
|
7307
7307
|
}
|
|
7308
7308
|
|
|
7309
|
-
/*
|
|
7310
|
-
|
|
7311
|
-
.muka-progress-accordeon__panel {
|
|
7309
|
+
/* ─── Connectors layer (behind indicators) — horizontal ─── */
|
|
7310
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__connectors {
|
|
7312
7311
|
display: flex;
|
|
7313
|
-
|
|
7314
|
-
|
|
7315
|
-
|
|
7316
|
-
padding-
|
|
7317
|
-
|
|
7312
|
+
align-items: center;
|
|
7313
|
+
/* Horizontal padding = indicator radius (32/2 = 16px) so lines meet circle centers */
|
|
7314
|
+
padding-left: var(--spacing-4);
|
|
7315
|
+
padding-right: var(--spacing-4);
|
|
7316
|
+
position: relative;
|
|
7317
|
+
z-index: 1;
|
|
7318
7318
|
}
|
|
7319
7319
|
|
|
7320
|
-
/*
|
|
7321
|
-
.
|
|
7320
|
+
/* Rounder, bar, rounder in a row. Chromium treats a negative gap as invalid,
|
|
7321
|
+
so the overlap is margins: the bar runs 2px under each circle. */
|
|
7322
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__connector {
|
|
7322
7323
|
display: flex;
|
|
7323
|
-
|
|
7324
|
-
|
|
7325
|
-
|
|
7324
|
+
flex-direction: row;
|
|
7325
|
+
align-items: center;
|
|
7326
|
+
flex: 1 0 0;
|
|
7327
|
+
height: 4px;
|
|
7328
|
+
min-width: 1px;
|
|
7329
|
+
position: relative;
|
|
7330
|
+
overflow: visible;
|
|
7331
|
+
background: none;
|
|
7326
7332
|
}
|
|
7327
7333
|
|
|
7328
|
-
.muka-progress-
|
|
7329
|
-
|
|
7334
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__connector-line {
|
|
7335
|
+
flex: 1 1 auto;
|
|
7336
|
+
height: 4px;
|
|
7337
|
+
min-width: 1px;
|
|
7330
7338
|
}
|
|
7331
7339
|
|
|
7332
|
-
|
|
7333
|
-
|
|
7334
|
-
width: 100%;
|
|
7335
|
-
}
|
|
7336
|
-
|
|
7337
|
-
/* ─── Responsive (narrow container) ──────────────────────── */
|
|
7338
|
-
@container (max-width: 480px) {
|
|
7339
|
-
/* Heading steps down to heading/sm. The 24px line-height is shorter than the
|
|
7340
|
-
32px step indicator, so nudge the text down to keep a single line centred. */
|
|
7341
|
-
.muka-progress-accordeon__heading {
|
|
7342
|
-
font-size: var(--text-heading-sm-fontSize);
|
|
7343
|
-
line-height: var(--text-heading-sm-lineHeight);
|
|
7344
|
-
padding-top: var(--spacing-1);
|
|
7345
|
-
}
|
|
7346
|
-
|
|
7347
|
-
/* Edit button swaps to the icon-only variant */
|
|
7348
|
-
.muka-progress-accordeon__edit--wide {
|
|
7349
|
-
display: none;
|
|
7350
|
-
}
|
|
7351
|
-
|
|
7352
|
-
.muka-progress-accordeon__edit--narrow {
|
|
7353
|
-
display: inline-flex;
|
|
7354
|
-
}
|
|
7355
|
-
|
|
7356
|
-
/* Action buttons stretch to fill the row */
|
|
7357
|
-
.muka-progress-accordeon__actions {
|
|
7358
|
-
justify-content: stretch;
|
|
7359
|
-
}
|
|
7360
|
-
|
|
7361
|
-
.muka-progress-accordeon__action {
|
|
7362
|
-
flex: 1 0 0;
|
|
7363
|
-
min-width: 0;
|
|
7364
|
-
}
|
|
7365
|
-
}
|
|
7366
|
-
|
|
7367
|
-
|
|
7368
|
-
/* ProgressTracker */
|
|
7369
|
-
/* ProgressTracker Component Styles — Using Muka Design Tokens */
|
|
7370
|
-
|
|
7371
|
-
/* ─── Root ──────────────────────────────────────────────── */
|
|
7372
|
-
.muka-progress-tracker {
|
|
7373
|
-
width: 100%;
|
|
7374
|
-
}
|
|
7375
|
-
|
|
7376
|
-
.muka-progress-tracker--horizontal {
|
|
7377
|
-
padding-bottom: var(--spacing-7);
|
|
7378
|
-
}
|
|
7379
|
-
|
|
7380
|
-
/* Scrollable: the root scrolls sideways when the steps don't fit. The inline
|
|
7381
|
-
padding leaves room for the first and last labels, which hang past their
|
|
7382
|
-
indicators; the scrollbar stays hidden (touch and trackpad still scroll). */
|
|
7383
|
-
.muka-progress-tracker--scrollable {
|
|
7384
|
-
overflow-x: auto;
|
|
7385
|
-
overflow-y: hidden;
|
|
7386
|
-
-webkit-overflow-scrolling: touch;
|
|
7387
|
-
scrollbar-width: none;
|
|
7388
|
-
padding-inline: var(--spacing-12);
|
|
7389
|
-
box-sizing: border-box;
|
|
7390
|
-
}
|
|
7391
|
-
|
|
7392
|
-
.muka-progress-tracker--scrollable::-webkit-scrollbar {
|
|
7393
|
-
display: none;
|
|
7394
|
-
}
|
|
7395
|
-
|
|
7396
|
-
/* ─── Track (layered container) ─────────────────────────── */
|
|
7397
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__track {
|
|
7398
|
-
position: relative;
|
|
7399
|
-
/* Vertical padding = (indicator size - connector height) / 2 = (32 - 4) / 2 = 14px */
|
|
7400
|
-
padding-top: 14px;
|
|
7401
|
-
padding-bottom: 14px;
|
|
7402
|
-
}
|
|
7403
|
-
|
|
7404
|
-
/* ─── Steps layer (on top) — horizontal ─────────────────── */
|
|
7405
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__steps {
|
|
7406
|
-
position: absolute;
|
|
7407
|
-
inset: 0;
|
|
7408
|
-
display: flex;
|
|
7409
|
-
align-items: flex-start;
|
|
7410
|
-
justify-content: space-between;
|
|
7411
|
-
z-index: 2;
|
|
7412
|
-
}
|
|
7413
|
-
|
|
7414
|
-
/* ─── Individual step — horizontal ──────────────────────── */
|
|
7415
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__step {
|
|
7416
|
-
display: flex;
|
|
7417
|
-
flex-direction: column;
|
|
7418
|
-
align-items: center;
|
|
7419
|
-
position: relative;
|
|
7420
|
-
/* Labels are absolutely positioned so the step stays 32px and
|
|
7421
|
-
circle centers line up with the connector padding. */
|
|
7422
|
-
width: 32px;
|
|
7423
|
-
flex: 0 0 32px;
|
|
7424
|
-
}
|
|
7425
|
-
|
|
7426
|
-
/* ─── Step indicator (circle) ───────────────────────────── */
|
|
7427
|
-
.muka-progress-tracker__indicator {
|
|
7428
|
-
width: 32px;
|
|
7429
|
-
height: 32px;
|
|
7430
|
-
border-radius: var(--border-radius-full);
|
|
7431
|
-
display: flex;
|
|
7432
|
-
align-items: center;
|
|
7433
|
-
justify-content: center;
|
|
7434
|
-
flex-shrink: 0;
|
|
7435
|
-
position: relative;
|
|
7436
|
-
z-index: 1;
|
|
7437
|
-
}
|
|
7438
|
-
|
|
7439
|
-
/* Past: dark accent contrast circle with white checkmark */
|
|
7440
|
-
.muka-progress-tracker__indicator--past {
|
|
7441
|
-
background-color: var(--alias-color-accent-contrast);
|
|
7442
|
-
color: var(--color-text-default-inverse);
|
|
7443
|
-
}
|
|
7444
|
-
|
|
7445
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--interactive {
|
|
7446
|
-
cursor: pointer;
|
|
7447
|
-
}
|
|
7448
|
-
|
|
7449
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--interactive:focus-visible {
|
|
7450
|
-
outline: 2px solid var(--color-border-focus);
|
|
7451
|
-
outline-offset: 2px;
|
|
7452
|
-
}
|
|
7453
|
-
|
|
7454
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--past.muka-progress-tracker__indicator--interactive:hover {
|
|
7455
|
-
background-color: var(--alias-color-accent-pressed);
|
|
7456
|
-
}
|
|
7457
|
-
|
|
7458
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--current.muka-progress-tracker__indicator--interactive:hover {
|
|
7459
|
-
background-color: var(--alias-color-accent-hover);
|
|
7460
|
-
}
|
|
7461
|
-
|
|
7462
|
-
/* Upcoming (clickableSteps="all"): a 4px halo, the vertical hover's 40px circle */
|
|
7463
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--upcoming.muka-progress-tracker__indicator--interactive:hover {
|
|
7464
|
-
box-shadow: 0 0 0 4px var(--color-surface-level1);
|
|
7465
|
-
}
|
|
7466
|
-
|
|
7467
|
-
/* Current: accent default circle with white number */
|
|
7468
|
-
.muka-progress-tracker__indicator--current {
|
|
7469
|
-
background-color: var(--alias-color-accent-default);
|
|
7470
|
-
color: var(--color-text-default-inverse);
|
|
7471
|
-
}
|
|
7472
|
-
|
|
7473
|
-
/* Upcoming: sunken/gray circle with dark number */
|
|
7474
|
-
.muka-progress-tracker__indicator--upcoming {
|
|
7475
|
-
background-color: var(--color-surface-sunken);
|
|
7476
|
-
color: var(--color-text-default-default);
|
|
7477
|
-
}
|
|
7478
|
-
|
|
7479
|
-
/* ─── Step number text ──────────────────────────────────── */
|
|
7480
|
-
.muka-progress-tracker__number {
|
|
7481
|
-
font-family: var(--text-label-md-bold-fontFamily);
|
|
7482
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
7483
|
-
font-size: var(--text-label-md-bold-fontSize);
|
|
7484
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
7485
|
-
text-align: center;
|
|
7486
|
-
user-select: none;
|
|
7487
|
-
}
|
|
7488
|
-
|
|
7489
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
7490
|
-
font-family: var(--text-label-md-bold-fontFamily);
|
|
7491
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
7492
|
-
}
|
|
7493
|
-
|
|
7494
|
-
.muka-progress-tracker--vertical .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
7495
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7496
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7497
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
7498
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
7499
|
-
}
|
|
7500
|
-
|
|
7501
|
-
/* ─── Checkmark icon ────────────────────────────────────── */
|
|
7502
|
-
.muka-progress-tracker__check-icon {
|
|
7503
|
-
width: 20px;
|
|
7504
|
-
height: 20px;
|
|
7505
|
-
}
|
|
7506
|
-
|
|
7507
|
-
/* Past checkmark uses inverse foreground, matching the active step number.
|
|
7508
|
-
Scoped under the indicator to override the Icon component's default color. */
|
|
7509
|
-
.muka-progress-tracker__indicator--past .muka-progress-tracker__check-icon {
|
|
7510
|
-
color: var(--color-text-default-inverse);
|
|
7511
|
-
}
|
|
7512
|
-
|
|
7513
|
-
/* ─── Step label — horizontal ───────────────────────────── */
|
|
7514
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__label {
|
|
7515
|
-
position: absolute;
|
|
7516
|
-
top: 39px;
|
|
7517
|
-
left: 50%;
|
|
7518
|
-
transform: translateX(-50%);
|
|
7519
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
7520
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
7521
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
7522
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
7523
|
-
color: var(--color-text-default-default);
|
|
7524
|
-
text-align: center;
|
|
7525
|
-
max-width: 120px;
|
|
7526
|
-
white-space: nowrap;
|
|
7527
|
-
overflow: hidden;
|
|
7528
|
-
text-overflow: ellipsis;
|
|
7529
|
-
}
|
|
7530
|
-
|
|
7531
|
-
/* Current step label is bold (horizontal only) */
|
|
7532
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__label--current {
|
|
7533
|
-
font-family: var(--text-label-sm-bold-fontFamily);
|
|
7534
|
-
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
7535
|
-
}
|
|
7536
|
-
|
|
7537
|
-
/* Selected step: a pill behind the label (horizontal), matching the vertical
|
|
7538
|
-
selected pill's surface. The label stays centred under its indicator. */
|
|
7539
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__step[data-selected='true'] .muka-progress-tracker__label {
|
|
7540
|
-
padding: 0 var(--spacing-2);
|
|
7541
|
-
border-radius: var(--border-radius-full);
|
|
7542
|
-
background-color: var(--color-surface-level1);
|
|
7543
|
-
max-width: calc(120px + 2 * var(--spacing-2));
|
|
7544
|
-
}
|
|
7545
|
-
|
|
7546
|
-
/* ─── Connectors layer (behind indicators) — horizontal ─── */
|
|
7547
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__connectors {
|
|
7548
|
-
display: flex;
|
|
7549
|
-
align-items: center;
|
|
7550
|
-
/* Horizontal padding = indicator radius (32/2 = 16px) so lines meet circle centers */
|
|
7551
|
-
padding-left: var(--spacing-4);
|
|
7552
|
-
padding-right: var(--spacing-4);
|
|
7553
|
-
position: relative;
|
|
7554
|
-
z-index: 1;
|
|
7555
|
-
}
|
|
7556
|
-
|
|
7557
|
-
/* Rounder, bar, rounder in a row. Chromium treats a negative gap as invalid,
|
|
7558
|
-
so the overlap is margins: the bar runs 2px under each circle. */
|
|
7559
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__connector {
|
|
7560
|
-
display: flex;
|
|
7561
|
-
flex-direction: row;
|
|
7562
|
-
align-items: center;
|
|
7563
|
-
flex: 1 0 0;
|
|
7564
|
-
height: 4px;
|
|
7565
|
-
min-width: 1px;
|
|
7566
|
-
position: relative;
|
|
7567
|
-
overflow: visible;
|
|
7568
|
-
background: none;
|
|
7569
|
-
}
|
|
7570
|
-
|
|
7571
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__connector-line {
|
|
7572
|
-
flex: 1 1 auto;
|
|
7573
|
-
height: 4px;
|
|
7574
|
-
min-width: 1px;
|
|
7575
|
-
}
|
|
7576
|
-
|
|
7577
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__connector--past .muka-progress-tracker__connector-line {
|
|
7578
|
-
background-color: var(--alias-color-accent-contrast);
|
|
7340
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__connector--past .muka-progress-tracker__connector-line {
|
|
7341
|
+
background-color: var(--alias-color-accent-contrast);
|
|
7579
7342
|
}
|
|
7580
7343
|
|
|
7581
7344
|
.muka-progress-tracker--horizontal .muka-progress-tracker__connector--current .muka-progress-tracker__connector-line {
|
|
@@ -7929,170 +7692,475 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
7929
7692
|
}
|
|
7930
7693
|
|
|
7931
7694
|
|
|
7932
|
-
/*
|
|
7933
|
-
/*
|
|
7934
|
-
|
|
7935
|
-
/* ========================================
|
|
7936
|
-
BAR VARIANT
|
|
7937
|
-
======================================== */
|
|
7695
|
+
/* ProgressAccordeon */
|
|
7696
|
+
/* ProgressAccordeon Component Styles — Using Muka Design Tokens */
|
|
7938
7697
|
|
|
7939
|
-
|
|
7698
|
+
/* ─── Root ──────────────────────────────────────────────── */
|
|
7699
|
+
.muka-progress-accordeon {
|
|
7700
|
+
container-type: inline-size;
|
|
7940
7701
|
display: flex;
|
|
7941
|
-
|
|
7942
|
-
|
|
7702
|
+
flex-direction: column;
|
|
7703
|
+
align-items: stretch;
|
|
7943
7704
|
width: 100%;
|
|
7705
|
+
/* Top padding provides the vertical rhythm between stacked steps */
|
|
7706
|
+
padding-top: var(--spacing-8);
|
|
7944
7707
|
}
|
|
7945
7708
|
|
|
7946
|
-
|
|
7947
|
-
|
|
7948
|
-
|
|
7949
|
-
|
|
7950
|
-
|
|
7709
|
+
/* Per-state gap: content-bearing steps are tighter, header-only steps looser */
|
|
7710
|
+
.muka-progress-accordeon--current,
|
|
7711
|
+
.muka-progress-accordeon--current.muka-progress-accordeon--expanded,
|
|
7712
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--expanded,
|
|
7713
|
+
.muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
|
|
7714
|
+
gap: var(--spacing-6);
|
|
7951
7715
|
}
|
|
7952
7716
|
|
|
7953
|
-
.muka-progress
|
|
7954
|
-
|
|
7717
|
+
.muka-progress-accordeon--upcoming,
|
|
7718
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
|
|
7719
|
+
.muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
|
|
7720
|
+
.muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
|
|
7721
|
+
gap: var(--spacing-8);
|
|
7955
7722
|
}
|
|
7956
7723
|
|
|
7957
|
-
|
|
7958
|
-
|
|
7724
|
+
/* Collapsible steps group header + slot. The header↔content gap lives inside the
|
|
7725
|
+
collapsing slot (as padding-top) so it collapses with the content, so the
|
|
7726
|
+
body gap itself is 0. */
|
|
7727
|
+
.muka-progress-accordeon__body {
|
|
7728
|
+
display: flex;
|
|
7729
|
+
flex-direction: column;
|
|
7730
|
+
gap: 0;
|
|
7731
|
+
width: 100%;
|
|
7959
7732
|
}
|
|
7960
7733
|
|
|
7961
|
-
|
|
7962
|
-
|
|
7734
|
+
/* ─── Header ─────────────────────────────────────────────── */
|
|
7735
|
+
.muka-progress-accordeon__header {
|
|
7736
|
+
display: flex;
|
|
7737
|
+
flex-direction: column;
|
|
7738
|
+
gap: var(--spacing-3);
|
|
7739
|
+
width: 100%;
|
|
7963
7740
|
}
|
|
7964
7741
|
|
|
7965
|
-
.muka-progress
|
|
7966
|
-
|
|
7967
|
-
|
|
7968
|
-
|
|
7969
|
-
|
|
7742
|
+
.muka-progress-accordeon__header-row {
|
|
7743
|
+
display: flex;
|
|
7744
|
+
align-items: flex-start;
|
|
7745
|
+
gap: var(--spacing-3);
|
|
7746
|
+
width: 100%;
|
|
7747
|
+
min-height: 40px;
|
|
7970
7748
|
}
|
|
7971
7749
|
|
|
7972
|
-
.muka-progress
|
|
7973
|
-
|
|
7974
|
-
|
|
7975
|
-
|
|
7976
|
-
|
|
7977
|
-
|
|
7978
|
-
color: var(--color-text-default-default);
|
|
7979
|
-
min-width: 3ch;
|
|
7980
|
-
text-align: right;
|
|
7750
|
+
.muka-progress-accordeon__heading-group {
|
|
7751
|
+
display: flex;
|
|
7752
|
+
flex: 1 0 0;
|
|
7753
|
+
min-width: 0;
|
|
7754
|
+
align-items: flex-start;
|
|
7755
|
+
gap: var(--spacing-4);
|
|
7981
7756
|
}
|
|
7982
7757
|
|
|
7983
|
-
/*
|
|
7984
|
-
|
|
7985
|
-
|
|
7986
|
-
|
|
7758
|
+
/* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
|
|
7759
|
+
so a single line centres against the indicator + controls row. */
|
|
7760
|
+
.muka-progress-accordeon:has(.muka-progress-accordeon__controls)
|
|
7761
|
+
.muka-progress-accordeon__heading-group {
|
|
7762
|
+
padding-top: var(--spacing-1);
|
|
7987
7763
|
}
|
|
7988
7764
|
|
|
7989
|
-
|
|
7990
|
-
|
|
7991
|
-
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
transform: translateX(250%);
|
|
7995
|
-
}
|
|
7765
|
+
.muka-progress-accordeon__controls {
|
|
7766
|
+
display: flex;
|
|
7767
|
+
flex-shrink: 0;
|
|
7768
|
+
align-items: center;
|
|
7769
|
+
gap: var(--spacing-3);
|
|
7996
7770
|
}
|
|
7997
7771
|
|
|
7998
|
-
/*
|
|
7999
|
-
|
|
8000
|
-
|
|
8001
|
-
|
|
8002
|
-
|
|
8003
|
-
|
|
8004
|
-
display:
|
|
7772
|
+
/* ─── Step indicator (circle) ───────────────────────────── */
|
|
7773
|
+
.muka-progress-accordeon__indicator {
|
|
7774
|
+
width: 32px;
|
|
7775
|
+
height: 32px;
|
|
7776
|
+
flex-shrink: 0;
|
|
7777
|
+
border-radius: var(--border-radius-full);
|
|
7778
|
+
display: flex;
|
|
8005
7779
|
align-items: center;
|
|
8006
7780
|
justify-content: center;
|
|
8007
7781
|
}
|
|
8008
7782
|
|
|
8009
|
-
|
|
8010
|
-
|
|
8011
|
-
|
|
7783
|
+
/* Past: dark accent-contrast circle with inverse checkmark */
|
|
7784
|
+
.muka-progress-accordeon__indicator--past {
|
|
7785
|
+
background-color: var(--alias-color-accent-contrast);
|
|
7786
|
+
color: var(--color-text-default-inverse);
|
|
8012
7787
|
}
|
|
8013
7788
|
|
|
8014
|
-
|
|
8015
|
-
|
|
8016
|
-
|
|
7789
|
+
/* Current: accent circle with inverse bold number */
|
|
7790
|
+
.muka-progress-accordeon__indicator--current {
|
|
7791
|
+
background-color: var(--alias-color-accent-default);
|
|
7792
|
+
color: var(--color-text-default-inverse);
|
|
8017
7793
|
}
|
|
8018
7794
|
|
|
8019
|
-
|
|
8020
|
-
|
|
8021
|
-
|
|
7795
|
+
/* Upcoming: sunken/muted circle with default-color number */
|
|
7796
|
+
.muka-progress-accordeon__indicator--upcoming {
|
|
7797
|
+
background-color: var(--color-surface-sunken);
|
|
7798
|
+
color: var(--color-text-default-default);
|
|
8022
7799
|
}
|
|
8023
7800
|
|
|
8024
|
-
.muka-
|
|
8025
|
-
width:
|
|
8026
|
-
height:
|
|
8027
|
-
|
|
7801
|
+
.muka-progress-accordeon__check-icon {
|
|
7802
|
+
width: 20px;
|
|
7803
|
+
height: 20px;
|
|
7804
|
+
color: var(--color-text-default-inverse);
|
|
8028
7805
|
}
|
|
8029
7806
|
|
|
8030
|
-
.muka-progress
|
|
8031
|
-
|
|
8032
|
-
|
|
7807
|
+
.muka-progress-accordeon__number {
|
|
7808
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
7809
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
7810
|
+
font-size: var(--text-label-md-bold-fontSize);
|
|
7811
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
7812
|
+
text-align: center;
|
|
7813
|
+
user-select: none;
|
|
8033
7814
|
}
|
|
8034
7815
|
|
|
8035
|
-
|
|
8036
|
-
.muka-progress
|
|
8037
|
-
|
|
7816
|
+
/* Upcoming number is semibold (not bold) per Figma */
|
|
7817
|
+
.muka-progress-accordeon__indicator--upcoming .muka-progress-accordeon__number {
|
|
7818
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7819
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
8038
7820
|
}
|
|
8039
7821
|
|
|
8040
|
-
|
|
8041
|
-
.muka-progress
|
|
8042
|
-
|
|
7822
|
+
/* ─── Heading (responsive: heading/md on wide, heading/sm on narrow) ─────── */
|
|
7823
|
+
.muka-progress-accordeon__heading {
|
|
7824
|
+
flex: 1 0 0;
|
|
7825
|
+
min-width: 0;
|
|
7826
|
+
margin: 0;
|
|
7827
|
+
font-family: var(--text-heading-md-fontFamily);
|
|
7828
|
+
font-weight: var(--text-heading-md-fontWeight);
|
|
7829
|
+
font-size: var(--text-heading-md-fontSize);
|
|
7830
|
+
line-height: var(--text-heading-md-lineHeight);
|
|
7831
|
+
letter-spacing: var(--text-heading-md-letterSpacing);
|
|
7832
|
+
color: var(--color-text-default-default);
|
|
8043
7833
|
}
|
|
8044
7834
|
|
|
8045
|
-
|
|
8046
|
-
|
|
8047
|
-
|
|
7835
|
+
/* ─── Description ────────────────────────────────────────── */
|
|
7836
|
+
/* Indented 48px (32px indicator + 16px gap) to align under the heading text */
|
|
7837
|
+
.muka-progress-accordeon__description {
|
|
7838
|
+
width: 100%;
|
|
7839
|
+
padding-left: 48px;
|
|
7840
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7841
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7842
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
7843
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
7844
|
+
color: var(--color-text-default-default);
|
|
8048
7845
|
}
|
|
8049
7846
|
|
|
8050
|
-
|
|
8051
|
-
|
|
8052
|
-
|
|
8053
|
-
stroke-linecap: round;
|
|
8054
|
-
transition: stroke-dashoffset 0.3s ease;
|
|
7847
|
+
/* ─── Edit button ────────────────────────────────────────── */
|
|
7848
|
+
.muka-progress-accordeon__edit {
|
|
7849
|
+
flex-shrink: 0;
|
|
8055
7850
|
}
|
|
8056
7851
|
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
|
|
8060
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
8061
|
-
color: var(--color-text-default-default);
|
|
7852
|
+
/* Wide container shows the labelled button; the icon-only one is hidden */
|
|
7853
|
+
.muka-progress-accordeon__edit--narrow {
|
|
7854
|
+
display: none;
|
|
8062
7855
|
}
|
|
8063
7856
|
|
|
8064
|
-
|
|
8065
|
-
|
|
7857
|
+
/* ─── Content slot ───────────────────────────────────────── */
|
|
7858
|
+
.muka-progress-accordeon__slot {
|
|
7859
|
+
display: flex;
|
|
7860
|
+
flex-direction: column;
|
|
7861
|
+
align-items: stretch;
|
|
7862
|
+
width: 100%;
|
|
8066
7863
|
}
|
|
8067
7864
|
|
|
8068
|
-
|
|
8069
|
-
|
|
7865
|
+
/* ─── Collapse/expand animation (any expandable step) ──────
|
|
7866
|
+
Animates grid-template-rows 1fr ↔ 0fr so the panel (slot + actions) grows and
|
|
7867
|
+
shrinks to its intrinsic height. Opacity fades with the same duration.
|
|
7868
|
+
Under prefers-reduced-motion, --motion-duration-view is 0ms. */
|
|
7869
|
+
.muka-progress-accordeon__panel-wrapper {
|
|
7870
|
+
display: grid;
|
|
7871
|
+
grid-template-rows: 1fr;
|
|
7872
|
+
opacity: 1;
|
|
7873
|
+
transition:
|
|
7874
|
+
grid-template-rows var(--motion-duration-view) var(--motion-easing-enter),
|
|
7875
|
+
opacity var(--motion-duration-view) var(--motion-easing-enter);
|
|
8070
7876
|
}
|
|
8071
7877
|
|
|
8072
|
-
.muka-progress
|
|
8073
|
-
|
|
7878
|
+
.muka-progress-accordeon__panel-wrapper--collapsed {
|
|
7879
|
+
grid-template-rows: 0fr;
|
|
7880
|
+
opacity: 0;
|
|
7881
|
+
transition:
|
|
7882
|
+
grid-template-rows var(--motion-duration-view) var(--motion-easing-exit),
|
|
7883
|
+
opacity calc(var(--motion-duration-view) * 0.6) var(--motion-easing-exit);
|
|
8074
7884
|
}
|
|
8075
7885
|
|
|
8076
|
-
/*
|
|
8077
|
-
|
|
8078
|
-
|
|
7886
|
+
/* The direct grid child clips and must have NO padding/border of its own —
|
|
7887
|
+
min-height:0 lets it shrink, and with no padding the 0fr track reaches a true
|
|
7888
|
+
0 height (padding on the item would leave a residual gap when collapsed). */
|
|
7889
|
+
.muka-progress-accordeon__panel-clip {
|
|
7890
|
+
overflow: hidden;
|
|
7891
|
+
min-height: 0;
|
|
8079
7892
|
}
|
|
8080
7893
|
|
|
8081
|
-
|
|
8082
|
-
|
|
7894
|
+
/* Header↔content spacing + slot/actions gap live inside the clip so they
|
|
7895
|
+
collapse together with the panel. */
|
|
7896
|
+
.muka-progress-accordeon__panel {
|
|
7897
|
+
display: flex;
|
|
7898
|
+
flex-direction: column;
|
|
7899
|
+
align-items: stretch;
|
|
7900
|
+
gap: var(--spacing-6);
|
|
7901
|
+
padding-top: var(--spacing-4);
|
|
7902
|
+
width: 100%;
|
|
8083
7903
|
}
|
|
8084
7904
|
|
|
8085
|
-
|
|
8086
|
-
|
|
8087
|
-
|
|
8088
|
-
|
|
7905
|
+
/* ─── Action buttons (current state) ─────────────────────── */
|
|
7906
|
+
.muka-progress-accordeon__actions {
|
|
7907
|
+
display: flex;
|
|
7908
|
+
justify-content: flex-end;
|
|
7909
|
+
gap: var(--spacing-4);
|
|
7910
|
+
width: 100%;
|
|
8089
7911
|
}
|
|
8090
7912
|
|
|
8091
|
-
|
|
8092
|
-
|
|
8093
|
-
|
|
8094
|
-
|
|
8095
|
-
|
|
7913
|
+
.muka-progress-accordeon__action {
|
|
7914
|
+
min-width: 160px;
|
|
7915
|
+
}
|
|
7916
|
+
|
|
7917
|
+
/* ─── Divider ────────────────────────────────────────────── */
|
|
7918
|
+
.muka-progress-accordeon__divider {
|
|
7919
|
+
width: 100%;
|
|
7920
|
+
}
|
|
7921
|
+
|
|
7922
|
+
/* ─── Responsive (narrow container) ──────────────────────── */
|
|
7923
|
+
@container (max-width: 480px) {
|
|
7924
|
+
/* Heading steps down to heading/sm. The 24px line-height is shorter than the
|
|
7925
|
+
32px step indicator, so nudge the text down to keep a single line centred. */
|
|
7926
|
+
.muka-progress-accordeon__heading {
|
|
7927
|
+
font-size: var(--text-heading-sm-fontSize);
|
|
7928
|
+
line-height: var(--text-heading-sm-lineHeight);
|
|
7929
|
+
padding-top: var(--spacing-1);
|
|
7930
|
+
}
|
|
7931
|
+
|
|
7932
|
+
/* Edit button swaps to the icon-only variant */
|
|
7933
|
+
.muka-progress-accordeon__edit--wide {
|
|
7934
|
+
display: none;
|
|
7935
|
+
}
|
|
7936
|
+
|
|
7937
|
+
.muka-progress-accordeon__edit--narrow {
|
|
7938
|
+
display: inline-flex;
|
|
7939
|
+
}
|
|
7940
|
+
|
|
7941
|
+
/* Action buttons stretch to fill the row */
|
|
7942
|
+
.muka-progress-accordeon__actions {
|
|
7943
|
+
justify-content: stretch;
|
|
7944
|
+
}
|
|
7945
|
+
|
|
7946
|
+
.muka-progress-accordeon__action {
|
|
7947
|
+
flex: 1 0 0;
|
|
7948
|
+
min-width: 0;
|
|
7949
|
+
}
|
|
7950
|
+
}
|
|
7951
|
+
|
|
7952
|
+
|
|
7953
|
+
/* PullToRefresh */
|
|
7954
|
+
/* PullToRefresh Component Styles */
|
|
7955
|
+
|
|
7956
|
+
.muka-pull-to-refresh {
|
|
7957
|
+
position: relative;
|
|
7958
|
+
display: flex;
|
|
7959
|
+
flex-direction: column;
|
|
7960
|
+
width: 100%;
|
|
7961
|
+
height: 100%;
|
|
7962
|
+
overflow: hidden;
|
|
7963
|
+
}
|
|
7964
|
+
|
|
7965
|
+
.muka-pull-to-refresh__indicator {
|
|
7966
|
+
position: absolute;
|
|
7967
|
+
top: 0;
|
|
7968
|
+
left: 0;
|
|
7969
|
+
right: 0;
|
|
7970
|
+
display: flex;
|
|
7971
|
+
align-items: flex-end;
|
|
7972
|
+
justify-content: center;
|
|
7973
|
+
padding-bottom: var(--spacing-2);
|
|
7974
|
+
color: var(--color-text-subtle-default);
|
|
7975
|
+
overflow: hidden;
|
|
7976
|
+
pointer-events: none;
|
|
7977
|
+
z-index: 1;
|
|
7978
|
+
}
|
|
7979
|
+
|
|
7980
|
+
.muka-pull-to-refresh__chevron {
|
|
7981
|
+
display: inline-flex;
|
|
7982
|
+
align-items: center;
|
|
7983
|
+
justify-content: center;
|
|
7984
|
+
transition: transform 0.16s ease;
|
|
7985
|
+
}
|
|
7986
|
+
|
|
7987
|
+
.muka-pull-to-refresh__scroller {
|
|
7988
|
+
flex: 1 1 auto;
|
|
7989
|
+
min-height: 0;
|
|
7990
|
+
width: 100%;
|
|
7991
|
+
overflow-x: clip;
|
|
7992
|
+
overflow-y: auto;
|
|
7993
|
+
-webkit-overflow-scrolling: touch;
|
|
7994
|
+
overscroll-behavior-y: contain;
|
|
7995
|
+
touch-action: pan-y;
|
|
7996
|
+
will-change: transform;
|
|
7997
|
+
}
|
|
7998
|
+
|
|
7999
|
+
|
|
8000
|
+
/* Progress */
|
|
8001
|
+
/* Progress Component Styles - Using Muka Design Tokens */
|
|
8002
|
+
|
|
8003
|
+
/* ========================================
|
|
8004
|
+
BAR VARIANT
|
|
8005
|
+
======================================== */
|
|
8006
|
+
|
|
8007
|
+
.muka-progress--bar {
|
|
8008
|
+
display: flex;
|
|
8009
|
+
align-items: center;
|
|
8010
|
+
gap: var(--spacing-2);
|
|
8011
|
+
width: 100%;
|
|
8012
|
+
}
|
|
8013
|
+
|
|
8014
|
+
.muka-progress--bar .muka-progress__track {
|
|
8015
|
+
flex: 1;
|
|
8016
|
+
background-color: var(--color-surface-level1);
|
|
8017
|
+
border-radius: var(--border-radius-full);
|
|
8018
|
+
overflow: hidden;
|
|
8019
|
+
}
|
|
8020
|
+
|
|
8021
|
+
.muka-progress--bar.muka-progress--sm .muka-progress__track {
|
|
8022
|
+
height: var(--progress-size-bar-height-sm);
|
|
8023
|
+
}
|
|
8024
|
+
|
|
8025
|
+
.muka-progress--bar.muka-progress--md .muka-progress__track {
|
|
8026
|
+
height: var(--progress-size-bar-height-md);
|
|
8027
|
+
}
|
|
8028
|
+
|
|
8029
|
+
.muka-progress--bar.muka-progress--lg .muka-progress__track {
|
|
8030
|
+
height: var(--progress-size-bar-height-lg);
|
|
8031
|
+
}
|
|
8032
|
+
|
|
8033
|
+
.muka-progress--bar .muka-progress__fill {
|
|
8034
|
+
height: 100%;
|
|
8035
|
+
background-color: var(--color-action-default);
|
|
8036
|
+
border-radius: var(--border-radius-full);
|
|
8037
|
+
transition: width 0.3s ease;
|
|
8038
|
+
}
|
|
8039
|
+
|
|
8040
|
+
.muka-progress--bar .muka-progress__label {
|
|
8041
|
+
flex-shrink: 0;
|
|
8042
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
8043
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
8044
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
8045
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
8046
|
+
color: var(--color-text-default-default);
|
|
8047
|
+
min-width: 3ch;
|
|
8048
|
+
text-align: right;
|
|
8049
|
+
}
|
|
8050
|
+
|
|
8051
|
+
/* Indeterminate animation for bar */
|
|
8052
|
+
.muka-progress--bar.muka-progress--indeterminate .muka-progress__fill {
|
|
8053
|
+
width: 40%;
|
|
8054
|
+
animation: muka-progress-bar-indeterminate 1.5s ease-in-out infinite;
|
|
8055
|
+
}
|
|
8056
|
+
|
|
8057
|
+
@keyframes muka-progress-bar-indeterminate {
|
|
8058
|
+
0% {
|
|
8059
|
+
transform: translateX(-100%);
|
|
8060
|
+
}
|
|
8061
|
+
100% {
|
|
8062
|
+
transform: translateX(250%);
|
|
8063
|
+
}
|
|
8064
|
+
}
|
|
8065
|
+
|
|
8066
|
+
/* ========================================
|
|
8067
|
+
CIRCLE VARIANT
|
|
8068
|
+
======================================== */
|
|
8069
|
+
|
|
8070
|
+
.muka-progress--circle {
|
|
8071
|
+
position: relative;
|
|
8072
|
+
display: inline-flex;
|
|
8073
|
+
align-items: center;
|
|
8074
|
+
justify-content: center;
|
|
8075
|
+
}
|
|
8076
|
+
|
|
8077
|
+
.muka-progress--circle.muka-progress--sm {
|
|
8078
|
+
width: var(--progress-size-circle-diameter-sm);
|
|
8079
|
+
height: var(--progress-size-circle-diameter-sm);
|
|
8080
|
+
}
|
|
8081
|
+
|
|
8082
|
+
.muka-progress--circle.muka-progress--md {
|
|
8083
|
+
width: var(--progress-size-circle-diameter-md);
|
|
8084
|
+
height: var(--progress-size-circle-diameter-md);
|
|
8085
|
+
}
|
|
8086
|
+
|
|
8087
|
+
.muka-progress--circle.muka-progress--lg {
|
|
8088
|
+
width: var(--progress-size-circle-diameter-lg);
|
|
8089
|
+
height: var(--progress-size-circle-diameter-lg);
|
|
8090
|
+
}
|
|
8091
|
+
|
|
8092
|
+
.muka-progress__circle {
|
|
8093
|
+
width: 100%;
|
|
8094
|
+
height: 100%;
|
|
8095
|
+
transform: rotate(-90deg);
|
|
8096
|
+
}
|
|
8097
|
+
|
|
8098
|
+
.muka-progress--circle .muka-progress__track {
|
|
8099
|
+
fill: none;
|
|
8100
|
+
stroke: var(--color-surface-level1);
|
|
8101
|
+
}
|
|
8102
|
+
|
|
8103
|
+
.muka-progress--circle.muka-progress--sm .muka-progress__track,
|
|
8104
|
+
.muka-progress--circle.muka-progress--sm .muka-progress__fill {
|
|
8105
|
+
stroke-width: var(--progress-size-circle-strokeWidth-sm);
|
|
8106
|
+
}
|
|
8107
|
+
|
|
8108
|
+
.muka-progress--circle.muka-progress--md .muka-progress__track,
|
|
8109
|
+
.muka-progress--circle.muka-progress--md .muka-progress__fill {
|
|
8110
|
+
stroke-width: var(--progress-size-circle-strokeWidth-md);
|
|
8111
|
+
}
|
|
8112
|
+
|
|
8113
|
+
.muka-progress--circle.muka-progress--lg .muka-progress__track,
|
|
8114
|
+
.muka-progress--circle.muka-progress--lg .muka-progress__fill {
|
|
8115
|
+
stroke-width: var(--progress-size-circle-strokeWidth-lg);
|
|
8116
|
+
}
|
|
8117
|
+
|
|
8118
|
+
.muka-progress--circle .muka-progress__fill {
|
|
8119
|
+
fill: none;
|
|
8120
|
+
stroke: var(--color-action-default);
|
|
8121
|
+
stroke-linecap: round;
|
|
8122
|
+
transition: stroke-dashoffset 0.3s ease;
|
|
8123
|
+
}
|
|
8124
|
+
|
|
8125
|
+
.muka-progress--circle .muka-progress__label {
|
|
8126
|
+
position: absolute;
|
|
8127
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
8128
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
8129
|
+
color: var(--color-text-default-default);
|
|
8130
|
+
}
|
|
8131
|
+
|
|
8132
|
+
.muka-progress--circle.muka-progress--sm .muka-progress__label {
|
|
8133
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
8134
|
+
}
|
|
8135
|
+
|
|
8136
|
+
.muka-progress--circle.muka-progress--md .muka-progress__label {
|
|
8137
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
8138
|
+
}
|
|
8139
|
+
|
|
8140
|
+
.muka-progress--circle.muka-progress--lg .muka-progress__label {
|
|
8141
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
8142
|
+
}
|
|
8143
|
+
|
|
8144
|
+
/* Indeterminate animation for circle */
|
|
8145
|
+
.muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
|
|
8146
|
+
animation: muka-progress-circle-rotate 2s linear infinite;
|
|
8147
|
+
}
|
|
8148
|
+
|
|
8149
|
+
.muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
|
|
8150
|
+
animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
|
|
8151
|
+
}
|
|
8152
|
+
|
|
8153
|
+
@keyframes muka-progress-circle-rotate {
|
|
8154
|
+
100% {
|
|
8155
|
+
transform: rotate(270deg);
|
|
8156
|
+
}
|
|
8157
|
+
}
|
|
8158
|
+
|
|
8159
|
+
@keyframes muka-progress-circle-dash {
|
|
8160
|
+
0% {
|
|
8161
|
+
stroke-dashoffset: 220;
|
|
8162
|
+
}
|
|
8163
|
+
50% {
|
|
8096
8164
|
stroke-dashoffset: 70;
|
|
8097
8165
|
}
|
|
8098
8166
|
100% {
|
|
@@ -9426,11 +9494,29 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9426
9494
|
white-space: nowrap;
|
|
9427
9495
|
}
|
|
9428
9496
|
|
|
9429
|
-
/*
|
|
9430
|
-
.muka-menu__item--has-
|
|
9431
|
-
|
|
9432
|
-
|
|
9433
|
-
|
|
9497
|
+
/* A second line under the label (description): label above, subdued below. */
|
|
9498
|
+
.muka-menu__item--has-description .muka-menu__item-label {
|
|
9499
|
+
display: flex;
|
|
9500
|
+
flex-direction: column;
|
|
9501
|
+
overflow: hidden;
|
|
9502
|
+
}
|
|
9503
|
+
|
|
9504
|
+
.muka-menu__item-description {
|
|
9505
|
+
overflow: hidden;
|
|
9506
|
+
text-overflow: ellipsis;
|
|
9507
|
+
white-space: nowrap;
|
|
9508
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
9509
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
9510
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
9511
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
9512
|
+
color: var(--color-text-subtle-default);
|
|
9513
|
+
}
|
|
9514
|
+
|
|
9515
|
+
/* Shortcut trailers replace icons and sit with an 8px right inset. */
|
|
9516
|
+
.muka-menu__item--has-shortcut {
|
|
9517
|
+
padding-right: var(--spacing-2);
|
|
9518
|
+
}
|
|
9519
|
+
|
|
9434
9520
|
.muka-menu__item-shortcut {
|
|
9435
9521
|
flex-shrink: 0;
|
|
9436
9522
|
margin-left: auto;
|
|
@@ -11067,147 +11153,6 @@ li.muka-listitem {
|
|
|
11067
11153
|
}
|
|
11068
11154
|
|
|
11069
11155
|
|
|
11070
|
-
/* FAB */
|
|
11071
|
-
/* FAB (Floating Action Button) Component Styles */
|
|
11072
|
-
|
|
11073
|
-
.muka-fab {
|
|
11074
|
-
position: fixed;
|
|
11075
|
-
z-index: 40;
|
|
11076
|
-
|
|
11077
|
-
display: inline-flex;
|
|
11078
|
-
align-items: center;
|
|
11079
|
-
justify-content: center;
|
|
11080
|
-
gap: var(--spacing-2);
|
|
11081
|
-
|
|
11082
|
-
border: none;
|
|
11083
|
-
cursor: pointer;
|
|
11084
|
-
font-family: inherit;
|
|
11085
|
-
box-shadow: var(--shadow-level4);
|
|
11086
|
-
|
|
11087
|
-
transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
|
|
11088
|
-
-webkit-tap-highlight-color: transparent;
|
|
11089
|
-
}
|
|
11090
|
-
|
|
11091
|
-
.muka-fab:active {
|
|
11092
|
-
transform: scale(0.96);
|
|
11093
|
-
box-shadow: var(--shadow-level3);
|
|
11094
|
-
}
|
|
11095
|
-
|
|
11096
|
-
.muka-fab:focus-visible {
|
|
11097
|
-
outline: 2px solid var(--color-action-default);
|
|
11098
|
-
outline-offset: 2px;
|
|
11099
|
-
}
|
|
11100
|
-
|
|
11101
|
-
.muka-fab:disabled {
|
|
11102
|
-
opacity: 0.5;
|
|
11103
|
-
cursor: not-allowed;
|
|
11104
|
-
box-shadow: none;
|
|
11105
|
-
}
|
|
11106
|
-
|
|
11107
|
-
/* ─── Variants ────────────────────────────────────────── */
|
|
11108
|
-
|
|
11109
|
-
.muka-fab--primary {
|
|
11110
|
-
background-color: var(--color-action-default);
|
|
11111
|
-
color: var(--color-text-default-inverse);
|
|
11112
|
-
}
|
|
11113
|
-
|
|
11114
|
-
.muka-fab--primary:hover:not(:disabled) {
|
|
11115
|
-
background-color: var(--color-action-hover);
|
|
11116
|
-
}
|
|
11117
|
-
|
|
11118
|
-
.muka-fab--secondary {
|
|
11119
|
-
background-color: var(--color-surface-level3);
|
|
11120
|
-
color: var(--color-text-default-default);
|
|
11121
|
-
}
|
|
11122
|
-
|
|
11123
|
-
.muka-fab--secondary:hover:not(:disabled) {
|
|
11124
|
-
background-color: var(--color-surface-level2);
|
|
11125
|
-
}
|
|
11126
|
-
|
|
11127
|
-
/* ─── Sizes (circular by default) ─────────────────────── */
|
|
11128
|
-
|
|
11129
|
-
.muka-fab--md {
|
|
11130
|
-
width: 56px;
|
|
11131
|
-
height: 56px;
|
|
11132
|
-
border-radius: 50%;
|
|
11133
|
-
}
|
|
11134
|
-
|
|
11135
|
-
.muka-fab--lg {
|
|
11136
|
-
width: 64px;
|
|
11137
|
-
height: 64px;
|
|
11138
|
-
border-radius: 50%;
|
|
11139
|
-
}
|
|
11140
|
-
|
|
11141
|
-
/* ─── Extended (pill shape with label) ────────────────── */
|
|
11142
|
-
|
|
11143
|
-
.muka-fab--extended {
|
|
11144
|
-
width: auto;
|
|
11145
|
-
height: auto;
|
|
11146
|
-
padding: var(--spacing-3) var(--spacing-4);
|
|
11147
|
-
border-radius: var(--radius-full);
|
|
11148
|
-
}
|
|
11149
|
-
|
|
11150
|
-
.muka-fab--extended.muka-fab--lg {
|
|
11151
|
-
padding: var(--spacing-4) var(--spacing-5);
|
|
11152
|
-
}
|
|
11153
|
-
|
|
11154
|
-
.muka-fab__icon {
|
|
11155
|
-
display: inline-flex;
|
|
11156
|
-
align-items: center;
|
|
11157
|
-
justify-content: center;
|
|
11158
|
-
width: 24px;
|
|
11159
|
-
height: 24px;
|
|
11160
|
-
}
|
|
11161
|
-
|
|
11162
|
-
.muka-fab__icon svg {
|
|
11163
|
-
width: 100%;
|
|
11164
|
-
height: 100%;
|
|
11165
|
-
}
|
|
11166
|
-
|
|
11167
|
-
.muka-fab__label {
|
|
11168
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
11169
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
11170
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
11171
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
11172
|
-
}
|
|
11173
|
-
|
|
11174
|
-
/* ─── Positioning ─────────────────────────────────────── */
|
|
11175
|
-
|
|
11176
|
-
.muka-fab--bottom-right {
|
|
11177
|
-
right: var(--spacing-4);
|
|
11178
|
-
bottom: var(--spacing-4);
|
|
11179
|
-
}
|
|
11180
|
-
|
|
11181
|
-
.muka-fab--bottom-left {
|
|
11182
|
-
left: var(--spacing-4);
|
|
11183
|
-
bottom: var(--spacing-4);
|
|
11184
|
-
}
|
|
11185
|
-
|
|
11186
|
-
.muka-fab--bottom-center {
|
|
11187
|
-
left: 50%;
|
|
11188
|
-
bottom: var(--spacing-4);
|
|
11189
|
-
transform: translateX(-50%);
|
|
11190
|
-
}
|
|
11191
|
-
|
|
11192
|
-
.muka-fab--bottom-center:active {
|
|
11193
|
-
transform: translateX(-50%) scale(0.96);
|
|
11194
|
-
}
|
|
11195
|
-
|
|
11196
|
-
/* Add the iOS home-indicator inset to the bottom offset. */
|
|
11197
|
-
.muka-fab:not(.muka-fab--no-safe-area) {
|
|
11198
|
-
bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
|
|
11199
|
-
}
|
|
11200
|
-
|
|
11201
|
-
/* Lateral safe-area for landscape iPhone with notch. */
|
|
11202
|
-
.muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
|
|
11203
|
-
right: max(var(--spacing-4), env(safe-area-inset-right));
|
|
11204
|
-
}
|
|
11205
|
-
|
|
11206
|
-
.muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
|
|
11207
|
-
left: max(var(--spacing-4), env(safe-area-inset-left));
|
|
11208
|
-
}
|
|
11209
|
-
|
|
11210
|
-
|
|
11211
11156
|
/* EmptyState */
|
|
11212
11157
|
/* EmptyState Component Styles - Using Muka Design Tokens */
|
|
11213
11158
|
|
|
@@ -11599,82 +11544,223 @@ li.muka-listitem {
|
|
|
11599
11544
|
}
|
|
11600
11545
|
|
|
11601
11546
|
|
|
11602
|
-
/*
|
|
11603
|
-
/*
|
|
11547
|
+
/* FAB */
|
|
11548
|
+
/* FAB (Floating Action Button) Component Styles */
|
|
11604
11549
|
|
|
11605
|
-
|
|
11606
|
-
|
|
11607
|
-
|
|
11608
|
-
|
|
11609
|
-
|
|
11610
|
-
|
|
11550
|
+
.muka-fab {
|
|
11551
|
+
position: fixed;
|
|
11552
|
+
z-index: 40;
|
|
11553
|
+
|
|
11554
|
+
display: inline-flex;
|
|
11555
|
+
align-items: center;
|
|
11556
|
+
justify-content: center;
|
|
11557
|
+
gap: var(--spacing-2);
|
|
11611
11558
|
|
|
11612
|
-
/* Reset native dialog */
|
|
11613
|
-
.muka-drawer {
|
|
11614
11559
|
border: none;
|
|
11615
|
-
|
|
11616
|
-
|
|
11617
|
-
|
|
11618
|
-
background: transparent;
|
|
11619
|
-
overflow: visible;
|
|
11620
|
-
}
|
|
11560
|
+
cursor: pointer;
|
|
11561
|
+
font-family: inherit;
|
|
11562
|
+
box-shadow: var(--shadow-level4);
|
|
11621
11563
|
|
|
11622
|
-
|
|
11623
|
-
|
|
11624
|
-
background-color: var(--color-surface-backdrop);
|
|
11625
|
-
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
11626
|
-
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
11627
|
-
opacity: 0;
|
|
11628
|
-
transition: opacity 200ms ease;
|
|
11564
|
+
transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
|
|
11565
|
+
-webkit-tap-highlight-color: transparent;
|
|
11629
11566
|
}
|
|
11630
11567
|
|
|
11631
|
-
.muka-
|
|
11632
|
-
|
|
11568
|
+
.muka-fab:active {
|
|
11569
|
+
transform: scale(0.96);
|
|
11570
|
+
box-shadow: var(--shadow-level3);
|
|
11633
11571
|
}
|
|
11634
11572
|
|
|
11635
|
-
|
|
11636
|
-
|
|
11637
|
-
|
|
11638
|
-
flex-direction: column;
|
|
11639
|
-
background-color: var(--color-surface-level3);
|
|
11640
|
-
box-shadow: var(--shadow-level5);
|
|
11641
|
-
height: 100%;
|
|
11642
|
-
overflow: hidden;
|
|
11643
|
-
position: fixed;
|
|
11644
|
-
transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
11573
|
+
.muka-fab:focus-visible {
|
|
11574
|
+
outline: 2px solid var(--color-action-default);
|
|
11575
|
+
outline-offset: 2px;
|
|
11645
11576
|
}
|
|
11646
11577
|
|
|
11647
|
-
|
|
11648
|
-
|
|
11649
|
-
|
|
11650
|
-
|
|
11651
|
-
bottom: 0;
|
|
11652
|
-
border-radius: var(--radius-lg) 0 0 var(--radius-lg);
|
|
11653
|
-
transform: translateX(100%);
|
|
11578
|
+
.muka-fab:disabled {
|
|
11579
|
+
opacity: 0.5;
|
|
11580
|
+
cursor: not-allowed;
|
|
11581
|
+
box-shadow: none;
|
|
11654
11582
|
}
|
|
11655
11583
|
|
|
11656
|
-
|
|
11657
|
-
|
|
11658
|
-
|
|
11659
|
-
|
|
11660
|
-
|
|
11661
|
-
transform: translateX(-100%);
|
|
11584
|
+
/* ─── Variants ────────────────────────────────────────── */
|
|
11585
|
+
|
|
11586
|
+
.muka-fab--primary {
|
|
11587
|
+
background-color: var(--color-action-default);
|
|
11588
|
+
color: var(--color-text-default-inverse);
|
|
11662
11589
|
}
|
|
11663
11590
|
|
|
11664
|
-
.muka-
|
|
11665
|
-
|
|
11666
|
-
right: 0;
|
|
11667
|
-
bottom: 0;
|
|
11668
|
-
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
|
|
11669
|
-
transform: translateY(100%);
|
|
11591
|
+
.muka-fab--primary:hover:not(:disabled) {
|
|
11592
|
+
background-color: var(--color-action-hover);
|
|
11670
11593
|
}
|
|
11671
11594
|
|
|
11672
|
-
.muka-
|
|
11673
|
-
|
|
11674
|
-
|
|
11675
|
-
|
|
11676
|
-
|
|
11677
|
-
|
|
11595
|
+
.muka-fab--secondary {
|
|
11596
|
+
background-color: var(--color-surface-level3);
|
|
11597
|
+
color: var(--color-text-default-default);
|
|
11598
|
+
}
|
|
11599
|
+
|
|
11600
|
+
.muka-fab--secondary:hover:not(:disabled) {
|
|
11601
|
+
background-color: var(--color-surface-level2);
|
|
11602
|
+
}
|
|
11603
|
+
|
|
11604
|
+
/* ─── Sizes (circular by default) ─────────────────────── */
|
|
11605
|
+
|
|
11606
|
+
.muka-fab--md {
|
|
11607
|
+
width: 56px;
|
|
11608
|
+
height: 56px;
|
|
11609
|
+
border-radius: 50%;
|
|
11610
|
+
}
|
|
11611
|
+
|
|
11612
|
+
.muka-fab--lg {
|
|
11613
|
+
width: 64px;
|
|
11614
|
+
height: 64px;
|
|
11615
|
+
border-radius: 50%;
|
|
11616
|
+
}
|
|
11617
|
+
|
|
11618
|
+
/* ─── Extended (pill shape with label) ────────────────── */
|
|
11619
|
+
|
|
11620
|
+
.muka-fab--extended {
|
|
11621
|
+
width: auto;
|
|
11622
|
+
height: auto;
|
|
11623
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
11624
|
+
border-radius: var(--radius-full);
|
|
11625
|
+
}
|
|
11626
|
+
|
|
11627
|
+
.muka-fab--extended.muka-fab--lg {
|
|
11628
|
+
padding: var(--spacing-4) var(--spacing-5);
|
|
11629
|
+
}
|
|
11630
|
+
|
|
11631
|
+
.muka-fab__icon {
|
|
11632
|
+
display: inline-flex;
|
|
11633
|
+
align-items: center;
|
|
11634
|
+
justify-content: center;
|
|
11635
|
+
width: 24px;
|
|
11636
|
+
height: 24px;
|
|
11637
|
+
}
|
|
11638
|
+
|
|
11639
|
+
.muka-fab__icon svg {
|
|
11640
|
+
width: 100%;
|
|
11641
|
+
height: 100%;
|
|
11642
|
+
}
|
|
11643
|
+
|
|
11644
|
+
.muka-fab__label {
|
|
11645
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
11646
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
11647
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
11648
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
11649
|
+
}
|
|
11650
|
+
|
|
11651
|
+
/* ─── Positioning ─────────────────────────────────────── */
|
|
11652
|
+
|
|
11653
|
+
.muka-fab--bottom-right {
|
|
11654
|
+
right: var(--spacing-4);
|
|
11655
|
+
bottom: var(--spacing-4);
|
|
11656
|
+
}
|
|
11657
|
+
|
|
11658
|
+
.muka-fab--bottom-left {
|
|
11659
|
+
left: var(--spacing-4);
|
|
11660
|
+
bottom: var(--spacing-4);
|
|
11661
|
+
}
|
|
11662
|
+
|
|
11663
|
+
.muka-fab--bottom-center {
|
|
11664
|
+
left: 50%;
|
|
11665
|
+
bottom: var(--spacing-4);
|
|
11666
|
+
transform: translateX(-50%);
|
|
11667
|
+
}
|
|
11668
|
+
|
|
11669
|
+
.muka-fab--bottom-center:active {
|
|
11670
|
+
transform: translateX(-50%) scale(0.96);
|
|
11671
|
+
}
|
|
11672
|
+
|
|
11673
|
+
/* Add the iOS home-indicator inset to the bottom offset. */
|
|
11674
|
+
.muka-fab:not(.muka-fab--no-safe-area) {
|
|
11675
|
+
bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
|
|
11676
|
+
}
|
|
11677
|
+
|
|
11678
|
+
/* Lateral safe-area for landscape iPhone with notch. */
|
|
11679
|
+
.muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
|
|
11680
|
+
right: max(var(--spacing-4), env(safe-area-inset-right));
|
|
11681
|
+
}
|
|
11682
|
+
|
|
11683
|
+
.muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
|
|
11684
|
+
left: max(var(--spacing-4), env(safe-area-inset-left));
|
|
11685
|
+
}
|
|
11686
|
+
|
|
11687
|
+
|
|
11688
|
+
/* Drawer */
|
|
11689
|
+
/* Drawer Component Styles */
|
|
11690
|
+
|
|
11691
|
+
/* Size tokens (local to Drawer) */
|
|
11692
|
+
.muka-drawer {
|
|
11693
|
+
--drawer-width-sm: 18rem;
|
|
11694
|
+
--drawer-width-md: 26rem;
|
|
11695
|
+
--drawer-width-lg: 36rem;
|
|
11696
|
+
}
|
|
11697
|
+
|
|
11698
|
+
/* Reset native dialog */
|
|
11699
|
+
.muka-drawer {
|
|
11700
|
+
border: none;
|
|
11701
|
+
padding: 0;
|
|
11702
|
+
max-width: none;
|
|
11703
|
+
max-height: none;
|
|
11704
|
+
background: transparent;
|
|
11705
|
+
overflow: visible;
|
|
11706
|
+
}
|
|
11707
|
+
|
|
11708
|
+
/* Backdrop */
|
|
11709
|
+
.muka-drawer::backdrop {
|
|
11710
|
+
background-color: var(--color-surface-backdrop);
|
|
11711
|
+
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
11712
|
+
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
11713
|
+
opacity: 0;
|
|
11714
|
+
transition: opacity 200ms ease;
|
|
11715
|
+
}
|
|
11716
|
+
|
|
11717
|
+
.muka-drawer--slide-in::backdrop {
|
|
11718
|
+
opacity: 1;
|
|
11719
|
+
}
|
|
11720
|
+
|
|
11721
|
+
/* Surface */
|
|
11722
|
+
.muka-drawer__surface {
|
|
11723
|
+
display: flex;
|
|
11724
|
+
flex-direction: column;
|
|
11725
|
+
background-color: var(--color-surface-level3);
|
|
11726
|
+
box-shadow: var(--shadow-level5);
|
|
11727
|
+
height: 100%;
|
|
11728
|
+
overflow: hidden;
|
|
11729
|
+
position: fixed;
|
|
11730
|
+
transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
11731
|
+
}
|
|
11732
|
+
|
|
11733
|
+
/* Side positioning + initial transforms */
|
|
11734
|
+
.muka-drawer--right .muka-drawer__surface {
|
|
11735
|
+
top: 0;
|
|
11736
|
+
right: 0;
|
|
11737
|
+
bottom: 0;
|
|
11738
|
+
border-radius: var(--radius-lg) 0 0 var(--radius-lg);
|
|
11739
|
+
transform: translateX(100%);
|
|
11740
|
+
}
|
|
11741
|
+
|
|
11742
|
+
.muka-drawer--left .muka-drawer__surface {
|
|
11743
|
+
top: 0;
|
|
11744
|
+
left: 0;
|
|
11745
|
+
bottom: 0;
|
|
11746
|
+
border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
|
|
11747
|
+
transform: translateX(-100%);
|
|
11748
|
+
}
|
|
11749
|
+
|
|
11750
|
+
.muka-drawer--bottom .muka-drawer__surface {
|
|
11751
|
+
left: 0;
|
|
11752
|
+
right: 0;
|
|
11753
|
+
bottom: 0;
|
|
11754
|
+
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
|
|
11755
|
+
transform: translateY(100%);
|
|
11756
|
+
}
|
|
11757
|
+
|
|
11758
|
+
.muka-drawer--top .muka-drawer__surface {
|
|
11759
|
+
left: 0;
|
|
11760
|
+
right: 0;
|
|
11761
|
+
top: 0;
|
|
11762
|
+
border-radius: 0 0 var(--radius-lg) var(--radius-lg);
|
|
11763
|
+
transform: translateY(-100%);
|
|
11678
11764
|
}
|
|
11679
11765
|
|
|
11680
11766
|
/* Slide-in state */
|
|
@@ -14246,74 +14332,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14246
14332
|
}
|
|
14247
14333
|
|
|
14248
14334
|
|
|
14249
|
-
/* ChatMessageStack */
|
|
14250
|
-
/* ChatMessageStack Component Styles */
|
|
14251
|
-
|
|
14252
|
-
.muka-chat-message-stack {
|
|
14253
|
-
display: flex;
|
|
14254
|
-
flex-direction: column;
|
|
14255
|
-
gap: var(--chatbubble-stack-gap);
|
|
14256
|
-
width: 100%;
|
|
14257
|
-
max-width: 100%;
|
|
14258
|
-
}
|
|
14259
|
-
|
|
14260
|
-
.muka-chat-message-stack__messages {
|
|
14261
|
-
display: flex;
|
|
14262
|
-
flex-direction: column;
|
|
14263
|
-
gap: var(--chatbubble-stack-gap);
|
|
14264
|
-
width: 100%;
|
|
14265
|
-
}
|
|
14266
|
-
|
|
14267
|
-
/*
|
|
14268
|
-
* Reasoning sits above the stack, indented past the avatar rail so it lines up
|
|
14269
|
-
* with the bubbles rather than with the avatar (Figma 5379:47300).
|
|
14270
|
-
*/
|
|
14271
|
-
.muka-chat-message-stack__reasoning {
|
|
14272
|
-
min-width: 0;
|
|
14273
|
-
}
|
|
14274
|
-
|
|
14275
|
-
/* In-thread widgets after the messages share the reasoning's indent. */
|
|
14276
|
-
.muka-chat-message-stack__widgets {
|
|
14277
|
-
display: flex;
|
|
14278
|
-
flex-direction: column;
|
|
14279
|
-
gap: var(--chatbubble-stack-gap);
|
|
14280
|
-
min-width: 0;
|
|
14281
|
-
}
|
|
14282
|
-
|
|
14283
|
-
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
|
|
14284
|
-
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
|
|
14285
|
-
padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
|
|
14286
|
-
}
|
|
14287
|
-
|
|
14288
|
-
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14289
|
-
.muka-chat-message-stack__widgets,
|
|
14290
|
-
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14291
|
-
.muka-chat-message-stack__reasoning {
|
|
14292
|
-
padding-left: 0;
|
|
14293
|
-
padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
|
|
14294
|
-
}
|
|
14295
|
-
|
|
14296
|
-
/* Follow the message's compact rail and gap below the desktop breakpoint */
|
|
14297
|
-
@media (max-width: 1023px) {
|
|
14298
|
-
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
|
|
14299
|
-
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
|
|
14300
|
-
padding-left: calc(
|
|
14301
|
-
var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
|
|
14302
|
-
);
|
|
14303
|
-
}
|
|
14304
|
-
|
|
14305
|
-
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14306
|
-
.muka-chat-message-stack__widgets,
|
|
14307
|
-
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14308
|
-
.muka-chat-message-stack__reasoning {
|
|
14309
|
-
padding-left: 0;
|
|
14310
|
-
padding-right: calc(
|
|
14311
|
-
var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
|
|
14312
|
-
);
|
|
14313
|
-
}
|
|
14314
|
-
}
|
|
14315
|
-
|
|
14316
|
-
|
|
14317
14335
|
/* ChatMessageList */
|
|
14318
14336
|
/* ChatMessageList Component Styles */
|
|
14319
14337
|
|
|
@@ -14688,24 +14706,92 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14688
14706
|
}
|
|
14689
14707
|
|
|
14690
14708
|
|
|
14691
|
-
/*
|
|
14692
|
-
/*
|
|
14709
|
+
/* ChatMessageStack */
|
|
14710
|
+
/* ChatMessageStack Component Styles */
|
|
14693
14711
|
|
|
14694
|
-
|
|
14695
|
-
* The composer is a bare, fill-width row: no padding, background, border or
|
|
14696
|
-
* max-width of its own (Figma 5243:14141). Whatever hosts it owns the
|
|
14697
|
-
* container — see BottomBar's `chat` variant.
|
|
14698
|
-
*/
|
|
14699
|
-
.muka-chat-composer {
|
|
14712
|
+
.muka-chat-message-stack {
|
|
14700
14713
|
display: flex;
|
|
14701
14714
|
flex-direction: column;
|
|
14702
|
-
gap: var(--
|
|
14715
|
+
gap: var(--chatbubble-stack-gap);
|
|
14703
14716
|
width: 100%;
|
|
14717
|
+
max-width: 100%;
|
|
14704
14718
|
}
|
|
14705
14719
|
|
|
14706
|
-
.muka-chat-
|
|
14707
|
-
|
|
14708
|
-
|
|
14720
|
+
.muka-chat-message-stack__messages {
|
|
14721
|
+
display: flex;
|
|
14722
|
+
flex-direction: column;
|
|
14723
|
+
gap: var(--chatbubble-stack-gap);
|
|
14724
|
+
width: 100%;
|
|
14725
|
+
}
|
|
14726
|
+
|
|
14727
|
+
/*
|
|
14728
|
+
* Reasoning sits above the stack, indented past the avatar rail so it lines up
|
|
14729
|
+
* with the bubbles rather than with the avatar (Figma 5379:47300).
|
|
14730
|
+
*/
|
|
14731
|
+
.muka-chat-message-stack__reasoning {
|
|
14732
|
+
min-width: 0;
|
|
14733
|
+
}
|
|
14734
|
+
|
|
14735
|
+
/* In-thread widgets after the messages share the reasoning's indent. */
|
|
14736
|
+
.muka-chat-message-stack__widgets {
|
|
14737
|
+
display: flex;
|
|
14738
|
+
flex-direction: column;
|
|
14739
|
+
gap: var(--chatbubble-stack-gap);
|
|
14740
|
+
min-width: 0;
|
|
14741
|
+
}
|
|
14742
|
+
|
|
14743
|
+
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
|
|
14744
|
+
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
|
|
14745
|
+
padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
|
|
14746
|
+
}
|
|
14747
|
+
|
|
14748
|
+
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14749
|
+
.muka-chat-message-stack__widgets,
|
|
14750
|
+
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14751
|
+
.muka-chat-message-stack__reasoning {
|
|
14752
|
+
padding-left: 0;
|
|
14753
|
+
padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
|
|
14754
|
+
}
|
|
14755
|
+
|
|
14756
|
+
/* Follow the message's compact rail and gap below the desktop breakpoint */
|
|
14757
|
+
@media (max-width: 1023px) {
|
|
14758
|
+
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
|
|
14759
|
+
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
|
|
14760
|
+
padding-left: calc(
|
|
14761
|
+
var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
|
|
14762
|
+
);
|
|
14763
|
+
}
|
|
14764
|
+
|
|
14765
|
+
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14766
|
+
.muka-chat-message-stack__widgets,
|
|
14767
|
+
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14768
|
+
.muka-chat-message-stack__reasoning {
|
|
14769
|
+
padding-left: 0;
|
|
14770
|
+
padding-right: calc(
|
|
14771
|
+
var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
|
|
14772
|
+
);
|
|
14773
|
+
}
|
|
14774
|
+
}
|
|
14775
|
+
|
|
14776
|
+
|
|
14777
|
+
/* ChatComposer */
|
|
14778
|
+
/* ChatComposer Component Styles */
|
|
14779
|
+
|
|
14780
|
+
/*
|
|
14781
|
+
* The composer is a bare, fill-width row: no padding, background, border or
|
|
14782
|
+
* max-width of its own (Figma 5243:14141). Whatever hosts it owns the
|
|
14783
|
+
* container — see BottomBar's `chat` variant.
|
|
14784
|
+
*/
|
|
14785
|
+
.muka-chat-composer {
|
|
14786
|
+
display: flex;
|
|
14787
|
+
flex-direction: column;
|
|
14788
|
+
gap: var(--spacing-3);
|
|
14789
|
+
width: 100%;
|
|
14790
|
+
}
|
|
14791
|
+
|
|
14792
|
+
.muka-chat-composer--disabled {
|
|
14793
|
+
opacity: 0.6;
|
|
14794
|
+
pointer-events: none;
|
|
14709
14795
|
}
|
|
14710
14796
|
|
|
14711
14797
|
/* ─── Input row (default layout) ───────────────────────── */
|
|
@@ -15016,152 +15102,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15016
15102
|
}
|
|
15017
15103
|
|
|
15018
15104
|
|
|
15019
|
-
/* Card */
|
|
15020
|
-
/* Card Component Styles - Using Muka Design Tokens */
|
|
15021
|
-
|
|
15022
|
-
.muka-card {
|
|
15023
|
-
background-color: var(--card-color-default-background);
|
|
15024
|
-
color: var(--card-color-default-foreground);
|
|
15025
|
-
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
15026
|
-
box-shadow: var(--card-shadow-default);
|
|
15027
|
-
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15028
|
-
overflow: hidden;
|
|
15029
|
-
}
|
|
15030
|
-
|
|
15031
|
-
/* Padding variants */
|
|
15032
|
-
.muka-card--padding-none {
|
|
15033
|
-
padding: 0;
|
|
15034
|
-
}
|
|
15035
|
-
|
|
15036
|
-
.muka-card--padding-sm {
|
|
15037
|
-
padding: var(--card-padding-sm);
|
|
15038
|
-
}
|
|
15039
|
-
|
|
15040
|
-
.muka-card--padding-md {
|
|
15041
|
-
padding: var(--card-padding-md);
|
|
15042
|
-
}
|
|
15043
|
-
|
|
15044
|
-
.muka-card--padding-lg {
|
|
15045
|
-
padding: var(--card-padding-lg);
|
|
15046
|
-
}
|
|
15047
|
-
|
|
15048
|
-
/* Radius variants */
|
|
15049
|
-
.muka-card--radius-sm {
|
|
15050
|
-
border-radius: var(--card-radius-sm);
|
|
15051
|
-
}
|
|
15052
|
-
|
|
15053
|
-
.muka-card--radius-md {
|
|
15054
|
-
border-radius: var(--card-radius-md);
|
|
15055
|
-
}
|
|
15056
|
-
|
|
15057
|
-
.muka-card--radius-lg {
|
|
15058
|
-
border-radius: var(--card-radius-lg);
|
|
15059
|
-
}
|
|
15060
|
-
|
|
15061
|
-
/* Interactive variant */
|
|
15062
|
-
.muka-card--interactive {
|
|
15063
|
-
cursor: pointer;
|
|
15064
|
-
user-select: none;
|
|
15065
|
-
}
|
|
15066
|
-
|
|
15067
|
-
.muka-card--interactive:hover {
|
|
15068
|
-
background-color: var(--card-color-hover-background);
|
|
15069
|
-
border-color: var(--card-color-hover-border);
|
|
15070
|
-
box-shadow: var(--card-shadow-hover);
|
|
15071
|
-
}
|
|
15072
|
-
|
|
15073
|
-
.muka-card--interactive:active,
|
|
15074
|
-
.muka-card--interactive.muka-card--pressed {
|
|
15075
|
-
background-color: var(--card-color-pressed-background);
|
|
15076
|
-
border-color: var(--card-color-pressed-border);
|
|
15077
|
-
box-shadow: var(--card-shadow-pressed);
|
|
15078
|
-
}
|
|
15079
|
-
|
|
15080
|
-
.muka-card--interactive:focus-visible {
|
|
15081
|
-
outline: 2px solid var(--color-border-focus);
|
|
15082
|
-
outline-offset: 2px;
|
|
15083
|
-
}
|
|
15084
|
-
|
|
15085
|
-
/* Selected variant */
|
|
15086
|
-
.muka-card--selected {
|
|
15087
|
-
background-color: var(--card-color-selected-background);
|
|
15088
|
-
border-color: var(--card-color-selected-border);
|
|
15089
|
-
border-width: var(--border-width-bold);
|
|
15090
|
-
box-shadow: var(--card-shadow-selected);
|
|
15091
|
-
}
|
|
15092
|
-
|
|
15093
|
-
/* Tone: sticky note (MUK-105) */
|
|
15094
|
-
.muka-card--tone-note {
|
|
15095
|
-
background-color: var(--card-color-note-background);
|
|
15096
|
-
color: var(--card-color-note-foreground);
|
|
15097
|
-
border-color: var(--card-color-note-border);
|
|
15098
|
-
box-shadow: var(--card-shadow-note);
|
|
15099
|
-
}
|
|
15100
|
-
|
|
15101
|
-
.muka-card--tone-note.muka-card--interactive:hover,
|
|
15102
|
-
.muka-card--tone-note.muka-card--interactive:active,
|
|
15103
|
-
.muka-card--tone-note.muka-card--interactive.muka-card--pressed {
|
|
15104
|
-
background-color: var(--card-color-note-background);
|
|
15105
|
-
border-color: var(--card-color-note-border);
|
|
15106
|
-
}
|
|
15107
|
-
|
|
15108
|
-
.muka-card--tilt-left {
|
|
15109
|
-
transform: rotate(-0.75deg);
|
|
15110
|
-
}
|
|
15111
|
-
|
|
15112
|
-
.muka-card--tilt-right {
|
|
15113
|
-
transform: rotate(0.6deg);
|
|
15114
|
-
}
|
|
15115
|
-
|
|
15116
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
15117
|
-
.muka-card--tilt-left,
|
|
15118
|
-
.muka-card--tilt-right {
|
|
15119
|
-
transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15120
|
-
}
|
|
15121
|
-
}
|
|
15122
|
-
|
|
15123
|
-
.muka-card--interactive.muka-card--tilt-left:hover,
|
|
15124
|
-
.muka-card--interactive.muka-card--tilt-right:hover {
|
|
15125
|
-
transform: none;
|
|
15126
|
-
}
|
|
15127
|
-
|
|
15128
|
-
/* Optional header (title + description) */
|
|
15129
|
-
.muka-card__header {
|
|
15130
|
-
margin-bottom: var(--spacing-4);
|
|
15131
|
-
}
|
|
15132
|
-
|
|
15133
|
-
.muka-card__title {
|
|
15134
|
-
margin: 0;
|
|
15135
|
-
color: var(--color-text-default-default);
|
|
15136
|
-
font-family: var(--text-heading-xs-fontFamily);
|
|
15137
|
-
font-weight: var(--text-heading-xs-fontWeight);
|
|
15138
|
-
font-size: var(--text-heading-xs-fontSize);
|
|
15139
|
-
line-height: var(--text-heading-xs-lineHeight);
|
|
15140
|
-
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
15141
|
-
}
|
|
15142
|
-
|
|
15143
|
-
.muka-card__description {
|
|
15144
|
-
margin: var(--spacing-1) 0 0;
|
|
15145
|
-
color: var(--color-text-subtle-default);
|
|
15146
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15147
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15148
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
15149
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15150
|
-
}
|
|
15151
|
-
|
|
15152
|
-
/* Hide divider on last list item inside card */
|
|
15153
|
-
.muka-card > .muka-listitem:last-child > .muka-listitem__divider {
|
|
15154
|
-
display: none;
|
|
15155
|
-
}
|
|
15156
|
-
|
|
15157
|
-
/* Disabled state */
|
|
15158
|
-
.muka-card--disabled {
|
|
15159
|
-
opacity: 0.5;
|
|
15160
|
-
cursor: not-allowed;
|
|
15161
|
-
pointer-events: none;
|
|
15162
|
-
}
|
|
15163
|
-
|
|
15164
|
-
|
|
15165
15105
|
/* ChatAttachmentChip */
|
|
15166
15106
|
/* ChatAttachmentChip Component Styles */
|
|
15167
15107
|
|
|
@@ -15318,39 +15258,185 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15318
15258
|
}
|
|
15319
15259
|
|
|
15320
15260
|
|
|
15321
|
-
/*
|
|
15322
|
-
/*
|
|
15323
|
-
|
|
15324
|
-
/* Base button styles */
|
|
15325
|
-
.muka-button {
|
|
15326
|
-
/* Layout */
|
|
15327
|
-
display: inline-flex;
|
|
15328
|
-
align-items: center;
|
|
15329
|
-
justify-content: center;
|
|
15261
|
+
/* Card */
|
|
15262
|
+
/* Card Component Styles - Using Muka Design Tokens */
|
|
15330
15263
|
|
|
15331
|
-
|
|
15332
|
-
|
|
15333
|
-
|
|
15334
|
-
|
|
15335
|
-
|
|
15336
|
-
|
|
15337
|
-
|
|
15338
|
-
cursor: pointer;
|
|
15339
|
-
user-select: none;
|
|
15340
|
-
transition: all 0.2s ease;
|
|
15341
|
-
|
|
15342
|
-
/* Accessibility */
|
|
15343
|
-
outline: none;
|
|
15344
|
-
position: relative;
|
|
15264
|
+
.muka-card {
|
|
15265
|
+
background-color: var(--card-color-default-background);
|
|
15266
|
+
color: var(--card-color-default-foreground);
|
|
15267
|
+
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
15268
|
+
box-shadow: var(--card-shadow-default);
|
|
15269
|
+
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15270
|
+
overflow: hidden;
|
|
15345
15271
|
}
|
|
15346
15272
|
|
|
15347
|
-
/*
|
|
15348
|
-
.muka-
|
|
15349
|
-
|
|
15350
|
-
outline-offset: 2px;
|
|
15273
|
+
/* Padding variants */
|
|
15274
|
+
.muka-card--padding-none {
|
|
15275
|
+
padding: 0;
|
|
15351
15276
|
}
|
|
15352
15277
|
|
|
15353
|
-
|
|
15278
|
+
.muka-card--padding-sm {
|
|
15279
|
+
padding: var(--card-padding-sm);
|
|
15280
|
+
}
|
|
15281
|
+
|
|
15282
|
+
.muka-card--padding-md {
|
|
15283
|
+
padding: var(--card-padding-md);
|
|
15284
|
+
}
|
|
15285
|
+
|
|
15286
|
+
.muka-card--padding-lg {
|
|
15287
|
+
padding: var(--card-padding-lg);
|
|
15288
|
+
}
|
|
15289
|
+
|
|
15290
|
+
/* Radius variants */
|
|
15291
|
+
.muka-card--radius-sm {
|
|
15292
|
+
border-radius: var(--card-radius-sm);
|
|
15293
|
+
}
|
|
15294
|
+
|
|
15295
|
+
.muka-card--radius-md {
|
|
15296
|
+
border-radius: var(--card-radius-md);
|
|
15297
|
+
}
|
|
15298
|
+
|
|
15299
|
+
.muka-card--radius-lg {
|
|
15300
|
+
border-radius: var(--card-radius-lg);
|
|
15301
|
+
}
|
|
15302
|
+
|
|
15303
|
+
/* Interactive variant */
|
|
15304
|
+
.muka-card--interactive {
|
|
15305
|
+
cursor: pointer;
|
|
15306
|
+
user-select: none;
|
|
15307
|
+
}
|
|
15308
|
+
|
|
15309
|
+
.muka-card--interactive:hover {
|
|
15310
|
+
background-color: var(--card-color-hover-background);
|
|
15311
|
+
border-color: var(--card-color-hover-border);
|
|
15312
|
+
box-shadow: var(--card-shadow-hover);
|
|
15313
|
+
}
|
|
15314
|
+
|
|
15315
|
+
.muka-card--interactive:active,
|
|
15316
|
+
.muka-card--interactive.muka-card--pressed {
|
|
15317
|
+
background-color: var(--card-color-pressed-background);
|
|
15318
|
+
border-color: var(--card-color-pressed-border);
|
|
15319
|
+
box-shadow: var(--card-shadow-pressed);
|
|
15320
|
+
}
|
|
15321
|
+
|
|
15322
|
+
.muka-card--interactive:focus-visible {
|
|
15323
|
+
outline: 2px solid var(--color-border-focus);
|
|
15324
|
+
outline-offset: 2px;
|
|
15325
|
+
}
|
|
15326
|
+
|
|
15327
|
+
/* Selected variant */
|
|
15328
|
+
.muka-card--selected {
|
|
15329
|
+
background-color: var(--card-color-selected-background);
|
|
15330
|
+
border-color: var(--card-color-selected-border);
|
|
15331
|
+
border-width: var(--border-width-bold);
|
|
15332
|
+
box-shadow: var(--card-shadow-selected);
|
|
15333
|
+
}
|
|
15334
|
+
|
|
15335
|
+
/* Tone: sticky note (MUK-105) */
|
|
15336
|
+
.muka-card--tone-note {
|
|
15337
|
+
background-color: var(--card-color-note-background);
|
|
15338
|
+
color: var(--card-color-note-foreground);
|
|
15339
|
+
border-color: var(--card-color-note-border);
|
|
15340
|
+
box-shadow: var(--card-shadow-note);
|
|
15341
|
+
}
|
|
15342
|
+
|
|
15343
|
+
.muka-card--tone-note.muka-card--interactive:hover,
|
|
15344
|
+
.muka-card--tone-note.muka-card--interactive:active,
|
|
15345
|
+
.muka-card--tone-note.muka-card--interactive.muka-card--pressed {
|
|
15346
|
+
background-color: var(--card-color-note-background);
|
|
15347
|
+
border-color: var(--card-color-note-border);
|
|
15348
|
+
}
|
|
15349
|
+
|
|
15350
|
+
.muka-card--tilt-left {
|
|
15351
|
+
transform: rotate(-0.75deg);
|
|
15352
|
+
}
|
|
15353
|
+
|
|
15354
|
+
.muka-card--tilt-right {
|
|
15355
|
+
transform: rotate(0.6deg);
|
|
15356
|
+
}
|
|
15357
|
+
|
|
15358
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
15359
|
+
.muka-card--tilt-left,
|
|
15360
|
+
.muka-card--tilt-right {
|
|
15361
|
+
transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15362
|
+
}
|
|
15363
|
+
}
|
|
15364
|
+
|
|
15365
|
+
.muka-card--interactive.muka-card--tilt-left:hover,
|
|
15366
|
+
.muka-card--interactive.muka-card--tilt-right:hover {
|
|
15367
|
+
transform: none;
|
|
15368
|
+
}
|
|
15369
|
+
|
|
15370
|
+
/* Optional header (title + description) */
|
|
15371
|
+
.muka-card__header {
|
|
15372
|
+
margin-bottom: var(--spacing-4);
|
|
15373
|
+
}
|
|
15374
|
+
|
|
15375
|
+
.muka-card__title {
|
|
15376
|
+
margin: 0;
|
|
15377
|
+
color: var(--color-text-default-default);
|
|
15378
|
+
font-family: var(--text-heading-xs-fontFamily);
|
|
15379
|
+
font-weight: var(--text-heading-xs-fontWeight);
|
|
15380
|
+
font-size: var(--text-heading-xs-fontSize);
|
|
15381
|
+
line-height: var(--text-heading-xs-lineHeight);
|
|
15382
|
+
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
15383
|
+
}
|
|
15384
|
+
|
|
15385
|
+
.muka-card__description {
|
|
15386
|
+
margin: var(--spacing-1) 0 0;
|
|
15387
|
+
color: var(--color-text-subtle-default);
|
|
15388
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15389
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15390
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15391
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15392
|
+
}
|
|
15393
|
+
|
|
15394
|
+
/* Hide divider on last list item inside card */
|
|
15395
|
+
.muka-card > .muka-listitem:last-child > .muka-listitem__divider {
|
|
15396
|
+
display: none;
|
|
15397
|
+
}
|
|
15398
|
+
|
|
15399
|
+
/* Disabled state */
|
|
15400
|
+
.muka-card--disabled {
|
|
15401
|
+
opacity: 0.5;
|
|
15402
|
+
cursor: not-allowed;
|
|
15403
|
+
pointer-events: none;
|
|
15404
|
+
}
|
|
15405
|
+
|
|
15406
|
+
|
|
15407
|
+
/* Button */
|
|
15408
|
+
/* Button Component Styles - Using Muka Design Tokens */
|
|
15409
|
+
|
|
15410
|
+
/* Base button styles */
|
|
15411
|
+
.muka-button {
|
|
15412
|
+
/* Layout */
|
|
15413
|
+
display: inline-flex;
|
|
15414
|
+
align-items: center;
|
|
15415
|
+
justify-content: center;
|
|
15416
|
+
|
|
15417
|
+
/* Typography - using semantic tokens */
|
|
15418
|
+
font-family: var(--alias-font-brand-family);
|
|
15419
|
+
font-weight: var(--alias-font-brand-weight-semibold);
|
|
15420
|
+
text-decoration: none;
|
|
15421
|
+
|
|
15422
|
+
/* Interaction */
|
|
15423
|
+
border: none;
|
|
15424
|
+
cursor: pointer;
|
|
15425
|
+
user-select: none;
|
|
15426
|
+
transition: all 0.2s ease;
|
|
15427
|
+
|
|
15428
|
+
/* Accessibility */
|
|
15429
|
+
outline: none;
|
|
15430
|
+
position: relative;
|
|
15431
|
+
}
|
|
15432
|
+
|
|
15433
|
+
/* Focus styles for accessibility */
|
|
15434
|
+
.muka-button:focus-visible {
|
|
15435
|
+
outline: 2px solid var(--color-border-focus);
|
|
15436
|
+
outline-offset: 2px;
|
|
15437
|
+
}
|
|
15438
|
+
|
|
15439
|
+
/* Size variants
|
|
15354
15440
|
Height is driven by min-height; vertical padding is 0 and the label carries
|
|
15355
15441
|
tight (Figma) line-height. Horizontal spacing matches Figma's nested model:
|
|
15356
15442
|
the button's padding is the outer container inset, and the label's own
|
|
@@ -15764,714 +15850,714 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15764
15850
|
}
|
|
15765
15851
|
|
|
15766
15852
|
|
|
15767
|
-
/*
|
|
15768
|
-
/*
|
|
15853
|
+
/* BottomBar */
|
|
15854
|
+
/* BottomBar Component Styles */
|
|
15769
15855
|
|
|
15770
|
-
.muka-
|
|
15771
|
-
|
|
15772
|
-
|
|
15773
|
-
justify-content: center;
|
|
15774
|
-
border-radius: var(--border-radius-full);
|
|
15775
|
-
white-space: nowrap;
|
|
15776
|
-
user-select: none;
|
|
15777
|
-
box-sizing: border-box;
|
|
15856
|
+
.muka-bottombar {
|
|
15857
|
+
width: 100%;
|
|
15858
|
+
background-color: var(--bottombar-color-background);
|
|
15778
15859
|
}
|
|
15779
15860
|
|
|
15780
|
-
/*
|
|
15781
|
-
|
|
15782
|
-
|
|
15783
|
-
* is handled by the fixed height + align-items: center.
|
|
15784
|
-
*/
|
|
15785
|
-
.muka-badge-number--2xs {
|
|
15786
|
-
height: var(--badge-number-size-2xs);
|
|
15787
|
-
min-width: var(--badge-number-size-2xs);
|
|
15788
|
-
padding: 0 var(--badge-number-padding-2xs);
|
|
15789
|
-
font-family: var(--text-label-xs-bold-fontFamily);
|
|
15790
|
-
font-weight: var(--text-label-xs-bold-fontWeight);
|
|
15791
|
-
font-size: var(--text-label-xs-bold-fontSize);
|
|
15792
|
-
line-height: var(--text-label-xs-bold-lineHeight);
|
|
15861
|
+
/* Push content above the iPhone home indicator. Opt out via disableSafeArea. */
|
|
15862
|
+
.muka-bottombar:not(.muka-bottombar--floating):not(.muka-bottombar--no-safe-area) {
|
|
15863
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
15793
15864
|
}
|
|
15794
15865
|
|
|
15795
|
-
|
|
15796
|
-
|
|
15797
|
-
|
|
15798
|
-
padding: 0 var(--badge-number-padding-xs);
|
|
15799
|
-
font-family: var(--text-label-sm-bold-fontFamily);
|
|
15800
|
-
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
15801
|
-
font-size: var(--text-label-sm-bold-fontSize);
|
|
15802
|
-
line-height: var(--text-label-sm-bold-lineHeight);
|
|
15866
|
+
/* Floating variant: ensure margin-bottom is at least the safe-area inset. */
|
|
15867
|
+
.muka-bottombar--floating:not(.muka-bottombar--no-safe-area) {
|
|
15868
|
+
padding-bottom: max(var(--bottombar-floating-margin-bottom), env(safe-area-inset-bottom));
|
|
15803
15869
|
}
|
|
15804
15870
|
|
|
15805
|
-
|
|
15806
|
-
height: var(--badge-number-size-sm);
|
|
15807
|
-
min-width: var(--badge-number-size-sm);
|
|
15808
|
-
padding: 0 var(--badge-number-padding-sm);
|
|
15809
|
-
font-family: var(--text-label-md-bold-fontFamily);
|
|
15810
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
15811
|
-
font-size: var(--text-label-md-bold-fontSize);
|
|
15812
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
15813
|
-
}
|
|
15871
|
+
/* ─── Divider (non-floating) ──────────────────────────── */
|
|
15814
15872
|
|
|
15815
|
-
.muka-
|
|
15816
|
-
height: var(--
|
|
15817
|
-
|
|
15818
|
-
|
|
15819
|
-
font-family: var(--text-label-lg-bold-fontFamily);
|
|
15820
|
-
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
15821
|
-
font-size: var(--text-label-lg-bold-fontSize);
|
|
15822
|
-
line-height: var(--text-label-lg-bold-lineHeight);
|
|
15873
|
+
.muka-bottombar__divider {
|
|
15874
|
+
height: var(--border-width-regular);
|
|
15875
|
+
background-color: var(--bottombar-color-border);
|
|
15876
|
+
width: 100%;
|
|
15823
15877
|
}
|
|
15824
15878
|
|
|
15825
|
-
|
|
15826
|
-
height: var(--badge-number-size-lg);
|
|
15827
|
-
min-width: var(--badge-number-size-lg);
|
|
15828
|
-
padding: 0 var(--badge-number-padding-lg);
|
|
15829
|
-
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
15830
|
-
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
15831
|
-
font-size: var(--text-label-2xl-bold-fontSize);
|
|
15832
|
-
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
15833
|
-
}
|
|
15879
|
+
/* ─── Content container ───────────────────────────────── */
|
|
15834
15880
|
|
|
15835
|
-
.muka-
|
|
15836
|
-
|
|
15837
|
-
|
|
15838
|
-
* glyph descenders; give the label a roomier line-height. Vertical centering
|
|
15839
|
-
* is unaffected because the badge height is fixed and content is centered.
|
|
15840
|
-
*/
|
|
15841
|
-
line-height: normal;
|
|
15881
|
+
.muka-bottombar__content {
|
|
15882
|
+
display: flex;
|
|
15883
|
+
align-items: center;
|
|
15842
15884
|
}
|
|
15843
15885
|
|
|
15844
|
-
/*
|
|
15845
|
-
|
|
15846
|
-
|
|
15847
|
-
|
|
15886
|
+
/* ─── Actions variant (horizontal) ───────────────────── */
|
|
15887
|
+
|
|
15888
|
+
.muka-bottombar--actions .muka-bottombar__content {
|
|
15889
|
+
flex-direction: row;
|
|
15890
|
+
gap: var(--bottombar-actions-gap);
|
|
15891
|
+
padding: var(--bottombar-actions-padding-t) var(--bottombar-actions-padding-x) var(--bottombar-actions-padding-x);
|
|
15848
15892
|
}
|
|
15849
15893
|
|
|
15850
|
-
|
|
15851
|
-
|
|
15852
|
-
background-color: var(--color-state-info-contrast);
|
|
15853
|
-
color: var(--color-text-default-inverse);
|
|
15854
|
-
}
|
|
15855
|
-
|
|
15856
|
-
/* Success variant */
|
|
15857
|
-
.muka-badge-number--success {
|
|
15858
|
-
background-color: var(--color-state-success-contrast);
|
|
15859
|
-
color: var(--color-text-default-inverse);
|
|
15894
|
+
.muka-bottombar--actions .muka-bottombar__content > * {
|
|
15895
|
+
flex: 1;
|
|
15860
15896
|
}
|
|
15861
15897
|
|
|
15862
|
-
/*
|
|
15863
|
-
.muka-badge-number--warning {
|
|
15864
|
-
background-color: var(--color-state-warning-contrast);
|
|
15865
|
-
color: var(--color-text-default-inverse);
|
|
15866
|
-
}
|
|
15898
|
+
/* ─── Actions-vertical variant (stacked) ─────────────── */
|
|
15867
15899
|
|
|
15868
|
-
|
|
15869
|
-
|
|
15870
|
-
|
|
15871
|
-
|
|
15900
|
+
.muka-bottombar--actions-vertical .muka-bottombar__content {
|
|
15901
|
+
flex-direction: column;
|
|
15902
|
+
gap: var(--bottombar-actions-gap);
|
|
15903
|
+
padding: var(--bottombar-actions-padding-t) var(--bottombar-actions-padding-x) var(--bottombar-actions-padding-x);
|
|
15872
15904
|
}
|
|
15873
15905
|
|
|
15874
|
-
|
|
15875
|
-
|
|
15876
|
-
width: var(--spacing-2);
|
|
15877
|
-
height: var(--spacing-2);
|
|
15878
|
-
min-width: 0;
|
|
15879
|
-
padding: 0;
|
|
15906
|
+
.muka-bottombar--actions-vertical .muka-bottombar__content > * {
|
|
15907
|
+
width: 100%;
|
|
15880
15908
|
}
|
|
15881
15909
|
|
|
15910
|
+
/* ─── Message (actions variants only) ────────────────── */
|
|
15882
15911
|
|
|
15883
|
-
/*
|
|
15884
|
-
|
|
15885
|
-
|
|
15886
|
-
|
|
15887
|
-
display: inline-flex;
|
|
15888
|
-
align-items: center;
|
|
15889
|
-
border-radius: var(--border-radius-full);
|
|
15890
|
-
white-space: nowrap;
|
|
15891
|
-
user-select: none;
|
|
15892
|
-
box-sizing: border-box;
|
|
15912
|
+
/* Below 1024px the message takes its own line above the buttons. */
|
|
15913
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
|
|
15914
|
+
flex-wrap: wrap;
|
|
15915
|
+
row-gap: var(--bottombar-actions-message-gap);
|
|
15893
15916
|
}
|
|
15894
15917
|
|
|
15895
|
-
|
|
15896
|
-
|
|
15897
|
-
* Mirrors Chip so the two components share sizing, fonts, and spacing.
|
|
15898
|
-
* Vertical centering is handled by the fixed height + align-items: center.
|
|
15899
|
-
* The leading side gets a tighter padding when an icon/dot is present, via the
|
|
15900
|
-
* --has-icon / --has-dot modifiers below.
|
|
15901
|
-
*/
|
|
15902
|
-
.muka-badge--sm {
|
|
15903
|
-
height: var(--badge-size-height-sm);
|
|
15904
|
-
gap: var(--badge-gap-sm);
|
|
15905
|
-
padding: 0 var(--badge-padding-label-sm);
|
|
15906
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15907
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
15908
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
15909
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
15918
|
+
.muka-bottombar--actions-vertical.muka-bottombar--with-message .muka-bottombar__content {
|
|
15919
|
+
row-gap: var(--bottombar-actions-message-gap);
|
|
15910
15920
|
}
|
|
15911
15921
|
|
|
15912
|
-
.muka-
|
|
15913
|
-
|
|
15914
|
-
|
|
15915
|
-
padding: 0 var(--badge-padding-label-md);
|
|
15916
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
15917
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
15918
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
15919
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
15922
|
+
.muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
|
|
15923
|
+
flex: 1 0 100%;
|
|
15924
|
+
width: 100%;
|
|
15920
15925
|
}
|
|
15921
15926
|
|
|
15922
|
-
.muka-
|
|
15923
|
-
|
|
15924
|
-
|
|
15925
|
-
|
|
15926
|
-
font-family: var(--text-
|
|
15927
|
-
font-weight: var(--text-
|
|
15928
|
-
font-size: var(--text-
|
|
15929
|
-
line-height: var(--text-
|
|
15927
|
+
.muka-bottombar__message {
|
|
15928
|
+
margin: 0;
|
|
15929
|
+
min-width: 0;
|
|
15930
|
+
overflow-wrap: anywhere;
|
|
15931
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15932
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15933
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15934
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15930
15935
|
}
|
|
15931
15936
|
|
|
15932
|
-
|
|
15933
|
-
|
|
15934
|
-
.muka-badge--sm.muka-badge--has-dot {
|
|
15935
|
-
padding-left: var(--badge-padding-leading-sm);
|
|
15937
|
+
.muka-bottombar__message--neutral {
|
|
15938
|
+
color: var(--bottombar-color-message-neutral);
|
|
15936
15939
|
}
|
|
15937
|
-
|
|
15938
|
-
.muka-
|
|
15939
|
-
|
|
15940
|
+
|
|
15941
|
+
.muka-bottombar__message--success {
|
|
15942
|
+
color: var(--bottombar-color-message-success);
|
|
15940
15943
|
}
|
|
15941
|
-
|
|
15942
|
-
.muka-
|
|
15943
|
-
|
|
15944
|
+
|
|
15945
|
+
.muka-bottombar__message--warning {
|
|
15946
|
+
color: var(--bottombar-color-message-warning);
|
|
15944
15947
|
}
|
|
15945
15948
|
|
|
15946
|
-
/*
|
|
15947
|
-
|
|
15948
|
-
|
|
15949
|
-
.muka-
|
|
15950
|
-
|
|
15951
|
-
|
|
15952
|
-
|
|
15949
|
+
/* From 1024px the horizontal bar puts the message left, the buttons right at
|
|
15950
|
+
their own width. The vertical variant keeps stacking. */
|
|
15951
|
+
@media (min-width: 1024px) {
|
|
15952
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
|
|
15953
|
+
flex-wrap: nowrap;
|
|
15954
|
+
}
|
|
15955
|
+
|
|
15956
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > * {
|
|
15957
|
+
flex: 0 0 auto;
|
|
15958
|
+
}
|
|
15959
|
+
|
|
15960
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
|
|
15961
|
+
flex: 1 1 auto;
|
|
15962
|
+
width: auto;
|
|
15963
|
+
}
|
|
15953
15964
|
}
|
|
15954
15965
|
|
|
15955
|
-
|
|
15956
|
-
|
|
15957
|
-
|
|
15958
|
-
|
|
15966
|
+
/* ─── Size modifiers (actions variants only) ─────────── */
|
|
15967
|
+
|
|
15968
|
+
/* ─── Navigation variant ──────────────────────────────── */
|
|
15969
|
+
|
|
15970
|
+
.muka-bottombar--navigation .muka-bottombar__content {
|
|
15971
|
+
flex-direction: row;
|
|
15959
15972
|
}
|
|
15960
15973
|
|
|
15961
|
-
|
|
15962
|
-
|
|
15974
|
+
/* ─── Chat variant (houses a ChatComposer) ───────────── */
|
|
15975
|
+
|
|
15976
|
+
.muka-bottombar--chat .muka-bottombar__content {
|
|
15977
|
+
flex-direction: row;
|
|
15978
|
+
width: 100%;
|
|
15979
|
+
margin: 0 auto;
|
|
15963
15980
|
}
|
|
15964
15981
|
|
|
15965
|
-
|
|
15966
|
-
|
|
15982
|
+
/*
|
|
15983
|
+
* `--bottombar-chat-max-width` is the conversation column (it derives from
|
|
15984
|
+
* `chat.column.max-width`, the same token `ChatMessageList` caps its column
|
|
15985
|
+
* with). The cap here carries the padding on top of it, so it is the
|
|
15986
|
+
* composer's own edges — not the padding around it — that land on the column.
|
|
15987
|
+
*/
|
|
15988
|
+
|
|
15989
|
+
/*
|
|
15990
|
+
* Docked chat pads its content; the floating card supplies its own padding.
|
|
15991
|
+
* The inline half is the section gutter `ChatMessageList` pads its scroller
|
|
15992
|
+
* with, so below the cap — where the column runs full-bleed — the composer
|
|
15993
|
+
* keeps to the same gutters as the messages.
|
|
15994
|
+
*/
|
|
15995
|
+
.muka-bottombar--chat:not(.muka-bottombar--floating) .muka-bottombar__content {
|
|
15996
|
+
padding: var(--bottombar-chat-padding)
|
|
15997
|
+
var(--section-padding-horizontal-default, var(--spacing-4));
|
|
15998
|
+
max-width: calc(
|
|
15999
|
+
var(--bottombar-chat-max-width) + 2 * var(--section-padding-horizontal-default, var(--spacing-4))
|
|
16000
|
+
);
|
|
15967
16001
|
}
|
|
15968
16002
|
|
|
15969
|
-
.
|
|
15970
|
-
|
|
16003
|
+
/* Floating chat card widens to the chat cap (overrides the md default below). */
|
|
16004
|
+
.muka-bottombar--chat.muka-bottombar--floating .muka-bottombar__content {
|
|
16005
|
+
max-width: calc(var(--bottombar-chat-max-width) + 2 * var(--bottombar-floating-padding));
|
|
15971
16006
|
}
|
|
15972
16007
|
|
|
15973
|
-
/*
|
|
15974
|
-
|
|
15975
|
-
|
|
16008
|
+
/* ─── Tab item ────────────────────────────────────────── */
|
|
16009
|
+
|
|
16010
|
+
.muka-bottombar__tab {
|
|
16011
|
+
flex: 1;
|
|
16012
|
+
display: flex;
|
|
16013
|
+
flex-direction: column;
|
|
15976
16014
|
align-items: center;
|
|
15977
|
-
|
|
15978
|
-
|
|
16015
|
+
gap: var(--bottombar-tab-gap);
|
|
16016
|
+
padding: var(--bottombar-tab-padding-y) 0;
|
|
16017
|
+
background: none;
|
|
16018
|
+
border: none;
|
|
16019
|
+
cursor: pointer;
|
|
16020
|
+
color: var(--bottombar-color-tab-inactive);
|
|
16021
|
+
transition: color 0.15s ease;
|
|
16022
|
+
-webkit-tap-highlight-color: transparent;
|
|
15979
16023
|
}
|
|
15980
16024
|
|
|
15981
|
-
.muka-
|
|
15982
|
-
|
|
15983
|
-
|
|
16025
|
+
.muka-bottombar__tab:focus-visible {
|
|
16026
|
+
outline: 2px solid var(--color-action-default);
|
|
16027
|
+
outline-offset: -2px;
|
|
16028
|
+
border-radius: var(--border-radius-sm);
|
|
15984
16029
|
}
|
|
15985
|
-
|
|
15986
|
-
|
|
15987
|
-
|
|
16030
|
+
|
|
16031
|
+
.muka-bottombar__tab--active {
|
|
16032
|
+
color: var(--bottombar-color-tab-active);
|
|
15988
16033
|
}
|
|
15989
|
-
|
|
15990
|
-
|
|
15991
|
-
|
|
16034
|
+
|
|
16035
|
+
.muka-bottombar__tab-icon {
|
|
16036
|
+
position: relative;
|
|
16037
|
+
display: flex;
|
|
16038
|
+
align-items: center;
|
|
16039
|
+
justify-content: center;
|
|
16040
|
+
width: var(--bottombar-tab-icon-size);
|
|
16041
|
+
height: var(--bottombar-tab-icon-size);
|
|
15992
16042
|
}
|
|
15993
16043
|
|
|
15994
|
-
|
|
15995
|
-
so callers don't have to size the icon to match each badge size. The
|
|
15996
|
-
.muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
|
|
15997
|
-
.muka-badge__icon .muka-icon,
|
|
15998
|
-
.muka-badge__icon svg {
|
|
16044
|
+
.muka-bottombar__tab-icon svg {
|
|
15999
16045
|
width: 100%;
|
|
16000
16046
|
height: 100%;
|
|
16001
16047
|
}
|
|
16002
16048
|
|
|
16003
|
-
/*
|
|
16004
|
-
.muka-badge
|
|
16005
|
-
|
|
16006
|
-
|
|
16007
|
-
|
|
16008
|
-
|
|
16009
|
-
|
|
16010
|
-
flex-shrink: 0;
|
|
16011
|
-
border-radius: var(--border-radius-full);
|
|
16049
|
+
/* A count on the icon's top-right corner (unread messages). */
|
|
16050
|
+
.muka-bottombar__tab-badge {
|
|
16051
|
+
position: absolute;
|
|
16052
|
+
top: calc(-1 * var(--spacing-1));
|
|
16053
|
+
left: 60%;
|
|
16054
|
+
display: flex;
|
|
16055
|
+
pointer-events: none;
|
|
16012
16056
|
}
|
|
16013
16057
|
|
|
16014
|
-
.muka-
|
|
16015
|
-
|
|
16016
|
-
|
|
16058
|
+
.muka-bottombar__tab-label {
|
|
16059
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
16060
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
16061
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
16062
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
16017
16063
|
}
|
|
16018
16064
|
|
|
16019
|
-
|
|
16020
|
-
width: var(--badge-size-dot-md);
|
|
16021
|
-
height: var(--badge-size-dot-md);
|
|
16022
|
-
}
|
|
16065
|
+
/* ─── Floating modifier ───────────────────────────────── */
|
|
16023
16066
|
|
|
16024
|
-
.muka-
|
|
16025
|
-
|
|
16026
|
-
|
|
16027
|
-
|
|
16067
|
+
.muka-bottombar--floating {
|
|
16068
|
+
background: linear-gradient(
|
|
16069
|
+
to bottom,
|
|
16070
|
+
var(--bottombar-floating-backdrop-start),
|
|
16071
|
+
var(--bottombar-floating-backdrop-end)
|
|
16072
|
+
);
|
|
16073
|
+
padding: var(--bottombar-floating-padding-top) var(--bottombar-floating-margin-x) var(--bottombar-floating-margin-bottom);
|
|
16028
16074
|
|
|
16029
|
-
|
|
16030
|
-
|
|
16031
|
-
|
|
16032
|
-
|
|
16033
|
-
text-overflow: ellipsis;
|
|
16034
|
-
/*
|
|
16035
|
-
* The badge sets a tight line-height for compact sizing, but the label's
|
|
16036
|
-
* `overflow: hidden` (needed for ellipsis) then clips glyph descenders (g, y, p). Give the
|
|
16037
|
-
* label its own roomier line-height so descenders render; vertical centering is unaffected
|
|
16038
|
-
* because the badge height is fixed and content is centered via align-items: center.
|
|
16039
|
-
*/
|
|
16040
|
-
line-height: normal;
|
|
16075
|
+
/* The transparent frosted margin around the pill overlays scrolling content;
|
|
16076
|
+
let scroll/taps fall through to that content, keeping only the pill itself
|
|
16077
|
+
interactive (re-enabled on __content below). */
|
|
16078
|
+
pointer-events: none;
|
|
16041
16079
|
}
|
|
16042
16080
|
|
|
16043
|
-
|
|
16044
|
-
|
|
16045
|
-
background-color: var(--color-surface-level1);
|
|
16046
|
-
color: var(--color-text-default-default);
|
|
16081
|
+
.muka-bottombar--floating .muka-bottombar__content {
|
|
16082
|
+
pointer-events: auto;
|
|
16047
16083
|
}
|
|
16048
16084
|
|
|
16049
|
-
.muka-
|
|
16050
|
-
background-color: var(--color-
|
|
16085
|
+
.muka-bottombar--floating .muka-bottombar__content {
|
|
16086
|
+
background-color: var(--bottombar-color-background);
|
|
16087
|
+
border-radius: var(--bottombar-floating-radius);
|
|
16088
|
+
padding: var(--bottombar-floating-padding);
|
|
16089
|
+
box-shadow: var(--bottombar-floating-shadow);
|
|
16090
|
+
max-width: var(--bottombar-floating-max-width);
|
|
16091
|
+
width: 100%;
|
|
16092
|
+
margin: 0 auto;
|
|
16051
16093
|
}
|
|
16052
16094
|
|
|
16053
|
-
/*
|
|
16054
|
-
.muka-
|
|
16055
|
-
|
|
16056
|
-
color: var(--color-state-info-contrast);
|
|
16095
|
+
/* Override content padding inside floating per variant */
|
|
16096
|
+
.muka-bottombar--floating.muka-bottombar--actions .muka-bottombar__content {
|
|
16097
|
+
padding: var(--bottombar-floating-padding);
|
|
16057
16098
|
}
|
|
16058
16099
|
|
|
16059
|
-
.muka-
|
|
16060
|
-
|
|
16100
|
+
.muka-bottombar--floating.muka-bottombar--navigation .muka-bottombar__content {
|
|
16101
|
+
padding: var(--bottombar-navigation-floating-padding);
|
|
16061
16102
|
}
|
|
16062
16103
|
|
|
16063
|
-
/*
|
|
16064
|
-
.muka-badge--success {
|
|
16065
|
-
background-color: var(--color-state-success-background);
|
|
16066
|
-
color: var(--color-state-success-contrast);
|
|
16067
|
-
}
|
|
16104
|
+
/* ─── Desktop: Sidebar transformation ─────────────────── */
|
|
16068
16105
|
|
|
16069
|
-
|
|
16070
|
-
|
|
16071
|
-
|
|
16106
|
+
@media (min-width: 1024px) {
|
|
16107
|
+
.muka-bottombar--desktop-sidebar {
|
|
16108
|
+
position: fixed;
|
|
16109
|
+
left: 0;
|
|
16110
|
+
top: 0;
|
|
16111
|
+
bottom: 0;
|
|
16112
|
+
width: 240px;
|
|
16113
|
+
height: 100vh;
|
|
16114
|
+
background-color: var(--bottombar-color-background);
|
|
16115
|
+
border-right: var(--border-width-regular) solid var(--bottombar-color-border);
|
|
16116
|
+
z-index: 10;
|
|
16117
|
+
}
|
|
16072
16118
|
|
|
16073
|
-
|
|
16074
|
-
|
|
16075
|
-
|
|
16076
|
-
color: var(--color-state-warning-contrast);
|
|
16077
|
-
}
|
|
16119
|
+
.muka-bottombar--desktop-sidebar .muka-bottombar__divider {
|
|
16120
|
+
display: none;
|
|
16121
|
+
}
|
|
16078
16122
|
|
|
16079
|
-
.muka-
|
|
16080
|
-
|
|
16081
|
-
|
|
16123
|
+
.muka-bottombar--desktop-sidebar .muka-bottombar__content {
|
|
16124
|
+
flex-direction: column;
|
|
16125
|
+
align-items: stretch;
|
|
16126
|
+
padding: var(--spacing-4) var(--spacing-3);
|
|
16127
|
+
/* The rail runs to the top of the screen: clear the status bar there. */
|
|
16128
|
+
padding-top: calc(var(--spacing-4) + env(safe-area-inset-top, 0px));
|
|
16129
|
+
gap: var(--spacing-1);
|
|
16130
|
+
}
|
|
16082
16131
|
|
|
16083
|
-
|
|
16084
|
-
|
|
16085
|
-
|
|
16086
|
-
|
|
16087
|
-
|
|
16132
|
+
.muka-bottombar--desktop-sidebar .muka-bottombar__tab {
|
|
16133
|
+
flex: 0 0 auto;
|
|
16134
|
+
flex-direction: row;
|
|
16135
|
+
justify-content: flex-start;
|
|
16136
|
+
gap: var(--spacing-3);
|
|
16137
|
+
padding: var(--spacing-3);
|
|
16138
|
+
border-radius: var(--border-radius-md);
|
|
16139
|
+
}
|
|
16088
16140
|
|
|
16089
|
-
.muka-
|
|
16090
|
-
|
|
16091
|
-
}
|
|
16141
|
+
.muka-bottombar--desktop-sidebar .muka-bottombar__tab:hover {
|
|
16142
|
+
background-color: var(--color-surface-level2);
|
|
16143
|
+
}
|
|
16092
16144
|
|
|
16145
|
+
.muka-bottombar--desktop-sidebar .muka-bottombar__tab-label {
|
|
16146
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
16147
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
16148
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
16149
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
16150
|
+
}
|
|
16093
16151
|
|
|
16094
|
-
/*
|
|
16095
|
-
|
|
16152
|
+
/* When floating and sidebar, remove the floating card styles */
|
|
16153
|
+
.muka-bottombar--desktop-sidebar.muka-bottombar--floating {
|
|
16154
|
+
padding: 0;
|
|
16155
|
+
}
|
|
16096
16156
|
|
|
16097
|
-
.muka-bottombar {
|
|
16098
|
-
|
|
16099
|
-
|
|
16157
|
+
.muka-bottombar--desktop-sidebar.muka-bottombar--floating .muka-bottombar__content {
|
|
16158
|
+
background-color: transparent;
|
|
16159
|
+
border-radius: 0;
|
|
16160
|
+
box-shadow: none;
|
|
16161
|
+
}
|
|
16100
16162
|
}
|
|
16101
16163
|
|
|
16102
|
-
/*
|
|
16103
|
-
.muka-bottombar:not(.muka-bottombar--floating):not(.muka-bottombar--no-safe-area) {
|
|
16104
|
-
padding-bottom: env(safe-area-inset-bottom);
|
|
16105
|
-
}
|
|
16164
|
+
/* ─── Desktop: Top Navigation transformation ──────────── */
|
|
16106
16165
|
|
|
16107
|
-
|
|
16108
|
-
.muka-bottombar--
|
|
16109
|
-
|
|
16110
|
-
|
|
16166
|
+
@media (min-width: 1024px) {
|
|
16167
|
+
.muka-bottombar--desktop-topnav {
|
|
16168
|
+
position: fixed;
|
|
16169
|
+
top: 0;
|
|
16170
|
+
left: 0;
|
|
16171
|
+
right: 0;
|
|
16172
|
+
width: 100%;
|
|
16173
|
+
height: auto;
|
|
16174
|
+
background-color: var(--bottombar-color-background);
|
|
16175
|
+
border-bottom: var(--border-width-regular) solid var(--bottombar-color-border);
|
|
16176
|
+
z-index: 10;
|
|
16177
|
+
}
|
|
16111
16178
|
|
|
16112
|
-
|
|
16179
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__divider {
|
|
16180
|
+
display: none;
|
|
16181
|
+
}
|
|
16113
16182
|
|
|
16114
|
-
.muka-
|
|
16115
|
-
|
|
16116
|
-
|
|
16117
|
-
|
|
16118
|
-
|
|
16183
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__content {
|
|
16184
|
+
flex-direction: row;
|
|
16185
|
+
justify-content: center;
|
|
16186
|
+
gap: var(--spacing-1);
|
|
16187
|
+
padding: 0 var(--spacing-4);
|
|
16188
|
+
max-width: var(--container-max-width-large, 1200px);
|
|
16189
|
+
margin: 0 auto;
|
|
16190
|
+
}
|
|
16119
16191
|
|
|
16120
|
-
|
|
16192
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab {
|
|
16193
|
+
flex: 0 0 auto;
|
|
16194
|
+
flex-direction: row;
|
|
16195
|
+
gap: var(--spacing-2);
|
|
16196
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
16197
|
+
border-radius: 0;
|
|
16198
|
+
border-bottom: 2px solid transparent;
|
|
16199
|
+
}
|
|
16121
16200
|
|
|
16122
|
-
.muka-
|
|
16123
|
-
|
|
16124
|
-
|
|
16125
|
-
}
|
|
16201
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab--active {
|
|
16202
|
+
border-bottom-color: var(--color-action-default);
|
|
16203
|
+
}
|
|
16126
16204
|
|
|
16127
|
-
|
|
16205
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab:hover {
|
|
16206
|
+
background-color: var(--color-surface-level2);
|
|
16207
|
+
}
|
|
16128
16208
|
|
|
16129
|
-
.muka-bottombar--
|
|
16130
|
-
|
|
16131
|
-
|
|
16132
|
-
|
|
16133
|
-
|
|
16209
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab-label {
|
|
16210
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
16211
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
16212
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
16213
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
16214
|
+
}
|
|
16134
16215
|
|
|
16135
|
-
|
|
16136
|
-
|
|
16216
|
+
/* When floating and topnav, remove the floating card styles */
|
|
16217
|
+
.muka-bottombar--desktop-topnav.muka-bottombar--floating {
|
|
16218
|
+
padding: 0;
|
|
16219
|
+
}
|
|
16220
|
+
|
|
16221
|
+
.muka-bottombar--desktop-topnav.muka-bottombar--floating .muka-bottombar__content {
|
|
16222
|
+
background-color: transparent;
|
|
16223
|
+
border-radius: 0;
|
|
16224
|
+
box-shadow: none;
|
|
16225
|
+
}
|
|
16137
16226
|
}
|
|
16138
16227
|
|
|
16139
|
-
/* ───
|
|
16228
|
+
/* ─── Print ────────────────────────────────────────────── */
|
|
16140
16229
|
|
|
16141
|
-
|
|
16142
|
-
|
|
16143
|
-
|
|
16144
|
-
|
|
16230
|
+
@media print {
|
|
16231
|
+
.muka-bottombar {
|
|
16232
|
+
display: none;
|
|
16233
|
+
}
|
|
16145
16234
|
}
|
|
16146
16235
|
|
|
16147
|
-
.muka-bottombar--actions-vertical .muka-bottombar__content > * {
|
|
16148
|
-
width: 100%;
|
|
16149
|
-
}
|
|
16150
16236
|
|
|
16151
|
-
/*
|
|
16237
|
+
/* BadgeNumber */
|
|
16238
|
+
/* BadgeNumber Component Styles - Using Muka Design Tokens */
|
|
16152
16239
|
|
|
16153
|
-
|
|
16154
|
-
|
|
16155
|
-
|
|
16156
|
-
|
|
16240
|
+
.muka-badge-number {
|
|
16241
|
+
display: inline-flex;
|
|
16242
|
+
align-items: center;
|
|
16243
|
+
justify-content: center;
|
|
16244
|
+
border-radius: var(--border-radius-full);
|
|
16245
|
+
white-space: nowrap;
|
|
16246
|
+
user-select: none;
|
|
16247
|
+
box-sizing: border-box;
|
|
16157
16248
|
}
|
|
16158
16249
|
|
|
16159
|
-
|
|
16160
|
-
|
|
16250
|
+
/*
|
|
16251
|
+
* Sizes — fixed height, matching min-width (so a single digit renders as a
|
|
16252
|
+
* circle), horizontal padding, and bold label typography. Vertical centering
|
|
16253
|
+
* is handled by the fixed height + align-items: center.
|
|
16254
|
+
*/
|
|
16255
|
+
.muka-badge-number--2xs {
|
|
16256
|
+
height: var(--badge-number-size-2xs);
|
|
16257
|
+
min-width: var(--badge-number-size-2xs);
|
|
16258
|
+
padding: 0 var(--badge-number-padding-2xs);
|
|
16259
|
+
font-family: var(--text-label-xs-bold-fontFamily);
|
|
16260
|
+
font-weight: var(--text-label-xs-bold-fontWeight);
|
|
16261
|
+
font-size: var(--text-label-xs-bold-fontSize);
|
|
16262
|
+
line-height: var(--text-label-xs-bold-lineHeight);
|
|
16161
16263
|
}
|
|
16162
16264
|
|
|
16163
|
-
.muka-
|
|
16164
|
-
|
|
16165
|
-
width:
|
|
16265
|
+
.muka-badge-number--xs {
|
|
16266
|
+
height: var(--badge-number-size-xs);
|
|
16267
|
+
min-width: var(--badge-number-size-xs);
|
|
16268
|
+
padding: 0 var(--badge-number-padding-xs);
|
|
16269
|
+
font-family: var(--text-label-sm-bold-fontFamily);
|
|
16270
|
+
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
16271
|
+
font-size: var(--text-label-sm-bold-fontSize);
|
|
16272
|
+
line-height: var(--text-label-sm-bold-lineHeight);
|
|
16166
16273
|
}
|
|
16167
16274
|
|
|
16168
|
-
.muka-
|
|
16169
|
-
|
|
16170
|
-
min-width:
|
|
16171
|
-
|
|
16172
|
-
font-family: var(--text-
|
|
16173
|
-
font-weight: var(--text-
|
|
16174
|
-
font-size: var(--text-
|
|
16175
|
-
line-height: var(--text-
|
|
16275
|
+
.muka-badge-number--sm {
|
|
16276
|
+
height: var(--badge-number-size-sm);
|
|
16277
|
+
min-width: var(--badge-number-size-sm);
|
|
16278
|
+
padding: 0 var(--badge-number-padding-sm);
|
|
16279
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
16280
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
16281
|
+
font-size: var(--text-label-md-bold-fontSize);
|
|
16282
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
16176
16283
|
}
|
|
16177
16284
|
|
|
16178
|
-
.muka-
|
|
16179
|
-
|
|
16285
|
+
.muka-badge-number--md {
|
|
16286
|
+
height: var(--badge-number-size-md);
|
|
16287
|
+
min-width: var(--badge-number-size-md);
|
|
16288
|
+
padding: 0 var(--badge-number-padding-md);
|
|
16289
|
+
font-family: var(--text-label-lg-bold-fontFamily);
|
|
16290
|
+
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
16291
|
+
font-size: var(--text-label-lg-bold-fontSize);
|
|
16292
|
+
line-height: var(--text-label-lg-bold-lineHeight);
|
|
16180
16293
|
}
|
|
16181
16294
|
|
|
16182
|
-
.muka-
|
|
16183
|
-
|
|
16295
|
+
.muka-badge-number--lg {
|
|
16296
|
+
height: var(--badge-number-size-lg);
|
|
16297
|
+
min-width: var(--badge-number-size-lg);
|
|
16298
|
+
padding: 0 var(--badge-number-padding-lg);
|
|
16299
|
+
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
16300
|
+
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
16301
|
+
font-size: var(--text-label-2xl-bold-fontSize);
|
|
16302
|
+
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
16184
16303
|
}
|
|
16185
16304
|
|
|
16186
|
-
.muka-
|
|
16187
|
-
|
|
16305
|
+
.muka-badge-number__label {
|
|
16306
|
+
/*
|
|
16307
|
+
* The badge sets a tight line-height for compact sizing, which would clip
|
|
16308
|
+
* glyph descenders; give the label a roomier line-height. Vertical centering
|
|
16309
|
+
* is unaffected because the badge height is fixed and content is centered.
|
|
16310
|
+
*/
|
|
16311
|
+
line-height: normal;
|
|
16188
16312
|
}
|
|
16189
16313
|
|
|
16190
|
-
/*
|
|
16191
|
-
|
|
16192
|
-
|
|
16193
|
-
|
|
16194
|
-
|
|
16195
|
-
}
|
|
16314
|
+
/* Neutral variant */
|
|
16315
|
+
.muka-badge-number--neutral {
|
|
16316
|
+
background-color: var(--color-surface-level1);
|
|
16317
|
+
color: var(--color-text-default-default);
|
|
16318
|
+
}
|
|
16196
16319
|
|
|
16197
|
-
|
|
16198
|
-
|
|
16199
|
-
|
|
16320
|
+
/* Info variant */
|
|
16321
|
+
.muka-badge-number--info {
|
|
16322
|
+
background-color: var(--color-state-info-contrast);
|
|
16323
|
+
color: var(--color-text-default-inverse);
|
|
16324
|
+
}
|
|
16200
16325
|
|
|
16201
|
-
|
|
16202
|
-
|
|
16203
|
-
|
|
16204
|
-
|
|
16326
|
+
/* Success variant */
|
|
16327
|
+
.muka-badge-number--success {
|
|
16328
|
+
background-color: var(--color-state-success-contrast);
|
|
16329
|
+
color: var(--color-text-default-inverse);
|
|
16205
16330
|
}
|
|
16206
16331
|
|
|
16207
|
-
/*
|
|
16332
|
+
/* Warning variant */
|
|
16333
|
+
.muka-badge-number--warning {
|
|
16334
|
+
background-color: var(--color-state-warning-contrast);
|
|
16335
|
+
color: var(--color-text-default-inverse);
|
|
16336
|
+
}
|
|
16208
16337
|
|
|
16209
|
-
/*
|
|
16338
|
+
/* Error variant */
|
|
16339
|
+
.muka-badge-number--error {
|
|
16340
|
+
background-color: var(--color-state-error-contrast);
|
|
16341
|
+
color: var(--color-text-default-inverse);
|
|
16342
|
+
}
|
|
16210
16343
|
|
|
16211
|
-
|
|
16212
|
-
|
|
16344
|
+
/* Dot: something new, without a count */
|
|
16345
|
+
.muka-badge-number--dot {
|
|
16346
|
+
width: var(--spacing-2);
|
|
16347
|
+
height: var(--spacing-2);
|
|
16348
|
+
min-width: 0;
|
|
16349
|
+
padding: 0;
|
|
16213
16350
|
}
|
|
16214
16351
|
|
|
16215
|
-
/* ─── Chat variant (houses a ChatComposer) ───────────── */
|
|
16216
16352
|
|
|
16217
|
-
|
|
16218
|
-
|
|
16219
|
-
width: 100%;
|
|
16220
|
-
margin: 0 auto;
|
|
16221
|
-
}
|
|
16353
|
+
/* Badge */
|
|
16354
|
+
/* Badge Component Styles - Using Muka Design Tokens */
|
|
16222
16355
|
|
|
16223
|
-
|
|
16224
|
-
|
|
16225
|
-
|
|
16226
|
-
|
|
16227
|
-
|
|
16228
|
-
|
|
16356
|
+
.muka-badge {
|
|
16357
|
+
display: inline-flex;
|
|
16358
|
+
align-items: center;
|
|
16359
|
+
border-radius: var(--border-radius-full);
|
|
16360
|
+
white-space: nowrap;
|
|
16361
|
+
user-select: none;
|
|
16362
|
+
box-sizing: border-box;
|
|
16363
|
+
}
|
|
16229
16364
|
|
|
16230
16365
|
/*
|
|
16231
|
-
*
|
|
16232
|
-
*
|
|
16233
|
-
*
|
|
16234
|
-
*
|
|
16366
|
+
* Sizes — height, gap, type, and default (label-edge) horizontal padding.
|
|
16367
|
+
* Mirrors Chip so the two components share sizing, fonts, and spacing.
|
|
16368
|
+
* Vertical centering is handled by the fixed height + align-items: center.
|
|
16369
|
+
* The leading side gets a tighter padding when an icon/dot is present, via the
|
|
16370
|
+
* --has-icon / --has-dot modifiers below.
|
|
16235
16371
|
*/
|
|
16236
|
-
.muka-
|
|
16237
|
-
|
|
16238
|
-
|
|
16239
|
-
|
|
16240
|
-
|
|
16241
|
-
);
|
|
16372
|
+
.muka-badge--sm {
|
|
16373
|
+
height: var(--badge-size-height-sm);
|
|
16374
|
+
gap: var(--badge-gap-sm);
|
|
16375
|
+
padding: 0 var(--badge-padding-label-sm);
|
|
16376
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
16377
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
16378
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
16379
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
16242
16380
|
}
|
|
16243
16381
|
|
|
16244
|
-
|
|
16245
|
-
|
|
16246
|
-
|
|
16382
|
+
.muka-badge--md {
|
|
16383
|
+
height: var(--badge-size-height-md);
|
|
16384
|
+
gap: var(--badge-gap-md);
|
|
16385
|
+
padding: 0 var(--badge-padding-label-md);
|
|
16386
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
16387
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
16388
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
16389
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
16247
16390
|
}
|
|
16248
16391
|
|
|
16249
|
-
|
|
16250
|
-
|
|
16251
|
-
|
|
16252
|
-
|
|
16253
|
-
|
|
16254
|
-
|
|
16255
|
-
|
|
16256
|
-
|
|
16257
|
-
padding: var(--bottombar-tab-padding-y) 0;
|
|
16258
|
-
background: none;
|
|
16259
|
-
border: none;
|
|
16260
|
-
cursor: pointer;
|
|
16261
|
-
color: var(--bottombar-color-tab-inactive);
|
|
16262
|
-
transition: color 0.15s ease;
|
|
16263
|
-
-webkit-tap-highlight-color: transparent;
|
|
16392
|
+
.muka-badge--lg {
|
|
16393
|
+
height: var(--badge-size-height-lg);
|
|
16394
|
+
gap: var(--badge-gap-lg);
|
|
16395
|
+
padding: 0 var(--badge-padding-label-lg);
|
|
16396
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
16397
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
16398
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
16399
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
16264
16400
|
}
|
|
16265
16401
|
|
|
16266
|
-
|
|
16267
|
-
|
|
16268
|
-
|
|
16269
|
-
|
|
16402
|
+
/* Tighter leading padding when a leading icon or dot is present */
|
|
16403
|
+
.muka-badge--sm.muka-badge--has-icon,
|
|
16404
|
+
.muka-badge--sm.muka-badge--has-dot {
|
|
16405
|
+
padding-left: var(--badge-padding-leading-sm);
|
|
16270
16406
|
}
|
|
16271
|
-
|
|
16272
|
-
.muka-
|
|
16273
|
-
|
|
16407
|
+
.muka-badge--md.muka-badge--has-icon,
|
|
16408
|
+
.muka-badge--md.muka-badge--has-dot {
|
|
16409
|
+
padding-left: var(--badge-padding-leading-md);
|
|
16410
|
+
}
|
|
16411
|
+
.muka-badge--lg.muka-badge--has-icon,
|
|
16412
|
+
.muka-badge--lg.muka-badge--has-dot {
|
|
16413
|
+
padding-left: var(--badge-padding-leading-lg);
|
|
16274
16414
|
}
|
|
16275
16415
|
|
|
16276
|
-
|
|
16277
|
-
|
|
16278
|
-
|
|
16279
|
-
|
|
16416
|
+
/* Icon-only — square, sized to the badge height (Figma: 24 / 32 / 40).
|
|
16417
|
+
* Padding resets at size+icon-only specificity so `--has-icon` leading padding
|
|
16418
|
+
* cannot win and shift the icon off-center. */
|
|
16419
|
+
.muka-badge--icon-only {
|
|
16280
16420
|
justify-content: center;
|
|
16281
|
-
|
|
16282
|
-
|
|
16421
|
+
align-items: center;
|
|
16422
|
+
gap: 0;
|
|
16283
16423
|
}
|
|
16284
16424
|
|
|
16285
|
-
.muka-
|
|
16286
|
-
|
|
16287
|
-
|
|
16425
|
+
.muka-badge--sm.muka-badge--icon-only,
|
|
16426
|
+
.muka-badge--md.muka-badge--icon-only,
|
|
16427
|
+
.muka-badge--lg.muka-badge--icon-only {
|
|
16428
|
+
padding: 0;
|
|
16288
16429
|
}
|
|
16289
16430
|
|
|
16290
|
-
|
|
16291
|
-
|
|
16292
|
-
position: absolute;
|
|
16293
|
-
top: calc(-1 * var(--spacing-1));
|
|
16294
|
-
left: 60%;
|
|
16295
|
-
display: flex;
|
|
16296
|
-
pointer-events: none;
|
|
16431
|
+
.muka-badge--sm.muka-badge--icon-only {
|
|
16432
|
+
width: var(--badge-size-height-sm);
|
|
16297
16433
|
}
|
|
16298
16434
|
|
|
16299
|
-
.muka-
|
|
16300
|
-
|
|
16301
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
16302
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
16303
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
16435
|
+
.muka-badge--md.muka-badge--icon-only {
|
|
16436
|
+
width: var(--badge-size-height-md);
|
|
16304
16437
|
}
|
|
16305
16438
|
|
|
16306
|
-
|
|
16307
|
-
|
|
16308
|
-
|
|
16309
|
-
background: linear-gradient(
|
|
16310
|
-
to bottom,
|
|
16311
|
-
var(--bottombar-floating-backdrop-start),
|
|
16312
|
-
var(--bottombar-floating-backdrop-end)
|
|
16313
|
-
);
|
|
16314
|
-
padding: var(--bottombar-floating-padding-top) var(--bottombar-floating-margin-x) var(--bottombar-floating-margin-bottom);
|
|
16439
|
+
.muka-badge--lg.muka-badge--icon-only {
|
|
16440
|
+
width: var(--badge-size-height-lg);
|
|
16441
|
+
}
|
|
16315
16442
|
|
|
16316
|
-
|
|
16317
|
-
|
|
16318
|
-
|
|
16319
|
-
|
|
16443
|
+
/* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 (matches Chip) */
|
|
16444
|
+
.muka-badge__icon {
|
|
16445
|
+
display: inline-flex;
|
|
16446
|
+
align-items: center;
|
|
16447
|
+
justify-content: center;
|
|
16448
|
+
flex-shrink: 0;
|
|
16320
16449
|
}
|
|
16321
16450
|
|
|
16322
|
-
.muka-
|
|
16323
|
-
|
|
16451
|
+
.muka-badge--sm .muka-badge__icon {
|
|
16452
|
+
width: var(--icon-size-xs);
|
|
16453
|
+
height: var(--icon-size-xs);
|
|
16454
|
+
}
|
|
16455
|
+
.muka-badge--md .muka-badge__icon {
|
|
16456
|
+
width: var(--icon-size-sm);
|
|
16457
|
+
height: var(--icon-size-sm);
|
|
16458
|
+
}
|
|
16459
|
+
.muka-badge--lg .muka-badge__icon {
|
|
16460
|
+
width: var(--icon-size-default);
|
|
16461
|
+
height: var(--icon-size-default);
|
|
16324
16462
|
}
|
|
16325
16463
|
|
|
16326
|
-
|
|
16327
|
-
|
|
16328
|
-
|
|
16329
|
-
|
|
16330
|
-
|
|
16331
|
-
max-width: var(--bottombar-floating-max-width);
|
|
16464
|
+
/* Force the passed content (raw <svg> or an <Icon> wrapper) to the slot size,
|
|
16465
|
+
so callers don't have to size the icon to match each badge size. The
|
|
16466
|
+
.muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
|
|
16467
|
+
.muka-badge__icon .muka-icon,
|
|
16468
|
+
.muka-badge__icon svg {
|
|
16332
16469
|
width: 100%;
|
|
16333
|
-
|
|
16470
|
+
height: 100%;
|
|
16334
16471
|
}
|
|
16335
16472
|
|
|
16336
|
-
/*
|
|
16337
|
-
.muka-
|
|
16338
|
-
|
|
16473
|
+
/* Icons inherit the badge's per-variant foreground color */
|
|
16474
|
+
.muka-badge .muka-icon {
|
|
16475
|
+
color: inherit;
|
|
16339
16476
|
}
|
|
16340
16477
|
|
|
16341
|
-
|
|
16342
|
-
|
|
16478
|
+
/* Dot indicator */
|
|
16479
|
+
.muka-badge__dot {
|
|
16480
|
+
flex-shrink: 0;
|
|
16481
|
+
border-radius: var(--border-radius-full);
|
|
16343
16482
|
}
|
|
16344
16483
|
|
|
16345
|
-
|
|
16346
|
-
|
|
16347
|
-
|
|
16348
|
-
|
|
16349
|
-
position: fixed;
|
|
16350
|
-
left: 0;
|
|
16351
|
-
top: 0;
|
|
16352
|
-
bottom: 0;
|
|
16353
|
-
width: 240px;
|
|
16354
|
-
height: 100vh;
|
|
16355
|
-
background-color: var(--bottombar-color-background);
|
|
16356
|
-
border-right: var(--border-width-regular) solid var(--bottombar-color-border);
|
|
16357
|
-
z-index: 10;
|
|
16358
|
-
}
|
|
16359
|
-
|
|
16360
|
-
.muka-bottombar--desktop-sidebar .muka-bottombar__divider {
|
|
16361
|
-
display: none;
|
|
16362
|
-
}
|
|
16363
|
-
|
|
16364
|
-
.muka-bottombar--desktop-sidebar .muka-bottombar__content {
|
|
16365
|
-
flex-direction: column;
|
|
16366
|
-
align-items: stretch;
|
|
16367
|
-
padding: var(--spacing-4) var(--spacing-3);
|
|
16368
|
-
/* The rail runs to the top of the screen: clear the status bar there. */
|
|
16369
|
-
padding-top: calc(var(--spacing-4) + env(safe-area-inset-top, 0px));
|
|
16370
|
-
gap: var(--spacing-1);
|
|
16371
|
-
}
|
|
16372
|
-
|
|
16373
|
-
.muka-bottombar--desktop-sidebar .muka-bottombar__tab {
|
|
16374
|
-
flex: 0 0 auto;
|
|
16375
|
-
flex-direction: row;
|
|
16376
|
-
justify-content: flex-start;
|
|
16377
|
-
gap: var(--spacing-3);
|
|
16378
|
-
padding: var(--spacing-3);
|
|
16379
|
-
border-radius: var(--border-radius-md);
|
|
16380
|
-
}
|
|
16381
|
-
|
|
16382
|
-
.muka-bottombar--desktop-sidebar .muka-bottombar__tab:hover {
|
|
16383
|
-
background-color: var(--color-surface-level2);
|
|
16384
|
-
}
|
|
16385
|
-
|
|
16386
|
-
.muka-bottombar--desktop-sidebar .muka-bottombar__tab-label {
|
|
16387
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
16388
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
16389
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
16390
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
16391
|
-
}
|
|
16392
|
-
|
|
16393
|
-
/* When floating and sidebar, remove the floating card styles */
|
|
16394
|
-
.muka-bottombar--desktop-sidebar.muka-bottombar--floating {
|
|
16395
|
-
padding: 0;
|
|
16396
|
-
}
|
|
16484
|
+
.muka-badge--sm .muka-badge__dot {
|
|
16485
|
+
width: var(--badge-size-dot-sm);
|
|
16486
|
+
height: var(--badge-size-dot-sm);
|
|
16487
|
+
}
|
|
16397
16488
|
|
|
16398
|
-
|
|
16399
|
-
|
|
16400
|
-
|
|
16401
|
-
box-shadow: none;
|
|
16402
|
-
}
|
|
16489
|
+
.muka-badge--md .muka-badge__dot {
|
|
16490
|
+
width: var(--badge-size-dot-md);
|
|
16491
|
+
height: var(--badge-size-dot-md);
|
|
16403
16492
|
}
|
|
16404
16493
|
|
|
16405
|
-
|
|
16494
|
+
.muka-badge--lg .muka-badge__dot {
|
|
16495
|
+
width: var(--badge-size-dot-lg);
|
|
16496
|
+
height: var(--badge-size-dot-lg);
|
|
16497
|
+
}
|
|
16406
16498
|
|
|
16407
|
-
|
|
16408
|
-
|
|
16409
|
-
|
|
16410
|
-
|
|
16411
|
-
|
|
16412
|
-
|
|
16413
|
-
|
|
16414
|
-
|
|
16415
|
-
|
|
16416
|
-
|
|
16417
|
-
|
|
16418
|
-
|
|
16499
|
+
.muka-badge__label {
|
|
16500
|
+
flex: 0 1 auto;
|
|
16501
|
+
min-width: 0;
|
|
16502
|
+
overflow: hidden;
|
|
16503
|
+
text-overflow: ellipsis;
|
|
16504
|
+
/*
|
|
16505
|
+
* The badge sets a tight line-height for compact sizing, but the label's
|
|
16506
|
+
* `overflow: hidden` (needed for ellipsis) then clips glyph descenders (g, y, p). Give the
|
|
16507
|
+
* label its own roomier line-height so descenders render; vertical centering is unaffected
|
|
16508
|
+
* because the badge height is fixed and content is centered via align-items: center.
|
|
16509
|
+
*/
|
|
16510
|
+
line-height: normal;
|
|
16511
|
+
}
|
|
16419
16512
|
|
|
16420
|
-
|
|
16421
|
-
|
|
16422
|
-
|
|
16513
|
+
/* Neutral variant */
|
|
16514
|
+
.muka-badge--neutral {
|
|
16515
|
+
background-color: var(--color-surface-level1);
|
|
16516
|
+
color: var(--color-text-default-default);
|
|
16517
|
+
}
|
|
16423
16518
|
|
|
16424
|
-
|
|
16425
|
-
|
|
16426
|
-
|
|
16427
|
-
gap: var(--spacing-1);
|
|
16428
|
-
padding: 0 var(--spacing-4);
|
|
16429
|
-
max-width: var(--container-max-width-large, 1200px);
|
|
16430
|
-
margin: 0 auto;
|
|
16431
|
-
}
|
|
16519
|
+
.muka-badge--neutral .muka-badge__dot {
|
|
16520
|
+
background-color: var(--color-text-subtle-default);
|
|
16521
|
+
}
|
|
16432
16522
|
|
|
16433
|
-
|
|
16434
|
-
|
|
16435
|
-
|
|
16436
|
-
|
|
16437
|
-
|
|
16438
|
-
border-radius: 0;
|
|
16439
|
-
border-bottom: 2px solid transparent;
|
|
16440
|
-
}
|
|
16523
|
+
/* Info variant */
|
|
16524
|
+
.muka-badge--info {
|
|
16525
|
+
background-color: var(--color-state-info-background);
|
|
16526
|
+
color: var(--color-state-info-contrast);
|
|
16527
|
+
}
|
|
16441
16528
|
|
|
16442
|
-
|
|
16443
|
-
|
|
16444
|
-
|
|
16529
|
+
.muka-badge--info .muka-badge__dot {
|
|
16530
|
+
background-color: var(--color-state-info-default);
|
|
16531
|
+
}
|
|
16445
16532
|
|
|
16446
|
-
|
|
16447
|
-
|
|
16448
|
-
|
|
16533
|
+
/* Success variant */
|
|
16534
|
+
.muka-badge--success {
|
|
16535
|
+
background-color: var(--color-state-success-background);
|
|
16536
|
+
color: var(--color-state-success-contrast);
|
|
16537
|
+
}
|
|
16449
16538
|
|
|
16450
|
-
|
|
16451
|
-
|
|
16452
|
-
|
|
16453
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
16454
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
16455
|
-
}
|
|
16539
|
+
.muka-badge--success .muka-badge__dot {
|
|
16540
|
+
background-color: var(--color-state-success-default);
|
|
16541
|
+
}
|
|
16456
16542
|
|
|
16457
|
-
|
|
16458
|
-
|
|
16459
|
-
|
|
16460
|
-
|
|
16543
|
+
/* Warning variant */
|
|
16544
|
+
.muka-badge--warning {
|
|
16545
|
+
background-color: var(--color-state-warning-background);
|
|
16546
|
+
color: var(--color-state-warning-contrast);
|
|
16547
|
+
}
|
|
16461
16548
|
|
|
16462
|
-
|
|
16463
|
-
|
|
16464
|
-
border-radius: 0;
|
|
16465
|
-
box-shadow: none;
|
|
16466
|
-
}
|
|
16549
|
+
.muka-badge--warning .muka-badge__dot {
|
|
16550
|
+
background-color: var(--color-state-warning-default);
|
|
16467
16551
|
}
|
|
16468
16552
|
|
|
16469
|
-
/*
|
|
16553
|
+
/* Error variant */
|
|
16554
|
+
.muka-badge--error {
|
|
16555
|
+
background-color: var(--color-state-error-background);
|
|
16556
|
+
color: var(--color-state-error-contrast);
|
|
16557
|
+
}
|
|
16470
16558
|
|
|
16471
|
-
|
|
16472
|
-
|
|
16473
|
-
display: none;
|
|
16474
|
-
}
|
|
16559
|
+
.muka-badge--error .muka-badge__dot {
|
|
16560
|
+
background-color: var(--color-state-error-default);
|
|
16475
16561
|
}
|
|
16476
16562
|
|
|
16477
16563
|
|