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