@revikornmann/muka-ui 0.50.0 → 0.50.1
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/View/View.css +5 -3
- package/dist/esm/components/View/View.css +5 -3
- package/dist/styles/components/View.css +5 -3
- package/dist/styles/index.css +1408 -1406
- package/dist/styles/muka-dark.css +1408 -1406
- package/dist/styles/muka-light.css +1408 -1406
- package/dist/styles/wireframe-dark.css +1408 -1406
- package/dist/styles/wireframe-light.css +1408 -1406
- package/package.json +1 -1
|
@@ -2674,9 +2674,11 @@ body {
|
|
|
2674
2674
|
padding-right: env(safe-area-inset-right, 0px);
|
|
2675
2675
|
}
|
|
2676
2676
|
|
|
2677
|
-
/* Home indicator:
|
|
2678
|
-
BottomBar
|
|
2679
|
-
|
|
2677
|
+
/* Home indicator: the body pads for it only when nothing inside does. A
|
|
2678
|
+
BottomBar pads itself, whether it sits in the footer slot or in the content
|
|
2679
|
+
(a chat composer pinned under a message list), so the body must not do it
|
|
2680
|
+
twice; doing so left a strip of body colour under the bar. */
|
|
2681
|
+
.muka-view__body:not(:has(.muka-view__footer, .muka-bottombar:not(.muka-bottombar--no-safe-area))) {
|
|
2680
2682
|
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
2681
2683
|
}
|
|
2682
2684
|
|
|
@@ -3606,795 +3608,795 @@ body {
|
|
|
3606
3608
|
}
|
|
3607
3609
|
|
|
3608
3610
|
|
|
3609
|
-
/*
|
|
3610
|
-
/*
|
|
3611
|
-
|
|
3612
|
-
/* ─── Base ────────────────────────────────────────────── */
|
|
3613
|
-
|
|
3614
|
-
.muka-tile {
|
|
3615
|
-
display: flex;
|
|
3616
|
-
color: var(--color-text-default-default);
|
|
3617
|
-
}
|
|
3611
|
+
/* Thumbnail */
|
|
3612
|
+
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
3618
3613
|
|
|
3619
|
-
.muka-
|
|
3620
|
-
|
|
3621
|
-
|
|
3614
|
+
.muka-thumbnail {
|
|
3615
|
+
position: relative;
|
|
3616
|
+
flex-shrink: 0;
|
|
3622
3617
|
}
|
|
3623
3618
|
|
|
3624
|
-
.
|
|
3625
|
-
|
|
3626
|
-
|
|
3619
|
+
/* The frame carries the border, background and shape clip. Keeping it separate
|
|
3620
|
+
from the root lets the remove (×) button sit outside the clip (needed for the
|
|
3621
|
+
circular/ellipse shape, whose corners would otherwise clip the button). */
|
|
3622
|
+
.muka-thumbnail__frame {
|
|
3623
|
+
position: absolute;
|
|
3624
|
+
inset: 0;
|
|
3625
|
+
overflow: hidden;
|
|
3626
|
+
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
3627
3627
|
border-radius: var(--border-radius-lg);
|
|
3628
|
+
background-color: var(--color-surface-level1);
|
|
3628
3629
|
}
|
|
3629
3630
|
|
|
3630
|
-
/* ───
|
|
3631
|
+
/* ─── Shapes ──────────────────────────────────────────── */
|
|
3632
|
+
.muka-thumbnail--4-3 {
|
|
3633
|
+
width: 160px;
|
|
3634
|
+
height: 120px;
|
|
3635
|
+
}
|
|
3631
3636
|
|
|
3632
|
-
.muka-
|
|
3633
|
-
|
|
3637
|
+
.muka-thumbnail--1-1 {
|
|
3638
|
+
width: 120px;
|
|
3639
|
+
height: 120px;
|
|
3634
3640
|
}
|
|
3635
3641
|
|
|
3636
|
-
.muka-
|
|
3637
|
-
|
|
3642
|
+
.muka-thumbnail--ellipse {
|
|
3643
|
+
width: 120px;
|
|
3644
|
+
height: 120px;
|
|
3638
3645
|
}
|
|
3639
3646
|
|
|
3640
|
-
.
|
|
3641
|
-
|
|
3647
|
+
/* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
|
|
3648
|
+
.muka-thumbnail--fluid {
|
|
3649
|
+
width: 100%;
|
|
3650
|
+
height: auto;
|
|
3651
|
+
aspect-ratio: 1 / 1;
|
|
3642
3652
|
}
|
|
3643
3653
|
|
|
3644
|
-
|
|
3654
|
+
.muka-thumbnail--fluid.muka-thumbnail--4-3 {
|
|
3655
|
+
aspect-ratio: 4 / 3;
|
|
3656
|
+
}
|
|
3645
3657
|
|
|
3646
|
-
.muka-
|
|
3647
|
-
|
|
3658
|
+
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
3659
|
+
border-radius: var(--border-radius-full);
|
|
3648
3660
|
}
|
|
3649
3661
|
|
|
3650
|
-
.
|
|
3651
|
-
|
|
3652
|
-
|
|
3662
|
+
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
3663
|
+
interactive hover zoom has a clean origin. */
|
|
3664
|
+
.muka-thumbnail__image {
|
|
3665
|
+
position: absolute;
|
|
3666
|
+
inset: 0;
|
|
3667
|
+
width: 100%;
|
|
3668
|
+
height: 100%;
|
|
3669
|
+
object-fit: cover;
|
|
3670
|
+
display: block;
|
|
3671
|
+
transform-origin: center;
|
|
3672
|
+
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
3673
|
+
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
3653
3674
|
}
|
|
3654
3675
|
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3676
|
+
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
3677
|
+
.muka-thumbnail__trigger {
|
|
3678
|
+
position: absolute;
|
|
3679
|
+
inset: 0;
|
|
3680
|
+
padding: 0;
|
|
3681
|
+
border: 0;
|
|
3682
|
+
background: none;
|
|
3683
|
+
cursor: pointer;
|
|
3684
|
+
overflow: hidden;
|
|
3658
3685
|
}
|
|
3659
3686
|
|
|
3660
|
-
|
|
3687
|
+
.muka-thumbnail__trigger:focus-visible {
|
|
3688
|
+
outline: 2px solid var(--color-border-focus);
|
|
3689
|
+
outline-offset: -2px;
|
|
3690
|
+
}
|
|
3661
3691
|
|
|
3662
|
-
|
|
3663
|
-
.muka-
|
|
3664
|
-
|
|
3665
|
-
align-items: center;
|
|
3692
|
+
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
3693
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
3694
|
+
transform: scale(1.05);
|
|
3666
3695
|
}
|
|
3667
3696
|
|
|
3668
|
-
|
|
3669
|
-
.muka-
|
|
3670
|
-
|
|
3697
|
+
/* ─── Loading overlay + progress donut ────────────────── */
|
|
3698
|
+
.muka-thumbnail__overlay {
|
|
3699
|
+
position: absolute;
|
|
3700
|
+
inset: 0;
|
|
3701
|
+
display: flex;
|
|
3671
3702
|
align-items: center;
|
|
3703
|
+
justify-content: center;
|
|
3704
|
+
background-color: var(--dialog-color-backdrop);
|
|
3672
3705
|
}
|
|
3673
3706
|
|
|
3674
|
-
.muka-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
align-items: flex-start;
|
|
3707
|
+
.muka-thumbnail__progress {
|
|
3708
|
+
width: 40px;
|
|
3709
|
+
height: 40px;
|
|
3678
3710
|
}
|
|
3679
3711
|
|
|
3680
|
-
/* ───
|
|
3712
|
+
/* ─── Error / corrupt state ───────────────────────────── */
|
|
3713
|
+
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
3714
|
+
background-color: var(--alias-color-state-error-muted);
|
|
3715
|
+
border-color: var(--alias-color-state-error-default);
|
|
3716
|
+
}
|
|
3681
3717
|
|
|
3682
|
-
.muka-
|
|
3683
|
-
position:
|
|
3684
|
-
|
|
3685
|
-
overflow: hidden;
|
|
3718
|
+
.muka-thumbnail__error {
|
|
3719
|
+
position: absolute;
|
|
3720
|
+
inset: 0;
|
|
3686
3721
|
display: flex;
|
|
3687
3722
|
flex-direction: column;
|
|
3688
|
-
|
|
3723
|
+
align-items: center;
|
|
3724
|
+
justify-content: center;
|
|
3725
|
+
gap: var(--spacing-2);
|
|
3726
|
+
padding: var(--spacing-3);
|
|
3727
|
+
text-align: center;
|
|
3689
3728
|
}
|
|
3690
3729
|
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
.muka-tile--md .muka-tile__photos {
|
|
3694
|
-
border-radius: var(--border-radius-lg);
|
|
3730
|
+
.muka-thumbnail__error-icon {
|
|
3731
|
+
color: var(--alert-color-error-accent);
|
|
3695
3732
|
}
|
|
3696
3733
|
|
|
3697
|
-
.muka-
|
|
3698
|
-
|
|
3734
|
+
.muka-thumbnail__caption {
|
|
3735
|
+
max-width: 100%;
|
|
3736
|
+
overflow: hidden;
|
|
3737
|
+
text-overflow: ellipsis;
|
|
3738
|
+
white-space: nowrap;
|
|
3739
|
+
color: var(--alert-color-error-accent);
|
|
3740
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
3741
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
3742
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
3743
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
3699
3744
|
}
|
|
3700
3745
|
|
|
3701
|
-
/*
|
|
3702
|
-
.muka-
|
|
3703
|
-
|
|
3746
|
+
/* ─── Remove (×) button ───────────────────────────────── */
|
|
3747
|
+
.muka-thumbnail__remove {
|
|
3748
|
+
position: absolute;
|
|
3749
|
+
top: var(--spacing-2);
|
|
3750
|
+
right: var(--spacing-2);
|
|
3751
|
+
display: flex;
|
|
3752
|
+
align-items: center;
|
|
3753
|
+
justify-content: center;
|
|
3754
|
+
width: var(--size-2xl);
|
|
3755
|
+
height: var(--size-2xl);
|
|
3756
|
+
padding: 0;
|
|
3757
|
+
color: var(--button-color-tertiary-foreground-default);
|
|
3758
|
+
background-color: var(--button-color-tertiary-background-default);
|
|
3759
|
+
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
3760
|
+
border-radius: var(--border-radius-lg);
|
|
3761
|
+
cursor: pointer;
|
|
3762
|
+
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
3763
|
+
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
3704
3764
|
}
|
|
3705
3765
|
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3766
|
+
.muka-thumbnail__remove:hover {
|
|
3767
|
+
color: var(--button-color-tertiary-foreground-hover);
|
|
3768
|
+
background-color: var(--button-color-tertiary-background-hover);
|
|
3769
|
+
border-color: var(--button-color-tertiary-border-hover);
|
|
3710
3770
|
}
|
|
3711
3771
|
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3772
|
+
.muka-thumbnail__remove:active {
|
|
3773
|
+
color: var(--button-color-tertiary-foreground-pressed);
|
|
3774
|
+
background-color: var(--button-color-tertiary-background-pressed);
|
|
3775
|
+
border-color: var(--button-color-tertiary-border-pressed);
|
|
3716
3776
|
}
|
|
3717
3777
|
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
width: 80px;
|
|
3722
|
-
align-self: stretch;
|
|
3778
|
+
.muka-thumbnail__remove:focus-visible {
|
|
3779
|
+
outline: 2px solid var(--color-border-focus);
|
|
3780
|
+
outline-offset: 2px;
|
|
3723
3781
|
}
|
|
3724
3782
|
|
|
3725
|
-
/* ───
|
|
3783
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
3784
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3785
|
+
.muka-thumbnail__image,
|
|
3786
|
+
.muka-thumbnail__remove {
|
|
3787
|
+
transition: none;
|
|
3788
|
+
}
|
|
3726
3789
|
|
|
3727
|
-
.muka-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
overflow: hidden;
|
|
3731
|
-
flex-shrink: 0;
|
|
3790
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
3791
|
+
transform: none;
|
|
3792
|
+
}
|
|
3732
3793
|
}
|
|
3733
3794
|
|
|
3734
|
-
/* 16:9 aspect for lg and md */
|
|
3735
|
-
.muka-tile--lg .muka-tile__photo-main,
|
|
3736
|
-
.muka-tile--md .muka-tile__photo-main {
|
|
3737
|
-
aspect-ratio: 1280 / 720;
|
|
3738
|
-
}
|
|
3739
3795
|
|
|
3740
|
-
/*
|
|
3741
|
-
|
|
3742
|
-
aspect-ratio: 1 / 1;
|
|
3743
|
-
}
|
|
3796
|
+
/* Textarea */
|
|
3797
|
+
/* Textarea Component Styles - Using Muka Design Tokens */
|
|
3744
3798
|
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
height: 80px;
|
|
3750
|
-
aspect-ratio: auto;
|
|
3799
|
+
.muka-textarea {
|
|
3800
|
+
display: inline-flex;
|
|
3801
|
+
flex-direction: column;
|
|
3802
|
+
gap: var(--spacing-2);
|
|
3751
3803
|
}
|
|
3752
3804
|
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
display: block;
|
|
3805
|
+
/* Label */
|
|
3806
|
+
.muka-textarea__label {
|
|
3807
|
+
color: var(--color-text-default-default);
|
|
3808
|
+
cursor: pointer;
|
|
3758
3809
|
}
|
|
3759
3810
|
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3811
|
+
.muka-textarea__label--sm {
|
|
3812
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
3813
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
3814
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
3815
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
3765
3816
|
}
|
|
3766
3817
|
|
|
3767
|
-
.muka-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3818
|
+
.muka-textarea__label--md {
|
|
3819
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
3820
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
3821
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
3822
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
3771
3823
|
}
|
|
3772
3824
|
|
|
3773
|
-
.muka-
|
|
3774
|
-
|
|
3775
|
-
|
|
3825
|
+
.muka-textarea__label--lg {
|
|
3826
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
3827
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
3828
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
3829
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
3776
3830
|
}
|
|
3777
3831
|
|
|
3778
|
-
|
|
3832
|
+
.muka-textarea__required {
|
|
3833
|
+
color: var(--color-state-error-default);
|
|
3834
|
+
}
|
|
3779
3835
|
|
|
3780
|
-
|
|
3836
|
+
/* Field container */
|
|
3837
|
+
.muka-textarea__field {
|
|
3781
3838
|
display: flex;
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3839
|
+
background-color: var(--input-field-color-default-background);
|
|
3840
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
3841
|
+
border-radius: var(--input-field-radius-md);
|
|
3842
|
+
padding: var(--input-field-padding-y) var(--input-field-padding-x);
|
|
3843
|
+
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
3844
|
+
box-sizing: border-box;
|
|
3786
3845
|
}
|
|
3787
3846
|
|
|
3788
|
-
.muka-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
flex-shrink: 0;
|
|
3792
|
-
overflow: hidden;
|
|
3847
|
+
.muka-textarea__field--sm {
|
|
3848
|
+
min-height: var(--input-textarea-height-sm);
|
|
3849
|
+
border-radius: var(--input-field-radius-sm);
|
|
3793
3850
|
}
|
|
3794
3851
|
|
|
3795
|
-
.muka-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
object-fit: cover;
|
|
3799
|
-
display: block;
|
|
3852
|
+
.muka-textarea__field--md {
|
|
3853
|
+
min-height: var(--input-textarea-height-default);
|
|
3854
|
+
border-radius: var(--input-field-radius-md);
|
|
3800
3855
|
}
|
|
3801
3856
|
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3857
|
+
.muka-textarea__field--lg {
|
|
3858
|
+
min-height: var(--input-textarea-height-lg);
|
|
3859
|
+
border-radius: var(--input-field-radius-lg);
|
|
3805
3860
|
}
|
|
3806
3861
|
|
|
3807
|
-
/*
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
min-width: 0;
|
|
3862
|
+
/* Focus state */
|
|
3863
|
+
.muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
|
|
3864
|
+
border-width: var(--border-width-bold);
|
|
3865
|
+
border-color: var(--input-field-color-focus-border);
|
|
3866
|
+
background-color: var(--input-field-color-focus-background);
|
|
3867
|
+
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
3814
3868
|
}
|
|
3815
3869
|
|
|
3816
|
-
/*
|
|
3817
|
-
.muka-
|
|
3818
|
-
|
|
3819
|
-
|
|
3870
|
+
/* Error state */
|
|
3871
|
+
.muka-textarea__field--error:not(.muka-textarea__field--disabled) {
|
|
3872
|
+
border-width: var(--border-width-bold);
|
|
3873
|
+
border-color: var(--input-field-color-error-border);
|
|
3874
|
+
background-color: var(--input-field-color-error-background);
|
|
3875
|
+
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
3820
3876
|
}
|
|
3821
3877
|
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3878
|
+
/* Disabled state */
|
|
3879
|
+
.muka-textarea__field--disabled {
|
|
3880
|
+
background-color: var(--input-field-color-disabled-background);
|
|
3881
|
+
border-color: var(--input-field-color-disabled-border);
|
|
3882
|
+
cursor: not-allowed;
|
|
3825
3883
|
}
|
|
3826
3884
|
|
|
3827
|
-
|
|
3828
|
-
|
|
3885
|
+
/* Native textarea */
|
|
3886
|
+
.muka-textarea__native {
|
|
3887
|
+
flex: 1;
|
|
3888
|
+
border: none;
|
|
3889
|
+
outline: none;
|
|
3890
|
+
background: transparent;
|
|
3891
|
+
color: var(--input-field-color-default-foreground);
|
|
3892
|
+
font-family: var(--text-input-md-fontFamily);
|
|
3893
|
+
font-weight: var(--text-input-md-fontWeight);
|
|
3894
|
+
font-size: var(--text-input-md-fontSize);
|
|
3895
|
+
line-height: var(--text-input-md-lineHeight);
|
|
3896
|
+
padding: 0;
|
|
3897
|
+
width: 100%;
|
|
3898
|
+
min-width: 0;
|
|
3829
3899
|
}
|
|
3830
3900
|
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3901
|
+
.muka-textarea__field--sm .muka-textarea__native {
|
|
3902
|
+
font-family: var(--text-input-sm-fontFamily);
|
|
3903
|
+
font-weight: var(--text-input-sm-fontWeight);
|
|
3904
|
+
font-size: var(--text-input-sm-fontSize);
|
|
3905
|
+
line-height: var(--text-input-sm-lineHeight);
|
|
3835
3906
|
}
|
|
3836
3907
|
|
|
3837
|
-
.muka-
|
|
3838
|
-
|
|
3839
|
-
|
|
3908
|
+
.muka-textarea__field--lg .muka-textarea__native {
|
|
3909
|
+
font-family: var(--text-input-lg-fontFamily);
|
|
3910
|
+
font-weight: var(--text-input-lg-fontWeight);
|
|
3911
|
+
font-size: var(--text-input-lg-fontSize);
|
|
3912
|
+
line-height: var(--text-input-lg-lineHeight);
|
|
3840
3913
|
}
|
|
3841
3914
|
|
|
3842
|
-
.muka-
|
|
3843
|
-
|
|
3844
|
-
padding: var(--spacing-2) var(--spacing-3);
|
|
3915
|
+
.muka-textarea__native::placeholder {
|
|
3916
|
+
color: var(--color-text-subtle-default);
|
|
3845
3917
|
}
|
|
3846
3918
|
|
|
3847
|
-
.muka-
|
|
3848
|
-
|
|
3849
|
-
|
|
3919
|
+
.muka-textarea__field--disabled .muka-textarea__native {
|
|
3920
|
+
color: var(--input-field-color-disabled-foreground);
|
|
3921
|
+
cursor: not-allowed;
|
|
3850
3922
|
}
|
|
3851
3923
|
|
|
3852
|
-
/*
|
|
3853
|
-
|
|
3854
|
-
.muka-tile__header {
|
|
3924
|
+
/* Footer (helper/error + count) */
|
|
3925
|
+
.muka-textarea__footer {
|
|
3855
3926
|
display: flex;
|
|
3927
|
+
justify-content: space-between;
|
|
3856
3928
|
align-items: flex-start;
|
|
3857
|
-
gap: var(--spacing-4);
|
|
3858
|
-
}
|
|
3859
|
-
|
|
3860
|
-
/* Small horizontal: row with text and action */
|
|
3861
|
-
.muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
|
|
3862
|
-
gap: var(--spacing-2);
|
|
3863
|
-
align-items: center;
|
|
3864
|
-
padding-top: var(--spacing-1);
|
|
3865
|
-
}
|
|
3866
|
-
|
|
3867
|
-
/* ─── Text group ──────────────────────────────────────── */
|
|
3868
|
-
|
|
3869
|
-
.muka-tile__text {
|
|
3870
|
-
display: flex;
|
|
3871
|
-
flex-direction: column;
|
|
3872
|
-
flex: 1;
|
|
3873
|
-
min-width: 0;
|
|
3874
3929
|
gap: var(--spacing-2);
|
|
3875
3930
|
}
|
|
3876
3931
|
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3932
|
+
.muka-textarea__helper {
|
|
3933
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
3934
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
3935
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
3936
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
3937
|
+
color: var(--color-text-subtle-default);
|
|
3880
3938
|
margin: 0;
|
|
3881
3939
|
}
|
|
3882
3940
|
|
|
3883
|
-
.muka-
|
|
3884
|
-
font-family: var(--text-label-
|
|
3885
|
-
font-weight: var(--text-label-
|
|
3886
|
-
font-size: var(--text-label-
|
|
3887
|
-
line-height: var(--text-label-
|
|
3888
|
-
color: var(--color-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
.muka-tile--md .muka-tile__heading {
|
|
3892
|
-
font-family: var(--text-label-xl-semibold-fontFamily);
|
|
3893
|
-
font-weight: var(--text-label-xl-semibold-fontWeight);
|
|
3894
|
-
font-size: var(--text-label-xl-semibold-fontSize);
|
|
3895
|
-
line-height: var(--text-label-xl-semibold-lineHeight);
|
|
3896
|
-
color: var(--color-text-default-default);
|
|
3941
|
+
.muka-textarea__error {
|
|
3942
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
3943
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
3944
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
3945
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
3946
|
+
color: var(--color-state-error-default);
|
|
3947
|
+
margin: 0;
|
|
3897
3948
|
}
|
|
3898
3949
|
|
|
3899
|
-
.muka-
|
|
3900
|
-
font-family: var(--text-label-
|
|
3901
|
-
font-weight: var(--text-label-
|
|
3902
|
-
font-size: var(--text-label-
|
|
3903
|
-
line-height: var(--text-label-
|
|
3904
|
-
color: var(--color-text-
|
|
3950
|
+
.muka-textarea__count {
|
|
3951
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
3952
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
3953
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
3954
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
3955
|
+
color: var(--color-text-subtle-default);
|
|
3956
|
+
margin-left: auto;
|
|
3905
3957
|
}
|
|
3906
3958
|
|
|
3907
|
-
/* ─── Subheading typography ───────────────────────────── */
|
|
3908
3959
|
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
color: var(--color-text-subtle-default);
|
|
3912
|
-
}
|
|
3960
|
+
/* TextLink */
|
|
3961
|
+
/* TextLink Component Styles - Using Muka Design Tokens */
|
|
3913
3962
|
|
|
3914
|
-
.muka-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3963
|
+
.muka-text-link {
|
|
3964
|
+
display: inline;
|
|
3965
|
+
cursor: pointer;
|
|
3966
|
+
text-decoration: underline;
|
|
3967
|
+
/* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
|
|
3968
|
+
text-underline-offset: 0.2em;
|
|
3969
|
+
text-decoration-thickness: from-font;
|
|
3970
|
+
/* Rounds the focus ring's corners; the link itself has no visible box. */
|
|
3971
|
+
border-radius: var(--border-radius-sm);
|
|
3972
|
+
transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
|
|
3919
3973
|
}
|
|
3920
3974
|
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
font-
|
|
3925
|
-
font-
|
|
3926
|
-
|
|
3975
|
+
/* ─── Sizes ───────────────────────────────────────────────
|
|
3976
|
+
Mirrors the body text scale so a link matches the copy it sits in. */
|
|
3977
|
+
.muka-text-link--sm {
|
|
3978
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
3979
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
3980
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
3981
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
3927
3982
|
}
|
|
3928
3983
|
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3984
|
+
.muka-text-link--base {
|
|
3985
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
3986
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
3987
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
3988
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
3934
3989
|
}
|
|
3935
3990
|
|
|
3936
|
-
.muka-
|
|
3991
|
+
.muka-text-link--lg {
|
|
3937
3992
|
font-family: var(--text-body-lg-regular-fontFamily);
|
|
3938
3993
|
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
3939
3994
|
font-size: var(--text-body-lg-regular-fontSize);
|
|
3940
3995
|
line-height: var(--text-body-lg-regular-lineHeight);
|
|
3941
3996
|
}
|
|
3942
3997
|
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3998
|
+
/* ─── Variant: default (accent) ───────────────────────────
|
|
3999
|
+
Visited repeats the default colour on purpose: the design treats visited and
|
|
4000
|
+
default the same, and pinning it stops the browser's purple from showing. */
|
|
4001
|
+
.muka-text-link--default,
|
|
4002
|
+
.muka-text-link--default:visited {
|
|
4003
|
+
color: var(--color-text-action-default);
|
|
3949
4004
|
}
|
|
3950
4005
|
|
|
3951
|
-
|
|
3952
|
-
.muka-
|
|
3953
|
-
|
|
3954
|
-
text-overflow: ellipsis;
|
|
4006
|
+
.muka-text-link--default:hover,
|
|
4007
|
+
.muka-text-link--default:focus-visible {
|
|
4008
|
+
color: var(--color-text-action-hover);
|
|
3955
4009
|
}
|
|
3956
4010
|
|
|
3957
|
-
|
|
4011
|
+
.muka-text-link--default:active {
|
|
4012
|
+
color: var(--color-text-action-pressed);
|
|
4013
|
+
}
|
|
3958
4014
|
|
|
3959
|
-
|
|
3960
|
-
|
|
4015
|
+
/* ─── Variant: subtle (neutral) ───────────────────────────
|
|
4016
|
+
Hover, focus and pressed all darken to the default text colour. */
|
|
4017
|
+
.muka-text-link--subtle,
|
|
4018
|
+
.muka-text-link--subtle:visited {
|
|
4019
|
+
color: var(--color-text-subtle-default);
|
|
3961
4020
|
}
|
|
3962
4021
|
|
|
3963
|
-
|
|
4022
|
+
.muka-text-link--subtle:hover,
|
|
4023
|
+
.muka-text-link--subtle:focus-visible,
|
|
4024
|
+
.muka-text-link--subtle:active {
|
|
4025
|
+
color: var(--color-text-default-default);
|
|
4026
|
+
}
|
|
3964
4027
|
|
|
3965
|
-
|
|
3966
|
-
|
|
4028
|
+
/* ─── Focus ───────────────────────────────────────────────
|
|
4029
|
+
Same ring as every other focusable Muka component. */
|
|
4030
|
+
.muka-text-link:focus-visible {
|
|
4031
|
+
outline: 2px solid var(--color-border-focus);
|
|
4032
|
+
outline-offset: 2px;
|
|
3967
4033
|
}
|
|
3968
4034
|
|
|
4035
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4036
|
+
.muka-text-link {
|
|
4037
|
+
transition: none;
|
|
4038
|
+
}
|
|
4039
|
+
}
|
|
3969
4040
|
|
|
3970
|
-
/* Thumbnail */
|
|
3971
|
-
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
3972
4041
|
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
flex-shrink: 0;
|
|
3976
|
-
}
|
|
4042
|
+
/* Tile */
|
|
4043
|
+
/* Tile Component Styles - Using Muka Design Tokens */
|
|
3977
4044
|
|
|
3978
|
-
/*
|
|
3979
|
-
from the root lets the remove (×) button sit outside the clip (needed for the
|
|
3980
|
-
circular/ellipse shape, whose corners would otherwise clip the button). */
|
|
3981
|
-
.muka-thumbnail__frame {
|
|
3982
|
-
position: absolute;
|
|
3983
|
-
inset: 0;
|
|
3984
|
-
overflow: hidden;
|
|
3985
|
-
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
3986
|
-
border-radius: var(--border-radius-lg);
|
|
3987
|
-
background-color: var(--color-surface-level1);
|
|
3988
|
-
}
|
|
4045
|
+
/* ─── Base ────────────────────────────────────────────── */
|
|
3989
4046
|
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
height: 120px;
|
|
4047
|
+
.muka-tile {
|
|
4048
|
+
display: flex;
|
|
4049
|
+
color: var(--color-text-default-default);
|
|
3994
4050
|
}
|
|
3995
4051
|
|
|
3996
|
-
.muka-
|
|
3997
|
-
|
|
3998
|
-
|
|
4052
|
+
.muka-tile--interactive {
|
|
4053
|
+
cursor: pointer;
|
|
4054
|
+
user-select: none;
|
|
3999
4055
|
}
|
|
4000
4056
|
|
|
4001
|
-
.muka-
|
|
4002
|
-
|
|
4003
|
-
|
|
4057
|
+
.muka-tile--interactive:focus-visible {
|
|
4058
|
+
outline: 2px solid var(--color-border-focus);
|
|
4059
|
+
outline-offset: 2px;
|
|
4060
|
+
border-radius: var(--border-radius-lg);
|
|
4004
4061
|
}
|
|
4005
4062
|
|
|
4006
|
-
/*
|
|
4007
|
-
.muka-thumbnail--fluid {
|
|
4008
|
-
width: 100%;
|
|
4009
|
-
height: auto;
|
|
4010
|
-
aspect-ratio: 1 / 1;
|
|
4011
|
-
}
|
|
4063
|
+
/* ─── Image position variants ─────────────────────────── */
|
|
4012
4064
|
|
|
4013
|
-
.muka-
|
|
4014
|
-
|
|
4065
|
+
.muka-tile--image-top {
|
|
4066
|
+
flex-direction: column;
|
|
4015
4067
|
}
|
|
4016
4068
|
|
|
4017
|
-
.muka-
|
|
4018
|
-
|
|
4069
|
+
.muka-tile--image-left {
|
|
4070
|
+
flex-direction: row;
|
|
4019
4071
|
}
|
|
4020
4072
|
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
.muka-thumbnail__image {
|
|
4024
|
-
position: absolute;
|
|
4025
|
-
inset: 0;
|
|
4026
|
-
width: 100%;
|
|
4027
|
-
height: 100%;
|
|
4028
|
-
object-fit: cover;
|
|
4029
|
-
display: block;
|
|
4030
|
-
transform-origin: center;
|
|
4031
|
-
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
4032
|
-
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4073
|
+
.muka-tile--image-right {
|
|
4074
|
+
flex-direction: row;
|
|
4033
4075
|
}
|
|
4034
4076
|
|
|
4035
|
-
/* ───
|
|
4036
|
-
.muka-thumbnail__trigger {
|
|
4037
|
-
position: absolute;
|
|
4038
|
-
inset: 0;
|
|
4039
|
-
padding: 0;
|
|
4040
|
-
border: 0;
|
|
4041
|
-
background: none;
|
|
4042
|
-
cursor: pointer;
|
|
4043
|
-
overflow: hidden;
|
|
4044
|
-
}
|
|
4077
|
+
/* ─── Gap by size (top) ───────────────────────────────── */
|
|
4045
4078
|
|
|
4046
|
-
.muka-
|
|
4047
|
-
|
|
4048
|
-
outline-offset: -2px;
|
|
4079
|
+
.muka-tile--image-top.muka-tile--lg {
|
|
4080
|
+
gap: var(--spacing-6);
|
|
4049
4081
|
}
|
|
4050
4082
|
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4083
|
+
.muka-tile--image-top.muka-tile--md {
|
|
4084
|
+
gap: var(--spacing-6);
|
|
4085
|
+
width: 320px;
|
|
4054
4086
|
}
|
|
4055
4087
|
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
inset: 0;
|
|
4060
|
-
display: flex;
|
|
4061
|
-
align-items: center;
|
|
4062
|
-
justify-content: center;
|
|
4063
|
-
background-color: var(--dialog-color-backdrop);
|
|
4088
|
+
.muka-tile--image-top.muka-tile--sm {
|
|
4089
|
+
gap: var(--spacing-4);
|
|
4090
|
+
min-width: 120px;
|
|
4064
4091
|
}
|
|
4065
4092
|
|
|
4066
|
-
|
|
4067
|
-
width: 40px;
|
|
4068
|
-
height: 40px;
|
|
4069
|
-
}
|
|
4093
|
+
/* ─── Gap by size (left/right) ────────────────────────── */
|
|
4070
4094
|
|
|
4071
|
-
|
|
4072
|
-
.muka-
|
|
4073
|
-
|
|
4074
|
-
|
|
4095
|
+
.muka-tile--image-left.muka-tile--lg,
|
|
4096
|
+
.muka-tile--image-right.muka-tile--lg {
|
|
4097
|
+
gap: var(--spacing-6);
|
|
4098
|
+
align-items: center;
|
|
4075
4099
|
}
|
|
4076
4100
|
|
|
4077
|
-
.muka-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
display: flex;
|
|
4081
|
-
flex-direction: column;
|
|
4101
|
+
.muka-tile--image-left.muka-tile--md,
|
|
4102
|
+
.muka-tile--image-right.muka-tile--md {
|
|
4103
|
+
gap: var(--spacing-6);
|
|
4082
4104
|
align-items: center;
|
|
4083
|
-
justify-content: center;
|
|
4084
|
-
gap: var(--spacing-2);
|
|
4085
|
-
padding: var(--spacing-3);
|
|
4086
|
-
text-align: center;
|
|
4087
4105
|
}
|
|
4088
4106
|
|
|
4089
|
-
.muka-
|
|
4090
|
-
|
|
4107
|
+
.muka-tile--image-left.muka-tile--sm,
|
|
4108
|
+
.muka-tile--image-right.muka-tile--sm {
|
|
4109
|
+
gap: var(--spacing-4);
|
|
4110
|
+
align-items: flex-start;
|
|
4091
4111
|
}
|
|
4092
4112
|
|
|
4093
|
-
|
|
4094
|
-
|
|
4113
|
+
/* ─── Photos container ────────────────────────────────── */
|
|
4114
|
+
|
|
4115
|
+
.muka-tile__photos {
|
|
4116
|
+
position: relative;
|
|
4117
|
+
flex-shrink: 0;
|
|
4095
4118
|
overflow: hidden;
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4100
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
4101
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4102
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4119
|
+
display: flex;
|
|
4120
|
+
flex-direction: column;
|
|
4121
|
+
isolation: isolate;
|
|
4103
4122
|
}
|
|
4104
4123
|
|
|
4105
|
-
/*
|
|
4106
|
-
.muka-
|
|
4107
|
-
|
|
4108
|
-
top: var(--spacing-2);
|
|
4109
|
-
right: var(--spacing-2);
|
|
4110
|
-
display: flex;
|
|
4111
|
-
align-items: center;
|
|
4112
|
-
justify-content: center;
|
|
4113
|
-
width: var(--size-2xl);
|
|
4114
|
-
height: var(--size-2xl);
|
|
4115
|
-
padding: 0;
|
|
4116
|
-
color: var(--button-color-tertiary-foreground-default);
|
|
4117
|
-
background-color: var(--button-color-tertiary-background-default);
|
|
4118
|
-
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
4124
|
+
/* Photos border radius by size */
|
|
4125
|
+
.muka-tile--lg .muka-tile__photos,
|
|
4126
|
+
.muka-tile--md .muka-tile__photos {
|
|
4119
4127
|
border-radius: var(--border-radius-lg);
|
|
4120
|
-
cursor: pointer;
|
|
4121
|
-
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
4122
|
-
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4123
4128
|
}
|
|
4124
4129
|
|
|
4125
|
-
.muka-
|
|
4126
|
-
|
|
4127
|
-
background-color: var(--button-color-tertiary-background-hover);
|
|
4128
|
-
border-color: var(--button-color-tertiary-border-hover);
|
|
4130
|
+
.muka-tile--sm .muka-tile__photos {
|
|
4131
|
+
border-radius: var(--border-radius-md);
|
|
4129
4132
|
}
|
|
4130
4133
|
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
border-color: var(--button-color-tertiary-border-pressed);
|
|
4134
|
+
/* Photos sizing: top layout */
|
|
4135
|
+
.muka-tile--image-top .muka-tile__photos {
|
|
4136
|
+
width: 100%;
|
|
4135
4137
|
}
|
|
4136
4138
|
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4139
|
+
/* Photos sizing: left/right large */
|
|
4140
|
+
.muka-tile--image-left.muka-tile--lg .muka-tile__photos,
|
|
4141
|
+
.muka-tile--image-right.muka-tile--lg .muka-tile__photos {
|
|
4142
|
+
width: 520px;
|
|
4140
4143
|
}
|
|
4141
4144
|
|
|
4142
|
-
/*
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
transition: none;
|
|
4147
|
-
}
|
|
4148
|
-
|
|
4149
|
-
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4150
|
-
transform: none;
|
|
4151
|
-
}
|
|
4145
|
+
/* Photos sizing: left/right medium */
|
|
4146
|
+
.muka-tile--image-left.muka-tile--md .muka-tile__photos,
|
|
4147
|
+
.muka-tile--image-right.muka-tile--md .muka-tile__photos {
|
|
4148
|
+
width: 320px;
|
|
4152
4149
|
}
|
|
4153
4150
|
|
|
4151
|
+
/* Photos sizing: left/right small (single 80x80 thumbnail) */
|
|
4152
|
+
.muka-tile--image-left.muka-tile--sm .muka-tile__photos,
|
|
4153
|
+
.muka-tile--image-right.muka-tile--sm .muka-tile__photos {
|
|
4154
|
+
width: 80px;
|
|
4155
|
+
align-self: stretch;
|
|
4156
|
+
}
|
|
4154
4157
|
|
|
4155
|
-
/*
|
|
4156
|
-
/* Textarea Component Styles - Using Muka Design Tokens */
|
|
4158
|
+
/* ─── Main photo ──────────────────────────────────────── */
|
|
4157
4159
|
|
|
4158
|
-
.muka-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4160
|
+
.muka-tile__photo-main {
|
|
4161
|
+
position: relative;
|
|
4162
|
+
width: 100%;
|
|
4163
|
+
overflow: hidden;
|
|
4164
|
+
flex-shrink: 0;
|
|
4162
4165
|
}
|
|
4163
4166
|
|
|
4164
|
-
/*
|
|
4165
|
-
.muka-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
}
|
|
4169
|
-
|
|
4170
|
-
.muka-textarea__label--sm {
|
|
4171
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
4172
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4173
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4174
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4167
|
+
/* 16:9 aspect for lg and md */
|
|
4168
|
+
.muka-tile--lg .muka-tile__photo-main,
|
|
4169
|
+
.muka-tile--md .muka-tile__photo-main {
|
|
4170
|
+
aspect-ratio: 1280 / 720;
|
|
4175
4171
|
}
|
|
4176
4172
|
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
4181
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
4173
|
+
/* 1:1 aspect for top + sm */
|
|
4174
|
+
.muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
|
|
4175
|
+
aspect-ratio: 1 / 1;
|
|
4182
4176
|
}
|
|
4183
4177
|
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4178
|
+
/* Fixed size for left/right + sm */
|
|
4179
|
+
.muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
|
|
4180
|
+
.muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
|
|
4181
|
+
width: 80px;
|
|
4182
|
+
height: 80px;
|
|
4183
|
+
aspect-ratio: auto;
|
|
4189
4184
|
}
|
|
4190
4185
|
|
|
4191
|
-
.muka-
|
|
4192
|
-
|
|
4186
|
+
.muka-tile__photo-main img {
|
|
4187
|
+
width: 100%;
|
|
4188
|
+
height: 100%;
|
|
4189
|
+
object-fit: cover;
|
|
4190
|
+
display: block;
|
|
4193
4191
|
}
|
|
4194
4192
|
|
|
4195
|
-
/*
|
|
4196
|
-
.muka-textarea__field {
|
|
4197
|
-
display: flex;
|
|
4198
|
-
background-color: var(--input-field-color-default-background);
|
|
4199
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
4200
|
-
border-radius: var(--input-field-radius-md);
|
|
4201
|
-
padding: var(--input-field-padding-y) var(--input-field-padding-x);
|
|
4202
|
-
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
4203
|
-
box-sizing: border-box;
|
|
4204
|
-
}
|
|
4193
|
+
/* ─── Favourite overlay ───────────────────────────────── */
|
|
4205
4194
|
|
|
4206
|
-
.muka-
|
|
4207
|
-
|
|
4208
|
-
|
|
4195
|
+
.muka-tile__favourite {
|
|
4196
|
+
position: absolute;
|
|
4197
|
+
z-index: 3;
|
|
4209
4198
|
}
|
|
4210
4199
|
|
|
4211
|
-
.muka-
|
|
4212
|
-
|
|
4213
|
-
|
|
4200
|
+
.muka-tile--lg .muka-tile__favourite,
|
|
4201
|
+
.muka-tile--md .muka-tile__favourite {
|
|
4202
|
+
top: var(--spacing-4);
|
|
4203
|
+
right: var(--spacing-4);
|
|
4214
4204
|
}
|
|
4215
4205
|
|
|
4216
|
-
.muka-
|
|
4217
|
-
|
|
4218
|
-
|
|
4206
|
+
.muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
|
|
4207
|
+
top: var(--spacing-1);
|
|
4208
|
+
right: var(--spacing-1);
|
|
4219
4209
|
}
|
|
4220
4210
|
|
|
4221
|
-
/*
|
|
4222
|
-
.muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
|
|
4223
|
-
border-width: var(--border-width-bold);
|
|
4224
|
-
border-color: var(--input-field-color-focus-border);
|
|
4225
|
-
background-color: var(--input-field-color-focus-background);
|
|
4226
|
-
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
4227
|
-
}
|
|
4211
|
+
/* ─── Thumbnails ──────────────────────────────────────── */
|
|
4228
4212
|
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4213
|
+
.muka-tile__thumbnails {
|
|
4214
|
+
display: flex;
|
|
4215
|
+
gap: 2px;
|
|
4216
|
+
overflow: hidden;
|
|
4217
|
+
flex-shrink: 0;
|
|
4218
|
+
height: 80px;
|
|
4235
4219
|
}
|
|
4236
4220
|
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4221
|
+
.muka-tile__thumbnail {
|
|
4222
|
+
width: 80px;
|
|
4223
|
+
height: 80px;
|
|
4224
|
+
flex-shrink: 0;
|
|
4225
|
+
overflow: hidden;
|
|
4242
4226
|
}
|
|
4243
4227
|
|
|
4244
|
-
|
|
4245
|
-
.muka-textarea__native {
|
|
4246
|
-
flex: 1;
|
|
4247
|
-
border: none;
|
|
4248
|
-
outline: none;
|
|
4249
|
-
background: transparent;
|
|
4250
|
-
color: var(--input-field-color-default-foreground);
|
|
4251
|
-
font-family: var(--text-input-md-fontFamily);
|
|
4252
|
-
font-weight: var(--text-input-md-fontWeight);
|
|
4253
|
-
font-size: var(--text-input-md-fontSize);
|
|
4254
|
-
line-height: var(--text-input-md-lineHeight);
|
|
4255
|
-
padding: 0;
|
|
4228
|
+
.muka-tile__thumbnail img {
|
|
4256
4229
|
width: 100%;
|
|
4257
|
-
|
|
4230
|
+
height: 100%;
|
|
4231
|
+
object-fit: cover;
|
|
4232
|
+
display: block;
|
|
4258
4233
|
}
|
|
4259
4234
|
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
font-size: var(--text-input-sm-fontSize);
|
|
4264
|
-
line-height: var(--text-input-sm-lineHeight);
|
|
4235
|
+
/* Gap between main photo and thumbnails */
|
|
4236
|
+
.muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
|
|
4237
|
+
margin-top: 2px;
|
|
4265
4238
|
}
|
|
4266
4239
|
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4240
|
+
/* ─── Content section ─────────────────────────────────── */
|
|
4241
|
+
|
|
4242
|
+
.muka-tile__content {
|
|
4243
|
+
display: flex;
|
|
4244
|
+
flex-direction: column;
|
|
4245
|
+
flex: 1;
|
|
4246
|
+
min-width: 0;
|
|
4272
4247
|
}
|
|
4273
4248
|
|
|
4274
|
-
|
|
4275
|
-
|
|
4249
|
+
/* Top layout: content has horizontal padding */
|
|
4250
|
+
.muka-tile--image-top.muka-tile--lg .muka-tile__content {
|
|
4251
|
+
padding: 0 var(--spacing-3);
|
|
4252
|
+
gap: var(--spacing-1);
|
|
4276
4253
|
}
|
|
4277
4254
|
|
|
4278
|
-
.muka-
|
|
4279
|
-
|
|
4280
|
-
|
|
4255
|
+
.muka-tile--image-top.muka-tile--md .muka-tile__content {
|
|
4256
|
+
padding: 0 var(--spacing-3);
|
|
4257
|
+
gap: var(--spacing-2);
|
|
4281
4258
|
}
|
|
4282
4259
|
|
|
4283
|
-
|
|
4284
|
-
.muka-textarea__footer {
|
|
4285
|
-
display: flex;
|
|
4286
|
-
justify-content: space-between;
|
|
4287
|
-
align-items: flex-start;
|
|
4260
|
+
.muka-tile--image-top.muka-tile--sm .muka-tile__content {
|
|
4288
4261
|
gap: var(--spacing-2);
|
|
4289
4262
|
}
|
|
4290
4263
|
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4296
|
-
color: var(--color-text-subtle-default);
|
|
4297
|
-
margin: 0;
|
|
4264
|
+
/* Left/right layout: content grows to fill space */
|
|
4265
|
+
.muka-tile--image-left .muka-tile__content,
|
|
4266
|
+
.muka-tile--image-right .muka-tile__content {
|
|
4267
|
+
gap: var(--spacing-3);
|
|
4298
4268
|
}
|
|
4299
4269
|
|
|
4300
|
-
.muka-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
4304
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4305
|
-
color: var(--color-state-error-default);
|
|
4306
|
-
margin: 0;
|
|
4270
|
+
.muka-tile--image-left.muka-tile--lg .muka-tile__content,
|
|
4271
|
+
.muka-tile--image-right.muka-tile--lg .muka-tile__content {
|
|
4272
|
+
padding: 0 var(--spacing-3);
|
|
4307
4273
|
}
|
|
4308
4274
|
|
|
4309
|
-
.muka-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
4313
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4314
|
-
color: var(--color-text-subtle-default);
|
|
4315
|
-
margin-left: auto;
|
|
4275
|
+
.muka-tile--image-left.muka-tile--md .muka-tile__content,
|
|
4276
|
+
.muka-tile--image-right.muka-tile--md .muka-tile__content {
|
|
4277
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
4316
4278
|
}
|
|
4317
4279
|
|
|
4280
|
+
.muka-tile--image-left.muka-tile--sm .muka-tile__content,
|
|
4281
|
+
.muka-tile--image-right.muka-tile--sm .muka-tile__content {
|
|
4282
|
+
gap: var(--spacing-2);
|
|
4283
|
+
}
|
|
4318
4284
|
|
|
4319
|
-
/*
|
|
4320
|
-
/* TextLink Component Styles - Using Muka Design Tokens */
|
|
4285
|
+
/* ─── Header (heading row + price) ────────────────────── */
|
|
4321
4286
|
|
|
4322
|
-
.muka-
|
|
4323
|
-
display:
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
/* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
|
|
4327
|
-
text-underline-offset: 0.2em;
|
|
4328
|
-
text-decoration-thickness: from-font;
|
|
4329
|
-
/* Rounds the focus ring's corners; the link itself has no visible box. */
|
|
4330
|
-
border-radius: var(--border-radius-sm);
|
|
4331
|
-
transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
|
|
4287
|
+
.muka-tile__header {
|
|
4288
|
+
display: flex;
|
|
4289
|
+
align-items: flex-start;
|
|
4290
|
+
gap: var(--spacing-4);
|
|
4332
4291
|
}
|
|
4333
4292
|
|
|
4334
|
-
/*
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
4340
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4293
|
+
/* Small horizontal: row with text and action */
|
|
4294
|
+
.muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
|
|
4295
|
+
gap: var(--spacing-2);
|
|
4296
|
+
align-items: center;
|
|
4297
|
+
padding-top: var(--spacing-1);
|
|
4341
4298
|
}
|
|
4342
4299
|
|
|
4343
|
-
|
|
4344
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
4345
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4346
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
4347
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
4348
|
-
}
|
|
4300
|
+
/* ─── Text group ──────────────────────────────────────── */
|
|
4349
4301
|
|
|
4350
|
-
.muka-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4302
|
+
.muka-tile__text {
|
|
4303
|
+
display: flex;
|
|
4304
|
+
flex-direction: column;
|
|
4305
|
+
flex: 1;
|
|
4306
|
+
min-width: 0;
|
|
4307
|
+
gap: var(--spacing-2);
|
|
4355
4308
|
}
|
|
4356
4309
|
|
|
4357
|
-
/* ───
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
.muka-text-link--default:visited {
|
|
4362
|
-
color: var(--color-text-action-default);
|
|
4310
|
+
/* ─── Heading typography ──────────────────────────────── */
|
|
4311
|
+
|
|
4312
|
+
.muka-tile__heading {
|
|
4313
|
+
margin: 0;
|
|
4363
4314
|
}
|
|
4364
4315
|
|
|
4365
|
-
.muka-
|
|
4366
|
-
|
|
4367
|
-
|
|
4316
|
+
.muka-tile--lg .muka-tile__heading {
|
|
4317
|
+
font-family: var(--text-label-2xl-semibold-fontFamily);
|
|
4318
|
+
font-weight: var(--text-label-2xl-semibold-fontWeight);
|
|
4319
|
+
font-size: var(--text-label-2xl-semibold-fontSize);
|
|
4320
|
+
line-height: var(--text-label-2xl-semibold-lineHeight);
|
|
4321
|
+
color: var(--color-text-default-default);
|
|
4368
4322
|
}
|
|
4369
4323
|
|
|
4370
|
-
.muka-
|
|
4371
|
-
|
|
4324
|
+
.muka-tile--md .muka-tile__heading {
|
|
4325
|
+
font-family: var(--text-label-xl-semibold-fontFamily);
|
|
4326
|
+
font-weight: var(--text-label-xl-semibold-fontWeight);
|
|
4327
|
+
font-size: var(--text-label-xl-semibold-fontSize);
|
|
4328
|
+
line-height: var(--text-label-xl-semibold-lineHeight);
|
|
4329
|
+
color: var(--color-text-default-default);
|
|
4372
4330
|
}
|
|
4373
4331
|
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4332
|
+
.muka-tile--sm .muka-tile__heading {
|
|
4333
|
+
font-family: var(--text-label-lg-bold-fontFamily);
|
|
4334
|
+
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
4335
|
+
font-size: var(--text-label-lg-bold-fontSize);
|
|
4336
|
+
line-height: var(--text-label-lg-bold-lineHeight);
|
|
4337
|
+
color: var(--color-text-default-default);
|
|
4338
|
+
}
|
|
4339
|
+
|
|
4340
|
+
/* ─── Subheading typography ───────────────────────────── */
|
|
4341
|
+
|
|
4342
|
+
.muka-tile__subheading {
|
|
4343
|
+
margin: 0;
|
|
4378
4344
|
color: var(--color-text-subtle-default);
|
|
4379
4345
|
}
|
|
4380
4346
|
|
|
4381
|
-
.muka-
|
|
4382
|
-
|
|
4383
|
-
|
|
4347
|
+
.muka-tile--lg .muka-tile__subheading {
|
|
4348
|
+
font-family: var(--text-subheading-md-fontFamily);
|
|
4349
|
+
font-weight: var(--text-subheading-md-fontWeight);
|
|
4350
|
+
font-size: var(--text-subheading-md-fontSize);
|
|
4351
|
+
line-height: var(--text-subheading-md-lineHeight);
|
|
4352
|
+
}
|
|
4353
|
+
|
|
4354
|
+
.muka-tile--md .muka-tile__subheading,
|
|
4355
|
+
.muka-tile--sm .muka-tile__subheading {
|
|
4356
|
+
font-family: var(--text-subheading-sm-fontFamily);
|
|
4357
|
+
font-weight: var(--text-subheading-sm-fontWeight);
|
|
4358
|
+
font-size: var(--text-subheading-sm-fontSize);
|
|
4359
|
+
line-height: var(--text-subheading-sm-lineHeight);
|
|
4360
|
+
}
|
|
4361
|
+
|
|
4362
|
+
/* ─── Description typography ──────────────────────────── */
|
|
4363
|
+
|
|
4364
|
+
.muka-tile__description {
|
|
4365
|
+
margin: 0;
|
|
4384
4366
|
color: var(--color-text-default-default);
|
|
4385
4367
|
}
|
|
4386
4368
|
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4369
|
+
.muka-tile--lg .muka-tile__description {
|
|
4370
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
4371
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
4372
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
4373
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
4392
4374
|
}
|
|
4393
4375
|
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4376
|
+
.muka-tile--md .muka-tile__description,
|
|
4377
|
+
.muka-tile--sm .muka-tile__description {
|
|
4378
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
4379
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4380
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
4381
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
4382
|
+
}
|
|
4383
|
+
|
|
4384
|
+
/* Description overflow for medium */
|
|
4385
|
+
.muka-tile--md .muka-tile__description {
|
|
4386
|
+
overflow: hidden;
|
|
4387
|
+
text-overflow: ellipsis;
|
|
4388
|
+
}
|
|
4389
|
+
|
|
4390
|
+
/* ─── Price slot ──────────────────────────────────────── */
|
|
4391
|
+
|
|
4392
|
+
.muka-tile__price {
|
|
4393
|
+
flex-shrink: 0;
|
|
4394
|
+
}
|
|
4395
|
+
|
|
4396
|
+
/* ─── Action slot ─────────────────────────────────────── */
|
|
4397
|
+
|
|
4398
|
+
.muka-tile__action {
|
|
4399
|
+
flex-shrink: 0;
|
|
4398
4400
|
}
|
|
4399
4401
|
|
|
4400
4402
|
|
|
@@ -4992,114 +4994,6 @@ body {
|
|
|
4992
4994
|
}
|
|
4993
4995
|
|
|
4994
4996
|
|
|
4995
|
-
/* SwipeActions */
|
|
4996
|
-
/* SwipeActions Component Styles */
|
|
4997
|
-
|
|
4998
|
-
.muka-swipe-actions {
|
|
4999
|
-
position: relative;
|
|
5000
|
-
overflow: hidden;
|
|
5001
|
-
touch-action: pan-y;
|
|
5002
|
-
-webkit-user-select: none;
|
|
5003
|
-
user-select: none;
|
|
5004
|
-
background-color: var(--color-surface-level3);
|
|
5005
|
-
}
|
|
5006
|
-
|
|
5007
|
-
.muka-swipe-actions--disabled {
|
|
5008
|
-
touch-action: auto;
|
|
5009
|
-
}
|
|
5010
|
-
|
|
5011
|
-
/* ─── Row that holds the actual content ────────────────── */
|
|
5012
|
-
|
|
5013
|
-
.muka-swipe-actions__row {
|
|
5014
|
-
position: relative;
|
|
5015
|
-
z-index: 1;
|
|
5016
|
-
background-color: inherit;
|
|
5017
|
-
will-change: transform;
|
|
5018
|
-
}
|
|
5019
|
-
|
|
5020
|
-
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
5021
|
-
|
|
5022
|
-
.muka-swipe-actions__panel {
|
|
5023
|
-
position: absolute;
|
|
5024
|
-
top: 0;
|
|
5025
|
-
bottom: 0;
|
|
5026
|
-
display: flex;
|
|
5027
|
-
align-items: stretch;
|
|
5028
|
-
z-index: 0;
|
|
5029
|
-
}
|
|
5030
|
-
|
|
5031
|
-
.muka-swipe-actions__panel--left {
|
|
5032
|
-
left: 0;
|
|
5033
|
-
}
|
|
5034
|
-
|
|
5035
|
-
.muka-swipe-actions__panel--right {
|
|
5036
|
-
right: 0;
|
|
5037
|
-
}
|
|
5038
|
-
|
|
5039
|
-
/* ─── Single action button ─────────────────────────────── */
|
|
5040
|
-
|
|
5041
|
-
.muka-swipe-actions__button {
|
|
5042
|
-
display: flex;
|
|
5043
|
-
flex-direction: column;
|
|
5044
|
-
align-items: center;
|
|
5045
|
-
justify-content: center;
|
|
5046
|
-
gap: var(--spacing-1);
|
|
5047
|
-
border: none;
|
|
5048
|
-
cursor: pointer;
|
|
5049
|
-
padding: var(--spacing-2);
|
|
5050
|
-
background-color: var(--color-surface-level2);
|
|
5051
|
-
color: var(--color-text-default-default);
|
|
5052
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
5053
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
5054
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5055
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5056
|
-
-webkit-tap-highlight-color: transparent;
|
|
5057
|
-
transition: filter 0.12s ease;
|
|
5058
|
-
}
|
|
5059
|
-
|
|
5060
|
-
.muka-swipe-actions__button:hover {
|
|
5061
|
-
filter: brightness(0.95);
|
|
5062
|
-
}
|
|
5063
|
-
|
|
5064
|
-
.muka-swipe-actions__button:focus-visible {
|
|
5065
|
-
outline: 2px solid var(--color-action-default);
|
|
5066
|
-
outline-offset: -2px;
|
|
5067
|
-
}
|
|
5068
|
-
|
|
5069
|
-
.muka-swipe-actions__button-icon {
|
|
5070
|
-
display: inline-flex;
|
|
5071
|
-
align-items: center;
|
|
5072
|
-
justify-content: center;
|
|
5073
|
-
}
|
|
5074
|
-
|
|
5075
|
-
/* ─── Color variants ───────────────────────────────────── */
|
|
5076
|
-
|
|
5077
|
-
.muka-swipe-actions__button--neutral {
|
|
5078
|
-
background-color: var(--color-surface-level2);
|
|
5079
|
-
color: var(--color-text-default-default);
|
|
5080
|
-
}
|
|
5081
|
-
|
|
5082
|
-
.muka-swipe-actions__button--primary {
|
|
5083
|
-
background-color: var(--color-action-default);
|
|
5084
|
-
color: var(--color-text-default-inverse);
|
|
5085
|
-
}
|
|
5086
|
-
|
|
5087
|
-
.muka-swipe-actions__button--success {
|
|
5088
|
-
background-color: var(--color-state-success-default);
|
|
5089
|
-
color: var(--color-text-default-inverse);
|
|
5090
|
-
}
|
|
5091
|
-
|
|
5092
|
-
.muka-swipe-actions__button--warning {
|
|
5093
|
-
background-color: var(--color-state-warning-default);
|
|
5094
|
-
color: var(--color-text-default-default);
|
|
5095
|
-
}
|
|
5096
|
-
|
|
5097
|
-
.muka-swipe-actions__button--destructive {
|
|
5098
|
-
background-color: var(--color-state-error-default);
|
|
5099
|
-
color: var(--color-text-default-inverse);
|
|
5100
|
-
}
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
4997
|
/* Spinner */
|
|
5104
4998
|
/* Spinner Component Styles */
|
|
5105
4999
|
|
|
@@ -6063,29 +5957,6 @@ body {
|
|
|
6063
5957
|
}
|
|
6064
5958
|
|
|
6065
5959
|
|
|
6066
|
-
/* Section */
|
|
6067
|
-
/* Section Component - Layout tokens (section.padding) */
|
|
6068
|
-
|
|
6069
|
-
.muka-section {
|
|
6070
|
-
box-sizing: border-box;
|
|
6071
|
-
}
|
|
6072
|
-
|
|
6073
|
-
.muka-section--padding-compact {
|
|
6074
|
-
padding-block: var(--section-padding-vertical-compact);
|
|
6075
|
-
padding-inline: var(--section-padding-horizontal-compact);
|
|
6076
|
-
}
|
|
6077
|
-
|
|
6078
|
-
.muka-section--padding-default {
|
|
6079
|
-
padding-block: var(--section-padding-vertical-default);
|
|
6080
|
-
padding-inline: var(--section-padding-horizontal-default);
|
|
6081
|
-
}
|
|
6082
|
-
|
|
6083
|
-
.muka-section--padding-spacious {
|
|
6084
|
-
padding-block: var(--section-padding-vertical-spacious);
|
|
6085
|
-
padding-inline: var(--section-padding-horizontal-spacious);
|
|
6086
|
-
}
|
|
6087
|
-
|
|
6088
|
-
|
|
6089
5960
|
/* SegmentGroup */
|
|
6090
5961
|
/* SegmentGroup Component Styles - Using Muka Design Tokens */
|
|
6091
5962
|
|
|
@@ -6274,6 +6145,29 @@ body {
|
|
|
6274
6145
|
}
|
|
6275
6146
|
|
|
6276
6147
|
|
|
6148
|
+
/* Section */
|
|
6149
|
+
/* Section Component - Layout tokens (section.padding) */
|
|
6150
|
+
|
|
6151
|
+
.muka-section {
|
|
6152
|
+
box-sizing: border-box;
|
|
6153
|
+
}
|
|
6154
|
+
|
|
6155
|
+
.muka-section--padding-compact {
|
|
6156
|
+
padding-block: var(--section-padding-vertical-compact);
|
|
6157
|
+
padding-inline: var(--section-padding-horizontal-compact);
|
|
6158
|
+
}
|
|
6159
|
+
|
|
6160
|
+
.muka-section--padding-default {
|
|
6161
|
+
padding-block: var(--section-padding-vertical-default);
|
|
6162
|
+
padding-inline: var(--section-padding-horizontal-default);
|
|
6163
|
+
}
|
|
6164
|
+
|
|
6165
|
+
.muka-section--padding-spacious {
|
|
6166
|
+
padding-block: var(--section-padding-vertical-spacious);
|
|
6167
|
+
padding-inline: var(--section-padding-horizontal-spacious);
|
|
6168
|
+
}
|
|
6169
|
+
|
|
6170
|
+
|
|
6277
6171
|
/* SearchInput */
|
|
6278
6172
|
/* SearchInput Component Styles */
|
|
6279
6173
|
|
|
@@ -6836,147 +6730,111 @@ body {
|
|
|
6836
6730
|
}
|
|
6837
6731
|
|
|
6838
6732
|
|
|
6839
|
-
/*
|
|
6840
|
-
/*
|
|
6733
|
+
/* SwipeActions */
|
|
6734
|
+
/* SwipeActions Component Styles */
|
|
6841
6735
|
|
|
6842
|
-
|
|
6843
|
-
|
|
6844
|
-
|
|
6845
|
-
|
|
6846
|
-
|
|
6847
|
-
cursor: pointer;
|
|
6736
|
+
.muka-swipe-actions {
|
|
6737
|
+
position: relative;
|
|
6738
|
+
overflow: hidden;
|
|
6739
|
+
touch-action: pan-y;
|
|
6740
|
+
-webkit-user-select: none;
|
|
6848
6741
|
user-select: none;
|
|
6742
|
+
background-color: var(--color-surface-level3);
|
|
6849
6743
|
}
|
|
6850
6744
|
|
|
6851
|
-
.muka-
|
|
6852
|
-
|
|
6853
|
-
opacity: 0.6;
|
|
6745
|
+
.muka-swipe-actions--disabled {
|
|
6746
|
+
touch-action: auto;
|
|
6854
6747
|
}
|
|
6855
6748
|
|
|
6856
|
-
/*
|
|
6857
|
-
|
|
6749
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
6750
|
+
|
|
6751
|
+
.muka-swipe-actions__row {
|
|
6858
6752
|
position: relative;
|
|
6859
|
-
|
|
6860
|
-
|
|
6861
|
-
|
|
6862
|
-
flex-shrink: 0;
|
|
6753
|
+
z-index: 1;
|
|
6754
|
+
background-color: inherit;
|
|
6755
|
+
will-change: transform;
|
|
6863
6756
|
}
|
|
6864
6757
|
|
|
6865
|
-
/*
|
|
6866
|
-
.muka-radio__input {
|
|
6867
|
-
position: absolute;
|
|
6868
|
-
width: 1px;
|
|
6869
|
-
height: 1px;
|
|
6870
|
-
padding: 0;
|
|
6871
|
-
margin: -1px;
|
|
6872
|
-
overflow: hidden;
|
|
6873
|
-
clip: rect(0, 0, 0, 0);
|
|
6874
|
-
white-space: nowrap;
|
|
6875
|
-
border: 0;
|
|
6876
|
-
}
|
|
6758
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
6877
6759
|
|
|
6878
|
-
|
|
6879
|
-
|
|
6760
|
+
.muka-swipe-actions__panel {
|
|
6761
|
+
position: absolute;
|
|
6762
|
+
top: 0;
|
|
6763
|
+
bottom: 0;
|
|
6880
6764
|
display: flex;
|
|
6881
|
-
align-items:
|
|
6882
|
-
|
|
6883
|
-
width: var(--radio-size-default);
|
|
6884
|
-
height: var(--radio-size-default);
|
|
6885
|
-
border-radius: var(--border-radius-full);
|
|
6886
|
-
background-color: var(--radio-color-default-background);
|
|
6887
|
-
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
6888
|
-
transition: all 0.15s ease;
|
|
6889
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
6890
|
-
}
|
|
6891
|
-
|
|
6892
|
-
/* Size variants */
|
|
6893
|
-
.muka-radio--sm .muka-radio__indicator {
|
|
6894
|
-
width: var(--radio-size-sm);
|
|
6895
|
-
height: var(--radio-size-sm);
|
|
6765
|
+
align-items: stretch;
|
|
6766
|
+
z-index: 0;
|
|
6896
6767
|
}
|
|
6897
6768
|
|
|
6898
|
-
.muka-
|
|
6899
|
-
|
|
6900
|
-
height: var(--radio-size-lg);
|
|
6769
|
+
.muka-swipe-actions__panel--left {
|
|
6770
|
+
left: 0;
|
|
6901
6771
|
}
|
|
6902
6772
|
|
|
6903
|
-
|
|
6904
|
-
|
|
6905
|
-
width: var(--radio-dot-size-default);
|
|
6906
|
-
height: var(--radio-dot-size-default);
|
|
6907
|
-
border-radius: var(--border-radius-full);
|
|
6908
|
-
background-color: var(--radio-color-default-dot);
|
|
6909
|
-
transform: scale(0);
|
|
6910
|
-
transition: transform 0.15s ease;
|
|
6773
|
+
.muka-swipe-actions__panel--right {
|
|
6774
|
+
right: 0;
|
|
6911
6775
|
}
|
|
6912
6776
|
|
|
6913
|
-
|
|
6914
|
-
width: var(--radio-dot-size-sm);
|
|
6915
|
-
height: var(--radio-dot-size-sm);
|
|
6916
|
-
}
|
|
6777
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
6917
6778
|
|
|
6918
|
-
.muka-
|
|
6919
|
-
|
|
6920
|
-
|
|
6779
|
+
.muka-swipe-actions__button {
|
|
6780
|
+
display: flex;
|
|
6781
|
+
flex-direction: column;
|
|
6782
|
+
align-items: center;
|
|
6783
|
+
justify-content: center;
|
|
6784
|
+
gap: var(--spacing-1);
|
|
6785
|
+
border: none;
|
|
6786
|
+
cursor: pointer;
|
|
6787
|
+
padding: var(--spacing-2);
|
|
6788
|
+
background-color: var(--color-surface-level2);
|
|
6789
|
+
color: var(--color-text-default-default);
|
|
6790
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
6791
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
6792
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
6793
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
6794
|
+
-webkit-tap-highlight-color: transparent;
|
|
6795
|
+
transition: filter 0.12s ease;
|
|
6921
6796
|
}
|
|
6922
6797
|
|
|
6923
|
-
|
|
6924
|
-
|
|
6925
|
-
/* Focus state */
|
|
6926
|
-
.muka-radio__input:focus-visible + .muka-radio__indicator {
|
|
6927
|
-
outline: 2px solid var(--color-border-focus);
|
|
6928
|
-
outline-offset: 2px;
|
|
6798
|
+
.muka-swipe-actions__button:hover {
|
|
6799
|
+
filter: brightness(0.95);
|
|
6929
6800
|
}
|
|
6930
6801
|
|
|
6931
|
-
|
|
6932
|
-
|
|
6933
|
-
|
|
6934
|
-
border-width: var(--border-width-bold);
|
|
6935
|
-
border-color: var(--radio-color-checked-border);
|
|
6936
|
-
box-shadow: none;
|
|
6802
|
+
.muka-swipe-actions__button:focus-visible {
|
|
6803
|
+
outline: 2px solid var(--color-action-default);
|
|
6804
|
+
outline-offset: -2px;
|
|
6937
6805
|
}
|
|
6938
6806
|
|
|
6939
|
-
.muka-
|
|
6940
|
-
|
|
6941
|
-
|
|
6807
|
+
.muka-swipe-actions__button-icon {
|
|
6808
|
+
display: inline-flex;
|
|
6809
|
+
align-items: center;
|
|
6810
|
+
justify-content: center;
|
|
6942
6811
|
}
|
|
6943
6812
|
|
|
6944
|
-
/*
|
|
6945
|
-
.muka-radio--disabled .muka-radio__indicator {
|
|
6946
|
-
background-color: var(--radio-color-disabled-background);
|
|
6947
|
-
border-color: var(--radio-color-disabled-border);
|
|
6948
|
-
box-shadow: none;
|
|
6949
|
-
}
|
|
6813
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
6950
6814
|
|
|
6951
|
-
.muka-
|
|
6952
|
-
background-color: var(--
|
|
6815
|
+
.muka-swipe-actions__button--neutral {
|
|
6816
|
+
background-color: var(--color-surface-level2);
|
|
6817
|
+
color: var(--color-text-default-default);
|
|
6953
6818
|
}
|
|
6954
6819
|
|
|
6955
|
-
|
|
6956
|
-
|
|
6957
|
-
|
|
6958
|
-
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
6959
|
-
font-size: var(--text-label-lg-regular-fontSize);
|
|
6960
|
-
line-height: var(--text-label-lg-regular-lineHeight);
|
|
6961
|
-
color: var(--color-text-default-default);
|
|
6820
|
+
.muka-swipe-actions__button--primary {
|
|
6821
|
+
background-color: var(--color-action-default);
|
|
6822
|
+
color: var(--color-text-default-inverse);
|
|
6962
6823
|
}
|
|
6963
6824
|
|
|
6964
|
-
.muka-
|
|
6965
|
-
|
|
6966
|
-
|
|
6967
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
6968
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
6825
|
+
.muka-swipe-actions__button--success {
|
|
6826
|
+
background-color: var(--color-state-success-default);
|
|
6827
|
+
color: var(--color-text-default-inverse);
|
|
6969
6828
|
}
|
|
6970
6829
|
|
|
6971
|
-
.muka-
|
|
6972
|
-
|
|
6973
|
-
|
|
6974
|
-
font-size: var(--text-label-xl-regular-fontSize);
|
|
6975
|
-
line-height: var(--text-label-xl-regular-lineHeight);
|
|
6830
|
+
.muka-swipe-actions__button--warning {
|
|
6831
|
+
background-color: var(--color-state-warning-default);
|
|
6832
|
+
color: var(--color-text-default-default);
|
|
6976
6833
|
}
|
|
6977
6834
|
|
|
6978
|
-
.muka-
|
|
6979
|
-
color: var(--color-
|
|
6835
|
+
.muka-swipe-actions__button--destructive {
|
|
6836
|
+
background-color: var(--color-state-error-default);
|
|
6837
|
+
color: var(--color-text-default-inverse);
|
|
6980
6838
|
}
|
|
6981
6839
|
|
|
6982
6840
|
|
|
@@ -7123,308 +6981,194 @@ body {
|
|
|
7123
6981
|
}
|
|
7124
6982
|
|
|
7125
6983
|
|
|
7126
|
-
/*
|
|
7127
|
-
/*
|
|
6984
|
+
/* Radio */
|
|
6985
|
+
/* Radio Component Styles - Using Muka Design Tokens */
|
|
7128
6986
|
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
display: flex;
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
6987
|
+
/* Wrapper - clickable label container */
|
|
6988
|
+
.muka-radio {
|
|
6989
|
+
display: inline-flex;
|
|
6990
|
+
align-items: center;
|
|
6991
|
+
gap: var(--spacing-4);
|
|
6992
|
+
cursor: pointer;
|
|
6993
|
+
user-select: none;
|
|
7136
6994
|
}
|
|
7137
6995
|
|
|
7138
|
-
.muka-
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
left: 0;
|
|
7142
|
-
right: 0;
|
|
7143
|
-
display: flex;
|
|
7144
|
-
align-items: flex-end;
|
|
7145
|
-
justify-content: center;
|
|
7146
|
-
padding-bottom: var(--spacing-2);
|
|
7147
|
-
color: var(--color-text-subtle-default);
|
|
7148
|
-
overflow: hidden;
|
|
7149
|
-
pointer-events: none;
|
|
7150
|
-
z-index: 1;
|
|
6996
|
+
.muka-radio--disabled {
|
|
6997
|
+
cursor: not-allowed;
|
|
6998
|
+
opacity: 0.6;
|
|
7151
6999
|
}
|
|
7152
7000
|
|
|
7153
|
-
|
|
7001
|
+
/* Control container */
|
|
7002
|
+
.muka-radio__control {
|
|
7003
|
+
position: relative;
|
|
7154
7004
|
display: inline-flex;
|
|
7155
7005
|
align-items: center;
|
|
7156
7006
|
justify-content: center;
|
|
7157
|
-
|
|
7007
|
+
flex-shrink: 0;
|
|
7158
7008
|
}
|
|
7159
7009
|
|
|
7160
|
-
|
|
7161
|
-
|
|
7162
|
-
|
|
7163
|
-
width:
|
|
7164
|
-
|
|
7165
|
-
|
|
7166
|
-
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7010
|
+
/* Hidden native input */
|
|
7011
|
+
.muka-radio__input {
|
|
7012
|
+
position: absolute;
|
|
7013
|
+
width: 1px;
|
|
7014
|
+
height: 1px;
|
|
7015
|
+
padding: 0;
|
|
7016
|
+
margin: -1px;
|
|
7017
|
+
overflow: hidden;
|
|
7018
|
+
clip: rect(0, 0, 0, 0);
|
|
7019
|
+
white-space: nowrap;
|
|
7020
|
+
border: 0;
|
|
7170
7021
|
}
|
|
7171
7022
|
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
/* ProgressAccordeon Component Styles — Using Muka Design Tokens */
|
|
7175
|
-
|
|
7176
|
-
/* ─── Root ──────────────────────────────────────────────── */
|
|
7177
|
-
.muka-progress-accordeon {
|
|
7178
|
-
container-type: inline-size;
|
|
7023
|
+
/* Visual indicator (circle) */
|
|
7024
|
+
.muka-radio__indicator {
|
|
7179
7025
|
display: flex;
|
|
7180
|
-
|
|
7181
|
-
|
|
7182
|
-
width:
|
|
7183
|
-
|
|
7184
|
-
|
|
7026
|
+
align-items: center;
|
|
7027
|
+
justify-content: center;
|
|
7028
|
+
width: var(--radio-size-default);
|
|
7029
|
+
height: var(--radio-size-default);
|
|
7030
|
+
border-radius: var(--border-radius-full);
|
|
7031
|
+
background-color: var(--radio-color-default-background);
|
|
7032
|
+
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7033
|
+
transition: all 0.15s ease;
|
|
7034
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7185
7035
|
}
|
|
7186
7036
|
|
|
7187
|
-
/*
|
|
7188
|
-
.muka-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
.muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
|
|
7192
|
-
gap: var(--spacing-6);
|
|
7037
|
+
/* Size variants */
|
|
7038
|
+
.muka-radio--sm .muka-radio__indicator {
|
|
7039
|
+
width: var(--radio-size-sm);
|
|
7040
|
+
height: var(--radio-size-sm);
|
|
7193
7041
|
}
|
|
7194
7042
|
|
|
7195
|
-
.muka-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
.muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
|
|
7199
|
-
gap: var(--spacing-8);
|
|
7043
|
+
.muka-radio--lg .muka-radio__indicator {
|
|
7044
|
+
width: var(--radio-size-lg);
|
|
7045
|
+
height: var(--radio-size-lg);
|
|
7200
7046
|
}
|
|
7201
7047
|
|
|
7202
|
-
/*
|
|
7203
|
-
|
|
7204
|
-
|
|
7205
|
-
|
|
7206
|
-
|
|
7207
|
-
|
|
7208
|
-
|
|
7209
|
-
|
|
7048
|
+
/* Inner dot (shown when checked) */
|
|
7049
|
+
.muka-radio__dot {
|
|
7050
|
+
width: var(--radio-dot-size-default);
|
|
7051
|
+
height: var(--radio-dot-size-default);
|
|
7052
|
+
border-radius: var(--border-radius-full);
|
|
7053
|
+
background-color: var(--radio-color-default-dot);
|
|
7054
|
+
transform: scale(0);
|
|
7055
|
+
transition: transform 0.15s ease;
|
|
7210
7056
|
}
|
|
7211
7057
|
|
|
7212
|
-
|
|
7213
|
-
|
|
7214
|
-
|
|
7215
|
-
flex-direction: column;
|
|
7216
|
-
gap: var(--spacing-3);
|
|
7217
|
-
width: 100%;
|
|
7058
|
+
.muka-radio--sm .muka-radio__dot {
|
|
7059
|
+
width: var(--radio-dot-size-sm);
|
|
7060
|
+
height: var(--radio-dot-size-sm);
|
|
7218
7061
|
}
|
|
7219
7062
|
|
|
7220
|
-
.muka-
|
|
7221
|
-
|
|
7222
|
-
|
|
7223
|
-
gap: var(--spacing-3);
|
|
7224
|
-
width: 100%;
|
|
7225
|
-
min-height: 40px;
|
|
7063
|
+
.muka-radio--lg .muka-radio__dot {
|
|
7064
|
+
width: var(--radio-dot-size-lg);
|
|
7065
|
+
height: var(--radio-dot-size-lg);
|
|
7226
7066
|
}
|
|
7227
7067
|
|
|
7228
|
-
|
|
7229
|
-
display: flex;
|
|
7230
|
-
flex: 1 0 0;
|
|
7231
|
-
min-width: 0;
|
|
7232
|
-
align-items: flex-start;
|
|
7233
|
-
gap: var(--spacing-4);
|
|
7234
|
-
}
|
|
7068
|
+
/* Hover state - removed per design */
|
|
7235
7069
|
|
|
7236
|
-
/*
|
|
7237
|
-
|
|
7238
|
-
|
|
7239
|
-
|
|
7240
|
-
padding-top: var(--spacing-1);
|
|
7070
|
+
/* Focus state */
|
|
7071
|
+
.muka-radio__input:focus-visible + .muka-radio__indicator {
|
|
7072
|
+
outline: 2px solid var(--color-border-focus);
|
|
7073
|
+
outline-offset: 2px;
|
|
7241
7074
|
}
|
|
7242
7075
|
|
|
7243
|
-
|
|
7244
|
-
|
|
7245
|
-
|
|
7246
|
-
|
|
7247
|
-
|
|
7076
|
+
/* Checked state */
|
|
7077
|
+
.muka-radio__input:checked + .muka-radio__indicator {
|
|
7078
|
+
background-color: var(--radio-color-checked-background);
|
|
7079
|
+
border-width: var(--border-width-bold);
|
|
7080
|
+
border-color: var(--radio-color-checked-border);
|
|
7081
|
+
box-shadow: none;
|
|
7248
7082
|
}
|
|
7249
7083
|
|
|
7250
|
-
|
|
7251
|
-
|
|
7252
|
-
|
|
7253
|
-
height: 32px;
|
|
7254
|
-
flex-shrink: 0;
|
|
7255
|
-
border-radius: var(--border-radius-full);
|
|
7256
|
-
display: flex;
|
|
7257
|
-
align-items: center;
|
|
7258
|
-
justify-content: center;
|
|
7084
|
+
.muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7085
|
+
background-color: var(--radio-color-checked-dot);
|
|
7086
|
+
transform: scale(1);
|
|
7259
7087
|
}
|
|
7260
7088
|
|
|
7261
|
-
/*
|
|
7262
|
-
.muka-
|
|
7263
|
-
background-color: var(--
|
|
7264
|
-
color: var(--color-
|
|
7089
|
+
/* Disabled state */
|
|
7090
|
+
.muka-radio--disabled .muka-radio__indicator {
|
|
7091
|
+
background-color: var(--radio-color-disabled-background);
|
|
7092
|
+
border-color: var(--radio-color-disabled-border);
|
|
7093
|
+
box-shadow: none;
|
|
7265
7094
|
}
|
|
7266
7095
|
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
background-color: var(--alias-color-accent-default);
|
|
7270
|
-
color: var(--color-text-default-inverse);
|
|
7096
|
+
.muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7097
|
+
background-color: var(--radio-color-disabled-dot);
|
|
7271
7098
|
}
|
|
7272
7099
|
|
|
7273
|
-
/*
|
|
7274
|
-
.muka-
|
|
7275
|
-
|
|
7100
|
+
/* Label text */
|
|
7101
|
+
.muka-radio__label {
|
|
7102
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
7103
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
7104
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
7105
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
7276
7106
|
color: var(--color-text-default-default);
|
|
7277
7107
|
}
|
|
7278
7108
|
|
|
7279
|
-
.muka-
|
|
7280
|
-
|
|
7281
|
-
|
|
7282
|
-
|
|
7283
|
-
|
|
7284
|
-
|
|
7285
|
-
.muka-progress-accordeon__number {
|
|
7286
|
-
font-family: var(--text-label-md-bold-fontFamily);
|
|
7287
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
7288
|
-
font-size: var(--text-label-md-bold-fontSize);
|
|
7289
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
7290
|
-
text-align: center;
|
|
7291
|
-
user-select: none;
|
|
7292
|
-
}
|
|
7293
|
-
|
|
7294
|
-
/* Upcoming number is semibold (not bold) per Figma */
|
|
7295
|
-
.muka-progress-accordeon__indicator--upcoming .muka-progress-accordeon__number {
|
|
7296
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7297
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7109
|
+
.muka-radio--sm .muka-radio__label {
|
|
7110
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
7111
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
7112
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
7113
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
7298
7114
|
}
|
|
7299
7115
|
|
|
7300
|
-
|
|
7301
|
-
|
|
7302
|
-
|
|
7303
|
-
|
|
7304
|
-
|
|
7305
|
-
font-family: var(--text-heading-md-fontFamily);
|
|
7306
|
-
font-weight: var(--text-heading-md-fontWeight);
|
|
7307
|
-
font-size: var(--text-heading-md-fontSize);
|
|
7308
|
-
line-height: var(--text-heading-md-lineHeight);
|
|
7309
|
-
letter-spacing: var(--text-heading-md-letterSpacing);
|
|
7310
|
-
color: var(--color-text-default-default);
|
|
7116
|
+
.muka-radio--lg .muka-radio__label {
|
|
7117
|
+
font-family: var(--text-label-xl-regular-fontFamily);
|
|
7118
|
+
font-weight: var(--text-label-xl-regular-fontWeight);
|
|
7119
|
+
font-size: var(--text-label-xl-regular-fontSize);
|
|
7120
|
+
line-height: var(--text-label-xl-regular-lineHeight);
|
|
7311
7121
|
}
|
|
7312
7122
|
|
|
7313
|
-
|
|
7314
|
-
|
|
7315
|
-
.muka-progress-accordeon__description {
|
|
7316
|
-
width: 100%;
|
|
7317
|
-
padding-left: 48px;
|
|
7318
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
7319
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7320
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
7321
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
7322
|
-
color: var(--color-text-default-default);
|
|
7123
|
+
.muka-radio--disabled .muka-radio__label {
|
|
7124
|
+
color: var(--color-text-subtle-default);
|
|
7323
7125
|
}
|
|
7324
7126
|
|
|
7325
|
-
/* ─── Edit button ────────────────────────────────────────── */
|
|
7326
|
-
.muka-progress-accordeon__edit {
|
|
7327
|
-
flex-shrink: 0;
|
|
7328
|
-
}
|
|
7329
7127
|
|
|
7330
|
-
/*
|
|
7331
|
-
|
|
7332
|
-
display: none;
|
|
7333
|
-
}
|
|
7128
|
+
/* PullToRefresh */
|
|
7129
|
+
/* PullToRefresh Component Styles */
|
|
7334
7130
|
|
|
7335
|
-
|
|
7336
|
-
|
|
7131
|
+
.muka-pull-to-refresh {
|
|
7132
|
+
position: relative;
|
|
7337
7133
|
display: flex;
|
|
7338
7134
|
flex-direction: column;
|
|
7339
|
-
align-items: stretch;
|
|
7340
7135
|
width: 100%;
|
|
7341
|
-
|
|
7342
|
-
|
|
7343
|
-
/* ─── Collapse/expand animation (any expandable step) ──────
|
|
7344
|
-
Animates grid-template-rows 1fr ↔ 0fr so the panel (slot + actions) grows and
|
|
7345
|
-
shrinks to its intrinsic height. Opacity fades with the same duration.
|
|
7346
|
-
Under prefers-reduced-motion, --motion-duration-view is 0ms. */
|
|
7347
|
-
.muka-progress-accordeon__panel-wrapper {
|
|
7348
|
-
display: grid;
|
|
7349
|
-
grid-template-rows: 1fr;
|
|
7350
|
-
opacity: 1;
|
|
7351
|
-
transition:
|
|
7352
|
-
grid-template-rows var(--motion-duration-view) var(--motion-easing-enter),
|
|
7353
|
-
opacity var(--motion-duration-view) var(--motion-easing-enter);
|
|
7354
|
-
}
|
|
7355
|
-
|
|
7356
|
-
.muka-progress-accordeon__panel-wrapper--collapsed {
|
|
7357
|
-
grid-template-rows: 0fr;
|
|
7358
|
-
opacity: 0;
|
|
7359
|
-
transition:
|
|
7360
|
-
grid-template-rows var(--motion-duration-view) var(--motion-easing-exit),
|
|
7361
|
-
opacity calc(var(--motion-duration-view) * 0.6) var(--motion-easing-exit);
|
|
7362
|
-
}
|
|
7363
|
-
|
|
7364
|
-
/* The direct grid child clips and must have NO padding/border of its own —
|
|
7365
|
-
min-height:0 lets it shrink, and with no padding the 0fr track reaches a true
|
|
7366
|
-
0 height (padding on the item would leave a residual gap when collapsed). */
|
|
7367
|
-
.muka-progress-accordeon__panel-clip {
|
|
7136
|
+
height: 100%;
|
|
7368
7137
|
overflow: hidden;
|
|
7369
|
-
min-height: 0;
|
|
7370
|
-
}
|
|
7371
|
-
|
|
7372
|
-
/* Header↔content spacing + slot/actions gap live inside the clip so they
|
|
7373
|
-
collapse together with the panel. */
|
|
7374
|
-
.muka-progress-accordeon__panel {
|
|
7375
|
-
display: flex;
|
|
7376
|
-
flex-direction: column;
|
|
7377
|
-
align-items: stretch;
|
|
7378
|
-
gap: var(--spacing-6);
|
|
7379
|
-
padding-top: var(--spacing-4);
|
|
7380
|
-
width: 100%;
|
|
7381
|
-
}
|
|
7382
|
-
|
|
7383
|
-
/* ─── Action buttons (current state) ─────────────────────── */
|
|
7384
|
-
.muka-progress-accordeon__actions {
|
|
7385
|
-
display: flex;
|
|
7386
|
-
justify-content: flex-end;
|
|
7387
|
-
gap: var(--spacing-4);
|
|
7388
|
-
width: 100%;
|
|
7389
|
-
}
|
|
7390
|
-
|
|
7391
|
-
.muka-progress-accordeon__action {
|
|
7392
|
-
min-width: 160px;
|
|
7393
|
-
}
|
|
7394
|
-
|
|
7395
|
-
/* ─── Divider ────────────────────────────────────────────── */
|
|
7396
|
-
.muka-progress-accordeon__divider {
|
|
7397
|
-
width: 100%;
|
|
7398
7138
|
}
|
|
7399
7139
|
|
|
7400
|
-
|
|
7401
|
-
|
|
7402
|
-
|
|
7403
|
-
|
|
7404
|
-
|
|
7405
|
-
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
|
|
7409
|
-
|
|
7410
|
-
|
|
7411
|
-
|
|
7412
|
-
|
|
7413
|
-
|
|
7414
|
-
|
|
7415
|
-
.muka-progress-accordeon__edit--narrow {
|
|
7416
|
-
display: inline-flex;
|
|
7417
|
-
}
|
|
7140
|
+
.muka-pull-to-refresh__indicator {
|
|
7141
|
+
position: absolute;
|
|
7142
|
+
top: 0;
|
|
7143
|
+
left: 0;
|
|
7144
|
+
right: 0;
|
|
7145
|
+
display: flex;
|
|
7146
|
+
align-items: flex-end;
|
|
7147
|
+
justify-content: center;
|
|
7148
|
+
padding-bottom: var(--spacing-2);
|
|
7149
|
+
color: var(--color-text-subtle-default);
|
|
7150
|
+
overflow: hidden;
|
|
7151
|
+
pointer-events: none;
|
|
7152
|
+
z-index: 1;
|
|
7153
|
+
}
|
|
7418
7154
|
|
|
7419
|
-
|
|
7420
|
-
|
|
7421
|
-
|
|
7422
|
-
|
|
7155
|
+
.muka-pull-to-refresh__chevron {
|
|
7156
|
+
display: inline-flex;
|
|
7157
|
+
align-items: center;
|
|
7158
|
+
justify-content: center;
|
|
7159
|
+
transition: transform 0.16s ease;
|
|
7160
|
+
}
|
|
7423
7161
|
|
|
7424
|
-
|
|
7425
|
-
|
|
7426
|
-
|
|
7427
|
-
|
|
7162
|
+
.muka-pull-to-refresh__scroller {
|
|
7163
|
+
flex: 1 1 auto;
|
|
7164
|
+
min-height: 0;
|
|
7165
|
+
width: 100%;
|
|
7166
|
+
overflow-x: clip;
|
|
7167
|
+
overflow-y: auto;
|
|
7168
|
+
-webkit-overflow-scrolling: touch;
|
|
7169
|
+
overscroll-behavior-y: contain;
|
|
7170
|
+
touch-action: pan-y;
|
|
7171
|
+
will-change: transform;
|
|
7428
7172
|
}
|
|
7429
7173
|
|
|
7430
7174
|
|
|
@@ -7923,72 +7667,330 @@ body {
|
|
|
7923
7667
|
drop-shadow(0 8px 8px var(--color-black-alpha-5));
|
|
7924
7668
|
}
|
|
7925
7669
|
|
|
7926
|
-
/* Concave corners: the tab's bottom flares out into the surface. */
|
|
7927
|
-
.muka-progress-tracker__tab::before,
|
|
7928
|
-
.muka-progress-tracker__tab::after {
|
|
7929
|
-
content: '';
|
|
7930
|
-
position: absolute;
|
|
7931
|
-
bottom: 0;
|
|
7932
|
-
width: var(--border-radius-xl);
|
|
7933
|
-
height: var(--border-radius-xl);
|
|
7934
|
-
pointer-events: none;
|
|
7670
|
+
/* Concave corners: the tab's bottom flares out into the surface. */
|
|
7671
|
+
.muka-progress-tracker__tab::before,
|
|
7672
|
+
.muka-progress-tracker__tab::after {
|
|
7673
|
+
content: '';
|
|
7674
|
+
position: absolute;
|
|
7675
|
+
bottom: 0;
|
|
7676
|
+
width: var(--border-radius-xl);
|
|
7677
|
+
height: var(--border-radius-xl);
|
|
7678
|
+
pointer-events: none;
|
|
7679
|
+
}
|
|
7680
|
+
|
|
7681
|
+
.muka-progress-tracker__tab::before {
|
|
7682
|
+
right: 100%;
|
|
7683
|
+
background: radial-gradient(
|
|
7684
|
+
circle at 0 0,
|
|
7685
|
+
transparent calc(var(--border-radius-xl) - 0.5px),
|
|
7686
|
+
var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
|
|
7687
|
+
);
|
|
7688
|
+
}
|
|
7689
|
+
|
|
7690
|
+
.muka-progress-tracker__tab::after {
|
|
7691
|
+
left: 100%;
|
|
7692
|
+
background: radial-gradient(
|
|
7693
|
+
circle at 100% 0,
|
|
7694
|
+
transparent calc(var(--border-radius-xl) - 0.5px),
|
|
7695
|
+
var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
|
|
7696
|
+
);
|
|
7697
|
+
}
|
|
7698
|
+
|
|
7699
|
+
.muka-progress-tracker__tab--selected {
|
|
7700
|
+
--muka-progress-tracker-tab-surface: var(
|
|
7701
|
+
--muka-progress-tracker-tab-selected,
|
|
7702
|
+
var(--color-surface-level3)
|
|
7703
|
+
);
|
|
7704
|
+
}
|
|
7705
|
+
|
|
7706
|
+
button.muka-progress-tracker__tab {
|
|
7707
|
+
cursor: pointer;
|
|
7708
|
+
}
|
|
7709
|
+
|
|
7710
|
+
button.muka-progress-tracker__tab:not(.muka-progress-tracker__tab--selected):hover {
|
|
7711
|
+
background-image: linear-gradient(var(--color-surface-hover), var(--color-surface-hover));
|
|
7712
|
+
}
|
|
7713
|
+
|
|
7714
|
+
button.muka-progress-tracker__tab:focus-visible {
|
|
7715
|
+
outline: 2px solid var(--color-border-focus);
|
|
7716
|
+
outline-offset: -2px;
|
|
7717
|
+
}
|
|
7718
|
+
|
|
7719
|
+
.muka-progress-tracker--tabs .muka-progress-tracker__label {
|
|
7720
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7721
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7722
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
7723
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
7724
|
+
}
|
|
7725
|
+
|
|
7726
|
+
.muka-progress-tracker__tab--selected .muka-progress-tracker__label {
|
|
7727
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
7728
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
7729
|
+
}
|
|
7730
|
+
|
|
7731
|
+
.muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
7732
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7733
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7734
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
7735
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
7736
|
+
}
|
|
7737
|
+
|
|
7738
|
+
|
|
7739
|
+
/* ProgressAccordeon */
|
|
7740
|
+
/* ProgressAccordeon Component Styles — Using Muka Design Tokens */
|
|
7741
|
+
|
|
7742
|
+
/* ─── Root ──────────────────────────────────────────────── */
|
|
7743
|
+
.muka-progress-accordeon {
|
|
7744
|
+
container-type: inline-size;
|
|
7745
|
+
display: flex;
|
|
7746
|
+
flex-direction: column;
|
|
7747
|
+
align-items: stretch;
|
|
7748
|
+
width: 100%;
|
|
7749
|
+
/* Top padding provides the vertical rhythm between stacked steps */
|
|
7750
|
+
padding-top: var(--spacing-8);
|
|
7751
|
+
}
|
|
7752
|
+
|
|
7753
|
+
/* Per-state gap: content-bearing steps are tighter, header-only steps looser */
|
|
7754
|
+
.muka-progress-accordeon--current,
|
|
7755
|
+
.muka-progress-accordeon--current.muka-progress-accordeon--expanded,
|
|
7756
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--expanded,
|
|
7757
|
+
.muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
|
|
7758
|
+
gap: var(--spacing-6);
|
|
7759
|
+
}
|
|
7760
|
+
|
|
7761
|
+
.muka-progress-accordeon--upcoming,
|
|
7762
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
|
|
7763
|
+
.muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
|
|
7764
|
+
.muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
|
|
7765
|
+
gap: var(--spacing-8);
|
|
7766
|
+
}
|
|
7767
|
+
|
|
7768
|
+
/* Collapsible steps group header + slot. The header↔content gap lives inside the
|
|
7769
|
+
collapsing slot (as padding-top) so it collapses with the content, so the
|
|
7770
|
+
body gap itself is 0. */
|
|
7771
|
+
.muka-progress-accordeon__body {
|
|
7772
|
+
display: flex;
|
|
7773
|
+
flex-direction: column;
|
|
7774
|
+
gap: 0;
|
|
7775
|
+
width: 100%;
|
|
7776
|
+
}
|
|
7777
|
+
|
|
7778
|
+
/* ─── Header ─────────────────────────────────────────────── */
|
|
7779
|
+
.muka-progress-accordeon__header {
|
|
7780
|
+
display: flex;
|
|
7781
|
+
flex-direction: column;
|
|
7782
|
+
gap: var(--spacing-3);
|
|
7783
|
+
width: 100%;
|
|
7784
|
+
}
|
|
7785
|
+
|
|
7786
|
+
.muka-progress-accordeon__header-row {
|
|
7787
|
+
display: flex;
|
|
7788
|
+
align-items: flex-start;
|
|
7789
|
+
gap: var(--spacing-3);
|
|
7790
|
+
width: 100%;
|
|
7791
|
+
min-height: 40px;
|
|
7792
|
+
}
|
|
7793
|
+
|
|
7794
|
+
.muka-progress-accordeon__heading-group {
|
|
7795
|
+
display: flex;
|
|
7796
|
+
flex: 1 0 0;
|
|
7797
|
+
min-width: 0;
|
|
7798
|
+
align-items: flex-start;
|
|
7799
|
+
gap: var(--spacing-4);
|
|
7800
|
+
}
|
|
7801
|
+
|
|
7802
|
+
/* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
|
|
7803
|
+
so a single line centres against the indicator + controls row. */
|
|
7804
|
+
.muka-progress-accordeon:has(.muka-progress-accordeon__controls)
|
|
7805
|
+
.muka-progress-accordeon__heading-group {
|
|
7806
|
+
padding-top: var(--spacing-1);
|
|
7807
|
+
}
|
|
7808
|
+
|
|
7809
|
+
.muka-progress-accordeon__controls {
|
|
7810
|
+
display: flex;
|
|
7811
|
+
flex-shrink: 0;
|
|
7812
|
+
align-items: center;
|
|
7813
|
+
gap: var(--spacing-3);
|
|
7814
|
+
}
|
|
7815
|
+
|
|
7816
|
+
/* ─── Step indicator (circle) ───────────────────────────── */
|
|
7817
|
+
.muka-progress-accordeon__indicator {
|
|
7818
|
+
width: 32px;
|
|
7819
|
+
height: 32px;
|
|
7820
|
+
flex-shrink: 0;
|
|
7821
|
+
border-radius: var(--border-radius-full);
|
|
7822
|
+
display: flex;
|
|
7823
|
+
align-items: center;
|
|
7824
|
+
justify-content: center;
|
|
7825
|
+
}
|
|
7826
|
+
|
|
7827
|
+
/* Past: dark accent-contrast circle with inverse checkmark */
|
|
7828
|
+
.muka-progress-accordeon__indicator--past {
|
|
7829
|
+
background-color: var(--alias-color-accent-contrast);
|
|
7830
|
+
color: var(--color-text-default-inverse);
|
|
7831
|
+
}
|
|
7832
|
+
|
|
7833
|
+
/* Current: accent circle with inverse bold number */
|
|
7834
|
+
.muka-progress-accordeon__indicator--current {
|
|
7835
|
+
background-color: var(--alias-color-accent-default);
|
|
7836
|
+
color: var(--color-text-default-inverse);
|
|
7837
|
+
}
|
|
7838
|
+
|
|
7839
|
+
/* Upcoming: sunken/muted circle with default-color number */
|
|
7840
|
+
.muka-progress-accordeon__indicator--upcoming {
|
|
7841
|
+
background-color: var(--color-surface-sunken);
|
|
7842
|
+
color: var(--color-text-default-default);
|
|
7843
|
+
}
|
|
7844
|
+
|
|
7845
|
+
.muka-progress-accordeon__check-icon {
|
|
7846
|
+
width: 20px;
|
|
7847
|
+
height: 20px;
|
|
7848
|
+
color: var(--color-text-default-inverse);
|
|
7849
|
+
}
|
|
7850
|
+
|
|
7851
|
+
.muka-progress-accordeon__number {
|
|
7852
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
7853
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
7854
|
+
font-size: var(--text-label-md-bold-fontSize);
|
|
7855
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
7856
|
+
text-align: center;
|
|
7857
|
+
user-select: none;
|
|
7858
|
+
}
|
|
7859
|
+
|
|
7860
|
+
/* Upcoming number is semibold (not bold) per Figma */
|
|
7861
|
+
.muka-progress-accordeon__indicator--upcoming .muka-progress-accordeon__number {
|
|
7862
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7863
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7864
|
+
}
|
|
7865
|
+
|
|
7866
|
+
/* ─── Heading (responsive: heading/md on wide, heading/sm on narrow) ─────── */
|
|
7867
|
+
.muka-progress-accordeon__heading {
|
|
7868
|
+
flex: 1 0 0;
|
|
7869
|
+
min-width: 0;
|
|
7870
|
+
margin: 0;
|
|
7871
|
+
font-family: var(--text-heading-md-fontFamily);
|
|
7872
|
+
font-weight: var(--text-heading-md-fontWeight);
|
|
7873
|
+
font-size: var(--text-heading-md-fontSize);
|
|
7874
|
+
line-height: var(--text-heading-md-lineHeight);
|
|
7875
|
+
letter-spacing: var(--text-heading-md-letterSpacing);
|
|
7876
|
+
color: var(--color-text-default-default);
|
|
7877
|
+
}
|
|
7878
|
+
|
|
7879
|
+
/* ─── Description ────────────────────────────────────────── */
|
|
7880
|
+
/* Indented 48px (32px indicator + 16px gap) to align under the heading text */
|
|
7881
|
+
.muka-progress-accordeon__description {
|
|
7882
|
+
width: 100%;
|
|
7883
|
+
padding-left: 48px;
|
|
7884
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7885
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7886
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
7887
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
7888
|
+
color: var(--color-text-default-default);
|
|
7889
|
+
}
|
|
7890
|
+
|
|
7891
|
+
/* ─── Edit button ────────────────────────────────────────── */
|
|
7892
|
+
.muka-progress-accordeon__edit {
|
|
7893
|
+
flex-shrink: 0;
|
|
7935
7894
|
}
|
|
7936
7895
|
|
|
7937
|
-
|
|
7938
|
-
|
|
7939
|
-
|
|
7940
|
-
circle at 0 0,
|
|
7941
|
-
transparent calc(var(--border-radius-xl) - 0.5px),
|
|
7942
|
-
var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
|
|
7943
|
-
);
|
|
7896
|
+
/* Wide container shows the labelled button; the icon-only one is hidden */
|
|
7897
|
+
.muka-progress-accordeon__edit--narrow {
|
|
7898
|
+
display: none;
|
|
7944
7899
|
}
|
|
7945
7900
|
|
|
7946
|
-
|
|
7947
|
-
|
|
7948
|
-
|
|
7949
|
-
|
|
7950
|
-
|
|
7951
|
-
|
|
7952
|
-
);
|
|
7901
|
+
/* ─── Content slot ───────────────────────────────────────── */
|
|
7902
|
+
.muka-progress-accordeon__slot {
|
|
7903
|
+
display: flex;
|
|
7904
|
+
flex-direction: column;
|
|
7905
|
+
align-items: stretch;
|
|
7906
|
+
width: 100%;
|
|
7953
7907
|
}
|
|
7954
7908
|
|
|
7955
|
-
|
|
7956
|
-
|
|
7957
|
-
|
|
7958
|
-
|
|
7959
|
-
|
|
7909
|
+
/* ─── Collapse/expand animation (any expandable step) ──────
|
|
7910
|
+
Animates grid-template-rows 1fr ↔ 0fr so the panel (slot + actions) grows and
|
|
7911
|
+
shrinks to its intrinsic height. Opacity fades with the same duration.
|
|
7912
|
+
Under prefers-reduced-motion, --motion-duration-view is 0ms. */
|
|
7913
|
+
.muka-progress-accordeon__panel-wrapper {
|
|
7914
|
+
display: grid;
|
|
7915
|
+
grid-template-rows: 1fr;
|
|
7916
|
+
opacity: 1;
|
|
7917
|
+
transition:
|
|
7918
|
+
grid-template-rows var(--motion-duration-view) var(--motion-easing-enter),
|
|
7919
|
+
opacity var(--motion-duration-view) var(--motion-easing-enter);
|
|
7960
7920
|
}
|
|
7961
7921
|
|
|
7962
|
-
|
|
7963
|
-
|
|
7922
|
+
.muka-progress-accordeon__panel-wrapper--collapsed {
|
|
7923
|
+
grid-template-rows: 0fr;
|
|
7924
|
+
opacity: 0;
|
|
7925
|
+
transition:
|
|
7926
|
+
grid-template-rows var(--motion-duration-view) var(--motion-easing-exit),
|
|
7927
|
+
opacity calc(var(--motion-duration-view) * 0.6) var(--motion-easing-exit);
|
|
7964
7928
|
}
|
|
7965
7929
|
|
|
7966
|
-
|
|
7967
|
-
|
|
7930
|
+
/* The direct grid child clips and must have NO padding/border of its own —
|
|
7931
|
+
min-height:0 lets it shrink, and with no padding the 0fr track reaches a true
|
|
7932
|
+
0 height (padding on the item would leave a residual gap when collapsed). */
|
|
7933
|
+
.muka-progress-accordeon__panel-clip {
|
|
7934
|
+
overflow: hidden;
|
|
7935
|
+
min-height: 0;
|
|
7968
7936
|
}
|
|
7969
7937
|
|
|
7970
|
-
|
|
7971
|
-
|
|
7972
|
-
|
|
7938
|
+
/* Header↔content spacing + slot/actions gap live inside the clip so they
|
|
7939
|
+
collapse together with the panel. */
|
|
7940
|
+
.muka-progress-accordeon__panel {
|
|
7941
|
+
display: flex;
|
|
7942
|
+
flex-direction: column;
|
|
7943
|
+
align-items: stretch;
|
|
7944
|
+
gap: var(--spacing-6);
|
|
7945
|
+
padding-top: var(--spacing-4);
|
|
7946
|
+
width: 100%;
|
|
7973
7947
|
}
|
|
7974
7948
|
|
|
7975
|
-
|
|
7976
|
-
|
|
7977
|
-
|
|
7978
|
-
|
|
7979
|
-
|
|
7949
|
+
/* ─── Action buttons (current state) ─────────────────────── */
|
|
7950
|
+
.muka-progress-accordeon__actions {
|
|
7951
|
+
display: flex;
|
|
7952
|
+
justify-content: flex-end;
|
|
7953
|
+
gap: var(--spacing-4);
|
|
7954
|
+
width: 100%;
|
|
7980
7955
|
}
|
|
7981
7956
|
|
|
7982
|
-
.muka-progress-
|
|
7983
|
-
|
|
7984
|
-
font-weight: var(--text-body-base-bold-fontWeight);
|
|
7957
|
+
.muka-progress-accordeon__action {
|
|
7958
|
+
min-width: 160px;
|
|
7985
7959
|
}
|
|
7986
7960
|
|
|
7987
|
-
|
|
7988
|
-
|
|
7989
|
-
|
|
7990
|
-
|
|
7991
|
-
|
|
7961
|
+
/* ─── Divider ────────────────────────────────────────────── */
|
|
7962
|
+
.muka-progress-accordeon__divider {
|
|
7963
|
+
width: 100%;
|
|
7964
|
+
}
|
|
7965
|
+
|
|
7966
|
+
/* ─── Responsive (narrow container) ──────────────────────── */
|
|
7967
|
+
@container (max-width: 480px) {
|
|
7968
|
+
/* Heading steps down to heading/sm. The 24px line-height is shorter than the
|
|
7969
|
+
32px step indicator, so nudge the text down to keep a single line centred. */
|
|
7970
|
+
.muka-progress-accordeon__heading {
|
|
7971
|
+
font-size: var(--text-heading-sm-fontSize);
|
|
7972
|
+
line-height: var(--text-heading-sm-lineHeight);
|
|
7973
|
+
padding-top: var(--spacing-1);
|
|
7974
|
+
}
|
|
7975
|
+
|
|
7976
|
+
/* Edit button swaps to the icon-only variant */
|
|
7977
|
+
.muka-progress-accordeon__edit--wide {
|
|
7978
|
+
display: none;
|
|
7979
|
+
}
|
|
7980
|
+
|
|
7981
|
+
.muka-progress-accordeon__edit--narrow {
|
|
7982
|
+
display: inline-flex;
|
|
7983
|
+
}
|
|
7984
|
+
|
|
7985
|
+
/* Action buttons stretch to fill the row */
|
|
7986
|
+
.muka-progress-accordeon__actions {
|
|
7987
|
+
justify-content: stretch;
|
|
7988
|
+
}
|
|
7989
|
+
|
|
7990
|
+
.muka-progress-accordeon__action {
|
|
7991
|
+
flex: 1 0 0;
|
|
7992
|
+
min-width: 0;
|
|
7993
|
+
}
|
|
7992
7994
|
}
|
|
7993
7995
|
|
|
7994
7996
|
|
|
@@ -9105,66 +9107,6 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9105
9107
|
}
|
|
9106
9108
|
|
|
9107
9109
|
|
|
9108
|
-
/* Page */
|
|
9109
|
-
/* Page Component Styles */
|
|
9110
|
-
|
|
9111
|
-
/*
|
|
9112
|
-
* Shell for document-scrolling pages (marketing, sign-in, legal). Safe areas:
|
|
9113
|
-
* env(safe-area-inset-*) is 0 outside notched devices, so the padding below
|
|
9114
|
-
* only appears in an app running edge to edge (viewport-fit=cover).
|
|
9115
|
-
*
|
|
9116
|
-
* `--muka-page-background` is the page colour. SiteHeader reads it, so a
|
|
9117
|
-
* header and its status-bar scrim match the page without configuration.
|
|
9118
|
-
*/
|
|
9119
|
-
.muka-page {
|
|
9120
|
-
--muka-page-background: var(--color-surface-level3);
|
|
9121
|
-
display: flex;
|
|
9122
|
-
flex-direction: column;
|
|
9123
|
-
min-height: 100vh;
|
|
9124
|
-
min-height: 100dvh;
|
|
9125
|
-
background-color: var(--muka-page-background);
|
|
9126
|
-
}
|
|
9127
|
-
|
|
9128
|
-
.muka-page--surface-2 {
|
|
9129
|
-
--muka-page-background: var(--color-surface-level2);
|
|
9130
|
-
}
|
|
9131
|
-
|
|
9132
|
-
/* Overscroll (rubber band) shows the document background: keep it the page's. */
|
|
9133
|
-
:root:has(.muka-page--surface-2) body {
|
|
9134
|
-
background-color: var(--color-surface-level2);
|
|
9135
|
-
}
|
|
9136
|
-
|
|
9137
|
-
.muka-page__main {
|
|
9138
|
-
flex: 1 0 auto;
|
|
9139
|
-
display: flex;
|
|
9140
|
-
flex-direction: column;
|
|
9141
|
-
/* Landscape: clear the notch. */
|
|
9142
|
-
padding-left: env(safe-area-inset-left, 0px);
|
|
9143
|
-
padding-right: env(safe-area-inset-right, 0px);
|
|
9144
|
-
}
|
|
9145
|
-
|
|
9146
|
-
.muka-page__footer {
|
|
9147
|
-
flex-shrink: 0;
|
|
9148
|
-
padding-left: env(safe-area-inset-left, 0px);
|
|
9149
|
-
padding-right: env(safe-area-inset-right, 0px);
|
|
9150
|
-
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
9151
|
-
}
|
|
9152
|
-
|
|
9153
|
-
/* A footer with its own colour: the colour runs under the home indicator. */
|
|
9154
|
-
.muka-page__footer--surface-2 {
|
|
9155
|
-
background-color: var(--color-surface-level2);
|
|
9156
|
-
}
|
|
9157
|
-
|
|
9158
|
-
.muka-page__footer--surface-3 {
|
|
9159
|
-
background-color: var(--color-surface-level3);
|
|
9160
|
-
}
|
|
9161
|
-
|
|
9162
|
-
/* Without a footer, the content is last and clears the home indicator. */
|
|
9163
|
-
.muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
|
|
9164
|
-
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
9165
|
-
}
|
|
9166
|
-
|
|
9167
|
-
|
|
9168
9110
|
/* NumberInput */
|
|
9169
9111
|
/* NumberInput — reuses Input field styles (../Input/Input.css). */
|
|
9170
9112
|
/* Only the prefix/suffix affixes are NumberInput-specific. */
|
|
@@ -10275,44 +10217,104 @@ li.muka-listitem {
|
|
|
10275
10217
|
}
|
|
10276
10218
|
|
|
10277
10219
|
|
|
10278
|
-
/* Label */
|
|
10279
|
-
/* Label Component Styles - Using Muka Design Tokens */
|
|
10280
|
-
|
|
10281
|
-
.muka-label {
|
|
10282
|
-
display: inline-flex;
|
|
10283
|
-
align-items: center;
|
|
10284
|
-
color: var(--color-text-default-default);
|
|
10285
|
-
cursor: pointer;
|
|
10220
|
+
/* Label */
|
|
10221
|
+
/* Label Component Styles - Using Muka Design Tokens */
|
|
10222
|
+
|
|
10223
|
+
.muka-label {
|
|
10224
|
+
display: inline-flex;
|
|
10225
|
+
align-items: center;
|
|
10226
|
+
color: var(--color-text-default-default);
|
|
10227
|
+
cursor: pointer;
|
|
10228
|
+
}
|
|
10229
|
+
|
|
10230
|
+
.muka-label--sm {
|
|
10231
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
10232
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
10233
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
10234
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
10235
|
+
}
|
|
10236
|
+
|
|
10237
|
+
.muka-label--md {
|
|
10238
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
10239
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
10240
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
10241
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
10242
|
+
}
|
|
10243
|
+
|
|
10244
|
+
.muka-label--lg {
|
|
10245
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
10246
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
10247
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
10248
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
10249
|
+
}
|
|
10250
|
+
|
|
10251
|
+
.muka-label--disabled {
|
|
10252
|
+
color: var(--color-text-subtle-default);
|
|
10253
|
+
cursor: not-allowed;
|
|
10254
|
+
}
|
|
10255
|
+
|
|
10256
|
+
.muka-label__required {
|
|
10257
|
+
color: var(--color-state-error-default);
|
|
10258
|
+
}
|
|
10259
|
+
|
|
10260
|
+
|
|
10261
|
+
/* Page */
|
|
10262
|
+
/* Page Component Styles */
|
|
10263
|
+
|
|
10264
|
+
/*
|
|
10265
|
+
* Shell for document-scrolling pages (marketing, sign-in, legal). Safe areas:
|
|
10266
|
+
* env(safe-area-inset-*) is 0 outside notched devices, so the padding below
|
|
10267
|
+
* only appears in an app running edge to edge (viewport-fit=cover).
|
|
10268
|
+
*
|
|
10269
|
+
* `--muka-page-background` is the page colour. SiteHeader reads it, so a
|
|
10270
|
+
* header and its status-bar scrim match the page without configuration.
|
|
10271
|
+
*/
|
|
10272
|
+
.muka-page {
|
|
10273
|
+
--muka-page-background: var(--color-surface-level3);
|
|
10274
|
+
display: flex;
|
|
10275
|
+
flex-direction: column;
|
|
10276
|
+
min-height: 100vh;
|
|
10277
|
+
min-height: 100dvh;
|
|
10278
|
+
background-color: var(--muka-page-background);
|
|
10279
|
+
}
|
|
10280
|
+
|
|
10281
|
+
.muka-page--surface-2 {
|
|
10282
|
+
--muka-page-background: var(--color-surface-level2);
|
|
10283
|
+
}
|
|
10284
|
+
|
|
10285
|
+
/* Overscroll (rubber band) shows the document background: keep it the page's. */
|
|
10286
|
+
:root:has(.muka-page--surface-2) body {
|
|
10287
|
+
background-color: var(--color-surface-level2);
|
|
10286
10288
|
}
|
|
10287
10289
|
|
|
10288
|
-
.muka-
|
|
10289
|
-
|
|
10290
|
-
|
|
10291
|
-
|
|
10292
|
-
|
|
10290
|
+
.muka-page__main {
|
|
10291
|
+
flex: 1 0 auto;
|
|
10292
|
+
display: flex;
|
|
10293
|
+
flex-direction: column;
|
|
10294
|
+
/* Landscape: clear the notch. */
|
|
10295
|
+
padding-left: env(safe-area-inset-left, 0px);
|
|
10296
|
+
padding-right: env(safe-area-inset-right, 0px);
|
|
10293
10297
|
}
|
|
10294
10298
|
|
|
10295
|
-
.muka-
|
|
10296
|
-
|
|
10297
|
-
|
|
10298
|
-
|
|
10299
|
-
|
|
10299
|
+
.muka-page__footer {
|
|
10300
|
+
flex-shrink: 0;
|
|
10301
|
+
padding-left: env(safe-area-inset-left, 0px);
|
|
10302
|
+
padding-right: env(safe-area-inset-right, 0px);
|
|
10303
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
10300
10304
|
}
|
|
10301
10305
|
|
|
10302
|
-
.
|
|
10303
|
-
|
|
10304
|
-
|
|
10305
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
10306
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
10306
|
+
/* A footer with its own colour: the colour runs under the home indicator. */
|
|
10307
|
+
.muka-page__footer--surface-2 {
|
|
10308
|
+
background-color: var(--color-surface-level2);
|
|
10307
10309
|
}
|
|
10308
10310
|
|
|
10309
|
-
.muka-
|
|
10310
|
-
color: var(--color-
|
|
10311
|
-
cursor: not-allowed;
|
|
10311
|
+
.muka-page__footer--surface-3 {
|
|
10312
|
+
background-color: var(--color-surface-level3);
|
|
10312
10313
|
}
|
|
10313
10314
|
|
|
10314
|
-
.
|
|
10315
|
-
|
|
10315
|
+
/* Without a footer, the content is last and clears the home indicator. */
|
|
10316
|
+
.muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
|
|
10317
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
10316
10318
|
}
|
|
10317
10319
|
|
|
10318
10320
|
|
|
@@ -15109,256 +15111,110 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15109
15111
|
}
|
|
15110
15112
|
|
|
15111
15113
|
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
|
|
15112
|
-
cursor: pointer;
|
|
15113
|
-
}
|
|
15114
|
-
|
|
15115
|
-
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
|
|
15116
|
-
outline: 2px solid var(--color-action-default);
|
|
15117
|
-
outline-offset: 2px;
|
|
15118
|
-
border-radius: var(--radius-sm);
|
|
15119
|
-
}
|
|
15120
|
-
|
|
15121
|
-
.muka-chat-attachment-chip__icon {
|
|
15122
|
-
display: inline-flex;
|
|
15123
|
-
align-items: center;
|
|
15124
|
-
justify-content: center;
|
|
15125
|
-
flex-shrink: 0;
|
|
15126
|
-
color: var(--color-text-subtle-default);
|
|
15127
|
-
}
|
|
15128
|
-
|
|
15129
|
-
.muka-chat-attachment-chip__text {
|
|
15130
|
-
display: flex;
|
|
15131
|
-
flex-direction: column;
|
|
15132
|
-
min-width: 0;
|
|
15133
|
-
flex: 1 1 auto;
|
|
15134
|
-
}
|
|
15135
|
-
|
|
15136
|
-
.muka-chat-attachment-chip__name {
|
|
15137
|
-
color: var(--color-text-default-default);
|
|
15138
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15139
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15140
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
15141
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15142
|
-
white-space: nowrap;
|
|
15143
|
-
overflow: hidden;
|
|
15144
|
-
text-overflow: ellipsis;
|
|
15145
|
-
}
|
|
15146
|
-
|
|
15147
|
-
.muka-chat-attachment-chip__meta {
|
|
15148
|
-
color: var(--color-text-subtle-default);
|
|
15149
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15150
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15151
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
15152
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15153
|
-
white-space: nowrap;
|
|
15154
|
-
overflow: hidden;
|
|
15155
|
-
text-overflow: ellipsis;
|
|
15156
|
-
}
|
|
15157
|
-
|
|
15158
|
-
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
|
|
15159
|
-
color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15160
|
-
}
|
|
15161
|
-
|
|
15162
|
-
/* ─── Remove button ────────────────────────────────────── */
|
|
15163
|
-
|
|
15164
|
-
.muka-chat-attachment-chip__remove {
|
|
15165
|
-
display: inline-flex;
|
|
15166
|
-
align-items: center;
|
|
15167
|
-
justify-content: center;
|
|
15168
|
-
width: 20px;
|
|
15169
|
-
height: 20px;
|
|
15170
|
-
border: none;
|
|
15171
|
-
background: none;
|
|
15172
|
-
padding: 0;
|
|
15173
|
-
border-radius: var(--radius-sm);
|
|
15174
|
-
cursor: pointer;
|
|
15175
|
-
color: var(--color-text-subtle-default);
|
|
15176
|
-
flex-shrink: 0;
|
|
15177
|
-
-webkit-tap-highlight-color: transparent;
|
|
15178
|
-
}
|
|
15179
|
-
|
|
15180
|
-
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
15181
|
-
color: var(--color-text-default-default);
|
|
15182
|
-
background-color: var(--color-surface-level2);
|
|
15183
|
-
}
|
|
15184
|
-
|
|
15185
|
-
.muka-chat-attachment-chip__remove:focus-visible {
|
|
15186
|
-
outline: 2px solid var(--color-action-default);
|
|
15187
|
-
outline-offset: 2px;
|
|
15188
|
-
}
|
|
15189
|
-
|
|
15190
|
-
.muka-chat-attachment-chip__remove:disabled {
|
|
15191
|
-
cursor: not-allowed;
|
|
15192
|
-
opacity: 0.5;
|
|
15193
|
-
}
|
|
15194
|
-
|
|
15195
|
-
/* ─── Progress bar ─────────────────────────────────────── */
|
|
15196
|
-
|
|
15197
|
-
.muka-chat-attachment-chip__progress {
|
|
15198
|
-
position: absolute;
|
|
15199
|
-
left: 0;
|
|
15200
|
-
right: 0;
|
|
15201
|
-
bottom: 0;
|
|
15202
|
-
height: 2px;
|
|
15203
|
-
background-color: var(--color-surface-level2);
|
|
15204
|
-
overflow: hidden;
|
|
15205
|
-
}
|
|
15206
|
-
|
|
15207
|
-
.muka-chat-attachment-chip__progress-fill {
|
|
15208
|
-
display: block;
|
|
15209
|
-
height: 100%;
|
|
15210
|
-
background-color: var(--color-action-default);
|
|
15211
|
-
transition: width 0.16s ease;
|
|
15212
|
-
}
|
|
15213
|
-
|
|
15214
|
-
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
15215
|
-
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15216
|
-
}
|
|
15217
|
-
|
|
15218
|
-
|
|
15219
|
-
/* Card */
|
|
15220
|
-
/* Card Component Styles - Using Muka Design Tokens */
|
|
15221
|
-
|
|
15222
|
-
.muka-card {
|
|
15223
|
-
background-color: var(--card-color-default-background);
|
|
15224
|
-
color: var(--card-color-default-foreground);
|
|
15225
|
-
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
15226
|
-
box-shadow: var(--card-shadow-default);
|
|
15227
|
-
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15228
|
-
overflow: hidden;
|
|
15229
|
-
}
|
|
15230
|
-
|
|
15231
|
-
/* Padding variants */
|
|
15232
|
-
.muka-card--padding-none {
|
|
15233
|
-
padding: 0;
|
|
15234
|
-
}
|
|
15235
|
-
|
|
15236
|
-
.muka-card--padding-sm {
|
|
15237
|
-
padding: var(--card-padding-sm);
|
|
15238
|
-
}
|
|
15239
|
-
|
|
15240
|
-
.muka-card--padding-md {
|
|
15241
|
-
padding: var(--card-padding-md);
|
|
15242
|
-
}
|
|
15243
|
-
|
|
15244
|
-
.muka-card--padding-lg {
|
|
15245
|
-
padding: var(--card-padding-lg);
|
|
15246
|
-
}
|
|
15247
|
-
|
|
15248
|
-
/* Radius variants */
|
|
15249
|
-
.muka-card--radius-sm {
|
|
15250
|
-
border-radius: var(--card-radius-sm);
|
|
15251
|
-
}
|
|
15252
|
-
|
|
15253
|
-
.muka-card--radius-md {
|
|
15254
|
-
border-radius: var(--card-radius-md);
|
|
15255
|
-
}
|
|
15256
|
-
|
|
15257
|
-
.muka-card--radius-lg {
|
|
15258
|
-
border-radius: var(--card-radius-lg);
|
|
15259
|
-
}
|
|
15260
|
-
|
|
15261
|
-
/* Interactive variant */
|
|
15262
|
-
.muka-card--interactive {
|
|
15263
|
-
cursor: pointer;
|
|
15264
|
-
user-select: none;
|
|
15265
|
-
}
|
|
15266
|
-
|
|
15267
|
-
.muka-card--interactive:hover {
|
|
15268
|
-
background-color: var(--card-color-hover-background);
|
|
15269
|
-
border-color: var(--card-color-hover-border);
|
|
15270
|
-
box-shadow: var(--card-shadow-hover);
|
|
15271
|
-
}
|
|
15272
|
-
|
|
15273
|
-
.muka-card--interactive:active,
|
|
15274
|
-
.muka-card--interactive.muka-card--pressed {
|
|
15275
|
-
background-color: var(--card-color-pressed-background);
|
|
15276
|
-
border-color: var(--card-color-pressed-border);
|
|
15277
|
-
box-shadow: var(--card-shadow-pressed);
|
|
15278
|
-
}
|
|
15279
|
-
|
|
15280
|
-
.muka-card--interactive:focus-visible {
|
|
15281
|
-
outline: 2px solid var(--color-border-focus);
|
|
15282
|
-
outline-offset: 2px;
|
|
15283
|
-
}
|
|
15284
|
-
|
|
15285
|
-
/* Selected variant */
|
|
15286
|
-
.muka-card--selected {
|
|
15287
|
-
background-color: var(--card-color-selected-background);
|
|
15288
|
-
border-color: var(--card-color-selected-border);
|
|
15289
|
-
border-width: var(--border-width-bold);
|
|
15290
|
-
box-shadow: var(--card-shadow-selected);
|
|
15291
|
-
}
|
|
15292
|
-
|
|
15293
|
-
/* Tone: sticky note (MUK-105) */
|
|
15294
|
-
.muka-card--tone-note {
|
|
15295
|
-
background-color: var(--card-color-note-background);
|
|
15296
|
-
color: var(--card-color-note-foreground);
|
|
15297
|
-
border-color: var(--card-color-note-border);
|
|
15298
|
-
box-shadow: var(--card-shadow-note);
|
|
15299
|
-
}
|
|
15300
|
-
|
|
15301
|
-
.muka-card--tone-note.muka-card--interactive:hover,
|
|
15302
|
-
.muka-card--tone-note.muka-card--interactive:active,
|
|
15303
|
-
.muka-card--tone-note.muka-card--interactive.muka-card--pressed {
|
|
15304
|
-
background-color: var(--card-color-note-background);
|
|
15305
|
-
border-color: var(--card-color-note-border);
|
|
15306
|
-
}
|
|
15307
|
-
|
|
15308
|
-
.muka-card--tilt-left {
|
|
15309
|
-
transform: rotate(-0.75deg);
|
|
15310
|
-
}
|
|
15311
|
-
|
|
15312
|
-
.muka-card--tilt-right {
|
|
15313
|
-
transform: rotate(0.6deg);
|
|
15114
|
+
cursor: pointer;
|
|
15314
15115
|
}
|
|
15315
15116
|
|
|
15316
|
-
|
|
15317
|
-
|
|
15318
|
-
|
|
15319
|
-
|
|
15320
|
-
}
|
|
15117
|
+
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
|
|
15118
|
+
outline: 2px solid var(--color-action-default);
|
|
15119
|
+
outline-offset: 2px;
|
|
15120
|
+
border-radius: var(--radius-sm);
|
|
15321
15121
|
}
|
|
15322
15122
|
|
|
15323
|
-
.muka-
|
|
15324
|
-
|
|
15325
|
-
|
|
15123
|
+
.muka-chat-attachment-chip__icon {
|
|
15124
|
+
display: inline-flex;
|
|
15125
|
+
align-items: center;
|
|
15126
|
+
justify-content: center;
|
|
15127
|
+
flex-shrink: 0;
|
|
15128
|
+
color: var(--color-text-subtle-default);
|
|
15326
15129
|
}
|
|
15327
15130
|
|
|
15328
|
-
|
|
15329
|
-
|
|
15330
|
-
|
|
15131
|
+
.muka-chat-attachment-chip__text {
|
|
15132
|
+
display: flex;
|
|
15133
|
+
flex-direction: column;
|
|
15134
|
+
min-width: 0;
|
|
15135
|
+
flex: 1 1 auto;
|
|
15331
15136
|
}
|
|
15332
15137
|
|
|
15333
|
-
.muka-
|
|
15334
|
-
margin: 0;
|
|
15138
|
+
.muka-chat-attachment-chip__name {
|
|
15335
15139
|
color: var(--color-text-default-default);
|
|
15336
|
-
font-family: var(--text-
|
|
15337
|
-
font-weight: var(--text-
|
|
15338
|
-
font-size: var(--text-
|
|
15339
|
-
line-height: var(--text-
|
|
15340
|
-
|
|
15140
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15141
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15142
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15143
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15144
|
+
white-space: nowrap;
|
|
15145
|
+
overflow: hidden;
|
|
15146
|
+
text-overflow: ellipsis;
|
|
15341
15147
|
}
|
|
15342
15148
|
|
|
15343
|
-
.muka-
|
|
15344
|
-
margin: var(--spacing-1) 0 0;
|
|
15149
|
+
.muka-chat-attachment-chip__meta {
|
|
15345
15150
|
color: var(--color-text-subtle-default);
|
|
15346
15151
|
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15347
15152
|
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15348
15153
|
font-size: var(--text-body-sm-regular-fontSize);
|
|
15349
15154
|
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15155
|
+
white-space: nowrap;
|
|
15156
|
+
overflow: hidden;
|
|
15157
|
+
text-overflow: ellipsis;
|
|
15350
15158
|
}
|
|
15351
15159
|
|
|
15352
|
-
|
|
15353
|
-
|
|
15354
|
-
display: none;
|
|
15160
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
|
|
15161
|
+
color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15355
15162
|
}
|
|
15356
15163
|
|
|
15357
|
-
/*
|
|
15358
|
-
|
|
15359
|
-
|
|
15164
|
+
/* ─── Remove button ────────────────────────────────────── */
|
|
15165
|
+
|
|
15166
|
+
.muka-chat-attachment-chip__remove {
|
|
15167
|
+
display: inline-flex;
|
|
15168
|
+
align-items: center;
|
|
15169
|
+
justify-content: center;
|
|
15170
|
+
width: 20px;
|
|
15171
|
+
height: 20px;
|
|
15172
|
+
border: none;
|
|
15173
|
+
background: none;
|
|
15174
|
+
padding: 0;
|
|
15175
|
+
border-radius: var(--radius-sm);
|
|
15176
|
+
cursor: pointer;
|
|
15177
|
+
color: var(--color-text-subtle-default);
|
|
15178
|
+
flex-shrink: 0;
|
|
15179
|
+
-webkit-tap-highlight-color: transparent;
|
|
15180
|
+
}
|
|
15181
|
+
|
|
15182
|
+
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
15183
|
+
color: var(--color-text-default-default);
|
|
15184
|
+
background-color: var(--color-surface-level2);
|
|
15185
|
+
}
|
|
15186
|
+
|
|
15187
|
+
.muka-chat-attachment-chip__remove:focus-visible {
|
|
15188
|
+
outline: 2px solid var(--color-action-default);
|
|
15189
|
+
outline-offset: 2px;
|
|
15190
|
+
}
|
|
15191
|
+
|
|
15192
|
+
.muka-chat-attachment-chip__remove:disabled {
|
|
15360
15193
|
cursor: not-allowed;
|
|
15361
|
-
|
|
15194
|
+
opacity: 0.5;
|
|
15195
|
+
}
|
|
15196
|
+
|
|
15197
|
+
/* ─── Progress bar ─────────────────────────────────────── */
|
|
15198
|
+
|
|
15199
|
+
.muka-chat-attachment-chip__progress {
|
|
15200
|
+
position: absolute;
|
|
15201
|
+
left: 0;
|
|
15202
|
+
right: 0;
|
|
15203
|
+
bottom: 0;
|
|
15204
|
+
height: 2px;
|
|
15205
|
+
background-color: var(--color-surface-level2);
|
|
15206
|
+
overflow: hidden;
|
|
15207
|
+
}
|
|
15208
|
+
|
|
15209
|
+
.muka-chat-attachment-chip__progress-fill {
|
|
15210
|
+
display: block;
|
|
15211
|
+
height: 100%;
|
|
15212
|
+
background-color: var(--color-action-default);
|
|
15213
|
+
transition: width 0.16s ease;
|
|
15214
|
+
}
|
|
15215
|
+
|
|
15216
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
15217
|
+
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15362
15218
|
}
|
|
15363
15219
|
|
|
15364
15220
|
|
|
@@ -17693,3 +17549,149 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
17693
17549
|
border-bottom: none;
|
|
17694
17550
|
}
|
|
17695
17551
|
|
|
17552
|
+
|
|
17553
|
+
/* Card */
|
|
17554
|
+
/* Card Component Styles - Using Muka Design Tokens */
|
|
17555
|
+
|
|
17556
|
+
.muka-card {
|
|
17557
|
+
background-color: var(--card-color-default-background);
|
|
17558
|
+
color: var(--card-color-default-foreground);
|
|
17559
|
+
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
17560
|
+
box-shadow: var(--card-shadow-default);
|
|
17561
|
+
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
17562
|
+
overflow: hidden;
|
|
17563
|
+
}
|
|
17564
|
+
|
|
17565
|
+
/* Padding variants */
|
|
17566
|
+
.muka-card--padding-none {
|
|
17567
|
+
padding: 0;
|
|
17568
|
+
}
|
|
17569
|
+
|
|
17570
|
+
.muka-card--padding-sm {
|
|
17571
|
+
padding: var(--card-padding-sm);
|
|
17572
|
+
}
|
|
17573
|
+
|
|
17574
|
+
.muka-card--padding-md {
|
|
17575
|
+
padding: var(--card-padding-md);
|
|
17576
|
+
}
|
|
17577
|
+
|
|
17578
|
+
.muka-card--padding-lg {
|
|
17579
|
+
padding: var(--card-padding-lg);
|
|
17580
|
+
}
|
|
17581
|
+
|
|
17582
|
+
/* Radius variants */
|
|
17583
|
+
.muka-card--radius-sm {
|
|
17584
|
+
border-radius: var(--card-radius-sm);
|
|
17585
|
+
}
|
|
17586
|
+
|
|
17587
|
+
.muka-card--radius-md {
|
|
17588
|
+
border-radius: var(--card-radius-md);
|
|
17589
|
+
}
|
|
17590
|
+
|
|
17591
|
+
.muka-card--radius-lg {
|
|
17592
|
+
border-radius: var(--card-radius-lg);
|
|
17593
|
+
}
|
|
17594
|
+
|
|
17595
|
+
/* Interactive variant */
|
|
17596
|
+
.muka-card--interactive {
|
|
17597
|
+
cursor: pointer;
|
|
17598
|
+
user-select: none;
|
|
17599
|
+
}
|
|
17600
|
+
|
|
17601
|
+
.muka-card--interactive:hover {
|
|
17602
|
+
background-color: var(--card-color-hover-background);
|
|
17603
|
+
border-color: var(--card-color-hover-border);
|
|
17604
|
+
box-shadow: var(--card-shadow-hover);
|
|
17605
|
+
}
|
|
17606
|
+
|
|
17607
|
+
.muka-card--interactive:active,
|
|
17608
|
+
.muka-card--interactive.muka-card--pressed {
|
|
17609
|
+
background-color: var(--card-color-pressed-background);
|
|
17610
|
+
border-color: var(--card-color-pressed-border);
|
|
17611
|
+
box-shadow: var(--card-shadow-pressed);
|
|
17612
|
+
}
|
|
17613
|
+
|
|
17614
|
+
.muka-card--interactive:focus-visible {
|
|
17615
|
+
outline: 2px solid var(--color-border-focus);
|
|
17616
|
+
outline-offset: 2px;
|
|
17617
|
+
}
|
|
17618
|
+
|
|
17619
|
+
/* Selected variant */
|
|
17620
|
+
.muka-card--selected {
|
|
17621
|
+
background-color: var(--card-color-selected-background);
|
|
17622
|
+
border-color: var(--card-color-selected-border);
|
|
17623
|
+
border-width: var(--border-width-bold);
|
|
17624
|
+
box-shadow: var(--card-shadow-selected);
|
|
17625
|
+
}
|
|
17626
|
+
|
|
17627
|
+
/* Tone: sticky note (MUK-105) */
|
|
17628
|
+
.muka-card--tone-note {
|
|
17629
|
+
background-color: var(--card-color-note-background);
|
|
17630
|
+
color: var(--card-color-note-foreground);
|
|
17631
|
+
border-color: var(--card-color-note-border);
|
|
17632
|
+
box-shadow: var(--card-shadow-note);
|
|
17633
|
+
}
|
|
17634
|
+
|
|
17635
|
+
.muka-card--tone-note.muka-card--interactive:hover,
|
|
17636
|
+
.muka-card--tone-note.muka-card--interactive:active,
|
|
17637
|
+
.muka-card--tone-note.muka-card--interactive.muka-card--pressed {
|
|
17638
|
+
background-color: var(--card-color-note-background);
|
|
17639
|
+
border-color: var(--card-color-note-border);
|
|
17640
|
+
}
|
|
17641
|
+
|
|
17642
|
+
.muka-card--tilt-left {
|
|
17643
|
+
transform: rotate(-0.75deg);
|
|
17644
|
+
}
|
|
17645
|
+
|
|
17646
|
+
.muka-card--tilt-right {
|
|
17647
|
+
transform: rotate(0.6deg);
|
|
17648
|
+
}
|
|
17649
|
+
|
|
17650
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
17651
|
+
.muka-card--tilt-left,
|
|
17652
|
+
.muka-card--tilt-right {
|
|
17653
|
+
transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
17654
|
+
}
|
|
17655
|
+
}
|
|
17656
|
+
|
|
17657
|
+
.muka-card--interactive.muka-card--tilt-left:hover,
|
|
17658
|
+
.muka-card--interactive.muka-card--tilt-right:hover {
|
|
17659
|
+
transform: none;
|
|
17660
|
+
}
|
|
17661
|
+
|
|
17662
|
+
/* Optional header (title + description) */
|
|
17663
|
+
.muka-card__header {
|
|
17664
|
+
margin-bottom: var(--spacing-4);
|
|
17665
|
+
}
|
|
17666
|
+
|
|
17667
|
+
.muka-card__title {
|
|
17668
|
+
margin: 0;
|
|
17669
|
+
color: var(--color-text-default-default);
|
|
17670
|
+
font-family: var(--text-heading-xs-fontFamily);
|
|
17671
|
+
font-weight: var(--text-heading-xs-fontWeight);
|
|
17672
|
+
font-size: var(--text-heading-xs-fontSize);
|
|
17673
|
+
line-height: var(--text-heading-xs-lineHeight);
|
|
17674
|
+
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
17675
|
+
}
|
|
17676
|
+
|
|
17677
|
+
.muka-card__description {
|
|
17678
|
+
margin: var(--spacing-1) 0 0;
|
|
17679
|
+
color: var(--color-text-subtle-default);
|
|
17680
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17681
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17682
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
17683
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17684
|
+
}
|
|
17685
|
+
|
|
17686
|
+
/* Hide divider on last list item inside card */
|
|
17687
|
+
.muka-card > .muka-listitem:last-child > .muka-listitem__divider {
|
|
17688
|
+
display: none;
|
|
17689
|
+
}
|
|
17690
|
+
|
|
17691
|
+
/* Disabled state */
|
|
17692
|
+
.muka-card--disabled {
|
|
17693
|
+
opacity: 0.5;
|
|
17694
|
+
cursor: not-allowed;
|
|
17695
|
+
pointer-events: none;
|
|
17696
|
+
}
|
|
17697
|
+
|