@revikornmann/muka-ui 0.59.0 → 0.60.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/PhotoUploader/PhotoUploader.css +21 -0
- package/dist/esm/components/PhotoUploader/PhotoUploader.css +21 -0
- package/dist/styles/components/PhotoUploader.css +21 -0
- package/dist/styles/index.css +1414 -1393
- package/dist/styles/muka-dark.css +1414 -1393
- package/dist/styles/muka-light.css +1414 -1393
- package/dist/styles/wireframe-dark.css +1414 -1393
- package/dist/styles/wireframe-light.css +1414 -1393
- package/package.json +1 -1
package/dist/styles/index.css
CHANGED
|
@@ -4062,6 +4062,191 @@ body {
|
|
|
4062
4062
|
}
|
|
4063
4063
|
|
|
4064
4064
|
|
|
4065
|
+
/* Thumbnail */
|
|
4066
|
+
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
4067
|
+
|
|
4068
|
+
.muka-thumbnail {
|
|
4069
|
+
position: relative;
|
|
4070
|
+
flex-shrink: 0;
|
|
4071
|
+
}
|
|
4072
|
+
|
|
4073
|
+
/* The frame carries the border, background and shape clip. Keeping it separate
|
|
4074
|
+
from the root lets the remove (×) button sit outside the clip (needed for the
|
|
4075
|
+
circular/ellipse shape, whose corners would otherwise clip the button). */
|
|
4076
|
+
.muka-thumbnail__frame {
|
|
4077
|
+
position: absolute;
|
|
4078
|
+
inset: 0;
|
|
4079
|
+
overflow: hidden;
|
|
4080
|
+
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
4081
|
+
border-radius: var(--border-radius-lg);
|
|
4082
|
+
background-color: var(--color-surface-level1);
|
|
4083
|
+
}
|
|
4084
|
+
|
|
4085
|
+
/* ─── Shapes ──────────────────────────────────────────── */
|
|
4086
|
+
.muka-thumbnail--4-3 {
|
|
4087
|
+
width: 160px;
|
|
4088
|
+
height: 120px;
|
|
4089
|
+
}
|
|
4090
|
+
|
|
4091
|
+
.muka-thumbnail--1-1 {
|
|
4092
|
+
width: 120px;
|
|
4093
|
+
height: 120px;
|
|
4094
|
+
}
|
|
4095
|
+
|
|
4096
|
+
.muka-thumbnail--ellipse {
|
|
4097
|
+
width: 120px;
|
|
4098
|
+
height: 120px;
|
|
4099
|
+
}
|
|
4100
|
+
|
|
4101
|
+
/* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
|
|
4102
|
+
.muka-thumbnail--fluid {
|
|
4103
|
+
width: 100%;
|
|
4104
|
+
height: auto;
|
|
4105
|
+
aspect-ratio: 1 / 1;
|
|
4106
|
+
}
|
|
4107
|
+
|
|
4108
|
+
.muka-thumbnail--fluid.muka-thumbnail--4-3 {
|
|
4109
|
+
aspect-ratio: 4 / 3;
|
|
4110
|
+
}
|
|
4111
|
+
|
|
4112
|
+
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
4113
|
+
border-radius: var(--border-radius-full);
|
|
4114
|
+
}
|
|
4115
|
+
|
|
4116
|
+
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
4117
|
+
interactive hover zoom has a clean origin. */
|
|
4118
|
+
.muka-thumbnail__image {
|
|
4119
|
+
position: absolute;
|
|
4120
|
+
inset: 0;
|
|
4121
|
+
width: 100%;
|
|
4122
|
+
height: 100%;
|
|
4123
|
+
object-fit: cover;
|
|
4124
|
+
display: block;
|
|
4125
|
+
transform-origin: center;
|
|
4126
|
+
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
4127
|
+
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4128
|
+
}
|
|
4129
|
+
|
|
4130
|
+
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
4131
|
+
.muka-thumbnail__trigger {
|
|
4132
|
+
position: absolute;
|
|
4133
|
+
inset: 0;
|
|
4134
|
+
padding: 0;
|
|
4135
|
+
border: 0;
|
|
4136
|
+
background: none;
|
|
4137
|
+
cursor: pointer;
|
|
4138
|
+
overflow: hidden;
|
|
4139
|
+
}
|
|
4140
|
+
|
|
4141
|
+
.muka-thumbnail__trigger:focus-visible {
|
|
4142
|
+
outline: 2px solid var(--color-border-focus);
|
|
4143
|
+
outline-offset: -2px;
|
|
4144
|
+
}
|
|
4145
|
+
|
|
4146
|
+
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
4147
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4148
|
+
transform: scale(1.05);
|
|
4149
|
+
}
|
|
4150
|
+
|
|
4151
|
+
/* ─── Loading overlay + progress donut ────────────────── */
|
|
4152
|
+
.muka-thumbnail__overlay {
|
|
4153
|
+
position: absolute;
|
|
4154
|
+
inset: 0;
|
|
4155
|
+
display: flex;
|
|
4156
|
+
align-items: center;
|
|
4157
|
+
justify-content: center;
|
|
4158
|
+
background-color: var(--dialog-color-backdrop);
|
|
4159
|
+
}
|
|
4160
|
+
|
|
4161
|
+
.muka-thumbnail__progress {
|
|
4162
|
+
width: 40px;
|
|
4163
|
+
height: 40px;
|
|
4164
|
+
}
|
|
4165
|
+
|
|
4166
|
+
/* ─── Error / corrupt state ───────────────────────────── */
|
|
4167
|
+
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
4168
|
+
background-color: var(--alias-color-state-error-muted);
|
|
4169
|
+
border-color: var(--alias-color-state-error-default);
|
|
4170
|
+
}
|
|
4171
|
+
|
|
4172
|
+
.muka-thumbnail__error {
|
|
4173
|
+
position: absolute;
|
|
4174
|
+
inset: 0;
|
|
4175
|
+
display: flex;
|
|
4176
|
+
flex-direction: column;
|
|
4177
|
+
align-items: center;
|
|
4178
|
+
justify-content: center;
|
|
4179
|
+
gap: var(--spacing-2);
|
|
4180
|
+
padding: var(--spacing-3);
|
|
4181
|
+
text-align: center;
|
|
4182
|
+
}
|
|
4183
|
+
|
|
4184
|
+
.muka-thumbnail__error-icon {
|
|
4185
|
+
color: var(--alert-color-error-accent);
|
|
4186
|
+
}
|
|
4187
|
+
|
|
4188
|
+
.muka-thumbnail__caption {
|
|
4189
|
+
max-width: 100%;
|
|
4190
|
+
overflow: hidden;
|
|
4191
|
+
text-overflow: ellipsis;
|
|
4192
|
+
white-space: nowrap;
|
|
4193
|
+
color: var(--alert-color-error-accent);
|
|
4194
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4195
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
4196
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4197
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4198
|
+
}
|
|
4199
|
+
|
|
4200
|
+
/* ─── Remove (×) button ───────────────────────────────── */
|
|
4201
|
+
.muka-thumbnail__remove {
|
|
4202
|
+
position: absolute;
|
|
4203
|
+
top: var(--spacing-2);
|
|
4204
|
+
right: var(--spacing-2);
|
|
4205
|
+
display: flex;
|
|
4206
|
+
align-items: center;
|
|
4207
|
+
justify-content: center;
|
|
4208
|
+
width: var(--size-2xl);
|
|
4209
|
+
height: var(--size-2xl);
|
|
4210
|
+
padding: 0;
|
|
4211
|
+
color: var(--button-color-tertiary-foreground-default);
|
|
4212
|
+
background-color: var(--button-color-tertiary-background-default);
|
|
4213
|
+
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
4214
|
+
border-radius: var(--border-radius-lg);
|
|
4215
|
+
cursor: pointer;
|
|
4216
|
+
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
4217
|
+
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4218
|
+
}
|
|
4219
|
+
|
|
4220
|
+
.muka-thumbnail__remove:hover {
|
|
4221
|
+
color: var(--button-color-tertiary-foreground-hover);
|
|
4222
|
+
background-color: var(--button-color-tertiary-background-hover);
|
|
4223
|
+
border-color: var(--button-color-tertiary-border-hover);
|
|
4224
|
+
}
|
|
4225
|
+
|
|
4226
|
+
.muka-thumbnail__remove:active {
|
|
4227
|
+
color: var(--button-color-tertiary-foreground-pressed);
|
|
4228
|
+
background-color: var(--button-color-tertiary-background-pressed);
|
|
4229
|
+
border-color: var(--button-color-tertiary-border-pressed);
|
|
4230
|
+
}
|
|
4231
|
+
|
|
4232
|
+
.muka-thumbnail__remove:focus-visible {
|
|
4233
|
+
outline: 2px solid var(--color-border-focus);
|
|
4234
|
+
outline-offset: 2px;
|
|
4235
|
+
}
|
|
4236
|
+
|
|
4237
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4238
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4239
|
+
.muka-thumbnail__image,
|
|
4240
|
+
.muka-thumbnail__remove {
|
|
4241
|
+
transition: none;
|
|
4242
|
+
}
|
|
4243
|
+
|
|
4244
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4245
|
+
transform: none;
|
|
4246
|
+
}
|
|
4247
|
+
}
|
|
4248
|
+
|
|
4249
|
+
|
|
4065
4250
|
/* Textarea */
|
|
4066
4251
|
/* Textarea Component Styles - Using Muka Design Tokens */
|
|
4067
4252
|
|
|
@@ -4498,232 +4683,47 @@ body {
|
|
|
4498
4683
|
}
|
|
4499
4684
|
|
|
4500
4685
|
|
|
4501
|
-
/*
|
|
4502
|
-
/*
|
|
4503
|
-
|
|
4504
|
-
.muka-thumbnail {
|
|
4505
|
-
position: relative;
|
|
4506
|
-
flex-shrink: 0;
|
|
4507
|
-
}
|
|
4686
|
+
/* TablePagination */
|
|
4687
|
+
/* TablePagination Component Styles - Using Muka Design Tokens */
|
|
4508
4688
|
|
|
4509
|
-
/*
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
.muka-thumbnail__frame {
|
|
4513
|
-
position: absolute;
|
|
4514
|
-
inset: 0;
|
|
4515
|
-
overflow: hidden;
|
|
4516
|
-
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
4517
|
-
border-radius: var(--border-radius-lg);
|
|
4518
|
-
background-color: var(--color-surface-level1);
|
|
4519
|
-
}
|
|
4689
|
+
/* ========================================
|
|
4690
|
+
PAGINATION CONTAINER
|
|
4691
|
+
======================================== */
|
|
4520
4692
|
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4693
|
+
.muka-table-pagination {
|
|
4694
|
+
display: flex;
|
|
4695
|
+
align-items: center;
|
|
4696
|
+
justify-content: space-between;
|
|
4697
|
+
flex-wrap: wrap;
|
|
4698
|
+
gap: var(--table-pagination-gap, var(--spacing-4));
|
|
4699
|
+
padding: var(--table-pagination-padding, var(--spacing-3));
|
|
4700
|
+
background-color: var(--table-pagination-background, var(--color-surface-level1));
|
|
4701
|
+
border-top: var(--border-width-regular) solid var(--table-pagination-border, var(--color-border-default));
|
|
4702
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
4703
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
4704
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4705
|
+
color: var(--color-text-default-default);
|
|
4525
4706
|
}
|
|
4526
4707
|
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
}
|
|
4708
|
+
/* ========================================
|
|
4709
|
+
LEFT SECTION (Page Size & Range)
|
|
4710
|
+
======================================== */
|
|
4531
4711
|
|
|
4532
|
-
.muka-
|
|
4533
|
-
|
|
4534
|
-
|
|
4712
|
+
.muka-table-pagination__left {
|
|
4713
|
+
display: flex;
|
|
4714
|
+
align-items: center;
|
|
4715
|
+
gap: var(--spacing-4);
|
|
4535
4716
|
}
|
|
4536
4717
|
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
aspect-ratio: 1 / 1;
|
|
4718
|
+
.muka-table-pagination__page-size {
|
|
4719
|
+
display: flex;
|
|
4720
|
+
align-items: center;
|
|
4721
|
+
gap: var(--spacing-2);
|
|
4542
4722
|
}
|
|
4543
4723
|
|
|
4544
|
-
.muka-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
4549
|
-
border-radius: var(--border-radius-full);
|
|
4550
|
-
}
|
|
4551
|
-
|
|
4552
|
-
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
4553
|
-
interactive hover zoom has a clean origin. */
|
|
4554
|
-
.muka-thumbnail__image {
|
|
4555
|
-
position: absolute;
|
|
4556
|
-
inset: 0;
|
|
4557
|
-
width: 100%;
|
|
4558
|
-
height: 100%;
|
|
4559
|
-
object-fit: cover;
|
|
4560
|
-
display: block;
|
|
4561
|
-
transform-origin: center;
|
|
4562
|
-
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
4563
|
-
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4564
|
-
}
|
|
4565
|
-
|
|
4566
|
-
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
4567
|
-
.muka-thumbnail__trigger {
|
|
4568
|
-
position: absolute;
|
|
4569
|
-
inset: 0;
|
|
4570
|
-
padding: 0;
|
|
4571
|
-
border: 0;
|
|
4572
|
-
background: none;
|
|
4573
|
-
cursor: pointer;
|
|
4574
|
-
overflow: hidden;
|
|
4575
|
-
}
|
|
4576
|
-
|
|
4577
|
-
.muka-thumbnail__trigger:focus-visible {
|
|
4578
|
-
outline: 2px solid var(--color-border-focus);
|
|
4579
|
-
outline-offset: -2px;
|
|
4580
|
-
}
|
|
4581
|
-
|
|
4582
|
-
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
4583
|
-
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4584
|
-
transform: scale(1.05);
|
|
4585
|
-
}
|
|
4586
|
-
|
|
4587
|
-
/* ─── Loading overlay + progress donut ────────────────── */
|
|
4588
|
-
.muka-thumbnail__overlay {
|
|
4589
|
-
position: absolute;
|
|
4590
|
-
inset: 0;
|
|
4591
|
-
display: flex;
|
|
4592
|
-
align-items: center;
|
|
4593
|
-
justify-content: center;
|
|
4594
|
-
background-color: var(--dialog-color-backdrop);
|
|
4595
|
-
}
|
|
4596
|
-
|
|
4597
|
-
.muka-thumbnail__progress {
|
|
4598
|
-
width: 40px;
|
|
4599
|
-
height: 40px;
|
|
4600
|
-
}
|
|
4601
|
-
|
|
4602
|
-
/* ─── Error / corrupt state ───────────────────────────── */
|
|
4603
|
-
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
4604
|
-
background-color: var(--alias-color-state-error-muted);
|
|
4605
|
-
border-color: var(--alias-color-state-error-default);
|
|
4606
|
-
}
|
|
4607
|
-
|
|
4608
|
-
.muka-thumbnail__error {
|
|
4609
|
-
position: absolute;
|
|
4610
|
-
inset: 0;
|
|
4611
|
-
display: flex;
|
|
4612
|
-
flex-direction: column;
|
|
4613
|
-
align-items: center;
|
|
4614
|
-
justify-content: center;
|
|
4615
|
-
gap: var(--spacing-2);
|
|
4616
|
-
padding: var(--spacing-3);
|
|
4617
|
-
text-align: center;
|
|
4618
|
-
}
|
|
4619
|
-
|
|
4620
|
-
.muka-thumbnail__error-icon {
|
|
4621
|
-
color: var(--alert-color-error-accent);
|
|
4622
|
-
}
|
|
4623
|
-
|
|
4624
|
-
.muka-thumbnail__caption {
|
|
4625
|
-
max-width: 100%;
|
|
4626
|
-
overflow: hidden;
|
|
4627
|
-
text-overflow: ellipsis;
|
|
4628
|
-
white-space: nowrap;
|
|
4629
|
-
color: var(--alert-color-error-accent);
|
|
4630
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4631
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
4632
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4633
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4634
|
-
}
|
|
4635
|
-
|
|
4636
|
-
/* ─── Remove (×) button ───────────────────────────────── */
|
|
4637
|
-
.muka-thumbnail__remove {
|
|
4638
|
-
position: absolute;
|
|
4639
|
-
top: var(--spacing-2);
|
|
4640
|
-
right: var(--spacing-2);
|
|
4641
|
-
display: flex;
|
|
4642
|
-
align-items: center;
|
|
4643
|
-
justify-content: center;
|
|
4644
|
-
width: var(--size-2xl);
|
|
4645
|
-
height: var(--size-2xl);
|
|
4646
|
-
padding: 0;
|
|
4647
|
-
color: var(--button-color-tertiary-foreground-default);
|
|
4648
|
-
background-color: var(--button-color-tertiary-background-default);
|
|
4649
|
-
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
4650
|
-
border-radius: var(--border-radius-lg);
|
|
4651
|
-
cursor: pointer;
|
|
4652
|
-
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
4653
|
-
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4654
|
-
}
|
|
4655
|
-
|
|
4656
|
-
.muka-thumbnail__remove:hover {
|
|
4657
|
-
color: var(--button-color-tertiary-foreground-hover);
|
|
4658
|
-
background-color: var(--button-color-tertiary-background-hover);
|
|
4659
|
-
border-color: var(--button-color-tertiary-border-hover);
|
|
4660
|
-
}
|
|
4661
|
-
|
|
4662
|
-
.muka-thumbnail__remove:active {
|
|
4663
|
-
color: var(--button-color-tertiary-foreground-pressed);
|
|
4664
|
-
background-color: var(--button-color-tertiary-background-pressed);
|
|
4665
|
-
border-color: var(--button-color-tertiary-border-pressed);
|
|
4666
|
-
}
|
|
4667
|
-
|
|
4668
|
-
.muka-thumbnail__remove:focus-visible {
|
|
4669
|
-
outline: 2px solid var(--color-border-focus);
|
|
4670
|
-
outline-offset: 2px;
|
|
4671
|
-
}
|
|
4672
|
-
|
|
4673
|
-
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4674
|
-
@media (prefers-reduced-motion: reduce) {
|
|
4675
|
-
.muka-thumbnail__image,
|
|
4676
|
-
.muka-thumbnail__remove {
|
|
4677
|
-
transition: none;
|
|
4678
|
-
}
|
|
4679
|
-
|
|
4680
|
-
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4681
|
-
transform: none;
|
|
4682
|
-
}
|
|
4683
|
-
}
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
/* TablePagination */
|
|
4687
|
-
/* TablePagination Component Styles - Using Muka Design Tokens */
|
|
4688
|
-
|
|
4689
|
-
/* ========================================
|
|
4690
|
-
PAGINATION CONTAINER
|
|
4691
|
-
======================================== */
|
|
4692
|
-
|
|
4693
|
-
.muka-table-pagination {
|
|
4694
|
-
display: flex;
|
|
4695
|
-
align-items: center;
|
|
4696
|
-
justify-content: space-between;
|
|
4697
|
-
flex-wrap: wrap;
|
|
4698
|
-
gap: var(--table-pagination-gap, var(--spacing-4));
|
|
4699
|
-
padding: var(--table-pagination-padding, var(--spacing-3));
|
|
4700
|
-
background-color: var(--table-pagination-background, var(--color-surface-level1));
|
|
4701
|
-
border-top: var(--border-width-regular) solid var(--table-pagination-border, var(--color-border-default));
|
|
4702
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
4703
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
4704
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4705
|
-
color: var(--color-text-default-default);
|
|
4706
|
-
}
|
|
4707
|
-
|
|
4708
|
-
/* ========================================
|
|
4709
|
-
LEFT SECTION (Page Size & Range)
|
|
4710
|
-
======================================== */
|
|
4711
|
-
|
|
4712
|
-
.muka-table-pagination__left {
|
|
4713
|
-
display: flex;
|
|
4714
|
-
align-items: center;
|
|
4715
|
-
gap: var(--spacing-4);
|
|
4716
|
-
}
|
|
4717
|
-
|
|
4718
|
-
.muka-table-pagination__page-size {
|
|
4719
|
-
display: flex;
|
|
4720
|
-
align-items: center;
|
|
4721
|
-
gap: var(--spacing-2);
|
|
4722
|
-
}
|
|
4723
|
-
|
|
4724
|
-
.muka-table-pagination__label {
|
|
4725
|
-
color: var(--color-text-subtle-default);
|
|
4726
|
-
white-space: nowrap;
|
|
4724
|
+
.muka-table-pagination__label {
|
|
4725
|
+
color: var(--color-text-subtle-default);
|
|
4726
|
+
white-space: nowrap;
|
|
4727
4727
|
}
|
|
4728
4728
|
|
|
4729
4729
|
.muka-table-pagination__select {
|
|
@@ -5087,70 +5087,178 @@ body {
|
|
|
5087
5087
|
}
|
|
5088
5088
|
|
|
5089
5089
|
|
|
5090
|
-
/*
|
|
5091
|
-
/*
|
|
5090
|
+
/* SwipeActions */
|
|
5091
|
+
/* SwipeActions Component Styles */
|
|
5092
5092
|
|
|
5093
|
-
.muka-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5093
|
+
.muka-swipe-actions {
|
|
5094
|
+
position: relative;
|
|
5095
|
+
overflow: hidden;
|
|
5096
|
+
touch-action: pan-y;
|
|
5097
|
+
-webkit-user-select: none;
|
|
5098
|
+
user-select: none;
|
|
5099
|
+
background-color: var(--color-surface-level3);
|
|
5099
5100
|
}
|
|
5100
5101
|
|
|
5101
|
-
.muka-
|
|
5102
|
-
|
|
5102
|
+
.muka-swipe-actions--disabled {
|
|
5103
|
+
touch-action: auto;
|
|
5103
5104
|
}
|
|
5104
5105
|
|
|
5105
|
-
|
|
5106
|
-
color: var(--color-text-default-inverse);
|
|
5107
|
-
}
|
|
5106
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
5108
5107
|
|
|
5109
|
-
.muka-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
border-right-color: transparent;
|
|
5115
|
-
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
5116
|
-
box-sizing: border-box;
|
|
5108
|
+
.muka-swipe-actions__row {
|
|
5109
|
+
position: relative;
|
|
5110
|
+
z-index: 1;
|
|
5111
|
+
background-color: inherit;
|
|
5112
|
+
will-change: transform;
|
|
5117
5113
|
}
|
|
5118
5114
|
|
|
5119
|
-
/* ───
|
|
5115
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
5120
5116
|
|
|
5121
|
-
.muka-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5117
|
+
.muka-swipe-actions__panel {
|
|
5118
|
+
position: absolute;
|
|
5119
|
+
top: 0;
|
|
5120
|
+
bottom: 0;
|
|
5121
|
+
display: flex;
|
|
5122
|
+
align-items: stretch;
|
|
5123
|
+
z-index: 0;
|
|
5125
5124
|
}
|
|
5126
5125
|
|
|
5127
|
-
.muka-
|
|
5128
|
-
|
|
5129
|
-
height: 20px;
|
|
5130
|
-
border-width: 2px;
|
|
5126
|
+
.muka-swipe-actions__panel--left {
|
|
5127
|
+
left: 0;
|
|
5131
5128
|
}
|
|
5132
5129
|
|
|
5133
|
-
.muka-
|
|
5134
|
-
|
|
5135
|
-
height: 24px;
|
|
5136
|
-
border-width: 3px;
|
|
5130
|
+
.muka-swipe-actions__panel--right {
|
|
5131
|
+
right: 0;
|
|
5137
5132
|
}
|
|
5138
5133
|
|
|
5139
|
-
/* ───
|
|
5140
|
-
|
|
5141
|
-
.muka-spinner__sr-label {
|
|
5142
|
-
position: absolute;
|
|
5143
|
-
width: 1px;
|
|
5144
|
-
height: 1px;
|
|
5145
|
-
padding: 0;
|
|
5146
|
-
margin: -1px;
|
|
5147
|
-
overflow: hidden;
|
|
5148
|
-
clip: rect(0, 0, 0, 0);
|
|
5149
|
-
white-space: nowrap;
|
|
5150
|
-
border: 0;
|
|
5151
|
-
}
|
|
5134
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
5152
5135
|
|
|
5153
|
-
|
|
5136
|
+
.muka-swipe-actions__button {
|
|
5137
|
+
display: flex;
|
|
5138
|
+
flex-direction: column;
|
|
5139
|
+
align-items: center;
|
|
5140
|
+
justify-content: center;
|
|
5141
|
+
gap: var(--spacing-1);
|
|
5142
|
+
border: none;
|
|
5143
|
+
cursor: pointer;
|
|
5144
|
+
padding: var(--spacing-2);
|
|
5145
|
+
background-color: var(--color-surface-level2);
|
|
5146
|
+
color: var(--color-text-default-default);
|
|
5147
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
5148
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
5149
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5150
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5151
|
+
-webkit-tap-highlight-color: transparent;
|
|
5152
|
+
transition: filter 0.12s ease;
|
|
5153
|
+
}
|
|
5154
|
+
|
|
5155
|
+
.muka-swipe-actions__button:hover {
|
|
5156
|
+
filter: brightness(0.95);
|
|
5157
|
+
}
|
|
5158
|
+
|
|
5159
|
+
.muka-swipe-actions__button:focus-visible {
|
|
5160
|
+
outline: 2px solid var(--color-action-default);
|
|
5161
|
+
outline-offset: -2px;
|
|
5162
|
+
}
|
|
5163
|
+
|
|
5164
|
+
.muka-swipe-actions__button-icon {
|
|
5165
|
+
display: inline-flex;
|
|
5166
|
+
align-items: center;
|
|
5167
|
+
justify-content: center;
|
|
5168
|
+
}
|
|
5169
|
+
|
|
5170
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
5171
|
+
|
|
5172
|
+
.muka-swipe-actions__button--neutral {
|
|
5173
|
+
background-color: var(--color-surface-level2);
|
|
5174
|
+
color: var(--color-text-default-default);
|
|
5175
|
+
}
|
|
5176
|
+
|
|
5177
|
+
.muka-swipe-actions__button--primary {
|
|
5178
|
+
background-color: var(--color-action-default);
|
|
5179
|
+
color: var(--color-text-default-inverse);
|
|
5180
|
+
}
|
|
5181
|
+
|
|
5182
|
+
.muka-swipe-actions__button--success {
|
|
5183
|
+
background-color: var(--color-state-success-default);
|
|
5184
|
+
color: var(--color-text-default-inverse);
|
|
5185
|
+
}
|
|
5186
|
+
|
|
5187
|
+
.muka-swipe-actions__button--warning {
|
|
5188
|
+
background-color: var(--color-state-warning-default);
|
|
5189
|
+
color: var(--color-text-default-default);
|
|
5190
|
+
}
|
|
5191
|
+
|
|
5192
|
+
.muka-swipe-actions__button--destructive {
|
|
5193
|
+
background-color: var(--color-state-error-default);
|
|
5194
|
+
color: var(--color-text-default-inverse);
|
|
5195
|
+
}
|
|
5196
|
+
|
|
5197
|
+
|
|
5198
|
+
/* Spinner */
|
|
5199
|
+
/* Spinner Component Styles */
|
|
5200
|
+
|
|
5201
|
+
.muka-spinner {
|
|
5202
|
+
display: inline-flex;
|
|
5203
|
+
align-items: center;
|
|
5204
|
+
justify-content: center;
|
|
5205
|
+
color: var(--color-text-default-default);
|
|
5206
|
+
line-height: 0;
|
|
5207
|
+
}
|
|
5208
|
+
|
|
5209
|
+
.muka-spinner--subtle {
|
|
5210
|
+
color: var(--color-text-subtle-default);
|
|
5211
|
+
}
|
|
5212
|
+
|
|
5213
|
+
.muka-spinner--inverse {
|
|
5214
|
+
color: var(--color-text-default-inverse);
|
|
5215
|
+
}
|
|
5216
|
+
|
|
5217
|
+
.muka-spinner__circle {
|
|
5218
|
+
display: inline-block;
|
|
5219
|
+
border-radius: 50%;
|
|
5220
|
+
border-style: solid;
|
|
5221
|
+
border-color: currentColor;
|
|
5222
|
+
border-right-color: transparent;
|
|
5223
|
+
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
5224
|
+
box-sizing: border-box;
|
|
5225
|
+
}
|
|
5226
|
+
|
|
5227
|
+
/* ─── Sizes ───────────────────────────────────────────── */
|
|
5228
|
+
|
|
5229
|
+
.muka-spinner--sm .muka-spinner__circle {
|
|
5230
|
+
width: 16px;
|
|
5231
|
+
height: 16px;
|
|
5232
|
+
border-width: 2px;
|
|
5233
|
+
}
|
|
5234
|
+
|
|
5235
|
+
.muka-spinner--md .muka-spinner__circle {
|
|
5236
|
+
width: 20px;
|
|
5237
|
+
height: 20px;
|
|
5238
|
+
border-width: 2px;
|
|
5239
|
+
}
|
|
5240
|
+
|
|
5241
|
+
.muka-spinner--lg .muka-spinner__circle {
|
|
5242
|
+
width: 24px;
|
|
5243
|
+
height: 24px;
|
|
5244
|
+
border-width: 3px;
|
|
5245
|
+
}
|
|
5246
|
+
|
|
5247
|
+
/* ─── Visually-hidden label ───────────────────────────── */
|
|
5248
|
+
|
|
5249
|
+
.muka-spinner__sr-label {
|
|
5250
|
+
position: absolute;
|
|
5251
|
+
width: 1px;
|
|
5252
|
+
height: 1px;
|
|
5253
|
+
padding: 0;
|
|
5254
|
+
margin: -1px;
|
|
5255
|
+
overflow: hidden;
|
|
5256
|
+
clip: rect(0, 0, 0, 0);
|
|
5257
|
+
white-space: nowrap;
|
|
5258
|
+
border: 0;
|
|
5259
|
+
}
|
|
5260
|
+
|
|
5261
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
5154
5262
|
|
|
5155
5263
|
@keyframes muka-spinner-rotate {
|
|
5156
5264
|
to {
|
|
@@ -6299,6 +6407,133 @@ body {
|
|
|
6299
6407
|
}
|
|
6300
6408
|
|
|
6301
6409
|
|
|
6410
|
+
/* Scrollbar */
|
|
6411
|
+
/* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
|
|
6412
|
+
|
|
6413
|
+
.muka-scrollbar {
|
|
6414
|
+
display: flex;
|
|
6415
|
+
flex-shrink: 0;
|
|
6416
|
+
border-left: var(--border-width-regular) solid var(--color-border-default);
|
|
6417
|
+
background-color: var(--color-surface-level3);
|
|
6418
|
+
user-select: none;
|
|
6419
|
+
}
|
|
6420
|
+
|
|
6421
|
+
.muka-scrollbar--vertical {
|
|
6422
|
+
flex-direction: column;
|
|
6423
|
+
width: var(--size-2xl, 32px);
|
|
6424
|
+
align-self: stretch;
|
|
6425
|
+
}
|
|
6426
|
+
|
|
6427
|
+
.muka-scrollbar--horizontal {
|
|
6428
|
+
flex-direction: row;
|
|
6429
|
+
height: var(--size-2xl, 32px);
|
|
6430
|
+
width: 100%;
|
|
6431
|
+
border-left: none;
|
|
6432
|
+
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
6433
|
+
}
|
|
6434
|
+
|
|
6435
|
+
.muka-scrollbar__button {
|
|
6436
|
+
display: flex;
|
|
6437
|
+
align-items: center;
|
|
6438
|
+
justify-content: center;
|
|
6439
|
+
flex-shrink: 0;
|
|
6440
|
+
width: 100%;
|
|
6441
|
+
height: var(--size-2xl, 32px);
|
|
6442
|
+
padding: 0;
|
|
6443
|
+
border: none;
|
|
6444
|
+
background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
|
|
6445
|
+
color: var(--color-text-default-default);
|
|
6446
|
+
cursor: pointer;
|
|
6447
|
+
}
|
|
6448
|
+
|
|
6449
|
+
.muka-scrollbar--horizontal .muka-scrollbar__button {
|
|
6450
|
+
width: var(--size-2xl, 32px);
|
|
6451
|
+
height: 100%;
|
|
6452
|
+
}
|
|
6453
|
+
|
|
6454
|
+
.muka-scrollbar__button:hover {
|
|
6455
|
+
background-color: var(--color-surface-hover);
|
|
6456
|
+
}
|
|
6457
|
+
|
|
6458
|
+
.muka-scrollbar__divider {
|
|
6459
|
+
flex-shrink: 0;
|
|
6460
|
+
width: 100%;
|
|
6461
|
+
height: 1px;
|
|
6462
|
+
background-color: var(--color-border-default);
|
|
6463
|
+
}
|
|
6464
|
+
|
|
6465
|
+
.muka-scrollbar--horizontal .muka-scrollbar__divider {
|
|
6466
|
+
width: 1px;
|
|
6467
|
+
height: 100%;
|
|
6468
|
+
}
|
|
6469
|
+
|
|
6470
|
+
.muka-scrollbar__track {
|
|
6471
|
+
position: relative;
|
|
6472
|
+
display: flex;
|
|
6473
|
+
flex-direction: column;
|
|
6474
|
+
flex: 1 1 auto;
|
|
6475
|
+
min-height: 0;
|
|
6476
|
+
width: 100%;
|
|
6477
|
+
}
|
|
6478
|
+
|
|
6479
|
+
.muka-scrollbar--horizontal .muka-scrollbar__track {
|
|
6480
|
+
flex-direction: row;
|
|
6481
|
+
min-width: 0;
|
|
6482
|
+
height: 100%;
|
|
6483
|
+
}
|
|
6484
|
+
|
|
6485
|
+
.muka-scrollbar__thumb {
|
|
6486
|
+
position: absolute;
|
|
6487
|
+
left: 0;
|
|
6488
|
+
top: 0;
|
|
6489
|
+
z-index: 1;
|
|
6490
|
+
display: flex;
|
|
6491
|
+
align-items: center;
|
|
6492
|
+
justify-content: center;
|
|
6493
|
+
width: 100%;
|
|
6494
|
+
/* Figma: scrollbar thumb fill = surface/level3 */
|
|
6495
|
+
background-color: var(--color-surface-level3);
|
|
6496
|
+
cursor: grab;
|
|
6497
|
+
touch-action: none;
|
|
6498
|
+
}
|
|
6499
|
+
|
|
6500
|
+
.muka-scrollbar--horizontal .muka-scrollbar__thumb {
|
|
6501
|
+
left: 0;
|
|
6502
|
+
top: 0;
|
|
6503
|
+
width: auto;
|
|
6504
|
+
height: 100%;
|
|
6505
|
+
margin-left: 0;
|
|
6506
|
+
margin-top: 0;
|
|
6507
|
+
}
|
|
6508
|
+
|
|
6509
|
+
.muka-scrollbar__thumb:active {
|
|
6510
|
+
cursor: grabbing;
|
|
6511
|
+
}
|
|
6512
|
+
|
|
6513
|
+
.muka-scrollbar__grip {
|
|
6514
|
+
display: flex;
|
|
6515
|
+
flex-direction: column;
|
|
6516
|
+
gap: 2px;
|
|
6517
|
+
width: 14px;
|
|
6518
|
+
}
|
|
6519
|
+
|
|
6520
|
+
.muka-scrollbar__grip::before,
|
|
6521
|
+
.muka-scrollbar__grip::after {
|
|
6522
|
+
content: '';
|
|
6523
|
+
display: block;
|
|
6524
|
+
width: 100%;
|
|
6525
|
+
height: 2px;
|
|
6526
|
+
border-radius: var(--border-radius-md);
|
|
6527
|
+
background-color: var(--color-text-subtle-default);
|
|
6528
|
+
}
|
|
6529
|
+
|
|
6530
|
+
.muka-scrollbar__spacer {
|
|
6531
|
+
flex: 1 1 auto;
|
|
6532
|
+
min-height: 0;
|
|
6533
|
+
background-color: var(--color-surface-level2);
|
|
6534
|
+
}
|
|
6535
|
+
|
|
6536
|
+
|
|
6302
6537
|
/* SearchInput */
|
|
6303
6538
|
/* SearchInput Component Styles */
|
|
6304
6539
|
|
|
@@ -6468,133 +6703,6 @@ body {
|
|
|
6468
6703
|
}
|
|
6469
6704
|
|
|
6470
6705
|
|
|
6471
|
-
/* Scrollbar */
|
|
6472
|
-
/* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
|
|
6473
|
-
|
|
6474
|
-
.muka-scrollbar {
|
|
6475
|
-
display: flex;
|
|
6476
|
-
flex-shrink: 0;
|
|
6477
|
-
border-left: var(--border-width-regular) solid var(--color-border-default);
|
|
6478
|
-
background-color: var(--color-surface-level3);
|
|
6479
|
-
user-select: none;
|
|
6480
|
-
}
|
|
6481
|
-
|
|
6482
|
-
.muka-scrollbar--vertical {
|
|
6483
|
-
flex-direction: column;
|
|
6484
|
-
width: var(--size-2xl, 32px);
|
|
6485
|
-
align-self: stretch;
|
|
6486
|
-
}
|
|
6487
|
-
|
|
6488
|
-
.muka-scrollbar--horizontal {
|
|
6489
|
-
flex-direction: row;
|
|
6490
|
-
height: var(--size-2xl, 32px);
|
|
6491
|
-
width: 100%;
|
|
6492
|
-
border-left: none;
|
|
6493
|
-
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
6494
|
-
}
|
|
6495
|
-
|
|
6496
|
-
.muka-scrollbar__button {
|
|
6497
|
-
display: flex;
|
|
6498
|
-
align-items: center;
|
|
6499
|
-
justify-content: center;
|
|
6500
|
-
flex-shrink: 0;
|
|
6501
|
-
width: 100%;
|
|
6502
|
-
height: var(--size-2xl, 32px);
|
|
6503
|
-
padding: 0;
|
|
6504
|
-
border: none;
|
|
6505
|
-
background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
|
|
6506
|
-
color: var(--color-text-default-default);
|
|
6507
|
-
cursor: pointer;
|
|
6508
|
-
}
|
|
6509
|
-
|
|
6510
|
-
.muka-scrollbar--horizontal .muka-scrollbar__button {
|
|
6511
|
-
width: var(--size-2xl, 32px);
|
|
6512
|
-
height: 100%;
|
|
6513
|
-
}
|
|
6514
|
-
|
|
6515
|
-
.muka-scrollbar__button:hover {
|
|
6516
|
-
background-color: var(--color-surface-hover);
|
|
6517
|
-
}
|
|
6518
|
-
|
|
6519
|
-
.muka-scrollbar__divider {
|
|
6520
|
-
flex-shrink: 0;
|
|
6521
|
-
width: 100%;
|
|
6522
|
-
height: 1px;
|
|
6523
|
-
background-color: var(--color-border-default);
|
|
6524
|
-
}
|
|
6525
|
-
|
|
6526
|
-
.muka-scrollbar--horizontal .muka-scrollbar__divider {
|
|
6527
|
-
width: 1px;
|
|
6528
|
-
height: 100%;
|
|
6529
|
-
}
|
|
6530
|
-
|
|
6531
|
-
.muka-scrollbar__track {
|
|
6532
|
-
position: relative;
|
|
6533
|
-
display: flex;
|
|
6534
|
-
flex-direction: column;
|
|
6535
|
-
flex: 1 1 auto;
|
|
6536
|
-
min-height: 0;
|
|
6537
|
-
width: 100%;
|
|
6538
|
-
}
|
|
6539
|
-
|
|
6540
|
-
.muka-scrollbar--horizontal .muka-scrollbar__track {
|
|
6541
|
-
flex-direction: row;
|
|
6542
|
-
min-width: 0;
|
|
6543
|
-
height: 100%;
|
|
6544
|
-
}
|
|
6545
|
-
|
|
6546
|
-
.muka-scrollbar__thumb {
|
|
6547
|
-
position: absolute;
|
|
6548
|
-
left: 0;
|
|
6549
|
-
top: 0;
|
|
6550
|
-
z-index: 1;
|
|
6551
|
-
display: flex;
|
|
6552
|
-
align-items: center;
|
|
6553
|
-
justify-content: center;
|
|
6554
|
-
width: 100%;
|
|
6555
|
-
/* Figma: scrollbar thumb fill = surface/level3 */
|
|
6556
|
-
background-color: var(--color-surface-level3);
|
|
6557
|
-
cursor: grab;
|
|
6558
|
-
touch-action: none;
|
|
6559
|
-
}
|
|
6560
|
-
|
|
6561
|
-
.muka-scrollbar--horizontal .muka-scrollbar__thumb {
|
|
6562
|
-
left: 0;
|
|
6563
|
-
top: 0;
|
|
6564
|
-
width: auto;
|
|
6565
|
-
height: 100%;
|
|
6566
|
-
margin-left: 0;
|
|
6567
|
-
margin-top: 0;
|
|
6568
|
-
}
|
|
6569
|
-
|
|
6570
|
-
.muka-scrollbar__thumb:active {
|
|
6571
|
-
cursor: grabbing;
|
|
6572
|
-
}
|
|
6573
|
-
|
|
6574
|
-
.muka-scrollbar__grip {
|
|
6575
|
-
display: flex;
|
|
6576
|
-
flex-direction: column;
|
|
6577
|
-
gap: 2px;
|
|
6578
|
-
width: 14px;
|
|
6579
|
-
}
|
|
6580
|
-
|
|
6581
|
-
.muka-scrollbar__grip::before,
|
|
6582
|
-
.muka-scrollbar__grip::after {
|
|
6583
|
-
content: '';
|
|
6584
|
-
display: block;
|
|
6585
|
-
width: 100%;
|
|
6586
|
-
height: 2px;
|
|
6587
|
-
border-radius: var(--border-radius-md);
|
|
6588
|
-
background-color: var(--color-text-subtle-default);
|
|
6589
|
-
}
|
|
6590
|
-
|
|
6591
|
-
.muka-scrollbar__spacer {
|
|
6592
|
-
flex: 1 1 auto;
|
|
6593
|
-
min-height: 0;
|
|
6594
|
-
background-color: var(--color-surface-level2);
|
|
6595
|
-
}
|
|
6596
|
-
|
|
6597
|
-
|
|
6598
6706
|
/* RecordingBar */
|
|
6599
6707
|
/* RecordingBar Component Styles */
|
|
6600
6708
|
|
|
@@ -6861,239 +6969,96 @@ body {
|
|
|
6861
6969
|
}
|
|
6862
6970
|
|
|
6863
6971
|
|
|
6864
|
-
/*
|
|
6865
|
-
/*
|
|
6972
|
+
/* Radio */
|
|
6973
|
+
/* Radio Component Styles - Using Muka Design Tokens */
|
|
6866
6974
|
|
|
6867
|
-
/*
|
|
6868
|
-
.muka-radio
|
|
6869
|
-
display: flex;
|
|
6975
|
+
/* Wrapper - clickable label container */
|
|
6976
|
+
.muka-radio {
|
|
6977
|
+
display: inline-flex;
|
|
6870
6978
|
align-items: center;
|
|
6871
6979
|
gap: var(--spacing-4);
|
|
6872
|
-
padding: var(--spacing-4);
|
|
6873
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
6874
|
-
border-radius: var(--input-field-radius-lg);
|
|
6875
|
-
background-color: var(--color-surface-level3);
|
|
6876
6980
|
cursor: pointer;
|
|
6877
|
-
|
|
6878
|
-
overflow: hidden;
|
|
6879
|
-
box-sizing: border-box;
|
|
6981
|
+
user-select: none;
|
|
6880
6982
|
}
|
|
6881
6983
|
|
|
6882
|
-
.muka-radio
|
|
6984
|
+
.muka-radio--disabled {
|
|
6883
6985
|
cursor: not-allowed;
|
|
6884
6986
|
opacity: 0.6;
|
|
6885
6987
|
}
|
|
6886
6988
|
|
|
6887
|
-
/*
|
|
6888
|
-
.muka-
|
|
6889
|
-
border-width: var(--border-width-bold);
|
|
6890
|
-
border-color: var(--color-action-default);
|
|
6891
|
-
}
|
|
6892
|
-
|
|
6893
|
-
/* Vertical layout */
|
|
6894
|
-
.muka-radio-tile--vertical {
|
|
6895
|
-
flex-direction: column;
|
|
6896
|
-
align-items: center;
|
|
6897
|
-
gap: var(--spacing-2);
|
|
6989
|
+
/* Control container */
|
|
6990
|
+
.muka-radio__control {
|
|
6898
6991
|
position: relative;
|
|
6899
|
-
|
|
6900
|
-
|
|
6901
|
-
|
|
6902
|
-
/* Radio container */
|
|
6903
|
-
.muka-radio-tile__radio {
|
|
6992
|
+
display: inline-flex;
|
|
6993
|
+
align-items: center;
|
|
6994
|
+
justify-content: center;
|
|
6904
6995
|
flex-shrink: 0;
|
|
6905
6996
|
}
|
|
6906
6997
|
|
|
6907
|
-
/*
|
|
6908
|
-
.muka-
|
|
6998
|
+
/* Hidden native input */
|
|
6999
|
+
.muka-radio__input {
|
|
6909
7000
|
position: absolute;
|
|
6910
|
-
|
|
6911
|
-
|
|
6912
|
-
|
|
6913
|
-
|
|
6914
|
-
|
|
6915
|
-
|
|
6916
|
-
|
|
6917
|
-
|
|
7001
|
+
width: 1px;
|
|
7002
|
+
height: 1px;
|
|
7003
|
+
padding: 0;
|
|
7004
|
+
margin: -1px;
|
|
7005
|
+
overflow: hidden;
|
|
7006
|
+
clip: rect(0, 0, 0, 0);
|
|
7007
|
+
white-space: nowrap;
|
|
7008
|
+
border: 0;
|
|
6918
7009
|
}
|
|
6919
7010
|
|
|
6920
|
-
/*
|
|
6921
|
-
.muka-
|
|
7011
|
+
/* Visual indicator (circle) */
|
|
7012
|
+
.muka-radio__indicator {
|
|
6922
7013
|
display: flex;
|
|
6923
7014
|
align-items: center;
|
|
6924
7015
|
justify-content: center;
|
|
6925
|
-
|
|
6926
|
-
|
|
6927
|
-
|
|
6928
|
-
color: var(--color-
|
|
7016
|
+
width: var(--radio-size-default);
|
|
7017
|
+
height: var(--radio-size-default);
|
|
7018
|
+
border-radius: var(--border-radius-full);
|
|
7019
|
+
background-color: var(--radio-color-default-background);
|
|
7020
|
+
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7021
|
+
transition: all 0.15s ease;
|
|
7022
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
6929
7023
|
}
|
|
6930
7024
|
|
|
6931
|
-
|
|
6932
|
-
|
|
6933
|
-
|
|
7025
|
+
/* Size variants */
|
|
7026
|
+
.muka-radio--sm .muka-radio__indicator {
|
|
7027
|
+
width: var(--radio-size-sm);
|
|
7028
|
+
height: var(--radio-size-sm);
|
|
6934
7029
|
}
|
|
6935
7030
|
|
|
6936
|
-
|
|
6937
|
-
|
|
6938
|
-
|
|
6939
|
-
overflow: hidden;
|
|
6940
|
-
border-radius: var(--border-radius-sm);
|
|
7031
|
+
.muka-radio--lg .muka-radio__indicator {
|
|
7032
|
+
width: var(--radio-size-lg);
|
|
7033
|
+
height: var(--radio-size-lg);
|
|
6941
7034
|
}
|
|
6942
7035
|
|
|
6943
|
-
|
|
6944
|
-
|
|
6945
|
-
width:
|
|
6946
|
-
height:
|
|
6947
|
-
|
|
7036
|
+
/* Inner dot (shown when checked) */
|
|
7037
|
+
.muka-radio__dot {
|
|
7038
|
+
width: var(--radio-dot-size-default);
|
|
7039
|
+
height: var(--radio-dot-size-default);
|
|
7040
|
+
border-radius: var(--border-radius-full);
|
|
7041
|
+
background-color: var(--radio-color-default-dot);
|
|
7042
|
+
transform: scale(0);
|
|
7043
|
+
transition: transform 0.15s ease;
|
|
6948
7044
|
}
|
|
6949
7045
|
|
|
6950
|
-
|
|
6951
|
-
|
|
6952
|
-
|
|
6953
|
-
height: 40px;
|
|
7046
|
+
.muka-radio--sm .muka-radio__dot {
|
|
7047
|
+
width: var(--radio-dot-size-sm);
|
|
7048
|
+
height: var(--radio-dot-size-sm);
|
|
6954
7049
|
}
|
|
6955
7050
|
|
|
6956
|
-
|
|
6957
|
-
|
|
6958
|
-
|
|
6959
|
-
aspect-ratio: 4/3;
|
|
7051
|
+
.muka-radio--lg .muka-radio__dot {
|
|
7052
|
+
width: var(--radio-dot-size-lg);
|
|
7053
|
+
height: var(--radio-dot-size-lg);
|
|
6960
7054
|
}
|
|
6961
7055
|
|
|
6962
|
-
/*
|
|
6963
|
-
|
|
6964
|
-
|
|
6965
|
-
|
|
6966
|
-
|
|
6967
|
-
|
|
6968
|
-
gap: var(--spacing-1);
|
|
6969
|
-
}
|
|
6970
|
-
|
|
6971
|
-
/* Label */
|
|
6972
|
-
.muka-radio-tile__label {
|
|
6973
|
-
font-family: var(--text-body-lg-regular-fontFamily);
|
|
6974
|
-
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
6975
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
6976
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
6977
|
-
color: var(--color-text-default-default);
|
|
6978
|
-
}
|
|
6979
|
-
|
|
6980
|
-
.muka-radio-tile__label--bold {
|
|
6981
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
6982
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
6983
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
6984
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
6985
|
-
}
|
|
6986
|
-
|
|
6987
|
-
.muka-radio-tile__label--center {
|
|
6988
|
-
text-align: center;
|
|
6989
|
-
}
|
|
6990
|
-
|
|
6991
|
-
/* Caption */
|
|
6992
|
-
.muka-radio-tile__caption {
|
|
6993
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
6994
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
6995
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
6996
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
6997
|
-
color: var(--color-text-subtle-default);
|
|
6998
|
-
}
|
|
6999
|
-
|
|
7000
|
-
/* Disabled states */
|
|
7001
|
-
.muka-radio-tile--disabled .muka-radio-tile__label,
|
|
7002
|
-
.muka-radio-tile--disabled .muka-radio-tile__icon {
|
|
7003
|
-
color: var(--color-text-subtle-default);
|
|
7004
|
-
}
|
|
7005
|
-
|
|
7006
|
-
|
|
7007
|
-
/* Radio */
|
|
7008
|
-
/* Radio Component Styles - Using Muka Design Tokens */
|
|
7009
|
-
|
|
7010
|
-
/* Wrapper - clickable label container */
|
|
7011
|
-
.muka-radio {
|
|
7012
|
-
display: inline-flex;
|
|
7013
|
-
align-items: center;
|
|
7014
|
-
gap: var(--spacing-4);
|
|
7015
|
-
cursor: pointer;
|
|
7016
|
-
user-select: none;
|
|
7017
|
-
}
|
|
7018
|
-
|
|
7019
|
-
.muka-radio--disabled {
|
|
7020
|
-
cursor: not-allowed;
|
|
7021
|
-
opacity: 0.6;
|
|
7022
|
-
}
|
|
7023
|
-
|
|
7024
|
-
/* Control container */
|
|
7025
|
-
.muka-radio__control {
|
|
7026
|
-
position: relative;
|
|
7027
|
-
display: inline-flex;
|
|
7028
|
-
align-items: center;
|
|
7029
|
-
justify-content: center;
|
|
7030
|
-
flex-shrink: 0;
|
|
7031
|
-
}
|
|
7032
|
-
|
|
7033
|
-
/* Hidden native input */
|
|
7034
|
-
.muka-radio__input {
|
|
7035
|
-
position: absolute;
|
|
7036
|
-
width: 1px;
|
|
7037
|
-
height: 1px;
|
|
7038
|
-
padding: 0;
|
|
7039
|
-
margin: -1px;
|
|
7040
|
-
overflow: hidden;
|
|
7041
|
-
clip: rect(0, 0, 0, 0);
|
|
7042
|
-
white-space: nowrap;
|
|
7043
|
-
border: 0;
|
|
7044
|
-
}
|
|
7045
|
-
|
|
7046
|
-
/* Visual indicator (circle) */
|
|
7047
|
-
.muka-radio__indicator {
|
|
7048
|
-
display: flex;
|
|
7049
|
-
align-items: center;
|
|
7050
|
-
justify-content: center;
|
|
7051
|
-
width: var(--radio-size-default);
|
|
7052
|
-
height: var(--radio-size-default);
|
|
7053
|
-
border-radius: var(--border-radius-full);
|
|
7054
|
-
background-color: var(--radio-color-default-background);
|
|
7055
|
-
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7056
|
-
transition: all 0.15s ease;
|
|
7057
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7058
|
-
}
|
|
7059
|
-
|
|
7060
|
-
/* Size variants */
|
|
7061
|
-
.muka-radio--sm .muka-radio__indicator {
|
|
7062
|
-
width: var(--radio-size-sm);
|
|
7063
|
-
height: var(--radio-size-sm);
|
|
7064
|
-
}
|
|
7065
|
-
|
|
7066
|
-
.muka-radio--lg .muka-radio__indicator {
|
|
7067
|
-
width: var(--radio-size-lg);
|
|
7068
|
-
height: var(--radio-size-lg);
|
|
7069
|
-
}
|
|
7070
|
-
|
|
7071
|
-
/* Inner dot (shown when checked) */
|
|
7072
|
-
.muka-radio__dot {
|
|
7073
|
-
width: var(--radio-dot-size-default);
|
|
7074
|
-
height: var(--radio-dot-size-default);
|
|
7075
|
-
border-radius: var(--border-radius-full);
|
|
7076
|
-
background-color: var(--radio-color-default-dot);
|
|
7077
|
-
transform: scale(0);
|
|
7078
|
-
transition: transform 0.15s ease;
|
|
7079
|
-
}
|
|
7080
|
-
|
|
7081
|
-
.muka-radio--sm .muka-radio__dot {
|
|
7082
|
-
width: var(--radio-dot-size-sm);
|
|
7083
|
-
height: var(--radio-dot-size-sm);
|
|
7084
|
-
}
|
|
7085
|
-
|
|
7086
|
-
.muka-radio--lg .muka-radio__dot {
|
|
7087
|
-
width: var(--radio-dot-size-lg);
|
|
7088
|
-
height: var(--radio-dot-size-lg);
|
|
7089
|
-
}
|
|
7090
|
-
|
|
7091
|
-
/* Hover state - removed per design */
|
|
7092
|
-
|
|
7093
|
-
/* Focus state */
|
|
7094
|
-
.muka-radio__input:focus-visible + .muka-radio__indicator {
|
|
7095
|
-
outline: 2px solid var(--color-border-focus);
|
|
7096
|
-
outline-offset: 2px;
|
|
7056
|
+
/* Hover state - removed per design */
|
|
7057
|
+
|
|
7058
|
+
/* Focus state */
|
|
7059
|
+
.muka-radio__input:focus-visible + .muka-radio__indicator {
|
|
7060
|
+
outline: 2px solid var(--color-border-focus);
|
|
7061
|
+
outline-offset: 2px;
|
|
7097
7062
|
}
|
|
7098
7063
|
|
|
7099
7064
|
/* Checked state */
|
|
@@ -8017,107 +7982,250 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8017
7982
|
}
|
|
8018
7983
|
|
|
8019
7984
|
|
|
8020
|
-
/*
|
|
8021
|
-
/*
|
|
8022
|
-
|
|
8023
|
-
/* ========================================
|
|
8024
|
-
BAR VARIANT
|
|
8025
|
-
======================================== */
|
|
7985
|
+
/* RadioTile */
|
|
7986
|
+
/* RadioTile Component Styles - Using Muka Design Tokens */
|
|
8026
7987
|
|
|
8027
|
-
|
|
7988
|
+
/* Base tile styles - horizontal */
|
|
7989
|
+
.muka-radio-tile {
|
|
8028
7990
|
display: flex;
|
|
8029
7991
|
align-items: center;
|
|
8030
|
-
gap: var(--spacing-
|
|
8031
|
-
|
|
8032
|
-
|
|
8033
|
-
|
|
8034
|
-
|
|
8035
|
-
|
|
8036
|
-
|
|
8037
|
-
border-radius: var(--border-radius-full);
|
|
7992
|
+
gap: var(--spacing-4);
|
|
7993
|
+
padding: var(--spacing-4);
|
|
7994
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
7995
|
+
border-radius: var(--input-field-radius-lg);
|
|
7996
|
+
background-color: var(--color-surface-level3);
|
|
7997
|
+
cursor: pointer;
|
|
7998
|
+
transition: border-color 0.15s ease, border-width 0.15s ease;
|
|
8038
7999
|
overflow: hidden;
|
|
8000
|
+
box-sizing: border-box;
|
|
8039
8001
|
}
|
|
8040
8002
|
|
|
8041
|
-
.muka-
|
|
8042
|
-
|
|
8043
|
-
|
|
8044
|
-
|
|
8045
|
-
.muka-progress--bar.muka-progress--md .muka-progress__track {
|
|
8046
|
-
height: var(--progress-size-bar-height-md);
|
|
8003
|
+
.muka-radio-tile--disabled {
|
|
8004
|
+
cursor: not-allowed;
|
|
8005
|
+
opacity: 0.6;
|
|
8047
8006
|
}
|
|
8048
8007
|
|
|
8049
|
-
|
|
8050
|
-
|
|
8008
|
+
/* Selected state */
|
|
8009
|
+
.muka-radio-tile[data-checked] {
|
|
8010
|
+
border-width: var(--border-width-bold);
|
|
8011
|
+
border-color: var(--color-action-default);
|
|
8051
8012
|
}
|
|
8052
8013
|
|
|
8053
|
-
|
|
8054
|
-
|
|
8055
|
-
|
|
8056
|
-
|
|
8057
|
-
|
|
8014
|
+
/* Vertical layout */
|
|
8015
|
+
.muka-radio-tile--vertical {
|
|
8016
|
+
flex-direction: column;
|
|
8017
|
+
align-items: center;
|
|
8018
|
+
gap: var(--spacing-2);
|
|
8019
|
+
position: relative;
|
|
8020
|
+
width: 160px;
|
|
8058
8021
|
}
|
|
8059
8022
|
|
|
8060
|
-
|
|
8023
|
+
/* Radio container */
|
|
8024
|
+
.muka-radio-tile__radio {
|
|
8061
8025
|
flex-shrink: 0;
|
|
8062
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
8063
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
8064
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
8065
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
8066
|
-
color: var(--color-text-default-default);
|
|
8067
|
-
min-width: 3ch;
|
|
8068
|
-
text-align: right;
|
|
8069
8026
|
}
|
|
8070
8027
|
|
|
8071
|
-
/*
|
|
8072
|
-
.muka-
|
|
8073
|
-
|
|
8074
|
-
|
|
8028
|
+
/* Corner-positioned radio for vertical */
|
|
8029
|
+
.muka-radio-tile__radio--corner {
|
|
8030
|
+
position: absolute;
|
|
8031
|
+
top: var(--spacing-4);
|
|
8032
|
+
left: var(--spacing-4);
|
|
8075
8033
|
}
|
|
8076
8034
|
|
|
8077
|
-
|
|
8078
|
-
|
|
8079
|
-
|
|
8080
|
-
|
|
8081
|
-
100% {
|
|
8082
|
-
transform: translateX(250%);
|
|
8083
|
-
}
|
|
8035
|
+
/* Adjust corner position when selected (border is thicker) */
|
|
8036
|
+
.muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
|
|
8037
|
+
top: calc(var(--spacing-4) - 1px);
|
|
8038
|
+
left: calc(var(--spacing-4) - 1px);
|
|
8084
8039
|
}
|
|
8085
8040
|
|
|
8086
|
-
/*
|
|
8087
|
-
|
|
8088
|
-
|
|
8089
|
-
|
|
8090
|
-
.muka-progress--circle {
|
|
8091
|
-
position: relative;
|
|
8092
|
-
display: inline-flex;
|
|
8041
|
+
/* Icon */
|
|
8042
|
+
.muka-radio-tile__icon {
|
|
8043
|
+
display: flex;
|
|
8093
8044
|
align-items: center;
|
|
8094
8045
|
justify-content: center;
|
|
8046
|
+
flex-shrink: 0;
|
|
8047
|
+
width: var(--icon-size-default);
|
|
8048
|
+
height: var(--icon-size-default);
|
|
8049
|
+
color: var(--color-text-default-default);
|
|
8095
8050
|
}
|
|
8096
8051
|
|
|
8097
|
-
.muka-
|
|
8098
|
-
width:
|
|
8099
|
-
height:
|
|
8100
|
-
}
|
|
8101
|
-
|
|
8102
|
-
.muka-progress--circle.muka-progress--md {
|
|
8103
|
-
width: var(--progress-size-circle-diameter-md);
|
|
8104
|
-
height: var(--progress-size-circle-diameter-md);
|
|
8052
|
+
.muka-radio-tile__icon svg {
|
|
8053
|
+
width: 100%;
|
|
8054
|
+
height: 100%;
|
|
8105
8055
|
}
|
|
8106
8056
|
|
|
8107
|
-
|
|
8108
|
-
|
|
8109
|
-
|
|
8057
|
+
/* Image */
|
|
8058
|
+
.muka-radio-tile__image {
|
|
8059
|
+
flex-shrink: 0;
|
|
8060
|
+
overflow: hidden;
|
|
8061
|
+
border-radius: var(--border-radius-sm);
|
|
8110
8062
|
}
|
|
8111
8063
|
|
|
8112
|
-
.muka-
|
|
8064
|
+
.muka-radio-tile__image img {
|
|
8065
|
+
display: block;
|
|
8113
8066
|
width: 100%;
|
|
8114
8067
|
height: 100%;
|
|
8115
|
-
|
|
8068
|
+
object-fit: cover;
|
|
8116
8069
|
}
|
|
8117
8070
|
|
|
8118
|
-
|
|
8119
|
-
|
|
8120
|
-
|
|
8071
|
+
/* Horizontal image sizing */
|
|
8072
|
+
.muka-radio-tile__image--horizontal {
|
|
8073
|
+
width: 40px;
|
|
8074
|
+
height: 40px;
|
|
8075
|
+
}
|
|
8076
|
+
|
|
8077
|
+
/* Vertical image sizing */
|
|
8078
|
+
.muka-radio-tile--vertical .muka-radio-tile__image {
|
|
8079
|
+
width: 100%;
|
|
8080
|
+
aspect-ratio: 4/3;
|
|
8081
|
+
}
|
|
8082
|
+
|
|
8083
|
+
/* Content container */
|
|
8084
|
+
.muka-radio-tile__content {
|
|
8085
|
+
display: flex;
|
|
8086
|
+
flex-direction: column;
|
|
8087
|
+
flex: 1;
|
|
8088
|
+
min-width: 0;
|
|
8089
|
+
gap: var(--spacing-1);
|
|
8090
|
+
}
|
|
8091
|
+
|
|
8092
|
+
/* Label */
|
|
8093
|
+
.muka-radio-tile__label {
|
|
8094
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
8095
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
8096
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
8097
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
8098
|
+
color: var(--color-text-default-default);
|
|
8099
|
+
}
|
|
8100
|
+
|
|
8101
|
+
.muka-radio-tile__label--bold {
|
|
8102
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
8103
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
8104
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
8105
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
8106
|
+
}
|
|
8107
|
+
|
|
8108
|
+
.muka-radio-tile__label--center {
|
|
8109
|
+
text-align: center;
|
|
8110
|
+
}
|
|
8111
|
+
|
|
8112
|
+
/* Caption */
|
|
8113
|
+
.muka-radio-tile__caption {
|
|
8114
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
8115
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
8116
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
8117
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
8118
|
+
color: var(--color-text-subtle-default);
|
|
8119
|
+
}
|
|
8120
|
+
|
|
8121
|
+
/* Disabled states */
|
|
8122
|
+
.muka-radio-tile--disabled .muka-radio-tile__label,
|
|
8123
|
+
.muka-radio-tile--disabled .muka-radio-tile__icon {
|
|
8124
|
+
color: var(--color-text-subtle-default);
|
|
8125
|
+
}
|
|
8126
|
+
|
|
8127
|
+
|
|
8128
|
+
/* Progress */
|
|
8129
|
+
/* Progress Component Styles - Using Muka Design Tokens */
|
|
8130
|
+
|
|
8131
|
+
/* ========================================
|
|
8132
|
+
BAR VARIANT
|
|
8133
|
+
======================================== */
|
|
8134
|
+
|
|
8135
|
+
.muka-progress--bar {
|
|
8136
|
+
display: flex;
|
|
8137
|
+
align-items: center;
|
|
8138
|
+
gap: var(--spacing-2);
|
|
8139
|
+
width: 100%;
|
|
8140
|
+
}
|
|
8141
|
+
|
|
8142
|
+
.muka-progress--bar .muka-progress__track {
|
|
8143
|
+
flex: 1;
|
|
8144
|
+
background-color: var(--color-surface-level1);
|
|
8145
|
+
border-radius: var(--border-radius-full);
|
|
8146
|
+
overflow: hidden;
|
|
8147
|
+
}
|
|
8148
|
+
|
|
8149
|
+
.muka-progress--bar.muka-progress--sm .muka-progress__track {
|
|
8150
|
+
height: var(--progress-size-bar-height-sm);
|
|
8151
|
+
}
|
|
8152
|
+
|
|
8153
|
+
.muka-progress--bar.muka-progress--md .muka-progress__track {
|
|
8154
|
+
height: var(--progress-size-bar-height-md);
|
|
8155
|
+
}
|
|
8156
|
+
|
|
8157
|
+
.muka-progress--bar.muka-progress--lg .muka-progress__track {
|
|
8158
|
+
height: var(--progress-size-bar-height-lg);
|
|
8159
|
+
}
|
|
8160
|
+
|
|
8161
|
+
.muka-progress--bar .muka-progress__fill {
|
|
8162
|
+
height: 100%;
|
|
8163
|
+
background-color: var(--color-action-default);
|
|
8164
|
+
border-radius: var(--border-radius-full);
|
|
8165
|
+
transition: width 0.3s ease;
|
|
8166
|
+
}
|
|
8167
|
+
|
|
8168
|
+
.muka-progress--bar .muka-progress__label {
|
|
8169
|
+
flex-shrink: 0;
|
|
8170
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
8171
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
8172
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
8173
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
8174
|
+
color: var(--color-text-default-default);
|
|
8175
|
+
min-width: 3ch;
|
|
8176
|
+
text-align: right;
|
|
8177
|
+
}
|
|
8178
|
+
|
|
8179
|
+
/* Indeterminate animation for bar */
|
|
8180
|
+
.muka-progress--bar.muka-progress--indeterminate .muka-progress__fill {
|
|
8181
|
+
width: 40%;
|
|
8182
|
+
animation: muka-progress-bar-indeterminate 1.5s ease-in-out infinite;
|
|
8183
|
+
}
|
|
8184
|
+
|
|
8185
|
+
@keyframes muka-progress-bar-indeterminate {
|
|
8186
|
+
0% {
|
|
8187
|
+
transform: translateX(-100%);
|
|
8188
|
+
}
|
|
8189
|
+
100% {
|
|
8190
|
+
transform: translateX(250%);
|
|
8191
|
+
}
|
|
8192
|
+
}
|
|
8193
|
+
|
|
8194
|
+
/* ========================================
|
|
8195
|
+
CIRCLE VARIANT
|
|
8196
|
+
======================================== */
|
|
8197
|
+
|
|
8198
|
+
.muka-progress--circle {
|
|
8199
|
+
position: relative;
|
|
8200
|
+
display: inline-flex;
|
|
8201
|
+
align-items: center;
|
|
8202
|
+
justify-content: center;
|
|
8203
|
+
}
|
|
8204
|
+
|
|
8205
|
+
.muka-progress--circle.muka-progress--sm {
|
|
8206
|
+
width: var(--progress-size-circle-diameter-sm);
|
|
8207
|
+
height: var(--progress-size-circle-diameter-sm);
|
|
8208
|
+
}
|
|
8209
|
+
|
|
8210
|
+
.muka-progress--circle.muka-progress--md {
|
|
8211
|
+
width: var(--progress-size-circle-diameter-md);
|
|
8212
|
+
height: var(--progress-size-circle-diameter-md);
|
|
8213
|
+
}
|
|
8214
|
+
|
|
8215
|
+
.muka-progress--circle.muka-progress--lg {
|
|
8216
|
+
width: var(--progress-size-circle-diameter-lg);
|
|
8217
|
+
height: var(--progress-size-circle-diameter-lg);
|
|
8218
|
+
}
|
|
8219
|
+
|
|
8220
|
+
.muka-progress__circle {
|
|
8221
|
+
width: 100%;
|
|
8222
|
+
height: 100%;
|
|
8223
|
+
transform: rotate(-90deg);
|
|
8224
|
+
}
|
|
8225
|
+
|
|
8226
|
+
.muka-progress--circle .muka-progress__track {
|
|
8227
|
+
fill: none;
|
|
8228
|
+
stroke: var(--color-surface-level1);
|
|
8121
8229
|
}
|
|
8122
8230
|
|
|
8123
8231
|
.muka-progress--circle.muka-progress--sm .muka-progress__track,
|
|
@@ -8303,103 +8411,6 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8303
8411
|
}
|
|
8304
8412
|
|
|
8305
8413
|
|
|
8306
|
-
/* PriceTag */
|
|
8307
|
-
/* PriceTag Component Styles - Using Muka Design Tokens */
|
|
8308
|
-
|
|
8309
|
-
.muka-price-tag {
|
|
8310
|
-
display: flex;
|
|
8311
|
-
flex-shrink: 0;
|
|
8312
|
-
}
|
|
8313
|
-
|
|
8314
|
-
/* Medium: stacked layout (price on top, unit below) */
|
|
8315
|
-
.muka-price-tag--md {
|
|
8316
|
-
flex-direction: column;
|
|
8317
|
-
align-items: flex-end;
|
|
8318
|
-
justify-content: center;
|
|
8319
|
-
}
|
|
8320
|
-
|
|
8321
|
-
/* Small: inline layout */
|
|
8322
|
-
.muka-price-tag--sm {
|
|
8323
|
-
flex-direction: row;
|
|
8324
|
-
align-items: center;
|
|
8325
|
-
gap: 3px;
|
|
8326
|
-
}
|
|
8327
|
-
|
|
8328
|
-
/* Amount row: currency + numbers */
|
|
8329
|
-
.muka-price-tag__amount {
|
|
8330
|
-
display: flex;
|
|
8331
|
-
align-items: flex-start;
|
|
8332
|
-
gap: var(--spacing-1);
|
|
8333
|
-
}
|
|
8334
|
-
|
|
8335
|
-
.muka-price-tag--sm .muka-price-tag__amount {
|
|
8336
|
-
align-items: center;
|
|
8337
|
-
}
|
|
8338
|
-
|
|
8339
|
-
/* Numbers group: whole + decimal + cents */
|
|
8340
|
-
.muka-price-tag__numbers {
|
|
8341
|
-
display: flex;
|
|
8342
|
-
align-items: baseline;
|
|
8343
|
-
}
|
|
8344
|
-
|
|
8345
|
-
/* ─── Medium size typography ──────────────────────────── */
|
|
8346
|
-
|
|
8347
|
-
.muka-price-tag--md .muka-price-tag__currency {
|
|
8348
|
-
font-family: var(--text-subheading-md-fontFamily);
|
|
8349
|
-
font-weight: var(--text-subheading-md-fontWeight);
|
|
8350
|
-
font-size: var(--text-subheading-md-fontSize);
|
|
8351
|
-
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
8352
|
-
color: var(--color-text-subtle-default);
|
|
8353
|
-
}
|
|
8354
|
-
|
|
8355
|
-
.muka-price-tag--md .muka-price-tag__whole {
|
|
8356
|
-
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
8357
|
-
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
8358
|
-
font-size: var(--text-label-2xl-bold-fontSize);
|
|
8359
|
-
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
8360
|
-
color: var(--color-text-default-default);
|
|
8361
|
-
}
|
|
8362
|
-
|
|
8363
|
-
.muka-price-tag--md .muka-price-tag__decimal,
|
|
8364
|
-
.muka-price-tag--md .muka-price-tag__cents {
|
|
8365
|
-
font-family: var(--text-label-md-bold-fontFamily);
|
|
8366
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
8367
|
-
font-size: var(--text-label-md-bold-fontSize);
|
|
8368
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
8369
|
-
color: var(--color-text-default-default);
|
|
8370
|
-
}
|
|
8371
|
-
|
|
8372
|
-
/* ─── Small size typography ───────────────────────────── */
|
|
8373
|
-
|
|
8374
|
-
.muka-price-tag--sm .muka-price-tag__currency {
|
|
8375
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
8376
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
8377
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
8378
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
8379
|
-
color: var(--color-text-subtle-default);
|
|
8380
|
-
}
|
|
8381
|
-
|
|
8382
|
-
.muka-price-tag--sm .muka-price-tag__whole,
|
|
8383
|
-
.muka-price-tag--sm .muka-price-tag__decimal,
|
|
8384
|
-
.muka-price-tag--sm .muka-price-tag__cents {
|
|
8385
|
-
font-family: var(--text-label-md-bold-fontFamily);
|
|
8386
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
8387
|
-
font-size: var(--text-label-md-bold-fontSize);
|
|
8388
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
8389
|
-
color: var(--color-text-default-default);
|
|
8390
|
-
}
|
|
8391
|
-
|
|
8392
|
-
/* ─── Unit label (same for both sizes) ────────────────── */
|
|
8393
|
-
|
|
8394
|
-
.muka-price-tag__unit {
|
|
8395
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
8396
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
8397
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
8398
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
8399
|
-
color: var(--color-text-subtle-default);
|
|
8400
|
-
}
|
|
8401
|
-
|
|
8402
|
-
|
|
8403
8414
|
/* Popover */
|
|
8404
8415
|
/* Popover Component Styles */
|
|
8405
8416
|
|
|
@@ -8828,10 +8839,107 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8828
8839
|
}
|
|
8829
8840
|
|
|
8830
8841
|
|
|
8831
|
-
/*
|
|
8832
|
-
/*
|
|
8842
|
+
/* PriceTag */
|
|
8843
|
+
/* PriceTag Component Styles - Using Muka Design Tokens */
|
|
8833
8844
|
|
|
8834
|
-
.muka-
|
|
8845
|
+
.muka-price-tag {
|
|
8846
|
+
display: flex;
|
|
8847
|
+
flex-shrink: 0;
|
|
8848
|
+
}
|
|
8849
|
+
|
|
8850
|
+
/* Medium: stacked layout (price on top, unit below) */
|
|
8851
|
+
.muka-price-tag--md {
|
|
8852
|
+
flex-direction: column;
|
|
8853
|
+
align-items: flex-end;
|
|
8854
|
+
justify-content: center;
|
|
8855
|
+
}
|
|
8856
|
+
|
|
8857
|
+
/* Small: inline layout */
|
|
8858
|
+
.muka-price-tag--sm {
|
|
8859
|
+
flex-direction: row;
|
|
8860
|
+
align-items: center;
|
|
8861
|
+
gap: 3px;
|
|
8862
|
+
}
|
|
8863
|
+
|
|
8864
|
+
/* Amount row: currency + numbers */
|
|
8865
|
+
.muka-price-tag__amount {
|
|
8866
|
+
display: flex;
|
|
8867
|
+
align-items: flex-start;
|
|
8868
|
+
gap: var(--spacing-1);
|
|
8869
|
+
}
|
|
8870
|
+
|
|
8871
|
+
.muka-price-tag--sm .muka-price-tag__amount {
|
|
8872
|
+
align-items: center;
|
|
8873
|
+
}
|
|
8874
|
+
|
|
8875
|
+
/* Numbers group: whole + decimal + cents */
|
|
8876
|
+
.muka-price-tag__numbers {
|
|
8877
|
+
display: flex;
|
|
8878
|
+
align-items: baseline;
|
|
8879
|
+
}
|
|
8880
|
+
|
|
8881
|
+
/* ─── Medium size typography ──────────────────────────── */
|
|
8882
|
+
|
|
8883
|
+
.muka-price-tag--md .muka-price-tag__currency {
|
|
8884
|
+
font-family: var(--text-subheading-md-fontFamily);
|
|
8885
|
+
font-weight: var(--text-subheading-md-fontWeight);
|
|
8886
|
+
font-size: var(--text-subheading-md-fontSize);
|
|
8887
|
+
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
8888
|
+
color: var(--color-text-subtle-default);
|
|
8889
|
+
}
|
|
8890
|
+
|
|
8891
|
+
.muka-price-tag--md .muka-price-tag__whole {
|
|
8892
|
+
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
8893
|
+
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
8894
|
+
font-size: var(--text-label-2xl-bold-fontSize);
|
|
8895
|
+
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
8896
|
+
color: var(--color-text-default-default);
|
|
8897
|
+
}
|
|
8898
|
+
|
|
8899
|
+
.muka-price-tag--md .muka-price-tag__decimal,
|
|
8900
|
+
.muka-price-tag--md .muka-price-tag__cents {
|
|
8901
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
8902
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
8903
|
+
font-size: var(--text-label-md-bold-fontSize);
|
|
8904
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
8905
|
+
color: var(--color-text-default-default);
|
|
8906
|
+
}
|
|
8907
|
+
|
|
8908
|
+
/* ─── Small size typography ───────────────────────────── */
|
|
8909
|
+
|
|
8910
|
+
.muka-price-tag--sm .muka-price-tag__currency {
|
|
8911
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
8912
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
8913
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
8914
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
8915
|
+
color: var(--color-text-subtle-default);
|
|
8916
|
+
}
|
|
8917
|
+
|
|
8918
|
+
.muka-price-tag--sm .muka-price-tag__whole,
|
|
8919
|
+
.muka-price-tag--sm .muka-price-tag__decimal,
|
|
8920
|
+
.muka-price-tag--sm .muka-price-tag__cents {
|
|
8921
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
8922
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
8923
|
+
font-size: var(--text-label-md-bold-fontSize);
|
|
8924
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
8925
|
+
color: var(--color-text-default-default);
|
|
8926
|
+
}
|
|
8927
|
+
|
|
8928
|
+
/* ─── Unit label (same for both sizes) ────────────────── */
|
|
8929
|
+
|
|
8930
|
+
.muka-price-tag__unit {
|
|
8931
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
8932
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
8933
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
8934
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
8935
|
+
color: var(--color-text-subtle-default);
|
|
8936
|
+
}
|
|
8937
|
+
|
|
8938
|
+
|
|
8939
|
+
/* PieChart */
|
|
8940
|
+
/* PieChart Component Styles - Using Muka Design Tokens */
|
|
8941
|
+
|
|
8942
|
+
.muka-piechart {
|
|
8835
8943
|
display: inline-flex;
|
|
8836
8944
|
align-items: center;
|
|
8837
8945
|
gap: var(--spacing-4);
|
|
@@ -9002,6 +9110,27 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9002
9110
|
color: var(--color-text-default-default);
|
|
9003
9111
|
}
|
|
9004
9112
|
|
|
9113
|
+
/*
|
|
9114
|
+
* Touch devices (phones, tablets without a mouse) have nothing to drag a file
|
|
9115
|
+
* from: the card and its "or drop here" hint go, and only the button stays.
|
|
9116
|
+
* Keyed on input capability, not width, so a narrow desktop window keeps
|
|
9117
|
+
* its drop zone.
|
|
9118
|
+
*/
|
|
9119
|
+
@media (hover: none) and (pointer: coarse) {
|
|
9120
|
+
.muka-photo-uploader__dropzone {
|
|
9121
|
+
align-items: flex-start;
|
|
9122
|
+
padding: 0;
|
|
9123
|
+
background-color: transparent;
|
|
9124
|
+
border: none;
|
|
9125
|
+
border-radius: 0;
|
|
9126
|
+
cursor: default;
|
|
9127
|
+
}
|
|
9128
|
+
|
|
9129
|
+
.muka-photo-uploader__dropzone-text {
|
|
9130
|
+
display: none;
|
|
9131
|
+
}
|
|
9132
|
+
}
|
|
9133
|
+
|
|
9005
9134
|
/* ─── Disabled ────────────────────────────────────────── */
|
|
9006
9135
|
.muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
|
|
9007
9136
|
cursor: not-allowed;
|
|
@@ -14693,631 +14822,290 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14693
14822
|
}
|
|
14694
14823
|
|
|
14695
14824
|
|
|
14696
|
-
/*
|
|
14697
|
-
/*
|
|
14825
|
+
/* ChatEvent */
|
|
14826
|
+
/* ChatEvent: a line in a chat that isn't a message from a person */
|
|
14698
14827
|
|
|
14699
|
-
.muka-chat-
|
|
14828
|
+
.muka-chat-event {
|
|
14700
14829
|
display: flex;
|
|
14701
14830
|
flex-direction: column;
|
|
14831
|
+
align-items: center;
|
|
14832
|
+
gap: var(--spacing-2);
|
|
14702
14833
|
width: 100%;
|
|
14703
|
-
|
|
14834
|
+
padding: 0 var(--spacing-4);
|
|
14835
|
+
box-sizing: border-box;
|
|
14836
|
+
text-align: center;
|
|
14704
14837
|
}
|
|
14705
14838
|
|
|
14706
|
-
|
|
14707
|
-
|
|
14708
|
-
|
|
14709
|
-
|
|
14710
|
-
|
|
14711
|
-
|
|
14712
|
-
|
|
14713
|
-
|
|
14839
|
+
.muka-chat-event__text {
|
|
14840
|
+
margin: 0;
|
|
14841
|
+
max-width: var(--chatbubble-max-width);
|
|
14842
|
+
/* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
|
|
14843
|
+
and this is body text. Size and centring set it apart from messages. */
|
|
14844
|
+
color: var(--color-text-default-default);
|
|
14845
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
14846
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
14847
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
14848
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
14714
14849
|
}
|
|
14715
14850
|
|
|
14716
|
-
.muka-chat-
|
|
14717
|
-
|
|
14718
|
-
grid-template-areas: 'rail bubble';
|
|
14851
|
+
.muka-chat-event__timestamp {
|
|
14852
|
+
white-space: nowrap;
|
|
14719
14853
|
}
|
|
14720
14854
|
|
|
14721
|
-
.muka-chat-
|
|
14722
|
-
grid-area: rail;
|
|
14723
|
-
/* Sits on the bubble's baseline (Figma 5355:44091) */
|
|
14724
|
-
align-self: end;
|
|
14855
|
+
.muka-chat-event__media {
|
|
14725
14856
|
display: flex;
|
|
14857
|
+
flex-wrap: wrap;
|
|
14726
14858
|
justify-content: center;
|
|
14727
|
-
|
|
14859
|
+
gap: var(--spacing-2);
|
|
14728
14860
|
}
|
|
14729
14861
|
|
|
14730
|
-
/*
|
|
14731
|
-
|
|
14732
|
-
|
|
14733
|
-
|
|
14734
|
-
|
|
14735
|
-
|
|
14736
|
-
|
|
14737
|
-
|
|
14738
|
-
|
|
14739
|
-
|
|
14740
|
-
|
|
14741
|
-
|
|
14742
|
-
}
|
|
14743
|
-
|
|
14744
|
-
/* Outweighs the avatar's own size class, which sets width/height directly */
|
|
14745
|
-
.muka-chat-message .muka-chat-message__rail > * {
|
|
14746
|
-
width: var(--chatbubble-avatar-size-compact);
|
|
14747
|
-
height: var(--chatbubble-avatar-size-compact);
|
|
14748
|
-
}
|
|
14862
|
+
/* Day divider: a small pill */
|
|
14863
|
+
.muka-chat-event__pill {
|
|
14864
|
+
display: inline-flex;
|
|
14865
|
+
align-items: center;
|
|
14866
|
+
padding: var(--spacing-1) var(--spacing-3);
|
|
14867
|
+
border-radius: var(--radius-full);
|
|
14868
|
+
background-color: var(--color-surface-level2);
|
|
14869
|
+
color: var(--color-text-default-default);
|
|
14870
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
14871
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
14872
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
14873
|
+
line-height: var(--text-label-sm-leading);
|
|
14749
14874
|
}
|
|
14750
14875
|
|
|
14751
|
-
/* ─── Bubble surface ───────────────────────────────────── */
|
|
14752
14876
|
|
|
14753
|
-
|
|
14754
|
-
|
|
14755
|
-
|
|
14756
|
-
|
|
14757
|
-
|
|
14758
|
-
|
|
14759
|
-
|
|
14760
|
-
|
|
14761
|
-
|
|
14762
|
-
* Ceiling from design (Figma 5355:44091). Below it, wrapping text fills the
|
|
14763
|
-
* row; above it the fixed cap leaves room for own/peer alignment.
|
|
14764
|
-
*/
|
|
14765
|
-
max-width: var(--chatbubble-max-width);
|
|
14766
|
-
position: relative;
|
|
14877
|
+
/* ChatComposer */
|
|
14878
|
+
/* ChatComposer Component Styles */
|
|
14879
|
+
|
|
14880
|
+
/*
|
|
14881
|
+
* The composer is a bare, fill-width row: no padding, background, border or
|
|
14882
|
+
* max-width of its own (Figma 5243:14141). Whatever hosts it owns the
|
|
14883
|
+
* container — see BottomBar's `chat` variant.
|
|
14884
|
+
*/
|
|
14885
|
+
.muka-chat-composer {
|
|
14767
14886
|
display: flex;
|
|
14768
14887
|
flex-direction: column;
|
|
14769
|
-
gap: var(--
|
|
14770
|
-
padding: var(--chatbubble-padding-block) var(--chatbubble-padding-inline);
|
|
14771
|
-
border-radius: var(--chatbubble-radius);
|
|
14772
|
-
border: var(--border-width-regular) solid transparent;
|
|
14773
|
-
box-shadow: var(--shadow-level2);
|
|
14774
|
-
word-break: break-word;
|
|
14775
|
-
}
|
|
14776
|
-
|
|
14777
|
-
/* Media, an embed or an action stack always run the full bubble width. */
|
|
14778
|
-
.muka-chat-message--has-blocks .muka-chat-message__bubble {
|
|
14888
|
+
gap: var(--spacing-3);
|
|
14779
14889
|
width: 100%;
|
|
14780
14890
|
}
|
|
14781
14891
|
|
|
14782
|
-
.muka-chat-
|
|
14783
|
-
|
|
14892
|
+
.muka-chat-composer--disabled {
|
|
14893
|
+
opacity: 0.6;
|
|
14894
|
+
pointer-events: none;
|
|
14784
14895
|
}
|
|
14785
14896
|
|
|
14786
|
-
|
|
14787
|
-
background-color: var(--chatbubble-color-own-background);
|
|
14788
|
-
border-color: var(--chatbubble-color-own-border);
|
|
14789
|
-
color: var(--chatbubble-color-own-foreground);
|
|
14790
|
-
}
|
|
14897
|
+
/* ─── Input row (default layout) ───────────────────────── */
|
|
14791
14898
|
|
|
14792
|
-
.muka-chat-
|
|
14793
|
-
|
|
14794
|
-
|
|
14795
|
-
|
|
14899
|
+
.muka-chat-composer__row {
|
|
14900
|
+
display: flex;
|
|
14901
|
+
width: 100%;
|
|
14902
|
+
align-items: flex-end;
|
|
14903
|
+
gap: var(--spacing-3);
|
|
14796
14904
|
}
|
|
14797
14905
|
|
|
14798
|
-
|
|
14799
|
-
|
|
14800
|
-
|
|
14801
|
-
|
|
14906
|
+
/*
|
|
14907
|
+
* Buttons beside the field keep their square size (`.muka-button--icon-only`
|
|
14908
|
+
* width). Only the field or recording bar flexes, so a wide waveform or a
|
|
14909
|
+
* long text can never squeeze them.
|
|
14910
|
+
*/
|
|
14911
|
+
.muka-chat-composer__row > .muka-button,
|
|
14912
|
+
.muka-chat-composer__options-input > .muka-button {
|
|
14913
|
+
flex-shrink: 0;
|
|
14802
14914
|
}
|
|
14803
14915
|
|
|
14804
|
-
/* ───
|
|
14916
|
+
/* ─── Text field ───────────────────────────────────────── */
|
|
14805
14917
|
|
|
14806
|
-
.muka-chat-
|
|
14918
|
+
.muka-chat-composer__field {
|
|
14807
14919
|
display: flex;
|
|
14808
|
-
flex
|
|
14920
|
+
flex: 1 1 auto;
|
|
14921
|
+
min-width: 0;
|
|
14922
|
+
box-sizing: border-box;
|
|
14809
14923
|
align-items: center;
|
|
14810
|
-
gap: var(--
|
|
14924
|
+
gap: var(--spacing-1);
|
|
14925
|
+
min-height: var(--input-field-height-lg, 48px);
|
|
14926
|
+
padding: 0 var(--spacing-2);
|
|
14927
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
14928
|
+
border-radius: var(--input-field-radius-lg);
|
|
14929
|
+
background-color: var(--input-field-color-default-background);
|
|
14930
|
+
transition: border-color 0.12s ease;
|
|
14811
14931
|
}
|
|
14812
14932
|
|
|
14813
|
-
.muka-chat-
|
|
14814
|
-
|
|
14815
|
-
|
|
14816
|
-
font-size: var(--text-body-base-bold-fontSize);
|
|
14817
|
-
line-height: var(--text-body-base-bold-lineHeight);
|
|
14933
|
+
.muka-chat-composer--options .muka-chat-composer__field {
|
|
14934
|
+
flex: 1 1 auto;
|
|
14935
|
+
width: auto;
|
|
14818
14936
|
}
|
|
14819
14937
|
|
|
14820
|
-
|
|
14821
|
-
|
|
14822
|
-
|
|
14938
|
+
/* Options input row: text field + mic / send beside it */
|
|
14939
|
+
.muka-chat-composer__options-input {
|
|
14940
|
+
display: flex;
|
|
14941
|
+
align-items: flex-end;
|
|
14942
|
+
gap: var(--spacing-3);
|
|
14943
|
+
width: 100%;
|
|
14944
|
+
}
|
|
14945
|
+
|
|
14946
|
+
.muka-chat-composer__field:focus-within {
|
|
14947
|
+
border-color: var(--input-field-color-focus-border, var(--color-action-default));
|
|
14948
|
+
}
|
|
14949
|
+
|
|
14950
|
+
.muka-chat-composer__input {
|
|
14951
|
+
flex: 1 1 auto;
|
|
14952
|
+
min-width: 0;
|
|
14953
|
+
width: 100%;
|
|
14954
|
+
box-sizing: border-box;
|
|
14955
|
+
resize: none;
|
|
14956
|
+
border: none;
|
|
14957
|
+
background: transparent;
|
|
14958
|
+
outline: none;
|
|
14959
|
+
padding: 0 var(--spacing-1);
|
|
14960
|
+
color: var(--color-text-default-default);
|
|
14823
14961
|
font-family: var(--text-body-base-regular-fontFamily);
|
|
14824
14962
|
font-weight: var(--text-body-base-regular-fontWeight);
|
|
14825
14963
|
font-size: var(--text-body-base-regular-fontSize);
|
|
14826
14964
|
line-height: var(--text-body-base-regular-lineHeight);
|
|
14965
|
+
appearance: none;
|
|
14966
|
+
-webkit-appearance: none;
|
|
14827
14967
|
}
|
|
14828
14968
|
|
|
14829
|
-
.muka-chat-
|
|
14830
|
-
|
|
14831
|
-
align-items: center;
|
|
14969
|
+
.muka-chat-composer__input::placeholder {
|
|
14970
|
+
color: var(--color-text-subtle-default);
|
|
14832
14971
|
}
|
|
14833
14972
|
|
|
14834
|
-
/*
|
|
14835
|
-
|
|
14836
|
-
|
|
14837
|
-
|
|
14838
|
-
.muka-chat-message--has-menu .muka-chat-message__header,
|
|
14839
|
-
.muka-chat-message--has-menu.muka-chat-message--no-header .muka-chat-message__message {
|
|
14840
|
-
padding-right: var(--spacing-10);
|
|
14973
|
+
/* Transcribing: the field is back but inert (Input disabled tokens). */
|
|
14974
|
+
.muka-chat-composer__field--disabled {
|
|
14975
|
+
border-color: var(--input-field-color-disabled-border);
|
|
14976
|
+
background-color: var(--input-field-color-disabled-background);
|
|
14841
14977
|
}
|
|
14842
14978
|
|
|
14843
|
-
|
|
14844
|
-
|
|
14845
|
-
padding-right: var(--spacing-10);
|
|
14979
|
+
.muka-chat-composer__field--disabled .muka-chat-composer__input::placeholder {
|
|
14980
|
+
color: var(--input-field-color-disabled-foreground);
|
|
14846
14981
|
}
|
|
14847
14982
|
|
|
14848
|
-
/*
|
|
14849
|
-
|
|
14850
|
-
|
|
14851
|
-
display: flex;
|
|
14852
|
-
flex-direction: column;
|
|
14853
|
-
gap: var(--chatbubble-gap);
|
|
14854
|
-
min-width: 0;
|
|
14983
|
+
/* Keep the in-field emoji button flush to the bottom-right as the field grows */
|
|
14984
|
+
.muka-chat-composer__emoji {
|
|
14985
|
+
flex-shrink: 0;
|
|
14855
14986
|
}
|
|
14856
14987
|
|
|
14857
|
-
|
|
14858
|
-
|
|
14988
|
+
/* Touch devices have emoji on their keyboard: no button there, unless the app
|
|
14989
|
+
keeps it with `emojiOnTouch`. */
|
|
14990
|
+
@media (pointer: coarse) {
|
|
14991
|
+
.muka-chat-composer__emoji:not(.muka-chat-composer__emoji--on-touch) {
|
|
14992
|
+
display: none;
|
|
14993
|
+
}
|
|
14859
14994
|
}
|
|
14860
14995
|
|
|
14861
|
-
|
|
14862
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
14863
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
14864
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
14865
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
14866
|
-
white-space: pre-wrap;
|
|
14867
|
-
word-break: break-word;
|
|
14868
|
-
}
|
|
14996
|
+
/* ─── Recording bar ────────────────────────────────────── */
|
|
14869
14997
|
|
|
14870
|
-
|
|
14871
|
-
|
|
14872
|
-
|
|
14998
|
+
.muka-chat-composer__recording {
|
|
14999
|
+
display: flex;
|
|
15000
|
+
flex: 1 1 auto;
|
|
15001
|
+
min-width: 0;
|
|
15002
|
+
box-sizing: border-box;
|
|
15003
|
+
align-items: center;
|
|
15004
|
+
min-height: var(--input-field-height-lg, 48px);
|
|
15005
|
+
padding: var(--card-padding-sm);
|
|
15006
|
+
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
15007
|
+
border-radius: var(--radius-lg);
|
|
15008
|
+
background-color: var(--card-color-default-background);
|
|
15009
|
+
/* A waveform wider than the space left is clipped, never laid over pause. */
|
|
15010
|
+
overflow: hidden;
|
|
14873
15011
|
}
|
|
14874
15012
|
|
|
14875
|
-
/* ───
|
|
15013
|
+
/* ─── Staged attachments strip ─────────────────────────── */
|
|
14876
15014
|
|
|
14877
|
-
.muka-chat-
|
|
15015
|
+
.muka-chat-composer__attachments-strip {
|
|
14878
15016
|
position: relative;
|
|
14879
|
-
|
|
14880
|
-
flex-direction: column;
|
|
14881
|
-
gap: var(--chatbubble-embed-gap);
|
|
14882
|
-
/* The card is inset from the blocks above and below it (Figma 5289:40562) */
|
|
14883
|
-
margin-block: var(--chatbubble-embed-margin-block);
|
|
14884
|
-
padding: var(--chatbubble-embed-padding-block) var(--chatbubble-embed-padding-inline);
|
|
14885
|
-
border-radius: var(--chatbubble-embed-radius);
|
|
14886
|
-
border: var(--border-width-regular) solid transparent;
|
|
15017
|
+
width: 100%;
|
|
14887
15018
|
}
|
|
14888
15019
|
|
|
14889
|
-
|
|
14890
|
-
|
|
14891
|
-
|
|
14892
|
-
|
|
14893
|
-
|
|
14894
|
-
|
|
14895
|
-
border-color: var(--chatbubble-embed-color-own-border);
|
|
14896
|
-
color: var(--chatbubble-embed-color-own-foreground);
|
|
15020
|
+
.muka-chat-composer__attachments {
|
|
15021
|
+
display: flex;
|
|
15022
|
+
gap: var(--spacing-3);
|
|
15023
|
+
overflow-x: auto;
|
|
15024
|
+
scroll-behavior: smooth;
|
|
15025
|
+
scrollbar-width: none;
|
|
14897
15026
|
}
|
|
14898
15027
|
|
|
14899
|
-
.muka-chat-
|
|
14900
|
-
|
|
14901
|
-
border-color: var(--chatbubble-embed-color-peer-border);
|
|
14902
|
-
color: var(--chatbubble-embed-color-peer-foreground);
|
|
15028
|
+
.muka-chat-composer__attachments::-webkit-scrollbar {
|
|
15029
|
+
display: none;
|
|
14903
15030
|
}
|
|
14904
15031
|
|
|
14905
|
-
.muka-chat-
|
|
14906
|
-
|
|
14907
|
-
|
|
14908
|
-
|
|
15032
|
+
.muka-chat-composer__overflow {
|
|
15033
|
+
position: absolute;
|
|
15034
|
+
top: 50%;
|
|
15035
|
+
right: var(--spacing-2);
|
|
15036
|
+
transform: translateY(-50%);
|
|
14909
15037
|
}
|
|
14910
15038
|
|
|
14911
|
-
|
|
15039
|
+
/* ─── Options mode (Figma State=Options / State7 / State8) ─ */
|
|
15040
|
+
|
|
15041
|
+
.muka-chat-composer__prompt {
|
|
14912
15042
|
display: flex;
|
|
14913
|
-
|
|
14914
|
-
gap: var(--
|
|
14915
|
-
|
|
15043
|
+
align-items: flex-start;
|
|
15044
|
+
gap: var(--spacing-3);
|
|
15045
|
+
width: 100%;
|
|
14916
15046
|
}
|
|
14917
15047
|
|
|
14918
|
-
.muka-chat-
|
|
14919
|
-
|
|
14920
|
-
top: var(--chatbubble-embed-padding-block);
|
|
14921
|
-
right: var(--chatbubble-embed-padding-inline);
|
|
15048
|
+
.muka-chat-composer__prompt-step {
|
|
15049
|
+
flex-shrink: 0;
|
|
14922
15050
|
}
|
|
14923
15051
|
|
|
14924
|
-
|
|
14925
|
-
|
|
14926
|
-
.muka-chat-message__action-stack {
|
|
15052
|
+
.muka-chat-composer__prompt-text {
|
|
14927
15053
|
display: flex;
|
|
14928
15054
|
flex-direction: column;
|
|
14929
|
-
gap: var(--
|
|
15055
|
+
gap: var(--spacing-1);
|
|
15056
|
+
min-width: 0;
|
|
15057
|
+
flex: 1 1 auto;
|
|
14930
15058
|
}
|
|
14931
15059
|
|
|
14932
|
-
|
|
15060
|
+
.muka-chat-composer__prompt-heading {
|
|
15061
|
+
color: var(--color-text-default-default);
|
|
15062
|
+
font-family: var(--text-heading-sm-fontFamily);
|
|
15063
|
+
font-weight: var(--text-heading-sm-fontWeight);
|
|
15064
|
+
font-size: var(--text-heading-sm-fontSize);
|
|
15065
|
+
line-height: var(--text-heading-sm-lineHeight);
|
|
15066
|
+
}
|
|
14933
15067
|
|
|
14934
|
-
|
|
14935
|
-
|
|
14936
|
-
|
|
14937
|
-
|
|
15068
|
+
.muka-chat-composer__prompt-description {
|
|
15069
|
+
color: var(--color-text-subtle-default);
|
|
15070
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
15071
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
15072
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
15073
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
15074
|
+
}
|
|
14938
15075
|
|
|
14939
|
-
.muka-chat-
|
|
14940
|
-
|
|
14941
|
-
font-family: var(--text-body-xs-regular-fontFamily);
|
|
14942
|
-
font-weight: var(--text-body-xs-regular-fontWeight);
|
|
14943
|
-
font-size: var(--text-body-xs-regular-fontSize);
|
|
14944
|
-
line-height: var(--text-body-xs-regular-lineHeight);
|
|
14945
|
-
white-space: nowrap;
|
|
15076
|
+
.muka-chat-composer__choices {
|
|
15077
|
+
width: 100%;
|
|
14946
15078
|
}
|
|
14947
15079
|
|
|
14948
15080
|
/*
|
|
14949
|
-
*
|
|
14950
|
-
*
|
|
15081
|
+
* Many choices (a phone with seven options) would push the field and the step
|
|
15082
|
+
* footer off screen. The card gets a height limit and scrolls on its own, so
|
|
15083
|
+
* the prompt, the field and the footer stay in view.
|
|
14951
15084
|
*/
|
|
14952
|
-
.muka-chat-
|
|
14953
|
-
|
|
14954
|
-
|
|
14955
|
-
|
|
15085
|
+
.muka-chat-composer__choices-card {
|
|
15086
|
+
width: 100%;
|
|
15087
|
+
max-height: 45dvh;
|
|
15088
|
+
overflow-x: hidden;
|
|
15089
|
+
overflow-y: auto;
|
|
15090
|
+
overscroll-behavior: contain;
|
|
14956
15091
|
}
|
|
14957
15092
|
|
|
14958
|
-
/*
|
|
14959
|
-
|
|
14960
|
-
|
|
14961
|
-
|
|
14962
|
-
* `__message` padding-right above), so it needs no extra bottom space.
|
|
14963
|
-
*/
|
|
14964
|
-
.muka-chat-message--has-timestamp.muka-chat-message--trailing-block .muka-chat-message__body {
|
|
14965
|
-
padding-bottom: var(--text-body-xs-regular-lineHeight);
|
|
15093
|
+
/* A choice is one short line, not a navigation row: compact padding. */
|
|
15094
|
+
.muka-chat-composer__choice.muka-listitem {
|
|
15095
|
+
align-items: center;
|
|
15096
|
+
padding-block: var(--spacing-3);
|
|
14966
15097
|
}
|
|
14967
15098
|
|
|
14968
|
-
/*
|
|
15099
|
+
/* Choice rows: the ListItem is the interactive control; the Radio/Checkbox is
|
|
15100
|
+
decorative for AT (aria-hidden) and sits in the leading slot. */
|
|
15101
|
+
.muka-chat-composer__choice-control {
|
|
15102
|
+
display: inline-flex;
|
|
15103
|
+
align-items: center;
|
|
15104
|
+
pointer-events: none;
|
|
15105
|
+
}
|
|
14969
15106
|
|
|
14970
|
-
|
|
14971
|
-
|
|
14972
|
-
* everywhere, and pinned while its menu is open. On touch the equivalent
|
|
14973
|
-
* affordance is a long-press on the bubble, which opens an ActionSheet.
|
|
14974
|
-
*/
|
|
14975
|
-
.muka-chat-message__menu {
|
|
14976
|
-
position: absolute;
|
|
14977
|
-
top: var(--spacing-1);
|
|
14978
|
-
right: var(--spacing-1);
|
|
14979
|
-
opacity: 0;
|
|
14980
|
-
pointer-events: none;
|
|
14981
|
-
}
|
|
14982
|
-
|
|
14983
|
-
.muka-chat-message__menu:focus-within,
|
|
14984
|
-
.muka-chat-message--menu-open .muka-chat-message__menu {
|
|
14985
|
-
opacity: 1;
|
|
14986
|
-
pointer-events: auto;
|
|
14987
|
-
}
|
|
14988
|
-
|
|
14989
|
-
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
|
|
14990
|
-
.muka-chat-message__bubble:hover .muka-chat-message__menu {
|
|
14991
|
-
opacity: 1;
|
|
14992
|
-
pointer-events: auto;
|
|
14993
|
-
}
|
|
14994
|
-
}
|
|
14995
|
-
|
|
14996
|
-
/* Suppress iOS Safari's own callout so the long-press sheet can take over */
|
|
14997
|
-
@media (pointer: coarse) {
|
|
14998
|
-
.muka-chat-message--has-menu .muka-chat-message__bubble {
|
|
14999
|
-
-webkit-touch-callout: none;
|
|
15000
|
-
}
|
|
15001
|
-
}
|
|
15002
|
-
|
|
15003
|
-
/* ─── Print ────────────────────────────────────────────── */
|
|
15004
|
-
|
|
15005
|
-
@media print {
|
|
15006
|
-
.muka-chat-message__bubble {
|
|
15007
|
-
box-shadow: none;
|
|
15008
|
-
break-inside: avoid;
|
|
15009
|
-
print-color-adjust: exact;
|
|
15010
|
-
-webkit-print-color-adjust: exact;
|
|
15011
|
-
}
|
|
15012
|
-
|
|
15013
|
-
.muka-chat-message__embed {
|
|
15014
|
-
break-inside: avoid;
|
|
15015
|
-
print-color-adjust: exact;
|
|
15016
|
-
-webkit-print-color-adjust: exact;
|
|
15017
|
-
}
|
|
15018
|
-
|
|
15019
|
-
.muka-chat-message__menu,
|
|
15020
|
-
.muka-chat-message__embed-copy,
|
|
15021
|
-
.muka-chat-message__action-stack {
|
|
15022
|
-
display: none;
|
|
15023
|
-
}
|
|
15024
|
-
}
|
|
15025
|
-
|
|
15026
|
-
/* ─── Muted (a message from another context) ──────────────
|
|
15027
|
-
* The bubble drops its fill and keeps a hairline, so it recedes next to the
|
|
15028
|
-
* current conversation; the text keeps full contrast. */
|
|
15029
|
-
|
|
15030
|
-
.muka-chat-message--muted .muka-chat-message__bubble {
|
|
15031
|
-
background-color: transparent;
|
|
15032
|
-
border-color: var(--chatbubble-color-peer-border);
|
|
15033
|
-
color: var(--color-text-default-default);
|
|
15034
|
-
}
|
|
15035
|
-
|
|
15036
|
-
|
|
15037
|
-
/* ChatEvent */
|
|
15038
|
-
/* ChatEvent: a line in a chat that isn't a message from a person */
|
|
15039
|
-
|
|
15040
|
-
.muka-chat-event {
|
|
15041
|
-
display: flex;
|
|
15042
|
-
flex-direction: column;
|
|
15043
|
-
align-items: center;
|
|
15044
|
-
gap: var(--spacing-2);
|
|
15045
|
-
width: 100%;
|
|
15046
|
-
padding: 0 var(--spacing-4);
|
|
15047
|
-
box-sizing: border-box;
|
|
15048
|
-
text-align: center;
|
|
15049
|
-
}
|
|
15050
|
-
|
|
15051
|
-
.muka-chat-event__text {
|
|
15052
|
-
margin: 0;
|
|
15053
|
-
max-width: var(--chatbubble-max-width);
|
|
15054
|
-
/* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
|
|
15055
|
-
and this is body text. Size and centring set it apart from messages. */
|
|
15056
|
-
color: var(--color-text-default-default);
|
|
15057
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15058
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15059
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
15060
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15061
|
-
}
|
|
15062
|
-
|
|
15063
|
-
.muka-chat-event__timestamp {
|
|
15064
|
-
white-space: nowrap;
|
|
15065
|
-
}
|
|
15066
|
-
|
|
15067
|
-
.muka-chat-event__media {
|
|
15068
|
-
display: flex;
|
|
15069
|
-
flex-wrap: wrap;
|
|
15070
|
-
justify-content: center;
|
|
15071
|
-
gap: var(--spacing-2);
|
|
15072
|
-
}
|
|
15073
|
-
|
|
15074
|
-
/* Day divider: a small pill */
|
|
15075
|
-
.muka-chat-event__pill {
|
|
15076
|
-
display: inline-flex;
|
|
15077
|
-
align-items: center;
|
|
15078
|
-
padding: var(--spacing-1) var(--spacing-3);
|
|
15079
|
-
border-radius: var(--radius-full);
|
|
15080
|
-
background-color: var(--color-surface-level2);
|
|
15081
|
-
color: var(--color-text-default-default);
|
|
15082
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15083
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
15084
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
15085
|
-
line-height: var(--text-label-sm-leading);
|
|
15086
|
-
}
|
|
15087
|
-
|
|
15088
|
-
|
|
15089
|
-
/* ChatComposer */
|
|
15090
|
-
/* ChatComposer Component Styles */
|
|
15091
|
-
|
|
15092
|
-
/*
|
|
15093
|
-
* The composer is a bare, fill-width row: no padding, background, border or
|
|
15094
|
-
* max-width of its own (Figma 5243:14141). Whatever hosts it owns the
|
|
15095
|
-
* container — see BottomBar's `chat` variant.
|
|
15096
|
-
*/
|
|
15097
|
-
.muka-chat-composer {
|
|
15098
|
-
display: flex;
|
|
15099
|
-
flex-direction: column;
|
|
15100
|
-
gap: var(--spacing-3);
|
|
15101
|
-
width: 100%;
|
|
15102
|
-
}
|
|
15103
|
-
|
|
15104
|
-
.muka-chat-composer--disabled {
|
|
15105
|
-
opacity: 0.6;
|
|
15106
|
-
pointer-events: none;
|
|
15107
|
-
}
|
|
15108
|
-
|
|
15109
|
-
/* ─── Input row (default layout) ───────────────────────── */
|
|
15110
|
-
|
|
15111
|
-
.muka-chat-composer__row {
|
|
15112
|
-
display: flex;
|
|
15113
|
-
width: 100%;
|
|
15114
|
-
align-items: flex-end;
|
|
15115
|
-
gap: var(--spacing-3);
|
|
15116
|
-
}
|
|
15117
|
-
|
|
15118
|
-
/*
|
|
15119
|
-
* Buttons beside the field keep their square size (`.muka-button--icon-only`
|
|
15120
|
-
* width). Only the field or recording bar flexes, so a wide waveform or a
|
|
15121
|
-
* long text can never squeeze them.
|
|
15122
|
-
*/
|
|
15123
|
-
.muka-chat-composer__row > .muka-button,
|
|
15124
|
-
.muka-chat-composer__options-input > .muka-button {
|
|
15125
|
-
flex-shrink: 0;
|
|
15126
|
-
}
|
|
15127
|
-
|
|
15128
|
-
/* ─── Text field ───────────────────────────────────────── */
|
|
15129
|
-
|
|
15130
|
-
.muka-chat-composer__field {
|
|
15131
|
-
display: flex;
|
|
15132
|
-
flex: 1 1 auto;
|
|
15133
|
-
min-width: 0;
|
|
15134
|
-
box-sizing: border-box;
|
|
15135
|
-
align-items: center;
|
|
15136
|
-
gap: var(--spacing-1);
|
|
15137
|
-
min-height: var(--input-field-height-lg, 48px);
|
|
15138
|
-
padding: 0 var(--spacing-2);
|
|
15139
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
15140
|
-
border-radius: var(--input-field-radius-lg);
|
|
15141
|
-
background-color: var(--input-field-color-default-background);
|
|
15142
|
-
transition: border-color 0.12s ease;
|
|
15143
|
-
}
|
|
15144
|
-
|
|
15145
|
-
.muka-chat-composer--options .muka-chat-composer__field {
|
|
15146
|
-
flex: 1 1 auto;
|
|
15147
|
-
width: auto;
|
|
15148
|
-
}
|
|
15149
|
-
|
|
15150
|
-
/* Options input row: text field + mic / send beside it */
|
|
15151
|
-
.muka-chat-composer__options-input {
|
|
15152
|
-
display: flex;
|
|
15153
|
-
align-items: flex-end;
|
|
15154
|
-
gap: var(--spacing-3);
|
|
15155
|
-
width: 100%;
|
|
15156
|
-
}
|
|
15157
|
-
|
|
15158
|
-
.muka-chat-composer__field:focus-within {
|
|
15159
|
-
border-color: var(--input-field-color-focus-border, var(--color-action-default));
|
|
15160
|
-
}
|
|
15161
|
-
|
|
15162
|
-
.muka-chat-composer__input {
|
|
15163
|
-
flex: 1 1 auto;
|
|
15164
|
-
min-width: 0;
|
|
15165
|
-
width: 100%;
|
|
15166
|
-
box-sizing: border-box;
|
|
15167
|
-
resize: none;
|
|
15168
|
-
border: none;
|
|
15169
|
-
background: transparent;
|
|
15170
|
-
outline: none;
|
|
15171
|
-
padding: 0 var(--spacing-1);
|
|
15172
|
-
color: var(--color-text-default-default);
|
|
15173
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
15174
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
15175
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
15176
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
15177
|
-
appearance: none;
|
|
15178
|
-
-webkit-appearance: none;
|
|
15179
|
-
}
|
|
15180
|
-
|
|
15181
|
-
.muka-chat-composer__input::placeholder {
|
|
15182
|
-
color: var(--color-text-subtle-default);
|
|
15183
|
-
}
|
|
15184
|
-
|
|
15185
|
-
/* Transcribing: the field is back but inert (Input disabled tokens). */
|
|
15186
|
-
.muka-chat-composer__field--disabled {
|
|
15187
|
-
border-color: var(--input-field-color-disabled-border);
|
|
15188
|
-
background-color: var(--input-field-color-disabled-background);
|
|
15189
|
-
}
|
|
15190
|
-
|
|
15191
|
-
.muka-chat-composer__field--disabled .muka-chat-composer__input::placeholder {
|
|
15192
|
-
color: var(--input-field-color-disabled-foreground);
|
|
15193
|
-
}
|
|
15194
|
-
|
|
15195
|
-
/* Keep the in-field emoji button flush to the bottom-right as the field grows */
|
|
15196
|
-
.muka-chat-composer__emoji {
|
|
15197
|
-
flex-shrink: 0;
|
|
15198
|
-
}
|
|
15199
|
-
|
|
15200
|
-
/* Touch devices have emoji on their keyboard: no button there, unless the app
|
|
15201
|
-
keeps it with `emojiOnTouch`. */
|
|
15202
|
-
@media (pointer: coarse) {
|
|
15203
|
-
.muka-chat-composer__emoji:not(.muka-chat-composer__emoji--on-touch) {
|
|
15204
|
-
display: none;
|
|
15205
|
-
}
|
|
15206
|
-
}
|
|
15207
|
-
|
|
15208
|
-
/* ─── Recording bar ────────────────────────────────────── */
|
|
15209
|
-
|
|
15210
|
-
.muka-chat-composer__recording {
|
|
15211
|
-
display: flex;
|
|
15212
|
-
flex: 1 1 auto;
|
|
15213
|
-
min-width: 0;
|
|
15214
|
-
box-sizing: border-box;
|
|
15215
|
-
align-items: center;
|
|
15216
|
-
min-height: var(--input-field-height-lg, 48px);
|
|
15217
|
-
padding: var(--card-padding-sm);
|
|
15218
|
-
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
15219
|
-
border-radius: var(--radius-lg);
|
|
15220
|
-
background-color: var(--card-color-default-background);
|
|
15221
|
-
/* A waveform wider than the space left is clipped, never laid over pause. */
|
|
15222
|
-
overflow: hidden;
|
|
15223
|
-
}
|
|
15224
|
-
|
|
15225
|
-
/* ─── Staged attachments strip ─────────────────────────── */
|
|
15226
|
-
|
|
15227
|
-
.muka-chat-composer__attachments-strip {
|
|
15228
|
-
position: relative;
|
|
15229
|
-
width: 100%;
|
|
15230
|
-
}
|
|
15231
|
-
|
|
15232
|
-
.muka-chat-composer__attachments {
|
|
15233
|
-
display: flex;
|
|
15234
|
-
gap: var(--spacing-3);
|
|
15235
|
-
overflow-x: auto;
|
|
15236
|
-
scroll-behavior: smooth;
|
|
15237
|
-
scrollbar-width: none;
|
|
15238
|
-
}
|
|
15239
|
-
|
|
15240
|
-
.muka-chat-composer__attachments::-webkit-scrollbar {
|
|
15241
|
-
display: none;
|
|
15242
|
-
}
|
|
15243
|
-
|
|
15244
|
-
.muka-chat-composer__overflow {
|
|
15245
|
-
position: absolute;
|
|
15246
|
-
top: 50%;
|
|
15247
|
-
right: var(--spacing-2);
|
|
15248
|
-
transform: translateY(-50%);
|
|
15249
|
-
}
|
|
15250
|
-
|
|
15251
|
-
/* ─── Options mode (Figma State=Options / State7 / State8) ─ */
|
|
15252
|
-
|
|
15253
|
-
.muka-chat-composer__prompt {
|
|
15254
|
-
display: flex;
|
|
15255
|
-
align-items: flex-start;
|
|
15256
|
-
gap: var(--spacing-3);
|
|
15257
|
-
width: 100%;
|
|
15258
|
-
}
|
|
15259
|
-
|
|
15260
|
-
.muka-chat-composer__prompt-step {
|
|
15261
|
-
flex-shrink: 0;
|
|
15262
|
-
}
|
|
15263
|
-
|
|
15264
|
-
.muka-chat-composer__prompt-text {
|
|
15265
|
-
display: flex;
|
|
15266
|
-
flex-direction: column;
|
|
15267
|
-
gap: var(--spacing-1);
|
|
15268
|
-
min-width: 0;
|
|
15269
|
-
flex: 1 1 auto;
|
|
15270
|
-
}
|
|
15271
|
-
|
|
15272
|
-
.muka-chat-composer__prompt-heading {
|
|
15273
|
-
color: var(--color-text-default-default);
|
|
15274
|
-
font-family: var(--text-heading-sm-fontFamily);
|
|
15275
|
-
font-weight: var(--text-heading-sm-fontWeight);
|
|
15276
|
-
font-size: var(--text-heading-sm-fontSize);
|
|
15277
|
-
line-height: var(--text-heading-sm-lineHeight);
|
|
15278
|
-
}
|
|
15279
|
-
|
|
15280
|
-
.muka-chat-composer__prompt-description {
|
|
15281
|
-
color: var(--color-text-subtle-default);
|
|
15282
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
15283
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
15284
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
15285
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
15286
|
-
}
|
|
15287
|
-
|
|
15288
|
-
.muka-chat-composer__choices {
|
|
15289
|
-
width: 100%;
|
|
15290
|
-
}
|
|
15291
|
-
|
|
15292
|
-
/*
|
|
15293
|
-
* Many choices (a phone with seven options) would push the field and the step
|
|
15294
|
-
* footer off screen. The card gets a height limit and scrolls on its own, so
|
|
15295
|
-
* the prompt, the field and the footer stay in view.
|
|
15296
|
-
*/
|
|
15297
|
-
.muka-chat-composer__choices-card {
|
|
15298
|
-
width: 100%;
|
|
15299
|
-
max-height: 45dvh;
|
|
15300
|
-
overflow-x: hidden;
|
|
15301
|
-
overflow-y: auto;
|
|
15302
|
-
overscroll-behavior: contain;
|
|
15303
|
-
}
|
|
15304
|
-
|
|
15305
|
-
/* A choice is one short line, not a navigation row: compact padding. */
|
|
15306
|
-
.muka-chat-composer__choice.muka-listitem {
|
|
15307
|
-
align-items: center;
|
|
15308
|
-
padding-block: var(--spacing-3);
|
|
15309
|
-
}
|
|
15310
|
-
|
|
15311
|
-
/* Choice rows: the ListItem is the interactive control; the Radio/Checkbox is
|
|
15312
|
-
decorative for AT (aria-hidden) and sits in the leading slot. */
|
|
15313
|
-
.muka-chat-composer__choice-control {
|
|
15314
|
-
display: inline-flex;
|
|
15315
|
-
align-items: center;
|
|
15316
|
-
pointer-events: none;
|
|
15317
|
-
}
|
|
15318
|
-
|
|
15319
|
-
.muka-chat-composer__choice-control .muka-radio,
|
|
15320
|
-
.muka-chat-composer__choice-control .muka-checkbox {
|
|
15107
|
+
.muka-chat-composer__choice-control .muka-radio,
|
|
15108
|
+
.muka-chat-composer__choice-control .muka-checkbox {
|
|
15321
15109
|
pointer-events: none;
|
|
15322
15110
|
}
|
|
15323
15111
|
|
|
@@ -18032,144 +17820,377 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
18032
17820
|
}
|
|
18033
17821
|
}
|
|
18034
17822
|
|
|
18035
|
-
.muka-accordion__content-inner {
|
|
18036
|
-
padding: 0 var(--spacing-4) var(--spacing-5);
|
|
18037
|
-
color: var(--color-text-default-default);
|
|
17823
|
+
.muka-accordion__content-inner {
|
|
17824
|
+
padding: 0 var(--spacing-4) var(--spacing-5);
|
|
17825
|
+
color: var(--color-text-default-default);
|
|
17826
|
+
}
|
|
17827
|
+
|
|
17828
|
+
/* ─── Variant: flush ────────────────────────────────────────────────────── */
|
|
17829
|
+
|
|
17830
|
+
.muka-accordion--flush .muka-accordion__trigger {
|
|
17831
|
+
padding-left: 0;
|
|
17832
|
+
padding-right: 0;
|
|
17833
|
+
}
|
|
17834
|
+
|
|
17835
|
+
.muka-accordion--flush .muka-accordion__content-inner {
|
|
17836
|
+
padding-left: 0;
|
|
17837
|
+
padding-right: 0;
|
|
17838
|
+
}
|
|
17839
|
+
|
|
17840
|
+
/* ─── Variant: contained ────────────────────────────────────────────────── */
|
|
17841
|
+
|
|
17842
|
+
.muka-accordion--contained {
|
|
17843
|
+
border: var(--border-width-regular) solid var(--color-border-default);
|
|
17844
|
+
border-radius: var(--radius-md);
|
|
17845
|
+
overflow: hidden;
|
|
17846
|
+
}
|
|
17847
|
+
|
|
17848
|
+
.muka-accordion--contained .muka-accordion__item {
|
|
17849
|
+
background-color: var(--color-surface-level3);
|
|
17850
|
+
}
|
|
17851
|
+
|
|
17852
|
+
.muka-accordion--contained .muka-accordion__item:last-child {
|
|
17853
|
+
border-bottom: none;
|
|
17854
|
+
}
|
|
17855
|
+
|
|
17856
|
+
|
|
17857
|
+
/* ChatMessage */
|
|
17858
|
+
/* ChatMessage Component Styles */
|
|
17859
|
+
|
|
17860
|
+
.muka-chat-message {
|
|
17861
|
+
display: flex;
|
|
17862
|
+
flex-direction: column;
|
|
17863
|
+
width: 100%;
|
|
17864
|
+
max-width: 100%;
|
|
17865
|
+
}
|
|
17866
|
+
|
|
17867
|
+
/* ─── Row: avatar rail + bubble ────────────────────────── */
|
|
17868
|
+
|
|
17869
|
+
.muka-chat-message__row {
|
|
17870
|
+
display: grid;
|
|
17871
|
+
grid-template-columns: minmax(0, 1fr);
|
|
17872
|
+
grid-template-areas: 'bubble';
|
|
17873
|
+
column-gap: var(--chatbubble-row-gap);
|
|
17874
|
+
width: 100%;
|
|
17875
|
+
}
|
|
17876
|
+
|
|
17877
|
+
.muka-chat-message--has-avatar .muka-chat-message__row {
|
|
17878
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
17879
|
+
grid-template-areas: 'rail bubble';
|
|
17880
|
+
}
|
|
17881
|
+
|
|
17882
|
+
.muka-chat-message__rail {
|
|
17883
|
+
grid-area: rail;
|
|
17884
|
+
/* Sits on the bubble's baseline (Figma 5355:44091) */
|
|
17885
|
+
align-self: end;
|
|
17886
|
+
display: flex;
|
|
17887
|
+
justify-content: center;
|
|
17888
|
+
min-width: var(--chatbubble-avatar-size);
|
|
17889
|
+
}
|
|
17890
|
+
|
|
17891
|
+
/*
|
|
17892
|
+
* The Small size in Figma (5373:44702) halves the avatar to 32px and tightens
|
|
17893
|
+
* the gap to the bubble. Size the avatar itself, not just the rail, so the
|
|
17894
|
+
* bubbles keep their alignment. The header row keeps its own gap.
|
|
17895
|
+
*/
|
|
17896
|
+
@media (max-width: 1023px) {
|
|
17897
|
+
.muka-chat-message__row {
|
|
17898
|
+
column-gap: var(--chatbubble-row-gap-compact);
|
|
17899
|
+
}
|
|
17900
|
+
|
|
17901
|
+
.muka-chat-message__rail {
|
|
17902
|
+
min-width: var(--chatbubble-avatar-size-compact);
|
|
17903
|
+
}
|
|
17904
|
+
|
|
17905
|
+
/* Outweighs the avatar's own size class, which sets width/height directly */
|
|
17906
|
+
.muka-chat-message .muka-chat-message__rail > * {
|
|
17907
|
+
width: var(--chatbubble-avatar-size-compact);
|
|
17908
|
+
height: var(--chatbubble-avatar-size-compact);
|
|
17909
|
+
}
|
|
17910
|
+
}
|
|
17911
|
+
|
|
17912
|
+
/* ─── Bubble surface ───────────────────────────────────── */
|
|
17913
|
+
|
|
17914
|
+
.muka-chat-message__bubble {
|
|
17915
|
+
grid-area: bubble;
|
|
17916
|
+
/*
|
|
17917
|
+
* Width follows the content: a single line hugs, and once the text wraps the
|
|
17918
|
+
* bubble fills to the shared max width. Robust to string or rich children —
|
|
17919
|
+
* no length measuring needed (Figma `Text length` on 5355:44091).
|
|
17920
|
+
*/
|
|
17921
|
+
width: fit-content;
|
|
17922
|
+
/*
|
|
17923
|
+
* Ceiling from design (Figma 5355:44091). Below it, wrapping text fills the
|
|
17924
|
+
* row; above it the fixed cap leaves room for own/peer alignment.
|
|
17925
|
+
*/
|
|
17926
|
+
max-width: var(--chatbubble-max-width);
|
|
17927
|
+
position: relative;
|
|
17928
|
+
display: flex;
|
|
17929
|
+
flex-direction: column;
|
|
17930
|
+
gap: var(--chatbubble-gap);
|
|
17931
|
+
padding: var(--chatbubble-padding-block) var(--chatbubble-padding-inline);
|
|
17932
|
+
border-radius: var(--chatbubble-radius);
|
|
17933
|
+
border: var(--border-width-regular) solid transparent;
|
|
17934
|
+
box-shadow: var(--shadow-level2);
|
|
17935
|
+
word-break: break-word;
|
|
17936
|
+
}
|
|
17937
|
+
|
|
17938
|
+
/* Media, an embed or an action stack always run the full bubble width. */
|
|
17939
|
+
.muka-chat-message--has-blocks .muka-chat-message__bubble {
|
|
17940
|
+
width: 100%;
|
|
17941
|
+
}
|
|
17942
|
+
|
|
17943
|
+
.muka-chat-message--own .muka-chat-message__bubble {
|
|
17944
|
+
justify-self: end;
|
|
17945
|
+
}
|
|
17946
|
+
|
|
17947
|
+
.muka-chat-message--own .muka-chat-message__bubble {
|
|
17948
|
+
background-color: var(--chatbubble-color-own-background);
|
|
17949
|
+
border-color: var(--chatbubble-color-own-border);
|
|
17950
|
+
color: var(--chatbubble-color-own-foreground);
|
|
17951
|
+
}
|
|
17952
|
+
|
|
17953
|
+
.muka-chat-message--peer .muka-chat-message__bubble {
|
|
17954
|
+
background-color: var(--chatbubble-color-peer-background);
|
|
17955
|
+
border-color: var(--chatbubble-color-peer-border);
|
|
17956
|
+
color: var(--chatbubble-color-peer-foreground);
|
|
17957
|
+
}
|
|
17958
|
+
|
|
17959
|
+
.muka-chat-message--agent .muka-chat-message__bubble {
|
|
17960
|
+
background-color: var(--chatbubble-color-agent-background);
|
|
17961
|
+
border-color: var(--chatbubble-color-agent-border);
|
|
17962
|
+
color: var(--chatbubble-color-agent-foreground);
|
|
17963
|
+
}
|
|
17964
|
+
|
|
17965
|
+
/* ─── Header row (author · meta · time · badge) ────────── */
|
|
17966
|
+
|
|
17967
|
+
.muka-chat-message__header {
|
|
17968
|
+
display: flex;
|
|
17969
|
+
flex-flow: row wrap;
|
|
17970
|
+
align-items: center;
|
|
17971
|
+
gap: var(--chatbubble-row-gap);
|
|
17972
|
+
}
|
|
17973
|
+
|
|
17974
|
+
.muka-chat-message__author {
|
|
17975
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
17976
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
17977
|
+
font-size: var(--text-body-base-bold-fontSize);
|
|
17978
|
+
line-height: var(--text-body-base-bold-lineHeight);
|
|
17979
|
+
}
|
|
17980
|
+
|
|
17981
|
+
.muka-chat-message__author-meta {
|
|
17982
|
+
/* Inherits the variant's body colour from the bubble */
|
|
17983
|
+
color: inherit;
|
|
17984
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
17985
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
17986
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
17987
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
18038
17988
|
}
|
|
18039
17989
|
|
|
18040
|
-
|
|
17990
|
+
.muka-chat-message__badge {
|
|
17991
|
+
display: inline-flex;
|
|
17992
|
+
align-items: center;
|
|
17993
|
+
}
|
|
18041
17994
|
|
|
18042
|
-
|
|
18043
|
-
|
|
18044
|
-
|
|
17995
|
+
/*
|
|
17996
|
+
* Keep the first line of content clear of the absolutely positioned menu
|
|
17997
|
+
* button in the bubble's top-right corner.
|
|
17998
|
+
*/
|
|
17999
|
+
.muka-chat-message--has-menu .muka-chat-message__header,
|
|
18000
|
+
.muka-chat-message--has-menu.muka-chat-message--no-header .muka-chat-message__message {
|
|
18001
|
+
padding-right: var(--spacing-10);
|
|
18045
18002
|
}
|
|
18046
18003
|
|
|
18047
|
-
|
|
18048
|
-
|
|
18049
|
-
padding-right:
|
|
18004
|
+
/* …and the last line clear of the inset timestamp in the bottom-right corner */
|
|
18005
|
+
.muka-chat-message--has-timestamp .muka-chat-message__message {
|
|
18006
|
+
padding-right: var(--spacing-10);
|
|
18050
18007
|
}
|
|
18051
18008
|
|
|
18052
|
-
/* ───
|
|
18009
|
+
/* ─── Body ─────────────────────────────────────────────── */
|
|
18053
18010
|
|
|
18054
|
-
.muka-
|
|
18055
|
-
|
|
18056
|
-
|
|
18057
|
-
|
|
18011
|
+
.muka-chat-message__body {
|
|
18012
|
+
display: flex;
|
|
18013
|
+
flex-direction: column;
|
|
18014
|
+
gap: var(--chatbubble-gap);
|
|
18015
|
+
min-width: 0;
|
|
18058
18016
|
}
|
|
18059
18017
|
|
|
18060
|
-
.muka-
|
|
18061
|
-
|
|
18018
|
+
.muka-chat-message__media {
|
|
18019
|
+
min-width: 0;
|
|
18062
18020
|
}
|
|
18063
18021
|
|
|
18064
|
-
.muka-
|
|
18065
|
-
|
|
18022
|
+
.muka-chat-message__message {
|
|
18023
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
18024
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
18025
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
18026
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
18027
|
+
white-space: pre-wrap;
|
|
18028
|
+
word-break: break-word;
|
|
18066
18029
|
}
|
|
18067
18030
|
|
|
18031
|
+
/* Empty message block should not add a gap of its own */
|
|
18032
|
+
.muka-chat-message__message:empty {
|
|
18033
|
+
display: none;
|
|
18034
|
+
}
|
|
18068
18035
|
|
|
18069
|
-
/*
|
|
18070
|
-
/* SwipeActions Component Styles */
|
|
18036
|
+
/* ─── Embedded card ────────────────────────────────────── */
|
|
18071
18037
|
|
|
18072
|
-
.muka-
|
|
18038
|
+
.muka-chat-message__embed {
|
|
18073
18039
|
position: relative;
|
|
18074
|
-
|
|
18075
|
-
|
|
18076
|
-
-
|
|
18077
|
-
|
|
18078
|
-
|
|
18040
|
+
display: flex;
|
|
18041
|
+
flex-direction: column;
|
|
18042
|
+
gap: var(--chatbubble-embed-gap);
|
|
18043
|
+
/* The card is inset from the blocks above and below it (Figma 5289:40562) */
|
|
18044
|
+
margin-block: var(--chatbubble-embed-margin-block);
|
|
18045
|
+
padding: var(--chatbubble-embed-padding-block) var(--chatbubble-embed-padding-inline);
|
|
18046
|
+
border-radius: var(--chatbubble-embed-radius);
|
|
18047
|
+
border: var(--border-width-regular) solid transparent;
|
|
18079
18048
|
}
|
|
18080
18049
|
|
|
18081
|
-
|
|
18082
|
-
|
|
18050
|
+
/*
|
|
18051
|
+
* The embed sits on the raised surface of its author's role, one step apart
|
|
18052
|
+
* from the bubble it is nested in, and reuses that role's border colour.
|
|
18053
|
+
*/
|
|
18054
|
+
.muka-chat-message--own .muka-chat-message__embed {
|
|
18055
|
+
background-color: var(--chatbubble-embed-color-own-background);
|
|
18056
|
+
border-color: var(--chatbubble-embed-color-own-border);
|
|
18057
|
+
color: var(--chatbubble-embed-color-own-foreground);
|
|
18083
18058
|
}
|
|
18084
18059
|
|
|
18085
|
-
|
|
18086
|
-
|
|
18087
|
-
|
|
18088
|
-
|
|
18089
|
-
z-index: 1;
|
|
18090
|
-
background-color: inherit;
|
|
18091
|
-
will-change: transform;
|
|
18060
|
+
.muka-chat-message--peer .muka-chat-message__embed {
|
|
18061
|
+
background-color: var(--chatbubble-embed-color-peer-background);
|
|
18062
|
+
border-color: var(--chatbubble-embed-color-peer-border);
|
|
18063
|
+
color: var(--chatbubble-embed-color-peer-foreground);
|
|
18092
18064
|
}
|
|
18093
18065
|
|
|
18094
|
-
|
|
18095
|
-
|
|
18096
|
-
|
|
18097
|
-
|
|
18098
|
-
top: 0;
|
|
18099
|
-
bottom: 0;
|
|
18100
|
-
display: flex;
|
|
18101
|
-
align-items: stretch;
|
|
18102
|
-
z-index: 0;
|
|
18066
|
+
.muka-chat-message--agent .muka-chat-message__embed {
|
|
18067
|
+
background-color: var(--chatbubble-embed-color-agent-background);
|
|
18068
|
+
border-color: var(--chatbubble-embed-color-agent-border);
|
|
18069
|
+
color: var(--chatbubble-embed-color-agent-foreground);
|
|
18103
18070
|
}
|
|
18104
18071
|
|
|
18105
|
-
.muka-
|
|
18106
|
-
|
|
18072
|
+
.muka-chat-message__embed-content {
|
|
18073
|
+
display: flex;
|
|
18074
|
+
flex-direction: column;
|
|
18075
|
+
gap: var(--chatbubble-embed-gap);
|
|
18076
|
+
min-width: 0;
|
|
18107
18077
|
}
|
|
18108
18078
|
|
|
18109
|
-
.muka-
|
|
18110
|
-
|
|
18079
|
+
.muka-chat-message__embed-copy {
|
|
18080
|
+
position: absolute;
|
|
18081
|
+
top: var(--chatbubble-embed-padding-block);
|
|
18082
|
+
right: var(--chatbubble-embed-padding-inline);
|
|
18111
18083
|
}
|
|
18112
18084
|
|
|
18113
|
-
/* ───
|
|
18085
|
+
/* ─── Stacked full-width action buttons ────────────────── */
|
|
18114
18086
|
|
|
18115
|
-
.muka-
|
|
18087
|
+
.muka-chat-message__action-stack {
|
|
18116
18088
|
display: flex;
|
|
18117
18089
|
flex-direction: column;
|
|
18118
|
-
|
|
18119
|
-
justify-content: center;
|
|
18120
|
-
gap: var(--spacing-1);
|
|
18121
|
-
border: none;
|
|
18122
|
-
cursor: pointer;
|
|
18123
|
-
padding: var(--spacing-2);
|
|
18124
|
-
background-color: var(--color-surface-level2);
|
|
18125
|
-
color: var(--color-text-default-default);
|
|
18126
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
18127
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
18128
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
18129
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
18130
|
-
-webkit-tap-highlight-color: transparent;
|
|
18131
|
-
transition: filter 0.12s ease;
|
|
18090
|
+
gap: var(--chatbubble-action-stack-gap);
|
|
18132
18091
|
}
|
|
18133
18092
|
|
|
18134
|
-
|
|
18135
|
-
|
|
18093
|
+
/* ─── Inset timestamp ──────────────────────────────────── */
|
|
18094
|
+
|
|
18095
|
+
/*
|
|
18096
|
+
* Every author puts its timestamp in the bubble's bottom-right corner, below
|
|
18097
|
+
* the message — never in the header row (Figma 5355:44091).
|
|
18098
|
+
*/
|
|
18099
|
+
|
|
18100
|
+
.muka-chat-message__timestamp {
|
|
18101
|
+
color: var(--chatbubble-color-timestamp);
|
|
18102
|
+
font-family: var(--text-body-xs-regular-fontFamily);
|
|
18103
|
+
font-weight: var(--text-body-xs-regular-fontWeight);
|
|
18104
|
+
font-size: var(--text-body-xs-regular-fontSize);
|
|
18105
|
+
line-height: var(--text-body-xs-regular-lineHeight);
|
|
18106
|
+
white-space: nowrap;
|
|
18136
18107
|
}
|
|
18137
18108
|
|
|
18138
|
-
|
|
18139
|
-
|
|
18140
|
-
|
|
18109
|
+
/*
|
|
18110
|
+
* Pinned to the corner rather than stacked below the message, so a one-line
|
|
18111
|
+
* message stays one line tall. The message reserves the width it needs.
|
|
18112
|
+
*/
|
|
18113
|
+
.muka-chat-message__timestamp--inset {
|
|
18114
|
+
position: absolute;
|
|
18115
|
+
right: var(--spacing-2);
|
|
18116
|
+
bottom: var(--spacing-1);
|
|
18141
18117
|
}
|
|
18142
18118
|
|
|
18143
|
-
|
|
18144
|
-
|
|
18145
|
-
|
|
18146
|
-
|
|
18119
|
+
/*
|
|
18120
|
+
* When the last block in the body is media, an embed or an action stack (not
|
|
18121
|
+
* trailing text), it runs the full width, so reserve a line below for the inset
|
|
18122
|
+
* timestamp. A message that ends in text clears the corner inline instead (see
|
|
18123
|
+
* `__message` padding-right above), so it needs no extra bottom space.
|
|
18124
|
+
*/
|
|
18125
|
+
.muka-chat-message--has-timestamp.muka-chat-message--trailing-block .muka-chat-message__body {
|
|
18126
|
+
padding-bottom: var(--text-body-xs-regular-lineHeight);
|
|
18147
18127
|
}
|
|
18148
18128
|
|
|
18149
|
-
/* ───
|
|
18129
|
+
/* ─── Menu affordance ──────────────────────────────────── */
|
|
18150
18130
|
|
|
18151
|
-
|
|
18152
|
-
|
|
18153
|
-
|
|
18131
|
+
/*
|
|
18132
|
+
* Hidden at rest. Revealed on hover on pointer devices, on keyboard focus
|
|
18133
|
+
* everywhere, and pinned while its menu is open. On touch the equivalent
|
|
18134
|
+
* affordance is a long-press on the bubble, which opens an ActionSheet.
|
|
18135
|
+
*/
|
|
18136
|
+
.muka-chat-message__menu {
|
|
18137
|
+
position: absolute;
|
|
18138
|
+
top: var(--spacing-1);
|
|
18139
|
+
right: var(--spacing-1);
|
|
18140
|
+
opacity: 0;
|
|
18141
|
+
pointer-events: none;
|
|
18154
18142
|
}
|
|
18155
18143
|
|
|
18156
|
-
.muka-
|
|
18157
|
-
|
|
18158
|
-
|
|
18144
|
+
.muka-chat-message__menu:focus-within,
|
|
18145
|
+
.muka-chat-message--menu-open .muka-chat-message__menu {
|
|
18146
|
+
opacity: 1;
|
|
18147
|
+
pointer-events: auto;
|
|
18159
18148
|
}
|
|
18160
18149
|
|
|
18161
|
-
|
|
18162
|
-
|
|
18163
|
-
|
|
18150
|
+
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
|
|
18151
|
+
.muka-chat-message__bubble:hover .muka-chat-message__menu {
|
|
18152
|
+
opacity: 1;
|
|
18153
|
+
pointer-events: auto;
|
|
18154
|
+
}
|
|
18164
18155
|
}
|
|
18165
18156
|
|
|
18166
|
-
|
|
18167
|
-
|
|
18168
|
-
|
|
18157
|
+
/* Suppress iOS Safari's own callout so the long-press sheet can take over */
|
|
18158
|
+
@media (pointer: coarse) {
|
|
18159
|
+
.muka-chat-message--has-menu .muka-chat-message__bubble {
|
|
18160
|
+
-webkit-touch-callout: none;
|
|
18161
|
+
}
|
|
18169
18162
|
}
|
|
18170
18163
|
|
|
18171
|
-
|
|
18172
|
-
|
|
18173
|
-
|
|
18164
|
+
/* ─── Print ────────────────────────────────────────────── */
|
|
18165
|
+
|
|
18166
|
+
@media print {
|
|
18167
|
+
.muka-chat-message__bubble {
|
|
18168
|
+
box-shadow: none;
|
|
18169
|
+
break-inside: avoid;
|
|
18170
|
+
print-color-adjust: exact;
|
|
18171
|
+
-webkit-print-color-adjust: exact;
|
|
18172
|
+
}
|
|
18173
|
+
|
|
18174
|
+
.muka-chat-message__embed {
|
|
18175
|
+
break-inside: avoid;
|
|
18176
|
+
print-color-adjust: exact;
|
|
18177
|
+
-webkit-print-color-adjust: exact;
|
|
18178
|
+
}
|
|
18179
|
+
|
|
18180
|
+
.muka-chat-message__menu,
|
|
18181
|
+
.muka-chat-message__embed-copy,
|
|
18182
|
+
.muka-chat-message__action-stack {
|
|
18183
|
+
display: none;
|
|
18184
|
+
}
|
|
18185
|
+
}
|
|
18186
|
+
|
|
18187
|
+
/* ─── Muted (a message from another context) ──────────────
|
|
18188
|
+
* The bubble drops its fill and keeps a hairline, so it recedes next to the
|
|
18189
|
+
* current conversation; the text keeps full contrast. */
|
|
18190
|
+
|
|
18191
|
+
.muka-chat-message--muted .muka-chat-message__bubble {
|
|
18192
|
+
background-color: transparent;
|
|
18193
|
+
border-color: var(--chatbubble-color-peer-border);
|
|
18194
|
+
color: var(--color-text-default-default);
|
|
18174
18195
|
}
|
|
18175
18196
|
|