@revikornmann/muka-ui 0.50.1 → 0.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/BadgeNumber/BadgeNumber.css +8 -0
- package/dist/cjs/components/BadgeNumber/BadgeNumber.js +3 -3
- package/dist/cjs/components/BadgeNumber/BadgeNumber.js.map +1 -1
- package/dist/cjs/components/BottomBar/BottomBar.css +10 -0
- package/dist/cjs/components/BottomBar/BottomBar.js +4 -2
- package/dist/cjs/components/BottomBar/BottomBar.js.map +1 -1
- package/dist/cjs/components/DocumentViewer/DocumentCanvas.js +11 -9
- package/dist/cjs/components/DocumentViewer/DocumentCanvas.js.map +1 -1
- package/dist/cjs/components/DocumentViewer/DocumentThumbnails.js +5 -3
- package/dist/cjs/components/DocumentViewer/DocumentThumbnails.js.map +1 -1
- package/dist/cjs/components/DocumentViewer/DocumentToolbar.js +4 -2
- package/dist/cjs/components/DocumentViewer/DocumentToolbar.js.map +1 -1
- package/dist/cjs/components/DocumentViewer/DocumentViewer.js +4 -2
- package/dist/cjs/components/DocumentViewer/DocumentViewer.js.map +1 -1
- package/dist/cjs/components/DocumentViewer/index.js.map +1 -1
- package/dist/cjs/components/DocumentViewer/labels.js +43 -0
- package/dist/cjs/components/DocumentViewer/labels.js.map +1 -0
- package/dist/cjs/components/FileUpload/FileUpload.js +32 -21
- package/dist/cjs/components/FileUpload/FileUpload.js.map +1 -1
- package/dist/cjs/components/FileUpload/FileUploadItem.js +12 -11
- package/dist/cjs/components/FileUpload/FileUploadItem.js.map +1 -1
- package/dist/cjs/components/FileUpload/index.js.map +1 -1
- package/dist/cjs/components/ListItem/ListItem.css +19 -0
- package/dist/cjs/components/ListItem/ListItem.js +3 -3
- package/dist/cjs/components/ListItem/ListItem.js.map +1 -1
- package/dist/cjs/components/PhotoUploader/PhotoUploader.js +65 -13
- package/dist/cjs/components/PhotoUploader/PhotoUploader.js.map +1 -1
- package/dist/cjs/components/PhotoUploader/index.js.map +1 -1
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/cjs/utils/formatBytes.js +13 -0
- package/dist/cjs/utils/formatBytes.js.map +1 -0
- package/dist/esm/components/BadgeNumber/BadgeNumber.css +8 -0
- package/dist/esm/components/BadgeNumber/BadgeNumber.js +3 -3
- package/dist/esm/components/BadgeNumber/BadgeNumber.js.map +1 -1
- package/dist/esm/components/BottomBar/BottomBar.css +10 -0
- package/dist/esm/components/BottomBar/BottomBar.js +4 -2
- package/dist/esm/components/BottomBar/BottomBar.js.map +1 -1
- package/dist/esm/components/DocumentViewer/DocumentCanvas.js +12 -10
- package/dist/esm/components/DocumentViewer/DocumentCanvas.js.map +1 -1
- package/dist/esm/components/DocumentViewer/DocumentThumbnails.js +6 -4
- package/dist/esm/components/DocumentViewer/DocumentThumbnails.js.map +1 -1
- package/dist/esm/components/DocumentViewer/DocumentToolbar.js +5 -3
- package/dist/esm/components/DocumentViewer/DocumentToolbar.js.map +1 -1
- package/dist/esm/components/DocumentViewer/DocumentViewer.js +5 -3
- package/dist/esm/components/DocumentViewer/DocumentViewer.js.map +1 -1
- package/dist/esm/components/DocumentViewer/index.js.map +1 -1
- package/dist/esm/components/DocumentViewer/labels.js +39 -0
- package/dist/esm/components/DocumentViewer/labels.js.map +1 -0
- package/dist/esm/components/FileUpload/FileUpload.js +34 -23
- package/dist/esm/components/FileUpload/FileUpload.js.map +1 -1
- package/dist/esm/components/FileUpload/FileUploadItem.js +11 -10
- package/dist/esm/components/FileUpload/FileUploadItem.js.map +1 -1
- package/dist/esm/components/FileUpload/index.js.map +1 -1
- package/dist/esm/components/ListItem/ListItem.css +19 -0
- package/dist/esm/components/ListItem/ListItem.js +3 -3
- package/dist/esm/components/ListItem/ListItem.js.map +1 -1
- package/dist/esm/components/PhotoUploader/PhotoUploader.js +66 -14
- package/dist/esm/components/PhotoUploader/PhotoUploader.js.map +1 -1
- package/dist/esm/components/PhotoUploader/index.js.map +1 -1
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/utils/formatBytes.js +10 -0
- package/dist/esm/utils/formatBytes.js.map +1 -0
- package/dist/styles/components/BadgeNumber.css +8 -0
- package/dist/styles/components/BottomBar.css +10 -0
- package/dist/styles/components/ListItem.css +19 -0
- package/dist/styles/index.css +912 -875
- package/dist/styles/muka-dark.css +912 -875
- package/dist/styles/muka-light.css +912 -875
- package/dist/styles/wireframe-dark.css +912 -875
- package/dist/styles/wireframe-light.css +912 -875
- package/dist/types/components/BadgeNumber/BadgeNumber.d.ts +7 -1
- package/dist/types/components/BadgeNumber/BadgeNumber.d.ts.map +1 -1
- package/dist/types/components/BottomBar/BottomBar.d.ts +7 -0
- package/dist/types/components/BottomBar/BottomBar.d.ts.map +1 -1
- package/dist/types/components/DocumentViewer/DocumentCanvas.d.ts +3 -0
- package/dist/types/components/DocumentViewer/DocumentCanvas.d.ts.map +1 -1
- package/dist/types/components/DocumentViewer/DocumentThumbnails.d.ts +3 -0
- package/dist/types/components/DocumentViewer/DocumentThumbnails.d.ts.map +1 -1
- package/dist/types/components/DocumentViewer/DocumentToolbar.d.ts +3 -0
- package/dist/types/components/DocumentViewer/DocumentToolbar.d.ts.map +1 -1
- package/dist/types/components/DocumentViewer/DocumentViewer.d.ts +3 -0
- package/dist/types/components/DocumentViewer/DocumentViewer.d.ts.map +1 -1
- package/dist/types/components/DocumentViewer/index.d.ts +1 -0
- package/dist/types/components/DocumentViewer/index.d.ts.map +1 -1
- package/dist/types/components/DocumentViewer/labels.d.ts +57 -0
- package/dist/types/components/DocumentViewer/labels.d.ts.map +1 -0
- package/dist/types/components/FileUpload/FileUpload.d.ts +46 -6
- package/dist/types/components/FileUpload/FileUpload.d.ts.map +1 -1
- package/dist/types/components/FileUpload/FileUploadItem.d.ts +19 -0
- package/dist/types/components/FileUpload/FileUploadItem.d.ts.map +1 -1
- package/dist/types/components/FileUpload/index.d.ts +1 -1
- package/dist/types/components/FileUpload/index.d.ts.map +1 -1
- package/dist/types/components/ListItem/ListItem.d.ts +8 -1
- package/dist/types/components/ListItem/ListItem.d.ts.map +1 -1
- package/dist/types/components/PhotoUploader/PhotoUploader.d.ts +55 -9
- package/dist/types/components/PhotoUploader/PhotoUploader.d.ts.map +1 -1
- package/dist/types/components/PhotoUploader/index.d.ts +1 -1
- package/dist/types/components/PhotoUploader/index.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +3 -3
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/utils/formatBytes.d.ts +3 -0
- package/dist/types/utils/formatBytes.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -3543,795 +3543,795 @@ body {
|
|
|
3543
3543
|
}
|
|
3544
3544
|
|
|
3545
3545
|
|
|
3546
|
-
/*
|
|
3547
|
-
/*
|
|
3546
|
+
/* Tile */
|
|
3547
|
+
/* Tile Component Styles - Using Muka Design Tokens */
|
|
3548
3548
|
|
|
3549
|
-
|
|
3550
|
-
position: relative;
|
|
3551
|
-
flex-shrink: 0;
|
|
3552
|
-
}
|
|
3549
|
+
/* ─── Base ────────────────────────────────────────────── */
|
|
3553
3550
|
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
.muka-thumbnail__frame {
|
|
3558
|
-
position: absolute;
|
|
3559
|
-
inset: 0;
|
|
3560
|
-
overflow: hidden;
|
|
3561
|
-
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
3562
|
-
border-radius: var(--border-radius-lg);
|
|
3563
|
-
background-color: var(--color-surface-level1);
|
|
3551
|
+
.muka-tile {
|
|
3552
|
+
display: flex;
|
|
3553
|
+
color: var(--color-text-default-default);
|
|
3564
3554
|
}
|
|
3565
3555
|
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
height: 120px;
|
|
3556
|
+
.muka-tile--interactive {
|
|
3557
|
+
cursor: pointer;
|
|
3558
|
+
user-select: none;
|
|
3570
3559
|
}
|
|
3571
3560
|
|
|
3572
|
-
.muka-
|
|
3573
|
-
|
|
3574
|
-
|
|
3561
|
+
.muka-tile--interactive:focus-visible {
|
|
3562
|
+
outline: 2px solid var(--color-border-focus);
|
|
3563
|
+
outline-offset: 2px;
|
|
3564
|
+
border-radius: var(--border-radius-lg);
|
|
3575
3565
|
}
|
|
3576
3566
|
|
|
3577
|
-
|
|
3578
|
-
width: 120px;
|
|
3579
|
-
height: 120px;
|
|
3580
|
-
}
|
|
3567
|
+
/* ─── Image position variants ─────────────────────────── */
|
|
3581
3568
|
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
width: 100%;
|
|
3585
|
-
height: auto;
|
|
3586
|
-
aspect-ratio: 1 / 1;
|
|
3569
|
+
.muka-tile--image-top {
|
|
3570
|
+
flex-direction: column;
|
|
3587
3571
|
}
|
|
3588
3572
|
|
|
3589
|
-
.muka-
|
|
3590
|
-
|
|
3573
|
+
.muka-tile--image-left {
|
|
3574
|
+
flex-direction: row;
|
|
3591
3575
|
}
|
|
3592
3576
|
|
|
3593
|
-
.muka-
|
|
3594
|
-
|
|
3577
|
+
.muka-tile--image-right {
|
|
3578
|
+
flex-direction: row;
|
|
3595
3579
|
}
|
|
3596
3580
|
|
|
3597
|
-
/*
|
|
3598
|
-
interactive hover zoom has a clean origin. */
|
|
3599
|
-
.muka-thumbnail__image {
|
|
3600
|
-
position: absolute;
|
|
3601
|
-
inset: 0;
|
|
3602
|
-
width: 100%;
|
|
3603
|
-
height: 100%;
|
|
3604
|
-
object-fit: cover;
|
|
3605
|
-
display: block;
|
|
3606
|
-
transform-origin: center;
|
|
3607
|
-
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
3608
|
-
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
3609
|
-
}
|
|
3581
|
+
/* ─── Gap by size (top) ───────────────────────────────── */
|
|
3610
3582
|
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
position: absolute;
|
|
3614
|
-
inset: 0;
|
|
3615
|
-
padding: 0;
|
|
3616
|
-
border: 0;
|
|
3617
|
-
background: none;
|
|
3618
|
-
cursor: pointer;
|
|
3619
|
-
overflow: hidden;
|
|
3583
|
+
.muka-tile--image-top.muka-tile--lg {
|
|
3584
|
+
gap: var(--spacing-6);
|
|
3620
3585
|
}
|
|
3621
3586
|
|
|
3622
|
-
.muka-
|
|
3623
|
-
|
|
3624
|
-
|
|
3587
|
+
.muka-tile--image-top.muka-tile--md {
|
|
3588
|
+
gap: var(--spacing-6);
|
|
3589
|
+
width: 320px;
|
|
3625
3590
|
}
|
|
3626
3591
|
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3592
|
+
.muka-tile--image-top.muka-tile--sm {
|
|
3593
|
+
gap: var(--spacing-4);
|
|
3594
|
+
min-width: 120px;
|
|
3630
3595
|
}
|
|
3631
3596
|
|
|
3632
|
-
/* ───
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3597
|
+
/* ─── Gap by size (left/right) ────────────────────────── */
|
|
3598
|
+
|
|
3599
|
+
.muka-tile--image-left.muka-tile--lg,
|
|
3600
|
+
.muka-tile--image-right.muka-tile--lg {
|
|
3601
|
+
gap: var(--spacing-6);
|
|
3637
3602
|
align-items: center;
|
|
3638
|
-
justify-content: center;
|
|
3639
|
-
background-color: var(--dialog-color-backdrop);
|
|
3640
3603
|
}
|
|
3641
3604
|
|
|
3642
|
-
.muka-
|
|
3643
|
-
|
|
3644
|
-
|
|
3605
|
+
.muka-tile--image-left.muka-tile--md,
|
|
3606
|
+
.muka-tile--image-right.muka-tile--md {
|
|
3607
|
+
gap: var(--spacing-6);
|
|
3608
|
+
align-items: center;
|
|
3645
3609
|
}
|
|
3646
3610
|
|
|
3647
|
-
|
|
3648
|
-
.muka-
|
|
3649
|
-
|
|
3650
|
-
|
|
3611
|
+
.muka-tile--image-left.muka-tile--sm,
|
|
3612
|
+
.muka-tile--image-right.muka-tile--sm {
|
|
3613
|
+
gap: var(--spacing-4);
|
|
3614
|
+
align-items: flex-start;
|
|
3651
3615
|
}
|
|
3652
3616
|
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3617
|
+
/* ─── Photos container ────────────────────────────────── */
|
|
3618
|
+
|
|
3619
|
+
.muka-tile__photos {
|
|
3620
|
+
position: relative;
|
|
3621
|
+
flex-shrink: 0;
|
|
3622
|
+
overflow: hidden;
|
|
3656
3623
|
display: flex;
|
|
3657
3624
|
flex-direction: column;
|
|
3658
|
-
|
|
3659
|
-
justify-content: center;
|
|
3660
|
-
gap: var(--spacing-2);
|
|
3661
|
-
padding: var(--spacing-3);
|
|
3662
|
-
text-align: center;
|
|
3625
|
+
isolation: isolate;
|
|
3663
3626
|
}
|
|
3664
3627
|
|
|
3665
|
-
|
|
3666
|
-
|
|
3628
|
+
/* Photos border radius by size */
|
|
3629
|
+
.muka-tile--lg .muka-tile__photos,
|
|
3630
|
+
.muka-tile--md .muka-tile__photos {
|
|
3631
|
+
border-radius: var(--border-radius-lg);
|
|
3667
3632
|
}
|
|
3668
3633
|
|
|
3669
|
-
.muka-
|
|
3670
|
-
|
|
3671
|
-
overflow: hidden;
|
|
3672
|
-
text-overflow: ellipsis;
|
|
3673
|
-
white-space: nowrap;
|
|
3674
|
-
color: var(--alert-color-error-accent);
|
|
3675
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
3676
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
3677
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
3678
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
3634
|
+
.muka-tile--sm .muka-tile__photos {
|
|
3635
|
+
border-radius: var(--border-radius-md);
|
|
3679
3636
|
}
|
|
3680
3637
|
|
|
3681
|
-
/*
|
|
3682
|
-
.muka-
|
|
3683
|
-
|
|
3684
|
-
top: var(--spacing-2);
|
|
3685
|
-
right: var(--spacing-2);
|
|
3686
|
-
display: flex;
|
|
3687
|
-
align-items: center;
|
|
3688
|
-
justify-content: center;
|
|
3689
|
-
width: var(--size-2xl);
|
|
3690
|
-
height: var(--size-2xl);
|
|
3691
|
-
padding: 0;
|
|
3692
|
-
color: var(--button-color-tertiary-foreground-default);
|
|
3693
|
-
background-color: var(--button-color-tertiary-background-default);
|
|
3694
|
-
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
3695
|
-
border-radius: var(--border-radius-lg);
|
|
3696
|
-
cursor: pointer;
|
|
3697
|
-
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
3698
|
-
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
3638
|
+
/* Photos sizing: top layout */
|
|
3639
|
+
.muka-tile--image-top .muka-tile__photos {
|
|
3640
|
+
width: 100%;
|
|
3699
3641
|
}
|
|
3700
3642
|
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3643
|
+
/* Photos sizing: left/right large */
|
|
3644
|
+
.muka-tile--image-left.muka-tile--lg .muka-tile__photos,
|
|
3645
|
+
.muka-tile--image-right.muka-tile--lg .muka-tile__photos {
|
|
3646
|
+
width: 520px;
|
|
3705
3647
|
}
|
|
3706
3648
|
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3649
|
+
/* Photos sizing: left/right medium */
|
|
3650
|
+
.muka-tile--image-left.muka-tile--md .muka-tile__photos,
|
|
3651
|
+
.muka-tile--image-right.muka-tile--md .muka-tile__photos {
|
|
3652
|
+
width: 320px;
|
|
3711
3653
|
}
|
|
3712
3654
|
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3655
|
+
/* Photos sizing: left/right small (single 80x80 thumbnail) */
|
|
3656
|
+
.muka-tile--image-left.muka-tile--sm .muka-tile__photos,
|
|
3657
|
+
.muka-tile--image-right.muka-tile--sm .muka-tile__photos {
|
|
3658
|
+
width: 80px;
|
|
3659
|
+
align-self: stretch;
|
|
3716
3660
|
}
|
|
3717
3661
|
|
|
3718
|
-
/* ───
|
|
3719
|
-
@media (prefers-reduced-motion: reduce) {
|
|
3720
|
-
.muka-thumbnail__image,
|
|
3721
|
-
.muka-thumbnail__remove {
|
|
3722
|
-
transition: none;
|
|
3723
|
-
}
|
|
3662
|
+
/* ─── Main photo ──────────────────────────────────────── */
|
|
3724
3663
|
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3664
|
+
.muka-tile__photo-main {
|
|
3665
|
+
position: relative;
|
|
3666
|
+
width: 100%;
|
|
3667
|
+
overflow: hidden;
|
|
3668
|
+
flex-shrink: 0;
|
|
3728
3669
|
}
|
|
3729
3670
|
|
|
3671
|
+
/* 16:9 aspect for lg and md */
|
|
3672
|
+
.muka-tile--lg .muka-tile__photo-main,
|
|
3673
|
+
.muka-tile--md .muka-tile__photo-main {
|
|
3674
|
+
aspect-ratio: 1280 / 720;
|
|
3675
|
+
}
|
|
3730
3676
|
|
|
3731
|
-
/*
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
.muka-textarea {
|
|
3735
|
-
display: inline-flex;
|
|
3736
|
-
flex-direction: column;
|
|
3737
|
-
gap: var(--spacing-2);
|
|
3677
|
+
/* 1:1 aspect for top + sm */
|
|
3678
|
+
.muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
|
|
3679
|
+
aspect-ratio: 1 / 1;
|
|
3738
3680
|
}
|
|
3739
3681
|
|
|
3740
|
-
/*
|
|
3741
|
-
.muka-
|
|
3742
|
-
|
|
3743
|
-
|
|
3682
|
+
/* Fixed size for left/right + sm */
|
|
3683
|
+
.muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
|
|
3684
|
+
.muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
|
|
3685
|
+
width: 80px;
|
|
3686
|
+
height: 80px;
|
|
3687
|
+
aspect-ratio: auto;
|
|
3744
3688
|
}
|
|
3745
3689
|
|
|
3746
|
-
.muka-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3690
|
+
.muka-tile__photo-main img {
|
|
3691
|
+
width: 100%;
|
|
3692
|
+
height: 100%;
|
|
3693
|
+
object-fit: cover;
|
|
3694
|
+
display: block;
|
|
3751
3695
|
}
|
|
3752
3696
|
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3697
|
+
/* ─── Favourite overlay ───────────────────────────────── */
|
|
3698
|
+
|
|
3699
|
+
.muka-tile__favourite {
|
|
3700
|
+
position: absolute;
|
|
3701
|
+
z-index: 3;
|
|
3758
3702
|
}
|
|
3759
3703
|
|
|
3760
|
-
.muka-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
3704
|
+
.muka-tile--lg .muka-tile__favourite,
|
|
3705
|
+
.muka-tile--md .muka-tile__favourite {
|
|
3706
|
+
top: var(--spacing-4);
|
|
3707
|
+
right: var(--spacing-4);
|
|
3765
3708
|
}
|
|
3766
3709
|
|
|
3767
|
-
.muka-
|
|
3768
|
-
|
|
3710
|
+
.muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
|
|
3711
|
+
top: var(--spacing-1);
|
|
3712
|
+
right: var(--spacing-1);
|
|
3769
3713
|
}
|
|
3770
3714
|
|
|
3771
|
-
/*
|
|
3772
|
-
|
|
3715
|
+
/* ─── Thumbnails ──────────────────────────────────────── */
|
|
3716
|
+
|
|
3717
|
+
.muka-tile__thumbnails {
|
|
3773
3718
|
display: flex;
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
3779
|
-
box-sizing: border-box;
|
|
3719
|
+
gap: 2px;
|
|
3720
|
+
overflow: hidden;
|
|
3721
|
+
flex-shrink: 0;
|
|
3722
|
+
height: 80px;
|
|
3780
3723
|
}
|
|
3781
3724
|
|
|
3782
|
-
.muka-
|
|
3783
|
-
|
|
3784
|
-
|
|
3725
|
+
.muka-tile__thumbnail {
|
|
3726
|
+
width: 80px;
|
|
3727
|
+
height: 80px;
|
|
3728
|
+
flex-shrink: 0;
|
|
3729
|
+
overflow: hidden;
|
|
3785
3730
|
}
|
|
3786
3731
|
|
|
3787
|
-
.muka-
|
|
3788
|
-
|
|
3789
|
-
|
|
3732
|
+
.muka-tile__thumbnail img {
|
|
3733
|
+
width: 100%;
|
|
3734
|
+
height: 100%;
|
|
3735
|
+
object-fit: cover;
|
|
3736
|
+
display: block;
|
|
3790
3737
|
}
|
|
3791
3738
|
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3739
|
+
/* Gap between main photo and thumbnails */
|
|
3740
|
+
.muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
|
|
3741
|
+
margin-top: 2px;
|
|
3795
3742
|
}
|
|
3796
3743
|
|
|
3797
|
-
/*
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3744
|
+
/* ─── Content section ─────────────────────────────────── */
|
|
3745
|
+
|
|
3746
|
+
.muka-tile__content {
|
|
3747
|
+
display: flex;
|
|
3748
|
+
flex-direction: column;
|
|
3749
|
+
flex: 1;
|
|
3750
|
+
min-width: 0;
|
|
3803
3751
|
}
|
|
3804
3752
|
|
|
3805
|
-
/*
|
|
3806
|
-
.muka-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
background-color: var(--input-field-color-error-background);
|
|
3810
|
-
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
3753
|
+
/* Top layout: content has horizontal padding */
|
|
3754
|
+
.muka-tile--image-top.muka-tile--lg .muka-tile__content {
|
|
3755
|
+
padding: 0 var(--spacing-3);
|
|
3756
|
+
gap: var(--spacing-1);
|
|
3811
3757
|
}
|
|
3812
3758
|
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
border-color: var(--input-field-color-disabled-border);
|
|
3817
|
-
cursor: not-allowed;
|
|
3759
|
+
.muka-tile--image-top.muka-tile--md .muka-tile__content {
|
|
3760
|
+
padding: 0 var(--spacing-3);
|
|
3761
|
+
gap: var(--spacing-2);
|
|
3818
3762
|
}
|
|
3819
3763
|
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
flex: 1;
|
|
3823
|
-
border: none;
|
|
3824
|
-
outline: none;
|
|
3825
|
-
background: transparent;
|
|
3826
|
-
color: var(--input-field-color-default-foreground);
|
|
3827
|
-
font-family: var(--text-input-md-fontFamily);
|
|
3828
|
-
font-weight: var(--text-input-md-fontWeight);
|
|
3829
|
-
font-size: var(--text-input-md-fontSize);
|
|
3830
|
-
line-height: var(--text-input-md-lineHeight);
|
|
3831
|
-
padding: 0;
|
|
3832
|
-
width: 100%;
|
|
3833
|
-
min-width: 0;
|
|
3764
|
+
.muka-tile--image-top.muka-tile--sm .muka-tile__content {
|
|
3765
|
+
gap: var(--spacing-2);
|
|
3834
3766
|
}
|
|
3835
3767
|
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
line-height: var(--text-input-sm-lineHeight);
|
|
3768
|
+
/* Left/right layout: content grows to fill space */
|
|
3769
|
+
.muka-tile--image-left .muka-tile__content,
|
|
3770
|
+
.muka-tile--image-right .muka-tile__content {
|
|
3771
|
+
gap: var(--spacing-3);
|
|
3841
3772
|
}
|
|
3842
3773
|
|
|
3843
|
-
.muka-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
font-size: var(--text-input-lg-fontSize);
|
|
3847
|
-
line-height: var(--text-input-lg-lineHeight);
|
|
3774
|
+
.muka-tile--image-left.muka-tile--lg .muka-tile__content,
|
|
3775
|
+
.muka-tile--image-right.muka-tile--lg .muka-tile__content {
|
|
3776
|
+
padding: 0 var(--spacing-3);
|
|
3848
3777
|
}
|
|
3849
3778
|
|
|
3850
|
-
.muka-
|
|
3851
|
-
|
|
3779
|
+
.muka-tile--image-left.muka-tile--md .muka-tile__content,
|
|
3780
|
+
.muka-tile--image-right.muka-tile--md .muka-tile__content {
|
|
3781
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
3852
3782
|
}
|
|
3853
3783
|
|
|
3854
|
-
.muka-
|
|
3855
|
-
|
|
3856
|
-
|
|
3784
|
+
.muka-tile--image-left.muka-tile--sm .muka-tile__content,
|
|
3785
|
+
.muka-tile--image-right.muka-tile--sm .muka-tile__content {
|
|
3786
|
+
gap: var(--spacing-2);
|
|
3857
3787
|
}
|
|
3858
3788
|
|
|
3859
|
-
/*
|
|
3860
|
-
|
|
3789
|
+
/* ─── Header (heading row + price) ────────────────────── */
|
|
3790
|
+
|
|
3791
|
+
.muka-tile__header {
|
|
3861
3792
|
display: flex;
|
|
3862
|
-
justify-content: space-between;
|
|
3863
3793
|
align-items: flex-start;
|
|
3864
|
-
gap: var(--spacing-
|
|
3794
|
+
gap: var(--spacing-4);
|
|
3865
3795
|
}
|
|
3866
3796
|
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
color: var(--color-text-subtle-default);
|
|
3873
|
-
margin: 0;
|
|
3797
|
+
/* Small horizontal: row with text and action */
|
|
3798
|
+
.muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
|
|
3799
|
+
gap: var(--spacing-2);
|
|
3800
|
+
align-items: center;
|
|
3801
|
+
padding-top: var(--spacing-1);
|
|
3874
3802
|
}
|
|
3875
3803
|
|
|
3876
|
-
|
|
3877
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
3878
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
3879
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
3880
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
3881
|
-
color: var(--color-state-error-default);
|
|
3882
|
-
margin: 0;
|
|
3883
|
-
}
|
|
3804
|
+
/* ─── Text group ──────────────────────────────────────── */
|
|
3884
3805
|
|
|
3885
|
-
.muka-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
margin-left: auto;
|
|
3806
|
+
.muka-tile__text {
|
|
3807
|
+
display: flex;
|
|
3808
|
+
flex-direction: column;
|
|
3809
|
+
flex: 1;
|
|
3810
|
+
min-width: 0;
|
|
3811
|
+
gap: var(--spacing-2);
|
|
3892
3812
|
}
|
|
3893
3813
|
|
|
3814
|
+
/* ─── Heading typography ──────────────────────────────── */
|
|
3894
3815
|
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
.muka-text-link {
|
|
3899
|
-
display: inline;
|
|
3900
|
-
cursor: pointer;
|
|
3901
|
-
text-decoration: underline;
|
|
3902
|
-
/* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
|
|
3903
|
-
text-underline-offset: 0.2em;
|
|
3904
|
-
text-decoration-thickness: from-font;
|
|
3905
|
-
/* Rounds the focus ring's corners; the link itself has no visible box. */
|
|
3906
|
-
border-radius: var(--border-radius-sm);
|
|
3907
|
-
transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
|
|
3816
|
+
.muka-tile__heading {
|
|
3817
|
+
margin: 0;
|
|
3908
3818
|
}
|
|
3909
3819
|
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
font-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
3820
|
+
.muka-tile--lg .muka-tile__heading {
|
|
3821
|
+
font-family: var(--text-label-2xl-semibold-fontFamily);
|
|
3822
|
+
font-weight: var(--text-label-2xl-semibold-fontWeight);
|
|
3823
|
+
font-size: var(--text-label-2xl-semibold-fontSize);
|
|
3824
|
+
line-height: var(--text-label-2xl-semibold-lineHeight);
|
|
3825
|
+
color: var(--color-text-default-default);
|
|
3917
3826
|
}
|
|
3918
3827
|
|
|
3919
|
-
.muka-
|
|
3920
|
-
font-family: var(--text-
|
|
3921
|
-
font-weight: var(--text-
|
|
3922
|
-
font-size: var(--text-
|
|
3923
|
-
line-height: var(--text-
|
|
3828
|
+
.muka-tile--md .muka-tile__heading {
|
|
3829
|
+
font-family: var(--text-label-xl-semibold-fontFamily);
|
|
3830
|
+
font-weight: var(--text-label-xl-semibold-fontWeight);
|
|
3831
|
+
font-size: var(--text-label-xl-semibold-fontSize);
|
|
3832
|
+
line-height: var(--text-label-xl-semibold-lineHeight);
|
|
3833
|
+
color: var(--color-text-default-default);
|
|
3924
3834
|
}
|
|
3925
3835
|
|
|
3926
|
-
.muka-
|
|
3927
|
-
font-family: var(--text-
|
|
3928
|
-
font-weight: var(--text-
|
|
3929
|
-
font-size: var(--text-
|
|
3930
|
-
line-height: var(--text-
|
|
3836
|
+
.muka-tile--sm .muka-tile__heading {
|
|
3837
|
+
font-family: var(--text-label-lg-bold-fontFamily);
|
|
3838
|
+
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
3839
|
+
font-size: var(--text-label-lg-bold-fontSize);
|
|
3840
|
+
line-height: var(--text-label-lg-bold-lineHeight);
|
|
3841
|
+
color: var(--color-text-default-default);
|
|
3931
3842
|
}
|
|
3932
3843
|
|
|
3933
|
-
/* ───
|
|
3934
|
-
Visited repeats the default colour on purpose: the design treats visited and
|
|
3935
|
-
default the same, and pinning it stops the browser's purple from showing. */
|
|
3936
|
-
.muka-text-link--default,
|
|
3937
|
-
.muka-text-link--default:visited {
|
|
3938
|
-
color: var(--color-text-action-default);
|
|
3939
|
-
}
|
|
3844
|
+
/* ─── Subheading typography ───────────────────────────── */
|
|
3940
3845
|
|
|
3941
|
-
.muka-
|
|
3942
|
-
|
|
3943
|
-
color: var(--color-text-
|
|
3846
|
+
.muka-tile__subheading {
|
|
3847
|
+
margin: 0;
|
|
3848
|
+
color: var(--color-text-subtle-default);
|
|
3944
3849
|
}
|
|
3945
3850
|
|
|
3946
|
-
.muka-
|
|
3947
|
-
|
|
3851
|
+
.muka-tile--lg .muka-tile__subheading {
|
|
3852
|
+
font-family: var(--text-subheading-md-fontFamily);
|
|
3853
|
+
font-weight: var(--text-subheading-md-fontWeight);
|
|
3854
|
+
font-size: var(--text-subheading-md-fontSize);
|
|
3855
|
+
line-height: var(--text-subheading-md-lineHeight);
|
|
3948
3856
|
}
|
|
3949
3857
|
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3858
|
+
.muka-tile--md .muka-tile__subheading,
|
|
3859
|
+
.muka-tile--sm .muka-tile__subheading {
|
|
3860
|
+
font-family: var(--text-subheading-sm-fontFamily);
|
|
3861
|
+
font-weight: var(--text-subheading-sm-fontWeight);
|
|
3862
|
+
font-size: var(--text-subheading-sm-fontSize);
|
|
3863
|
+
line-height: var(--text-subheading-sm-lineHeight);
|
|
3955
3864
|
}
|
|
3956
3865
|
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
.muka-
|
|
3866
|
+
/* ─── Description typography ──────────────────────────── */
|
|
3867
|
+
|
|
3868
|
+
.muka-tile__description {
|
|
3869
|
+
margin: 0;
|
|
3960
3870
|
color: var(--color-text-default-default);
|
|
3961
3871
|
}
|
|
3962
3872
|
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3873
|
+
.muka-tile--lg .muka-tile__description {
|
|
3874
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
3875
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
3876
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
3877
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
3968
3878
|
}
|
|
3969
3879
|
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3880
|
+
.muka-tile--md .muka-tile__description,
|
|
3881
|
+
.muka-tile--sm .muka-tile__description {
|
|
3882
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
3883
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
3884
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
3885
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
3974
3886
|
}
|
|
3975
3887
|
|
|
3888
|
+
/* Description overflow for medium */
|
|
3889
|
+
.muka-tile--md .muka-tile__description {
|
|
3890
|
+
overflow: hidden;
|
|
3891
|
+
text-overflow: ellipsis;
|
|
3892
|
+
}
|
|
3976
3893
|
|
|
3977
|
-
/*
|
|
3978
|
-
/* Tile Component Styles - Using Muka Design Tokens */
|
|
3979
|
-
|
|
3980
|
-
/* ─── Base ────────────────────────────────────────────── */
|
|
3894
|
+
/* ─── Price slot ──────────────────────────────────────── */
|
|
3981
3895
|
|
|
3982
|
-
.muka-
|
|
3983
|
-
|
|
3984
|
-
color: var(--color-text-default-default);
|
|
3896
|
+
.muka-tile__price {
|
|
3897
|
+
flex-shrink: 0;
|
|
3985
3898
|
}
|
|
3986
3899
|
|
|
3987
|
-
|
|
3988
|
-
cursor: pointer;
|
|
3989
|
-
user-select: none;
|
|
3990
|
-
}
|
|
3900
|
+
/* ─── Action slot ─────────────────────────────────────── */
|
|
3991
3901
|
|
|
3992
|
-
.muka-
|
|
3993
|
-
|
|
3994
|
-
outline-offset: 2px;
|
|
3995
|
-
border-radius: var(--border-radius-lg);
|
|
3902
|
+
.muka-tile__action {
|
|
3903
|
+
flex-shrink: 0;
|
|
3996
3904
|
}
|
|
3997
3905
|
|
|
3998
|
-
/* ─── Image position variants ─────────────────────────── */
|
|
3999
3906
|
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
}
|
|
3907
|
+
/* Thumbnail */
|
|
3908
|
+
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
4003
3909
|
|
|
4004
|
-
.muka-
|
|
4005
|
-
|
|
3910
|
+
.muka-thumbnail {
|
|
3911
|
+
position: relative;
|
|
3912
|
+
flex-shrink: 0;
|
|
4006
3913
|
}
|
|
4007
3914
|
|
|
4008
|
-
.
|
|
4009
|
-
|
|
3915
|
+
/* The frame carries the border, background and shape clip. Keeping it separate
|
|
3916
|
+
from the root lets the remove (×) button sit outside the clip (needed for the
|
|
3917
|
+
circular/ellipse shape, whose corners would otherwise clip the button). */
|
|
3918
|
+
.muka-thumbnail__frame {
|
|
3919
|
+
position: absolute;
|
|
3920
|
+
inset: 0;
|
|
3921
|
+
overflow: hidden;
|
|
3922
|
+
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
3923
|
+
border-radius: var(--border-radius-lg);
|
|
3924
|
+
background-color: var(--color-surface-level1);
|
|
4010
3925
|
}
|
|
4011
3926
|
|
|
4012
|
-
/* ───
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
3927
|
+
/* ─── Shapes ──────────────────────────────────────────── */
|
|
3928
|
+
.muka-thumbnail--4-3 {
|
|
3929
|
+
width: 160px;
|
|
3930
|
+
height: 120px;
|
|
4016
3931
|
}
|
|
4017
3932
|
|
|
4018
|
-
.muka-
|
|
4019
|
-
|
|
4020
|
-
|
|
3933
|
+
.muka-thumbnail--1-1 {
|
|
3934
|
+
width: 120px;
|
|
3935
|
+
height: 120px;
|
|
4021
3936
|
}
|
|
4022
3937
|
|
|
4023
|
-
.muka-
|
|
4024
|
-
|
|
4025
|
-
|
|
3938
|
+
.muka-thumbnail--ellipse {
|
|
3939
|
+
width: 120px;
|
|
3940
|
+
height: 120px;
|
|
4026
3941
|
}
|
|
4027
3942
|
|
|
4028
|
-
/*
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
align-items: center;
|
|
3943
|
+
/* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
|
|
3944
|
+
.muka-thumbnail--fluid {
|
|
3945
|
+
width: 100%;
|
|
3946
|
+
height: auto;
|
|
3947
|
+
aspect-ratio: 1 / 1;
|
|
4034
3948
|
}
|
|
4035
3949
|
|
|
4036
|
-
.muka-
|
|
4037
|
-
|
|
4038
|
-
gap: var(--spacing-6);
|
|
4039
|
-
align-items: center;
|
|
3950
|
+
.muka-thumbnail--fluid.muka-thumbnail--4-3 {
|
|
3951
|
+
aspect-ratio: 4 / 3;
|
|
4040
3952
|
}
|
|
4041
3953
|
|
|
4042
|
-
.muka-
|
|
4043
|
-
|
|
4044
|
-
gap: var(--spacing-4);
|
|
4045
|
-
align-items: flex-start;
|
|
3954
|
+
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
3955
|
+
border-radius: var(--border-radius-full);
|
|
4046
3956
|
}
|
|
4047
3957
|
|
|
4048
|
-
/*
|
|
3958
|
+
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
3959
|
+
interactive hover zoom has a clean origin. */
|
|
3960
|
+
.muka-thumbnail__image {
|
|
3961
|
+
position: absolute;
|
|
3962
|
+
inset: 0;
|
|
3963
|
+
width: 100%;
|
|
3964
|
+
height: 100%;
|
|
3965
|
+
object-fit: cover;
|
|
3966
|
+
display: block;
|
|
3967
|
+
transform-origin: center;
|
|
3968
|
+
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
3969
|
+
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
3970
|
+
}
|
|
4049
3971
|
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
3972
|
+
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
3973
|
+
.muka-thumbnail__trigger {
|
|
3974
|
+
position: absolute;
|
|
3975
|
+
inset: 0;
|
|
3976
|
+
padding: 0;
|
|
3977
|
+
border: 0;
|
|
3978
|
+
background: none;
|
|
3979
|
+
cursor: pointer;
|
|
4053
3980
|
overflow: hidden;
|
|
4054
|
-
display: flex;
|
|
4055
|
-
flex-direction: column;
|
|
4056
|
-
isolation: isolate;
|
|
4057
3981
|
}
|
|
4058
3982
|
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
border-radius: var(--border-radius-lg);
|
|
3983
|
+
.muka-thumbnail__trigger:focus-visible {
|
|
3984
|
+
outline: 2px solid var(--color-border-focus);
|
|
3985
|
+
outline-offset: -2px;
|
|
4063
3986
|
}
|
|
4064
3987
|
|
|
4065
|
-
|
|
4066
|
-
|
|
3988
|
+
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
3989
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
3990
|
+
transform: scale(1.05);
|
|
4067
3991
|
}
|
|
4068
3992
|
|
|
4069
|
-
/*
|
|
4070
|
-
.muka-
|
|
4071
|
-
|
|
3993
|
+
/* ─── Loading overlay + progress donut ────────────────── */
|
|
3994
|
+
.muka-thumbnail__overlay {
|
|
3995
|
+
position: absolute;
|
|
3996
|
+
inset: 0;
|
|
3997
|
+
display: flex;
|
|
3998
|
+
align-items: center;
|
|
3999
|
+
justify-content: center;
|
|
4000
|
+
background-color: var(--dialog-color-backdrop);
|
|
4072
4001
|
}
|
|
4073
4002
|
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
width: 520px;
|
|
4003
|
+
.muka-thumbnail__progress {
|
|
4004
|
+
width: 40px;
|
|
4005
|
+
height: 40px;
|
|
4078
4006
|
}
|
|
4079
4007
|
|
|
4080
|
-
/*
|
|
4081
|
-
.muka-
|
|
4082
|
-
|
|
4083
|
-
|
|
4008
|
+
/* ─── Error / corrupt state ───────────────────────────── */
|
|
4009
|
+
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
4010
|
+
background-color: var(--alias-color-state-error-muted);
|
|
4011
|
+
border-color: var(--alias-color-state-error-default);
|
|
4084
4012
|
}
|
|
4085
4013
|
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4014
|
+
.muka-thumbnail__error {
|
|
4015
|
+
position: absolute;
|
|
4016
|
+
inset: 0;
|
|
4017
|
+
display: flex;
|
|
4018
|
+
flex-direction: column;
|
|
4019
|
+
align-items: center;
|
|
4020
|
+
justify-content: center;
|
|
4021
|
+
gap: var(--spacing-2);
|
|
4022
|
+
padding: var(--spacing-3);
|
|
4023
|
+
text-align: center;
|
|
4091
4024
|
}
|
|
4092
4025
|
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
.muka-tile__photo-main {
|
|
4096
|
-
position: relative;
|
|
4097
|
-
width: 100%;
|
|
4098
|
-
overflow: hidden;
|
|
4099
|
-
flex-shrink: 0;
|
|
4026
|
+
.muka-thumbnail__error-icon {
|
|
4027
|
+
color: var(--alert-color-error-accent);
|
|
4100
4028
|
}
|
|
4101
4029
|
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4030
|
+
.muka-thumbnail__caption {
|
|
4031
|
+
max-width: 100%;
|
|
4032
|
+
overflow: hidden;
|
|
4033
|
+
text-overflow: ellipsis;
|
|
4034
|
+
white-space: nowrap;
|
|
4035
|
+
color: var(--alert-color-error-accent);
|
|
4036
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4037
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
4038
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4039
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4106
4040
|
}
|
|
4107
4041
|
|
|
4108
|
-
/*
|
|
4109
|
-
.muka-
|
|
4110
|
-
|
|
4042
|
+
/* ─── Remove (×) button ───────────────────────────────── */
|
|
4043
|
+
.muka-thumbnail__remove {
|
|
4044
|
+
position: absolute;
|
|
4045
|
+
top: var(--spacing-2);
|
|
4046
|
+
right: var(--spacing-2);
|
|
4047
|
+
display: flex;
|
|
4048
|
+
align-items: center;
|
|
4049
|
+
justify-content: center;
|
|
4050
|
+
width: var(--size-2xl);
|
|
4051
|
+
height: var(--size-2xl);
|
|
4052
|
+
padding: 0;
|
|
4053
|
+
color: var(--button-color-tertiary-foreground-default);
|
|
4054
|
+
background-color: var(--button-color-tertiary-background-default);
|
|
4055
|
+
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
4056
|
+
border-radius: var(--border-radius-lg);
|
|
4057
|
+
cursor: pointer;
|
|
4058
|
+
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
4059
|
+
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4111
4060
|
}
|
|
4112
4061
|
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
height: 80px;
|
|
4118
|
-
aspect-ratio: auto;
|
|
4062
|
+
.muka-thumbnail__remove:hover {
|
|
4063
|
+
color: var(--button-color-tertiary-foreground-hover);
|
|
4064
|
+
background-color: var(--button-color-tertiary-background-hover);
|
|
4065
|
+
border-color: var(--button-color-tertiary-border-hover);
|
|
4119
4066
|
}
|
|
4120
4067
|
|
|
4121
|
-
.muka-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
display: block;
|
|
4068
|
+
.muka-thumbnail__remove:active {
|
|
4069
|
+
color: var(--button-color-tertiary-foreground-pressed);
|
|
4070
|
+
background-color: var(--button-color-tertiary-background-pressed);
|
|
4071
|
+
border-color: var(--button-color-tertiary-border-pressed);
|
|
4126
4072
|
}
|
|
4127
4073
|
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
position: absolute;
|
|
4132
|
-
z-index: 3;
|
|
4074
|
+
.muka-thumbnail__remove:focus-visible {
|
|
4075
|
+
outline: 2px solid var(--color-border-focus);
|
|
4076
|
+
outline-offset: 2px;
|
|
4133
4077
|
}
|
|
4134
4078
|
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4079
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4080
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4081
|
+
.muka-thumbnail__image,
|
|
4082
|
+
.muka-thumbnail__remove {
|
|
4083
|
+
transition: none;
|
|
4084
|
+
}
|
|
4140
4085
|
|
|
4141
|
-
.muka-
|
|
4142
|
-
|
|
4143
|
-
|
|
4086
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4087
|
+
transform: none;
|
|
4088
|
+
}
|
|
4144
4089
|
}
|
|
4145
4090
|
|
|
4146
|
-
/* ─── Thumbnails ──────────────────────────────────────── */
|
|
4147
4091
|
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
gap: 2px;
|
|
4151
|
-
overflow: hidden;
|
|
4152
|
-
flex-shrink: 0;
|
|
4153
|
-
height: 80px;
|
|
4154
|
-
}
|
|
4092
|
+
/* Textarea */
|
|
4093
|
+
/* Textarea Component Styles - Using Muka Design Tokens */
|
|
4155
4094
|
|
|
4156
|
-
.muka-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
overflow: hidden;
|
|
4095
|
+
.muka-textarea {
|
|
4096
|
+
display: inline-flex;
|
|
4097
|
+
flex-direction: column;
|
|
4098
|
+
gap: var(--spacing-2);
|
|
4161
4099
|
}
|
|
4162
4100
|
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
display: block;
|
|
4101
|
+
/* Label */
|
|
4102
|
+
.muka-textarea__label {
|
|
4103
|
+
color: var(--color-text-default-default);
|
|
4104
|
+
cursor: pointer;
|
|
4168
4105
|
}
|
|
4169
4106
|
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4107
|
+
.muka-textarea__label--sm {
|
|
4108
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
4109
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4110
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4111
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4173
4112
|
}
|
|
4174
4113
|
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
flex: 1;
|
|
4181
|
-
min-width: 0;
|
|
4114
|
+
.muka-textarea__label--md {
|
|
4115
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
4116
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
4117
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
4118
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
4182
4119
|
}
|
|
4183
4120
|
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4121
|
+
.muka-textarea__label--lg {
|
|
4122
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
4123
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
4124
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
4125
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
4188
4126
|
}
|
|
4189
4127
|
|
|
4190
|
-
.muka-
|
|
4191
|
-
|
|
4192
|
-
gap: var(--spacing-2);
|
|
4128
|
+
.muka-textarea__required {
|
|
4129
|
+
color: var(--color-state-error-default);
|
|
4193
4130
|
}
|
|
4194
4131
|
|
|
4195
|
-
|
|
4196
|
-
|
|
4132
|
+
/* Field container */
|
|
4133
|
+
.muka-textarea__field {
|
|
4134
|
+
display: flex;
|
|
4135
|
+
background-color: var(--input-field-color-default-background);
|
|
4136
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
4137
|
+
border-radius: var(--input-field-radius-md);
|
|
4138
|
+
padding: var(--input-field-padding-y) var(--input-field-padding-x);
|
|
4139
|
+
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
4140
|
+
box-sizing: border-box;
|
|
4197
4141
|
}
|
|
4198
4142
|
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
gap: var(--spacing-3);
|
|
4143
|
+
.muka-textarea__field--sm {
|
|
4144
|
+
min-height: var(--input-textarea-height-sm);
|
|
4145
|
+
border-radius: var(--input-field-radius-sm);
|
|
4203
4146
|
}
|
|
4204
4147
|
|
|
4205
|
-
.muka-
|
|
4206
|
-
|
|
4207
|
-
|
|
4148
|
+
.muka-textarea__field--md {
|
|
4149
|
+
min-height: var(--input-textarea-height-default);
|
|
4150
|
+
border-radius: var(--input-field-radius-md);
|
|
4208
4151
|
}
|
|
4209
4152
|
|
|
4210
|
-
.muka-
|
|
4211
|
-
|
|
4212
|
-
|
|
4153
|
+
.muka-textarea__field--lg {
|
|
4154
|
+
min-height: var(--input-textarea-height-lg);
|
|
4155
|
+
border-radius: var(--input-field-radius-lg);
|
|
4213
4156
|
}
|
|
4214
4157
|
|
|
4215
|
-
|
|
4216
|
-
.muka-
|
|
4217
|
-
|
|
4158
|
+
/* Focus state */
|
|
4159
|
+
.muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
|
|
4160
|
+
border-width: var(--border-width-bold);
|
|
4161
|
+
border-color: var(--input-field-color-focus-border);
|
|
4162
|
+
background-color: var(--input-field-color-focus-background);
|
|
4163
|
+
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
4218
4164
|
}
|
|
4219
4165
|
|
|
4220
|
-
/*
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4166
|
+
/* Error state */
|
|
4167
|
+
.muka-textarea__field--error:not(.muka-textarea__field--disabled) {
|
|
4168
|
+
border-width: var(--border-width-bold);
|
|
4169
|
+
border-color: var(--input-field-color-error-border);
|
|
4170
|
+
background-color: var(--input-field-color-error-background);
|
|
4171
|
+
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
4226
4172
|
}
|
|
4227
4173
|
|
|
4228
|
-
/*
|
|
4229
|
-
.muka-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4174
|
+
/* Disabled state */
|
|
4175
|
+
.muka-textarea__field--disabled {
|
|
4176
|
+
background-color: var(--input-field-color-disabled-background);
|
|
4177
|
+
border-color: var(--input-field-color-disabled-border);
|
|
4178
|
+
cursor: not-allowed;
|
|
4233
4179
|
}
|
|
4234
4180
|
|
|
4235
|
-
/*
|
|
4236
|
-
|
|
4237
|
-
.muka-tile__text {
|
|
4238
|
-
display: flex;
|
|
4239
|
-
flex-direction: column;
|
|
4181
|
+
/* Native textarea */
|
|
4182
|
+
.muka-textarea__native {
|
|
4240
4183
|
flex: 1;
|
|
4184
|
+
border: none;
|
|
4185
|
+
outline: none;
|
|
4186
|
+
background: transparent;
|
|
4187
|
+
color: var(--input-field-color-default-foreground);
|
|
4188
|
+
font-family: var(--text-input-md-fontFamily);
|
|
4189
|
+
font-weight: var(--text-input-md-fontWeight);
|
|
4190
|
+
font-size: var(--text-input-md-fontSize);
|
|
4191
|
+
line-height: var(--text-input-md-lineHeight);
|
|
4192
|
+
padding: 0;
|
|
4193
|
+
width: 100%;
|
|
4241
4194
|
min-width: 0;
|
|
4242
|
-
gap: var(--spacing-2);
|
|
4243
4195
|
}
|
|
4244
4196
|
|
|
4245
|
-
|
|
4197
|
+
.muka-textarea__field--sm .muka-textarea__native {
|
|
4198
|
+
font-family: var(--text-input-sm-fontFamily);
|
|
4199
|
+
font-weight: var(--text-input-sm-fontWeight);
|
|
4200
|
+
font-size: var(--text-input-sm-fontSize);
|
|
4201
|
+
line-height: var(--text-input-sm-lineHeight);
|
|
4202
|
+
}
|
|
4246
4203
|
|
|
4247
|
-
.muka-
|
|
4248
|
-
|
|
4204
|
+
.muka-textarea__field--lg .muka-textarea__native {
|
|
4205
|
+
font-family: var(--text-input-lg-fontFamily);
|
|
4206
|
+
font-weight: var(--text-input-lg-fontWeight);
|
|
4207
|
+
font-size: var(--text-input-lg-fontSize);
|
|
4208
|
+
line-height: var(--text-input-lg-lineHeight);
|
|
4249
4209
|
}
|
|
4250
4210
|
|
|
4251
|
-
.muka-
|
|
4252
|
-
|
|
4253
|
-
font-weight: var(--text-label-2xl-semibold-fontWeight);
|
|
4254
|
-
font-size: var(--text-label-2xl-semibold-fontSize);
|
|
4255
|
-
line-height: var(--text-label-2xl-semibold-lineHeight);
|
|
4256
|
-
color: var(--color-text-default-default);
|
|
4211
|
+
.muka-textarea__native::placeholder {
|
|
4212
|
+
color: var(--color-text-subtle-default);
|
|
4257
4213
|
}
|
|
4258
4214
|
|
|
4259
|
-
.muka-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
font-size: var(--text-label-xl-semibold-fontSize);
|
|
4263
|
-
line-height: var(--text-label-xl-semibold-lineHeight);
|
|
4264
|
-
color: var(--color-text-default-default);
|
|
4215
|
+
.muka-textarea__field--disabled .muka-textarea__native {
|
|
4216
|
+
color: var(--input-field-color-disabled-foreground);
|
|
4217
|
+
cursor: not-allowed;
|
|
4265
4218
|
}
|
|
4266
4219
|
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4220
|
+
/* Footer (helper/error + count) */
|
|
4221
|
+
.muka-textarea__footer {
|
|
4222
|
+
display: flex;
|
|
4223
|
+
justify-content: space-between;
|
|
4224
|
+
align-items: flex-start;
|
|
4225
|
+
gap: var(--spacing-2);
|
|
4273
4226
|
}
|
|
4274
4227
|
|
|
4275
|
-
|
|
4228
|
+
.muka-textarea__helper {
|
|
4229
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4230
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4231
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
4232
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4233
|
+
color: var(--color-text-subtle-default);
|
|
4234
|
+
margin: 0;
|
|
4235
|
+
}
|
|
4276
4236
|
|
|
4277
|
-
.muka-
|
|
4237
|
+
.muka-textarea__error {
|
|
4238
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4239
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4240
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
4241
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4242
|
+
color: var(--color-state-error-default);
|
|
4278
4243
|
margin: 0;
|
|
4279
|
-
color: var(--color-text-subtle-default);
|
|
4280
4244
|
}
|
|
4281
4245
|
|
|
4282
|
-
.muka-
|
|
4283
|
-
font-family: var(--text-
|
|
4284
|
-
font-weight: var(--text-
|
|
4285
|
-
font-size: var(--text-
|
|
4286
|
-
line-height: var(--text-
|
|
4246
|
+
.muka-textarea__count {
|
|
4247
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4248
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4249
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
4250
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4251
|
+
color: var(--color-text-subtle-default);
|
|
4252
|
+
margin-left: auto;
|
|
4287
4253
|
}
|
|
4288
4254
|
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4255
|
+
|
|
4256
|
+
/* TextLink */
|
|
4257
|
+
/* TextLink Component Styles - Using Muka Design Tokens */
|
|
4258
|
+
|
|
4259
|
+
.muka-text-link {
|
|
4260
|
+
display: inline;
|
|
4261
|
+
cursor: pointer;
|
|
4262
|
+
text-decoration: underline;
|
|
4263
|
+
/* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
|
|
4264
|
+
text-underline-offset: 0.2em;
|
|
4265
|
+
text-decoration-thickness: from-font;
|
|
4266
|
+
/* Rounds the focus ring's corners; the link itself has no visible box. */
|
|
4267
|
+
border-radius: var(--border-radius-sm);
|
|
4268
|
+
transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
|
|
4295
4269
|
}
|
|
4296
4270
|
|
|
4297
|
-
/* ───
|
|
4271
|
+
/* ─── Sizes ───────────────────────────────────────────────
|
|
4272
|
+
Mirrors the body text scale so a link matches the copy it sits in. */
|
|
4273
|
+
.muka-text-link--sm {
|
|
4274
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4275
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4276
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
4277
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4278
|
+
}
|
|
4298
4279
|
|
|
4299
|
-
.muka-
|
|
4300
|
-
|
|
4301
|
-
|
|
4280
|
+
.muka-text-link--base {
|
|
4281
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
4282
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4283
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
4284
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
4302
4285
|
}
|
|
4303
4286
|
|
|
4304
|
-
.muka-
|
|
4287
|
+
.muka-text-link--lg {
|
|
4305
4288
|
font-family: var(--text-body-lg-regular-fontFamily);
|
|
4306
4289
|
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
4307
4290
|
font-size: var(--text-body-lg-regular-fontSize);
|
|
4308
4291
|
line-height: var(--text-body-lg-regular-lineHeight);
|
|
4309
4292
|
}
|
|
4310
4293
|
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4294
|
+
/* ─── Variant: default (accent) ───────────────────────────
|
|
4295
|
+
Visited repeats the default colour on purpose: the design treats visited and
|
|
4296
|
+
default the same, and pinning it stops the browser's purple from showing. */
|
|
4297
|
+
.muka-text-link--default,
|
|
4298
|
+
.muka-text-link--default:visited {
|
|
4299
|
+
color: var(--color-text-action-default);
|
|
4317
4300
|
}
|
|
4318
4301
|
|
|
4319
|
-
|
|
4320
|
-
.muka-
|
|
4321
|
-
|
|
4322
|
-
text-overflow: ellipsis;
|
|
4302
|
+
.muka-text-link--default:hover,
|
|
4303
|
+
.muka-text-link--default:focus-visible {
|
|
4304
|
+
color: var(--color-text-action-hover);
|
|
4323
4305
|
}
|
|
4324
4306
|
|
|
4325
|
-
|
|
4307
|
+
.muka-text-link--default:active {
|
|
4308
|
+
color: var(--color-text-action-pressed);
|
|
4309
|
+
}
|
|
4326
4310
|
|
|
4327
|
-
|
|
4328
|
-
|
|
4311
|
+
/* ─── Variant: subtle (neutral) ───────────────────────────
|
|
4312
|
+
Hover, focus and pressed all darken to the default text colour. */
|
|
4313
|
+
.muka-text-link--subtle,
|
|
4314
|
+
.muka-text-link--subtle:visited {
|
|
4315
|
+
color: var(--color-text-subtle-default);
|
|
4329
4316
|
}
|
|
4330
4317
|
|
|
4331
|
-
|
|
4318
|
+
.muka-text-link--subtle:hover,
|
|
4319
|
+
.muka-text-link--subtle:focus-visible,
|
|
4320
|
+
.muka-text-link--subtle:active {
|
|
4321
|
+
color: var(--color-text-default-default);
|
|
4322
|
+
}
|
|
4332
4323
|
|
|
4333
|
-
|
|
4334
|
-
|
|
4324
|
+
/* ─── Focus ───────────────────────────────────────────────
|
|
4325
|
+
Same ring as every other focusable Muka component. */
|
|
4326
|
+
.muka-text-link:focus-visible {
|
|
4327
|
+
outline: 2px solid var(--color-border-focus);
|
|
4328
|
+
outline-offset: 2px;
|
|
4329
|
+
}
|
|
4330
|
+
|
|
4331
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4332
|
+
.muka-text-link {
|
|
4333
|
+
transition: none;
|
|
4334
|
+
}
|
|
4335
4335
|
}
|
|
4336
4336
|
|
|
4337
4337
|
|
|
@@ -6665,114 +6665,6 @@ body {
|
|
|
6665
6665
|
}
|
|
6666
6666
|
|
|
6667
6667
|
|
|
6668
|
-
/* SwipeActions */
|
|
6669
|
-
/* SwipeActions Component Styles */
|
|
6670
|
-
|
|
6671
|
-
.muka-swipe-actions {
|
|
6672
|
-
position: relative;
|
|
6673
|
-
overflow: hidden;
|
|
6674
|
-
touch-action: pan-y;
|
|
6675
|
-
-webkit-user-select: none;
|
|
6676
|
-
user-select: none;
|
|
6677
|
-
background-color: var(--color-surface-level3);
|
|
6678
|
-
}
|
|
6679
|
-
|
|
6680
|
-
.muka-swipe-actions--disabled {
|
|
6681
|
-
touch-action: auto;
|
|
6682
|
-
}
|
|
6683
|
-
|
|
6684
|
-
/* ─── Row that holds the actual content ────────────────── */
|
|
6685
|
-
|
|
6686
|
-
.muka-swipe-actions__row {
|
|
6687
|
-
position: relative;
|
|
6688
|
-
z-index: 1;
|
|
6689
|
-
background-color: inherit;
|
|
6690
|
-
will-change: transform;
|
|
6691
|
-
}
|
|
6692
|
-
|
|
6693
|
-
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
6694
|
-
|
|
6695
|
-
.muka-swipe-actions__panel {
|
|
6696
|
-
position: absolute;
|
|
6697
|
-
top: 0;
|
|
6698
|
-
bottom: 0;
|
|
6699
|
-
display: flex;
|
|
6700
|
-
align-items: stretch;
|
|
6701
|
-
z-index: 0;
|
|
6702
|
-
}
|
|
6703
|
-
|
|
6704
|
-
.muka-swipe-actions__panel--left {
|
|
6705
|
-
left: 0;
|
|
6706
|
-
}
|
|
6707
|
-
|
|
6708
|
-
.muka-swipe-actions__panel--right {
|
|
6709
|
-
right: 0;
|
|
6710
|
-
}
|
|
6711
|
-
|
|
6712
|
-
/* ─── Single action button ─────────────────────────────── */
|
|
6713
|
-
|
|
6714
|
-
.muka-swipe-actions__button {
|
|
6715
|
-
display: flex;
|
|
6716
|
-
flex-direction: column;
|
|
6717
|
-
align-items: center;
|
|
6718
|
-
justify-content: center;
|
|
6719
|
-
gap: var(--spacing-1);
|
|
6720
|
-
border: none;
|
|
6721
|
-
cursor: pointer;
|
|
6722
|
-
padding: var(--spacing-2);
|
|
6723
|
-
background-color: var(--color-surface-level2);
|
|
6724
|
-
color: var(--color-text-default-default);
|
|
6725
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
6726
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
6727
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
6728
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
6729
|
-
-webkit-tap-highlight-color: transparent;
|
|
6730
|
-
transition: filter 0.12s ease;
|
|
6731
|
-
}
|
|
6732
|
-
|
|
6733
|
-
.muka-swipe-actions__button:hover {
|
|
6734
|
-
filter: brightness(0.95);
|
|
6735
|
-
}
|
|
6736
|
-
|
|
6737
|
-
.muka-swipe-actions__button:focus-visible {
|
|
6738
|
-
outline: 2px solid var(--color-action-default);
|
|
6739
|
-
outline-offset: -2px;
|
|
6740
|
-
}
|
|
6741
|
-
|
|
6742
|
-
.muka-swipe-actions__button-icon {
|
|
6743
|
-
display: inline-flex;
|
|
6744
|
-
align-items: center;
|
|
6745
|
-
justify-content: center;
|
|
6746
|
-
}
|
|
6747
|
-
|
|
6748
|
-
/* ─── Color variants ───────────────────────────────────── */
|
|
6749
|
-
|
|
6750
|
-
.muka-swipe-actions__button--neutral {
|
|
6751
|
-
background-color: var(--color-surface-level2);
|
|
6752
|
-
color: var(--color-text-default-default);
|
|
6753
|
-
}
|
|
6754
|
-
|
|
6755
|
-
.muka-swipe-actions__button--primary {
|
|
6756
|
-
background-color: var(--color-action-default);
|
|
6757
|
-
color: var(--color-text-default-inverse);
|
|
6758
|
-
}
|
|
6759
|
-
|
|
6760
|
-
.muka-swipe-actions__button--success {
|
|
6761
|
-
background-color: var(--color-state-success-default);
|
|
6762
|
-
color: var(--color-text-default-inverse);
|
|
6763
|
-
}
|
|
6764
|
-
|
|
6765
|
-
.muka-swipe-actions__button--warning {
|
|
6766
|
-
background-color: var(--color-state-warning-default);
|
|
6767
|
-
color: var(--color-text-default-default);
|
|
6768
|
-
}
|
|
6769
|
-
|
|
6770
|
-
.muka-swipe-actions__button--destructive {
|
|
6771
|
-
background-color: var(--color-state-error-default);
|
|
6772
|
-
color: var(--color-text-default-inverse);
|
|
6773
|
-
}
|
|
6774
|
-
|
|
6775
|
-
|
|
6776
6668
|
/* RadioTile */
|
|
6777
6669
|
/* RadioTile Component Styles - Using Muka Design Tokens */
|
|
6778
6670
|
|
|
@@ -9004,41 +8896,101 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9004
8896
|
opacity: 0.4;
|
|
9005
8897
|
}
|
|
9006
8898
|
|
|
9007
|
-
/* Size variants */
|
|
9008
|
-
.muka-pagination--sm .muka-pagination__button {
|
|
9009
|
-
min-width: var(--size-2xl);
|
|
9010
|
-
height: var(--size-2xl);
|
|
9011
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
8899
|
+
/* Size variants */
|
|
8900
|
+
.muka-pagination--sm .muka-pagination__button {
|
|
8901
|
+
min-width: var(--size-2xl);
|
|
8902
|
+
height: var(--size-2xl);
|
|
8903
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
8904
|
+
}
|
|
8905
|
+
|
|
8906
|
+
.muka-pagination--sm .muka-pagination__ellipsis {
|
|
8907
|
+
min-width: var(--size-2xl);
|
|
8908
|
+
height: var(--size-2xl);
|
|
8909
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
8910
|
+
}
|
|
8911
|
+
|
|
8912
|
+
.muka-pagination--md .muka-pagination__button {
|
|
8913
|
+
min-width: var(--size-3xl);
|
|
8914
|
+
height: var(--size-3xl);
|
|
8915
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
8916
|
+
}
|
|
8917
|
+
|
|
8918
|
+
.muka-pagination--md .muka-pagination__ellipsis {
|
|
8919
|
+
min-width: var(--size-3xl);
|
|
8920
|
+
height: var(--size-3xl);
|
|
8921
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
8922
|
+
}
|
|
8923
|
+
|
|
8924
|
+
.muka-pagination--lg .muka-pagination__button {
|
|
8925
|
+
min-width: var(--size-4xl);
|
|
8926
|
+
height: var(--size-4xl);
|
|
8927
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
8928
|
+
}
|
|
8929
|
+
|
|
8930
|
+
.muka-pagination--lg .muka-pagination__ellipsis {
|
|
8931
|
+
min-width: var(--size-4xl);
|
|
8932
|
+
height: var(--size-4xl);
|
|
8933
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
8934
|
+
}
|
|
8935
|
+
|
|
8936
|
+
|
|
8937
|
+
/* Page */
|
|
8938
|
+
/* Page Component Styles */
|
|
8939
|
+
|
|
8940
|
+
/*
|
|
8941
|
+
* Shell for document-scrolling pages (marketing, sign-in, legal). Safe areas:
|
|
8942
|
+
* env(safe-area-inset-*) is 0 outside notched devices, so the padding below
|
|
8943
|
+
* only appears in an app running edge to edge (viewport-fit=cover).
|
|
8944
|
+
*
|
|
8945
|
+
* `--muka-page-background` is the page colour. SiteHeader reads it, so a
|
|
8946
|
+
* header and its status-bar scrim match the page without configuration.
|
|
8947
|
+
*/
|
|
8948
|
+
.muka-page {
|
|
8949
|
+
--muka-page-background: var(--color-surface-level3);
|
|
8950
|
+
display: flex;
|
|
8951
|
+
flex-direction: column;
|
|
8952
|
+
min-height: 100vh;
|
|
8953
|
+
min-height: 100dvh;
|
|
8954
|
+
background-color: var(--muka-page-background);
|
|
8955
|
+
}
|
|
8956
|
+
|
|
8957
|
+
.muka-page--surface-2 {
|
|
8958
|
+
--muka-page-background: var(--color-surface-level2);
|
|
8959
|
+
}
|
|
8960
|
+
|
|
8961
|
+
/* Overscroll (rubber band) shows the document background: keep it the page's. */
|
|
8962
|
+
:root:has(.muka-page--surface-2) body {
|
|
8963
|
+
background-color: var(--color-surface-level2);
|
|
9012
8964
|
}
|
|
9013
8965
|
|
|
9014
|
-
.muka-
|
|
9015
|
-
|
|
9016
|
-
|
|
9017
|
-
|
|
8966
|
+
.muka-page__main {
|
|
8967
|
+
flex: 1 0 auto;
|
|
8968
|
+
display: flex;
|
|
8969
|
+
flex-direction: column;
|
|
8970
|
+
/* Landscape: clear the notch. */
|
|
8971
|
+
padding-left: env(safe-area-inset-left, 0px);
|
|
8972
|
+
padding-right: env(safe-area-inset-right, 0px);
|
|
9018
8973
|
}
|
|
9019
8974
|
|
|
9020
|
-
.muka-
|
|
9021
|
-
|
|
9022
|
-
|
|
9023
|
-
|
|
8975
|
+
.muka-page__footer {
|
|
8976
|
+
flex-shrink: 0;
|
|
8977
|
+
padding-left: env(safe-area-inset-left, 0px);
|
|
8978
|
+
padding-right: env(safe-area-inset-right, 0px);
|
|
8979
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
9024
8980
|
}
|
|
9025
8981
|
|
|
9026
|
-
|
|
9027
|
-
|
|
9028
|
-
|
|
9029
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
8982
|
+
/* A footer with its own colour: the colour runs under the home indicator. */
|
|
8983
|
+
.muka-page__footer--surface-2 {
|
|
8984
|
+
background-color: var(--color-surface-level2);
|
|
9030
8985
|
}
|
|
9031
8986
|
|
|
9032
|
-
.muka-
|
|
9033
|
-
|
|
9034
|
-
height: var(--size-4xl);
|
|
9035
|
-
font-size: var(--text-label-lg-regular-fontSize);
|
|
8987
|
+
.muka-page__footer--surface-3 {
|
|
8988
|
+
background-color: var(--color-surface-level3);
|
|
9036
8989
|
}
|
|
9037
8990
|
|
|
9038
|
-
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
font-size: var(--text-label-lg-regular-fontSize);
|
|
8991
|
+
/* Without a footer, the content is last and clears the home indicator. */
|
|
8992
|
+
.muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
|
|
8993
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
9042
8994
|
}
|
|
9043
8995
|
|
|
9044
8996
|
|
|
@@ -9925,6 +9877,25 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9925
9877
|
white-space: nowrap;
|
|
9926
9878
|
}
|
|
9927
9879
|
|
|
9880
|
+
/*
|
|
9881
|
+
* Trailing content: time, BadgeNumber, a dot. Stacks vertically (a time above
|
|
9882
|
+
* a badge, as in a chat inbox), aligned to the end, and never shrinks the label
|
|
9883
|
+
* below it: the label ellipsises instead.
|
|
9884
|
+
*/
|
|
9885
|
+
.muka-listitem__trailing {
|
|
9886
|
+
display: flex;
|
|
9887
|
+
flex-direction: column;
|
|
9888
|
+
align-items: flex-end;
|
|
9889
|
+
justify-content: center;
|
|
9890
|
+
gap: var(--spacing-1);
|
|
9891
|
+
flex-shrink: 0;
|
|
9892
|
+
font-family: var(--alias-font-plain-family);
|
|
9893
|
+
font-size: var(--text-body-sm-fontSize);
|
|
9894
|
+
line-height: var(--text-body-sm-lineHeight);
|
|
9895
|
+
color: var(--color-text-subtle-default);
|
|
9896
|
+
white-space: nowrap;
|
|
9897
|
+
}
|
|
9898
|
+
|
|
9928
9899
|
/* Trailing chevron */
|
|
9929
9900
|
.muka-listitem__chevron {
|
|
9930
9901
|
display: inline-flex;
|
|
@@ -10193,66 +10164,6 @@ li.muka-listitem {
|
|
|
10193
10164
|
}
|
|
10194
10165
|
|
|
10195
10166
|
|
|
10196
|
-
/* Page */
|
|
10197
|
-
/* Page Component Styles */
|
|
10198
|
-
|
|
10199
|
-
/*
|
|
10200
|
-
* Shell for document-scrolling pages (marketing, sign-in, legal). Safe areas:
|
|
10201
|
-
* env(safe-area-inset-*) is 0 outside notched devices, so the padding below
|
|
10202
|
-
* only appears in an app running edge to edge (viewport-fit=cover).
|
|
10203
|
-
*
|
|
10204
|
-
* `--muka-page-background` is the page colour. SiteHeader reads it, so a
|
|
10205
|
-
* header and its status-bar scrim match the page without configuration.
|
|
10206
|
-
*/
|
|
10207
|
-
.muka-page {
|
|
10208
|
-
--muka-page-background: var(--color-surface-level3);
|
|
10209
|
-
display: flex;
|
|
10210
|
-
flex-direction: column;
|
|
10211
|
-
min-height: 100vh;
|
|
10212
|
-
min-height: 100dvh;
|
|
10213
|
-
background-color: var(--muka-page-background);
|
|
10214
|
-
}
|
|
10215
|
-
|
|
10216
|
-
.muka-page--surface-2 {
|
|
10217
|
-
--muka-page-background: var(--color-surface-level2);
|
|
10218
|
-
}
|
|
10219
|
-
|
|
10220
|
-
/* Overscroll (rubber band) shows the document background: keep it the page's. */
|
|
10221
|
-
:root:has(.muka-page--surface-2) body {
|
|
10222
|
-
background-color: var(--color-surface-level2);
|
|
10223
|
-
}
|
|
10224
|
-
|
|
10225
|
-
.muka-page__main {
|
|
10226
|
-
flex: 1 0 auto;
|
|
10227
|
-
display: flex;
|
|
10228
|
-
flex-direction: column;
|
|
10229
|
-
/* Landscape: clear the notch. */
|
|
10230
|
-
padding-left: env(safe-area-inset-left, 0px);
|
|
10231
|
-
padding-right: env(safe-area-inset-right, 0px);
|
|
10232
|
-
}
|
|
10233
|
-
|
|
10234
|
-
.muka-page__footer {
|
|
10235
|
-
flex-shrink: 0;
|
|
10236
|
-
padding-left: env(safe-area-inset-left, 0px);
|
|
10237
|
-
padding-right: env(safe-area-inset-right, 0px);
|
|
10238
|
-
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
10239
|
-
}
|
|
10240
|
-
|
|
10241
|
-
/* A footer with its own colour: the colour runs under the home indicator. */
|
|
10242
|
-
.muka-page__footer--surface-2 {
|
|
10243
|
-
background-color: var(--color-surface-level2);
|
|
10244
|
-
}
|
|
10245
|
-
|
|
10246
|
-
.muka-page__footer--surface-3 {
|
|
10247
|
-
background-color: var(--color-surface-level3);
|
|
10248
|
-
}
|
|
10249
|
-
|
|
10250
|
-
/* Without a footer, the content is last and clears the home indicator. */
|
|
10251
|
-
.muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
|
|
10252
|
-
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
10253
|
-
}
|
|
10254
|
-
|
|
10255
|
-
|
|
10256
10167
|
/* InputCounter */
|
|
10257
10168
|
/* InputCounter — numeric field + joined decrement/increment buttons.
|
|
10258
10169
|
Label, helper and error text reuse Input.css (../Input/Input.css).
|
|
@@ -15114,42 +15025,188 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15114
15025
|
-webkit-tap-highlight-color: transparent;
|
|
15115
15026
|
}
|
|
15116
15027
|
|
|
15117
|
-
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
15118
|
-
color: var(--color-text-default-default);
|
|
15119
|
-
background-color: var(--color-surface-level2);
|
|
15028
|
+
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
15029
|
+
color: var(--color-text-default-default);
|
|
15030
|
+
background-color: var(--color-surface-level2);
|
|
15031
|
+
}
|
|
15032
|
+
|
|
15033
|
+
.muka-chat-attachment-chip__remove:focus-visible {
|
|
15034
|
+
outline: 2px solid var(--color-action-default);
|
|
15035
|
+
outline-offset: 2px;
|
|
15036
|
+
}
|
|
15037
|
+
|
|
15038
|
+
.muka-chat-attachment-chip__remove:disabled {
|
|
15039
|
+
cursor: not-allowed;
|
|
15040
|
+
opacity: 0.5;
|
|
15041
|
+
}
|
|
15042
|
+
|
|
15043
|
+
/* ─── Progress bar ─────────────────────────────────────── */
|
|
15044
|
+
|
|
15045
|
+
.muka-chat-attachment-chip__progress {
|
|
15046
|
+
position: absolute;
|
|
15047
|
+
left: 0;
|
|
15048
|
+
right: 0;
|
|
15049
|
+
bottom: 0;
|
|
15050
|
+
height: 2px;
|
|
15051
|
+
background-color: var(--color-surface-level2);
|
|
15052
|
+
overflow: hidden;
|
|
15053
|
+
}
|
|
15054
|
+
|
|
15055
|
+
.muka-chat-attachment-chip__progress-fill {
|
|
15056
|
+
display: block;
|
|
15057
|
+
height: 100%;
|
|
15058
|
+
background-color: var(--color-action-default);
|
|
15059
|
+
transition: width 0.16s ease;
|
|
15060
|
+
}
|
|
15061
|
+
|
|
15062
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
15063
|
+
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15064
|
+
}
|
|
15065
|
+
|
|
15066
|
+
|
|
15067
|
+
/* Card */
|
|
15068
|
+
/* Card Component Styles - Using Muka Design Tokens */
|
|
15069
|
+
|
|
15070
|
+
.muka-card {
|
|
15071
|
+
background-color: var(--card-color-default-background);
|
|
15072
|
+
color: var(--card-color-default-foreground);
|
|
15073
|
+
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
15074
|
+
box-shadow: var(--card-shadow-default);
|
|
15075
|
+
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15076
|
+
overflow: hidden;
|
|
15077
|
+
}
|
|
15078
|
+
|
|
15079
|
+
/* Padding variants */
|
|
15080
|
+
.muka-card--padding-none {
|
|
15081
|
+
padding: 0;
|
|
15082
|
+
}
|
|
15083
|
+
|
|
15084
|
+
.muka-card--padding-sm {
|
|
15085
|
+
padding: var(--card-padding-sm);
|
|
15086
|
+
}
|
|
15087
|
+
|
|
15088
|
+
.muka-card--padding-md {
|
|
15089
|
+
padding: var(--card-padding-md);
|
|
15090
|
+
}
|
|
15091
|
+
|
|
15092
|
+
.muka-card--padding-lg {
|
|
15093
|
+
padding: var(--card-padding-lg);
|
|
15094
|
+
}
|
|
15095
|
+
|
|
15096
|
+
/* Radius variants */
|
|
15097
|
+
.muka-card--radius-sm {
|
|
15098
|
+
border-radius: var(--card-radius-sm);
|
|
15099
|
+
}
|
|
15100
|
+
|
|
15101
|
+
.muka-card--radius-md {
|
|
15102
|
+
border-radius: var(--card-radius-md);
|
|
15103
|
+
}
|
|
15104
|
+
|
|
15105
|
+
.muka-card--radius-lg {
|
|
15106
|
+
border-radius: var(--card-radius-lg);
|
|
15107
|
+
}
|
|
15108
|
+
|
|
15109
|
+
/* Interactive variant */
|
|
15110
|
+
.muka-card--interactive {
|
|
15111
|
+
cursor: pointer;
|
|
15112
|
+
user-select: none;
|
|
15113
|
+
}
|
|
15114
|
+
|
|
15115
|
+
.muka-card--interactive:hover {
|
|
15116
|
+
background-color: var(--card-color-hover-background);
|
|
15117
|
+
border-color: var(--card-color-hover-border);
|
|
15118
|
+
box-shadow: var(--card-shadow-hover);
|
|
15119
|
+
}
|
|
15120
|
+
|
|
15121
|
+
.muka-card--interactive:active,
|
|
15122
|
+
.muka-card--interactive.muka-card--pressed {
|
|
15123
|
+
background-color: var(--card-color-pressed-background);
|
|
15124
|
+
border-color: var(--card-color-pressed-border);
|
|
15125
|
+
box-shadow: var(--card-shadow-pressed);
|
|
15126
|
+
}
|
|
15127
|
+
|
|
15128
|
+
.muka-card--interactive:focus-visible {
|
|
15129
|
+
outline: 2px solid var(--color-border-focus);
|
|
15130
|
+
outline-offset: 2px;
|
|
15131
|
+
}
|
|
15132
|
+
|
|
15133
|
+
/* Selected variant */
|
|
15134
|
+
.muka-card--selected {
|
|
15135
|
+
background-color: var(--card-color-selected-background);
|
|
15136
|
+
border-color: var(--card-color-selected-border);
|
|
15137
|
+
border-width: var(--border-width-bold);
|
|
15138
|
+
box-shadow: var(--card-shadow-selected);
|
|
15139
|
+
}
|
|
15140
|
+
|
|
15141
|
+
/* Tone: sticky note (MUK-105) */
|
|
15142
|
+
.muka-card--tone-note {
|
|
15143
|
+
background-color: var(--card-color-note-background);
|
|
15144
|
+
color: var(--card-color-note-foreground);
|
|
15145
|
+
border-color: var(--card-color-note-border);
|
|
15146
|
+
box-shadow: var(--card-shadow-note);
|
|
15147
|
+
}
|
|
15148
|
+
|
|
15149
|
+
.muka-card--tone-note.muka-card--interactive:hover,
|
|
15150
|
+
.muka-card--tone-note.muka-card--interactive:active,
|
|
15151
|
+
.muka-card--tone-note.muka-card--interactive.muka-card--pressed {
|
|
15152
|
+
background-color: var(--card-color-note-background);
|
|
15153
|
+
border-color: var(--card-color-note-border);
|
|
15154
|
+
}
|
|
15155
|
+
|
|
15156
|
+
.muka-card--tilt-left {
|
|
15157
|
+
transform: rotate(-0.75deg);
|
|
15158
|
+
}
|
|
15159
|
+
|
|
15160
|
+
.muka-card--tilt-right {
|
|
15161
|
+
transform: rotate(0.6deg);
|
|
15120
15162
|
}
|
|
15121
15163
|
|
|
15122
|
-
|
|
15123
|
-
|
|
15124
|
-
|
|
15164
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
15165
|
+
.muka-card--tilt-left,
|
|
15166
|
+
.muka-card--tilt-right {
|
|
15167
|
+
transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15168
|
+
}
|
|
15125
15169
|
}
|
|
15126
15170
|
|
|
15127
|
-
.muka-
|
|
15128
|
-
|
|
15129
|
-
|
|
15171
|
+
.muka-card--interactive.muka-card--tilt-left:hover,
|
|
15172
|
+
.muka-card--interactive.muka-card--tilt-right:hover {
|
|
15173
|
+
transform: none;
|
|
15130
15174
|
}
|
|
15131
15175
|
|
|
15132
|
-
/*
|
|
15176
|
+
/* Optional header (title + description) */
|
|
15177
|
+
.muka-card__header {
|
|
15178
|
+
margin-bottom: var(--spacing-4);
|
|
15179
|
+
}
|
|
15133
15180
|
|
|
15134
|
-
.muka-
|
|
15135
|
-
|
|
15136
|
-
|
|
15137
|
-
|
|
15138
|
-
|
|
15139
|
-
|
|
15140
|
-
|
|
15141
|
-
|
|
15181
|
+
.muka-card__title {
|
|
15182
|
+
margin: 0;
|
|
15183
|
+
color: var(--color-text-default-default);
|
|
15184
|
+
font-family: var(--text-heading-xs-fontFamily);
|
|
15185
|
+
font-weight: var(--text-heading-xs-fontWeight);
|
|
15186
|
+
font-size: var(--text-heading-xs-fontSize);
|
|
15187
|
+
line-height: var(--text-heading-xs-lineHeight);
|
|
15188
|
+
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
15142
15189
|
}
|
|
15143
15190
|
|
|
15144
|
-
.muka-
|
|
15145
|
-
|
|
15146
|
-
|
|
15147
|
-
|
|
15148
|
-
|
|
15191
|
+
.muka-card__description {
|
|
15192
|
+
margin: var(--spacing-1) 0 0;
|
|
15193
|
+
color: var(--color-text-subtle-default);
|
|
15194
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15195
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15196
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15197
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15149
15198
|
}
|
|
15150
15199
|
|
|
15151
|
-
|
|
15152
|
-
|
|
15200
|
+
/* Hide divider on last list item inside card */
|
|
15201
|
+
.muka-card > .muka-listitem:last-child > .muka-listitem__divider {
|
|
15202
|
+
display: none;
|
|
15203
|
+
}
|
|
15204
|
+
|
|
15205
|
+
/* Disabled state */
|
|
15206
|
+
.muka-card--disabled {
|
|
15207
|
+
opacity: 0.5;
|
|
15208
|
+
cursor: not-allowed;
|
|
15209
|
+
pointer-events: none;
|
|
15153
15210
|
}
|
|
15154
15211
|
|
|
15155
15212
|
|
|
@@ -15782,6 +15839,7 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15782
15839
|
}
|
|
15783
15840
|
|
|
15784
15841
|
.muka-bottombar__tab-icon {
|
|
15842
|
+
position: relative;
|
|
15785
15843
|
display: flex;
|
|
15786
15844
|
align-items: center;
|
|
15787
15845
|
justify-content: center;
|
|
@@ -15794,6 +15852,15 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15794
15852
|
height: 100%;
|
|
15795
15853
|
}
|
|
15796
15854
|
|
|
15855
|
+
/* A count on the icon's top-right corner (unread messages). */
|
|
15856
|
+
.muka-bottombar__tab-badge {
|
|
15857
|
+
position: absolute;
|
|
15858
|
+
top: calc(-1 * var(--spacing-1));
|
|
15859
|
+
left: 60%;
|
|
15860
|
+
display: flex;
|
|
15861
|
+
pointer-events: none;
|
|
15862
|
+
}
|
|
15863
|
+
|
|
15797
15864
|
.muka-bottombar__tab-label {
|
|
15798
15865
|
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15799
15866
|
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
@@ -16080,6 +16147,14 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16080
16147
|
color: var(--color-text-default-inverse);
|
|
16081
16148
|
}
|
|
16082
16149
|
|
|
16150
|
+
/* Dot: something new, without a count */
|
|
16151
|
+
.muka-badge-number--dot {
|
|
16152
|
+
width: var(--spacing-2);
|
|
16153
|
+
height: var(--spacing-2);
|
|
16154
|
+
min-width: 0;
|
|
16155
|
+
padding: 0;
|
|
16156
|
+
}
|
|
16157
|
+
|
|
16083
16158
|
|
|
16084
16159
|
/* Badge */
|
|
16085
16160
|
/* Badge Component Styles - Using Muka Design Tokens */
|
|
@@ -17485,148 +17560,110 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
17485
17560
|
}
|
|
17486
17561
|
|
|
17487
17562
|
|
|
17488
|
-
/*
|
|
17489
|
-
/*
|
|
17563
|
+
/* SwipeActions */
|
|
17564
|
+
/* SwipeActions Component Styles */
|
|
17490
17565
|
|
|
17491
|
-
.muka-
|
|
17492
|
-
|
|
17493
|
-
color: var(--card-color-default-foreground);
|
|
17494
|
-
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
17495
|
-
box-shadow: var(--card-shadow-default);
|
|
17496
|
-
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
17566
|
+
.muka-swipe-actions {
|
|
17567
|
+
position: relative;
|
|
17497
17568
|
overflow: hidden;
|
|
17569
|
+
touch-action: pan-y;
|
|
17570
|
+
-webkit-user-select: none;
|
|
17571
|
+
user-select: none;
|
|
17572
|
+
background-color: var(--color-surface-level3);
|
|
17498
17573
|
}
|
|
17499
17574
|
|
|
17500
|
-
|
|
17501
|
-
|
|
17502
|
-
padding: 0;
|
|
17503
|
-
}
|
|
17504
|
-
|
|
17505
|
-
.muka-card--padding-sm {
|
|
17506
|
-
padding: var(--card-padding-sm);
|
|
17507
|
-
}
|
|
17508
|
-
|
|
17509
|
-
.muka-card--padding-md {
|
|
17510
|
-
padding: var(--card-padding-md);
|
|
17511
|
-
}
|
|
17512
|
-
|
|
17513
|
-
.muka-card--padding-lg {
|
|
17514
|
-
padding: var(--card-padding-lg);
|
|
17575
|
+
.muka-swipe-actions--disabled {
|
|
17576
|
+
touch-action: auto;
|
|
17515
17577
|
}
|
|
17516
17578
|
|
|
17517
|
-
/*
|
|
17518
|
-
.muka-card--radius-sm {
|
|
17519
|
-
border-radius: var(--card-radius-sm);
|
|
17520
|
-
}
|
|
17579
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
17521
17580
|
|
|
17522
|
-
.muka-
|
|
17523
|
-
|
|
17581
|
+
.muka-swipe-actions__row {
|
|
17582
|
+
position: relative;
|
|
17583
|
+
z-index: 1;
|
|
17584
|
+
background-color: inherit;
|
|
17585
|
+
will-change: transform;
|
|
17524
17586
|
}
|
|
17525
17587
|
|
|
17526
|
-
|
|
17527
|
-
border-radius: var(--card-radius-lg);
|
|
17528
|
-
}
|
|
17588
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
17529
17589
|
|
|
17530
|
-
|
|
17531
|
-
|
|
17532
|
-
|
|
17533
|
-
|
|
17590
|
+
.muka-swipe-actions__panel {
|
|
17591
|
+
position: absolute;
|
|
17592
|
+
top: 0;
|
|
17593
|
+
bottom: 0;
|
|
17594
|
+
display: flex;
|
|
17595
|
+
align-items: stretch;
|
|
17596
|
+
z-index: 0;
|
|
17534
17597
|
}
|
|
17535
17598
|
|
|
17536
|
-
.muka-
|
|
17537
|
-
|
|
17538
|
-
border-color: var(--card-color-hover-border);
|
|
17539
|
-
box-shadow: var(--card-shadow-hover);
|
|
17599
|
+
.muka-swipe-actions__panel--left {
|
|
17600
|
+
left: 0;
|
|
17540
17601
|
}
|
|
17541
17602
|
|
|
17542
|
-
.muka-
|
|
17543
|
-
|
|
17544
|
-
background-color: var(--card-color-pressed-background);
|
|
17545
|
-
border-color: var(--card-color-pressed-border);
|
|
17546
|
-
box-shadow: var(--card-shadow-pressed);
|
|
17603
|
+
.muka-swipe-actions__panel--right {
|
|
17604
|
+
right: 0;
|
|
17547
17605
|
}
|
|
17548
17606
|
|
|
17549
|
-
|
|
17550
|
-
outline: 2px solid var(--color-border-focus);
|
|
17551
|
-
outline-offset: 2px;
|
|
17552
|
-
}
|
|
17607
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
17553
17608
|
|
|
17554
|
-
|
|
17555
|
-
|
|
17556
|
-
|
|
17557
|
-
|
|
17558
|
-
|
|
17559
|
-
|
|
17609
|
+
.muka-swipe-actions__button {
|
|
17610
|
+
display: flex;
|
|
17611
|
+
flex-direction: column;
|
|
17612
|
+
align-items: center;
|
|
17613
|
+
justify-content: center;
|
|
17614
|
+
gap: var(--spacing-1);
|
|
17615
|
+
border: none;
|
|
17616
|
+
cursor: pointer;
|
|
17617
|
+
padding: var(--spacing-2);
|
|
17618
|
+
background-color: var(--color-surface-level2);
|
|
17619
|
+
color: var(--color-text-default-default);
|
|
17620
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
17621
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
17622
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
17623
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
17624
|
+
-webkit-tap-highlight-color: transparent;
|
|
17625
|
+
transition: filter 0.12s ease;
|
|
17560
17626
|
}
|
|
17561
17627
|
|
|
17562
|
-
|
|
17563
|
-
.
|
|
17564
|
-
background-color: var(--card-color-note-background);
|
|
17565
|
-
color: var(--card-color-note-foreground);
|
|
17566
|
-
border-color: var(--card-color-note-border);
|
|
17567
|
-
box-shadow: var(--card-shadow-note);
|
|
17628
|
+
.muka-swipe-actions__button:hover {
|
|
17629
|
+
filter: brightness(0.95);
|
|
17568
17630
|
}
|
|
17569
17631
|
|
|
17570
|
-
.muka-
|
|
17571
|
-
|
|
17572
|
-
|
|
17573
|
-
background-color: var(--card-color-note-background);
|
|
17574
|
-
border-color: var(--card-color-note-border);
|
|
17632
|
+
.muka-swipe-actions__button:focus-visible {
|
|
17633
|
+
outline: 2px solid var(--color-action-default);
|
|
17634
|
+
outline-offset: -2px;
|
|
17575
17635
|
}
|
|
17576
17636
|
|
|
17577
|
-
.muka-
|
|
17578
|
-
|
|
17637
|
+
.muka-swipe-actions__button-icon {
|
|
17638
|
+
display: inline-flex;
|
|
17639
|
+
align-items: center;
|
|
17640
|
+
justify-content: center;
|
|
17579
17641
|
}
|
|
17580
17642
|
|
|
17581
|
-
|
|
17582
|
-
transform: rotate(0.6deg);
|
|
17583
|
-
}
|
|
17643
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
17584
17644
|
|
|
17585
|
-
|
|
17586
|
-
|
|
17587
|
-
|
|
17588
|
-
transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
17589
|
-
}
|
|
17645
|
+
.muka-swipe-actions__button--neutral {
|
|
17646
|
+
background-color: var(--color-surface-level2);
|
|
17647
|
+
color: var(--color-text-default-default);
|
|
17590
17648
|
}
|
|
17591
17649
|
|
|
17592
|
-
.muka-
|
|
17593
|
-
|
|
17594
|
-
|
|
17650
|
+
.muka-swipe-actions__button--primary {
|
|
17651
|
+
background-color: var(--color-action-default);
|
|
17652
|
+
color: var(--color-text-default-inverse);
|
|
17595
17653
|
}
|
|
17596
17654
|
|
|
17597
|
-
|
|
17598
|
-
|
|
17599
|
-
|
|
17655
|
+
.muka-swipe-actions__button--success {
|
|
17656
|
+
background-color: var(--color-state-success-default);
|
|
17657
|
+
color: var(--color-text-default-inverse);
|
|
17600
17658
|
}
|
|
17601
17659
|
|
|
17602
|
-
.muka-
|
|
17603
|
-
|
|
17660
|
+
.muka-swipe-actions__button--warning {
|
|
17661
|
+
background-color: var(--color-state-warning-default);
|
|
17604
17662
|
color: var(--color-text-default-default);
|
|
17605
|
-
font-family: var(--text-heading-xs-fontFamily);
|
|
17606
|
-
font-weight: var(--text-heading-xs-fontWeight);
|
|
17607
|
-
font-size: var(--text-heading-xs-fontSize);
|
|
17608
|
-
line-height: var(--text-heading-xs-lineHeight);
|
|
17609
|
-
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
17610
|
-
}
|
|
17611
|
-
|
|
17612
|
-
.muka-card__description {
|
|
17613
|
-
margin: var(--spacing-1) 0 0;
|
|
17614
|
-
color: var(--color-text-subtle-default);
|
|
17615
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17616
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17617
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
17618
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17619
|
-
}
|
|
17620
|
-
|
|
17621
|
-
/* Hide divider on last list item inside card */
|
|
17622
|
-
.muka-card > .muka-listitem:last-child > .muka-listitem__divider {
|
|
17623
|
-
display: none;
|
|
17624
17663
|
}
|
|
17625
17664
|
|
|
17626
|
-
|
|
17627
|
-
|
|
17628
|
-
|
|
17629
|
-
cursor: not-allowed;
|
|
17630
|
-
pointer-events: none;
|
|
17665
|
+
.muka-swipe-actions__button--destructive {
|
|
17666
|
+
background-color: var(--color-state-error-default);
|
|
17667
|
+
color: var(--color-text-default-inverse);
|
|
17631
17668
|
}
|
|
17632
17669
|
|