@revikornmann/muka-ui 0.64.4 → 0.64.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/View/viewNavigation.js +23 -0
- package/dist/cjs/components/View/viewNavigation.js.map +1 -1
- package/dist/esm/components/View/viewNavigation.js +23 -0
- package/dist/esm/components/View/viewNavigation.js.map +1 -1
- package/dist/styles/index.css +919 -919
- package/dist/styles/muka-dark.css +919 -919
- package/dist/styles/muka-light.css +919 -919
- package/dist/styles/wireframe-dark.css +919 -919
- package/dist/styles/wireframe-light.css +919 -919
- package/dist/types/components/View/viewNavigation.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -5192,114 +5192,6 @@ body {
|
|
|
5192
5192
|
}
|
|
5193
5193
|
|
|
5194
5194
|
|
|
5195
|
-
/* SwipeActions */
|
|
5196
|
-
/* SwipeActions Component Styles */
|
|
5197
|
-
|
|
5198
|
-
.muka-swipe-actions {
|
|
5199
|
-
position: relative;
|
|
5200
|
-
overflow: hidden;
|
|
5201
|
-
touch-action: pan-y;
|
|
5202
|
-
-webkit-user-select: none;
|
|
5203
|
-
user-select: none;
|
|
5204
|
-
background-color: var(--color-surface-level3);
|
|
5205
|
-
}
|
|
5206
|
-
|
|
5207
|
-
.muka-swipe-actions--disabled {
|
|
5208
|
-
touch-action: auto;
|
|
5209
|
-
}
|
|
5210
|
-
|
|
5211
|
-
/* ─── Row that holds the actual content ────────────────── */
|
|
5212
|
-
|
|
5213
|
-
.muka-swipe-actions__row {
|
|
5214
|
-
position: relative;
|
|
5215
|
-
z-index: 1;
|
|
5216
|
-
background-color: inherit;
|
|
5217
|
-
will-change: transform;
|
|
5218
|
-
}
|
|
5219
|
-
|
|
5220
|
-
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
5221
|
-
|
|
5222
|
-
.muka-swipe-actions__panel {
|
|
5223
|
-
position: absolute;
|
|
5224
|
-
top: 0;
|
|
5225
|
-
bottom: 0;
|
|
5226
|
-
display: flex;
|
|
5227
|
-
align-items: stretch;
|
|
5228
|
-
z-index: 0;
|
|
5229
|
-
}
|
|
5230
|
-
|
|
5231
|
-
.muka-swipe-actions__panel--left {
|
|
5232
|
-
left: 0;
|
|
5233
|
-
}
|
|
5234
|
-
|
|
5235
|
-
.muka-swipe-actions__panel--right {
|
|
5236
|
-
right: 0;
|
|
5237
|
-
}
|
|
5238
|
-
|
|
5239
|
-
/* ─── Single action button ─────────────────────────────── */
|
|
5240
|
-
|
|
5241
|
-
.muka-swipe-actions__button {
|
|
5242
|
-
display: flex;
|
|
5243
|
-
flex-direction: column;
|
|
5244
|
-
align-items: center;
|
|
5245
|
-
justify-content: center;
|
|
5246
|
-
gap: var(--spacing-1);
|
|
5247
|
-
border: none;
|
|
5248
|
-
cursor: pointer;
|
|
5249
|
-
padding: var(--spacing-2);
|
|
5250
|
-
background-color: var(--color-surface-level2);
|
|
5251
|
-
color: var(--color-text-default-default);
|
|
5252
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
5253
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
5254
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5255
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5256
|
-
-webkit-tap-highlight-color: transparent;
|
|
5257
|
-
transition: filter 0.12s ease;
|
|
5258
|
-
}
|
|
5259
|
-
|
|
5260
|
-
.muka-swipe-actions__button:hover {
|
|
5261
|
-
filter: brightness(0.95);
|
|
5262
|
-
}
|
|
5263
|
-
|
|
5264
|
-
.muka-swipe-actions__button:focus-visible {
|
|
5265
|
-
outline: 2px solid var(--color-action-default);
|
|
5266
|
-
outline-offset: -2px;
|
|
5267
|
-
}
|
|
5268
|
-
|
|
5269
|
-
.muka-swipe-actions__button-icon {
|
|
5270
|
-
display: inline-flex;
|
|
5271
|
-
align-items: center;
|
|
5272
|
-
justify-content: center;
|
|
5273
|
-
}
|
|
5274
|
-
|
|
5275
|
-
/* ─── Color variants ───────────────────────────────────── */
|
|
5276
|
-
|
|
5277
|
-
.muka-swipe-actions__button--neutral {
|
|
5278
|
-
background-color: var(--color-surface-level2);
|
|
5279
|
-
color: var(--color-text-default-default);
|
|
5280
|
-
}
|
|
5281
|
-
|
|
5282
|
-
.muka-swipe-actions__button--primary {
|
|
5283
|
-
background-color: var(--color-action-default);
|
|
5284
|
-
color: var(--color-text-default-inverse);
|
|
5285
|
-
}
|
|
5286
|
-
|
|
5287
|
-
.muka-swipe-actions__button--success {
|
|
5288
|
-
background-color: var(--color-state-success-default);
|
|
5289
|
-
color: var(--color-text-default-inverse);
|
|
5290
|
-
}
|
|
5291
|
-
|
|
5292
|
-
.muka-swipe-actions__button--warning {
|
|
5293
|
-
background-color: var(--color-state-warning-default);
|
|
5294
|
-
color: var(--color-text-default-default);
|
|
5295
|
-
}
|
|
5296
|
-
|
|
5297
|
-
.muka-swipe-actions__button--destructive {
|
|
5298
|
-
background-color: var(--color-state-error-default);
|
|
5299
|
-
color: var(--color-text-default-inverse);
|
|
5300
|
-
}
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
5195
|
/* Spinner */
|
|
5304
5196
|
/* Spinner Component Styles */
|
|
5305
5197
|
|
|
@@ -5880,6 +5772,151 @@ body {
|
|
|
5880
5772
|
}
|
|
5881
5773
|
|
|
5882
5774
|
|
|
5775
|
+
/* SiteHeader */
|
|
5776
|
+
/* SiteHeader Component Styles */
|
|
5777
|
+
|
|
5778
|
+
/*
|
|
5779
|
+
* Header for document-scrolling pages. Its colour comes from, in order:
|
|
5780
|
+
* `--muka-site-header-background` (set by the consumer), the surrounding
|
|
5781
|
+
* Page's `--muka-page-background`, and the base surface.
|
|
5782
|
+
*
|
|
5783
|
+
* Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
|
|
5784
|
+
* running edge to edge, the header extends behind the status bar in its own
|
|
5785
|
+
* colour and keeps its content clear of a landscape notch.
|
|
5786
|
+
*/
|
|
5787
|
+
.muka-site-header {
|
|
5788
|
+
width: 100%;
|
|
5789
|
+
flex-shrink: 0;
|
|
5790
|
+
background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
|
|
5791
|
+
padding-top: env(safe-area-inset-top, 0px);
|
|
5792
|
+
}
|
|
5793
|
+
|
|
5794
|
+
.muka-site-header--sticky {
|
|
5795
|
+
position: sticky;
|
|
5796
|
+
top: 0;
|
|
5797
|
+
z-index: 30;
|
|
5798
|
+
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
5799
|
+
}
|
|
5800
|
+
|
|
5801
|
+
/*
|
|
5802
|
+
* A header that scrolls away would leave the status bar over the content. A
|
|
5803
|
+
* fixed strip in the header's colour stays behind the status bar instead.
|
|
5804
|
+
* Below Muka's overlays, so a dialog's backdrop dims it with the page.
|
|
5805
|
+
*/
|
|
5806
|
+
.muka-site-header:not(.muka-site-header--sticky)::before {
|
|
5807
|
+
content: '';
|
|
5808
|
+
position: fixed;
|
|
5809
|
+
top: 0;
|
|
5810
|
+
left: 0;
|
|
5811
|
+
right: 0;
|
|
5812
|
+
height: env(safe-area-inset-top, 0px);
|
|
5813
|
+
background-color: inherit;
|
|
5814
|
+
pointer-events: none;
|
|
5815
|
+
z-index: 30;
|
|
5816
|
+
}
|
|
5817
|
+
|
|
5818
|
+
.muka-site-header__inner {
|
|
5819
|
+
display: flex;
|
|
5820
|
+
align-items: center;
|
|
5821
|
+
gap: var(--spacing-2);
|
|
5822
|
+
width: 100%;
|
|
5823
|
+
max-width: var(--container-max-width-xl);
|
|
5824
|
+
margin: 0 auto;
|
|
5825
|
+
padding-block: var(--spacing-6);
|
|
5826
|
+
padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
|
|
5827
|
+
padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
|
|
5828
|
+
}
|
|
5829
|
+
|
|
5830
|
+
.muka-site-header__brand {
|
|
5831
|
+
display: flex;
|
|
5832
|
+
align-items: center;
|
|
5833
|
+
flex-shrink: 0;
|
|
5834
|
+
min-width: 0;
|
|
5835
|
+
}
|
|
5836
|
+
|
|
5837
|
+
.muka-site-header__nav {
|
|
5838
|
+
display: none;
|
|
5839
|
+
align-items: center;
|
|
5840
|
+
gap: var(--spacing-1);
|
|
5841
|
+
min-width: 0;
|
|
5842
|
+
}
|
|
5843
|
+
|
|
5844
|
+
.muka-site-header__actions {
|
|
5845
|
+
display: flex;
|
|
5846
|
+
align-items: center;
|
|
5847
|
+
margin-left: auto;
|
|
5848
|
+
min-width: 0;
|
|
5849
|
+
}
|
|
5850
|
+
|
|
5851
|
+
.muka-site-header__action-group {
|
|
5852
|
+
display: flex;
|
|
5853
|
+
align-items: center;
|
|
5854
|
+
gap: var(--spacing-2);
|
|
5855
|
+
}
|
|
5856
|
+
|
|
5857
|
+
/* Small screens: the compact set replaces the full one. */
|
|
5858
|
+
.muka-site-header__action-group--wide {
|
|
5859
|
+
display: none;
|
|
5860
|
+
}
|
|
5861
|
+
|
|
5862
|
+
@media (min-width: 768px) {
|
|
5863
|
+
.muka-site-header__inner {
|
|
5864
|
+
gap: var(--spacing-4);
|
|
5865
|
+
padding-block: var(--spacing-8);
|
|
5866
|
+
}
|
|
5867
|
+
|
|
5868
|
+
.muka-site-header__nav {
|
|
5869
|
+
display: flex;
|
|
5870
|
+
}
|
|
5871
|
+
|
|
5872
|
+
.muka-site-header__action-group--wide {
|
|
5873
|
+
display: flex;
|
|
5874
|
+
}
|
|
5875
|
+
|
|
5876
|
+
.muka-site-header__action-group--compact {
|
|
5877
|
+
display: none;
|
|
5878
|
+
}
|
|
5879
|
+
}
|
|
5880
|
+
|
|
5881
|
+
/*
|
|
5882
|
+
* layout="full" (Figma Public header, Bouwplan): the content spans the width,
|
|
5883
|
+
* the nav sits between brand and actions (space-between), and the inset grows
|
|
5884
|
+
* with the screen: 24/16 on small screens, 16/24 from 768px, 32 from 1536px.
|
|
5885
|
+
* Safe-area insets still win where they are larger.
|
|
5886
|
+
*/
|
|
5887
|
+
.muka-site-header--full .muka-site-header__inner {
|
|
5888
|
+
max-width: none;
|
|
5889
|
+
justify-content: space-between;
|
|
5890
|
+
}
|
|
5891
|
+
|
|
5892
|
+
.muka-site-header--full .muka-site-header__actions {
|
|
5893
|
+
margin-left: 0;
|
|
5894
|
+
}
|
|
5895
|
+
|
|
5896
|
+
@media (min-width: 768px) {
|
|
5897
|
+
.muka-site-header--full .muka-site-header__inner {
|
|
5898
|
+
padding-block: var(--spacing-4);
|
|
5899
|
+
padding-left: max(var(--spacing-6), env(safe-area-inset-left, 0px));
|
|
5900
|
+
padding-right: max(var(--spacing-6), env(safe-area-inset-right, 0px));
|
|
5901
|
+
}
|
|
5902
|
+
}
|
|
5903
|
+
|
|
5904
|
+
@media (min-width: 1536px) {
|
|
5905
|
+
.muka-site-header--full .muka-site-header__inner {
|
|
5906
|
+
padding-block: var(--spacing-8);
|
|
5907
|
+
padding-left: max(var(--spacing-8), env(safe-area-inset-left, 0px));
|
|
5908
|
+
padding-right: max(var(--spacing-8), env(safe-area-inset-right, 0px));
|
|
5909
|
+
}
|
|
5910
|
+
}
|
|
5911
|
+
|
|
5912
|
+
/* Small screens: no nav, so the actions take the end on their own. */
|
|
5913
|
+
@media (max-width: 767px) {
|
|
5914
|
+
.muka-site-header--full .muka-site-header__actions {
|
|
5915
|
+
margin-left: auto;
|
|
5916
|
+
}
|
|
5917
|
+
}
|
|
5918
|
+
|
|
5919
|
+
|
|
5883
5920
|
/* Sheet */
|
|
5884
5921
|
/* Sheet Component Styles */
|
|
5885
5922
|
|
|
@@ -6156,151 +6193,6 @@ body {
|
|
|
6156
6193
|
}
|
|
6157
6194
|
|
|
6158
6195
|
|
|
6159
|
-
/* SiteHeader */
|
|
6160
|
-
/* SiteHeader Component Styles */
|
|
6161
|
-
|
|
6162
|
-
/*
|
|
6163
|
-
* Header for document-scrolling pages. Its colour comes from, in order:
|
|
6164
|
-
* `--muka-site-header-background` (set by the consumer), the surrounding
|
|
6165
|
-
* Page's `--muka-page-background`, and the base surface.
|
|
6166
|
-
*
|
|
6167
|
-
* Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
|
|
6168
|
-
* running edge to edge, the header extends behind the status bar in its own
|
|
6169
|
-
* colour and keeps its content clear of a landscape notch.
|
|
6170
|
-
*/
|
|
6171
|
-
.muka-site-header {
|
|
6172
|
-
width: 100%;
|
|
6173
|
-
flex-shrink: 0;
|
|
6174
|
-
background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
|
|
6175
|
-
padding-top: env(safe-area-inset-top, 0px);
|
|
6176
|
-
}
|
|
6177
|
-
|
|
6178
|
-
.muka-site-header--sticky {
|
|
6179
|
-
position: sticky;
|
|
6180
|
-
top: 0;
|
|
6181
|
-
z-index: 30;
|
|
6182
|
-
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
6183
|
-
}
|
|
6184
|
-
|
|
6185
|
-
/*
|
|
6186
|
-
* A header that scrolls away would leave the status bar over the content. A
|
|
6187
|
-
* fixed strip in the header's colour stays behind the status bar instead.
|
|
6188
|
-
* Below Muka's overlays, so a dialog's backdrop dims it with the page.
|
|
6189
|
-
*/
|
|
6190
|
-
.muka-site-header:not(.muka-site-header--sticky)::before {
|
|
6191
|
-
content: '';
|
|
6192
|
-
position: fixed;
|
|
6193
|
-
top: 0;
|
|
6194
|
-
left: 0;
|
|
6195
|
-
right: 0;
|
|
6196
|
-
height: env(safe-area-inset-top, 0px);
|
|
6197
|
-
background-color: inherit;
|
|
6198
|
-
pointer-events: none;
|
|
6199
|
-
z-index: 30;
|
|
6200
|
-
}
|
|
6201
|
-
|
|
6202
|
-
.muka-site-header__inner {
|
|
6203
|
-
display: flex;
|
|
6204
|
-
align-items: center;
|
|
6205
|
-
gap: var(--spacing-2);
|
|
6206
|
-
width: 100%;
|
|
6207
|
-
max-width: var(--container-max-width-xl);
|
|
6208
|
-
margin: 0 auto;
|
|
6209
|
-
padding-block: var(--spacing-6);
|
|
6210
|
-
padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
|
|
6211
|
-
padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
|
|
6212
|
-
}
|
|
6213
|
-
|
|
6214
|
-
.muka-site-header__brand {
|
|
6215
|
-
display: flex;
|
|
6216
|
-
align-items: center;
|
|
6217
|
-
flex-shrink: 0;
|
|
6218
|
-
min-width: 0;
|
|
6219
|
-
}
|
|
6220
|
-
|
|
6221
|
-
.muka-site-header__nav {
|
|
6222
|
-
display: none;
|
|
6223
|
-
align-items: center;
|
|
6224
|
-
gap: var(--spacing-1);
|
|
6225
|
-
min-width: 0;
|
|
6226
|
-
}
|
|
6227
|
-
|
|
6228
|
-
.muka-site-header__actions {
|
|
6229
|
-
display: flex;
|
|
6230
|
-
align-items: center;
|
|
6231
|
-
margin-left: auto;
|
|
6232
|
-
min-width: 0;
|
|
6233
|
-
}
|
|
6234
|
-
|
|
6235
|
-
.muka-site-header__action-group {
|
|
6236
|
-
display: flex;
|
|
6237
|
-
align-items: center;
|
|
6238
|
-
gap: var(--spacing-2);
|
|
6239
|
-
}
|
|
6240
|
-
|
|
6241
|
-
/* Small screens: the compact set replaces the full one. */
|
|
6242
|
-
.muka-site-header__action-group--wide {
|
|
6243
|
-
display: none;
|
|
6244
|
-
}
|
|
6245
|
-
|
|
6246
|
-
@media (min-width: 768px) {
|
|
6247
|
-
.muka-site-header__inner {
|
|
6248
|
-
gap: var(--spacing-4);
|
|
6249
|
-
padding-block: var(--spacing-8);
|
|
6250
|
-
}
|
|
6251
|
-
|
|
6252
|
-
.muka-site-header__nav {
|
|
6253
|
-
display: flex;
|
|
6254
|
-
}
|
|
6255
|
-
|
|
6256
|
-
.muka-site-header__action-group--wide {
|
|
6257
|
-
display: flex;
|
|
6258
|
-
}
|
|
6259
|
-
|
|
6260
|
-
.muka-site-header__action-group--compact {
|
|
6261
|
-
display: none;
|
|
6262
|
-
}
|
|
6263
|
-
}
|
|
6264
|
-
|
|
6265
|
-
/*
|
|
6266
|
-
* layout="full" (Figma Public header, Bouwplan): the content spans the width,
|
|
6267
|
-
* the nav sits between brand and actions (space-between), and the inset grows
|
|
6268
|
-
* with the screen: 24/16 on small screens, 16/24 from 768px, 32 from 1536px.
|
|
6269
|
-
* Safe-area insets still win where they are larger.
|
|
6270
|
-
*/
|
|
6271
|
-
.muka-site-header--full .muka-site-header__inner {
|
|
6272
|
-
max-width: none;
|
|
6273
|
-
justify-content: space-between;
|
|
6274
|
-
}
|
|
6275
|
-
|
|
6276
|
-
.muka-site-header--full .muka-site-header__actions {
|
|
6277
|
-
margin-left: 0;
|
|
6278
|
-
}
|
|
6279
|
-
|
|
6280
|
-
@media (min-width: 768px) {
|
|
6281
|
-
.muka-site-header--full .muka-site-header__inner {
|
|
6282
|
-
padding-block: var(--spacing-4);
|
|
6283
|
-
padding-left: max(var(--spacing-6), env(safe-area-inset-left, 0px));
|
|
6284
|
-
padding-right: max(var(--spacing-6), env(safe-area-inset-right, 0px));
|
|
6285
|
-
}
|
|
6286
|
-
}
|
|
6287
|
-
|
|
6288
|
-
@media (min-width: 1536px) {
|
|
6289
|
-
.muka-site-header--full .muka-site-header__inner {
|
|
6290
|
-
padding-block: var(--spacing-8);
|
|
6291
|
-
padding-left: max(var(--spacing-8), env(safe-area-inset-left, 0px));
|
|
6292
|
-
padding-right: max(var(--spacing-8), env(safe-area-inset-right, 0px));
|
|
6293
|
-
}
|
|
6294
|
-
}
|
|
6295
|
-
|
|
6296
|
-
/* Small screens: no nav, so the actions take the end on their own. */
|
|
6297
|
-
@media (max-width: 767px) {
|
|
6298
|
-
.muka-site-header--full .muka-site-header__actions {
|
|
6299
|
-
margin-left: auto;
|
|
6300
|
-
}
|
|
6301
|
-
}
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
6196
|
/* SegmentGroup */
|
|
6305
6197
|
/* SegmentGroup Component Styles - Using Muka Design Tokens */
|
|
6306
6198
|
|
|
@@ -6488,27 +6380,196 @@ body {
|
|
|
6488
6380
|
user-select: none;
|
|
6489
6381
|
}
|
|
6490
6382
|
|
|
6491
|
-
|
|
6492
|
-
/* Section */
|
|
6493
|
-
/* Section Component - Layout tokens (section.padding) */
|
|
6494
|
-
|
|
6495
|
-
.muka-section {
|
|
6496
|
-
box-sizing: border-box;
|
|
6383
|
+
|
|
6384
|
+
/* Section */
|
|
6385
|
+
/* Section Component - Layout tokens (section.padding) */
|
|
6386
|
+
|
|
6387
|
+
.muka-section {
|
|
6388
|
+
box-sizing: border-box;
|
|
6389
|
+
}
|
|
6390
|
+
|
|
6391
|
+
.muka-section--padding-compact {
|
|
6392
|
+
padding-block: var(--section-padding-vertical-compact);
|
|
6393
|
+
padding-inline: var(--section-padding-horizontal-compact);
|
|
6394
|
+
}
|
|
6395
|
+
|
|
6396
|
+
.muka-section--padding-default {
|
|
6397
|
+
padding-block: var(--section-padding-vertical-default);
|
|
6398
|
+
padding-inline: var(--section-padding-horizontal-default);
|
|
6399
|
+
}
|
|
6400
|
+
|
|
6401
|
+
.muka-section--padding-spacious {
|
|
6402
|
+
padding-block: var(--section-padding-vertical-spacious);
|
|
6403
|
+
padding-inline: var(--section-padding-horizontal-spacious);
|
|
6404
|
+
}
|
|
6405
|
+
|
|
6406
|
+
|
|
6407
|
+
/* SearchInput */
|
|
6408
|
+
/* SearchInput Component Styles */
|
|
6409
|
+
|
|
6410
|
+
.muka-search-input {
|
|
6411
|
+
display: flex;
|
|
6412
|
+
align-items: center;
|
|
6413
|
+
gap: var(--spacing-3);
|
|
6414
|
+
width: 100%;
|
|
6415
|
+
}
|
|
6416
|
+
|
|
6417
|
+
/* ─── Field wrapper ───────────────────────────────────── */
|
|
6418
|
+
|
|
6419
|
+
.muka-search-input__field {
|
|
6420
|
+
flex: 1 1 auto;
|
|
6421
|
+
display: flex;
|
|
6422
|
+
align-items: center;
|
|
6423
|
+
gap: var(--spacing-2);
|
|
6424
|
+
background-color: var(--input-field-color-default-background);
|
|
6425
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
6426
|
+
border-radius: var(--input-field-radius-md);
|
|
6427
|
+
padding: 0 var(--input-field-padding-x);
|
|
6428
|
+
transition: border-color 0.12s ease, background-color 0.12s ease;
|
|
6429
|
+
}
|
|
6430
|
+
|
|
6431
|
+
.muka-search-input--focused .muka-search-input__field {
|
|
6432
|
+
border-color: var(--input-field-color-focus-border, var(--color-action-default));
|
|
6433
|
+
}
|
|
6434
|
+
|
|
6435
|
+
/* ─── Sizes ───────────────────────────────────────────── */
|
|
6436
|
+
|
|
6437
|
+
.muka-search-input--sm .muka-search-input__field {
|
|
6438
|
+
min-height: var(--input-field-height-sm);
|
|
6439
|
+
border-radius: var(--input-field-radius-sm);
|
|
6440
|
+
}
|
|
6441
|
+
|
|
6442
|
+
.muka-search-input--md .muka-search-input__field {
|
|
6443
|
+
min-height: var(--input-field-height-default);
|
|
6444
|
+
}
|
|
6445
|
+
|
|
6446
|
+
.muka-search-input--lg .muka-search-input__field {
|
|
6447
|
+
min-height: var(--input-field-height-lg);
|
|
6448
|
+
border-radius: var(--input-field-radius-lg);
|
|
6449
|
+
}
|
|
6450
|
+
|
|
6451
|
+
/* ─── Embedded variant (e.g. inside TopBar) ───────────── */
|
|
6452
|
+
|
|
6453
|
+
.muka-search-input--embedded .muka-search-input__field {
|
|
6454
|
+
background-color: var(--color-surface-level1);
|
|
6455
|
+
border-color: transparent;
|
|
6456
|
+
}
|
|
6457
|
+
|
|
6458
|
+
.muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
|
|
6459
|
+
border-color: transparent;
|
|
6460
|
+
background-color: var(--color-surface-level2);
|
|
6461
|
+
}
|
|
6462
|
+
|
|
6463
|
+
/* ─── Disabled ────────────────────────────────────────── */
|
|
6464
|
+
|
|
6465
|
+
.muka-search-input--disabled .muka-search-input__field {
|
|
6466
|
+
opacity: 0.5;
|
|
6467
|
+
pointer-events: none;
|
|
6468
|
+
}
|
|
6469
|
+
|
|
6470
|
+
/* ─── Leading icon ────────────────────────────────────── */
|
|
6471
|
+
|
|
6472
|
+
.muka-search-input__leading {
|
|
6473
|
+
display: inline-flex;
|
|
6474
|
+
align-items: center;
|
|
6475
|
+
justify-content: center;
|
|
6476
|
+
flex-shrink: 0;
|
|
6477
|
+
color: var(--color-text-subtle-default);
|
|
6478
|
+
}
|
|
6479
|
+
|
|
6480
|
+
/* ─── Input element ───────────────────────────────────── */
|
|
6481
|
+
|
|
6482
|
+
.muka-search-input__input {
|
|
6483
|
+
flex: 1 1 auto;
|
|
6484
|
+
min-width: 0;
|
|
6485
|
+
border: none;
|
|
6486
|
+
background: transparent;
|
|
6487
|
+
outline: none;
|
|
6488
|
+
padding: 0;
|
|
6489
|
+
color: var(--color-text-default-default);
|
|
6490
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
6491
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
6492
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
6493
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
6494
|
+
appearance: none;
|
|
6495
|
+
-webkit-appearance: none;
|
|
6496
|
+
}
|
|
6497
|
+
|
|
6498
|
+
.muka-search-input__input::placeholder {
|
|
6499
|
+
color: var(--color-text-subtle-default);
|
|
6500
|
+
}
|
|
6501
|
+
|
|
6502
|
+
/* Hide the browser-supplied clear button (WebKit + Edge) */
|
|
6503
|
+
.muka-search-input__input::-webkit-search-cancel-button,
|
|
6504
|
+
.muka-search-input__input::-webkit-search-decoration {
|
|
6505
|
+
-webkit-appearance: none;
|
|
6506
|
+
appearance: none;
|
|
6507
|
+
}
|
|
6508
|
+
|
|
6509
|
+
.muka-search-input__input::-ms-clear {
|
|
6510
|
+
display: none;
|
|
6511
|
+
}
|
|
6512
|
+
|
|
6513
|
+
/* ─── Trailing slot (loading spinner) ─────────────────── */
|
|
6514
|
+
|
|
6515
|
+
.muka-search-input__trailing {
|
|
6516
|
+
display: inline-flex;
|
|
6517
|
+
align-items: center;
|
|
6518
|
+
justify-content: center;
|
|
6519
|
+
flex-shrink: 0;
|
|
6520
|
+
}
|
|
6521
|
+
|
|
6522
|
+
/* ─── Clear button ────────────────────────────────────── */
|
|
6523
|
+
|
|
6524
|
+
.muka-search-input__clear {
|
|
6525
|
+
display: inline-flex;
|
|
6526
|
+
align-items: center;
|
|
6527
|
+
justify-content: center;
|
|
6528
|
+
width: 20px;
|
|
6529
|
+
height: 20px;
|
|
6530
|
+
border: none;
|
|
6531
|
+
background: none;
|
|
6532
|
+
padding: 0;
|
|
6533
|
+
cursor: pointer;
|
|
6534
|
+
color: var(--color-text-subtle-default);
|
|
6535
|
+
flex-shrink: 0;
|
|
6536
|
+
-webkit-tap-highlight-color: transparent;
|
|
6537
|
+
}
|
|
6538
|
+
|
|
6539
|
+
.muka-search-input__clear:hover {
|
|
6540
|
+
color: var(--color-text-default-default);
|
|
6541
|
+
}
|
|
6542
|
+
|
|
6543
|
+
.muka-search-input__clear:focus-visible {
|
|
6544
|
+
outline: 2px solid var(--color-action-default);
|
|
6545
|
+
outline-offset: 2px;
|
|
6546
|
+
border-radius: 50%;
|
|
6497
6547
|
}
|
|
6498
6548
|
|
|
6499
|
-
|
|
6500
|
-
|
|
6501
|
-
|
|
6549
|
+
/* ─── Cancel button ───────────────────────────────────── */
|
|
6550
|
+
|
|
6551
|
+
.muka-search-input__cancel {
|
|
6552
|
+
flex-shrink: 0;
|
|
6553
|
+
background: none;
|
|
6554
|
+
border: none;
|
|
6555
|
+
padding: var(--spacing-1) var(--spacing-2);
|
|
6556
|
+
cursor: pointer;
|
|
6557
|
+
color: var(--color-action-default);
|
|
6558
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
6559
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
6560
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
6561
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
6562
|
+
-webkit-tap-highlight-color: transparent;
|
|
6502
6563
|
}
|
|
6503
6564
|
|
|
6504
|
-
.muka-
|
|
6505
|
-
|
|
6506
|
-
padding-inline: var(--section-padding-horizontal-default);
|
|
6565
|
+
.muka-search-input__cancel:hover {
|
|
6566
|
+
color: var(--color-action-hover);
|
|
6507
6567
|
}
|
|
6508
6568
|
|
|
6509
|
-
.muka-
|
|
6510
|
-
|
|
6511
|
-
|
|
6569
|
+
.muka-search-input__cancel:focus-visible {
|
|
6570
|
+
outline: 2px solid var(--color-action-default);
|
|
6571
|
+
outline-offset: 2px;
|
|
6572
|
+
border-radius: var(--radius-sm);
|
|
6512
6573
|
}
|
|
6513
6574
|
|
|
6514
6575
|
|
|
@@ -6779,298 +6840,129 @@ body {
|
|
|
6779
6840
|
--muka-range-grip-h: 15px;
|
|
6780
6841
|
}
|
|
6781
6842
|
|
|
6782
|
-
.muka-range-slider__bar {
|
|
6783
|
-
/* Reserve the full thumb height so the handle never clips the layout. */
|
|
6784
|
-
display: flex;
|
|
6785
|
-
align-items: center;
|
|
6786
|
-
height: var(--muka-range-thumb);
|
|
6787
|
-
}
|
|
6788
|
-
|
|
6789
|
-
.muka-range-slider__input {
|
|
6790
|
-
-webkit-appearance: none;
|
|
6791
|
-
appearance: none;
|
|
6792
|
-
width: 100%;
|
|
6793
|
-
height: var(--muka-range-thumb);
|
|
6794
|
-
margin: 0;
|
|
6795
|
-
background: transparent;
|
|
6796
|
-
cursor: pointer;
|
|
6797
|
-
|
|
6798
|
-
/* Grip handle fill + two vertical grip bars, all theme-aware. */
|
|
6799
|
-
--muka-range-grip-color: var(--color-text-subtle-default);
|
|
6800
|
-
--muka-range-grip-w: 2px;
|
|
6801
|
-
--muka-range-grip-gap: 3px;
|
|
6802
|
-
|
|
6803
|
-
/* The track fill: action colour up to the value, sunken surface beyond it. */
|
|
6804
|
-
--muka-range-track-fill: linear-gradient(
|
|
6805
|
-
to right,
|
|
6806
|
-
var(--color-action-default) 0,
|
|
6807
|
-
var(--color-action-default) var(--muka-range-fill, 0%),
|
|
6808
|
-
var(--color-surface-sunken) var(--muka-range-fill, 0%),
|
|
6809
|
-
var(--color-surface-sunken) 100%
|
|
6810
|
-
);
|
|
6811
|
-
}
|
|
6812
|
-
|
|
6813
|
-
.muka-range-slider__input:focus {
|
|
6814
|
-
outline: none;
|
|
6815
|
-
}
|
|
6816
|
-
|
|
6817
|
-
/* WebKit / Blink track */
|
|
6818
|
-
.muka-range-slider__input::-webkit-slider-runnable-track {
|
|
6819
|
-
height: var(--muka-range-track-h);
|
|
6820
|
-
border-radius: var(--border-radius-full);
|
|
6821
|
-
background-image: var(--muka-range-track-fill);
|
|
6822
|
-
border: 1px solid var(--color-border-contrast);
|
|
6823
|
-
box-shadow: var(--shadow-sunken);
|
|
6824
|
-
}
|
|
6825
|
-
|
|
6826
|
-
/* Firefox track + progress */
|
|
6827
|
-
.muka-range-slider__input::-moz-range-track {
|
|
6828
|
-
height: var(--muka-range-track-h);
|
|
6829
|
-
border-radius: var(--border-radius-full);
|
|
6830
|
-
background: var(--color-surface-sunken);
|
|
6831
|
-
border: 1px solid var(--color-border-contrast);
|
|
6832
|
-
box-shadow: var(--shadow-sunken);
|
|
6833
|
-
}
|
|
6834
|
-
.muka-range-slider__input::-moz-range-progress {
|
|
6835
|
-
height: var(--muka-range-track-h);
|
|
6836
|
-
border-radius: var(--border-radius-full);
|
|
6837
|
-
background: var(--color-action-default);
|
|
6838
|
-
}
|
|
6839
|
-
|
|
6840
|
-
/* WebKit / Blink thumb (vertically centred over the track) */
|
|
6841
|
-
.muka-range-slider__input::-webkit-slider-thumb {
|
|
6842
|
-
-webkit-appearance: none;
|
|
6843
|
-
appearance: none;
|
|
6844
|
-
width: var(--muka-range-thumb);
|
|
6845
|
-
height: var(--muka-range-thumb);
|
|
6846
|
-
margin-top: calc((var(--muka-range-track-h) - var(--muka-range-thumb)) / 2);
|
|
6847
|
-
border-radius: var(--border-radius-full);
|
|
6848
|
-
border: 1px solid var(--color-border-contrast);
|
|
6849
|
-
box-shadow: var(--shadow-level2);
|
|
6850
|
-
background-color: var(--color-surface-level1);
|
|
6851
|
-
background-image:
|
|
6852
|
-
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
|
|
6853
|
-
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
|
|
6854
|
-
background-repeat: no-repeat;
|
|
6855
|
-
background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
|
|
6856
|
-
background-position:
|
|
6857
|
-
calc(50% - var(--muka-range-grip-gap)) center,
|
|
6858
|
-
calc(50% + var(--muka-range-grip-gap)) center;
|
|
6859
|
-
transition: box-shadow 0.15s ease, background-color 0.15s ease;
|
|
6860
|
-
}
|
|
6861
|
-
|
|
6862
|
-
/* Firefox thumb */
|
|
6863
|
-
.muka-range-slider__input::-moz-range-thumb {
|
|
6864
|
-
width: var(--muka-range-thumb);
|
|
6865
|
-
height: var(--muka-range-thumb);
|
|
6866
|
-
border-radius: var(--border-radius-full);
|
|
6867
|
-
border: 1px solid var(--color-border-contrast);
|
|
6868
|
-
box-shadow: var(--shadow-level2);
|
|
6869
|
-
background-color: var(--color-surface-level1);
|
|
6870
|
-
background-image:
|
|
6871
|
-
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
|
|
6872
|
-
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
|
|
6873
|
-
background-repeat: no-repeat;
|
|
6874
|
-
background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
|
|
6875
|
-
background-position:
|
|
6876
|
-
calc(50% - var(--muka-range-grip-gap)) center,
|
|
6877
|
-
calc(50% + var(--muka-range-grip-gap)) center;
|
|
6878
|
-
transition: box-shadow 0.15s ease, background-color 0.15s ease;
|
|
6879
|
-
}
|
|
6880
|
-
|
|
6881
|
-
/* Hover */
|
|
6882
|
-
.muka-range-slider__input:hover::-webkit-slider-thumb {
|
|
6883
|
-
background-color: var(--color-surface-level1);
|
|
6884
|
-
box-shadow: var(--shadow-level3);
|
|
6885
|
-
}
|
|
6886
|
-
.muka-range-slider__input:hover::-moz-range-thumb {
|
|
6887
|
-
background-color: var(--color-surface-level1);
|
|
6888
|
-
box-shadow: var(--shadow-level3);
|
|
6889
|
-
}
|
|
6890
|
-
|
|
6891
|
-
/* Focus ring */
|
|
6892
|
-
.muka-range-slider__input:focus-visible::-webkit-slider-thumb {
|
|
6893
|
-
box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
|
|
6894
|
-
}
|
|
6895
|
-
.muka-range-slider__input:focus-visible::-moz-range-thumb {
|
|
6896
|
-
box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
|
|
6897
|
-
}
|
|
6898
|
-
|
|
6899
|
-
/* Disabled */
|
|
6900
|
-
.muka-range-slider--disabled {
|
|
6901
|
-
opacity: 0.5;
|
|
6902
|
-
}
|
|
6903
|
-
.muka-range-slider--disabled .muka-range-slider__input {
|
|
6904
|
-
cursor: not-allowed;
|
|
6905
|
-
}
|
|
6906
|
-
|
|
6907
|
-
|
|
6908
|
-
/* SearchInput */
|
|
6909
|
-
/* SearchInput Component Styles */
|
|
6910
|
-
|
|
6911
|
-
.muka-search-input {
|
|
6912
|
-
display: flex;
|
|
6913
|
-
align-items: center;
|
|
6914
|
-
gap: var(--spacing-3);
|
|
6915
|
-
width: 100%;
|
|
6916
|
-
}
|
|
6917
|
-
|
|
6918
|
-
/* ─── Field wrapper ───────────────────────────────────── */
|
|
6919
|
-
|
|
6920
|
-
.muka-search-input__field {
|
|
6921
|
-
flex: 1 1 auto;
|
|
6922
|
-
display: flex;
|
|
6923
|
-
align-items: center;
|
|
6924
|
-
gap: var(--spacing-2);
|
|
6925
|
-
background-color: var(--input-field-color-default-background);
|
|
6926
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
6927
|
-
border-radius: var(--input-field-radius-md);
|
|
6928
|
-
padding: 0 var(--input-field-padding-x);
|
|
6929
|
-
transition: border-color 0.12s ease, background-color 0.12s ease;
|
|
6930
|
-
}
|
|
6931
|
-
|
|
6932
|
-
.muka-search-input--focused .muka-search-input__field {
|
|
6933
|
-
border-color: var(--input-field-color-focus-border, var(--color-action-default));
|
|
6934
|
-
}
|
|
6935
|
-
|
|
6936
|
-
/* ─── Sizes ───────────────────────────────────────────── */
|
|
6937
|
-
|
|
6938
|
-
.muka-search-input--sm .muka-search-input__field {
|
|
6939
|
-
min-height: var(--input-field-height-sm);
|
|
6940
|
-
border-radius: var(--input-field-radius-sm);
|
|
6941
|
-
}
|
|
6942
|
-
|
|
6943
|
-
.muka-search-input--md .muka-search-input__field {
|
|
6944
|
-
min-height: var(--input-field-height-default);
|
|
6945
|
-
}
|
|
6946
|
-
|
|
6947
|
-
.muka-search-input--lg .muka-search-input__field {
|
|
6948
|
-
min-height: var(--input-field-height-lg);
|
|
6949
|
-
border-radius: var(--input-field-radius-lg);
|
|
6950
|
-
}
|
|
6951
|
-
|
|
6952
|
-
/* ─── Embedded variant (e.g. inside TopBar) ───────────── */
|
|
6953
|
-
|
|
6954
|
-
.muka-search-input--embedded .muka-search-input__field {
|
|
6955
|
-
background-color: var(--color-surface-level1);
|
|
6956
|
-
border-color: transparent;
|
|
6957
|
-
}
|
|
6958
|
-
|
|
6959
|
-
.muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
|
|
6960
|
-
border-color: transparent;
|
|
6961
|
-
background-color: var(--color-surface-level2);
|
|
6962
|
-
}
|
|
6963
|
-
|
|
6964
|
-
/* ─── Disabled ────────────────────────────────────────── */
|
|
6965
|
-
|
|
6966
|
-
.muka-search-input--disabled .muka-search-input__field {
|
|
6967
|
-
opacity: 0.5;
|
|
6968
|
-
pointer-events: none;
|
|
6969
|
-
}
|
|
6970
|
-
|
|
6971
|
-
/* ─── Leading icon ────────────────────────────────────── */
|
|
6972
|
-
|
|
6973
|
-
.muka-search-input__leading {
|
|
6974
|
-
display: inline-flex;
|
|
6975
|
-
align-items: center;
|
|
6976
|
-
justify-content: center;
|
|
6977
|
-
flex-shrink: 0;
|
|
6978
|
-
color: var(--color-text-subtle-default);
|
|
6979
|
-
}
|
|
6980
|
-
|
|
6981
|
-
/* ─── Input element ───────────────────────────────────── */
|
|
6982
|
-
|
|
6983
|
-
.muka-search-input__input {
|
|
6984
|
-
flex: 1 1 auto;
|
|
6985
|
-
min-width: 0;
|
|
6986
|
-
border: none;
|
|
6987
|
-
background: transparent;
|
|
6988
|
-
outline: none;
|
|
6989
|
-
padding: 0;
|
|
6990
|
-
color: var(--color-text-default-default);
|
|
6991
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
6992
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
6993
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
6994
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
6995
|
-
appearance: none;
|
|
6996
|
-
-webkit-appearance: none;
|
|
6997
|
-
}
|
|
6998
|
-
|
|
6999
|
-
.muka-search-input__input::placeholder {
|
|
7000
|
-
color: var(--color-text-subtle-default);
|
|
6843
|
+
.muka-range-slider__bar {
|
|
6844
|
+
/* Reserve the full thumb height so the handle never clips the layout. */
|
|
6845
|
+
display: flex;
|
|
6846
|
+
align-items: center;
|
|
6847
|
+
height: var(--muka-range-thumb);
|
|
7001
6848
|
}
|
|
7002
6849
|
|
|
7003
|
-
|
|
7004
|
-
.muka-search-input__input::-webkit-search-cancel-button,
|
|
7005
|
-
.muka-search-input__input::-webkit-search-decoration {
|
|
6850
|
+
.muka-range-slider__input {
|
|
7006
6851
|
-webkit-appearance: none;
|
|
7007
6852
|
appearance: none;
|
|
7008
|
-
|
|
7009
|
-
|
|
7010
|
-
|
|
7011
|
-
|
|
7012
|
-
|
|
6853
|
+
width: 100%;
|
|
6854
|
+
height: var(--muka-range-thumb);
|
|
6855
|
+
margin: 0;
|
|
6856
|
+
background: transparent;
|
|
6857
|
+
cursor: pointer;
|
|
7013
6858
|
|
|
7014
|
-
/*
|
|
6859
|
+
/* Grip handle fill + two vertical grip bars, all theme-aware. */
|
|
6860
|
+
--muka-range-grip-color: var(--color-text-subtle-default);
|
|
6861
|
+
--muka-range-grip-w: 2px;
|
|
6862
|
+
--muka-range-grip-gap: 3px;
|
|
7015
6863
|
|
|
7016
|
-
.
|
|
7017
|
-
|
|
7018
|
-
|
|
7019
|
-
|
|
7020
|
-
|
|
6864
|
+
/* The track fill: action colour up to the value, sunken surface beyond it. */
|
|
6865
|
+
--muka-range-track-fill: linear-gradient(
|
|
6866
|
+
to right,
|
|
6867
|
+
var(--color-action-default) 0,
|
|
6868
|
+
var(--color-action-default) var(--muka-range-fill, 0%),
|
|
6869
|
+
var(--color-surface-sunken) var(--muka-range-fill, 0%),
|
|
6870
|
+
var(--color-surface-sunken) 100%
|
|
6871
|
+
);
|
|
7021
6872
|
}
|
|
7022
6873
|
|
|
7023
|
-
|
|
6874
|
+
.muka-range-slider__input:focus {
|
|
6875
|
+
outline: none;
|
|
6876
|
+
}
|
|
7024
6877
|
|
|
7025
|
-
|
|
7026
|
-
|
|
7027
|
-
|
|
7028
|
-
|
|
7029
|
-
|
|
7030
|
-
|
|
7031
|
-
|
|
7032
|
-
background: none;
|
|
7033
|
-
padding: 0;
|
|
7034
|
-
cursor: pointer;
|
|
7035
|
-
color: var(--color-text-subtle-default);
|
|
7036
|
-
flex-shrink: 0;
|
|
7037
|
-
-webkit-tap-highlight-color: transparent;
|
|
6878
|
+
/* WebKit / Blink track */
|
|
6879
|
+
.muka-range-slider__input::-webkit-slider-runnable-track {
|
|
6880
|
+
height: var(--muka-range-track-h);
|
|
6881
|
+
border-radius: var(--border-radius-full);
|
|
6882
|
+
background-image: var(--muka-range-track-fill);
|
|
6883
|
+
border: 1px solid var(--color-border-contrast);
|
|
6884
|
+
box-shadow: var(--shadow-sunken);
|
|
7038
6885
|
}
|
|
7039
6886
|
|
|
7040
|
-
|
|
7041
|
-
|
|
6887
|
+
/* Firefox track + progress */
|
|
6888
|
+
.muka-range-slider__input::-moz-range-track {
|
|
6889
|
+
height: var(--muka-range-track-h);
|
|
6890
|
+
border-radius: var(--border-radius-full);
|
|
6891
|
+
background: var(--color-surface-sunken);
|
|
6892
|
+
border: 1px solid var(--color-border-contrast);
|
|
6893
|
+
box-shadow: var(--shadow-sunken);
|
|
6894
|
+
}
|
|
6895
|
+
.muka-range-slider__input::-moz-range-progress {
|
|
6896
|
+
height: var(--muka-range-track-h);
|
|
6897
|
+
border-radius: var(--border-radius-full);
|
|
6898
|
+
background: var(--color-action-default);
|
|
7042
6899
|
}
|
|
7043
6900
|
|
|
7044
|
-
|
|
7045
|
-
|
|
7046
|
-
|
|
7047
|
-
|
|
6901
|
+
/* WebKit / Blink thumb (vertically centred over the track) */
|
|
6902
|
+
.muka-range-slider__input::-webkit-slider-thumb {
|
|
6903
|
+
-webkit-appearance: none;
|
|
6904
|
+
appearance: none;
|
|
6905
|
+
width: var(--muka-range-thumb);
|
|
6906
|
+
height: var(--muka-range-thumb);
|
|
6907
|
+
margin-top: calc((var(--muka-range-track-h) - var(--muka-range-thumb)) / 2);
|
|
6908
|
+
border-radius: var(--border-radius-full);
|
|
6909
|
+
border: 1px solid var(--color-border-contrast);
|
|
6910
|
+
box-shadow: var(--shadow-level2);
|
|
6911
|
+
background-color: var(--color-surface-level1);
|
|
6912
|
+
background-image:
|
|
6913
|
+
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
|
|
6914
|
+
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
|
|
6915
|
+
background-repeat: no-repeat;
|
|
6916
|
+
background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
|
|
6917
|
+
background-position:
|
|
6918
|
+
calc(50% - var(--muka-range-grip-gap)) center,
|
|
6919
|
+
calc(50% + var(--muka-range-grip-gap)) center;
|
|
6920
|
+
transition: box-shadow 0.15s ease, background-color 0.15s ease;
|
|
7048
6921
|
}
|
|
7049
6922
|
|
|
7050
|
-
/*
|
|
6923
|
+
/* Firefox thumb */
|
|
6924
|
+
.muka-range-slider__input::-moz-range-thumb {
|
|
6925
|
+
width: var(--muka-range-thumb);
|
|
6926
|
+
height: var(--muka-range-thumb);
|
|
6927
|
+
border-radius: var(--border-radius-full);
|
|
6928
|
+
border: 1px solid var(--color-border-contrast);
|
|
6929
|
+
box-shadow: var(--shadow-level2);
|
|
6930
|
+
background-color: var(--color-surface-level1);
|
|
6931
|
+
background-image:
|
|
6932
|
+
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
|
|
6933
|
+
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
|
|
6934
|
+
background-repeat: no-repeat;
|
|
6935
|
+
background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
|
|
6936
|
+
background-position:
|
|
6937
|
+
calc(50% - var(--muka-range-grip-gap)) center,
|
|
6938
|
+
calc(50% + var(--muka-range-grip-gap)) center;
|
|
6939
|
+
transition: box-shadow 0.15s ease, background-color 0.15s ease;
|
|
6940
|
+
}
|
|
7051
6941
|
|
|
7052
|
-
|
|
7053
|
-
|
|
7054
|
-
background:
|
|
7055
|
-
|
|
7056
|
-
|
|
7057
|
-
|
|
7058
|
-
color: var(--color-
|
|
7059
|
-
|
|
7060
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
7061
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
7062
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
7063
|
-
-webkit-tap-highlight-color: transparent;
|
|
6942
|
+
/* Hover */
|
|
6943
|
+
.muka-range-slider__input:hover::-webkit-slider-thumb {
|
|
6944
|
+
background-color: var(--color-surface-level1);
|
|
6945
|
+
box-shadow: var(--shadow-level3);
|
|
6946
|
+
}
|
|
6947
|
+
.muka-range-slider__input:hover::-moz-range-thumb {
|
|
6948
|
+
background-color: var(--color-surface-level1);
|
|
6949
|
+
box-shadow: var(--shadow-level3);
|
|
7064
6950
|
}
|
|
7065
6951
|
|
|
7066
|
-
|
|
7067
|
-
|
|
6952
|
+
/* Focus ring */
|
|
6953
|
+
.muka-range-slider__input:focus-visible::-webkit-slider-thumb {
|
|
6954
|
+
box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
|
|
6955
|
+
}
|
|
6956
|
+
.muka-range-slider__input:focus-visible::-moz-range-thumb {
|
|
6957
|
+
box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
|
|
7068
6958
|
}
|
|
7069
6959
|
|
|
7070
|
-
|
|
7071
|
-
|
|
7072
|
-
|
|
7073
|
-
|
|
6960
|
+
/* Disabled */
|
|
6961
|
+
.muka-range-slider--disabled {
|
|
6962
|
+
opacity: 0.5;
|
|
6963
|
+
}
|
|
6964
|
+
.muka-range-slider--disabled .muka-range-slider__input {
|
|
6965
|
+
cursor: not-allowed;
|
|
7074
6966
|
}
|
|
7075
6967
|
|
|
7076
6968
|
|
|
@@ -8343,62 +8235,176 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8343
8235
|
stroke-width: var(--progress-size-circle-strokeWidth-md);
|
|
8344
8236
|
}
|
|
8345
8237
|
|
|
8346
|
-
.muka-progress--circle.muka-progress--lg .muka-progress__track,
|
|
8347
|
-
.muka-progress--circle.muka-progress--lg .muka-progress__fill {
|
|
8348
|
-
stroke-width: var(--progress-size-circle-strokeWidth-lg);
|
|
8238
|
+
.muka-progress--circle.muka-progress--lg .muka-progress__track,
|
|
8239
|
+
.muka-progress--circle.muka-progress--lg .muka-progress__fill {
|
|
8240
|
+
stroke-width: var(--progress-size-circle-strokeWidth-lg);
|
|
8241
|
+
}
|
|
8242
|
+
|
|
8243
|
+
.muka-progress--circle .muka-progress__fill {
|
|
8244
|
+
fill: none;
|
|
8245
|
+
stroke: var(--color-action-default);
|
|
8246
|
+
stroke-linecap: round;
|
|
8247
|
+
transition: stroke-dashoffset 0.3s ease;
|
|
8248
|
+
}
|
|
8249
|
+
|
|
8250
|
+
.muka-progress--circle .muka-progress__label {
|
|
8251
|
+
position: absolute;
|
|
8252
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
8253
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
8254
|
+
color: var(--color-text-default-default);
|
|
8255
|
+
}
|
|
8256
|
+
|
|
8257
|
+
.muka-progress--circle.muka-progress--sm .muka-progress__label {
|
|
8258
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
8259
|
+
}
|
|
8260
|
+
|
|
8261
|
+
.muka-progress--circle.muka-progress--md .muka-progress__label {
|
|
8262
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
8263
|
+
}
|
|
8264
|
+
|
|
8265
|
+
.muka-progress--circle.muka-progress--lg .muka-progress__label {
|
|
8266
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
8267
|
+
}
|
|
8268
|
+
|
|
8269
|
+
/* Indeterminate animation for circle */
|
|
8270
|
+
.muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
|
|
8271
|
+
animation: muka-progress-circle-rotate 2s linear infinite;
|
|
8272
|
+
}
|
|
8273
|
+
|
|
8274
|
+
.muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
|
|
8275
|
+
animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
|
|
8276
|
+
}
|
|
8277
|
+
|
|
8278
|
+
@keyframes muka-progress-circle-rotate {
|
|
8279
|
+
100% {
|
|
8280
|
+
transform: rotate(270deg);
|
|
8281
|
+
}
|
|
8282
|
+
}
|
|
8283
|
+
|
|
8284
|
+
@keyframes muka-progress-circle-dash {
|
|
8285
|
+
0% {
|
|
8286
|
+
stroke-dashoffset: 220;
|
|
8287
|
+
}
|
|
8288
|
+
50% {
|
|
8289
|
+
stroke-dashoffset: 70;
|
|
8290
|
+
}
|
|
8291
|
+
100% {
|
|
8292
|
+
stroke-dashoffset: 220;
|
|
8293
|
+
}
|
|
8294
|
+
}
|
|
8295
|
+
|
|
8296
|
+
|
|
8297
|
+
/* ProfileBadge */
|
|
8298
|
+
/* ProfileBadge Component Styles - Using Muka Design Tokens */
|
|
8299
|
+
|
|
8300
|
+
.muka-profile-badge {
|
|
8301
|
+
display: inline-flex;
|
|
8302
|
+
max-width: 100%;
|
|
8303
|
+
min-width: 0;
|
|
8304
|
+
align-items: center;
|
|
8305
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
8306
|
+
}
|
|
8307
|
+
|
|
8308
|
+
/* Size variants */
|
|
8309
|
+
.muka-profile-badge--lg {
|
|
8310
|
+
gap: var(--spacing-4); /* 16px */
|
|
8311
|
+
}
|
|
8312
|
+
|
|
8313
|
+
.muka-profile-badge--md {
|
|
8314
|
+
gap: var(--spacing-3); /* 12px */
|
|
8315
|
+
}
|
|
8316
|
+
|
|
8317
|
+
.muka-profile-badge--sm {
|
|
8318
|
+
gap: var(--spacing-2); /* 8px */
|
|
8319
|
+
}
|
|
8320
|
+
|
|
8321
|
+
.muka-profile-badge__avatar {
|
|
8322
|
+
flex-shrink: 0;
|
|
8323
|
+
}
|
|
8324
|
+
|
|
8325
|
+
/* Text stack */
|
|
8326
|
+
.muka-profile-badge__text {
|
|
8327
|
+
display: flex;
|
|
8328
|
+
flex-direction: column;
|
|
8329
|
+
align-items: flex-start;
|
|
8330
|
+
min-width: 0;
|
|
8331
|
+
}
|
|
8332
|
+
|
|
8333
|
+
.muka-profile-badge__name {
|
|
8334
|
+
max-width: 100%;
|
|
8335
|
+
overflow: hidden;
|
|
8336
|
+
text-overflow: ellipsis;
|
|
8337
|
+
white-space: nowrap;
|
|
8338
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
8339
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
8340
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
8341
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
8342
|
+
color: var(--color-text-default-default);
|
|
8343
|
+
}
|
|
8344
|
+
|
|
8345
|
+
.muka-profile-badge__email {
|
|
8346
|
+
font-family: var(--text-body-xs-regular-fontFamily);
|
|
8347
|
+
font-size: var(--text-body-xs-regular-fontSize);
|
|
8348
|
+
font-weight: var(--text-body-xs-regular-fontWeight);
|
|
8349
|
+
line-height: var(--text-body-xs-regular-lineHeight);
|
|
8350
|
+
color: var(--color-text-subtle-default);
|
|
8349
8351
|
}
|
|
8350
8352
|
|
|
8351
|
-
|
|
8352
|
-
|
|
8353
|
-
|
|
8354
|
-
|
|
8355
|
-
|
|
8353
|
+
/* Clickable state */
|
|
8354
|
+
.muka-profile-badge--clickable {
|
|
8355
|
+
cursor: pointer;
|
|
8356
|
+
border: none;
|
|
8357
|
+
background: none;
|
|
8358
|
+
padding: 0;
|
|
8359
|
+
text-align: left;
|
|
8360
|
+
border-radius: var(--radius-md);
|
|
8361
|
+
transition: opacity 0.2s ease;
|
|
8356
8362
|
}
|
|
8357
8363
|
|
|
8358
|
-
.muka-
|
|
8359
|
-
|
|
8360
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
8361
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
8362
|
-
color: var(--color-text-default-default);
|
|
8364
|
+
.muka-profile-badge--clickable:hover {
|
|
8365
|
+
opacity: 0.9;
|
|
8363
8366
|
}
|
|
8364
8367
|
|
|
8365
|
-
.muka-
|
|
8366
|
-
|
|
8368
|
+
.muka-profile-badge--clickable:active {
|
|
8369
|
+
opacity: 0.8;
|
|
8367
8370
|
}
|
|
8368
8371
|
|
|
8369
|
-
.muka-
|
|
8370
|
-
|
|
8372
|
+
.muka-profile-badge--clickable:focus-visible {
|
|
8373
|
+
outline: 2px solid var(--color-border-focus);
|
|
8374
|
+
outline-offset: 2px;
|
|
8371
8375
|
}
|
|
8372
8376
|
|
|
8373
|
-
|
|
8374
|
-
|
|
8377
|
+
/* Trailing chevron: the badge opens a menu */
|
|
8378
|
+
.muka-profile-badge__chevron {
|
|
8379
|
+
flex-shrink: 0;
|
|
8375
8380
|
}
|
|
8376
8381
|
|
|
8377
|
-
/*
|
|
8378
|
-
|
|
8379
|
-
|
|
8382
|
+
/*
|
|
8383
|
+
* A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
|
|
8384
|
+
* header): 4px inset on the avatar side, 12px after the chevron. The border
|
|
8385
|
+
* is an inset shadow so it appears on hover and while the menu is open
|
|
8386
|
+
* without moving the content.
|
|
8387
|
+
*/
|
|
8388
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron {
|
|
8389
|
+
padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
|
|
8390
|
+
border-radius: var(--radius-full);
|
|
8391
|
+
transition: box-shadow 0.2s ease;
|
|
8380
8392
|
}
|
|
8381
8393
|
|
|
8382
|
-
.muka-
|
|
8383
|
-
|
|
8394
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
|
|
8395
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
|
|
8396
|
+
opacity: 1;
|
|
8384
8397
|
}
|
|
8385
8398
|
|
|
8386
|
-
|
|
8387
|
-
|
|
8388
|
-
|
|
8389
|
-
|
|
8399
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
|
|
8400
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
|
|
8401
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
|
|
8402
|
+
box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
|
|
8390
8403
|
}
|
|
8391
8404
|
|
|
8392
|
-
|
|
8393
|
-
|
|
8394
|
-
|
|
8395
|
-
}
|
|
8396
|
-
50% {
|
|
8397
|
-
stroke-dashoffset: 70;
|
|
8398
|
-
}
|
|
8399
|
-
100% {
|
|
8400
|
-
stroke-dashoffset: 220;
|
|
8401
|
-
}
|
|
8405
|
+
/* A badge without an avatar keeps the 12px start inset */
|
|
8406
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
|
|
8407
|
+
padding-left: var(--spacing-3);
|
|
8402
8408
|
}
|
|
8403
8409
|
|
|
8404
8410
|
|
|
@@ -9058,220 +9064,106 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9058
9064
|
display: flex;
|
|
9059
9065
|
flex-wrap: wrap;
|
|
9060
9066
|
gap: var(--spacing-3);
|
|
9061
|
-
width: 100%;
|
|
9062
|
-
margin: 0;
|
|
9063
|
-
padding: 0;
|
|
9064
|
-
list-style: none;
|
|
9065
|
-
}
|
|
9066
|
-
|
|
9067
|
-
.muka-photo-uploader__grid-item {
|
|
9068
|
-
margin: 0;
|
|
9069
|
-
padding: 0;
|
|
9070
|
-
}
|
|
9071
|
-
|
|
9072
|
-
/* ─── Drop zone card (button + "or drop here") ────────── */
|
|
9073
|
-
.muka-photo-uploader__dropzone {
|
|
9074
|
-
display: flex;
|
|
9075
|
-
flex-direction: column;
|
|
9076
|
-
align-items: center;
|
|
9077
|
-
justify-content: center;
|
|
9078
|
-
gap: var(--spacing-4);
|
|
9079
|
-
width: 100%;
|
|
9080
|
-
padding: var(--card-padding-lg);
|
|
9081
|
-
background-color: var(--card-color-default-background);
|
|
9082
|
-
border: var(--border-width-regular, 1px) solid var(--card-color-default-border);
|
|
9083
|
-
border-radius: var(--border-radius-lg);
|
|
9084
|
-
cursor: pointer;
|
|
9085
|
-
text-align: center;
|
|
9086
|
-
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
9087
|
-
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
9088
|
-
}
|
|
9089
|
-
|
|
9090
|
-
.muka-photo-uploader__dropzone:hover,
|
|
9091
|
-
.muka-photo-uploader__dropzone--active {
|
|
9092
|
-
border-color: var(--color-border-focus);
|
|
9093
|
-
background-color: var(--color-surface-level1);
|
|
9094
|
-
}
|
|
9095
|
-
|
|
9096
|
-
.muka-photo-uploader__dropzone-text {
|
|
9097
|
-
font-family: var(--text-subheading-sm-fontFamily);
|
|
9098
|
-
font-size: var(--text-subheading-sm-fontSize);
|
|
9099
|
-
font-weight: var(--text-subheading-sm-fontWeight);
|
|
9100
|
-
line-height: var(--text-subheading-sm-lineHeight);
|
|
9101
|
-
color: var(--color-text-default-default);
|
|
9102
|
-
}
|
|
9103
|
-
|
|
9104
|
-
/*
|
|
9105
|
-
* Touch devices (phones, tablets without a mouse) have nothing to drag a file
|
|
9106
|
-
* from: the card and its "or drop here" hint go, and only the button stays.
|
|
9107
|
-
* Keyed on input capability, not width, so a narrow desktop window keeps
|
|
9108
|
-
* its drop zone.
|
|
9109
|
-
*/
|
|
9110
|
-
@media (hover: none) and (pointer: coarse) {
|
|
9111
|
-
.muka-photo-uploader__dropzone {
|
|
9112
|
-
align-items: flex-start;
|
|
9113
|
-
padding: 0;
|
|
9114
|
-
background-color: transparent;
|
|
9115
|
-
border: none;
|
|
9116
|
-
border-radius: 0;
|
|
9117
|
-
cursor: default;
|
|
9118
|
-
}
|
|
9119
|
-
|
|
9120
|
-
.muka-photo-uploader__dropzone-text {
|
|
9121
|
-
display: none;
|
|
9122
|
-
}
|
|
9123
|
-
}
|
|
9124
|
-
|
|
9125
|
-
/* ─── Disabled ────────────────────────────────────────── */
|
|
9126
|
-
.muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
|
|
9127
|
-
cursor: not-allowed;
|
|
9128
|
-
opacity: 0.6;
|
|
9129
|
-
}
|
|
9130
|
-
|
|
9131
|
-
.muka-photo-uploader--disabled .muka-photo-uploader__dropzone:hover {
|
|
9132
|
-
border-color: var(--card-color-default-border);
|
|
9133
|
-
background-color: var(--card-color-default-background);
|
|
9134
|
-
}
|
|
9135
|
-
|
|
9136
|
-
/* ─── Enlarged photo dialog ───────────────────────────── */
|
|
9137
|
-
.muka-photo-uploader__preview {
|
|
9138
|
-
display: flex;
|
|
9139
|
-
align-items: center;
|
|
9140
|
-
justify-content: center;
|
|
9141
|
-
width: 100%;
|
|
9142
|
-
height: 100%;
|
|
9143
|
-
}
|
|
9144
|
-
|
|
9145
|
-
/* Fits the dialog while preserving the photo's original aspect ratio. */
|
|
9146
|
-
.muka-photo-uploader__preview-image {
|
|
9147
|
-
display: block;
|
|
9148
|
-
max-width: 100%;
|
|
9149
|
-
max-height: 100%;
|
|
9150
|
-
width: auto;
|
|
9151
|
-
height: auto;
|
|
9152
|
-
object-fit: contain;
|
|
9153
|
-
border-radius: var(--border-radius-lg);
|
|
9154
|
-
}
|
|
9155
|
-
|
|
9156
|
-
/* ─── Reduced motion ──────────────────────────────────── */
|
|
9157
|
-
@media (prefers-reduced-motion: reduce) {
|
|
9158
|
-
.muka-photo-uploader__dropzone {
|
|
9159
|
-
transition: none;
|
|
9160
|
-
}
|
|
9161
|
-
}
|
|
9162
|
-
|
|
9163
|
-
|
|
9164
|
-
/* ProfileBadge */
|
|
9165
|
-
/* ProfileBadge Component Styles - Using Muka Design Tokens */
|
|
9166
|
-
|
|
9167
|
-
.muka-profile-badge {
|
|
9168
|
-
display: inline-flex;
|
|
9169
|
-
max-width: 100%;
|
|
9170
|
-
min-width: 0;
|
|
9171
|
-
align-items: center;
|
|
9172
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
9173
|
-
}
|
|
9174
|
-
|
|
9175
|
-
/* Size variants */
|
|
9176
|
-
.muka-profile-badge--lg {
|
|
9177
|
-
gap: var(--spacing-4); /* 16px */
|
|
9178
|
-
}
|
|
9179
|
-
|
|
9180
|
-
.muka-profile-badge--md {
|
|
9181
|
-
gap: var(--spacing-3); /* 12px */
|
|
9182
|
-
}
|
|
9183
|
-
|
|
9184
|
-
.muka-profile-badge--sm {
|
|
9185
|
-
gap: var(--spacing-2); /* 8px */
|
|
9186
|
-
}
|
|
9187
|
-
|
|
9188
|
-
.muka-profile-badge__avatar {
|
|
9189
|
-
flex-shrink: 0;
|
|
9190
|
-
}
|
|
9191
|
-
|
|
9192
|
-
/* Text stack */
|
|
9193
|
-
.muka-profile-badge__text {
|
|
9194
|
-
display: flex;
|
|
9195
|
-
flex-direction: column;
|
|
9196
|
-
align-items: flex-start;
|
|
9197
|
-
min-width: 0;
|
|
9198
|
-
}
|
|
9199
|
-
|
|
9200
|
-
.muka-profile-badge__name {
|
|
9201
|
-
max-width: 100%;
|
|
9202
|
-
overflow: hidden;
|
|
9203
|
-
text-overflow: ellipsis;
|
|
9204
|
-
white-space: nowrap;
|
|
9205
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
9206
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
9207
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
9208
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
9209
|
-
color: var(--color-text-default-default);
|
|
9210
|
-
}
|
|
9211
|
-
|
|
9212
|
-
.muka-profile-badge__email {
|
|
9213
|
-
font-family: var(--text-body-xs-regular-fontFamily);
|
|
9214
|
-
font-size: var(--text-body-xs-regular-fontSize);
|
|
9215
|
-
font-weight: var(--text-body-xs-regular-fontWeight);
|
|
9216
|
-
line-height: var(--text-body-xs-regular-lineHeight);
|
|
9217
|
-
color: var(--color-text-subtle-default);
|
|
9218
|
-
}
|
|
9219
|
-
|
|
9220
|
-
/* Clickable state */
|
|
9221
|
-
.muka-profile-badge--clickable {
|
|
9222
|
-
cursor: pointer;
|
|
9223
|
-
border: none;
|
|
9224
|
-
background: none;
|
|
9067
|
+
width: 100%;
|
|
9068
|
+
margin: 0;
|
|
9225
9069
|
padding: 0;
|
|
9226
|
-
|
|
9227
|
-
border-radius: var(--radius-md);
|
|
9228
|
-
transition: opacity 0.2s ease;
|
|
9070
|
+
list-style: none;
|
|
9229
9071
|
}
|
|
9230
9072
|
|
|
9231
|
-
.muka-
|
|
9232
|
-
|
|
9073
|
+
.muka-photo-uploader__grid-item {
|
|
9074
|
+
margin: 0;
|
|
9075
|
+
padding: 0;
|
|
9233
9076
|
}
|
|
9234
9077
|
|
|
9235
|
-
|
|
9236
|
-
|
|
9078
|
+
/* ─── Drop zone card (button + "or drop here") ────────── */
|
|
9079
|
+
.muka-photo-uploader__dropzone {
|
|
9080
|
+
display: flex;
|
|
9081
|
+
flex-direction: column;
|
|
9082
|
+
align-items: center;
|
|
9083
|
+
justify-content: center;
|
|
9084
|
+
gap: var(--spacing-4);
|
|
9085
|
+
width: 100%;
|
|
9086
|
+
padding: var(--card-padding-lg);
|
|
9087
|
+
background-color: var(--card-color-default-background);
|
|
9088
|
+
border: var(--border-width-regular, 1px) solid var(--card-color-default-border);
|
|
9089
|
+
border-radius: var(--border-radius-lg);
|
|
9090
|
+
cursor: pointer;
|
|
9091
|
+
text-align: center;
|
|
9092
|
+
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
9093
|
+
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
9237
9094
|
}
|
|
9238
9095
|
|
|
9239
|
-
.muka-
|
|
9240
|
-
|
|
9241
|
-
|
|
9096
|
+
.muka-photo-uploader__dropzone:hover,
|
|
9097
|
+
.muka-photo-uploader__dropzone--active {
|
|
9098
|
+
border-color: var(--color-border-focus);
|
|
9099
|
+
background-color: var(--color-surface-level1);
|
|
9242
9100
|
}
|
|
9243
9101
|
|
|
9244
|
-
|
|
9245
|
-
|
|
9246
|
-
|
|
9102
|
+
.muka-photo-uploader__dropzone-text {
|
|
9103
|
+
font-family: var(--text-subheading-sm-fontFamily);
|
|
9104
|
+
font-size: var(--text-subheading-sm-fontSize);
|
|
9105
|
+
font-weight: var(--text-subheading-sm-fontWeight);
|
|
9106
|
+
line-height: var(--text-subheading-sm-lineHeight);
|
|
9107
|
+
color: var(--color-text-default-default);
|
|
9247
9108
|
}
|
|
9248
9109
|
|
|
9249
9110
|
/*
|
|
9250
|
-
*
|
|
9251
|
-
*
|
|
9252
|
-
*
|
|
9253
|
-
*
|
|
9111
|
+
* Touch devices (phones, tablets without a mouse) have nothing to drag a file
|
|
9112
|
+
* from: the card and its "or drop here" hint go, and only the button stays.
|
|
9113
|
+
* Keyed on input capability, not width, so a narrow desktop window keeps
|
|
9114
|
+
* its drop zone.
|
|
9254
9115
|
*/
|
|
9255
|
-
|
|
9256
|
-
|
|
9257
|
-
|
|
9258
|
-
|
|
9116
|
+
@media (hover: none) and (pointer: coarse) {
|
|
9117
|
+
.muka-photo-uploader__dropzone {
|
|
9118
|
+
align-items: flex-start;
|
|
9119
|
+
padding: 0;
|
|
9120
|
+
background-color: transparent;
|
|
9121
|
+
border: none;
|
|
9122
|
+
border-radius: 0;
|
|
9123
|
+
cursor: default;
|
|
9124
|
+
}
|
|
9125
|
+
|
|
9126
|
+
.muka-photo-uploader__dropzone-text {
|
|
9127
|
+
display: none;
|
|
9128
|
+
}
|
|
9259
9129
|
}
|
|
9260
9130
|
|
|
9261
|
-
|
|
9262
|
-
.muka-
|
|
9263
|
-
|
|
9131
|
+
/* ─── Disabled ────────────────────────────────────────── */
|
|
9132
|
+
.muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
|
|
9133
|
+
cursor: not-allowed;
|
|
9134
|
+
opacity: 0.6;
|
|
9264
9135
|
}
|
|
9265
9136
|
|
|
9266
|
-
.muka-
|
|
9267
|
-
|
|
9268
|
-
|
|
9269
|
-
box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
|
|
9137
|
+
.muka-photo-uploader--disabled .muka-photo-uploader__dropzone:hover {
|
|
9138
|
+
border-color: var(--card-color-default-border);
|
|
9139
|
+
background-color: var(--card-color-default-background);
|
|
9270
9140
|
}
|
|
9271
9141
|
|
|
9272
|
-
/*
|
|
9273
|
-
.muka-
|
|
9274
|
-
|
|
9142
|
+
/* ─── Enlarged photo dialog ───────────────────────────── */
|
|
9143
|
+
.muka-photo-uploader__preview {
|
|
9144
|
+
display: flex;
|
|
9145
|
+
align-items: center;
|
|
9146
|
+
justify-content: center;
|
|
9147
|
+
width: 100%;
|
|
9148
|
+
height: 100%;
|
|
9149
|
+
}
|
|
9150
|
+
|
|
9151
|
+
/* Fits the dialog while preserving the photo's original aspect ratio. */
|
|
9152
|
+
.muka-photo-uploader__preview-image {
|
|
9153
|
+
display: block;
|
|
9154
|
+
max-width: 100%;
|
|
9155
|
+
max-height: 100%;
|
|
9156
|
+
width: auto;
|
|
9157
|
+
height: auto;
|
|
9158
|
+
object-fit: contain;
|
|
9159
|
+
border-radius: var(--border-radius-lg);
|
|
9160
|
+
}
|
|
9161
|
+
|
|
9162
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
9163
|
+
@media (prefers-reduced-motion: reduce) {
|
|
9164
|
+
.muka-photo-uploader__dropzone {
|
|
9165
|
+
transition: none;
|
|
9166
|
+
}
|
|
9275
9167
|
}
|
|
9276
9168
|
|
|
9277
9169
|
|
|
@@ -11600,154 +11492,13 @@ li.muka-listitem {
|
|
|
11600
11492
|
.muka-fileupload-item__status-icon--error {
|
|
11601
11493
|
color: var(--fileupload-item-color-error-foreground);
|
|
11602
11494
|
}
|
|
11603
|
-
|
|
11604
|
-
.muka-fileupload-item__remove {
|
|
11605
|
-
opacity: 0.7;
|
|
11606
|
-
}
|
|
11607
|
-
|
|
11608
|
-
.muka-fileupload-item__remove:hover {
|
|
11609
|
-
opacity: 1;
|
|
11610
|
-
}
|
|
11611
|
-
|
|
11612
|
-
|
|
11613
|
-
/* EmptyState */
|
|
11614
|
-
/* EmptyState Component Styles - Using Muka Design Tokens */
|
|
11615
|
-
|
|
11616
|
-
.muka-emptystate {
|
|
11617
|
-
display: flex;
|
|
11618
|
-
flex-direction: column;
|
|
11619
|
-
align-items: center;
|
|
11620
|
-
justify-content: center;
|
|
11621
|
-
gap: var(--emptystate-container-gap);
|
|
11622
|
-
max-width: var(--emptystate-container-maxWidth);
|
|
11623
|
-
margin: 0 auto;
|
|
11624
|
-
text-align: center;
|
|
11625
|
-
}
|
|
11626
|
-
|
|
11627
|
-
/* Alignment variants */
|
|
11628
|
-
.muka-emptystate--left {
|
|
11629
|
-
align-items: flex-start;
|
|
11630
|
-
text-align: left;
|
|
11631
|
-
}
|
|
11632
|
-
|
|
11633
|
-
/* Size variants */
|
|
11634
|
-
.muka-emptystate--sm {
|
|
11635
|
-
padding: var(--emptystate-container-padding-sm);
|
|
11636
|
-
}
|
|
11637
|
-
|
|
11638
|
-
.muka-emptystate--md {
|
|
11639
|
-
padding: var(--emptystate-container-padding-md);
|
|
11640
|
-
}
|
|
11641
|
-
|
|
11642
|
-
.muka-emptystate--lg {
|
|
11643
|
-
padding: var(--emptystate-container-padding-lg);
|
|
11644
|
-
}
|
|
11645
|
-
|
|
11646
|
-
/* Visual (icon or illustration) */
|
|
11647
|
-
.muka-emptystate__visual {
|
|
11648
|
-
display: flex;
|
|
11649
|
-
align-items: center;
|
|
11650
|
-
justify-content: center;
|
|
11651
|
-
color: var(--emptystate-icon-color);
|
|
11652
|
-
flex-shrink: 0;
|
|
11653
|
-
}
|
|
11654
|
-
|
|
11655
|
-
.muka-emptystate--sm .muka-emptystate__visual {
|
|
11656
|
-
width: var(--emptystate-icon-size-sm);
|
|
11657
|
-
height: var(--emptystate-icon-size-sm);
|
|
11658
|
-
}
|
|
11659
|
-
|
|
11660
|
-
.muka-emptystate--md .muka-emptystate__visual {
|
|
11661
|
-
width: var(--emptystate-icon-size-md);
|
|
11662
|
-
height: var(--emptystate-icon-size-md);
|
|
11663
|
-
}
|
|
11664
|
-
|
|
11665
|
-
.muka-emptystate--lg .muka-emptystate__visual {
|
|
11666
|
-
width: var(--emptystate-icon-size-lg);
|
|
11667
|
-
height: var(--emptystate-icon-size-lg);
|
|
11668
|
-
}
|
|
11669
|
-
|
|
11670
|
-
.muka-emptystate__visual svg {
|
|
11671
|
-
width: 100%;
|
|
11672
|
-
height: 100%;
|
|
11673
|
-
}
|
|
11674
|
-
|
|
11675
|
-
.muka-emptystate__visual img {
|
|
11676
|
-
width: 100%;
|
|
11677
|
-
height: 100%;
|
|
11678
|
-
object-fit: contain;
|
|
11679
|
-
}
|
|
11680
|
-
|
|
11681
|
-
/* Content */
|
|
11682
|
-
.muka-emptystate__content {
|
|
11683
|
-
display: flex;
|
|
11684
|
-
flex-direction: column;
|
|
11685
|
-
gap: var(--spacing-2);
|
|
11686
|
-
}
|
|
11687
|
-
|
|
11688
|
-
.muka-emptystate--left .muka-emptystate__content {
|
|
11689
|
-
align-items: flex-start;
|
|
11690
|
-
}
|
|
11691
|
-
|
|
11692
|
-
/* Title */
|
|
11693
|
-
.muka-emptystate__title {
|
|
11694
|
-
color: var(--emptystate-title-color);
|
|
11695
|
-
margin: 0;
|
|
11696
|
-
font-family: var(--text-heading-sm-fontFamily);
|
|
11697
|
-
font-weight: var(--text-heading-sm-fontWeight);
|
|
11698
|
-
font-size: var(--text-heading-sm-fontSize);
|
|
11699
|
-
line-height: var(--text-heading-sm-lineHeight);
|
|
11700
|
-
}
|
|
11701
|
-
|
|
11702
|
-
.muka-emptystate--sm .muka-emptystate__title {
|
|
11703
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
11704
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
11705
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
11706
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
11707
|
-
}
|
|
11708
|
-
|
|
11709
|
-
.muka-emptystate--lg .muka-emptystate__title {
|
|
11710
|
-
font-family: var(--text-heading-md-fontFamily);
|
|
11711
|
-
font-weight: var(--text-heading-md-fontWeight);
|
|
11712
|
-
font-size: var(--text-heading-md-fontSize);
|
|
11713
|
-
line-height: var(--text-heading-md-lineHeight);
|
|
11714
|
-
}
|
|
11715
|
-
|
|
11716
|
-
/* Description */
|
|
11717
|
-
.muka-emptystate__description {
|
|
11718
|
-
color: var(--emptystate-description-color);
|
|
11719
|
-
margin: 0;
|
|
11720
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
11721
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
11722
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
11723
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
11724
|
-
}
|
|
11725
|
-
|
|
11726
|
-
.muka-emptystate--md .muka-emptystate__description {
|
|
11727
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
11728
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
11729
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
11730
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
11731
|
-
}
|
|
11732
|
-
|
|
11733
|
-
.muka-emptystate--lg .muka-emptystate__description {
|
|
11734
|
-
font-family: var(--text-body-lg-regular-fontFamily);
|
|
11735
|
-
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
11736
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
11737
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
11738
|
-
}
|
|
11739
|
-
|
|
11740
|
-
/* Actions */
|
|
11741
|
-
.muka-emptystate__actions {
|
|
11742
|
-
display: flex;
|
|
11743
|
-
gap: var(--emptystate-actions-gap);
|
|
11744
|
-
margin-top: var(--emptystate-actions-marginTop);
|
|
11745
|
-
flex-wrap: wrap;
|
|
11746
|
-
justify-content: center;
|
|
11495
|
+
|
|
11496
|
+
.muka-fileupload-item__remove {
|
|
11497
|
+
opacity: 0.7;
|
|
11747
11498
|
}
|
|
11748
11499
|
|
|
11749
|
-
.muka-
|
|
11750
|
-
|
|
11500
|
+
.muka-fileupload-item__remove:hover {
|
|
11501
|
+
opacity: 1;
|
|
11751
11502
|
}
|
|
11752
11503
|
|
|
11753
11504
|
|
|
@@ -11892,6 +11643,147 @@ li.muka-listitem {
|
|
|
11892
11643
|
}
|
|
11893
11644
|
|
|
11894
11645
|
|
|
11646
|
+
/* EmptyState */
|
|
11647
|
+
/* EmptyState Component Styles - Using Muka Design Tokens */
|
|
11648
|
+
|
|
11649
|
+
.muka-emptystate {
|
|
11650
|
+
display: flex;
|
|
11651
|
+
flex-direction: column;
|
|
11652
|
+
align-items: center;
|
|
11653
|
+
justify-content: center;
|
|
11654
|
+
gap: var(--emptystate-container-gap);
|
|
11655
|
+
max-width: var(--emptystate-container-maxWidth);
|
|
11656
|
+
margin: 0 auto;
|
|
11657
|
+
text-align: center;
|
|
11658
|
+
}
|
|
11659
|
+
|
|
11660
|
+
/* Alignment variants */
|
|
11661
|
+
.muka-emptystate--left {
|
|
11662
|
+
align-items: flex-start;
|
|
11663
|
+
text-align: left;
|
|
11664
|
+
}
|
|
11665
|
+
|
|
11666
|
+
/* Size variants */
|
|
11667
|
+
.muka-emptystate--sm {
|
|
11668
|
+
padding: var(--emptystate-container-padding-sm);
|
|
11669
|
+
}
|
|
11670
|
+
|
|
11671
|
+
.muka-emptystate--md {
|
|
11672
|
+
padding: var(--emptystate-container-padding-md);
|
|
11673
|
+
}
|
|
11674
|
+
|
|
11675
|
+
.muka-emptystate--lg {
|
|
11676
|
+
padding: var(--emptystate-container-padding-lg);
|
|
11677
|
+
}
|
|
11678
|
+
|
|
11679
|
+
/* Visual (icon or illustration) */
|
|
11680
|
+
.muka-emptystate__visual {
|
|
11681
|
+
display: flex;
|
|
11682
|
+
align-items: center;
|
|
11683
|
+
justify-content: center;
|
|
11684
|
+
color: var(--emptystate-icon-color);
|
|
11685
|
+
flex-shrink: 0;
|
|
11686
|
+
}
|
|
11687
|
+
|
|
11688
|
+
.muka-emptystate--sm .muka-emptystate__visual {
|
|
11689
|
+
width: var(--emptystate-icon-size-sm);
|
|
11690
|
+
height: var(--emptystate-icon-size-sm);
|
|
11691
|
+
}
|
|
11692
|
+
|
|
11693
|
+
.muka-emptystate--md .muka-emptystate__visual {
|
|
11694
|
+
width: var(--emptystate-icon-size-md);
|
|
11695
|
+
height: var(--emptystate-icon-size-md);
|
|
11696
|
+
}
|
|
11697
|
+
|
|
11698
|
+
.muka-emptystate--lg .muka-emptystate__visual {
|
|
11699
|
+
width: var(--emptystate-icon-size-lg);
|
|
11700
|
+
height: var(--emptystate-icon-size-lg);
|
|
11701
|
+
}
|
|
11702
|
+
|
|
11703
|
+
.muka-emptystate__visual svg {
|
|
11704
|
+
width: 100%;
|
|
11705
|
+
height: 100%;
|
|
11706
|
+
}
|
|
11707
|
+
|
|
11708
|
+
.muka-emptystate__visual img {
|
|
11709
|
+
width: 100%;
|
|
11710
|
+
height: 100%;
|
|
11711
|
+
object-fit: contain;
|
|
11712
|
+
}
|
|
11713
|
+
|
|
11714
|
+
/* Content */
|
|
11715
|
+
.muka-emptystate__content {
|
|
11716
|
+
display: flex;
|
|
11717
|
+
flex-direction: column;
|
|
11718
|
+
gap: var(--spacing-2);
|
|
11719
|
+
}
|
|
11720
|
+
|
|
11721
|
+
.muka-emptystate--left .muka-emptystate__content {
|
|
11722
|
+
align-items: flex-start;
|
|
11723
|
+
}
|
|
11724
|
+
|
|
11725
|
+
/* Title */
|
|
11726
|
+
.muka-emptystate__title {
|
|
11727
|
+
color: var(--emptystate-title-color);
|
|
11728
|
+
margin: 0;
|
|
11729
|
+
font-family: var(--text-heading-sm-fontFamily);
|
|
11730
|
+
font-weight: var(--text-heading-sm-fontWeight);
|
|
11731
|
+
font-size: var(--text-heading-sm-fontSize);
|
|
11732
|
+
line-height: var(--text-heading-sm-lineHeight);
|
|
11733
|
+
}
|
|
11734
|
+
|
|
11735
|
+
.muka-emptystate--sm .muka-emptystate__title {
|
|
11736
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
11737
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
11738
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
11739
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
11740
|
+
}
|
|
11741
|
+
|
|
11742
|
+
.muka-emptystate--lg .muka-emptystate__title {
|
|
11743
|
+
font-family: var(--text-heading-md-fontFamily);
|
|
11744
|
+
font-weight: var(--text-heading-md-fontWeight);
|
|
11745
|
+
font-size: var(--text-heading-md-fontSize);
|
|
11746
|
+
line-height: var(--text-heading-md-lineHeight);
|
|
11747
|
+
}
|
|
11748
|
+
|
|
11749
|
+
/* Description */
|
|
11750
|
+
.muka-emptystate__description {
|
|
11751
|
+
color: var(--emptystate-description-color);
|
|
11752
|
+
margin: 0;
|
|
11753
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
11754
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
11755
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
11756
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
11757
|
+
}
|
|
11758
|
+
|
|
11759
|
+
.muka-emptystate--md .muka-emptystate__description {
|
|
11760
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
11761
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
11762
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
11763
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
11764
|
+
}
|
|
11765
|
+
|
|
11766
|
+
.muka-emptystate--lg .muka-emptystate__description {
|
|
11767
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
11768
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
11769
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
11770
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
11771
|
+
}
|
|
11772
|
+
|
|
11773
|
+
/* Actions */
|
|
11774
|
+
.muka-emptystate__actions {
|
|
11775
|
+
display: flex;
|
|
11776
|
+
gap: var(--emptystate-actions-gap);
|
|
11777
|
+
margin-top: var(--emptystate-actions-marginTop);
|
|
11778
|
+
flex-wrap: wrap;
|
|
11779
|
+
justify-content: center;
|
|
11780
|
+
}
|
|
11781
|
+
|
|
11782
|
+
.muka-emptystate--left .muka-emptystate__actions {
|
|
11783
|
+
justify-content: flex-start;
|
|
11784
|
+
}
|
|
11785
|
+
|
|
11786
|
+
|
|
11895
11787
|
/* EmojiPicker */
|
|
11896
11788
|
/* EmojiPicker Component Styles */
|
|
11897
11789
|
|
|
@@ -18331,3 +18223,111 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
18331
18223
|
border-bottom: none;
|
|
18332
18224
|
}
|
|
18333
18225
|
|
|
18226
|
+
|
|
18227
|
+
/* SwipeActions */
|
|
18228
|
+
/* SwipeActions Component Styles */
|
|
18229
|
+
|
|
18230
|
+
.muka-swipe-actions {
|
|
18231
|
+
position: relative;
|
|
18232
|
+
overflow: hidden;
|
|
18233
|
+
touch-action: pan-y;
|
|
18234
|
+
-webkit-user-select: none;
|
|
18235
|
+
user-select: none;
|
|
18236
|
+
background-color: var(--color-surface-level3);
|
|
18237
|
+
}
|
|
18238
|
+
|
|
18239
|
+
.muka-swipe-actions--disabled {
|
|
18240
|
+
touch-action: auto;
|
|
18241
|
+
}
|
|
18242
|
+
|
|
18243
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
18244
|
+
|
|
18245
|
+
.muka-swipe-actions__row {
|
|
18246
|
+
position: relative;
|
|
18247
|
+
z-index: 1;
|
|
18248
|
+
background-color: inherit;
|
|
18249
|
+
will-change: transform;
|
|
18250
|
+
}
|
|
18251
|
+
|
|
18252
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
18253
|
+
|
|
18254
|
+
.muka-swipe-actions__panel {
|
|
18255
|
+
position: absolute;
|
|
18256
|
+
top: 0;
|
|
18257
|
+
bottom: 0;
|
|
18258
|
+
display: flex;
|
|
18259
|
+
align-items: stretch;
|
|
18260
|
+
z-index: 0;
|
|
18261
|
+
}
|
|
18262
|
+
|
|
18263
|
+
.muka-swipe-actions__panel--left {
|
|
18264
|
+
left: 0;
|
|
18265
|
+
}
|
|
18266
|
+
|
|
18267
|
+
.muka-swipe-actions__panel--right {
|
|
18268
|
+
right: 0;
|
|
18269
|
+
}
|
|
18270
|
+
|
|
18271
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
18272
|
+
|
|
18273
|
+
.muka-swipe-actions__button {
|
|
18274
|
+
display: flex;
|
|
18275
|
+
flex-direction: column;
|
|
18276
|
+
align-items: center;
|
|
18277
|
+
justify-content: center;
|
|
18278
|
+
gap: var(--spacing-1);
|
|
18279
|
+
border: none;
|
|
18280
|
+
cursor: pointer;
|
|
18281
|
+
padding: var(--spacing-2);
|
|
18282
|
+
background-color: var(--color-surface-level2);
|
|
18283
|
+
color: var(--color-text-default-default);
|
|
18284
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
18285
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
18286
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
18287
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
18288
|
+
-webkit-tap-highlight-color: transparent;
|
|
18289
|
+
transition: filter 0.12s ease;
|
|
18290
|
+
}
|
|
18291
|
+
|
|
18292
|
+
.muka-swipe-actions__button:hover {
|
|
18293
|
+
filter: brightness(0.95);
|
|
18294
|
+
}
|
|
18295
|
+
|
|
18296
|
+
.muka-swipe-actions__button:focus-visible {
|
|
18297
|
+
outline: 2px solid var(--color-action-default);
|
|
18298
|
+
outline-offset: -2px;
|
|
18299
|
+
}
|
|
18300
|
+
|
|
18301
|
+
.muka-swipe-actions__button-icon {
|
|
18302
|
+
display: inline-flex;
|
|
18303
|
+
align-items: center;
|
|
18304
|
+
justify-content: center;
|
|
18305
|
+
}
|
|
18306
|
+
|
|
18307
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
18308
|
+
|
|
18309
|
+
.muka-swipe-actions__button--neutral {
|
|
18310
|
+
background-color: var(--color-surface-level2);
|
|
18311
|
+
color: var(--color-text-default-default);
|
|
18312
|
+
}
|
|
18313
|
+
|
|
18314
|
+
.muka-swipe-actions__button--primary {
|
|
18315
|
+
background-color: var(--color-action-default);
|
|
18316
|
+
color: var(--color-text-default-inverse);
|
|
18317
|
+
}
|
|
18318
|
+
|
|
18319
|
+
.muka-swipe-actions__button--success {
|
|
18320
|
+
background-color: var(--color-state-success-default);
|
|
18321
|
+
color: var(--color-text-default-inverse);
|
|
18322
|
+
}
|
|
18323
|
+
|
|
18324
|
+
.muka-swipe-actions__button--warning {
|
|
18325
|
+
background-color: var(--color-state-warning-default);
|
|
18326
|
+
color: var(--color-text-default-default);
|
|
18327
|
+
}
|
|
18328
|
+
|
|
18329
|
+
.muka-swipe-actions__button--destructive {
|
|
18330
|
+
background-color: var(--color-state-error-default);
|
|
18331
|
+
color: var(--color-text-default-inverse);
|
|
18332
|
+
}
|
|
18333
|
+
|