@revikornmann/muka-ui 0.50.0 → 0.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/BadgeNumber/BadgeNumber.css +8 -0
- package/dist/cjs/components/BadgeNumber/BadgeNumber.js +3 -3
- package/dist/cjs/components/BadgeNumber/BadgeNumber.js.map +1 -1
- package/dist/cjs/components/BottomBar/BottomBar.css +10 -0
- package/dist/cjs/components/BottomBar/BottomBar.js +4 -2
- package/dist/cjs/components/BottomBar/BottomBar.js.map +1 -1
- package/dist/cjs/components/FileUpload/FileUpload.js +31 -13
- package/dist/cjs/components/FileUpload/FileUpload.js.map +1 -1
- package/dist/cjs/components/FileUpload/FileUploadItem.js +11 -3
- package/dist/cjs/components/FileUpload/FileUploadItem.js.map +1 -1
- package/dist/cjs/components/FileUpload/index.js.map +1 -1
- package/dist/cjs/components/ListItem/ListItem.css +19 -0
- package/dist/cjs/components/ListItem/ListItem.js +3 -3
- package/dist/cjs/components/ListItem/ListItem.js.map +1 -1
- package/dist/cjs/components/View/View.css +5 -3
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/BadgeNumber/BadgeNumber.css +8 -0
- package/dist/esm/components/BadgeNumber/BadgeNumber.js +3 -3
- package/dist/esm/components/BadgeNumber/BadgeNumber.js.map +1 -1
- package/dist/esm/components/BottomBar/BottomBar.css +10 -0
- package/dist/esm/components/BottomBar/BottomBar.js +4 -2
- package/dist/esm/components/BottomBar/BottomBar.js.map +1 -1
- package/dist/esm/components/FileUpload/FileUpload.js +32 -14
- package/dist/esm/components/FileUpload/FileUpload.js.map +1 -1
- package/dist/esm/components/FileUpload/FileUploadItem.js +10 -2
- package/dist/esm/components/FileUpload/FileUploadItem.js.map +1 -1
- package/dist/esm/components/FileUpload/index.js.map +1 -1
- package/dist/esm/components/ListItem/ListItem.css +19 -0
- package/dist/esm/components/ListItem/ListItem.js +3 -3
- package/dist/esm/components/ListItem/ListItem.js.map +1 -1
- package/dist/esm/components/View/View.css +5 -3
- package/dist/esm/components/index.js.map +1 -1
- package/dist/styles/components/BadgeNumber.css +8 -0
- package/dist/styles/components/BottomBar.css +10 -0
- package/dist/styles/components/ListItem.css +19 -0
- package/dist/styles/components/View.css +5 -3
- package/dist/styles/index.css +1154 -1115
- package/dist/styles/muka-dark.css +1154 -1115
- package/dist/styles/muka-light.css +1154 -1115
- package/dist/styles/wireframe-dark.css +1154 -1115
- package/dist/styles/wireframe-light.css +1154 -1115
- package/dist/types/components/BadgeNumber/BadgeNumber.d.ts +7 -1
- package/dist/types/components/BadgeNumber/BadgeNumber.d.ts.map +1 -1
- package/dist/types/components/BottomBar/BottomBar.d.ts +7 -0
- package/dist/types/components/BottomBar/BottomBar.d.ts.map +1 -1
- package/dist/types/components/FileUpload/FileUpload.d.ts +46 -6
- package/dist/types/components/FileUpload/FileUpload.d.ts.map +1 -1
- package/dist/types/components/FileUpload/FileUploadItem.d.ts +19 -0
- package/dist/types/components/FileUpload/FileUploadItem.d.ts.map +1 -1
- package/dist/types/components/FileUpload/index.d.ts +1 -1
- package/dist/types/components/FileUpload/index.d.ts.map +1 -1
- package/dist/types/components/ListItem/ListItem.d.ts +8 -1
- package/dist/types/components/ListItem/ListItem.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +1 -1
- package/dist/types/components/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/styles/index.css
CHANGED
|
@@ -2675,9 +2675,11 @@ body {
|
|
|
2675
2675
|
padding-right: env(safe-area-inset-right, 0px);
|
|
2676
2676
|
}
|
|
2677
2677
|
|
|
2678
|
-
/* Home indicator:
|
|
2679
|
-
BottomBar
|
|
2680
|
-
|
|
2678
|
+
/* Home indicator: the body pads for it only when nothing inside does. A
|
|
2679
|
+
BottomBar pads itself, whether it sits in the footer slot or in the content
|
|
2680
|
+
(a chat composer pinned under a message list), so the body must not do it
|
|
2681
|
+
twice; doing so left a strip of body colour under the bar. */
|
|
2682
|
+
.muka-view__body:not(:has(.muka-view__footer, .muka-bottombar:not(.muka-bottombar--no-safe-area))) {
|
|
2681
2683
|
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
2682
2684
|
}
|
|
2683
2685
|
|
|
@@ -5606,81 +5608,6 @@ body {
|
|
|
5606
5608
|
}
|
|
5607
5609
|
|
|
5608
5610
|
|
|
5609
|
-
/* Skeleton */
|
|
5610
|
-
/* Skeleton Component Styles */
|
|
5611
|
-
|
|
5612
|
-
.muka-skeleton {
|
|
5613
|
-
background-color: var(--color-surface-level1);
|
|
5614
|
-
display: block;
|
|
5615
|
-
}
|
|
5616
|
-
|
|
5617
|
-
/* Variants */
|
|
5618
|
-
.muka-skeleton--text {
|
|
5619
|
-
height: 1em;
|
|
5620
|
-
border-radius: var(--radius-md);
|
|
5621
|
-
width: 100%;
|
|
5622
|
-
}
|
|
5623
|
-
|
|
5624
|
-
.muka-skeleton--circular {
|
|
5625
|
-
width: 2.5rem;
|
|
5626
|
-
height: 2.5rem;
|
|
5627
|
-
border-radius: var(--radius-full);
|
|
5628
|
-
}
|
|
5629
|
-
|
|
5630
|
-
.muka-skeleton--rectangular {
|
|
5631
|
-
height: 7.5rem;
|
|
5632
|
-
border-radius: var(--radius-md);
|
|
5633
|
-
width: 100%;
|
|
5634
|
-
}
|
|
5635
|
-
|
|
5636
|
-
/* Last line in multi-line text is shorter */
|
|
5637
|
-
.muka-skeleton--last-line {
|
|
5638
|
-
width: 80%;
|
|
5639
|
-
}
|
|
5640
|
-
|
|
5641
|
-
/* Lines container */
|
|
5642
|
-
.muka-skeleton__lines {
|
|
5643
|
-
display: flex;
|
|
5644
|
-
flex-direction: column;
|
|
5645
|
-
gap: var(--spacing-2);
|
|
5646
|
-
}
|
|
5647
|
-
|
|
5648
|
-
/* Shimmer animation */
|
|
5649
|
-
@keyframes muka-skeleton-shimmer {
|
|
5650
|
-
0% {
|
|
5651
|
-
background-position: -200% 0;
|
|
5652
|
-
}
|
|
5653
|
-
100% {
|
|
5654
|
-
background-position: 200% 0;
|
|
5655
|
-
}
|
|
5656
|
-
}
|
|
5657
|
-
|
|
5658
|
-
.muka-skeleton--shimmer {
|
|
5659
|
-
background: linear-gradient(
|
|
5660
|
-
90deg,
|
|
5661
|
-
var(--color-surface-level1) 25%,
|
|
5662
|
-
var(--color-surface-level2) 50%,
|
|
5663
|
-
var(--color-surface-level1) 75%
|
|
5664
|
-
);
|
|
5665
|
-
background-size: 200% 100%;
|
|
5666
|
-
animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
|
|
5667
|
-
}
|
|
5668
|
-
|
|
5669
|
-
/* Pulse animation */
|
|
5670
|
-
@keyframes muka-skeleton-pulse {
|
|
5671
|
-
0%, 100% {
|
|
5672
|
-
opacity: 1;
|
|
5673
|
-
}
|
|
5674
|
-
50% {
|
|
5675
|
-
opacity: 0.4;
|
|
5676
|
-
}
|
|
5677
|
-
}
|
|
5678
|
-
|
|
5679
|
-
.muka-skeleton--pulse {
|
|
5680
|
-
animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
|
|
5681
|
-
}
|
|
5682
|
-
|
|
5683
|
-
|
|
5684
5611
|
/* SiteHeader */
|
|
5685
5612
|
/* SiteHeader Component Styles */
|
|
5686
5613
|
|
|
@@ -5788,6 +5715,81 @@ body {
|
|
|
5788
5715
|
}
|
|
5789
5716
|
|
|
5790
5717
|
|
|
5718
|
+
/* Skeleton */
|
|
5719
|
+
/* Skeleton Component Styles */
|
|
5720
|
+
|
|
5721
|
+
.muka-skeleton {
|
|
5722
|
+
background-color: var(--color-surface-level1);
|
|
5723
|
+
display: block;
|
|
5724
|
+
}
|
|
5725
|
+
|
|
5726
|
+
/* Variants */
|
|
5727
|
+
.muka-skeleton--text {
|
|
5728
|
+
height: 1em;
|
|
5729
|
+
border-radius: var(--radius-md);
|
|
5730
|
+
width: 100%;
|
|
5731
|
+
}
|
|
5732
|
+
|
|
5733
|
+
.muka-skeleton--circular {
|
|
5734
|
+
width: 2.5rem;
|
|
5735
|
+
height: 2.5rem;
|
|
5736
|
+
border-radius: var(--radius-full);
|
|
5737
|
+
}
|
|
5738
|
+
|
|
5739
|
+
.muka-skeleton--rectangular {
|
|
5740
|
+
height: 7.5rem;
|
|
5741
|
+
border-radius: var(--radius-md);
|
|
5742
|
+
width: 100%;
|
|
5743
|
+
}
|
|
5744
|
+
|
|
5745
|
+
/* Last line in multi-line text is shorter */
|
|
5746
|
+
.muka-skeleton--last-line {
|
|
5747
|
+
width: 80%;
|
|
5748
|
+
}
|
|
5749
|
+
|
|
5750
|
+
/* Lines container */
|
|
5751
|
+
.muka-skeleton__lines {
|
|
5752
|
+
display: flex;
|
|
5753
|
+
flex-direction: column;
|
|
5754
|
+
gap: var(--spacing-2);
|
|
5755
|
+
}
|
|
5756
|
+
|
|
5757
|
+
/* Shimmer animation */
|
|
5758
|
+
@keyframes muka-skeleton-shimmer {
|
|
5759
|
+
0% {
|
|
5760
|
+
background-position: -200% 0;
|
|
5761
|
+
}
|
|
5762
|
+
100% {
|
|
5763
|
+
background-position: 200% 0;
|
|
5764
|
+
}
|
|
5765
|
+
}
|
|
5766
|
+
|
|
5767
|
+
.muka-skeleton--shimmer {
|
|
5768
|
+
background: linear-gradient(
|
|
5769
|
+
90deg,
|
|
5770
|
+
var(--color-surface-level1) 25%,
|
|
5771
|
+
var(--color-surface-level2) 50%,
|
|
5772
|
+
var(--color-surface-level1) 75%
|
|
5773
|
+
);
|
|
5774
|
+
background-size: 200% 100%;
|
|
5775
|
+
animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
|
|
5776
|
+
}
|
|
5777
|
+
|
|
5778
|
+
/* Pulse animation */
|
|
5779
|
+
@keyframes muka-skeleton-pulse {
|
|
5780
|
+
0%, 100% {
|
|
5781
|
+
opacity: 1;
|
|
5782
|
+
}
|
|
5783
|
+
50% {
|
|
5784
|
+
opacity: 0.4;
|
|
5785
|
+
}
|
|
5786
|
+
}
|
|
5787
|
+
|
|
5788
|
+
.muka-skeleton--pulse {
|
|
5789
|
+
animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
|
|
5790
|
+
}
|
|
5791
|
+
|
|
5792
|
+
|
|
5791
5793
|
/* Sheet */
|
|
5792
5794
|
/* Sheet Component Styles */
|
|
5793
5795
|
|
|
@@ -6064,29 +6066,6 @@ body {
|
|
|
6064
6066
|
}
|
|
6065
6067
|
|
|
6066
6068
|
|
|
6067
|
-
/* Section */
|
|
6068
|
-
/* Section Component - Layout tokens (section.padding) */
|
|
6069
|
-
|
|
6070
|
-
.muka-section {
|
|
6071
|
-
box-sizing: border-box;
|
|
6072
|
-
}
|
|
6073
|
-
|
|
6074
|
-
.muka-section--padding-compact {
|
|
6075
|
-
padding-block: var(--section-padding-vertical-compact);
|
|
6076
|
-
padding-inline: var(--section-padding-horizontal-compact);
|
|
6077
|
-
}
|
|
6078
|
-
|
|
6079
|
-
.muka-section--padding-default {
|
|
6080
|
-
padding-block: var(--section-padding-vertical-default);
|
|
6081
|
-
padding-inline: var(--section-padding-horizontal-default);
|
|
6082
|
-
}
|
|
6083
|
-
|
|
6084
|
-
.muka-section--padding-spacious {
|
|
6085
|
-
padding-block: var(--section-padding-vertical-spacious);
|
|
6086
|
-
padding-inline: var(--section-padding-horizontal-spacious);
|
|
6087
|
-
}
|
|
6088
|
-
|
|
6089
|
-
|
|
6090
6069
|
/* SegmentGroup */
|
|
6091
6070
|
/* SegmentGroup Component Styles - Using Muka Design Tokens */
|
|
6092
6071
|
|
|
@@ -6275,6 +6254,29 @@ body {
|
|
|
6275
6254
|
}
|
|
6276
6255
|
|
|
6277
6256
|
|
|
6257
|
+
/* Section */
|
|
6258
|
+
/* Section Component - Layout tokens (section.padding) */
|
|
6259
|
+
|
|
6260
|
+
.muka-section {
|
|
6261
|
+
box-sizing: border-box;
|
|
6262
|
+
}
|
|
6263
|
+
|
|
6264
|
+
.muka-section--padding-compact {
|
|
6265
|
+
padding-block: var(--section-padding-vertical-compact);
|
|
6266
|
+
padding-inline: var(--section-padding-horizontal-compact);
|
|
6267
|
+
}
|
|
6268
|
+
|
|
6269
|
+
.muka-section--padding-default {
|
|
6270
|
+
padding-block: var(--section-padding-vertical-default);
|
|
6271
|
+
padding-inline: var(--section-padding-horizontal-default);
|
|
6272
|
+
}
|
|
6273
|
+
|
|
6274
|
+
.muka-section--padding-spacious {
|
|
6275
|
+
padding-block: var(--section-padding-vertical-spacious);
|
|
6276
|
+
padding-inline: var(--section-padding-horizontal-spacious);
|
|
6277
|
+
}
|
|
6278
|
+
|
|
6279
|
+
|
|
6278
6280
|
/* SearchInput */
|
|
6279
6281
|
/* SearchInput Component Styles */
|
|
6280
6282
|
|
|
@@ -6837,50 +6839,193 @@ body {
|
|
|
6837
6839
|
}
|
|
6838
6840
|
|
|
6839
6841
|
|
|
6840
|
-
/*
|
|
6841
|
-
/*
|
|
6842
|
+
/* RadioTile */
|
|
6843
|
+
/* RadioTile Component Styles - Using Muka Design Tokens */
|
|
6842
6844
|
|
|
6843
|
-
/*
|
|
6844
|
-
.muka-radio {
|
|
6845
|
-
display:
|
|
6845
|
+
/* Base tile styles - horizontal */
|
|
6846
|
+
.muka-radio-tile {
|
|
6847
|
+
display: flex;
|
|
6846
6848
|
align-items: center;
|
|
6847
6849
|
gap: var(--spacing-4);
|
|
6850
|
+
padding: var(--spacing-4);
|
|
6851
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
6852
|
+
border-radius: var(--input-field-radius-lg);
|
|
6853
|
+
background-color: var(--color-surface-level3);
|
|
6848
6854
|
cursor: pointer;
|
|
6849
|
-
|
|
6855
|
+
transition: border-color 0.15s ease, border-width 0.15s ease;
|
|
6856
|
+
overflow: hidden;
|
|
6857
|
+
box-sizing: border-box;
|
|
6850
6858
|
}
|
|
6851
6859
|
|
|
6852
|
-
.muka-radio--disabled {
|
|
6860
|
+
.muka-radio-tile--disabled {
|
|
6853
6861
|
cursor: not-allowed;
|
|
6854
6862
|
opacity: 0.6;
|
|
6855
6863
|
}
|
|
6856
6864
|
|
|
6857
|
-
/*
|
|
6858
|
-
.muka-
|
|
6859
|
-
|
|
6860
|
-
|
|
6865
|
+
/* Selected state */
|
|
6866
|
+
.muka-radio-tile[data-checked] {
|
|
6867
|
+
border-width: var(--border-width-bold);
|
|
6868
|
+
border-color: var(--color-action-default);
|
|
6869
|
+
}
|
|
6870
|
+
|
|
6871
|
+
/* Vertical layout */
|
|
6872
|
+
.muka-radio-tile--vertical {
|
|
6873
|
+
flex-direction: column;
|
|
6861
6874
|
align-items: center;
|
|
6862
|
-
|
|
6875
|
+
gap: var(--spacing-2);
|
|
6876
|
+
position: relative;
|
|
6877
|
+
width: 160px;
|
|
6878
|
+
}
|
|
6879
|
+
|
|
6880
|
+
/* Radio container */
|
|
6881
|
+
.muka-radio-tile__radio {
|
|
6863
6882
|
flex-shrink: 0;
|
|
6864
6883
|
}
|
|
6865
6884
|
|
|
6866
|
-
/*
|
|
6867
|
-
.muka-
|
|
6885
|
+
/* Corner-positioned radio for vertical */
|
|
6886
|
+
.muka-radio-tile__radio--corner {
|
|
6868
6887
|
position: absolute;
|
|
6869
|
-
|
|
6870
|
-
|
|
6871
|
-
padding: 0;
|
|
6872
|
-
margin: -1px;
|
|
6873
|
-
overflow: hidden;
|
|
6874
|
-
clip: rect(0, 0, 0, 0);
|
|
6875
|
-
white-space: nowrap;
|
|
6876
|
-
border: 0;
|
|
6888
|
+
top: var(--spacing-4);
|
|
6889
|
+
left: var(--spacing-4);
|
|
6877
6890
|
}
|
|
6878
6891
|
|
|
6879
|
-
/*
|
|
6880
|
-
.muka-
|
|
6881
|
-
|
|
6882
|
-
|
|
6883
|
-
|
|
6892
|
+
/* Adjust corner position when selected (border is thicker) */
|
|
6893
|
+
.muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
|
|
6894
|
+
top: calc(var(--spacing-4) - 1px);
|
|
6895
|
+
left: calc(var(--spacing-4) - 1px);
|
|
6896
|
+
}
|
|
6897
|
+
|
|
6898
|
+
/* Icon */
|
|
6899
|
+
.muka-radio-tile__icon {
|
|
6900
|
+
display: flex;
|
|
6901
|
+
align-items: center;
|
|
6902
|
+
justify-content: center;
|
|
6903
|
+
flex-shrink: 0;
|
|
6904
|
+
width: var(--icon-size-default);
|
|
6905
|
+
height: var(--icon-size-default);
|
|
6906
|
+
color: var(--color-text-default-default);
|
|
6907
|
+
}
|
|
6908
|
+
|
|
6909
|
+
.muka-radio-tile__icon svg {
|
|
6910
|
+
width: 100%;
|
|
6911
|
+
height: 100%;
|
|
6912
|
+
}
|
|
6913
|
+
|
|
6914
|
+
/* Image */
|
|
6915
|
+
.muka-radio-tile__image {
|
|
6916
|
+
flex-shrink: 0;
|
|
6917
|
+
overflow: hidden;
|
|
6918
|
+
border-radius: var(--border-radius-sm);
|
|
6919
|
+
}
|
|
6920
|
+
|
|
6921
|
+
.muka-radio-tile__image img {
|
|
6922
|
+
display: block;
|
|
6923
|
+
width: 100%;
|
|
6924
|
+
height: 100%;
|
|
6925
|
+
object-fit: cover;
|
|
6926
|
+
}
|
|
6927
|
+
|
|
6928
|
+
/* Horizontal image sizing */
|
|
6929
|
+
.muka-radio-tile__image--horizontal {
|
|
6930
|
+
width: 40px;
|
|
6931
|
+
height: 40px;
|
|
6932
|
+
}
|
|
6933
|
+
|
|
6934
|
+
/* Vertical image sizing */
|
|
6935
|
+
.muka-radio-tile--vertical .muka-radio-tile__image {
|
|
6936
|
+
width: 100%;
|
|
6937
|
+
aspect-ratio: 4/3;
|
|
6938
|
+
}
|
|
6939
|
+
|
|
6940
|
+
/* Content container */
|
|
6941
|
+
.muka-radio-tile__content {
|
|
6942
|
+
display: flex;
|
|
6943
|
+
flex-direction: column;
|
|
6944
|
+
flex: 1;
|
|
6945
|
+
min-width: 0;
|
|
6946
|
+
gap: var(--spacing-1);
|
|
6947
|
+
}
|
|
6948
|
+
|
|
6949
|
+
/* Label */
|
|
6950
|
+
.muka-radio-tile__label {
|
|
6951
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
6952
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
6953
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
6954
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
6955
|
+
color: var(--color-text-default-default);
|
|
6956
|
+
}
|
|
6957
|
+
|
|
6958
|
+
.muka-radio-tile__label--bold {
|
|
6959
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
6960
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
6961
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
6962
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
6963
|
+
}
|
|
6964
|
+
|
|
6965
|
+
.muka-radio-tile__label--center {
|
|
6966
|
+
text-align: center;
|
|
6967
|
+
}
|
|
6968
|
+
|
|
6969
|
+
/* Caption */
|
|
6970
|
+
.muka-radio-tile__caption {
|
|
6971
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
6972
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
6973
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
6974
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
6975
|
+
color: var(--color-text-subtle-default);
|
|
6976
|
+
}
|
|
6977
|
+
|
|
6978
|
+
/* Disabled states */
|
|
6979
|
+
.muka-radio-tile--disabled .muka-radio-tile__label,
|
|
6980
|
+
.muka-radio-tile--disabled .muka-radio-tile__icon {
|
|
6981
|
+
color: var(--color-text-subtle-default);
|
|
6982
|
+
}
|
|
6983
|
+
|
|
6984
|
+
|
|
6985
|
+
/* Radio */
|
|
6986
|
+
/* Radio Component Styles - Using Muka Design Tokens */
|
|
6987
|
+
|
|
6988
|
+
/* Wrapper - clickable label container */
|
|
6989
|
+
.muka-radio {
|
|
6990
|
+
display: inline-flex;
|
|
6991
|
+
align-items: center;
|
|
6992
|
+
gap: var(--spacing-4);
|
|
6993
|
+
cursor: pointer;
|
|
6994
|
+
user-select: none;
|
|
6995
|
+
}
|
|
6996
|
+
|
|
6997
|
+
.muka-radio--disabled {
|
|
6998
|
+
cursor: not-allowed;
|
|
6999
|
+
opacity: 0.6;
|
|
7000
|
+
}
|
|
7001
|
+
|
|
7002
|
+
/* Control container */
|
|
7003
|
+
.muka-radio__control {
|
|
7004
|
+
position: relative;
|
|
7005
|
+
display: inline-flex;
|
|
7006
|
+
align-items: center;
|
|
7007
|
+
justify-content: center;
|
|
7008
|
+
flex-shrink: 0;
|
|
7009
|
+
}
|
|
7010
|
+
|
|
7011
|
+
/* Hidden native input */
|
|
7012
|
+
.muka-radio__input {
|
|
7013
|
+
position: absolute;
|
|
7014
|
+
width: 1px;
|
|
7015
|
+
height: 1px;
|
|
7016
|
+
padding: 0;
|
|
7017
|
+
margin: -1px;
|
|
7018
|
+
overflow: hidden;
|
|
7019
|
+
clip: rect(0, 0, 0, 0);
|
|
7020
|
+
white-space: nowrap;
|
|
7021
|
+
border: 0;
|
|
7022
|
+
}
|
|
7023
|
+
|
|
7024
|
+
/* Visual indicator (circle) */
|
|
7025
|
+
.muka-radio__indicator {
|
|
7026
|
+
display: flex;
|
|
7027
|
+
align-items: center;
|
|
7028
|
+
justify-content: center;
|
|
6884
7029
|
width: var(--radio-size-default);
|
|
6885
7030
|
height: var(--radio-size-default);
|
|
6886
7031
|
border-radius: var(--border-radius-full);
|
|
@@ -6981,223 +7126,80 @@ body {
|
|
|
6981
7126
|
}
|
|
6982
7127
|
|
|
6983
7128
|
|
|
6984
|
-
/*
|
|
6985
|
-
/*
|
|
7129
|
+
/* PullToRefresh */
|
|
7130
|
+
/* PullToRefresh Component Styles */
|
|
6986
7131
|
|
|
6987
|
-
|
|
6988
|
-
|
|
7132
|
+
.muka-pull-to-refresh {
|
|
7133
|
+
position: relative;
|
|
6989
7134
|
display: flex;
|
|
6990
|
-
|
|
6991
|
-
|
|
6992
|
-
|
|
6993
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
6994
|
-
border-radius: var(--input-field-radius-lg);
|
|
6995
|
-
background-color: var(--color-surface-level3);
|
|
6996
|
-
cursor: pointer;
|
|
6997
|
-
transition: border-color 0.15s ease, border-width 0.15s ease;
|
|
7135
|
+
flex-direction: column;
|
|
7136
|
+
width: 100%;
|
|
7137
|
+
height: 100%;
|
|
6998
7138
|
overflow: hidden;
|
|
6999
|
-
box-sizing: border-box;
|
|
7000
|
-
}
|
|
7001
|
-
|
|
7002
|
-
.muka-radio-tile--disabled {
|
|
7003
|
-
cursor: not-allowed;
|
|
7004
|
-
opacity: 0.6;
|
|
7005
7139
|
}
|
|
7006
7140
|
|
|
7007
|
-
|
|
7008
|
-
|
|
7009
|
-
|
|
7010
|
-
|
|
7141
|
+
.muka-pull-to-refresh__indicator {
|
|
7142
|
+
position: absolute;
|
|
7143
|
+
top: 0;
|
|
7144
|
+
left: 0;
|
|
7145
|
+
right: 0;
|
|
7146
|
+
display: flex;
|
|
7147
|
+
align-items: flex-end;
|
|
7148
|
+
justify-content: center;
|
|
7149
|
+
padding-bottom: var(--spacing-2);
|
|
7150
|
+
color: var(--color-text-subtle-default);
|
|
7151
|
+
overflow: hidden;
|
|
7152
|
+
pointer-events: none;
|
|
7153
|
+
z-index: 1;
|
|
7011
7154
|
}
|
|
7012
7155
|
|
|
7013
|
-
|
|
7014
|
-
|
|
7015
|
-
flex-direction: column;
|
|
7156
|
+
.muka-pull-to-refresh__chevron {
|
|
7157
|
+
display: inline-flex;
|
|
7016
7158
|
align-items: center;
|
|
7017
|
-
|
|
7018
|
-
|
|
7019
|
-
width: 160px;
|
|
7159
|
+
justify-content: center;
|
|
7160
|
+
transition: transform 0.16s ease;
|
|
7020
7161
|
}
|
|
7021
7162
|
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
7163
|
+
.muka-pull-to-refresh__scroller {
|
|
7164
|
+
flex: 1 1 auto;
|
|
7165
|
+
min-height: 0;
|
|
7166
|
+
width: 100%;
|
|
7167
|
+
overflow-x: clip;
|
|
7168
|
+
overflow-y: auto;
|
|
7169
|
+
-webkit-overflow-scrolling: touch;
|
|
7170
|
+
overscroll-behavior-y: contain;
|
|
7171
|
+
touch-action: pan-y;
|
|
7172
|
+
will-change: transform;
|
|
7025
7173
|
}
|
|
7026
7174
|
|
|
7027
|
-
/* Corner-positioned radio for vertical */
|
|
7028
|
-
.muka-radio-tile__radio--corner {
|
|
7029
|
-
position: absolute;
|
|
7030
|
-
top: var(--spacing-4);
|
|
7031
|
-
left: var(--spacing-4);
|
|
7032
|
-
}
|
|
7033
7175
|
|
|
7034
|
-
/*
|
|
7035
|
-
|
|
7036
|
-
top: calc(var(--spacing-4) - 1px);
|
|
7037
|
-
left: calc(var(--spacing-4) - 1px);
|
|
7038
|
-
}
|
|
7176
|
+
/* ProgressAccordeon */
|
|
7177
|
+
/* ProgressAccordeon Component Styles — Using Muka Design Tokens */
|
|
7039
7178
|
|
|
7040
|
-
/*
|
|
7041
|
-
.muka-
|
|
7179
|
+
/* ─── Root ──────────────────────────────────────────────── */
|
|
7180
|
+
.muka-progress-accordeon {
|
|
7181
|
+
container-type: inline-size;
|
|
7042
7182
|
display: flex;
|
|
7043
|
-
|
|
7044
|
-
|
|
7045
|
-
flex-shrink: 0;
|
|
7046
|
-
width: var(--icon-size-default);
|
|
7047
|
-
height: var(--icon-size-default);
|
|
7048
|
-
color: var(--color-text-default-default);
|
|
7049
|
-
}
|
|
7050
|
-
|
|
7051
|
-
.muka-radio-tile__icon svg {
|
|
7183
|
+
flex-direction: column;
|
|
7184
|
+
align-items: stretch;
|
|
7052
7185
|
width: 100%;
|
|
7053
|
-
|
|
7186
|
+
/* Top padding provides the vertical rhythm between stacked steps */
|
|
7187
|
+
padding-top: var(--spacing-8);
|
|
7054
7188
|
}
|
|
7055
7189
|
|
|
7056
|
-
/*
|
|
7057
|
-
.muka-
|
|
7058
|
-
|
|
7059
|
-
|
|
7060
|
-
|
|
7190
|
+
/* Per-state gap: content-bearing steps are tighter, header-only steps looser */
|
|
7191
|
+
.muka-progress-accordeon--current,
|
|
7192
|
+
.muka-progress-accordeon--current.muka-progress-accordeon--expanded,
|
|
7193
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--expanded,
|
|
7194
|
+
.muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
|
|
7195
|
+
gap: var(--spacing-6);
|
|
7061
7196
|
}
|
|
7062
7197
|
|
|
7063
|
-
.muka-
|
|
7064
|
-
|
|
7065
|
-
|
|
7066
|
-
|
|
7067
|
-
|
|
7068
|
-
}
|
|
7069
|
-
|
|
7070
|
-
/* Horizontal image sizing */
|
|
7071
|
-
.muka-radio-tile__image--horizontal {
|
|
7072
|
-
width: 40px;
|
|
7073
|
-
height: 40px;
|
|
7074
|
-
}
|
|
7075
|
-
|
|
7076
|
-
/* Vertical image sizing */
|
|
7077
|
-
.muka-radio-tile--vertical .muka-radio-tile__image {
|
|
7078
|
-
width: 100%;
|
|
7079
|
-
aspect-ratio: 4/3;
|
|
7080
|
-
}
|
|
7081
|
-
|
|
7082
|
-
/* Content container */
|
|
7083
|
-
.muka-radio-tile__content {
|
|
7084
|
-
display: flex;
|
|
7085
|
-
flex-direction: column;
|
|
7086
|
-
flex: 1;
|
|
7087
|
-
min-width: 0;
|
|
7088
|
-
gap: var(--spacing-1);
|
|
7089
|
-
}
|
|
7090
|
-
|
|
7091
|
-
/* Label */
|
|
7092
|
-
.muka-radio-tile__label {
|
|
7093
|
-
font-family: var(--text-body-lg-regular-fontFamily);
|
|
7094
|
-
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
7095
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
7096
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
7097
|
-
color: var(--color-text-default-default);
|
|
7098
|
-
}
|
|
7099
|
-
|
|
7100
|
-
.muka-radio-tile__label--bold {
|
|
7101
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
7102
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
7103
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
7104
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
7105
|
-
}
|
|
7106
|
-
|
|
7107
|
-
.muka-radio-tile__label--center {
|
|
7108
|
-
text-align: center;
|
|
7109
|
-
}
|
|
7110
|
-
|
|
7111
|
-
/* Caption */
|
|
7112
|
-
.muka-radio-tile__caption {
|
|
7113
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
7114
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7115
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
7116
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
7117
|
-
color: var(--color-text-subtle-default);
|
|
7118
|
-
}
|
|
7119
|
-
|
|
7120
|
-
/* Disabled states */
|
|
7121
|
-
.muka-radio-tile--disabled .muka-radio-tile__label,
|
|
7122
|
-
.muka-radio-tile--disabled .muka-radio-tile__icon {
|
|
7123
|
-
color: var(--color-text-subtle-default);
|
|
7124
|
-
}
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
/* PullToRefresh */
|
|
7128
|
-
/* PullToRefresh Component Styles */
|
|
7129
|
-
|
|
7130
|
-
.muka-pull-to-refresh {
|
|
7131
|
-
position: relative;
|
|
7132
|
-
display: flex;
|
|
7133
|
-
flex-direction: column;
|
|
7134
|
-
width: 100%;
|
|
7135
|
-
height: 100%;
|
|
7136
|
-
overflow: hidden;
|
|
7137
|
-
}
|
|
7138
|
-
|
|
7139
|
-
.muka-pull-to-refresh__indicator {
|
|
7140
|
-
position: absolute;
|
|
7141
|
-
top: 0;
|
|
7142
|
-
left: 0;
|
|
7143
|
-
right: 0;
|
|
7144
|
-
display: flex;
|
|
7145
|
-
align-items: flex-end;
|
|
7146
|
-
justify-content: center;
|
|
7147
|
-
padding-bottom: var(--spacing-2);
|
|
7148
|
-
color: var(--color-text-subtle-default);
|
|
7149
|
-
overflow: hidden;
|
|
7150
|
-
pointer-events: none;
|
|
7151
|
-
z-index: 1;
|
|
7152
|
-
}
|
|
7153
|
-
|
|
7154
|
-
.muka-pull-to-refresh__chevron {
|
|
7155
|
-
display: inline-flex;
|
|
7156
|
-
align-items: center;
|
|
7157
|
-
justify-content: center;
|
|
7158
|
-
transition: transform 0.16s ease;
|
|
7159
|
-
}
|
|
7160
|
-
|
|
7161
|
-
.muka-pull-to-refresh__scroller {
|
|
7162
|
-
flex: 1 1 auto;
|
|
7163
|
-
min-height: 0;
|
|
7164
|
-
width: 100%;
|
|
7165
|
-
overflow-x: clip;
|
|
7166
|
-
overflow-y: auto;
|
|
7167
|
-
-webkit-overflow-scrolling: touch;
|
|
7168
|
-
overscroll-behavior-y: contain;
|
|
7169
|
-
touch-action: pan-y;
|
|
7170
|
-
will-change: transform;
|
|
7171
|
-
}
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
/* ProgressAccordeon */
|
|
7175
|
-
/* ProgressAccordeon Component Styles — Using Muka Design Tokens */
|
|
7176
|
-
|
|
7177
|
-
/* ─── Root ──────────────────────────────────────────────── */
|
|
7178
|
-
.muka-progress-accordeon {
|
|
7179
|
-
container-type: inline-size;
|
|
7180
|
-
display: flex;
|
|
7181
|
-
flex-direction: column;
|
|
7182
|
-
align-items: stretch;
|
|
7183
|
-
width: 100%;
|
|
7184
|
-
/* Top padding provides the vertical rhythm between stacked steps */
|
|
7185
|
-
padding-top: var(--spacing-8);
|
|
7186
|
-
}
|
|
7187
|
-
|
|
7188
|
-
/* Per-state gap: content-bearing steps are tighter, header-only steps looser */
|
|
7189
|
-
.muka-progress-accordeon--current,
|
|
7190
|
-
.muka-progress-accordeon--current.muka-progress-accordeon--expanded,
|
|
7191
|
-
.muka-progress-accordeon--past.muka-progress-accordeon--expanded,
|
|
7192
|
-
.muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
|
|
7193
|
-
gap: var(--spacing-6);
|
|
7194
|
-
}
|
|
7195
|
-
|
|
7196
|
-
.muka-progress-accordeon--upcoming,
|
|
7197
|
-
.muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
|
|
7198
|
-
.muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
|
|
7199
|
-
.muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
|
|
7200
|
-
gap: var(--spacing-8);
|
|
7198
|
+
.muka-progress-accordeon--upcoming,
|
|
7199
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
|
|
7200
|
+
.muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed,
|
|
7201
|
+
.muka-progress-accordeon--current.muka-progress-accordeon--collapsed {
|
|
7202
|
+
gap: var(--spacing-8);
|
|
7201
7203
|
}
|
|
7202
7204
|
|
|
7203
7205
|
/* Collapsible steps group header + slot. The header↔content gap lives inside the
|
|
@@ -10049,6 +10051,25 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
10049
10051
|
white-space: nowrap;
|
|
10050
10052
|
}
|
|
10051
10053
|
|
|
10054
|
+
/*
|
|
10055
|
+
* Trailing content: time, BadgeNumber, a dot. Stacks vertically (a time above
|
|
10056
|
+
* a badge, as in a chat inbox), aligned to the end, and never shrinks the label
|
|
10057
|
+
* below it: the label ellipsises instead.
|
|
10058
|
+
*/
|
|
10059
|
+
.muka-listitem__trailing {
|
|
10060
|
+
display: flex;
|
|
10061
|
+
flex-direction: column;
|
|
10062
|
+
align-items: flex-end;
|
|
10063
|
+
justify-content: center;
|
|
10064
|
+
gap: var(--spacing-1);
|
|
10065
|
+
flex-shrink: 0;
|
|
10066
|
+
font-family: var(--alias-font-plain-family);
|
|
10067
|
+
font-size: var(--text-body-sm-fontSize);
|
|
10068
|
+
line-height: var(--text-body-sm-lineHeight);
|
|
10069
|
+
color: var(--color-text-subtle-default);
|
|
10070
|
+
white-space: nowrap;
|
|
10071
|
+
}
|
|
10072
|
+
|
|
10052
10073
|
/* Trailing chevron */
|
|
10053
10074
|
.muka-listitem__chevron {
|
|
10054
10075
|
display: inline-flex;
|
|
@@ -15061,221 +15082,65 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15061
15082
|
}
|
|
15062
15083
|
|
|
15063
15084
|
|
|
15064
|
-
/*
|
|
15065
|
-
/*
|
|
15085
|
+
/* Card */
|
|
15086
|
+
/* Card Component Styles - Using Muka Design Tokens */
|
|
15066
15087
|
|
|
15067
|
-
.muka-
|
|
15068
|
-
|
|
15069
|
-
|
|
15070
|
-
|
|
15071
|
-
|
|
15072
|
-
|
|
15073
|
-
padding: var(--spacing-2) var(--spacing-3);
|
|
15074
|
-
background-color: var(--color-surface-level1);
|
|
15075
|
-
border: var(--border-width-regular) solid var(--color-border-default);
|
|
15076
|
-
border-radius: var(--radius-md);
|
|
15088
|
+
.muka-card {
|
|
15089
|
+
background-color: var(--card-color-default-background);
|
|
15090
|
+
color: var(--card-color-default-foreground);
|
|
15091
|
+
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
15092
|
+
box-shadow: var(--card-shadow-default);
|
|
15093
|
+
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15077
15094
|
overflow: hidden;
|
|
15078
15095
|
}
|
|
15079
15096
|
|
|
15080
|
-
|
|
15081
|
-
|
|
15097
|
+
/* Padding variants */
|
|
15098
|
+
.muka-card--padding-none {
|
|
15099
|
+
padding: 0;
|
|
15082
15100
|
}
|
|
15083
15101
|
|
|
15084
|
-
.muka-
|
|
15085
|
-
|
|
15102
|
+
.muka-card--padding-sm {
|
|
15103
|
+
padding: var(--card-padding-sm);
|
|
15086
15104
|
}
|
|
15087
15105
|
|
|
15088
|
-
.muka-
|
|
15089
|
-
|
|
15090
|
-
pointer-events: none;
|
|
15106
|
+
.muka-card--padding-md {
|
|
15107
|
+
padding: var(--card-padding-md);
|
|
15091
15108
|
}
|
|
15092
15109
|
|
|
15093
|
-
|
|
15094
|
-
|
|
15095
|
-
.muka-chat-attachment-chip__body {
|
|
15096
|
-
display: inline-flex;
|
|
15097
|
-
align-items: center;
|
|
15098
|
-
gap: var(--spacing-2);
|
|
15099
|
-
min-width: 0;
|
|
15100
|
-
flex: 1 1 auto;
|
|
15101
|
-
background: none;
|
|
15102
|
-
border: none;
|
|
15103
|
-
padding: 0;
|
|
15104
|
-
margin: 0;
|
|
15105
|
-
text-align: left;
|
|
15106
|
-
color: inherit;
|
|
15107
|
-
font: inherit;
|
|
15108
|
-
cursor: default;
|
|
15109
|
-
-webkit-tap-highlight-color: transparent;
|
|
15110
|
+
.muka-card--padding-lg {
|
|
15111
|
+
padding: var(--card-padding-lg);
|
|
15110
15112
|
}
|
|
15111
15113
|
|
|
15112
|
-
|
|
15113
|
-
|
|
15114
|
+
/* Radius variants */
|
|
15115
|
+
.muka-card--radius-sm {
|
|
15116
|
+
border-radius: var(--card-radius-sm);
|
|
15114
15117
|
}
|
|
15115
15118
|
|
|
15116
|
-
.muka-
|
|
15117
|
-
|
|
15118
|
-
outline-offset: 2px;
|
|
15119
|
-
border-radius: var(--radius-sm);
|
|
15119
|
+
.muka-card--radius-md {
|
|
15120
|
+
border-radius: var(--card-radius-md);
|
|
15120
15121
|
}
|
|
15121
15122
|
|
|
15122
|
-
.muka-
|
|
15123
|
-
|
|
15124
|
-
align-items: center;
|
|
15125
|
-
justify-content: center;
|
|
15126
|
-
flex-shrink: 0;
|
|
15127
|
-
color: var(--color-text-subtle-default);
|
|
15123
|
+
.muka-card--radius-lg {
|
|
15124
|
+
border-radius: var(--card-radius-lg);
|
|
15128
15125
|
}
|
|
15129
15126
|
|
|
15130
|
-
|
|
15131
|
-
|
|
15132
|
-
|
|
15133
|
-
|
|
15134
|
-
flex: 1 1 auto;
|
|
15127
|
+
/* Interactive variant */
|
|
15128
|
+
.muka-card--interactive {
|
|
15129
|
+
cursor: pointer;
|
|
15130
|
+
user-select: none;
|
|
15135
15131
|
}
|
|
15136
15132
|
|
|
15137
|
-
.muka-
|
|
15138
|
-
color: var(--color-
|
|
15139
|
-
|
|
15140
|
-
|
|
15141
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
15142
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15143
|
-
white-space: nowrap;
|
|
15144
|
-
overflow: hidden;
|
|
15145
|
-
text-overflow: ellipsis;
|
|
15133
|
+
.muka-card--interactive:hover {
|
|
15134
|
+
background-color: var(--card-color-hover-background);
|
|
15135
|
+
border-color: var(--card-color-hover-border);
|
|
15136
|
+
box-shadow: var(--card-shadow-hover);
|
|
15146
15137
|
}
|
|
15147
15138
|
|
|
15148
|
-
.muka-
|
|
15149
|
-
|
|
15150
|
-
|
|
15151
|
-
|
|
15152
|
-
|
|
15153
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15154
|
-
white-space: nowrap;
|
|
15155
|
-
overflow: hidden;
|
|
15156
|
-
text-overflow: ellipsis;
|
|
15157
|
-
}
|
|
15158
|
-
|
|
15159
|
-
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
|
|
15160
|
-
color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15161
|
-
}
|
|
15162
|
-
|
|
15163
|
-
/* ─── Remove button ────────────────────────────────────── */
|
|
15164
|
-
|
|
15165
|
-
.muka-chat-attachment-chip__remove {
|
|
15166
|
-
display: inline-flex;
|
|
15167
|
-
align-items: center;
|
|
15168
|
-
justify-content: center;
|
|
15169
|
-
width: 20px;
|
|
15170
|
-
height: 20px;
|
|
15171
|
-
border: none;
|
|
15172
|
-
background: none;
|
|
15173
|
-
padding: 0;
|
|
15174
|
-
border-radius: var(--radius-sm);
|
|
15175
|
-
cursor: pointer;
|
|
15176
|
-
color: var(--color-text-subtle-default);
|
|
15177
|
-
flex-shrink: 0;
|
|
15178
|
-
-webkit-tap-highlight-color: transparent;
|
|
15179
|
-
}
|
|
15180
|
-
|
|
15181
|
-
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
15182
|
-
color: var(--color-text-default-default);
|
|
15183
|
-
background-color: var(--color-surface-level2);
|
|
15184
|
-
}
|
|
15185
|
-
|
|
15186
|
-
.muka-chat-attachment-chip__remove:focus-visible {
|
|
15187
|
-
outline: 2px solid var(--color-action-default);
|
|
15188
|
-
outline-offset: 2px;
|
|
15189
|
-
}
|
|
15190
|
-
|
|
15191
|
-
.muka-chat-attachment-chip__remove:disabled {
|
|
15192
|
-
cursor: not-allowed;
|
|
15193
|
-
opacity: 0.5;
|
|
15194
|
-
}
|
|
15195
|
-
|
|
15196
|
-
/* ─── Progress bar ─────────────────────────────────────── */
|
|
15197
|
-
|
|
15198
|
-
.muka-chat-attachment-chip__progress {
|
|
15199
|
-
position: absolute;
|
|
15200
|
-
left: 0;
|
|
15201
|
-
right: 0;
|
|
15202
|
-
bottom: 0;
|
|
15203
|
-
height: 2px;
|
|
15204
|
-
background-color: var(--color-surface-level2);
|
|
15205
|
-
overflow: hidden;
|
|
15206
|
-
}
|
|
15207
|
-
|
|
15208
|
-
.muka-chat-attachment-chip__progress-fill {
|
|
15209
|
-
display: block;
|
|
15210
|
-
height: 100%;
|
|
15211
|
-
background-color: var(--color-action-default);
|
|
15212
|
-
transition: width 0.16s ease;
|
|
15213
|
-
}
|
|
15214
|
-
|
|
15215
|
-
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
15216
|
-
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15217
|
-
}
|
|
15218
|
-
|
|
15219
|
-
|
|
15220
|
-
/* Card */
|
|
15221
|
-
/* Card Component Styles - Using Muka Design Tokens */
|
|
15222
|
-
|
|
15223
|
-
.muka-card {
|
|
15224
|
-
background-color: var(--card-color-default-background);
|
|
15225
|
-
color: var(--card-color-default-foreground);
|
|
15226
|
-
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
15227
|
-
box-shadow: var(--card-shadow-default);
|
|
15228
|
-
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15229
|
-
overflow: hidden;
|
|
15230
|
-
}
|
|
15231
|
-
|
|
15232
|
-
/* Padding variants */
|
|
15233
|
-
.muka-card--padding-none {
|
|
15234
|
-
padding: 0;
|
|
15235
|
-
}
|
|
15236
|
-
|
|
15237
|
-
.muka-card--padding-sm {
|
|
15238
|
-
padding: var(--card-padding-sm);
|
|
15239
|
-
}
|
|
15240
|
-
|
|
15241
|
-
.muka-card--padding-md {
|
|
15242
|
-
padding: var(--card-padding-md);
|
|
15243
|
-
}
|
|
15244
|
-
|
|
15245
|
-
.muka-card--padding-lg {
|
|
15246
|
-
padding: var(--card-padding-lg);
|
|
15247
|
-
}
|
|
15248
|
-
|
|
15249
|
-
/* Radius variants */
|
|
15250
|
-
.muka-card--radius-sm {
|
|
15251
|
-
border-radius: var(--card-radius-sm);
|
|
15252
|
-
}
|
|
15253
|
-
|
|
15254
|
-
.muka-card--radius-md {
|
|
15255
|
-
border-radius: var(--card-radius-md);
|
|
15256
|
-
}
|
|
15257
|
-
|
|
15258
|
-
.muka-card--radius-lg {
|
|
15259
|
-
border-radius: var(--card-radius-lg);
|
|
15260
|
-
}
|
|
15261
|
-
|
|
15262
|
-
/* Interactive variant */
|
|
15263
|
-
.muka-card--interactive {
|
|
15264
|
-
cursor: pointer;
|
|
15265
|
-
user-select: none;
|
|
15266
|
-
}
|
|
15267
|
-
|
|
15268
|
-
.muka-card--interactive:hover {
|
|
15269
|
-
background-color: var(--card-color-hover-background);
|
|
15270
|
-
border-color: var(--card-color-hover-border);
|
|
15271
|
-
box-shadow: var(--card-shadow-hover);
|
|
15272
|
-
}
|
|
15273
|
-
|
|
15274
|
-
.muka-card--interactive:active,
|
|
15275
|
-
.muka-card--interactive.muka-card--pressed {
|
|
15276
|
-
background-color: var(--card-color-pressed-background);
|
|
15277
|
-
border-color: var(--card-color-pressed-border);
|
|
15278
|
-
box-shadow: var(--card-shadow-pressed);
|
|
15139
|
+
.muka-card--interactive:active,
|
|
15140
|
+
.muka-card--interactive.muka-card--pressed {
|
|
15141
|
+
background-color: var(--card-color-pressed-background);
|
|
15142
|
+
border-color: var(--card-color-pressed-border);
|
|
15143
|
+
box-shadow: var(--card-shadow-pressed);
|
|
15279
15144
|
}
|
|
15280
15145
|
|
|
15281
15146
|
.muka-card--interactive:focus-visible {
|
|
@@ -15363,105 +15228,261 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15363
15228
|
}
|
|
15364
15229
|
|
|
15365
15230
|
|
|
15366
|
-
/*
|
|
15367
|
-
/*
|
|
15231
|
+
/* ChatAttachmentChip */
|
|
15232
|
+
/* ChatAttachmentChip Component Styles */
|
|
15368
15233
|
|
|
15369
|
-
|
|
15370
|
-
|
|
15371
|
-
/* Layout */
|
|
15234
|
+
.muka-chat-attachment-chip {
|
|
15235
|
+
position: relative;
|
|
15372
15236
|
display: inline-flex;
|
|
15373
15237
|
align-items: center;
|
|
15374
|
-
|
|
15375
|
-
|
|
15376
|
-
|
|
15377
|
-
|
|
15378
|
-
|
|
15379
|
-
|
|
15380
|
-
|
|
15381
|
-
/* Interaction */
|
|
15382
|
-
border: none;
|
|
15383
|
-
cursor: pointer;
|
|
15384
|
-
user-select: none;
|
|
15385
|
-
transition: all 0.2s ease;
|
|
15386
|
-
|
|
15387
|
-
/* Accessibility */
|
|
15388
|
-
outline: none;
|
|
15389
|
-
position: relative;
|
|
15390
|
-
}
|
|
15391
|
-
|
|
15392
|
-
/* Focus styles for accessibility */
|
|
15393
|
-
.muka-button:focus-visible {
|
|
15394
|
-
outline: 2px solid var(--color-border-focus);
|
|
15395
|
-
outline-offset: 2px;
|
|
15238
|
+
gap: var(--spacing-1);
|
|
15239
|
+
max-width: 240px;
|
|
15240
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
15241
|
+
background-color: var(--color-surface-level1);
|
|
15242
|
+
border: var(--border-width-regular) solid var(--color-border-default);
|
|
15243
|
+
border-radius: var(--radius-md);
|
|
15244
|
+
overflow: hidden;
|
|
15396
15245
|
}
|
|
15397
15246
|
|
|
15398
|
-
|
|
15399
|
-
|
|
15400
|
-
tight (Figma) line-height. Horizontal spacing matches Figma's nested model:
|
|
15401
|
-
the button's padding is the outer container inset, and the label's own
|
|
15402
|
-
padding is the icon-to-text gap (so text-only buttons keep both insets). */
|
|
15403
|
-
.muka-button--sm {
|
|
15404
|
-
padding: 0 var(--button-padding-sm-x);
|
|
15405
|
-
border-radius: var(--button-radius-sm);
|
|
15406
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
15407
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
15408
|
-
min-height: 32px;
|
|
15247
|
+
.muka-chat-attachment-chip--uploading {
|
|
15248
|
+
padding-bottom: calc(var(--spacing-2) + 2px);
|
|
15409
15249
|
}
|
|
15410
15250
|
|
|
15411
|
-
.muka-
|
|
15412
|
-
|
|
15251
|
+
.muka-chat-attachment-chip--error {
|
|
15252
|
+
border-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15413
15253
|
}
|
|
15414
15254
|
|
|
15415
|
-
.muka-
|
|
15416
|
-
|
|
15417
|
-
|
|
15418
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
15419
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
15420
|
-
min-height: 40px;
|
|
15255
|
+
.muka-chat-attachment-chip--disabled {
|
|
15256
|
+
opacity: 0.5;
|
|
15257
|
+
pointer-events: none;
|
|
15421
15258
|
}
|
|
15422
15259
|
|
|
15423
|
-
|
|
15424
|
-
padding: 0 var(--button-gap-md);
|
|
15425
|
-
}
|
|
15260
|
+
/* ─── Body (icon + text) ───────────────────────────────── */
|
|
15426
15261
|
|
|
15427
|
-
.muka-
|
|
15428
|
-
|
|
15429
|
-
|
|
15430
|
-
|
|
15431
|
-
|
|
15432
|
-
|
|
15262
|
+
.muka-chat-attachment-chip__body {
|
|
15263
|
+
display: inline-flex;
|
|
15264
|
+
align-items: center;
|
|
15265
|
+
gap: var(--spacing-2);
|
|
15266
|
+
min-width: 0;
|
|
15267
|
+
flex: 1 1 auto;
|
|
15268
|
+
background: none;
|
|
15269
|
+
border: none;
|
|
15270
|
+
padding: 0;
|
|
15271
|
+
margin: 0;
|
|
15272
|
+
text-align: left;
|
|
15273
|
+
color: inherit;
|
|
15274
|
+
font: inherit;
|
|
15275
|
+
cursor: default;
|
|
15276
|
+
-webkit-tap-highlight-color: transparent;
|
|
15433
15277
|
}
|
|
15434
15278
|
|
|
15435
|
-
.muka-
|
|
15436
|
-
|
|
15279
|
+
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
|
|
15280
|
+
cursor: pointer;
|
|
15437
15281
|
}
|
|
15438
15282
|
|
|
15439
|
-
.muka-
|
|
15440
|
-
|
|
15441
|
-
|
|
15442
|
-
|
|
15443
|
-
line-height: var(--text-label-2xl-semibold-lineHeight);
|
|
15444
|
-
min-height: 64px;
|
|
15283
|
+
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
|
|
15284
|
+
outline: 2px solid var(--color-action-default);
|
|
15285
|
+
outline-offset: 2px;
|
|
15286
|
+
border-radius: var(--radius-sm);
|
|
15445
15287
|
}
|
|
15446
15288
|
|
|
15447
|
-
.muka-
|
|
15448
|
-
|
|
15289
|
+
.muka-chat-attachment-chip__icon {
|
|
15290
|
+
display: inline-flex;
|
|
15291
|
+
align-items: center;
|
|
15292
|
+
justify-content: center;
|
|
15293
|
+
flex-shrink: 0;
|
|
15294
|
+
color: var(--color-text-subtle-default);
|
|
15449
15295
|
}
|
|
15450
15296
|
|
|
15451
|
-
|
|
15452
|
-
|
|
15453
|
-
|
|
15454
|
-
|
|
15455
|
-
|
|
15297
|
+
.muka-chat-attachment-chip__text {
|
|
15298
|
+
display: flex;
|
|
15299
|
+
flex-direction: column;
|
|
15300
|
+
min-width: 0;
|
|
15301
|
+
flex: 1 1 auto;
|
|
15456
15302
|
}
|
|
15457
15303
|
|
|
15458
|
-
.muka-
|
|
15459
|
-
|
|
15460
|
-
|
|
15461
|
-
|
|
15304
|
+
.muka-chat-attachment-chip__name {
|
|
15305
|
+
color: var(--color-text-default-default);
|
|
15306
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15307
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15308
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15309
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15310
|
+
white-space: nowrap;
|
|
15311
|
+
overflow: hidden;
|
|
15312
|
+
text-overflow: ellipsis;
|
|
15462
15313
|
}
|
|
15463
15314
|
|
|
15464
|
-
|
|
15315
|
+
.muka-chat-attachment-chip__meta {
|
|
15316
|
+
color: var(--color-text-subtle-default);
|
|
15317
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15318
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15319
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15320
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15321
|
+
white-space: nowrap;
|
|
15322
|
+
overflow: hidden;
|
|
15323
|
+
text-overflow: ellipsis;
|
|
15324
|
+
}
|
|
15325
|
+
|
|
15326
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
|
|
15327
|
+
color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15328
|
+
}
|
|
15329
|
+
|
|
15330
|
+
/* ─── Remove button ────────────────────────────────────── */
|
|
15331
|
+
|
|
15332
|
+
.muka-chat-attachment-chip__remove {
|
|
15333
|
+
display: inline-flex;
|
|
15334
|
+
align-items: center;
|
|
15335
|
+
justify-content: center;
|
|
15336
|
+
width: 20px;
|
|
15337
|
+
height: 20px;
|
|
15338
|
+
border: none;
|
|
15339
|
+
background: none;
|
|
15340
|
+
padding: 0;
|
|
15341
|
+
border-radius: var(--radius-sm);
|
|
15342
|
+
cursor: pointer;
|
|
15343
|
+
color: var(--color-text-subtle-default);
|
|
15344
|
+
flex-shrink: 0;
|
|
15345
|
+
-webkit-tap-highlight-color: transparent;
|
|
15346
|
+
}
|
|
15347
|
+
|
|
15348
|
+
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
15349
|
+
color: var(--color-text-default-default);
|
|
15350
|
+
background-color: var(--color-surface-level2);
|
|
15351
|
+
}
|
|
15352
|
+
|
|
15353
|
+
.muka-chat-attachment-chip__remove:focus-visible {
|
|
15354
|
+
outline: 2px solid var(--color-action-default);
|
|
15355
|
+
outline-offset: 2px;
|
|
15356
|
+
}
|
|
15357
|
+
|
|
15358
|
+
.muka-chat-attachment-chip__remove:disabled {
|
|
15359
|
+
cursor: not-allowed;
|
|
15360
|
+
opacity: 0.5;
|
|
15361
|
+
}
|
|
15362
|
+
|
|
15363
|
+
/* ─── Progress bar ─────────────────────────────────────── */
|
|
15364
|
+
|
|
15365
|
+
.muka-chat-attachment-chip__progress {
|
|
15366
|
+
position: absolute;
|
|
15367
|
+
left: 0;
|
|
15368
|
+
right: 0;
|
|
15369
|
+
bottom: 0;
|
|
15370
|
+
height: 2px;
|
|
15371
|
+
background-color: var(--color-surface-level2);
|
|
15372
|
+
overflow: hidden;
|
|
15373
|
+
}
|
|
15374
|
+
|
|
15375
|
+
.muka-chat-attachment-chip__progress-fill {
|
|
15376
|
+
display: block;
|
|
15377
|
+
height: 100%;
|
|
15378
|
+
background-color: var(--color-action-default);
|
|
15379
|
+
transition: width 0.16s ease;
|
|
15380
|
+
}
|
|
15381
|
+
|
|
15382
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
15383
|
+
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15384
|
+
}
|
|
15385
|
+
|
|
15386
|
+
|
|
15387
|
+
/* Button */
|
|
15388
|
+
/* Button Component Styles - Using Muka Design Tokens */
|
|
15389
|
+
|
|
15390
|
+
/* Base button styles */
|
|
15391
|
+
.muka-button {
|
|
15392
|
+
/* Layout */
|
|
15393
|
+
display: inline-flex;
|
|
15394
|
+
align-items: center;
|
|
15395
|
+
justify-content: center;
|
|
15396
|
+
|
|
15397
|
+
/* Typography - using semantic tokens */
|
|
15398
|
+
font-family: var(--alias-font-brand-family);
|
|
15399
|
+
font-weight: var(--alias-font-brand-weight-semibold);
|
|
15400
|
+
text-decoration: none;
|
|
15401
|
+
|
|
15402
|
+
/* Interaction */
|
|
15403
|
+
border: none;
|
|
15404
|
+
cursor: pointer;
|
|
15405
|
+
user-select: none;
|
|
15406
|
+
transition: all 0.2s ease;
|
|
15407
|
+
|
|
15408
|
+
/* Accessibility */
|
|
15409
|
+
outline: none;
|
|
15410
|
+
position: relative;
|
|
15411
|
+
}
|
|
15412
|
+
|
|
15413
|
+
/* Focus styles for accessibility */
|
|
15414
|
+
.muka-button:focus-visible {
|
|
15415
|
+
outline: 2px solid var(--color-border-focus);
|
|
15416
|
+
outline-offset: 2px;
|
|
15417
|
+
}
|
|
15418
|
+
|
|
15419
|
+
/* Size variants
|
|
15420
|
+
Height is driven by min-height; vertical padding is 0 and the label carries
|
|
15421
|
+
tight (Figma) line-height. Horizontal spacing matches Figma's nested model:
|
|
15422
|
+
the button's padding is the outer container inset, and the label's own
|
|
15423
|
+
padding is the icon-to-text gap (so text-only buttons keep both insets). */
|
|
15424
|
+
.muka-button--sm {
|
|
15425
|
+
padding: 0 var(--button-padding-sm-x);
|
|
15426
|
+
border-radius: var(--button-radius-sm);
|
|
15427
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
15428
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
15429
|
+
min-height: 32px;
|
|
15430
|
+
}
|
|
15431
|
+
|
|
15432
|
+
.muka-button--sm .muka-button__label {
|
|
15433
|
+
padding: 0 var(--button-gap-sm);
|
|
15434
|
+
}
|
|
15435
|
+
|
|
15436
|
+
.muka-button--md {
|
|
15437
|
+
padding: 0 var(--button-padding-md-x);
|
|
15438
|
+
border-radius: var(--button-radius-md);
|
|
15439
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
15440
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
15441
|
+
min-height: 40px;
|
|
15442
|
+
}
|
|
15443
|
+
|
|
15444
|
+
.muka-button--md .muka-button__label {
|
|
15445
|
+
padding: 0 var(--button-gap-md);
|
|
15446
|
+
}
|
|
15447
|
+
|
|
15448
|
+
.muka-button--lg {
|
|
15449
|
+
padding: 0 var(--button-padding-lg-x);
|
|
15450
|
+
border-radius: var(--button-radius-lg);
|
|
15451
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
15452
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
15453
|
+
min-height: 48px;
|
|
15454
|
+
}
|
|
15455
|
+
|
|
15456
|
+
.muka-button--lg .muka-button__label {
|
|
15457
|
+
padding: 0 var(--button-gap-lg);
|
|
15458
|
+
}
|
|
15459
|
+
|
|
15460
|
+
.muka-button--xl {
|
|
15461
|
+
padding: 0 var(--button-padding-xl-x);
|
|
15462
|
+
border-radius: var(--button-radius-xl);
|
|
15463
|
+
font-size: var(--text-label-2xl-semibold-fontSize);
|
|
15464
|
+
line-height: var(--text-label-2xl-semibold-lineHeight);
|
|
15465
|
+
min-height: 64px;
|
|
15466
|
+
}
|
|
15467
|
+
|
|
15468
|
+
.muka-button--xl .muka-button__label {
|
|
15469
|
+
padding: 0 var(--button-gap-xl);
|
|
15470
|
+
}
|
|
15471
|
+
|
|
15472
|
+
/* Primary variant - your main CTA button */
|
|
15473
|
+
.muka-button--primary {
|
|
15474
|
+
background-color: var(--button-color-primary-background-default);
|
|
15475
|
+
color: var(--button-color-primary-foreground-default);
|
|
15476
|
+
box-shadow: var(--button-color-primary-shadow-default);
|
|
15477
|
+
}
|
|
15478
|
+
|
|
15479
|
+
.muka-button--primary:hover:not(:disabled) {
|
|
15480
|
+
background-color: var(--button-color-primary-background-hover);
|
|
15481
|
+
color: var(--button-color-primary-foreground-hover);
|
|
15482
|
+
box-shadow: var(--button-color-primary-shadow-hover);
|
|
15483
|
+
}
|
|
15484
|
+
|
|
15485
|
+
/* `[data-state="open"]` keeps a Button pressed while it's an open disclosure
|
|
15465
15486
|
trigger (Radix Menu/Popover set this on the trigger). `[aria-pressed="true"]`
|
|
15466
15487
|
gives toggle buttons a visible selected state, so the toggle is not conveyed
|
|
15467
15488
|
to sighted users by the accessibility tree alone. */
|
|
@@ -15809,696 +15830,714 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15809
15830
|
}
|
|
15810
15831
|
|
|
15811
15832
|
|
|
15812
|
-
/*
|
|
15813
|
-
/*
|
|
15833
|
+
/* BadgeNumber */
|
|
15834
|
+
/* BadgeNumber Component Styles - Using Muka Design Tokens */
|
|
15814
15835
|
|
|
15815
|
-
.muka-
|
|
15816
|
-
|
|
15817
|
-
|
|
15836
|
+
.muka-badge-number {
|
|
15837
|
+
display: inline-flex;
|
|
15838
|
+
align-items: center;
|
|
15839
|
+
justify-content: center;
|
|
15840
|
+
border-radius: var(--border-radius-full);
|
|
15841
|
+
white-space: nowrap;
|
|
15842
|
+
user-select: none;
|
|
15843
|
+
box-sizing: border-box;
|
|
15818
15844
|
}
|
|
15819
15845
|
|
|
15820
|
-
/*
|
|
15821
|
-
|
|
15822
|
-
|
|
15846
|
+
/*
|
|
15847
|
+
* Sizes — fixed height, matching min-width (so a single digit renders as a
|
|
15848
|
+
* circle), horizontal padding, and bold label typography. Vertical centering
|
|
15849
|
+
* is handled by the fixed height + align-items: center.
|
|
15850
|
+
*/
|
|
15851
|
+
.muka-badge-number--2xs {
|
|
15852
|
+
height: var(--badge-number-size-2xs);
|
|
15853
|
+
min-width: var(--badge-number-size-2xs);
|
|
15854
|
+
padding: 0 var(--badge-number-padding-2xs);
|
|
15855
|
+
font-family: var(--text-label-xs-bold-fontFamily);
|
|
15856
|
+
font-weight: var(--text-label-xs-bold-fontWeight);
|
|
15857
|
+
font-size: var(--text-label-xs-bold-fontSize);
|
|
15858
|
+
line-height: var(--text-label-xs-bold-lineHeight);
|
|
15823
15859
|
}
|
|
15824
15860
|
|
|
15825
|
-
|
|
15826
|
-
|
|
15827
|
-
|
|
15861
|
+
.muka-badge-number--xs {
|
|
15862
|
+
height: var(--badge-number-size-xs);
|
|
15863
|
+
min-width: var(--badge-number-size-xs);
|
|
15864
|
+
padding: 0 var(--badge-number-padding-xs);
|
|
15865
|
+
font-family: var(--text-label-sm-bold-fontFamily);
|
|
15866
|
+
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
15867
|
+
font-size: var(--text-label-sm-bold-fontSize);
|
|
15868
|
+
line-height: var(--text-label-sm-bold-lineHeight);
|
|
15828
15869
|
}
|
|
15829
15870
|
|
|
15830
|
-
|
|
15831
|
-
|
|
15832
|
-
|
|
15833
|
-
|
|
15834
|
-
|
|
15835
|
-
|
|
15871
|
+
.muka-badge-number--sm {
|
|
15872
|
+
height: var(--badge-number-size-sm);
|
|
15873
|
+
min-width: var(--badge-number-size-sm);
|
|
15874
|
+
padding: 0 var(--badge-number-padding-sm);
|
|
15875
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
15876
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
15877
|
+
font-size: var(--text-label-md-bold-fontSize);
|
|
15878
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
15836
15879
|
}
|
|
15837
15880
|
|
|
15838
|
-
|
|
15839
|
-
|
|
15840
|
-
|
|
15841
|
-
|
|
15842
|
-
|
|
15881
|
+
.muka-badge-number--md {
|
|
15882
|
+
height: var(--badge-number-size-md);
|
|
15883
|
+
min-width: var(--badge-number-size-md);
|
|
15884
|
+
padding: 0 var(--badge-number-padding-md);
|
|
15885
|
+
font-family: var(--text-label-lg-bold-fontFamily);
|
|
15886
|
+
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
15887
|
+
font-size: var(--text-label-lg-bold-fontSize);
|
|
15888
|
+
line-height: var(--text-label-lg-bold-lineHeight);
|
|
15843
15889
|
}
|
|
15844
15890
|
|
|
15845
|
-
|
|
15846
|
-
|
|
15847
|
-
|
|
15848
|
-
|
|
15849
|
-
|
|
15850
|
-
|
|
15891
|
+
.muka-badge-number--lg {
|
|
15892
|
+
height: var(--badge-number-size-lg);
|
|
15893
|
+
min-width: var(--badge-number-size-lg);
|
|
15894
|
+
padding: 0 var(--badge-number-padding-lg);
|
|
15895
|
+
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
15896
|
+
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
15897
|
+
font-size: var(--text-label-2xl-bold-fontSize);
|
|
15898
|
+
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
15851
15899
|
}
|
|
15852
15900
|
|
|
15853
|
-
.muka-
|
|
15854
|
-
|
|
15901
|
+
.muka-badge-number__label {
|
|
15902
|
+
/*
|
|
15903
|
+
* The badge sets a tight line-height for compact sizing, which would clip
|
|
15904
|
+
* glyph descenders; give the label a roomier line-height. Vertical centering
|
|
15905
|
+
* is unaffected because the badge height is fixed and content is centered.
|
|
15906
|
+
*/
|
|
15907
|
+
line-height: normal;
|
|
15855
15908
|
}
|
|
15856
15909
|
|
|
15857
|
-
/*
|
|
15858
|
-
|
|
15859
|
-
|
|
15860
|
-
|
|
15861
|
-
gap: var(--bottombar-actions-gap);
|
|
15862
|
-
padding: var(--bottombar-actions-padding-t) var(--bottombar-actions-padding-x) var(--bottombar-actions-padding-x);
|
|
15910
|
+
/* Neutral variant */
|
|
15911
|
+
.muka-badge-number--neutral {
|
|
15912
|
+
background-color: var(--color-surface-level1);
|
|
15913
|
+
color: var(--color-text-default-default);
|
|
15863
15914
|
}
|
|
15864
15915
|
|
|
15865
|
-
|
|
15866
|
-
|
|
15916
|
+
/* Info variant */
|
|
15917
|
+
.muka-badge-number--info {
|
|
15918
|
+
background-color: var(--color-state-info-contrast);
|
|
15919
|
+
color: var(--color-text-default-inverse);
|
|
15867
15920
|
}
|
|
15868
15921
|
|
|
15869
|
-
/*
|
|
15870
|
-
|
|
15871
|
-
|
|
15872
|
-
|
|
15873
|
-
flex-wrap: wrap;
|
|
15874
|
-
row-gap: var(--bottombar-actions-message-gap);
|
|
15922
|
+
/* Success variant */
|
|
15923
|
+
.muka-badge-number--success {
|
|
15924
|
+
background-color: var(--color-state-success-contrast);
|
|
15925
|
+
color: var(--color-text-default-inverse);
|
|
15875
15926
|
}
|
|
15876
15927
|
|
|
15877
|
-
|
|
15878
|
-
|
|
15928
|
+
/* Warning variant */
|
|
15929
|
+
.muka-badge-number--warning {
|
|
15930
|
+
background-color: var(--color-state-warning-contrast);
|
|
15931
|
+
color: var(--color-text-default-inverse);
|
|
15879
15932
|
}
|
|
15880
15933
|
|
|
15881
|
-
|
|
15882
|
-
|
|
15883
|
-
|
|
15934
|
+
/* Error variant */
|
|
15935
|
+
.muka-badge-number--error {
|
|
15936
|
+
background-color: var(--color-state-error-contrast);
|
|
15937
|
+
color: var(--color-text-default-inverse);
|
|
15884
15938
|
}
|
|
15885
15939
|
|
|
15886
|
-
|
|
15887
|
-
|
|
15940
|
+
/* Dot: something new, without a count */
|
|
15941
|
+
.muka-badge-number--dot {
|
|
15942
|
+
width: var(--spacing-2);
|
|
15943
|
+
height: var(--spacing-2);
|
|
15888
15944
|
min-width: 0;
|
|
15889
|
-
|
|
15890
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15891
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15892
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
15893
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15945
|
+
padding: 0;
|
|
15894
15946
|
}
|
|
15895
15947
|
|
|
15896
|
-
.muka-bottombar__message--neutral {
|
|
15897
|
-
color: var(--bottombar-color-message-neutral);
|
|
15898
|
-
}
|
|
15899
15948
|
|
|
15900
|
-
|
|
15901
|
-
|
|
15902
|
-
}
|
|
15949
|
+
/* Badge */
|
|
15950
|
+
/* Badge Component Styles - Using Muka Design Tokens */
|
|
15903
15951
|
|
|
15904
|
-
.muka-
|
|
15905
|
-
|
|
15952
|
+
.muka-badge {
|
|
15953
|
+
display: inline-flex;
|
|
15954
|
+
align-items: center;
|
|
15955
|
+
border-radius: var(--border-radius-full);
|
|
15956
|
+
white-space: nowrap;
|
|
15957
|
+
user-select: none;
|
|
15958
|
+
box-sizing: border-box;
|
|
15906
15959
|
}
|
|
15907
15960
|
|
|
15908
|
-
/*
|
|
15909
|
-
|
|
15910
|
-
|
|
15911
|
-
|
|
15912
|
-
|
|
15913
|
-
|
|
15914
|
-
|
|
15915
|
-
|
|
15916
|
-
|
|
15917
|
-
|
|
15918
|
-
|
|
15919
|
-
|
|
15920
|
-
|
|
15921
|
-
|
|
15922
|
-
|
|
15961
|
+
/*
|
|
15962
|
+
* Sizes — height, gap, type, and default (label-edge) horizontal padding.
|
|
15963
|
+
* Mirrors Chip so the two components share sizing, fonts, and spacing.
|
|
15964
|
+
* Vertical centering is handled by the fixed height + align-items: center.
|
|
15965
|
+
* The leading side gets a tighter padding when an icon/dot is present, via the
|
|
15966
|
+
* --has-icon / --has-dot modifiers below.
|
|
15967
|
+
*/
|
|
15968
|
+
.muka-badge--sm {
|
|
15969
|
+
height: var(--badge-size-height-sm);
|
|
15970
|
+
gap: var(--badge-gap-sm);
|
|
15971
|
+
padding: 0 var(--badge-padding-label-sm);
|
|
15972
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15973
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
15974
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
15975
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
15923
15976
|
}
|
|
15924
15977
|
|
|
15925
|
-
|
|
15926
|
-
|
|
15927
|
-
|
|
15928
|
-
|
|
15929
|
-
|
|
15930
|
-
|
|
15978
|
+
.muka-badge--md {
|
|
15979
|
+
height: var(--badge-size-height-md);
|
|
15980
|
+
gap: var(--badge-gap-md);
|
|
15981
|
+
padding: 0 var(--badge-padding-label-md);
|
|
15982
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
15983
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
15984
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
15985
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
15931
15986
|
}
|
|
15932
15987
|
|
|
15933
|
-
|
|
15934
|
-
|
|
15935
|
-
|
|
15936
|
-
|
|
15937
|
-
|
|
15938
|
-
|
|
15988
|
+
.muka-badge--lg {
|
|
15989
|
+
height: var(--badge-size-height-lg);
|
|
15990
|
+
gap: var(--badge-gap-lg);
|
|
15991
|
+
padding: 0 var(--badge-padding-label-lg);
|
|
15992
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
15993
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
15994
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
15995
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
15939
15996
|
}
|
|
15940
15997
|
|
|
15941
|
-
/*
|
|
15942
|
-
|
|
15943
|
-
|
|
15944
|
-
|
|
15945
|
-
|
|
15946
|
-
|
|
15947
|
-
|
|
15948
|
-
|
|
15949
|
-
|
|
15950
|
-
|
|
15951
|
-
|
|
15952
|
-
|
|
15953
|
-
*/
|
|
15954
|
-
.muka-bottombar--chat:not(.muka-bottombar--floating) .muka-bottombar__content {
|
|
15955
|
-
padding: var(--bottombar-chat-padding)
|
|
15956
|
-
var(--section-padding-horizontal-default, var(--spacing-4));
|
|
15957
|
-
max-width: calc(
|
|
15958
|
-
var(--bottombar-chat-max-width) + 2 * var(--section-padding-horizontal-default, var(--spacing-4))
|
|
15959
|
-
);
|
|
15998
|
+
/* Tighter leading padding when a leading icon or dot is present */
|
|
15999
|
+
.muka-badge--sm.muka-badge--has-icon,
|
|
16000
|
+
.muka-badge--sm.muka-badge--has-dot {
|
|
16001
|
+
padding-left: var(--badge-padding-leading-sm);
|
|
16002
|
+
}
|
|
16003
|
+
.muka-badge--md.muka-badge--has-icon,
|
|
16004
|
+
.muka-badge--md.muka-badge--has-dot {
|
|
16005
|
+
padding-left: var(--badge-padding-leading-md);
|
|
16006
|
+
}
|
|
16007
|
+
.muka-badge--lg.muka-badge--has-icon,
|
|
16008
|
+
.muka-badge--lg.muka-badge--has-dot {
|
|
16009
|
+
padding-left: var(--badge-padding-leading-lg);
|
|
15960
16010
|
}
|
|
15961
16011
|
|
|
15962
|
-
/*
|
|
15963
|
-
|
|
15964
|
-
|
|
16012
|
+
/* Icon-only — square, sized to the badge height (Figma: 24 / 32 / 40).
|
|
16013
|
+
* Padding resets at size+icon-only specificity so `--has-icon` leading padding
|
|
16014
|
+
* cannot win and shift the icon off-center. */
|
|
16015
|
+
.muka-badge--icon-only {
|
|
16016
|
+
justify-content: center;
|
|
16017
|
+
align-items: center;
|
|
16018
|
+
gap: 0;
|
|
15965
16019
|
}
|
|
15966
16020
|
|
|
15967
|
-
|
|
16021
|
+
.muka-badge--sm.muka-badge--icon-only,
|
|
16022
|
+
.muka-badge--md.muka-badge--icon-only,
|
|
16023
|
+
.muka-badge--lg.muka-badge--icon-only {
|
|
16024
|
+
padding: 0;
|
|
16025
|
+
}
|
|
15968
16026
|
|
|
15969
|
-
.muka-
|
|
15970
|
-
|
|
15971
|
-
display: flex;
|
|
15972
|
-
flex-direction: column;
|
|
15973
|
-
align-items: center;
|
|
15974
|
-
gap: var(--bottombar-tab-gap);
|
|
15975
|
-
padding: var(--bottombar-tab-padding-y) 0;
|
|
15976
|
-
background: none;
|
|
15977
|
-
border: none;
|
|
15978
|
-
cursor: pointer;
|
|
15979
|
-
color: var(--bottombar-color-tab-inactive);
|
|
15980
|
-
transition: color 0.15s ease;
|
|
15981
|
-
-webkit-tap-highlight-color: transparent;
|
|
16027
|
+
.muka-badge--sm.muka-badge--icon-only {
|
|
16028
|
+
width: var(--badge-size-height-sm);
|
|
15982
16029
|
}
|
|
15983
16030
|
|
|
15984
|
-
.muka-
|
|
15985
|
-
|
|
15986
|
-
outline-offset: -2px;
|
|
15987
|
-
border-radius: var(--border-radius-sm);
|
|
16031
|
+
.muka-badge--md.muka-badge--icon-only {
|
|
16032
|
+
width: var(--badge-size-height-md);
|
|
15988
16033
|
}
|
|
15989
16034
|
|
|
15990
|
-
.muka-
|
|
15991
|
-
|
|
16035
|
+
.muka-badge--lg.muka-badge--icon-only {
|
|
16036
|
+
width: var(--badge-size-height-lg);
|
|
15992
16037
|
}
|
|
15993
16038
|
|
|
15994
|
-
|
|
15995
|
-
|
|
16039
|
+
/* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 (matches Chip) */
|
|
16040
|
+
.muka-badge__icon {
|
|
16041
|
+
display: inline-flex;
|
|
15996
16042
|
align-items: center;
|
|
15997
16043
|
justify-content: center;
|
|
15998
|
-
|
|
15999
|
-
height: var(--bottombar-tab-icon-size);
|
|
16044
|
+
flex-shrink: 0;
|
|
16000
16045
|
}
|
|
16001
16046
|
|
|
16002
|
-
.muka-
|
|
16047
|
+
.muka-badge--sm .muka-badge__icon {
|
|
16048
|
+
width: var(--icon-size-xs);
|
|
16049
|
+
height: var(--icon-size-xs);
|
|
16050
|
+
}
|
|
16051
|
+
.muka-badge--md .muka-badge__icon {
|
|
16052
|
+
width: var(--icon-size-sm);
|
|
16053
|
+
height: var(--icon-size-sm);
|
|
16054
|
+
}
|
|
16055
|
+
.muka-badge--lg .muka-badge__icon {
|
|
16056
|
+
width: var(--icon-size-default);
|
|
16057
|
+
height: var(--icon-size-default);
|
|
16058
|
+
}
|
|
16059
|
+
|
|
16060
|
+
/* Force the passed content (raw <svg> or an <Icon> wrapper) to the slot size,
|
|
16061
|
+
so callers don't have to size the icon to match each badge size. The
|
|
16062
|
+
.muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
|
|
16063
|
+
.muka-badge__icon .muka-icon,
|
|
16064
|
+
.muka-badge__icon svg {
|
|
16003
16065
|
width: 100%;
|
|
16004
16066
|
height: 100%;
|
|
16005
16067
|
}
|
|
16006
16068
|
|
|
16007
|
-
|
|
16008
|
-
|
|
16009
|
-
|
|
16010
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
16011
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
16069
|
+
/* Icons inherit the badge's per-variant foreground color */
|
|
16070
|
+
.muka-badge .muka-icon {
|
|
16071
|
+
color: inherit;
|
|
16012
16072
|
}
|
|
16013
16073
|
|
|
16014
|
-
/*
|
|
16015
|
-
|
|
16016
|
-
|
|
16017
|
-
|
|
16018
|
-
to bottom,
|
|
16019
|
-
var(--bottombar-floating-backdrop-start),
|
|
16020
|
-
var(--bottombar-floating-backdrop-end)
|
|
16021
|
-
);
|
|
16022
|
-
padding: var(--bottombar-floating-padding-top) var(--bottombar-floating-margin-x) var(--bottombar-floating-margin-bottom);
|
|
16023
|
-
|
|
16024
|
-
/* The transparent frosted margin around the pill overlays scrolling content;
|
|
16025
|
-
let scroll/taps fall through to that content, keeping only the pill itself
|
|
16026
|
-
interactive (re-enabled on __content below). */
|
|
16027
|
-
pointer-events: none;
|
|
16074
|
+
/* Dot indicator */
|
|
16075
|
+
.muka-badge__dot {
|
|
16076
|
+
flex-shrink: 0;
|
|
16077
|
+
border-radius: var(--border-radius-full);
|
|
16028
16078
|
}
|
|
16029
16079
|
|
|
16030
|
-
.muka-
|
|
16031
|
-
|
|
16080
|
+
.muka-badge--sm .muka-badge__dot {
|
|
16081
|
+
width: var(--badge-size-dot-sm);
|
|
16082
|
+
height: var(--badge-size-dot-sm);
|
|
16032
16083
|
}
|
|
16033
16084
|
|
|
16034
|
-
.muka-
|
|
16035
|
-
|
|
16036
|
-
|
|
16037
|
-
padding: var(--bottombar-floating-padding);
|
|
16038
|
-
box-shadow: var(--bottombar-floating-shadow);
|
|
16039
|
-
max-width: var(--bottombar-floating-max-width);
|
|
16040
|
-
width: 100%;
|
|
16041
|
-
margin: 0 auto;
|
|
16085
|
+
.muka-badge--md .muka-badge__dot {
|
|
16086
|
+
width: var(--badge-size-dot-md);
|
|
16087
|
+
height: var(--badge-size-dot-md);
|
|
16042
16088
|
}
|
|
16043
16089
|
|
|
16044
|
-
|
|
16045
|
-
|
|
16046
|
-
|
|
16090
|
+
.muka-badge--lg .muka-badge__dot {
|
|
16091
|
+
width: var(--badge-size-dot-lg);
|
|
16092
|
+
height: var(--badge-size-dot-lg);
|
|
16047
16093
|
}
|
|
16048
16094
|
|
|
16049
|
-
.muka-
|
|
16050
|
-
|
|
16095
|
+
.muka-badge__label {
|
|
16096
|
+
flex: 0 1 auto;
|
|
16097
|
+
min-width: 0;
|
|
16098
|
+
overflow: hidden;
|
|
16099
|
+
text-overflow: ellipsis;
|
|
16100
|
+
/*
|
|
16101
|
+
* The badge sets a tight line-height for compact sizing, but the label's
|
|
16102
|
+
* `overflow: hidden` (needed for ellipsis) then clips glyph descenders (g, y, p). Give the
|
|
16103
|
+
* label its own roomier line-height so descenders render; vertical centering is unaffected
|
|
16104
|
+
* because the badge height is fixed and content is centered via align-items: center.
|
|
16105
|
+
*/
|
|
16106
|
+
line-height: normal;
|
|
16051
16107
|
}
|
|
16052
16108
|
|
|
16053
|
-
/*
|
|
16109
|
+
/* Neutral variant */
|
|
16110
|
+
.muka-badge--neutral {
|
|
16111
|
+
background-color: var(--color-surface-level1);
|
|
16112
|
+
color: var(--color-text-default-default);
|
|
16113
|
+
}
|
|
16054
16114
|
|
|
16055
|
-
|
|
16056
|
-
|
|
16057
|
-
|
|
16058
|
-
left: 0;
|
|
16059
|
-
top: 0;
|
|
16060
|
-
bottom: 0;
|
|
16061
|
-
width: 240px;
|
|
16062
|
-
height: 100vh;
|
|
16063
|
-
background-color: var(--bottombar-color-background);
|
|
16064
|
-
border-right: var(--border-width-regular) solid var(--bottombar-color-border);
|
|
16065
|
-
z-index: 10;
|
|
16066
|
-
}
|
|
16115
|
+
.muka-badge--neutral .muka-badge__dot {
|
|
16116
|
+
background-color: var(--color-text-subtle-default);
|
|
16117
|
+
}
|
|
16067
16118
|
|
|
16068
|
-
|
|
16069
|
-
|
|
16070
|
-
|
|
16119
|
+
/* Info variant */
|
|
16120
|
+
.muka-badge--info {
|
|
16121
|
+
background-color: var(--color-state-info-background);
|
|
16122
|
+
color: var(--color-state-info-contrast);
|
|
16123
|
+
}
|
|
16071
16124
|
|
|
16072
|
-
|
|
16073
|
-
|
|
16074
|
-
|
|
16075
|
-
padding: var(--spacing-4) var(--spacing-3);
|
|
16076
|
-
/* The rail runs to the top of the screen: clear the status bar there. */
|
|
16077
|
-
padding-top: calc(var(--spacing-4) + env(safe-area-inset-top, 0px));
|
|
16078
|
-
gap: var(--spacing-1);
|
|
16079
|
-
}
|
|
16125
|
+
.muka-badge--info .muka-badge__dot {
|
|
16126
|
+
background-color: var(--color-state-info-default);
|
|
16127
|
+
}
|
|
16080
16128
|
|
|
16081
|
-
|
|
16082
|
-
|
|
16083
|
-
|
|
16084
|
-
|
|
16085
|
-
|
|
16086
|
-
padding: var(--spacing-3);
|
|
16087
|
-
border-radius: var(--border-radius-md);
|
|
16088
|
-
}
|
|
16129
|
+
/* Success variant */
|
|
16130
|
+
.muka-badge--success {
|
|
16131
|
+
background-color: var(--color-state-success-background);
|
|
16132
|
+
color: var(--color-state-success-contrast);
|
|
16133
|
+
}
|
|
16089
16134
|
|
|
16090
|
-
|
|
16091
|
-
|
|
16092
|
-
|
|
16135
|
+
.muka-badge--success .muka-badge__dot {
|
|
16136
|
+
background-color: var(--color-state-success-default);
|
|
16137
|
+
}
|
|
16093
16138
|
|
|
16094
|
-
|
|
16095
|
-
|
|
16096
|
-
|
|
16097
|
-
|
|
16098
|
-
|
|
16099
|
-
}
|
|
16139
|
+
/* Warning variant */
|
|
16140
|
+
.muka-badge--warning {
|
|
16141
|
+
background-color: var(--color-state-warning-background);
|
|
16142
|
+
color: var(--color-state-warning-contrast);
|
|
16143
|
+
}
|
|
16100
16144
|
|
|
16101
|
-
|
|
16102
|
-
|
|
16103
|
-
|
|
16104
|
-
}
|
|
16145
|
+
.muka-badge--warning .muka-badge__dot {
|
|
16146
|
+
background-color: var(--color-state-warning-default);
|
|
16147
|
+
}
|
|
16105
16148
|
|
|
16106
|
-
|
|
16107
|
-
|
|
16108
|
-
|
|
16109
|
-
|
|
16110
|
-
}
|
|
16149
|
+
/* Error variant */
|
|
16150
|
+
.muka-badge--error {
|
|
16151
|
+
background-color: var(--color-state-error-background);
|
|
16152
|
+
color: var(--color-state-error-contrast);
|
|
16111
16153
|
}
|
|
16112
16154
|
|
|
16113
|
-
|
|
16155
|
+
.muka-badge--error .muka-badge__dot {
|
|
16156
|
+
background-color: var(--color-state-error-default);
|
|
16157
|
+
}
|
|
16114
16158
|
|
|
16115
|
-
@media (min-width: 1024px) {
|
|
16116
|
-
.muka-bottombar--desktop-topnav {
|
|
16117
|
-
position: fixed;
|
|
16118
|
-
top: 0;
|
|
16119
|
-
left: 0;
|
|
16120
|
-
right: 0;
|
|
16121
|
-
width: 100%;
|
|
16122
|
-
height: auto;
|
|
16123
|
-
background-color: var(--bottombar-color-background);
|
|
16124
|
-
border-bottom: var(--border-width-regular) solid var(--bottombar-color-border);
|
|
16125
|
-
z-index: 10;
|
|
16126
|
-
}
|
|
16127
16159
|
|
|
16128
|
-
|
|
16129
|
-
|
|
16130
|
-
}
|
|
16160
|
+
/* BottomBar */
|
|
16161
|
+
/* BottomBar Component Styles */
|
|
16131
16162
|
|
|
16132
|
-
|
|
16133
|
-
|
|
16134
|
-
|
|
16135
|
-
|
|
16136
|
-
padding: 0 var(--spacing-4);
|
|
16137
|
-
max-width: var(--container-max-width-large, 1200px);
|
|
16138
|
-
margin: 0 auto;
|
|
16139
|
-
}
|
|
16163
|
+
.muka-bottombar {
|
|
16164
|
+
width: 100%;
|
|
16165
|
+
background-color: var(--bottombar-color-background);
|
|
16166
|
+
}
|
|
16140
16167
|
|
|
16141
|
-
|
|
16142
|
-
|
|
16143
|
-
|
|
16144
|
-
|
|
16145
|
-
padding: var(--spacing-3) var(--spacing-4);
|
|
16146
|
-
border-radius: 0;
|
|
16147
|
-
border-bottom: 2px solid transparent;
|
|
16148
|
-
}
|
|
16168
|
+
/* Push content above the iPhone home indicator. Opt out via disableSafeArea. */
|
|
16169
|
+
.muka-bottombar:not(.muka-bottombar--floating):not(.muka-bottombar--no-safe-area) {
|
|
16170
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
16171
|
+
}
|
|
16149
16172
|
|
|
16150
|
-
|
|
16151
|
-
|
|
16152
|
-
|
|
16173
|
+
/* Floating variant: ensure margin-bottom is at least the safe-area inset. */
|
|
16174
|
+
.muka-bottombar--floating:not(.muka-bottombar--no-safe-area) {
|
|
16175
|
+
padding-bottom: max(var(--bottombar-floating-margin-bottom), env(safe-area-inset-bottom));
|
|
16176
|
+
}
|
|
16153
16177
|
|
|
16154
|
-
|
|
16155
|
-
background-color: var(--color-surface-level2);
|
|
16156
|
-
}
|
|
16178
|
+
/* ─── Divider (non-floating) ──────────────────────────── */
|
|
16157
16179
|
|
|
16158
|
-
|
|
16159
|
-
|
|
16160
|
-
|
|
16161
|
-
|
|
16162
|
-
|
|
16163
|
-
}
|
|
16180
|
+
.muka-bottombar__divider {
|
|
16181
|
+
height: var(--border-width-regular);
|
|
16182
|
+
background-color: var(--bottombar-color-border);
|
|
16183
|
+
width: 100%;
|
|
16184
|
+
}
|
|
16164
16185
|
|
|
16165
|
-
|
|
16166
|
-
.muka-bottombar--desktop-topnav.muka-bottombar--floating {
|
|
16167
|
-
padding: 0;
|
|
16168
|
-
}
|
|
16186
|
+
/* ─── Content container ───────────────────────────────── */
|
|
16169
16187
|
|
|
16170
|
-
|
|
16171
|
-
|
|
16172
|
-
|
|
16173
|
-
box-shadow: none;
|
|
16174
|
-
}
|
|
16188
|
+
.muka-bottombar__content {
|
|
16189
|
+
display: flex;
|
|
16190
|
+
align-items: center;
|
|
16175
16191
|
}
|
|
16176
16192
|
|
|
16177
|
-
/* ───
|
|
16193
|
+
/* ─── Actions variant (horizontal) ───────────────────── */
|
|
16178
16194
|
|
|
16179
|
-
|
|
16180
|
-
|
|
16181
|
-
|
|
16182
|
-
|
|
16195
|
+
.muka-bottombar--actions .muka-bottombar__content {
|
|
16196
|
+
flex-direction: row;
|
|
16197
|
+
gap: var(--bottombar-actions-gap);
|
|
16198
|
+
padding: var(--bottombar-actions-padding-t) var(--bottombar-actions-padding-x) var(--bottombar-actions-padding-x);
|
|
16183
16199
|
}
|
|
16184
16200
|
|
|
16201
|
+
.muka-bottombar--actions .muka-bottombar__content > * {
|
|
16202
|
+
flex: 1;
|
|
16203
|
+
}
|
|
16185
16204
|
|
|
16186
|
-
/*
|
|
16187
|
-
/* BadgeNumber Component Styles - Using Muka Design Tokens */
|
|
16205
|
+
/* ─── Actions-vertical variant (stacked) ─────────────── */
|
|
16188
16206
|
|
|
16189
|
-
.muka-
|
|
16190
|
-
|
|
16191
|
-
|
|
16192
|
-
|
|
16193
|
-
border-radius: var(--border-radius-full);
|
|
16194
|
-
white-space: nowrap;
|
|
16195
|
-
user-select: none;
|
|
16196
|
-
box-sizing: border-box;
|
|
16207
|
+
.muka-bottombar--actions-vertical .muka-bottombar__content {
|
|
16208
|
+
flex-direction: column;
|
|
16209
|
+
gap: var(--bottombar-actions-gap);
|
|
16210
|
+
padding: var(--bottombar-actions-padding-t) var(--bottombar-actions-padding-x) var(--bottombar-actions-padding-x);
|
|
16197
16211
|
}
|
|
16198
16212
|
|
|
16199
|
-
|
|
16200
|
-
|
|
16201
|
-
* circle), horizontal padding, and bold label typography. Vertical centering
|
|
16202
|
-
* is handled by the fixed height + align-items: center.
|
|
16203
|
-
*/
|
|
16204
|
-
.muka-badge-number--2xs {
|
|
16205
|
-
height: var(--badge-number-size-2xs);
|
|
16206
|
-
min-width: var(--badge-number-size-2xs);
|
|
16207
|
-
padding: 0 var(--badge-number-padding-2xs);
|
|
16208
|
-
font-family: var(--text-label-xs-bold-fontFamily);
|
|
16209
|
-
font-weight: var(--text-label-xs-bold-fontWeight);
|
|
16210
|
-
font-size: var(--text-label-xs-bold-fontSize);
|
|
16211
|
-
line-height: var(--text-label-xs-bold-lineHeight);
|
|
16213
|
+
.muka-bottombar--actions-vertical .muka-bottombar__content > * {
|
|
16214
|
+
width: 100%;
|
|
16212
16215
|
}
|
|
16213
16216
|
|
|
16214
|
-
|
|
16215
|
-
height: var(--badge-number-size-xs);
|
|
16216
|
-
min-width: var(--badge-number-size-xs);
|
|
16217
|
-
padding: 0 var(--badge-number-padding-xs);
|
|
16218
|
-
font-family: var(--text-label-sm-bold-fontFamily);
|
|
16219
|
-
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
16220
|
-
font-size: var(--text-label-sm-bold-fontSize);
|
|
16221
|
-
line-height: var(--text-label-sm-bold-lineHeight);
|
|
16222
|
-
}
|
|
16217
|
+
/* ─── Message (actions variants only) ────────────────── */
|
|
16223
16218
|
|
|
16224
|
-
.
|
|
16225
|
-
|
|
16226
|
-
|
|
16227
|
-
|
|
16228
|
-
font-family: var(--text-label-md-bold-fontFamily);
|
|
16229
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
16230
|
-
font-size: var(--text-label-md-bold-fontSize);
|
|
16231
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
16219
|
+
/* Below 1024px the message takes its own line above the buttons. */
|
|
16220
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
|
|
16221
|
+
flex-wrap: wrap;
|
|
16222
|
+
row-gap: var(--bottombar-actions-message-gap);
|
|
16232
16223
|
}
|
|
16233
16224
|
|
|
16234
|
-
.muka-
|
|
16235
|
-
|
|
16236
|
-
min-width: var(--badge-number-size-md);
|
|
16237
|
-
padding: 0 var(--badge-number-padding-md);
|
|
16238
|
-
font-family: var(--text-label-lg-bold-fontFamily);
|
|
16239
|
-
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
16240
|
-
font-size: var(--text-label-lg-bold-fontSize);
|
|
16241
|
-
line-height: var(--text-label-lg-bold-lineHeight);
|
|
16225
|
+
.muka-bottombar--actions-vertical.muka-bottombar--with-message .muka-bottombar__content {
|
|
16226
|
+
row-gap: var(--bottombar-actions-message-gap);
|
|
16242
16227
|
}
|
|
16243
16228
|
|
|
16244
|
-
.muka-
|
|
16245
|
-
|
|
16246
|
-
|
|
16247
|
-
padding: 0 var(--badge-number-padding-lg);
|
|
16248
|
-
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
16249
|
-
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
16250
|
-
font-size: var(--text-label-2xl-bold-fontSize);
|
|
16251
|
-
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
16229
|
+
.muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
|
|
16230
|
+
flex: 1 0 100%;
|
|
16231
|
+
width: 100%;
|
|
16252
16232
|
}
|
|
16253
16233
|
|
|
16254
|
-
.muka-
|
|
16255
|
-
|
|
16256
|
-
|
|
16257
|
-
|
|
16258
|
-
|
|
16259
|
-
|
|
16260
|
-
|
|
16234
|
+
.muka-bottombar__message {
|
|
16235
|
+
margin: 0;
|
|
16236
|
+
min-width: 0;
|
|
16237
|
+
overflow-wrap: anywhere;
|
|
16238
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
16239
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
16240
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
16241
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
16261
16242
|
}
|
|
16262
16243
|
|
|
16263
|
-
|
|
16264
|
-
|
|
16265
|
-
background-color: var(--color-surface-level1);
|
|
16266
|
-
color: var(--color-text-default-default);
|
|
16244
|
+
.muka-bottombar__message--neutral {
|
|
16245
|
+
color: var(--bottombar-color-message-neutral);
|
|
16267
16246
|
}
|
|
16268
16247
|
|
|
16269
|
-
|
|
16270
|
-
|
|
16271
|
-
background-color: var(--color-state-info-contrast);
|
|
16272
|
-
color: var(--color-text-default-inverse);
|
|
16248
|
+
.muka-bottombar__message--success {
|
|
16249
|
+
color: var(--bottombar-color-message-success);
|
|
16273
16250
|
}
|
|
16274
16251
|
|
|
16275
|
-
|
|
16276
|
-
|
|
16277
|
-
background-color: var(--color-state-success-contrast);
|
|
16278
|
-
color: var(--color-text-default-inverse);
|
|
16252
|
+
.muka-bottombar__message--warning {
|
|
16253
|
+
color: var(--bottombar-color-message-warning);
|
|
16279
16254
|
}
|
|
16280
16255
|
|
|
16281
|
-
/*
|
|
16282
|
-
.
|
|
16283
|
-
|
|
16284
|
-
|
|
16285
|
-
|
|
16256
|
+
/* From 1024px the horizontal bar puts the message left, the buttons right at
|
|
16257
|
+
their own width. The vertical variant keeps stacking. */
|
|
16258
|
+
@media (min-width: 1024px) {
|
|
16259
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content {
|
|
16260
|
+
flex-wrap: nowrap;
|
|
16261
|
+
}
|
|
16286
16262
|
|
|
16287
|
-
|
|
16288
|
-
|
|
16289
|
-
|
|
16290
|
-
|
|
16263
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > * {
|
|
16264
|
+
flex: 0 0 auto;
|
|
16265
|
+
}
|
|
16266
|
+
|
|
16267
|
+
.muka-bottombar--actions.muka-bottombar--with-message .muka-bottombar__content > .muka-bottombar__message {
|
|
16268
|
+
flex: 1 1 auto;
|
|
16269
|
+
width: auto;
|
|
16270
|
+
}
|
|
16291
16271
|
}
|
|
16292
16272
|
|
|
16273
|
+
/* ─── Size modifiers (actions variants only) ─────────── */
|
|
16293
16274
|
|
|
16294
|
-
/*
|
|
16295
|
-
/* Badge Component Styles - Using Muka Design Tokens */
|
|
16275
|
+
/* ─── Navigation variant ──────────────────────────────── */
|
|
16296
16276
|
|
|
16297
|
-
.muka-
|
|
16298
|
-
|
|
16299
|
-
align-items: center;
|
|
16300
|
-
border-radius: var(--border-radius-full);
|
|
16301
|
-
white-space: nowrap;
|
|
16302
|
-
user-select: none;
|
|
16303
|
-
box-sizing: border-box;
|
|
16277
|
+
.muka-bottombar--navigation .muka-bottombar__content {
|
|
16278
|
+
flex-direction: row;
|
|
16304
16279
|
}
|
|
16305
16280
|
|
|
16306
|
-
/*
|
|
16307
|
-
* Sizes — height, gap, type, and default (label-edge) horizontal padding.
|
|
16308
|
-
* Mirrors Chip so the two components share sizing, fonts, and spacing.
|
|
16309
|
-
* Vertical centering is handled by the fixed height + align-items: center.
|
|
16310
|
-
* The leading side gets a tighter padding when an icon/dot is present, via the
|
|
16311
|
-
* --has-icon / --has-dot modifiers below.
|
|
16312
|
-
*/
|
|
16313
|
-
.muka-badge--sm {
|
|
16314
|
-
height: var(--badge-size-height-sm);
|
|
16315
|
-
gap: var(--badge-gap-sm);
|
|
16316
|
-
padding: 0 var(--badge-padding-label-sm);
|
|
16317
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
16318
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
16319
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
16320
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
16321
|
-
}
|
|
16281
|
+
/* ─── Chat variant (houses a ChatComposer) ───────────── */
|
|
16322
16282
|
|
|
16323
|
-
.muka-
|
|
16324
|
-
|
|
16325
|
-
|
|
16326
|
-
|
|
16327
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
16328
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
16329
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
16330
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
16283
|
+
.muka-bottombar--chat .muka-bottombar__content {
|
|
16284
|
+
flex-direction: row;
|
|
16285
|
+
width: 100%;
|
|
16286
|
+
margin: 0 auto;
|
|
16331
16287
|
}
|
|
16332
16288
|
|
|
16333
|
-
|
|
16334
|
-
|
|
16335
|
-
|
|
16336
|
-
|
|
16337
|
-
|
|
16338
|
-
|
|
16339
|
-
font-size: var(--text-label-lg-regular-fontSize);
|
|
16340
|
-
line-height: var(--text-label-lg-regular-lineHeight);
|
|
16341
|
-
}
|
|
16289
|
+
/*
|
|
16290
|
+
* `--bottombar-chat-max-width` is the conversation column (it derives from
|
|
16291
|
+
* `chat.column.max-width`, the same token `ChatMessageList` caps its column
|
|
16292
|
+
* with). The cap here carries the padding on top of it, so it is the
|
|
16293
|
+
* composer's own edges — not the padding around it — that land on the column.
|
|
16294
|
+
*/
|
|
16342
16295
|
|
|
16343
|
-
/*
|
|
16344
|
-
.
|
|
16345
|
-
|
|
16346
|
-
|
|
16347
|
-
|
|
16348
|
-
|
|
16349
|
-
.muka-
|
|
16350
|
-
padding
|
|
16351
|
-
|
|
16352
|
-
|
|
16353
|
-
|
|
16354
|
-
|
|
16296
|
+
/*
|
|
16297
|
+
* Docked chat pads its content; the floating card supplies its own padding.
|
|
16298
|
+
* The inline half is the section gutter `ChatMessageList` pads its scroller
|
|
16299
|
+
* with, so below the cap — where the column runs full-bleed — the composer
|
|
16300
|
+
* keeps to the same gutters as the messages.
|
|
16301
|
+
*/
|
|
16302
|
+
.muka-bottombar--chat:not(.muka-bottombar--floating) .muka-bottombar__content {
|
|
16303
|
+
padding: var(--bottombar-chat-padding)
|
|
16304
|
+
var(--section-padding-horizontal-default, var(--spacing-4));
|
|
16305
|
+
max-width: calc(
|
|
16306
|
+
var(--bottombar-chat-max-width) + 2 * var(--section-padding-horizontal-default, var(--spacing-4))
|
|
16307
|
+
);
|
|
16355
16308
|
}
|
|
16356
16309
|
|
|
16357
|
-
/*
|
|
16358
|
-
|
|
16359
|
-
|
|
16360
|
-
.muka-badge--icon-only {
|
|
16361
|
-
justify-content: center;
|
|
16362
|
-
align-items: center;
|
|
16363
|
-
gap: 0;
|
|
16310
|
+
/* Floating chat card widens to the chat cap (overrides the md default below). */
|
|
16311
|
+
.muka-bottombar--chat.muka-bottombar--floating .muka-bottombar__content {
|
|
16312
|
+
max-width: calc(var(--bottombar-chat-max-width) + 2 * var(--bottombar-floating-padding));
|
|
16364
16313
|
}
|
|
16365
16314
|
|
|
16366
|
-
|
|
16367
|
-
.muka-badge--md.muka-badge--icon-only,
|
|
16368
|
-
.muka-badge--lg.muka-badge--icon-only {
|
|
16369
|
-
padding: 0;
|
|
16370
|
-
}
|
|
16315
|
+
/* ─── Tab item ────────────────────────────────────────── */
|
|
16371
16316
|
|
|
16372
|
-
.muka-
|
|
16373
|
-
|
|
16317
|
+
.muka-bottombar__tab {
|
|
16318
|
+
flex: 1;
|
|
16319
|
+
display: flex;
|
|
16320
|
+
flex-direction: column;
|
|
16321
|
+
align-items: center;
|
|
16322
|
+
gap: var(--bottombar-tab-gap);
|
|
16323
|
+
padding: var(--bottombar-tab-padding-y) 0;
|
|
16324
|
+
background: none;
|
|
16325
|
+
border: none;
|
|
16326
|
+
cursor: pointer;
|
|
16327
|
+
color: var(--bottombar-color-tab-inactive);
|
|
16328
|
+
transition: color 0.15s ease;
|
|
16329
|
+
-webkit-tap-highlight-color: transparent;
|
|
16374
16330
|
}
|
|
16375
16331
|
|
|
16376
|
-
.muka-
|
|
16377
|
-
|
|
16332
|
+
.muka-bottombar__tab:focus-visible {
|
|
16333
|
+
outline: 2px solid var(--color-action-default);
|
|
16334
|
+
outline-offset: -2px;
|
|
16335
|
+
border-radius: var(--border-radius-sm);
|
|
16378
16336
|
}
|
|
16379
16337
|
|
|
16380
|
-
.muka-
|
|
16381
|
-
|
|
16338
|
+
.muka-bottombar__tab--active {
|
|
16339
|
+
color: var(--bottombar-color-tab-active);
|
|
16382
16340
|
}
|
|
16383
16341
|
|
|
16384
|
-
|
|
16385
|
-
|
|
16386
|
-
display:
|
|
16342
|
+
.muka-bottombar__tab-icon {
|
|
16343
|
+
position: relative;
|
|
16344
|
+
display: flex;
|
|
16387
16345
|
align-items: center;
|
|
16388
16346
|
justify-content: center;
|
|
16389
|
-
|
|
16390
|
-
|
|
16391
|
-
|
|
16392
|
-
.muka-badge--sm .muka-badge__icon {
|
|
16393
|
-
width: var(--icon-size-xs);
|
|
16394
|
-
height: var(--icon-size-xs);
|
|
16395
|
-
}
|
|
16396
|
-
.muka-badge--md .muka-badge__icon {
|
|
16397
|
-
width: var(--icon-size-sm);
|
|
16398
|
-
height: var(--icon-size-sm);
|
|
16399
|
-
}
|
|
16400
|
-
.muka-badge--lg .muka-badge__icon {
|
|
16401
|
-
width: var(--icon-size-default);
|
|
16402
|
-
height: var(--icon-size-default);
|
|
16347
|
+
width: var(--bottombar-tab-icon-size);
|
|
16348
|
+
height: var(--bottombar-tab-icon-size);
|
|
16403
16349
|
}
|
|
16404
16350
|
|
|
16405
|
-
|
|
16406
|
-
so callers don't have to size the icon to match each badge size. The
|
|
16407
|
-
.muka-icon selector is intentionally 2 classes deep to override .muka-icon--md. */
|
|
16408
|
-
.muka-badge__icon .muka-icon,
|
|
16409
|
-
.muka-badge__icon svg {
|
|
16351
|
+
.muka-bottombar__tab-icon svg {
|
|
16410
16352
|
width: 100%;
|
|
16411
16353
|
height: 100%;
|
|
16412
16354
|
}
|
|
16413
16355
|
|
|
16414
|
-
/*
|
|
16415
|
-
.muka-badge
|
|
16416
|
-
|
|
16356
|
+
/* A count on the icon's top-right corner (unread messages). */
|
|
16357
|
+
.muka-bottombar__tab-badge {
|
|
16358
|
+
position: absolute;
|
|
16359
|
+
top: calc(-1 * var(--spacing-1));
|
|
16360
|
+
left: 60%;
|
|
16361
|
+
display: flex;
|
|
16362
|
+
pointer-events: none;
|
|
16417
16363
|
}
|
|
16418
16364
|
|
|
16419
|
-
|
|
16420
|
-
|
|
16421
|
-
|
|
16422
|
-
|
|
16365
|
+
.muka-bottombar__tab-label {
|
|
16366
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
16367
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
16368
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
16369
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
16423
16370
|
}
|
|
16424
16371
|
|
|
16425
|
-
|
|
16426
|
-
width: var(--badge-size-dot-sm);
|
|
16427
|
-
height: var(--badge-size-dot-sm);
|
|
16428
|
-
}
|
|
16372
|
+
/* ─── Floating modifier ───────────────────────────────── */
|
|
16429
16373
|
|
|
16430
|
-
.muka-
|
|
16431
|
-
|
|
16432
|
-
|
|
16433
|
-
|
|
16374
|
+
.muka-bottombar--floating {
|
|
16375
|
+
background: linear-gradient(
|
|
16376
|
+
to bottom,
|
|
16377
|
+
var(--bottombar-floating-backdrop-start),
|
|
16378
|
+
var(--bottombar-floating-backdrop-end)
|
|
16379
|
+
);
|
|
16380
|
+
padding: var(--bottombar-floating-padding-top) var(--bottombar-floating-margin-x) var(--bottombar-floating-margin-bottom);
|
|
16434
16381
|
|
|
16435
|
-
|
|
16436
|
-
|
|
16437
|
-
|
|
16382
|
+
/* The transparent frosted margin around the pill overlays scrolling content;
|
|
16383
|
+
let scroll/taps fall through to that content, keeping only the pill itself
|
|
16384
|
+
interactive (re-enabled on __content below). */
|
|
16385
|
+
pointer-events: none;
|
|
16438
16386
|
}
|
|
16439
16387
|
|
|
16440
|
-
.muka-
|
|
16441
|
-
|
|
16442
|
-
min-width: 0;
|
|
16443
|
-
overflow: hidden;
|
|
16444
|
-
text-overflow: ellipsis;
|
|
16445
|
-
/*
|
|
16446
|
-
* The badge sets a tight line-height for compact sizing, but the label's
|
|
16447
|
-
* `overflow: hidden` (needed for ellipsis) then clips glyph descenders (g, y, p). Give the
|
|
16448
|
-
* label its own roomier line-height so descenders render; vertical centering is unaffected
|
|
16449
|
-
* because the badge height is fixed and content is centered via align-items: center.
|
|
16450
|
-
*/
|
|
16451
|
-
line-height: normal;
|
|
16388
|
+
.muka-bottombar--floating .muka-bottombar__content {
|
|
16389
|
+
pointer-events: auto;
|
|
16452
16390
|
}
|
|
16453
16391
|
|
|
16454
|
-
|
|
16455
|
-
|
|
16456
|
-
|
|
16457
|
-
|
|
16392
|
+
.muka-bottombar--floating .muka-bottombar__content {
|
|
16393
|
+
background-color: var(--bottombar-color-background);
|
|
16394
|
+
border-radius: var(--bottombar-floating-radius);
|
|
16395
|
+
padding: var(--bottombar-floating-padding);
|
|
16396
|
+
box-shadow: var(--bottombar-floating-shadow);
|
|
16397
|
+
max-width: var(--bottombar-floating-max-width);
|
|
16398
|
+
width: 100%;
|
|
16399
|
+
margin: 0 auto;
|
|
16458
16400
|
}
|
|
16459
16401
|
|
|
16460
|
-
|
|
16461
|
-
|
|
16402
|
+
/* Override content padding inside floating per variant */
|
|
16403
|
+
.muka-bottombar--floating.muka-bottombar--actions .muka-bottombar__content {
|
|
16404
|
+
padding: var(--bottombar-floating-padding);
|
|
16462
16405
|
}
|
|
16463
16406
|
|
|
16464
|
-
|
|
16465
|
-
|
|
16466
|
-
background-color: var(--color-state-info-background);
|
|
16467
|
-
color: var(--color-state-info-contrast);
|
|
16407
|
+
.muka-bottombar--floating.muka-bottombar--navigation .muka-bottombar__content {
|
|
16408
|
+
padding: var(--bottombar-navigation-floating-padding);
|
|
16468
16409
|
}
|
|
16469
16410
|
|
|
16470
|
-
|
|
16471
|
-
background-color: var(--color-state-info-default);
|
|
16472
|
-
}
|
|
16411
|
+
/* ─── Desktop: Sidebar transformation ─────────────────── */
|
|
16473
16412
|
|
|
16474
|
-
|
|
16475
|
-
.muka-
|
|
16476
|
-
|
|
16477
|
-
|
|
16478
|
-
|
|
16413
|
+
@media (min-width: 1024px) {
|
|
16414
|
+
.muka-bottombar--desktop-sidebar {
|
|
16415
|
+
position: fixed;
|
|
16416
|
+
left: 0;
|
|
16417
|
+
top: 0;
|
|
16418
|
+
bottom: 0;
|
|
16419
|
+
width: 240px;
|
|
16420
|
+
height: 100vh;
|
|
16421
|
+
background-color: var(--bottombar-color-background);
|
|
16422
|
+
border-right: var(--border-width-regular) solid var(--bottombar-color-border);
|
|
16423
|
+
z-index: 10;
|
|
16424
|
+
}
|
|
16479
16425
|
|
|
16480
|
-
.muka-
|
|
16481
|
-
|
|
16482
|
-
}
|
|
16426
|
+
.muka-bottombar--desktop-sidebar .muka-bottombar__divider {
|
|
16427
|
+
display: none;
|
|
16428
|
+
}
|
|
16483
16429
|
|
|
16484
|
-
|
|
16485
|
-
|
|
16486
|
-
|
|
16487
|
-
|
|
16488
|
-
|
|
16430
|
+
.muka-bottombar--desktop-sidebar .muka-bottombar__content {
|
|
16431
|
+
flex-direction: column;
|
|
16432
|
+
align-items: stretch;
|
|
16433
|
+
padding: var(--spacing-4) var(--spacing-3);
|
|
16434
|
+
/* The rail runs to the top of the screen: clear the status bar there. */
|
|
16435
|
+
padding-top: calc(var(--spacing-4) + env(safe-area-inset-top, 0px));
|
|
16436
|
+
gap: var(--spacing-1);
|
|
16437
|
+
}
|
|
16489
16438
|
|
|
16490
|
-
.muka-
|
|
16491
|
-
|
|
16439
|
+
.muka-bottombar--desktop-sidebar .muka-bottombar__tab {
|
|
16440
|
+
flex: 0 0 auto;
|
|
16441
|
+
flex-direction: row;
|
|
16442
|
+
justify-content: flex-start;
|
|
16443
|
+
gap: var(--spacing-3);
|
|
16444
|
+
padding: var(--spacing-3);
|
|
16445
|
+
border-radius: var(--border-radius-md);
|
|
16446
|
+
}
|
|
16447
|
+
|
|
16448
|
+
.muka-bottombar--desktop-sidebar .muka-bottombar__tab:hover {
|
|
16449
|
+
background-color: var(--color-surface-level2);
|
|
16450
|
+
}
|
|
16451
|
+
|
|
16452
|
+
.muka-bottombar--desktop-sidebar .muka-bottombar__tab-label {
|
|
16453
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
16454
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
16455
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
16456
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
16457
|
+
}
|
|
16458
|
+
|
|
16459
|
+
/* When floating and sidebar, remove the floating card styles */
|
|
16460
|
+
.muka-bottombar--desktop-sidebar.muka-bottombar--floating {
|
|
16461
|
+
padding: 0;
|
|
16462
|
+
}
|
|
16463
|
+
|
|
16464
|
+
.muka-bottombar--desktop-sidebar.muka-bottombar--floating .muka-bottombar__content {
|
|
16465
|
+
background-color: transparent;
|
|
16466
|
+
border-radius: 0;
|
|
16467
|
+
box-shadow: none;
|
|
16468
|
+
}
|
|
16492
16469
|
}
|
|
16493
16470
|
|
|
16494
|
-
/*
|
|
16495
|
-
|
|
16496
|
-
|
|
16497
|
-
|
|
16471
|
+
/* ─── Desktop: Top Navigation transformation ──────────── */
|
|
16472
|
+
|
|
16473
|
+
@media (min-width: 1024px) {
|
|
16474
|
+
.muka-bottombar--desktop-topnav {
|
|
16475
|
+
position: fixed;
|
|
16476
|
+
top: 0;
|
|
16477
|
+
left: 0;
|
|
16478
|
+
right: 0;
|
|
16479
|
+
width: 100%;
|
|
16480
|
+
height: auto;
|
|
16481
|
+
background-color: var(--bottombar-color-background);
|
|
16482
|
+
border-bottom: var(--border-width-regular) solid var(--bottombar-color-border);
|
|
16483
|
+
z-index: 10;
|
|
16484
|
+
}
|
|
16485
|
+
|
|
16486
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__divider {
|
|
16487
|
+
display: none;
|
|
16488
|
+
}
|
|
16489
|
+
|
|
16490
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__content {
|
|
16491
|
+
flex-direction: row;
|
|
16492
|
+
justify-content: center;
|
|
16493
|
+
gap: var(--spacing-1);
|
|
16494
|
+
padding: 0 var(--spacing-4);
|
|
16495
|
+
max-width: var(--container-max-width-large, 1200px);
|
|
16496
|
+
margin: 0 auto;
|
|
16497
|
+
}
|
|
16498
|
+
|
|
16499
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab {
|
|
16500
|
+
flex: 0 0 auto;
|
|
16501
|
+
flex-direction: row;
|
|
16502
|
+
gap: var(--spacing-2);
|
|
16503
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
16504
|
+
border-radius: 0;
|
|
16505
|
+
border-bottom: 2px solid transparent;
|
|
16506
|
+
}
|
|
16507
|
+
|
|
16508
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab--active {
|
|
16509
|
+
border-bottom-color: var(--color-action-default);
|
|
16510
|
+
}
|
|
16511
|
+
|
|
16512
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab:hover {
|
|
16513
|
+
background-color: var(--color-surface-level2);
|
|
16514
|
+
}
|
|
16515
|
+
|
|
16516
|
+
.muka-bottombar--desktop-topnav .muka-bottombar__tab-label {
|
|
16517
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
16518
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
16519
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
16520
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
16521
|
+
}
|
|
16522
|
+
|
|
16523
|
+
/* When floating and topnav, remove the floating card styles */
|
|
16524
|
+
.muka-bottombar--desktop-topnav.muka-bottombar--floating {
|
|
16525
|
+
padding: 0;
|
|
16526
|
+
}
|
|
16527
|
+
|
|
16528
|
+
.muka-bottombar--desktop-topnav.muka-bottombar--floating .muka-bottombar__content {
|
|
16529
|
+
background-color: transparent;
|
|
16530
|
+
border-radius: 0;
|
|
16531
|
+
box-shadow: none;
|
|
16532
|
+
}
|
|
16498
16533
|
}
|
|
16499
16534
|
|
|
16500
|
-
|
|
16501
|
-
|
|
16535
|
+
/* ─── Print ────────────────────────────────────────────── */
|
|
16536
|
+
|
|
16537
|
+
@media print {
|
|
16538
|
+
.muka-bottombar {
|
|
16539
|
+
display: none;
|
|
16540
|
+
}
|
|
16502
16541
|
}
|
|
16503
16542
|
|
|
16504
16543
|
|