@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
package/dist/styles/index.css
CHANGED
|
@@ -2912,6 +2912,7 @@ body {
|
|
|
2912
2912
|
of overlapping it. */
|
|
2913
2913
|
--tb-container-display: grid;
|
|
2914
2914
|
--tb-title-align: center;
|
|
2915
|
+
--tb-title-justify: center;
|
|
2915
2916
|
--tb-title-font-family: var(--text-heading-xs-fontFamily);
|
|
2916
2917
|
--tb-title-font-weight: var(--text-heading-xs-fontWeight);
|
|
2917
2918
|
--tb-title-font-size: var(--text-heading-xs-fontSize);
|
|
@@ -2952,6 +2953,7 @@ body {
|
|
|
2952
2953
|
--tb-pad-y: var(--spacing-4);
|
|
2953
2954
|
--tb-container-display: flex;
|
|
2954
2955
|
--tb-title-align: left;
|
|
2956
|
+
--tb-title-justify: start;
|
|
2955
2957
|
--tb-title-font-family: var(--text-heading-md-fontFamily);
|
|
2956
2958
|
--tb-title-font-weight: var(--text-heading-md-fontWeight);
|
|
2957
2959
|
--tb-title-font-size: var(--text-heading-md-fontSize);
|
|
@@ -2967,6 +2969,7 @@ body {
|
|
|
2967
2969
|
--tb-pad-y: var(--spacing-4);
|
|
2968
2970
|
--tb-container-display: flex;
|
|
2969
2971
|
--tb-title-align: left;
|
|
2972
|
+
--tb-title-justify: start;
|
|
2970
2973
|
--tb-title-font-family: var(--text-heading-md-fontFamily);
|
|
2971
2974
|
--tb-title-font-weight: var(--text-heading-md-fontWeight);
|
|
2972
2975
|
--tb-title-font-size: var(--text-heading-md-fontSize);
|
|
@@ -3089,6 +3092,71 @@ body {
|
|
|
3089
3092
|
margin: 0;
|
|
3090
3093
|
}
|
|
3091
3094
|
|
|
3095
|
+
/* ─── Title with a subtitle ─────────────────────────────
|
|
3096
|
+
The block takes the title's grid cell and stacks the title over a subdued
|
|
3097
|
+
line (subtitle), aligned like the title: centred, start in the large tier. */
|
|
3098
|
+
|
|
3099
|
+
.muka-topbar__title-block {
|
|
3100
|
+
grid-column: 2;
|
|
3101
|
+
display: flex;
|
|
3102
|
+
flex-direction: column;
|
|
3103
|
+
align-items: var(--tb-title-justify);
|
|
3104
|
+
min-width: 0;
|
|
3105
|
+
}
|
|
3106
|
+
|
|
3107
|
+
.muka-topbar__title-block > .muka-topbar__title {
|
|
3108
|
+
max-width: 100%;
|
|
3109
|
+
}
|
|
3110
|
+
|
|
3111
|
+
.muka-topbar__subtitle {
|
|
3112
|
+
max-width: 100%;
|
|
3113
|
+
overflow: hidden;
|
|
3114
|
+
text-overflow: ellipsis;
|
|
3115
|
+
white-space: nowrap;
|
|
3116
|
+
text-align: var(--tb-title-align);
|
|
3117
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
3118
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
3119
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
3120
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
3121
|
+
color: var(--color-text-subtle-default);
|
|
3122
|
+
}
|
|
3123
|
+
|
|
3124
|
+
/* ─── Title as a button (titleTrailing) ──────────────────
|
|
3125
|
+
Same type as the text title, with a trailing glyph; sized to its content so
|
|
3126
|
+
only the title is the hit area, centred (start in the large tier). */
|
|
3127
|
+
|
|
3128
|
+
.muka-topbar__title--button {
|
|
3129
|
+
display: inline-flex;
|
|
3130
|
+
align-items: center;
|
|
3131
|
+
gap: var(--spacing-1);
|
|
3132
|
+
justify-self: var(--tb-title-justify);
|
|
3133
|
+
align-self: var(--tb-title-justify);
|
|
3134
|
+
max-width: 100%;
|
|
3135
|
+
padding: 0;
|
|
3136
|
+
border: 0;
|
|
3137
|
+
background: none;
|
|
3138
|
+
cursor: pointer;
|
|
3139
|
+
border-radius: var(--radius-sm);
|
|
3140
|
+
}
|
|
3141
|
+
|
|
3142
|
+
.muka-topbar__title-text {
|
|
3143
|
+
min-width: 0;
|
|
3144
|
+
overflow: hidden;
|
|
3145
|
+
text-overflow: ellipsis;
|
|
3146
|
+
white-space: nowrap;
|
|
3147
|
+
}
|
|
3148
|
+
|
|
3149
|
+
.muka-topbar__title-glyph {
|
|
3150
|
+
display: inline-flex;
|
|
3151
|
+
flex-shrink: 0;
|
|
3152
|
+
color: var(--color-text-subtle-default);
|
|
3153
|
+
}
|
|
3154
|
+
|
|
3155
|
+
.muka-topbar__title--button:focus-visible {
|
|
3156
|
+
outline: 2px solid var(--color-border-focus);
|
|
3157
|
+
outline-offset: 2px;
|
|
3158
|
+
}
|
|
3159
|
+
|
|
3092
3160
|
/* ─── Trailing slot ───────────────────────────────────── */
|
|
3093
3161
|
|
|
3094
3162
|
.muka-topbar__trailing {
|
|
@@ -5266,156 +5334,6 @@ body {
|
|
|
5266
5334
|
}
|
|
5267
5335
|
|
|
5268
5336
|
|
|
5269
|
-
/* SocialSignInButton */
|
|
5270
|
-
/*
|
|
5271
|
-
* SocialSignInButton lockup colors are provider-mandated (Apple HIG /
|
|
5272
|
-
* Google Identity branding) and intentionally fixed across Muka brands —
|
|
5273
|
-
* same exception pattern as LicensePlateInput regulatory colors.
|
|
5274
|
-
*
|
|
5275
|
-
* Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
|
|
5276
|
-
* Google: https://developers.google.com/identity/branding-guidelines
|
|
5277
|
-
*/
|
|
5278
|
-
.muka-social-sign-in-button {
|
|
5279
|
-
--ssi-white: #ffffff;
|
|
5280
|
-
--ssi-black: #000000;
|
|
5281
|
-
--ssi-google-text-light: #1f1f1f;
|
|
5282
|
-
|
|
5283
|
-
display: inline-flex;
|
|
5284
|
-
align-items: center;
|
|
5285
|
-
justify-content: center;
|
|
5286
|
-
|
|
5287
|
-
/* Provider lockup type — matches Figma / HIG, not brand font tokens.
|
|
5288
|
-
* SF Pro Text is OS-provided on Apple platforms (not redistributable).
|
|
5289
|
-
* Google Sans is not freely shippable; Roboto is the closest system fallback. */
|
|
5290
|
-
font-family: inherit;
|
|
5291
|
-
font-weight: 600;
|
|
5292
|
-
text-decoration: none;
|
|
5293
|
-
white-space: nowrap;
|
|
5294
|
-
|
|
5295
|
-
border: 1px solid transparent;
|
|
5296
|
-
cursor: pointer;
|
|
5297
|
-
user-select: none;
|
|
5298
|
-
transition: opacity 0.15s ease, filter 0.15s ease;
|
|
5299
|
-
|
|
5300
|
-
outline: none;
|
|
5301
|
-
position: relative;
|
|
5302
|
-
box-sizing: border-box;
|
|
5303
|
-
}
|
|
5304
|
-
|
|
5305
|
-
.muka-social-sign-in-button--apple {
|
|
5306
|
-
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
5307
|
-
Helvetica, Arial, sans-serif;
|
|
5308
|
-
font-weight: 600;
|
|
5309
|
-
}
|
|
5310
|
-
|
|
5311
|
-
.muka-social-sign-in-button--google {
|
|
5312
|
-
font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
5313
|
-
font-weight: 500;
|
|
5314
|
-
}
|
|
5315
|
-
|
|
5316
|
-
.muka-social-sign-in-button:focus-visible {
|
|
5317
|
-
outline: 2px solid var(--color-border-focus);
|
|
5318
|
-
outline-offset: 2px;
|
|
5319
|
-
}
|
|
5320
|
-
|
|
5321
|
-
/* Sizes — heights align with Button md/lg */
|
|
5322
|
-
.muka-social-sign-in-button--md {
|
|
5323
|
-
padding: 0 var(--button-padding-md-x);
|
|
5324
|
-
border-radius: var(--button-radius-md);
|
|
5325
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5326
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5327
|
-
min-height: 40px;
|
|
5328
|
-
min-width: 240px;
|
|
5329
|
-
}
|
|
5330
|
-
|
|
5331
|
-
.muka-social-sign-in-button--md .muka-social-sign-in-button__label {
|
|
5332
|
-
padding: 0 var(--button-gap-md);
|
|
5333
|
-
}
|
|
5334
|
-
|
|
5335
|
-
.muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
|
|
5336
|
-
width: var(--button-icon-md);
|
|
5337
|
-
height: var(--button-icon-md);
|
|
5338
|
-
}
|
|
5339
|
-
|
|
5340
|
-
.muka-social-sign-in-button--lg {
|
|
5341
|
-
padding: 0 var(--button-padding-lg-x);
|
|
5342
|
-
border-radius: var(--button-radius-lg);
|
|
5343
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5344
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5345
|
-
min-height: 48px;
|
|
5346
|
-
min-width: 280px;
|
|
5347
|
-
}
|
|
5348
|
-
|
|
5349
|
-
.muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
|
|
5350
|
-
padding: 0 var(--button-gap-lg);
|
|
5351
|
-
}
|
|
5352
|
-
|
|
5353
|
-
.muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
|
|
5354
|
-
width: var(--button-icon-lg);
|
|
5355
|
-
height: var(--button-icon-lg);
|
|
5356
|
-
}
|
|
5357
|
-
|
|
5358
|
-
/* White lockup — for dark surfaces (Apple White with Outline) */
|
|
5359
|
-
.muka-social-sign-in-button--white {
|
|
5360
|
-
background-color: var(--ssi-white);
|
|
5361
|
-
color: var(--ssi-black);
|
|
5362
|
-
border-color: var(--ssi-black);
|
|
5363
|
-
}
|
|
5364
|
-
|
|
5365
|
-
.muka-social-sign-in-button--white.muka-social-sign-in-button--google {
|
|
5366
|
-
color: var(--ssi-google-text-light);
|
|
5367
|
-
}
|
|
5368
|
-
|
|
5369
|
-
/* Black lockup — for light surfaces */
|
|
5370
|
-
.muka-social-sign-in-button--black {
|
|
5371
|
-
background-color: var(--ssi-black);
|
|
5372
|
-
color: var(--ssi-white);
|
|
5373
|
-
border-color: transparent;
|
|
5374
|
-
}
|
|
5375
|
-
|
|
5376
|
-
/* Interaction — luminance/opacity only; no brand tint */
|
|
5377
|
-
.muka-social-sign-in-button:hover:not(:disabled) {
|
|
5378
|
-
filter: brightness(0.92);
|
|
5379
|
-
}
|
|
5380
|
-
|
|
5381
|
-
.muka-social-sign-in-button:active:not(:disabled) {
|
|
5382
|
-
filter: brightness(0.85);
|
|
5383
|
-
}
|
|
5384
|
-
|
|
5385
|
-
.muka-social-sign-in-button:disabled,
|
|
5386
|
-
.muka-social-sign-in-button--disabled {
|
|
5387
|
-
cursor: not-allowed;
|
|
5388
|
-
opacity: 0.4;
|
|
5389
|
-
pointer-events: none;
|
|
5390
|
-
filter: none;
|
|
5391
|
-
}
|
|
5392
|
-
|
|
5393
|
-
.muka-social-sign-in-button--full-width {
|
|
5394
|
-
width: 100%;
|
|
5395
|
-
min-width: 0;
|
|
5396
|
-
}
|
|
5397
|
-
|
|
5398
|
-
.muka-social-sign-in-button__icon {
|
|
5399
|
-
display: inline-flex;
|
|
5400
|
-
align-items: center;
|
|
5401
|
-
justify-content: center;
|
|
5402
|
-
flex-shrink: 0;
|
|
5403
|
-
}
|
|
5404
|
-
|
|
5405
|
-
.muka-social-sign-in-button__icon > *,
|
|
5406
|
-
.muka-social-sign-in-button__icon svg {
|
|
5407
|
-
width: auto;
|
|
5408
|
-
height: 100%;
|
|
5409
|
-
max-width: 100%;
|
|
5410
|
-
display: block;
|
|
5411
|
-
}
|
|
5412
|
-
|
|
5413
|
-
.muka-social-sign-in-button__label {
|
|
5414
|
-
display: inline-flex;
|
|
5415
|
-
align-items: center;
|
|
5416
|
-
}
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
5337
|
/* SmsOtpField */
|
|
5420
5338
|
/* SmsOtpField Component Styles - Using Muka Design Tokens */
|
|
5421
5339
|
|
|
@@ -5608,137 +5526,30 @@ body {
|
|
|
5608
5526
|
}
|
|
5609
5527
|
|
|
5610
5528
|
|
|
5611
|
-
/*
|
|
5612
|
-
/*
|
|
5529
|
+
/* Skeleton */
|
|
5530
|
+
/* Skeleton Component Styles */
|
|
5613
5531
|
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
* Page's `--muka-page-background`, and the base surface.
|
|
5618
|
-
*
|
|
5619
|
-
* Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
|
|
5620
|
-
* running edge to edge, the header extends behind the status bar in its own
|
|
5621
|
-
* colour and keeps its content clear of a landscape notch.
|
|
5622
|
-
*/
|
|
5623
|
-
.muka-site-header {
|
|
5624
|
-
width: 100%;
|
|
5625
|
-
flex-shrink: 0;
|
|
5626
|
-
background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
|
|
5627
|
-
padding-top: env(safe-area-inset-top, 0px);
|
|
5532
|
+
.muka-skeleton {
|
|
5533
|
+
background-color: var(--color-surface-level1);
|
|
5534
|
+
display: block;
|
|
5628
5535
|
}
|
|
5629
5536
|
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5537
|
+
/* Variants */
|
|
5538
|
+
.muka-skeleton--text {
|
|
5539
|
+
height: 1em;
|
|
5540
|
+
border-radius: var(--radius-md);
|
|
5541
|
+
width: 100%;
|
|
5635
5542
|
}
|
|
5636
5543
|
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
*/
|
|
5642
|
-
.muka-site-header:not(.muka-site-header--sticky)::before {
|
|
5643
|
-
content: '';
|
|
5644
|
-
position: fixed;
|
|
5645
|
-
top: 0;
|
|
5646
|
-
left: 0;
|
|
5647
|
-
right: 0;
|
|
5648
|
-
height: env(safe-area-inset-top, 0px);
|
|
5649
|
-
background-color: inherit;
|
|
5650
|
-
pointer-events: none;
|
|
5651
|
-
z-index: 30;
|
|
5544
|
+
.muka-skeleton--circular {
|
|
5545
|
+
width: 2.5rem;
|
|
5546
|
+
height: 2.5rem;
|
|
5547
|
+
border-radius: var(--radius-full);
|
|
5652
5548
|
}
|
|
5653
5549
|
|
|
5654
|
-
.muka-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
gap: var(--spacing-2);
|
|
5658
|
-
width: 100%;
|
|
5659
|
-
max-width: var(--container-max-width-xl);
|
|
5660
|
-
margin: 0 auto;
|
|
5661
|
-
padding-block: var(--spacing-6);
|
|
5662
|
-
padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
|
|
5663
|
-
padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
|
|
5664
|
-
}
|
|
5665
|
-
|
|
5666
|
-
.muka-site-header__brand {
|
|
5667
|
-
display: flex;
|
|
5668
|
-
align-items: center;
|
|
5669
|
-
flex-shrink: 0;
|
|
5670
|
-
min-width: 0;
|
|
5671
|
-
}
|
|
5672
|
-
|
|
5673
|
-
.muka-site-header__nav {
|
|
5674
|
-
display: none;
|
|
5675
|
-
align-items: center;
|
|
5676
|
-
gap: var(--spacing-1);
|
|
5677
|
-
min-width: 0;
|
|
5678
|
-
}
|
|
5679
|
-
|
|
5680
|
-
.muka-site-header__actions {
|
|
5681
|
-
display: flex;
|
|
5682
|
-
align-items: center;
|
|
5683
|
-
margin-left: auto;
|
|
5684
|
-
min-width: 0;
|
|
5685
|
-
}
|
|
5686
|
-
|
|
5687
|
-
.muka-site-header__action-group {
|
|
5688
|
-
display: flex;
|
|
5689
|
-
align-items: center;
|
|
5690
|
-
gap: var(--spacing-2);
|
|
5691
|
-
}
|
|
5692
|
-
|
|
5693
|
-
/* Small screens: the compact set replaces the full one. */
|
|
5694
|
-
.muka-site-header__action-group--wide {
|
|
5695
|
-
display: none;
|
|
5696
|
-
}
|
|
5697
|
-
|
|
5698
|
-
@media (min-width: 768px) {
|
|
5699
|
-
.muka-site-header__inner {
|
|
5700
|
-
gap: var(--spacing-4);
|
|
5701
|
-
padding-block: var(--spacing-8);
|
|
5702
|
-
}
|
|
5703
|
-
|
|
5704
|
-
.muka-site-header__nav {
|
|
5705
|
-
display: flex;
|
|
5706
|
-
}
|
|
5707
|
-
|
|
5708
|
-
.muka-site-header__action-group--wide {
|
|
5709
|
-
display: flex;
|
|
5710
|
-
}
|
|
5711
|
-
|
|
5712
|
-
.muka-site-header__action-group--compact {
|
|
5713
|
-
display: none;
|
|
5714
|
-
}
|
|
5715
|
-
}
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
/* Skeleton */
|
|
5719
|
-
/* Skeleton Component Styles */
|
|
5720
|
-
|
|
5721
|
-
.muka-skeleton {
|
|
5722
|
-
background-color: var(--color-surface-level1);
|
|
5723
|
-
display: block;
|
|
5724
|
-
}
|
|
5725
|
-
|
|
5726
|
-
/* Variants */
|
|
5727
|
-
.muka-skeleton--text {
|
|
5728
|
-
height: 1em;
|
|
5729
|
-
border-radius: var(--radius-md);
|
|
5730
|
-
width: 100%;
|
|
5731
|
-
}
|
|
5732
|
-
|
|
5733
|
-
.muka-skeleton--circular {
|
|
5734
|
-
width: 2.5rem;
|
|
5735
|
-
height: 2.5rem;
|
|
5736
|
-
border-radius: var(--radius-full);
|
|
5737
|
-
}
|
|
5738
|
-
|
|
5739
|
-
.muka-skeleton--rectangular {
|
|
5740
|
-
height: 7.5rem;
|
|
5741
|
-
border-radius: var(--radius-md);
|
|
5550
|
+
.muka-skeleton--rectangular {
|
|
5551
|
+
height: 7.5rem;
|
|
5552
|
+
border-radius: var(--radius-md);
|
|
5742
5553
|
width: 100%;
|
|
5743
5554
|
}
|
|
5744
5555
|
|
|
@@ -5790,313 +5601,376 @@ body {
|
|
|
5790
5601
|
}
|
|
5791
5602
|
|
|
5792
5603
|
|
|
5793
|
-
/*
|
|
5794
|
-
/*
|
|
5795
|
-
|
|
5796
|
-
|
|
5797
|
-
|
|
5798
|
-
|
|
5799
|
-
|
|
5800
|
-
|
|
5801
|
-
|
|
5802
|
-
|
|
5803
|
-
|
|
5804
|
-
|
|
5805
|
-
|
|
5806
|
-
|
|
5807
|
-
/* ─── Surface ─────────────────────────────────────────── */
|
|
5808
|
-
|
|
5809
|
-
.muka-sheet {
|
|
5810
|
-
position: fixed;
|
|
5811
|
-
left: 0;
|
|
5812
|
-
right: 0;
|
|
5813
|
-
bottom: 0;
|
|
5814
|
-
z-index: 51;
|
|
5604
|
+
/* SocialSignInButton */
|
|
5605
|
+
/*
|
|
5606
|
+
* SocialSignInButton lockup colors are provider-mandated (Apple HIG /
|
|
5607
|
+
* Google Identity branding) and intentionally fixed across Muka brands —
|
|
5608
|
+
* same exception pattern as LicensePlateInput regulatory colors.
|
|
5609
|
+
*
|
|
5610
|
+
* Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
|
|
5611
|
+
* Google: https://developers.google.com/identity/branding-guidelines
|
|
5612
|
+
*/
|
|
5613
|
+
.muka-social-sign-in-button {
|
|
5614
|
+
--ssi-white: #ffffff;
|
|
5615
|
+
--ssi-black: #000000;
|
|
5616
|
+
--ssi-google-text-light: #1f1f1f;
|
|
5815
5617
|
|
|
5816
|
-
display: flex;
|
|
5817
|
-
|
|
5618
|
+
display: inline-flex;
|
|
5619
|
+
align-items: center;
|
|
5620
|
+
justify-content: center;
|
|
5818
5621
|
|
|
5819
|
-
|
|
5622
|
+
/* Provider lockup type — matches Figma / HIG, not brand font tokens.
|
|
5623
|
+
* SF Pro Text is OS-provided on Apple platforms (not redistributable).
|
|
5624
|
+
* Google Sans is not freely shippable; Roboto is the closest system fallback. */
|
|
5625
|
+
font-family: inherit;
|
|
5626
|
+
font-weight: 600;
|
|
5627
|
+
text-decoration: none;
|
|
5628
|
+
white-space: nowrap;
|
|
5820
5629
|
|
|
5821
|
-
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
5630
|
+
border: 1px solid transparent;
|
|
5631
|
+
cursor: pointer;
|
|
5632
|
+
user-select: none;
|
|
5633
|
+
transition: opacity 0.15s ease, filter 0.15s ease;
|
|
5825
5634
|
|
|
5826
5635
|
outline: none;
|
|
5636
|
+
position: relative;
|
|
5637
|
+
box-sizing: border-box;
|
|
5827
5638
|
}
|
|
5828
5639
|
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
5640
|
+
.muka-social-sign-in-button--apple {
|
|
5641
|
+
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
5642
|
+
Helvetica, Arial, sans-serif;
|
|
5643
|
+
font-weight: 600;
|
|
5832
5644
|
}
|
|
5833
5645
|
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
display: flex;
|
|
5838
|
-
justify-content: center;
|
|
5839
|
-
flex-shrink: 0;
|
|
5840
|
-
padding: var(--spacing-3) 0;
|
|
5646
|
+
.muka-social-sign-in-button--google {
|
|
5647
|
+
font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
5648
|
+
font-weight: 500;
|
|
5841
5649
|
}
|
|
5842
5650
|
|
|
5843
|
-
.muka-
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
background-color: var(--dialog-drag-handle-color);
|
|
5847
|
-
border-radius: var(--dialog-drag-handle-radius);
|
|
5651
|
+
.muka-social-sign-in-button:focus-visible {
|
|
5652
|
+
outline: 2px solid var(--color-border-focus);
|
|
5653
|
+
outline-offset: 2px;
|
|
5848
5654
|
}
|
|
5849
5655
|
|
|
5850
|
-
/*
|
|
5851
|
-
|
|
5852
|
-
|
|
5853
|
-
|
|
5854
|
-
|
|
5855
|
-
|
|
5856
|
-
-
|
|
5857
|
-
|
|
5656
|
+
/* Sizes — heights align with Button md/lg */
|
|
5657
|
+
.muka-social-sign-in-button--md {
|
|
5658
|
+
padding: 0 var(--button-padding-md-x);
|
|
5659
|
+
border-radius: var(--button-radius-md);
|
|
5660
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5661
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5662
|
+
min-height: 40px;
|
|
5663
|
+
min-width: 240px;
|
|
5858
5664
|
}
|
|
5859
5665
|
|
|
5860
|
-
|
|
5861
|
-
|
|
5862
|
-
.muka-sheet__sr-title {
|
|
5863
|
-
position: absolute;
|
|
5864
|
-
width: 1px;
|
|
5865
|
-
height: 1px;
|
|
5866
|
-
padding: 0;
|
|
5867
|
-
margin: -1px;
|
|
5868
|
-
overflow: hidden;
|
|
5869
|
-
clip: rect(0, 0, 0, 0);
|
|
5870
|
-
white-space: nowrap;
|
|
5871
|
-
border: 0;
|
|
5666
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__label {
|
|
5667
|
+
padding: 0 var(--button-gap-md);
|
|
5872
5668
|
}
|
|
5873
5669
|
|
|
5874
|
-
|
|
5875
|
-
|
|
5876
|
-
|
|
5877
|
-
|
|
5878
|
-
.muka-select {
|
|
5879
|
-
display: inline-flex;
|
|
5880
|
-
flex-direction: column;
|
|
5881
|
-
gap: var(--spacing-2);
|
|
5670
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
|
|
5671
|
+
width: var(--button-icon-md);
|
|
5672
|
+
height: var(--button-icon-md);
|
|
5882
5673
|
}
|
|
5883
5674
|
|
|
5884
|
-
.muka-
|
|
5885
|
-
|
|
5675
|
+
.muka-social-sign-in-button--lg {
|
|
5676
|
+
padding: 0 var(--button-padding-lg-x);
|
|
5677
|
+
border-radius: var(--button-radius-lg);
|
|
5678
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5679
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5680
|
+
min-height: 48px;
|
|
5681
|
+
min-width: 280px;
|
|
5886
5682
|
}
|
|
5887
5683
|
|
|
5888
|
-
|
|
5889
|
-
|
|
5890
|
-
color: var(--color-text-default-default);
|
|
5891
|
-
cursor: pointer;
|
|
5684
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
|
|
5685
|
+
padding: 0 var(--button-gap-lg);
|
|
5892
5686
|
}
|
|
5893
5687
|
|
|
5894
|
-
.muka-
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5898
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5688
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
|
|
5689
|
+
width: var(--button-icon-lg);
|
|
5690
|
+
height: var(--button-icon-lg);
|
|
5899
5691
|
}
|
|
5900
5692
|
|
|
5901
|
-
|
|
5902
|
-
|
|
5903
|
-
|
|
5904
|
-
|
|
5905
|
-
|
|
5693
|
+
/* White lockup — for dark surfaces (Apple White with Outline) */
|
|
5694
|
+
.muka-social-sign-in-button--white {
|
|
5695
|
+
background-color: var(--ssi-white);
|
|
5696
|
+
color: var(--ssi-black);
|
|
5697
|
+
border-color: var(--ssi-black);
|
|
5906
5698
|
}
|
|
5907
5699
|
|
|
5908
|
-
.muka-
|
|
5909
|
-
|
|
5910
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
5911
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5912
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5700
|
+
.muka-social-sign-in-button--white.muka-social-sign-in-button--google {
|
|
5701
|
+
color: var(--ssi-google-text-light);
|
|
5913
5702
|
}
|
|
5914
5703
|
|
|
5915
|
-
|
|
5916
|
-
|
|
5704
|
+
/* Black lockup — for light surfaces */
|
|
5705
|
+
.muka-social-sign-in-button--black {
|
|
5706
|
+
background-color: var(--ssi-black);
|
|
5707
|
+
color: var(--ssi-white);
|
|
5708
|
+
border-color: transparent;
|
|
5917
5709
|
}
|
|
5918
5710
|
|
|
5919
|
-
|
|
5920
|
-
.muka-
|
|
5921
|
-
|
|
5922
|
-
cursor: not-allowed;
|
|
5711
|
+
/* Interaction — luminance/opacity only; no brand tint */
|
|
5712
|
+
.muka-social-sign-in-button:hover:not(:disabled) {
|
|
5713
|
+
filter: brightness(0.92);
|
|
5923
5714
|
}
|
|
5924
5715
|
|
|
5925
|
-
|
|
5926
|
-
.
|
|
5927
|
-
display: flex;
|
|
5928
|
-
align-items: center;
|
|
5929
|
-
gap: var(--spacing-2);
|
|
5930
|
-
position: relative;
|
|
5931
|
-
background-color: var(--input-field-color-default-background);
|
|
5932
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
5933
|
-
border-radius: var(--input-field-radius-md);
|
|
5934
|
-
padding: var(--input-field-padding-y) var(--input-field-padding-x);
|
|
5935
|
-
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
5936
|
-
cursor: pointer;
|
|
5937
|
-
box-sizing: border-box;
|
|
5716
|
+
.muka-social-sign-in-button:active:not(:disabled) {
|
|
5717
|
+
filter: brightness(0.85);
|
|
5938
5718
|
}
|
|
5939
5719
|
|
|
5940
|
-
|
|
5941
|
-
.muka-
|
|
5942
|
-
|
|
5943
|
-
|
|
5944
|
-
inset: 0;
|
|
5945
|
-
border-radius: inherit;
|
|
5946
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
5720
|
+
.muka-social-sign-in-button:disabled,
|
|
5721
|
+
.muka-social-sign-in-button--disabled {
|
|
5722
|
+
cursor: not-allowed;
|
|
5723
|
+
opacity: 0.4;
|
|
5947
5724
|
pointer-events: none;
|
|
5725
|
+
filter: none;
|
|
5948
5726
|
}
|
|
5949
5727
|
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
min-
|
|
5953
|
-
border-radius: var(--input-field-radius-sm);
|
|
5728
|
+
.muka-social-sign-in-button--full-width {
|
|
5729
|
+
width: 100%;
|
|
5730
|
+
min-width: 0;
|
|
5954
5731
|
}
|
|
5955
5732
|
|
|
5956
|
-
.muka-
|
|
5957
|
-
|
|
5958
|
-
|
|
5733
|
+
.muka-social-sign-in-button__icon {
|
|
5734
|
+
display: inline-flex;
|
|
5735
|
+
align-items: center;
|
|
5736
|
+
justify-content: center;
|
|
5737
|
+
flex-shrink: 0;
|
|
5959
5738
|
}
|
|
5960
5739
|
|
|
5961
|
-
.muka-
|
|
5962
|
-
|
|
5963
|
-
|
|
5740
|
+
.muka-social-sign-in-button__icon > *,
|
|
5741
|
+
.muka-social-sign-in-button__icon svg {
|
|
5742
|
+
width: auto;
|
|
5743
|
+
height: 100%;
|
|
5744
|
+
max-width: 100%;
|
|
5745
|
+
display: block;
|
|
5964
5746
|
}
|
|
5965
5747
|
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
.muka-select__field--focused:not(.muka-select__field--disabled) {
|
|
5970
|
-
border-width: var(--border-width-bold);
|
|
5971
|
-
border-color: var(--input-field-color-focus-border);
|
|
5972
|
-
background-color: var(--input-field-color-focus-background);
|
|
5973
|
-
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
5748
|
+
.muka-social-sign-in-button__label {
|
|
5749
|
+
display: inline-flex;
|
|
5750
|
+
align-items: center;
|
|
5974
5751
|
}
|
|
5975
5752
|
|
|
5976
|
-
|
|
5977
|
-
|
|
5978
|
-
|
|
5979
|
-
|
|
5980
|
-
|
|
5981
|
-
|
|
5753
|
+
|
|
5754
|
+
/* SiteHeader */
|
|
5755
|
+
/* SiteHeader Component Styles */
|
|
5756
|
+
|
|
5757
|
+
/*
|
|
5758
|
+
* Header for document-scrolling pages. Its colour comes from, in order:
|
|
5759
|
+
* `--muka-site-header-background` (set by the consumer), the surrounding
|
|
5760
|
+
* Page's `--muka-page-background`, and the base surface.
|
|
5761
|
+
*
|
|
5762
|
+
* Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
|
|
5763
|
+
* running edge to edge, the header extends behind the status bar in its own
|
|
5764
|
+
* colour and keeps its content clear of a landscape notch.
|
|
5765
|
+
*/
|
|
5766
|
+
.muka-site-header {
|
|
5767
|
+
width: 100%;
|
|
5768
|
+
flex-shrink: 0;
|
|
5769
|
+
background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
|
|
5770
|
+
padding-top: env(safe-area-inset-top, 0px);
|
|
5982
5771
|
}
|
|
5983
5772
|
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
|
|
5987
|
-
|
|
5988
|
-
|
|
5773
|
+
.muka-site-header--sticky {
|
|
5774
|
+
position: sticky;
|
|
5775
|
+
top: 0;
|
|
5776
|
+
z-index: 30;
|
|
5777
|
+
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
5989
5778
|
}
|
|
5990
5779
|
|
|
5991
|
-
|
|
5992
|
-
|
|
5780
|
+
/*
|
|
5781
|
+
* A header that scrolls away would leave the status bar over the content. A
|
|
5782
|
+
* fixed strip in the header's colour stays behind the status bar instead.
|
|
5783
|
+
* Below Muka's overlays, so a dialog's backdrop dims it with the page.
|
|
5784
|
+
*/
|
|
5785
|
+
.muka-site-header:not(.muka-site-header--sticky)::before {
|
|
5786
|
+
content: '';
|
|
5787
|
+
position: fixed;
|
|
5788
|
+
top: 0;
|
|
5789
|
+
left: 0;
|
|
5790
|
+
right: 0;
|
|
5791
|
+
height: env(safe-area-inset-top, 0px);
|
|
5792
|
+
background-color: inherit;
|
|
5793
|
+
pointer-events: none;
|
|
5794
|
+
z-index: 30;
|
|
5993
5795
|
}
|
|
5994
5796
|
|
|
5995
|
-
|
|
5996
|
-
|
|
5997
|
-
|
|
5998
|
-
|
|
5999
|
-
flex: 1;
|
|
6000
|
-
border: none;
|
|
6001
|
-
outline: none;
|
|
6002
|
-
background: transparent;
|
|
6003
|
-
color: var(--input-field-color-default-foreground);
|
|
6004
|
-
font-family: var(--text-input-md-fontFamily);
|
|
6005
|
-
font-weight: var(--text-input-md-fontWeight);
|
|
6006
|
-
font-size: var(--text-input-md-fontSize);
|
|
6007
|
-
line-height: var(--text-input-md-lineHeight);
|
|
6008
|
-
padding: 0;
|
|
6009
|
-
padding-right: calc(var(--input-field-padding-x) + 1.5rem);
|
|
6010
|
-
cursor: pointer;
|
|
6011
|
-
min-width: 0;
|
|
5797
|
+
.muka-site-header__inner {
|
|
5798
|
+
display: flex;
|
|
5799
|
+
align-items: center;
|
|
5800
|
+
gap: var(--spacing-2);
|
|
6012
5801
|
width: 100%;
|
|
5802
|
+
max-width: var(--container-max-width-xl);
|
|
5803
|
+
margin: 0 auto;
|
|
5804
|
+
padding-block: var(--spacing-6);
|
|
5805
|
+
padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
|
|
5806
|
+
padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
|
|
6013
5807
|
}
|
|
6014
5808
|
|
|
6015
|
-
.muka-
|
|
6016
|
-
|
|
6017
|
-
|
|
6018
|
-
|
|
6019
|
-
|
|
5809
|
+
.muka-site-header__brand {
|
|
5810
|
+
display: flex;
|
|
5811
|
+
align-items: center;
|
|
5812
|
+
flex-shrink: 0;
|
|
5813
|
+
min-width: 0;
|
|
6020
5814
|
}
|
|
6021
5815
|
|
|
6022
|
-
.muka-
|
|
6023
|
-
|
|
6024
|
-
|
|
6025
|
-
|
|
6026
|
-
|
|
5816
|
+
.muka-site-header__nav {
|
|
5817
|
+
display: none;
|
|
5818
|
+
align-items: center;
|
|
5819
|
+
gap: var(--spacing-1);
|
|
5820
|
+
min-width: 0;
|
|
6027
5821
|
}
|
|
6028
5822
|
|
|
6029
|
-
.muka-
|
|
6030
|
-
|
|
6031
|
-
|
|
5823
|
+
.muka-site-header__actions {
|
|
5824
|
+
display: flex;
|
|
5825
|
+
align-items: center;
|
|
5826
|
+
margin-left: auto;
|
|
5827
|
+
min-width: 0;
|
|
6032
5828
|
}
|
|
6033
5829
|
|
|
6034
|
-
|
|
6035
|
-
|
|
6036
|
-
display: inline-flex;
|
|
5830
|
+
.muka-site-header__action-group {
|
|
5831
|
+
display: flex;
|
|
6037
5832
|
align-items: center;
|
|
6038
|
-
|
|
6039
|
-
right: var(--input-field-padding-x);
|
|
6040
|
-
pointer-events: none;
|
|
6041
|
-
color: var(--color-text-subtle-default);
|
|
5833
|
+
gap: var(--spacing-2);
|
|
6042
5834
|
}
|
|
6043
5835
|
|
|
6044
|
-
|
|
6045
|
-
|
|
5836
|
+
/* Small screens: the compact set replaces the full one. */
|
|
5837
|
+
.muka-site-header__action-group--wide {
|
|
5838
|
+
display: none;
|
|
6046
5839
|
}
|
|
6047
5840
|
|
|
6048
|
-
|
|
6049
|
-
.muka-
|
|
6050
|
-
|
|
6051
|
-
|
|
6052
|
-
|
|
6053
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
6054
|
-
color: var(--color-text-subtle-default);
|
|
6055
|
-
margin: 0;
|
|
6056
|
-
}
|
|
5841
|
+
@media (min-width: 768px) {
|
|
5842
|
+
.muka-site-header__inner {
|
|
5843
|
+
gap: var(--spacing-4);
|
|
5844
|
+
padding-block: var(--spacing-8);
|
|
5845
|
+
}
|
|
6057
5846
|
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6061
|
-
|
|
6062
|
-
|
|
6063
|
-
|
|
6064
|
-
|
|
6065
|
-
|
|
5847
|
+
.muka-site-header__nav {
|
|
5848
|
+
display: flex;
|
|
5849
|
+
}
|
|
5850
|
+
|
|
5851
|
+
.muka-site-header__action-group--wide {
|
|
5852
|
+
display: flex;
|
|
5853
|
+
}
|
|
5854
|
+
|
|
5855
|
+
.muka-site-header__action-group--compact {
|
|
5856
|
+
display: none;
|
|
5857
|
+
}
|
|
6066
5858
|
}
|
|
6067
5859
|
|
|
6068
5860
|
|
|
6069
|
-
/*
|
|
6070
|
-
/*
|
|
5861
|
+
/* Sheet */
|
|
5862
|
+
/* Sheet Component Styles */
|
|
6071
5863
|
|
|
6072
|
-
/*
|
|
6073
|
-
.muka-segmentgroup {
|
|
6074
|
-
display: inline-flex;
|
|
6075
|
-
align-items: center;
|
|
6076
|
-
gap: 0;
|
|
6077
|
-
padding: var(--segmentgroup-container-padding);
|
|
6078
|
-
background-color: var(--segmentgroup-container-background);
|
|
6079
|
-
border-radius: var(--segmentgroup-container-radius);
|
|
6080
|
-
position: relative;
|
|
6081
|
-
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
6082
|
-
}
|
|
5864
|
+
/* ─── Backdrop ────────────────────────────────────────── */
|
|
6083
5865
|
|
|
6084
|
-
|
|
6085
|
-
|
|
6086
|
-
content: '';
|
|
6087
|
-
position: absolute;
|
|
5866
|
+
.muka-sheet__overlay {
|
|
5867
|
+
position: fixed;
|
|
6088
5868
|
inset: 0;
|
|
6089
|
-
|
|
6090
|
-
|
|
6091
|
-
|
|
5869
|
+
background-color: var(--color-surface-backdrop);
|
|
5870
|
+
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
5871
|
+
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
5872
|
+
z-index: 50;
|
|
6092
5873
|
}
|
|
6093
5874
|
|
|
6094
|
-
/*
|
|
6095
|
-
.muka-segmentgroup--full-width {
|
|
6096
|
-
width: 100%;
|
|
6097
|
-
}
|
|
5875
|
+
/* ─── Surface ─────────────────────────────────────────── */
|
|
6098
5876
|
|
|
6099
|
-
.muka-
|
|
5877
|
+
.muka-sheet {
|
|
5878
|
+
position: fixed;
|
|
5879
|
+
left: 0;
|
|
5880
|
+
right: 0;
|
|
5881
|
+
bottom: 0;
|
|
5882
|
+
z-index: 51;
|
|
5883
|
+
|
|
5884
|
+
display: flex;
|
|
5885
|
+
flex-direction: column;
|
|
5886
|
+
|
|
5887
|
+
max-height: 96dvh;
|
|
5888
|
+
|
|
5889
|
+
background-color: var(--color-surface-level3);
|
|
5890
|
+
border-top-left-radius: var(--radius-lg);
|
|
5891
|
+
border-top-right-radius: var(--radius-lg);
|
|
5892
|
+
box-shadow: var(--shadow-level5);
|
|
5893
|
+
|
|
5894
|
+
outline: none;
|
|
5895
|
+
}
|
|
5896
|
+
|
|
5897
|
+
/* Safe-area bottom inset for the iPhone home indicator. */
|
|
5898
|
+
.muka-sheet:not(.muka-sheet--no-safe-area) {
|
|
5899
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
5900
|
+
}
|
|
5901
|
+
|
|
5902
|
+
/* ─── Drag handle ─────────────────────────────────────── */
|
|
5903
|
+
|
|
5904
|
+
.muka-sheet__handle-container {
|
|
5905
|
+
display: flex;
|
|
5906
|
+
justify-content: center;
|
|
5907
|
+
flex-shrink: 0;
|
|
5908
|
+
padding: var(--spacing-3) 0;
|
|
5909
|
+
}
|
|
5910
|
+
|
|
5911
|
+
.muka-sheet__handle {
|
|
5912
|
+
width: var(--dialog-drag-handle-width);
|
|
5913
|
+
height: var(--dialog-drag-handle-height);
|
|
5914
|
+
background-color: var(--dialog-drag-handle-color);
|
|
5915
|
+
border-radius: var(--dialog-drag-handle-radius);
|
|
5916
|
+
}
|
|
5917
|
+
|
|
5918
|
+
/* ─── Body (scrollable) ───────────────────────────────── */
|
|
5919
|
+
|
|
5920
|
+
.muka-sheet__body {
|
|
5921
|
+
flex: 1 1 0%;
|
|
5922
|
+
min-height: 0;
|
|
5923
|
+
overflow-y: auto;
|
|
5924
|
+
-webkit-overflow-scrolling: touch;
|
|
5925
|
+
overscroll-behavior: contain;
|
|
5926
|
+
}
|
|
5927
|
+
|
|
5928
|
+
/* ─── Visually-hidden title (a11y) ────────────────────── */
|
|
5929
|
+
|
|
5930
|
+
.muka-sheet__sr-title {
|
|
5931
|
+
position: absolute;
|
|
5932
|
+
width: 1px;
|
|
5933
|
+
height: 1px;
|
|
5934
|
+
padding: 0;
|
|
5935
|
+
margin: -1px;
|
|
5936
|
+
overflow: hidden;
|
|
5937
|
+
clip: rect(0, 0, 0, 0);
|
|
5938
|
+
white-space: nowrap;
|
|
5939
|
+
border: 0;
|
|
5940
|
+
}
|
|
5941
|
+
|
|
5942
|
+
|
|
5943
|
+
/* SegmentGroup */
|
|
5944
|
+
/* SegmentGroup Component Styles - Using Muka Design Tokens */
|
|
5945
|
+
|
|
5946
|
+
/* Container */
|
|
5947
|
+
.muka-segmentgroup {
|
|
5948
|
+
display: inline-flex;
|
|
5949
|
+
align-items: center;
|
|
5950
|
+
gap: 0;
|
|
5951
|
+
padding: var(--segmentgroup-container-padding);
|
|
5952
|
+
background-color: var(--segmentgroup-container-background);
|
|
5953
|
+
border-radius: var(--segmentgroup-container-radius);
|
|
5954
|
+
position: relative;
|
|
5955
|
+
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
5956
|
+
}
|
|
5957
|
+
|
|
5958
|
+
/* Inset shadow on container */
|
|
5959
|
+
.muka-segmentgroup::after {
|
|
5960
|
+
content: '';
|
|
5961
|
+
position: absolute;
|
|
5962
|
+
inset: 0;
|
|
5963
|
+
border-radius: inherit;
|
|
5964
|
+
box-shadow: var(--segmentgroup-container-shadow);
|
|
5965
|
+
pointer-events: none;
|
|
5966
|
+
}
|
|
5967
|
+
|
|
5968
|
+
/* Full width variant */
|
|
5969
|
+
.muka-segmentgroup--full-width {
|
|
5970
|
+
width: 100%;
|
|
5971
|
+
}
|
|
5972
|
+
|
|
5973
|
+
.muka-segmentgroup--full-width .muka-segmentgroup__segment {
|
|
6100
5974
|
flex: 1;
|
|
6101
5975
|
}
|
|
6102
5976
|
|
|
@@ -6254,123 +6128,317 @@ body {
|
|
|
6254
6128
|
}
|
|
6255
6129
|
|
|
6256
6130
|
|
|
6257
|
-
/*
|
|
6258
|
-
/*
|
|
6131
|
+
/* Select */
|
|
6132
|
+
/* Select Component Styles - Aligned with Input for consistency */
|
|
6259
6133
|
|
|
6260
|
-
.muka-
|
|
6261
|
-
|
|
6134
|
+
.muka-select {
|
|
6135
|
+
display: inline-flex;
|
|
6136
|
+
flex-direction: column;
|
|
6137
|
+
gap: var(--spacing-2);
|
|
6262
6138
|
}
|
|
6263
6139
|
|
|
6264
|
-
.muka-
|
|
6265
|
-
|
|
6266
|
-
padding-inline: var(--section-padding-horizontal-compact);
|
|
6140
|
+
.muka-select--full-width {
|
|
6141
|
+
width: 100%;
|
|
6267
6142
|
}
|
|
6268
6143
|
|
|
6269
|
-
|
|
6270
|
-
|
|
6271
|
-
|
|
6144
|
+
/* Label */
|
|
6145
|
+
.muka-select__label {
|
|
6146
|
+
color: var(--color-text-default-default);
|
|
6147
|
+
cursor: pointer;
|
|
6272
6148
|
}
|
|
6273
6149
|
|
|
6274
|
-
.muka-
|
|
6275
|
-
|
|
6276
|
-
|
|
6150
|
+
.muka-select__label--sm {
|
|
6151
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
6152
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
6153
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
6154
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
6277
6155
|
}
|
|
6278
6156
|
|
|
6157
|
+
.muka-select__label--md {
|
|
6158
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
6159
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
6160
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
6161
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
6162
|
+
}
|
|
6279
6163
|
|
|
6280
|
-
|
|
6281
|
-
|
|
6164
|
+
.muka-select__label--lg {
|
|
6165
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
6166
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
6167
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
6168
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
6169
|
+
}
|
|
6282
6170
|
|
|
6283
|
-
.muka-
|
|
6284
|
-
|
|
6285
|
-
align-items: center;
|
|
6286
|
-
gap: var(--spacing-3);
|
|
6287
|
-
width: 100%;
|
|
6171
|
+
.muka-select__required {
|
|
6172
|
+
color: var(--color-state-error-default);
|
|
6288
6173
|
}
|
|
6289
6174
|
|
|
6290
|
-
|
|
6175
|
+
.muka-select__label--sm + .muka-select__field--disabled,
|
|
6176
|
+
.muka-select__label--md + .muka-select__field--disabled,
|
|
6177
|
+
.muka-select__label--lg + .muka-select__field--disabled {
|
|
6178
|
+
cursor: not-allowed;
|
|
6179
|
+
}
|
|
6291
6180
|
|
|
6292
|
-
|
|
6293
|
-
|
|
6181
|
+
/* Field container — same as Input: 1px border, radius, padding, inset shadow */
|
|
6182
|
+
.muka-select__field {
|
|
6294
6183
|
display: flex;
|
|
6295
6184
|
align-items: center;
|
|
6296
6185
|
gap: var(--spacing-2);
|
|
6186
|
+
position: relative;
|
|
6297
6187
|
background-color: var(--input-field-color-default-background);
|
|
6298
6188
|
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
6299
6189
|
border-radius: var(--input-field-radius-md);
|
|
6300
|
-
padding:
|
|
6301
|
-
transition: border-color 0.
|
|
6190
|
+
padding: var(--input-field-padding-y) var(--input-field-padding-x);
|
|
6191
|
+
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
6192
|
+
cursor: pointer;
|
|
6193
|
+
box-sizing: border-box;
|
|
6302
6194
|
}
|
|
6303
6195
|
|
|
6304
|
-
|
|
6305
|
-
|
|
6196
|
+
/* Inset shadow — same as Input (single subtle line) */
|
|
6197
|
+
.muka-select__field::after {
|
|
6198
|
+
content: '';
|
|
6199
|
+
position: absolute;
|
|
6200
|
+
inset: 0;
|
|
6201
|
+
border-radius: inherit;
|
|
6202
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
6203
|
+
pointer-events: none;
|
|
6306
6204
|
}
|
|
6307
6205
|
|
|
6308
|
-
/*
|
|
6309
|
-
|
|
6310
|
-
.muka-search-input--sm .muka-search-input__field {
|
|
6206
|
+
/* Size variants — same radius/height as Input */
|
|
6207
|
+
.muka-select__field--sm {
|
|
6311
6208
|
min-height: var(--input-field-height-sm);
|
|
6312
6209
|
border-radius: var(--input-field-radius-sm);
|
|
6313
6210
|
}
|
|
6314
6211
|
|
|
6315
|
-
.muka-
|
|
6212
|
+
.muka-select__field--md {
|
|
6316
6213
|
min-height: var(--input-field-height-default);
|
|
6214
|
+
border-radius: var(--input-field-radius-md);
|
|
6317
6215
|
}
|
|
6318
6216
|
|
|
6319
|
-
.muka-
|
|
6217
|
+
.muka-select__field--lg {
|
|
6320
6218
|
min-height: var(--input-field-height-lg);
|
|
6321
6219
|
border-radius: var(--input-field-radius-lg);
|
|
6322
6220
|
}
|
|
6323
6221
|
|
|
6324
|
-
/*
|
|
6222
|
+
/* Hover — no visual change (same as Input) */
|
|
6325
6223
|
|
|
6326
|
-
|
|
6327
|
-
|
|
6328
|
-
border-
|
|
6224
|
+
/* Focus (active) — same as Input: 2px border, padding compensation */
|
|
6225
|
+
.muka-select__field--focused:not(.muka-select__field--disabled) {
|
|
6226
|
+
border-width: var(--border-width-bold);
|
|
6227
|
+
border-color: var(--input-field-color-focus-border);
|
|
6228
|
+
background-color: var(--input-field-color-focus-background);
|
|
6229
|
+
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
6329
6230
|
}
|
|
6330
6231
|
|
|
6331
|
-
|
|
6332
|
-
|
|
6333
|
-
|
|
6232
|
+
/* Error — same as Input: 2px border, padding compensation */
|
|
6233
|
+
.muka-select__field--error:not(.muka-select__field--disabled) {
|
|
6234
|
+
border-width: var(--border-width-bold);
|
|
6235
|
+
border-color: var(--input-field-color-error-border);
|
|
6236
|
+
background-color: var(--input-field-color-error-background);
|
|
6237
|
+
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
6334
6238
|
}
|
|
6335
6239
|
|
|
6336
|
-
/*
|
|
6337
|
-
|
|
6338
|
-
|
|
6339
|
-
|
|
6340
|
-
|
|
6240
|
+
/* Disabled — same as Input */
|
|
6241
|
+
.muka-select__field--disabled {
|
|
6242
|
+
background-color: var(--input-field-color-disabled-background);
|
|
6243
|
+
border-color: var(--input-field-color-disabled-border);
|
|
6244
|
+
cursor: not-allowed;
|
|
6341
6245
|
}
|
|
6342
6246
|
|
|
6343
|
-
|
|
6344
|
-
|
|
6345
|
-
.muka-search-input__leading {
|
|
6346
|
-
display: inline-flex;
|
|
6347
|
-
align-items: center;
|
|
6348
|
-
justify-content: center;
|
|
6349
|
-
flex-shrink: 0;
|
|
6350
|
-
color: var(--color-text-subtle-default);
|
|
6247
|
+
.muka-select__field--disabled::after {
|
|
6248
|
+
display: none;
|
|
6351
6249
|
}
|
|
6352
6250
|
|
|
6353
|
-
/*
|
|
6354
|
-
|
|
6355
|
-
|
|
6356
|
-
|
|
6357
|
-
|
|
6251
|
+
/* Native select — padding on field so native has 0 + right space for chevron */
|
|
6252
|
+
.muka-select__native {
|
|
6253
|
+
appearance: none;
|
|
6254
|
+
-webkit-appearance: none;
|
|
6255
|
+
flex: 1;
|
|
6358
6256
|
border: none;
|
|
6359
|
-
background: transparent;
|
|
6360
6257
|
outline: none;
|
|
6258
|
+
background: transparent;
|
|
6259
|
+
color: var(--input-field-color-default-foreground);
|
|
6260
|
+
font-family: var(--text-input-md-fontFamily);
|
|
6261
|
+
font-weight: var(--text-input-md-fontWeight);
|
|
6262
|
+
font-size: var(--text-input-md-fontSize);
|
|
6263
|
+
line-height: var(--text-input-md-lineHeight);
|
|
6361
6264
|
padding: 0;
|
|
6362
|
-
|
|
6363
|
-
|
|
6364
|
-
|
|
6365
|
-
|
|
6366
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
6367
|
-
appearance: none;
|
|
6368
|
-
-webkit-appearance: none;
|
|
6265
|
+
padding-right: calc(var(--input-field-padding-x) + 1.5rem);
|
|
6266
|
+
cursor: pointer;
|
|
6267
|
+
min-width: 0;
|
|
6268
|
+
width: 100%;
|
|
6369
6269
|
}
|
|
6370
6270
|
|
|
6371
|
-
.muka-
|
|
6372
|
-
|
|
6373
|
-
|
|
6271
|
+
.muka-select__field--sm .muka-select__native {
|
|
6272
|
+
font-family: var(--text-input-sm-fontFamily);
|
|
6273
|
+
font-weight: var(--text-input-sm-fontWeight);
|
|
6274
|
+
font-size: var(--text-input-sm-fontSize);
|
|
6275
|
+
line-height: var(--text-input-sm-lineHeight);
|
|
6276
|
+
}
|
|
6277
|
+
|
|
6278
|
+
.muka-select__field--lg .muka-select__native {
|
|
6279
|
+
font-family: var(--text-input-lg-fontFamily);
|
|
6280
|
+
font-weight: var(--text-input-lg-fontWeight);
|
|
6281
|
+
font-size: var(--text-input-lg-fontSize);
|
|
6282
|
+
line-height: var(--text-input-lg-lineHeight);
|
|
6283
|
+
}
|
|
6284
|
+
|
|
6285
|
+
.muka-select__field--disabled .muka-select__native {
|
|
6286
|
+
color: var(--input-field-color-disabled-foreground);
|
|
6287
|
+
cursor: not-allowed;
|
|
6288
|
+
}
|
|
6289
|
+
|
|
6290
|
+
/* Chevron — aligned with field padding */
|
|
6291
|
+
.muka-select__chevron {
|
|
6292
|
+
display: inline-flex;
|
|
6293
|
+
align-items: center;
|
|
6294
|
+
position: absolute;
|
|
6295
|
+
right: var(--input-field-padding-x);
|
|
6296
|
+
pointer-events: none;
|
|
6297
|
+
color: var(--color-text-subtle-default);
|
|
6298
|
+
}
|
|
6299
|
+
|
|
6300
|
+
.muka-select__field--disabled .muka-select__chevron {
|
|
6301
|
+
color: var(--input-field-color-disabled-foreground);
|
|
6302
|
+
}
|
|
6303
|
+
|
|
6304
|
+
/* Helper text — same as Input */
|
|
6305
|
+
.muka-select__helper {
|
|
6306
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
6307
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
6308
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
6309
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
6310
|
+
color: var(--color-text-subtle-default);
|
|
6311
|
+
margin: 0;
|
|
6312
|
+
}
|
|
6313
|
+
|
|
6314
|
+
/* Error message — same as Input */
|
|
6315
|
+
.muka-select__error {
|
|
6316
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
6317
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
6318
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
6319
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
6320
|
+
color: var(--color-state-error-default);
|
|
6321
|
+
margin: 0;
|
|
6322
|
+
}
|
|
6323
|
+
|
|
6324
|
+
|
|
6325
|
+
/* Section */
|
|
6326
|
+
/* Section Component - Layout tokens (section.padding) */
|
|
6327
|
+
|
|
6328
|
+
.muka-section {
|
|
6329
|
+
box-sizing: border-box;
|
|
6330
|
+
}
|
|
6331
|
+
|
|
6332
|
+
.muka-section--padding-compact {
|
|
6333
|
+
padding-block: var(--section-padding-vertical-compact);
|
|
6334
|
+
padding-inline: var(--section-padding-horizontal-compact);
|
|
6335
|
+
}
|
|
6336
|
+
|
|
6337
|
+
.muka-section--padding-default {
|
|
6338
|
+
padding-block: var(--section-padding-vertical-default);
|
|
6339
|
+
padding-inline: var(--section-padding-horizontal-default);
|
|
6340
|
+
}
|
|
6341
|
+
|
|
6342
|
+
.muka-section--padding-spacious {
|
|
6343
|
+
padding-block: var(--section-padding-vertical-spacious);
|
|
6344
|
+
padding-inline: var(--section-padding-horizontal-spacious);
|
|
6345
|
+
}
|
|
6346
|
+
|
|
6347
|
+
|
|
6348
|
+
/* SearchInput */
|
|
6349
|
+
/* SearchInput Component Styles */
|
|
6350
|
+
|
|
6351
|
+
.muka-search-input {
|
|
6352
|
+
display: flex;
|
|
6353
|
+
align-items: center;
|
|
6354
|
+
gap: var(--spacing-3);
|
|
6355
|
+
width: 100%;
|
|
6356
|
+
}
|
|
6357
|
+
|
|
6358
|
+
/* ─── Field wrapper ───────────────────────────────────── */
|
|
6359
|
+
|
|
6360
|
+
.muka-search-input__field {
|
|
6361
|
+
flex: 1 1 auto;
|
|
6362
|
+
display: flex;
|
|
6363
|
+
align-items: center;
|
|
6364
|
+
gap: var(--spacing-2);
|
|
6365
|
+
background-color: var(--input-field-color-default-background);
|
|
6366
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
6367
|
+
border-radius: var(--input-field-radius-md);
|
|
6368
|
+
padding: 0 var(--input-field-padding-x);
|
|
6369
|
+
transition: border-color 0.12s ease, background-color 0.12s ease;
|
|
6370
|
+
}
|
|
6371
|
+
|
|
6372
|
+
.muka-search-input--focused .muka-search-input__field {
|
|
6373
|
+
border-color: var(--input-field-color-focus-border, var(--color-action-default));
|
|
6374
|
+
}
|
|
6375
|
+
|
|
6376
|
+
/* ─── Sizes ───────────────────────────────────────────── */
|
|
6377
|
+
|
|
6378
|
+
.muka-search-input--sm .muka-search-input__field {
|
|
6379
|
+
min-height: var(--input-field-height-sm);
|
|
6380
|
+
border-radius: var(--input-field-radius-sm);
|
|
6381
|
+
}
|
|
6382
|
+
|
|
6383
|
+
.muka-search-input--md .muka-search-input__field {
|
|
6384
|
+
min-height: var(--input-field-height-default);
|
|
6385
|
+
}
|
|
6386
|
+
|
|
6387
|
+
.muka-search-input--lg .muka-search-input__field {
|
|
6388
|
+
min-height: var(--input-field-height-lg);
|
|
6389
|
+
border-radius: var(--input-field-radius-lg);
|
|
6390
|
+
}
|
|
6391
|
+
|
|
6392
|
+
/* ─── Embedded variant (e.g. inside TopBar) ───────────── */
|
|
6393
|
+
|
|
6394
|
+
.muka-search-input--embedded .muka-search-input__field {
|
|
6395
|
+
background-color: var(--color-surface-level1);
|
|
6396
|
+
border-color: transparent;
|
|
6397
|
+
}
|
|
6398
|
+
|
|
6399
|
+
.muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
|
|
6400
|
+
border-color: transparent;
|
|
6401
|
+
background-color: var(--color-surface-level2);
|
|
6402
|
+
}
|
|
6403
|
+
|
|
6404
|
+
/* ─── Disabled ────────────────────────────────────────── */
|
|
6405
|
+
|
|
6406
|
+
.muka-search-input--disabled .muka-search-input__field {
|
|
6407
|
+
opacity: 0.5;
|
|
6408
|
+
pointer-events: none;
|
|
6409
|
+
}
|
|
6410
|
+
|
|
6411
|
+
/* ─── Leading icon ────────────────────────────────────── */
|
|
6412
|
+
|
|
6413
|
+
.muka-search-input__leading {
|
|
6414
|
+
display: inline-flex;
|
|
6415
|
+
align-items: center;
|
|
6416
|
+
justify-content: center;
|
|
6417
|
+
flex-shrink: 0;
|
|
6418
|
+
color: var(--color-text-subtle-default);
|
|
6419
|
+
}
|
|
6420
|
+
|
|
6421
|
+
/* ─── Input element ───────────────────────────────────── */
|
|
6422
|
+
|
|
6423
|
+
.muka-search-input__input {
|
|
6424
|
+
flex: 1 1 auto;
|
|
6425
|
+
min-width: 0;
|
|
6426
|
+
border: none;
|
|
6427
|
+
background: transparent;
|
|
6428
|
+
outline: none;
|
|
6429
|
+
padding: 0;
|
|
6430
|
+
color: var(--color-text-default-default);
|
|
6431
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
6432
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
6433
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
6434
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
6435
|
+
appearance: none;
|
|
6436
|
+
-webkit-appearance: none;
|
|
6437
|
+
}
|
|
6438
|
+
|
|
6439
|
+
.muka-search-input__input::placeholder {
|
|
6440
|
+
color: var(--color-text-subtle-default);
|
|
6441
|
+
}
|
|
6374
6442
|
|
|
6375
6443
|
/* Hide the browser-supplied clear button (WebKit + Edge) */
|
|
6376
6444
|
.muka-search-input__input::-webkit-search-cancel-button,
|
|
@@ -7126,166 +7194,119 @@ body {
|
|
|
7126
7194
|
}
|
|
7127
7195
|
|
|
7128
7196
|
|
|
7129
|
-
/*
|
|
7130
|
-
/*
|
|
7197
|
+
/* ProgressTracker */
|
|
7198
|
+
/* ProgressTracker Component Styles — Using Muka Design Tokens */
|
|
7131
7199
|
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
display: flex;
|
|
7135
|
-
flex-direction: column;
|
|
7200
|
+
/* ─── Root ──────────────────────────────────────────────── */
|
|
7201
|
+
.muka-progress-tracker {
|
|
7136
7202
|
width: 100%;
|
|
7137
|
-
height: 100%;
|
|
7138
|
-
overflow: hidden;
|
|
7139
|
-
}
|
|
7140
|
-
|
|
7141
|
-
.muka-pull-to-refresh__indicator {
|
|
7142
|
-
position: absolute;
|
|
7143
|
-
top: 0;
|
|
7144
|
-
left: 0;
|
|
7145
|
-
right: 0;
|
|
7146
|
-
display: flex;
|
|
7147
|
-
align-items: flex-end;
|
|
7148
|
-
justify-content: center;
|
|
7149
|
-
padding-bottom: var(--spacing-2);
|
|
7150
|
-
color: var(--color-text-subtle-default);
|
|
7151
|
-
overflow: hidden;
|
|
7152
|
-
pointer-events: none;
|
|
7153
|
-
z-index: 1;
|
|
7154
7203
|
}
|
|
7155
7204
|
|
|
7156
|
-
.muka-
|
|
7157
|
-
|
|
7158
|
-
align-items: center;
|
|
7159
|
-
justify-content: center;
|
|
7160
|
-
transition: transform 0.16s ease;
|
|
7205
|
+
.muka-progress-tracker--horizontal {
|
|
7206
|
+
padding-bottom: var(--spacing-7);
|
|
7161
7207
|
}
|
|
7162
7208
|
|
|
7163
|
-
.
|
|
7164
|
-
|
|
7165
|
-
|
|
7166
|
-
|
|
7167
|
-
overflow-x:
|
|
7168
|
-
overflow-y:
|
|
7209
|
+
/* Scrollable: the root scrolls sideways when the steps don't fit. The inline
|
|
7210
|
+
padding leaves room for the first and last labels, which hang past their
|
|
7211
|
+
indicators; the scrollbar stays hidden (touch and trackpad still scroll). */
|
|
7212
|
+
.muka-progress-tracker--scrollable {
|
|
7213
|
+
overflow-x: auto;
|
|
7214
|
+
overflow-y: hidden;
|
|
7169
7215
|
-webkit-overflow-scrolling: touch;
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7216
|
+
scrollbar-width: none;
|
|
7217
|
+
padding-inline: var(--spacing-12);
|
|
7218
|
+
box-sizing: border-box;
|
|
7173
7219
|
}
|
|
7174
7220
|
|
|
7221
|
+
.muka-progress-tracker--scrollable::-webkit-scrollbar {
|
|
7222
|
+
display: none;
|
|
7223
|
+
}
|
|
7175
7224
|
|
|
7176
|
-
/*
|
|
7177
|
-
|
|
7225
|
+
/* ─── Track (layered container) ─────────────────────────── */
|
|
7226
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__track {
|
|
7227
|
+
position: relative;
|
|
7228
|
+
/* Vertical padding = (indicator size - connector height) / 2 = (32 - 4) / 2 = 14px */
|
|
7229
|
+
padding-top: 14px;
|
|
7230
|
+
padding-bottom: 14px;
|
|
7231
|
+
}
|
|
7178
7232
|
|
|
7179
|
-
/* ───
|
|
7180
|
-
.muka-progress-
|
|
7181
|
-
|
|
7233
|
+
/* ─── Steps layer (on top) — horizontal ─────────────────── */
|
|
7234
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__steps {
|
|
7235
|
+
position: absolute;
|
|
7236
|
+
inset: 0;
|
|
7182
7237
|
display: flex;
|
|
7183
|
-
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
/* Top padding provides the vertical rhythm between stacked steps */
|
|
7187
|
-
padding-top: var(--spacing-8);
|
|
7238
|
+
align-items: flex-start;
|
|
7239
|
+
justify-content: space-between;
|
|
7240
|
+
z-index: 2;
|
|
7188
7241
|
}
|
|
7189
7242
|
|
|
7190
|
-
/*
|
|
7191
|
-
.muka-progress-
|
|
7192
|
-
.muka-progress-accordeon--current.muka-progress-accordeon--expanded,
|
|
7193
|
-
.muka-progress-accordeon--past.muka-progress-accordeon--expanded,
|
|
7194
|
-
.muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
|
|
7195
|
-
gap: var(--spacing-6);
|
|
7196
|
-
}
|
|
7197
|
-
|
|
7198
|
-
.muka-progress-accordeon--upcoming,
|
|
7199
|
-
.muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
|
|
7200
|
-
.muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
|
|
7201
|
-
.muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
|
|
7202
|
-
gap: var(--spacing-8);
|
|
7203
|
-
}
|
|
7204
|
-
|
|
7205
|
-
/* Collapsible steps group header + slot. The header↔content gap lives inside the
|
|
7206
|
-
collapsing slot (as padding-top) so it collapses with the content, so the
|
|
7207
|
-
body gap itself is 0. */
|
|
7208
|
-
.muka-progress-accordeon__body {
|
|
7243
|
+
/* ─── Individual step — horizontal ──────────────────────── */
|
|
7244
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__step {
|
|
7209
7245
|
display: flex;
|
|
7210
7246
|
flex-direction: column;
|
|
7211
|
-
|
|
7212
|
-
|
|
7247
|
+
align-items: center;
|
|
7248
|
+
position: relative;
|
|
7249
|
+
/* Labels are absolutely positioned so the step stays 32px and
|
|
7250
|
+
circle centers line up with the connector padding. */
|
|
7251
|
+
width: 32px;
|
|
7252
|
+
flex: 0 0 32px;
|
|
7213
7253
|
}
|
|
7214
7254
|
|
|
7215
|
-
/* ───
|
|
7216
|
-
.muka-progress-
|
|
7255
|
+
/* ─── Step indicator (circle) ───────────────────────────── */
|
|
7256
|
+
.muka-progress-tracker__indicator {
|
|
7257
|
+
width: 32px;
|
|
7258
|
+
height: 32px;
|
|
7259
|
+
border-radius: var(--border-radius-full);
|
|
7217
7260
|
display: flex;
|
|
7218
|
-
|
|
7219
|
-
|
|
7220
|
-
|
|
7261
|
+
align-items: center;
|
|
7262
|
+
justify-content: center;
|
|
7263
|
+
flex-shrink: 0;
|
|
7264
|
+
position: relative;
|
|
7265
|
+
z-index: 1;
|
|
7221
7266
|
}
|
|
7222
7267
|
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
|
|
7226
|
-
|
|
7227
|
-
width: 100%;
|
|
7228
|
-
min-height: 40px;
|
|
7268
|
+
/* Past: dark accent contrast circle with white checkmark */
|
|
7269
|
+
.muka-progress-tracker__indicator--past {
|
|
7270
|
+
background-color: var(--alias-color-accent-contrast);
|
|
7271
|
+
color: var(--color-text-default-inverse);
|
|
7229
7272
|
}
|
|
7230
7273
|
|
|
7231
|
-
.muka-progress-
|
|
7232
|
-
|
|
7233
|
-
flex: 1 0 0;
|
|
7234
|
-
min-width: 0;
|
|
7235
|
-
align-items: flex-start;
|
|
7236
|
-
gap: var(--spacing-4);
|
|
7274
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--interactive {
|
|
7275
|
+
cursor: pointer;
|
|
7237
7276
|
}
|
|
7238
7277
|
|
|
7239
|
-
|
|
7240
|
-
|
|
7241
|
-
|
|
7242
|
-
.muka-progress-accordeon__heading-group {
|
|
7243
|
-
padding-top: var(--spacing-1);
|
|
7278
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--interactive:focus-visible {
|
|
7279
|
+
outline: 2px solid var(--color-border-focus);
|
|
7280
|
+
outline-offset: 2px;
|
|
7244
7281
|
}
|
|
7245
7282
|
|
|
7246
|
-
.muka-progress-
|
|
7247
|
-
|
|
7248
|
-
flex-shrink: 0;
|
|
7249
|
-
align-items: center;
|
|
7250
|
-
gap: var(--spacing-3);
|
|
7283
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--past.muka-progress-tracker__indicator--interactive:hover {
|
|
7284
|
+
background-color: var(--alias-color-accent-pressed);
|
|
7251
7285
|
}
|
|
7252
7286
|
|
|
7253
|
-
|
|
7254
|
-
|
|
7255
|
-
width: 32px;
|
|
7256
|
-
height: 32px;
|
|
7257
|
-
flex-shrink: 0;
|
|
7258
|
-
border-radius: var(--border-radius-full);
|
|
7259
|
-
display: flex;
|
|
7260
|
-
align-items: center;
|
|
7261
|
-
justify-content: center;
|
|
7287
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--current.muka-progress-tracker__indicator--interactive:hover {
|
|
7288
|
+
background-color: var(--alias-color-accent-hover);
|
|
7262
7289
|
}
|
|
7263
7290
|
|
|
7264
|
-
/*
|
|
7265
|
-
.muka-progress-
|
|
7266
|
-
|
|
7267
|
-
color: var(--color-text-default-inverse);
|
|
7291
|
+
/* Upcoming (clickableSteps="all"): a 4px halo, the vertical hover's 40px circle */
|
|
7292
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--upcoming.muka-progress-tracker__indicator--interactive:hover {
|
|
7293
|
+
box-shadow: 0 0 0 4px var(--color-surface-level1);
|
|
7268
7294
|
}
|
|
7269
7295
|
|
|
7270
|
-
/* Current: accent circle with
|
|
7271
|
-
.muka-progress-
|
|
7296
|
+
/* Current: accent default circle with white number */
|
|
7297
|
+
.muka-progress-tracker__indicator--current {
|
|
7272
7298
|
background-color: var(--alias-color-accent-default);
|
|
7273
7299
|
color: var(--color-text-default-inverse);
|
|
7274
7300
|
}
|
|
7275
7301
|
|
|
7276
|
-
/* Upcoming: sunken/
|
|
7277
|
-
.muka-progress-
|
|
7302
|
+
/* Upcoming: sunken/gray circle with dark number */
|
|
7303
|
+
.muka-progress-tracker__indicator--upcoming {
|
|
7278
7304
|
background-color: var(--color-surface-sunken);
|
|
7279
7305
|
color: var(--color-text-default-default);
|
|
7280
7306
|
}
|
|
7281
7307
|
|
|
7282
|
-
|
|
7283
|
-
|
|
7284
|
-
height: 20px;
|
|
7285
|
-
color: var(--color-text-default-inverse);
|
|
7286
|
-
}
|
|
7287
|
-
|
|
7288
|
-
.muka-progress-accordeon__number {
|
|
7308
|
+
/* ─── Step number text ──────────────────────────────────── */
|
|
7309
|
+
.muka-progress-tracker__number {
|
|
7289
7310
|
font-family: var(--text-label-md-bold-fontFamily);
|
|
7290
7311
|
font-weight: var(--text-label-md-bold-fontWeight);
|
|
7291
7312
|
font-size: var(--text-label-md-bold-fontSize);
|
|
@@ -7294,354 +7315,96 @@ body {
|
|
|
7294
7315
|
user-select: none;
|
|
7295
7316
|
}
|
|
7296
7317
|
|
|
7297
|
-
|
|
7298
|
-
|
|
7299
|
-
font-
|
|
7300
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7301
|
-
}
|
|
7302
|
-
|
|
7303
|
-
/* ─── Heading (responsive: heading/md on wide, heading/sm on narrow) ─────── */
|
|
7304
|
-
.muka-progress-accordeon__heading {
|
|
7305
|
-
flex: 1 0 0;
|
|
7306
|
-
min-width: 0;
|
|
7307
|
-
margin: 0;
|
|
7308
|
-
font-family: var(--text-heading-md-fontFamily);
|
|
7309
|
-
font-weight: var(--text-heading-md-fontWeight);
|
|
7310
|
-
font-size: var(--text-heading-md-fontSize);
|
|
7311
|
-
line-height: var(--text-heading-md-lineHeight);
|
|
7312
|
-
letter-spacing: var(--text-heading-md-letterSpacing);
|
|
7313
|
-
color: var(--color-text-default-default);
|
|
7314
|
-
}
|
|
7315
|
-
|
|
7316
|
-
/* ─── Description ────────────────────────────────────────── */
|
|
7317
|
-
/* Indented 48px (32px indicator + 16px gap) to align under the heading text */
|
|
7318
|
-
.muka-progress-accordeon__description {
|
|
7319
|
-
width: 100%;
|
|
7320
|
-
padding-left: 48px;
|
|
7321
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
7322
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7323
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
7324
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
7325
|
-
color: var(--color-text-default-default);
|
|
7318
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
7319
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
7320
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
7326
7321
|
}
|
|
7327
7322
|
|
|
7328
|
-
|
|
7329
|
-
|
|
7330
|
-
|
|
7323
|
+
.muka-progress-tracker--vertical .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
7324
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7325
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7326
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
7327
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
7331
7328
|
}
|
|
7332
7329
|
|
|
7333
|
-
/*
|
|
7334
|
-
.muka-progress-
|
|
7335
|
-
|
|
7330
|
+
/* ─── Checkmark icon ────────────────────────────────────── */
|
|
7331
|
+
.muka-progress-tracker__check-icon {
|
|
7332
|
+
width: 20px;
|
|
7333
|
+
height: 20px;
|
|
7336
7334
|
}
|
|
7337
7335
|
|
|
7338
|
-
/*
|
|
7339
|
-
.
|
|
7340
|
-
|
|
7341
|
-
|
|
7342
|
-
align-items: stretch;
|
|
7343
|
-
width: 100%;
|
|
7336
|
+
/* Past checkmark uses inverse foreground, matching the active step number.
|
|
7337
|
+
Scoped under the indicator to override the Icon component's default color. */
|
|
7338
|
+
.muka-progress-tracker__indicator--past .muka-progress-tracker__check-icon {
|
|
7339
|
+
color: var(--color-text-default-inverse);
|
|
7344
7340
|
}
|
|
7345
7341
|
|
|
7346
|
-
/* ───
|
|
7347
|
-
|
|
7348
|
-
|
|
7349
|
-
|
|
7350
|
-
|
|
7351
|
-
|
|
7352
|
-
|
|
7353
|
-
|
|
7354
|
-
|
|
7355
|
-
|
|
7356
|
-
|
|
7342
|
+
/* ─── Step label — horizontal ───────────────────────────── */
|
|
7343
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__label {
|
|
7344
|
+
position: absolute;
|
|
7345
|
+
top: 39px;
|
|
7346
|
+
left: 50%;
|
|
7347
|
+
transform: translateX(-50%);
|
|
7348
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
7349
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
7350
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
7351
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
7352
|
+
color: var(--color-text-default-default);
|
|
7353
|
+
text-align: center;
|
|
7354
|
+
max-width: 120px;
|
|
7355
|
+
white-space: nowrap;
|
|
7356
|
+
overflow: hidden;
|
|
7357
|
+
text-overflow: ellipsis;
|
|
7357
7358
|
}
|
|
7358
7359
|
|
|
7359
|
-
|
|
7360
|
-
|
|
7361
|
-
|
|
7362
|
-
|
|
7363
|
-
grid-template-rows var(--motion-duration-view) var(--motion-easing-exit),
|
|
7364
|
-
opacity calc(var(--motion-duration-view) * 0.6) var(--motion-easing-exit);
|
|
7360
|
+
/* Current step label is bold (horizontal only) */
|
|
7361
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__label--current {
|
|
7362
|
+
font-family: var(--text-label-sm-bold-fontFamily);
|
|
7363
|
+
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
7365
7364
|
}
|
|
7366
7365
|
|
|
7367
|
-
/*
|
|
7368
|
-
|
|
7369
|
-
|
|
7370
|
-
|
|
7371
|
-
|
|
7372
|
-
|
|
7366
|
+
/* Selected step: a pill behind the label (horizontal), matching the vertical
|
|
7367
|
+
selected pill's surface. The label stays centred under its indicator. */
|
|
7368
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__step[data-selected='true'] .muka-progress-tracker__label {
|
|
7369
|
+
padding: 0 var(--spacing-2);
|
|
7370
|
+
border-radius: var(--border-radius-full);
|
|
7371
|
+
background-color: var(--color-surface-level1);
|
|
7372
|
+
max-width: calc(120px + 2 * var(--spacing-2));
|
|
7373
7373
|
}
|
|
7374
7374
|
|
|
7375
|
-
/*
|
|
7376
|
-
|
|
7377
|
-
.muka-progress-accordeon__panel {
|
|
7375
|
+
/* ─── Connectors layer (behind indicators) — horizontal ─── */
|
|
7376
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__connectors {
|
|
7378
7377
|
display: flex;
|
|
7379
|
-
|
|
7380
|
-
|
|
7381
|
-
|
|
7382
|
-
padding-
|
|
7383
|
-
|
|
7378
|
+
align-items: center;
|
|
7379
|
+
/* Horizontal padding = indicator radius (32/2 = 16px) so lines meet circle centers */
|
|
7380
|
+
padding-left: var(--spacing-4);
|
|
7381
|
+
padding-right: var(--spacing-4);
|
|
7382
|
+
position: relative;
|
|
7383
|
+
z-index: 1;
|
|
7384
7384
|
}
|
|
7385
7385
|
|
|
7386
|
-
/*
|
|
7387
|
-
.
|
|
7386
|
+
/* Rounder, bar, rounder in a row. Chromium treats a negative gap as invalid,
|
|
7387
|
+
so the overlap is margins: the bar runs 2px under each circle. */
|
|
7388
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__connector {
|
|
7388
7389
|
display: flex;
|
|
7389
|
-
|
|
7390
|
-
|
|
7391
|
-
|
|
7390
|
+
flex-direction: row;
|
|
7391
|
+
align-items: center;
|
|
7392
|
+
flex: 1 0 0;
|
|
7393
|
+
height: 4px;
|
|
7394
|
+
min-width: 1px;
|
|
7395
|
+
position: relative;
|
|
7396
|
+
overflow: visible;
|
|
7397
|
+
background: none;
|
|
7392
7398
|
}
|
|
7393
7399
|
|
|
7394
|
-
.muka-progress-
|
|
7395
|
-
|
|
7400
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__connector-line {
|
|
7401
|
+
flex: 1 1 auto;
|
|
7402
|
+
height: 4px;
|
|
7403
|
+
min-width: 1px;
|
|
7396
7404
|
}
|
|
7397
7405
|
|
|
7398
|
-
|
|
7399
|
-
|
|
7400
|
-
width: 100%;
|
|
7401
|
-
}
|
|
7402
|
-
|
|
7403
|
-
/* ─── Responsive (narrow container) ──────────────────────── */
|
|
7404
|
-
@container (max-width: 480px) {
|
|
7405
|
-
/* Heading steps down to heading/sm. The 24px line-height is shorter than the
|
|
7406
|
-
32px step indicator, so nudge the text down to keep a single line centred. */
|
|
7407
|
-
.muka-progress-accordeon__heading {
|
|
7408
|
-
font-size: var(--text-heading-sm-fontSize);
|
|
7409
|
-
line-height: var(--text-heading-sm-lineHeight);
|
|
7410
|
-
padding-top: var(--spacing-1);
|
|
7411
|
-
}
|
|
7412
|
-
|
|
7413
|
-
/* Edit button swaps to the icon-only variant */
|
|
7414
|
-
.muka-progress-accordeon__edit--wide {
|
|
7415
|
-
display: none;
|
|
7416
|
-
}
|
|
7417
|
-
|
|
7418
|
-
.muka-progress-accordeon__edit--narrow {
|
|
7419
|
-
display: inline-flex;
|
|
7420
|
-
}
|
|
7421
|
-
|
|
7422
|
-
/* Action buttons stretch to fill the row */
|
|
7423
|
-
.muka-progress-accordeon__actions {
|
|
7424
|
-
justify-content: stretch;
|
|
7425
|
-
}
|
|
7426
|
-
|
|
7427
|
-
.muka-progress-accordeon__action {
|
|
7428
|
-
flex: 1 0 0;
|
|
7429
|
-
min-width: 0;
|
|
7430
|
-
}
|
|
7431
|
-
}
|
|
7432
|
-
|
|
7433
|
-
|
|
7434
|
-
/* ProgressTracker */
|
|
7435
|
-
/* ProgressTracker Component Styles — Using Muka Design Tokens */
|
|
7436
|
-
|
|
7437
|
-
/* ─── Root ──────────────────────────────────────────────── */
|
|
7438
|
-
.muka-progress-tracker {
|
|
7439
|
-
width: 100%;
|
|
7440
|
-
}
|
|
7441
|
-
|
|
7442
|
-
.muka-progress-tracker--horizontal {
|
|
7443
|
-
padding-bottom: var(--spacing-7);
|
|
7444
|
-
}
|
|
7445
|
-
|
|
7446
|
-
/* Scrollable: the root scrolls sideways when the steps don't fit. The inline
|
|
7447
|
-
padding leaves room for the first and last labels, which hang past their
|
|
7448
|
-
indicators; the scrollbar stays hidden (touch and trackpad still scroll). */
|
|
7449
|
-
.muka-progress-tracker--scrollable {
|
|
7450
|
-
overflow-x: auto;
|
|
7451
|
-
overflow-y: hidden;
|
|
7452
|
-
-webkit-overflow-scrolling: touch;
|
|
7453
|
-
scrollbar-width: none;
|
|
7454
|
-
padding-inline: var(--spacing-12);
|
|
7455
|
-
box-sizing: border-box;
|
|
7456
|
-
}
|
|
7457
|
-
|
|
7458
|
-
.muka-progress-tracker--scrollable::-webkit-scrollbar {
|
|
7459
|
-
display: none;
|
|
7460
|
-
}
|
|
7461
|
-
|
|
7462
|
-
/* ─── Track (layered container) ─────────────────────────── */
|
|
7463
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__track {
|
|
7464
|
-
position: relative;
|
|
7465
|
-
/* Vertical padding = (indicator size - connector height) / 2 = (32 - 4) / 2 = 14px */
|
|
7466
|
-
padding-top: 14px;
|
|
7467
|
-
padding-bottom: 14px;
|
|
7468
|
-
}
|
|
7469
|
-
|
|
7470
|
-
/* ─── Steps layer (on top) — horizontal ─────────────────── */
|
|
7471
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__steps {
|
|
7472
|
-
position: absolute;
|
|
7473
|
-
inset: 0;
|
|
7474
|
-
display: flex;
|
|
7475
|
-
align-items: flex-start;
|
|
7476
|
-
justify-content: space-between;
|
|
7477
|
-
z-index: 2;
|
|
7478
|
-
}
|
|
7479
|
-
|
|
7480
|
-
/* ─── Individual step — horizontal ──────────────────────── */
|
|
7481
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__step {
|
|
7482
|
-
display: flex;
|
|
7483
|
-
flex-direction: column;
|
|
7484
|
-
align-items: center;
|
|
7485
|
-
position: relative;
|
|
7486
|
-
/* Labels are absolutely positioned so the step stays 32px and
|
|
7487
|
-
circle centers line up with the connector padding. */
|
|
7488
|
-
width: 32px;
|
|
7489
|
-
flex: 0 0 32px;
|
|
7490
|
-
}
|
|
7491
|
-
|
|
7492
|
-
/* ─── Step indicator (circle) ───────────────────────────── */
|
|
7493
|
-
.muka-progress-tracker__indicator {
|
|
7494
|
-
width: 32px;
|
|
7495
|
-
height: 32px;
|
|
7496
|
-
border-radius: var(--border-radius-full);
|
|
7497
|
-
display: flex;
|
|
7498
|
-
align-items: center;
|
|
7499
|
-
justify-content: center;
|
|
7500
|
-
flex-shrink: 0;
|
|
7501
|
-
position: relative;
|
|
7502
|
-
z-index: 1;
|
|
7503
|
-
}
|
|
7504
|
-
|
|
7505
|
-
/* Past: dark accent contrast circle with white checkmark */
|
|
7506
|
-
.muka-progress-tracker__indicator--past {
|
|
7507
|
-
background-color: var(--alias-color-accent-contrast);
|
|
7508
|
-
color: var(--color-text-default-inverse);
|
|
7509
|
-
}
|
|
7510
|
-
|
|
7511
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--interactive {
|
|
7512
|
-
cursor: pointer;
|
|
7513
|
-
}
|
|
7514
|
-
|
|
7515
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--interactive:focus-visible {
|
|
7516
|
-
outline: 2px solid var(--color-border-focus);
|
|
7517
|
-
outline-offset: 2px;
|
|
7518
|
-
}
|
|
7519
|
-
|
|
7520
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--past.muka-progress-tracker__indicator--interactive:hover {
|
|
7521
|
-
background-color: var(--alias-color-accent-pressed);
|
|
7522
|
-
}
|
|
7523
|
-
|
|
7524
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--current.muka-progress-tracker__indicator--interactive:hover {
|
|
7525
|
-
background-color: var(--alias-color-accent-hover);
|
|
7526
|
-
}
|
|
7527
|
-
|
|
7528
|
-
/* Upcoming (clickableSteps="all"): a 4px halo, the vertical hover's 40px circle */
|
|
7529
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--upcoming.muka-progress-tracker__indicator--interactive:hover {
|
|
7530
|
-
box-shadow: 0 0 0 4px var(--color-surface-level1);
|
|
7531
|
-
}
|
|
7532
|
-
|
|
7533
|
-
/* Current: accent default circle with white number */
|
|
7534
|
-
.muka-progress-tracker__indicator--current {
|
|
7535
|
-
background-color: var(--alias-color-accent-default);
|
|
7536
|
-
color: var(--color-text-default-inverse);
|
|
7537
|
-
}
|
|
7538
|
-
|
|
7539
|
-
/* Upcoming: sunken/gray circle with dark number */
|
|
7540
|
-
.muka-progress-tracker__indicator--upcoming {
|
|
7541
|
-
background-color: var(--color-surface-sunken);
|
|
7542
|
-
color: var(--color-text-default-default);
|
|
7543
|
-
}
|
|
7544
|
-
|
|
7545
|
-
/* ─── Step number text ──────────────────────────────────── */
|
|
7546
|
-
.muka-progress-tracker__number {
|
|
7547
|
-
font-family: var(--text-label-md-bold-fontFamily);
|
|
7548
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
7549
|
-
font-size: var(--text-label-md-bold-fontSize);
|
|
7550
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
7551
|
-
text-align: center;
|
|
7552
|
-
user-select: none;
|
|
7553
|
-
}
|
|
7554
|
-
|
|
7555
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
7556
|
-
font-family: var(--text-label-md-bold-fontFamily);
|
|
7557
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
7558
|
-
}
|
|
7559
|
-
|
|
7560
|
-
.muka-progress-tracker--vertical .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
7561
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7562
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7563
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
7564
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
7565
|
-
}
|
|
7566
|
-
|
|
7567
|
-
/* ─── Checkmark icon ────────────────────────────────────── */
|
|
7568
|
-
.muka-progress-tracker__check-icon {
|
|
7569
|
-
width: 20px;
|
|
7570
|
-
height: 20px;
|
|
7571
|
-
}
|
|
7572
|
-
|
|
7573
|
-
/* Past checkmark uses inverse foreground, matching the active step number.
|
|
7574
|
-
Scoped under the indicator to override the Icon component's default color. */
|
|
7575
|
-
.muka-progress-tracker__indicator--past .muka-progress-tracker__check-icon {
|
|
7576
|
-
color: var(--color-text-default-inverse);
|
|
7577
|
-
}
|
|
7578
|
-
|
|
7579
|
-
/* ─── Step label — horizontal ───────────────────────────── */
|
|
7580
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__label {
|
|
7581
|
-
position: absolute;
|
|
7582
|
-
top: 39px;
|
|
7583
|
-
left: 50%;
|
|
7584
|
-
transform: translateX(-50%);
|
|
7585
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
7586
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
7587
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
7588
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
7589
|
-
color: var(--color-text-default-default);
|
|
7590
|
-
text-align: center;
|
|
7591
|
-
max-width: 120px;
|
|
7592
|
-
white-space: nowrap;
|
|
7593
|
-
overflow: hidden;
|
|
7594
|
-
text-overflow: ellipsis;
|
|
7595
|
-
}
|
|
7596
|
-
|
|
7597
|
-
/* Current step label is bold (horizontal only) */
|
|
7598
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__label--current {
|
|
7599
|
-
font-family: var(--text-label-sm-bold-fontFamily);
|
|
7600
|
-
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
7601
|
-
}
|
|
7602
|
-
|
|
7603
|
-
/* Selected step: a pill behind the label (horizontal), matching the vertical
|
|
7604
|
-
selected pill's surface. The label stays centred under its indicator. */
|
|
7605
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__step[data-selected='true'] .muka-progress-tracker__label {
|
|
7606
|
-
padding: 0 var(--spacing-2);
|
|
7607
|
-
border-radius: var(--border-radius-full);
|
|
7608
|
-
background-color: var(--color-surface-level1);
|
|
7609
|
-
max-width: calc(120px + 2 * var(--spacing-2));
|
|
7610
|
-
}
|
|
7611
|
-
|
|
7612
|
-
/* ─── Connectors layer (behind indicators) — horizontal ─── */
|
|
7613
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__connectors {
|
|
7614
|
-
display: flex;
|
|
7615
|
-
align-items: center;
|
|
7616
|
-
/* Horizontal padding = indicator radius (32/2 = 16px) so lines meet circle centers */
|
|
7617
|
-
padding-left: var(--spacing-4);
|
|
7618
|
-
padding-right: var(--spacing-4);
|
|
7619
|
-
position: relative;
|
|
7620
|
-
z-index: 1;
|
|
7621
|
-
}
|
|
7622
|
-
|
|
7623
|
-
/* Rounder, bar, rounder in a row. Chromium treats a negative gap as invalid,
|
|
7624
|
-
so the overlap is margins: the bar runs 2px under each circle. */
|
|
7625
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__connector {
|
|
7626
|
-
display: flex;
|
|
7627
|
-
flex-direction: row;
|
|
7628
|
-
align-items: center;
|
|
7629
|
-
flex: 1 0 0;
|
|
7630
|
-
height: 4px;
|
|
7631
|
-
min-width: 1px;
|
|
7632
|
-
position: relative;
|
|
7633
|
-
overflow: visible;
|
|
7634
|
-
background: none;
|
|
7635
|
-
}
|
|
7636
|
-
|
|
7637
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__connector-line {
|
|
7638
|
-
flex: 1 1 auto;
|
|
7639
|
-
height: 4px;
|
|
7640
|
-
min-width: 1px;
|
|
7641
|
-
}
|
|
7642
|
-
|
|
7643
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__connector--past .muka-progress-tracker__connector-line {
|
|
7644
|
-
background-color: var(--alias-color-accent-contrast);
|
|
7406
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__connector--past .muka-progress-tracker__connector-line {
|
|
7407
|
+
background-color: var(--alias-color-accent-contrast);
|
|
7645
7408
|
}
|
|
7646
7409
|
|
|
7647
7410
|
.muka-progress-tracker--horizontal .muka-progress-tracker__connector--current .muka-progress-tracker__connector-line {
|
|
@@ -7995,170 +7758,475 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
7995
7758
|
}
|
|
7996
7759
|
|
|
7997
7760
|
|
|
7998
|
-
/*
|
|
7999
|
-
/*
|
|
8000
|
-
|
|
8001
|
-
/* ========================================
|
|
8002
|
-
BAR VARIANT
|
|
8003
|
-
======================================== */
|
|
7761
|
+
/* ProgressAccordeon */
|
|
7762
|
+
/* ProgressAccordeon Component Styles — Using Muka Design Tokens */
|
|
8004
7763
|
|
|
8005
|
-
|
|
7764
|
+
/* ─── Root ──────────────────────────────────────────────── */
|
|
7765
|
+
.muka-progress-accordeon {
|
|
7766
|
+
container-type: inline-size;
|
|
8006
7767
|
display: flex;
|
|
8007
|
-
|
|
8008
|
-
|
|
7768
|
+
flex-direction: column;
|
|
7769
|
+
align-items: stretch;
|
|
8009
7770
|
width: 100%;
|
|
7771
|
+
/* Top padding provides the vertical rhythm between stacked steps */
|
|
7772
|
+
padding-top: var(--spacing-8);
|
|
8010
7773
|
}
|
|
8011
7774
|
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
|
|
8016
|
-
|
|
7775
|
+
/* Per-state gap: content-bearing steps are tighter, header-only steps looser */
|
|
7776
|
+
.muka-progress-accordeon--current,
|
|
7777
|
+
.muka-progress-accordeon--current.muka-progress-accordeon--expanded,
|
|
7778
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--expanded,
|
|
7779
|
+
.muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
|
|
7780
|
+
gap: var(--spacing-6);
|
|
8017
7781
|
}
|
|
8018
7782
|
|
|
8019
|
-
.muka-progress
|
|
8020
|
-
|
|
7783
|
+
.muka-progress-accordeon--upcoming,
|
|
7784
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
|
|
7785
|
+
.muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
|
|
7786
|
+
.muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
|
|
7787
|
+
gap: var(--spacing-8);
|
|
8021
7788
|
}
|
|
8022
7789
|
|
|
8023
|
-
|
|
8024
|
-
|
|
7790
|
+
/* Collapsible steps group header + slot. The header↔content gap lives inside the
|
|
7791
|
+
collapsing slot (as padding-top) so it collapses with the content, so the
|
|
7792
|
+
body gap itself is 0. */
|
|
7793
|
+
.muka-progress-accordeon__body {
|
|
7794
|
+
display: flex;
|
|
7795
|
+
flex-direction: column;
|
|
7796
|
+
gap: 0;
|
|
7797
|
+
width: 100%;
|
|
8025
7798
|
}
|
|
8026
7799
|
|
|
8027
|
-
|
|
8028
|
-
|
|
7800
|
+
/* ─── Header ─────────────────────────────────────────────── */
|
|
7801
|
+
.muka-progress-accordeon__header {
|
|
7802
|
+
display: flex;
|
|
7803
|
+
flex-direction: column;
|
|
7804
|
+
gap: var(--spacing-3);
|
|
7805
|
+
width: 100%;
|
|
8029
7806
|
}
|
|
8030
7807
|
|
|
8031
|
-
.muka-progress
|
|
8032
|
-
|
|
8033
|
-
|
|
8034
|
-
|
|
8035
|
-
|
|
7808
|
+
.muka-progress-accordeon__header-row {
|
|
7809
|
+
display: flex;
|
|
7810
|
+
align-items: flex-start;
|
|
7811
|
+
gap: var(--spacing-3);
|
|
7812
|
+
width: 100%;
|
|
7813
|
+
min-height: 40px;
|
|
8036
7814
|
}
|
|
8037
7815
|
|
|
8038
|
-
.muka-progress
|
|
8039
|
-
|
|
8040
|
-
|
|
8041
|
-
|
|
8042
|
-
|
|
8043
|
-
|
|
8044
|
-
color: var(--color-text-default-default);
|
|
8045
|
-
min-width: 3ch;
|
|
8046
|
-
text-align: right;
|
|
7816
|
+
.muka-progress-accordeon__heading-group {
|
|
7817
|
+
display: flex;
|
|
7818
|
+
flex: 1 0 0;
|
|
7819
|
+
min-width: 0;
|
|
7820
|
+
align-items: flex-start;
|
|
7821
|
+
gap: var(--spacing-4);
|
|
8047
7822
|
}
|
|
8048
7823
|
|
|
8049
|
-
/*
|
|
8050
|
-
|
|
8051
|
-
|
|
8052
|
-
|
|
7824
|
+
/* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
|
|
7825
|
+
so a single line centres against the indicator + controls row. */
|
|
7826
|
+
.muka-progress-accordeon:has(.muka-progress-accordeon__controls)
|
|
7827
|
+
.muka-progress-accordeon__heading-group {
|
|
7828
|
+
padding-top: var(--spacing-1);
|
|
8053
7829
|
}
|
|
8054
7830
|
|
|
8055
|
-
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
|
|
8060
|
-
transform: translateX(250%);
|
|
8061
|
-
}
|
|
7831
|
+
.muka-progress-accordeon__controls {
|
|
7832
|
+
display: flex;
|
|
7833
|
+
flex-shrink: 0;
|
|
7834
|
+
align-items: center;
|
|
7835
|
+
gap: var(--spacing-3);
|
|
8062
7836
|
}
|
|
8063
7837
|
|
|
8064
|
-
/*
|
|
8065
|
-
|
|
8066
|
-
|
|
8067
|
-
|
|
8068
|
-
|
|
8069
|
-
|
|
8070
|
-
display:
|
|
7838
|
+
/* ─── Step indicator (circle) ───────────────────────────── */
|
|
7839
|
+
.muka-progress-accordeon__indicator {
|
|
7840
|
+
width: 32px;
|
|
7841
|
+
height: 32px;
|
|
7842
|
+
flex-shrink: 0;
|
|
7843
|
+
border-radius: var(--border-radius-full);
|
|
7844
|
+
display: flex;
|
|
8071
7845
|
align-items: center;
|
|
8072
7846
|
justify-content: center;
|
|
8073
7847
|
}
|
|
8074
7848
|
|
|
8075
|
-
|
|
8076
|
-
|
|
8077
|
-
|
|
7849
|
+
/* Past: dark accent-contrast circle with inverse checkmark */
|
|
7850
|
+
.muka-progress-accordeon__indicator--past {
|
|
7851
|
+
background-color: var(--alias-color-accent-contrast);
|
|
7852
|
+
color: var(--color-text-default-inverse);
|
|
8078
7853
|
}
|
|
8079
7854
|
|
|
8080
|
-
|
|
8081
|
-
|
|
8082
|
-
|
|
7855
|
+
/* Current: accent circle with inverse bold number */
|
|
7856
|
+
.muka-progress-accordeon__indicator--current {
|
|
7857
|
+
background-color: var(--alias-color-accent-default);
|
|
7858
|
+
color: var(--color-text-default-inverse);
|
|
8083
7859
|
}
|
|
8084
7860
|
|
|
8085
|
-
|
|
8086
|
-
|
|
8087
|
-
|
|
7861
|
+
/* Upcoming: sunken/muted circle with default-color number */
|
|
7862
|
+
.muka-progress-accordeon__indicator--upcoming {
|
|
7863
|
+
background-color: var(--color-surface-sunken);
|
|
7864
|
+
color: var(--color-text-default-default);
|
|
8088
7865
|
}
|
|
8089
7866
|
|
|
8090
|
-
.muka-
|
|
8091
|
-
width:
|
|
8092
|
-
height:
|
|
8093
|
-
|
|
7867
|
+
.muka-progress-accordeon__check-icon {
|
|
7868
|
+
width: 20px;
|
|
7869
|
+
height: 20px;
|
|
7870
|
+
color: var(--color-text-default-inverse);
|
|
8094
7871
|
}
|
|
8095
7872
|
|
|
8096
|
-
.muka-progress
|
|
8097
|
-
|
|
8098
|
-
|
|
7873
|
+
.muka-progress-accordeon__number {
|
|
7874
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
7875
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
7876
|
+
font-size: var(--text-label-md-bold-fontSize);
|
|
7877
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
7878
|
+
text-align: center;
|
|
7879
|
+
user-select: none;
|
|
8099
7880
|
}
|
|
8100
7881
|
|
|
8101
|
-
|
|
8102
|
-
.muka-progress
|
|
8103
|
-
|
|
7882
|
+
/* Upcoming number is semibold (not bold) per Figma */
|
|
7883
|
+
.muka-progress-accordeon__indicator--upcoming .muka-progress-accordeon__number {
|
|
7884
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7885
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
8104
7886
|
}
|
|
8105
7887
|
|
|
8106
|
-
|
|
8107
|
-
.muka-progress
|
|
8108
|
-
|
|
7888
|
+
/* ─── Heading (responsive: heading/md on wide, heading/sm on narrow) ─────── */
|
|
7889
|
+
.muka-progress-accordeon__heading {
|
|
7890
|
+
flex: 1 0 0;
|
|
7891
|
+
min-width: 0;
|
|
7892
|
+
margin: 0;
|
|
7893
|
+
font-family: var(--text-heading-md-fontFamily);
|
|
7894
|
+
font-weight: var(--text-heading-md-fontWeight);
|
|
7895
|
+
font-size: var(--text-heading-md-fontSize);
|
|
7896
|
+
line-height: var(--text-heading-md-lineHeight);
|
|
7897
|
+
letter-spacing: var(--text-heading-md-letterSpacing);
|
|
7898
|
+
color: var(--color-text-default-default);
|
|
8109
7899
|
}
|
|
8110
7900
|
|
|
8111
|
-
|
|
8112
|
-
|
|
8113
|
-
|
|
7901
|
+
/* ─── Description ────────────────────────────────────────── */
|
|
7902
|
+
/* Indented 48px (32px indicator + 16px gap) to align under the heading text */
|
|
7903
|
+
.muka-progress-accordeon__description {
|
|
7904
|
+
width: 100%;
|
|
7905
|
+
padding-left: 48px;
|
|
7906
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7907
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7908
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
7909
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
7910
|
+
color: var(--color-text-default-default);
|
|
8114
7911
|
}
|
|
8115
7912
|
|
|
8116
|
-
|
|
8117
|
-
|
|
8118
|
-
|
|
8119
|
-
stroke-linecap: round;
|
|
8120
|
-
transition: stroke-dashoffset 0.3s ease;
|
|
7913
|
+
/* ─── Edit button ────────────────────────────────────────── */
|
|
7914
|
+
.muka-progress-accordeon__edit {
|
|
7915
|
+
flex-shrink: 0;
|
|
8121
7916
|
}
|
|
8122
7917
|
|
|
8123
|
-
|
|
8124
|
-
|
|
8125
|
-
|
|
8126
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
8127
|
-
color: var(--color-text-default-default);
|
|
7918
|
+
/* Wide container shows the labelled button; the icon-only one is hidden */
|
|
7919
|
+
.muka-progress-accordeon__edit--narrow {
|
|
7920
|
+
display: none;
|
|
8128
7921
|
}
|
|
8129
7922
|
|
|
8130
|
-
|
|
8131
|
-
|
|
7923
|
+
/* ─── Content slot ───────────────────────────────────────── */
|
|
7924
|
+
.muka-progress-accordeon__slot {
|
|
7925
|
+
display: flex;
|
|
7926
|
+
flex-direction: column;
|
|
7927
|
+
align-items: stretch;
|
|
7928
|
+
width: 100%;
|
|
8132
7929
|
}
|
|
8133
7930
|
|
|
8134
|
-
|
|
8135
|
-
|
|
7931
|
+
/* ─── Collapse/expand animation (any expandable step) ──────
|
|
7932
|
+
Animates grid-template-rows 1fr ↔ 0fr so the panel (slot + actions) grows and
|
|
7933
|
+
shrinks to its intrinsic height. Opacity fades with the same duration.
|
|
7934
|
+
Under prefers-reduced-motion, --motion-duration-view is 0ms. */
|
|
7935
|
+
.muka-progress-accordeon__panel-wrapper {
|
|
7936
|
+
display: grid;
|
|
7937
|
+
grid-template-rows: 1fr;
|
|
7938
|
+
opacity: 1;
|
|
7939
|
+
transition:
|
|
7940
|
+
grid-template-rows var(--motion-duration-view) var(--motion-easing-enter),
|
|
7941
|
+
opacity var(--motion-duration-view) var(--motion-easing-enter);
|
|
8136
7942
|
}
|
|
8137
7943
|
|
|
8138
|
-
.muka-progress
|
|
8139
|
-
|
|
7944
|
+
.muka-progress-accordeon__panel-wrapper--collapsed {
|
|
7945
|
+
grid-template-rows: 0fr;
|
|
7946
|
+
opacity: 0;
|
|
7947
|
+
transition:
|
|
7948
|
+
grid-template-rows var(--motion-duration-view) var(--motion-easing-exit),
|
|
7949
|
+
opacity calc(var(--motion-duration-view) * 0.6) var(--motion-easing-exit);
|
|
8140
7950
|
}
|
|
8141
7951
|
|
|
8142
|
-
/*
|
|
8143
|
-
|
|
8144
|
-
|
|
7952
|
+
/* The direct grid child clips and must have NO padding/border of its own —
|
|
7953
|
+
min-height:0 lets it shrink, and with no padding the 0fr track reaches a true
|
|
7954
|
+
0 height (padding on the item would leave a residual gap when collapsed). */
|
|
7955
|
+
.muka-progress-accordeon__panel-clip {
|
|
7956
|
+
overflow: hidden;
|
|
7957
|
+
min-height: 0;
|
|
8145
7958
|
}
|
|
8146
7959
|
|
|
8147
|
-
|
|
8148
|
-
|
|
7960
|
+
/* Header↔content spacing + slot/actions gap live inside the clip so they
|
|
7961
|
+
collapse together with the panel. */
|
|
7962
|
+
.muka-progress-accordeon__panel {
|
|
7963
|
+
display: flex;
|
|
7964
|
+
flex-direction: column;
|
|
7965
|
+
align-items: stretch;
|
|
7966
|
+
gap: var(--spacing-6);
|
|
7967
|
+
padding-top: var(--spacing-4);
|
|
7968
|
+
width: 100%;
|
|
8149
7969
|
}
|
|
8150
7970
|
|
|
8151
|
-
|
|
8152
|
-
|
|
8153
|
-
|
|
8154
|
-
|
|
7971
|
+
/* ─── Action buttons (current state) ─────────────────────── */
|
|
7972
|
+
.muka-progress-accordeon__actions {
|
|
7973
|
+
display: flex;
|
|
7974
|
+
justify-content: flex-end;
|
|
7975
|
+
gap: var(--spacing-4);
|
|
7976
|
+
width: 100%;
|
|
8155
7977
|
}
|
|
8156
7978
|
|
|
8157
|
-
|
|
8158
|
-
|
|
8159
|
-
|
|
8160
|
-
|
|
8161
|
-
|
|
7979
|
+
.muka-progress-accordeon__action {
|
|
7980
|
+
min-width: 160px;
|
|
7981
|
+
}
|
|
7982
|
+
|
|
7983
|
+
/* ─── Divider ────────────────────────────────────────────── */
|
|
7984
|
+
.muka-progress-accordeon__divider {
|
|
7985
|
+
width: 100%;
|
|
7986
|
+
}
|
|
7987
|
+
|
|
7988
|
+
/* ─── Responsive (narrow container) ──────────────────────── */
|
|
7989
|
+
@container (max-width: 480px) {
|
|
7990
|
+
/* Heading steps down to heading/sm. The 24px line-height is shorter than the
|
|
7991
|
+
32px step indicator, so nudge the text down to keep a single line centred. */
|
|
7992
|
+
.muka-progress-accordeon__heading {
|
|
7993
|
+
font-size: var(--text-heading-sm-fontSize);
|
|
7994
|
+
line-height: var(--text-heading-sm-lineHeight);
|
|
7995
|
+
padding-top: var(--spacing-1);
|
|
7996
|
+
}
|
|
7997
|
+
|
|
7998
|
+
/* Edit button swaps to the icon-only variant */
|
|
7999
|
+
.muka-progress-accordeon__edit--wide {
|
|
8000
|
+
display: none;
|
|
8001
|
+
}
|
|
8002
|
+
|
|
8003
|
+
.muka-progress-accordeon__edit--narrow {
|
|
8004
|
+
display: inline-flex;
|
|
8005
|
+
}
|
|
8006
|
+
|
|
8007
|
+
/* Action buttons stretch to fill the row */
|
|
8008
|
+
.muka-progress-accordeon__actions {
|
|
8009
|
+
justify-content: stretch;
|
|
8010
|
+
}
|
|
8011
|
+
|
|
8012
|
+
.muka-progress-accordeon__action {
|
|
8013
|
+
flex: 1 0 0;
|
|
8014
|
+
min-width: 0;
|
|
8015
|
+
}
|
|
8016
|
+
}
|
|
8017
|
+
|
|
8018
|
+
|
|
8019
|
+
/* PullToRefresh */
|
|
8020
|
+
/* PullToRefresh Component Styles */
|
|
8021
|
+
|
|
8022
|
+
.muka-pull-to-refresh {
|
|
8023
|
+
position: relative;
|
|
8024
|
+
display: flex;
|
|
8025
|
+
flex-direction: column;
|
|
8026
|
+
width: 100%;
|
|
8027
|
+
height: 100%;
|
|
8028
|
+
overflow: hidden;
|
|
8029
|
+
}
|
|
8030
|
+
|
|
8031
|
+
.muka-pull-to-refresh__indicator {
|
|
8032
|
+
position: absolute;
|
|
8033
|
+
top: 0;
|
|
8034
|
+
left: 0;
|
|
8035
|
+
right: 0;
|
|
8036
|
+
display: flex;
|
|
8037
|
+
align-items: flex-end;
|
|
8038
|
+
justify-content: center;
|
|
8039
|
+
padding-bottom: var(--spacing-2);
|
|
8040
|
+
color: var(--color-text-subtle-default);
|
|
8041
|
+
overflow: hidden;
|
|
8042
|
+
pointer-events: none;
|
|
8043
|
+
z-index: 1;
|
|
8044
|
+
}
|
|
8045
|
+
|
|
8046
|
+
.muka-pull-to-refresh__chevron {
|
|
8047
|
+
display: inline-flex;
|
|
8048
|
+
align-items: center;
|
|
8049
|
+
justify-content: center;
|
|
8050
|
+
transition: transform 0.16s ease;
|
|
8051
|
+
}
|
|
8052
|
+
|
|
8053
|
+
.muka-pull-to-refresh__scroller {
|
|
8054
|
+
flex: 1 1 auto;
|
|
8055
|
+
min-height: 0;
|
|
8056
|
+
width: 100%;
|
|
8057
|
+
overflow-x: clip;
|
|
8058
|
+
overflow-y: auto;
|
|
8059
|
+
-webkit-overflow-scrolling: touch;
|
|
8060
|
+
overscroll-behavior-y: contain;
|
|
8061
|
+
touch-action: pan-y;
|
|
8062
|
+
will-change: transform;
|
|
8063
|
+
}
|
|
8064
|
+
|
|
8065
|
+
|
|
8066
|
+
/* Progress */
|
|
8067
|
+
/* Progress Component Styles - Using Muka Design Tokens */
|
|
8068
|
+
|
|
8069
|
+
/* ========================================
|
|
8070
|
+
BAR VARIANT
|
|
8071
|
+
======================================== */
|
|
8072
|
+
|
|
8073
|
+
.muka-progress--bar {
|
|
8074
|
+
display: flex;
|
|
8075
|
+
align-items: center;
|
|
8076
|
+
gap: var(--spacing-2);
|
|
8077
|
+
width: 100%;
|
|
8078
|
+
}
|
|
8079
|
+
|
|
8080
|
+
.muka-progress--bar .muka-progress__track {
|
|
8081
|
+
flex: 1;
|
|
8082
|
+
background-color: var(--color-surface-level1);
|
|
8083
|
+
border-radius: var(--border-radius-full);
|
|
8084
|
+
overflow: hidden;
|
|
8085
|
+
}
|
|
8086
|
+
|
|
8087
|
+
.muka-progress--bar.muka-progress--sm .muka-progress__track {
|
|
8088
|
+
height: var(--progress-size-bar-height-sm);
|
|
8089
|
+
}
|
|
8090
|
+
|
|
8091
|
+
.muka-progress--bar.muka-progress--md .muka-progress__track {
|
|
8092
|
+
height: var(--progress-size-bar-height-md);
|
|
8093
|
+
}
|
|
8094
|
+
|
|
8095
|
+
.muka-progress--bar.muka-progress--lg .muka-progress__track {
|
|
8096
|
+
height: var(--progress-size-bar-height-lg);
|
|
8097
|
+
}
|
|
8098
|
+
|
|
8099
|
+
.muka-progress--bar .muka-progress__fill {
|
|
8100
|
+
height: 100%;
|
|
8101
|
+
background-color: var(--color-action-default);
|
|
8102
|
+
border-radius: var(--border-radius-full);
|
|
8103
|
+
transition: width 0.3s ease;
|
|
8104
|
+
}
|
|
8105
|
+
|
|
8106
|
+
.muka-progress--bar .muka-progress__label {
|
|
8107
|
+
flex-shrink: 0;
|
|
8108
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
8109
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
8110
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
8111
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
8112
|
+
color: var(--color-text-default-default);
|
|
8113
|
+
min-width: 3ch;
|
|
8114
|
+
text-align: right;
|
|
8115
|
+
}
|
|
8116
|
+
|
|
8117
|
+
/* Indeterminate animation for bar */
|
|
8118
|
+
.muka-progress--bar.muka-progress--indeterminate .muka-progress__fill {
|
|
8119
|
+
width: 40%;
|
|
8120
|
+
animation: muka-progress-bar-indeterminate 1.5s ease-in-out infinite;
|
|
8121
|
+
}
|
|
8122
|
+
|
|
8123
|
+
@keyframes muka-progress-bar-indeterminate {
|
|
8124
|
+
0% {
|
|
8125
|
+
transform: translateX(-100%);
|
|
8126
|
+
}
|
|
8127
|
+
100% {
|
|
8128
|
+
transform: translateX(250%);
|
|
8129
|
+
}
|
|
8130
|
+
}
|
|
8131
|
+
|
|
8132
|
+
/* ========================================
|
|
8133
|
+
CIRCLE VARIANT
|
|
8134
|
+
======================================== */
|
|
8135
|
+
|
|
8136
|
+
.muka-progress--circle {
|
|
8137
|
+
position: relative;
|
|
8138
|
+
display: inline-flex;
|
|
8139
|
+
align-items: center;
|
|
8140
|
+
justify-content: center;
|
|
8141
|
+
}
|
|
8142
|
+
|
|
8143
|
+
.muka-progress--circle.muka-progress--sm {
|
|
8144
|
+
width: var(--progress-size-circle-diameter-sm);
|
|
8145
|
+
height: var(--progress-size-circle-diameter-sm);
|
|
8146
|
+
}
|
|
8147
|
+
|
|
8148
|
+
.muka-progress--circle.muka-progress--md {
|
|
8149
|
+
width: var(--progress-size-circle-diameter-md);
|
|
8150
|
+
height: var(--progress-size-circle-diameter-md);
|
|
8151
|
+
}
|
|
8152
|
+
|
|
8153
|
+
.muka-progress--circle.muka-progress--lg {
|
|
8154
|
+
width: var(--progress-size-circle-diameter-lg);
|
|
8155
|
+
height: var(--progress-size-circle-diameter-lg);
|
|
8156
|
+
}
|
|
8157
|
+
|
|
8158
|
+
.muka-progress__circle {
|
|
8159
|
+
width: 100%;
|
|
8160
|
+
height: 100%;
|
|
8161
|
+
transform: rotate(-90deg);
|
|
8162
|
+
}
|
|
8163
|
+
|
|
8164
|
+
.muka-progress--circle .muka-progress__track {
|
|
8165
|
+
fill: none;
|
|
8166
|
+
stroke: var(--color-surface-level1);
|
|
8167
|
+
}
|
|
8168
|
+
|
|
8169
|
+
.muka-progress--circle.muka-progress--sm .muka-progress__track,
|
|
8170
|
+
.muka-progress--circle.muka-progress--sm .muka-progress__fill {
|
|
8171
|
+
stroke-width: var(--progress-size-circle-strokeWidth-sm);
|
|
8172
|
+
}
|
|
8173
|
+
|
|
8174
|
+
.muka-progress--circle.muka-progress--md .muka-progress__track,
|
|
8175
|
+
.muka-progress--circle.muka-progress--md .muka-progress__fill {
|
|
8176
|
+
stroke-width: var(--progress-size-circle-strokeWidth-md);
|
|
8177
|
+
}
|
|
8178
|
+
|
|
8179
|
+
.muka-progress--circle.muka-progress--lg .muka-progress__track,
|
|
8180
|
+
.muka-progress--circle.muka-progress--lg .muka-progress__fill {
|
|
8181
|
+
stroke-width: var(--progress-size-circle-strokeWidth-lg);
|
|
8182
|
+
}
|
|
8183
|
+
|
|
8184
|
+
.muka-progress--circle .muka-progress__fill {
|
|
8185
|
+
fill: none;
|
|
8186
|
+
stroke: var(--color-action-default);
|
|
8187
|
+
stroke-linecap: round;
|
|
8188
|
+
transition: stroke-dashoffset 0.3s ease;
|
|
8189
|
+
}
|
|
8190
|
+
|
|
8191
|
+
.muka-progress--circle .muka-progress__label {
|
|
8192
|
+
position: absolute;
|
|
8193
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
8194
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
8195
|
+
color: var(--color-text-default-default);
|
|
8196
|
+
}
|
|
8197
|
+
|
|
8198
|
+
.muka-progress--circle.muka-progress--sm .muka-progress__label {
|
|
8199
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
8200
|
+
}
|
|
8201
|
+
|
|
8202
|
+
.muka-progress--circle.muka-progress--md .muka-progress__label {
|
|
8203
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
8204
|
+
}
|
|
8205
|
+
|
|
8206
|
+
.muka-progress--circle.muka-progress--lg .muka-progress__label {
|
|
8207
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
8208
|
+
}
|
|
8209
|
+
|
|
8210
|
+
/* Indeterminate animation for circle */
|
|
8211
|
+
.muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
|
|
8212
|
+
animation: muka-progress-circle-rotate 2s linear infinite;
|
|
8213
|
+
}
|
|
8214
|
+
|
|
8215
|
+
.muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
|
|
8216
|
+
animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
|
|
8217
|
+
}
|
|
8218
|
+
|
|
8219
|
+
@keyframes muka-progress-circle-rotate {
|
|
8220
|
+
100% {
|
|
8221
|
+
transform: rotate(270deg);
|
|
8222
|
+
}
|
|
8223
|
+
}
|
|
8224
|
+
|
|
8225
|
+
@keyframes muka-progress-circle-dash {
|
|
8226
|
+
0% {
|
|
8227
|
+
stroke-dashoffset: 220;
|
|
8228
|
+
}
|
|
8229
|
+
50% {
|
|
8162
8230
|
stroke-dashoffset: 70;
|
|
8163
8231
|
}
|
|
8164
8232
|
100% {
|
|
@@ -9492,11 +9560,29 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9492
9560
|
white-space: nowrap;
|
|
9493
9561
|
}
|
|
9494
9562
|
|
|
9495
|
-
/*
|
|
9496
|
-
.muka-menu__item--has-
|
|
9497
|
-
|
|
9498
|
-
|
|
9499
|
-
|
|
9563
|
+
/* A second line under the label (description): label above, subdued below. */
|
|
9564
|
+
.muka-menu__item--has-description .muka-menu__item-label {
|
|
9565
|
+
display: flex;
|
|
9566
|
+
flex-direction: column;
|
|
9567
|
+
overflow: hidden;
|
|
9568
|
+
}
|
|
9569
|
+
|
|
9570
|
+
.muka-menu__item-description {
|
|
9571
|
+
overflow: hidden;
|
|
9572
|
+
text-overflow: ellipsis;
|
|
9573
|
+
white-space: nowrap;
|
|
9574
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
9575
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
9576
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
9577
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
9578
|
+
color: var(--color-text-subtle-default);
|
|
9579
|
+
}
|
|
9580
|
+
|
|
9581
|
+
/* Shortcut trailers replace icons and sit with an 8px right inset. */
|
|
9582
|
+
.muka-menu__item--has-shortcut {
|
|
9583
|
+
padding-right: var(--spacing-2);
|
|
9584
|
+
}
|
|
9585
|
+
|
|
9500
9586
|
.muka-menu__item-shortcut {
|
|
9501
9587
|
flex-shrink: 0;
|
|
9502
9588
|
margin-left: auto;
|
|
@@ -11133,147 +11219,6 @@ li.muka-listitem {
|
|
|
11133
11219
|
}
|
|
11134
11220
|
|
|
11135
11221
|
|
|
11136
|
-
/* FAB */
|
|
11137
|
-
/* FAB (Floating Action Button) Component Styles */
|
|
11138
|
-
|
|
11139
|
-
.muka-fab {
|
|
11140
|
-
position: fixed;
|
|
11141
|
-
z-index: 40;
|
|
11142
|
-
|
|
11143
|
-
display: inline-flex;
|
|
11144
|
-
align-items: center;
|
|
11145
|
-
justify-content: center;
|
|
11146
|
-
gap: var(--spacing-2);
|
|
11147
|
-
|
|
11148
|
-
border: none;
|
|
11149
|
-
cursor: pointer;
|
|
11150
|
-
font-family: inherit;
|
|
11151
|
-
box-shadow: var(--shadow-level4);
|
|
11152
|
-
|
|
11153
|
-
transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
|
|
11154
|
-
-webkit-tap-highlight-color: transparent;
|
|
11155
|
-
}
|
|
11156
|
-
|
|
11157
|
-
.muka-fab:active {
|
|
11158
|
-
transform: scale(0.96);
|
|
11159
|
-
box-shadow: var(--shadow-level3);
|
|
11160
|
-
}
|
|
11161
|
-
|
|
11162
|
-
.muka-fab:focus-visible {
|
|
11163
|
-
outline: 2px solid var(--color-action-default);
|
|
11164
|
-
outline-offset: 2px;
|
|
11165
|
-
}
|
|
11166
|
-
|
|
11167
|
-
.muka-fab:disabled {
|
|
11168
|
-
opacity: 0.5;
|
|
11169
|
-
cursor: not-allowed;
|
|
11170
|
-
box-shadow: none;
|
|
11171
|
-
}
|
|
11172
|
-
|
|
11173
|
-
/* ─── Variants ────────────────────────────────────────── */
|
|
11174
|
-
|
|
11175
|
-
.muka-fab--primary {
|
|
11176
|
-
background-color: var(--color-action-default);
|
|
11177
|
-
color: var(--color-text-default-inverse);
|
|
11178
|
-
}
|
|
11179
|
-
|
|
11180
|
-
.muka-fab--primary:hover:not(:disabled) {
|
|
11181
|
-
background-color: var(--color-action-hover);
|
|
11182
|
-
}
|
|
11183
|
-
|
|
11184
|
-
.muka-fab--secondary {
|
|
11185
|
-
background-color: var(--color-surface-level3);
|
|
11186
|
-
color: var(--color-text-default-default);
|
|
11187
|
-
}
|
|
11188
|
-
|
|
11189
|
-
.muka-fab--secondary:hover:not(:disabled) {
|
|
11190
|
-
background-color: var(--color-surface-level2);
|
|
11191
|
-
}
|
|
11192
|
-
|
|
11193
|
-
/* ─── Sizes (circular by default) ─────────────────────── */
|
|
11194
|
-
|
|
11195
|
-
.muka-fab--md {
|
|
11196
|
-
width: 56px;
|
|
11197
|
-
height: 56px;
|
|
11198
|
-
border-radius: 50%;
|
|
11199
|
-
}
|
|
11200
|
-
|
|
11201
|
-
.muka-fab--lg {
|
|
11202
|
-
width: 64px;
|
|
11203
|
-
height: 64px;
|
|
11204
|
-
border-radius: 50%;
|
|
11205
|
-
}
|
|
11206
|
-
|
|
11207
|
-
/* ─── Extended (pill shape with label) ────────────────── */
|
|
11208
|
-
|
|
11209
|
-
.muka-fab--extended {
|
|
11210
|
-
width: auto;
|
|
11211
|
-
height: auto;
|
|
11212
|
-
padding: var(--spacing-3) var(--spacing-4);
|
|
11213
|
-
border-radius: var(--radius-full);
|
|
11214
|
-
}
|
|
11215
|
-
|
|
11216
|
-
.muka-fab--extended.muka-fab--lg {
|
|
11217
|
-
padding: var(--spacing-4) var(--spacing-5);
|
|
11218
|
-
}
|
|
11219
|
-
|
|
11220
|
-
.muka-fab__icon {
|
|
11221
|
-
display: inline-flex;
|
|
11222
|
-
align-items: center;
|
|
11223
|
-
justify-content: center;
|
|
11224
|
-
width: 24px;
|
|
11225
|
-
height: 24px;
|
|
11226
|
-
}
|
|
11227
|
-
|
|
11228
|
-
.muka-fab__icon svg {
|
|
11229
|
-
width: 100%;
|
|
11230
|
-
height: 100%;
|
|
11231
|
-
}
|
|
11232
|
-
|
|
11233
|
-
.muka-fab__label {
|
|
11234
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
11235
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
11236
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
11237
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
11238
|
-
}
|
|
11239
|
-
|
|
11240
|
-
/* ─── Positioning ─────────────────────────────────────── */
|
|
11241
|
-
|
|
11242
|
-
.muka-fab--bottom-right {
|
|
11243
|
-
right: var(--spacing-4);
|
|
11244
|
-
bottom: var(--spacing-4);
|
|
11245
|
-
}
|
|
11246
|
-
|
|
11247
|
-
.muka-fab--bottom-left {
|
|
11248
|
-
left: var(--spacing-4);
|
|
11249
|
-
bottom: var(--spacing-4);
|
|
11250
|
-
}
|
|
11251
|
-
|
|
11252
|
-
.muka-fab--bottom-center {
|
|
11253
|
-
left: 50%;
|
|
11254
|
-
bottom: var(--spacing-4);
|
|
11255
|
-
transform: translateX(-50%);
|
|
11256
|
-
}
|
|
11257
|
-
|
|
11258
|
-
.muka-fab--bottom-center:active {
|
|
11259
|
-
transform: translateX(-50%) scale(0.96);
|
|
11260
|
-
}
|
|
11261
|
-
|
|
11262
|
-
/* Add the iOS home-indicator inset to the bottom offset. */
|
|
11263
|
-
.muka-fab:not(.muka-fab--no-safe-area) {
|
|
11264
|
-
bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
|
|
11265
|
-
}
|
|
11266
|
-
|
|
11267
|
-
/* Lateral safe-area for landscape iPhone with notch. */
|
|
11268
|
-
.muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
|
|
11269
|
-
right: max(var(--spacing-4), env(safe-area-inset-right));
|
|
11270
|
-
}
|
|
11271
|
-
|
|
11272
|
-
.muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
|
|
11273
|
-
left: max(var(--spacing-4), env(safe-area-inset-left));
|
|
11274
|
-
}
|
|
11275
|
-
|
|
11276
|
-
|
|
11277
11222
|
/* EmptyState */
|
|
11278
11223
|
/* EmptyState Component Styles - Using Muka Design Tokens */
|
|
11279
11224
|
|
|
@@ -11665,82 +11610,223 @@ li.muka-listitem {
|
|
|
11665
11610
|
}
|
|
11666
11611
|
|
|
11667
11612
|
|
|
11668
|
-
/*
|
|
11669
|
-
/*
|
|
11613
|
+
/* FAB */
|
|
11614
|
+
/* FAB (Floating Action Button) Component Styles */
|
|
11670
11615
|
|
|
11671
|
-
|
|
11672
|
-
|
|
11673
|
-
|
|
11674
|
-
|
|
11675
|
-
|
|
11676
|
-
|
|
11616
|
+
.muka-fab {
|
|
11617
|
+
position: fixed;
|
|
11618
|
+
z-index: 40;
|
|
11619
|
+
|
|
11620
|
+
display: inline-flex;
|
|
11621
|
+
align-items: center;
|
|
11622
|
+
justify-content: center;
|
|
11623
|
+
gap: var(--spacing-2);
|
|
11677
11624
|
|
|
11678
|
-
/* Reset native dialog */
|
|
11679
|
-
.muka-drawer {
|
|
11680
11625
|
border: none;
|
|
11681
|
-
|
|
11682
|
-
|
|
11683
|
-
|
|
11684
|
-
background: transparent;
|
|
11685
|
-
overflow: visible;
|
|
11686
|
-
}
|
|
11626
|
+
cursor: pointer;
|
|
11627
|
+
font-family: inherit;
|
|
11628
|
+
box-shadow: var(--shadow-level4);
|
|
11687
11629
|
|
|
11688
|
-
|
|
11689
|
-
|
|
11690
|
-
background-color: var(--color-surface-backdrop);
|
|
11691
|
-
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
11692
|
-
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
11693
|
-
opacity: 0;
|
|
11694
|
-
transition: opacity 200ms ease;
|
|
11630
|
+
transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
|
|
11631
|
+
-webkit-tap-highlight-color: transparent;
|
|
11695
11632
|
}
|
|
11696
11633
|
|
|
11697
|
-
.muka-
|
|
11698
|
-
|
|
11634
|
+
.muka-fab:active {
|
|
11635
|
+
transform: scale(0.96);
|
|
11636
|
+
box-shadow: var(--shadow-level3);
|
|
11699
11637
|
}
|
|
11700
11638
|
|
|
11701
|
-
|
|
11702
|
-
|
|
11703
|
-
|
|
11704
|
-
flex-direction: column;
|
|
11705
|
-
background-color: var(--color-surface-level3);
|
|
11706
|
-
box-shadow: var(--shadow-level5);
|
|
11707
|
-
height: 100%;
|
|
11708
|
-
overflow: hidden;
|
|
11709
|
-
position: fixed;
|
|
11710
|
-
transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
11639
|
+
.muka-fab:focus-visible {
|
|
11640
|
+
outline: 2px solid var(--color-action-default);
|
|
11641
|
+
outline-offset: 2px;
|
|
11711
11642
|
}
|
|
11712
11643
|
|
|
11713
|
-
|
|
11714
|
-
|
|
11715
|
-
|
|
11716
|
-
|
|
11717
|
-
bottom: 0;
|
|
11718
|
-
border-radius: var(--radius-lg) 0 0 var(--radius-lg);
|
|
11719
|
-
transform: translateX(100%);
|
|
11644
|
+
.muka-fab:disabled {
|
|
11645
|
+
opacity: 0.5;
|
|
11646
|
+
cursor: not-allowed;
|
|
11647
|
+
box-shadow: none;
|
|
11720
11648
|
}
|
|
11721
11649
|
|
|
11722
|
-
|
|
11723
|
-
|
|
11724
|
-
|
|
11725
|
-
|
|
11726
|
-
|
|
11727
|
-
transform: translateX(-100%);
|
|
11650
|
+
/* ─── Variants ────────────────────────────────────────── */
|
|
11651
|
+
|
|
11652
|
+
.muka-fab--primary {
|
|
11653
|
+
background-color: var(--color-action-default);
|
|
11654
|
+
color: var(--color-text-default-inverse);
|
|
11728
11655
|
}
|
|
11729
11656
|
|
|
11730
|
-
.muka-
|
|
11731
|
-
|
|
11732
|
-
right: 0;
|
|
11733
|
-
bottom: 0;
|
|
11734
|
-
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
|
|
11735
|
-
transform: translateY(100%);
|
|
11657
|
+
.muka-fab--primary:hover:not(:disabled) {
|
|
11658
|
+
background-color: var(--color-action-hover);
|
|
11736
11659
|
}
|
|
11737
11660
|
|
|
11738
|
-
.muka-
|
|
11739
|
-
|
|
11740
|
-
|
|
11741
|
-
|
|
11742
|
-
|
|
11743
|
-
|
|
11661
|
+
.muka-fab--secondary {
|
|
11662
|
+
background-color: var(--color-surface-level3);
|
|
11663
|
+
color: var(--color-text-default-default);
|
|
11664
|
+
}
|
|
11665
|
+
|
|
11666
|
+
.muka-fab--secondary:hover:not(:disabled) {
|
|
11667
|
+
background-color: var(--color-surface-level2);
|
|
11668
|
+
}
|
|
11669
|
+
|
|
11670
|
+
/* ─── Sizes (circular by default) ─────────────────────── */
|
|
11671
|
+
|
|
11672
|
+
.muka-fab--md {
|
|
11673
|
+
width: 56px;
|
|
11674
|
+
height: 56px;
|
|
11675
|
+
border-radius: 50%;
|
|
11676
|
+
}
|
|
11677
|
+
|
|
11678
|
+
.muka-fab--lg {
|
|
11679
|
+
width: 64px;
|
|
11680
|
+
height: 64px;
|
|
11681
|
+
border-radius: 50%;
|
|
11682
|
+
}
|
|
11683
|
+
|
|
11684
|
+
/* ─── Extended (pill shape with label) ────────────────── */
|
|
11685
|
+
|
|
11686
|
+
.muka-fab--extended {
|
|
11687
|
+
width: auto;
|
|
11688
|
+
height: auto;
|
|
11689
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
11690
|
+
border-radius: var(--radius-full);
|
|
11691
|
+
}
|
|
11692
|
+
|
|
11693
|
+
.muka-fab--extended.muka-fab--lg {
|
|
11694
|
+
padding: var(--spacing-4) var(--spacing-5);
|
|
11695
|
+
}
|
|
11696
|
+
|
|
11697
|
+
.muka-fab__icon {
|
|
11698
|
+
display: inline-flex;
|
|
11699
|
+
align-items: center;
|
|
11700
|
+
justify-content: center;
|
|
11701
|
+
width: 24px;
|
|
11702
|
+
height: 24px;
|
|
11703
|
+
}
|
|
11704
|
+
|
|
11705
|
+
.muka-fab__icon svg {
|
|
11706
|
+
width: 100%;
|
|
11707
|
+
height: 100%;
|
|
11708
|
+
}
|
|
11709
|
+
|
|
11710
|
+
.muka-fab__label {
|
|
11711
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
11712
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
11713
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
11714
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
11715
|
+
}
|
|
11716
|
+
|
|
11717
|
+
/* ─── Positioning ─────────────────────────────────────── */
|
|
11718
|
+
|
|
11719
|
+
.muka-fab--bottom-right {
|
|
11720
|
+
right: var(--spacing-4);
|
|
11721
|
+
bottom: var(--spacing-4);
|
|
11722
|
+
}
|
|
11723
|
+
|
|
11724
|
+
.muka-fab--bottom-left {
|
|
11725
|
+
left: var(--spacing-4);
|
|
11726
|
+
bottom: var(--spacing-4);
|
|
11727
|
+
}
|
|
11728
|
+
|
|
11729
|
+
.muka-fab--bottom-center {
|
|
11730
|
+
left: 50%;
|
|
11731
|
+
bottom: var(--spacing-4);
|
|
11732
|
+
transform: translateX(-50%);
|
|
11733
|
+
}
|
|
11734
|
+
|
|
11735
|
+
.muka-fab--bottom-center:active {
|
|
11736
|
+
transform: translateX(-50%) scale(0.96);
|
|
11737
|
+
}
|
|
11738
|
+
|
|
11739
|
+
/* Add the iOS home-indicator inset to the bottom offset. */
|
|
11740
|
+
.muka-fab:not(.muka-fab--no-safe-area) {
|
|
11741
|
+
bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
|
|
11742
|
+
}
|
|
11743
|
+
|
|
11744
|
+
/* Lateral safe-area for landscape iPhone with notch. */
|
|
11745
|
+
.muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
|
|
11746
|
+
right: max(var(--spacing-4), env(safe-area-inset-right));
|
|
11747
|
+
}
|
|
11748
|
+
|
|
11749
|
+
.muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
|
|
11750
|
+
left: max(var(--spacing-4), env(safe-area-inset-left));
|
|
11751
|
+
}
|
|
11752
|
+
|
|
11753
|
+
|
|
11754
|
+
/* Drawer */
|
|
11755
|
+
/* Drawer Component Styles */
|
|
11756
|
+
|
|
11757
|
+
/* Size tokens (local to Drawer) */
|
|
11758
|
+
.muka-drawer {
|
|
11759
|
+
--drawer-width-sm: 18rem;
|
|
11760
|
+
--drawer-width-md: 26rem;
|
|
11761
|
+
--drawer-width-lg: 36rem;
|
|
11762
|
+
}
|
|
11763
|
+
|
|
11764
|
+
/* Reset native dialog */
|
|
11765
|
+
.muka-drawer {
|
|
11766
|
+
border: none;
|
|
11767
|
+
padding: 0;
|
|
11768
|
+
max-width: none;
|
|
11769
|
+
max-height: none;
|
|
11770
|
+
background: transparent;
|
|
11771
|
+
overflow: visible;
|
|
11772
|
+
}
|
|
11773
|
+
|
|
11774
|
+
/* Backdrop */
|
|
11775
|
+
.muka-drawer::backdrop {
|
|
11776
|
+
background-color: var(--color-surface-backdrop);
|
|
11777
|
+
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
11778
|
+
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
11779
|
+
opacity: 0;
|
|
11780
|
+
transition: opacity 200ms ease;
|
|
11781
|
+
}
|
|
11782
|
+
|
|
11783
|
+
.muka-drawer--slide-in::backdrop {
|
|
11784
|
+
opacity: 1;
|
|
11785
|
+
}
|
|
11786
|
+
|
|
11787
|
+
/* Surface */
|
|
11788
|
+
.muka-drawer__surface {
|
|
11789
|
+
display: flex;
|
|
11790
|
+
flex-direction: column;
|
|
11791
|
+
background-color: var(--color-surface-level3);
|
|
11792
|
+
box-shadow: var(--shadow-level5);
|
|
11793
|
+
height: 100%;
|
|
11794
|
+
overflow: hidden;
|
|
11795
|
+
position: fixed;
|
|
11796
|
+
transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
11797
|
+
}
|
|
11798
|
+
|
|
11799
|
+
/* Side positioning + initial transforms */
|
|
11800
|
+
.muka-drawer--right .muka-drawer__surface {
|
|
11801
|
+
top: 0;
|
|
11802
|
+
right: 0;
|
|
11803
|
+
bottom: 0;
|
|
11804
|
+
border-radius: var(--radius-lg) 0 0 var(--radius-lg);
|
|
11805
|
+
transform: translateX(100%);
|
|
11806
|
+
}
|
|
11807
|
+
|
|
11808
|
+
.muka-drawer--left .muka-drawer__surface {
|
|
11809
|
+
top: 0;
|
|
11810
|
+
left: 0;
|
|
11811
|
+
bottom: 0;
|
|
11812
|
+
border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
|
|
11813
|
+
transform: translateX(-100%);
|
|
11814
|
+
}
|
|
11815
|
+
|
|
11816
|
+
.muka-drawer--bottom .muka-drawer__surface {
|
|
11817
|
+
left: 0;
|
|
11818
|
+
right: 0;
|
|
11819
|
+
bottom: 0;
|
|
11820
|
+
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
|
|
11821
|
+
transform: translateY(100%);
|
|
11822
|
+
}
|
|
11823
|
+
|
|
11824
|
+
.muka-drawer--top .muka-drawer__surface {
|
|
11825
|
+
left: 0;
|
|
11826
|
+
right: 0;
|
|
11827
|
+
top: 0;
|
|
11828
|
+
border-radius: 0 0 var(--radius-lg) var(--radius-lg);
|
|
11829
|
+
transform: translateY(-100%);
|
|
11744
11830
|
}
|
|
11745
11831
|
|
|
11746
11832
|
/* Slide-in state */
|
|
@@ -14312,74 +14398,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14312
14398
|
}
|
|
14313
14399
|
|
|
14314
14400
|
|
|
14315
|
-
/* ChatMessageStack */
|
|
14316
|
-
/* ChatMessageStack Component Styles */
|
|
14317
|
-
|
|
14318
|
-
.muka-chat-message-stack {
|
|
14319
|
-
display: flex;
|
|
14320
|
-
flex-direction: column;
|
|
14321
|
-
gap: var(--chatbubble-stack-gap);
|
|
14322
|
-
width: 100%;
|
|
14323
|
-
max-width: 100%;
|
|
14324
|
-
}
|
|
14325
|
-
|
|
14326
|
-
.muka-chat-message-stack__messages {
|
|
14327
|
-
display: flex;
|
|
14328
|
-
flex-direction: column;
|
|
14329
|
-
gap: var(--chatbubble-stack-gap);
|
|
14330
|
-
width: 100%;
|
|
14331
|
-
}
|
|
14332
|
-
|
|
14333
|
-
/*
|
|
14334
|
-
* Reasoning sits above the stack, indented past the avatar rail so it lines up
|
|
14335
|
-
* with the bubbles rather than with the avatar (Figma 5379:47300).
|
|
14336
|
-
*/
|
|
14337
|
-
.muka-chat-message-stack__reasoning {
|
|
14338
|
-
min-width: 0;
|
|
14339
|
-
}
|
|
14340
|
-
|
|
14341
|
-
/* In-thread widgets after the messages share the reasoning's indent. */
|
|
14342
|
-
.muka-chat-message-stack__widgets {
|
|
14343
|
-
display: flex;
|
|
14344
|
-
flex-direction: column;
|
|
14345
|
-
gap: var(--chatbubble-stack-gap);
|
|
14346
|
-
min-width: 0;
|
|
14347
|
-
}
|
|
14348
|
-
|
|
14349
|
-
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
|
|
14350
|
-
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
|
|
14351
|
-
padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
|
|
14352
|
-
}
|
|
14353
|
-
|
|
14354
|
-
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14355
|
-
.muka-chat-message-stack__widgets,
|
|
14356
|
-
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14357
|
-
.muka-chat-message-stack__reasoning {
|
|
14358
|
-
padding-left: 0;
|
|
14359
|
-
padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
|
|
14360
|
-
}
|
|
14361
|
-
|
|
14362
|
-
/* Follow the message's compact rail and gap below the desktop breakpoint */
|
|
14363
|
-
@media (max-width: 1023px) {
|
|
14364
|
-
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
|
|
14365
|
-
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
|
|
14366
|
-
padding-left: calc(
|
|
14367
|
-
var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
|
|
14368
|
-
);
|
|
14369
|
-
}
|
|
14370
|
-
|
|
14371
|
-
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14372
|
-
.muka-chat-message-stack__widgets,
|
|
14373
|
-
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14374
|
-
.muka-chat-message-stack__reasoning {
|
|
14375
|
-
padding-left: 0;
|
|
14376
|
-
padding-right: calc(
|
|
14377
|
-
var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
|
|
14378
|
-
);
|
|
14379
|
-
}
|
|
14380
|
-
}
|
|
14381
|
-
|
|
14382
|
-
|
|
14383
14401
|
/* ChatMessageList */
|
|
14384
14402
|
/* ChatMessageList Component Styles */
|
|
14385
14403
|
|
|
@@ -14754,24 +14772,92 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14754
14772
|
}
|
|
14755
14773
|
|
|
14756
14774
|
|
|
14757
|
-
/*
|
|
14758
|
-
/*
|
|
14775
|
+
/* ChatMessageStack */
|
|
14776
|
+
/* ChatMessageStack Component Styles */
|
|
14759
14777
|
|
|
14760
|
-
|
|
14761
|
-
* The composer is a bare, fill-width row: no padding, background, border or
|
|
14762
|
-
* max-width of its own (Figma 5243:14141). Whatever hosts it owns the
|
|
14763
|
-
* container — see BottomBar's `chat` variant.
|
|
14764
|
-
*/
|
|
14765
|
-
.muka-chat-composer {
|
|
14778
|
+
.muka-chat-message-stack {
|
|
14766
14779
|
display: flex;
|
|
14767
14780
|
flex-direction: column;
|
|
14768
|
-
gap: var(--
|
|
14781
|
+
gap: var(--chatbubble-stack-gap);
|
|
14769
14782
|
width: 100%;
|
|
14783
|
+
max-width: 100%;
|
|
14770
14784
|
}
|
|
14771
14785
|
|
|
14772
|
-
.muka-chat-
|
|
14773
|
-
|
|
14774
|
-
|
|
14786
|
+
.muka-chat-message-stack__messages {
|
|
14787
|
+
display: flex;
|
|
14788
|
+
flex-direction: column;
|
|
14789
|
+
gap: var(--chatbubble-stack-gap);
|
|
14790
|
+
width: 100%;
|
|
14791
|
+
}
|
|
14792
|
+
|
|
14793
|
+
/*
|
|
14794
|
+
* Reasoning sits above the stack, indented past the avatar rail so it lines up
|
|
14795
|
+
* with the bubbles rather than with the avatar (Figma 5379:47300).
|
|
14796
|
+
*/
|
|
14797
|
+
.muka-chat-message-stack__reasoning {
|
|
14798
|
+
min-width: 0;
|
|
14799
|
+
}
|
|
14800
|
+
|
|
14801
|
+
/* In-thread widgets after the messages share the reasoning's indent. */
|
|
14802
|
+
.muka-chat-message-stack__widgets {
|
|
14803
|
+
display: flex;
|
|
14804
|
+
flex-direction: column;
|
|
14805
|
+
gap: var(--chatbubble-stack-gap);
|
|
14806
|
+
min-width: 0;
|
|
14807
|
+
}
|
|
14808
|
+
|
|
14809
|
+
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
|
|
14810
|
+
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
|
|
14811
|
+
padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
|
|
14812
|
+
}
|
|
14813
|
+
|
|
14814
|
+
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14815
|
+
.muka-chat-message-stack__widgets,
|
|
14816
|
+
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14817
|
+
.muka-chat-message-stack__reasoning {
|
|
14818
|
+
padding-left: 0;
|
|
14819
|
+
padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
|
|
14820
|
+
}
|
|
14821
|
+
|
|
14822
|
+
/* Follow the message's compact rail and gap below the desktop breakpoint */
|
|
14823
|
+
@media (max-width: 1023px) {
|
|
14824
|
+
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
|
|
14825
|
+
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
|
|
14826
|
+
padding-left: calc(
|
|
14827
|
+
var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
|
|
14828
|
+
);
|
|
14829
|
+
}
|
|
14830
|
+
|
|
14831
|
+
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14832
|
+
.muka-chat-message-stack__widgets,
|
|
14833
|
+
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14834
|
+
.muka-chat-message-stack__reasoning {
|
|
14835
|
+
padding-left: 0;
|
|
14836
|
+
padding-right: calc(
|
|
14837
|
+
var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
|
|
14838
|
+
);
|
|
14839
|
+
}
|
|
14840
|
+
}
|
|
14841
|
+
|
|
14842
|
+
|
|
14843
|
+
/* ChatComposer */
|
|
14844
|
+
/* ChatComposer Component Styles */
|
|
14845
|
+
|
|
14846
|
+
/*
|
|
14847
|
+
* The composer is a bare, fill-width row: no padding, background, border or
|
|
14848
|
+
* max-width of its own (Figma 5243:14141). Whatever hosts it owns the
|
|
14849
|
+
* container — see BottomBar's `chat` variant.
|
|
14850
|
+
*/
|
|
14851
|
+
.muka-chat-composer {
|
|
14852
|
+
display: flex;
|
|
14853
|
+
flex-direction: column;
|
|
14854
|
+
gap: var(--spacing-3);
|
|
14855
|
+
width: 100%;
|
|
14856
|
+
}
|
|
14857
|
+
|
|
14858
|
+
.muka-chat-composer--disabled {
|
|
14859
|
+
opacity: 0.6;
|
|
14860
|
+
pointer-events: none;
|
|
14775
14861
|
}
|
|
14776
14862
|
|
|
14777
14863
|
/* ─── Input row (default layout) ───────────────────────── */
|
|
@@ -15082,152 +15168,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15082
15168
|
}
|
|
15083
15169
|
|
|
15084
15170
|
|
|
15085
|
-
/* Card */
|
|
15086
|
-
/* Card Component Styles - Using Muka Design Tokens */
|
|
15087
|
-
|
|
15088
|
-
.muka-card {
|
|
15089
|
-
background-color: var(--card-color-default-background);
|
|
15090
|
-
color: var(--card-color-default-foreground);
|
|
15091
|
-
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
15092
|
-
box-shadow: var(--card-shadow-default);
|
|
15093
|
-
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15094
|
-
overflow: hidden;
|
|
15095
|
-
}
|
|
15096
|
-
|
|
15097
|
-
/* Padding variants */
|
|
15098
|
-
.muka-card--padding-none {
|
|
15099
|
-
padding: 0;
|
|
15100
|
-
}
|
|
15101
|
-
|
|
15102
|
-
.muka-card--padding-sm {
|
|
15103
|
-
padding: var(--card-padding-sm);
|
|
15104
|
-
}
|
|
15105
|
-
|
|
15106
|
-
.muka-card--padding-md {
|
|
15107
|
-
padding: var(--card-padding-md);
|
|
15108
|
-
}
|
|
15109
|
-
|
|
15110
|
-
.muka-card--padding-lg {
|
|
15111
|
-
padding: var(--card-padding-lg);
|
|
15112
|
-
}
|
|
15113
|
-
|
|
15114
|
-
/* Radius variants */
|
|
15115
|
-
.muka-card--radius-sm {
|
|
15116
|
-
border-radius: var(--card-radius-sm);
|
|
15117
|
-
}
|
|
15118
|
-
|
|
15119
|
-
.muka-card--radius-md {
|
|
15120
|
-
border-radius: var(--card-radius-md);
|
|
15121
|
-
}
|
|
15122
|
-
|
|
15123
|
-
.muka-card--radius-lg {
|
|
15124
|
-
border-radius: var(--card-radius-lg);
|
|
15125
|
-
}
|
|
15126
|
-
|
|
15127
|
-
/* Interactive variant */
|
|
15128
|
-
.muka-card--interactive {
|
|
15129
|
-
cursor: pointer;
|
|
15130
|
-
user-select: none;
|
|
15131
|
-
}
|
|
15132
|
-
|
|
15133
|
-
.muka-card--interactive:hover {
|
|
15134
|
-
background-color: var(--card-color-hover-background);
|
|
15135
|
-
border-color: var(--card-color-hover-border);
|
|
15136
|
-
box-shadow: var(--card-shadow-hover);
|
|
15137
|
-
}
|
|
15138
|
-
|
|
15139
|
-
.muka-card--interactive:active,
|
|
15140
|
-
.muka-card--interactive.muka-card--pressed {
|
|
15141
|
-
background-color: var(--card-color-pressed-background);
|
|
15142
|
-
border-color: var(--card-color-pressed-border);
|
|
15143
|
-
box-shadow: var(--card-shadow-pressed);
|
|
15144
|
-
}
|
|
15145
|
-
|
|
15146
|
-
.muka-card--interactive:focus-visible {
|
|
15147
|
-
outline: 2px solid var(--color-border-focus);
|
|
15148
|
-
outline-offset: 2px;
|
|
15149
|
-
}
|
|
15150
|
-
|
|
15151
|
-
/* Selected variant */
|
|
15152
|
-
.muka-card--selected {
|
|
15153
|
-
background-color: var(--card-color-selected-background);
|
|
15154
|
-
border-color: var(--card-color-selected-border);
|
|
15155
|
-
border-width: var(--border-width-bold);
|
|
15156
|
-
box-shadow: var(--card-shadow-selected);
|
|
15157
|
-
}
|
|
15158
|
-
|
|
15159
|
-
/* Tone: sticky note (MUK-105) */
|
|
15160
|
-
.muka-card--tone-note {
|
|
15161
|
-
background-color: var(--card-color-note-background);
|
|
15162
|
-
color: var(--card-color-note-foreground);
|
|
15163
|
-
border-color: var(--card-color-note-border);
|
|
15164
|
-
box-shadow: var(--card-shadow-note);
|
|
15165
|
-
}
|
|
15166
|
-
|
|
15167
|
-
.muka-card--tone-note.muka-card--interactive:hover,
|
|
15168
|
-
.muka-card--tone-note.muka-card--interactive:active,
|
|
15169
|
-
.muka-card--tone-note.muka-card--interactive.muka-card--pressed {
|
|
15170
|
-
background-color: var(--card-color-note-background);
|
|
15171
|
-
border-color: var(--card-color-note-border);
|
|
15172
|
-
}
|
|
15173
|
-
|
|
15174
|
-
.muka-card--tilt-left {
|
|
15175
|
-
transform: rotate(-0.75deg);
|
|
15176
|
-
}
|
|
15177
|
-
|
|
15178
|
-
.muka-card--tilt-right {
|
|
15179
|
-
transform: rotate(0.6deg);
|
|
15180
|
-
}
|
|
15181
|
-
|
|
15182
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
15183
|
-
.muka-card--tilt-left,
|
|
15184
|
-
.muka-card--tilt-right {
|
|
15185
|
-
transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15186
|
-
}
|
|
15187
|
-
}
|
|
15188
|
-
|
|
15189
|
-
.muka-card--interactive.muka-card--tilt-left:hover,
|
|
15190
|
-
.muka-card--interactive.muka-card--tilt-right:hover {
|
|
15191
|
-
transform: none;
|
|
15192
|
-
}
|
|
15193
|
-
|
|
15194
|
-
/* Optional header (title + description) */
|
|
15195
|
-
.muka-card__header {
|
|
15196
|
-
margin-bottom: var(--spacing-4);
|
|
15197
|
-
}
|
|
15198
|
-
|
|
15199
|
-
.muka-card__title {
|
|
15200
|
-
margin: 0;
|
|
15201
|
-
color: var(--color-text-default-default);
|
|
15202
|
-
font-family: var(--text-heading-xs-fontFamily);
|
|
15203
|
-
font-weight: var(--text-heading-xs-fontWeight);
|
|
15204
|
-
font-size: var(--text-heading-xs-fontSize);
|
|
15205
|
-
line-height: var(--text-heading-xs-lineHeight);
|
|
15206
|
-
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
15207
|
-
}
|
|
15208
|
-
|
|
15209
|
-
.muka-card__description {
|
|
15210
|
-
margin: var(--spacing-1) 0 0;
|
|
15211
|
-
color: var(--color-text-subtle-default);
|
|
15212
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15213
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15214
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
15215
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15216
|
-
}
|
|
15217
|
-
|
|
15218
|
-
/* Hide divider on last list item inside card */
|
|
15219
|
-
.muka-card > .muka-listitem:last-child > .muka-listitem__divider {
|
|
15220
|
-
display: none;
|
|
15221
|
-
}
|
|
15222
|
-
|
|
15223
|
-
/* Disabled state */
|
|
15224
|
-
.muka-card--disabled {
|
|
15225
|
-
opacity: 0.5;
|
|
15226
|
-
cursor: not-allowed;
|
|
15227
|
-
pointer-events: none;
|
|
15228
|
-
}
|
|
15229
|
-
|
|
15230
|
-
|
|
15231
15171
|
/* ChatAttachmentChip */
|
|
15232
15172
|
/* ChatAttachmentChip Component Styles */
|
|
15233
15173
|
|
|
@@ -15384,39 +15324,185 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15384
15324
|
}
|
|
15385
15325
|
|
|
15386
15326
|
|
|
15387
|
-
/*
|
|
15388
|
-
/*
|
|
15389
|
-
|
|
15390
|
-
/* Base button styles */
|
|
15391
|
-
.muka-button {
|
|
15392
|
-
/* Layout */
|
|
15393
|
-
display: inline-flex;
|
|
15394
|
-
align-items: center;
|
|
15395
|
-
justify-content: center;
|
|
15327
|
+
/* Card */
|
|
15328
|
+
/* Card Component Styles - Using Muka Design Tokens */
|
|
15396
15329
|
|
|
15397
|
-
|
|
15398
|
-
|
|
15399
|
-
|
|
15400
|
-
|
|
15401
|
-
|
|
15402
|
-
|
|
15403
|
-
|
|
15404
|
-
cursor: pointer;
|
|
15405
|
-
user-select: none;
|
|
15406
|
-
transition: all 0.2s ease;
|
|
15407
|
-
|
|
15408
|
-
/* Accessibility */
|
|
15409
|
-
outline: none;
|
|
15410
|
-
position: relative;
|
|
15330
|
+
.muka-card {
|
|
15331
|
+
background-color: var(--card-color-default-background);
|
|
15332
|
+
color: var(--card-color-default-foreground);
|
|
15333
|
+
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
15334
|
+
box-shadow: var(--card-shadow-default);
|
|
15335
|
+
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15336
|
+
overflow: hidden;
|
|
15411
15337
|
}
|
|
15412
15338
|
|
|
15413
|
-
/*
|
|
15414
|
-
.muka-
|
|
15415
|
-
|
|
15416
|
-
outline-offset: 2px;
|
|
15339
|
+
/* Padding variants */
|
|
15340
|
+
.muka-card--padding-none {
|
|
15341
|
+
padding: 0;
|
|
15417
15342
|
}
|
|
15418
15343
|
|
|
15419
|
-
|
|
15344
|
+
.muka-card--padding-sm {
|
|
15345
|
+
padding: var(--card-padding-sm);
|
|
15346
|
+
}
|
|
15347
|
+
|
|
15348
|
+
.muka-card--padding-md {
|
|
15349
|
+
padding: var(--card-padding-md);
|
|
15350
|
+
}
|
|
15351
|
+
|
|
15352
|
+
.muka-card--padding-lg {
|
|
15353
|
+
padding: var(--card-padding-lg);
|
|
15354
|
+
}
|
|
15355
|
+
|
|
15356
|
+
/* Radius variants */
|
|
15357
|
+
.muka-card--radius-sm {
|
|
15358
|
+
border-radius: var(--card-radius-sm);
|
|
15359
|
+
}
|
|
15360
|
+
|
|
15361
|
+
.muka-card--radius-md {
|
|
15362
|
+
border-radius: var(--card-radius-md);
|
|
15363
|
+
}
|
|
15364
|
+
|
|
15365
|
+
.muka-card--radius-lg {
|
|
15366
|
+
border-radius: var(--card-radius-lg);
|
|
15367
|
+
}
|
|
15368
|
+
|
|
15369
|
+
/* Interactive variant */
|
|
15370
|
+
.muka-card--interactive {
|
|
15371
|
+
cursor: pointer;
|
|
15372
|
+
user-select: none;
|
|
15373
|
+
}
|
|
15374
|
+
|
|
15375
|
+
.muka-card--interactive:hover {
|
|
15376
|
+
background-color: var(--card-color-hover-background);
|
|
15377
|
+
border-color: var(--card-color-hover-border);
|
|
15378
|
+
box-shadow: var(--card-shadow-hover);
|
|
15379
|
+
}
|
|
15380
|
+
|
|
15381
|
+
.muka-card--interactive:active,
|
|
15382
|
+
.muka-card--interactive.muka-card--pressed {
|
|
15383
|
+
background-color: var(--card-color-pressed-background);
|
|
15384
|
+
border-color: var(--card-color-pressed-border);
|
|
15385
|
+
box-shadow: var(--card-shadow-pressed);
|
|
15386
|
+
}
|
|
15387
|
+
|
|
15388
|
+
.muka-card--interactive:focus-visible {
|
|
15389
|
+
outline: 2px solid var(--color-border-focus);
|
|
15390
|
+
outline-offset: 2px;
|
|
15391
|
+
}
|
|
15392
|
+
|
|
15393
|
+
/* Selected variant */
|
|
15394
|
+
.muka-card--selected {
|
|
15395
|
+
background-color: var(--card-color-selected-background);
|
|
15396
|
+
border-color: var(--card-color-selected-border);
|
|
15397
|
+
border-width: var(--border-width-bold);
|
|
15398
|
+
box-shadow: var(--card-shadow-selected);
|
|
15399
|
+
}
|
|
15400
|
+
|
|
15401
|
+
/* Tone: sticky note (MUK-105) */
|
|
15402
|
+
.muka-card--tone-note {
|
|
15403
|
+
background-color: var(--card-color-note-background);
|
|
15404
|
+
color: var(--card-color-note-foreground);
|
|
15405
|
+
border-color: var(--card-color-note-border);
|
|
15406
|
+
box-shadow: var(--card-shadow-note);
|
|
15407
|
+
}
|
|
15408
|
+
|
|
15409
|
+
.muka-card--tone-note.muka-card--interactive:hover,
|
|
15410
|
+
.muka-card--tone-note.muka-card--interactive:active,
|
|
15411
|
+
.muka-card--tone-note.muka-card--interactive.muka-card--pressed {
|
|
15412
|
+
background-color: var(--card-color-note-background);
|
|
15413
|
+
border-color: var(--card-color-note-border);
|
|
15414
|
+
}
|
|
15415
|
+
|
|
15416
|
+
.muka-card--tilt-left {
|
|
15417
|
+
transform: rotate(-0.75deg);
|
|
15418
|
+
}
|
|
15419
|
+
|
|
15420
|
+
.muka-card--tilt-right {
|
|
15421
|
+
transform: rotate(0.6deg);
|
|
15422
|
+
}
|
|
15423
|
+
|
|
15424
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
15425
|
+
.muka-card--tilt-left,
|
|
15426
|
+
.muka-card--tilt-right {
|
|
15427
|
+
transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15428
|
+
}
|
|
15429
|
+
}
|
|
15430
|
+
|
|
15431
|
+
.muka-card--interactive.muka-card--tilt-left:hover,
|
|
15432
|
+
.muka-card--interactive.muka-card--tilt-right:hover {
|
|
15433
|
+
transform: none;
|
|
15434
|
+
}
|
|
15435
|
+
|
|
15436
|
+
/* Optional header (title + description) */
|
|
15437
|
+
.muka-card__header {
|
|
15438
|
+
margin-bottom: var(--spacing-4);
|
|
15439
|
+
}
|
|
15440
|
+
|
|
15441
|
+
.muka-card__title {
|
|
15442
|
+
margin: 0;
|
|
15443
|
+
color: var(--color-text-default-default);
|
|
15444
|
+
font-family: var(--text-heading-xs-fontFamily);
|
|
15445
|
+
font-weight: var(--text-heading-xs-fontWeight);
|
|
15446
|
+
font-size: var(--text-heading-xs-fontSize);
|
|
15447
|
+
line-height: var(--text-heading-xs-lineHeight);
|
|
15448
|
+
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
15449
|
+
}
|
|
15450
|
+
|
|
15451
|
+
.muka-card__description {
|
|
15452
|
+
margin: var(--spacing-1) 0 0;
|
|
15453
|
+
color: var(--color-text-subtle-default);
|
|
15454
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15455
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15456
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15457
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15458
|
+
}
|
|
15459
|
+
|
|
15460
|
+
/* Hide divider on last list item inside card */
|
|
15461
|
+
.muka-card > .muka-listitem:last-child > .muka-listitem__divider {
|
|
15462
|
+
display: none;
|
|
15463
|
+
}
|
|
15464
|
+
|
|
15465
|
+
/* Disabled state */
|
|
15466
|
+
.muka-card--disabled {
|
|
15467
|
+
opacity: 0.5;
|
|
15468
|
+
cursor: not-allowed;
|
|
15469
|
+
pointer-events: none;
|
|
15470
|
+
}
|
|
15471
|
+
|
|
15472
|
+
|
|
15473
|
+
/* Button */
|
|
15474
|
+
/* Button Component Styles - Using Muka Design Tokens */
|
|
15475
|
+
|
|
15476
|
+
/* Base button styles */
|
|
15477
|
+
.muka-button {
|
|
15478
|
+
/* Layout */
|
|
15479
|
+
display: inline-flex;
|
|
15480
|
+
align-items: center;
|
|
15481
|
+
justify-content: center;
|
|
15482
|
+
|
|
15483
|
+
/* Typography - using semantic tokens */
|
|
15484
|
+
font-family: var(--alias-font-brand-family);
|
|
15485
|
+
font-weight: var(--alias-font-brand-weight-semibold);
|
|
15486
|
+
text-decoration: none;
|
|
15487
|
+
|
|
15488
|
+
/* Interaction */
|
|
15489
|
+
border: none;
|
|
15490
|
+
cursor: pointer;
|
|
15491
|
+
user-select: none;
|
|
15492
|
+
transition: all 0.2s ease;
|
|
15493
|
+
|
|
15494
|
+
/* Accessibility */
|
|
15495
|
+
outline: none;
|
|
15496
|
+
position: relative;
|
|
15497
|
+
}
|
|
15498
|
+
|
|
15499
|
+
/* Focus styles for accessibility */
|
|
15500
|
+
.muka-button:focus-visible {
|
|
15501
|
+
outline: 2px solid var(--color-border-focus);
|
|
15502
|
+
outline-offset: 2px;
|
|
15503
|
+
}
|
|
15504
|
+
|
|
15505
|
+
/* Size variants
|
|
15420
15506
|
Height is driven by min-height; vertical padding is 0 and the label carries
|
|
15421
15507
|
tight (Figma) line-height. Horizontal spacing matches Figma's nested model:
|
|
15422
15508
|
the button's padding is the outer container inset, and the label's own
|
|
@@ -15830,714 +15916,714 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15830
15916
|
}
|
|
15831
15917
|
|
|
15832
15918
|
|
|
15833
|
-
/*
|
|
15834
|
-
/*
|
|
15919
|
+
/* BottomBar */
|
|
15920
|
+
/* BottomBar Component Styles */
|
|
15835
15921
|
|
|
15836
|
-
.muka-
|
|
15837
|
-
|
|
15838
|
-
|
|
15839
|
-
justify-content: center;
|
|
15840
|
-
border-radius: var(--border-radius-full);
|
|
15841
|
-
white-space: nowrap;
|
|
15842
|
-
user-select: none;
|
|
15843
|
-
box-sizing: border-box;
|
|
15922
|
+
.muka-bottombar {
|
|
15923
|
+
width: 100%;
|
|
15924
|
+
background-color: var(--bottombar-color-background);
|
|
15844
15925
|
}
|
|
15845
15926
|
|
|
15846
|
-
/*
|
|
15847
|
-
|
|
15848
|
-
|
|
15849
|
-
* is handled by the fixed height + align-items: center.
|
|
15850
|
-
*/
|
|
15851
|
-
.muka-badge-number--2xs {
|
|
15852
|
-
height: var(--badge-number-size-2xs);
|
|
15853
|
-
min-width: var(--badge-number-size-2xs);
|
|
15854
|
-
padding: 0 var(--badge-number-padding-2xs);
|
|
15855
|
-
font-family: var(--text-label-xs-bold-fontFamily);
|
|
15856
|
-
font-weight: var(--text-label-xs-bold-fontWeight);
|
|
15857
|
-
font-size: var(--text-label-xs-bold-fontSize);
|
|
15858
|
-
line-height: var(--text-label-xs-bold-lineHeight);
|
|
15927
|
+
/* Push content above the iPhone home indicator. Opt out via disableSafeArea. */
|
|
15928
|
+
.muka-bottombar:not(.muka-bottombar--floating):not(.muka-bottombar--no-safe-area) {
|
|
15929
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
15859
15930
|
}
|
|
15860
15931
|
|
|
15861
|
-
|
|
15862
|
-
|
|
15863
|
-
|
|
15864
|
-
padding: 0 var(--badge-number-padding-xs);
|
|
15865
|
-
font-family: var(--text-label-sm-bold-fontFamily);
|
|
15866
|
-
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
15867
|
-
font-size: var(--text-label-sm-bold-fontSize);
|
|
15868
|
-
line-height: var(--text-label-sm-bold-lineHeight);
|
|
15932
|
+
/* Floating variant: ensure margin-bottom is at least the safe-area inset. */
|
|
15933
|
+
.muka-bottombar--floating:not(.muka-bottombar--no-safe-area) {
|
|
15934
|
+
padding-bottom: max(var(--bottombar-floating-margin-bottom), env(safe-area-inset-bottom));
|
|
15869
15935
|
}
|
|
15870
15936
|
|
|
15871
|
-
|
|
15872
|
-
height: var(--badge-number-size-sm);
|
|
15873
|
-
min-width: var(--badge-number-size-sm);
|
|
15874
|
-
padding: 0 var(--badge-number-padding-sm);
|
|
15875
|
-
font-family: var(--text-label-md-bold-fontFamily);
|
|
15876
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
15877
|
-
font-size: var(--text-label-md-bold-fontSize);
|
|
15878
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
15879
|
-
}
|
|
15937
|
+
/* ─── Divider (non-floating) ──────────────────────────── */
|
|
15880
15938
|
|
|
15881
|
-
.muka-
|
|
15882
|
-
height: var(--
|
|
15883
|
-
|
|
15884
|
-
|
|
15885
|
-
font-family: var(--text-label-lg-bold-fontFamily);
|
|
15886
|
-
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
15887
|
-
font-size: var(--text-label-lg-bold-fontSize);
|
|
15888
|
-
line-height: var(--text-label-lg-bold-lineHeight);
|
|
15939
|
+
.muka-bottombar__divider {
|
|
15940
|
+
height: var(--border-width-regular);
|
|
15941
|
+
background-color: var(--bottombar-color-border);
|
|
15942
|
+
width: 100%;
|
|
15889
15943
|
}
|
|
15890
15944
|
|
|
15891
|
-
|
|
15892
|
-
height: var(--badge-number-size-lg);
|
|
15893
|
-
min-width: var(--badge-number-size-lg);
|
|
15894
|
-
padding: 0 var(--badge-number-padding-lg);
|
|
15895
|
-
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
15896
|
-
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
15897
|
-
font-size: var(--text-label-2xl-bold-fontSize);
|
|
15898
|
-
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
15899
|
-
}
|
|
15945
|
+
/* ─── Content container ───────────────────────────────── */
|
|
15900
15946
|
|
|
15901
|
-
.muka-
|
|
15902
|
-
|
|
15903
|
-
|
|
15904
|
-
* glyph descenders; give the label a roomier line-height. Vertical centering
|
|
15905
|
-
* is unaffected because the badge height is fixed and content is centered.
|
|
15906
|
-
*/
|
|
15907
|
-
line-height: normal;
|
|
15947
|
+
.muka-bottombar__content {
|
|
15948
|
+
display: flex;
|
|
15949
|
+
align-items: center;
|
|
15908
15950
|
}
|
|
15909
15951
|
|
|
15910
|
-
/*
|
|
15911
|
-
|
|
15912
|
-
|
|
15913
|
-
|
|
15952
|
+
/* ─── Actions variant (horizontal) ───────────────────── */
|
|
15953
|
+
|
|
15954
|
+
.muka-bottombar--actions .muka-bottombar__content {
|
|
15955
|
+
flex-direction: row;
|
|
15956
|
+
gap: var(--bottombar-actions-gap);
|
|
15957
|
+
padding: var(--bottombar-actions-padding-t) var(--bottombar-actions-padding-x) var(--bottombar-actions-padding-x);
|
|
15914
15958
|
}
|
|
15915
15959
|
|
|
15916
|
-
|
|
15917
|
-
|
|
15918
|
-
background-color: var(--color-state-info-contrast);
|
|
15919
|
-
color: var(--color-text-default-inverse);
|
|
15920
|
-
}
|
|
15921
|
-
|
|
15922
|
-
/* Success variant */
|
|
15923
|
-
.muka-badge-number--success {
|
|
15924
|
-
background-color: var(--color-state-success-contrast);
|
|
15925
|
-
color: var(--color-text-default-inverse);
|
|
15960
|
+
.muka-bottombar--actions .muka-bottombar__content > * {
|
|
15961
|
+
flex: 1;
|
|
15926
15962
|
}
|
|
15927
15963
|
|
|
15928
|
-
/*
|
|
15929
|
-
.muka-badge-number--warning {
|
|
15930
|
-
background-color: var(--color-state-warning-contrast);
|
|
15931
|
-
color: var(--color-text-default-inverse);
|
|
15932
|
-
}
|
|
15964
|
+
/* ─── Actions-vertical variant (stacked) ─────────────── */
|
|
15933
15965
|
|
|
15934
|
-
|
|
15935
|
-
|
|
15936
|
-
|
|
15937
|
-
|
|
15966
|
+
.muka-bottombar--actions-vertical .muka-bottombar__content {
|
|
15967
|
+
flex-direction: column;
|
|
15968
|
+
gap: var(--bottombar-actions-gap);
|
|
15969
|
+
padding: var(--bottombar-actions-padding-t) var(--bottombar-actions-padding-x) var(--bottombar-actions-padding-x);
|
|
15938
15970
|
}
|
|
15939
15971
|
|
|
15940
|
-
|
|
15941
|
-
|
|
15942
|
-
width: var(--spacing-2);
|
|
15943
|
-
height: var(--spacing-2);
|
|
15944
|
-
min-width: 0;
|
|
15945
|
-
padding: 0;
|
|
15972
|
+
.muka-bottombar--actions-vertical .muka-bottombar__content > * {
|
|
15973
|
+
width: 100%;
|
|
15946
15974
|
}
|
|
15947
15975
|
|
|
15976
|
+
/* ─── Message (actions variants only) ────────────────── */
|
|
15948
15977
|
|
|
15949
|
-
/*
|
|
15950
|
-
|
|
15951
|
-
|
|
15952
|
-
|
|
15953
|
-
display: inline-flex;
|
|
15954
|
-
align-items: center;
|
|
15955
|
-
border-radius: var(--border-radius-full);
|
|
15956
|
-
white-space: nowrap;
|
|
15957
|
-
user-select: none;
|
|
15958
|
-
box-sizing: border-box;
|
|
15978
|
+
/* Below 1024px the message takes its own line above the buttons. */
|
|
15979
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
|
|
15980
|
+
flex-wrap: wrap;
|
|
15981
|
+
row-gap: var(--bottombar-actions-message-gap);
|
|
15959
15982
|
}
|
|
15960
15983
|
|
|
15961
|
-
|
|
15962
|
-
|
|
15963
|
-
* Mirrors Chip so the two components share sizing, fonts, and spacing.
|
|
15964
|
-
* Vertical centering is handled by the fixed height + align-items: center.
|
|
15965
|
-
* The leading side gets a tighter padding when an icon/dot is present, via the
|
|
15966
|
-
* --has-icon / --has-dot modifiers below.
|
|
15967
|
-
*/
|
|
15968
|
-
.muka-badge--sm {
|
|
15969
|
-
height: var(--badge-size-height-sm);
|
|
15970
|
-
gap: var(--badge-gap-sm);
|
|
15971
|
-
padding: 0 var(--badge-padding-label-sm);
|
|
15972
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15973
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
15974
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
15975
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
15984
|
+
.muka-bottombar--actions-vertical.muka-bottombar--with-message .muka-bottombar__content {
|
|
15985
|
+
row-gap: var(--bottombar-actions-message-gap);
|
|
15976
15986
|
}
|
|
15977
15987
|
|
|
15978
|
-
.muka-
|
|
15979
|
-
|
|
15980
|
-
|
|
15981
|
-
padding: 0 var(--badge-padding-label-md);
|
|
15982
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
15983
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
15984
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
15985
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
15988
|
+
.muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
|
|
15989
|
+
flex: 1 0 100%;
|
|
15990
|
+
width: 100%;
|
|
15986
15991
|
}
|
|
15987
15992
|
|
|
15988
|
-
.muka-
|
|
15989
|
-
|
|
15990
|
-
|
|
15991
|
-
|
|
15992
|
-
font-family: var(--text-
|
|
15993
|
-
font-weight: var(--text-
|
|
15994
|
-
font-size: var(--text-
|
|
15995
|
-
line-height: var(--text-
|
|
15993
|
+
.muka-bottombar__message {
|
|
15994
|
+
margin: 0;
|
|
15995
|
+
min-width: 0;
|
|
15996
|
+
overflow-wrap: anywhere;
|
|
15997
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15998
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15999
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
16000
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15996
16001
|
}
|
|
15997
16002
|
|
|
15998
|
-
|
|
15999
|
-
|
|
16000
|
-
.muka-badge--sm.muka-badge--has-dot {
|
|
16001
|
-
padding-left: var(--badge-padding-leading-sm);
|
|
16003
|
+
.muka-bottombar__message--neutral {
|
|
16004
|
+
color: var(--bottombar-color-message-neutral);
|
|
16002
16005
|
}
|
|
16003
|
-
|
|
16004
|
-
.muka-
|
|
16005
|
-
|
|
16006
|
+
|
|
16007
|
+
.muka-bottombar__message--success {
|
|
16008
|
+
color: var(--bottombar-color-message-success);
|
|
16006
16009
|
}
|
|
16007
|
-
|
|
16008
|
-
.muka-
|
|
16009
|
-
|
|
16010
|
+
|
|
16011
|
+
.muka-bottombar__message--warning {
|
|
16012
|
+
color: var(--bottombar-color-message-warning);
|
|
16010
16013
|
}
|
|
16011
16014
|
|
|
16012
|
-
/*
|
|
16013
|
-
|
|
16014
|
-
|
|
16015
|
-
.muka-
|
|
16016
|
-
|
|
16017
|
-
|
|
16018
|
-
|
|
16015
|
+
/* From 1024px the horizontal bar puts the message left, the buttons right at
|
|
16016
|
+
their own width. The vertical variant keeps stacking. */
|
|
16017
|
+
@media (min-width: 1024px) {
|
|
16018
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
|
|
16019
|
+
flex-wrap: nowrap;
|
|
16020
|
+
}
|
|
16021
|
+
|
|
16022
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > * {
|
|
16023
|
+
flex: 0 0 auto;
|
|
16024
|
+
}
|
|
16025
|
+
|
|
16026
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
|
|
16027
|
+
flex: 1 1 auto;
|
|
16028
|
+
width: auto;
|
|
16029
|
+
}
|
|
16019
16030
|
}
|
|
16020
16031
|
|
|
16021
|
-
|
|
16022
|
-
|
|
16023
|
-
|
|
16024
|
-
|
|
16032
|
+
/* ─── Size modifiers (actions variants only) ─────────── */
|
|
16033
|
+
|
|
16034
|
+
/* ─── Navigation variant ──────────────────────────────── */
|
|
16035
|
+
|
|
16036
|
+
.muka-bottombar--navigation .muka-bottombar__content {
|
|
16037
|
+
flex-direction: row;
|
|
16025
16038
|
}
|
|
16026
16039
|
|
|
16027
|
-
|
|
16028
|
-
|
|
16040
|
+
/* ─── Chat variant (houses a ChatComposer) ───────────── */
|
|
16041
|
+
|
|
16042
|
+
.muka-bottombar--chat .muka-bottombar__content {
|
|
16043
|
+
flex-direction: row;
|
|
16044
|
+
width: 100%;
|
|
16045
|
+
margin: 0 auto;
|
|
16029
16046
|
}
|
|
16030
16047
|
|
|
16031
|
-
|
|
16032
|
-
|
|
16048
|
+
/*
|
|
16049
|
+
* `--bottombar-chat-max-width` is the conversation column (it derives from
|
|
16050
|
+
* `chat.column.max-width`, the same token `ChatMessageList` caps its column
|
|
16051
|
+
* with). The cap here carries the padding on top of it, so it is the
|
|
16052
|
+
* composer's own edges — not the padding around it — that land on the column.
|
|
16053
|
+
*/
|
|
16054
|
+
|
|
16055
|
+
/*
|
|
16056
|
+
* Docked chat pads its content; the floating card supplies its own padding.
|
|
16057
|
+
* The inline half is the section gutter `ChatMessageList` pads its scroller
|
|
16058
|
+
* with, so below the cap — where the column runs full-bleed — the composer
|
|
16059
|
+
* keeps to the same gutters as the messages.
|
|
16060
|
+
*/
|
|
16061
|
+
.muka-bottombar--chat:not(.muka-bottombar--floating) .muka-bottombar__content {
|
|
16062
|
+
padding: var(--bottombar-chat-padding)
|
|
16063
|
+
var(--section-padding-horizontal-default, var(--spacing-4));
|
|
16064
|
+
max-width: calc(
|
|
16065
|
+
var(--bottombar-chat-max-width) + 2 * var(--section-padding-horizontal-default, var(--spacing-4))
|
|
16066
|
+
);
|
|
16033
16067
|
}
|
|
16034
16068
|
|
|
16035
|
-
.
|
|
16036
|
-
|
|
16069
|
+
/* Floating chat card widens to the chat cap (overrides the md default below). */
|
|
16070
|
+
.muka-bottombar--chat.muka-bottombar--floating .muka-bottombar__content {
|
|
16071
|
+
max-width: calc(var(--bottombar-chat-max-width) + 2 * var(--bottombar-floating-padding));
|
|
16037
16072
|
}
|
|
16038
16073
|
|
|
16039
|
-
/*
|
|
16040
|
-
|
|
16041
|
-
|
|
16074
|
+
/* ─── Tab item ────────────────────────────────────────── */
|
|
16075
|
+
|
|
16076
|
+
.muka-bottombar__tab {
|
|
16077
|
+
flex: 1;
|
|
16078
|
+
display: flex;
|
|
16079
|
+
flex-direction: column;
|
|
16042
16080
|
align-items: center;
|
|
16043
|
-
|
|
16044
|
-
|
|
16081
|
+
gap: var(--bottombar-tab-gap);
|
|
16082
|
+
padding: var(--bottombar-tab-padding-y) 0;
|
|
16083
|
+
background: none;
|
|
16084
|
+
border: none;
|
|
16085
|
+
cursor: pointer;
|
|
16086
|
+
color: var(--bottombar-color-tab-inactive);
|
|
16087
|
+
transition: color 0.15s ease;
|
|
16088
|
+
-webkit-tap-highlight-color: transparent;
|
|
16045
16089
|
}
|
|
16046
16090
|
|
|
16047
|
-
.muka-
|
|
16048
|
-
|
|
16049
|
-
|
|
16091
|
+
.muka-bottombar__tab:focus-visible {
|
|
16092
|
+
outline: 2px solid var(--color-action-default);
|
|
16093
|
+
outline-offset: -2px;
|
|
16094
|
+
border-radius: var(--border-radius-sm);
|
|
16050
16095
|
}
|
|
16051
|
-
|
|
16052
|
-
|
|
16053
|
-
|
|
16096
|
+
|
|
16097
|
+
.muka-bottombar__tab--active {
|
|
16098
|
+
color: var(--bottombar-color-tab-active);
|
|
16054
16099
|
}
|
|
16055
|
-
|
|
16056
|
-
|
|
16057
|
-
|
|
16100
|
+
|
|
16101
|
+
.muka-bottombar__tab-icon {
|
|
16102
|
+
position: relative;
|
|
16103
|
+
display: flex;
|
|
16104
|
+
align-items: center;
|
|
16105
|
+
justify-content: center;
|
|
16106
|
+
width: var(--bottombar-tab-icon-size);
|
|
16107
|
+
height: var(--bottombar-tab-icon-size);
|
|
16058
16108
|
}
|
|
16059
16109
|
|
|
16060
|
-
|
|
16061
|
-
so callers don't have to size the icon to match each badge size. The
|
|
16062
|
-
.muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
|
|
16063
|
-
.muka-badge__icon .muka-icon,
|
|
16064
|
-
.muka-badge__icon svg {
|
|
16110
|
+
.muka-bottombar__tab-icon svg {
|
|
16065
16111
|
width: 100%;
|
|
16066
16112
|
height: 100%;
|
|
16067
16113
|
}
|
|
16068
16114
|
|
|
16069
|
-
/*
|
|
16070
|
-
.muka-badge
|
|
16071
|
-
|
|
16072
|
-
|
|
16073
|
-
|
|
16074
|
-
|
|
16075
|
-
|
|
16076
|
-
flex-shrink: 0;
|
|
16077
|
-
border-radius: var(--border-radius-full);
|
|
16115
|
+
/* A count on the icon's top-right corner (unread messages). */
|
|
16116
|
+
.muka-bottombar__tab-badge {
|
|
16117
|
+
position: absolute;
|
|
16118
|
+
top: calc(-1 * var(--spacing-1));
|
|
16119
|
+
left: 60%;
|
|
16120
|
+
display: flex;
|
|
16121
|
+
pointer-events: none;
|
|
16078
16122
|
}
|
|
16079
16123
|
|
|
16080
|
-
.muka-
|
|
16081
|
-
|
|
16082
|
-
|
|
16124
|
+
.muka-bottombar__tab-label {
|
|
16125
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
16126
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
16127
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
16128
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
16083
16129
|
}
|
|
16084
16130
|
|
|
16085
|
-
|
|
16086
|
-
width: var(--badge-size-dot-md);
|
|
16087
|
-
height: var(--badge-size-dot-md);
|
|
16088
|
-
}
|
|
16131
|
+
/* ─── Floating modifier ───────────────────────────────── */
|
|
16089
16132
|
|
|
16090
|
-
.muka-
|
|
16091
|
-
|
|
16092
|
-
|
|
16093
|
-
|
|
16133
|
+
.muka-bottombar--floating {
|
|
16134
|
+
background: linear-gradient(
|
|
16135
|
+
to bottom,
|
|
16136
|
+
var(--bottombar-floating-backdrop-start),
|
|
16137
|
+
var(--bottombar-floating-backdrop-end)
|
|
16138
|
+
);
|
|
16139
|
+
padding: var(--bottombar-floating-padding-top) var(--bottombar-floating-margin-x) var(--bottombar-floating-margin-bottom);
|
|
16094
16140
|
|
|
16095
|
-
|
|
16096
|
-
|
|
16097
|
-
|
|
16098
|
-
|
|
16099
|
-
text-overflow: ellipsis;
|
|
16100
|
-
/*
|
|
16101
|
-
* The badge sets a tight line-height for compact sizing, but the label's
|
|
16102
|
-
* `overflow: hidden` (needed for ellipsis) then clips glyph descenders (g, y, p). Give the
|
|
16103
|
-
* label its own roomier line-height so descenders render; vertical centering is unaffected
|
|
16104
|
-
* because the badge height is fixed and content is centered via align-items: center.
|
|
16105
|
-
*/
|
|
16106
|
-
line-height: normal;
|
|
16141
|
+
/* The transparent frosted margin around the pill overlays scrolling content;
|
|
16142
|
+
let scroll/taps fall through to that content, keeping only the pill itself
|
|
16143
|
+
interactive (re-enabled on __content below). */
|
|
16144
|
+
pointer-events: none;
|
|
16107
16145
|
}
|
|
16108
16146
|
|
|
16109
|
-
|
|
16110
|
-
|
|
16111
|
-
background-color: var(--color-surface-level1);
|
|
16112
|
-
color: var(--color-text-default-default);
|
|
16147
|
+
.muka-bottombar--floating .muka-bottombar__content {
|
|
16148
|
+
pointer-events: auto;
|
|
16113
16149
|
}
|
|
16114
16150
|
|
|
16115
|
-
.muka-
|
|
16116
|
-
background-color: var(--color-
|
|
16151
|
+
.muka-bottombar--floating .muka-bottombar__content {
|
|
16152
|
+
background-color: var(--bottombar-color-background);
|
|
16153
|
+
border-radius: var(--bottombar-floating-radius);
|
|
16154
|
+
padding: var(--bottombar-floating-padding);
|
|
16155
|
+
box-shadow: var(--bottombar-floating-shadow);
|
|
16156
|
+
max-width: var(--bottombar-floating-max-width);
|
|
16157
|
+
width: 100%;
|
|
16158
|
+
margin: 0 auto;
|
|
16117
16159
|
}
|
|
16118
16160
|
|
|
16119
|
-
/*
|
|
16120
|
-
.muka-
|
|
16121
|
-
|
|
16122
|
-
color: var(--color-state-info-contrast);
|
|
16161
|
+
/* Override content padding inside floating per variant */
|
|
16162
|
+
.muka-bottombar--floating.muka-bottombar--actions .muka-bottombar__content {
|
|
16163
|
+
padding: var(--bottombar-floating-padding);
|
|
16123
16164
|
}
|
|
16124
16165
|
|
|
16125
|
-
.muka-
|
|
16126
|
-
|
|
16166
|
+
.muka-bottombar--floating.muka-bottombar--navigation .muka-bottombar__content {
|
|
16167
|
+
padding: var(--bottombar-navigation-floating-padding);
|
|
16127
16168
|
}
|
|
16128
16169
|
|
|
16129
|
-
/*
|
|
16130
|
-
.muka-badge--success {
|
|
16131
|
-
background-color: var(--color-state-success-background);
|
|
16132
|
-
color: var(--color-state-success-contrast);
|
|
16133
|
-
}
|
|
16170
|
+
/* ─── Desktop: Sidebar transformation ─────────────────── */
|
|
16134
16171
|
|
|
16135
|
-
|
|
16136
|
-
|
|
16137
|
-
|
|
16172
|
+
@media (min-width: 1024px) {
|
|
16173
|
+
.muka-bottombar--desktop-sidebar {
|
|
16174
|
+
position: fixed;
|
|
16175
|
+
left: 0;
|
|
16176
|
+
top: 0;
|
|
16177
|
+
bottom: 0;
|
|
16178
|
+
width: 240px;
|
|
16179
|
+
height: 100vh;
|
|
16180
|
+
background-color: var(--bottombar-color-background);
|
|
16181
|
+
border-right: var(--border-width-regular) solid var(--bottombar-color-border);
|
|
16182
|
+
z-index: 10;
|
|
16183
|
+
}
|
|
16138
16184
|
|
|
16139
|
-
|
|
16140
|
-
|
|
16141
|
-
|
|
16142
|
-
color: var(--color-state-warning-contrast);
|
|
16143
|
-
}
|
|
16185
|
+
.muka-bottombar--desktop-sidebar .muka-bottombar__divider {
|
|
16186
|
+
display: none;
|
|
16187
|
+
}
|
|
16144
16188
|
|
|
16145
|
-
.muka-
|
|
16146
|
-
|
|
16147
|
-
|
|
16189
|
+
.muka-bottombar--desktop-sidebar .muka-bottombar__content {
|
|
16190
|
+
flex-direction: column;
|
|
16191
|
+
align-items: stretch;
|
|
16192
|
+
padding: var(--spacing-4) var(--spacing-3);
|
|
16193
|
+
/* The rail runs to the top of the screen: clear the status bar there. */
|
|
16194
|
+
padding-top: calc(var(--spacing-4) + env(safe-area-inset-top, 0px));
|
|
16195
|
+
gap: var(--spacing-1);
|
|
16196
|
+
}
|
|
16148
16197
|
|
|
16149
|
-
|
|
16150
|
-
|
|
16151
|
-
|
|
16152
|
-
|
|
16153
|
-
|
|
16198
|
+
.muka-bottombar--desktop-sidebar .muka-bottombar__tab {
|
|
16199
|
+
flex: 0 0 auto;
|
|
16200
|
+
flex-direction: row;
|
|
16201
|
+
justify-content: flex-start;
|
|
16202
|
+
gap: var(--spacing-3);
|
|
16203
|
+
padding: var(--spacing-3);
|
|
16204
|
+
border-radius: var(--border-radius-md);
|
|
16205
|
+
}
|
|
16154
16206
|
|
|
16155
|
-
.muka-
|
|
16156
|
-
|
|
16157
|
-
}
|
|
16207
|
+
.muka-bottombar--desktop-sidebar .muka-bottombar__tab:hover {
|
|
16208
|
+
background-color: var(--color-surface-level2);
|
|
16209
|
+
}
|
|
16158
16210
|
|
|
16211
|
+
.muka-bottombar--desktop-sidebar .muka-bottombar__tab-label {
|
|
16212
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
16213
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
16214
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
16215
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
16216
|
+
}
|
|
16159
16217
|
|
|
16160
|
-
/*
|
|
16161
|
-
|
|
16218
|
+
/* When floating and sidebar, remove the floating card styles */
|
|
16219
|
+
.muka-bottombar--desktop-sidebar.muka-bottombar--floating {
|
|
16220
|
+
padding: 0;
|
|
16221
|
+
}
|
|
16162
16222
|
|
|
16163
|
-
.muka-bottombar {
|
|
16164
|
-
|
|
16165
|
-
|
|
16223
|
+
.muka-bottombar--desktop-sidebar.muka-bottombar--floating .muka-bottombar__content {
|
|
16224
|
+
background-color: transparent;
|
|
16225
|
+
border-radius: 0;
|
|
16226
|
+
box-shadow: none;
|
|
16227
|
+
}
|
|
16166
16228
|
}
|
|
16167
16229
|
|
|
16168
|
-
/*
|
|
16169
|
-
.muka-bottombar:not(.muka-bottombar--floating):not(.muka-bottombar--no-safe-area) {
|
|
16170
|
-
padding-bottom: env(safe-area-inset-bottom);
|
|
16171
|
-
}
|
|
16230
|
+
/* ─── Desktop: Top Navigation transformation ──────────── */
|
|
16172
16231
|
|
|
16173
|
-
|
|
16174
|
-
.muka-bottombar--
|
|
16175
|
-
|
|
16176
|
-
|
|
16232
|
+
@media (min-width: 1024px) {
|
|
16233
|
+
.muka-bottombar--desktop-topnav {
|
|
16234
|
+
position: fixed;
|
|
16235
|
+
top: 0;
|
|
16236
|
+
left: 0;
|
|
16237
|
+
right: 0;
|
|
16238
|
+
width: 100%;
|
|
16239
|
+
height: auto;
|
|
16240
|
+
background-color: var(--bottombar-color-background);
|
|
16241
|
+
border-bottom: var(--border-width-regular) solid var(--bottombar-color-border);
|
|
16242
|
+
z-index: 10;
|
|
16243
|
+
}
|
|
16177
16244
|
|
|
16178
|
-
|
|
16245
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__divider {
|
|
16246
|
+
display: none;
|
|
16247
|
+
}
|
|
16179
16248
|
|
|
16180
|
-
.muka-
|
|
16181
|
-
|
|
16182
|
-
|
|
16183
|
-
|
|
16184
|
-
|
|
16249
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__content {
|
|
16250
|
+
flex-direction: row;
|
|
16251
|
+
justify-content: center;
|
|
16252
|
+
gap: var(--spacing-1);
|
|
16253
|
+
padding: 0 var(--spacing-4);
|
|
16254
|
+
max-width: var(--container-max-width-large, 1200px);
|
|
16255
|
+
margin: 0 auto;
|
|
16256
|
+
}
|
|
16185
16257
|
|
|
16186
|
-
|
|
16258
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab {
|
|
16259
|
+
flex: 0 0 auto;
|
|
16260
|
+
flex-direction: row;
|
|
16261
|
+
gap: var(--spacing-2);
|
|
16262
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
16263
|
+
border-radius: 0;
|
|
16264
|
+
border-bottom: 2px solid transparent;
|
|
16265
|
+
}
|
|
16187
16266
|
|
|
16188
|
-
.muka-
|
|
16189
|
-
|
|
16190
|
-
|
|
16191
|
-
}
|
|
16267
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab--active {
|
|
16268
|
+
border-bottom-color: var(--color-action-default);
|
|
16269
|
+
}
|
|
16192
16270
|
|
|
16193
|
-
|
|
16271
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab:hover {
|
|
16272
|
+
background-color: var(--color-surface-level2);
|
|
16273
|
+
}
|
|
16194
16274
|
|
|
16195
|
-
.muka-bottombar--
|
|
16196
|
-
|
|
16197
|
-
|
|
16198
|
-
|
|
16199
|
-
|
|
16275
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab-label {
|
|
16276
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
16277
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
16278
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
16279
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
16280
|
+
}
|
|
16200
16281
|
|
|
16201
|
-
|
|
16202
|
-
|
|
16282
|
+
/* When floating and topnav, remove the floating card styles */
|
|
16283
|
+
.muka-bottombar--desktop-topnav.muka-bottombar--floating {
|
|
16284
|
+
padding: 0;
|
|
16285
|
+
}
|
|
16286
|
+
|
|
16287
|
+
.muka-bottombar--desktop-topnav.muka-bottombar--floating .muka-bottombar__content {
|
|
16288
|
+
background-color: transparent;
|
|
16289
|
+
border-radius: 0;
|
|
16290
|
+
box-shadow: none;
|
|
16291
|
+
}
|
|
16203
16292
|
}
|
|
16204
16293
|
|
|
16205
|
-
/* ───
|
|
16294
|
+
/* ─── Print ────────────────────────────────────────────── */
|
|
16206
16295
|
|
|
16207
|
-
|
|
16208
|
-
|
|
16209
|
-
|
|
16210
|
-
|
|
16296
|
+
@media print {
|
|
16297
|
+
.muka-bottombar {
|
|
16298
|
+
display: none;
|
|
16299
|
+
}
|
|
16211
16300
|
}
|
|
16212
16301
|
|
|
16213
|
-
.muka-bottombar--actions-vertical .muka-bottombar__content > * {
|
|
16214
|
-
width: 100%;
|
|
16215
|
-
}
|
|
16216
16302
|
|
|
16217
|
-
/*
|
|
16303
|
+
/* BadgeNumber */
|
|
16304
|
+
/* BadgeNumber Component Styles - Using Muka Design Tokens */
|
|
16218
16305
|
|
|
16219
|
-
|
|
16220
|
-
|
|
16221
|
-
|
|
16222
|
-
|
|
16306
|
+
.muka-badge-number {
|
|
16307
|
+
display: inline-flex;
|
|
16308
|
+
align-items: center;
|
|
16309
|
+
justify-content: center;
|
|
16310
|
+
border-radius: var(--border-radius-full);
|
|
16311
|
+
white-space: nowrap;
|
|
16312
|
+
user-select: none;
|
|
16313
|
+
box-sizing: border-box;
|
|
16223
16314
|
}
|
|
16224
16315
|
|
|
16225
|
-
|
|
16226
|
-
|
|
16316
|
+
/*
|
|
16317
|
+
* Sizes — fixed height, matching min-width (so a single digit renders as a
|
|
16318
|
+
* circle), horizontal padding, and bold label typography. Vertical centering
|
|
16319
|
+
* is handled by the fixed height + align-items: center.
|
|
16320
|
+
*/
|
|
16321
|
+
.muka-badge-number--2xs {
|
|
16322
|
+
height: var(--badge-number-size-2xs);
|
|
16323
|
+
min-width: var(--badge-number-size-2xs);
|
|
16324
|
+
padding: 0 var(--badge-number-padding-2xs);
|
|
16325
|
+
font-family: var(--text-label-xs-bold-fontFamily);
|
|
16326
|
+
font-weight: var(--text-label-xs-bold-fontWeight);
|
|
16327
|
+
font-size: var(--text-label-xs-bold-fontSize);
|
|
16328
|
+
line-height: var(--text-label-xs-bold-lineHeight);
|
|
16227
16329
|
}
|
|
16228
16330
|
|
|
16229
|
-
.muka-
|
|
16230
|
-
|
|
16231
|
-
width:
|
|
16331
|
+
.muka-badge-number--xs {
|
|
16332
|
+
height: var(--badge-number-size-xs);
|
|
16333
|
+
min-width: var(--badge-number-size-xs);
|
|
16334
|
+
padding: 0 var(--badge-number-padding-xs);
|
|
16335
|
+
font-family: var(--text-label-sm-bold-fontFamily);
|
|
16336
|
+
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
16337
|
+
font-size: var(--text-label-sm-bold-fontSize);
|
|
16338
|
+
line-height: var(--text-label-sm-bold-lineHeight);
|
|
16232
16339
|
}
|
|
16233
16340
|
|
|
16234
|
-
.muka-
|
|
16235
|
-
|
|
16236
|
-
min-width:
|
|
16237
|
-
|
|
16238
|
-
font-family: var(--text-
|
|
16239
|
-
font-weight: var(--text-
|
|
16240
|
-
font-size: var(--text-
|
|
16241
|
-
line-height: var(--text-
|
|
16341
|
+
.muka-badge-number--sm {
|
|
16342
|
+
height: var(--badge-number-size-sm);
|
|
16343
|
+
min-width: var(--badge-number-size-sm);
|
|
16344
|
+
padding: 0 var(--badge-number-padding-sm);
|
|
16345
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
16346
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
16347
|
+
font-size: var(--text-label-md-bold-fontSize);
|
|
16348
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
16242
16349
|
}
|
|
16243
16350
|
|
|
16244
|
-
.muka-
|
|
16245
|
-
|
|
16351
|
+
.muka-badge-number--md {
|
|
16352
|
+
height: var(--badge-number-size-md);
|
|
16353
|
+
min-width: var(--badge-number-size-md);
|
|
16354
|
+
padding: 0 var(--badge-number-padding-md);
|
|
16355
|
+
font-family: var(--text-label-lg-bold-fontFamily);
|
|
16356
|
+
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
16357
|
+
font-size: var(--text-label-lg-bold-fontSize);
|
|
16358
|
+
line-height: var(--text-label-lg-bold-lineHeight);
|
|
16246
16359
|
}
|
|
16247
16360
|
|
|
16248
|
-
.muka-
|
|
16249
|
-
|
|
16361
|
+
.muka-badge-number--lg {
|
|
16362
|
+
height: var(--badge-number-size-lg);
|
|
16363
|
+
min-width: var(--badge-number-size-lg);
|
|
16364
|
+
padding: 0 var(--badge-number-padding-lg);
|
|
16365
|
+
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
16366
|
+
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
16367
|
+
font-size: var(--text-label-2xl-bold-fontSize);
|
|
16368
|
+
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
16250
16369
|
}
|
|
16251
16370
|
|
|
16252
|
-
.muka-
|
|
16253
|
-
|
|
16371
|
+
.muka-badge-number__label {
|
|
16372
|
+
/*
|
|
16373
|
+
* The badge sets a tight line-height for compact sizing, which would clip
|
|
16374
|
+
* glyph descenders; give the label a roomier line-height. Vertical centering
|
|
16375
|
+
* is unaffected because the badge height is fixed and content is centered.
|
|
16376
|
+
*/
|
|
16377
|
+
line-height: normal;
|
|
16254
16378
|
}
|
|
16255
16379
|
|
|
16256
|
-
/*
|
|
16257
|
-
|
|
16258
|
-
|
|
16259
|
-
|
|
16260
|
-
|
|
16261
|
-
}
|
|
16380
|
+
/* Neutral variant */
|
|
16381
|
+
.muka-badge-number--neutral {
|
|
16382
|
+
background-color: var(--color-surface-level1);
|
|
16383
|
+
color: var(--color-text-default-default);
|
|
16384
|
+
}
|
|
16262
16385
|
|
|
16263
|
-
|
|
16264
|
-
|
|
16265
|
-
|
|
16386
|
+
/* Info variant */
|
|
16387
|
+
.muka-badge-number--info {
|
|
16388
|
+
background-color: var(--color-state-info-contrast);
|
|
16389
|
+
color: var(--color-text-default-inverse);
|
|
16390
|
+
}
|
|
16266
16391
|
|
|
16267
|
-
|
|
16268
|
-
|
|
16269
|
-
|
|
16270
|
-
|
|
16392
|
+
/* Success variant */
|
|
16393
|
+
.muka-badge-number--success {
|
|
16394
|
+
background-color: var(--color-state-success-contrast);
|
|
16395
|
+
color: var(--color-text-default-inverse);
|
|
16271
16396
|
}
|
|
16272
16397
|
|
|
16273
|
-
/*
|
|
16398
|
+
/* Warning variant */
|
|
16399
|
+
.muka-badge-number--warning {
|
|
16400
|
+
background-color: var(--color-state-warning-contrast);
|
|
16401
|
+
color: var(--color-text-default-inverse);
|
|
16402
|
+
}
|
|
16274
16403
|
|
|
16275
|
-
/*
|
|
16404
|
+
/* Error variant */
|
|
16405
|
+
.muka-badge-number--error {
|
|
16406
|
+
background-color: var(--color-state-error-contrast);
|
|
16407
|
+
color: var(--color-text-default-inverse);
|
|
16408
|
+
}
|
|
16276
16409
|
|
|
16277
|
-
|
|
16278
|
-
|
|
16410
|
+
/* Dot: something new, without a count */
|
|
16411
|
+
.muka-badge-number--dot {
|
|
16412
|
+
width: var(--spacing-2);
|
|
16413
|
+
height: var(--spacing-2);
|
|
16414
|
+
min-width: 0;
|
|
16415
|
+
padding: 0;
|
|
16279
16416
|
}
|
|
16280
16417
|
|
|
16281
|
-
/* ─── Chat variant (houses a ChatComposer) ───────────── */
|
|
16282
16418
|
|
|
16283
|
-
|
|
16284
|
-
|
|
16285
|
-
width: 100%;
|
|
16286
|
-
margin: 0 auto;
|
|
16287
|
-
}
|
|
16419
|
+
/* Badge */
|
|
16420
|
+
/* Badge Component Styles - Using Muka Design Tokens */
|
|
16288
16421
|
|
|
16289
|
-
|
|
16290
|
-
|
|
16291
|
-
|
|
16292
|
-
|
|
16293
|
-
|
|
16294
|
-
|
|
16422
|
+
.muka-badge {
|
|
16423
|
+
display: inline-flex;
|
|
16424
|
+
align-items: center;
|
|
16425
|
+
border-radius: var(--border-radius-full);
|
|
16426
|
+
white-space: nowrap;
|
|
16427
|
+
user-select: none;
|
|
16428
|
+
box-sizing: border-box;
|
|
16429
|
+
}
|
|
16295
16430
|
|
|
16296
16431
|
/*
|
|
16297
|
-
*
|
|
16298
|
-
*
|
|
16299
|
-
*
|
|
16300
|
-
*
|
|
16432
|
+
* Sizes — height, gap, type, and default (label-edge) horizontal padding.
|
|
16433
|
+
* Mirrors Chip so the two components share sizing, fonts, and spacing.
|
|
16434
|
+
* Vertical centering is handled by the fixed height + align-items: center.
|
|
16435
|
+
* The leading side gets a tighter padding when an icon/dot is present, via the
|
|
16436
|
+
* --has-icon / --has-dot modifiers below.
|
|
16301
16437
|
*/
|
|
16302
|
-
.muka-
|
|
16303
|
-
|
|
16304
|
-
|
|
16305
|
-
|
|
16306
|
-
|
|
16307
|
-
);
|
|
16438
|
+
.muka-badge--sm {
|
|
16439
|
+
height: var(--badge-size-height-sm);
|
|
16440
|
+
gap: var(--badge-gap-sm);
|
|
16441
|
+
padding: 0 var(--badge-padding-label-sm);
|
|
16442
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
16443
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
16444
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
16445
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
16308
16446
|
}
|
|
16309
16447
|
|
|
16310
|
-
|
|
16311
|
-
|
|
16312
|
-
|
|
16448
|
+
.muka-badge--md {
|
|
16449
|
+
height: var(--badge-size-height-md);
|
|
16450
|
+
gap: var(--badge-gap-md);
|
|
16451
|
+
padding: 0 var(--badge-padding-label-md);
|
|
16452
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
16453
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
16454
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
16455
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
16313
16456
|
}
|
|
16314
16457
|
|
|
16315
|
-
|
|
16316
|
-
|
|
16317
|
-
|
|
16318
|
-
|
|
16319
|
-
|
|
16320
|
-
|
|
16321
|
-
|
|
16322
|
-
|
|
16323
|
-
padding: var(--bottombar-tab-padding-y) 0;
|
|
16324
|
-
background: none;
|
|
16325
|
-
border: none;
|
|
16326
|
-
cursor: pointer;
|
|
16327
|
-
color: var(--bottombar-color-tab-inactive);
|
|
16328
|
-
transition: color 0.15s ease;
|
|
16329
|
-
-webkit-tap-highlight-color: transparent;
|
|
16458
|
+
.muka-badge--lg {
|
|
16459
|
+
height: var(--badge-size-height-lg);
|
|
16460
|
+
gap: var(--badge-gap-lg);
|
|
16461
|
+
padding: 0 var(--badge-padding-label-lg);
|
|
16462
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
16463
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
16464
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
16465
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
16330
16466
|
}
|
|
16331
16467
|
|
|
16332
|
-
|
|
16333
|
-
|
|
16334
|
-
|
|
16335
|
-
|
|
16468
|
+
/* Tighter leading padding when a leading icon or dot is present */
|
|
16469
|
+
.muka-badge--sm.muka-badge--has-icon,
|
|
16470
|
+
.muka-badge--sm.muka-badge--has-dot {
|
|
16471
|
+
padding-left: var(--badge-padding-leading-sm);
|
|
16336
16472
|
}
|
|
16337
|
-
|
|
16338
|
-
.muka-
|
|
16339
|
-
|
|
16473
|
+
.muka-badge--md.muka-badge--has-icon,
|
|
16474
|
+
.muka-badge--md.muka-badge--has-dot {
|
|
16475
|
+
padding-left: var(--badge-padding-leading-md);
|
|
16476
|
+
}
|
|
16477
|
+
.muka-badge--lg.muka-badge--has-icon,
|
|
16478
|
+
.muka-badge--lg.muka-badge--has-dot {
|
|
16479
|
+
padding-left: var(--badge-padding-leading-lg);
|
|
16340
16480
|
}
|
|
16341
16481
|
|
|
16342
|
-
|
|
16343
|
-
|
|
16344
|
-
|
|
16345
|
-
|
|
16482
|
+
/* Icon-only — square, sized to the badge height (Figma: 24 / 32 / 40).
|
|
16483
|
+
* Padding resets at size+icon-only specificity so `--has-icon` leading padding
|
|
16484
|
+
* cannot win and shift the icon off-center. */
|
|
16485
|
+
.muka-badge--icon-only {
|
|
16346
16486
|
justify-content: center;
|
|
16347
|
-
|
|
16348
|
-
|
|
16487
|
+
align-items: center;
|
|
16488
|
+
gap: 0;
|
|
16349
16489
|
}
|
|
16350
16490
|
|
|
16351
|
-
.muka-
|
|
16352
|
-
|
|
16353
|
-
|
|
16491
|
+
.muka-badge--sm.muka-badge--icon-only,
|
|
16492
|
+
.muka-badge--md.muka-badge--icon-only,
|
|
16493
|
+
.muka-badge--lg.muka-badge--icon-only {
|
|
16494
|
+
padding: 0;
|
|
16354
16495
|
}
|
|
16355
16496
|
|
|
16356
|
-
|
|
16357
|
-
|
|
16358
|
-
position: absolute;
|
|
16359
|
-
top: calc(-1 * var(--spacing-1));
|
|
16360
|
-
left: 60%;
|
|
16361
|
-
display: flex;
|
|
16362
|
-
pointer-events: none;
|
|
16497
|
+
.muka-badge--sm.muka-badge--icon-only {
|
|
16498
|
+
width: var(--badge-size-height-sm);
|
|
16363
16499
|
}
|
|
16364
16500
|
|
|
16365
|
-
.muka-
|
|
16366
|
-
|
|
16367
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
16368
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
16369
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
16501
|
+
.muka-badge--md.muka-badge--icon-only {
|
|
16502
|
+
width: var(--badge-size-height-md);
|
|
16370
16503
|
}
|
|
16371
16504
|
|
|
16372
|
-
|
|
16373
|
-
|
|
16374
|
-
|
|
16375
|
-
background: linear-gradient(
|
|
16376
|
-
to bottom,
|
|
16377
|
-
var(--bottombar-floating-backdrop-start),
|
|
16378
|
-
var(--bottombar-floating-backdrop-end)
|
|
16379
|
-
);
|
|
16380
|
-
padding: var(--bottombar-floating-padding-top) var(--bottombar-floating-margin-x) var(--bottombar-floating-margin-bottom);
|
|
16505
|
+
.muka-badge--lg.muka-badge--icon-only {
|
|
16506
|
+
width: var(--badge-size-height-lg);
|
|
16507
|
+
}
|
|
16381
16508
|
|
|
16382
|
-
|
|
16383
|
-
|
|
16384
|
-
|
|
16385
|
-
|
|
16509
|
+
/* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 (matches Chip) */
|
|
16510
|
+
.muka-badge__icon {
|
|
16511
|
+
display: inline-flex;
|
|
16512
|
+
align-items: center;
|
|
16513
|
+
justify-content: center;
|
|
16514
|
+
flex-shrink: 0;
|
|
16386
16515
|
}
|
|
16387
16516
|
|
|
16388
|
-
.muka-
|
|
16389
|
-
|
|
16517
|
+
.muka-badge--sm .muka-badge__icon {
|
|
16518
|
+
width: var(--icon-size-xs);
|
|
16519
|
+
height: var(--icon-size-xs);
|
|
16520
|
+
}
|
|
16521
|
+
.muka-badge--md .muka-badge__icon {
|
|
16522
|
+
width: var(--icon-size-sm);
|
|
16523
|
+
height: var(--icon-size-sm);
|
|
16524
|
+
}
|
|
16525
|
+
.muka-badge--lg .muka-badge__icon {
|
|
16526
|
+
width: var(--icon-size-default);
|
|
16527
|
+
height: var(--icon-size-default);
|
|
16390
16528
|
}
|
|
16391
16529
|
|
|
16392
|
-
|
|
16393
|
-
|
|
16394
|
-
|
|
16395
|
-
|
|
16396
|
-
|
|
16397
|
-
max-width: var(--bottombar-floating-max-width);
|
|
16530
|
+
/* Force the passed content (raw <svg> or an <Icon> wrapper) to the slot size,
|
|
16531
|
+
so callers don't have to size the icon to match each badge size. The
|
|
16532
|
+
.muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
|
|
16533
|
+
.muka-badge__icon .muka-icon,
|
|
16534
|
+
.muka-badge__icon svg {
|
|
16398
16535
|
width: 100%;
|
|
16399
|
-
|
|
16536
|
+
height: 100%;
|
|
16400
16537
|
}
|
|
16401
16538
|
|
|
16402
|
-
/*
|
|
16403
|
-
.muka-
|
|
16404
|
-
|
|
16539
|
+
/* Icons inherit the badge's per-variant foreground color */
|
|
16540
|
+
.muka-badge .muka-icon {
|
|
16541
|
+
color: inherit;
|
|
16405
16542
|
}
|
|
16406
16543
|
|
|
16407
|
-
|
|
16408
|
-
|
|
16544
|
+
/* Dot indicator */
|
|
16545
|
+
.muka-badge__dot {
|
|
16546
|
+
flex-shrink: 0;
|
|
16547
|
+
border-radius: var(--border-radius-full);
|
|
16409
16548
|
}
|
|
16410
16549
|
|
|
16411
|
-
|
|
16412
|
-
|
|
16413
|
-
|
|
16414
|
-
|
|
16415
|
-
position: fixed;
|
|
16416
|
-
left: 0;
|
|
16417
|
-
top: 0;
|
|
16418
|
-
bottom: 0;
|
|
16419
|
-
width: 240px;
|
|
16420
|
-
height: 100vh;
|
|
16421
|
-
background-color: var(--bottombar-color-background);
|
|
16422
|
-
border-right: var(--border-width-regular) solid var(--bottombar-color-border);
|
|
16423
|
-
z-index: 10;
|
|
16424
|
-
}
|
|
16425
|
-
|
|
16426
|
-
.muka-bottombar--desktop-sidebar .muka-bottombar__divider {
|
|
16427
|
-
display: none;
|
|
16428
|
-
}
|
|
16429
|
-
|
|
16430
|
-
.muka-bottombar--desktop-sidebar .muka-bottombar__content {
|
|
16431
|
-
flex-direction: column;
|
|
16432
|
-
align-items: stretch;
|
|
16433
|
-
padding: var(--spacing-4) var(--spacing-3);
|
|
16434
|
-
/* The rail runs to the top of the screen: clear the status bar there. */
|
|
16435
|
-
padding-top: calc(var(--spacing-4) + env(safe-area-inset-top, 0px));
|
|
16436
|
-
gap: var(--spacing-1);
|
|
16437
|
-
}
|
|
16438
|
-
|
|
16439
|
-
.muka-bottombar--desktop-sidebar .muka-bottombar__tab {
|
|
16440
|
-
flex: 0 0 auto;
|
|
16441
|
-
flex-direction: row;
|
|
16442
|
-
justify-content: flex-start;
|
|
16443
|
-
gap: var(--spacing-3);
|
|
16444
|
-
padding: var(--spacing-3);
|
|
16445
|
-
border-radius: var(--border-radius-md);
|
|
16446
|
-
}
|
|
16447
|
-
|
|
16448
|
-
.muka-bottombar--desktop-sidebar .muka-bottombar__tab:hover {
|
|
16449
|
-
background-color: var(--color-surface-level2);
|
|
16450
|
-
}
|
|
16451
|
-
|
|
16452
|
-
.muka-bottombar--desktop-sidebar .muka-bottombar__tab-label {
|
|
16453
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
16454
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
16455
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
16456
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
16457
|
-
}
|
|
16458
|
-
|
|
16459
|
-
/* When floating and sidebar, remove the floating card styles */
|
|
16460
|
-
.muka-bottombar--desktop-sidebar.muka-bottombar--floating {
|
|
16461
|
-
padding: 0;
|
|
16462
|
-
}
|
|
16550
|
+
.muka-badge--sm .muka-badge__dot {
|
|
16551
|
+
width: var(--badge-size-dot-sm);
|
|
16552
|
+
height: var(--badge-size-dot-sm);
|
|
16553
|
+
}
|
|
16463
16554
|
|
|
16464
|
-
|
|
16465
|
-
|
|
16466
|
-
|
|
16467
|
-
box-shadow: none;
|
|
16468
|
-
}
|
|
16555
|
+
.muka-badge--md .muka-badge__dot {
|
|
16556
|
+
width: var(--badge-size-dot-md);
|
|
16557
|
+
height: var(--badge-size-dot-md);
|
|
16469
16558
|
}
|
|
16470
16559
|
|
|
16471
|
-
|
|
16560
|
+
.muka-badge--lg .muka-badge__dot {
|
|
16561
|
+
width: var(--badge-size-dot-lg);
|
|
16562
|
+
height: var(--badge-size-dot-lg);
|
|
16563
|
+
}
|
|
16472
16564
|
|
|
16473
|
-
|
|
16474
|
-
|
|
16475
|
-
|
|
16476
|
-
|
|
16477
|
-
|
|
16478
|
-
|
|
16479
|
-
|
|
16480
|
-
|
|
16481
|
-
|
|
16482
|
-
|
|
16483
|
-
|
|
16484
|
-
|
|
16565
|
+
.muka-badge__label {
|
|
16566
|
+
flex: 0 1 auto;
|
|
16567
|
+
min-width: 0;
|
|
16568
|
+
overflow: hidden;
|
|
16569
|
+
text-overflow: ellipsis;
|
|
16570
|
+
/*
|
|
16571
|
+
* The badge sets a tight line-height for compact sizing, but the label's
|
|
16572
|
+
* `overflow: hidden` (needed for ellipsis) then clips glyph descenders (g, y, p). Give the
|
|
16573
|
+
* label its own roomier line-height so descenders render; vertical centering is unaffected
|
|
16574
|
+
* because the badge height is fixed and content is centered via align-items: center.
|
|
16575
|
+
*/
|
|
16576
|
+
line-height: normal;
|
|
16577
|
+
}
|
|
16485
16578
|
|
|
16486
|
-
|
|
16487
|
-
|
|
16488
|
-
|
|
16579
|
+
/* Neutral variant */
|
|
16580
|
+
.muka-badge--neutral {
|
|
16581
|
+
background-color: var(--color-surface-level1);
|
|
16582
|
+
color: var(--color-text-default-default);
|
|
16583
|
+
}
|
|
16489
16584
|
|
|
16490
|
-
|
|
16491
|
-
|
|
16492
|
-
|
|
16493
|
-
gap: var(--spacing-1);
|
|
16494
|
-
padding: 0 var(--spacing-4);
|
|
16495
|
-
max-width: var(--container-max-width-large, 1200px);
|
|
16496
|
-
margin: 0 auto;
|
|
16497
|
-
}
|
|
16585
|
+
.muka-badge--neutral .muka-badge__dot {
|
|
16586
|
+
background-color: var(--color-text-subtle-default);
|
|
16587
|
+
}
|
|
16498
16588
|
|
|
16499
|
-
|
|
16500
|
-
|
|
16501
|
-
|
|
16502
|
-
|
|
16503
|
-
|
|
16504
|
-
border-radius: 0;
|
|
16505
|
-
border-bottom: 2px solid transparent;
|
|
16506
|
-
}
|
|
16589
|
+
/* Info variant */
|
|
16590
|
+
.muka-badge--info {
|
|
16591
|
+
background-color: var(--color-state-info-background);
|
|
16592
|
+
color: var(--color-state-info-contrast);
|
|
16593
|
+
}
|
|
16507
16594
|
|
|
16508
|
-
|
|
16509
|
-
|
|
16510
|
-
|
|
16595
|
+
.muka-badge--info .muka-badge__dot {
|
|
16596
|
+
background-color: var(--color-state-info-default);
|
|
16597
|
+
}
|
|
16511
16598
|
|
|
16512
|
-
|
|
16513
|
-
|
|
16514
|
-
|
|
16599
|
+
/* Success variant */
|
|
16600
|
+
.muka-badge--success {
|
|
16601
|
+
background-color: var(--color-state-success-background);
|
|
16602
|
+
color: var(--color-state-success-contrast);
|
|
16603
|
+
}
|
|
16515
16604
|
|
|
16516
|
-
|
|
16517
|
-
|
|
16518
|
-
|
|
16519
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
16520
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
16521
|
-
}
|
|
16605
|
+
.muka-badge--success .muka-badge__dot {
|
|
16606
|
+
background-color: var(--color-state-success-default);
|
|
16607
|
+
}
|
|
16522
16608
|
|
|
16523
|
-
|
|
16524
|
-
|
|
16525
|
-
|
|
16526
|
-
|
|
16609
|
+
/* Warning variant */
|
|
16610
|
+
.muka-badge--warning {
|
|
16611
|
+
background-color: var(--color-state-warning-background);
|
|
16612
|
+
color: var(--color-state-warning-contrast);
|
|
16613
|
+
}
|
|
16527
16614
|
|
|
16528
|
-
|
|
16529
|
-
|
|
16530
|
-
border-radius: 0;
|
|
16531
|
-
box-shadow: none;
|
|
16532
|
-
}
|
|
16615
|
+
.muka-badge--warning .muka-badge__dot {
|
|
16616
|
+
background-color: var(--color-state-warning-default);
|
|
16533
16617
|
}
|
|
16534
16618
|
|
|
16535
|
-
/*
|
|
16619
|
+
/* Error variant */
|
|
16620
|
+
.muka-badge--error {
|
|
16621
|
+
background-color: var(--color-state-error-background);
|
|
16622
|
+
color: var(--color-state-error-contrast);
|
|
16623
|
+
}
|
|
16536
16624
|
|
|
16537
|
-
|
|
16538
|
-
|
|
16539
|
-
display: none;
|
|
16540
|
-
}
|
|
16625
|
+
.muka-badge--error .muka-badge__dot {
|
|
16626
|
+
background-color: var(--color-state-error-default);
|
|
16541
16627
|
}
|
|
16542
16628
|
|
|
16543
16629
|
|