@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
|
@@ -3608,795 +3608,795 @@ body {
|
|
|
3608
3608
|
}
|
|
3609
3609
|
|
|
3610
3610
|
|
|
3611
|
-
/*
|
|
3612
|
-
/*
|
|
3611
|
+
/* Tile */
|
|
3612
|
+
/* Tile Component Styles - Using Muka Design Tokens */
|
|
3613
3613
|
|
|
3614
|
-
|
|
3615
|
-
position: relative;
|
|
3616
|
-
flex-shrink: 0;
|
|
3617
|
-
}
|
|
3614
|
+
/* ─── Base ────────────────────────────────────────────── */
|
|
3618
3615
|
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
.muka-thumbnail__frame {
|
|
3623
|
-
position: absolute;
|
|
3624
|
-
inset: 0;
|
|
3625
|
-
overflow: hidden;
|
|
3626
|
-
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
3627
|
-
border-radius: var(--border-radius-lg);
|
|
3628
|
-
background-color: var(--color-surface-level1);
|
|
3616
|
+
.muka-tile {
|
|
3617
|
+
display: flex;
|
|
3618
|
+
color: var(--color-text-default-default);
|
|
3629
3619
|
}
|
|
3630
3620
|
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
height: 120px;
|
|
3621
|
+
.muka-tile--interactive {
|
|
3622
|
+
cursor: pointer;
|
|
3623
|
+
user-select: none;
|
|
3635
3624
|
}
|
|
3636
3625
|
|
|
3637
|
-
.muka-
|
|
3638
|
-
|
|
3639
|
-
|
|
3626
|
+
.muka-tile--interactive:focus-visible {
|
|
3627
|
+
outline: 2px solid var(--color-border-focus);
|
|
3628
|
+
outline-offset: 2px;
|
|
3629
|
+
border-radius: var(--border-radius-lg);
|
|
3640
3630
|
}
|
|
3641
3631
|
|
|
3642
|
-
|
|
3643
|
-
width: 120px;
|
|
3644
|
-
height: 120px;
|
|
3645
|
-
}
|
|
3632
|
+
/* ─── Image position variants ─────────────────────────── */
|
|
3646
3633
|
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
width: 100%;
|
|
3650
|
-
height: auto;
|
|
3651
|
-
aspect-ratio: 1 / 1;
|
|
3634
|
+
.muka-tile--image-top {
|
|
3635
|
+
flex-direction: column;
|
|
3652
3636
|
}
|
|
3653
3637
|
|
|
3654
|
-
.muka-
|
|
3655
|
-
|
|
3638
|
+
.muka-tile--image-left {
|
|
3639
|
+
flex-direction: row;
|
|
3656
3640
|
}
|
|
3657
3641
|
|
|
3658
|
-
.muka-
|
|
3659
|
-
|
|
3642
|
+
.muka-tile--image-right {
|
|
3643
|
+
flex-direction: row;
|
|
3660
3644
|
}
|
|
3661
3645
|
|
|
3662
|
-
/*
|
|
3663
|
-
interactive hover zoom has a clean origin. */
|
|
3664
|
-
.muka-thumbnail__image {
|
|
3665
|
-
position: absolute;
|
|
3666
|
-
inset: 0;
|
|
3667
|
-
width: 100%;
|
|
3668
|
-
height: 100%;
|
|
3669
|
-
object-fit: cover;
|
|
3670
|
-
display: block;
|
|
3671
|
-
transform-origin: center;
|
|
3672
|
-
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
3673
|
-
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
3674
|
-
}
|
|
3646
|
+
/* ─── Gap by size (top) ───────────────────────────────── */
|
|
3675
3647
|
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
position: absolute;
|
|
3679
|
-
inset: 0;
|
|
3680
|
-
padding: 0;
|
|
3681
|
-
border: 0;
|
|
3682
|
-
background: none;
|
|
3683
|
-
cursor: pointer;
|
|
3684
|
-
overflow: hidden;
|
|
3648
|
+
.muka-tile--image-top.muka-tile--lg {
|
|
3649
|
+
gap: var(--spacing-6);
|
|
3685
3650
|
}
|
|
3686
3651
|
|
|
3687
|
-
.muka-
|
|
3688
|
-
|
|
3689
|
-
|
|
3652
|
+
.muka-tile--image-top.muka-tile--md {
|
|
3653
|
+
gap: var(--spacing-6);
|
|
3654
|
+
width: 320px;
|
|
3690
3655
|
}
|
|
3691
3656
|
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3657
|
+
.muka-tile--image-top.muka-tile--sm {
|
|
3658
|
+
gap: var(--spacing-4);
|
|
3659
|
+
min-width: 120px;
|
|
3695
3660
|
}
|
|
3696
3661
|
|
|
3697
|
-
/* ───
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3662
|
+
/* ─── Gap by size (left/right) ────────────────────────── */
|
|
3663
|
+
|
|
3664
|
+
.muka-tile--image-left.muka-tile--lg,
|
|
3665
|
+
.muka-tile--image-right.muka-tile--lg {
|
|
3666
|
+
gap: var(--spacing-6);
|
|
3702
3667
|
align-items: center;
|
|
3703
|
-
justify-content: center;
|
|
3704
|
-
background-color: var(--dialog-color-backdrop);
|
|
3705
3668
|
}
|
|
3706
3669
|
|
|
3707
|
-
.muka-
|
|
3708
|
-
|
|
3709
|
-
|
|
3670
|
+
.muka-tile--image-left.muka-tile--md,
|
|
3671
|
+
.muka-tile--image-right.muka-tile--md {
|
|
3672
|
+
gap: var(--spacing-6);
|
|
3673
|
+
align-items: center;
|
|
3710
3674
|
}
|
|
3711
3675
|
|
|
3712
|
-
|
|
3713
|
-
.muka-
|
|
3714
|
-
|
|
3715
|
-
|
|
3676
|
+
.muka-tile--image-left.muka-tile--sm,
|
|
3677
|
+
.muka-tile--image-right.muka-tile--sm {
|
|
3678
|
+
gap: var(--spacing-4);
|
|
3679
|
+
align-items: flex-start;
|
|
3716
3680
|
}
|
|
3717
3681
|
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3682
|
+
/* ─── Photos container ────────────────────────────────── */
|
|
3683
|
+
|
|
3684
|
+
.muka-tile__photos {
|
|
3685
|
+
position: relative;
|
|
3686
|
+
flex-shrink: 0;
|
|
3687
|
+
overflow: hidden;
|
|
3721
3688
|
display: flex;
|
|
3722
3689
|
flex-direction: column;
|
|
3723
|
-
|
|
3724
|
-
justify-content: center;
|
|
3725
|
-
gap: var(--spacing-2);
|
|
3726
|
-
padding: var(--spacing-3);
|
|
3727
|
-
text-align: center;
|
|
3690
|
+
isolation: isolate;
|
|
3728
3691
|
}
|
|
3729
3692
|
|
|
3730
|
-
|
|
3731
|
-
|
|
3693
|
+
/* Photos border radius by size */
|
|
3694
|
+
.muka-tile--lg .muka-tile__photos,
|
|
3695
|
+
.muka-tile--md .muka-tile__photos {
|
|
3696
|
+
border-radius: var(--border-radius-lg);
|
|
3732
3697
|
}
|
|
3733
3698
|
|
|
3734
|
-
.muka-
|
|
3735
|
-
|
|
3736
|
-
overflow: hidden;
|
|
3737
|
-
text-overflow: ellipsis;
|
|
3738
|
-
white-space: nowrap;
|
|
3739
|
-
color: var(--alert-color-error-accent);
|
|
3740
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
3741
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
3742
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
3743
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
3699
|
+
.muka-tile--sm .muka-tile__photos {
|
|
3700
|
+
border-radius: var(--border-radius-md);
|
|
3744
3701
|
}
|
|
3745
3702
|
|
|
3746
|
-
/*
|
|
3747
|
-
.muka-
|
|
3748
|
-
|
|
3749
|
-
top: var(--spacing-2);
|
|
3750
|
-
right: var(--spacing-2);
|
|
3751
|
-
display: flex;
|
|
3752
|
-
align-items: center;
|
|
3753
|
-
justify-content: center;
|
|
3754
|
-
width: var(--size-2xl);
|
|
3755
|
-
height: var(--size-2xl);
|
|
3756
|
-
padding: 0;
|
|
3757
|
-
color: var(--button-color-tertiary-foreground-default);
|
|
3758
|
-
background-color: var(--button-color-tertiary-background-default);
|
|
3759
|
-
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
3760
|
-
border-radius: var(--border-radius-lg);
|
|
3761
|
-
cursor: pointer;
|
|
3762
|
-
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
3763
|
-
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
3703
|
+
/* Photos sizing: top layout */
|
|
3704
|
+
.muka-tile--image-top .muka-tile__photos {
|
|
3705
|
+
width: 100%;
|
|
3764
3706
|
}
|
|
3765
3707
|
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3708
|
+
/* Photos sizing: left/right large */
|
|
3709
|
+
.muka-tile--image-left.muka-tile--lg .muka-tile__photos,
|
|
3710
|
+
.muka-tile--image-right.muka-tile--lg .muka-tile__photos {
|
|
3711
|
+
width: 520px;
|
|
3770
3712
|
}
|
|
3771
3713
|
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3714
|
+
/* Photos sizing: left/right medium */
|
|
3715
|
+
.muka-tile--image-left.muka-tile--md .muka-tile__photos,
|
|
3716
|
+
.muka-tile--image-right.muka-tile--md .muka-tile__photos {
|
|
3717
|
+
width: 320px;
|
|
3776
3718
|
}
|
|
3777
3719
|
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3720
|
+
/* Photos sizing: left/right small (single 80x80 thumbnail) */
|
|
3721
|
+
.muka-tile--image-left.muka-tile--sm .muka-tile__photos,
|
|
3722
|
+
.muka-tile--image-right.muka-tile--sm .muka-tile__photos {
|
|
3723
|
+
width: 80px;
|
|
3724
|
+
align-self: stretch;
|
|
3781
3725
|
}
|
|
3782
3726
|
|
|
3783
|
-
/* ───
|
|
3784
|
-
@media (prefers-reduced-motion: reduce) {
|
|
3785
|
-
.muka-thumbnail__image,
|
|
3786
|
-
.muka-thumbnail__remove {
|
|
3787
|
-
transition: none;
|
|
3788
|
-
}
|
|
3727
|
+
/* ─── Main photo ──────────────────────────────────────── */
|
|
3789
3728
|
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3729
|
+
.muka-tile__photo-main {
|
|
3730
|
+
position: relative;
|
|
3731
|
+
width: 100%;
|
|
3732
|
+
overflow: hidden;
|
|
3733
|
+
flex-shrink: 0;
|
|
3793
3734
|
}
|
|
3794
3735
|
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
.muka-textarea {
|
|
3800
|
-
display: inline-flex;
|
|
3801
|
-
flex-direction: column;
|
|
3802
|
-
gap: var(--spacing-2);
|
|
3736
|
+
/* 16:9 aspect for lg and md */
|
|
3737
|
+
.muka-tile--lg .muka-tile__photo-main,
|
|
3738
|
+
.muka-tile--md .muka-tile__photo-main {
|
|
3739
|
+
aspect-ratio: 1280 / 720;
|
|
3803
3740
|
}
|
|
3804
3741
|
|
|
3805
|
-
/*
|
|
3806
|
-
.muka-
|
|
3807
|
-
|
|
3808
|
-
cursor: pointer;
|
|
3742
|
+
/* 1:1 aspect for top + sm */
|
|
3743
|
+
.muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
|
|
3744
|
+
aspect-ratio: 1 / 1;
|
|
3809
3745
|
}
|
|
3810
3746
|
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3747
|
+
/* Fixed size for left/right + sm */
|
|
3748
|
+
.muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
|
|
3749
|
+
.muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
|
|
3750
|
+
width: 80px;
|
|
3751
|
+
height: 80px;
|
|
3752
|
+
aspect-ratio: auto;
|
|
3816
3753
|
}
|
|
3817
3754
|
|
|
3818
|
-
.muka-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3755
|
+
.muka-tile__photo-main img {
|
|
3756
|
+
width: 100%;
|
|
3757
|
+
height: 100%;
|
|
3758
|
+
object-fit: cover;
|
|
3759
|
+
display: block;
|
|
3823
3760
|
}
|
|
3824
3761
|
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3762
|
+
/* ─── Favourite overlay ───────────────────────────────── */
|
|
3763
|
+
|
|
3764
|
+
.muka-tile__favourite {
|
|
3765
|
+
position: absolute;
|
|
3766
|
+
z-index: 3;
|
|
3830
3767
|
}
|
|
3831
3768
|
|
|
3832
|
-
.muka-
|
|
3833
|
-
|
|
3769
|
+
.muka-tile--lg .muka-tile__favourite,
|
|
3770
|
+
.muka-tile--md .muka-tile__favourite {
|
|
3771
|
+
top: var(--spacing-4);
|
|
3772
|
+
right: var(--spacing-4);
|
|
3834
3773
|
}
|
|
3835
3774
|
|
|
3836
|
-
|
|
3837
|
-
|
|
3775
|
+
.muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
|
|
3776
|
+
top: var(--spacing-1);
|
|
3777
|
+
right: var(--spacing-1);
|
|
3778
|
+
}
|
|
3779
|
+
|
|
3780
|
+
/* ─── Thumbnails ──────────────────────────────────────── */
|
|
3781
|
+
|
|
3782
|
+
.muka-tile__thumbnails {
|
|
3838
3783
|
display: flex;
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
3844
|
-
box-sizing: border-box;
|
|
3784
|
+
gap: 2px;
|
|
3785
|
+
overflow: hidden;
|
|
3786
|
+
flex-shrink: 0;
|
|
3787
|
+
height: 80px;
|
|
3845
3788
|
}
|
|
3846
3789
|
|
|
3847
|
-
.muka-
|
|
3848
|
-
|
|
3849
|
-
|
|
3790
|
+
.muka-tile__thumbnail {
|
|
3791
|
+
width: 80px;
|
|
3792
|
+
height: 80px;
|
|
3793
|
+
flex-shrink: 0;
|
|
3794
|
+
overflow: hidden;
|
|
3850
3795
|
}
|
|
3851
3796
|
|
|
3852
|
-
.muka-
|
|
3853
|
-
|
|
3854
|
-
|
|
3797
|
+
.muka-tile__thumbnail img {
|
|
3798
|
+
width: 100%;
|
|
3799
|
+
height: 100%;
|
|
3800
|
+
object-fit: cover;
|
|
3801
|
+
display: block;
|
|
3855
3802
|
}
|
|
3856
3803
|
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3804
|
+
/* Gap between main photo and thumbnails */
|
|
3805
|
+
.muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
|
|
3806
|
+
margin-top: 2px;
|
|
3860
3807
|
}
|
|
3861
3808
|
|
|
3862
|
-
/*
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3809
|
+
/* ─── Content section ─────────────────────────────────── */
|
|
3810
|
+
|
|
3811
|
+
.muka-tile__content {
|
|
3812
|
+
display: flex;
|
|
3813
|
+
flex-direction: column;
|
|
3814
|
+
flex: 1;
|
|
3815
|
+
min-width: 0;
|
|
3868
3816
|
}
|
|
3869
3817
|
|
|
3870
|
-
/*
|
|
3871
|
-
.muka-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
background-color: var(--input-field-color-error-background);
|
|
3875
|
-
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
3818
|
+
/* Top layout: content has horizontal padding */
|
|
3819
|
+
.muka-tile--image-top.muka-tile--lg .muka-tile__content {
|
|
3820
|
+
padding: 0 var(--spacing-3);
|
|
3821
|
+
gap: var(--spacing-1);
|
|
3876
3822
|
}
|
|
3877
3823
|
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
border-color: var(--input-field-color-disabled-border);
|
|
3882
|
-
cursor: not-allowed;
|
|
3824
|
+
.muka-tile--image-top.muka-tile--md .muka-tile__content {
|
|
3825
|
+
padding: 0 var(--spacing-3);
|
|
3826
|
+
gap: var(--spacing-2);
|
|
3883
3827
|
}
|
|
3884
3828
|
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
flex: 1;
|
|
3888
|
-
border: none;
|
|
3889
|
-
outline: none;
|
|
3890
|
-
background: transparent;
|
|
3891
|
-
color: var(--input-field-color-default-foreground);
|
|
3892
|
-
font-family: var(--text-input-md-fontFamily);
|
|
3893
|
-
font-weight: var(--text-input-md-fontWeight);
|
|
3894
|
-
font-size: var(--text-input-md-fontSize);
|
|
3895
|
-
line-height: var(--text-input-md-lineHeight);
|
|
3896
|
-
padding: 0;
|
|
3897
|
-
width: 100%;
|
|
3898
|
-
min-width: 0;
|
|
3829
|
+
.muka-tile--image-top.muka-tile--sm .muka-tile__content {
|
|
3830
|
+
gap: var(--spacing-2);
|
|
3899
3831
|
}
|
|
3900
3832
|
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
line-height: var(--text-input-sm-lineHeight);
|
|
3833
|
+
/* Left/right layout: content grows to fill space */
|
|
3834
|
+
.muka-tile--image-left .muka-tile__content,
|
|
3835
|
+
.muka-tile--image-right .muka-tile__content {
|
|
3836
|
+
gap: var(--spacing-3);
|
|
3906
3837
|
}
|
|
3907
3838
|
|
|
3908
|
-
.muka-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
font-size: var(--text-input-lg-fontSize);
|
|
3912
|
-
line-height: var(--text-input-lg-lineHeight);
|
|
3839
|
+
.muka-tile--image-left.muka-tile--lg .muka-tile__content,
|
|
3840
|
+
.muka-tile--image-right.muka-tile--lg .muka-tile__content {
|
|
3841
|
+
padding: 0 var(--spacing-3);
|
|
3913
3842
|
}
|
|
3914
3843
|
|
|
3915
|
-
.muka-
|
|
3916
|
-
|
|
3844
|
+
.muka-tile--image-left.muka-tile--md .muka-tile__content,
|
|
3845
|
+
.muka-tile--image-right.muka-tile--md .muka-tile__content {
|
|
3846
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
3917
3847
|
}
|
|
3918
3848
|
|
|
3919
|
-
.muka-
|
|
3920
|
-
|
|
3921
|
-
|
|
3849
|
+
.muka-tile--image-left.muka-tile--sm .muka-tile__content,
|
|
3850
|
+
.muka-tile--image-right.muka-tile--sm .muka-tile__content {
|
|
3851
|
+
gap: var(--spacing-2);
|
|
3922
3852
|
}
|
|
3923
3853
|
|
|
3924
|
-
/*
|
|
3925
|
-
|
|
3854
|
+
/* ─── Header (heading row + price) ────────────────────── */
|
|
3855
|
+
|
|
3856
|
+
.muka-tile__header {
|
|
3926
3857
|
display: flex;
|
|
3927
|
-
justify-content: space-between;
|
|
3928
3858
|
align-items: flex-start;
|
|
3859
|
+
gap: var(--spacing-4);
|
|
3860
|
+
}
|
|
3861
|
+
|
|
3862
|
+
/* Small horizontal: row with text and action */
|
|
3863
|
+
.muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
|
|
3929
3864
|
gap: var(--spacing-2);
|
|
3865
|
+
align-items: center;
|
|
3866
|
+
padding-top: var(--spacing-1);
|
|
3930
3867
|
}
|
|
3931
3868
|
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3869
|
+
/* ─── Text group ──────────────────────────────────────── */
|
|
3870
|
+
|
|
3871
|
+
.muka-tile__text {
|
|
3872
|
+
display: flex;
|
|
3873
|
+
flex-direction: column;
|
|
3874
|
+
flex: 1;
|
|
3875
|
+
min-width: 0;
|
|
3876
|
+
gap: var(--spacing-2);
|
|
3939
3877
|
}
|
|
3940
3878
|
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
3945
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
3946
|
-
color: var(--color-state-error-default);
|
|
3879
|
+
/* ─── Heading typography ──────────────────────────────── */
|
|
3880
|
+
|
|
3881
|
+
.muka-tile__heading {
|
|
3947
3882
|
margin: 0;
|
|
3948
3883
|
}
|
|
3949
3884
|
|
|
3950
|
-
.muka-
|
|
3951
|
-
font-family: var(--text-label-
|
|
3952
|
-
font-weight: var(--text-label-
|
|
3953
|
-
font-size: var(--text-label-
|
|
3954
|
-
line-height: var(--text-label-
|
|
3955
|
-
color: var(--color-text-
|
|
3956
|
-
margin-left: auto;
|
|
3885
|
+
.muka-tile--lg .muka-tile__heading {
|
|
3886
|
+
font-family: var(--text-label-2xl-semibold-fontFamily);
|
|
3887
|
+
font-weight: var(--text-label-2xl-semibold-fontWeight);
|
|
3888
|
+
font-size: var(--text-label-2xl-semibold-fontSize);
|
|
3889
|
+
line-height: var(--text-label-2xl-semibold-lineHeight);
|
|
3890
|
+
color: var(--color-text-default-default);
|
|
3957
3891
|
}
|
|
3958
3892
|
|
|
3893
|
+
.muka-tile--md .muka-tile__heading {
|
|
3894
|
+
font-family: var(--text-label-xl-semibold-fontFamily);
|
|
3895
|
+
font-weight: var(--text-label-xl-semibold-fontWeight);
|
|
3896
|
+
font-size: var(--text-label-xl-semibold-fontSize);
|
|
3897
|
+
line-height: var(--text-label-xl-semibold-lineHeight);
|
|
3898
|
+
color: var(--color-text-default-default);
|
|
3899
|
+
}
|
|
3959
3900
|
|
|
3960
|
-
|
|
3961
|
-
|
|
3901
|
+
.muka-tile--sm .muka-tile__heading {
|
|
3902
|
+
font-family: var(--text-label-lg-bold-fontFamily);
|
|
3903
|
+
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
3904
|
+
font-size: var(--text-label-lg-bold-fontSize);
|
|
3905
|
+
line-height: var(--text-label-lg-bold-lineHeight);
|
|
3906
|
+
color: var(--color-text-default-default);
|
|
3907
|
+
}
|
|
3962
3908
|
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
text-underline-offset: 0.2em;
|
|
3969
|
-
text-decoration-thickness: from-font;
|
|
3970
|
-
/* Rounds the focus ring's corners; the link itself has no visible box. */
|
|
3971
|
-
border-radius: var(--border-radius-sm);
|
|
3972
|
-
transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
|
|
3909
|
+
/* ─── Subheading typography ───────────────────────────── */
|
|
3910
|
+
|
|
3911
|
+
.muka-tile__subheading {
|
|
3912
|
+
margin: 0;
|
|
3913
|
+
color: var(--color-text-subtle-default);
|
|
3973
3914
|
}
|
|
3974
3915
|
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
font-
|
|
3979
|
-
|
|
3980
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
3981
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
3916
|
+
.muka-tile--lg .muka-tile__subheading {
|
|
3917
|
+
font-family: var(--text-subheading-md-fontFamily);
|
|
3918
|
+
font-weight: var(--text-subheading-md-fontWeight);
|
|
3919
|
+
font-size: var(--text-subheading-md-fontSize);
|
|
3920
|
+
line-height: var(--text-subheading-md-lineHeight);
|
|
3982
3921
|
}
|
|
3983
3922
|
|
|
3984
|
-
.muka-
|
|
3985
|
-
|
|
3986
|
-
font-
|
|
3987
|
-
font-
|
|
3988
|
-
|
|
3923
|
+
.muka-tile--md .muka-tile__subheading,
|
|
3924
|
+
.muka-tile--sm .muka-tile__subheading {
|
|
3925
|
+
font-family: var(--text-subheading-sm-fontFamily);
|
|
3926
|
+
font-weight: var(--text-subheading-sm-fontWeight);
|
|
3927
|
+
font-size: var(--text-subheading-sm-fontSize);
|
|
3928
|
+
line-height: var(--text-subheading-sm-lineHeight);
|
|
3989
3929
|
}
|
|
3990
3930
|
|
|
3991
|
-
|
|
3931
|
+
/* ─── Description typography ──────────────────────────── */
|
|
3932
|
+
|
|
3933
|
+
.muka-tile__description {
|
|
3934
|
+
margin: 0;
|
|
3935
|
+
color: var(--color-text-default-default);
|
|
3936
|
+
}
|
|
3937
|
+
|
|
3938
|
+
.muka-tile--lg .muka-tile__description {
|
|
3992
3939
|
font-family: var(--text-body-lg-regular-fontFamily);
|
|
3993
3940
|
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
3994
3941
|
font-size: var(--text-body-lg-regular-fontSize);
|
|
3995
3942
|
line-height: var(--text-body-lg-regular-lineHeight);
|
|
3996
3943
|
}
|
|
3997
3944
|
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
3945
|
+
.muka-tile--md .muka-tile__description,
|
|
3946
|
+
.muka-tile--sm .muka-tile__description {
|
|
3947
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
3948
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
3949
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
3950
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
4004
3951
|
}
|
|
4005
3952
|
|
|
4006
|
-
|
|
4007
|
-
.muka-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
.muka-text-link--default:active {
|
|
4012
|
-
color: var(--color-text-action-pressed);
|
|
3953
|
+
/* Description overflow for medium */
|
|
3954
|
+
.muka-tile--md .muka-tile__description {
|
|
3955
|
+
overflow: hidden;
|
|
3956
|
+
text-overflow: ellipsis;
|
|
4013
3957
|
}
|
|
4014
3958
|
|
|
4015
|
-
/* ───
|
|
4016
|
-
Hover, focus and pressed all darken to the default text colour. */
|
|
4017
|
-
.muka-text-link--subtle,
|
|
4018
|
-
.muka-text-link--subtle:visited {
|
|
4019
|
-
color: var(--color-text-subtle-default);
|
|
4020
|
-
}
|
|
3959
|
+
/* ─── Price slot ──────────────────────────────────────── */
|
|
4021
3960
|
|
|
4022
|
-
.muka-
|
|
4023
|
-
|
|
4024
|
-
.muka-text-link--subtle:active {
|
|
4025
|
-
color: var(--color-text-default-default);
|
|
3961
|
+
.muka-tile__price {
|
|
3962
|
+
flex-shrink: 0;
|
|
4026
3963
|
}
|
|
4027
3964
|
|
|
4028
|
-
/* ───
|
|
4029
|
-
Same ring as every other focusable Muka component. */
|
|
4030
|
-
.muka-text-link:focus-visible {
|
|
4031
|
-
outline: 2px solid var(--color-border-focus);
|
|
4032
|
-
outline-offset: 2px;
|
|
4033
|
-
}
|
|
3965
|
+
/* ─── Action slot ─────────────────────────────────────── */
|
|
4034
3966
|
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
transition: none;
|
|
4038
|
-
}
|
|
3967
|
+
.muka-tile__action {
|
|
3968
|
+
flex-shrink: 0;
|
|
4039
3969
|
}
|
|
4040
3970
|
|
|
4041
3971
|
|
|
4042
|
-
/*
|
|
4043
|
-
/*
|
|
4044
|
-
|
|
4045
|
-
/* ─── Base ────────────────────────────────────────────── */
|
|
4046
|
-
|
|
4047
|
-
.muka-tile {
|
|
4048
|
-
display: flex;
|
|
4049
|
-
color: var(--color-text-default-default);
|
|
4050
|
-
}
|
|
3972
|
+
/* Thumbnail */
|
|
3973
|
+
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
4051
3974
|
|
|
4052
|
-
.muka-
|
|
4053
|
-
|
|
4054
|
-
|
|
3975
|
+
.muka-thumbnail {
|
|
3976
|
+
position: relative;
|
|
3977
|
+
flex-shrink: 0;
|
|
4055
3978
|
}
|
|
4056
3979
|
|
|
4057
|
-
.
|
|
4058
|
-
|
|
4059
|
-
|
|
3980
|
+
/* The frame carries the border, background and shape clip. Keeping it separate
|
|
3981
|
+
from the root lets the remove (×) button sit outside the clip (needed for the
|
|
3982
|
+
circular/ellipse shape, whose corners would otherwise clip the button). */
|
|
3983
|
+
.muka-thumbnail__frame {
|
|
3984
|
+
position: absolute;
|
|
3985
|
+
inset: 0;
|
|
3986
|
+
overflow: hidden;
|
|
3987
|
+
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
4060
3988
|
border-radius: var(--border-radius-lg);
|
|
3989
|
+
background-color: var(--color-surface-level1);
|
|
4061
3990
|
}
|
|
4062
3991
|
|
|
4063
|
-
/* ───
|
|
3992
|
+
/* ─── Shapes ──────────────────────────────────────────── */
|
|
3993
|
+
.muka-thumbnail--4-3 {
|
|
3994
|
+
width: 160px;
|
|
3995
|
+
height: 120px;
|
|
3996
|
+
}
|
|
4064
3997
|
|
|
4065
|
-
.muka-
|
|
4066
|
-
|
|
3998
|
+
.muka-thumbnail--1-1 {
|
|
3999
|
+
width: 120px;
|
|
4000
|
+
height: 120px;
|
|
4067
4001
|
}
|
|
4068
4002
|
|
|
4069
|
-
.muka-
|
|
4070
|
-
|
|
4003
|
+
.muka-thumbnail--ellipse {
|
|
4004
|
+
width: 120px;
|
|
4005
|
+
height: 120px;
|
|
4071
4006
|
}
|
|
4072
4007
|
|
|
4073
|
-
.
|
|
4074
|
-
|
|
4008
|
+
/* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
|
|
4009
|
+
.muka-thumbnail--fluid {
|
|
4010
|
+
width: 100%;
|
|
4011
|
+
height: auto;
|
|
4012
|
+
aspect-ratio: 1 / 1;
|
|
4075
4013
|
}
|
|
4076
4014
|
|
|
4077
|
-
|
|
4015
|
+
.muka-thumbnail--fluid.muka-thumbnail--4-3 {
|
|
4016
|
+
aspect-ratio: 4 / 3;
|
|
4017
|
+
}
|
|
4078
4018
|
|
|
4079
|
-
.muka-
|
|
4080
|
-
|
|
4019
|
+
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
4020
|
+
border-radius: var(--border-radius-full);
|
|
4081
4021
|
}
|
|
4082
4022
|
|
|
4083
|
-
.
|
|
4084
|
-
|
|
4085
|
-
|
|
4023
|
+
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
4024
|
+
interactive hover zoom has a clean origin. */
|
|
4025
|
+
.muka-thumbnail__image {
|
|
4026
|
+
position: absolute;
|
|
4027
|
+
inset: 0;
|
|
4028
|
+
width: 100%;
|
|
4029
|
+
height: 100%;
|
|
4030
|
+
object-fit: cover;
|
|
4031
|
+
display: block;
|
|
4032
|
+
transform-origin: center;
|
|
4033
|
+
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
4034
|
+
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4086
4035
|
}
|
|
4087
4036
|
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4037
|
+
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
4038
|
+
.muka-thumbnail__trigger {
|
|
4039
|
+
position: absolute;
|
|
4040
|
+
inset: 0;
|
|
4041
|
+
padding: 0;
|
|
4042
|
+
border: 0;
|
|
4043
|
+
background: none;
|
|
4044
|
+
cursor: pointer;
|
|
4045
|
+
overflow: hidden;
|
|
4091
4046
|
}
|
|
4092
4047
|
|
|
4093
|
-
|
|
4048
|
+
.muka-thumbnail__trigger:focus-visible {
|
|
4049
|
+
outline: 2px solid var(--color-border-focus);
|
|
4050
|
+
outline-offset: -2px;
|
|
4051
|
+
}
|
|
4094
4052
|
|
|
4095
|
-
|
|
4096
|
-
.muka-
|
|
4097
|
-
|
|
4098
|
-
align-items: center;
|
|
4053
|
+
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
4054
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4055
|
+
transform: scale(1.05);
|
|
4099
4056
|
}
|
|
4100
4057
|
|
|
4101
|
-
|
|
4102
|
-
.muka-
|
|
4103
|
-
|
|
4058
|
+
/* ─── Loading overlay + progress donut ────────────────── */
|
|
4059
|
+
.muka-thumbnail__overlay {
|
|
4060
|
+
position: absolute;
|
|
4061
|
+
inset: 0;
|
|
4062
|
+
display: flex;
|
|
4104
4063
|
align-items: center;
|
|
4064
|
+
justify-content: center;
|
|
4065
|
+
background-color: var(--dialog-color-backdrop);
|
|
4105
4066
|
}
|
|
4106
4067
|
|
|
4107
|
-
.muka-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
align-items: flex-start;
|
|
4068
|
+
.muka-thumbnail__progress {
|
|
4069
|
+
width: 40px;
|
|
4070
|
+
height: 40px;
|
|
4111
4071
|
}
|
|
4112
4072
|
|
|
4113
|
-
/* ───
|
|
4073
|
+
/* ─── Error / corrupt state ───────────────────────────── */
|
|
4074
|
+
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
4075
|
+
background-color: var(--alias-color-state-error-muted);
|
|
4076
|
+
border-color: var(--alias-color-state-error-default);
|
|
4077
|
+
}
|
|
4114
4078
|
|
|
4115
|
-
.muka-
|
|
4116
|
-
position:
|
|
4117
|
-
|
|
4118
|
-
overflow: hidden;
|
|
4079
|
+
.muka-thumbnail__error {
|
|
4080
|
+
position: absolute;
|
|
4081
|
+
inset: 0;
|
|
4119
4082
|
display: flex;
|
|
4120
4083
|
flex-direction: column;
|
|
4121
|
-
|
|
4084
|
+
align-items: center;
|
|
4085
|
+
justify-content: center;
|
|
4086
|
+
gap: var(--spacing-2);
|
|
4087
|
+
padding: var(--spacing-3);
|
|
4088
|
+
text-align: center;
|
|
4122
4089
|
}
|
|
4123
4090
|
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
.muka-tile--md .muka-tile__photos {
|
|
4127
|
-
border-radius: var(--border-radius-lg);
|
|
4091
|
+
.muka-thumbnail__error-icon {
|
|
4092
|
+
color: var(--alert-color-error-accent);
|
|
4128
4093
|
}
|
|
4129
4094
|
|
|
4130
|
-
.muka-
|
|
4131
|
-
|
|
4095
|
+
.muka-thumbnail__caption {
|
|
4096
|
+
max-width: 100%;
|
|
4097
|
+
overflow: hidden;
|
|
4098
|
+
text-overflow: ellipsis;
|
|
4099
|
+
white-space: nowrap;
|
|
4100
|
+
color: var(--alert-color-error-accent);
|
|
4101
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4102
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
4103
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4104
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4132
4105
|
}
|
|
4133
4106
|
|
|
4134
|
-
/*
|
|
4135
|
-
.muka-
|
|
4136
|
-
|
|
4107
|
+
/* ─── Remove (×) button ───────────────────────────────── */
|
|
4108
|
+
.muka-thumbnail__remove {
|
|
4109
|
+
position: absolute;
|
|
4110
|
+
top: var(--spacing-2);
|
|
4111
|
+
right: var(--spacing-2);
|
|
4112
|
+
display: flex;
|
|
4113
|
+
align-items: center;
|
|
4114
|
+
justify-content: center;
|
|
4115
|
+
width: var(--size-2xl);
|
|
4116
|
+
height: var(--size-2xl);
|
|
4117
|
+
padding: 0;
|
|
4118
|
+
color: var(--button-color-tertiary-foreground-default);
|
|
4119
|
+
background-color: var(--button-color-tertiary-background-default);
|
|
4120
|
+
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
4121
|
+
border-radius: var(--border-radius-lg);
|
|
4122
|
+
cursor: pointer;
|
|
4123
|
+
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
4124
|
+
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4137
4125
|
}
|
|
4138
4126
|
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4127
|
+
.muka-thumbnail__remove:hover {
|
|
4128
|
+
color: var(--button-color-tertiary-foreground-hover);
|
|
4129
|
+
background-color: var(--button-color-tertiary-background-hover);
|
|
4130
|
+
border-color: var(--button-color-tertiary-border-hover);
|
|
4143
4131
|
}
|
|
4144
4132
|
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4133
|
+
.muka-thumbnail__remove:active {
|
|
4134
|
+
color: var(--button-color-tertiary-foreground-pressed);
|
|
4135
|
+
background-color: var(--button-color-tertiary-background-pressed);
|
|
4136
|
+
border-color: var(--button-color-tertiary-border-pressed);
|
|
4149
4137
|
}
|
|
4150
4138
|
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
width: 80px;
|
|
4155
|
-
align-self: stretch;
|
|
4139
|
+
.muka-thumbnail__remove:focus-visible {
|
|
4140
|
+
outline: 2px solid var(--color-border-focus);
|
|
4141
|
+
outline-offset: 2px;
|
|
4156
4142
|
}
|
|
4157
4143
|
|
|
4158
|
-
/* ───
|
|
4144
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4145
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4146
|
+
.muka-thumbnail__image,
|
|
4147
|
+
.muka-thumbnail__remove {
|
|
4148
|
+
transition: none;
|
|
4149
|
+
}
|
|
4159
4150
|
|
|
4160
|
-
.muka-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
overflow: hidden;
|
|
4164
|
-
flex-shrink: 0;
|
|
4151
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4152
|
+
transform: none;
|
|
4153
|
+
}
|
|
4165
4154
|
}
|
|
4166
4155
|
|
|
4167
|
-
/* 16:9 aspect for lg and md */
|
|
4168
|
-
.muka-tile--lg .muka-tile__photo-main,
|
|
4169
|
-
.muka-tile--md .muka-tile__photo-main {
|
|
4170
|
-
aspect-ratio: 1280 / 720;
|
|
4171
|
-
}
|
|
4172
4156
|
|
|
4173
|
-
/*
|
|
4174
|
-
|
|
4175
|
-
aspect-ratio: 1 / 1;
|
|
4176
|
-
}
|
|
4157
|
+
/* Textarea */
|
|
4158
|
+
/* Textarea Component Styles - Using Muka Design Tokens */
|
|
4177
4159
|
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
height: 80px;
|
|
4183
|
-
aspect-ratio: auto;
|
|
4160
|
+
.muka-textarea {
|
|
4161
|
+
display: inline-flex;
|
|
4162
|
+
flex-direction: column;
|
|
4163
|
+
gap: var(--spacing-2);
|
|
4184
4164
|
}
|
|
4185
4165
|
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
display: block;
|
|
4166
|
+
/* Label */
|
|
4167
|
+
.muka-textarea__label {
|
|
4168
|
+
color: var(--color-text-default-default);
|
|
4169
|
+
cursor: pointer;
|
|
4191
4170
|
}
|
|
4192
4171
|
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4172
|
+
.muka-textarea__label--sm {
|
|
4173
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
4174
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4175
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4176
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4198
4177
|
}
|
|
4199
4178
|
|
|
4200
|
-
.muka-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4179
|
+
.muka-textarea__label--md {
|
|
4180
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
4181
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
4182
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
4183
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
4204
4184
|
}
|
|
4205
4185
|
|
|
4206
|
-
.muka-
|
|
4207
|
-
|
|
4208
|
-
|
|
4186
|
+
.muka-textarea__label--lg {
|
|
4187
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
4188
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
4189
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
4190
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
4209
4191
|
}
|
|
4210
4192
|
|
|
4211
|
-
|
|
4193
|
+
.muka-textarea__required {
|
|
4194
|
+
color: var(--color-state-error-default);
|
|
4195
|
+
}
|
|
4212
4196
|
|
|
4213
|
-
|
|
4197
|
+
/* Field container */
|
|
4198
|
+
.muka-textarea__field {
|
|
4214
4199
|
display: flex;
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4200
|
+
background-color: var(--input-field-color-default-background);
|
|
4201
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
4202
|
+
border-radius: var(--input-field-radius-md);
|
|
4203
|
+
padding: var(--input-field-padding-y) var(--input-field-padding-x);
|
|
4204
|
+
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
4205
|
+
box-sizing: border-box;
|
|
4219
4206
|
}
|
|
4220
4207
|
|
|
4221
|
-
.muka-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
flex-shrink: 0;
|
|
4225
|
-
overflow: hidden;
|
|
4208
|
+
.muka-textarea__field--sm {
|
|
4209
|
+
min-height: var(--input-textarea-height-sm);
|
|
4210
|
+
border-radius: var(--input-field-radius-sm);
|
|
4226
4211
|
}
|
|
4227
4212
|
|
|
4228
|
-
.muka-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
object-fit: cover;
|
|
4232
|
-
display: block;
|
|
4213
|
+
.muka-textarea__field--md {
|
|
4214
|
+
min-height: var(--input-textarea-height-default);
|
|
4215
|
+
border-radius: var(--input-field-radius-md);
|
|
4233
4216
|
}
|
|
4234
4217
|
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4218
|
+
.muka-textarea__field--lg {
|
|
4219
|
+
min-height: var(--input-textarea-height-lg);
|
|
4220
|
+
border-radius: var(--input-field-radius-lg);
|
|
4238
4221
|
}
|
|
4239
4222
|
|
|
4240
|
-
/*
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
min-width: 0;
|
|
4223
|
+
/* Focus state */
|
|
4224
|
+
.muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
|
|
4225
|
+
border-width: var(--border-width-bold);
|
|
4226
|
+
border-color: var(--input-field-color-focus-border);
|
|
4227
|
+
background-color: var(--input-field-color-focus-background);
|
|
4228
|
+
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
4247
4229
|
}
|
|
4248
4230
|
|
|
4249
|
-
/*
|
|
4250
|
-
.muka-
|
|
4251
|
-
|
|
4252
|
-
|
|
4231
|
+
/* Error state */
|
|
4232
|
+
.muka-textarea__field--error:not(.muka-textarea__field--disabled) {
|
|
4233
|
+
border-width: var(--border-width-bold);
|
|
4234
|
+
border-color: var(--input-field-color-error-border);
|
|
4235
|
+
background-color: var(--input-field-color-error-background);
|
|
4236
|
+
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
4253
4237
|
}
|
|
4254
4238
|
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4239
|
+
/* Disabled state */
|
|
4240
|
+
.muka-textarea__field--disabled {
|
|
4241
|
+
background-color: var(--input-field-color-disabled-background);
|
|
4242
|
+
border-color: var(--input-field-color-disabled-border);
|
|
4243
|
+
cursor: not-allowed;
|
|
4258
4244
|
}
|
|
4259
4245
|
|
|
4260
|
-
|
|
4261
|
-
|
|
4246
|
+
/* Native textarea */
|
|
4247
|
+
.muka-textarea__native {
|
|
4248
|
+
flex: 1;
|
|
4249
|
+
border: none;
|
|
4250
|
+
outline: none;
|
|
4251
|
+
background: transparent;
|
|
4252
|
+
color: var(--input-field-color-default-foreground);
|
|
4253
|
+
font-family: var(--text-input-md-fontFamily);
|
|
4254
|
+
font-weight: var(--text-input-md-fontWeight);
|
|
4255
|
+
font-size: var(--text-input-md-fontSize);
|
|
4256
|
+
line-height: var(--text-input-md-lineHeight);
|
|
4257
|
+
padding: 0;
|
|
4258
|
+
width: 100%;
|
|
4259
|
+
min-width: 0;
|
|
4262
4260
|
}
|
|
4263
4261
|
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4262
|
+
.muka-textarea__field--sm .muka-textarea__native {
|
|
4263
|
+
font-family: var(--text-input-sm-fontFamily);
|
|
4264
|
+
font-weight: var(--text-input-sm-fontWeight);
|
|
4265
|
+
font-size: var(--text-input-sm-fontSize);
|
|
4266
|
+
line-height: var(--text-input-sm-lineHeight);
|
|
4268
4267
|
}
|
|
4269
4268
|
|
|
4270
|
-
.muka-
|
|
4271
|
-
|
|
4272
|
-
|
|
4269
|
+
.muka-textarea__field--lg .muka-textarea__native {
|
|
4270
|
+
font-family: var(--text-input-lg-fontFamily);
|
|
4271
|
+
font-weight: var(--text-input-lg-fontWeight);
|
|
4272
|
+
font-size: var(--text-input-lg-fontSize);
|
|
4273
|
+
line-height: var(--text-input-lg-lineHeight);
|
|
4273
4274
|
}
|
|
4274
4275
|
|
|
4275
|
-
.muka-
|
|
4276
|
-
|
|
4277
|
-
padding: var(--spacing-2) var(--spacing-3);
|
|
4276
|
+
.muka-textarea__native::placeholder {
|
|
4277
|
+
color: var(--color-text-subtle-default);
|
|
4278
4278
|
}
|
|
4279
4279
|
|
|
4280
|
-
.muka-
|
|
4281
|
-
|
|
4282
|
-
|
|
4280
|
+
.muka-textarea__field--disabled .muka-textarea__native {
|
|
4281
|
+
color: var(--input-field-color-disabled-foreground);
|
|
4282
|
+
cursor: not-allowed;
|
|
4283
4283
|
}
|
|
4284
4284
|
|
|
4285
|
-
/*
|
|
4286
|
-
|
|
4287
|
-
.muka-tile__header {
|
|
4285
|
+
/* Footer (helper/error + count) */
|
|
4286
|
+
.muka-textarea__footer {
|
|
4288
4287
|
display: flex;
|
|
4288
|
+
justify-content: space-between;
|
|
4289
4289
|
align-items: flex-start;
|
|
4290
|
-
gap: var(--spacing-4);
|
|
4291
|
-
}
|
|
4292
|
-
|
|
4293
|
-
/* Small horizontal: row with text and action */
|
|
4294
|
-
.muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
|
|
4295
4290
|
gap: var(--spacing-2);
|
|
4296
|
-
align-items: center;
|
|
4297
|
-
padding-top: var(--spacing-1);
|
|
4298
4291
|
}
|
|
4299
4292
|
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
gap: var(--spacing-2);
|
|
4293
|
+
.muka-textarea__helper {
|
|
4294
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4295
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4296
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
4297
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4298
|
+
color: var(--color-text-subtle-default);
|
|
4299
|
+
margin: 0;
|
|
4308
4300
|
}
|
|
4309
4301
|
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4302
|
+
.muka-textarea__error {
|
|
4303
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4304
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4305
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
4306
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4307
|
+
color: var(--color-state-error-default);
|
|
4313
4308
|
margin: 0;
|
|
4314
4309
|
}
|
|
4315
4310
|
|
|
4316
|
-
.muka-
|
|
4317
|
-
font-family: var(--text-label-
|
|
4318
|
-
font-weight: var(--text-label-
|
|
4319
|
-
font-size: var(--text-label-
|
|
4320
|
-
line-height: var(--text-label-
|
|
4321
|
-
color: var(--color-text-
|
|
4311
|
+
.muka-textarea__count {
|
|
4312
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4313
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4314
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
4315
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4316
|
+
color: var(--color-text-subtle-default);
|
|
4317
|
+
margin-left: auto;
|
|
4322
4318
|
}
|
|
4323
4319
|
|
|
4324
|
-
.muka-tile--md .muka-tile__heading {
|
|
4325
|
-
font-family: var(--text-label-xl-semibold-fontFamily);
|
|
4326
|
-
font-weight: var(--text-label-xl-semibold-fontWeight);
|
|
4327
|
-
font-size: var(--text-label-xl-semibold-fontSize);
|
|
4328
|
-
line-height: var(--text-label-xl-semibold-lineHeight);
|
|
4329
|
-
color: var(--color-text-default-default);
|
|
4330
|
-
}
|
|
4331
4320
|
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
4335
|
-
font-size: var(--text-label-lg-bold-fontSize);
|
|
4336
|
-
line-height: var(--text-label-lg-bold-lineHeight);
|
|
4337
|
-
color: var(--color-text-default-default);
|
|
4338
|
-
}
|
|
4321
|
+
/* TextLink */
|
|
4322
|
+
/* TextLink Component Styles - Using Muka Design Tokens */
|
|
4339
4323
|
|
|
4340
|
-
|
|
4324
|
+
.muka-text-link {
|
|
4325
|
+
display: inline;
|
|
4326
|
+
cursor: pointer;
|
|
4327
|
+
text-decoration: underline;
|
|
4328
|
+
/* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
|
|
4329
|
+
text-underline-offset: 0.2em;
|
|
4330
|
+
text-decoration-thickness: from-font;
|
|
4331
|
+
/* Rounds the focus ring's corners; the link itself has no visible box. */
|
|
4332
|
+
border-radius: var(--border-radius-sm);
|
|
4333
|
+
transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
|
|
4334
|
+
}
|
|
4341
4335
|
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4336
|
+
/* ─── Sizes ───────────────────────────────────────────────
|
|
4337
|
+
Mirrors the body text scale so a link matches the copy it sits in. */
|
|
4338
|
+
.muka-text-link--sm {
|
|
4339
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4340
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4341
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
4342
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4345
4343
|
}
|
|
4346
4344
|
|
|
4347
|
-
.muka-
|
|
4348
|
-
font-family: var(--text-
|
|
4349
|
-
font-weight: var(--text-
|
|
4350
|
-
font-size: var(--text-
|
|
4351
|
-
line-height: var(--text-
|
|
4352
|
-
}
|
|
4353
|
-
|
|
4354
|
-
.muka-tile--md .muka-tile__subheading,
|
|
4355
|
-
.muka-tile--sm .muka-tile__subheading {
|
|
4356
|
-
font-family: var(--text-subheading-sm-fontFamily);
|
|
4357
|
-
font-weight: var(--text-subheading-sm-fontWeight);
|
|
4358
|
-
font-size: var(--text-subheading-sm-fontSize);
|
|
4359
|
-
line-height: var(--text-subheading-sm-lineHeight);
|
|
4360
|
-
}
|
|
4361
|
-
|
|
4362
|
-
/* ─── Description typography ──────────────────────────── */
|
|
4363
|
-
|
|
4364
|
-
.muka-tile__description {
|
|
4365
|
-
margin: 0;
|
|
4366
|
-
color: var(--color-text-default-default);
|
|
4345
|
+
.muka-text-link--base {
|
|
4346
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
4347
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4348
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
4349
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
4367
4350
|
}
|
|
4368
4351
|
|
|
4369
|
-
.muka-
|
|
4352
|
+
.muka-text-link--lg {
|
|
4370
4353
|
font-family: var(--text-body-lg-regular-fontFamily);
|
|
4371
4354
|
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
4372
4355
|
font-size: var(--text-body-lg-regular-fontSize);
|
|
4373
4356
|
line-height: var(--text-body-lg-regular-lineHeight);
|
|
4374
4357
|
}
|
|
4375
4358
|
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4359
|
+
/* ─── Variant: default (accent) ───────────────────────────
|
|
4360
|
+
Visited repeats the default colour on purpose: the design treats visited and
|
|
4361
|
+
default the same, and pinning it stops the browser's purple from showing. */
|
|
4362
|
+
.muka-text-link--default,
|
|
4363
|
+
.muka-text-link--default:visited {
|
|
4364
|
+
color: var(--color-text-action-default);
|
|
4382
4365
|
}
|
|
4383
4366
|
|
|
4384
|
-
|
|
4385
|
-
.muka-
|
|
4386
|
-
|
|
4387
|
-
text-overflow: ellipsis;
|
|
4367
|
+
.muka-text-link--default:hover,
|
|
4368
|
+
.muka-text-link--default:focus-visible {
|
|
4369
|
+
color: var(--color-text-action-hover);
|
|
4388
4370
|
}
|
|
4389
4371
|
|
|
4390
|
-
|
|
4372
|
+
.muka-text-link--default:active {
|
|
4373
|
+
color: var(--color-text-action-pressed);
|
|
4374
|
+
}
|
|
4391
4375
|
|
|
4392
|
-
|
|
4393
|
-
|
|
4376
|
+
/* ─── Variant: subtle (neutral) ───────────────────────────
|
|
4377
|
+
Hover, focus and pressed all darken to the default text colour. */
|
|
4378
|
+
.muka-text-link--subtle,
|
|
4379
|
+
.muka-text-link--subtle:visited {
|
|
4380
|
+
color: var(--color-text-subtle-default);
|
|
4394
4381
|
}
|
|
4395
4382
|
|
|
4396
|
-
|
|
4383
|
+
.muka-text-link--subtle:hover,
|
|
4384
|
+
.muka-text-link--subtle:focus-visible,
|
|
4385
|
+
.muka-text-link--subtle:active {
|
|
4386
|
+
color: var(--color-text-default-default);
|
|
4387
|
+
}
|
|
4397
4388
|
|
|
4398
|
-
|
|
4399
|
-
|
|
4389
|
+
/* ─── Focus ───────────────────────────────────────────────
|
|
4390
|
+
Same ring as every other focusable Muka component. */
|
|
4391
|
+
.muka-text-link:focus-visible {
|
|
4392
|
+
outline: 2px solid var(--color-border-focus);
|
|
4393
|
+
outline-offset: 2px;
|
|
4394
|
+
}
|
|
4395
|
+
|
|
4396
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4397
|
+
.muka-text-link {
|
|
4398
|
+
transition: none;
|
|
4399
|
+
}
|
|
4400
4400
|
}
|
|
4401
4401
|
|
|
4402
4402
|
|
|
@@ -4994,6 +4994,114 @@ body {
|
|
|
4994
4994
|
}
|
|
4995
4995
|
|
|
4996
4996
|
|
|
4997
|
+
/* SwipeActions */
|
|
4998
|
+
/* SwipeActions Component Styles */
|
|
4999
|
+
|
|
5000
|
+
.muka-swipe-actions {
|
|
5001
|
+
position: relative;
|
|
5002
|
+
overflow: hidden;
|
|
5003
|
+
touch-action: pan-y;
|
|
5004
|
+
-webkit-user-select: none;
|
|
5005
|
+
user-select: none;
|
|
5006
|
+
background-color: var(--color-surface-level3);
|
|
5007
|
+
}
|
|
5008
|
+
|
|
5009
|
+
.muka-swipe-actions--disabled {
|
|
5010
|
+
touch-action: auto;
|
|
5011
|
+
}
|
|
5012
|
+
|
|
5013
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
5014
|
+
|
|
5015
|
+
.muka-swipe-actions__row {
|
|
5016
|
+
position: relative;
|
|
5017
|
+
z-index: 1;
|
|
5018
|
+
background-color: inherit;
|
|
5019
|
+
will-change: transform;
|
|
5020
|
+
}
|
|
5021
|
+
|
|
5022
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
5023
|
+
|
|
5024
|
+
.muka-swipe-actions__panel {
|
|
5025
|
+
position: absolute;
|
|
5026
|
+
top: 0;
|
|
5027
|
+
bottom: 0;
|
|
5028
|
+
display: flex;
|
|
5029
|
+
align-items: stretch;
|
|
5030
|
+
z-index: 0;
|
|
5031
|
+
}
|
|
5032
|
+
|
|
5033
|
+
.muka-swipe-actions__panel--left {
|
|
5034
|
+
left: 0;
|
|
5035
|
+
}
|
|
5036
|
+
|
|
5037
|
+
.muka-swipe-actions__panel--right {
|
|
5038
|
+
right: 0;
|
|
5039
|
+
}
|
|
5040
|
+
|
|
5041
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
5042
|
+
|
|
5043
|
+
.muka-swipe-actions__button {
|
|
5044
|
+
display: flex;
|
|
5045
|
+
flex-direction: column;
|
|
5046
|
+
align-items: center;
|
|
5047
|
+
justify-content: center;
|
|
5048
|
+
gap: var(--spacing-1);
|
|
5049
|
+
border: none;
|
|
5050
|
+
cursor: pointer;
|
|
5051
|
+
padding: var(--spacing-2);
|
|
5052
|
+
background-color: var(--color-surface-level2);
|
|
5053
|
+
color: var(--color-text-default-default);
|
|
5054
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
5055
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
5056
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5057
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5058
|
+
-webkit-tap-highlight-color: transparent;
|
|
5059
|
+
transition: filter 0.12s ease;
|
|
5060
|
+
}
|
|
5061
|
+
|
|
5062
|
+
.muka-swipe-actions__button:hover {
|
|
5063
|
+
filter: brightness(0.95);
|
|
5064
|
+
}
|
|
5065
|
+
|
|
5066
|
+
.muka-swipe-actions__button:focus-visible {
|
|
5067
|
+
outline: 2px solid var(--color-action-default);
|
|
5068
|
+
outline-offset: -2px;
|
|
5069
|
+
}
|
|
5070
|
+
|
|
5071
|
+
.muka-swipe-actions__button-icon {
|
|
5072
|
+
display: inline-flex;
|
|
5073
|
+
align-items: center;
|
|
5074
|
+
justify-content: center;
|
|
5075
|
+
}
|
|
5076
|
+
|
|
5077
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
5078
|
+
|
|
5079
|
+
.muka-swipe-actions__button--neutral {
|
|
5080
|
+
background-color: var(--color-surface-level2);
|
|
5081
|
+
color: var(--color-text-default-default);
|
|
5082
|
+
}
|
|
5083
|
+
|
|
5084
|
+
.muka-swipe-actions__button--primary {
|
|
5085
|
+
background-color: var(--color-action-default);
|
|
5086
|
+
color: var(--color-text-default-inverse);
|
|
5087
|
+
}
|
|
5088
|
+
|
|
5089
|
+
.muka-swipe-actions__button--success {
|
|
5090
|
+
background-color: var(--color-state-success-default);
|
|
5091
|
+
color: var(--color-text-default-inverse);
|
|
5092
|
+
}
|
|
5093
|
+
|
|
5094
|
+
.muka-swipe-actions__button--warning {
|
|
5095
|
+
background-color: var(--color-state-warning-default);
|
|
5096
|
+
color: var(--color-text-default-default);
|
|
5097
|
+
}
|
|
5098
|
+
|
|
5099
|
+
.muka-swipe-actions__button--destructive {
|
|
5100
|
+
background-color: var(--color-state-error-default);
|
|
5101
|
+
color: var(--color-text-default-inverse);
|
|
5102
|
+
}
|
|
5103
|
+
|
|
5104
|
+
|
|
4997
5105
|
/* Spinner */
|
|
4998
5106
|
/* Spinner Component Styles */
|
|
4999
5107
|
|
|
@@ -5499,81 +5607,6 @@ body {
|
|
|
5499
5607
|
}
|
|
5500
5608
|
|
|
5501
5609
|
|
|
5502
|
-
/* Skeleton */
|
|
5503
|
-
/* Skeleton Component Styles */
|
|
5504
|
-
|
|
5505
|
-
.muka-skeleton {
|
|
5506
|
-
background-color: var(--color-surface-level1);
|
|
5507
|
-
display: block;
|
|
5508
|
-
}
|
|
5509
|
-
|
|
5510
|
-
/* Variants */
|
|
5511
|
-
.muka-skeleton--text {
|
|
5512
|
-
height: 1em;
|
|
5513
|
-
border-radius: var(--radius-md);
|
|
5514
|
-
width: 100%;
|
|
5515
|
-
}
|
|
5516
|
-
|
|
5517
|
-
.muka-skeleton--circular {
|
|
5518
|
-
width: 2.5rem;
|
|
5519
|
-
height: 2.5rem;
|
|
5520
|
-
border-radius: var(--radius-full);
|
|
5521
|
-
}
|
|
5522
|
-
|
|
5523
|
-
.muka-skeleton--rectangular {
|
|
5524
|
-
height: 7.5rem;
|
|
5525
|
-
border-radius: var(--radius-md);
|
|
5526
|
-
width: 100%;
|
|
5527
|
-
}
|
|
5528
|
-
|
|
5529
|
-
/* Last line in multi-line text is shorter */
|
|
5530
|
-
.muka-skeleton--last-line {
|
|
5531
|
-
width: 80%;
|
|
5532
|
-
}
|
|
5533
|
-
|
|
5534
|
-
/* Lines container */
|
|
5535
|
-
.muka-skeleton__lines {
|
|
5536
|
-
display: flex;
|
|
5537
|
-
flex-direction: column;
|
|
5538
|
-
gap: var(--spacing-2);
|
|
5539
|
-
}
|
|
5540
|
-
|
|
5541
|
-
/* Shimmer animation */
|
|
5542
|
-
@keyframes muka-skeleton-shimmer {
|
|
5543
|
-
0% {
|
|
5544
|
-
background-position: -200% 0;
|
|
5545
|
-
}
|
|
5546
|
-
100% {
|
|
5547
|
-
background-position: 200% 0;
|
|
5548
|
-
}
|
|
5549
|
-
}
|
|
5550
|
-
|
|
5551
|
-
.muka-skeleton--shimmer {
|
|
5552
|
-
background: linear-gradient(
|
|
5553
|
-
90deg,
|
|
5554
|
-
var(--color-surface-level1) 25%,
|
|
5555
|
-
var(--color-surface-level2) 50%,
|
|
5556
|
-
var(--color-surface-level1) 75%
|
|
5557
|
-
);
|
|
5558
|
-
background-size: 200% 100%;
|
|
5559
|
-
animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
|
|
5560
|
-
}
|
|
5561
|
-
|
|
5562
|
-
/* Pulse animation */
|
|
5563
|
-
@keyframes muka-skeleton-pulse {
|
|
5564
|
-
0%, 100% {
|
|
5565
|
-
opacity: 1;
|
|
5566
|
-
}
|
|
5567
|
-
50% {
|
|
5568
|
-
opacity: 0.4;
|
|
5569
|
-
}
|
|
5570
|
-
}
|
|
5571
|
-
|
|
5572
|
-
.muka-skeleton--pulse {
|
|
5573
|
-
animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
|
|
5574
|
-
}
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
5610
|
/* SiteHeader */
|
|
5578
5611
|
/* SiteHeader Component Styles */
|
|
5579
5612
|
|
|
@@ -5681,7 +5714,82 @@ body {
|
|
|
5681
5714
|
}
|
|
5682
5715
|
|
|
5683
5716
|
|
|
5684
|
-
/*
|
|
5717
|
+
/* Skeleton */
|
|
5718
|
+
/* Skeleton Component Styles */
|
|
5719
|
+
|
|
5720
|
+
.muka-skeleton {
|
|
5721
|
+
background-color: var(--color-surface-level1);
|
|
5722
|
+
display: block;
|
|
5723
|
+
}
|
|
5724
|
+
|
|
5725
|
+
/* Variants */
|
|
5726
|
+
.muka-skeleton--text {
|
|
5727
|
+
height: 1em;
|
|
5728
|
+
border-radius: var(--radius-md);
|
|
5729
|
+
width: 100%;
|
|
5730
|
+
}
|
|
5731
|
+
|
|
5732
|
+
.muka-skeleton--circular {
|
|
5733
|
+
width: 2.5rem;
|
|
5734
|
+
height: 2.5rem;
|
|
5735
|
+
border-radius: var(--radius-full);
|
|
5736
|
+
}
|
|
5737
|
+
|
|
5738
|
+
.muka-skeleton--rectangular {
|
|
5739
|
+
height: 7.5rem;
|
|
5740
|
+
border-radius: var(--radius-md);
|
|
5741
|
+
width: 100%;
|
|
5742
|
+
}
|
|
5743
|
+
|
|
5744
|
+
/* Last line in multi-line text is shorter */
|
|
5745
|
+
.muka-skeleton--last-line {
|
|
5746
|
+
width: 80%;
|
|
5747
|
+
}
|
|
5748
|
+
|
|
5749
|
+
/* Lines container */
|
|
5750
|
+
.muka-skeleton__lines {
|
|
5751
|
+
display: flex;
|
|
5752
|
+
flex-direction: column;
|
|
5753
|
+
gap: var(--spacing-2);
|
|
5754
|
+
}
|
|
5755
|
+
|
|
5756
|
+
/* Shimmer animation */
|
|
5757
|
+
@keyframes muka-skeleton-shimmer {
|
|
5758
|
+
0% {
|
|
5759
|
+
background-position: -200% 0;
|
|
5760
|
+
}
|
|
5761
|
+
100% {
|
|
5762
|
+
background-position: 200% 0;
|
|
5763
|
+
}
|
|
5764
|
+
}
|
|
5765
|
+
|
|
5766
|
+
.muka-skeleton--shimmer {
|
|
5767
|
+
background: linear-gradient(
|
|
5768
|
+
90deg,
|
|
5769
|
+
var(--color-surface-level1) 25%,
|
|
5770
|
+
var(--color-surface-level2) 50%,
|
|
5771
|
+
var(--color-surface-level1) 75%
|
|
5772
|
+
);
|
|
5773
|
+
background-size: 200% 100%;
|
|
5774
|
+
animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
|
|
5775
|
+
}
|
|
5776
|
+
|
|
5777
|
+
/* Pulse animation */
|
|
5778
|
+
@keyframes muka-skeleton-pulse {
|
|
5779
|
+
0%, 100% {
|
|
5780
|
+
opacity: 1;
|
|
5781
|
+
}
|
|
5782
|
+
50% {
|
|
5783
|
+
opacity: 0.4;
|
|
5784
|
+
}
|
|
5785
|
+
}
|
|
5786
|
+
|
|
5787
|
+
.muka-skeleton--pulse {
|
|
5788
|
+
animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
|
|
5789
|
+
}
|
|
5790
|
+
|
|
5791
|
+
|
|
5792
|
+
/* Sheet */
|
|
5685
5793
|
/* Sheet Component Styles */
|
|
5686
5794
|
|
|
5687
5795
|
/* ─── Backdrop ────────────────────────────────────────── */
|
|
@@ -6730,114 +6838,6 @@ body {
|
|
|
6730
6838
|
}
|
|
6731
6839
|
|
|
6732
6840
|
|
|
6733
|
-
/* SwipeActions */
|
|
6734
|
-
/* SwipeActions Component Styles */
|
|
6735
|
-
|
|
6736
|
-
.muka-swipe-actions {
|
|
6737
|
-
position: relative;
|
|
6738
|
-
overflow: hidden;
|
|
6739
|
-
touch-action: pan-y;
|
|
6740
|
-
-webkit-user-select: none;
|
|
6741
|
-
user-select: none;
|
|
6742
|
-
background-color: var(--color-surface-level3);
|
|
6743
|
-
}
|
|
6744
|
-
|
|
6745
|
-
.muka-swipe-actions--disabled {
|
|
6746
|
-
touch-action: auto;
|
|
6747
|
-
}
|
|
6748
|
-
|
|
6749
|
-
/* ─── Row that holds the actual content ────────────────── */
|
|
6750
|
-
|
|
6751
|
-
.muka-swipe-actions__row {
|
|
6752
|
-
position: relative;
|
|
6753
|
-
z-index: 1;
|
|
6754
|
-
background-color: inherit;
|
|
6755
|
-
will-change: transform;
|
|
6756
|
-
}
|
|
6757
|
-
|
|
6758
|
-
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
6759
|
-
|
|
6760
|
-
.muka-swipe-actions__panel {
|
|
6761
|
-
position: absolute;
|
|
6762
|
-
top: 0;
|
|
6763
|
-
bottom: 0;
|
|
6764
|
-
display: flex;
|
|
6765
|
-
align-items: stretch;
|
|
6766
|
-
z-index: 0;
|
|
6767
|
-
}
|
|
6768
|
-
|
|
6769
|
-
.muka-swipe-actions__panel--left {
|
|
6770
|
-
left: 0;
|
|
6771
|
-
}
|
|
6772
|
-
|
|
6773
|
-
.muka-swipe-actions__panel--right {
|
|
6774
|
-
right: 0;
|
|
6775
|
-
}
|
|
6776
|
-
|
|
6777
|
-
/* ─── Single action button ─────────────────────────────── */
|
|
6778
|
-
|
|
6779
|
-
.muka-swipe-actions__button {
|
|
6780
|
-
display: flex;
|
|
6781
|
-
flex-direction: column;
|
|
6782
|
-
align-items: center;
|
|
6783
|
-
justify-content: center;
|
|
6784
|
-
gap: var(--spacing-1);
|
|
6785
|
-
border: none;
|
|
6786
|
-
cursor: pointer;
|
|
6787
|
-
padding: var(--spacing-2);
|
|
6788
|
-
background-color: var(--color-surface-level2);
|
|
6789
|
-
color: var(--color-text-default-default);
|
|
6790
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
6791
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
6792
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
6793
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
6794
|
-
-webkit-tap-highlight-color: transparent;
|
|
6795
|
-
transition: filter 0.12s ease;
|
|
6796
|
-
}
|
|
6797
|
-
|
|
6798
|
-
.muka-swipe-actions__button:hover {
|
|
6799
|
-
filter: brightness(0.95);
|
|
6800
|
-
}
|
|
6801
|
-
|
|
6802
|
-
.muka-swipe-actions__button:focus-visible {
|
|
6803
|
-
outline: 2px solid var(--color-action-default);
|
|
6804
|
-
outline-offset: -2px;
|
|
6805
|
-
}
|
|
6806
|
-
|
|
6807
|
-
.muka-swipe-actions__button-icon {
|
|
6808
|
-
display: inline-flex;
|
|
6809
|
-
align-items: center;
|
|
6810
|
-
justify-content: center;
|
|
6811
|
-
}
|
|
6812
|
-
|
|
6813
|
-
/* ─── Color variants ───────────────────────────────────── */
|
|
6814
|
-
|
|
6815
|
-
.muka-swipe-actions__button--neutral {
|
|
6816
|
-
background-color: var(--color-surface-level2);
|
|
6817
|
-
color: var(--color-text-default-default);
|
|
6818
|
-
}
|
|
6819
|
-
|
|
6820
|
-
.muka-swipe-actions__button--primary {
|
|
6821
|
-
background-color: var(--color-action-default);
|
|
6822
|
-
color: var(--color-text-default-inverse);
|
|
6823
|
-
}
|
|
6824
|
-
|
|
6825
|
-
.muka-swipe-actions__button--success {
|
|
6826
|
-
background-color: var(--color-state-success-default);
|
|
6827
|
-
color: var(--color-text-default-inverse);
|
|
6828
|
-
}
|
|
6829
|
-
|
|
6830
|
-
.muka-swipe-actions__button--warning {
|
|
6831
|
-
background-color: var(--color-state-warning-default);
|
|
6832
|
-
color: var(--color-text-default-default);
|
|
6833
|
-
}
|
|
6834
|
-
|
|
6835
|
-
.muka-swipe-actions__button--destructive {
|
|
6836
|
-
background-color: var(--color-state-error-default);
|
|
6837
|
-
color: var(--color-text-default-inverse);
|
|
6838
|
-
}
|
|
6839
|
-
|
|
6840
|
-
|
|
6841
6841
|
/* RadioTile */
|
|
6842
6842
|
/* RadioTile Component Styles - Using Muka Design Tokens */
|
|
6843
6843
|
|
|
@@ -7172,57 +7172,315 @@ body {
|
|
|
7172
7172
|
}
|
|
7173
7173
|
|
|
7174
7174
|
|
|
7175
|
-
/*
|
|
7176
|
-
/*
|
|
7175
|
+
/* ProgressAccordeon */
|
|
7176
|
+
/* ProgressAccordeon Component Styles — Using Muka Design Tokens */
|
|
7177
7177
|
|
|
7178
7178
|
/* ─── Root ──────────────────────────────────────────────── */
|
|
7179
|
-
.muka-progress-
|
|
7179
|
+
.muka-progress-accordeon {
|
|
7180
|
+
container-type: inline-size;
|
|
7181
|
+
display: flex;
|
|
7182
|
+
flex-direction: column;
|
|
7183
|
+
align-items: stretch;
|
|
7180
7184
|
width: 100%;
|
|
7185
|
+
/* Top padding provides the vertical rhythm between stacked steps */
|
|
7186
|
+
padding-top: var(--spacing-8);
|
|
7181
7187
|
}
|
|
7182
7188
|
|
|
7183
|
-
|
|
7184
|
-
|
|
7189
|
+
/* Per-state gap: content-bearing steps are tighter, header-only steps looser */
|
|
7190
|
+
.muka-progress-accordeon--current,
|
|
7191
|
+
.muka-progress-accordeon--current.muka-progress-accordeon--expanded,
|
|
7192
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--expanded,
|
|
7193
|
+
.muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
|
|
7194
|
+
gap: var(--spacing-6);
|
|
7185
7195
|
}
|
|
7186
7196
|
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
.muka-progress-
|
|
7191
|
-
|
|
7192
|
-
overflow-y: hidden;
|
|
7193
|
-
-webkit-overflow-scrolling: touch;
|
|
7194
|
-
scrollbar-width: none;
|
|
7195
|
-
padding-inline: var(--spacing-12);
|
|
7196
|
-
box-sizing: border-box;
|
|
7197
|
+
.muka-progress-accordeon--upcoming,
|
|
7198
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
|
|
7199
|
+
.muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
|
|
7200
|
+
.muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
|
|
7201
|
+
gap: var(--spacing-8);
|
|
7197
7202
|
}
|
|
7198
7203
|
|
|
7199
|
-
.
|
|
7200
|
-
|
|
7204
|
+
/* Collapsible steps group header + slot. The header↔content gap lives inside the
|
|
7205
|
+
collapsing slot (as padding-top) so it collapses with the content, so the
|
|
7206
|
+
body gap itself is 0. */
|
|
7207
|
+
.muka-progress-accordeon__body {
|
|
7208
|
+
display: flex;
|
|
7209
|
+
flex-direction: column;
|
|
7210
|
+
gap: 0;
|
|
7211
|
+
width: 100%;
|
|
7201
7212
|
}
|
|
7202
7213
|
|
|
7203
|
-
/* ───
|
|
7204
|
-
.muka-progress-
|
|
7205
|
-
|
|
7206
|
-
|
|
7207
|
-
|
|
7208
|
-
|
|
7214
|
+
/* ─── Header ─────────────────────────────────────────────── */
|
|
7215
|
+
.muka-progress-accordeon__header {
|
|
7216
|
+
display: flex;
|
|
7217
|
+
flex-direction: column;
|
|
7218
|
+
gap: var(--spacing-3);
|
|
7219
|
+
width: 100%;
|
|
7209
7220
|
}
|
|
7210
7221
|
|
|
7211
|
-
|
|
7212
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__steps {
|
|
7213
|
-
position: absolute;
|
|
7214
|
-
inset: 0;
|
|
7222
|
+
.muka-progress-accordeon__header-row {
|
|
7215
7223
|
display: flex;
|
|
7216
7224
|
align-items: flex-start;
|
|
7217
|
-
|
|
7218
|
-
|
|
7225
|
+
gap: var(--spacing-3);
|
|
7226
|
+
width: 100%;
|
|
7227
|
+
min-height: 40px;
|
|
7219
7228
|
}
|
|
7220
7229
|
|
|
7221
|
-
|
|
7222
|
-
.muka-progress-tracker--horizontal .muka-progress-tracker__step {
|
|
7230
|
+
.muka-progress-accordeon__heading-group {
|
|
7223
7231
|
display: flex;
|
|
7224
|
-
flex
|
|
7225
|
-
|
|
7232
|
+
flex: 1 0 0;
|
|
7233
|
+
min-width: 0;
|
|
7234
|
+
align-items: flex-start;
|
|
7235
|
+
gap: var(--spacing-4);
|
|
7236
|
+
}
|
|
7237
|
+
|
|
7238
|
+
/* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
|
|
7239
|
+
so a single line centres against the indicator + controls row. */
|
|
7240
|
+
.muka-progress-accordeon:has(.muka-progress-accordeon__controls)
|
|
7241
|
+
.muka-progress-accordeon__heading-group {
|
|
7242
|
+
padding-top: var(--spacing-1);
|
|
7243
|
+
}
|
|
7244
|
+
|
|
7245
|
+
.muka-progress-accordeon__controls {
|
|
7246
|
+
display: flex;
|
|
7247
|
+
flex-shrink: 0;
|
|
7248
|
+
align-items: center;
|
|
7249
|
+
gap: var(--spacing-3);
|
|
7250
|
+
}
|
|
7251
|
+
|
|
7252
|
+
/* ─── Step indicator (circle) ───────────────────────────── */
|
|
7253
|
+
.muka-progress-accordeon__indicator {
|
|
7254
|
+
width: 32px;
|
|
7255
|
+
height: 32px;
|
|
7256
|
+
flex-shrink: 0;
|
|
7257
|
+
border-radius: var(--border-radius-full);
|
|
7258
|
+
display: flex;
|
|
7259
|
+
align-items: center;
|
|
7260
|
+
justify-content: center;
|
|
7261
|
+
}
|
|
7262
|
+
|
|
7263
|
+
/* Past: dark accent-contrast circle with inverse checkmark */
|
|
7264
|
+
.muka-progress-accordeon__indicator--past {
|
|
7265
|
+
background-color: var(--alias-color-accent-contrast);
|
|
7266
|
+
color: var(--color-text-default-inverse);
|
|
7267
|
+
}
|
|
7268
|
+
|
|
7269
|
+
/* Current: accent circle with inverse bold number */
|
|
7270
|
+
.muka-progress-accordeon__indicator--current {
|
|
7271
|
+
background-color: var(--alias-color-accent-default);
|
|
7272
|
+
color: var(--color-text-default-inverse);
|
|
7273
|
+
}
|
|
7274
|
+
|
|
7275
|
+
/* Upcoming: sunken/muted circle with default-color number */
|
|
7276
|
+
.muka-progress-accordeon__indicator--upcoming {
|
|
7277
|
+
background-color: var(--color-surface-sunken);
|
|
7278
|
+
color: var(--color-text-default-default);
|
|
7279
|
+
}
|
|
7280
|
+
|
|
7281
|
+
.muka-progress-accordeon__check-icon {
|
|
7282
|
+
width: 20px;
|
|
7283
|
+
height: 20px;
|
|
7284
|
+
color: var(--color-text-default-inverse);
|
|
7285
|
+
}
|
|
7286
|
+
|
|
7287
|
+
.muka-progress-accordeon__number {
|
|
7288
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
7289
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
7290
|
+
font-size: var(--text-label-md-bold-fontSize);
|
|
7291
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
7292
|
+
text-align: center;
|
|
7293
|
+
user-select: none;
|
|
7294
|
+
}
|
|
7295
|
+
|
|
7296
|
+
/* Upcoming number is semibold (not bold) per Figma */
|
|
7297
|
+
.muka-progress-accordeon__indicator--upcoming .muka-progress-accordeon__number {
|
|
7298
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7299
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7300
|
+
}
|
|
7301
|
+
|
|
7302
|
+
/* ─── Heading (responsive: heading/md on wide, heading/sm on narrow) ─────── */
|
|
7303
|
+
.muka-progress-accordeon__heading {
|
|
7304
|
+
flex: 1 0 0;
|
|
7305
|
+
min-width: 0;
|
|
7306
|
+
margin: 0;
|
|
7307
|
+
font-family: var(--text-heading-md-fontFamily);
|
|
7308
|
+
font-weight: var(--text-heading-md-fontWeight);
|
|
7309
|
+
font-size: var(--text-heading-md-fontSize);
|
|
7310
|
+
line-height: var(--text-heading-md-lineHeight);
|
|
7311
|
+
letter-spacing: var(--text-heading-md-letterSpacing);
|
|
7312
|
+
color: var(--color-text-default-default);
|
|
7313
|
+
}
|
|
7314
|
+
|
|
7315
|
+
/* ─── Description ────────────────────────────────────────── */
|
|
7316
|
+
/* Indented 48px (32px indicator + 16px gap) to align under the heading text */
|
|
7317
|
+
.muka-progress-accordeon__description {
|
|
7318
|
+
width: 100%;
|
|
7319
|
+
padding-left: 48px;
|
|
7320
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7321
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7322
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
7323
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
7324
|
+
color: var(--color-text-default-default);
|
|
7325
|
+
}
|
|
7326
|
+
|
|
7327
|
+
/* ─── Edit button ────────────────────────────────────────── */
|
|
7328
|
+
.muka-progress-accordeon__edit {
|
|
7329
|
+
flex-shrink: 0;
|
|
7330
|
+
}
|
|
7331
|
+
|
|
7332
|
+
/* Wide container shows the labelled button; the icon-only one is hidden */
|
|
7333
|
+
.muka-progress-accordeon__edit--narrow {
|
|
7334
|
+
display: none;
|
|
7335
|
+
}
|
|
7336
|
+
|
|
7337
|
+
/* ─── Content slot ───────────────────────────────────────── */
|
|
7338
|
+
.muka-progress-accordeon__slot {
|
|
7339
|
+
display: flex;
|
|
7340
|
+
flex-direction: column;
|
|
7341
|
+
align-items: stretch;
|
|
7342
|
+
width: 100%;
|
|
7343
|
+
}
|
|
7344
|
+
|
|
7345
|
+
/* ─── Collapse/expand animation (any expandable step) ──────
|
|
7346
|
+
Animates grid-template-rows 1fr ↔ 0fr so the panel (slot + actions) grows and
|
|
7347
|
+
shrinks to its intrinsic height. Opacity fades with the same duration.
|
|
7348
|
+
Under prefers-reduced-motion, --motion-duration-view is 0ms. */
|
|
7349
|
+
.muka-progress-accordeon__panel-wrapper {
|
|
7350
|
+
display: grid;
|
|
7351
|
+
grid-template-rows: 1fr;
|
|
7352
|
+
opacity: 1;
|
|
7353
|
+
transition:
|
|
7354
|
+
grid-template-rows var(--motion-duration-view) var(--motion-easing-enter),
|
|
7355
|
+
opacity var(--motion-duration-view) var(--motion-easing-enter);
|
|
7356
|
+
}
|
|
7357
|
+
|
|
7358
|
+
.muka-progress-accordeon__panel-wrapper--collapsed {
|
|
7359
|
+
grid-template-rows: 0fr;
|
|
7360
|
+
opacity: 0;
|
|
7361
|
+
transition:
|
|
7362
|
+
grid-template-rows var(--motion-duration-view) var(--motion-easing-exit),
|
|
7363
|
+
opacity calc(var(--motion-duration-view) * 0.6) var(--motion-easing-exit);
|
|
7364
|
+
}
|
|
7365
|
+
|
|
7366
|
+
/* The direct grid child clips and must have NO padding/border of its own —
|
|
7367
|
+
min-height:0 lets it shrink, and with no padding the 0fr track reaches a true
|
|
7368
|
+
0 height (padding on the item would leave a residual gap when collapsed). */
|
|
7369
|
+
.muka-progress-accordeon__panel-clip {
|
|
7370
|
+
overflow: hidden;
|
|
7371
|
+
min-height: 0;
|
|
7372
|
+
}
|
|
7373
|
+
|
|
7374
|
+
/* Header↔content spacing + slot/actions gap live inside the clip so they
|
|
7375
|
+
collapse together with the panel. */
|
|
7376
|
+
.muka-progress-accordeon__panel {
|
|
7377
|
+
display: flex;
|
|
7378
|
+
flex-direction: column;
|
|
7379
|
+
align-items: stretch;
|
|
7380
|
+
gap: var(--spacing-6);
|
|
7381
|
+
padding-top: var(--spacing-4);
|
|
7382
|
+
width: 100%;
|
|
7383
|
+
}
|
|
7384
|
+
|
|
7385
|
+
/* ─── Action buttons (current state) ─────────────────────── */
|
|
7386
|
+
.muka-progress-accordeon__actions {
|
|
7387
|
+
display: flex;
|
|
7388
|
+
justify-content: flex-end;
|
|
7389
|
+
gap: var(--spacing-4);
|
|
7390
|
+
width: 100%;
|
|
7391
|
+
}
|
|
7392
|
+
|
|
7393
|
+
.muka-progress-accordeon__action {
|
|
7394
|
+
min-width: 160px;
|
|
7395
|
+
}
|
|
7396
|
+
|
|
7397
|
+
/* ─── Divider ────────────────────────────────────────────── */
|
|
7398
|
+
.muka-progress-accordeon__divider {
|
|
7399
|
+
width: 100%;
|
|
7400
|
+
}
|
|
7401
|
+
|
|
7402
|
+
/* ─── Responsive (narrow container) ──────────────────────── */
|
|
7403
|
+
@container (max-width: 480px) {
|
|
7404
|
+
/* Heading steps down to heading/sm. The 24px line-height is shorter than the
|
|
7405
|
+
32px step indicator, so nudge the text down to keep a single line centred. */
|
|
7406
|
+
.muka-progress-accordeon__heading {
|
|
7407
|
+
font-size: var(--text-heading-sm-fontSize);
|
|
7408
|
+
line-height: var(--text-heading-sm-lineHeight);
|
|
7409
|
+
padding-top: var(--spacing-1);
|
|
7410
|
+
}
|
|
7411
|
+
|
|
7412
|
+
/* Edit button swaps to the icon-only variant */
|
|
7413
|
+
.muka-progress-accordeon__edit--wide {
|
|
7414
|
+
display: none;
|
|
7415
|
+
}
|
|
7416
|
+
|
|
7417
|
+
.muka-progress-accordeon__edit--narrow {
|
|
7418
|
+
display: inline-flex;
|
|
7419
|
+
}
|
|
7420
|
+
|
|
7421
|
+
/* Action buttons stretch to fill the row */
|
|
7422
|
+
.muka-progress-accordeon__actions {
|
|
7423
|
+
justify-content: stretch;
|
|
7424
|
+
}
|
|
7425
|
+
|
|
7426
|
+
.muka-progress-accordeon__action {
|
|
7427
|
+
flex: 1 0 0;
|
|
7428
|
+
min-width: 0;
|
|
7429
|
+
}
|
|
7430
|
+
}
|
|
7431
|
+
|
|
7432
|
+
|
|
7433
|
+
/* ProgressTracker */
|
|
7434
|
+
/* ProgressTracker Component Styles — Using Muka Design Tokens */
|
|
7435
|
+
|
|
7436
|
+
/* ─── Root ──────────────────────────────────────────────── */
|
|
7437
|
+
.muka-progress-tracker {
|
|
7438
|
+
width: 100%;
|
|
7439
|
+
}
|
|
7440
|
+
|
|
7441
|
+
.muka-progress-tracker--horizontal {
|
|
7442
|
+
padding-bottom: var(--spacing-7);
|
|
7443
|
+
}
|
|
7444
|
+
|
|
7445
|
+
/* Scrollable: the root scrolls sideways when the steps don't fit. The inline
|
|
7446
|
+
padding leaves room for the first and last labels, which hang past their
|
|
7447
|
+
indicators; the scrollbar stays hidden (touch and trackpad still scroll). */
|
|
7448
|
+
.muka-progress-tracker--scrollable {
|
|
7449
|
+
overflow-x: auto;
|
|
7450
|
+
overflow-y: hidden;
|
|
7451
|
+
-webkit-overflow-scrolling: touch;
|
|
7452
|
+
scrollbar-width: none;
|
|
7453
|
+
padding-inline: var(--spacing-12);
|
|
7454
|
+
box-sizing: border-box;
|
|
7455
|
+
}
|
|
7456
|
+
|
|
7457
|
+
.muka-progress-tracker--scrollable::-webkit-scrollbar {
|
|
7458
|
+
display: none;
|
|
7459
|
+
}
|
|
7460
|
+
|
|
7461
|
+
/* ─── Track (layered container) ─────────────────────────── */
|
|
7462
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__track {
|
|
7463
|
+
position: relative;
|
|
7464
|
+
/* Vertical padding = (indicator size - connector height) / 2 = (32 - 4) / 2 = 14px */
|
|
7465
|
+
padding-top: 14px;
|
|
7466
|
+
padding-bottom: 14px;
|
|
7467
|
+
}
|
|
7468
|
+
|
|
7469
|
+
/* ─── Steps layer (on top) — horizontal ─────────────────── */
|
|
7470
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__steps {
|
|
7471
|
+
position: absolute;
|
|
7472
|
+
inset: 0;
|
|
7473
|
+
display: flex;
|
|
7474
|
+
align-items: flex-start;
|
|
7475
|
+
justify-content: space-between;
|
|
7476
|
+
z-index: 2;
|
|
7477
|
+
}
|
|
7478
|
+
|
|
7479
|
+
/* ─── Individual step — horizontal ──────────────────────── */
|
|
7480
|
+
.muka-progress-tracker--horizontal .muka-progress-tracker__step {
|
|
7481
|
+
display: flex;
|
|
7482
|
+
flex-direction: column;
|
|
7483
|
+
align-items: center;
|
|
7226
7484
|
position: relative;
|
|
7227
7485
|
/* Labels are absolutely positioned so the step stays 32px and
|
|
7228
7486
|
circle centers line up with the connector padding. */
|
|
@@ -7736,415 +7994,157 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
7736
7994
|
}
|
|
7737
7995
|
|
|
7738
7996
|
|
|
7739
|
-
/*
|
|
7740
|
-
/*
|
|
7997
|
+
/* Progress */
|
|
7998
|
+
/* Progress Component Styles - Using Muka Design Tokens */
|
|
7741
7999
|
|
|
7742
|
-
/*
|
|
7743
|
-
|
|
7744
|
-
|
|
8000
|
+
/* ========================================
|
|
8001
|
+
BAR VARIANT
|
|
8002
|
+
======================================== */
|
|
8003
|
+
|
|
8004
|
+
.muka-progress--bar {
|
|
7745
8005
|
display: flex;
|
|
7746
|
-
|
|
7747
|
-
|
|
8006
|
+
align-items: center;
|
|
8007
|
+
gap: var(--spacing-2);
|
|
7748
8008
|
width: 100%;
|
|
7749
|
-
/* Top padding provides the vertical rhythm between stacked steps */
|
|
7750
|
-
padding-top: var(--spacing-8);
|
|
7751
8009
|
}
|
|
7752
8010
|
|
|
7753
|
-
|
|
7754
|
-
|
|
7755
|
-
|
|
7756
|
-
|
|
7757
|
-
|
|
7758
|
-
gap: var(--spacing-6);
|
|
8011
|
+
.muka-progress--bar .muka-progress__track {
|
|
8012
|
+
flex: 1;
|
|
8013
|
+
background-color: var(--color-surface-level1);
|
|
8014
|
+
border-radius: var(--border-radius-full);
|
|
8015
|
+
overflow: hidden;
|
|
7759
8016
|
}
|
|
7760
8017
|
|
|
7761
|
-
.muka-progress-
|
|
7762
|
-
|
|
7763
|
-
.muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
|
|
7764
|
-
.muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
|
|
7765
|
-
gap: var(--spacing-8);
|
|
8018
|
+
.muka-progress--bar.muka-progress--sm .muka-progress__track {
|
|
8019
|
+
height: var(--progress-size-bar-height-sm);
|
|
7766
8020
|
}
|
|
7767
8021
|
|
|
7768
|
-
|
|
7769
|
-
|
|
7770
|
-
body gap itself is 0. */
|
|
7771
|
-
.muka-progress-accordeon__body {
|
|
7772
|
-
display: flex;
|
|
7773
|
-
flex-direction: column;
|
|
7774
|
-
gap: 0;
|
|
7775
|
-
width: 100%;
|
|
8022
|
+
.muka-progress--bar.muka-progress--md .muka-progress__track {
|
|
8023
|
+
height: var(--progress-size-bar-height-md);
|
|
7776
8024
|
}
|
|
7777
8025
|
|
|
7778
|
-
|
|
7779
|
-
|
|
7780
|
-
display: flex;
|
|
7781
|
-
flex-direction: column;
|
|
7782
|
-
gap: var(--spacing-3);
|
|
7783
|
-
width: 100%;
|
|
8026
|
+
.muka-progress--bar.muka-progress--lg .muka-progress__track {
|
|
8027
|
+
height: var(--progress-size-bar-height-lg);
|
|
7784
8028
|
}
|
|
7785
8029
|
|
|
7786
|
-
.muka-progress-
|
|
7787
|
-
|
|
7788
|
-
|
|
7789
|
-
|
|
7790
|
-
|
|
7791
|
-
min-height: 40px;
|
|
8030
|
+
.muka-progress--bar .muka-progress__fill {
|
|
8031
|
+
height: 100%;
|
|
8032
|
+
background-color: var(--color-action-default);
|
|
8033
|
+
border-radius: var(--border-radius-full);
|
|
8034
|
+
transition: width 0.3s ease;
|
|
7792
8035
|
}
|
|
7793
8036
|
|
|
7794
|
-
.muka-progress-
|
|
7795
|
-
|
|
7796
|
-
|
|
7797
|
-
|
|
7798
|
-
|
|
7799
|
-
|
|
8037
|
+
.muka-progress--bar .muka-progress__label {
|
|
8038
|
+
flex-shrink: 0;
|
|
8039
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
8040
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
8041
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
8042
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
8043
|
+
color: var(--color-text-default-default);
|
|
8044
|
+
min-width: 3ch;
|
|
8045
|
+
text-align: right;
|
|
7800
8046
|
}
|
|
7801
8047
|
|
|
7802
|
-
/*
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
padding-top: var(--spacing-1);
|
|
8048
|
+
/* Indeterminate animation for bar */
|
|
8049
|
+
.muka-progress--bar.muka-progress--indeterminate .muka-progress__fill {
|
|
8050
|
+
width: 40%;
|
|
8051
|
+
animation: muka-progress-bar-indeterminate 1.5s ease-in-out infinite;
|
|
7807
8052
|
}
|
|
7808
8053
|
|
|
7809
|
-
|
|
7810
|
-
|
|
7811
|
-
|
|
7812
|
-
|
|
7813
|
-
|
|
8054
|
+
@keyframes muka-progress-bar-indeterminate {
|
|
8055
|
+
0% {
|
|
8056
|
+
transform: translateX(-100%);
|
|
8057
|
+
}
|
|
8058
|
+
100% {
|
|
8059
|
+
transform: translateX(250%);
|
|
8060
|
+
}
|
|
7814
8061
|
}
|
|
7815
8062
|
|
|
7816
|
-
/*
|
|
7817
|
-
|
|
7818
|
-
|
|
7819
|
-
|
|
7820
|
-
|
|
7821
|
-
|
|
7822
|
-
display: flex;
|
|
8063
|
+
/* ========================================
|
|
8064
|
+
CIRCLE VARIANT
|
|
8065
|
+
======================================== */
|
|
8066
|
+
|
|
8067
|
+
.muka-progress--circle {
|
|
8068
|
+
position: relative;
|
|
8069
|
+
display: inline-flex;
|
|
7823
8070
|
align-items: center;
|
|
7824
8071
|
justify-content: center;
|
|
7825
8072
|
}
|
|
7826
8073
|
|
|
7827
|
-
|
|
7828
|
-
|
|
7829
|
-
|
|
7830
|
-
color: var(--color-text-default-inverse);
|
|
8074
|
+
.muka-progress--circle.muka-progress--sm {
|
|
8075
|
+
width: var(--progress-size-circle-diameter-sm);
|
|
8076
|
+
height: var(--progress-size-circle-diameter-sm);
|
|
7831
8077
|
}
|
|
7832
8078
|
|
|
7833
|
-
|
|
7834
|
-
|
|
7835
|
-
|
|
7836
|
-
color: var(--color-text-default-inverse);
|
|
8079
|
+
.muka-progress--circle.muka-progress--md {
|
|
8080
|
+
width: var(--progress-size-circle-diameter-md);
|
|
8081
|
+
height: var(--progress-size-circle-diameter-md);
|
|
7837
8082
|
}
|
|
7838
8083
|
|
|
7839
|
-
|
|
7840
|
-
|
|
7841
|
-
|
|
7842
|
-
color: var(--color-text-default-default);
|
|
8084
|
+
.muka-progress--circle.muka-progress--lg {
|
|
8085
|
+
width: var(--progress-size-circle-diameter-lg);
|
|
8086
|
+
height: var(--progress-size-circle-diameter-lg);
|
|
7843
8087
|
}
|
|
7844
8088
|
|
|
7845
|
-
.muka-
|
|
7846
|
-
width:
|
|
7847
|
-
height:
|
|
7848
|
-
|
|
8089
|
+
.muka-progress__circle {
|
|
8090
|
+
width: 100%;
|
|
8091
|
+
height: 100%;
|
|
8092
|
+
transform: rotate(-90deg);
|
|
7849
8093
|
}
|
|
7850
8094
|
|
|
7851
|
-
.muka-progress-
|
|
7852
|
-
|
|
7853
|
-
|
|
7854
|
-
font-size: var(--text-label-md-bold-fontSize);
|
|
7855
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
7856
|
-
text-align: center;
|
|
7857
|
-
user-select: none;
|
|
8095
|
+
.muka-progress--circle .muka-progress__track {
|
|
8096
|
+
fill: none;
|
|
8097
|
+
stroke: var(--color-surface-level1);
|
|
7858
8098
|
}
|
|
7859
8099
|
|
|
7860
|
-
|
|
7861
|
-
.muka-progress-
|
|
7862
|
-
|
|
7863
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
8100
|
+
.muka-progress--circle.muka-progress--sm .muka-progress__track,
|
|
8101
|
+
.muka-progress--circle.muka-progress--sm .muka-progress__fill {
|
|
8102
|
+
stroke-width: var(--progress-size-circle-strokeWidth-sm);
|
|
7864
8103
|
}
|
|
7865
8104
|
|
|
7866
|
-
|
|
7867
|
-
.muka-progress-
|
|
7868
|
-
|
|
7869
|
-
min-width: 0;
|
|
7870
|
-
margin: 0;
|
|
7871
|
-
font-family: var(--text-heading-md-fontFamily);
|
|
7872
|
-
font-weight: var(--text-heading-md-fontWeight);
|
|
7873
|
-
font-size: var(--text-heading-md-fontSize);
|
|
7874
|
-
line-height: var(--text-heading-md-lineHeight);
|
|
7875
|
-
letter-spacing: var(--text-heading-md-letterSpacing);
|
|
7876
|
-
color: var(--color-text-default-default);
|
|
8105
|
+
.muka-progress--circle.muka-progress--md .muka-progress__track,
|
|
8106
|
+
.muka-progress--circle.muka-progress--md .muka-progress__fill {
|
|
8107
|
+
stroke-width: var(--progress-size-circle-strokeWidth-md);
|
|
7877
8108
|
}
|
|
7878
8109
|
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
width: 100%;
|
|
7883
|
-
padding-left: 48px;
|
|
7884
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
7885
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7886
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
7887
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
7888
|
-
color: var(--color-text-default-default);
|
|
8110
|
+
.muka-progress--circle.muka-progress--lg .muka-progress__track,
|
|
8111
|
+
.muka-progress--circle.muka-progress--lg .muka-progress__fill {
|
|
8112
|
+
stroke-width: var(--progress-size-circle-strokeWidth-lg);
|
|
7889
8113
|
}
|
|
7890
8114
|
|
|
7891
|
-
|
|
7892
|
-
|
|
7893
|
-
|
|
8115
|
+
.muka-progress--circle .muka-progress__fill {
|
|
8116
|
+
fill: none;
|
|
8117
|
+
stroke: var(--color-action-default);
|
|
8118
|
+
stroke-linecap: round;
|
|
8119
|
+
transition: stroke-dashoffset 0.3s ease;
|
|
7894
8120
|
}
|
|
7895
8121
|
|
|
7896
|
-
|
|
7897
|
-
|
|
7898
|
-
|
|
8122
|
+
.muka-progress--circle .muka-progress__label {
|
|
8123
|
+
position: absolute;
|
|
8124
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
8125
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
8126
|
+
color: var(--color-text-default-default);
|
|
7899
8127
|
}
|
|
7900
8128
|
|
|
7901
|
-
|
|
7902
|
-
|
|
7903
|
-
display: flex;
|
|
7904
|
-
flex-direction: column;
|
|
7905
|
-
align-items: stretch;
|
|
7906
|
-
width: 100%;
|
|
8129
|
+
.muka-progress--circle.muka-progress--sm .muka-progress__label {
|
|
8130
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
7907
8131
|
}
|
|
7908
8132
|
|
|
7909
|
-
|
|
7910
|
-
|
|
7911
|
-
shrinks to its intrinsic height. Opacity fades with the same duration.
|
|
7912
|
-
Under prefers-reduced-motion, --motion-duration-view is 0ms. */
|
|
7913
|
-
.muka-progress-accordeon__panel-wrapper {
|
|
7914
|
-
display: grid;
|
|
7915
|
-
grid-template-rows: 1fr;
|
|
7916
|
-
opacity: 1;
|
|
7917
|
-
transition:
|
|
7918
|
-
grid-template-rows var(--motion-duration-view) var(--motion-easing-enter),
|
|
7919
|
-
opacity var(--motion-duration-view) var(--motion-easing-enter);
|
|
8133
|
+
.muka-progress--circle.muka-progress--md .muka-progress__label {
|
|
8134
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
7920
8135
|
}
|
|
7921
8136
|
|
|
7922
|
-
.muka-progress-
|
|
7923
|
-
|
|
7924
|
-
opacity: 0;
|
|
7925
|
-
transition:
|
|
7926
|
-
grid-template-rows var(--motion-duration-view) var(--motion-easing-exit),
|
|
7927
|
-
opacity calc(var(--motion-duration-view) * 0.6) var(--motion-easing-exit);
|
|
8137
|
+
.muka-progress--circle.muka-progress--lg .muka-progress__label {
|
|
8138
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
7928
8139
|
}
|
|
7929
8140
|
|
|
7930
|
-
/*
|
|
7931
|
-
|
|
7932
|
-
|
|
7933
|
-
.muka-progress-accordeon__panel-clip {
|
|
7934
|
-
overflow: hidden;
|
|
7935
|
-
min-height: 0;
|
|
8141
|
+
/* Indeterminate animation for circle */
|
|
8142
|
+
.muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
|
|
8143
|
+
animation: muka-progress-circle-rotate 2s linear infinite;
|
|
7936
8144
|
}
|
|
7937
8145
|
|
|
7938
|
-
|
|
7939
|
-
|
|
7940
|
-
.muka-progress-accordeon__panel {
|
|
7941
|
-
display: flex;
|
|
7942
|
-
flex-direction: column;
|
|
7943
|
-
align-items: stretch;
|
|
7944
|
-
gap: var(--spacing-6);
|
|
7945
|
-
padding-top: var(--spacing-4);
|
|
7946
|
-
width: 100%;
|
|
7947
|
-
}
|
|
7948
|
-
|
|
7949
|
-
/* ─── Action buttons (current state) ─────────────────────── */
|
|
7950
|
-
.muka-progress-accordeon__actions {
|
|
7951
|
-
display: flex;
|
|
7952
|
-
justify-content: flex-end;
|
|
7953
|
-
gap: var(--spacing-4);
|
|
7954
|
-
width: 100%;
|
|
7955
|
-
}
|
|
7956
|
-
|
|
7957
|
-
.muka-progress-accordeon__action {
|
|
7958
|
-
min-width: 160px;
|
|
7959
|
-
}
|
|
7960
|
-
|
|
7961
|
-
/* ─── Divider ────────────────────────────────────────────── */
|
|
7962
|
-
.muka-progress-accordeon__divider {
|
|
7963
|
-
width: 100%;
|
|
7964
|
-
}
|
|
7965
|
-
|
|
7966
|
-
/* ─── Responsive (narrow container) ──────────────────────── */
|
|
7967
|
-
@container (max-width: 480px) {
|
|
7968
|
-
/* Heading steps down to heading/sm. The 24px line-height is shorter than the
|
|
7969
|
-
32px step indicator, so nudge the text down to keep a single line centred. */
|
|
7970
|
-
.muka-progress-accordeon__heading {
|
|
7971
|
-
font-size: var(--text-heading-sm-fontSize);
|
|
7972
|
-
line-height: var(--text-heading-sm-lineHeight);
|
|
7973
|
-
padding-top: var(--spacing-1);
|
|
7974
|
-
}
|
|
7975
|
-
|
|
7976
|
-
/* Edit button swaps to the icon-only variant */
|
|
7977
|
-
.muka-progress-accordeon__edit--wide {
|
|
7978
|
-
display: none;
|
|
7979
|
-
}
|
|
7980
|
-
|
|
7981
|
-
.muka-progress-accordeon__edit--narrow {
|
|
7982
|
-
display: inline-flex;
|
|
7983
|
-
}
|
|
7984
|
-
|
|
7985
|
-
/* Action buttons stretch to fill the row */
|
|
7986
|
-
.muka-progress-accordeon__actions {
|
|
7987
|
-
justify-content: stretch;
|
|
7988
|
-
}
|
|
7989
|
-
|
|
7990
|
-
.muka-progress-accordeon__action {
|
|
7991
|
-
flex: 1 0 0;
|
|
7992
|
-
min-width: 0;
|
|
7993
|
-
}
|
|
7994
|
-
}
|
|
7995
|
-
|
|
7996
|
-
|
|
7997
|
-
/* Progress */
|
|
7998
|
-
/* Progress Component Styles - Using Muka Design Tokens */
|
|
7999
|
-
|
|
8000
|
-
/* ========================================
|
|
8001
|
-
BAR VARIANT
|
|
8002
|
-
======================================== */
|
|
8003
|
-
|
|
8004
|
-
.muka-progress--bar {
|
|
8005
|
-
display: flex;
|
|
8006
|
-
align-items: center;
|
|
8007
|
-
gap: var(--spacing-2);
|
|
8008
|
-
width: 100%;
|
|
8009
|
-
}
|
|
8010
|
-
|
|
8011
|
-
.muka-progress--bar .muka-progress__track {
|
|
8012
|
-
flex: 1;
|
|
8013
|
-
background-color: var(--color-surface-level1);
|
|
8014
|
-
border-radius: var(--border-radius-full);
|
|
8015
|
-
overflow: hidden;
|
|
8016
|
-
}
|
|
8017
|
-
|
|
8018
|
-
.muka-progress--bar.muka-progress--sm .muka-progress__track {
|
|
8019
|
-
height: var(--progress-size-bar-height-sm);
|
|
8020
|
-
}
|
|
8021
|
-
|
|
8022
|
-
.muka-progress--bar.muka-progress--md .muka-progress__track {
|
|
8023
|
-
height: var(--progress-size-bar-height-md);
|
|
8024
|
-
}
|
|
8025
|
-
|
|
8026
|
-
.muka-progress--bar.muka-progress--lg .muka-progress__track {
|
|
8027
|
-
height: var(--progress-size-bar-height-lg);
|
|
8028
|
-
}
|
|
8029
|
-
|
|
8030
|
-
.muka-progress--bar .muka-progress__fill {
|
|
8031
|
-
height: 100%;
|
|
8032
|
-
background-color: var(--color-action-default);
|
|
8033
|
-
border-radius: var(--border-radius-full);
|
|
8034
|
-
transition: width 0.3s ease;
|
|
8035
|
-
}
|
|
8036
|
-
|
|
8037
|
-
.muka-progress--bar .muka-progress__label {
|
|
8038
|
-
flex-shrink: 0;
|
|
8039
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
8040
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
8041
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
8042
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
8043
|
-
color: var(--color-text-default-default);
|
|
8044
|
-
min-width: 3ch;
|
|
8045
|
-
text-align: right;
|
|
8046
|
-
}
|
|
8047
|
-
|
|
8048
|
-
/* Indeterminate animation for bar */
|
|
8049
|
-
.muka-progress--bar.muka-progress--indeterminate .muka-progress__fill {
|
|
8050
|
-
width: 40%;
|
|
8051
|
-
animation: muka-progress-bar-indeterminate 1.5s ease-in-out infinite;
|
|
8052
|
-
}
|
|
8053
|
-
|
|
8054
|
-
@keyframes muka-progress-bar-indeterminate {
|
|
8055
|
-
0% {
|
|
8056
|
-
transform: translateX(-100%);
|
|
8057
|
-
}
|
|
8058
|
-
100% {
|
|
8059
|
-
transform: translateX(250%);
|
|
8060
|
-
}
|
|
8061
|
-
}
|
|
8062
|
-
|
|
8063
|
-
/* ========================================
|
|
8064
|
-
CIRCLE VARIANT
|
|
8065
|
-
======================================== */
|
|
8066
|
-
|
|
8067
|
-
.muka-progress--circle {
|
|
8068
|
-
position: relative;
|
|
8069
|
-
display: inline-flex;
|
|
8070
|
-
align-items: center;
|
|
8071
|
-
justify-content: center;
|
|
8072
|
-
}
|
|
8073
|
-
|
|
8074
|
-
.muka-progress--circle.muka-progress--sm {
|
|
8075
|
-
width: var(--progress-size-circle-diameter-sm);
|
|
8076
|
-
height: var(--progress-size-circle-diameter-sm);
|
|
8077
|
-
}
|
|
8078
|
-
|
|
8079
|
-
.muka-progress--circle.muka-progress--md {
|
|
8080
|
-
width: var(--progress-size-circle-diameter-md);
|
|
8081
|
-
height: var(--progress-size-circle-diameter-md);
|
|
8082
|
-
}
|
|
8083
|
-
|
|
8084
|
-
.muka-progress--circle.muka-progress--lg {
|
|
8085
|
-
width: var(--progress-size-circle-diameter-lg);
|
|
8086
|
-
height: var(--progress-size-circle-diameter-lg);
|
|
8087
|
-
}
|
|
8088
|
-
|
|
8089
|
-
.muka-progress__circle {
|
|
8090
|
-
width: 100%;
|
|
8091
|
-
height: 100%;
|
|
8092
|
-
transform: rotate(-90deg);
|
|
8093
|
-
}
|
|
8094
|
-
|
|
8095
|
-
.muka-progress--circle .muka-progress__track {
|
|
8096
|
-
fill: none;
|
|
8097
|
-
stroke: var(--color-surface-level1);
|
|
8098
|
-
}
|
|
8099
|
-
|
|
8100
|
-
.muka-progress--circle.muka-progress--sm .muka-progress__track,
|
|
8101
|
-
.muka-progress--circle.muka-progress--sm .muka-progress__fill {
|
|
8102
|
-
stroke-width: var(--progress-size-circle-strokeWidth-sm);
|
|
8103
|
-
}
|
|
8104
|
-
|
|
8105
|
-
.muka-progress--circle.muka-progress--md .muka-progress__track,
|
|
8106
|
-
.muka-progress--circle.muka-progress--md .muka-progress__fill {
|
|
8107
|
-
stroke-width: var(--progress-size-circle-strokeWidth-md);
|
|
8108
|
-
}
|
|
8109
|
-
|
|
8110
|
-
.muka-progress--circle.muka-progress--lg .muka-progress__track,
|
|
8111
|
-
.muka-progress--circle.muka-progress--lg .muka-progress__fill {
|
|
8112
|
-
stroke-width: var(--progress-size-circle-strokeWidth-lg);
|
|
8113
|
-
}
|
|
8114
|
-
|
|
8115
|
-
.muka-progress--circle .muka-progress__fill {
|
|
8116
|
-
fill: none;
|
|
8117
|
-
stroke: var(--color-action-default);
|
|
8118
|
-
stroke-linecap: round;
|
|
8119
|
-
transition: stroke-dashoffset 0.3s ease;
|
|
8120
|
-
}
|
|
8121
|
-
|
|
8122
|
-
.muka-progress--circle .muka-progress__label {
|
|
8123
|
-
position: absolute;
|
|
8124
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
8125
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
8126
|
-
color: var(--color-text-default-default);
|
|
8127
|
-
}
|
|
8128
|
-
|
|
8129
|
-
.muka-progress--circle.muka-progress--sm .muka-progress__label {
|
|
8130
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
8131
|
-
}
|
|
8132
|
-
|
|
8133
|
-
.muka-progress--circle.muka-progress--md .muka-progress__label {
|
|
8134
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
8135
|
-
}
|
|
8136
|
-
|
|
8137
|
-
.muka-progress--circle.muka-progress--lg .muka-progress__label {
|
|
8138
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
8139
|
-
}
|
|
8140
|
-
|
|
8141
|
-
/* Indeterminate animation for circle */
|
|
8142
|
-
.muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
|
|
8143
|
-
animation: muka-progress-circle-rotate 2s linear infinite;
|
|
8144
|
-
}
|
|
8145
|
-
|
|
8146
|
-
.muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
|
|
8147
|
-
animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
|
|
8146
|
+
.muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
|
|
8147
|
+
animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
|
|
8148
8148
|
}
|
|
8149
8149
|
|
|
8150
8150
|
@keyframes muka-progress-circle-rotate {
|
|
@@ -9107,6 +9107,66 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9107
9107
|
}
|
|
9108
9108
|
|
|
9109
9109
|
|
|
9110
|
+
/* Page */
|
|
9111
|
+
/* Page Component Styles */
|
|
9112
|
+
|
|
9113
|
+
/*
|
|
9114
|
+
* Shell for document-scrolling pages (marketing, sign-in, legal). Safe areas:
|
|
9115
|
+
* env(safe-area-inset-*) is 0 outside notched devices, so the padding below
|
|
9116
|
+
* only appears in an app running edge to edge (viewport-fit=cover).
|
|
9117
|
+
*
|
|
9118
|
+
* `--muka-page-background` is the page colour. SiteHeader reads it, so a
|
|
9119
|
+
* header and its status-bar scrim match the page without configuration.
|
|
9120
|
+
*/
|
|
9121
|
+
.muka-page {
|
|
9122
|
+
--muka-page-background: var(--color-surface-level3);
|
|
9123
|
+
display: flex;
|
|
9124
|
+
flex-direction: column;
|
|
9125
|
+
min-height: 100vh;
|
|
9126
|
+
min-height: 100dvh;
|
|
9127
|
+
background-color: var(--muka-page-background);
|
|
9128
|
+
}
|
|
9129
|
+
|
|
9130
|
+
.muka-page--surface-2 {
|
|
9131
|
+
--muka-page-background: var(--color-surface-level2);
|
|
9132
|
+
}
|
|
9133
|
+
|
|
9134
|
+
/* Overscroll (rubber band) shows the document background: keep it the page's. */
|
|
9135
|
+
:root:has(.muka-page--surface-2) body {
|
|
9136
|
+
background-color: var(--color-surface-level2);
|
|
9137
|
+
}
|
|
9138
|
+
|
|
9139
|
+
.muka-page__main {
|
|
9140
|
+
flex: 1 0 auto;
|
|
9141
|
+
display: flex;
|
|
9142
|
+
flex-direction: column;
|
|
9143
|
+
/* Landscape: clear the notch. */
|
|
9144
|
+
padding-left: env(safe-area-inset-left, 0px);
|
|
9145
|
+
padding-right: env(safe-area-inset-right, 0px);
|
|
9146
|
+
}
|
|
9147
|
+
|
|
9148
|
+
.muka-page__footer {
|
|
9149
|
+
flex-shrink: 0;
|
|
9150
|
+
padding-left: env(safe-area-inset-left, 0px);
|
|
9151
|
+
padding-right: env(safe-area-inset-right, 0px);
|
|
9152
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
9153
|
+
}
|
|
9154
|
+
|
|
9155
|
+
/* A footer with its own colour: the colour runs under the home indicator. */
|
|
9156
|
+
.muka-page__footer--surface-2 {
|
|
9157
|
+
background-color: var(--color-surface-level2);
|
|
9158
|
+
}
|
|
9159
|
+
|
|
9160
|
+
.muka-page__footer--surface-3 {
|
|
9161
|
+
background-color: var(--color-surface-level3);
|
|
9162
|
+
}
|
|
9163
|
+
|
|
9164
|
+
/* Without a footer, the content is last and clears the home indicator. */
|
|
9165
|
+
.muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
|
|
9166
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
9167
|
+
}
|
|
9168
|
+
|
|
9169
|
+
|
|
9110
9170
|
/* NumberInput */
|
|
9111
9171
|
/* NumberInput — reuses Input field styles (../Input/Input.css). */
|
|
9112
9172
|
/* Only the prefix/suffix affixes are NumberInput-specific. */
|
|
@@ -9990,8 +10050,27 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9990
10050
|
white-space: nowrap;
|
|
9991
10051
|
}
|
|
9992
10052
|
|
|
9993
|
-
/*
|
|
9994
|
-
.
|
|
10053
|
+
/*
|
|
10054
|
+
* Trailing content: time, BadgeNumber, a dot. Stacks vertically (a time above
|
|
10055
|
+
* a badge, as in a chat inbox), aligned to the end, and never shrinks the label
|
|
10056
|
+
* below it: the label ellipsises instead.
|
|
10057
|
+
*/
|
|
10058
|
+
.muka-listitem__trailing {
|
|
10059
|
+
display: flex;
|
|
10060
|
+
flex-direction: column;
|
|
10061
|
+
align-items: flex-end;
|
|
10062
|
+
justify-content: center;
|
|
10063
|
+
gap: var(--spacing-1);
|
|
10064
|
+
flex-shrink: 0;
|
|
10065
|
+
font-family: var(--alias-font-plain-family);
|
|
10066
|
+
font-size: var(--text-body-sm-fontSize);
|
|
10067
|
+
line-height: var(--text-body-sm-lineHeight);
|
|
10068
|
+
color: var(--color-text-subtle-default);
|
|
10069
|
+
white-space: nowrap;
|
|
10070
|
+
}
|
|
10071
|
+
|
|
10072
|
+
/* Trailing chevron */
|
|
10073
|
+
.muka-listitem__chevron {
|
|
9995
10074
|
display: inline-flex;
|
|
9996
10075
|
align-items: center;
|
|
9997
10076
|
justify-content: center;
|
|
@@ -10258,66 +10337,6 @@ li.muka-listitem {
|
|
|
10258
10337
|
}
|
|
10259
10338
|
|
|
10260
10339
|
|
|
10261
|
-
/* Page */
|
|
10262
|
-
/* Page Component Styles */
|
|
10263
|
-
|
|
10264
|
-
/*
|
|
10265
|
-
* Shell for document-scrolling pages (marketing, sign-in, legal). Safe areas:
|
|
10266
|
-
* env(safe-area-inset-*) is 0 outside notched devices, so the padding below
|
|
10267
|
-
* only appears in an app running edge to edge (viewport-fit=cover).
|
|
10268
|
-
*
|
|
10269
|
-
* `--muka-page-background` is the page colour. SiteHeader reads it, so a
|
|
10270
|
-
* header and its status-bar scrim match the page without configuration.
|
|
10271
|
-
*/
|
|
10272
|
-
.muka-page {
|
|
10273
|
-
--muka-page-background: var(--color-surface-level3);
|
|
10274
|
-
display: flex;
|
|
10275
|
-
flex-direction: column;
|
|
10276
|
-
min-height: 100vh;
|
|
10277
|
-
min-height: 100dvh;
|
|
10278
|
-
background-color: var(--muka-page-background);
|
|
10279
|
-
}
|
|
10280
|
-
|
|
10281
|
-
.muka-page--surface-2 {
|
|
10282
|
-
--muka-page-background: var(--color-surface-level2);
|
|
10283
|
-
}
|
|
10284
|
-
|
|
10285
|
-
/* Overscroll (rubber band) shows the document background: keep it the page's. */
|
|
10286
|
-
:root:has(.muka-page--surface-2) body {
|
|
10287
|
-
background-color: var(--color-surface-level2);
|
|
10288
|
-
}
|
|
10289
|
-
|
|
10290
|
-
.muka-page__main {
|
|
10291
|
-
flex: 1 0 auto;
|
|
10292
|
-
display: flex;
|
|
10293
|
-
flex-direction: column;
|
|
10294
|
-
/* Landscape: clear the notch. */
|
|
10295
|
-
padding-left: env(safe-area-inset-left, 0px);
|
|
10296
|
-
padding-right: env(safe-area-inset-right, 0px);
|
|
10297
|
-
}
|
|
10298
|
-
|
|
10299
|
-
.muka-page__footer {
|
|
10300
|
-
flex-shrink: 0;
|
|
10301
|
-
padding-left: env(safe-area-inset-left, 0px);
|
|
10302
|
-
padding-right: env(safe-area-inset-right, 0px);
|
|
10303
|
-
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
10304
|
-
}
|
|
10305
|
-
|
|
10306
|
-
/* A footer with its own colour: the colour runs under the home indicator. */
|
|
10307
|
-
.muka-page__footer--surface-2 {
|
|
10308
|
-
background-color: var(--color-surface-level2);
|
|
10309
|
-
}
|
|
10310
|
-
|
|
10311
|
-
.muka-page__footer--surface-3 {
|
|
10312
|
-
background-color: var(--color-surface-level3);
|
|
10313
|
-
}
|
|
10314
|
-
|
|
10315
|
-
/* Without a footer, the content is last and clears the home indicator. */
|
|
10316
|
-
.muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
|
|
10317
|
-
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
10318
|
-
}
|
|
10319
|
-
|
|
10320
|
-
|
|
10321
10340
|
/* InputCounter */
|
|
10322
10341
|
/* InputCounter — numeric field + joined decrement/increment buttons.
|
|
10323
10342
|
Label, helper and error text reuse Input.css (../Input/Input.css).
|
|
@@ -15062,6 +15081,152 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15062
15081
|
}
|
|
15063
15082
|
|
|
15064
15083
|
|
|
15084
|
+
/* Card */
|
|
15085
|
+
/* Card Component Styles - Using Muka Design Tokens */
|
|
15086
|
+
|
|
15087
|
+
.muka-card {
|
|
15088
|
+
background-color: var(--card-color-default-background);
|
|
15089
|
+
color: var(--card-color-default-foreground);
|
|
15090
|
+
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
15091
|
+
box-shadow: var(--card-shadow-default);
|
|
15092
|
+
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15093
|
+
overflow: hidden;
|
|
15094
|
+
}
|
|
15095
|
+
|
|
15096
|
+
/* Padding variants */
|
|
15097
|
+
.muka-card--padding-none {
|
|
15098
|
+
padding: 0;
|
|
15099
|
+
}
|
|
15100
|
+
|
|
15101
|
+
.muka-card--padding-sm {
|
|
15102
|
+
padding: var(--card-padding-sm);
|
|
15103
|
+
}
|
|
15104
|
+
|
|
15105
|
+
.muka-card--padding-md {
|
|
15106
|
+
padding: var(--card-padding-md);
|
|
15107
|
+
}
|
|
15108
|
+
|
|
15109
|
+
.muka-card--padding-lg {
|
|
15110
|
+
padding: var(--card-padding-lg);
|
|
15111
|
+
}
|
|
15112
|
+
|
|
15113
|
+
/* Radius variants */
|
|
15114
|
+
.muka-card--radius-sm {
|
|
15115
|
+
border-radius: var(--card-radius-sm);
|
|
15116
|
+
}
|
|
15117
|
+
|
|
15118
|
+
.muka-card--radius-md {
|
|
15119
|
+
border-radius: var(--card-radius-md);
|
|
15120
|
+
}
|
|
15121
|
+
|
|
15122
|
+
.muka-card--radius-lg {
|
|
15123
|
+
border-radius: var(--card-radius-lg);
|
|
15124
|
+
}
|
|
15125
|
+
|
|
15126
|
+
/* Interactive variant */
|
|
15127
|
+
.muka-card--interactive {
|
|
15128
|
+
cursor: pointer;
|
|
15129
|
+
user-select: none;
|
|
15130
|
+
}
|
|
15131
|
+
|
|
15132
|
+
.muka-card--interactive:hover {
|
|
15133
|
+
background-color: var(--card-color-hover-background);
|
|
15134
|
+
border-color: var(--card-color-hover-border);
|
|
15135
|
+
box-shadow: var(--card-shadow-hover);
|
|
15136
|
+
}
|
|
15137
|
+
|
|
15138
|
+
.muka-card--interactive:active,
|
|
15139
|
+
.muka-card--interactive.muka-card--pressed {
|
|
15140
|
+
background-color: var(--card-color-pressed-background);
|
|
15141
|
+
border-color: var(--card-color-pressed-border);
|
|
15142
|
+
box-shadow: var(--card-shadow-pressed);
|
|
15143
|
+
}
|
|
15144
|
+
|
|
15145
|
+
.muka-card--interactive:focus-visible {
|
|
15146
|
+
outline: 2px solid var(--color-border-focus);
|
|
15147
|
+
outline-offset: 2px;
|
|
15148
|
+
}
|
|
15149
|
+
|
|
15150
|
+
/* Selected variant */
|
|
15151
|
+
.muka-card--selected {
|
|
15152
|
+
background-color: var(--card-color-selected-background);
|
|
15153
|
+
border-color: var(--card-color-selected-border);
|
|
15154
|
+
border-width: var(--border-width-bold);
|
|
15155
|
+
box-shadow: var(--card-shadow-selected);
|
|
15156
|
+
}
|
|
15157
|
+
|
|
15158
|
+
/* Tone: sticky note (MUK-105) */
|
|
15159
|
+
.muka-card--tone-note {
|
|
15160
|
+
background-color: var(--card-color-note-background);
|
|
15161
|
+
color: var(--card-color-note-foreground);
|
|
15162
|
+
border-color: var(--card-color-note-border);
|
|
15163
|
+
box-shadow: var(--card-shadow-note);
|
|
15164
|
+
}
|
|
15165
|
+
|
|
15166
|
+
.muka-card--tone-note.muka-card--interactive:hover,
|
|
15167
|
+
.muka-card--tone-note.muka-card--interactive:active,
|
|
15168
|
+
.muka-card--tone-note.muka-card--interactive.muka-card--pressed {
|
|
15169
|
+
background-color: var(--card-color-note-background);
|
|
15170
|
+
border-color: var(--card-color-note-border);
|
|
15171
|
+
}
|
|
15172
|
+
|
|
15173
|
+
.muka-card--tilt-left {
|
|
15174
|
+
transform: rotate(-0.75deg);
|
|
15175
|
+
}
|
|
15176
|
+
|
|
15177
|
+
.muka-card--tilt-right {
|
|
15178
|
+
transform: rotate(0.6deg);
|
|
15179
|
+
}
|
|
15180
|
+
|
|
15181
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
15182
|
+
.muka-card--tilt-left,
|
|
15183
|
+
.muka-card--tilt-right {
|
|
15184
|
+
transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15185
|
+
}
|
|
15186
|
+
}
|
|
15187
|
+
|
|
15188
|
+
.muka-card--interactive.muka-card--tilt-left:hover,
|
|
15189
|
+
.muka-card--interactive.muka-card--tilt-right:hover {
|
|
15190
|
+
transform: none;
|
|
15191
|
+
}
|
|
15192
|
+
|
|
15193
|
+
/* Optional header (title + description) */
|
|
15194
|
+
.muka-card__header {
|
|
15195
|
+
margin-bottom: var(--spacing-4);
|
|
15196
|
+
}
|
|
15197
|
+
|
|
15198
|
+
.muka-card__title {
|
|
15199
|
+
margin: 0;
|
|
15200
|
+
color: var(--color-text-default-default);
|
|
15201
|
+
font-family: var(--text-heading-xs-fontFamily);
|
|
15202
|
+
font-weight: var(--text-heading-xs-fontWeight);
|
|
15203
|
+
font-size: var(--text-heading-xs-fontSize);
|
|
15204
|
+
line-height: var(--text-heading-xs-lineHeight);
|
|
15205
|
+
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
15206
|
+
}
|
|
15207
|
+
|
|
15208
|
+
.muka-card__description {
|
|
15209
|
+
margin: var(--spacing-1) 0 0;
|
|
15210
|
+
color: var(--color-text-subtle-default);
|
|
15211
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15212
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15213
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15214
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15215
|
+
}
|
|
15216
|
+
|
|
15217
|
+
/* Hide divider on last list item inside card */
|
|
15218
|
+
.muka-card > .muka-listitem:last-child > .muka-listitem__divider {
|
|
15219
|
+
display: none;
|
|
15220
|
+
}
|
|
15221
|
+
|
|
15222
|
+
/* Disabled state */
|
|
15223
|
+
.muka-card--disabled {
|
|
15224
|
+
opacity: 0.5;
|
|
15225
|
+
cursor: not-allowed;
|
|
15226
|
+
pointer-events: none;
|
|
15227
|
+
}
|
|
15228
|
+
|
|
15229
|
+
|
|
15065
15230
|
/* ChatAttachmentChip */
|
|
15066
15231
|
/* ChatAttachmentChip Component Styles */
|
|
15067
15232
|
|
|
@@ -15664,154 +15829,481 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15664
15829
|
}
|
|
15665
15830
|
|
|
15666
15831
|
|
|
15667
|
-
/*
|
|
15668
|
-
/*
|
|
15832
|
+
/* BadgeNumber */
|
|
15833
|
+
/* BadgeNumber Component Styles - Using Muka Design Tokens */
|
|
15669
15834
|
|
|
15670
|
-
.muka-
|
|
15671
|
-
|
|
15672
|
-
|
|
15835
|
+
.muka-badge-number {
|
|
15836
|
+
display: inline-flex;
|
|
15837
|
+
align-items: center;
|
|
15838
|
+
justify-content: center;
|
|
15839
|
+
border-radius: var(--border-radius-full);
|
|
15840
|
+
white-space: nowrap;
|
|
15841
|
+
user-select: none;
|
|
15842
|
+
box-sizing: border-box;
|
|
15673
15843
|
}
|
|
15674
15844
|
|
|
15675
|
-
/*
|
|
15676
|
-
|
|
15677
|
-
|
|
15845
|
+
/*
|
|
15846
|
+
* Sizes — fixed height, matching min-width (so a single digit renders as a
|
|
15847
|
+
* circle), horizontal padding, and bold label typography. Vertical centering
|
|
15848
|
+
* is handled by the fixed height + align-items: center.
|
|
15849
|
+
*/
|
|
15850
|
+
.muka-badge-number--2xs {
|
|
15851
|
+
height: var(--badge-number-size-2xs);
|
|
15852
|
+
min-width: var(--badge-number-size-2xs);
|
|
15853
|
+
padding: 0 var(--badge-number-padding-2xs);
|
|
15854
|
+
font-family: var(--text-label-xs-bold-fontFamily);
|
|
15855
|
+
font-weight: var(--text-label-xs-bold-fontWeight);
|
|
15856
|
+
font-size: var(--text-label-xs-bold-fontSize);
|
|
15857
|
+
line-height: var(--text-label-xs-bold-lineHeight);
|
|
15678
15858
|
}
|
|
15679
15859
|
|
|
15680
|
-
|
|
15681
|
-
|
|
15682
|
-
|
|
15860
|
+
.muka-badge-number--xs {
|
|
15861
|
+
height: var(--badge-number-size-xs);
|
|
15862
|
+
min-width: var(--badge-number-size-xs);
|
|
15863
|
+
padding: 0 var(--badge-number-padding-xs);
|
|
15864
|
+
font-family: var(--text-label-sm-bold-fontFamily);
|
|
15865
|
+
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
15866
|
+
font-size: var(--text-label-sm-bold-fontSize);
|
|
15867
|
+
line-height: var(--text-label-sm-bold-lineHeight);
|
|
15683
15868
|
}
|
|
15684
15869
|
|
|
15685
|
-
|
|
15870
|
+
.muka-badge-number--sm {
|
|
15871
|
+
height: var(--badge-number-size-sm);
|
|
15872
|
+
min-width: var(--badge-number-size-sm);
|
|
15873
|
+
padding: 0 var(--badge-number-padding-sm);
|
|
15874
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
15875
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
15876
|
+
font-size: var(--text-label-md-bold-fontSize);
|
|
15877
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
15878
|
+
}
|
|
15686
15879
|
|
|
15687
|
-
.muka-
|
|
15688
|
-
height: var(--
|
|
15689
|
-
|
|
15690
|
-
|
|
15880
|
+
.muka-badge-number--md {
|
|
15881
|
+
height: var(--badge-number-size-md);
|
|
15882
|
+
min-width: var(--badge-number-size-md);
|
|
15883
|
+
padding: 0 var(--badge-number-padding-md);
|
|
15884
|
+
font-family: var(--text-label-lg-bold-fontFamily);
|
|
15885
|
+
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
15886
|
+
font-size: var(--text-label-lg-bold-fontSize);
|
|
15887
|
+
line-height: var(--text-label-lg-bold-lineHeight);
|
|
15691
15888
|
}
|
|
15692
15889
|
|
|
15693
|
-
|
|
15890
|
+
.muka-badge-number--lg {
|
|
15891
|
+
height: var(--badge-number-size-lg);
|
|
15892
|
+
min-width: var(--badge-number-size-lg);
|
|
15893
|
+
padding: 0 var(--badge-number-padding-lg);
|
|
15894
|
+
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
15895
|
+
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
15896
|
+
font-size: var(--text-label-2xl-bold-fontSize);
|
|
15897
|
+
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
15898
|
+
}
|
|
15694
15899
|
|
|
15695
|
-
.muka-
|
|
15696
|
-
|
|
15697
|
-
|
|
15900
|
+
.muka-badge-number__label {
|
|
15901
|
+
/*
|
|
15902
|
+
* The badge sets a tight line-height for compact sizing, which would clip
|
|
15903
|
+
* glyph descenders; give the label a roomier line-height. Vertical centering
|
|
15904
|
+
* is unaffected because the badge height is fixed and content is centered.
|
|
15905
|
+
*/
|
|
15906
|
+
line-height: normal;
|
|
15698
15907
|
}
|
|
15699
15908
|
|
|
15700
|
-
/*
|
|
15909
|
+
/* Neutral variant */
|
|
15910
|
+
.muka-badge-number--neutral {
|
|
15911
|
+
background-color: var(--color-surface-level1);
|
|
15912
|
+
color: var(--color-text-default-default);
|
|
15913
|
+
}
|
|
15701
15914
|
|
|
15702
|
-
|
|
15703
|
-
|
|
15704
|
-
|
|
15705
|
-
|
|
15915
|
+
/* Info variant */
|
|
15916
|
+
.muka-badge-number--info {
|
|
15917
|
+
background-color: var(--color-state-info-contrast);
|
|
15918
|
+
color: var(--color-text-default-inverse);
|
|
15706
15919
|
}
|
|
15707
15920
|
|
|
15708
|
-
|
|
15709
|
-
|
|
15921
|
+
/* Success variant */
|
|
15922
|
+
.muka-badge-number--success {
|
|
15923
|
+
background-color: var(--color-state-success-contrast);
|
|
15924
|
+
color: var(--color-text-default-inverse);
|
|
15710
15925
|
}
|
|
15711
15926
|
|
|
15712
|
-
/*
|
|
15927
|
+
/* Warning variant */
|
|
15928
|
+
.muka-badge-number--warning {
|
|
15929
|
+
background-color: var(--color-state-warning-contrast);
|
|
15930
|
+
color: var(--color-text-default-inverse);
|
|
15931
|
+
}
|
|
15713
15932
|
|
|
15714
|
-
|
|
15715
|
-
|
|
15716
|
-
|
|
15717
|
-
|
|
15933
|
+
/* Error variant */
|
|
15934
|
+
.muka-badge-number--error {
|
|
15935
|
+
background-color: var(--color-state-error-contrast);
|
|
15936
|
+
color: var(--color-text-default-inverse);
|
|
15718
15937
|
}
|
|
15719
15938
|
|
|
15720
|
-
|
|
15721
|
-
|
|
15939
|
+
/* Dot: something new, without a count */
|
|
15940
|
+
.muka-badge-number--dot {
|
|
15941
|
+
width: var(--spacing-2);
|
|
15942
|
+
height: var(--spacing-2);
|
|
15943
|
+
min-width: 0;
|
|
15944
|
+
padding: 0;
|
|
15722
15945
|
}
|
|
15723
15946
|
|
|
15724
|
-
/* ─── Message (actions variants only) ────────────────── */
|
|
15725
15947
|
|
|
15726
|
-
/*
|
|
15727
|
-
|
|
15728
|
-
flex-wrap: wrap;
|
|
15729
|
-
row-gap: var(--bottombar-actions-message-gap);
|
|
15730
|
-
}
|
|
15948
|
+
/* Badge */
|
|
15949
|
+
/* Badge Component Styles - Using Muka Design Tokens */
|
|
15731
15950
|
|
|
15732
|
-
.muka-
|
|
15733
|
-
|
|
15951
|
+
.muka-badge {
|
|
15952
|
+
display: inline-flex;
|
|
15953
|
+
align-items: center;
|
|
15954
|
+
border-radius: var(--border-radius-full);
|
|
15955
|
+
white-space: nowrap;
|
|
15956
|
+
user-select: none;
|
|
15957
|
+
box-sizing: border-box;
|
|
15734
15958
|
}
|
|
15735
15959
|
|
|
15736
|
-
|
|
15737
|
-
|
|
15738
|
-
|
|
15960
|
+
/*
|
|
15961
|
+
* Sizes — height, gap, type, and default (label-edge) horizontal padding.
|
|
15962
|
+
* Mirrors Chip so the two components share sizing, fonts, and spacing.
|
|
15963
|
+
* Vertical centering is handled by the fixed height + align-items: center.
|
|
15964
|
+
* The leading side gets a tighter padding when an icon/dot is present, via the
|
|
15965
|
+
* --has-icon / --has-dot modifiers below.
|
|
15966
|
+
*/
|
|
15967
|
+
.muka-badge--sm {
|
|
15968
|
+
height: var(--badge-size-height-sm);
|
|
15969
|
+
gap: var(--badge-gap-sm);
|
|
15970
|
+
padding: 0 var(--badge-padding-label-sm);
|
|
15971
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15972
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
15973
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
15974
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
15739
15975
|
}
|
|
15740
15976
|
|
|
15741
|
-
.muka-
|
|
15742
|
-
|
|
15743
|
-
|
|
15744
|
-
|
|
15745
|
-
font-family: var(--text-
|
|
15746
|
-
font-weight: var(--text-
|
|
15747
|
-
font-size: var(--text-
|
|
15748
|
-
line-height: var(--text-
|
|
15977
|
+
.muka-badge--md {
|
|
15978
|
+
height: var(--badge-size-height-md);
|
|
15979
|
+
gap: var(--badge-gap-md);
|
|
15980
|
+
padding: 0 var(--badge-padding-label-md);
|
|
15981
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
15982
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
15983
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
15984
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
15749
15985
|
}
|
|
15750
15986
|
|
|
15751
|
-
.muka-
|
|
15752
|
-
|
|
15987
|
+
.muka-badge--lg {
|
|
15988
|
+
height: var(--badge-size-height-lg);
|
|
15989
|
+
gap: var(--badge-gap-lg);
|
|
15990
|
+
padding: 0 var(--badge-padding-label-lg);
|
|
15991
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
15992
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
15993
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
15994
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
15753
15995
|
}
|
|
15754
15996
|
|
|
15755
|
-
|
|
15756
|
-
|
|
15997
|
+
/* Tighter leading padding when a leading icon or dot is present */
|
|
15998
|
+
.muka-badge--sm.muka-badge--has-icon,
|
|
15999
|
+
.muka-badge--sm.muka-badge--has-dot {
|
|
16000
|
+
padding-left: var(--badge-padding-leading-sm);
|
|
15757
16001
|
}
|
|
15758
|
-
|
|
15759
|
-
.muka-
|
|
15760
|
-
|
|
16002
|
+
.muka-badge--md.muka-badge--has-icon,
|
|
16003
|
+
.muka-badge--md.muka-badge--has-dot {
|
|
16004
|
+
padding-left: var(--badge-padding-leading-md);
|
|
16005
|
+
}
|
|
16006
|
+
.muka-badge--lg.muka-badge--has-icon,
|
|
16007
|
+
.muka-badge--lg.muka-badge--has-dot {
|
|
16008
|
+
padding-left: var(--badge-padding-leading-lg);
|
|
15761
16009
|
}
|
|
15762
16010
|
|
|
15763
|
-
/*
|
|
15764
|
-
|
|
15765
|
-
|
|
15766
|
-
|
|
15767
|
-
|
|
15768
|
-
|
|
16011
|
+
/* Icon-only — square, sized to the badge height (Figma: 24 / 32 / 40).
|
|
16012
|
+
* Padding resets at size+icon-only specificity so `--has-icon` leading padding
|
|
16013
|
+
* cannot win and shift the icon off-center. */
|
|
16014
|
+
.muka-badge--icon-only {
|
|
16015
|
+
justify-content: center;
|
|
16016
|
+
align-items: center;
|
|
16017
|
+
gap: 0;
|
|
16018
|
+
}
|
|
15769
16019
|
|
|
15770
|
-
|
|
15771
|
-
|
|
15772
|
-
|
|
16020
|
+
.muka-badge--sm.muka-badge--icon-only,
|
|
16021
|
+
.muka-badge--md.muka-badge--icon-only,
|
|
16022
|
+
.muka-badge--lg.muka-badge--icon-only {
|
|
16023
|
+
padding: 0;
|
|
16024
|
+
}
|
|
15773
16025
|
|
|
15774
|
-
|
|
15775
|
-
|
|
15776
|
-
width: auto;
|
|
15777
|
-
}
|
|
16026
|
+
.muka-badge--sm.muka-badge--icon-only {
|
|
16027
|
+
width: var(--badge-size-height-sm);
|
|
15778
16028
|
}
|
|
15779
16029
|
|
|
15780
|
-
|
|
16030
|
+
.muka-badge--md.muka-badge--icon-only {
|
|
16031
|
+
width: var(--badge-size-height-md);
|
|
16032
|
+
}
|
|
15781
16033
|
|
|
15782
|
-
|
|
16034
|
+
.muka-badge--lg.muka-badge--icon-only {
|
|
16035
|
+
width: var(--badge-size-height-lg);
|
|
16036
|
+
}
|
|
15783
16037
|
|
|
15784
|
-
|
|
15785
|
-
|
|
16038
|
+
/* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 (matches Chip) */
|
|
16039
|
+
.muka-badge__icon {
|
|
16040
|
+
display: inline-flex;
|
|
16041
|
+
align-items: center;
|
|
16042
|
+
justify-content: center;
|
|
16043
|
+
flex-shrink: 0;
|
|
15786
16044
|
}
|
|
15787
16045
|
|
|
15788
|
-
|
|
16046
|
+
.muka-badge--sm .muka-badge__icon {
|
|
16047
|
+
width: var(--icon-size-xs);
|
|
16048
|
+
height: var(--icon-size-xs);
|
|
16049
|
+
}
|
|
16050
|
+
.muka-badge--md .muka-badge__icon {
|
|
16051
|
+
width: var(--icon-size-sm);
|
|
16052
|
+
height: var(--icon-size-sm);
|
|
16053
|
+
}
|
|
16054
|
+
.muka-badge--lg .muka-badge__icon {
|
|
16055
|
+
width: var(--icon-size-default);
|
|
16056
|
+
height: var(--icon-size-default);
|
|
16057
|
+
}
|
|
15789
16058
|
|
|
15790
|
-
|
|
15791
|
-
|
|
16059
|
+
/* Force the passed content (raw <svg> or an <Icon> wrapper) to the slot size,
|
|
16060
|
+
so callers don't have to size the icon to match each badge size. The
|
|
16061
|
+
.muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
|
|
16062
|
+
.muka-badge__icon .muka-icon,
|
|
16063
|
+
.muka-badge__icon svg {
|
|
15792
16064
|
width: 100%;
|
|
15793
|
-
|
|
16065
|
+
height: 100%;
|
|
15794
16066
|
}
|
|
15795
16067
|
|
|
15796
|
-
/*
|
|
15797
|
-
|
|
15798
|
-
|
|
15799
|
-
|
|
15800
|
-
|
|
15801
|
-
*/
|
|
15802
|
-
|
|
15803
|
-
|
|
15804
|
-
|
|
15805
|
-
|
|
15806
|
-
|
|
15807
|
-
|
|
15808
|
-
|
|
15809
|
-
|
|
15810
|
-
|
|
15811
|
-
|
|
15812
|
-
|
|
15813
|
-
|
|
15814
|
-
);
|
|
16068
|
+
/* Icons inherit the badge's per-variant foreground color */
|
|
16069
|
+
.muka-badge .muka-icon {
|
|
16070
|
+
color: inherit;
|
|
16071
|
+
}
|
|
16072
|
+
|
|
16073
|
+
/* Dot indicator */
|
|
16074
|
+
.muka-badge__dot {
|
|
16075
|
+
flex-shrink: 0;
|
|
16076
|
+
border-radius: var(--border-radius-full);
|
|
16077
|
+
}
|
|
16078
|
+
|
|
16079
|
+
.muka-badge--sm .muka-badge__dot {
|
|
16080
|
+
width: var(--badge-size-dot-sm);
|
|
16081
|
+
height: var(--badge-size-dot-sm);
|
|
16082
|
+
}
|
|
16083
|
+
|
|
16084
|
+
.muka-badge--md .muka-badge__dot {
|
|
16085
|
+
width: var(--badge-size-dot-md);
|
|
16086
|
+
height: var(--badge-size-dot-md);
|
|
16087
|
+
}
|
|
16088
|
+
|
|
16089
|
+
.muka-badge--lg .muka-badge__dot {
|
|
16090
|
+
width: var(--badge-size-dot-lg);
|
|
16091
|
+
height: var(--badge-size-dot-lg);
|
|
16092
|
+
}
|
|
16093
|
+
|
|
16094
|
+
.muka-badge__label {
|
|
16095
|
+
flex: 0 1 auto;
|
|
16096
|
+
min-width: 0;
|
|
16097
|
+
overflow: hidden;
|
|
16098
|
+
text-overflow: ellipsis;
|
|
16099
|
+
/*
|
|
16100
|
+
* The badge sets a tight line-height for compact sizing, but the label's
|
|
16101
|
+
* `overflow: hidden` (needed for ellipsis) then clips glyph descenders (g, y, p). Give the
|
|
16102
|
+
* label its own roomier line-height so descenders render; vertical centering is unaffected
|
|
16103
|
+
* because the badge height is fixed and content is centered via align-items: center.
|
|
16104
|
+
*/
|
|
16105
|
+
line-height: normal;
|
|
16106
|
+
}
|
|
16107
|
+
|
|
16108
|
+
/* Neutral variant */
|
|
16109
|
+
.muka-badge--neutral {
|
|
16110
|
+
background-color: var(--color-surface-level1);
|
|
16111
|
+
color: var(--color-text-default-default);
|
|
16112
|
+
}
|
|
16113
|
+
|
|
16114
|
+
.muka-badge--neutral .muka-badge__dot {
|
|
16115
|
+
background-color: var(--color-text-subtle-default);
|
|
16116
|
+
}
|
|
16117
|
+
|
|
16118
|
+
/* Info variant */
|
|
16119
|
+
.muka-badge--info {
|
|
16120
|
+
background-color: var(--color-state-info-background);
|
|
16121
|
+
color: var(--color-state-info-contrast);
|
|
16122
|
+
}
|
|
16123
|
+
|
|
16124
|
+
.muka-badge--info .muka-badge__dot {
|
|
16125
|
+
background-color: var(--color-state-info-default);
|
|
16126
|
+
}
|
|
16127
|
+
|
|
16128
|
+
/* Success variant */
|
|
16129
|
+
.muka-badge--success {
|
|
16130
|
+
background-color: var(--color-state-success-background);
|
|
16131
|
+
color: var(--color-state-success-contrast);
|
|
16132
|
+
}
|
|
16133
|
+
|
|
16134
|
+
.muka-badge--success .muka-badge__dot {
|
|
16135
|
+
background-color: var(--color-state-success-default);
|
|
16136
|
+
}
|
|
16137
|
+
|
|
16138
|
+
/* Warning variant */
|
|
16139
|
+
.muka-badge--warning {
|
|
16140
|
+
background-color: var(--color-state-warning-background);
|
|
16141
|
+
color: var(--color-state-warning-contrast);
|
|
16142
|
+
}
|
|
16143
|
+
|
|
16144
|
+
.muka-badge--warning .muka-badge__dot {
|
|
16145
|
+
background-color: var(--color-state-warning-default);
|
|
16146
|
+
}
|
|
16147
|
+
|
|
16148
|
+
/* Error variant */
|
|
16149
|
+
.muka-badge--error {
|
|
16150
|
+
background-color: var(--color-state-error-background);
|
|
16151
|
+
color: var(--color-state-error-contrast);
|
|
16152
|
+
}
|
|
16153
|
+
|
|
16154
|
+
.muka-badge--error .muka-badge__dot {
|
|
16155
|
+
background-color: var(--color-state-error-default);
|
|
16156
|
+
}
|
|
16157
|
+
|
|
16158
|
+
|
|
16159
|
+
/* BottomBar */
|
|
16160
|
+
/* BottomBar Component Styles */
|
|
16161
|
+
|
|
16162
|
+
.muka-bottombar {
|
|
16163
|
+
width: 100%;
|
|
16164
|
+
background-color: var(--bottombar-color-background);
|
|
16165
|
+
}
|
|
16166
|
+
|
|
16167
|
+
/* Push content above the iPhone home indicator. Opt out via disableSafeArea. */
|
|
16168
|
+
.muka-bottombar:not(.muka-bottombar--floating):not(.muka-bottombar--no-safe-area) {
|
|
16169
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
16170
|
+
}
|
|
16171
|
+
|
|
16172
|
+
/* Floating variant: ensure margin-bottom is at least the safe-area inset. */
|
|
16173
|
+
.muka-bottombar--floating:not(.muka-bottombar--no-safe-area) {
|
|
16174
|
+
padding-bottom: max(var(--bottombar-floating-margin-bottom), env(safe-area-inset-bottom));
|
|
16175
|
+
}
|
|
16176
|
+
|
|
16177
|
+
/* ─── Divider (non-floating) ──────────────────────────── */
|
|
16178
|
+
|
|
16179
|
+
.muka-bottombar__divider {
|
|
16180
|
+
height: var(--border-width-regular);
|
|
16181
|
+
background-color: var(--bottombar-color-border);
|
|
16182
|
+
width: 100%;
|
|
16183
|
+
}
|
|
16184
|
+
|
|
16185
|
+
/* ─── Content container ───────────────────────────────── */
|
|
16186
|
+
|
|
16187
|
+
.muka-bottombar__content {
|
|
16188
|
+
display: flex;
|
|
16189
|
+
align-items: center;
|
|
16190
|
+
}
|
|
16191
|
+
|
|
16192
|
+
/* ─── Actions variant (horizontal) ───────────────────── */
|
|
16193
|
+
|
|
16194
|
+
.muka-bottombar--actions .muka-bottombar__content {
|
|
16195
|
+
flex-direction: row;
|
|
16196
|
+
gap: var(--bottombar-actions-gap);
|
|
16197
|
+
padding: var(--bottombar-actions-padding-t) var(--bottombar-actions-padding-x) var(--bottombar-actions-padding-x);
|
|
16198
|
+
}
|
|
16199
|
+
|
|
16200
|
+
.muka-bottombar--actions .muka-bottombar__content > * {
|
|
16201
|
+
flex: 1;
|
|
16202
|
+
}
|
|
16203
|
+
|
|
16204
|
+
/* ─── Actions-vertical variant (stacked) ─────────────── */
|
|
16205
|
+
|
|
16206
|
+
.muka-bottombar--actions-vertical .muka-bottombar__content {
|
|
16207
|
+
flex-direction: column;
|
|
16208
|
+
gap: var(--bottombar-actions-gap);
|
|
16209
|
+
padding: var(--bottombar-actions-padding-t) var(--bottombar-actions-padding-x) var(--bottombar-actions-padding-x);
|
|
16210
|
+
}
|
|
16211
|
+
|
|
16212
|
+
.muka-bottombar--actions-vertical .muka-bottombar__content > * {
|
|
16213
|
+
width: 100%;
|
|
16214
|
+
}
|
|
16215
|
+
|
|
16216
|
+
/* ─── Message (actions variants only) ────────────────── */
|
|
16217
|
+
|
|
16218
|
+
/* Below 1024px the message takes its own line above the buttons. */
|
|
16219
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
|
|
16220
|
+
flex-wrap: wrap;
|
|
16221
|
+
row-gap: var(--bottombar-actions-message-gap);
|
|
16222
|
+
}
|
|
16223
|
+
|
|
16224
|
+
.muka-bottombar--actions-vertical.muka-bottombar--with-message .muka-bottombar__content {
|
|
16225
|
+
row-gap: var(--bottombar-actions-message-gap);
|
|
16226
|
+
}
|
|
16227
|
+
|
|
16228
|
+
.muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
|
|
16229
|
+
flex: 1 0 100%;
|
|
16230
|
+
width: 100%;
|
|
16231
|
+
}
|
|
16232
|
+
|
|
16233
|
+
.muka-bottombar__message {
|
|
16234
|
+
margin: 0;
|
|
16235
|
+
min-width: 0;
|
|
16236
|
+
overflow-wrap: anywhere;
|
|
16237
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
16238
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
16239
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
16240
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
16241
|
+
}
|
|
16242
|
+
|
|
16243
|
+
.muka-bottombar__message--neutral {
|
|
16244
|
+
color: var(--bottombar-color-message-neutral);
|
|
16245
|
+
}
|
|
16246
|
+
|
|
16247
|
+
.muka-bottombar__message--success {
|
|
16248
|
+
color: var(--bottombar-color-message-success);
|
|
16249
|
+
}
|
|
16250
|
+
|
|
16251
|
+
.muka-bottombar__message--warning {
|
|
16252
|
+
color: var(--bottombar-color-message-warning);
|
|
16253
|
+
}
|
|
16254
|
+
|
|
16255
|
+
/* From 1024px the horizontal bar puts the message left, the buttons right at
|
|
16256
|
+
their own width. The vertical variant keeps stacking. */
|
|
16257
|
+
@media (min-width: 1024px) {
|
|
16258
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
|
|
16259
|
+
flex-wrap: nowrap;
|
|
16260
|
+
}
|
|
16261
|
+
|
|
16262
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > * {
|
|
16263
|
+
flex: 0 0 auto;
|
|
16264
|
+
}
|
|
16265
|
+
|
|
16266
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
|
|
16267
|
+
flex: 1 1 auto;
|
|
16268
|
+
width: auto;
|
|
16269
|
+
}
|
|
16270
|
+
}
|
|
16271
|
+
|
|
16272
|
+
/* ─── Size modifiers (actions variants only) ─────────── */
|
|
16273
|
+
|
|
16274
|
+
/* ─── Navigation variant ──────────────────────────────── */
|
|
16275
|
+
|
|
16276
|
+
.muka-bottombar--navigation .muka-bottombar__content {
|
|
16277
|
+
flex-direction: row;
|
|
16278
|
+
}
|
|
16279
|
+
|
|
16280
|
+
/* ─── Chat variant (houses a ChatComposer) ───────────── */
|
|
16281
|
+
|
|
16282
|
+
.muka-bottombar--chat .muka-bottombar__content {
|
|
16283
|
+
flex-direction: row;
|
|
16284
|
+
width: 100%;
|
|
16285
|
+
margin: 0 auto;
|
|
16286
|
+
}
|
|
16287
|
+
|
|
16288
|
+
/*
|
|
16289
|
+
* `--bottombar-chat-max-width` is the conversation column (it derives from
|
|
16290
|
+
* `chat.column.max-width`, the same token `ChatMessageList` caps its column
|
|
16291
|
+
* with). The cap here carries the padding on top of it, so it is the
|
|
16292
|
+
* composer's own edges — not the padding around it — that land on the column.
|
|
16293
|
+
*/
|
|
16294
|
+
|
|
16295
|
+
/*
|
|
16296
|
+
* Docked chat pads its content; the floating card supplies its own padding.
|
|
16297
|
+
* The inline half is the section gutter `ChatMessageList` pads its scroller
|
|
16298
|
+
* with, so below the cap — where the column runs full-bleed — the composer
|
|
16299
|
+
* keeps to the same gutters as the messages.
|
|
16300
|
+
*/
|
|
16301
|
+
.muka-bottombar--chat:not(.muka-bottombar--floating) .muka-bottombar__content {
|
|
16302
|
+
padding: var(--bottombar-chat-padding)
|
|
16303
|
+
var(--section-padding-horizontal-default, var(--spacing-4));
|
|
16304
|
+
max-width: calc(
|
|
16305
|
+
var(--bottombar-chat-max-width) + 2 * var(--section-padding-horizontal-default, var(--spacing-4))
|
|
16306
|
+
);
|
|
15815
16307
|
}
|
|
15816
16308
|
|
|
15817
16309
|
/* Floating chat card widens to the chat cap (overrides the md default below). */
|
|
@@ -15847,6 +16339,7 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15847
16339
|
}
|
|
15848
16340
|
|
|
15849
16341
|
.muka-bottombar__tab-icon {
|
|
16342
|
+
position: relative;
|
|
15850
16343
|
display: flex;
|
|
15851
16344
|
align-items: center;
|
|
15852
16345
|
justify-content: center;
|
|
@@ -15859,6 +16352,15 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15859
16352
|
height: 100%;
|
|
15860
16353
|
}
|
|
15861
16354
|
|
|
16355
|
+
/* A count on the icon's top-right corner (unread messages). */
|
|
16356
|
+
.muka-bottombar__tab-badge {
|
|
16357
|
+
position: absolute;
|
|
16358
|
+
top: calc(-1 * var(--spacing-1));
|
|
16359
|
+
left: 60%;
|
|
16360
|
+
display: flex;
|
|
16361
|
+
pointer-events: none;
|
|
16362
|
+
}
|
|
16363
|
+
|
|
15862
16364
|
.muka-bottombar__tab-label {
|
|
15863
16365
|
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15864
16366
|
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
@@ -15965,395 +16467,76 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15965
16467
|
}
|
|
15966
16468
|
}
|
|
15967
16469
|
|
|
15968
|
-
/* ─── Desktop: Top Navigation transformation ──────────── */
|
|
15969
|
-
|
|
15970
|
-
@media (min-width: 1024px) {
|
|
15971
|
-
.muka-bottombar--desktop-topnav {
|
|
15972
|
-
position: fixed;
|
|
15973
|
-
top: 0;
|
|
15974
|
-
left: 0;
|
|
15975
|
-
right: 0;
|
|
15976
|
-
width: 100%;
|
|
15977
|
-
height: auto;
|
|
15978
|
-
background-color: var(--bottombar-color-background);
|
|
15979
|
-
border-bottom: var(--border-width-regular) solid var(--bottombar-color-border);
|
|
15980
|
-
z-index: 10;
|
|
15981
|
-
}
|
|
15982
|
-
|
|
15983
|
-
.muka-bottombar--desktop-topnav .muka-bottombar__divider {
|
|
15984
|
-
display: none;
|
|
15985
|
-
}
|
|
15986
|
-
|
|
15987
|
-
.muka-bottombar--desktop-topnav .muka-bottombar__content {
|
|
15988
|
-
flex-direction: row;
|
|
15989
|
-
justify-content: center;
|
|
15990
|
-
gap: var(--spacing-1);
|
|
15991
|
-
padding: 0 var(--spacing-4);
|
|
15992
|
-
max-width: var(--container-max-width-large, 1200px);
|
|
15993
|
-
margin: 0 auto;
|
|
15994
|
-
}
|
|
15995
|
-
|
|
15996
|
-
.muka-bottombar--desktop-topnav .muka-bottombar__tab {
|
|
15997
|
-
flex: 0 0 auto;
|
|
15998
|
-
flex-direction: row;
|
|
15999
|
-
gap: var(--spacing-2);
|
|
16000
|
-
padding: var(--spacing-3) var(--spacing-4);
|
|
16001
|
-
border-radius: 0;
|
|
16002
|
-
border-bottom: 2px solid transparent;
|
|
16003
|
-
}
|
|
16004
|
-
|
|
16005
|
-
.muka-bottombar--desktop-topnav .muka-bottombar__tab--active {
|
|
16006
|
-
border-bottom-color: var(--color-action-default);
|
|
16007
|
-
}
|
|
16008
|
-
|
|
16009
|
-
.muka-bottombar--desktop-topnav .muka-bottombar__tab:hover {
|
|
16010
|
-
background-color: var(--color-surface-level2);
|
|
16011
|
-
}
|
|
16012
|
-
|
|
16013
|
-
.muka-bottombar--desktop-topnav .muka-bottombar__tab-label {
|
|
16014
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
16015
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
16016
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
16017
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
16018
|
-
}
|
|
16019
|
-
|
|
16020
|
-
/* When floating and topnav, remove the floating card styles */
|
|
16021
|
-
.muka-bottombar--desktop-topnav.muka-bottombar--floating {
|
|
16022
|
-
padding: 0;
|
|
16023
|
-
}
|
|
16024
|
-
|
|
16025
|
-
.muka-bottombar--desktop-topnav.muka-bottombar--floating .muka-bottombar__content {
|
|
16026
|
-
background-color: transparent;
|
|
16027
|
-
border-radius: 0;
|
|
16028
|
-
box-shadow: none;
|
|
16029
|
-
}
|
|
16030
|
-
}
|
|
16031
|
-
|
|
16032
|
-
/* ─── Print ────────────────────────────────────────────── */
|
|
16033
|
-
|
|
16034
|
-
@media print {
|
|
16035
|
-
.muka-bottombar {
|
|
16036
|
-
display: none;
|
|
16037
|
-
}
|
|
16038
|
-
}
|
|
16039
|
-
|
|
16040
|
-
|
|
16041
|
-
/* BadgeNumber */
|
|
16042
|
-
/* BadgeNumber Component Styles - Using Muka Design Tokens */
|
|
16043
|
-
|
|
16044
|
-
.muka-badge-number {
|
|
16045
|
-
display: inline-flex;
|
|
16046
|
-
align-items: center;
|
|
16047
|
-
justify-content: center;
|
|
16048
|
-
border-radius: var(--border-radius-full);
|
|
16049
|
-
white-space: nowrap;
|
|
16050
|
-
user-select: none;
|
|
16051
|
-
box-sizing: border-box;
|
|
16052
|
-
}
|
|
16053
|
-
|
|
16054
|
-
/*
|
|
16055
|
-
* Sizes — fixed height, matching min-width (so a single digit renders as a
|
|
16056
|
-
* circle), horizontal padding, and bold label typography. Vertical centering
|
|
16057
|
-
* is handled by the fixed height + align-items: center.
|
|
16058
|
-
*/
|
|
16059
|
-
.muka-badge-number--2xs {
|
|
16060
|
-
height: var(--badge-number-size-2xs);
|
|
16061
|
-
min-width: var(--badge-number-size-2xs);
|
|
16062
|
-
padding: 0 var(--badge-number-padding-2xs);
|
|
16063
|
-
font-family: var(--text-label-xs-bold-fontFamily);
|
|
16064
|
-
font-weight: var(--text-label-xs-bold-fontWeight);
|
|
16065
|
-
font-size: var(--text-label-xs-bold-fontSize);
|
|
16066
|
-
line-height: var(--text-label-xs-bold-lineHeight);
|
|
16067
|
-
}
|
|
16068
|
-
|
|
16069
|
-
.muka-badge-number--xs {
|
|
16070
|
-
height: var(--badge-number-size-xs);
|
|
16071
|
-
min-width: var(--badge-number-size-xs);
|
|
16072
|
-
padding: 0 var(--badge-number-padding-xs);
|
|
16073
|
-
font-family: var(--text-label-sm-bold-fontFamily);
|
|
16074
|
-
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
16075
|
-
font-size: var(--text-label-sm-bold-fontSize);
|
|
16076
|
-
line-height: var(--text-label-sm-bold-lineHeight);
|
|
16077
|
-
}
|
|
16078
|
-
|
|
16079
|
-
.muka-badge-number--sm {
|
|
16080
|
-
height: var(--badge-number-size-sm);
|
|
16081
|
-
min-width: var(--badge-number-size-sm);
|
|
16082
|
-
padding: 0 var(--badge-number-padding-sm);
|
|
16083
|
-
font-family: var(--text-label-md-bold-fontFamily);
|
|
16084
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
16085
|
-
font-size: var(--text-label-md-bold-fontSize);
|
|
16086
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
16087
|
-
}
|
|
16088
|
-
|
|
16089
|
-
.muka-badge-number--md {
|
|
16090
|
-
height: var(--badge-number-size-md);
|
|
16091
|
-
min-width: var(--badge-number-size-md);
|
|
16092
|
-
padding: 0 var(--badge-number-padding-md);
|
|
16093
|
-
font-family: var(--text-label-lg-bold-fontFamily);
|
|
16094
|
-
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
16095
|
-
font-size: var(--text-label-lg-bold-fontSize);
|
|
16096
|
-
line-height: var(--text-label-lg-bold-lineHeight);
|
|
16097
|
-
}
|
|
16098
|
-
|
|
16099
|
-
.muka-badge-number--lg {
|
|
16100
|
-
height: var(--badge-number-size-lg);
|
|
16101
|
-
min-width: var(--badge-number-size-lg);
|
|
16102
|
-
padding: 0 var(--badge-number-padding-lg);
|
|
16103
|
-
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
16104
|
-
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
16105
|
-
font-size: var(--text-label-2xl-bold-fontSize);
|
|
16106
|
-
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
16107
|
-
}
|
|
16108
|
-
|
|
16109
|
-
.muka-badge-number__label {
|
|
16110
|
-
/*
|
|
16111
|
-
* The badge sets a tight line-height for compact sizing, which would clip
|
|
16112
|
-
* glyph descenders; give the label a roomier line-height. Vertical centering
|
|
16113
|
-
* is unaffected because the badge height is fixed and content is centered.
|
|
16114
|
-
*/
|
|
16115
|
-
line-height: normal;
|
|
16116
|
-
}
|
|
16117
|
-
|
|
16118
|
-
/* Neutral variant */
|
|
16119
|
-
.muka-badge-number--neutral {
|
|
16120
|
-
background-color: var(--color-surface-level1);
|
|
16121
|
-
color: var(--color-text-default-default);
|
|
16122
|
-
}
|
|
16123
|
-
|
|
16124
|
-
/* Info variant */
|
|
16125
|
-
.muka-badge-number--info {
|
|
16126
|
-
background-color: var(--color-state-info-contrast);
|
|
16127
|
-
color: var(--color-text-default-inverse);
|
|
16128
|
-
}
|
|
16129
|
-
|
|
16130
|
-
/* Success variant */
|
|
16131
|
-
.muka-badge-number--success {
|
|
16132
|
-
background-color: var(--color-state-success-contrast);
|
|
16133
|
-
color: var(--color-text-default-inverse);
|
|
16134
|
-
}
|
|
16135
|
-
|
|
16136
|
-
/* Warning variant */
|
|
16137
|
-
.muka-badge-number--warning {
|
|
16138
|
-
background-color: var(--color-state-warning-contrast);
|
|
16139
|
-
color: var(--color-text-default-inverse);
|
|
16140
|
-
}
|
|
16141
|
-
|
|
16142
|
-
/* Error variant */
|
|
16143
|
-
.muka-badge-number--error {
|
|
16144
|
-
background-color: var(--color-state-error-contrast);
|
|
16145
|
-
color: var(--color-text-default-inverse);
|
|
16146
|
-
}
|
|
16147
|
-
|
|
16148
|
-
|
|
16149
|
-
/* Badge */
|
|
16150
|
-
/* Badge Component Styles - Using Muka Design Tokens */
|
|
16151
|
-
|
|
16152
|
-
.muka-badge {
|
|
16153
|
-
display: inline-flex;
|
|
16154
|
-
align-items: center;
|
|
16155
|
-
border-radius: var(--border-radius-full);
|
|
16156
|
-
white-space: nowrap;
|
|
16157
|
-
user-select: none;
|
|
16158
|
-
box-sizing: border-box;
|
|
16159
|
-
}
|
|
16160
|
-
|
|
16161
|
-
/*
|
|
16162
|
-
* Sizes — height, gap, type, and default (label-edge) horizontal padding.
|
|
16163
|
-
* Mirrors Chip so the two components share sizing, fonts, and spacing.
|
|
16164
|
-
* Vertical centering is handled by the fixed height + align-items: center.
|
|
16165
|
-
* The leading side gets a tighter padding when an icon/dot is present, via the
|
|
16166
|
-
* --has-icon / --has-dot modifiers below.
|
|
16167
|
-
*/
|
|
16168
|
-
.muka-badge--sm {
|
|
16169
|
-
height: var(--badge-size-height-sm);
|
|
16170
|
-
gap: var(--badge-gap-sm);
|
|
16171
|
-
padding: 0 var(--badge-padding-label-sm);
|
|
16172
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
16173
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
16174
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
16175
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
16176
|
-
}
|
|
16177
|
-
|
|
16178
|
-
.muka-badge--md {
|
|
16179
|
-
height: var(--badge-size-height-md);
|
|
16180
|
-
gap: var(--badge-gap-md);
|
|
16181
|
-
padding: 0 var(--badge-padding-label-md);
|
|
16182
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
16183
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
16184
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
16185
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
16186
|
-
}
|
|
16187
|
-
|
|
16188
|
-
.muka-badge--lg {
|
|
16189
|
-
height: var(--badge-size-height-lg);
|
|
16190
|
-
gap: var(--badge-gap-lg);
|
|
16191
|
-
padding: 0 var(--badge-padding-label-lg);
|
|
16192
|
-
font-family: var(--text-label-lg-regular-fontFamily);
|
|
16193
|
-
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
16194
|
-
font-size: var(--text-label-lg-regular-fontSize);
|
|
16195
|
-
line-height: var(--text-label-lg-regular-lineHeight);
|
|
16196
|
-
}
|
|
16197
|
-
|
|
16198
|
-
/* Tighter leading padding when a leading icon or dot is present */
|
|
16199
|
-
.muka-badge--sm.muka-badge--has-icon,
|
|
16200
|
-
.muka-badge--sm.muka-badge--has-dot {
|
|
16201
|
-
padding-left: var(--badge-padding-leading-sm);
|
|
16202
|
-
}
|
|
16203
|
-
.muka-badge--md.muka-badge--has-icon,
|
|
16204
|
-
.muka-badge--md.muka-badge--has-dot {
|
|
16205
|
-
padding-left: var(--badge-padding-leading-md);
|
|
16206
|
-
}
|
|
16207
|
-
.muka-badge--lg.muka-badge--has-icon,
|
|
16208
|
-
.muka-badge--lg.muka-badge--has-dot {
|
|
16209
|
-
padding-left: var(--badge-padding-leading-lg);
|
|
16210
|
-
}
|
|
16211
|
-
|
|
16212
|
-
/* Icon-only — square, sized to the badge height (Figma: 24 / 32 / 40).
|
|
16213
|
-
* Padding resets at size+icon-only specificity so `--has-icon` leading padding
|
|
16214
|
-
* cannot win and shift the icon off-center. */
|
|
16215
|
-
.muka-badge--icon-only {
|
|
16216
|
-
justify-content: center;
|
|
16217
|
-
align-items: center;
|
|
16218
|
-
gap: 0;
|
|
16219
|
-
}
|
|
16220
|
-
|
|
16221
|
-
.muka-badge--sm.muka-badge--icon-only,
|
|
16222
|
-
.muka-badge--md.muka-badge--icon-only,
|
|
16223
|
-
.muka-badge--lg.muka-badge--icon-only {
|
|
16224
|
-
padding: 0;
|
|
16225
|
-
}
|
|
16226
|
-
|
|
16227
|
-
.muka-badge--sm.muka-badge--icon-only {
|
|
16228
|
-
width: var(--badge-size-height-sm);
|
|
16229
|
-
}
|
|
16230
|
-
|
|
16231
|
-
.muka-badge--md.muka-badge--icon-only {
|
|
16232
|
-
width: var(--badge-size-height-md);
|
|
16233
|
-
}
|
|
16234
|
-
|
|
16235
|
-
.muka-badge--lg.muka-badge--icon-only {
|
|
16236
|
-
width: var(--badge-size-height-lg);
|
|
16237
|
-
}
|
|
16238
|
-
|
|
16239
|
-
/* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 (matches Chip) */
|
|
16240
|
-
.muka-badge__icon {
|
|
16241
|
-
display: inline-flex;
|
|
16242
|
-
align-items: center;
|
|
16243
|
-
justify-content: center;
|
|
16244
|
-
flex-shrink: 0;
|
|
16245
|
-
}
|
|
16246
|
-
|
|
16247
|
-
.muka-badge--sm .muka-badge__icon {
|
|
16248
|
-
width: var(--icon-size-xs);
|
|
16249
|
-
height: var(--icon-size-xs);
|
|
16250
|
-
}
|
|
16251
|
-
.muka-badge--md .muka-badge__icon {
|
|
16252
|
-
width: var(--icon-size-sm);
|
|
16253
|
-
height: var(--icon-size-sm);
|
|
16254
|
-
}
|
|
16255
|
-
.muka-badge--lg .muka-badge__icon {
|
|
16256
|
-
width: var(--icon-size-default);
|
|
16257
|
-
height: var(--icon-size-default);
|
|
16258
|
-
}
|
|
16259
|
-
|
|
16260
|
-
/* Force the passed content (raw <svg> or an <Icon> wrapper) to the slot size,
|
|
16261
|
-
so callers don't have to size the icon to match each badge size. The
|
|
16262
|
-
.muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
|
|
16263
|
-
.muka-badge__icon .muka-icon,
|
|
16264
|
-
.muka-badge__icon svg {
|
|
16265
|
-
width: 100%;
|
|
16266
|
-
height: 100%;
|
|
16267
|
-
}
|
|
16268
|
-
|
|
16269
|
-
/* Icons inherit the badge's per-variant foreground color */
|
|
16270
|
-
.muka-badge .muka-icon {
|
|
16271
|
-
color: inherit;
|
|
16272
|
-
}
|
|
16273
|
-
|
|
16274
|
-
/* Dot indicator */
|
|
16275
|
-
.muka-badge__dot {
|
|
16276
|
-
flex-shrink: 0;
|
|
16277
|
-
border-radius: var(--border-radius-full);
|
|
16278
|
-
}
|
|
16279
|
-
|
|
16280
|
-
.muka-badge--sm .muka-badge__dot {
|
|
16281
|
-
width: var(--badge-size-dot-sm);
|
|
16282
|
-
height: var(--badge-size-dot-sm);
|
|
16283
|
-
}
|
|
16284
|
-
|
|
16285
|
-
.muka-badge--md .muka-badge__dot {
|
|
16286
|
-
width: var(--badge-size-dot-md);
|
|
16287
|
-
height: var(--badge-size-dot-md);
|
|
16288
|
-
}
|
|
16289
|
-
|
|
16290
|
-
.muka-badge--lg .muka-badge__dot {
|
|
16291
|
-
width: var(--badge-size-dot-lg);
|
|
16292
|
-
height: var(--badge-size-dot-lg);
|
|
16293
|
-
}
|
|
16294
|
-
|
|
16295
|
-
.muka-badge__label {
|
|
16296
|
-
flex: 0 1 auto;
|
|
16297
|
-
min-width: 0;
|
|
16298
|
-
overflow: hidden;
|
|
16299
|
-
text-overflow: ellipsis;
|
|
16300
|
-
/*
|
|
16301
|
-
* The badge sets a tight line-height for compact sizing, but the label's
|
|
16302
|
-
* `overflow: hidden` (needed for ellipsis) then clips glyph descenders (g, y, p). Give the
|
|
16303
|
-
* label its own roomier line-height so descenders render; vertical centering is unaffected
|
|
16304
|
-
* because the badge height is fixed and content is centered via align-items: center.
|
|
16305
|
-
*/
|
|
16306
|
-
line-height: normal;
|
|
16307
|
-
}
|
|
16470
|
+
/* ─── Desktop: Top Navigation transformation ──────────── */
|
|
16308
16471
|
|
|
16309
|
-
|
|
16310
|
-
.muka-
|
|
16311
|
-
|
|
16312
|
-
|
|
16313
|
-
|
|
16472
|
+
@media (min-width: 1024px) {
|
|
16473
|
+
.muka-bottombar--desktop-topnav {
|
|
16474
|
+
position: fixed;
|
|
16475
|
+
top: 0;
|
|
16476
|
+
left: 0;
|
|
16477
|
+
right: 0;
|
|
16478
|
+
width: 100%;
|
|
16479
|
+
height: auto;
|
|
16480
|
+
background-color: var(--bottombar-color-background);
|
|
16481
|
+
border-bottom: var(--border-width-regular) solid var(--bottombar-color-border);
|
|
16482
|
+
z-index: 10;
|
|
16483
|
+
}
|
|
16314
16484
|
|
|
16315
|
-
.muka-
|
|
16316
|
-
|
|
16317
|
-
}
|
|
16485
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__divider {
|
|
16486
|
+
display: none;
|
|
16487
|
+
}
|
|
16318
16488
|
|
|
16319
|
-
|
|
16320
|
-
|
|
16321
|
-
|
|
16322
|
-
|
|
16323
|
-
|
|
16489
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__content {
|
|
16490
|
+
flex-direction: row;
|
|
16491
|
+
justify-content: center;
|
|
16492
|
+
gap: var(--spacing-1);
|
|
16493
|
+
padding: 0 var(--spacing-4);
|
|
16494
|
+
max-width: var(--container-max-width-large, 1200px);
|
|
16495
|
+
margin: 0 auto;
|
|
16496
|
+
}
|
|
16324
16497
|
|
|
16325
|
-
.muka-
|
|
16326
|
-
|
|
16327
|
-
|
|
16498
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab {
|
|
16499
|
+
flex: 0 0 auto;
|
|
16500
|
+
flex-direction: row;
|
|
16501
|
+
gap: var(--spacing-2);
|
|
16502
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
16503
|
+
border-radius: 0;
|
|
16504
|
+
border-bottom: 2px solid transparent;
|
|
16505
|
+
}
|
|
16328
16506
|
|
|
16329
|
-
|
|
16330
|
-
|
|
16331
|
-
|
|
16332
|
-
color: var(--color-state-success-contrast);
|
|
16333
|
-
}
|
|
16507
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab--active {
|
|
16508
|
+
border-bottom-color: var(--color-action-default);
|
|
16509
|
+
}
|
|
16334
16510
|
|
|
16335
|
-
.muka-
|
|
16336
|
-
|
|
16337
|
-
}
|
|
16511
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab:hover {
|
|
16512
|
+
background-color: var(--color-surface-level2);
|
|
16513
|
+
}
|
|
16338
16514
|
|
|
16339
|
-
|
|
16340
|
-
|
|
16341
|
-
|
|
16342
|
-
|
|
16343
|
-
|
|
16515
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab-label {
|
|
16516
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
16517
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
16518
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
16519
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
16520
|
+
}
|
|
16344
16521
|
|
|
16345
|
-
|
|
16346
|
-
|
|
16347
|
-
|
|
16522
|
+
/* When floating and topnav, remove the floating card styles */
|
|
16523
|
+
.muka-bottombar--desktop-topnav.muka-bottombar--floating {
|
|
16524
|
+
padding: 0;
|
|
16525
|
+
}
|
|
16348
16526
|
|
|
16349
|
-
|
|
16350
|
-
|
|
16351
|
-
|
|
16352
|
-
|
|
16527
|
+
.muka-bottombar--desktop-topnav.muka-bottombar--floating .muka-bottombar__content {
|
|
16528
|
+
background-color: transparent;
|
|
16529
|
+
border-radius: 0;
|
|
16530
|
+
box-shadow: none;
|
|
16531
|
+
}
|
|
16353
16532
|
}
|
|
16354
16533
|
|
|
16355
|
-
|
|
16356
|
-
|
|
16534
|
+
/* ─── Print ────────────────────────────────────────────── */
|
|
16535
|
+
|
|
16536
|
+
@media print {
|
|
16537
|
+
.muka-bottombar {
|
|
16538
|
+
display: none;
|
|
16539
|
+
}
|
|
16357
16540
|
}
|
|
16358
16541
|
|
|
16359
16542
|
|
|
@@ -17549,149 +17732,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
17549
17732
|
border-bottom: none;
|
|
17550
17733
|
}
|
|
17551
17734
|
|
|
17552
|
-
|
|
17553
|
-
/* Card */
|
|
17554
|
-
/* Card Component Styles - Using Muka Design Tokens */
|
|
17555
|
-
|
|
17556
|
-
.muka-card {
|
|
17557
|
-
background-color: var(--card-color-default-background);
|
|
17558
|
-
color: var(--card-color-default-foreground);
|
|
17559
|
-
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
17560
|
-
box-shadow: var(--card-shadow-default);
|
|
17561
|
-
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
17562
|
-
overflow: hidden;
|
|
17563
|
-
}
|
|
17564
|
-
|
|
17565
|
-
/* Padding variants */
|
|
17566
|
-
.muka-card--padding-none {
|
|
17567
|
-
padding: 0;
|
|
17568
|
-
}
|
|
17569
|
-
|
|
17570
|
-
.muka-card--padding-sm {
|
|
17571
|
-
padding: var(--card-padding-sm);
|
|
17572
|
-
}
|
|
17573
|
-
|
|
17574
|
-
.muka-card--padding-md {
|
|
17575
|
-
padding: var(--card-padding-md);
|
|
17576
|
-
}
|
|
17577
|
-
|
|
17578
|
-
.muka-card--padding-lg {
|
|
17579
|
-
padding: var(--card-padding-lg);
|
|
17580
|
-
}
|
|
17581
|
-
|
|
17582
|
-
/* Radius variants */
|
|
17583
|
-
.muka-card--radius-sm {
|
|
17584
|
-
border-radius: var(--card-radius-sm);
|
|
17585
|
-
}
|
|
17586
|
-
|
|
17587
|
-
.muka-card--radius-md {
|
|
17588
|
-
border-radius: var(--card-radius-md);
|
|
17589
|
-
}
|
|
17590
|
-
|
|
17591
|
-
.muka-card--radius-lg {
|
|
17592
|
-
border-radius: var(--card-radius-lg);
|
|
17593
|
-
}
|
|
17594
|
-
|
|
17595
|
-
/* Interactive variant */
|
|
17596
|
-
.muka-card--interactive {
|
|
17597
|
-
cursor: pointer;
|
|
17598
|
-
user-select: none;
|
|
17599
|
-
}
|
|
17600
|
-
|
|
17601
|
-
.muka-card--interactive:hover {
|
|
17602
|
-
background-color: var(--card-color-hover-background);
|
|
17603
|
-
border-color: var(--card-color-hover-border);
|
|
17604
|
-
box-shadow: var(--card-shadow-hover);
|
|
17605
|
-
}
|
|
17606
|
-
|
|
17607
|
-
.muka-card--interactive:active,
|
|
17608
|
-
.muka-card--interactive.muka-card--pressed {
|
|
17609
|
-
background-color: var(--card-color-pressed-background);
|
|
17610
|
-
border-color: var(--card-color-pressed-border);
|
|
17611
|
-
box-shadow: var(--card-shadow-pressed);
|
|
17612
|
-
}
|
|
17613
|
-
|
|
17614
|
-
.muka-card--interactive:focus-visible {
|
|
17615
|
-
outline: 2px solid var(--color-border-focus);
|
|
17616
|
-
outline-offset: 2px;
|
|
17617
|
-
}
|
|
17618
|
-
|
|
17619
|
-
/* Selected variant */
|
|
17620
|
-
.muka-card--selected {
|
|
17621
|
-
background-color: var(--card-color-selected-background);
|
|
17622
|
-
border-color: var(--card-color-selected-border);
|
|
17623
|
-
border-width: var(--border-width-bold);
|
|
17624
|
-
box-shadow: var(--card-shadow-selected);
|
|
17625
|
-
}
|
|
17626
|
-
|
|
17627
|
-
/* Tone: sticky note (MUK-105) */
|
|
17628
|
-
.muka-card--tone-note {
|
|
17629
|
-
background-color: var(--card-color-note-background);
|
|
17630
|
-
color: var(--card-color-note-foreground);
|
|
17631
|
-
border-color: var(--card-color-note-border);
|
|
17632
|
-
box-shadow: var(--card-shadow-note);
|
|
17633
|
-
}
|
|
17634
|
-
|
|
17635
|
-
.muka-card--tone-note.muka-card--interactive:hover,
|
|
17636
|
-
.muka-card--tone-note.muka-card--interactive:active,
|
|
17637
|
-
.muka-card--tone-note.muka-card--interactive.muka-card--pressed {
|
|
17638
|
-
background-color: var(--card-color-note-background);
|
|
17639
|
-
border-color: var(--card-color-note-border);
|
|
17640
|
-
}
|
|
17641
|
-
|
|
17642
|
-
.muka-card--tilt-left {
|
|
17643
|
-
transform: rotate(-0.75deg);
|
|
17644
|
-
}
|
|
17645
|
-
|
|
17646
|
-
.muka-card--tilt-right {
|
|
17647
|
-
transform: rotate(0.6deg);
|
|
17648
|
-
}
|
|
17649
|
-
|
|
17650
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
17651
|
-
.muka-card--tilt-left,
|
|
17652
|
-
.muka-card--tilt-right {
|
|
17653
|
-
transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
17654
|
-
}
|
|
17655
|
-
}
|
|
17656
|
-
|
|
17657
|
-
.muka-card--interactive.muka-card--tilt-left:hover,
|
|
17658
|
-
.muka-card--interactive.muka-card--tilt-right:hover {
|
|
17659
|
-
transform: none;
|
|
17660
|
-
}
|
|
17661
|
-
|
|
17662
|
-
/* Optional header (title + description) */
|
|
17663
|
-
.muka-card__header {
|
|
17664
|
-
margin-bottom: var(--spacing-4);
|
|
17665
|
-
}
|
|
17666
|
-
|
|
17667
|
-
.muka-card__title {
|
|
17668
|
-
margin: 0;
|
|
17669
|
-
color: var(--color-text-default-default);
|
|
17670
|
-
font-family: var(--text-heading-xs-fontFamily);
|
|
17671
|
-
font-weight: var(--text-heading-xs-fontWeight);
|
|
17672
|
-
font-size: var(--text-heading-xs-fontSize);
|
|
17673
|
-
line-height: var(--text-heading-xs-lineHeight);
|
|
17674
|
-
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
17675
|
-
}
|
|
17676
|
-
|
|
17677
|
-
.muka-card__description {
|
|
17678
|
-
margin: var(--spacing-1) 0 0;
|
|
17679
|
-
color: var(--color-text-subtle-default);
|
|
17680
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17681
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17682
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
17683
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17684
|
-
}
|
|
17685
|
-
|
|
17686
|
-
/* Hide divider on last list item inside card */
|
|
17687
|
-
.muka-card > .muka-listitem:last-child > .muka-listitem__divider {
|
|
17688
|
-
display: none;
|
|
17689
|
-
}
|
|
17690
|
-
|
|
17691
|
-
/* Disabled state */
|
|
17692
|
-
.muka-card--disabled {
|
|
17693
|
-
opacity: 0.5;
|
|
17694
|
-
cursor: not-allowed;
|
|
17695
|
-
pointer-events: none;
|
|
17696
|
-
}
|
|
17697
|
-
|