@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
|
@@ -3996,6 +3996,191 @@ body {
|
|
|
3996
3996
|
}
|
|
3997
3997
|
|
|
3998
3998
|
|
|
3999
|
+
/* Thumbnail */
|
|
4000
|
+
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
4001
|
+
|
|
4002
|
+
.muka-thumbnail {
|
|
4003
|
+
position: relative;
|
|
4004
|
+
flex-shrink: 0;
|
|
4005
|
+
}
|
|
4006
|
+
|
|
4007
|
+
/* The frame carries the border, background and shape clip. Keeping it separate
|
|
4008
|
+
from the root lets the remove (×) button sit outside the clip (needed for the
|
|
4009
|
+
circular/ellipse shape, whose corners would otherwise clip the button). */
|
|
4010
|
+
.muka-thumbnail__frame {
|
|
4011
|
+
position: absolute;
|
|
4012
|
+
inset: 0;
|
|
4013
|
+
overflow: hidden;
|
|
4014
|
+
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
4015
|
+
border-radius: var(--border-radius-lg);
|
|
4016
|
+
background-color: var(--color-surface-level1);
|
|
4017
|
+
}
|
|
4018
|
+
|
|
4019
|
+
/* ─── Shapes ──────────────────────────────────────────── */
|
|
4020
|
+
.muka-thumbnail--4-3 {
|
|
4021
|
+
width: 160px;
|
|
4022
|
+
height: 120px;
|
|
4023
|
+
}
|
|
4024
|
+
|
|
4025
|
+
.muka-thumbnail--1-1 {
|
|
4026
|
+
width: 120px;
|
|
4027
|
+
height: 120px;
|
|
4028
|
+
}
|
|
4029
|
+
|
|
4030
|
+
.muka-thumbnail--ellipse {
|
|
4031
|
+
width: 120px;
|
|
4032
|
+
height: 120px;
|
|
4033
|
+
}
|
|
4034
|
+
|
|
4035
|
+
/* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
|
|
4036
|
+
.muka-thumbnail--fluid {
|
|
4037
|
+
width: 100%;
|
|
4038
|
+
height: auto;
|
|
4039
|
+
aspect-ratio: 1 / 1;
|
|
4040
|
+
}
|
|
4041
|
+
|
|
4042
|
+
.muka-thumbnail--fluid.muka-thumbnail--4-3 {
|
|
4043
|
+
aspect-ratio: 4 / 3;
|
|
4044
|
+
}
|
|
4045
|
+
|
|
4046
|
+
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
4047
|
+
border-radius: var(--border-radius-full);
|
|
4048
|
+
}
|
|
4049
|
+
|
|
4050
|
+
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
4051
|
+
interactive hover zoom has a clean origin. */
|
|
4052
|
+
.muka-thumbnail__image {
|
|
4053
|
+
position: absolute;
|
|
4054
|
+
inset: 0;
|
|
4055
|
+
width: 100%;
|
|
4056
|
+
height: 100%;
|
|
4057
|
+
object-fit: cover;
|
|
4058
|
+
display: block;
|
|
4059
|
+
transform-origin: center;
|
|
4060
|
+
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
4061
|
+
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4062
|
+
}
|
|
4063
|
+
|
|
4064
|
+
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
4065
|
+
.muka-thumbnail__trigger {
|
|
4066
|
+
position: absolute;
|
|
4067
|
+
inset: 0;
|
|
4068
|
+
padding: 0;
|
|
4069
|
+
border: 0;
|
|
4070
|
+
background: none;
|
|
4071
|
+
cursor: pointer;
|
|
4072
|
+
overflow: hidden;
|
|
4073
|
+
}
|
|
4074
|
+
|
|
4075
|
+
.muka-thumbnail__trigger:focus-visible {
|
|
4076
|
+
outline: 2px solid var(--color-border-focus);
|
|
4077
|
+
outline-offset: -2px;
|
|
4078
|
+
}
|
|
4079
|
+
|
|
4080
|
+
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
4081
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4082
|
+
transform: scale(1.05);
|
|
4083
|
+
}
|
|
4084
|
+
|
|
4085
|
+
/* ─── Loading overlay + progress donut ────────────────── */
|
|
4086
|
+
.muka-thumbnail__overlay {
|
|
4087
|
+
position: absolute;
|
|
4088
|
+
inset: 0;
|
|
4089
|
+
display: flex;
|
|
4090
|
+
align-items: center;
|
|
4091
|
+
justify-content: center;
|
|
4092
|
+
background-color: var(--dialog-color-backdrop);
|
|
4093
|
+
}
|
|
4094
|
+
|
|
4095
|
+
.muka-thumbnail__progress {
|
|
4096
|
+
width: 40px;
|
|
4097
|
+
height: 40px;
|
|
4098
|
+
}
|
|
4099
|
+
|
|
4100
|
+
/* ─── Error / corrupt state ───────────────────────────── */
|
|
4101
|
+
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
4102
|
+
background-color: var(--alias-color-state-error-muted);
|
|
4103
|
+
border-color: var(--alias-color-state-error-default);
|
|
4104
|
+
}
|
|
4105
|
+
|
|
4106
|
+
.muka-thumbnail__error {
|
|
4107
|
+
position: absolute;
|
|
4108
|
+
inset: 0;
|
|
4109
|
+
display: flex;
|
|
4110
|
+
flex-direction: column;
|
|
4111
|
+
align-items: center;
|
|
4112
|
+
justify-content: center;
|
|
4113
|
+
gap: var(--spacing-2);
|
|
4114
|
+
padding: var(--spacing-3);
|
|
4115
|
+
text-align: center;
|
|
4116
|
+
}
|
|
4117
|
+
|
|
4118
|
+
.muka-thumbnail__error-icon {
|
|
4119
|
+
color: var(--alert-color-error-accent);
|
|
4120
|
+
}
|
|
4121
|
+
|
|
4122
|
+
.muka-thumbnail__caption {
|
|
4123
|
+
max-width: 100%;
|
|
4124
|
+
overflow: hidden;
|
|
4125
|
+
text-overflow: ellipsis;
|
|
4126
|
+
white-space: nowrap;
|
|
4127
|
+
color: var(--alert-color-error-accent);
|
|
4128
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4129
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
4130
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4131
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4132
|
+
}
|
|
4133
|
+
|
|
4134
|
+
/* ─── Remove (×) button ───────────────────────────────── */
|
|
4135
|
+
.muka-thumbnail__remove {
|
|
4136
|
+
position: absolute;
|
|
4137
|
+
top: var(--spacing-2);
|
|
4138
|
+
right: var(--spacing-2);
|
|
4139
|
+
display: flex;
|
|
4140
|
+
align-items: center;
|
|
4141
|
+
justify-content: center;
|
|
4142
|
+
width: var(--size-2xl);
|
|
4143
|
+
height: var(--size-2xl);
|
|
4144
|
+
padding: 0;
|
|
4145
|
+
color: var(--button-color-tertiary-foreground-default);
|
|
4146
|
+
background-color: var(--button-color-tertiary-background-default);
|
|
4147
|
+
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
4148
|
+
border-radius: var(--border-radius-lg);
|
|
4149
|
+
cursor: pointer;
|
|
4150
|
+
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
4151
|
+
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4152
|
+
}
|
|
4153
|
+
|
|
4154
|
+
.muka-thumbnail__remove:hover {
|
|
4155
|
+
color: var(--button-color-tertiary-foreground-hover);
|
|
4156
|
+
background-color: var(--button-color-tertiary-background-hover);
|
|
4157
|
+
border-color: var(--button-color-tertiary-border-hover);
|
|
4158
|
+
}
|
|
4159
|
+
|
|
4160
|
+
.muka-thumbnail__remove:active {
|
|
4161
|
+
color: var(--button-color-tertiary-foreground-pressed);
|
|
4162
|
+
background-color: var(--button-color-tertiary-background-pressed);
|
|
4163
|
+
border-color: var(--button-color-tertiary-border-pressed);
|
|
4164
|
+
}
|
|
4165
|
+
|
|
4166
|
+
.muka-thumbnail__remove:focus-visible {
|
|
4167
|
+
outline: 2px solid var(--color-border-focus);
|
|
4168
|
+
outline-offset: 2px;
|
|
4169
|
+
}
|
|
4170
|
+
|
|
4171
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4172
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4173
|
+
.muka-thumbnail__image,
|
|
4174
|
+
.muka-thumbnail__remove {
|
|
4175
|
+
transition: none;
|
|
4176
|
+
}
|
|
4177
|
+
|
|
4178
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4179
|
+
transform: none;
|
|
4180
|
+
}
|
|
4181
|
+
}
|
|
4182
|
+
|
|
4183
|
+
|
|
3999
4184
|
/* Textarea */
|
|
4000
4185
|
/* Textarea Component Styles - Using Muka Design Tokens */
|
|
4001
4186
|
|
|
@@ -4432,232 +4617,47 @@ body {
|
|
|
4432
4617
|
}
|
|
4433
4618
|
|
|
4434
4619
|
|
|
4435
|
-
/*
|
|
4436
|
-
/*
|
|
4437
|
-
|
|
4438
|
-
.muka-thumbnail {
|
|
4439
|
-
position: relative;
|
|
4440
|
-
flex-shrink: 0;
|
|
4441
|
-
}
|
|
4620
|
+
/* TablePagination */
|
|
4621
|
+
/* TablePagination Component Styles - Using Muka Design Tokens */
|
|
4442
4622
|
|
|
4443
|
-
/*
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
.muka-thumbnail__frame {
|
|
4447
|
-
position: absolute;
|
|
4448
|
-
inset: 0;
|
|
4449
|
-
overflow: hidden;
|
|
4450
|
-
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
4451
|
-
border-radius: var(--border-radius-lg);
|
|
4452
|
-
background-color: var(--color-surface-level1);
|
|
4453
|
-
}
|
|
4623
|
+
/* ========================================
|
|
4624
|
+
PAGINATION CONTAINER
|
|
4625
|
+
======================================== */
|
|
4454
4626
|
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4627
|
+
.muka-table-pagination {
|
|
4628
|
+
display: flex;
|
|
4629
|
+
align-items: center;
|
|
4630
|
+
justify-content: space-between;
|
|
4631
|
+
flex-wrap: wrap;
|
|
4632
|
+
gap: var(--table-pagination-gap, var(--spacing-4));
|
|
4633
|
+
padding: var(--table-pagination-padding, var(--spacing-3));
|
|
4634
|
+
background-color: var(--table-pagination-background, var(--color-surface-level1));
|
|
4635
|
+
border-top: var(--border-width-regular) solid var(--table-pagination-border, var(--color-border-default));
|
|
4636
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
4637
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
4638
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4639
|
+
color: var(--color-text-default-default);
|
|
4459
4640
|
}
|
|
4460
4641
|
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
}
|
|
4642
|
+
/* ========================================
|
|
4643
|
+
LEFT SECTION (Page Size & Range)
|
|
4644
|
+
======================================== */
|
|
4465
4645
|
|
|
4466
|
-
.muka-
|
|
4467
|
-
|
|
4468
|
-
|
|
4646
|
+
.muka-table-pagination__left {
|
|
4647
|
+
display: flex;
|
|
4648
|
+
align-items: center;
|
|
4649
|
+
gap: var(--spacing-4);
|
|
4469
4650
|
}
|
|
4470
4651
|
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
aspect-ratio: 1 / 1;
|
|
4652
|
+
.muka-table-pagination__page-size {
|
|
4653
|
+
display: flex;
|
|
4654
|
+
align-items: center;
|
|
4655
|
+
gap: var(--spacing-2);
|
|
4476
4656
|
}
|
|
4477
4657
|
|
|
4478
|
-
.muka-
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
4483
|
-
border-radius: var(--border-radius-full);
|
|
4484
|
-
}
|
|
4485
|
-
|
|
4486
|
-
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
4487
|
-
interactive hover zoom has a clean origin. */
|
|
4488
|
-
.muka-thumbnail__image {
|
|
4489
|
-
position: absolute;
|
|
4490
|
-
inset: 0;
|
|
4491
|
-
width: 100%;
|
|
4492
|
-
height: 100%;
|
|
4493
|
-
object-fit: cover;
|
|
4494
|
-
display: block;
|
|
4495
|
-
transform-origin: center;
|
|
4496
|
-
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
4497
|
-
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4498
|
-
}
|
|
4499
|
-
|
|
4500
|
-
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
4501
|
-
.muka-thumbnail__trigger {
|
|
4502
|
-
position: absolute;
|
|
4503
|
-
inset: 0;
|
|
4504
|
-
padding: 0;
|
|
4505
|
-
border: 0;
|
|
4506
|
-
background: none;
|
|
4507
|
-
cursor: pointer;
|
|
4508
|
-
overflow: hidden;
|
|
4509
|
-
}
|
|
4510
|
-
|
|
4511
|
-
.muka-thumbnail__trigger:focus-visible {
|
|
4512
|
-
outline: 2px solid var(--color-border-focus);
|
|
4513
|
-
outline-offset: -2px;
|
|
4514
|
-
}
|
|
4515
|
-
|
|
4516
|
-
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
4517
|
-
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4518
|
-
transform: scale(1.05);
|
|
4519
|
-
}
|
|
4520
|
-
|
|
4521
|
-
/* ─── Loading overlay + progress donut ────────────────── */
|
|
4522
|
-
.muka-thumbnail__overlay {
|
|
4523
|
-
position: absolute;
|
|
4524
|
-
inset: 0;
|
|
4525
|
-
display: flex;
|
|
4526
|
-
align-items: center;
|
|
4527
|
-
justify-content: center;
|
|
4528
|
-
background-color: var(--dialog-color-backdrop);
|
|
4529
|
-
}
|
|
4530
|
-
|
|
4531
|
-
.muka-thumbnail__progress {
|
|
4532
|
-
width: 40px;
|
|
4533
|
-
height: 40px;
|
|
4534
|
-
}
|
|
4535
|
-
|
|
4536
|
-
/* ─── Error / corrupt state ───────────────────────────── */
|
|
4537
|
-
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
4538
|
-
background-color: var(--alias-color-state-error-muted);
|
|
4539
|
-
border-color: var(--alias-color-state-error-default);
|
|
4540
|
-
}
|
|
4541
|
-
|
|
4542
|
-
.muka-thumbnail__error {
|
|
4543
|
-
position: absolute;
|
|
4544
|
-
inset: 0;
|
|
4545
|
-
display: flex;
|
|
4546
|
-
flex-direction: column;
|
|
4547
|
-
align-items: center;
|
|
4548
|
-
justify-content: center;
|
|
4549
|
-
gap: var(--spacing-2);
|
|
4550
|
-
padding: var(--spacing-3);
|
|
4551
|
-
text-align: center;
|
|
4552
|
-
}
|
|
4553
|
-
|
|
4554
|
-
.muka-thumbnail__error-icon {
|
|
4555
|
-
color: var(--alert-color-error-accent);
|
|
4556
|
-
}
|
|
4557
|
-
|
|
4558
|
-
.muka-thumbnail__caption {
|
|
4559
|
-
max-width: 100%;
|
|
4560
|
-
overflow: hidden;
|
|
4561
|
-
text-overflow: ellipsis;
|
|
4562
|
-
white-space: nowrap;
|
|
4563
|
-
color: var(--alert-color-error-accent);
|
|
4564
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4565
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
4566
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4567
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4568
|
-
}
|
|
4569
|
-
|
|
4570
|
-
/* ─── Remove (×) button ───────────────────────────────── */
|
|
4571
|
-
.muka-thumbnail__remove {
|
|
4572
|
-
position: absolute;
|
|
4573
|
-
top: var(--spacing-2);
|
|
4574
|
-
right: var(--spacing-2);
|
|
4575
|
-
display: flex;
|
|
4576
|
-
align-items: center;
|
|
4577
|
-
justify-content: center;
|
|
4578
|
-
width: var(--size-2xl);
|
|
4579
|
-
height: var(--size-2xl);
|
|
4580
|
-
padding: 0;
|
|
4581
|
-
color: var(--button-color-tertiary-foreground-default);
|
|
4582
|
-
background-color: var(--button-color-tertiary-background-default);
|
|
4583
|
-
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
4584
|
-
border-radius: var(--border-radius-lg);
|
|
4585
|
-
cursor: pointer;
|
|
4586
|
-
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
4587
|
-
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4588
|
-
}
|
|
4589
|
-
|
|
4590
|
-
.muka-thumbnail__remove:hover {
|
|
4591
|
-
color: var(--button-color-tertiary-foreground-hover);
|
|
4592
|
-
background-color: var(--button-color-tertiary-background-hover);
|
|
4593
|
-
border-color: var(--button-color-tertiary-border-hover);
|
|
4594
|
-
}
|
|
4595
|
-
|
|
4596
|
-
.muka-thumbnail__remove:active {
|
|
4597
|
-
color: var(--button-color-tertiary-foreground-pressed);
|
|
4598
|
-
background-color: var(--button-color-tertiary-background-pressed);
|
|
4599
|
-
border-color: var(--button-color-tertiary-border-pressed);
|
|
4600
|
-
}
|
|
4601
|
-
|
|
4602
|
-
.muka-thumbnail__remove:focus-visible {
|
|
4603
|
-
outline: 2px solid var(--color-border-focus);
|
|
4604
|
-
outline-offset: 2px;
|
|
4605
|
-
}
|
|
4606
|
-
|
|
4607
|
-
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4608
|
-
@media (prefers-reduced-motion: reduce) {
|
|
4609
|
-
.muka-thumbnail__image,
|
|
4610
|
-
.muka-thumbnail__remove {
|
|
4611
|
-
transition: none;
|
|
4612
|
-
}
|
|
4613
|
-
|
|
4614
|
-
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4615
|
-
transform: none;
|
|
4616
|
-
}
|
|
4617
|
-
}
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
/* TablePagination */
|
|
4621
|
-
/* TablePagination Component Styles - Using Muka Design Tokens */
|
|
4622
|
-
|
|
4623
|
-
/* ========================================
|
|
4624
|
-
PAGINATION CONTAINER
|
|
4625
|
-
======================================== */
|
|
4626
|
-
|
|
4627
|
-
.muka-table-pagination {
|
|
4628
|
-
display: flex;
|
|
4629
|
-
align-items: center;
|
|
4630
|
-
justify-content: space-between;
|
|
4631
|
-
flex-wrap: wrap;
|
|
4632
|
-
gap: var(--table-pagination-gap, var(--spacing-4));
|
|
4633
|
-
padding: var(--table-pagination-padding, var(--spacing-3));
|
|
4634
|
-
background-color: var(--table-pagination-background, var(--color-surface-level1));
|
|
4635
|
-
border-top: var(--border-width-regular) solid var(--table-pagination-border, var(--color-border-default));
|
|
4636
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
4637
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
4638
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4639
|
-
color: var(--color-text-default-default);
|
|
4640
|
-
}
|
|
4641
|
-
|
|
4642
|
-
/* ========================================
|
|
4643
|
-
LEFT SECTION (Page Size & Range)
|
|
4644
|
-
======================================== */
|
|
4645
|
-
|
|
4646
|
-
.muka-table-pagination__left {
|
|
4647
|
-
display: flex;
|
|
4648
|
-
align-items: center;
|
|
4649
|
-
gap: var(--spacing-4);
|
|
4650
|
-
}
|
|
4651
|
-
|
|
4652
|
-
.muka-table-pagination__page-size {
|
|
4653
|
-
display: flex;
|
|
4654
|
-
align-items: center;
|
|
4655
|
-
gap: var(--spacing-2);
|
|
4656
|
-
}
|
|
4657
|
-
|
|
4658
|
-
.muka-table-pagination__label {
|
|
4659
|
-
color: var(--color-text-subtle-default);
|
|
4660
|
-
white-space: nowrap;
|
|
4658
|
+
.muka-table-pagination__label {
|
|
4659
|
+
color: var(--color-text-subtle-default);
|
|
4660
|
+
white-space: nowrap;
|
|
4661
4661
|
}
|
|
4662
4662
|
|
|
4663
4663
|
.muka-table-pagination__select {
|
|
@@ -5021,70 +5021,178 @@ body {
|
|
|
5021
5021
|
}
|
|
5022
5022
|
|
|
5023
5023
|
|
|
5024
|
-
/*
|
|
5025
|
-
/*
|
|
5024
|
+
/* SwipeActions */
|
|
5025
|
+
/* SwipeActions Component Styles */
|
|
5026
5026
|
|
|
5027
|
-
.muka-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5027
|
+
.muka-swipe-actions {
|
|
5028
|
+
position: relative;
|
|
5029
|
+
overflow: hidden;
|
|
5030
|
+
touch-action: pan-y;
|
|
5031
|
+
-webkit-user-select: none;
|
|
5032
|
+
user-select: none;
|
|
5033
|
+
background-color: var(--color-surface-level3);
|
|
5033
5034
|
}
|
|
5034
5035
|
|
|
5035
|
-
.muka-
|
|
5036
|
-
|
|
5036
|
+
.muka-swipe-actions--disabled {
|
|
5037
|
+
touch-action: auto;
|
|
5037
5038
|
}
|
|
5038
5039
|
|
|
5039
|
-
|
|
5040
|
-
color: var(--color-text-default-inverse);
|
|
5041
|
-
}
|
|
5040
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
5042
5041
|
|
|
5043
|
-
.muka-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
border-right-color: transparent;
|
|
5049
|
-
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
5050
|
-
box-sizing: border-box;
|
|
5042
|
+
.muka-swipe-actions__row {
|
|
5043
|
+
position: relative;
|
|
5044
|
+
z-index: 1;
|
|
5045
|
+
background-color: inherit;
|
|
5046
|
+
will-change: transform;
|
|
5051
5047
|
}
|
|
5052
5048
|
|
|
5053
|
-
/* ───
|
|
5049
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
5054
5050
|
|
|
5055
|
-
.muka-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5051
|
+
.muka-swipe-actions__panel {
|
|
5052
|
+
position: absolute;
|
|
5053
|
+
top: 0;
|
|
5054
|
+
bottom: 0;
|
|
5055
|
+
display: flex;
|
|
5056
|
+
align-items: stretch;
|
|
5057
|
+
z-index: 0;
|
|
5059
5058
|
}
|
|
5060
5059
|
|
|
5061
|
-
.muka-
|
|
5062
|
-
|
|
5063
|
-
height: 20px;
|
|
5064
|
-
border-width: 2px;
|
|
5060
|
+
.muka-swipe-actions__panel--left {
|
|
5061
|
+
left: 0;
|
|
5065
5062
|
}
|
|
5066
5063
|
|
|
5067
|
-
.muka-
|
|
5068
|
-
|
|
5069
|
-
height: 24px;
|
|
5070
|
-
border-width: 3px;
|
|
5064
|
+
.muka-swipe-actions__panel--right {
|
|
5065
|
+
right: 0;
|
|
5071
5066
|
}
|
|
5072
5067
|
|
|
5073
|
-
/* ───
|
|
5074
|
-
|
|
5075
|
-
.muka-spinner__sr-label {
|
|
5076
|
-
position: absolute;
|
|
5077
|
-
width: 1px;
|
|
5078
|
-
height: 1px;
|
|
5079
|
-
padding: 0;
|
|
5080
|
-
margin: -1px;
|
|
5081
|
-
overflow: hidden;
|
|
5082
|
-
clip: rect(0, 0, 0, 0);
|
|
5083
|
-
white-space: nowrap;
|
|
5084
|
-
border: 0;
|
|
5085
|
-
}
|
|
5068
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
5086
5069
|
|
|
5087
|
-
|
|
5070
|
+
.muka-swipe-actions__button {
|
|
5071
|
+
display: flex;
|
|
5072
|
+
flex-direction: column;
|
|
5073
|
+
align-items: center;
|
|
5074
|
+
justify-content: center;
|
|
5075
|
+
gap: var(--spacing-1);
|
|
5076
|
+
border: none;
|
|
5077
|
+
cursor: pointer;
|
|
5078
|
+
padding: var(--spacing-2);
|
|
5079
|
+
background-color: var(--color-surface-level2);
|
|
5080
|
+
color: var(--color-text-default-default);
|
|
5081
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
5082
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
5083
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5084
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5085
|
+
-webkit-tap-highlight-color: transparent;
|
|
5086
|
+
transition: filter 0.12s ease;
|
|
5087
|
+
}
|
|
5088
|
+
|
|
5089
|
+
.muka-swipe-actions__button:hover {
|
|
5090
|
+
filter: brightness(0.95);
|
|
5091
|
+
}
|
|
5092
|
+
|
|
5093
|
+
.muka-swipe-actions__button:focus-visible {
|
|
5094
|
+
outline: 2px solid var(--color-action-default);
|
|
5095
|
+
outline-offset: -2px;
|
|
5096
|
+
}
|
|
5097
|
+
|
|
5098
|
+
.muka-swipe-actions__button-icon {
|
|
5099
|
+
display: inline-flex;
|
|
5100
|
+
align-items: center;
|
|
5101
|
+
justify-content: center;
|
|
5102
|
+
}
|
|
5103
|
+
|
|
5104
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
5105
|
+
|
|
5106
|
+
.muka-swipe-actions__button--neutral {
|
|
5107
|
+
background-color: var(--color-surface-level2);
|
|
5108
|
+
color: var(--color-text-default-default);
|
|
5109
|
+
}
|
|
5110
|
+
|
|
5111
|
+
.muka-swipe-actions__button--primary {
|
|
5112
|
+
background-color: var(--color-action-default);
|
|
5113
|
+
color: var(--color-text-default-inverse);
|
|
5114
|
+
}
|
|
5115
|
+
|
|
5116
|
+
.muka-swipe-actions__button--success {
|
|
5117
|
+
background-color: var(--color-state-success-default);
|
|
5118
|
+
color: var(--color-text-default-inverse);
|
|
5119
|
+
}
|
|
5120
|
+
|
|
5121
|
+
.muka-swipe-actions__button--warning {
|
|
5122
|
+
background-color: var(--color-state-warning-default);
|
|
5123
|
+
color: var(--color-text-default-default);
|
|
5124
|
+
}
|
|
5125
|
+
|
|
5126
|
+
.muka-swipe-actions__button--destructive {
|
|
5127
|
+
background-color: var(--color-state-error-default);
|
|
5128
|
+
color: var(--color-text-default-inverse);
|
|
5129
|
+
}
|
|
5130
|
+
|
|
5131
|
+
|
|
5132
|
+
/* Spinner */
|
|
5133
|
+
/* Spinner Component Styles */
|
|
5134
|
+
|
|
5135
|
+
.muka-spinner {
|
|
5136
|
+
display: inline-flex;
|
|
5137
|
+
align-items: center;
|
|
5138
|
+
justify-content: center;
|
|
5139
|
+
color: var(--color-text-default-default);
|
|
5140
|
+
line-height: 0;
|
|
5141
|
+
}
|
|
5142
|
+
|
|
5143
|
+
.muka-spinner--subtle {
|
|
5144
|
+
color: var(--color-text-subtle-default);
|
|
5145
|
+
}
|
|
5146
|
+
|
|
5147
|
+
.muka-spinner--inverse {
|
|
5148
|
+
color: var(--color-text-default-inverse);
|
|
5149
|
+
}
|
|
5150
|
+
|
|
5151
|
+
.muka-spinner__circle {
|
|
5152
|
+
display: inline-block;
|
|
5153
|
+
border-radius: 50%;
|
|
5154
|
+
border-style: solid;
|
|
5155
|
+
border-color: currentColor;
|
|
5156
|
+
border-right-color: transparent;
|
|
5157
|
+
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
5158
|
+
box-sizing: border-box;
|
|
5159
|
+
}
|
|
5160
|
+
|
|
5161
|
+
/* ─── Sizes ───────────────────────────────────────────── */
|
|
5162
|
+
|
|
5163
|
+
.muka-spinner--sm .muka-spinner__circle {
|
|
5164
|
+
width: 16px;
|
|
5165
|
+
height: 16px;
|
|
5166
|
+
border-width: 2px;
|
|
5167
|
+
}
|
|
5168
|
+
|
|
5169
|
+
.muka-spinner--md .muka-spinner__circle {
|
|
5170
|
+
width: 20px;
|
|
5171
|
+
height: 20px;
|
|
5172
|
+
border-width: 2px;
|
|
5173
|
+
}
|
|
5174
|
+
|
|
5175
|
+
.muka-spinner--lg .muka-spinner__circle {
|
|
5176
|
+
width: 24px;
|
|
5177
|
+
height: 24px;
|
|
5178
|
+
border-width: 3px;
|
|
5179
|
+
}
|
|
5180
|
+
|
|
5181
|
+
/* ─── Visually-hidden label ───────────────────────────── */
|
|
5182
|
+
|
|
5183
|
+
.muka-spinner__sr-label {
|
|
5184
|
+
position: absolute;
|
|
5185
|
+
width: 1px;
|
|
5186
|
+
height: 1px;
|
|
5187
|
+
padding: 0;
|
|
5188
|
+
margin: -1px;
|
|
5189
|
+
overflow: hidden;
|
|
5190
|
+
clip: rect(0, 0, 0, 0);
|
|
5191
|
+
white-space: nowrap;
|
|
5192
|
+
border: 0;
|
|
5193
|
+
}
|
|
5194
|
+
|
|
5195
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
5088
5196
|
|
|
5089
5197
|
@keyframes muka-spinner-rotate {
|
|
5090
5198
|
to {
|
|
@@ -6233,6 +6341,133 @@ body {
|
|
|
6233
6341
|
}
|
|
6234
6342
|
|
|
6235
6343
|
|
|
6344
|
+
/* Scrollbar */
|
|
6345
|
+
/* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
|
|
6346
|
+
|
|
6347
|
+
.muka-scrollbar {
|
|
6348
|
+
display: flex;
|
|
6349
|
+
flex-shrink: 0;
|
|
6350
|
+
border-left: var(--border-width-regular) solid var(--color-border-default);
|
|
6351
|
+
background-color: var(--color-surface-level3);
|
|
6352
|
+
user-select: none;
|
|
6353
|
+
}
|
|
6354
|
+
|
|
6355
|
+
.muka-scrollbar--vertical {
|
|
6356
|
+
flex-direction: column;
|
|
6357
|
+
width: var(--size-2xl, 32px);
|
|
6358
|
+
align-self: stretch;
|
|
6359
|
+
}
|
|
6360
|
+
|
|
6361
|
+
.muka-scrollbar--horizontal {
|
|
6362
|
+
flex-direction: row;
|
|
6363
|
+
height: var(--size-2xl, 32px);
|
|
6364
|
+
width: 100%;
|
|
6365
|
+
border-left: none;
|
|
6366
|
+
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
6367
|
+
}
|
|
6368
|
+
|
|
6369
|
+
.muka-scrollbar__button {
|
|
6370
|
+
display: flex;
|
|
6371
|
+
align-items: center;
|
|
6372
|
+
justify-content: center;
|
|
6373
|
+
flex-shrink: 0;
|
|
6374
|
+
width: 100%;
|
|
6375
|
+
height: var(--size-2xl, 32px);
|
|
6376
|
+
padding: 0;
|
|
6377
|
+
border: none;
|
|
6378
|
+
background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
|
|
6379
|
+
color: var(--color-text-default-default);
|
|
6380
|
+
cursor: pointer;
|
|
6381
|
+
}
|
|
6382
|
+
|
|
6383
|
+
.muka-scrollbar--horizontal .muka-scrollbar__button {
|
|
6384
|
+
width: var(--size-2xl, 32px);
|
|
6385
|
+
height: 100%;
|
|
6386
|
+
}
|
|
6387
|
+
|
|
6388
|
+
.muka-scrollbar__button:hover {
|
|
6389
|
+
background-color: var(--color-surface-hover);
|
|
6390
|
+
}
|
|
6391
|
+
|
|
6392
|
+
.muka-scrollbar__divider {
|
|
6393
|
+
flex-shrink: 0;
|
|
6394
|
+
width: 100%;
|
|
6395
|
+
height: 1px;
|
|
6396
|
+
background-color: var(--color-border-default);
|
|
6397
|
+
}
|
|
6398
|
+
|
|
6399
|
+
.muka-scrollbar--horizontal .muka-scrollbar__divider {
|
|
6400
|
+
width: 1px;
|
|
6401
|
+
height: 100%;
|
|
6402
|
+
}
|
|
6403
|
+
|
|
6404
|
+
.muka-scrollbar__track {
|
|
6405
|
+
position: relative;
|
|
6406
|
+
display: flex;
|
|
6407
|
+
flex-direction: column;
|
|
6408
|
+
flex: 1 1 auto;
|
|
6409
|
+
min-height: 0;
|
|
6410
|
+
width: 100%;
|
|
6411
|
+
}
|
|
6412
|
+
|
|
6413
|
+
.muka-scrollbar--horizontal .muka-scrollbar__track {
|
|
6414
|
+
flex-direction: row;
|
|
6415
|
+
min-width: 0;
|
|
6416
|
+
height: 100%;
|
|
6417
|
+
}
|
|
6418
|
+
|
|
6419
|
+
.muka-scrollbar__thumb {
|
|
6420
|
+
position: absolute;
|
|
6421
|
+
left: 0;
|
|
6422
|
+
top: 0;
|
|
6423
|
+
z-index: 1;
|
|
6424
|
+
display: flex;
|
|
6425
|
+
align-items: center;
|
|
6426
|
+
justify-content: center;
|
|
6427
|
+
width: 100%;
|
|
6428
|
+
/* Figma: scrollbar thumb fill = surface/level3 */
|
|
6429
|
+
background-color: var(--color-surface-level3);
|
|
6430
|
+
cursor: grab;
|
|
6431
|
+
touch-action: none;
|
|
6432
|
+
}
|
|
6433
|
+
|
|
6434
|
+
.muka-scrollbar--horizontal .muka-scrollbar__thumb {
|
|
6435
|
+
left: 0;
|
|
6436
|
+
top: 0;
|
|
6437
|
+
width: auto;
|
|
6438
|
+
height: 100%;
|
|
6439
|
+
margin-left: 0;
|
|
6440
|
+
margin-top: 0;
|
|
6441
|
+
}
|
|
6442
|
+
|
|
6443
|
+
.muka-scrollbar__thumb:active {
|
|
6444
|
+
cursor: grabbing;
|
|
6445
|
+
}
|
|
6446
|
+
|
|
6447
|
+
.muka-scrollbar__grip {
|
|
6448
|
+
display: flex;
|
|
6449
|
+
flex-direction: column;
|
|
6450
|
+
gap: 2px;
|
|
6451
|
+
width: 14px;
|
|
6452
|
+
}
|
|
6453
|
+
|
|
6454
|
+
.muka-scrollbar__grip::before,
|
|
6455
|
+
.muka-scrollbar__grip::after {
|
|
6456
|
+
content: '';
|
|
6457
|
+
display: block;
|
|
6458
|
+
width: 100%;
|
|
6459
|
+
height: 2px;
|
|
6460
|
+
border-radius: var(--border-radius-md);
|
|
6461
|
+
background-color: var(--color-text-subtle-default);
|
|
6462
|
+
}
|
|
6463
|
+
|
|
6464
|
+
.muka-scrollbar__spacer {
|
|
6465
|
+
flex: 1 1 auto;
|
|
6466
|
+
min-height: 0;
|
|
6467
|
+
background-color: var(--color-surface-level2);
|
|
6468
|
+
}
|
|
6469
|
+
|
|
6470
|
+
|
|
6236
6471
|
/* SearchInput */
|
|
6237
6472
|
/* SearchInput Component Styles */
|
|
6238
6473
|
|
|
@@ -6402,133 +6637,6 @@ body {
|
|
|
6402
6637
|
}
|
|
6403
6638
|
|
|
6404
6639
|
|
|
6405
|
-
/* Scrollbar */
|
|
6406
|
-
/* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
|
|
6407
|
-
|
|
6408
|
-
.muka-scrollbar {
|
|
6409
|
-
display: flex;
|
|
6410
|
-
flex-shrink: 0;
|
|
6411
|
-
border-left: var(--border-width-regular) solid var(--color-border-default);
|
|
6412
|
-
background-color: var(--color-surface-level3);
|
|
6413
|
-
user-select: none;
|
|
6414
|
-
}
|
|
6415
|
-
|
|
6416
|
-
.muka-scrollbar--vertical {
|
|
6417
|
-
flex-direction: column;
|
|
6418
|
-
width: var(--size-2xl, 32px);
|
|
6419
|
-
align-self: stretch;
|
|
6420
|
-
}
|
|
6421
|
-
|
|
6422
|
-
.muka-scrollbar--horizontal {
|
|
6423
|
-
flex-direction: row;
|
|
6424
|
-
height: var(--size-2xl, 32px);
|
|
6425
|
-
width: 100%;
|
|
6426
|
-
border-left: none;
|
|
6427
|
-
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
6428
|
-
}
|
|
6429
|
-
|
|
6430
|
-
.muka-scrollbar__button {
|
|
6431
|
-
display: flex;
|
|
6432
|
-
align-items: center;
|
|
6433
|
-
justify-content: center;
|
|
6434
|
-
flex-shrink: 0;
|
|
6435
|
-
width: 100%;
|
|
6436
|
-
height: var(--size-2xl, 32px);
|
|
6437
|
-
padding: 0;
|
|
6438
|
-
border: none;
|
|
6439
|
-
background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
|
|
6440
|
-
color: var(--color-text-default-default);
|
|
6441
|
-
cursor: pointer;
|
|
6442
|
-
}
|
|
6443
|
-
|
|
6444
|
-
.muka-scrollbar--horizontal .muka-scrollbar__button {
|
|
6445
|
-
width: var(--size-2xl, 32px);
|
|
6446
|
-
height: 100%;
|
|
6447
|
-
}
|
|
6448
|
-
|
|
6449
|
-
.muka-scrollbar__button:hover {
|
|
6450
|
-
background-color: var(--color-surface-hover);
|
|
6451
|
-
}
|
|
6452
|
-
|
|
6453
|
-
.muka-scrollbar__divider {
|
|
6454
|
-
flex-shrink: 0;
|
|
6455
|
-
width: 100%;
|
|
6456
|
-
height: 1px;
|
|
6457
|
-
background-color: var(--color-border-default);
|
|
6458
|
-
}
|
|
6459
|
-
|
|
6460
|
-
.muka-scrollbar--horizontal .muka-scrollbar__divider {
|
|
6461
|
-
width: 1px;
|
|
6462
|
-
height: 100%;
|
|
6463
|
-
}
|
|
6464
|
-
|
|
6465
|
-
.muka-scrollbar__track {
|
|
6466
|
-
position: relative;
|
|
6467
|
-
display: flex;
|
|
6468
|
-
flex-direction: column;
|
|
6469
|
-
flex: 1 1 auto;
|
|
6470
|
-
min-height: 0;
|
|
6471
|
-
width: 100%;
|
|
6472
|
-
}
|
|
6473
|
-
|
|
6474
|
-
.muka-scrollbar--horizontal .muka-scrollbar__track {
|
|
6475
|
-
flex-direction: row;
|
|
6476
|
-
min-width: 0;
|
|
6477
|
-
height: 100%;
|
|
6478
|
-
}
|
|
6479
|
-
|
|
6480
|
-
.muka-scrollbar__thumb {
|
|
6481
|
-
position: absolute;
|
|
6482
|
-
left: 0;
|
|
6483
|
-
top: 0;
|
|
6484
|
-
z-index: 1;
|
|
6485
|
-
display: flex;
|
|
6486
|
-
align-items: center;
|
|
6487
|
-
justify-content: center;
|
|
6488
|
-
width: 100%;
|
|
6489
|
-
/* Figma: scrollbar thumb fill = surface/level3 */
|
|
6490
|
-
background-color: var(--color-surface-level3);
|
|
6491
|
-
cursor: grab;
|
|
6492
|
-
touch-action: none;
|
|
6493
|
-
}
|
|
6494
|
-
|
|
6495
|
-
.muka-scrollbar--horizontal .muka-scrollbar__thumb {
|
|
6496
|
-
left: 0;
|
|
6497
|
-
top: 0;
|
|
6498
|
-
width: auto;
|
|
6499
|
-
height: 100%;
|
|
6500
|
-
margin-left: 0;
|
|
6501
|
-
margin-top: 0;
|
|
6502
|
-
}
|
|
6503
|
-
|
|
6504
|
-
.muka-scrollbar__thumb:active {
|
|
6505
|
-
cursor: grabbing;
|
|
6506
|
-
}
|
|
6507
|
-
|
|
6508
|
-
.muka-scrollbar__grip {
|
|
6509
|
-
display: flex;
|
|
6510
|
-
flex-direction: column;
|
|
6511
|
-
gap: 2px;
|
|
6512
|
-
width: 14px;
|
|
6513
|
-
}
|
|
6514
|
-
|
|
6515
|
-
.muka-scrollbar__grip::before,
|
|
6516
|
-
.muka-scrollbar__grip::after {
|
|
6517
|
-
content: '';
|
|
6518
|
-
display: block;
|
|
6519
|
-
width: 100%;
|
|
6520
|
-
height: 2px;
|
|
6521
|
-
border-radius: var(--border-radius-md);
|
|
6522
|
-
background-color: var(--color-text-subtle-default);
|
|
6523
|
-
}
|
|
6524
|
-
|
|
6525
|
-
.muka-scrollbar__spacer {
|
|
6526
|
-
flex: 1 1 auto;
|
|
6527
|
-
min-height: 0;
|
|
6528
|
-
background-color: var(--color-surface-level2);
|
|
6529
|
-
}
|
|
6530
|
-
|
|
6531
|
-
|
|
6532
6640
|
/* RecordingBar */
|
|
6533
6641
|
/* RecordingBar Component Styles */
|
|
6534
6642
|
|
|
@@ -6795,239 +6903,96 @@ body {
|
|
|
6795
6903
|
}
|
|
6796
6904
|
|
|
6797
6905
|
|
|
6798
|
-
/*
|
|
6799
|
-
/*
|
|
6906
|
+
/* Radio */
|
|
6907
|
+
/* Radio Component Styles - Using Muka Design Tokens */
|
|
6800
6908
|
|
|
6801
|
-
/*
|
|
6802
|
-
.muka-radio
|
|
6803
|
-
display: flex;
|
|
6909
|
+
/* Wrapper - clickable label container */
|
|
6910
|
+
.muka-radio {
|
|
6911
|
+
display: inline-flex;
|
|
6804
6912
|
align-items: center;
|
|
6805
6913
|
gap: var(--spacing-4);
|
|
6806
|
-
padding: var(--spacing-4);
|
|
6807
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
6808
|
-
border-radius: var(--input-field-radius-lg);
|
|
6809
|
-
background-color: var(--color-surface-level3);
|
|
6810
6914
|
cursor: pointer;
|
|
6811
|
-
|
|
6812
|
-
overflow: hidden;
|
|
6813
|
-
box-sizing: border-box;
|
|
6915
|
+
user-select: none;
|
|
6814
6916
|
}
|
|
6815
6917
|
|
|
6816
|
-
.muka-radio
|
|
6918
|
+
.muka-radio--disabled {
|
|
6817
6919
|
cursor: not-allowed;
|
|
6818
6920
|
opacity: 0.6;
|
|
6819
6921
|
}
|
|
6820
6922
|
|
|
6821
|
-
/*
|
|
6822
|
-
.muka-
|
|
6823
|
-
border-width: var(--border-width-bold);
|
|
6824
|
-
border-color: var(--color-action-default);
|
|
6825
|
-
}
|
|
6826
|
-
|
|
6827
|
-
/* Vertical layout */
|
|
6828
|
-
.muka-radio-tile--vertical {
|
|
6829
|
-
flex-direction: column;
|
|
6830
|
-
align-items: center;
|
|
6831
|
-
gap: var(--spacing-2);
|
|
6923
|
+
/* Control container */
|
|
6924
|
+
.muka-radio__control {
|
|
6832
6925
|
position: relative;
|
|
6833
|
-
|
|
6834
|
-
|
|
6835
|
-
|
|
6836
|
-
/* Radio container */
|
|
6837
|
-
.muka-radio-tile__radio {
|
|
6926
|
+
display: inline-flex;
|
|
6927
|
+
align-items: center;
|
|
6928
|
+
justify-content: center;
|
|
6838
6929
|
flex-shrink: 0;
|
|
6839
6930
|
}
|
|
6840
6931
|
|
|
6841
|
-
/*
|
|
6842
|
-
.muka-
|
|
6932
|
+
/* Hidden native input */
|
|
6933
|
+
.muka-radio__input {
|
|
6843
6934
|
position: absolute;
|
|
6844
|
-
|
|
6845
|
-
|
|
6846
|
-
|
|
6847
|
-
|
|
6848
|
-
|
|
6849
|
-
|
|
6850
|
-
|
|
6851
|
-
|
|
6935
|
+
width: 1px;
|
|
6936
|
+
height: 1px;
|
|
6937
|
+
padding: 0;
|
|
6938
|
+
margin: -1px;
|
|
6939
|
+
overflow: hidden;
|
|
6940
|
+
clip: rect(0, 0, 0, 0);
|
|
6941
|
+
white-space: nowrap;
|
|
6942
|
+
border: 0;
|
|
6852
6943
|
}
|
|
6853
6944
|
|
|
6854
|
-
/*
|
|
6855
|
-
.muka-
|
|
6945
|
+
/* Visual indicator (circle) */
|
|
6946
|
+
.muka-radio__indicator {
|
|
6856
6947
|
display: flex;
|
|
6857
6948
|
align-items: center;
|
|
6858
6949
|
justify-content: center;
|
|
6859
|
-
|
|
6860
|
-
|
|
6861
|
-
|
|
6862
|
-
color: var(--color-
|
|
6950
|
+
width: var(--radio-size-default);
|
|
6951
|
+
height: var(--radio-size-default);
|
|
6952
|
+
border-radius: var(--border-radius-full);
|
|
6953
|
+
background-color: var(--radio-color-default-background);
|
|
6954
|
+
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
6955
|
+
transition: all 0.15s ease;
|
|
6956
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
6863
6957
|
}
|
|
6864
6958
|
|
|
6865
|
-
|
|
6866
|
-
|
|
6867
|
-
|
|
6959
|
+
/* Size variants */
|
|
6960
|
+
.muka-radio--sm .muka-radio__indicator {
|
|
6961
|
+
width: var(--radio-size-sm);
|
|
6962
|
+
height: var(--radio-size-sm);
|
|
6868
6963
|
}
|
|
6869
6964
|
|
|
6870
|
-
|
|
6871
|
-
|
|
6872
|
-
|
|
6873
|
-
overflow: hidden;
|
|
6874
|
-
border-radius: var(--border-radius-sm);
|
|
6965
|
+
.muka-radio--lg .muka-radio__indicator {
|
|
6966
|
+
width: var(--radio-size-lg);
|
|
6967
|
+
height: var(--radio-size-lg);
|
|
6875
6968
|
}
|
|
6876
6969
|
|
|
6877
|
-
|
|
6878
|
-
|
|
6879
|
-
width:
|
|
6880
|
-
height:
|
|
6881
|
-
|
|
6970
|
+
/* Inner dot (shown when checked) */
|
|
6971
|
+
.muka-radio__dot {
|
|
6972
|
+
width: var(--radio-dot-size-default);
|
|
6973
|
+
height: var(--radio-dot-size-default);
|
|
6974
|
+
border-radius: var(--border-radius-full);
|
|
6975
|
+
background-color: var(--radio-color-default-dot);
|
|
6976
|
+
transform: scale(0);
|
|
6977
|
+
transition: transform 0.15s ease;
|
|
6882
6978
|
}
|
|
6883
6979
|
|
|
6884
|
-
|
|
6885
|
-
|
|
6886
|
-
|
|
6887
|
-
height: 40px;
|
|
6980
|
+
.muka-radio--sm .muka-radio__dot {
|
|
6981
|
+
width: var(--radio-dot-size-sm);
|
|
6982
|
+
height: var(--radio-dot-size-sm);
|
|
6888
6983
|
}
|
|
6889
6984
|
|
|
6890
|
-
|
|
6891
|
-
|
|
6892
|
-
|
|
6893
|
-
aspect-ratio: 4/3;
|
|
6985
|
+
.muka-radio--lg .muka-radio__dot {
|
|
6986
|
+
width: var(--radio-dot-size-lg);
|
|
6987
|
+
height: var(--radio-dot-size-lg);
|
|
6894
6988
|
}
|
|
6895
6989
|
|
|
6896
|
-
/*
|
|
6897
|
-
|
|
6898
|
-
|
|
6899
|
-
|
|
6900
|
-
|
|
6901
|
-
|
|
6902
|
-
gap: var(--spacing-1);
|
|
6903
|
-
}
|
|
6904
|
-
|
|
6905
|
-
/* Label */
|
|
6906
|
-
.muka-radio-tile__label {
|
|
6907
|
-
font-family: var(--text-body-lg-regular-fontFamily);
|
|
6908
|
-
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
6909
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
6910
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
6911
|
-
color: var(--color-text-default-default);
|
|
6912
|
-
}
|
|
6913
|
-
|
|
6914
|
-
.muka-radio-tile__label--bold {
|
|
6915
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
6916
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
6917
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
6918
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
6919
|
-
}
|
|
6920
|
-
|
|
6921
|
-
.muka-radio-tile__label--center {
|
|
6922
|
-
text-align: center;
|
|
6923
|
-
}
|
|
6924
|
-
|
|
6925
|
-
/* Caption */
|
|
6926
|
-
.muka-radio-tile__caption {
|
|
6927
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
6928
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
6929
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
6930
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
6931
|
-
color: var(--color-text-subtle-default);
|
|
6932
|
-
}
|
|
6933
|
-
|
|
6934
|
-
/* Disabled states */
|
|
6935
|
-
.muka-radio-tile--disabled .muka-radio-tile__label,
|
|
6936
|
-
.muka-radio-tile--disabled .muka-radio-tile__icon {
|
|
6937
|
-
color: var(--color-text-subtle-default);
|
|
6938
|
-
}
|
|
6939
|
-
|
|
6940
|
-
|
|
6941
|
-
/* Radio */
|
|
6942
|
-
/* Radio Component Styles - Using Muka Design Tokens */
|
|
6943
|
-
|
|
6944
|
-
/* Wrapper - clickable label container */
|
|
6945
|
-
.muka-radio {
|
|
6946
|
-
display: inline-flex;
|
|
6947
|
-
align-items: center;
|
|
6948
|
-
gap: var(--spacing-4);
|
|
6949
|
-
cursor: pointer;
|
|
6950
|
-
user-select: none;
|
|
6951
|
-
}
|
|
6952
|
-
|
|
6953
|
-
.muka-radio--disabled {
|
|
6954
|
-
cursor: not-allowed;
|
|
6955
|
-
opacity: 0.6;
|
|
6956
|
-
}
|
|
6957
|
-
|
|
6958
|
-
/* Control container */
|
|
6959
|
-
.muka-radio__control {
|
|
6960
|
-
position: relative;
|
|
6961
|
-
display: inline-flex;
|
|
6962
|
-
align-items: center;
|
|
6963
|
-
justify-content: center;
|
|
6964
|
-
flex-shrink: 0;
|
|
6965
|
-
}
|
|
6966
|
-
|
|
6967
|
-
/* Hidden native input */
|
|
6968
|
-
.muka-radio__input {
|
|
6969
|
-
position: absolute;
|
|
6970
|
-
width: 1px;
|
|
6971
|
-
height: 1px;
|
|
6972
|
-
padding: 0;
|
|
6973
|
-
margin: -1px;
|
|
6974
|
-
overflow: hidden;
|
|
6975
|
-
clip: rect(0, 0, 0, 0);
|
|
6976
|
-
white-space: nowrap;
|
|
6977
|
-
border: 0;
|
|
6978
|
-
}
|
|
6979
|
-
|
|
6980
|
-
/* Visual indicator (circle) */
|
|
6981
|
-
.muka-radio__indicator {
|
|
6982
|
-
display: flex;
|
|
6983
|
-
align-items: center;
|
|
6984
|
-
justify-content: center;
|
|
6985
|
-
width: var(--radio-size-default);
|
|
6986
|
-
height: var(--radio-size-default);
|
|
6987
|
-
border-radius: var(--border-radius-full);
|
|
6988
|
-
background-color: var(--radio-color-default-background);
|
|
6989
|
-
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
6990
|
-
transition: all 0.15s ease;
|
|
6991
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
6992
|
-
}
|
|
6993
|
-
|
|
6994
|
-
/* Size variants */
|
|
6995
|
-
.muka-radio--sm .muka-radio__indicator {
|
|
6996
|
-
width: var(--radio-size-sm);
|
|
6997
|
-
height: var(--radio-size-sm);
|
|
6998
|
-
}
|
|
6999
|
-
|
|
7000
|
-
.muka-radio--lg .muka-radio__indicator {
|
|
7001
|
-
width: var(--radio-size-lg);
|
|
7002
|
-
height: var(--radio-size-lg);
|
|
7003
|
-
}
|
|
7004
|
-
|
|
7005
|
-
/* Inner dot (shown when checked) */
|
|
7006
|
-
.muka-radio__dot {
|
|
7007
|
-
width: var(--radio-dot-size-default);
|
|
7008
|
-
height: var(--radio-dot-size-default);
|
|
7009
|
-
border-radius: var(--border-radius-full);
|
|
7010
|
-
background-color: var(--radio-color-default-dot);
|
|
7011
|
-
transform: scale(0);
|
|
7012
|
-
transition: transform 0.15s ease;
|
|
7013
|
-
}
|
|
7014
|
-
|
|
7015
|
-
.muka-radio--sm .muka-radio__dot {
|
|
7016
|
-
width: var(--radio-dot-size-sm);
|
|
7017
|
-
height: var(--radio-dot-size-sm);
|
|
7018
|
-
}
|
|
7019
|
-
|
|
7020
|
-
.muka-radio--lg .muka-radio__dot {
|
|
7021
|
-
width: var(--radio-dot-size-lg);
|
|
7022
|
-
height: var(--radio-dot-size-lg);
|
|
7023
|
-
}
|
|
7024
|
-
|
|
7025
|
-
/* Hover state - removed per design */
|
|
7026
|
-
|
|
7027
|
-
/* Focus state */
|
|
7028
|
-
.muka-radio__input:focus-visible + .muka-radio__indicator {
|
|
7029
|
-
outline: 2px solid var(--color-border-focus);
|
|
7030
|
-
outline-offset: 2px;
|
|
6990
|
+
/* Hover state - removed per design */
|
|
6991
|
+
|
|
6992
|
+
/* Focus state */
|
|
6993
|
+
.muka-radio__input:focus-visible + .muka-radio__indicator {
|
|
6994
|
+
outline: 2px solid var(--color-border-focus);
|
|
6995
|
+
outline-offset: 2px;
|
|
7031
6996
|
}
|
|
7032
6997
|
|
|
7033
6998
|
/* Checked state */
|
|
@@ -7951,107 +7916,250 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
7951
7916
|
}
|
|
7952
7917
|
|
|
7953
7918
|
|
|
7954
|
-
/*
|
|
7955
|
-
/*
|
|
7956
|
-
|
|
7957
|
-
/* ========================================
|
|
7958
|
-
BAR VARIANT
|
|
7959
|
-
======================================== */
|
|
7919
|
+
/* RadioTile */
|
|
7920
|
+
/* RadioTile Component Styles - Using Muka Design Tokens */
|
|
7960
7921
|
|
|
7961
|
-
|
|
7922
|
+
/* Base tile styles - horizontal */
|
|
7923
|
+
.muka-radio-tile {
|
|
7962
7924
|
display: flex;
|
|
7963
7925
|
align-items: center;
|
|
7964
|
-
gap: var(--spacing-
|
|
7965
|
-
|
|
7966
|
-
|
|
7967
|
-
|
|
7968
|
-
|
|
7969
|
-
|
|
7970
|
-
|
|
7971
|
-
border-radius: var(--border-radius-full);
|
|
7926
|
+
gap: var(--spacing-4);
|
|
7927
|
+
padding: var(--spacing-4);
|
|
7928
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
7929
|
+
border-radius: var(--input-field-radius-lg);
|
|
7930
|
+
background-color: var(--color-surface-level3);
|
|
7931
|
+
cursor: pointer;
|
|
7932
|
+
transition: border-color 0.15s ease, border-width 0.15s ease;
|
|
7972
7933
|
overflow: hidden;
|
|
7934
|
+
box-sizing: border-box;
|
|
7973
7935
|
}
|
|
7974
7936
|
|
|
7975
|
-
.muka-
|
|
7976
|
-
|
|
7977
|
-
|
|
7978
|
-
|
|
7979
|
-
.muka-progress--bar.muka-progress--md .muka-progress__track {
|
|
7980
|
-
height: var(--progress-size-bar-height-md);
|
|
7937
|
+
.muka-radio-tile--disabled {
|
|
7938
|
+
cursor: not-allowed;
|
|
7939
|
+
opacity: 0.6;
|
|
7981
7940
|
}
|
|
7982
7941
|
|
|
7983
|
-
|
|
7984
|
-
|
|
7942
|
+
/* Selected state */
|
|
7943
|
+
.muka-radio-tile[data-checked] {
|
|
7944
|
+
border-width: var(--border-width-bold);
|
|
7945
|
+
border-color: var(--color-action-default);
|
|
7985
7946
|
}
|
|
7986
7947
|
|
|
7987
|
-
|
|
7988
|
-
|
|
7989
|
-
|
|
7990
|
-
|
|
7991
|
-
|
|
7948
|
+
/* Vertical layout */
|
|
7949
|
+
.muka-radio-tile--vertical {
|
|
7950
|
+
flex-direction: column;
|
|
7951
|
+
align-items: center;
|
|
7952
|
+
gap: var(--spacing-2);
|
|
7953
|
+
position: relative;
|
|
7954
|
+
width: 160px;
|
|
7992
7955
|
}
|
|
7993
7956
|
|
|
7994
|
-
|
|
7957
|
+
/* Radio container */
|
|
7958
|
+
.muka-radio-tile__radio {
|
|
7995
7959
|
flex-shrink: 0;
|
|
7996
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
7997
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
7998
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
7999
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
8000
|
-
color: var(--color-text-default-default);
|
|
8001
|
-
min-width: 3ch;
|
|
8002
|
-
text-align: right;
|
|
8003
7960
|
}
|
|
8004
7961
|
|
|
8005
|
-
/*
|
|
8006
|
-
.muka-
|
|
8007
|
-
|
|
8008
|
-
|
|
7962
|
+
/* Corner-positioned radio for vertical */
|
|
7963
|
+
.muka-radio-tile__radio--corner {
|
|
7964
|
+
position: absolute;
|
|
7965
|
+
top: var(--spacing-4);
|
|
7966
|
+
left: var(--spacing-4);
|
|
8009
7967
|
}
|
|
8010
7968
|
|
|
8011
|
-
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
100% {
|
|
8016
|
-
transform: translateX(250%);
|
|
8017
|
-
}
|
|
7969
|
+
/* Adjust corner position when selected (border is thicker) */
|
|
7970
|
+
.muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
|
|
7971
|
+
top: calc(var(--spacing-4) - 1px);
|
|
7972
|
+
left: calc(var(--spacing-4) - 1px);
|
|
8018
7973
|
}
|
|
8019
7974
|
|
|
8020
|
-
/*
|
|
8021
|
-
|
|
8022
|
-
|
|
8023
|
-
|
|
8024
|
-
.muka-progress--circle {
|
|
8025
|
-
position: relative;
|
|
8026
|
-
display: inline-flex;
|
|
7975
|
+
/* Icon */
|
|
7976
|
+
.muka-radio-tile__icon {
|
|
7977
|
+
display: flex;
|
|
8027
7978
|
align-items: center;
|
|
8028
7979
|
justify-content: center;
|
|
7980
|
+
flex-shrink: 0;
|
|
7981
|
+
width: var(--icon-size-default);
|
|
7982
|
+
height: var(--icon-size-default);
|
|
7983
|
+
color: var(--color-text-default-default);
|
|
8029
7984
|
}
|
|
8030
7985
|
|
|
8031
|
-
.muka-
|
|
8032
|
-
width:
|
|
8033
|
-
height:
|
|
8034
|
-
}
|
|
8035
|
-
|
|
8036
|
-
.muka-progress--circle.muka-progress--md {
|
|
8037
|
-
width: var(--progress-size-circle-diameter-md);
|
|
8038
|
-
height: var(--progress-size-circle-diameter-md);
|
|
7986
|
+
.muka-radio-tile__icon svg {
|
|
7987
|
+
width: 100%;
|
|
7988
|
+
height: 100%;
|
|
8039
7989
|
}
|
|
8040
7990
|
|
|
8041
|
-
|
|
8042
|
-
|
|
8043
|
-
|
|
7991
|
+
/* Image */
|
|
7992
|
+
.muka-radio-tile__image {
|
|
7993
|
+
flex-shrink: 0;
|
|
7994
|
+
overflow: hidden;
|
|
7995
|
+
border-radius: var(--border-radius-sm);
|
|
8044
7996
|
}
|
|
8045
7997
|
|
|
8046
|
-
.muka-
|
|
7998
|
+
.muka-radio-tile__image img {
|
|
7999
|
+
display: block;
|
|
8047
8000
|
width: 100%;
|
|
8048
8001
|
height: 100%;
|
|
8049
|
-
|
|
8002
|
+
object-fit: cover;
|
|
8050
8003
|
}
|
|
8051
8004
|
|
|
8052
|
-
|
|
8053
|
-
|
|
8054
|
-
|
|
8005
|
+
/* Horizontal image sizing */
|
|
8006
|
+
.muka-radio-tile__image--horizontal {
|
|
8007
|
+
width: 40px;
|
|
8008
|
+
height: 40px;
|
|
8009
|
+
}
|
|
8010
|
+
|
|
8011
|
+
/* Vertical image sizing */
|
|
8012
|
+
.muka-radio-tile--vertical .muka-radio-tile__image {
|
|
8013
|
+
width: 100%;
|
|
8014
|
+
aspect-ratio: 4/3;
|
|
8015
|
+
}
|
|
8016
|
+
|
|
8017
|
+
/* Content container */
|
|
8018
|
+
.muka-radio-tile__content {
|
|
8019
|
+
display: flex;
|
|
8020
|
+
flex-direction: column;
|
|
8021
|
+
flex: 1;
|
|
8022
|
+
min-width: 0;
|
|
8023
|
+
gap: var(--spacing-1);
|
|
8024
|
+
}
|
|
8025
|
+
|
|
8026
|
+
/* Label */
|
|
8027
|
+
.muka-radio-tile__label {
|
|
8028
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
8029
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
8030
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
8031
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
8032
|
+
color: var(--color-text-default-default);
|
|
8033
|
+
}
|
|
8034
|
+
|
|
8035
|
+
.muka-radio-tile__label--bold {
|
|
8036
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
8037
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
8038
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
8039
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
8040
|
+
}
|
|
8041
|
+
|
|
8042
|
+
.muka-radio-tile__label--center {
|
|
8043
|
+
text-align: center;
|
|
8044
|
+
}
|
|
8045
|
+
|
|
8046
|
+
/* Caption */
|
|
8047
|
+
.muka-radio-tile__caption {
|
|
8048
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
8049
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
8050
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
8051
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
8052
|
+
color: var(--color-text-subtle-default);
|
|
8053
|
+
}
|
|
8054
|
+
|
|
8055
|
+
/* Disabled states */
|
|
8056
|
+
.muka-radio-tile--disabled .muka-radio-tile__label,
|
|
8057
|
+
.muka-radio-tile--disabled .muka-radio-tile__icon {
|
|
8058
|
+
color: var(--color-text-subtle-default);
|
|
8059
|
+
}
|
|
8060
|
+
|
|
8061
|
+
|
|
8062
|
+
/* Progress */
|
|
8063
|
+
/* Progress Component Styles - Using Muka Design Tokens */
|
|
8064
|
+
|
|
8065
|
+
/* ========================================
|
|
8066
|
+
BAR VARIANT
|
|
8067
|
+
======================================== */
|
|
8068
|
+
|
|
8069
|
+
.muka-progress--bar {
|
|
8070
|
+
display: flex;
|
|
8071
|
+
align-items: center;
|
|
8072
|
+
gap: var(--spacing-2);
|
|
8073
|
+
width: 100%;
|
|
8074
|
+
}
|
|
8075
|
+
|
|
8076
|
+
.muka-progress--bar .muka-progress__track {
|
|
8077
|
+
flex: 1;
|
|
8078
|
+
background-color: var(--color-surface-level1);
|
|
8079
|
+
border-radius: var(--border-radius-full);
|
|
8080
|
+
overflow: hidden;
|
|
8081
|
+
}
|
|
8082
|
+
|
|
8083
|
+
.muka-progress--bar.muka-progress--sm .muka-progress__track {
|
|
8084
|
+
height: var(--progress-size-bar-height-sm);
|
|
8085
|
+
}
|
|
8086
|
+
|
|
8087
|
+
.muka-progress--bar.muka-progress--md .muka-progress__track {
|
|
8088
|
+
height: var(--progress-size-bar-height-md);
|
|
8089
|
+
}
|
|
8090
|
+
|
|
8091
|
+
.muka-progress--bar.muka-progress--lg .muka-progress__track {
|
|
8092
|
+
height: var(--progress-size-bar-height-lg);
|
|
8093
|
+
}
|
|
8094
|
+
|
|
8095
|
+
.muka-progress--bar .muka-progress__fill {
|
|
8096
|
+
height: 100%;
|
|
8097
|
+
background-color: var(--color-action-default);
|
|
8098
|
+
border-radius: var(--border-radius-full);
|
|
8099
|
+
transition: width 0.3s ease;
|
|
8100
|
+
}
|
|
8101
|
+
|
|
8102
|
+
.muka-progress--bar .muka-progress__label {
|
|
8103
|
+
flex-shrink: 0;
|
|
8104
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
8105
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
8106
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
8107
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
8108
|
+
color: var(--color-text-default-default);
|
|
8109
|
+
min-width: 3ch;
|
|
8110
|
+
text-align: right;
|
|
8111
|
+
}
|
|
8112
|
+
|
|
8113
|
+
/* Indeterminate animation for bar */
|
|
8114
|
+
.muka-progress--bar.muka-progress--indeterminate .muka-progress__fill {
|
|
8115
|
+
width: 40%;
|
|
8116
|
+
animation: muka-progress-bar-indeterminate 1.5s ease-in-out infinite;
|
|
8117
|
+
}
|
|
8118
|
+
|
|
8119
|
+
@keyframes muka-progress-bar-indeterminate {
|
|
8120
|
+
0% {
|
|
8121
|
+
transform: translateX(-100%);
|
|
8122
|
+
}
|
|
8123
|
+
100% {
|
|
8124
|
+
transform: translateX(250%);
|
|
8125
|
+
}
|
|
8126
|
+
}
|
|
8127
|
+
|
|
8128
|
+
/* ========================================
|
|
8129
|
+
CIRCLE VARIANT
|
|
8130
|
+
======================================== */
|
|
8131
|
+
|
|
8132
|
+
.muka-progress--circle {
|
|
8133
|
+
position: relative;
|
|
8134
|
+
display: inline-flex;
|
|
8135
|
+
align-items: center;
|
|
8136
|
+
justify-content: center;
|
|
8137
|
+
}
|
|
8138
|
+
|
|
8139
|
+
.muka-progress--circle.muka-progress--sm {
|
|
8140
|
+
width: var(--progress-size-circle-diameter-sm);
|
|
8141
|
+
height: var(--progress-size-circle-diameter-sm);
|
|
8142
|
+
}
|
|
8143
|
+
|
|
8144
|
+
.muka-progress--circle.muka-progress--md {
|
|
8145
|
+
width: var(--progress-size-circle-diameter-md);
|
|
8146
|
+
height: var(--progress-size-circle-diameter-md);
|
|
8147
|
+
}
|
|
8148
|
+
|
|
8149
|
+
.muka-progress--circle.muka-progress--lg {
|
|
8150
|
+
width: var(--progress-size-circle-diameter-lg);
|
|
8151
|
+
height: var(--progress-size-circle-diameter-lg);
|
|
8152
|
+
}
|
|
8153
|
+
|
|
8154
|
+
.muka-progress__circle {
|
|
8155
|
+
width: 100%;
|
|
8156
|
+
height: 100%;
|
|
8157
|
+
transform: rotate(-90deg);
|
|
8158
|
+
}
|
|
8159
|
+
|
|
8160
|
+
.muka-progress--circle .muka-progress__track {
|
|
8161
|
+
fill: none;
|
|
8162
|
+
stroke: var(--color-surface-level1);
|
|
8055
8163
|
}
|
|
8056
8164
|
|
|
8057
8165
|
.muka-progress--circle.muka-progress--sm .muka-progress__track,
|
|
@@ -8237,103 +8345,6 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8237
8345
|
}
|
|
8238
8346
|
|
|
8239
8347
|
|
|
8240
|
-
/* PriceTag */
|
|
8241
|
-
/* PriceTag Component Styles - Using Muka Design Tokens */
|
|
8242
|
-
|
|
8243
|
-
.muka-price-tag {
|
|
8244
|
-
display: flex;
|
|
8245
|
-
flex-shrink: 0;
|
|
8246
|
-
}
|
|
8247
|
-
|
|
8248
|
-
/* Medium: stacked layout (price on top, unit below) */
|
|
8249
|
-
.muka-price-tag--md {
|
|
8250
|
-
flex-direction: column;
|
|
8251
|
-
align-items: flex-end;
|
|
8252
|
-
justify-content: center;
|
|
8253
|
-
}
|
|
8254
|
-
|
|
8255
|
-
/* Small: inline layout */
|
|
8256
|
-
.muka-price-tag--sm {
|
|
8257
|
-
flex-direction: row;
|
|
8258
|
-
align-items: center;
|
|
8259
|
-
gap: 3px;
|
|
8260
|
-
}
|
|
8261
|
-
|
|
8262
|
-
/* Amount row: currency + numbers */
|
|
8263
|
-
.muka-price-tag__amount {
|
|
8264
|
-
display: flex;
|
|
8265
|
-
align-items: flex-start;
|
|
8266
|
-
gap: var(--spacing-1);
|
|
8267
|
-
}
|
|
8268
|
-
|
|
8269
|
-
.muka-price-tag--sm .muka-price-tag__amount {
|
|
8270
|
-
align-items: center;
|
|
8271
|
-
}
|
|
8272
|
-
|
|
8273
|
-
/* Numbers group: whole + decimal + cents */
|
|
8274
|
-
.muka-price-tag__numbers {
|
|
8275
|
-
display: flex;
|
|
8276
|
-
align-items: baseline;
|
|
8277
|
-
}
|
|
8278
|
-
|
|
8279
|
-
/* ─── Medium size typography ──────────────────────────── */
|
|
8280
|
-
|
|
8281
|
-
.muka-price-tag--md .muka-price-tag__currency {
|
|
8282
|
-
font-family: var(--text-subheading-md-fontFamily);
|
|
8283
|
-
font-weight: var(--text-subheading-md-fontWeight);
|
|
8284
|
-
font-size: var(--text-subheading-md-fontSize);
|
|
8285
|
-
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
8286
|
-
color: var(--color-text-subtle-default);
|
|
8287
|
-
}
|
|
8288
|
-
|
|
8289
|
-
.muka-price-tag--md .muka-price-tag__whole {
|
|
8290
|
-
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
8291
|
-
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
8292
|
-
font-size: var(--text-label-2xl-bold-fontSize);
|
|
8293
|
-
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
8294
|
-
color: var(--color-text-default-default);
|
|
8295
|
-
}
|
|
8296
|
-
|
|
8297
|
-
.muka-price-tag--md .muka-price-tag__decimal,
|
|
8298
|
-
.muka-price-tag--md .muka-price-tag__cents {
|
|
8299
|
-
font-family: var(--text-label-md-bold-fontFamily);
|
|
8300
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
8301
|
-
font-size: var(--text-label-md-bold-fontSize);
|
|
8302
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
8303
|
-
color: var(--color-text-default-default);
|
|
8304
|
-
}
|
|
8305
|
-
|
|
8306
|
-
/* ─── Small size typography ───────────────────────────── */
|
|
8307
|
-
|
|
8308
|
-
.muka-price-tag--sm .muka-price-tag__currency {
|
|
8309
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
8310
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
8311
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
8312
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
8313
|
-
color: var(--color-text-subtle-default);
|
|
8314
|
-
}
|
|
8315
|
-
|
|
8316
|
-
.muka-price-tag--sm .muka-price-tag__whole,
|
|
8317
|
-
.muka-price-tag--sm .muka-price-tag__decimal,
|
|
8318
|
-
.muka-price-tag--sm .muka-price-tag__cents {
|
|
8319
|
-
font-family: var(--text-label-md-bold-fontFamily);
|
|
8320
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
8321
|
-
font-size: var(--text-label-md-bold-fontSize);
|
|
8322
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
8323
|
-
color: var(--color-text-default-default);
|
|
8324
|
-
}
|
|
8325
|
-
|
|
8326
|
-
/* ─── Unit label (same for both sizes) ────────────────── */
|
|
8327
|
-
|
|
8328
|
-
.muka-price-tag__unit {
|
|
8329
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
8330
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
8331
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
8332
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
8333
|
-
color: var(--color-text-subtle-default);
|
|
8334
|
-
}
|
|
8335
|
-
|
|
8336
|
-
|
|
8337
8348
|
/* Popover */
|
|
8338
8349
|
/* Popover Component Styles */
|
|
8339
8350
|
|
|
@@ -8762,10 +8773,107 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8762
8773
|
}
|
|
8763
8774
|
|
|
8764
8775
|
|
|
8765
|
-
/*
|
|
8766
|
-
/*
|
|
8776
|
+
/* PriceTag */
|
|
8777
|
+
/* PriceTag Component Styles - Using Muka Design Tokens */
|
|
8767
8778
|
|
|
8768
|
-
.muka-
|
|
8779
|
+
.muka-price-tag {
|
|
8780
|
+
display: flex;
|
|
8781
|
+
flex-shrink: 0;
|
|
8782
|
+
}
|
|
8783
|
+
|
|
8784
|
+
/* Medium: stacked layout (price on top, unit below) */
|
|
8785
|
+
.muka-price-tag--md {
|
|
8786
|
+
flex-direction: column;
|
|
8787
|
+
align-items: flex-end;
|
|
8788
|
+
justify-content: center;
|
|
8789
|
+
}
|
|
8790
|
+
|
|
8791
|
+
/* Small: inline layout */
|
|
8792
|
+
.muka-price-tag--sm {
|
|
8793
|
+
flex-direction: row;
|
|
8794
|
+
align-items: center;
|
|
8795
|
+
gap: 3px;
|
|
8796
|
+
}
|
|
8797
|
+
|
|
8798
|
+
/* Amount row: currency + numbers */
|
|
8799
|
+
.muka-price-tag__amount {
|
|
8800
|
+
display: flex;
|
|
8801
|
+
align-items: flex-start;
|
|
8802
|
+
gap: var(--spacing-1);
|
|
8803
|
+
}
|
|
8804
|
+
|
|
8805
|
+
.muka-price-tag--sm .muka-price-tag__amount {
|
|
8806
|
+
align-items: center;
|
|
8807
|
+
}
|
|
8808
|
+
|
|
8809
|
+
/* Numbers group: whole + decimal + cents */
|
|
8810
|
+
.muka-price-tag__numbers {
|
|
8811
|
+
display: flex;
|
|
8812
|
+
align-items: baseline;
|
|
8813
|
+
}
|
|
8814
|
+
|
|
8815
|
+
/* ─── Medium size typography ──────────────────────────── */
|
|
8816
|
+
|
|
8817
|
+
.muka-price-tag--md .muka-price-tag__currency {
|
|
8818
|
+
font-family: var(--text-subheading-md-fontFamily);
|
|
8819
|
+
font-weight: var(--text-subheading-md-fontWeight);
|
|
8820
|
+
font-size: var(--text-subheading-md-fontSize);
|
|
8821
|
+
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
8822
|
+
color: var(--color-text-subtle-default);
|
|
8823
|
+
}
|
|
8824
|
+
|
|
8825
|
+
.muka-price-tag--md .muka-price-tag__whole {
|
|
8826
|
+
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
8827
|
+
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
8828
|
+
font-size: var(--text-label-2xl-bold-fontSize);
|
|
8829
|
+
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
8830
|
+
color: var(--color-text-default-default);
|
|
8831
|
+
}
|
|
8832
|
+
|
|
8833
|
+
.muka-price-tag--md .muka-price-tag__decimal,
|
|
8834
|
+
.muka-price-tag--md .muka-price-tag__cents {
|
|
8835
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
8836
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
8837
|
+
font-size: var(--text-label-md-bold-fontSize);
|
|
8838
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
8839
|
+
color: var(--color-text-default-default);
|
|
8840
|
+
}
|
|
8841
|
+
|
|
8842
|
+
/* ─── Small size typography ───────────────────────────── */
|
|
8843
|
+
|
|
8844
|
+
.muka-price-tag--sm .muka-price-tag__currency {
|
|
8845
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
8846
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
8847
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
8848
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
8849
|
+
color: var(--color-text-subtle-default);
|
|
8850
|
+
}
|
|
8851
|
+
|
|
8852
|
+
.muka-price-tag--sm .muka-price-tag__whole,
|
|
8853
|
+
.muka-price-tag--sm .muka-price-tag__decimal,
|
|
8854
|
+
.muka-price-tag--sm .muka-price-tag__cents {
|
|
8855
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
8856
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
8857
|
+
font-size: var(--text-label-md-bold-fontSize);
|
|
8858
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
8859
|
+
color: var(--color-text-default-default);
|
|
8860
|
+
}
|
|
8861
|
+
|
|
8862
|
+
/* ─── Unit label (same for both sizes) ────────────────── */
|
|
8863
|
+
|
|
8864
|
+
.muka-price-tag__unit {
|
|
8865
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
8866
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
8867
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
8868
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
8869
|
+
color: var(--color-text-subtle-default);
|
|
8870
|
+
}
|
|
8871
|
+
|
|
8872
|
+
|
|
8873
|
+
/* PieChart */
|
|
8874
|
+
/* PieChart Component Styles - Using Muka Design Tokens */
|
|
8875
|
+
|
|
8876
|
+
.muka-piechart {
|
|
8769
8877
|
display: inline-flex;
|
|
8770
8878
|
align-items: center;
|
|
8771
8879
|
gap: var(--spacing-4);
|
|
@@ -8936,6 +9044,27 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8936
9044
|
color: var(--color-text-default-default);
|
|
8937
9045
|
}
|
|
8938
9046
|
|
|
9047
|
+
/*
|
|
9048
|
+
* Touch devices (phones, tablets without a mouse) have nothing to drag a file
|
|
9049
|
+
* from: the card and its "or drop here" hint go, and only the button stays.
|
|
9050
|
+
* Keyed on input capability, not width, so a narrow desktop window keeps
|
|
9051
|
+
* its drop zone.
|
|
9052
|
+
*/
|
|
9053
|
+
@media (hover: none) and (pointer: coarse) {
|
|
9054
|
+
.muka-photo-uploader__dropzone {
|
|
9055
|
+
align-items: flex-start;
|
|
9056
|
+
padding: 0;
|
|
9057
|
+
background-color: transparent;
|
|
9058
|
+
border: none;
|
|
9059
|
+
border-radius: 0;
|
|
9060
|
+
cursor: default;
|
|
9061
|
+
}
|
|
9062
|
+
|
|
9063
|
+
.muka-photo-uploader__dropzone-text {
|
|
9064
|
+
display: none;
|
|
9065
|
+
}
|
|
9066
|
+
}
|
|
9067
|
+
|
|
8939
9068
|
/* ─── Disabled ────────────────────────────────────────── */
|
|
8940
9069
|
.muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
|
|
8941
9070
|
cursor: not-allowed;
|
|
@@ -14627,631 +14756,290 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14627
14756
|
}
|
|
14628
14757
|
|
|
14629
14758
|
|
|
14630
|
-
/*
|
|
14631
|
-
/*
|
|
14759
|
+
/* ChatEvent */
|
|
14760
|
+
/* ChatEvent: a line in a chat that isn't a message from a person */
|
|
14632
14761
|
|
|
14633
|
-
.muka-chat-
|
|
14762
|
+
.muka-chat-event {
|
|
14634
14763
|
display: flex;
|
|
14635
14764
|
flex-direction: column;
|
|
14765
|
+
align-items: center;
|
|
14766
|
+
gap: var(--spacing-2);
|
|
14636
14767
|
width: 100%;
|
|
14637
|
-
|
|
14768
|
+
padding: 0 var(--spacing-4);
|
|
14769
|
+
box-sizing: border-box;
|
|
14770
|
+
text-align: center;
|
|
14638
14771
|
}
|
|
14639
14772
|
|
|
14640
|
-
|
|
14641
|
-
|
|
14642
|
-
|
|
14643
|
-
|
|
14644
|
-
|
|
14645
|
-
|
|
14646
|
-
|
|
14647
|
-
|
|
14773
|
+
.muka-chat-event__text {
|
|
14774
|
+
margin: 0;
|
|
14775
|
+
max-width: var(--chatbubble-max-width);
|
|
14776
|
+
/* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
|
|
14777
|
+
and this is body text. Size and centring set it apart from messages. */
|
|
14778
|
+
color: var(--color-text-default-default);
|
|
14779
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
14780
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
14781
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
14782
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
14648
14783
|
}
|
|
14649
14784
|
|
|
14650
|
-
.muka-chat-
|
|
14651
|
-
|
|
14652
|
-
grid-template-areas: 'rail bubble';
|
|
14785
|
+
.muka-chat-event__timestamp {
|
|
14786
|
+
white-space: nowrap;
|
|
14653
14787
|
}
|
|
14654
14788
|
|
|
14655
|
-
.muka-chat-
|
|
14656
|
-
grid-area: rail;
|
|
14657
|
-
/* Sits on the bubble's baseline (Figma 5355:44091) */
|
|
14658
|
-
align-self: end;
|
|
14789
|
+
.muka-chat-event__media {
|
|
14659
14790
|
display: flex;
|
|
14791
|
+
flex-wrap: wrap;
|
|
14660
14792
|
justify-content: center;
|
|
14661
|
-
|
|
14793
|
+
gap: var(--spacing-2);
|
|
14662
14794
|
}
|
|
14663
14795
|
|
|
14664
|
-
/*
|
|
14665
|
-
|
|
14666
|
-
|
|
14667
|
-
|
|
14668
|
-
|
|
14669
|
-
|
|
14670
|
-
|
|
14671
|
-
|
|
14672
|
-
|
|
14673
|
-
|
|
14674
|
-
|
|
14675
|
-
|
|
14676
|
-
}
|
|
14677
|
-
|
|
14678
|
-
/* Outweighs the avatar's own size class, which sets width/height directly */
|
|
14679
|
-
.muka-chat-message .muka-chat-message__rail > * {
|
|
14680
|
-
width: var(--chatbubble-avatar-size-compact);
|
|
14681
|
-
height: var(--chatbubble-avatar-size-compact);
|
|
14682
|
-
}
|
|
14796
|
+
/* Day divider: a small pill */
|
|
14797
|
+
.muka-chat-event__pill {
|
|
14798
|
+
display: inline-flex;
|
|
14799
|
+
align-items: center;
|
|
14800
|
+
padding: var(--spacing-1) var(--spacing-3);
|
|
14801
|
+
border-radius: var(--radius-full);
|
|
14802
|
+
background-color: var(--color-surface-level2);
|
|
14803
|
+
color: var(--color-text-default-default);
|
|
14804
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
14805
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
14806
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
14807
|
+
line-height: var(--text-label-sm-leading);
|
|
14683
14808
|
}
|
|
14684
14809
|
|
|
14685
|
-
/* ─── Bubble surface ───────────────────────────────────── */
|
|
14686
14810
|
|
|
14687
|
-
|
|
14688
|
-
|
|
14689
|
-
|
|
14690
|
-
|
|
14691
|
-
|
|
14692
|
-
|
|
14693
|
-
|
|
14694
|
-
|
|
14695
|
-
|
|
14696
|
-
* Ceiling from design (Figma 5355:44091). Below it, wrapping text fills the
|
|
14697
|
-
* row; above it the fixed cap leaves room for own/peer alignment.
|
|
14698
|
-
*/
|
|
14699
|
-
max-width: var(--chatbubble-max-width);
|
|
14700
|
-
position: relative;
|
|
14811
|
+
/* ChatComposer */
|
|
14812
|
+
/* ChatComposer Component Styles */
|
|
14813
|
+
|
|
14814
|
+
/*
|
|
14815
|
+
* The composer is a bare, fill-width row: no padding, background, border or
|
|
14816
|
+
* max-width of its own (Figma 5243:14141). Whatever hosts it owns the
|
|
14817
|
+
* container — see BottomBar's `chat` variant.
|
|
14818
|
+
*/
|
|
14819
|
+
.muka-chat-composer {
|
|
14701
14820
|
display: flex;
|
|
14702
14821
|
flex-direction: column;
|
|
14703
|
-
gap: var(--
|
|
14704
|
-
padding: var(--chatbubble-padding-block) var(--chatbubble-padding-inline);
|
|
14705
|
-
border-radius: var(--chatbubble-radius);
|
|
14706
|
-
border: var(--border-width-regular) solid transparent;
|
|
14707
|
-
box-shadow: var(--shadow-level2);
|
|
14708
|
-
word-break: break-word;
|
|
14709
|
-
}
|
|
14710
|
-
|
|
14711
|
-
/* Media, an embed or an action stack always run the full bubble width. */
|
|
14712
|
-
.muka-chat-message--has-blocks .muka-chat-message__bubble {
|
|
14822
|
+
gap: var(--spacing-3);
|
|
14713
14823
|
width: 100%;
|
|
14714
14824
|
}
|
|
14715
14825
|
|
|
14716
|
-
.muka-chat-
|
|
14717
|
-
|
|
14826
|
+
.muka-chat-composer--disabled {
|
|
14827
|
+
opacity: 0.6;
|
|
14828
|
+
pointer-events: none;
|
|
14718
14829
|
}
|
|
14719
14830
|
|
|
14720
|
-
|
|
14721
|
-
background-color: var(--chatbubble-color-own-background);
|
|
14722
|
-
border-color: var(--chatbubble-color-own-border);
|
|
14723
|
-
color: var(--chatbubble-color-own-foreground);
|
|
14724
|
-
}
|
|
14831
|
+
/* ─── Input row (default layout) ───────────────────────── */
|
|
14725
14832
|
|
|
14726
|
-
.muka-chat-
|
|
14727
|
-
|
|
14728
|
-
|
|
14729
|
-
|
|
14833
|
+
.muka-chat-composer__row {
|
|
14834
|
+
display: flex;
|
|
14835
|
+
width: 100%;
|
|
14836
|
+
align-items: flex-end;
|
|
14837
|
+
gap: var(--spacing-3);
|
|
14730
14838
|
}
|
|
14731
14839
|
|
|
14732
|
-
|
|
14733
|
-
|
|
14734
|
-
|
|
14735
|
-
|
|
14840
|
+
/*
|
|
14841
|
+
* Buttons beside the field keep their square size (`.muka-button--icon-only`
|
|
14842
|
+
* width). Only the field or recording bar flexes, so a wide waveform or a
|
|
14843
|
+
* long text can never squeeze them.
|
|
14844
|
+
*/
|
|
14845
|
+
.muka-chat-composer__row > .muka-button,
|
|
14846
|
+
.muka-chat-composer__options-input > .muka-button {
|
|
14847
|
+
flex-shrink: 0;
|
|
14736
14848
|
}
|
|
14737
14849
|
|
|
14738
|
-
/* ───
|
|
14850
|
+
/* ─── Text field ───────────────────────────────────────── */
|
|
14739
14851
|
|
|
14740
|
-
.muka-chat-
|
|
14852
|
+
.muka-chat-composer__field {
|
|
14741
14853
|
display: flex;
|
|
14742
|
-
flex
|
|
14854
|
+
flex: 1 1 auto;
|
|
14855
|
+
min-width: 0;
|
|
14856
|
+
box-sizing: border-box;
|
|
14743
14857
|
align-items: center;
|
|
14744
|
-
gap: var(--
|
|
14858
|
+
gap: var(--spacing-1);
|
|
14859
|
+
min-height: var(--input-field-height-lg, 48px);
|
|
14860
|
+
padding: 0 var(--spacing-2);
|
|
14861
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
14862
|
+
border-radius: var(--input-field-radius-lg);
|
|
14863
|
+
background-color: var(--input-field-color-default-background);
|
|
14864
|
+
transition: border-color 0.12s ease;
|
|
14745
14865
|
}
|
|
14746
14866
|
|
|
14747
|
-
.muka-chat-
|
|
14748
|
-
|
|
14749
|
-
|
|
14750
|
-
font-size: var(--text-body-base-bold-fontSize);
|
|
14751
|
-
line-height: var(--text-body-base-bold-lineHeight);
|
|
14867
|
+
.muka-chat-composer--options .muka-chat-composer__field {
|
|
14868
|
+
flex: 1 1 auto;
|
|
14869
|
+
width: auto;
|
|
14752
14870
|
}
|
|
14753
14871
|
|
|
14754
|
-
|
|
14755
|
-
|
|
14756
|
-
|
|
14872
|
+
/* Options input row: text field + mic / send beside it */
|
|
14873
|
+
.muka-chat-composer__options-input {
|
|
14874
|
+
display: flex;
|
|
14875
|
+
align-items: flex-end;
|
|
14876
|
+
gap: var(--spacing-3);
|
|
14877
|
+
width: 100%;
|
|
14878
|
+
}
|
|
14879
|
+
|
|
14880
|
+
.muka-chat-composer__field:focus-within {
|
|
14881
|
+
border-color: var(--input-field-color-focus-border, var(--color-action-default));
|
|
14882
|
+
}
|
|
14883
|
+
|
|
14884
|
+
.muka-chat-composer__input {
|
|
14885
|
+
flex: 1 1 auto;
|
|
14886
|
+
min-width: 0;
|
|
14887
|
+
width: 100%;
|
|
14888
|
+
box-sizing: border-box;
|
|
14889
|
+
resize: none;
|
|
14890
|
+
border: none;
|
|
14891
|
+
background: transparent;
|
|
14892
|
+
outline: none;
|
|
14893
|
+
padding: 0 var(--spacing-1);
|
|
14894
|
+
color: var(--color-text-default-default);
|
|
14757
14895
|
font-family: var(--text-body-base-regular-fontFamily);
|
|
14758
14896
|
font-weight: var(--text-body-base-regular-fontWeight);
|
|
14759
14897
|
font-size: var(--text-body-base-regular-fontSize);
|
|
14760
14898
|
line-height: var(--text-body-base-regular-lineHeight);
|
|
14899
|
+
appearance: none;
|
|
14900
|
+
-webkit-appearance: none;
|
|
14761
14901
|
}
|
|
14762
14902
|
|
|
14763
|
-
.muka-chat-
|
|
14764
|
-
|
|
14765
|
-
align-items: center;
|
|
14903
|
+
.muka-chat-composer__input::placeholder {
|
|
14904
|
+
color: var(--color-text-subtle-default);
|
|
14766
14905
|
}
|
|
14767
14906
|
|
|
14768
|
-
/*
|
|
14769
|
-
|
|
14770
|
-
|
|
14771
|
-
|
|
14772
|
-
.muka-chat-message--has-menu .muka-chat-message__header,
|
|
14773
|
-
.muka-chat-message--has-menu.muka-chat-message--no-header .muka-chat-message__message {
|
|
14774
|
-
padding-right: var(--spacing-10);
|
|
14907
|
+
/* Transcribing: the field is back but inert (Input disabled tokens). */
|
|
14908
|
+
.muka-chat-composer__field--disabled {
|
|
14909
|
+
border-color: var(--input-field-color-disabled-border);
|
|
14910
|
+
background-color: var(--input-field-color-disabled-background);
|
|
14775
14911
|
}
|
|
14776
14912
|
|
|
14777
|
-
|
|
14778
|
-
|
|
14779
|
-
padding-right: var(--spacing-10);
|
|
14913
|
+
.muka-chat-composer__field--disabled .muka-chat-composer__input::placeholder {
|
|
14914
|
+
color: var(--input-field-color-disabled-foreground);
|
|
14780
14915
|
}
|
|
14781
14916
|
|
|
14782
|
-
/*
|
|
14783
|
-
|
|
14784
|
-
|
|
14785
|
-
display: flex;
|
|
14786
|
-
flex-direction: column;
|
|
14787
|
-
gap: var(--chatbubble-gap);
|
|
14788
|
-
min-width: 0;
|
|
14917
|
+
/* Keep the in-field emoji button flush to the bottom-right as the field grows */
|
|
14918
|
+
.muka-chat-composer__emoji {
|
|
14919
|
+
flex-shrink: 0;
|
|
14789
14920
|
}
|
|
14790
14921
|
|
|
14791
|
-
|
|
14792
|
-
|
|
14922
|
+
/* Touch devices have emoji on their keyboard: no button there, unless the app
|
|
14923
|
+
keeps it with `emojiOnTouch`. */
|
|
14924
|
+
@media (pointer: coarse) {
|
|
14925
|
+
.muka-chat-composer__emoji:not(.muka-chat-composer__emoji--on-touch) {
|
|
14926
|
+
display: none;
|
|
14927
|
+
}
|
|
14793
14928
|
}
|
|
14794
14929
|
|
|
14795
|
-
|
|
14796
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
14797
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
14798
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
14799
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
14800
|
-
white-space: pre-wrap;
|
|
14801
|
-
word-break: break-word;
|
|
14802
|
-
}
|
|
14930
|
+
/* ─── Recording bar ────────────────────────────────────── */
|
|
14803
14931
|
|
|
14804
|
-
|
|
14805
|
-
|
|
14806
|
-
|
|
14932
|
+
.muka-chat-composer__recording {
|
|
14933
|
+
display: flex;
|
|
14934
|
+
flex: 1 1 auto;
|
|
14935
|
+
min-width: 0;
|
|
14936
|
+
box-sizing: border-box;
|
|
14937
|
+
align-items: center;
|
|
14938
|
+
min-height: var(--input-field-height-lg, 48px);
|
|
14939
|
+
padding: var(--card-padding-sm);
|
|
14940
|
+
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
14941
|
+
border-radius: var(--radius-lg);
|
|
14942
|
+
background-color: var(--card-color-default-background);
|
|
14943
|
+
/* A waveform wider than the space left is clipped, never laid over pause. */
|
|
14944
|
+
overflow: hidden;
|
|
14807
14945
|
}
|
|
14808
14946
|
|
|
14809
|
-
/* ───
|
|
14947
|
+
/* ─── Staged attachments strip ─────────────────────────── */
|
|
14810
14948
|
|
|
14811
|
-
.muka-chat-
|
|
14949
|
+
.muka-chat-composer__attachments-strip {
|
|
14812
14950
|
position: relative;
|
|
14813
|
-
|
|
14814
|
-
flex-direction: column;
|
|
14815
|
-
gap: var(--chatbubble-embed-gap);
|
|
14816
|
-
/* The card is inset from the blocks above and below it (Figma 5289:40562) */
|
|
14817
|
-
margin-block: var(--chatbubble-embed-margin-block);
|
|
14818
|
-
padding: var(--chatbubble-embed-padding-block) var(--chatbubble-embed-padding-inline);
|
|
14819
|
-
border-radius: var(--chatbubble-embed-radius);
|
|
14820
|
-
border: var(--border-width-regular) solid transparent;
|
|
14951
|
+
width: 100%;
|
|
14821
14952
|
}
|
|
14822
14953
|
|
|
14823
|
-
|
|
14824
|
-
|
|
14825
|
-
|
|
14826
|
-
|
|
14827
|
-
|
|
14828
|
-
|
|
14829
|
-
border-color: var(--chatbubble-embed-color-own-border);
|
|
14830
|
-
color: var(--chatbubble-embed-color-own-foreground);
|
|
14954
|
+
.muka-chat-composer__attachments {
|
|
14955
|
+
display: flex;
|
|
14956
|
+
gap: var(--spacing-3);
|
|
14957
|
+
overflow-x: auto;
|
|
14958
|
+
scroll-behavior: smooth;
|
|
14959
|
+
scrollbar-width: none;
|
|
14831
14960
|
}
|
|
14832
14961
|
|
|
14833
|
-
.muka-chat-
|
|
14834
|
-
|
|
14835
|
-
border-color: var(--chatbubble-embed-color-peer-border);
|
|
14836
|
-
color: var(--chatbubble-embed-color-peer-foreground);
|
|
14962
|
+
.muka-chat-composer__attachments::-webkit-scrollbar {
|
|
14963
|
+
display: none;
|
|
14837
14964
|
}
|
|
14838
14965
|
|
|
14839
|
-
.muka-chat-
|
|
14840
|
-
|
|
14841
|
-
|
|
14842
|
-
|
|
14966
|
+
.muka-chat-composer__overflow {
|
|
14967
|
+
position: absolute;
|
|
14968
|
+
top: 50%;
|
|
14969
|
+
right: var(--spacing-2);
|
|
14970
|
+
transform: translateY(-50%);
|
|
14843
14971
|
}
|
|
14844
14972
|
|
|
14845
|
-
|
|
14973
|
+
/* ─── Options mode (Figma State=Options / State7 / State8) ─ */
|
|
14974
|
+
|
|
14975
|
+
.muka-chat-composer__prompt {
|
|
14846
14976
|
display: flex;
|
|
14847
|
-
|
|
14848
|
-
gap: var(--
|
|
14849
|
-
|
|
14977
|
+
align-items: flex-start;
|
|
14978
|
+
gap: var(--spacing-3);
|
|
14979
|
+
width: 100%;
|
|
14850
14980
|
}
|
|
14851
14981
|
|
|
14852
|
-
.muka-chat-
|
|
14853
|
-
|
|
14854
|
-
top: var(--chatbubble-embed-padding-block);
|
|
14855
|
-
right: var(--chatbubble-embed-padding-inline);
|
|
14982
|
+
.muka-chat-composer__prompt-step {
|
|
14983
|
+
flex-shrink: 0;
|
|
14856
14984
|
}
|
|
14857
14985
|
|
|
14858
|
-
|
|
14859
|
-
|
|
14860
|
-
.muka-chat-message__action-stack {
|
|
14986
|
+
.muka-chat-composer__prompt-text {
|
|
14861
14987
|
display: flex;
|
|
14862
14988
|
flex-direction: column;
|
|
14863
|
-
gap: var(--
|
|
14989
|
+
gap: var(--spacing-1);
|
|
14990
|
+
min-width: 0;
|
|
14991
|
+
flex: 1 1 auto;
|
|
14864
14992
|
}
|
|
14865
14993
|
|
|
14866
|
-
|
|
14994
|
+
.muka-chat-composer__prompt-heading {
|
|
14995
|
+
color: var(--color-text-default-default);
|
|
14996
|
+
font-family: var(--text-heading-sm-fontFamily);
|
|
14997
|
+
font-weight: var(--text-heading-sm-fontWeight);
|
|
14998
|
+
font-size: var(--text-heading-sm-fontSize);
|
|
14999
|
+
line-height: var(--text-heading-sm-lineHeight);
|
|
15000
|
+
}
|
|
14867
15001
|
|
|
14868
|
-
|
|
14869
|
-
|
|
14870
|
-
|
|
14871
|
-
|
|
15002
|
+
.muka-chat-composer__prompt-description {
|
|
15003
|
+
color: var(--color-text-subtle-default);
|
|
15004
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
15005
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
15006
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
15007
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
15008
|
+
}
|
|
14872
15009
|
|
|
14873
|
-
.muka-chat-
|
|
14874
|
-
|
|
14875
|
-
font-family: var(--text-body-xs-regular-fontFamily);
|
|
14876
|
-
font-weight: var(--text-body-xs-regular-fontWeight);
|
|
14877
|
-
font-size: var(--text-body-xs-regular-fontSize);
|
|
14878
|
-
line-height: var(--text-body-xs-regular-lineHeight);
|
|
14879
|
-
white-space: nowrap;
|
|
15010
|
+
.muka-chat-composer__choices {
|
|
15011
|
+
width: 100%;
|
|
14880
15012
|
}
|
|
14881
15013
|
|
|
14882
15014
|
/*
|
|
14883
|
-
*
|
|
14884
|
-
*
|
|
15015
|
+
* Many choices (a phone with seven options) would push the field and the step
|
|
15016
|
+
* footer off screen. The card gets a height limit and scrolls on its own, so
|
|
15017
|
+
* the prompt, the field and the footer stay in view.
|
|
14885
15018
|
*/
|
|
14886
|
-
.muka-chat-
|
|
14887
|
-
|
|
14888
|
-
|
|
14889
|
-
|
|
15019
|
+
.muka-chat-composer__choices-card {
|
|
15020
|
+
width: 100%;
|
|
15021
|
+
max-height: 45dvh;
|
|
15022
|
+
overflow-x: hidden;
|
|
15023
|
+
overflow-y: auto;
|
|
15024
|
+
overscroll-behavior: contain;
|
|
14890
15025
|
}
|
|
14891
15026
|
|
|
14892
|
-
/*
|
|
14893
|
-
|
|
14894
|
-
|
|
14895
|
-
|
|
14896
|
-
* `__message` padding-right above), so it needs no extra bottom space.
|
|
14897
|
-
*/
|
|
14898
|
-
.muka-chat-message--has-timestamp.muka-chat-message--trailing-block .muka-chat-message__body {
|
|
14899
|
-
padding-bottom: var(--text-body-xs-regular-lineHeight);
|
|
15027
|
+
/* A choice is one short line, not a navigation row: compact padding. */
|
|
15028
|
+
.muka-chat-composer__choice.muka-listitem {
|
|
15029
|
+
align-items: center;
|
|
15030
|
+
padding-block: var(--spacing-3);
|
|
14900
15031
|
}
|
|
14901
15032
|
|
|
14902
|
-
/*
|
|
15033
|
+
/* Choice rows: the ListItem is the interactive control; the Radio/Checkbox is
|
|
15034
|
+
decorative for AT (aria-hidden) and sits in the leading slot. */
|
|
15035
|
+
.muka-chat-composer__choice-control {
|
|
15036
|
+
display: inline-flex;
|
|
15037
|
+
align-items: center;
|
|
15038
|
+
pointer-events: none;
|
|
15039
|
+
}
|
|
14903
15040
|
|
|
14904
|
-
|
|
14905
|
-
|
|
14906
|
-
* everywhere, and pinned while its menu is open. On touch the equivalent
|
|
14907
|
-
* affordance is a long-press on the bubble, which opens an ActionSheet.
|
|
14908
|
-
*/
|
|
14909
|
-
.muka-chat-message__menu {
|
|
14910
|
-
position: absolute;
|
|
14911
|
-
top: var(--spacing-1);
|
|
14912
|
-
right: var(--spacing-1);
|
|
14913
|
-
opacity: 0;
|
|
14914
|
-
pointer-events: none;
|
|
14915
|
-
}
|
|
14916
|
-
|
|
14917
|
-
.muka-chat-message__menu:focus-within,
|
|
14918
|
-
.muka-chat-message--menu-open .muka-chat-message__menu {
|
|
14919
|
-
opacity: 1;
|
|
14920
|
-
pointer-events: auto;
|
|
14921
|
-
}
|
|
14922
|
-
|
|
14923
|
-
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
|
|
14924
|
-
.muka-chat-message__bubble:hover .muka-chat-message__menu {
|
|
14925
|
-
opacity: 1;
|
|
14926
|
-
pointer-events: auto;
|
|
14927
|
-
}
|
|
14928
|
-
}
|
|
14929
|
-
|
|
14930
|
-
/* Suppress iOS Safari's own callout so the long-press sheet can take over */
|
|
14931
|
-
@media (pointer: coarse) {
|
|
14932
|
-
.muka-chat-message--has-menu .muka-chat-message__bubble {
|
|
14933
|
-
-webkit-touch-callout: none;
|
|
14934
|
-
}
|
|
14935
|
-
}
|
|
14936
|
-
|
|
14937
|
-
/* ─── Print ────────────────────────────────────────────── */
|
|
14938
|
-
|
|
14939
|
-
@media print {
|
|
14940
|
-
.muka-chat-message__bubble {
|
|
14941
|
-
box-shadow: none;
|
|
14942
|
-
break-inside: avoid;
|
|
14943
|
-
print-color-adjust: exact;
|
|
14944
|
-
-webkit-print-color-adjust: exact;
|
|
14945
|
-
}
|
|
14946
|
-
|
|
14947
|
-
.muka-chat-message__embed {
|
|
14948
|
-
break-inside: avoid;
|
|
14949
|
-
print-color-adjust: exact;
|
|
14950
|
-
-webkit-print-color-adjust: exact;
|
|
14951
|
-
}
|
|
14952
|
-
|
|
14953
|
-
.muka-chat-message__menu,
|
|
14954
|
-
.muka-chat-message__embed-copy,
|
|
14955
|
-
.muka-chat-message__action-stack {
|
|
14956
|
-
display: none;
|
|
14957
|
-
}
|
|
14958
|
-
}
|
|
14959
|
-
|
|
14960
|
-
/* ─── Muted (a message from another context) ──────────────
|
|
14961
|
-
* The bubble drops its fill and keeps a hairline, so it recedes next to the
|
|
14962
|
-
* current conversation; the text keeps full contrast. */
|
|
14963
|
-
|
|
14964
|
-
.muka-chat-message--muted .muka-chat-message__bubble {
|
|
14965
|
-
background-color: transparent;
|
|
14966
|
-
border-color: var(--chatbubble-color-peer-border);
|
|
14967
|
-
color: var(--color-text-default-default);
|
|
14968
|
-
}
|
|
14969
|
-
|
|
14970
|
-
|
|
14971
|
-
/* ChatEvent */
|
|
14972
|
-
/* ChatEvent: a line in a chat that isn't a message from a person */
|
|
14973
|
-
|
|
14974
|
-
.muka-chat-event {
|
|
14975
|
-
display: flex;
|
|
14976
|
-
flex-direction: column;
|
|
14977
|
-
align-items: center;
|
|
14978
|
-
gap: var(--spacing-2);
|
|
14979
|
-
width: 100%;
|
|
14980
|
-
padding: 0 var(--spacing-4);
|
|
14981
|
-
box-sizing: border-box;
|
|
14982
|
-
text-align: center;
|
|
14983
|
-
}
|
|
14984
|
-
|
|
14985
|
-
.muka-chat-event__text {
|
|
14986
|
-
margin: 0;
|
|
14987
|
-
max-width: var(--chatbubble-max-width);
|
|
14988
|
-
/* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
|
|
14989
|
-
and this is body text. Size and centring set it apart from messages. */
|
|
14990
|
-
color: var(--color-text-default-default);
|
|
14991
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
14992
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
14993
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
14994
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
14995
|
-
}
|
|
14996
|
-
|
|
14997
|
-
.muka-chat-event__timestamp {
|
|
14998
|
-
white-space: nowrap;
|
|
14999
|
-
}
|
|
15000
|
-
|
|
15001
|
-
.muka-chat-event__media {
|
|
15002
|
-
display: flex;
|
|
15003
|
-
flex-wrap: wrap;
|
|
15004
|
-
justify-content: center;
|
|
15005
|
-
gap: var(--spacing-2);
|
|
15006
|
-
}
|
|
15007
|
-
|
|
15008
|
-
/* Day divider: a small pill */
|
|
15009
|
-
.muka-chat-event__pill {
|
|
15010
|
-
display: inline-flex;
|
|
15011
|
-
align-items: center;
|
|
15012
|
-
padding: var(--spacing-1) var(--spacing-3);
|
|
15013
|
-
border-radius: var(--radius-full);
|
|
15014
|
-
background-color: var(--color-surface-level2);
|
|
15015
|
-
color: var(--color-text-default-default);
|
|
15016
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15017
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
15018
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
15019
|
-
line-height: var(--text-label-sm-leading);
|
|
15020
|
-
}
|
|
15021
|
-
|
|
15022
|
-
|
|
15023
|
-
/* ChatComposer */
|
|
15024
|
-
/* ChatComposer Component Styles */
|
|
15025
|
-
|
|
15026
|
-
/*
|
|
15027
|
-
* The composer is a bare, fill-width row: no padding, background, border or
|
|
15028
|
-
* max-width of its own (Figma 5243:14141). Whatever hosts it owns the
|
|
15029
|
-
* container — see BottomBar's `chat` variant.
|
|
15030
|
-
*/
|
|
15031
|
-
.muka-chat-composer {
|
|
15032
|
-
display: flex;
|
|
15033
|
-
flex-direction: column;
|
|
15034
|
-
gap: var(--spacing-3);
|
|
15035
|
-
width: 100%;
|
|
15036
|
-
}
|
|
15037
|
-
|
|
15038
|
-
.muka-chat-composer--disabled {
|
|
15039
|
-
opacity: 0.6;
|
|
15040
|
-
pointer-events: none;
|
|
15041
|
-
}
|
|
15042
|
-
|
|
15043
|
-
/* ─── Input row (default layout) ───────────────────────── */
|
|
15044
|
-
|
|
15045
|
-
.muka-chat-composer__row {
|
|
15046
|
-
display: flex;
|
|
15047
|
-
width: 100%;
|
|
15048
|
-
align-items: flex-end;
|
|
15049
|
-
gap: var(--spacing-3);
|
|
15050
|
-
}
|
|
15051
|
-
|
|
15052
|
-
/*
|
|
15053
|
-
* Buttons beside the field keep their square size (`.muka-button--icon-only`
|
|
15054
|
-
* width). Only the field or recording bar flexes, so a wide waveform or a
|
|
15055
|
-
* long text can never squeeze them.
|
|
15056
|
-
*/
|
|
15057
|
-
.muka-chat-composer__row > .muka-button,
|
|
15058
|
-
.muka-chat-composer__options-input > .muka-button {
|
|
15059
|
-
flex-shrink: 0;
|
|
15060
|
-
}
|
|
15061
|
-
|
|
15062
|
-
/* ─── Text field ───────────────────────────────────────── */
|
|
15063
|
-
|
|
15064
|
-
.muka-chat-composer__field {
|
|
15065
|
-
display: flex;
|
|
15066
|
-
flex: 1 1 auto;
|
|
15067
|
-
min-width: 0;
|
|
15068
|
-
box-sizing: border-box;
|
|
15069
|
-
align-items: center;
|
|
15070
|
-
gap: var(--spacing-1);
|
|
15071
|
-
min-height: var(--input-field-height-lg, 48px);
|
|
15072
|
-
padding: 0 var(--spacing-2);
|
|
15073
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
15074
|
-
border-radius: var(--input-field-radius-lg);
|
|
15075
|
-
background-color: var(--input-field-color-default-background);
|
|
15076
|
-
transition: border-color 0.12s ease;
|
|
15077
|
-
}
|
|
15078
|
-
|
|
15079
|
-
.muka-chat-composer--options .muka-chat-composer__field {
|
|
15080
|
-
flex: 1 1 auto;
|
|
15081
|
-
width: auto;
|
|
15082
|
-
}
|
|
15083
|
-
|
|
15084
|
-
/* Options input row: text field + mic / send beside it */
|
|
15085
|
-
.muka-chat-composer__options-input {
|
|
15086
|
-
display: flex;
|
|
15087
|
-
align-items: flex-end;
|
|
15088
|
-
gap: var(--spacing-3);
|
|
15089
|
-
width: 100%;
|
|
15090
|
-
}
|
|
15091
|
-
|
|
15092
|
-
.muka-chat-composer__field:focus-within {
|
|
15093
|
-
border-color: var(--input-field-color-focus-border, var(--color-action-default));
|
|
15094
|
-
}
|
|
15095
|
-
|
|
15096
|
-
.muka-chat-composer__input {
|
|
15097
|
-
flex: 1 1 auto;
|
|
15098
|
-
min-width: 0;
|
|
15099
|
-
width: 100%;
|
|
15100
|
-
box-sizing: border-box;
|
|
15101
|
-
resize: none;
|
|
15102
|
-
border: none;
|
|
15103
|
-
background: transparent;
|
|
15104
|
-
outline: none;
|
|
15105
|
-
padding: 0 var(--spacing-1);
|
|
15106
|
-
color: var(--color-text-default-default);
|
|
15107
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
15108
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
15109
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
15110
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
15111
|
-
appearance: none;
|
|
15112
|
-
-webkit-appearance: none;
|
|
15113
|
-
}
|
|
15114
|
-
|
|
15115
|
-
.muka-chat-composer__input::placeholder {
|
|
15116
|
-
color: var(--color-text-subtle-default);
|
|
15117
|
-
}
|
|
15118
|
-
|
|
15119
|
-
/* Transcribing: the field is back but inert (Input disabled tokens). */
|
|
15120
|
-
.muka-chat-composer__field--disabled {
|
|
15121
|
-
border-color: var(--input-field-color-disabled-border);
|
|
15122
|
-
background-color: var(--input-field-color-disabled-background);
|
|
15123
|
-
}
|
|
15124
|
-
|
|
15125
|
-
.muka-chat-composer__field--disabled .muka-chat-composer__input::placeholder {
|
|
15126
|
-
color: var(--input-field-color-disabled-foreground);
|
|
15127
|
-
}
|
|
15128
|
-
|
|
15129
|
-
/* Keep the in-field emoji button flush to the bottom-right as the field grows */
|
|
15130
|
-
.muka-chat-composer__emoji {
|
|
15131
|
-
flex-shrink: 0;
|
|
15132
|
-
}
|
|
15133
|
-
|
|
15134
|
-
/* Touch devices have emoji on their keyboard: no button there, unless the app
|
|
15135
|
-
keeps it with `emojiOnTouch`. */
|
|
15136
|
-
@media (pointer: coarse) {
|
|
15137
|
-
.muka-chat-composer__emoji:not(.muka-chat-composer__emoji--on-touch) {
|
|
15138
|
-
display: none;
|
|
15139
|
-
}
|
|
15140
|
-
}
|
|
15141
|
-
|
|
15142
|
-
/* ─── Recording bar ────────────────────────────────────── */
|
|
15143
|
-
|
|
15144
|
-
.muka-chat-composer__recording {
|
|
15145
|
-
display: flex;
|
|
15146
|
-
flex: 1 1 auto;
|
|
15147
|
-
min-width: 0;
|
|
15148
|
-
box-sizing: border-box;
|
|
15149
|
-
align-items: center;
|
|
15150
|
-
min-height: var(--input-field-height-lg, 48px);
|
|
15151
|
-
padding: var(--card-padding-sm);
|
|
15152
|
-
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
15153
|
-
border-radius: var(--radius-lg);
|
|
15154
|
-
background-color: var(--card-color-default-background);
|
|
15155
|
-
/* A waveform wider than the space left is clipped, never laid over pause. */
|
|
15156
|
-
overflow: hidden;
|
|
15157
|
-
}
|
|
15158
|
-
|
|
15159
|
-
/* ─── Staged attachments strip ─────────────────────────── */
|
|
15160
|
-
|
|
15161
|
-
.muka-chat-composer__attachments-strip {
|
|
15162
|
-
position: relative;
|
|
15163
|
-
width: 100%;
|
|
15164
|
-
}
|
|
15165
|
-
|
|
15166
|
-
.muka-chat-composer__attachments {
|
|
15167
|
-
display: flex;
|
|
15168
|
-
gap: var(--spacing-3);
|
|
15169
|
-
overflow-x: auto;
|
|
15170
|
-
scroll-behavior: smooth;
|
|
15171
|
-
scrollbar-width: none;
|
|
15172
|
-
}
|
|
15173
|
-
|
|
15174
|
-
.muka-chat-composer__attachments::-webkit-scrollbar {
|
|
15175
|
-
display: none;
|
|
15176
|
-
}
|
|
15177
|
-
|
|
15178
|
-
.muka-chat-composer__overflow {
|
|
15179
|
-
position: absolute;
|
|
15180
|
-
top: 50%;
|
|
15181
|
-
right: var(--spacing-2);
|
|
15182
|
-
transform: translateY(-50%);
|
|
15183
|
-
}
|
|
15184
|
-
|
|
15185
|
-
/* ─── Options mode (Figma State=Options / State7 / State8) ─ */
|
|
15186
|
-
|
|
15187
|
-
.muka-chat-composer__prompt {
|
|
15188
|
-
display: flex;
|
|
15189
|
-
align-items: flex-start;
|
|
15190
|
-
gap: var(--spacing-3);
|
|
15191
|
-
width: 100%;
|
|
15192
|
-
}
|
|
15193
|
-
|
|
15194
|
-
.muka-chat-composer__prompt-step {
|
|
15195
|
-
flex-shrink: 0;
|
|
15196
|
-
}
|
|
15197
|
-
|
|
15198
|
-
.muka-chat-composer__prompt-text {
|
|
15199
|
-
display: flex;
|
|
15200
|
-
flex-direction: column;
|
|
15201
|
-
gap: var(--spacing-1);
|
|
15202
|
-
min-width: 0;
|
|
15203
|
-
flex: 1 1 auto;
|
|
15204
|
-
}
|
|
15205
|
-
|
|
15206
|
-
.muka-chat-composer__prompt-heading {
|
|
15207
|
-
color: var(--color-text-default-default);
|
|
15208
|
-
font-family: var(--text-heading-sm-fontFamily);
|
|
15209
|
-
font-weight: var(--text-heading-sm-fontWeight);
|
|
15210
|
-
font-size: var(--text-heading-sm-fontSize);
|
|
15211
|
-
line-height: var(--text-heading-sm-lineHeight);
|
|
15212
|
-
}
|
|
15213
|
-
|
|
15214
|
-
.muka-chat-composer__prompt-description {
|
|
15215
|
-
color: var(--color-text-subtle-default);
|
|
15216
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
15217
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
15218
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
15219
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
15220
|
-
}
|
|
15221
|
-
|
|
15222
|
-
.muka-chat-composer__choices {
|
|
15223
|
-
width: 100%;
|
|
15224
|
-
}
|
|
15225
|
-
|
|
15226
|
-
/*
|
|
15227
|
-
* Many choices (a phone with seven options) would push the field and the step
|
|
15228
|
-
* footer off screen. The card gets a height limit and scrolls on its own, so
|
|
15229
|
-
* the prompt, the field and the footer stay in view.
|
|
15230
|
-
*/
|
|
15231
|
-
.muka-chat-composer__choices-card {
|
|
15232
|
-
width: 100%;
|
|
15233
|
-
max-height: 45dvh;
|
|
15234
|
-
overflow-x: hidden;
|
|
15235
|
-
overflow-y: auto;
|
|
15236
|
-
overscroll-behavior: contain;
|
|
15237
|
-
}
|
|
15238
|
-
|
|
15239
|
-
/* A choice is one short line, not a navigation row: compact padding. */
|
|
15240
|
-
.muka-chat-composer__choice.muka-listitem {
|
|
15241
|
-
align-items: center;
|
|
15242
|
-
padding-block: var(--spacing-3);
|
|
15243
|
-
}
|
|
15244
|
-
|
|
15245
|
-
/* Choice rows: the ListItem is the interactive control; the Radio/Checkbox is
|
|
15246
|
-
decorative for AT (aria-hidden) and sits in the leading slot. */
|
|
15247
|
-
.muka-chat-composer__choice-control {
|
|
15248
|
-
display: inline-flex;
|
|
15249
|
-
align-items: center;
|
|
15250
|
-
pointer-events: none;
|
|
15251
|
-
}
|
|
15252
|
-
|
|
15253
|
-
.muka-chat-composer__choice-control .muka-radio,
|
|
15254
|
-
.muka-chat-composer__choice-control .muka-checkbox {
|
|
15041
|
+
.muka-chat-composer__choice-control .muka-radio,
|
|
15042
|
+
.muka-chat-composer__choice-control .muka-checkbox {
|
|
15255
15043
|
pointer-events: none;
|
|
15256
15044
|
}
|
|
15257
15045
|
|
|
@@ -17966,144 +17754,377 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
17966
17754
|
}
|
|
17967
17755
|
}
|
|
17968
17756
|
|
|
17969
|
-
.muka-accordion__content-inner {
|
|
17970
|
-
padding: 0 var(--spacing-4) var(--spacing-5);
|
|
17971
|
-
color: var(--color-text-default-default);
|
|
17757
|
+
.muka-accordion__content-inner {
|
|
17758
|
+
padding: 0 var(--spacing-4) var(--spacing-5);
|
|
17759
|
+
color: var(--color-text-default-default);
|
|
17760
|
+
}
|
|
17761
|
+
|
|
17762
|
+
/* ─── Variant: flush ────────────────────────────────────────────────────── */
|
|
17763
|
+
|
|
17764
|
+
.muka-accordion--flush .muka-accordion__trigger {
|
|
17765
|
+
padding-left: 0;
|
|
17766
|
+
padding-right: 0;
|
|
17767
|
+
}
|
|
17768
|
+
|
|
17769
|
+
.muka-accordion--flush .muka-accordion__content-inner {
|
|
17770
|
+
padding-left: 0;
|
|
17771
|
+
padding-right: 0;
|
|
17772
|
+
}
|
|
17773
|
+
|
|
17774
|
+
/* ─── Variant: contained ────────────────────────────────────────────────── */
|
|
17775
|
+
|
|
17776
|
+
.muka-accordion--contained {
|
|
17777
|
+
border: var(--border-width-regular) solid var(--color-border-default);
|
|
17778
|
+
border-radius: var(--radius-md);
|
|
17779
|
+
overflow: hidden;
|
|
17780
|
+
}
|
|
17781
|
+
|
|
17782
|
+
.muka-accordion--contained .muka-accordion__item {
|
|
17783
|
+
background-color: var(--color-surface-level3);
|
|
17784
|
+
}
|
|
17785
|
+
|
|
17786
|
+
.muka-accordion--contained .muka-accordion__item:last-child {
|
|
17787
|
+
border-bottom: none;
|
|
17788
|
+
}
|
|
17789
|
+
|
|
17790
|
+
|
|
17791
|
+
/* ChatMessage */
|
|
17792
|
+
/* ChatMessage Component Styles */
|
|
17793
|
+
|
|
17794
|
+
.muka-chat-message {
|
|
17795
|
+
display: flex;
|
|
17796
|
+
flex-direction: column;
|
|
17797
|
+
width: 100%;
|
|
17798
|
+
max-width: 100%;
|
|
17799
|
+
}
|
|
17800
|
+
|
|
17801
|
+
/* ─── Row: avatar rail + bubble ────────────────────────── */
|
|
17802
|
+
|
|
17803
|
+
.muka-chat-message__row {
|
|
17804
|
+
display: grid;
|
|
17805
|
+
grid-template-columns: minmax(0, 1fr);
|
|
17806
|
+
grid-template-areas: 'bubble';
|
|
17807
|
+
column-gap: var(--chatbubble-row-gap);
|
|
17808
|
+
width: 100%;
|
|
17809
|
+
}
|
|
17810
|
+
|
|
17811
|
+
.muka-chat-message--has-avatar .muka-chat-message__row {
|
|
17812
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
17813
|
+
grid-template-areas: 'rail bubble';
|
|
17814
|
+
}
|
|
17815
|
+
|
|
17816
|
+
.muka-chat-message__rail {
|
|
17817
|
+
grid-area: rail;
|
|
17818
|
+
/* Sits on the bubble's baseline (Figma 5355:44091) */
|
|
17819
|
+
align-self: end;
|
|
17820
|
+
display: flex;
|
|
17821
|
+
justify-content: center;
|
|
17822
|
+
min-width: var(--chatbubble-avatar-size);
|
|
17823
|
+
}
|
|
17824
|
+
|
|
17825
|
+
/*
|
|
17826
|
+
* The Small size in Figma (5373:44702) halves the avatar to 32px and tightens
|
|
17827
|
+
* the gap to the bubble. Size the avatar itself, not just the rail, so the
|
|
17828
|
+
* bubbles keep their alignment. The header row keeps its own gap.
|
|
17829
|
+
*/
|
|
17830
|
+
@media (max-width: 1023px) {
|
|
17831
|
+
.muka-chat-message__row {
|
|
17832
|
+
column-gap: var(--chatbubble-row-gap-compact);
|
|
17833
|
+
}
|
|
17834
|
+
|
|
17835
|
+
.muka-chat-message__rail {
|
|
17836
|
+
min-width: var(--chatbubble-avatar-size-compact);
|
|
17837
|
+
}
|
|
17838
|
+
|
|
17839
|
+
/* Outweighs the avatar's own size class, which sets width/height directly */
|
|
17840
|
+
.muka-chat-message .muka-chat-message__rail > * {
|
|
17841
|
+
width: var(--chatbubble-avatar-size-compact);
|
|
17842
|
+
height: var(--chatbubble-avatar-size-compact);
|
|
17843
|
+
}
|
|
17844
|
+
}
|
|
17845
|
+
|
|
17846
|
+
/* ─── Bubble surface ───────────────────────────────────── */
|
|
17847
|
+
|
|
17848
|
+
.muka-chat-message__bubble {
|
|
17849
|
+
grid-area: bubble;
|
|
17850
|
+
/*
|
|
17851
|
+
* Width follows the content: a single line hugs, and once the text wraps the
|
|
17852
|
+
* bubble fills to the shared max width. Robust to string or rich children —
|
|
17853
|
+
* no length measuring needed (Figma `Text length` on 5355:44091).
|
|
17854
|
+
*/
|
|
17855
|
+
width: fit-content;
|
|
17856
|
+
/*
|
|
17857
|
+
* Ceiling from design (Figma 5355:44091). Below it, wrapping text fills the
|
|
17858
|
+
* row; above it the fixed cap leaves room for own/peer alignment.
|
|
17859
|
+
*/
|
|
17860
|
+
max-width: var(--chatbubble-max-width);
|
|
17861
|
+
position: relative;
|
|
17862
|
+
display: flex;
|
|
17863
|
+
flex-direction: column;
|
|
17864
|
+
gap: var(--chatbubble-gap);
|
|
17865
|
+
padding: var(--chatbubble-padding-block) var(--chatbubble-padding-inline);
|
|
17866
|
+
border-radius: var(--chatbubble-radius);
|
|
17867
|
+
border: var(--border-width-regular) solid transparent;
|
|
17868
|
+
box-shadow: var(--shadow-level2);
|
|
17869
|
+
word-break: break-word;
|
|
17870
|
+
}
|
|
17871
|
+
|
|
17872
|
+
/* Media, an embed or an action stack always run the full bubble width. */
|
|
17873
|
+
.muka-chat-message--has-blocks .muka-chat-message__bubble {
|
|
17874
|
+
width: 100%;
|
|
17875
|
+
}
|
|
17876
|
+
|
|
17877
|
+
.muka-chat-message--own .muka-chat-message__bubble {
|
|
17878
|
+
justify-self: end;
|
|
17879
|
+
}
|
|
17880
|
+
|
|
17881
|
+
.muka-chat-message--own .muka-chat-message__bubble {
|
|
17882
|
+
background-color: var(--chatbubble-color-own-background);
|
|
17883
|
+
border-color: var(--chatbubble-color-own-border);
|
|
17884
|
+
color: var(--chatbubble-color-own-foreground);
|
|
17885
|
+
}
|
|
17886
|
+
|
|
17887
|
+
.muka-chat-message--peer .muka-chat-message__bubble {
|
|
17888
|
+
background-color: var(--chatbubble-color-peer-background);
|
|
17889
|
+
border-color: var(--chatbubble-color-peer-border);
|
|
17890
|
+
color: var(--chatbubble-color-peer-foreground);
|
|
17891
|
+
}
|
|
17892
|
+
|
|
17893
|
+
.muka-chat-message--agent .muka-chat-message__bubble {
|
|
17894
|
+
background-color: var(--chatbubble-color-agent-background);
|
|
17895
|
+
border-color: var(--chatbubble-color-agent-border);
|
|
17896
|
+
color: var(--chatbubble-color-agent-foreground);
|
|
17897
|
+
}
|
|
17898
|
+
|
|
17899
|
+
/* ─── Header row (author · meta · time · badge) ────────── */
|
|
17900
|
+
|
|
17901
|
+
.muka-chat-message__header {
|
|
17902
|
+
display: flex;
|
|
17903
|
+
flex-flow: row wrap;
|
|
17904
|
+
align-items: center;
|
|
17905
|
+
gap: var(--chatbubble-row-gap);
|
|
17906
|
+
}
|
|
17907
|
+
|
|
17908
|
+
.muka-chat-message__author {
|
|
17909
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
17910
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
17911
|
+
font-size: var(--text-body-base-bold-fontSize);
|
|
17912
|
+
line-height: var(--text-body-base-bold-lineHeight);
|
|
17913
|
+
}
|
|
17914
|
+
|
|
17915
|
+
.muka-chat-message__author-meta {
|
|
17916
|
+
/* Inherits the variant's body colour from the bubble */
|
|
17917
|
+
color: inherit;
|
|
17918
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
17919
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
17920
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
17921
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
17972
17922
|
}
|
|
17973
17923
|
|
|
17974
|
-
|
|
17924
|
+
.muka-chat-message__badge {
|
|
17925
|
+
display: inline-flex;
|
|
17926
|
+
align-items: center;
|
|
17927
|
+
}
|
|
17975
17928
|
|
|
17976
|
-
|
|
17977
|
-
|
|
17978
|
-
|
|
17929
|
+
/*
|
|
17930
|
+
* Keep the first line of content clear of the absolutely positioned menu
|
|
17931
|
+
* button in the bubble's top-right corner.
|
|
17932
|
+
*/
|
|
17933
|
+
.muka-chat-message--has-menu .muka-chat-message__header,
|
|
17934
|
+
.muka-chat-message--has-menu.muka-chat-message--no-header .muka-chat-message__message {
|
|
17935
|
+
padding-right: var(--spacing-10);
|
|
17979
17936
|
}
|
|
17980
17937
|
|
|
17981
|
-
|
|
17982
|
-
|
|
17983
|
-
padding-right:
|
|
17938
|
+
/* …and the last line clear of the inset timestamp in the bottom-right corner */
|
|
17939
|
+
.muka-chat-message--has-timestamp .muka-chat-message__message {
|
|
17940
|
+
padding-right: var(--spacing-10);
|
|
17984
17941
|
}
|
|
17985
17942
|
|
|
17986
|
-
/* ───
|
|
17943
|
+
/* ─── Body ─────────────────────────────────────────────── */
|
|
17987
17944
|
|
|
17988
|
-
.muka-
|
|
17989
|
-
|
|
17990
|
-
|
|
17991
|
-
|
|
17945
|
+
.muka-chat-message__body {
|
|
17946
|
+
display: flex;
|
|
17947
|
+
flex-direction: column;
|
|
17948
|
+
gap: var(--chatbubble-gap);
|
|
17949
|
+
min-width: 0;
|
|
17992
17950
|
}
|
|
17993
17951
|
|
|
17994
|
-
.muka-
|
|
17995
|
-
|
|
17952
|
+
.muka-chat-message__media {
|
|
17953
|
+
min-width: 0;
|
|
17996
17954
|
}
|
|
17997
17955
|
|
|
17998
|
-
.muka-
|
|
17999
|
-
|
|
17956
|
+
.muka-chat-message__message {
|
|
17957
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
17958
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
17959
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
17960
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
17961
|
+
white-space: pre-wrap;
|
|
17962
|
+
word-break: break-word;
|
|
18000
17963
|
}
|
|
18001
17964
|
|
|
17965
|
+
/* Empty message block should not add a gap of its own */
|
|
17966
|
+
.muka-chat-message__message:empty {
|
|
17967
|
+
display: none;
|
|
17968
|
+
}
|
|
18002
17969
|
|
|
18003
|
-
/*
|
|
18004
|
-
/* SwipeActions Component Styles */
|
|
17970
|
+
/* ─── Embedded card ────────────────────────────────────── */
|
|
18005
17971
|
|
|
18006
|
-
.muka-
|
|
17972
|
+
.muka-chat-message__embed {
|
|
18007
17973
|
position: relative;
|
|
18008
|
-
|
|
18009
|
-
|
|
18010
|
-
-
|
|
18011
|
-
|
|
18012
|
-
|
|
17974
|
+
display: flex;
|
|
17975
|
+
flex-direction: column;
|
|
17976
|
+
gap: var(--chatbubble-embed-gap);
|
|
17977
|
+
/* The card is inset from the blocks above and below it (Figma 5289:40562) */
|
|
17978
|
+
margin-block: var(--chatbubble-embed-margin-block);
|
|
17979
|
+
padding: var(--chatbubble-embed-padding-block) var(--chatbubble-embed-padding-inline);
|
|
17980
|
+
border-radius: var(--chatbubble-embed-radius);
|
|
17981
|
+
border: var(--border-width-regular) solid transparent;
|
|
18013
17982
|
}
|
|
18014
17983
|
|
|
18015
|
-
|
|
18016
|
-
|
|
17984
|
+
/*
|
|
17985
|
+
* The embed sits on the raised surface of its author's role, one step apart
|
|
17986
|
+
* from the bubble it is nested in, and reuses that role's border colour.
|
|
17987
|
+
*/
|
|
17988
|
+
.muka-chat-message--own .muka-chat-message__embed {
|
|
17989
|
+
background-color: var(--chatbubble-embed-color-own-background);
|
|
17990
|
+
border-color: var(--chatbubble-embed-color-own-border);
|
|
17991
|
+
color: var(--chatbubble-embed-color-own-foreground);
|
|
18017
17992
|
}
|
|
18018
17993
|
|
|
18019
|
-
|
|
18020
|
-
|
|
18021
|
-
|
|
18022
|
-
|
|
18023
|
-
z-index: 1;
|
|
18024
|
-
background-color: inherit;
|
|
18025
|
-
will-change: transform;
|
|
17994
|
+
.muka-chat-message--peer .muka-chat-message__embed {
|
|
17995
|
+
background-color: var(--chatbubble-embed-color-peer-background);
|
|
17996
|
+
border-color: var(--chatbubble-embed-color-peer-border);
|
|
17997
|
+
color: var(--chatbubble-embed-color-peer-foreground);
|
|
18026
17998
|
}
|
|
18027
17999
|
|
|
18028
|
-
|
|
18029
|
-
|
|
18030
|
-
|
|
18031
|
-
|
|
18032
|
-
top: 0;
|
|
18033
|
-
bottom: 0;
|
|
18034
|
-
display: flex;
|
|
18035
|
-
align-items: stretch;
|
|
18036
|
-
z-index: 0;
|
|
18000
|
+
.muka-chat-message--agent .muka-chat-message__embed {
|
|
18001
|
+
background-color: var(--chatbubble-embed-color-agent-background);
|
|
18002
|
+
border-color: var(--chatbubble-embed-color-agent-border);
|
|
18003
|
+
color: var(--chatbubble-embed-color-agent-foreground);
|
|
18037
18004
|
}
|
|
18038
18005
|
|
|
18039
|
-
.muka-
|
|
18040
|
-
|
|
18006
|
+
.muka-chat-message__embed-content {
|
|
18007
|
+
display: flex;
|
|
18008
|
+
flex-direction: column;
|
|
18009
|
+
gap: var(--chatbubble-embed-gap);
|
|
18010
|
+
min-width: 0;
|
|
18041
18011
|
}
|
|
18042
18012
|
|
|
18043
|
-
.muka-
|
|
18044
|
-
|
|
18013
|
+
.muka-chat-message__embed-copy {
|
|
18014
|
+
position: absolute;
|
|
18015
|
+
top: var(--chatbubble-embed-padding-block);
|
|
18016
|
+
right: var(--chatbubble-embed-padding-inline);
|
|
18045
18017
|
}
|
|
18046
18018
|
|
|
18047
|
-
/* ───
|
|
18019
|
+
/* ─── Stacked full-width action buttons ────────────────── */
|
|
18048
18020
|
|
|
18049
|
-
.muka-
|
|
18021
|
+
.muka-chat-message__action-stack {
|
|
18050
18022
|
display: flex;
|
|
18051
18023
|
flex-direction: column;
|
|
18052
|
-
|
|
18053
|
-
justify-content: center;
|
|
18054
|
-
gap: var(--spacing-1);
|
|
18055
|
-
border: none;
|
|
18056
|
-
cursor: pointer;
|
|
18057
|
-
padding: var(--spacing-2);
|
|
18058
|
-
background-color: var(--color-surface-level2);
|
|
18059
|
-
color: var(--color-text-default-default);
|
|
18060
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
18061
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
18062
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
18063
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
18064
|
-
-webkit-tap-highlight-color: transparent;
|
|
18065
|
-
transition: filter 0.12s ease;
|
|
18024
|
+
gap: var(--chatbubble-action-stack-gap);
|
|
18066
18025
|
}
|
|
18067
18026
|
|
|
18068
|
-
|
|
18069
|
-
|
|
18027
|
+
/* ─── Inset timestamp ──────────────────────────────────── */
|
|
18028
|
+
|
|
18029
|
+
/*
|
|
18030
|
+
* Every author puts its timestamp in the bubble's bottom-right corner, below
|
|
18031
|
+
* the message — never in the header row (Figma 5355:44091).
|
|
18032
|
+
*/
|
|
18033
|
+
|
|
18034
|
+
.muka-chat-message__timestamp {
|
|
18035
|
+
color: var(--chatbubble-color-timestamp);
|
|
18036
|
+
font-family: var(--text-body-xs-regular-fontFamily);
|
|
18037
|
+
font-weight: var(--text-body-xs-regular-fontWeight);
|
|
18038
|
+
font-size: var(--text-body-xs-regular-fontSize);
|
|
18039
|
+
line-height: var(--text-body-xs-regular-lineHeight);
|
|
18040
|
+
white-space: nowrap;
|
|
18070
18041
|
}
|
|
18071
18042
|
|
|
18072
|
-
|
|
18073
|
-
|
|
18074
|
-
|
|
18043
|
+
/*
|
|
18044
|
+
* Pinned to the corner rather than stacked below the message, so a one-line
|
|
18045
|
+
* message stays one line tall. The message reserves the width it needs.
|
|
18046
|
+
*/
|
|
18047
|
+
.muka-chat-message__timestamp--inset {
|
|
18048
|
+
position: absolute;
|
|
18049
|
+
right: var(--spacing-2);
|
|
18050
|
+
bottom: var(--spacing-1);
|
|
18075
18051
|
}
|
|
18076
18052
|
|
|
18077
|
-
|
|
18078
|
-
|
|
18079
|
-
|
|
18080
|
-
|
|
18053
|
+
/*
|
|
18054
|
+
* When the last block in the body is media, an embed or an action stack (not
|
|
18055
|
+
* trailing text), it runs the full width, so reserve a line below for the inset
|
|
18056
|
+
* timestamp. A message that ends in text clears the corner inline instead (see
|
|
18057
|
+
* `__message` padding-right above), so it needs no extra bottom space.
|
|
18058
|
+
*/
|
|
18059
|
+
.muka-chat-message--has-timestamp.muka-chat-message--trailing-block .muka-chat-message__body {
|
|
18060
|
+
padding-bottom: var(--text-body-xs-regular-lineHeight);
|
|
18081
18061
|
}
|
|
18082
18062
|
|
|
18083
|
-
/* ───
|
|
18063
|
+
/* ─── Menu affordance ──────────────────────────────────── */
|
|
18084
18064
|
|
|
18085
|
-
|
|
18086
|
-
|
|
18087
|
-
|
|
18065
|
+
/*
|
|
18066
|
+
* Hidden at rest. Revealed on hover on pointer devices, on keyboard focus
|
|
18067
|
+
* everywhere, and pinned while its menu is open. On touch the equivalent
|
|
18068
|
+
* affordance is a long-press on the bubble, which opens an ActionSheet.
|
|
18069
|
+
*/
|
|
18070
|
+
.muka-chat-message__menu {
|
|
18071
|
+
position: absolute;
|
|
18072
|
+
top: var(--spacing-1);
|
|
18073
|
+
right: var(--spacing-1);
|
|
18074
|
+
opacity: 0;
|
|
18075
|
+
pointer-events: none;
|
|
18088
18076
|
}
|
|
18089
18077
|
|
|
18090
|
-
.muka-
|
|
18091
|
-
|
|
18092
|
-
|
|
18078
|
+
.muka-chat-message__menu:focus-within,
|
|
18079
|
+
.muka-chat-message--menu-open .muka-chat-message__menu {
|
|
18080
|
+
opacity: 1;
|
|
18081
|
+
pointer-events: auto;
|
|
18093
18082
|
}
|
|
18094
18083
|
|
|
18095
|
-
|
|
18096
|
-
|
|
18097
|
-
|
|
18084
|
+
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
|
|
18085
|
+
.muka-chat-message__bubble:hover .muka-chat-message__menu {
|
|
18086
|
+
opacity: 1;
|
|
18087
|
+
pointer-events: auto;
|
|
18088
|
+
}
|
|
18098
18089
|
}
|
|
18099
18090
|
|
|
18100
|
-
|
|
18101
|
-
|
|
18102
|
-
|
|
18091
|
+
/* Suppress iOS Safari's own callout so the long-press sheet can take over */
|
|
18092
|
+
@media (pointer: coarse) {
|
|
18093
|
+
.muka-chat-message--has-menu .muka-chat-message__bubble {
|
|
18094
|
+
-webkit-touch-callout: none;
|
|
18095
|
+
}
|
|
18103
18096
|
}
|
|
18104
18097
|
|
|
18105
|
-
|
|
18106
|
-
|
|
18107
|
-
|
|
18098
|
+
/* ─── Print ────────────────────────────────────────────── */
|
|
18099
|
+
|
|
18100
|
+
@media print {
|
|
18101
|
+
.muka-chat-message__bubble {
|
|
18102
|
+
box-shadow: none;
|
|
18103
|
+
break-inside: avoid;
|
|
18104
|
+
print-color-adjust: exact;
|
|
18105
|
+
-webkit-print-color-adjust: exact;
|
|
18106
|
+
}
|
|
18107
|
+
|
|
18108
|
+
.muka-chat-message__embed {
|
|
18109
|
+
break-inside: avoid;
|
|
18110
|
+
print-color-adjust: exact;
|
|
18111
|
+
-webkit-print-color-adjust: exact;
|
|
18112
|
+
}
|
|
18113
|
+
|
|
18114
|
+
.muka-chat-message__menu,
|
|
18115
|
+
.muka-chat-message__embed-copy,
|
|
18116
|
+
.muka-chat-message__action-stack {
|
|
18117
|
+
display: none;
|
|
18118
|
+
}
|
|
18119
|
+
}
|
|
18120
|
+
|
|
18121
|
+
/* ─── Muted (a message from another context) ──────────────
|
|
18122
|
+
* The bubble drops its fill and keeps a hairline, so it recedes next to the
|
|
18123
|
+
* current conversation; the text keeps full contrast. */
|
|
18124
|
+
|
|
18125
|
+
.muka-chat-message--muted .muka-chat-message__bubble {
|
|
18126
|
+
background-color: transparent;
|
|
18127
|
+
border-color: var(--chatbubble-color-peer-border);
|
|
18128
|
+
color: var(--color-text-default-default);
|
|
18108
18129
|
}
|
|
18109
18130
|
|