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