@revikornmann/muka-ui 0.50.1 → 0.51.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/BadgeNumber/BadgeNumber.css +8 -0
- package/dist/cjs/components/BadgeNumber/BadgeNumber.js +3 -3
- package/dist/cjs/components/BadgeNumber/BadgeNumber.js.map +1 -1
- package/dist/cjs/components/BottomBar/BottomBar.css +10 -0
- package/dist/cjs/components/BottomBar/BottomBar.js +4 -2
- package/dist/cjs/components/BottomBar/BottomBar.js.map +1 -1
- package/dist/cjs/components/FileUpload/FileUpload.js +31 -13
- package/dist/cjs/components/FileUpload/FileUpload.js.map +1 -1
- package/dist/cjs/components/FileUpload/FileUploadItem.js +11 -3
- package/dist/cjs/components/FileUpload/FileUploadItem.js.map +1 -1
- package/dist/cjs/components/FileUpload/index.js.map +1 -1
- package/dist/cjs/components/ListItem/ListItem.css +19 -0
- package/dist/cjs/components/ListItem/ListItem.js +3 -3
- package/dist/cjs/components/ListItem/ListItem.js.map +1 -1
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/BadgeNumber/BadgeNumber.css +8 -0
- package/dist/esm/components/BadgeNumber/BadgeNumber.js +3 -3
- package/dist/esm/components/BadgeNumber/BadgeNumber.js.map +1 -1
- package/dist/esm/components/BottomBar/BottomBar.css +10 -0
- package/dist/esm/components/BottomBar/BottomBar.js +4 -2
- package/dist/esm/components/BottomBar/BottomBar.js.map +1 -1
- package/dist/esm/components/FileUpload/FileUpload.js +32 -14
- package/dist/esm/components/FileUpload/FileUpload.js.map +1 -1
- package/dist/esm/components/FileUpload/FileUploadItem.js +10 -2
- package/dist/esm/components/FileUpload/FileUploadItem.js.map +1 -1
- package/dist/esm/components/FileUpload/index.js.map +1 -1
- package/dist/esm/components/ListItem/ListItem.css +19 -0
- package/dist/esm/components/ListItem/ListItem.js +3 -3
- package/dist/esm/components/ListItem/ListItem.js.map +1 -1
- package/dist/esm/components/index.js.map +1 -1
- package/dist/styles/components/BadgeNumber.css +8 -0
- package/dist/styles/components/BottomBar.css +10 -0
- package/dist/styles/components/ListItem.css +19 -0
- package/dist/styles/index.css +1844 -1807
- package/dist/styles/muka-dark.css +1844 -1807
- package/dist/styles/muka-light.css +1844 -1807
- package/dist/styles/wireframe-dark.css +1844 -1807
- package/dist/styles/wireframe-light.css +1844 -1807
- package/dist/types/components/BadgeNumber/BadgeNumber.d.ts +7 -1
- package/dist/types/components/BadgeNumber/BadgeNumber.d.ts.map +1 -1
- package/dist/types/components/BottomBar/BottomBar.d.ts +7 -0
- package/dist/types/components/BottomBar/BottomBar.d.ts.map +1 -1
- package/dist/types/components/FileUpload/FileUpload.d.ts +46 -6
- package/dist/types/components/FileUpload/FileUpload.d.ts.map +1 -1
- package/dist/types/components/FileUpload/FileUploadItem.d.ts +19 -0
- package/dist/types/components/FileUpload/FileUploadItem.d.ts.map +1 -1
- package/dist/types/components/FileUpload/index.d.ts +1 -1
- package/dist/types/components/FileUpload/index.d.ts.map +1 -1
- package/dist/types/components/ListItem/ListItem.d.ts +8 -1
- package/dist/types/components/ListItem/ListItem.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +1 -1
- package/dist/types/components/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3543,795 +3543,795 @@ body {
|
|
|
3543
3543
|
}
|
|
3544
3544
|
|
|
3545
3545
|
|
|
3546
|
-
/*
|
|
3547
|
-
/*
|
|
3546
|
+
/* Tile */
|
|
3547
|
+
/* Tile Component Styles - Using Muka Design Tokens */
|
|
3548
3548
|
|
|
3549
|
-
|
|
3550
|
-
position: relative;
|
|
3551
|
-
flex-shrink: 0;
|
|
3552
|
-
}
|
|
3549
|
+
/* ─── Base ────────────────────────────────────────────── */
|
|
3553
3550
|
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
.muka-thumbnail__frame {
|
|
3558
|
-
position: absolute;
|
|
3559
|
-
inset: 0;
|
|
3560
|
-
overflow: hidden;
|
|
3561
|
-
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
3562
|
-
border-radius: var(--border-radius-lg);
|
|
3563
|
-
background-color: var(--color-surface-level1);
|
|
3551
|
+
.muka-tile {
|
|
3552
|
+
display: flex;
|
|
3553
|
+
color: var(--color-text-default-default);
|
|
3564
3554
|
}
|
|
3565
3555
|
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
height: 120px;
|
|
3556
|
+
.muka-tile--interactive {
|
|
3557
|
+
cursor: pointer;
|
|
3558
|
+
user-select: none;
|
|
3570
3559
|
}
|
|
3571
3560
|
|
|
3572
|
-
.muka-
|
|
3573
|
-
|
|
3574
|
-
|
|
3561
|
+
.muka-tile--interactive:focus-visible {
|
|
3562
|
+
outline: 2px solid var(--color-border-focus);
|
|
3563
|
+
outline-offset: 2px;
|
|
3564
|
+
border-radius: var(--border-radius-lg);
|
|
3575
3565
|
}
|
|
3576
3566
|
|
|
3577
|
-
|
|
3578
|
-
width: 120px;
|
|
3579
|
-
height: 120px;
|
|
3580
|
-
}
|
|
3567
|
+
/* ─── Image position variants ─────────────────────────── */
|
|
3581
3568
|
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
width: 100%;
|
|
3585
|
-
height: auto;
|
|
3586
|
-
aspect-ratio: 1 / 1;
|
|
3569
|
+
.muka-tile--image-top {
|
|
3570
|
+
flex-direction: column;
|
|
3587
3571
|
}
|
|
3588
3572
|
|
|
3589
|
-
.muka-
|
|
3590
|
-
|
|
3573
|
+
.muka-tile--image-left {
|
|
3574
|
+
flex-direction: row;
|
|
3591
3575
|
}
|
|
3592
3576
|
|
|
3593
|
-
.muka-
|
|
3594
|
-
|
|
3577
|
+
.muka-tile--image-right {
|
|
3578
|
+
flex-direction: row;
|
|
3595
3579
|
}
|
|
3596
3580
|
|
|
3597
|
-
/*
|
|
3598
|
-
interactive hover zoom has a clean origin. */
|
|
3599
|
-
.muka-thumbnail__image {
|
|
3600
|
-
position: absolute;
|
|
3601
|
-
inset: 0;
|
|
3602
|
-
width: 100%;
|
|
3603
|
-
height: 100%;
|
|
3604
|
-
object-fit: cover;
|
|
3605
|
-
display: block;
|
|
3606
|
-
transform-origin: center;
|
|
3607
|
-
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
3608
|
-
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
3609
|
-
}
|
|
3581
|
+
/* ─── Gap by size (top) ───────────────────────────────── */
|
|
3610
3582
|
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
position: absolute;
|
|
3614
|
-
inset: 0;
|
|
3615
|
-
padding: 0;
|
|
3616
|
-
border: 0;
|
|
3617
|
-
background: none;
|
|
3618
|
-
cursor: pointer;
|
|
3619
|
-
overflow: hidden;
|
|
3583
|
+
.muka-tile--image-top.muka-tile--lg {
|
|
3584
|
+
gap: var(--spacing-6);
|
|
3620
3585
|
}
|
|
3621
3586
|
|
|
3622
|
-
.muka-
|
|
3623
|
-
|
|
3624
|
-
|
|
3587
|
+
.muka-tile--image-top.muka-tile--md {
|
|
3588
|
+
gap: var(--spacing-6);
|
|
3589
|
+
width: 320px;
|
|
3625
3590
|
}
|
|
3626
3591
|
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3592
|
+
.muka-tile--image-top.muka-tile--sm {
|
|
3593
|
+
gap: var(--spacing-4);
|
|
3594
|
+
min-width: 120px;
|
|
3630
3595
|
}
|
|
3631
3596
|
|
|
3632
|
-
/* ───
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3597
|
+
/* ─── Gap by size (left/right) ────────────────────────── */
|
|
3598
|
+
|
|
3599
|
+
.muka-tile--image-left.muka-tile--lg,
|
|
3600
|
+
.muka-tile--image-right.muka-tile--lg {
|
|
3601
|
+
gap: var(--spacing-6);
|
|
3637
3602
|
align-items: center;
|
|
3638
|
-
justify-content: center;
|
|
3639
|
-
background-color: var(--dialog-color-backdrop);
|
|
3640
3603
|
}
|
|
3641
3604
|
|
|
3642
|
-
.muka-
|
|
3643
|
-
|
|
3644
|
-
|
|
3605
|
+
.muka-tile--image-left.muka-tile--md,
|
|
3606
|
+
.muka-tile--image-right.muka-tile--md {
|
|
3607
|
+
gap: var(--spacing-6);
|
|
3608
|
+
align-items: center;
|
|
3645
3609
|
}
|
|
3646
3610
|
|
|
3647
|
-
|
|
3648
|
-
.muka-
|
|
3649
|
-
|
|
3650
|
-
|
|
3611
|
+
.muka-tile--image-left.muka-tile--sm,
|
|
3612
|
+
.muka-tile--image-right.muka-tile--sm {
|
|
3613
|
+
gap: var(--spacing-4);
|
|
3614
|
+
align-items: flex-start;
|
|
3651
3615
|
}
|
|
3652
3616
|
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3617
|
+
/* ─── Photos container ────────────────────────────────── */
|
|
3618
|
+
|
|
3619
|
+
.muka-tile__photos {
|
|
3620
|
+
position: relative;
|
|
3621
|
+
flex-shrink: 0;
|
|
3622
|
+
overflow: hidden;
|
|
3656
3623
|
display: flex;
|
|
3657
3624
|
flex-direction: column;
|
|
3658
|
-
|
|
3659
|
-
justify-content: center;
|
|
3660
|
-
gap: var(--spacing-2);
|
|
3661
|
-
padding: var(--spacing-3);
|
|
3662
|
-
text-align: center;
|
|
3625
|
+
isolation: isolate;
|
|
3663
3626
|
}
|
|
3664
3627
|
|
|
3665
|
-
|
|
3666
|
-
|
|
3628
|
+
/* Photos border radius by size */
|
|
3629
|
+
.muka-tile--lg .muka-tile__photos,
|
|
3630
|
+
.muka-tile--md .muka-tile__photos {
|
|
3631
|
+
border-radius: var(--border-radius-lg);
|
|
3667
3632
|
}
|
|
3668
3633
|
|
|
3669
|
-
.muka-
|
|
3670
|
-
|
|
3671
|
-
overflow: hidden;
|
|
3672
|
-
text-overflow: ellipsis;
|
|
3673
|
-
white-space: nowrap;
|
|
3674
|
-
color: var(--alert-color-error-accent);
|
|
3675
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
3676
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
3677
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
3678
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
3634
|
+
.muka-tile--sm .muka-tile__photos {
|
|
3635
|
+
border-radius: var(--border-radius-md);
|
|
3679
3636
|
}
|
|
3680
3637
|
|
|
3681
|
-
/*
|
|
3682
|
-
.muka-
|
|
3683
|
-
|
|
3684
|
-
top: var(--spacing-2);
|
|
3685
|
-
right: var(--spacing-2);
|
|
3686
|
-
display: flex;
|
|
3687
|
-
align-items: center;
|
|
3688
|
-
justify-content: center;
|
|
3689
|
-
width: var(--size-2xl);
|
|
3690
|
-
height: var(--size-2xl);
|
|
3691
|
-
padding: 0;
|
|
3692
|
-
color: var(--button-color-tertiary-foreground-default);
|
|
3693
|
-
background-color: var(--button-color-tertiary-background-default);
|
|
3694
|
-
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
3695
|
-
border-radius: var(--border-radius-lg);
|
|
3696
|
-
cursor: pointer;
|
|
3697
|
-
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
3698
|
-
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
3638
|
+
/* Photos sizing: top layout */
|
|
3639
|
+
.muka-tile--image-top .muka-tile__photos {
|
|
3640
|
+
width: 100%;
|
|
3699
3641
|
}
|
|
3700
3642
|
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3643
|
+
/* Photos sizing: left/right large */
|
|
3644
|
+
.muka-tile--image-left.muka-tile--lg .muka-tile__photos,
|
|
3645
|
+
.muka-tile--image-right.muka-tile--lg .muka-tile__photos {
|
|
3646
|
+
width: 520px;
|
|
3705
3647
|
}
|
|
3706
3648
|
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3649
|
+
/* Photos sizing: left/right medium */
|
|
3650
|
+
.muka-tile--image-left.muka-tile--md .muka-tile__photos,
|
|
3651
|
+
.muka-tile--image-right.muka-tile--md .muka-tile__photos {
|
|
3652
|
+
width: 320px;
|
|
3711
3653
|
}
|
|
3712
3654
|
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3655
|
+
/* Photos sizing: left/right small (single 80x80 thumbnail) */
|
|
3656
|
+
.muka-tile--image-left.muka-tile--sm .muka-tile__photos,
|
|
3657
|
+
.muka-tile--image-right.muka-tile--sm .muka-tile__photos {
|
|
3658
|
+
width: 80px;
|
|
3659
|
+
align-self: stretch;
|
|
3716
3660
|
}
|
|
3717
3661
|
|
|
3718
|
-
/* ───
|
|
3719
|
-
@media (prefers-reduced-motion: reduce) {
|
|
3720
|
-
.muka-thumbnail__image,
|
|
3721
|
-
.muka-thumbnail__remove {
|
|
3722
|
-
transition: none;
|
|
3723
|
-
}
|
|
3662
|
+
/* ─── Main photo ──────────────────────────────────────── */
|
|
3724
3663
|
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3664
|
+
.muka-tile__photo-main {
|
|
3665
|
+
position: relative;
|
|
3666
|
+
width: 100%;
|
|
3667
|
+
overflow: hidden;
|
|
3668
|
+
flex-shrink: 0;
|
|
3728
3669
|
}
|
|
3729
3670
|
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
.muka-textarea {
|
|
3735
|
-
display: inline-flex;
|
|
3736
|
-
flex-direction: column;
|
|
3737
|
-
gap: var(--spacing-2);
|
|
3671
|
+
/* 16:9 aspect for lg and md */
|
|
3672
|
+
.muka-tile--lg .muka-tile__photo-main,
|
|
3673
|
+
.muka-tile--md .muka-tile__photo-main {
|
|
3674
|
+
aspect-ratio: 1280 / 720;
|
|
3738
3675
|
}
|
|
3739
3676
|
|
|
3740
|
-
/*
|
|
3741
|
-
.muka-
|
|
3742
|
-
|
|
3743
|
-
cursor: pointer;
|
|
3677
|
+
/* 1:1 aspect for top + sm */
|
|
3678
|
+
.muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
|
|
3679
|
+
aspect-ratio: 1 / 1;
|
|
3744
3680
|
}
|
|
3745
3681
|
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3682
|
+
/* Fixed size for left/right + sm */
|
|
3683
|
+
.muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
|
|
3684
|
+
.muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
|
|
3685
|
+
width: 80px;
|
|
3686
|
+
height: 80px;
|
|
3687
|
+
aspect-ratio: auto;
|
|
3751
3688
|
}
|
|
3752
3689
|
|
|
3753
|
-
.muka-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3690
|
+
.muka-tile__photo-main img {
|
|
3691
|
+
width: 100%;
|
|
3692
|
+
height: 100%;
|
|
3693
|
+
object-fit: cover;
|
|
3694
|
+
display: block;
|
|
3758
3695
|
}
|
|
3759
3696
|
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3697
|
+
/* ─── Favourite overlay ───────────────────────────────── */
|
|
3698
|
+
|
|
3699
|
+
.muka-tile__favourite {
|
|
3700
|
+
position: absolute;
|
|
3701
|
+
z-index: 3;
|
|
3765
3702
|
}
|
|
3766
3703
|
|
|
3767
|
-
.muka-
|
|
3768
|
-
|
|
3704
|
+
.muka-tile--lg .muka-tile__favourite,
|
|
3705
|
+
.muka-tile--md .muka-tile__favourite {
|
|
3706
|
+
top: var(--spacing-4);
|
|
3707
|
+
right: var(--spacing-4);
|
|
3769
3708
|
}
|
|
3770
3709
|
|
|
3771
|
-
|
|
3772
|
-
|
|
3710
|
+
.muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
|
|
3711
|
+
top: var(--spacing-1);
|
|
3712
|
+
right: var(--spacing-1);
|
|
3713
|
+
}
|
|
3714
|
+
|
|
3715
|
+
/* ─── Thumbnails ──────────────────────────────────────── */
|
|
3716
|
+
|
|
3717
|
+
.muka-tile__thumbnails {
|
|
3773
3718
|
display: flex;
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
3779
|
-
box-sizing: border-box;
|
|
3719
|
+
gap: 2px;
|
|
3720
|
+
overflow: hidden;
|
|
3721
|
+
flex-shrink: 0;
|
|
3722
|
+
height: 80px;
|
|
3780
3723
|
}
|
|
3781
3724
|
|
|
3782
|
-
.muka-
|
|
3783
|
-
|
|
3784
|
-
|
|
3725
|
+
.muka-tile__thumbnail {
|
|
3726
|
+
width: 80px;
|
|
3727
|
+
height: 80px;
|
|
3728
|
+
flex-shrink: 0;
|
|
3729
|
+
overflow: hidden;
|
|
3785
3730
|
}
|
|
3786
3731
|
|
|
3787
|
-
.muka-
|
|
3788
|
-
|
|
3789
|
-
|
|
3732
|
+
.muka-tile__thumbnail img {
|
|
3733
|
+
width: 100%;
|
|
3734
|
+
height: 100%;
|
|
3735
|
+
object-fit: cover;
|
|
3736
|
+
display: block;
|
|
3790
3737
|
}
|
|
3791
3738
|
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3739
|
+
/* Gap between main photo and thumbnails */
|
|
3740
|
+
.muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
|
|
3741
|
+
margin-top: 2px;
|
|
3795
3742
|
}
|
|
3796
3743
|
|
|
3797
|
-
/*
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3744
|
+
/* ─── Content section ─────────────────────────────────── */
|
|
3745
|
+
|
|
3746
|
+
.muka-tile__content {
|
|
3747
|
+
display: flex;
|
|
3748
|
+
flex-direction: column;
|
|
3749
|
+
flex: 1;
|
|
3750
|
+
min-width: 0;
|
|
3803
3751
|
}
|
|
3804
3752
|
|
|
3805
|
-
/*
|
|
3806
|
-
.muka-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
background-color: var(--input-field-color-error-background);
|
|
3810
|
-
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
3753
|
+
/* Top layout: content has horizontal padding */
|
|
3754
|
+
.muka-tile--image-top.muka-tile--lg .muka-tile__content {
|
|
3755
|
+
padding: 0 var(--spacing-3);
|
|
3756
|
+
gap: var(--spacing-1);
|
|
3811
3757
|
}
|
|
3812
3758
|
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
border-color: var(--input-field-color-disabled-border);
|
|
3817
|
-
cursor: not-allowed;
|
|
3759
|
+
.muka-tile--image-top.muka-tile--md .muka-tile__content {
|
|
3760
|
+
padding: 0 var(--spacing-3);
|
|
3761
|
+
gap: var(--spacing-2);
|
|
3818
3762
|
}
|
|
3819
3763
|
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
flex: 1;
|
|
3823
|
-
border: none;
|
|
3824
|
-
outline: none;
|
|
3825
|
-
background: transparent;
|
|
3826
|
-
color: var(--input-field-color-default-foreground);
|
|
3827
|
-
font-family: var(--text-input-md-fontFamily);
|
|
3828
|
-
font-weight: var(--text-input-md-fontWeight);
|
|
3829
|
-
font-size: var(--text-input-md-fontSize);
|
|
3830
|
-
line-height: var(--text-input-md-lineHeight);
|
|
3831
|
-
padding: 0;
|
|
3832
|
-
width: 100%;
|
|
3833
|
-
min-width: 0;
|
|
3764
|
+
.muka-tile--image-top.muka-tile--sm .muka-tile__content {
|
|
3765
|
+
gap: var(--spacing-2);
|
|
3834
3766
|
}
|
|
3835
3767
|
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
line-height: var(--text-input-sm-lineHeight);
|
|
3768
|
+
/* Left/right layout: content grows to fill space */
|
|
3769
|
+
.muka-tile--image-left .muka-tile__content,
|
|
3770
|
+
.muka-tile--image-right .muka-tile__content {
|
|
3771
|
+
gap: var(--spacing-3);
|
|
3841
3772
|
}
|
|
3842
3773
|
|
|
3843
|
-
.muka-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
font-size: var(--text-input-lg-fontSize);
|
|
3847
|
-
line-height: var(--text-input-lg-lineHeight);
|
|
3774
|
+
.muka-tile--image-left.muka-tile--lg .muka-tile__content,
|
|
3775
|
+
.muka-tile--image-right.muka-tile--lg .muka-tile__content {
|
|
3776
|
+
padding: 0 var(--spacing-3);
|
|
3848
3777
|
}
|
|
3849
3778
|
|
|
3850
|
-
.muka-
|
|
3851
|
-
|
|
3779
|
+
.muka-tile--image-left.muka-tile--md .muka-tile__content,
|
|
3780
|
+
.muka-tile--image-right.muka-tile--md .muka-tile__content {
|
|
3781
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
3852
3782
|
}
|
|
3853
3783
|
|
|
3854
|
-
.muka-
|
|
3855
|
-
|
|
3856
|
-
|
|
3784
|
+
.muka-tile--image-left.muka-tile--sm .muka-tile__content,
|
|
3785
|
+
.muka-tile--image-right.muka-tile--sm .muka-tile__content {
|
|
3786
|
+
gap: var(--spacing-2);
|
|
3857
3787
|
}
|
|
3858
3788
|
|
|
3859
|
-
/*
|
|
3860
|
-
|
|
3789
|
+
/* ─── Header (heading row + price) ────────────────────── */
|
|
3790
|
+
|
|
3791
|
+
.muka-tile__header {
|
|
3861
3792
|
display: flex;
|
|
3862
|
-
justify-content: space-between;
|
|
3863
3793
|
align-items: flex-start;
|
|
3794
|
+
gap: var(--spacing-4);
|
|
3795
|
+
}
|
|
3796
|
+
|
|
3797
|
+
/* Small horizontal: row with text and action */
|
|
3798
|
+
.muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
|
|
3864
3799
|
gap: var(--spacing-2);
|
|
3800
|
+
align-items: center;
|
|
3801
|
+
padding-top: var(--spacing-1);
|
|
3865
3802
|
}
|
|
3866
3803
|
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3804
|
+
/* ─── Text group ──────────────────────────────────────── */
|
|
3805
|
+
|
|
3806
|
+
.muka-tile__text {
|
|
3807
|
+
display: flex;
|
|
3808
|
+
flex-direction: column;
|
|
3809
|
+
flex: 1;
|
|
3810
|
+
min-width: 0;
|
|
3811
|
+
gap: var(--spacing-2);
|
|
3874
3812
|
}
|
|
3875
3813
|
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
3880
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
3881
|
-
color: var(--color-state-error-default);
|
|
3814
|
+
/* ─── Heading typography ──────────────────────────────── */
|
|
3815
|
+
|
|
3816
|
+
.muka-tile__heading {
|
|
3882
3817
|
margin: 0;
|
|
3883
3818
|
}
|
|
3884
3819
|
|
|
3885
|
-
.muka-
|
|
3886
|
-
font-family: var(--text-label-
|
|
3887
|
-
font-weight: var(--text-label-
|
|
3888
|
-
font-size: var(--text-label-
|
|
3889
|
-
line-height: var(--text-label-
|
|
3890
|
-
color: var(--color-text-
|
|
3891
|
-
margin-left: auto;
|
|
3820
|
+
.muka-tile--lg .muka-tile__heading {
|
|
3821
|
+
font-family: var(--text-label-2xl-semibold-fontFamily);
|
|
3822
|
+
font-weight: var(--text-label-2xl-semibold-fontWeight);
|
|
3823
|
+
font-size: var(--text-label-2xl-semibold-fontSize);
|
|
3824
|
+
line-height: var(--text-label-2xl-semibold-lineHeight);
|
|
3825
|
+
color: var(--color-text-default-default);
|
|
3892
3826
|
}
|
|
3893
3827
|
|
|
3828
|
+
.muka-tile--md .muka-tile__heading {
|
|
3829
|
+
font-family: var(--text-label-xl-semibold-fontFamily);
|
|
3830
|
+
font-weight: var(--text-label-xl-semibold-fontWeight);
|
|
3831
|
+
font-size: var(--text-label-xl-semibold-fontSize);
|
|
3832
|
+
line-height: var(--text-label-xl-semibold-lineHeight);
|
|
3833
|
+
color: var(--color-text-default-default);
|
|
3834
|
+
}
|
|
3894
3835
|
|
|
3895
|
-
|
|
3896
|
-
|
|
3836
|
+
.muka-tile--sm .muka-tile__heading {
|
|
3837
|
+
font-family: var(--text-label-lg-bold-fontFamily);
|
|
3838
|
+
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
3839
|
+
font-size: var(--text-label-lg-bold-fontSize);
|
|
3840
|
+
line-height: var(--text-label-lg-bold-lineHeight);
|
|
3841
|
+
color: var(--color-text-default-default);
|
|
3842
|
+
}
|
|
3897
3843
|
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
text-underline-offset: 0.2em;
|
|
3904
|
-
text-decoration-thickness: from-font;
|
|
3905
|
-
/* Rounds the focus ring's corners; the link itself has no visible box. */
|
|
3906
|
-
border-radius: var(--border-radius-sm);
|
|
3907
|
-
transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
|
|
3844
|
+
/* ─── Subheading typography ───────────────────────────── */
|
|
3845
|
+
|
|
3846
|
+
.muka-tile__subheading {
|
|
3847
|
+
margin: 0;
|
|
3848
|
+
color: var(--color-text-subtle-default);
|
|
3908
3849
|
}
|
|
3909
3850
|
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
font-
|
|
3914
|
-
|
|
3915
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
3916
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
3851
|
+
.muka-tile--lg .muka-tile__subheading {
|
|
3852
|
+
font-family: var(--text-subheading-md-fontFamily);
|
|
3853
|
+
font-weight: var(--text-subheading-md-fontWeight);
|
|
3854
|
+
font-size: var(--text-subheading-md-fontSize);
|
|
3855
|
+
line-height: var(--text-subheading-md-lineHeight);
|
|
3917
3856
|
}
|
|
3918
3857
|
|
|
3919
|
-
.muka-
|
|
3920
|
-
|
|
3921
|
-
font-
|
|
3922
|
-
font-
|
|
3923
|
-
|
|
3858
|
+
.muka-tile--md .muka-tile__subheading,
|
|
3859
|
+
.muka-tile--sm .muka-tile__subheading {
|
|
3860
|
+
font-family: var(--text-subheading-sm-fontFamily);
|
|
3861
|
+
font-weight: var(--text-subheading-sm-fontWeight);
|
|
3862
|
+
font-size: var(--text-subheading-sm-fontSize);
|
|
3863
|
+
line-height: var(--text-subheading-sm-lineHeight);
|
|
3924
3864
|
}
|
|
3925
3865
|
|
|
3926
|
-
|
|
3866
|
+
/* ─── Description typography ──────────────────────────── */
|
|
3867
|
+
|
|
3868
|
+
.muka-tile__description {
|
|
3869
|
+
margin: 0;
|
|
3870
|
+
color: var(--color-text-default-default);
|
|
3871
|
+
}
|
|
3872
|
+
|
|
3873
|
+
.muka-tile--lg .muka-tile__description {
|
|
3927
3874
|
font-family: var(--text-body-lg-regular-fontFamily);
|
|
3928
3875
|
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
3929
3876
|
font-size: var(--text-body-lg-regular-fontSize);
|
|
3930
3877
|
line-height: var(--text-body-lg-regular-lineHeight);
|
|
3931
3878
|
}
|
|
3932
3879
|
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3880
|
+
.muka-tile--md .muka-tile__description,
|
|
3881
|
+
.muka-tile--sm .muka-tile__description {
|
|
3882
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
3883
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
3884
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
3885
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
3939
3886
|
}
|
|
3940
3887
|
|
|
3941
|
-
|
|
3942
|
-
.muka-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
.muka-text-link--default:active {
|
|
3947
|
-
color: var(--color-text-action-pressed);
|
|
3888
|
+
/* Description overflow for medium */
|
|
3889
|
+
.muka-tile--md .muka-tile__description {
|
|
3890
|
+
overflow: hidden;
|
|
3891
|
+
text-overflow: ellipsis;
|
|
3948
3892
|
}
|
|
3949
3893
|
|
|
3950
|
-
/* ───
|
|
3951
|
-
Hover, focus and pressed all darken to the default text colour. */
|
|
3952
|
-
.muka-text-link--subtle,
|
|
3953
|
-
.muka-text-link--subtle:visited {
|
|
3954
|
-
color: var(--color-text-subtle-default);
|
|
3955
|
-
}
|
|
3894
|
+
/* ─── Price slot ──────────────────────────────────────── */
|
|
3956
3895
|
|
|
3957
|
-
.muka-
|
|
3958
|
-
|
|
3959
|
-
.muka-text-link--subtle:active {
|
|
3960
|
-
color: var(--color-text-default-default);
|
|
3896
|
+
.muka-tile__price {
|
|
3897
|
+
flex-shrink: 0;
|
|
3961
3898
|
}
|
|
3962
3899
|
|
|
3963
|
-
/* ───
|
|
3964
|
-
Same ring as every other focusable Muka component. */
|
|
3965
|
-
.muka-text-link:focus-visible {
|
|
3966
|
-
outline: 2px solid var(--color-border-focus);
|
|
3967
|
-
outline-offset: 2px;
|
|
3968
|
-
}
|
|
3900
|
+
/* ─── Action slot ─────────────────────────────────────── */
|
|
3969
3901
|
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
transition: none;
|
|
3973
|
-
}
|
|
3902
|
+
.muka-tile__action {
|
|
3903
|
+
flex-shrink: 0;
|
|
3974
3904
|
}
|
|
3975
3905
|
|
|
3976
3906
|
|
|
3977
|
-
/*
|
|
3978
|
-
/*
|
|
3979
|
-
|
|
3980
|
-
/* ─── Base ────────────────────────────────────────────── */
|
|
3981
|
-
|
|
3982
|
-
.muka-tile {
|
|
3983
|
-
display: flex;
|
|
3984
|
-
color: var(--color-text-default-default);
|
|
3985
|
-
}
|
|
3907
|
+
/* Thumbnail */
|
|
3908
|
+
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
3986
3909
|
|
|
3987
|
-
.muka-
|
|
3988
|
-
|
|
3989
|
-
|
|
3910
|
+
.muka-thumbnail {
|
|
3911
|
+
position: relative;
|
|
3912
|
+
flex-shrink: 0;
|
|
3990
3913
|
}
|
|
3991
3914
|
|
|
3992
|
-
.
|
|
3993
|
-
|
|
3994
|
-
|
|
3915
|
+
/* The frame carries the border, background and shape clip. Keeping it separate
|
|
3916
|
+
from the root lets the remove (×) button sit outside the clip (needed for the
|
|
3917
|
+
circular/ellipse shape, whose corners would otherwise clip the button). */
|
|
3918
|
+
.muka-thumbnail__frame {
|
|
3919
|
+
position: absolute;
|
|
3920
|
+
inset: 0;
|
|
3921
|
+
overflow: hidden;
|
|
3922
|
+
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
3995
3923
|
border-radius: var(--border-radius-lg);
|
|
3924
|
+
background-color: var(--color-surface-level1);
|
|
3996
3925
|
}
|
|
3997
3926
|
|
|
3998
|
-
/* ───
|
|
3927
|
+
/* ─── Shapes ──────────────────────────────────────────── */
|
|
3928
|
+
.muka-thumbnail--4-3 {
|
|
3929
|
+
width: 160px;
|
|
3930
|
+
height: 120px;
|
|
3931
|
+
}
|
|
3999
3932
|
|
|
4000
|
-
.muka-
|
|
4001
|
-
|
|
3933
|
+
.muka-thumbnail--1-1 {
|
|
3934
|
+
width: 120px;
|
|
3935
|
+
height: 120px;
|
|
4002
3936
|
}
|
|
4003
3937
|
|
|
4004
|
-
.muka-
|
|
4005
|
-
|
|
3938
|
+
.muka-thumbnail--ellipse {
|
|
3939
|
+
width: 120px;
|
|
3940
|
+
height: 120px;
|
|
4006
3941
|
}
|
|
4007
3942
|
|
|
4008
|
-
.
|
|
4009
|
-
|
|
3943
|
+
/* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
|
|
3944
|
+
.muka-thumbnail--fluid {
|
|
3945
|
+
width: 100%;
|
|
3946
|
+
height: auto;
|
|
3947
|
+
aspect-ratio: 1 / 1;
|
|
4010
3948
|
}
|
|
4011
3949
|
|
|
4012
|
-
|
|
3950
|
+
.muka-thumbnail--fluid.muka-thumbnail--4-3 {
|
|
3951
|
+
aspect-ratio: 4 / 3;
|
|
3952
|
+
}
|
|
4013
3953
|
|
|
4014
|
-
.muka-
|
|
4015
|
-
|
|
3954
|
+
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
3955
|
+
border-radius: var(--border-radius-full);
|
|
4016
3956
|
}
|
|
4017
3957
|
|
|
4018
|
-
.
|
|
4019
|
-
|
|
4020
|
-
|
|
3958
|
+
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
3959
|
+
interactive hover zoom has a clean origin. */
|
|
3960
|
+
.muka-thumbnail__image {
|
|
3961
|
+
position: absolute;
|
|
3962
|
+
inset: 0;
|
|
3963
|
+
width: 100%;
|
|
3964
|
+
height: 100%;
|
|
3965
|
+
object-fit: cover;
|
|
3966
|
+
display: block;
|
|
3967
|
+
transform-origin: center;
|
|
3968
|
+
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
3969
|
+
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4021
3970
|
}
|
|
4022
3971
|
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
3972
|
+
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
3973
|
+
.muka-thumbnail__trigger {
|
|
3974
|
+
position: absolute;
|
|
3975
|
+
inset: 0;
|
|
3976
|
+
padding: 0;
|
|
3977
|
+
border: 0;
|
|
3978
|
+
background: none;
|
|
3979
|
+
cursor: pointer;
|
|
3980
|
+
overflow: hidden;
|
|
4026
3981
|
}
|
|
4027
3982
|
|
|
4028
|
-
|
|
3983
|
+
.muka-thumbnail__trigger:focus-visible {
|
|
3984
|
+
outline: 2px solid var(--color-border-focus);
|
|
3985
|
+
outline-offset: -2px;
|
|
3986
|
+
}
|
|
4029
3987
|
|
|
4030
|
-
|
|
4031
|
-
.muka-
|
|
4032
|
-
|
|
4033
|
-
align-items: center;
|
|
3988
|
+
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
3989
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
3990
|
+
transform: scale(1.05);
|
|
4034
3991
|
}
|
|
4035
3992
|
|
|
4036
|
-
|
|
4037
|
-
.muka-
|
|
4038
|
-
|
|
3993
|
+
/* ─── Loading overlay + progress donut ────────────────── */
|
|
3994
|
+
.muka-thumbnail__overlay {
|
|
3995
|
+
position: absolute;
|
|
3996
|
+
inset: 0;
|
|
3997
|
+
display: flex;
|
|
4039
3998
|
align-items: center;
|
|
3999
|
+
justify-content: center;
|
|
4000
|
+
background-color: var(--dialog-color-backdrop);
|
|
4040
4001
|
}
|
|
4041
4002
|
|
|
4042
|
-
.muka-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
align-items: flex-start;
|
|
4003
|
+
.muka-thumbnail__progress {
|
|
4004
|
+
width: 40px;
|
|
4005
|
+
height: 40px;
|
|
4046
4006
|
}
|
|
4047
4007
|
|
|
4048
|
-
/* ───
|
|
4008
|
+
/* ─── Error / corrupt state ───────────────────────────── */
|
|
4009
|
+
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
4010
|
+
background-color: var(--alias-color-state-error-muted);
|
|
4011
|
+
border-color: var(--alias-color-state-error-default);
|
|
4012
|
+
}
|
|
4049
4013
|
|
|
4050
|
-
.muka-
|
|
4051
|
-
position:
|
|
4052
|
-
|
|
4053
|
-
overflow: hidden;
|
|
4014
|
+
.muka-thumbnail__error {
|
|
4015
|
+
position: absolute;
|
|
4016
|
+
inset: 0;
|
|
4054
4017
|
display: flex;
|
|
4055
4018
|
flex-direction: column;
|
|
4056
|
-
|
|
4019
|
+
align-items: center;
|
|
4020
|
+
justify-content: center;
|
|
4021
|
+
gap: var(--spacing-2);
|
|
4022
|
+
padding: var(--spacing-3);
|
|
4023
|
+
text-align: center;
|
|
4057
4024
|
}
|
|
4058
4025
|
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
.muka-tile--md .muka-tile__photos {
|
|
4062
|
-
border-radius: var(--border-radius-lg);
|
|
4026
|
+
.muka-thumbnail__error-icon {
|
|
4027
|
+
color: var(--alert-color-error-accent);
|
|
4063
4028
|
}
|
|
4064
4029
|
|
|
4065
|
-
.muka-
|
|
4066
|
-
|
|
4030
|
+
.muka-thumbnail__caption {
|
|
4031
|
+
max-width: 100%;
|
|
4032
|
+
overflow: hidden;
|
|
4033
|
+
text-overflow: ellipsis;
|
|
4034
|
+
white-space: nowrap;
|
|
4035
|
+
color: var(--alert-color-error-accent);
|
|
4036
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4037
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
4038
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4039
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4067
4040
|
}
|
|
4068
4041
|
|
|
4069
|
-
/*
|
|
4070
|
-
.muka-
|
|
4071
|
-
|
|
4042
|
+
/* ─── Remove (×) button ───────────────────────────────── */
|
|
4043
|
+
.muka-thumbnail__remove {
|
|
4044
|
+
position: absolute;
|
|
4045
|
+
top: var(--spacing-2);
|
|
4046
|
+
right: var(--spacing-2);
|
|
4047
|
+
display: flex;
|
|
4048
|
+
align-items: center;
|
|
4049
|
+
justify-content: center;
|
|
4050
|
+
width: var(--size-2xl);
|
|
4051
|
+
height: var(--size-2xl);
|
|
4052
|
+
padding: 0;
|
|
4053
|
+
color: var(--button-color-tertiary-foreground-default);
|
|
4054
|
+
background-color: var(--button-color-tertiary-background-default);
|
|
4055
|
+
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
4056
|
+
border-radius: var(--border-radius-lg);
|
|
4057
|
+
cursor: pointer;
|
|
4058
|
+
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
4059
|
+
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4072
4060
|
}
|
|
4073
4061
|
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4062
|
+
.muka-thumbnail__remove:hover {
|
|
4063
|
+
color: var(--button-color-tertiary-foreground-hover);
|
|
4064
|
+
background-color: var(--button-color-tertiary-background-hover);
|
|
4065
|
+
border-color: var(--button-color-tertiary-border-hover);
|
|
4078
4066
|
}
|
|
4079
4067
|
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4068
|
+
.muka-thumbnail__remove:active {
|
|
4069
|
+
color: var(--button-color-tertiary-foreground-pressed);
|
|
4070
|
+
background-color: var(--button-color-tertiary-background-pressed);
|
|
4071
|
+
border-color: var(--button-color-tertiary-border-pressed);
|
|
4084
4072
|
}
|
|
4085
4073
|
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
width: 80px;
|
|
4090
|
-
align-self: stretch;
|
|
4074
|
+
.muka-thumbnail__remove:focus-visible {
|
|
4075
|
+
outline: 2px solid var(--color-border-focus);
|
|
4076
|
+
outline-offset: 2px;
|
|
4091
4077
|
}
|
|
4092
4078
|
|
|
4093
|
-
/* ───
|
|
4079
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4080
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4081
|
+
.muka-thumbnail__image,
|
|
4082
|
+
.muka-thumbnail__remove {
|
|
4083
|
+
transition: none;
|
|
4084
|
+
}
|
|
4094
4085
|
|
|
4095
|
-
.muka-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
overflow: hidden;
|
|
4099
|
-
flex-shrink: 0;
|
|
4086
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4087
|
+
transform: none;
|
|
4088
|
+
}
|
|
4100
4089
|
}
|
|
4101
4090
|
|
|
4102
|
-
/* 16:9 aspect for lg and md */
|
|
4103
|
-
.muka-tile--lg .muka-tile__photo-main,
|
|
4104
|
-
.muka-tile--md .muka-tile__photo-main {
|
|
4105
|
-
aspect-ratio: 1280 / 720;
|
|
4106
|
-
}
|
|
4107
4091
|
|
|
4108
|
-
/*
|
|
4109
|
-
|
|
4110
|
-
aspect-ratio: 1 / 1;
|
|
4111
|
-
}
|
|
4092
|
+
/* Textarea */
|
|
4093
|
+
/* Textarea Component Styles - Using Muka Design Tokens */
|
|
4112
4094
|
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
height: 80px;
|
|
4118
|
-
aspect-ratio: auto;
|
|
4095
|
+
.muka-textarea {
|
|
4096
|
+
display: inline-flex;
|
|
4097
|
+
flex-direction: column;
|
|
4098
|
+
gap: var(--spacing-2);
|
|
4119
4099
|
}
|
|
4120
4100
|
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
display: block;
|
|
4101
|
+
/* Label */
|
|
4102
|
+
.muka-textarea__label {
|
|
4103
|
+
color: var(--color-text-default-default);
|
|
4104
|
+
cursor: pointer;
|
|
4126
4105
|
}
|
|
4127
4106
|
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4107
|
+
.muka-textarea__label--sm {
|
|
4108
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
4109
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4110
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4111
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4133
4112
|
}
|
|
4134
4113
|
|
|
4135
|
-
.muka-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4114
|
+
.muka-textarea__label--md {
|
|
4115
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
4116
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
4117
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
4118
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
4139
4119
|
}
|
|
4140
4120
|
|
|
4141
|
-
.muka-
|
|
4142
|
-
|
|
4143
|
-
|
|
4121
|
+
.muka-textarea__label--lg {
|
|
4122
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
4123
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
4124
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
4125
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
4144
4126
|
}
|
|
4145
4127
|
|
|
4146
|
-
|
|
4128
|
+
.muka-textarea__required {
|
|
4129
|
+
color: var(--color-state-error-default);
|
|
4130
|
+
}
|
|
4147
4131
|
|
|
4148
|
-
|
|
4132
|
+
/* Field container */
|
|
4133
|
+
.muka-textarea__field {
|
|
4149
4134
|
display: flex;
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4135
|
+
background-color: var(--input-field-color-default-background);
|
|
4136
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
4137
|
+
border-radius: var(--input-field-radius-md);
|
|
4138
|
+
padding: var(--input-field-padding-y) var(--input-field-padding-x);
|
|
4139
|
+
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
4140
|
+
box-sizing: border-box;
|
|
4154
4141
|
}
|
|
4155
4142
|
|
|
4156
|
-
.muka-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
flex-shrink: 0;
|
|
4160
|
-
overflow: hidden;
|
|
4143
|
+
.muka-textarea__field--sm {
|
|
4144
|
+
min-height: var(--input-textarea-height-sm);
|
|
4145
|
+
border-radius: var(--input-field-radius-sm);
|
|
4161
4146
|
}
|
|
4162
4147
|
|
|
4163
|
-
.muka-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
object-fit: cover;
|
|
4167
|
-
display: block;
|
|
4148
|
+
.muka-textarea__field--md {
|
|
4149
|
+
min-height: var(--input-textarea-height-default);
|
|
4150
|
+
border-radius: var(--input-field-radius-md);
|
|
4168
4151
|
}
|
|
4169
4152
|
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4153
|
+
.muka-textarea__field--lg {
|
|
4154
|
+
min-height: var(--input-textarea-height-lg);
|
|
4155
|
+
border-radius: var(--input-field-radius-lg);
|
|
4173
4156
|
}
|
|
4174
4157
|
|
|
4175
|
-
/*
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
min-width: 0;
|
|
4158
|
+
/* Focus state */
|
|
4159
|
+
.muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
|
|
4160
|
+
border-width: var(--border-width-bold);
|
|
4161
|
+
border-color: var(--input-field-color-focus-border);
|
|
4162
|
+
background-color: var(--input-field-color-focus-background);
|
|
4163
|
+
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
4182
4164
|
}
|
|
4183
4165
|
|
|
4184
|
-
/*
|
|
4185
|
-
.muka-
|
|
4186
|
-
|
|
4187
|
-
|
|
4166
|
+
/* Error state */
|
|
4167
|
+
.muka-textarea__field--error:not(.muka-textarea__field--disabled) {
|
|
4168
|
+
border-width: var(--border-width-bold);
|
|
4169
|
+
border-color: var(--input-field-color-error-border);
|
|
4170
|
+
background-color: var(--input-field-color-error-background);
|
|
4171
|
+
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
4188
4172
|
}
|
|
4189
4173
|
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4174
|
+
/* Disabled state */
|
|
4175
|
+
.muka-textarea__field--disabled {
|
|
4176
|
+
background-color: var(--input-field-color-disabled-background);
|
|
4177
|
+
border-color: var(--input-field-color-disabled-border);
|
|
4178
|
+
cursor: not-allowed;
|
|
4193
4179
|
}
|
|
4194
4180
|
|
|
4195
|
-
|
|
4196
|
-
|
|
4181
|
+
/* Native textarea */
|
|
4182
|
+
.muka-textarea__native {
|
|
4183
|
+
flex: 1;
|
|
4184
|
+
border: none;
|
|
4185
|
+
outline: none;
|
|
4186
|
+
background: transparent;
|
|
4187
|
+
color: var(--input-field-color-default-foreground);
|
|
4188
|
+
font-family: var(--text-input-md-fontFamily);
|
|
4189
|
+
font-weight: var(--text-input-md-fontWeight);
|
|
4190
|
+
font-size: var(--text-input-md-fontSize);
|
|
4191
|
+
line-height: var(--text-input-md-lineHeight);
|
|
4192
|
+
padding: 0;
|
|
4193
|
+
width: 100%;
|
|
4194
|
+
min-width: 0;
|
|
4197
4195
|
}
|
|
4198
4196
|
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4197
|
+
.muka-textarea__field--sm .muka-textarea__native {
|
|
4198
|
+
font-family: var(--text-input-sm-fontFamily);
|
|
4199
|
+
font-weight: var(--text-input-sm-fontWeight);
|
|
4200
|
+
font-size: var(--text-input-sm-fontSize);
|
|
4201
|
+
line-height: var(--text-input-sm-lineHeight);
|
|
4203
4202
|
}
|
|
4204
4203
|
|
|
4205
|
-
.muka-
|
|
4206
|
-
|
|
4207
|
-
|
|
4204
|
+
.muka-textarea__field--lg .muka-textarea__native {
|
|
4205
|
+
font-family: var(--text-input-lg-fontFamily);
|
|
4206
|
+
font-weight: var(--text-input-lg-fontWeight);
|
|
4207
|
+
font-size: var(--text-input-lg-fontSize);
|
|
4208
|
+
line-height: var(--text-input-lg-lineHeight);
|
|
4208
4209
|
}
|
|
4209
4210
|
|
|
4210
|
-
.muka-
|
|
4211
|
-
|
|
4212
|
-
padding: var(--spacing-2) var(--spacing-3);
|
|
4211
|
+
.muka-textarea__native::placeholder {
|
|
4212
|
+
color: var(--color-text-subtle-default);
|
|
4213
4213
|
}
|
|
4214
4214
|
|
|
4215
|
-
.muka-
|
|
4216
|
-
|
|
4217
|
-
|
|
4215
|
+
.muka-textarea__field--disabled .muka-textarea__native {
|
|
4216
|
+
color: var(--input-field-color-disabled-foreground);
|
|
4217
|
+
cursor: not-allowed;
|
|
4218
4218
|
}
|
|
4219
4219
|
|
|
4220
|
-
/*
|
|
4221
|
-
|
|
4222
|
-
.muka-tile__header {
|
|
4220
|
+
/* Footer (helper/error + count) */
|
|
4221
|
+
.muka-textarea__footer {
|
|
4223
4222
|
display: flex;
|
|
4223
|
+
justify-content: space-between;
|
|
4224
4224
|
align-items: flex-start;
|
|
4225
|
-
gap: var(--spacing-4);
|
|
4226
|
-
}
|
|
4227
|
-
|
|
4228
|
-
/* Small horizontal: row with text and action */
|
|
4229
|
-
.muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
|
|
4230
4225
|
gap: var(--spacing-2);
|
|
4231
|
-
align-items: center;
|
|
4232
|
-
padding-top: var(--spacing-1);
|
|
4233
4226
|
}
|
|
4234
4227
|
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
gap: var(--spacing-2);
|
|
4228
|
+
.muka-textarea__helper {
|
|
4229
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4230
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4231
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
4232
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4233
|
+
color: var(--color-text-subtle-default);
|
|
4234
|
+
margin: 0;
|
|
4243
4235
|
}
|
|
4244
4236
|
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4237
|
+
.muka-textarea__error {
|
|
4238
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4239
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4240
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
4241
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4242
|
+
color: var(--color-state-error-default);
|
|
4248
4243
|
margin: 0;
|
|
4249
4244
|
}
|
|
4250
4245
|
|
|
4251
|
-
.muka-
|
|
4252
|
-
font-family: var(--text-label-
|
|
4253
|
-
font-weight: var(--text-label-
|
|
4254
|
-
font-size: var(--text-label-
|
|
4255
|
-
line-height: var(--text-label-
|
|
4256
|
-
color: var(--color-text-
|
|
4246
|
+
.muka-textarea__count {
|
|
4247
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4248
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4249
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
4250
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4251
|
+
color: var(--color-text-subtle-default);
|
|
4252
|
+
margin-left: auto;
|
|
4257
4253
|
}
|
|
4258
4254
|
|
|
4259
|
-
.muka-tile--md .muka-tile__heading {
|
|
4260
|
-
font-family: var(--text-label-xl-semibold-fontFamily);
|
|
4261
|
-
font-weight: var(--text-label-xl-semibold-fontWeight);
|
|
4262
|
-
font-size: var(--text-label-xl-semibold-fontSize);
|
|
4263
|
-
line-height: var(--text-label-xl-semibold-lineHeight);
|
|
4264
|
-
color: var(--color-text-default-default);
|
|
4265
|
-
}
|
|
4266
4255
|
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
4270
|
-
font-size: var(--text-label-lg-bold-fontSize);
|
|
4271
|
-
line-height: var(--text-label-lg-bold-lineHeight);
|
|
4272
|
-
color: var(--color-text-default-default);
|
|
4273
|
-
}
|
|
4256
|
+
/* TextLink */
|
|
4257
|
+
/* TextLink Component Styles - Using Muka Design Tokens */
|
|
4274
4258
|
|
|
4275
|
-
|
|
4259
|
+
.muka-text-link {
|
|
4260
|
+
display: inline;
|
|
4261
|
+
cursor: pointer;
|
|
4262
|
+
text-decoration: underline;
|
|
4263
|
+
/* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
|
|
4264
|
+
text-underline-offset: 0.2em;
|
|
4265
|
+
text-decoration-thickness: from-font;
|
|
4266
|
+
/* Rounds the focus ring's corners; the link itself has no visible box. */
|
|
4267
|
+
border-radius: var(--border-radius-sm);
|
|
4268
|
+
transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
|
|
4269
|
+
}
|
|
4276
4270
|
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4271
|
+
/* ─── Sizes ───────────────────────────────────────────────
|
|
4272
|
+
Mirrors the body text scale so a link matches the copy it sits in. */
|
|
4273
|
+
.muka-text-link--sm {
|
|
4274
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4275
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4276
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
4277
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4280
4278
|
}
|
|
4281
4279
|
|
|
4282
|
-
.muka-
|
|
4283
|
-
font-family: var(--text-
|
|
4284
|
-
font-weight: var(--text-
|
|
4285
|
-
font-size: var(--text-
|
|
4286
|
-
line-height: var(--text-
|
|
4287
|
-
}
|
|
4288
|
-
|
|
4289
|
-
.muka-tile--md .muka-tile__subheading,
|
|
4290
|
-
.muka-tile--sm .muka-tile__subheading {
|
|
4291
|
-
font-family: var(--text-subheading-sm-fontFamily);
|
|
4292
|
-
font-weight: var(--text-subheading-sm-fontWeight);
|
|
4293
|
-
font-size: var(--text-subheading-sm-fontSize);
|
|
4294
|
-
line-height: var(--text-subheading-sm-lineHeight);
|
|
4295
|
-
}
|
|
4296
|
-
|
|
4297
|
-
/* ─── Description typography ──────────────────────────── */
|
|
4298
|
-
|
|
4299
|
-
.muka-tile__description {
|
|
4300
|
-
margin: 0;
|
|
4301
|
-
color: var(--color-text-default-default);
|
|
4280
|
+
.muka-text-link--base {
|
|
4281
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
4282
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4283
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
4284
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
4302
4285
|
}
|
|
4303
4286
|
|
|
4304
|
-
.muka-
|
|
4287
|
+
.muka-text-link--lg {
|
|
4305
4288
|
font-family: var(--text-body-lg-regular-fontFamily);
|
|
4306
4289
|
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
4307
4290
|
font-size: var(--text-body-lg-regular-fontSize);
|
|
4308
4291
|
line-height: var(--text-body-lg-regular-lineHeight);
|
|
4309
4292
|
}
|
|
4310
4293
|
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4294
|
+
/* ─── Variant: default (accent) ───────────────────────────
|
|
4295
|
+
Visited repeats the default colour on purpose: the design treats visited and
|
|
4296
|
+
default the same, and pinning it stops the browser's purple from showing. */
|
|
4297
|
+
.muka-text-link--default,
|
|
4298
|
+
.muka-text-link--default:visited {
|
|
4299
|
+
color: var(--color-text-action-default);
|
|
4317
4300
|
}
|
|
4318
4301
|
|
|
4319
|
-
|
|
4320
|
-
.muka-
|
|
4321
|
-
|
|
4322
|
-
text-overflow: ellipsis;
|
|
4302
|
+
.muka-text-link--default:hover,
|
|
4303
|
+
.muka-text-link--default:focus-visible {
|
|
4304
|
+
color: var(--color-text-action-hover);
|
|
4323
4305
|
}
|
|
4324
4306
|
|
|
4325
|
-
|
|
4307
|
+
.muka-text-link--default:active {
|
|
4308
|
+
color: var(--color-text-action-pressed);
|
|
4309
|
+
}
|
|
4326
4310
|
|
|
4327
|
-
|
|
4328
|
-
|
|
4311
|
+
/* ─── Variant: subtle (neutral) ───────────────────────────
|
|
4312
|
+
Hover, focus and pressed all darken to the default text colour. */
|
|
4313
|
+
.muka-text-link--subtle,
|
|
4314
|
+
.muka-text-link--subtle:visited {
|
|
4315
|
+
color: var(--color-text-subtle-default);
|
|
4329
4316
|
}
|
|
4330
4317
|
|
|
4331
|
-
|
|
4318
|
+
.muka-text-link--subtle:hover,
|
|
4319
|
+
.muka-text-link--subtle:focus-visible,
|
|
4320
|
+
.muka-text-link--subtle:active {
|
|
4321
|
+
color: var(--color-text-default-default);
|
|
4322
|
+
}
|
|
4332
4323
|
|
|
4333
|
-
|
|
4334
|
-
|
|
4324
|
+
/* ─── Focus ───────────────────────────────────────────────
|
|
4325
|
+
Same ring as every other focusable Muka component. */
|
|
4326
|
+
.muka-text-link:focus-visible {
|
|
4327
|
+
outline: 2px solid var(--color-border-focus);
|
|
4328
|
+
outline-offset: 2px;
|
|
4329
|
+
}
|
|
4330
|
+
|
|
4331
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4332
|
+
.muka-text-link {
|
|
4333
|
+
transition: none;
|
|
4334
|
+
}
|
|
4335
4335
|
}
|
|
4336
4336
|
|
|
4337
4337
|
|
|
@@ -4929,6 +4929,114 @@ body {
|
|
|
4929
4929
|
}
|
|
4930
4930
|
|
|
4931
4931
|
|
|
4932
|
+
/* SwipeActions */
|
|
4933
|
+
/* SwipeActions Component Styles */
|
|
4934
|
+
|
|
4935
|
+
.muka-swipe-actions {
|
|
4936
|
+
position: relative;
|
|
4937
|
+
overflow: hidden;
|
|
4938
|
+
touch-action: pan-y;
|
|
4939
|
+
-webkit-user-select: none;
|
|
4940
|
+
user-select: none;
|
|
4941
|
+
background-color: var(--color-surface-level3);
|
|
4942
|
+
}
|
|
4943
|
+
|
|
4944
|
+
.muka-swipe-actions--disabled {
|
|
4945
|
+
touch-action: auto;
|
|
4946
|
+
}
|
|
4947
|
+
|
|
4948
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
4949
|
+
|
|
4950
|
+
.muka-swipe-actions__row {
|
|
4951
|
+
position: relative;
|
|
4952
|
+
z-index: 1;
|
|
4953
|
+
background-color: inherit;
|
|
4954
|
+
will-change: transform;
|
|
4955
|
+
}
|
|
4956
|
+
|
|
4957
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
4958
|
+
|
|
4959
|
+
.muka-swipe-actions__panel {
|
|
4960
|
+
position: absolute;
|
|
4961
|
+
top: 0;
|
|
4962
|
+
bottom: 0;
|
|
4963
|
+
display: flex;
|
|
4964
|
+
align-items: stretch;
|
|
4965
|
+
z-index: 0;
|
|
4966
|
+
}
|
|
4967
|
+
|
|
4968
|
+
.muka-swipe-actions__panel--left {
|
|
4969
|
+
left: 0;
|
|
4970
|
+
}
|
|
4971
|
+
|
|
4972
|
+
.muka-swipe-actions__panel--right {
|
|
4973
|
+
right: 0;
|
|
4974
|
+
}
|
|
4975
|
+
|
|
4976
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
4977
|
+
|
|
4978
|
+
.muka-swipe-actions__button {
|
|
4979
|
+
display: flex;
|
|
4980
|
+
flex-direction: column;
|
|
4981
|
+
align-items: center;
|
|
4982
|
+
justify-content: center;
|
|
4983
|
+
gap: var(--spacing-1);
|
|
4984
|
+
border: none;
|
|
4985
|
+
cursor: pointer;
|
|
4986
|
+
padding: var(--spacing-2);
|
|
4987
|
+
background-color: var(--color-surface-level2);
|
|
4988
|
+
color: var(--color-text-default-default);
|
|
4989
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
4990
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4991
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4992
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4993
|
+
-webkit-tap-highlight-color: transparent;
|
|
4994
|
+
transition: filter 0.12s ease;
|
|
4995
|
+
}
|
|
4996
|
+
|
|
4997
|
+
.muka-swipe-actions__button:hover {
|
|
4998
|
+
filter: brightness(0.95);
|
|
4999
|
+
}
|
|
5000
|
+
|
|
5001
|
+
.muka-swipe-actions__button:focus-visible {
|
|
5002
|
+
outline: 2px solid var(--color-action-default);
|
|
5003
|
+
outline-offset: -2px;
|
|
5004
|
+
}
|
|
5005
|
+
|
|
5006
|
+
.muka-swipe-actions__button-icon {
|
|
5007
|
+
display: inline-flex;
|
|
5008
|
+
align-items: center;
|
|
5009
|
+
justify-content: center;
|
|
5010
|
+
}
|
|
5011
|
+
|
|
5012
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
5013
|
+
|
|
5014
|
+
.muka-swipe-actions__button--neutral {
|
|
5015
|
+
background-color: var(--color-surface-level2);
|
|
5016
|
+
color: var(--color-text-default-default);
|
|
5017
|
+
}
|
|
5018
|
+
|
|
5019
|
+
.muka-swipe-actions__button--primary {
|
|
5020
|
+
background-color: var(--color-action-default);
|
|
5021
|
+
color: var(--color-text-default-inverse);
|
|
5022
|
+
}
|
|
5023
|
+
|
|
5024
|
+
.muka-swipe-actions__button--success {
|
|
5025
|
+
background-color: var(--color-state-success-default);
|
|
5026
|
+
color: var(--color-text-default-inverse);
|
|
5027
|
+
}
|
|
5028
|
+
|
|
5029
|
+
.muka-swipe-actions__button--warning {
|
|
5030
|
+
background-color: var(--color-state-warning-default);
|
|
5031
|
+
color: var(--color-text-default-default);
|
|
5032
|
+
}
|
|
5033
|
+
|
|
5034
|
+
.muka-swipe-actions__button--destructive {
|
|
5035
|
+
background-color: var(--color-state-error-default);
|
|
5036
|
+
color: var(--color-text-default-inverse);
|
|
5037
|
+
}
|
|
5038
|
+
|
|
5039
|
+
|
|
4932
5040
|
/* Spinner */
|
|
4933
5041
|
/* Spinner Component Styles */
|
|
4934
5042
|
|
|
@@ -5434,81 +5542,6 @@ body {
|
|
|
5434
5542
|
}
|
|
5435
5543
|
|
|
5436
5544
|
|
|
5437
|
-
/* Skeleton */
|
|
5438
|
-
/* Skeleton Component Styles */
|
|
5439
|
-
|
|
5440
|
-
.muka-skeleton {
|
|
5441
|
-
background-color: var(--color-surface-level1);
|
|
5442
|
-
display: block;
|
|
5443
|
-
}
|
|
5444
|
-
|
|
5445
|
-
/* Variants */
|
|
5446
|
-
.muka-skeleton--text {
|
|
5447
|
-
height: 1em;
|
|
5448
|
-
border-radius: var(--radius-md);
|
|
5449
|
-
width: 100%;
|
|
5450
|
-
}
|
|
5451
|
-
|
|
5452
|
-
.muka-skeleton--circular {
|
|
5453
|
-
width: 2.5rem;
|
|
5454
|
-
height: 2.5rem;
|
|
5455
|
-
border-radius: var(--radius-full);
|
|
5456
|
-
}
|
|
5457
|
-
|
|
5458
|
-
.muka-skeleton--rectangular {
|
|
5459
|
-
height: 7.5rem;
|
|
5460
|
-
border-radius: var(--radius-md);
|
|
5461
|
-
width: 100%;
|
|
5462
|
-
}
|
|
5463
|
-
|
|
5464
|
-
/* Last line in multi-line text is shorter */
|
|
5465
|
-
.muka-skeleton--last-line {
|
|
5466
|
-
width: 80%;
|
|
5467
|
-
}
|
|
5468
|
-
|
|
5469
|
-
/* Lines container */
|
|
5470
|
-
.muka-skeleton__lines {
|
|
5471
|
-
display: flex;
|
|
5472
|
-
flex-direction: column;
|
|
5473
|
-
gap: var(--spacing-2);
|
|
5474
|
-
}
|
|
5475
|
-
|
|
5476
|
-
/* Shimmer animation */
|
|
5477
|
-
@keyframes muka-skeleton-shimmer {
|
|
5478
|
-
0% {
|
|
5479
|
-
background-position: -200% 0;
|
|
5480
|
-
}
|
|
5481
|
-
100% {
|
|
5482
|
-
background-position: 200% 0;
|
|
5483
|
-
}
|
|
5484
|
-
}
|
|
5485
|
-
|
|
5486
|
-
.muka-skeleton--shimmer {
|
|
5487
|
-
background: linear-gradient(
|
|
5488
|
-
90deg,
|
|
5489
|
-
var(--color-surface-level1) 25%,
|
|
5490
|
-
var(--color-surface-level2) 50%,
|
|
5491
|
-
var(--color-surface-level1) 75%
|
|
5492
|
-
);
|
|
5493
|
-
background-size: 200% 100%;
|
|
5494
|
-
animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
|
|
5495
|
-
}
|
|
5496
|
-
|
|
5497
|
-
/* Pulse animation */
|
|
5498
|
-
@keyframes muka-skeleton-pulse {
|
|
5499
|
-
0%, 100% {
|
|
5500
|
-
opacity: 1;
|
|
5501
|
-
}
|
|
5502
|
-
50% {
|
|
5503
|
-
opacity: 0.4;
|
|
5504
|
-
}
|
|
5505
|
-
}
|
|
5506
|
-
|
|
5507
|
-
.muka-skeleton--pulse {
|
|
5508
|
-
animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
|
|
5509
|
-
}
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
5545
|
/* SiteHeader */
|
|
5513
5546
|
/* SiteHeader Component Styles */
|
|
5514
5547
|
|
|
@@ -5616,7 +5649,82 @@ body {
|
|
|
5616
5649
|
}
|
|
5617
5650
|
|
|
5618
5651
|
|
|
5619
|
-
/*
|
|
5652
|
+
/* Skeleton */
|
|
5653
|
+
/* Skeleton Component Styles */
|
|
5654
|
+
|
|
5655
|
+
.muka-skeleton {
|
|
5656
|
+
background-color: var(--color-surface-level1);
|
|
5657
|
+
display: block;
|
|
5658
|
+
}
|
|
5659
|
+
|
|
5660
|
+
/* Variants */
|
|
5661
|
+
.muka-skeleton--text {
|
|
5662
|
+
height: 1em;
|
|
5663
|
+
border-radius: var(--radius-md);
|
|
5664
|
+
width: 100%;
|
|
5665
|
+
}
|
|
5666
|
+
|
|
5667
|
+
.muka-skeleton--circular {
|
|
5668
|
+
width: 2.5rem;
|
|
5669
|
+
height: 2.5rem;
|
|
5670
|
+
border-radius: var(--radius-full);
|
|
5671
|
+
}
|
|
5672
|
+
|
|
5673
|
+
.muka-skeleton--rectangular {
|
|
5674
|
+
height: 7.5rem;
|
|
5675
|
+
border-radius: var(--radius-md);
|
|
5676
|
+
width: 100%;
|
|
5677
|
+
}
|
|
5678
|
+
|
|
5679
|
+
/* Last line in multi-line text is shorter */
|
|
5680
|
+
.muka-skeleton--last-line {
|
|
5681
|
+
width: 80%;
|
|
5682
|
+
}
|
|
5683
|
+
|
|
5684
|
+
/* Lines container */
|
|
5685
|
+
.muka-skeleton__lines {
|
|
5686
|
+
display: flex;
|
|
5687
|
+
flex-direction: column;
|
|
5688
|
+
gap: var(--spacing-2);
|
|
5689
|
+
}
|
|
5690
|
+
|
|
5691
|
+
/* Shimmer animation */
|
|
5692
|
+
@keyframes muka-skeleton-shimmer {
|
|
5693
|
+
0% {
|
|
5694
|
+
background-position: -200% 0;
|
|
5695
|
+
}
|
|
5696
|
+
100% {
|
|
5697
|
+
background-position: 200% 0;
|
|
5698
|
+
}
|
|
5699
|
+
}
|
|
5700
|
+
|
|
5701
|
+
.muka-skeleton--shimmer {
|
|
5702
|
+
background: linear-gradient(
|
|
5703
|
+
90deg,
|
|
5704
|
+
var(--color-surface-level1) 25%,
|
|
5705
|
+
var(--color-surface-level2) 50%,
|
|
5706
|
+
var(--color-surface-level1) 75%
|
|
5707
|
+
);
|
|
5708
|
+
background-size: 200% 100%;
|
|
5709
|
+
animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
|
|
5710
|
+
}
|
|
5711
|
+
|
|
5712
|
+
/* Pulse animation */
|
|
5713
|
+
@keyframes muka-skeleton-pulse {
|
|
5714
|
+
0%, 100% {
|
|
5715
|
+
opacity: 1;
|
|
5716
|
+
}
|
|
5717
|
+
50% {
|
|
5718
|
+
opacity: 0.4;
|
|
5719
|
+
}
|
|
5720
|
+
}
|
|
5721
|
+
|
|
5722
|
+
.muka-skeleton--pulse {
|
|
5723
|
+
animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
|
|
5724
|
+
}
|
|
5725
|
+
|
|
5726
|
+
|
|
5727
|
+
/* Sheet */
|
|
5620
5728
|
/* Sheet Component Styles */
|
|
5621
5729
|
|
|
5622
5730
|
/* ─── Backdrop ────────────────────────────────────────── */
|
|
@@ -6665,114 +6773,6 @@ body {
|
|
|
6665
6773
|
}
|
|
6666
6774
|
|
|
6667
6775
|
|
|
6668
|
-
/* SwipeActions */
|
|
6669
|
-
/* SwipeActions Component Styles */
|
|
6670
|
-
|
|
6671
|
-
.muka-swipe-actions {
|
|
6672
|
-
position: relative;
|
|
6673
|
-
overflow: hidden;
|
|
6674
|
-
touch-action: pan-y;
|
|
6675
|
-
-webkit-user-select: none;
|
|
6676
|
-
user-select: none;
|
|
6677
|
-
background-color: var(--color-surface-level3);
|
|
6678
|
-
}
|
|
6679
|
-
|
|
6680
|
-
.muka-swipe-actions--disabled {
|
|
6681
|
-
touch-action: auto;
|
|
6682
|
-
}
|
|
6683
|
-
|
|
6684
|
-
/* ─── Row that holds the actual content ────────────────── */
|
|
6685
|
-
|
|
6686
|
-
.muka-swipe-actions__row {
|
|
6687
|
-
position: relative;
|
|
6688
|
-
z-index: 1;
|
|
6689
|
-
background-color: inherit;
|
|
6690
|
-
will-change: transform;
|
|
6691
|
-
}
|
|
6692
|
-
|
|
6693
|
-
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
6694
|
-
|
|
6695
|
-
.muka-swipe-actions__panel {
|
|
6696
|
-
position: absolute;
|
|
6697
|
-
top: 0;
|
|
6698
|
-
bottom: 0;
|
|
6699
|
-
display: flex;
|
|
6700
|
-
align-items: stretch;
|
|
6701
|
-
z-index: 0;
|
|
6702
|
-
}
|
|
6703
|
-
|
|
6704
|
-
.muka-swipe-actions__panel--left {
|
|
6705
|
-
left: 0;
|
|
6706
|
-
}
|
|
6707
|
-
|
|
6708
|
-
.muka-swipe-actions__panel--right {
|
|
6709
|
-
right: 0;
|
|
6710
|
-
}
|
|
6711
|
-
|
|
6712
|
-
/* ─── Single action button ─────────────────────────────── */
|
|
6713
|
-
|
|
6714
|
-
.muka-swipe-actions__button {
|
|
6715
|
-
display: flex;
|
|
6716
|
-
flex-direction: column;
|
|
6717
|
-
align-items: center;
|
|
6718
|
-
justify-content: center;
|
|
6719
|
-
gap: var(--spacing-1);
|
|
6720
|
-
border: none;
|
|
6721
|
-
cursor: pointer;
|
|
6722
|
-
padding: var(--spacing-2);
|
|
6723
|
-
background-color: var(--color-surface-level2);
|
|
6724
|
-
color: var(--color-text-default-default);
|
|
6725
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
6726
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
6727
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
6728
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
6729
|
-
-webkit-tap-highlight-color: transparent;
|
|
6730
|
-
transition: filter 0.12s ease;
|
|
6731
|
-
}
|
|
6732
|
-
|
|
6733
|
-
.muka-swipe-actions__button:hover {
|
|
6734
|
-
filter: brightness(0.95);
|
|
6735
|
-
}
|
|
6736
|
-
|
|
6737
|
-
.muka-swipe-actions__button:focus-visible {
|
|
6738
|
-
outline: 2px solid var(--color-action-default);
|
|
6739
|
-
outline-offset: -2px;
|
|
6740
|
-
}
|
|
6741
|
-
|
|
6742
|
-
.muka-swipe-actions__button-icon {
|
|
6743
|
-
display: inline-flex;
|
|
6744
|
-
align-items: center;
|
|
6745
|
-
justify-content: center;
|
|
6746
|
-
}
|
|
6747
|
-
|
|
6748
|
-
/* ─── Color variants ───────────────────────────────────── */
|
|
6749
|
-
|
|
6750
|
-
.muka-swipe-actions__button--neutral {
|
|
6751
|
-
background-color: var(--color-surface-level2);
|
|
6752
|
-
color: var(--color-text-default-default);
|
|
6753
|
-
}
|
|
6754
|
-
|
|
6755
|
-
.muka-swipe-actions__button--primary {
|
|
6756
|
-
background-color: var(--color-action-default);
|
|
6757
|
-
color: var(--color-text-default-inverse);
|
|
6758
|
-
}
|
|
6759
|
-
|
|
6760
|
-
.muka-swipe-actions__button--success {
|
|
6761
|
-
background-color: var(--color-state-success-default);
|
|
6762
|
-
color: var(--color-text-default-inverse);
|
|
6763
|
-
}
|
|
6764
|
-
|
|
6765
|
-
.muka-swipe-actions__button--warning {
|
|
6766
|
-
background-color: var(--color-state-warning-default);
|
|
6767
|
-
color: var(--color-text-default-default);
|
|
6768
|
-
}
|
|
6769
|
-
|
|
6770
|
-
.muka-swipe-actions__button--destructive {
|
|
6771
|
-
background-color: var(--color-state-error-default);
|
|
6772
|
-
color: var(--color-text-default-inverse);
|
|
6773
|
-
}
|
|
6774
|
-
|
|
6775
|
-
|
|
6776
6776
|
/* RadioTile */
|
|
6777
6777
|
/* RadioTile Component Styles - Using Muka Design Tokens */
|
|
6778
6778
|
|
|
@@ -7107,57 +7107,315 @@ body {
|
|
|
7107
7107
|
}
|
|
7108
7108
|
|
|
7109
7109
|
|
|
7110
|
-
/*
|
|
7111
|
-
/*
|
|
7110
|
+
/* ProgressAccordeon */
|
|
7111
|
+
/* ProgressAccordeon Component Styles — Using Muka Design Tokens */
|
|
7112
7112
|
|
|
7113
7113
|
/* ─── Root ──────────────────────────────────────────────── */
|
|
7114
|
-
.muka-progress-
|
|
7114
|
+
.muka-progress-accordeon {
|
|
7115
|
+
container-type: inline-size;
|
|
7116
|
+
display: flex;
|
|
7117
|
+
flex-direction: column;
|
|
7118
|
+
align-items: stretch;
|
|
7115
7119
|
width: 100%;
|
|
7120
|
+
/* Top padding provides the vertical rhythm between stacked steps */
|
|
7121
|
+
padding-top: var(--spacing-8);
|
|
7116
7122
|
}
|
|
7117
7123
|
|
|
7118
|
-
|
|
7119
|
-
|
|
7124
|
+
/* Per-state gap: content-bearing steps are tighter, header-only steps looser */
|
|
7125
|
+
.muka-progress-accordeon--current,
|
|
7126
|
+
.muka-progress-accordeon--current.muka-progress-accordeon--expanded,
|
|
7127
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--expanded,
|
|
7128
|
+
.muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
|
|
7129
|
+
gap: var(--spacing-6);
|
|
7120
7130
|
}
|
|
7121
7131
|
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
|
|
7125
|
-
.muka-progress-
|
|
7126
|
-
|
|
7127
|
-
overflow-y: hidden;
|
|
7128
|
-
-webkit-overflow-scrolling: touch;
|
|
7129
|
-
scrollbar-width: none;
|
|
7130
|
-
padding-inline: var(--spacing-12);
|
|
7131
|
-
box-sizing: border-box;
|
|
7132
|
+
.muka-progress-accordeon--upcoming,
|
|
7133
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
|
|
7134
|
+
.muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
|
|
7135
|
+
.muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
|
|
7136
|
+
gap: var(--spacing-8);
|
|
7132
7137
|
}
|
|
7133
7138
|
|
|
7134
|
-
.
|
|
7135
|
-
|
|
7139
|
+
/* Collapsible steps group header + slot. The header↔content gap lives inside the
|
|
7140
|
+
collapsing slot (as padding-top) so it collapses with the content, so the
|
|
7141
|
+
body gap itself is 0. */
|
|
7142
|
+
.muka-progress-accordeon__body {
|
|
7143
|
+
display: flex;
|
|
7144
|
+
flex-direction: column;
|
|
7145
|
+
gap: 0;
|
|
7146
|
+
width: 100%;
|
|
7136
7147
|
}
|
|
7137
7148
|
|
|
7138
|
-
/* ───
|
|
7139
|
-
.muka-progress-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7149
|
+
/* ─── Header ─────────────────────────────────────────────── */
|
|
7150
|
+
.muka-progress-accordeon__header {
|
|
7151
|
+
display: flex;
|
|
7152
|
+
flex-direction: column;
|
|
7153
|
+
gap: var(--spacing-3);
|
|
7154
|
+
width: 100%;
|
|
7144
7155
|
}
|
|
7145
7156
|
|
|
7146
|
-
|
|
7147
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__steps {
|
|
7148
|
-
position: absolute;
|
|
7149
|
-
inset: 0;
|
|
7157
|
+
.muka-progress-accordeon__header-row {
|
|
7150
7158
|
display: flex;
|
|
7151
7159
|
align-items: flex-start;
|
|
7152
|
-
|
|
7153
|
-
|
|
7160
|
+
gap: var(--spacing-3);
|
|
7161
|
+
width: 100%;
|
|
7162
|
+
min-height: 40px;
|
|
7154
7163
|
}
|
|
7155
7164
|
|
|
7156
|
-
|
|
7157
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__step {
|
|
7165
|
+
.muka-progress-accordeon__heading-group {
|
|
7158
7166
|
display: flex;
|
|
7159
|
-
flex
|
|
7160
|
-
|
|
7167
|
+
flex: 1 0 0;
|
|
7168
|
+
min-width: 0;
|
|
7169
|
+
align-items: flex-start;
|
|
7170
|
+
gap: var(--spacing-4);
|
|
7171
|
+
}
|
|
7172
|
+
|
|
7173
|
+
/* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
|
|
7174
|
+
so a single line centres against the indicator + controls row. */
|
|
7175
|
+
.muka-progress-accordeon:has(.muka-progress-accordeon__controls)
|
|
7176
|
+
.muka-progress-accordeon__heading-group {
|
|
7177
|
+
padding-top: var(--spacing-1);
|
|
7178
|
+
}
|
|
7179
|
+
|
|
7180
|
+
.muka-progress-accordeon__controls {
|
|
7181
|
+
display: flex;
|
|
7182
|
+
flex-shrink: 0;
|
|
7183
|
+
align-items: center;
|
|
7184
|
+
gap: var(--spacing-3);
|
|
7185
|
+
}
|
|
7186
|
+
|
|
7187
|
+
/* ─── Step indicator (circle) ───────────────────────────── */
|
|
7188
|
+
.muka-progress-accordeon__indicator {
|
|
7189
|
+
width: 32px;
|
|
7190
|
+
height: 32px;
|
|
7191
|
+
flex-shrink: 0;
|
|
7192
|
+
border-radius: var(--border-radius-full);
|
|
7193
|
+
display: flex;
|
|
7194
|
+
align-items: center;
|
|
7195
|
+
justify-content: center;
|
|
7196
|
+
}
|
|
7197
|
+
|
|
7198
|
+
/* Past: dark accent-contrast circle with inverse checkmark */
|
|
7199
|
+
.muka-progress-accordeon__indicator--past {
|
|
7200
|
+
background-color: var(--alias-color-accent-contrast);
|
|
7201
|
+
color: var(--color-text-default-inverse);
|
|
7202
|
+
}
|
|
7203
|
+
|
|
7204
|
+
/* Current: accent circle with inverse bold number */
|
|
7205
|
+
.muka-progress-accordeon__indicator--current {
|
|
7206
|
+
background-color: var(--alias-color-accent-default);
|
|
7207
|
+
color: var(--color-text-default-inverse);
|
|
7208
|
+
}
|
|
7209
|
+
|
|
7210
|
+
/* Upcoming: sunken/muted circle with default-color number */
|
|
7211
|
+
.muka-progress-accordeon__indicator--upcoming {
|
|
7212
|
+
background-color: var(--color-surface-sunken);
|
|
7213
|
+
color: var(--color-text-default-default);
|
|
7214
|
+
}
|
|
7215
|
+
|
|
7216
|
+
.muka-progress-accordeon__check-icon {
|
|
7217
|
+
width: 20px;
|
|
7218
|
+
height: 20px;
|
|
7219
|
+
color: var(--color-text-default-inverse);
|
|
7220
|
+
}
|
|
7221
|
+
|
|
7222
|
+
.muka-progress-accordeon__number {
|
|
7223
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
7224
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
7225
|
+
font-size: var(--text-label-md-bold-fontSize);
|
|
7226
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
7227
|
+
text-align: center;
|
|
7228
|
+
user-select: none;
|
|
7229
|
+
}
|
|
7230
|
+
|
|
7231
|
+
/* Upcoming number is semibold (not bold) per Figma */
|
|
7232
|
+
.muka-progress-accordeon__indicator--upcoming .muka-progress-accordeon__number {
|
|
7233
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7234
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7235
|
+
}
|
|
7236
|
+
|
|
7237
|
+
/* ─── Heading (responsive: heading/md on wide, heading/sm on narrow) ─────── */
|
|
7238
|
+
.muka-progress-accordeon__heading {
|
|
7239
|
+
flex: 1 0 0;
|
|
7240
|
+
min-width: 0;
|
|
7241
|
+
margin: 0;
|
|
7242
|
+
font-family: var(--text-heading-md-fontFamily);
|
|
7243
|
+
font-weight: var(--text-heading-md-fontWeight);
|
|
7244
|
+
font-size: var(--text-heading-md-fontSize);
|
|
7245
|
+
line-height: var(--text-heading-md-lineHeight);
|
|
7246
|
+
letter-spacing: var(--text-heading-md-letterSpacing);
|
|
7247
|
+
color: var(--color-text-default-default);
|
|
7248
|
+
}
|
|
7249
|
+
|
|
7250
|
+
/* ─── Description ────────────────────────────────────────── */
|
|
7251
|
+
/* Indented 48px (32px indicator + 16px gap) to align under the heading text */
|
|
7252
|
+
.muka-progress-accordeon__description {
|
|
7253
|
+
width: 100%;
|
|
7254
|
+
padding-left: 48px;
|
|
7255
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7256
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7257
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
7258
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
7259
|
+
color: var(--color-text-default-default);
|
|
7260
|
+
}
|
|
7261
|
+
|
|
7262
|
+
/* ─── Edit button ────────────────────────────────────────── */
|
|
7263
|
+
.muka-progress-accordeon__edit {
|
|
7264
|
+
flex-shrink: 0;
|
|
7265
|
+
}
|
|
7266
|
+
|
|
7267
|
+
/* Wide container shows the labelled button; the icon-only one is hidden */
|
|
7268
|
+
.muka-progress-accordeon__edit--narrow {
|
|
7269
|
+
display: none;
|
|
7270
|
+
}
|
|
7271
|
+
|
|
7272
|
+
/* ─── Content slot ───────────────────────────────────────── */
|
|
7273
|
+
.muka-progress-accordeon__slot {
|
|
7274
|
+
display: flex;
|
|
7275
|
+
flex-direction: column;
|
|
7276
|
+
align-items: stretch;
|
|
7277
|
+
width: 100%;
|
|
7278
|
+
}
|
|
7279
|
+
|
|
7280
|
+
/* ─── Collapse/expand animation (any expandable step) ──────
|
|
7281
|
+
Animates grid-template-rows 1fr ↔ 0fr so the panel (slot + actions) grows and
|
|
7282
|
+
shrinks to its intrinsic height. Opacity fades with the same duration.
|
|
7283
|
+
Under prefers-reduced-motion, --motion-duration-view is 0ms. */
|
|
7284
|
+
.muka-progress-accordeon__panel-wrapper {
|
|
7285
|
+
display: grid;
|
|
7286
|
+
grid-template-rows: 1fr;
|
|
7287
|
+
opacity: 1;
|
|
7288
|
+
transition:
|
|
7289
|
+
grid-template-rows var(--motion-duration-view) var(--motion-easing-enter),
|
|
7290
|
+
opacity var(--motion-duration-view) var(--motion-easing-enter);
|
|
7291
|
+
}
|
|
7292
|
+
|
|
7293
|
+
.muka-progress-accordeon__panel-wrapper--collapsed {
|
|
7294
|
+
grid-template-rows: 0fr;
|
|
7295
|
+
opacity: 0;
|
|
7296
|
+
transition:
|
|
7297
|
+
grid-template-rows var(--motion-duration-view) var(--motion-easing-exit),
|
|
7298
|
+
opacity calc(var(--motion-duration-view) * 0.6) var(--motion-easing-exit);
|
|
7299
|
+
}
|
|
7300
|
+
|
|
7301
|
+
/* The direct grid child clips and must have NO padding/border of its own —
|
|
7302
|
+
min-height:0 lets it shrink, and with no padding the 0fr track reaches a true
|
|
7303
|
+
0 height (padding on the item would leave a residual gap when collapsed). */
|
|
7304
|
+
.muka-progress-accordeon__panel-clip {
|
|
7305
|
+
overflow: hidden;
|
|
7306
|
+
min-height: 0;
|
|
7307
|
+
}
|
|
7308
|
+
|
|
7309
|
+
/* Header↔content spacing + slot/actions gap live inside the clip so they
|
|
7310
|
+
collapse together with the panel. */
|
|
7311
|
+
.muka-progress-accordeon__panel {
|
|
7312
|
+
display: flex;
|
|
7313
|
+
flex-direction: column;
|
|
7314
|
+
align-items: stretch;
|
|
7315
|
+
gap: var(--spacing-6);
|
|
7316
|
+
padding-top: var(--spacing-4);
|
|
7317
|
+
width: 100%;
|
|
7318
|
+
}
|
|
7319
|
+
|
|
7320
|
+
/* ─── Action buttons (current state) ─────────────────────── */
|
|
7321
|
+
.muka-progress-accordeon__actions {
|
|
7322
|
+
display: flex;
|
|
7323
|
+
justify-content: flex-end;
|
|
7324
|
+
gap: var(--spacing-4);
|
|
7325
|
+
width: 100%;
|
|
7326
|
+
}
|
|
7327
|
+
|
|
7328
|
+
.muka-progress-accordeon__action {
|
|
7329
|
+
min-width: 160px;
|
|
7330
|
+
}
|
|
7331
|
+
|
|
7332
|
+
/* ─── Divider ────────────────────────────────────────────── */
|
|
7333
|
+
.muka-progress-accordeon__divider {
|
|
7334
|
+
width: 100%;
|
|
7335
|
+
}
|
|
7336
|
+
|
|
7337
|
+
/* ─── Responsive (narrow container) ──────────────────────── */
|
|
7338
|
+
@container (max-width: 480px) {
|
|
7339
|
+
/* Heading steps down to heading/sm. The 24px line-height is shorter than the
|
|
7340
|
+
32px step indicator, so nudge the text down to keep a single line centred. */
|
|
7341
|
+
.muka-progress-accordeon__heading {
|
|
7342
|
+
font-size: var(--text-heading-sm-fontSize);
|
|
7343
|
+
line-height: var(--text-heading-sm-lineHeight);
|
|
7344
|
+
padding-top: var(--spacing-1);
|
|
7345
|
+
}
|
|
7346
|
+
|
|
7347
|
+
/* Edit button swaps to the icon-only variant */
|
|
7348
|
+
.muka-progress-accordeon__edit--wide {
|
|
7349
|
+
display: none;
|
|
7350
|
+
}
|
|
7351
|
+
|
|
7352
|
+
.muka-progress-accordeon__edit--narrow {
|
|
7353
|
+
display: inline-flex;
|
|
7354
|
+
}
|
|
7355
|
+
|
|
7356
|
+
/* Action buttons stretch to fill the row */
|
|
7357
|
+
.muka-progress-accordeon__actions {
|
|
7358
|
+
justify-content: stretch;
|
|
7359
|
+
}
|
|
7360
|
+
|
|
7361
|
+
.muka-progress-accordeon__action {
|
|
7362
|
+
flex: 1 0 0;
|
|
7363
|
+
min-width: 0;
|
|
7364
|
+
}
|
|
7365
|
+
}
|
|
7366
|
+
|
|
7367
|
+
|
|
7368
|
+
/* ProgressTracker */
|
|
7369
|
+
/* ProgressTracker Component Styles — Using Muka Design Tokens */
|
|
7370
|
+
|
|
7371
|
+
/* ─── Root ──────────────────────────────────────────────── */
|
|
7372
|
+
.muka-progress-tracker {
|
|
7373
|
+
width: 100%;
|
|
7374
|
+
}
|
|
7375
|
+
|
|
7376
|
+
.muka-progress-tracker--horizontal {
|
|
7377
|
+
padding-bottom: var(--spacing-7);
|
|
7378
|
+
}
|
|
7379
|
+
|
|
7380
|
+
/* Scrollable: the root scrolls sideways when the steps don't fit. The inline
|
|
7381
|
+
padding leaves room for the first and last labels, which hang past their
|
|
7382
|
+
indicators; the scrollbar stays hidden (touch and trackpad still scroll). */
|
|
7383
|
+
.muka-progress-tracker--scrollable {
|
|
7384
|
+
overflow-x: auto;
|
|
7385
|
+
overflow-y: hidden;
|
|
7386
|
+
-webkit-overflow-scrolling: touch;
|
|
7387
|
+
scrollbar-width: none;
|
|
7388
|
+
padding-inline: var(--spacing-12);
|
|
7389
|
+
box-sizing: border-box;
|
|
7390
|
+
}
|
|
7391
|
+
|
|
7392
|
+
.muka-progress-tracker--scrollable::-webkit-scrollbar {
|
|
7393
|
+
display: none;
|
|
7394
|
+
}
|
|
7395
|
+
|
|
7396
|
+
/* ─── Track (layered container) ─────────────────────────── */
|
|
7397
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__track {
|
|
7398
|
+
position: relative;
|
|
7399
|
+
/* Vertical padding = (indicator size - connector height) / 2 = (32 - 4) / 2 = 14px */
|
|
7400
|
+
padding-top: 14px;
|
|
7401
|
+
padding-bottom: 14px;
|
|
7402
|
+
}
|
|
7403
|
+
|
|
7404
|
+
/* ─── Steps layer (on top) — horizontal ─────────────────── */
|
|
7405
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__steps {
|
|
7406
|
+
position: absolute;
|
|
7407
|
+
inset: 0;
|
|
7408
|
+
display: flex;
|
|
7409
|
+
align-items: flex-start;
|
|
7410
|
+
justify-content: space-between;
|
|
7411
|
+
z-index: 2;
|
|
7412
|
+
}
|
|
7413
|
+
|
|
7414
|
+
/* ─── Individual step — horizontal ──────────────────────── */
|
|
7415
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__step {
|
|
7416
|
+
display: flex;
|
|
7417
|
+
flex-direction: column;
|
|
7418
|
+
align-items: center;
|
|
7161
7419
|
position: relative;
|
|
7162
7420
|
/* Labels are absolutely positioned so the step stays 32px and
|
|
7163
7421
|
circle centers line up with the connector padding. */
|
|
@@ -7671,415 +7929,157 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
7671
7929
|
}
|
|
7672
7930
|
|
|
7673
7931
|
|
|
7674
|
-
/*
|
|
7675
|
-
/*
|
|
7932
|
+
/* Progress */
|
|
7933
|
+
/* Progress Component Styles - Using Muka Design Tokens */
|
|
7676
7934
|
|
|
7677
|
-
/*
|
|
7678
|
-
|
|
7679
|
-
|
|
7935
|
+
/* ========================================
|
|
7936
|
+
BAR VARIANT
|
|
7937
|
+
======================================== */
|
|
7938
|
+
|
|
7939
|
+
.muka-progress--bar {
|
|
7680
7940
|
display: flex;
|
|
7681
|
-
|
|
7682
|
-
|
|
7941
|
+
align-items: center;
|
|
7942
|
+
gap: var(--spacing-2);
|
|
7683
7943
|
width: 100%;
|
|
7684
|
-
/* Top padding provides the vertical rhythm between stacked steps */
|
|
7685
|
-
padding-top: var(--spacing-8);
|
|
7686
7944
|
}
|
|
7687
7945
|
|
|
7688
|
-
|
|
7689
|
-
|
|
7690
|
-
|
|
7691
|
-
|
|
7692
|
-
|
|
7693
|
-
gap: var(--spacing-6);
|
|
7946
|
+
.muka-progress--bar .muka-progress__track {
|
|
7947
|
+
flex: 1;
|
|
7948
|
+
background-color: var(--color-surface-level1);
|
|
7949
|
+
border-radius: var(--border-radius-full);
|
|
7950
|
+
overflow: hidden;
|
|
7694
7951
|
}
|
|
7695
7952
|
|
|
7696
|
-
.muka-progress-
|
|
7697
|
-
|
|
7698
|
-
.muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
|
|
7699
|
-
.muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
|
|
7700
|
-
gap: var(--spacing-8);
|
|
7953
|
+
.muka-progress--bar.muka-progress--sm .muka-progress__track {
|
|
7954
|
+
height: var(--progress-size-bar-height-sm);
|
|
7701
7955
|
}
|
|
7702
7956
|
|
|
7703
|
-
|
|
7704
|
-
|
|
7705
|
-
body gap itself is 0. */
|
|
7706
|
-
.muka-progress-accordeon__body {
|
|
7707
|
-
display: flex;
|
|
7708
|
-
flex-direction: column;
|
|
7709
|
-
gap: 0;
|
|
7710
|
-
width: 100%;
|
|
7957
|
+
.muka-progress--bar.muka-progress--md .muka-progress__track {
|
|
7958
|
+
height: var(--progress-size-bar-height-md);
|
|
7711
7959
|
}
|
|
7712
7960
|
|
|
7713
|
-
|
|
7714
|
-
|
|
7715
|
-
display: flex;
|
|
7716
|
-
flex-direction: column;
|
|
7717
|
-
gap: var(--spacing-3);
|
|
7718
|
-
width: 100%;
|
|
7961
|
+
.muka-progress--bar.muka-progress--lg .muka-progress__track {
|
|
7962
|
+
height: var(--progress-size-bar-height-lg);
|
|
7719
7963
|
}
|
|
7720
7964
|
|
|
7721
|
-
.muka-progress-
|
|
7722
|
-
|
|
7723
|
-
|
|
7724
|
-
|
|
7725
|
-
|
|
7726
|
-
min-height: 40px;
|
|
7965
|
+
.muka-progress--bar .muka-progress__fill {
|
|
7966
|
+
height: 100%;
|
|
7967
|
+
background-color: var(--color-action-default);
|
|
7968
|
+
border-radius: var(--border-radius-full);
|
|
7969
|
+
transition: width 0.3s ease;
|
|
7727
7970
|
}
|
|
7728
7971
|
|
|
7729
|
-
.muka-progress-
|
|
7730
|
-
|
|
7731
|
-
|
|
7732
|
-
|
|
7733
|
-
|
|
7734
|
-
|
|
7972
|
+
.muka-progress--bar .muka-progress__label {
|
|
7973
|
+
flex-shrink: 0;
|
|
7974
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
7975
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
7976
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
7977
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
7978
|
+
color: var(--color-text-default-default);
|
|
7979
|
+
min-width: 3ch;
|
|
7980
|
+
text-align: right;
|
|
7735
7981
|
}
|
|
7736
7982
|
|
|
7737
|
-
/*
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
padding-top: var(--spacing-1);
|
|
7983
|
+
/* Indeterminate animation for bar */
|
|
7984
|
+
.muka-progress--bar.muka-progress--indeterminate .muka-progress__fill {
|
|
7985
|
+
width: 40%;
|
|
7986
|
+
animation: muka-progress-bar-indeterminate 1.5s ease-in-out infinite;
|
|
7742
7987
|
}
|
|
7743
7988
|
|
|
7744
|
-
|
|
7745
|
-
|
|
7746
|
-
|
|
7747
|
-
|
|
7748
|
-
|
|
7989
|
+
@keyframes muka-progress-bar-indeterminate {
|
|
7990
|
+
0% {
|
|
7991
|
+
transform: translateX(-100%);
|
|
7992
|
+
}
|
|
7993
|
+
100% {
|
|
7994
|
+
transform: translateX(250%);
|
|
7995
|
+
}
|
|
7749
7996
|
}
|
|
7750
7997
|
|
|
7751
|
-
/*
|
|
7752
|
-
|
|
7753
|
-
|
|
7754
|
-
|
|
7755
|
-
|
|
7756
|
-
|
|
7757
|
-
display: flex;
|
|
7998
|
+
/* ========================================
|
|
7999
|
+
CIRCLE VARIANT
|
|
8000
|
+
======================================== */
|
|
8001
|
+
|
|
8002
|
+
.muka-progress--circle {
|
|
8003
|
+
position: relative;
|
|
8004
|
+
display: inline-flex;
|
|
7758
8005
|
align-items: center;
|
|
7759
8006
|
justify-content: center;
|
|
7760
8007
|
}
|
|
7761
8008
|
|
|
7762
|
-
|
|
7763
|
-
|
|
7764
|
-
|
|
7765
|
-
color: var(--color-text-default-inverse);
|
|
8009
|
+
.muka-progress--circle.muka-progress--sm {
|
|
8010
|
+
width: var(--progress-size-circle-diameter-sm);
|
|
8011
|
+
height: var(--progress-size-circle-diameter-sm);
|
|
7766
8012
|
}
|
|
7767
8013
|
|
|
7768
|
-
|
|
7769
|
-
|
|
7770
|
-
|
|
7771
|
-
color: var(--color-text-default-inverse);
|
|
8014
|
+
.muka-progress--circle.muka-progress--md {
|
|
8015
|
+
width: var(--progress-size-circle-diameter-md);
|
|
8016
|
+
height: var(--progress-size-circle-diameter-md);
|
|
7772
8017
|
}
|
|
7773
8018
|
|
|
7774
|
-
|
|
7775
|
-
|
|
7776
|
-
|
|
7777
|
-
color: var(--color-text-default-default);
|
|
8019
|
+
.muka-progress--circle.muka-progress--lg {
|
|
8020
|
+
width: var(--progress-size-circle-diameter-lg);
|
|
8021
|
+
height: var(--progress-size-circle-diameter-lg);
|
|
7778
8022
|
}
|
|
7779
8023
|
|
|
7780
|
-
.muka-
|
|
7781
|
-
width:
|
|
7782
|
-
height:
|
|
7783
|
-
|
|
8024
|
+
.muka-progress__circle {
|
|
8025
|
+
width: 100%;
|
|
8026
|
+
height: 100%;
|
|
8027
|
+
transform: rotate(-90deg);
|
|
7784
8028
|
}
|
|
7785
8029
|
|
|
7786
|
-
.muka-progress-
|
|
7787
|
-
|
|
7788
|
-
|
|
7789
|
-
font-size: var(--text-label-md-bold-fontSize);
|
|
7790
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
7791
|
-
text-align: center;
|
|
7792
|
-
user-select: none;
|
|
8030
|
+
.muka-progress--circle .muka-progress__track {
|
|
8031
|
+
fill: none;
|
|
8032
|
+
stroke: var(--color-surface-level1);
|
|
7793
8033
|
}
|
|
7794
8034
|
|
|
7795
|
-
|
|
7796
|
-
.muka-progress-
|
|
7797
|
-
|
|
7798
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
8035
|
+
.muka-progress--circle.muka-progress--sm .muka-progress__track,
|
|
8036
|
+
.muka-progress--circle.muka-progress--sm .muka-progress__fill {
|
|
8037
|
+
stroke-width: var(--progress-size-circle-strokeWidth-sm);
|
|
7799
8038
|
}
|
|
7800
8039
|
|
|
7801
|
-
|
|
7802
|
-
.muka-progress-
|
|
7803
|
-
|
|
7804
|
-
min-width: 0;
|
|
7805
|
-
margin: 0;
|
|
7806
|
-
font-family: var(--text-heading-md-fontFamily);
|
|
7807
|
-
font-weight: var(--text-heading-md-fontWeight);
|
|
7808
|
-
font-size: var(--text-heading-md-fontSize);
|
|
7809
|
-
line-height: var(--text-heading-md-lineHeight);
|
|
7810
|
-
letter-spacing: var(--text-heading-md-letterSpacing);
|
|
7811
|
-
color: var(--color-text-default-default);
|
|
8040
|
+
.muka-progress--circle.muka-progress--md .muka-progress__track,
|
|
8041
|
+
.muka-progress--circle.muka-progress--md .muka-progress__fill {
|
|
8042
|
+
stroke-width: var(--progress-size-circle-strokeWidth-md);
|
|
7812
8043
|
}
|
|
7813
8044
|
|
|
7814
|
-
|
|
7815
|
-
|
|
7816
|
-
|
|
7817
|
-
width: 100%;
|
|
7818
|
-
padding-left: 48px;
|
|
7819
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
7820
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7821
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
7822
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
7823
|
-
color: var(--color-text-default-default);
|
|
8045
|
+
.muka-progress--circle.muka-progress--lg .muka-progress__track,
|
|
8046
|
+
.muka-progress--circle.muka-progress--lg .muka-progress__fill {
|
|
8047
|
+
stroke-width: var(--progress-size-circle-strokeWidth-lg);
|
|
7824
8048
|
}
|
|
7825
8049
|
|
|
7826
|
-
|
|
7827
|
-
|
|
7828
|
-
|
|
8050
|
+
.muka-progress--circle .muka-progress__fill {
|
|
8051
|
+
fill: none;
|
|
8052
|
+
stroke: var(--color-action-default);
|
|
8053
|
+
stroke-linecap: round;
|
|
8054
|
+
transition: stroke-dashoffset 0.3s ease;
|
|
7829
8055
|
}
|
|
7830
8056
|
|
|
7831
|
-
|
|
7832
|
-
|
|
7833
|
-
|
|
8057
|
+
.muka-progress--circle .muka-progress__label {
|
|
8058
|
+
position: absolute;
|
|
8059
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
8060
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
8061
|
+
color: var(--color-text-default-default);
|
|
7834
8062
|
}
|
|
7835
8063
|
|
|
7836
|
-
|
|
7837
|
-
|
|
7838
|
-
display: flex;
|
|
7839
|
-
flex-direction: column;
|
|
7840
|
-
align-items: stretch;
|
|
7841
|
-
width: 100%;
|
|
8064
|
+
.muka-progress--circle.muka-progress--sm .muka-progress__label {
|
|
8065
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
7842
8066
|
}
|
|
7843
8067
|
|
|
7844
|
-
|
|
7845
|
-
|
|
7846
|
-
shrinks to its intrinsic height. Opacity fades with the same duration.
|
|
7847
|
-
Under prefers-reduced-motion, --motion-duration-view is 0ms. */
|
|
7848
|
-
.muka-progress-accordeon__panel-wrapper {
|
|
7849
|
-
display: grid;
|
|
7850
|
-
grid-template-rows: 1fr;
|
|
7851
|
-
opacity: 1;
|
|
7852
|
-
transition:
|
|
7853
|
-
grid-template-rows var(--motion-duration-view) var(--motion-easing-enter),
|
|
7854
|
-
opacity var(--motion-duration-view) var(--motion-easing-enter);
|
|
8068
|
+
.muka-progress--circle.muka-progress--md .muka-progress__label {
|
|
8069
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
7855
8070
|
}
|
|
7856
8071
|
|
|
7857
|
-
.muka-progress-
|
|
7858
|
-
|
|
7859
|
-
opacity: 0;
|
|
7860
|
-
transition:
|
|
7861
|
-
grid-template-rows var(--motion-duration-view) var(--motion-easing-exit),
|
|
7862
|
-
opacity calc(var(--motion-duration-view) * 0.6) var(--motion-easing-exit);
|
|
8072
|
+
.muka-progress--circle.muka-progress--lg .muka-progress__label {
|
|
8073
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
7863
8074
|
}
|
|
7864
8075
|
|
|
7865
|
-
/*
|
|
7866
|
-
|
|
7867
|
-
|
|
7868
|
-
.muka-progress-accordeon__panel-clip {
|
|
7869
|
-
overflow: hidden;
|
|
7870
|
-
min-height: 0;
|
|
8076
|
+
/* Indeterminate animation for circle */
|
|
8077
|
+
.muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
|
|
8078
|
+
animation: muka-progress-circle-rotate 2s linear infinite;
|
|
7871
8079
|
}
|
|
7872
8080
|
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
.muka-progress-accordeon__panel {
|
|
7876
|
-
display: flex;
|
|
7877
|
-
flex-direction: column;
|
|
7878
|
-
align-items: stretch;
|
|
7879
|
-
gap: var(--spacing-6);
|
|
7880
|
-
padding-top: var(--spacing-4);
|
|
7881
|
-
width: 100%;
|
|
7882
|
-
}
|
|
7883
|
-
|
|
7884
|
-
/* ─── Action buttons (current state) ─────────────────────── */
|
|
7885
|
-
.muka-progress-accordeon__actions {
|
|
7886
|
-
display: flex;
|
|
7887
|
-
justify-content: flex-end;
|
|
7888
|
-
gap: var(--spacing-4);
|
|
7889
|
-
width: 100%;
|
|
7890
|
-
}
|
|
7891
|
-
|
|
7892
|
-
.muka-progress-accordeon__action {
|
|
7893
|
-
min-width: 160px;
|
|
7894
|
-
}
|
|
7895
|
-
|
|
7896
|
-
/* ─── Divider ────────────────────────────────────────────── */
|
|
7897
|
-
.muka-progress-accordeon__divider {
|
|
7898
|
-
width: 100%;
|
|
7899
|
-
}
|
|
7900
|
-
|
|
7901
|
-
/* ─── Responsive (narrow container) ──────────────────────── */
|
|
7902
|
-
@container (max-width: 480px) {
|
|
7903
|
-
/* Heading steps down to heading/sm. The 24px line-height is shorter than the
|
|
7904
|
-
32px step indicator, so nudge the text down to keep a single line centred. */
|
|
7905
|
-
.muka-progress-accordeon__heading {
|
|
7906
|
-
font-size: var(--text-heading-sm-fontSize);
|
|
7907
|
-
line-height: var(--text-heading-sm-lineHeight);
|
|
7908
|
-
padding-top: var(--spacing-1);
|
|
7909
|
-
}
|
|
7910
|
-
|
|
7911
|
-
/* Edit button swaps to the icon-only variant */
|
|
7912
|
-
.muka-progress-accordeon__edit--wide {
|
|
7913
|
-
display: none;
|
|
7914
|
-
}
|
|
7915
|
-
|
|
7916
|
-
.muka-progress-accordeon__edit--narrow {
|
|
7917
|
-
display: inline-flex;
|
|
7918
|
-
}
|
|
7919
|
-
|
|
7920
|
-
/* Action buttons stretch to fill the row */
|
|
7921
|
-
.muka-progress-accordeon__actions {
|
|
7922
|
-
justify-content: stretch;
|
|
7923
|
-
}
|
|
7924
|
-
|
|
7925
|
-
.muka-progress-accordeon__action {
|
|
7926
|
-
flex: 1 0 0;
|
|
7927
|
-
min-width: 0;
|
|
7928
|
-
}
|
|
7929
|
-
}
|
|
7930
|
-
|
|
7931
|
-
|
|
7932
|
-
/* Progress */
|
|
7933
|
-
/* Progress Component Styles - Using Muka Design Tokens */
|
|
7934
|
-
|
|
7935
|
-
/* ========================================
|
|
7936
|
-
BAR VARIANT
|
|
7937
|
-
======================================== */
|
|
7938
|
-
|
|
7939
|
-
.muka-progress--bar {
|
|
7940
|
-
display: flex;
|
|
7941
|
-
align-items: center;
|
|
7942
|
-
gap: var(--spacing-2);
|
|
7943
|
-
width: 100%;
|
|
7944
|
-
}
|
|
7945
|
-
|
|
7946
|
-
.muka-progress--bar .muka-progress__track {
|
|
7947
|
-
flex: 1;
|
|
7948
|
-
background-color: var(--color-surface-level1);
|
|
7949
|
-
border-radius: var(--border-radius-full);
|
|
7950
|
-
overflow: hidden;
|
|
7951
|
-
}
|
|
7952
|
-
|
|
7953
|
-
.muka-progress--bar.muka-progress--sm .muka-progress__track {
|
|
7954
|
-
height: var(--progress-size-bar-height-sm);
|
|
7955
|
-
}
|
|
7956
|
-
|
|
7957
|
-
.muka-progress--bar.muka-progress--md .muka-progress__track {
|
|
7958
|
-
height: var(--progress-size-bar-height-md);
|
|
7959
|
-
}
|
|
7960
|
-
|
|
7961
|
-
.muka-progress--bar.muka-progress--lg .muka-progress__track {
|
|
7962
|
-
height: var(--progress-size-bar-height-lg);
|
|
7963
|
-
}
|
|
7964
|
-
|
|
7965
|
-
.muka-progress--bar .muka-progress__fill {
|
|
7966
|
-
height: 100%;
|
|
7967
|
-
background-color: var(--color-action-default);
|
|
7968
|
-
border-radius: var(--border-radius-full);
|
|
7969
|
-
transition: width 0.3s ease;
|
|
7970
|
-
}
|
|
7971
|
-
|
|
7972
|
-
.muka-progress--bar .muka-progress__label {
|
|
7973
|
-
flex-shrink: 0;
|
|
7974
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
7975
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
7976
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
7977
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
7978
|
-
color: var(--color-text-default-default);
|
|
7979
|
-
min-width: 3ch;
|
|
7980
|
-
text-align: right;
|
|
7981
|
-
}
|
|
7982
|
-
|
|
7983
|
-
/* Indeterminate animation for bar */
|
|
7984
|
-
.muka-progress--bar.muka-progress--indeterminate .muka-progress__fill {
|
|
7985
|
-
width: 40%;
|
|
7986
|
-
animation: muka-progress-bar-indeterminate 1.5s ease-in-out infinite;
|
|
7987
|
-
}
|
|
7988
|
-
|
|
7989
|
-
@keyframes muka-progress-bar-indeterminate {
|
|
7990
|
-
0% {
|
|
7991
|
-
transform: translateX(-100%);
|
|
7992
|
-
}
|
|
7993
|
-
100% {
|
|
7994
|
-
transform: translateX(250%);
|
|
7995
|
-
}
|
|
7996
|
-
}
|
|
7997
|
-
|
|
7998
|
-
/* ========================================
|
|
7999
|
-
CIRCLE VARIANT
|
|
8000
|
-
======================================== */
|
|
8001
|
-
|
|
8002
|
-
.muka-progress--circle {
|
|
8003
|
-
position: relative;
|
|
8004
|
-
display: inline-flex;
|
|
8005
|
-
align-items: center;
|
|
8006
|
-
justify-content: center;
|
|
8007
|
-
}
|
|
8008
|
-
|
|
8009
|
-
.muka-progress--circle.muka-progress--sm {
|
|
8010
|
-
width: var(--progress-size-circle-diameter-sm);
|
|
8011
|
-
height: var(--progress-size-circle-diameter-sm);
|
|
8012
|
-
}
|
|
8013
|
-
|
|
8014
|
-
.muka-progress--circle.muka-progress--md {
|
|
8015
|
-
width: var(--progress-size-circle-diameter-md);
|
|
8016
|
-
height: var(--progress-size-circle-diameter-md);
|
|
8017
|
-
}
|
|
8018
|
-
|
|
8019
|
-
.muka-progress--circle.muka-progress--lg {
|
|
8020
|
-
width: var(--progress-size-circle-diameter-lg);
|
|
8021
|
-
height: var(--progress-size-circle-diameter-lg);
|
|
8022
|
-
}
|
|
8023
|
-
|
|
8024
|
-
.muka-progress__circle {
|
|
8025
|
-
width: 100%;
|
|
8026
|
-
height: 100%;
|
|
8027
|
-
transform: rotate(-90deg);
|
|
8028
|
-
}
|
|
8029
|
-
|
|
8030
|
-
.muka-progress--circle .muka-progress__track {
|
|
8031
|
-
fill: none;
|
|
8032
|
-
stroke: var(--color-surface-level1);
|
|
8033
|
-
}
|
|
8034
|
-
|
|
8035
|
-
.muka-progress--circle.muka-progress--sm .muka-progress__track,
|
|
8036
|
-
.muka-progress--circle.muka-progress--sm .muka-progress__fill {
|
|
8037
|
-
stroke-width: var(--progress-size-circle-strokeWidth-sm);
|
|
8038
|
-
}
|
|
8039
|
-
|
|
8040
|
-
.muka-progress--circle.muka-progress--md .muka-progress__track,
|
|
8041
|
-
.muka-progress--circle.muka-progress--md .muka-progress__fill {
|
|
8042
|
-
stroke-width: var(--progress-size-circle-strokeWidth-md);
|
|
8043
|
-
}
|
|
8044
|
-
|
|
8045
|
-
.muka-progress--circle.muka-progress--lg .muka-progress__track,
|
|
8046
|
-
.muka-progress--circle.muka-progress--lg .muka-progress__fill {
|
|
8047
|
-
stroke-width: var(--progress-size-circle-strokeWidth-lg);
|
|
8048
|
-
}
|
|
8049
|
-
|
|
8050
|
-
.muka-progress--circle .muka-progress__fill {
|
|
8051
|
-
fill: none;
|
|
8052
|
-
stroke: var(--color-action-default);
|
|
8053
|
-
stroke-linecap: round;
|
|
8054
|
-
transition: stroke-dashoffset 0.3s ease;
|
|
8055
|
-
}
|
|
8056
|
-
|
|
8057
|
-
.muka-progress--circle .muka-progress__label {
|
|
8058
|
-
position: absolute;
|
|
8059
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
8060
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
8061
|
-
color: var(--color-text-default-default);
|
|
8062
|
-
}
|
|
8063
|
-
|
|
8064
|
-
.muka-progress--circle.muka-progress--sm .muka-progress__label {
|
|
8065
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
8066
|
-
}
|
|
8067
|
-
|
|
8068
|
-
.muka-progress--circle.muka-progress--md .muka-progress__label {
|
|
8069
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
8070
|
-
}
|
|
8071
|
-
|
|
8072
|
-
.muka-progress--circle.muka-progress--lg .muka-progress__label {
|
|
8073
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
8074
|
-
}
|
|
8075
|
-
|
|
8076
|
-
/* Indeterminate animation for circle */
|
|
8077
|
-
.muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
|
|
8078
|
-
animation: muka-progress-circle-rotate 2s linear infinite;
|
|
8079
|
-
}
|
|
8080
|
-
|
|
8081
|
-
.muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
|
|
8082
|
-
animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
|
|
8081
|
+
.muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
|
|
8082
|
+
animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
|
|
8083
8083
|
}
|
|
8084
8084
|
|
|
8085
8085
|
@keyframes muka-progress-circle-rotate {
|
|
@@ -9042,6 +9042,66 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9042
9042
|
}
|
|
9043
9043
|
|
|
9044
9044
|
|
|
9045
|
+
/* Page */
|
|
9046
|
+
/* Page Component Styles */
|
|
9047
|
+
|
|
9048
|
+
/*
|
|
9049
|
+
* Shell for document-scrolling pages (marketing, sign-in, legal). Safe areas:
|
|
9050
|
+
* env(safe-area-inset-*) is 0 outside notched devices, so the padding below
|
|
9051
|
+
* only appears in an app running edge to edge (viewport-fit=cover).
|
|
9052
|
+
*
|
|
9053
|
+
* `--muka-page-background` is the page colour. SiteHeader reads it, so a
|
|
9054
|
+
* header and its status-bar scrim match the page without configuration.
|
|
9055
|
+
*/
|
|
9056
|
+
.muka-page {
|
|
9057
|
+
--muka-page-background: var(--color-surface-level3);
|
|
9058
|
+
display: flex;
|
|
9059
|
+
flex-direction: column;
|
|
9060
|
+
min-height: 100vh;
|
|
9061
|
+
min-height: 100dvh;
|
|
9062
|
+
background-color: var(--muka-page-background);
|
|
9063
|
+
}
|
|
9064
|
+
|
|
9065
|
+
.muka-page--surface-2 {
|
|
9066
|
+
--muka-page-background: var(--color-surface-level2);
|
|
9067
|
+
}
|
|
9068
|
+
|
|
9069
|
+
/* Overscroll (rubber band) shows the document background: keep it the page's. */
|
|
9070
|
+
:root:has(.muka-page--surface-2) body {
|
|
9071
|
+
background-color: var(--color-surface-level2);
|
|
9072
|
+
}
|
|
9073
|
+
|
|
9074
|
+
.muka-page__main {
|
|
9075
|
+
flex: 1 0 auto;
|
|
9076
|
+
display: flex;
|
|
9077
|
+
flex-direction: column;
|
|
9078
|
+
/* Landscape: clear the notch. */
|
|
9079
|
+
padding-left: env(safe-area-inset-left, 0px);
|
|
9080
|
+
padding-right: env(safe-area-inset-right, 0px);
|
|
9081
|
+
}
|
|
9082
|
+
|
|
9083
|
+
.muka-page__footer {
|
|
9084
|
+
flex-shrink: 0;
|
|
9085
|
+
padding-left: env(safe-area-inset-left, 0px);
|
|
9086
|
+
padding-right: env(safe-area-inset-right, 0px);
|
|
9087
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
9088
|
+
}
|
|
9089
|
+
|
|
9090
|
+
/* A footer with its own colour: the colour runs under the home indicator. */
|
|
9091
|
+
.muka-page__footer--surface-2 {
|
|
9092
|
+
background-color: var(--color-surface-level2);
|
|
9093
|
+
}
|
|
9094
|
+
|
|
9095
|
+
.muka-page__footer--surface-3 {
|
|
9096
|
+
background-color: var(--color-surface-level3);
|
|
9097
|
+
}
|
|
9098
|
+
|
|
9099
|
+
/* Without a footer, the content is last and clears the home indicator. */
|
|
9100
|
+
.muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
|
|
9101
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
9102
|
+
}
|
|
9103
|
+
|
|
9104
|
+
|
|
9045
9105
|
/* NumberInput */
|
|
9046
9106
|
/* NumberInput — reuses Input field styles (../Input/Input.css). */
|
|
9047
9107
|
/* Only the prefix/suffix affixes are NumberInput-specific. */
|
|
@@ -9925,8 +9985,27 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9925
9985
|
white-space: nowrap;
|
|
9926
9986
|
}
|
|
9927
9987
|
|
|
9928
|
-
/*
|
|
9929
|
-
.
|
|
9988
|
+
/*
|
|
9989
|
+
* Trailing content: time, BadgeNumber, a dot. Stacks vertically (a time above
|
|
9990
|
+
* a badge, as in a chat inbox), aligned to the end, and never shrinks the label
|
|
9991
|
+
* below it: the label ellipsises instead.
|
|
9992
|
+
*/
|
|
9993
|
+
.muka-listitem__trailing {
|
|
9994
|
+
display: flex;
|
|
9995
|
+
flex-direction: column;
|
|
9996
|
+
align-items: flex-end;
|
|
9997
|
+
justify-content: center;
|
|
9998
|
+
gap: var(--spacing-1);
|
|
9999
|
+
flex-shrink: 0;
|
|
10000
|
+
font-family: var(--alias-font-plain-family);
|
|
10001
|
+
font-size: var(--text-body-sm-fontSize);
|
|
10002
|
+
line-height: var(--text-body-sm-lineHeight);
|
|
10003
|
+
color: var(--color-text-subtle-default);
|
|
10004
|
+
white-space: nowrap;
|
|
10005
|
+
}
|
|
10006
|
+
|
|
10007
|
+
/* Trailing chevron */
|
|
10008
|
+
.muka-listitem__chevron {
|
|
9930
10009
|
display: inline-flex;
|
|
9931
10010
|
align-items: center;
|
|
9932
10011
|
justify-content: center;
|
|
@@ -10193,66 +10272,6 @@ li.muka-listitem {
|
|
|
10193
10272
|
}
|
|
10194
10273
|
|
|
10195
10274
|
|
|
10196
|
-
/* Page */
|
|
10197
|
-
/* Page Component Styles */
|
|
10198
|
-
|
|
10199
|
-
/*
|
|
10200
|
-
* Shell for document-scrolling pages (marketing, sign-in, legal). Safe areas:
|
|
10201
|
-
* env(safe-area-inset-*) is 0 outside notched devices, so the padding below
|
|
10202
|
-
* only appears in an app running edge to edge (viewport-fit=cover).
|
|
10203
|
-
*
|
|
10204
|
-
* `--muka-page-background` is the page colour. SiteHeader reads it, so a
|
|
10205
|
-
* header and its status-bar scrim match the page without configuration.
|
|
10206
|
-
*/
|
|
10207
|
-
.muka-page {
|
|
10208
|
-
--muka-page-background: var(--color-surface-level3);
|
|
10209
|
-
display: flex;
|
|
10210
|
-
flex-direction: column;
|
|
10211
|
-
min-height: 100vh;
|
|
10212
|
-
min-height: 100dvh;
|
|
10213
|
-
background-color: var(--muka-page-background);
|
|
10214
|
-
}
|
|
10215
|
-
|
|
10216
|
-
.muka-page--surface-2 {
|
|
10217
|
-
--muka-page-background: var(--color-surface-level2);
|
|
10218
|
-
}
|
|
10219
|
-
|
|
10220
|
-
/* Overscroll (rubber band) shows the document background: keep it the page's. */
|
|
10221
|
-
:root:has(.muka-page--surface-2) body {
|
|
10222
|
-
background-color: var(--color-surface-level2);
|
|
10223
|
-
}
|
|
10224
|
-
|
|
10225
|
-
.muka-page__main {
|
|
10226
|
-
flex: 1 0 auto;
|
|
10227
|
-
display: flex;
|
|
10228
|
-
flex-direction: column;
|
|
10229
|
-
/* Landscape: clear the notch. */
|
|
10230
|
-
padding-left: env(safe-area-inset-left, 0px);
|
|
10231
|
-
padding-right: env(safe-area-inset-right, 0px);
|
|
10232
|
-
}
|
|
10233
|
-
|
|
10234
|
-
.muka-page__footer {
|
|
10235
|
-
flex-shrink: 0;
|
|
10236
|
-
padding-left: env(safe-area-inset-left, 0px);
|
|
10237
|
-
padding-right: env(safe-area-inset-right, 0px);
|
|
10238
|
-
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
10239
|
-
}
|
|
10240
|
-
|
|
10241
|
-
/* A footer with its own colour: the colour runs under the home indicator. */
|
|
10242
|
-
.muka-page__footer--surface-2 {
|
|
10243
|
-
background-color: var(--color-surface-level2);
|
|
10244
|
-
}
|
|
10245
|
-
|
|
10246
|
-
.muka-page__footer--surface-3 {
|
|
10247
|
-
background-color: var(--color-surface-level3);
|
|
10248
|
-
}
|
|
10249
|
-
|
|
10250
|
-
/* Without a footer, the content is last and clears the home indicator. */
|
|
10251
|
-
.muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
|
|
10252
|
-
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
10253
|
-
}
|
|
10254
|
-
|
|
10255
|
-
|
|
10256
10275
|
/* InputCounter */
|
|
10257
10276
|
/* InputCounter — numeric field + joined decrement/increment buttons.
|
|
10258
10277
|
Label, helper and error text reuse Input.css (../Input/Input.css).
|
|
@@ -14997,6 +15016,152 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14997
15016
|
}
|
|
14998
15017
|
|
|
14999
15018
|
|
|
15019
|
+
/* Card */
|
|
15020
|
+
/* Card Component Styles - Using Muka Design Tokens */
|
|
15021
|
+
|
|
15022
|
+
.muka-card {
|
|
15023
|
+
background-color: var(--card-color-default-background);
|
|
15024
|
+
color: var(--card-color-default-foreground);
|
|
15025
|
+
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
15026
|
+
box-shadow: var(--card-shadow-default);
|
|
15027
|
+
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15028
|
+
overflow: hidden;
|
|
15029
|
+
}
|
|
15030
|
+
|
|
15031
|
+
/* Padding variants */
|
|
15032
|
+
.muka-card--padding-none {
|
|
15033
|
+
padding: 0;
|
|
15034
|
+
}
|
|
15035
|
+
|
|
15036
|
+
.muka-card--padding-sm {
|
|
15037
|
+
padding: var(--card-padding-sm);
|
|
15038
|
+
}
|
|
15039
|
+
|
|
15040
|
+
.muka-card--padding-md {
|
|
15041
|
+
padding: var(--card-padding-md);
|
|
15042
|
+
}
|
|
15043
|
+
|
|
15044
|
+
.muka-card--padding-lg {
|
|
15045
|
+
padding: var(--card-padding-lg);
|
|
15046
|
+
}
|
|
15047
|
+
|
|
15048
|
+
/* Radius variants */
|
|
15049
|
+
.muka-card--radius-sm {
|
|
15050
|
+
border-radius: var(--card-radius-sm);
|
|
15051
|
+
}
|
|
15052
|
+
|
|
15053
|
+
.muka-card--radius-md {
|
|
15054
|
+
border-radius: var(--card-radius-md);
|
|
15055
|
+
}
|
|
15056
|
+
|
|
15057
|
+
.muka-card--radius-lg {
|
|
15058
|
+
border-radius: var(--card-radius-lg);
|
|
15059
|
+
}
|
|
15060
|
+
|
|
15061
|
+
/* Interactive variant */
|
|
15062
|
+
.muka-card--interactive {
|
|
15063
|
+
cursor: pointer;
|
|
15064
|
+
user-select: none;
|
|
15065
|
+
}
|
|
15066
|
+
|
|
15067
|
+
.muka-card--interactive:hover {
|
|
15068
|
+
background-color: var(--card-color-hover-background);
|
|
15069
|
+
border-color: var(--card-color-hover-border);
|
|
15070
|
+
box-shadow: var(--card-shadow-hover);
|
|
15071
|
+
}
|
|
15072
|
+
|
|
15073
|
+
.muka-card--interactive:active,
|
|
15074
|
+
.muka-card--interactive.muka-card--pressed {
|
|
15075
|
+
background-color: var(--card-color-pressed-background);
|
|
15076
|
+
border-color: var(--card-color-pressed-border);
|
|
15077
|
+
box-shadow: var(--card-shadow-pressed);
|
|
15078
|
+
}
|
|
15079
|
+
|
|
15080
|
+
.muka-card--interactive:focus-visible {
|
|
15081
|
+
outline: 2px solid var(--color-border-focus);
|
|
15082
|
+
outline-offset: 2px;
|
|
15083
|
+
}
|
|
15084
|
+
|
|
15085
|
+
/* Selected variant */
|
|
15086
|
+
.muka-card--selected {
|
|
15087
|
+
background-color: var(--card-color-selected-background);
|
|
15088
|
+
border-color: var(--card-color-selected-border);
|
|
15089
|
+
border-width: var(--border-width-bold);
|
|
15090
|
+
box-shadow: var(--card-shadow-selected);
|
|
15091
|
+
}
|
|
15092
|
+
|
|
15093
|
+
/* Tone: sticky note (MUK-105) */
|
|
15094
|
+
.muka-card--tone-note {
|
|
15095
|
+
background-color: var(--card-color-note-background);
|
|
15096
|
+
color: var(--card-color-note-foreground);
|
|
15097
|
+
border-color: var(--card-color-note-border);
|
|
15098
|
+
box-shadow: var(--card-shadow-note);
|
|
15099
|
+
}
|
|
15100
|
+
|
|
15101
|
+
.muka-card--tone-note.muka-card--interactive:hover,
|
|
15102
|
+
.muka-card--tone-note.muka-card--interactive:active,
|
|
15103
|
+
.muka-card--tone-note.muka-card--interactive.muka-card--pressed {
|
|
15104
|
+
background-color: var(--card-color-note-background);
|
|
15105
|
+
border-color: var(--card-color-note-border);
|
|
15106
|
+
}
|
|
15107
|
+
|
|
15108
|
+
.muka-card--tilt-left {
|
|
15109
|
+
transform: rotate(-0.75deg);
|
|
15110
|
+
}
|
|
15111
|
+
|
|
15112
|
+
.muka-card--tilt-right {
|
|
15113
|
+
transform: rotate(0.6deg);
|
|
15114
|
+
}
|
|
15115
|
+
|
|
15116
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
15117
|
+
.muka-card--tilt-left,
|
|
15118
|
+
.muka-card--tilt-right {
|
|
15119
|
+
transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15120
|
+
}
|
|
15121
|
+
}
|
|
15122
|
+
|
|
15123
|
+
.muka-card--interactive.muka-card--tilt-left:hover,
|
|
15124
|
+
.muka-card--interactive.muka-card--tilt-right:hover {
|
|
15125
|
+
transform: none;
|
|
15126
|
+
}
|
|
15127
|
+
|
|
15128
|
+
/* Optional header (title + description) */
|
|
15129
|
+
.muka-card__header {
|
|
15130
|
+
margin-bottom: var(--spacing-4);
|
|
15131
|
+
}
|
|
15132
|
+
|
|
15133
|
+
.muka-card__title {
|
|
15134
|
+
margin: 0;
|
|
15135
|
+
color: var(--color-text-default-default);
|
|
15136
|
+
font-family: var(--text-heading-xs-fontFamily);
|
|
15137
|
+
font-weight: var(--text-heading-xs-fontWeight);
|
|
15138
|
+
font-size: var(--text-heading-xs-fontSize);
|
|
15139
|
+
line-height: var(--text-heading-xs-lineHeight);
|
|
15140
|
+
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
15141
|
+
}
|
|
15142
|
+
|
|
15143
|
+
.muka-card__description {
|
|
15144
|
+
margin: var(--spacing-1) 0 0;
|
|
15145
|
+
color: var(--color-text-subtle-default);
|
|
15146
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15147
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15148
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15149
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15150
|
+
}
|
|
15151
|
+
|
|
15152
|
+
/* Hide divider on last list item inside card */
|
|
15153
|
+
.muka-card > .muka-listitem:last-child > .muka-listitem__divider {
|
|
15154
|
+
display: none;
|
|
15155
|
+
}
|
|
15156
|
+
|
|
15157
|
+
/* Disabled state */
|
|
15158
|
+
.muka-card--disabled {
|
|
15159
|
+
opacity: 0.5;
|
|
15160
|
+
cursor: not-allowed;
|
|
15161
|
+
pointer-events: none;
|
|
15162
|
+
}
|
|
15163
|
+
|
|
15164
|
+
|
|
15000
15165
|
/* ChatAttachmentChip */
|
|
15001
15166
|
/* ChatAttachmentChip Component Styles */
|
|
15002
15167
|
|
|
@@ -15599,154 +15764,481 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15599
15764
|
}
|
|
15600
15765
|
|
|
15601
15766
|
|
|
15602
|
-
/*
|
|
15603
|
-
/*
|
|
15767
|
+
/* BadgeNumber */
|
|
15768
|
+
/* BadgeNumber Component Styles - Using Muka Design Tokens */
|
|
15604
15769
|
|
|
15605
|
-
.muka-
|
|
15606
|
-
|
|
15607
|
-
|
|
15770
|
+
.muka-badge-number {
|
|
15771
|
+
display: inline-flex;
|
|
15772
|
+
align-items: center;
|
|
15773
|
+
justify-content: center;
|
|
15774
|
+
border-radius: var(--border-radius-full);
|
|
15775
|
+
white-space: nowrap;
|
|
15776
|
+
user-select: none;
|
|
15777
|
+
box-sizing: border-box;
|
|
15608
15778
|
}
|
|
15609
15779
|
|
|
15610
|
-
/*
|
|
15611
|
-
|
|
15612
|
-
|
|
15780
|
+
/*
|
|
15781
|
+
* Sizes — fixed height, matching min-width (so a single digit renders as a
|
|
15782
|
+
* circle), horizontal padding, and bold label typography. Vertical centering
|
|
15783
|
+
* is handled by the fixed height + align-items: center.
|
|
15784
|
+
*/
|
|
15785
|
+
.muka-badge-number--2xs {
|
|
15786
|
+
height: var(--badge-number-size-2xs);
|
|
15787
|
+
min-width: var(--badge-number-size-2xs);
|
|
15788
|
+
padding: 0 var(--badge-number-padding-2xs);
|
|
15789
|
+
font-family: var(--text-label-xs-bold-fontFamily);
|
|
15790
|
+
font-weight: var(--text-label-xs-bold-fontWeight);
|
|
15791
|
+
font-size: var(--text-label-xs-bold-fontSize);
|
|
15792
|
+
line-height: var(--text-label-xs-bold-lineHeight);
|
|
15613
15793
|
}
|
|
15614
15794
|
|
|
15615
|
-
|
|
15616
|
-
|
|
15617
|
-
|
|
15795
|
+
.muka-badge-number--xs {
|
|
15796
|
+
height: var(--badge-number-size-xs);
|
|
15797
|
+
min-width: var(--badge-number-size-xs);
|
|
15798
|
+
padding: 0 var(--badge-number-padding-xs);
|
|
15799
|
+
font-family: var(--text-label-sm-bold-fontFamily);
|
|
15800
|
+
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
15801
|
+
font-size: var(--text-label-sm-bold-fontSize);
|
|
15802
|
+
line-height: var(--text-label-sm-bold-lineHeight);
|
|
15618
15803
|
}
|
|
15619
15804
|
|
|
15620
|
-
|
|
15805
|
+
.muka-badge-number--sm {
|
|
15806
|
+
height: var(--badge-number-size-sm);
|
|
15807
|
+
min-width: var(--badge-number-size-sm);
|
|
15808
|
+
padding: 0 var(--badge-number-padding-sm);
|
|
15809
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
15810
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
15811
|
+
font-size: var(--text-label-md-bold-fontSize);
|
|
15812
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
15813
|
+
}
|
|
15621
15814
|
|
|
15622
|
-
.muka-
|
|
15623
|
-
height: var(--
|
|
15624
|
-
|
|
15625
|
-
|
|
15815
|
+
.muka-badge-number--md {
|
|
15816
|
+
height: var(--badge-number-size-md);
|
|
15817
|
+
min-width: var(--badge-number-size-md);
|
|
15818
|
+
padding: 0 var(--badge-number-padding-md);
|
|
15819
|
+
font-family: var(--text-label-lg-bold-fontFamily);
|
|
15820
|
+
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
15821
|
+
font-size: var(--text-label-lg-bold-fontSize);
|
|
15822
|
+
line-height: var(--text-label-lg-bold-lineHeight);
|
|
15626
15823
|
}
|
|
15627
15824
|
|
|
15628
|
-
|
|
15825
|
+
.muka-badge-number--lg {
|
|
15826
|
+
height: var(--badge-number-size-lg);
|
|
15827
|
+
min-width: var(--badge-number-size-lg);
|
|
15828
|
+
padding: 0 var(--badge-number-padding-lg);
|
|
15829
|
+
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
15830
|
+
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
15831
|
+
font-size: var(--text-label-2xl-bold-fontSize);
|
|
15832
|
+
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
15833
|
+
}
|
|
15629
15834
|
|
|
15630
|
-
.muka-
|
|
15631
|
-
|
|
15632
|
-
|
|
15835
|
+
.muka-badge-number__label {
|
|
15836
|
+
/*
|
|
15837
|
+
* The badge sets a tight line-height for compact sizing, which would clip
|
|
15838
|
+
* glyph descenders; give the label a roomier line-height. Vertical centering
|
|
15839
|
+
* is unaffected because the badge height is fixed and content is centered.
|
|
15840
|
+
*/
|
|
15841
|
+
line-height: normal;
|
|
15633
15842
|
}
|
|
15634
15843
|
|
|
15635
|
-
/*
|
|
15844
|
+
/* Neutral variant */
|
|
15845
|
+
.muka-badge-number--neutral {
|
|
15846
|
+
background-color: var(--color-surface-level1);
|
|
15847
|
+
color: var(--color-text-default-default);
|
|
15848
|
+
}
|
|
15636
15849
|
|
|
15637
|
-
|
|
15638
|
-
|
|
15639
|
-
|
|
15640
|
-
|
|
15850
|
+
/* Info variant */
|
|
15851
|
+
.muka-badge-number--info {
|
|
15852
|
+
background-color: var(--color-state-info-contrast);
|
|
15853
|
+
color: var(--color-text-default-inverse);
|
|
15641
15854
|
}
|
|
15642
15855
|
|
|
15643
|
-
|
|
15644
|
-
|
|
15856
|
+
/* Success variant */
|
|
15857
|
+
.muka-badge-number--success {
|
|
15858
|
+
background-color: var(--color-state-success-contrast);
|
|
15859
|
+
color: var(--color-text-default-inverse);
|
|
15645
15860
|
}
|
|
15646
15861
|
|
|
15647
|
-
/*
|
|
15862
|
+
/* Warning variant */
|
|
15863
|
+
.muka-badge-number--warning {
|
|
15864
|
+
background-color: var(--color-state-warning-contrast);
|
|
15865
|
+
color: var(--color-text-default-inverse);
|
|
15866
|
+
}
|
|
15648
15867
|
|
|
15649
|
-
|
|
15650
|
-
|
|
15651
|
-
|
|
15652
|
-
|
|
15868
|
+
/* Error variant */
|
|
15869
|
+
.muka-badge-number--error {
|
|
15870
|
+
background-color: var(--color-state-error-contrast);
|
|
15871
|
+
color: var(--color-text-default-inverse);
|
|
15653
15872
|
}
|
|
15654
15873
|
|
|
15655
|
-
|
|
15656
|
-
|
|
15874
|
+
/* Dot: something new, without a count */
|
|
15875
|
+
.muka-badge-number--dot {
|
|
15876
|
+
width: var(--spacing-2);
|
|
15877
|
+
height: var(--spacing-2);
|
|
15878
|
+
min-width: 0;
|
|
15879
|
+
padding: 0;
|
|
15657
15880
|
}
|
|
15658
15881
|
|
|
15659
|
-
/* ─── Message (actions variants only) ────────────────── */
|
|
15660
15882
|
|
|
15661
|
-
/*
|
|
15662
|
-
|
|
15663
|
-
flex-wrap: wrap;
|
|
15664
|
-
row-gap: var(--bottombar-actions-message-gap);
|
|
15665
|
-
}
|
|
15883
|
+
/* Badge */
|
|
15884
|
+
/* Badge Component Styles - Using Muka Design Tokens */
|
|
15666
15885
|
|
|
15667
|
-
.muka-
|
|
15668
|
-
|
|
15886
|
+
.muka-badge {
|
|
15887
|
+
display: inline-flex;
|
|
15888
|
+
align-items: center;
|
|
15889
|
+
border-radius: var(--border-radius-full);
|
|
15890
|
+
white-space: nowrap;
|
|
15891
|
+
user-select: none;
|
|
15892
|
+
box-sizing: border-box;
|
|
15669
15893
|
}
|
|
15670
15894
|
|
|
15671
|
-
|
|
15672
|
-
|
|
15673
|
-
|
|
15895
|
+
/*
|
|
15896
|
+
* Sizes — height, gap, type, and default (label-edge) horizontal padding.
|
|
15897
|
+
* Mirrors Chip so the two components share sizing, fonts, and spacing.
|
|
15898
|
+
* Vertical centering is handled by the fixed height + align-items: center.
|
|
15899
|
+
* The leading side gets a tighter padding when an icon/dot is present, via the
|
|
15900
|
+
* --has-icon / --has-dot modifiers below.
|
|
15901
|
+
*/
|
|
15902
|
+
.muka-badge--sm {
|
|
15903
|
+
height: var(--badge-size-height-sm);
|
|
15904
|
+
gap: var(--badge-gap-sm);
|
|
15905
|
+
padding: 0 var(--badge-padding-label-sm);
|
|
15906
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15907
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
15908
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
15909
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
15674
15910
|
}
|
|
15675
15911
|
|
|
15676
|
-
.muka-
|
|
15677
|
-
|
|
15678
|
-
|
|
15679
|
-
|
|
15680
|
-
font-family: var(--text-
|
|
15681
|
-
font-weight: var(--text-
|
|
15682
|
-
font-size: var(--text-
|
|
15683
|
-
line-height: var(--text-
|
|
15912
|
+
.muka-badge--md {
|
|
15913
|
+
height: var(--badge-size-height-md);
|
|
15914
|
+
gap: var(--badge-gap-md);
|
|
15915
|
+
padding: 0 var(--badge-padding-label-md);
|
|
15916
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
15917
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
15918
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
15919
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
15684
15920
|
}
|
|
15685
15921
|
|
|
15686
|
-
.muka-
|
|
15687
|
-
|
|
15922
|
+
.muka-badge--lg {
|
|
15923
|
+
height: var(--badge-size-height-lg);
|
|
15924
|
+
gap: var(--badge-gap-lg);
|
|
15925
|
+
padding: 0 var(--badge-padding-label-lg);
|
|
15926
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
15927
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
15928
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
15929
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
15688
15930
|
}
|
|
15689
15931
|
|
|
15690
|
-
|
|
15691
|
-
|
|
15932
|
+
/* Tighter leading padding when a leading icon or dot is present */
|
|
15933
|
+
.muka-badge--sm.muka-badge--has-icon,
|
|
15934
|
+
.muka-badge--sm.muka-badge--has-dot {
|
|
15935
|
+
padding-left: var(--badge-padding-leading-sm);
|
|
15692
15936
|
}
|
|
15693
|
-
|
|
15694
|
-
.muka-
|
|
15695
|
-
|
|
15937
|
+
.muka-badge--md.muka-badge--has-icon,
|
|
15938
|
+
.muka-badge--md.muka-badge--has-dot {
|
|
15939
|
+
padding-left: var(--badge-padding-leading-md);
|
|
15940
|
+
}
|
|
15941
|
+
.muka-badge--lg.muka-badge--has-icon,
|
|
15942
|
+
.muka-badge--lg.muka-badge--has-dot {
|
|
15943
|
+
padding-left: var(--badge-padding-leading-lg);
|
|
15696
15944
|
}
|
|
15697
15945
|
|
|
15698
|
-
/*
|
|
15699
|
-
|
|
15700
|
-
|
|
15701
|
-
|
|
15702
|
-
|
|
15703
|
-
|
|
15946
|
+
/* Icon-only — square, sized to the badge height (Figma: 24 / 32 / 40).
|
|
15947
|
+
* Padding resets at size+icon-only specificity so `--has-icon` leading padding
|
|
15948
|
+
* cannot win and shift the icon off-center. */
|
|
15949
|
+
.muka-badge--icon-only {
|
|
15950
|
+
justify-content: center;
|
|
15951
|
+
align-items: center;
|
|
15952
|
+
gap: 0;
|
|
15953
|
+
}
|
|
15704
15954
|
|
|
15705
|
-
|
|
15706
|
-
|
|
15707
|
-
|
|
15955
|
+
.muka-badge--sm.muka-badge--icon-only,
|
|
15956
|
+
.muka-badge--md.muka-badge--icon-only,
|
|
15957
|
+
.muka-badge--lg.muka-badge--icon-only {
|
|
15958
|
+
padding: 0;
|
|
15959
|
+
}
|
|
15708
15960
|
|
|
15709
|
-
|
|
15710
|
-
|
|
15711
|
-
width: auto;
|
|
15712
|
-
}
|
|
15961
|
+
.muka-badge--sm.muka-badge--icon-only {
|
|
15962
|
+
width: var(--badge-size-height-sm);
|
|
15713
15963
|
}
|
|
15714
15964
|
|
|
15715
|
-
|
|
15965
|
+
.muka-badge--md.muka-badge--icon-only {
|
|
15966
|
+
width: var(--badge-size-height-md);
|
|
15967
|
+
}
|
|
15716
15968
|
|
|
15717
|
-
|
|
15969
|
+
.muka-badge--lg.muka-badge--icon-only {
|
|
15970
|
+
width: var(--badge-size-height-lg);
|
|
15971
|
+
}
|
|
15718
15972
|
|
|
15719
|
-
|
|
15720
|
-
|
|
15973
|
+
/* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 (matches Chip) */
|
|
15974
|
+
.muka-badge__icon {
|
|
15975
|
+
display: inline-flex;
|
|
15976
|
+
align-items: center;
|
|
15977
|
+
justify-content: center;
|
|
15978
|
+
flex-shrink: 0;
|
|
15721
15979
|
}
|
|
15722
15980
|
|
|
15723
|
-
|
|
15981
|
+
.muka-badge--sm .muka-badge__icon {
|
|
15982
|
+
width: var(--icon-size-xs);
|
|
15983
|
+
height: var(--icon-size-xs);
|
|
15984
|
+
}
|
|
15985
|
+
.muka-badge--md .muka-badge__icon {
|
|
15986
|
+
width: var(--icon-size-sm);
|
|
15987
|
+
height: var(--icon-size-sm);
|
|
15988
|
+
}
|
|
15989
|
+
.muka-badge--lg .muka-badge__icon {
|
|
15990
|
+
width: var(--icon-size-default);
|
|
15991
|
+
height: var(--icon-size-default);
|
|
15992
|
+
}
|
|
15724
15993
|
|
|
15725
|
-
|
|
15726
|
-
|
|
15994
|
+
/* Force the passed content (raw <svg> or an <Icon> wrapper) to the slot size,
|
|
15995
|
+
so callers don't have to size the icon to match each badge size. The
|
|
15996
|
+
.muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
|
|
15997
|
+
.muka-badge__icon .muka-icon,
|
|
15998
|
+
.muka-badge__icon svg {
|
|
15727
15999
|
width: 100%;
|
|
15728
|
-
|
|
16000
|
+
height: 100%;
|
|
15729
16001
|
}
|
|
15730
16002
|
|
|
15731
|
-
/*
|
|
15732
|
-
|
|
15733
|
-
|
|
15734
|
-
|
|
15735
|
-
|
|
15736
|
-
*/
|
|
15737
|
-
|
|
15738
|
-
|
|
15739
|
-
|
|
15740
|
-
|
|
15741
|
-
|
|
15742
|
-
|
|
15743
|
-
|
|
15744
|
-
|
|
15745
|
-
|
|
15746
|
-
|
|
15747
|
-
|
|
15748
|
-
|
|
15749
|
-
);
|
|
16003
|
+
/* Icons inherit the badge's per-variant foreground color */
|
|
16004
|
+
.muka-badge .muka-icon {
|
|
16005
|
+
color: inherit;
|
|
16006
|
+
}
|
|
16007
|
+
|
|
16008
|
+
/* Dot indicator */
|
|
16009
|
+
.muka-badge__dot {
|
|
16010
|
+
flex-shrink: 0;
|
|
16011
|
+
border-radius: var(--border-radius-full);
|
|
16012
|
+
}
|
|
16013
|
+
|
|
16014
|
+
.muka-badge--sm .muka-badge__dot {
|
|
16015
|
+
width: var(--badge-size-dot-sm);
|
|
16016
|
+
height: var(--badge-size-dot-sm);
|
|
16017
|
+
}
|
|
16018
|
+
|
|
16019
|
+
.muka-badge--md .muka-badge__dot {
|
|
16020
|
+
width: var(--badge-size-dot-md);
|
|
16021
|
+
height: var(--badge-size-dot-md);
|
|
16022
|
+
}
|
|
16023
|
+
|
|
16024
|
+
.muka-badge--lg .muka-badge__dot {
|
|
16025
|
+
width: var(--badge-size-dot-lg);
|
|
16026
|
+
height: var(--badge-size-dot-lg);
|
|
16027
|
+
}
|
|
16028
|
+
|
|
16029
|
+
.muka-badge__label {
|
|
16030
|
+
flex: 0 1 auto;
|
|
16031
|
+
min-width: 0;
|
|
16032
|
+
overflow: hidden;
|
|
16033
|
+
text-overflow: ellipsis;
|
|
16034
|
+
/*
|
|
16035
|
+
* The badge sets a tight line-height for compact sizing, but the label's
|
|
16036
|
+
* `overflow: hidden` (needed for ellipsis) then clips glyph descenders (g, y, p). Give the
|
|
16037
|
+
* label its own roomier line-height so descenders render; vertical centering is unaffected
|
|
16038
|
+
* because the badge height is fixed and content is centered via align-items: center.
|
|
16039
|
+
*/
|
|
16040
|
+
line-height: normal;
|
|
16041
|
+
}
|
|
16042
|
+
|
|
16043
|
+
/* Neutral variant */
|
|
16044
|
+
.muka-badge--neutral {
|
|
16045
|
+
background-color: var(--color-surface-level1);
|
|
16046
|
+
color: var(--color-text-default-default);
|
|
16047
|
+
}
|
|
16048
|
+
|
|
16049
|
+
.muka-badge--neutral .muka-badge__dot {
|
|
16050
|
+
background-color: var(--color-text-subtle-default);
|
|
16051
|
+
}
|
|
16052
|
+
|
|
16053
|
+
/* Info variant */
|
|
16054
|
+
.muka-badge--info {
|
|
16055
|
+
background-color: var(--color-state-info-background);
|
|
16056
|
+
color: var(--color-state-info-contrast);
|
|
16057
|
+
}
|
|
16058
|
+
|
|
16059
|
+
.muka-badge--info .muka-badge__dot {
|
|
16060
|
+
background-color: var(--color-state-info-default);
|
|
16061
|
+
}
|
|
16062
|
+
|
|
16063
|
+
/* Success variant */
|
|
16064
|
+
.muka-badge--success {
|
|
16065
|
+
background-color: var(--color-state-success-background);
|
|
16066
|
+
color: var(--color-state-success-contrast);
|
|
16067
|
+
}
|
|
16068
|
+
|
|
16069
|
+
.muka-badge--success .muka-badge__dot {
|
|
16070
|
+
background-color: var(--color-state-success-default);
|
|
16071
|
+
}
|
|
16072
|
+
|
|
16073
|
+
/* Warning variant */
|
|
16074
|
+
.muka-badge--warning {
|
|
16075
|
+
background-color: var(--color-state-warning-background);
|
|
16076
|
+
color: var(--color-state-warning-contrast);
|
|
16077
|
+
}
|
|
16078
|
+
|
|
16079
|
+
.muka-badge--warning .muka-badge__dot {
|
|
16080
|
+
background-color: var(--color-state-warning-default);
|
|
16081
|
+
}
|
|
16082
|
+
|
|
16083
|
+
/* Error variant */
|
|
16084
|
+
.muka-badge--error {
|
|
16085
|
+
background-color: var(--color-state-error-background);
|
|
16086
|
+
color: var(--color-state-error-contrast);
|
|
16087
|
+
}
|
|
16088
|
+
|
|
16089
|
+
.muka-badge--error .muka-badge__dot {
|
|
16090
|
+
background-color: var(--color-state-error-default);
|
|
16091
|
+
}
|
|
16092
|
+
|
|
16093
|
+
|
|
16094
|
+
/* BottomBar */
|
|
16095
|
+
/* BottomBar Component Styles */
|
|
16096
|
+
|
|
16097
|
+
.muka-bottombar {
|
|
16098
|
+
width: 100%;
|
|
16099
|
+
background-color: var(--bottombar-color-background);
|
|
16100
|
+
}
|
|
16101
|
+
|
|
16102
|
+
/* Push content above the iPhone home indicator. Opt out via disableSafeArea. */
|
|
16103
|
+
.muka-bottombar:not(.muka-bottombar--floating):not(.muka-bottombar--no-safe-area) {
|
|
16104
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
16105
|
+
}
|
|
16106
|
+
|
|
16107
|
+
/* Floating variant: ensure margin-bottom is at least the safe-area inset. */
|
|
16108
|
+
.muka-bottombar--floating:not(.muka-bottombar--no-safe-area) {
|
|
16109
|
+
padding-bottom: max(var(--bottombar-floating-margin-bottom), env(safe-area-inset-bottom));
|
|
16110
|
+
}
|
|
16111
|
+
|
|
16112
|
+
/* ─── Divider (non-floating) ──────────────────────────── */
|
|
16113
|
+
|
|
16114
|
+
.muka-bottombar__divider {
|
|
16115
|
+
height: var(--border-width-regular);
|
|
16116
|
+
background-color: var(--bottombar-color-border);
|
|
16117
|
+
width: 100%;
|
|
16118
|
+
}
|
|
16119
|
+
|
|
16120
|
+
/* ─── Content container ───────────────────────────────── */
|
|
16121
|
+
|
|
16122
|
+
.muka-bottombar__content {
|
|
16123
|
+
display: flex;
|
|
16124
|
+
align-items: center;
|
|
16125
|
+
}
|
|
16126
|
+
|
|
16127
|
+
/* ─── Actions variant (horizontal) ───────────────────── */
|
|
16128
|
+
|
|
16129
|
+
.muka-bottombar--actions .muka-bottombar__content {
|
|
16130
|
+
flex-direction: row;
|
|
16131
|
+
gap: var(--bottombar-actions-gap);
|
|
16132
|
+
padding: var(--bottombar-actions-padding-t) var(--bottombar-actions-padding-x) var(--bottombar-actions-padding-x);
|
|
16133
|
+
}
|
|
16134
|
+
|
|
16135
|
+
.muka-bottombar--actions .muka-bottombar__content > * {
|
|
16136
|
+
flex: 1;
|
|
16137
|
+
}
|
|
16138
|
+
|
|
16139
|
+
/* ─── Actions-vertical variant (stacked) ─────────────── */
|
|
16140
|
+
|
|
16141
|
+
.muka-bottombar--actions-vertical .muka-bottombar__content {
|
|
16142
|
+
flex-direction: column;
|
|
16143
|
+
gap: var(--bottombar-actions-gap);
|
|
16144
|
+
padding: var(--bottombar-actions-padding-t) var(--bottombar-actions-padding-x) var(--bottombar-actions-padding-x);
|
|
16145
|
+
}
|
|
16146
|
+
|
|
16147
|
+
.muka-bottombar--actions-vertical .muka-bottombar__content > * {
|
|
16148
|
+
width: 100%;
|
|
16149
|
+
}
|
|
16150
|
+
|
|
16151
|
+
/* ─── Message (actions variants only) ────────────────── */
|
|
16152
|
+
|
|
16153
|
+
/* Below 1024px the message takes its own line above the buttons. */
|
|
16154
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
|
|
16155
|
+
flex-wrap: wrap;
|
|
16156
|
+
row-gap: var(--bottombar-actions-message-gap);
|
|
16157
|
+
}
|
|
16158
|
+
|
|
16159
|
+
.muka-bottombar--actions-vertical.muka-bottombar--with-message .muka-bottombar__content {
|
|
16160
|
+
row-gap: var(--bottombar-actions-message-gap);
|
|
16161
|
+
}
|
|
16162
|
+
|
|
16163
|
+
.muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
|
|
16164
|
+
flex: 1 0 100%;
|
|
16165
|
+
width: 100%;
|
|
16166
|
+
}
|
|
16167
|
+
|
|
16168
|
+
.muka-bottombar__message {
|
|
16169
|
+
margin: 0;
|
|
16170
|
+
min-width: 0;
|
|
16171
|
+
overflow-wrap: anywhere;
|
|
16172
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
16173
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
16174
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
16175
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
16176
|
+
}
|
|
16177
|
+
|
|
16178
|
+
.muka-bottombar__message--neutral {
|
|
16179
|
+
color: var(--bottombar-color-message-neutral);
|
|
16180
|
+
}
|
|
16181
|
+
|
|
16182
|
+
.muka-bottombar__message--success {
|
|
16183
|
+
color: var(--bottombar-color-message-success);
|
|
16184
|
+
}
|
|
16185
|
+
|
|
16186
|
+
.muka-bottombar__message--warning {
|
|
16187
|
+
color: var(--bottombar-color-message-warning);
|
|
16188
|
+
}
|
|
16189
|
+
|
|
16190
|
+
/* From 1024px the horizontal bar puts the message left, the buttons right at
|
|
16191
|
+
their own width. The vertical variant keeps stacking. */
|
|
16192
|
+
@media (min-width: 1024px) {
|
|
16193
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
|
|
16194
|
+
flex-wrap: nowrap;
|
|
16195
|
+
}
|
|
16196
|
+
|
|
16197
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > * {
|
|
16198
|
+
flex: 0 0 auto;
|
|
16199
|
+
}
|
|
16200
|
+
|
|
16201
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
|
|
16202
|
+
flex: 1 1 auto;
|
|
16203
|
+
width: auto;
|
|
16204
|
+
}
|
|
16205
|
+
}
|
|
16206
|
+
|
|
16207
|
+
/* ─── Size modifiers (actions variants only) ─────────── */
|
|
16208
|
+
|
|
16209
|
+
/* ─── Navigation variant ──────────────────────────────── */
|
|
16210
|
+
|
|
16211
|
+
.muka-bottombar--navigation .muka-bottombar__content {
|
|
16212
|
+
flex-direction: row;
|
|
16213
|
+
}
|
|
16214
|
+
|
|
16215
|
+
/* ─── Chat variant (houses a ChatComposer) ───────────── */
|
|
16216
|
+
|
|
16217
|
+
.muka-bottombar--chat .muka-bottombar__content {
|
|
16218
|
+
flex-direction: row;
|
|
16219
|
+
width: 100%;
|
|
16220
|
+
margin: 0 auto;
|
|
16221
|
+
}
|
|
16222
|
+
|
|
16223
|
+
/*
|
|
16224
|
+
* `--bottombar-chat-max-width` is the conversation column (it derives from
|
|
16225
|
+
* `chat.column.max-width`, the same token `ChatMessageList` caps its column
|
|
16226
|
+
* with). The cap here carries the padding on top of it, so it is the
|
|
16227
|
+
* composer's own edges — not the padding around it — that land on the column.
|
|
16228
|
+
*/
|
|
16229
|
+
|
|
16230
|
+
/*
|
|
16231
|
+
* Docked chat pads its content; the floating card supplies its own padding.
|
|
16232
|
+
* The inline half is the section gutter `ChatMessageList` pads its scroller
|
|
16233
|
+
* with, so below the cap — where the column runs full-bleed — the composer
|
|
16234
|
+
* keeps to the same gutters as the messages.
|
|
16235
|
+
*/
|
|
16236
|
+
.muka-bottombar--chat:not(.muka-bottombar--floating) .muka-bottombar__content {
|
|
16237
|
+
padding: var(--bottombar-chat-padding)
|
|
16238
|
+
var(--section-padding-horizontal-default, var(--spacing-4));
|
|
16239
|
+
max-width: calc(
|
|
16240
|
+
var(--bottombar-chat-max-width) + 2 * var(--section-padding-horizontal-default, var(--spacing-4))
|
|
16241
|
+
);
|
|
15750
16242
|
}
|
|
15751
16243
|
|
|
15752
16244
|
/* Floating chat card widens to the chat cap (overrides the md default below). */
|
|
@@ -15782,6 +16274,7 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15782
16274
|
}
|
|
15783
16275
|
|
|
15784
16276
|
.muka-bottombar__tab-icon {
|
|
16277
|
+
position: relative;
|
|
15785
16278
|
display: flex;
|
|
15786
16279
|
align-items: center;
|
|
15787
16280
|
justify-content: center;
|
|
@@ -15794,6 +16287,15 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15794
16287
|
height: 100%;
|
|
15795
16288
|
}
|
|
15796
16289
|
|
|
16290
|
+
/* A count on the icon's top-right corner (unread messages). */
|
|
16291
|
+
.muka-bottombar__tab-badge {
|
|
16292
|
+
position: absolute;
|
|
16293
|
+
top: calc(-1 * var(--spacing-1));
|
|
16294
|
+
left: 60%;
|
|
16295
|
+
display: flex;
|
|
16296
|
+
pointer-events: none;
|
|
16297
|
+
}
|
|
16298
|
+
|
|
15797
16299
|
.muka-bottombar__tab-label {
|
|
15798
16300
|
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15799
16301
|
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
@@ -15900,395 +16402,76 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15900
16402
|
}
|
|
15901
16403
|
}
|
|
15902
16404
|
|
|
15903
|
-
/* ─── Desktop: Top Navigation transformation ──────────── */
|
|
15904
|
-
|
|
15905
|
-
@media (min-width: 1024px) {
|
|
15906
|
-
.muka-bottombar--desktop-topnav {
|
|
15907
|
-
position: fixed;
|
|
15908
|
-
top: 0;
|
|
15909
|
-
left: 0;
|
|
15910
|
-
right: 0;
|
|
15911
|
-
width: 100%;
|
|
15912
|
-
height: auto;
|
|
15913
|
-
background-color: var(--bottombar-color-background);
|
|
15914
|
-
border-bottom: var(--border-width-regular) solid var(--bottombar-color-border);
|
|
15915
|
-
z-index: 10;
|
|
15916
|
-
}
|
|
15917
|
-
|
|
15918
|
-
.muka-bottombar--desktop-topnav .muka-bottombar__divider {
|
|
15919
|
-
display: none;
|
|
15920
|
-
}
|
|
15921
|
-
|
|
15922
|
-
.muka-bottombar--desktop-topnav .muka-bottombar__content {
|
|
15923
|
-
flex-direction: row;
|
|
15924
|
-
justify-content: center;
|
|
15925
|
-
gap: var(--spacing-1);
|
|
15926
|
-
padding: 0 var(--spacing-4);
|
|
15927
|
-
max-width: var(--container-max-width-large, 1200px);
|
|
15928
|
-
margin: 0 auto;
|
|
15929
|
-
}
|
|
15930
|
-
|
|
15931
|
-
.muka-bottombar--desktop-topnav .muka-bottombar__tab {
|
|
15932
|
-
flex: 0 0 auto;
|
|
15933
|
-
flex-direction: row;
|
|
15934
|
-
gap: var(--spacing-2);
|
|
15935
|
-
padding: var(--spacing-3) var(--spacing-4);
|
|
15936
|
-
border-radius: 0;
|
|
15937
|
-
border-bottom: 2px solid transparent;
|
|
15938
|
-
}
|
|
15939
|
-
|
|
15940
|
-
.muka-bottombar--desktop-topnav .muka-bottombar__tab--active {
|
|
15941
|
-
border-bottom-color: var(--color-action-default);
|
|
15942
|
-
}
|
|
15943
|
-
|
|
15944
|
-
.muka-bottombar--desktop-topnav .muka-bottombar__tab:hover {
|
|
15945
|
-
background-color: var(--color-surface-level2);
|
|
15946
|
-
}
|
|
15947
|
-
|
|
15948
|
-
.muka-bottombar--desktop-topnav .muka-bottombar__tab-label {
|
|
15949
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
15950
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
15951
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
15952
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
15953
|
-
}
|
|
15954
|
-
|
|
15955
|
-
/* When floating and topnav, remove the floating card styles */
|
|
15956
|
-
.muka-bottombar--desktop-topnav.muka-bottombar--floating {
|
|
15957
|
-
padding: 0;
|
|
15958
|
-
}
|
|
15959
|
-
|
|
15960
|
-
.muka-bottombar--desktop-topnav.muka-bottombar--floating .muka-bottombar__content {
|
|
15961
|
-
background-color: transparent;
|
|
15962
|
-
border-radius: 0;
|
|
15963
|
-
box-shadow: none;
|
|
15964
|
-
}
|
|
15965
|
-
}
|
|
15966
|
-
|
|
15967
|
-
/* ─── Print ────────────────────────────────────────────── */
|
|
15968
|
-
|
|
15969
|
-
@media print {
|
|
15970
|
-
.muka-bottombar {
|
|
15971
|
-
display: none;
|
|
15972
|
-
}
|
|
15973
|
-
}
|
|
15974
|
-
|
|
15975
|
-
|
|
15976
|
-
/* BadgeNumber */
|
|
15977
|
-
/* BadgeNumber Component Styles - Using Muka Design Tokens */
|
|
15978
|
-
|
|
15979
|
-
.muka-badge-number {
|
|
15980
|
-
display: inline-flex;
|
|
15981
|
-
align-items: center;
|
|
15982
|
-
justify-content: center;
|
|
15983
|
-
border-radius: var(--border-radius-full);
|
|
15984
|
-
white-space: nowrap;
|
|
15985
|
-
user-select: none;
|
|
15986
|
-
box-sizing: border-box;
|
|
15987
|
-
}
|
|
15988
|
-
|
|
15989
|
-
/*
|
|
15990
|
-
* Sizes — fixed height, matching min-width (so a single digit renders as a
|
|
15991
|
-
* circle), horizontal padding, and bold label typography. Vertical centering
|
|
15992
|
-
* is handled by the fixed height + align-items: center.
|
|
15993
|
-
*/
|
|
15994
|
-
.muka-badge-number--2xs {
|
|
15995
|
-
height: var(--badge-number-size-2xs);
|
|
15996
|
-
min-width: var(--badge-number-size-2xs);
|
|
15997
|
-
padding: 0 var(--badge-number-padding-2xs);
|
|
15998
|
-
font-family: var(--text-label-xs-bold-fontFamily);
|
|
15999
|
-
font-weight: var(--text-label-xs-bold-fontWeight);
|
|
16000
|
-
font-size: var(--text-label-xs-bold-fontSize);
|
|
16001
|
-
line-height: var(--text-label-xs-bold-lineHeight);
|
|
16002
|
-
}
|
|
16003
|
-
|
|
16004
|
-
.muka-badge-number--xs {
|
|
16005
|
-
height: var(--badge-number-size-xs);
|
|
16006
|
-
min-width: var(--badge-number-size-xs);
|
|
16007
|
-
padding: 0 var(--badge-number-padding-xs);
|
|
16008
|
-
font-family: var(--text-label-sm-bold-fontFamily);
|
|
16009
|
-
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
16010
|
-
font-size: var(--text-label-sm-bold-fontSize);
|
|
16011
|
-
line-height: var(--text-label-sm-bold-lineHeight);
|
|
16012
|
-
}
|
|
16013
|
-
|
|
16014
|
-
.muka-badge-number--sm {
|
|
16015
|
-
height: var(--badge-number-size-sm);
|
|
16016
|
-
min-width: var(--badge-number-size-sm);
|
|
16017
|
-
padding: 0 var(--badge-number-padding-sm);
|
|
16018
|
-
font-family: var(--text-label-md-bold-fontFamily);
|
|
16019
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
16020
|
-
font-size: var(--text-label-md-bold-fontSize);
|
|
16021
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
16022
|
-
}
|
|
16023
|
-
|
|
16024
|
-
.muka-badge-number--md {
|
|
16025
|
-
height: var(--badge-number-size-md);
|
|
16026
|
-
min-width: var(--badge-number-size-md);
|
|
16027
|
-
padding: 0 var(--badge-number-padding-md);
|
|
16028
|
-
font-family: var(--text-label-lg-bold-fontFamily);
|
|
16029
|
-
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
16030
|
-
font-size: var(--text-label-lg-bold-fontSize);
|
|
16031
|
-
line-height: var(--text-label-lg-bold-lineHeight);
|
|
16032
|
-
}
|
|
16033
|
-
|
|
16034
|
-
.muka-badge-number--lg {
|
|
16035
|
-
height: var(--badge-number-size-lg);
|
|
16036
|
-
min-width: var(--badge-number-size-lg);
|
|
16037
|
-
padding: 0 var(--badge-number-padding-lg);
|
|
16038
|
-
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
16039
|
-
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
16040
|
-
font-size: var(--text-label-2xl-bold-fontSize);
|
|
16041
|
-
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
16042
|
-
}
|
|
16043
|
-
|
|
16044
|
-
.muka-badge-number__label {
|
|
16045
|
-
/*
|
|
16046
|
-
* The badge sets a tight line-height for compact sizing, which would clip
|
|
16047
|
-
* glyph descenders; give the label a roomier line-height. Vertical centering
|
|
16048
|
-
* is unaffected because the badge height is fixed and content is centered.
|
|
16049
|
-
*/
|
|
16050
|
-
line-height: normal;
|
|
16051
|
-
}
|
|
16052
|
-
|
|
16053
|
-
/* Neutral variant */
|
|
16054
|
-
.muka-badge-number--neutral {
|
|
16055
|
-
background-color: var(--color-surface-level1);
|
|
16056
|
-
color: var(--color-text-default-default);
|
|
16057
|
-
}
|
|
16058
|
-
|
|
16059
|
-
/* Info variant */
|
|
16060
|
-
.muka-badge-number--info {
|
|
16061
|
-
background-color: var(--color-state-info-contrast);
|
|
16062
|
-
color: var(--color-text-default-inverse);
|
|
16063
|
-
}
|
|
16064
|
-
|
|
16065
|
-
/* Success variant */
|
|
16066
|
-
.muka-badge-number--success {
|
|
16067
|
-
background-color: var(--color-state-success-contrast);
|
|
16068
|
-
color: var(--color-text-default-inverse);
|
|
16069
|
-
}
|
|
16070
|
-
|
|
16071
|
-
/* Warning variant */
|
|
16072
|
-
.muka-badge-number--warning {
|
|
16073
|
-
background-color: var(--color-state-warning-contrast);
|
|
16074
|
-
color: var(--color-text-default-inverse);
|
|
16075
|
-
}
|
|
16076
|
-
|
|
16077
|
-
/* Error variant */
|
|
16078
|
-
.muka-badge-number--error {
|
|
16079
|
-
background-color: var(--color-state-error-contrast);
|
|
16080
|
-
color: var(--color-text-default-inverse);
|
|
16081
|
-
}
|
|
16082
|
-
|
|
16083
|
-
|
|
16084
|
-
/* Badge */
|
|
16085
|
-
/* Badge Component Styles - Using Muka Design Tokens */
|
|
16086
|
-
|
|
16087
|
-
.muka-badge {
|
|
16088
|
-
display: inline-flex;
|
|
16089
|
-
align-items: center;
|
|
16090
|
-
border-radius: var(--border-radius-full);
|
|
16091
|
-
white-space: nowrap;
|
|
16092
|
-
user-select: none;
|
|
16093
|
-
box-sizing: border-box;
|
|
16094
|
-
}
|
|
16095
|
-
|
|
16096
|
-
/*
|
|
16097
|
-
* Sizes — height, gap, type, and default (label-edge) horizontal padding.
|
|
16098
|
-
* Mirrors Chip so the two components share sizing, fonts, and spacing.
|
|
16099
|
-
* Vertical centering is handled by the fixed height + align-items: center.
|
|
16100
|
-
* The leading side gets a tighter padding when an icon/dot is present, via the
|
|
16101
|
-
* --has-icon / --has-dot modifiers below.
|
|
16102
|
-
*/
|
|
16103
|
-
.muka-badge--sm {
|
|
16104
|
-
height: var(--badge-size-height-sm);
|
|
16105
|
-
gap: var(--badge-gap-sm);
|
|
16106
|
-
padding: 0 var(--badge-padding-label-sm);
|
|
16107
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
16108
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
16109
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
16110
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
16111
|
-
}
|
|
16112
|
-
|
|
16113
|
-
.muka-badge--md {
|
|
16114
|
-
height: var(--badge-size-height-md);
|
|
16115
|
-
gap: var(--badge-gap-md);
|
|
16116
|
-
padding: 0 var(--badge-padding-label-md);
|
|
16117
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
16118
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
16119
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
16120
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
16121
|
-
}
|
|
16122
|
-
|
|
16123
|
-
.muka-badge--lg {
|
|
16124
|
-
height: var(--badge-size-height-lg);
|
|
16125
|
-
gap: var(--badge-gap-lg);
|
|
16126
|
-
padding: 0 var(--badge-padding-label-lg);
|
|
16127
|
-
font-family: var(--text-label-lg-regular-fontFamily);
|
|
16128
|
-
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
16129
|
-
font-size: var(--text-label-lg-regular-fontSize);
|
|
16130
|
-
line-height: var(--text-label-lg-regular-lineHeight);
|
|
16131
|
-
}
|
|
16132
|
-
|
|
16133
|
-
/* Tighter leading padding when a leading icon or dot is present */
|
|
16134
|
-
.muka-badge--sm.muka-badge--has-icon,
|
|
16135
|
-
.muka-badge--sm.muka-badge--has-dot {
|
|
16136
|
-
padding-left: var(--badge-padding-leading-sm);
|
|
16137
|
-
}
|
|
16138
|
-
.muka-badge--md.muka-badge--has-icon,
|
|
16139
|
-
.muka-badge--md.muka-badge--has-dot {
|
|
16140
|
-
padding-left: var(--badge-padding-leading-md);
|
|
16141
|
-
}
|
|
16142
|
-
.muka-badge--lg.muka-badge--has-icon,
|
|
16143
|
-
.muka-badge--lg.muka-badge--has-dot {
|
|
16144
|
-
padding-left: var(--badge-padding-leading-lg);
|
|
16145
|
-
}
|
|
16146
|
-
|
|
16147
|
-
/* Icon-only — square, sized to the badge height (Figma: 24 / 32 / 40).
|
|
16148
|
-
* Padding resets at size+icon-only specificity so `--has-icon` leading padding
|
|
16149
|
-
* cannot win and shift the icon off-center. */
|
|
16150
|
-
.muka-badge--icon-only {
|
|
16151
|
-
justify-content: center;
|
|
16152
|
-
align-items: center;
|
|
16153
|
-
gap: 0;
|
|
16154
|
-
}
|
|
16155
|
-
|
|
16156
|
-
.muka-badge--sm.muka-badge--icon-only,
|
|
16157
|
-
.muka-badge--md.muka-badge--icon-only,
|
|
16158
|
-
.muka-badge--lg.muka-badge--icon-only {
|
|
16159
|
-
padding: 0;
|
|
16160
|
-
}
|
|
16161
|
-
|
|
16162
|
-
.muka-badge--sm.muka-badge--icon-only {
|
|
16163
|
-
width: var(--badge-size-height-sm);
|
|
16164
|
-
}
|
|
16165
|
-
|
|
16166
|
-
.muka-badge--md.muka-badge--icon-only {
|
|
16167
|
-
width: var(--badge-size-height-md);
|
|
16168
|
-
}
|
|
16169
|
-
|
|
16170
|
-
.muka-badge--lg.muka-badge--icon-only {
|
|
16171
|
-
width: var(--badge-size-height-lg);
|
|
16172
|
-
}
|
|
16173
|
-
|
|
16174
|
-
/* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 (matches Chip) */
|
|
16175
|
-
.muka-badge__icon {
|
|
16176
|
-
display: inline-flex;
|
|
16177
|
-
align-items: center;
|
|
16178
|
-
justify-content: center;
|
|
16179
|
-
flex-shrink: 0;
|
|
16180
|
-
}
|
|
16181
|
-
|
|
16182
|
-
.muka-badge--sm .muka-badge__icon {
|
|
16183
|
-
width: var(--icon-size-xs);
|
|
16184
|
-
height: var(--icon-size-xs);
|
|
16185
|
-
}
|
|
16186
|
-
.muka-badge--md .muka-badge__icon {
|
|
16187
|
-
width: var(--icon-size-sm);
|
|
16188
|
-
height: var(--icon-size-sm);
|
|
16189
|
-
}
|
|
16190
|
-
.muka-badge--lg .muka-badge__icon {
|
|
16191
|
-
width: var(--icon-size-default);
|
|
16192
|
-
height: var(--icon-size-default);
|
|
16193
|
-
}
|
|
16194
|
-
|
|
16195
|
-
/* Force the passed content (raw <svg> or an <Icon> wrapper) to the slot size,
|
|
16196
|
-
so callers don't have to size the icon to match each badge size. The
|
|
16197
|
-
.muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
|
|
16198
|
-
.muka-badge__icon .muka-icon,
|
|
16199
|
-
.muka-badge__icon svg {
|
|
16200
|
-
width: 100%;
|
|
16201
|
-
height: 100%;
|
|
16202
|
-
}
|
|
16203
|
-
|
|
16204
|
-
/* Icons inherit the badge's per-variant foreground color */
|
|
16205
|
-
.muka-badge .muka-icon {
|
|
16206
|
-
color: inherit;
|
|
16207
|
-
}
|
|
16208
|
-
|
|
16209
|
-
/* Dot indicator */
|
|
16210
|
-
.muka-badge__dot {
|
|
16211
|
-
flex-shrink: 0;
|
|
16212
|
-
border-radius: var(--border-radius-full);
|
|
16213
|
-
}
|
|
16214
|
-
|
|
16215
|
-
.muka-badge--sm .muka-badge__dot {
|
|
16216
|
-
width: var(--badge-size-dot-sm);
|
|
16217
|
-
height: var(--badge-size-dot-sm);
|
|
16218
|
-
}
|
|
16219
|
-
|
|
16220
|
-
.muka-badge--md .muka-badge__dot {
|
|
16221
|
-
width: var(--badge-size-dot-md);
|
|
16222
|
-
height: var(--badge-size-dot-md);
|
|
16223
|
-
}
|
|
16224
|
-
|
|
16225
|
-
.muka-badge--lg .muka-badge__dot {
|
|
16226
|
-
width: var(--badge-size-dot-lg);
|
|
16227
|
-
height: var(--badge-size-dot-lg);
|
|
16228
|
-
}
|
|
16229
|
-
|
|
16230
|
-
.muka-badge__label {
|
|
16231
|
-
flex: 0 1 auto;
|
|
16232
|
-
min-width: 0;
|
|
16233
|
-
overflow: hidden;
|
|
16234
|
-
text-overflow: ellipsis;
|
|
16235
|
-
/*
|
|
16236
|
-
* The badge sets a tight line-height for compact sizing, but the label's
|
|
16237
|
-
* `overflow: hidden` (needed for ellipsis) then clips glyph descenders (g, y, p). Give the
|
|
16238
|
-
* label its own roomier line-height so descenders render; vertical centering is unaffected
|
|
16239
|
-
* because the badge height is fixed and content is centered via align-items: center.
|
|
16240
|
-
*/
|
|
16241
|
-
line-height: normal;
|
|
16242
|
-
}
|
|
16405
|
+
/* ─── Desktop: Top Navigation transformation ──────────── */
|
|
16243
16406
|
|
|
16244
|
-
|
|
16245
|
-
.muka-
|
|
16246
|
-
|
|
16247
|
-
|
|
16248
|
-
|
|
16407
|
+
@media (min-width: 1024px) {
|
|
16408
|
+
.muka-bottombar--desktop-topnav {
|
|
16409
|
+
position: fixed;
|
|
16410
|
+
top: 0;
|
|
16411
|
+
left: 0;
|
|
16412
|
+
right: 0;
|
|
16413
|
+
width: 100%;
|
|
16414
|
+
height: auto;
|
|
16415
|
+
background-color: var(--bottombar-color-background);
|
|
16416
|
+
border-bottom: var(--border-width-regular) solid var(--bottombar-color-border);
|
|
16417
|
+
z-index: 10;
|
|
16418
|
+
}
|
|
16249
16419
|
|
|
16250
|
-
.muka-
|
|
16251
|
-
|
|
16252
|
-
}
|
|
16420
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__divider {
|
|
16421
|
+
display: none;
|
|
16422
|
+
}
|
|
16253
16423
|
|
|
16254
|
-
|
|
16255
|
-
|
|
16256
|
-
|
|
16257
|
-
|
|
16258
|
-
|
|
16424
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__content {
|
|
16425
|
+
flex-direction: row;
|
|
16426
|
+
justify-content: center;
|
|
16427
|
+
gap: var(--spacing-1);
|
|
16428
|
+
padding: 0 var(--spacing-4);
|
|
16429
|
+
max-width: var(--container-max-width-large, 1200px);
|
|
16430
|
+
margin: 0 auto;
|
|
16431
|
+
}
|
|
16259
16432
|
|
|
16260
|
-
.muka-
|
|
16261
|
-
|
|
16262
|
-
|
|
16433
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab {
|
|
16434
|
+
flex: 0 0 auto;
|
|
16435
|
+
flex-direction: row;
|
|
16436
|
+
gap: var(--spacing-2);
|
|
16437
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
16438
|
+
border-radius: 0;
|
|
16439
|
+
border-bottom: 2px solid transparent;
|
|
16440
|
+
}
|
|
16263
16441
|
|
|
16264
|
-
|
|
16265
|
-
|
|
16266
|
-
|
|
16267
|
-
color: var(--color-state-success-contrast);
|
|
16268
|
-
}
|
|
16442
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab--active {
|
|
16443
|
+
border-bottom-color: var(--color-action-default);
|
|
16444
|
+
}
|
|
16269
16445
|
|
|
16270
|
-
.muka-
|
|
16271
|
-
|
|
16272
|
-
}
|
|
16446
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab:hover {
|
|
16447
|
+
background-color: var(--color-surface-level2);
|
|
16448
|
+
}
|
|
16273
16449
|
|
|
16274
|
-
|
|
16275
|
-
|
|
16276
|
-
|
|
16277
|
-
|
|
16278
|
-
|
|
16450
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab-label {
|
|
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);
|
|
16455
|
+
}
|
|
16279
16456
|
|
|
16280
|
-
|
|
16281
|
-
|
|
16282
|
-
|
|
16457
|
+
/* When floating and topnav, remove the floating card styles */
|
|
16458
|
+
.muka-bottombar--desktop-topnav.muka-bottombar--floating {
|
|
16459
|
+
padding: 0;
|
|
16460
|
+
}
|
|
16283
16461
|
|
|
16284
|
-
|
|
16285
|
-
|
|
16286
|
-
|
|
16287
|
-
|
|
16462
|
+
.muka-bottombar--desktop-topnav.muka-bottombar--floating .muka-bottombar__content {
|
|
16463
|
+
background-color: transparent;
|
|
16464
|
+
border-radius: 0;
|
|
16465
|
+
box-shadow: none;
|
|
16466
|
+
}
|
|
16288
16467
|
}
|
|
16289
16468
|
|
|
16290
|
-
|
|
16291
|
-
|
|
16469
|
+
/* ─── Print ────────────────────────────────────────────── */
|
|
16470
|
+
|
|
16471
|
+
@media print {
|
|
16472
|
+
.muka-bottombar {
|
|
16473
|
+
display: none;
|
|
16474
|
+
}
|
|
16292
16475
|
}
|
|
16293
16476
|
|
|
16294
16477
|
|
|
@@ -17484,149 +17667,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
17484
17667
|
border-bottom: none;
|
|
17485
17668
|
}
|
|
17486
17669
|
|
|
17487
|
-
|
|
17488
|
-
/* Card */
|
|
17489
|
-
/* Card Component Styles - Using Muka Design Tokens */
|
|
17490
|
-
|
|
17491
|
-
.muka-card {
|
|
17492
|
-
background-color: var(--card-color-default-background);
|
|
17493
|
-
color: var(--card-color-default-foreground);
|
|
17494
|
-
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
17495
|
-
box-shadow: var(--card-shadow-default);
|
|
17496
|
-
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
17497
|
-
overflow: hidden;
|
|
17498
|
-
}
|
|
17499
|
-
|
|
17500
|
-
/* Padding variants */
|
|
17501
|
-
.muka-card--padding-none {
|
|
17502
|
-
padding: 0;
|
|
17503
|
-
}
|
|
17504
|
-
|
|
17505
|
-
.muka-card--padding-sm {
|
|
17506
|
-
padding: var(--card-padding-sm);
|
|
17507
|
-
}
|
|
17508
|
-
|
|
17509
|
-
.muka-card--padding-md {
|
|
17510
|
-
padding: var(--card-padding-md);
|
|
17511
|
-
}
|
|
17512
|
-
|
|
17513
|
-
.muka-card--padding-lg {
|
|
17514
|
-
padding: var(--card-padding-lg);
|
|
17515
|
-
}
|
|
17516
|
-
|
|
17517
|
-
/* Radius variants */
|
|
17518
|
-
.muka-card--radius-sm {
|
|
17519
|
-
border-radius: var(--card-radius-sm);
|
|
17520
|
-
}
|
|
17521
|
-
|
|
17522
|
-
.muka-card--radius-md {
|
|
17523
|
-
border-radius: var(--card-radius-md);
|
|
17524
|
-
}
|
|
17525
|
-
|
|
17526
|
-
.muka-card--radius-lg {
|
|
17527
|
-
border-radius: var(--card-radius-lg);
|
|
17528
|
-
}
|
|
17529
|
-
|
|
17530
|
-
/* Interactive variant */
|
|
17531
|
-
.muka-card--interactive {
|
|
17532
|
-
cursor: pointer;
|
|
17533
|
-
user-select: none;
|
|
17534
|
-
}
|
|
17535
|
-
|
|
17536
|
-
.muka-card--interactive:hover {
|
|
17537
|
-
background-color: var(--card-color-hover-background);
|
|
17538
|
-
border-color: var(--card-color-hover-border);
|
|
17539
|
-
box-shadow: var(--card-shadow-hover);
|
|
17540
|
-
}
|
|
17541
|
-
|
|
17542
|
-
.muka-card--interactive:active,
|
|
17543
|
-
.muka-card--interactive.muka-card--pressed {
|
|
17544
|
-
background-color: var(--card-color-pressed-background);
|
|
17545
|
-
border-color: var(--card-color-pressed-border);
|
|
17546
|
-
box-shadow: var(--card-shadow-pressed);
|
|
17547
|
-
}
|
|
17548
|
-
|
|
17549
|
-
.muka-card--interactive:focus-visible {
|
|
17550
|
-
outline: 2px solid var(--color-border-focus);
|
|
17551
|
-
outline-offset: 2px;
|
|
17552
|
-
}
|
|
17553
|
-
|
|
17554
|
-
/* Selected variant */
|
|
17555
|
-
.muka-card--selected {
|
|
17556
|
-
background-color: var(--card-color-selected-background);
|
|
17557
|
-
border-color: var(--card-color-selected-border);
|
|
17558
|
-
border-width: var(--border-width-bold);
|
|
17559
|
-
box-shadow: var(--card-shadow-selected);
|
|
17560
|
-
}
|
|
17561
|
-
|
|
17562
|
-
/* Tone: sticky note (MUK-105) */
|
|
17563
|
-
.muka-card--tone-note {
|
|
17564
|
-
background-color: var(--card-color-note-background);
|
|
17565
|
-
color: var(--card-color-note-foreground);
|
|
17566
|
-
border-color: var(--card-color-note-border);
|
|
17567
|
-
box-shadow: var(--card-shadow-note);
|
|
17568
|
-
}
|
|
17569
|
-
|
|
17570
|
-
.muka-card--tone-note.muka-card--interactive:hover,
|
|
17571
|
-
.muka-card--tone-note.muka-card--interactive:active,
|
|
17572
|
-
.muka-card--tone-note.muka-card--interactive.muka-card--pressed {
|
|
17573
|
-
background-color: var(--card-color-note-background);
|
|
17574
|
-
border-color: var(--card-color-note-border);
|
|
17575
|
-
}
|
|
17576
|
-
|
|
17577
|
-
.muka-card--tilt-left {
|
|
17578
|
-
transform: rotate(-0.75deg);
|
|
17579
|
-
}
|
|
17580
|
-
|
|
17581
|
-
.muka-card--tilt-right {
|
|
17582
|
-
transform: rotate(0.6deg);
|
|
17583
|
-
}
|
|
17584
|
-
|
|
17585
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
17586
|
-
.muka-card--tilt-left,
|
|
17587
|
-
.muka-card--tilt-right {
|
|
17588
|
-
transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
17589
|
-
}
|
|
17590
|
-
}
|
|
17591
|
-
|
|
17592
|
-
.muka-card--interactive.muka-card--tilt-left:hover,
|
|
17593
|
-
.muka-card--interactive.muka-card--tilt-right:hover {
|
|
17594
|
-
transform: none;
|
|
17595
|
-
}
|
|
17596
|
-
|
|
17597
|
-
/* Optional header (title + description) */
|
|
17598
|
-
.muka-card__header {
|
|
17599
|
-
margin-bottom: var(--spacing-4);
|
|
17600
|
-
}
|
|
17601
|
-
|
|
17602
|
-
.muka-card__title {
|
|
17603
|
-
margin: 0;
|
|
17604
|
-
color: var(--color-text-default-default);
|
|
17605
|
-
font-family: var(--text-heading-xs-fontFamily);
|
|
17606
|
-
font-weight: var(--text-heading-xs-fontWeight);
|
|
17607
|
-
font-size: var(--text-heading-xs-fontSize);
|
|
17608
|
-
line-height: var(--text-heading-xs-lineHeight);
|
|
17609
|
-
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
17610
|
-
}
|
|
17611
|
-
|
|
17612
|
-
.muka-card__description {
|
|
17613
|
-
margin: var(--spacing-1) 0 0;
|
|
17614
|
-
color: var(--color-text-subtle-default);
|
|
17615
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17616
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17617
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
17618
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17619
|
-
}
|
|
17620
|
-
|
|
17621
|
-
/* Hide divider on last list item inside card */
|
|
17622
|
-
.muka-card > .muka-listitem:last-child > .muka-listitem__divider {
|
|
17623
|
-
display: none;
|
|
17624
|
-
}
|
|
17625
|
-
|
|
17626
|
-
/* Disabled state */
|
|
17627
|
-
.muka-card--disabled {
|
|
17628
|
-
opacity: 0.5;
|
|
17629
|
-
cursor: not-allowed;
|
|
17630
|
-
pointer-events: none;
|
|
17631
|
-
}
|
|
17632
|
-
|