@duskmoon-dev/core 1.19.11 → 1.20.1
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/README.md +9 -2
- package/dist/components/chat.css +108 -43
- package/dist/components/index.css +211 -152
- package/dist/components/modal.css +103 -109
- package/dist/esm/components/chat.js +108 -43
- package/dist/esm/components/modal.js +103 -109
- package/dist/index.css +335 -276
- package/dist/index.min.css +1 -1
- package/dist/standalone/duskmoonui-themes.css +125 -125
- package/dist/standalone/duskmoonui.css +337 -278
- package/dist/standalone/duskmoonui.js +7 -7
- package/dist/standalone/duskmoonui.mjs +7 -7
- package/dist/themes/generated/sunshine.css +62 -62
- package/package.json +1 -1
|
@@ -4394,33 +4394,39 @@
|
|
|
4394
4394
|
*/
|
|
4395
4395
|
|
|
4396
4396
|
@layer components {
|
|
4397
|
-
/*
|
|
4398
|
-
.modal {
|
|
4397
|
+
/* Native HTML dialog owns visibility and modal behavior. */
|
|
4398
|
+
dialog.modal {
|
|
4399
4399
|
position: fixed;
|
|
4400
4400
|
inset: 0;
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4401
|
+
margin: auto;
|
|
4402
|
+
padding: 0;
|
|
4403
|
+
border: none;
|
|
4404
|
+
width: calc(100% - 2rem);
|
|
4405
|
+
max-width: 32rem;
|
|
4406
|
+
max-height: calc(100dvh - 2rem);
|
|
4407
|
+
box-sizing: border-box;
|
|
4408
|
+
background-color: transparent;
|
|
4409
|
+
color: var(--color-on-surface);
|
|
4410
|
+
border-radius: var(--radius-lg);
|
|
4411
|
+
overflow: visible;
|
|
4407
4412
|
opacity: 0;
|
|
4408
|
-
transition:
|
|
4413
|
+
transition: opacity 200ms ease-out, display 200ms allow-discrete, overlay 200ms allow-discrete;
|
|
4409
4414
|
}
|
|
4410
4415
|
|
|
4411
|
-
|
|
4412
|
-
.modal.modal-open,
|
|
4413
|
-
.modal:target {
|
|
4414
|
-
visibility: visible;
|
|
4416
|
+
dialog.modal[open] {
|
|
4415
4417
|
opacity: 1;
|
|
4416
4418
|
}
|
|
4417
4419
|
|
|
4420
|
+
dialog.modal:not([open]) {
|
|
4421
|
+
display: none;
|
|
4422
|
+
}
|
|
4423
|
+
|
|
4418
4424
|
/* Modal Box */
|
|
4419
4425
|
.modal-box {
|
|
4420
4426
|
position: relative;
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
max-height: calc(100dvh -
|
|
4427
|
+
width: 100%;
|
|
4428
|
+
box-sizing: border-box;
|
|
4429
|
+
max-height: calc(100dvh - 2rem);
|
|
4424
4430
|
padding: 1.5rem;
|
|
4425
4431
|
background-color: var(--color-surface);
|
|
4426
4432
|
color: var(--color-on-surface);
|
|
@@ -4431,24 +4437,19 @@
|
|
|
4431
4437
|
transition: transform 200ms ease-out;
|
|
4432
4438
|
}
|
|
4433
4439
|
|
|
4434
|
-
.modal
|
|
4435
|
-
.modal:target .modal-box {
|
|
4440
|
+
dialog.modal[open] .modal-box {
|
|
4436
4441
|
transform: scale(1);
|
|
4437
4442
|
}
|
|
4438
4443
|
|
|
4439
|
-
/*
|
|
4440
|
-
.modal
|
|
4441
|
-
position: fixed;
|
|
4442
|
-
inset: 0;
|
|
4443
|
-
z-index: -1;
|
|
4444
|
+
/* The browser renders the backdrop in the top layer. */
|
|
4445
|
+
dialog.modal::backdrop {
|
|
4444
4446
|
background-color: color-mix(in srgb, var(--color-scrim) 50%, transparent);
|
|
4445
|
-
|
|
4447
|
+
opacity: 0;
|
|
4448
|
+
transition: opacity 200ms ease-out, display 200ms allow-discrete, overlay 200ms allow-discrete;
|
|
4446
4449
|
}
|
|
4447
4450
|
|
|
4448
|
-
.modal
|
|
4449
|
-
|
|
4450
|
-
position: absolute;
|
|
4451
|
-
inset: 0;
|
|
4451
|
+
dialog.modal[open]::backdrop {
|
|
4452
|
+
opacity: 1;
|
|
4452
4453
|
}
|
|
4453
4454
|
|
|
4454
4455
|
/* Modal Action */
|
|
@@ -4462,61 +4463,47 @@
|
|
|
4462
4463
|
padding-top: 1rem;
|
|
4463
4464
|
}
|
|
4464
4465
|
|
|
4465
|
-
/* Modal Toggle (CSS-only) */
|
|
4466
|
-
.modal-toggle {
|
|
4467
|
-
position: fixed;
|
|
4468
|
-
width: 0;
|
|
4469
|
-
height: 0;
|
|
4470
|
-
appearance: none;
|
|
4471
|
-
opacity: 0;
|
|
4472
|
-
}
|
|
4473
|
-
|
|
4474
|
-
.modal-toggle:checked + .modal {
|
|
4475
|
-
visibility: visible;
|
|
4476
|
-
opacity: 1;
|
|
4477
|
-
}
|
|
4478
|
-
|
|
4479
|
-
.modal-toggle:checked + .modal .modal-box {
|
|
4480
|
-
transform: scale(1);
|
|
4481
|
-
}
|
|
4482
|
-
|
|
4483
4466
|
/* Modal Sizes */
|
|
4484
|
-
.modal
|
|
4467
|
+
dialog.modal.modal-sm {
|
|
4485
4468
|
max-width: 20rem;
|
|
4486
4469
|
}
|
|
4487
4470
|
|
|
4488
|
-
.modal
|
|
4471
|
+
dialog.modal.modal-md {
|
|
4489
4472
|
max-width: 32rem;
|
|
4490
4473
|
}
|
|
4491
4474
|
|
|
4492
|
-
.modal
|
|
4475
|
+
dialog.modal.modal-lg {
|
|
4493
4476
|
max-width: 48rem;
|
|
4494
4477
|
}
|
|
4495
4478
|
|
|
4496
|
-
.modal
|
|
4479
|
+
dialog.modal.modal-xl {
|
|
4497
4480
|
max-width: 64rem;
|
|
4498
4481
|
}
|
|
4499
4482
|
|
|
4500
|
-
.modal
|
|
4483
|
+
dialog.modal.modal-full {
|
|
4501
4484
|
max-width: calc(100vw - 2rem);
|
|
4502
|
-
max-height: calc(
|
|
4503
|
-
width: 100
|
|
4485
|
+
max-height: calc(100dvh - 2rem);
|
|
4486
|
+
width: calc(100% - 2rem);
|
|
4487
|
+
height: calc(100dvh - 2rem);
|
|
4488
|
+
}
|
|
4489
|
+
|
|
4490
|
+
dialog.modal.modal-full .modal-box {
|
|
4504
4491
|
height: 100%;
|
|
4505
4492
|
}
|
|
4506
4493
|
|
|
4507
4494
|
/* Modal Positions */
|
|
4508
|
-
.modal-top {
|
|
4509
|
-
|
|
4510
|
-
|
|
4495
|
+
dialog.modal.modal-top {
|
|
4496
|
+
margin-top: 2rem;
|
|
4497
|
+
margin-bottom: auto;
|
|
4511
4498
|
}
|
|
4512
4499
|
|
|
4513
|
-
.modal-bottom {
|
|
4514
|
-
|
|
4515
|
-
|
|
4500
|
+
dialog.modal.modal-bottom {
|
|
4501
|
+
margin-top: auto;
|
|
4502
|
+
margin-bottom: 2rem;
|
|
4516
4503
|
}
|
|
4517
4504
|
|
|
4518
|
-
.modal-middle {
|
|
4519
|
-
|
|
4505
|
+
dialog.modal.modal-middle {
|
|
4506
|
+
margin: auto;
|
|
4520
4507
|
}
|
|
4521
4508
|
|
|
4522
4509
|
/* Animation Variants */
|
|
@@ -4532,22 +4519,21 @@
|
|
|
4532
4519
|
transform: scale(0.75);
|
|
4533
4520
|
}
|
|
4534
4521
|
|
|
4535
|
-
:is(.modal-slide-up, .modal-slide-down, .modal-zoom)
|
|
4536
|
-
:is(.modal-slide-up, .modal-slide-down, .modal-zoom):target .modal-box {
|
|
4522
|
+
dialog.modal:is(.modal-slide-up, .modal-slide-down, .modal-zoom)[open] .modal-box {
|
|
4537
4523
|
transform: translateY(0) scale(1);
|
|
4538
4524
|
}
|
|
4539
4525
|
|
|
4540
4526
|
/* Backdrop Variants */
|
|
4541
|
-
.modal-backdrop-light {
|
|
4527
|
+
dialog.modal.modal-backdrop-light::backdrop {
|
|
4542
4528
|
background-color: color-mix(in srgb, white 80%, transparent);
|
|
4543
4529
|
}
|
|
4544
4530
|
|
|
4545
|
-
.modal-backdrop-blur {
|
|
4531
|
+
dialog.modal.modal-backdrop-blur::backdrop {
|
|
4546
4532
|
background-color: color-mix(in srgb, var(--color-scrim) 30%, transparent);
|
|
4547
4533
|
backdrop-filter: blur(8px);
|
|
4548
4534
|
}
|
|
4549
4535
|
|
|
4550
|
-
.modal-no-backdrop {
|
|
4536
|
+
dialog.modal.modal-no-backdrop::backdrop {
|
|
4551
4537
|
background-color: transparent;
|
|
4552
4538
|
}
|
|
4553
4539
|
|
|
@@ -4617,55 +4603,50 @@
|
|
|
4617
4603
|
|
|
4618
4604
|
/* Responsive Modal */
|
|
4619
4605
|
@media (max-width: 640px) {
|
|
4620
|
-
.modal-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
align-items: flex-end;
|
|
4627
|
-
padding: 0;
|
|
4606
|
+
dialog.modal.modal-responsive {
|
|
4607
|
+
width: 100%;
|
|
4608
|
+
max-width: 100%;
|
|
4609
|
+
max-height: 90dvh;
|
|
4610
|
+
margin: auto 0 0;
|
|
4611
|
+
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
|
|
4628
4612
|
}
|
|
4629
4613
|
|
|
4630
4614
|
.modal-responsive .modal-box {
|
|
4631
|
-
max-width: 100%;
|
|
4632
4615
|
max-height: 90dvh;
|
|
4633
|
-
margin: 0;
|
|
4634
4616
|
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
|
|
4635
4617
|
}
|
|
4636
4618
|
}
|
|
4637
4619
|
|
|
4638
4620
|
/* Drawer Modal */
|
|
4639
|
-
.drawer-modal {
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4621
|
+
dialog.modal.drawer-modal {
|
|
4622
|
+
width: min(20rem, 100%);
|
|
4623
|
+
max-width: 20rem;
|
|
4624
|
+
max-height: 100dvh;
|
|
4625
|
+
height: 100dvh;
|
|
4626
|
+
margin: 0 0 0 auto;
|
|
4627
|
+
border-radius: 0;
|
|
4643
4628
|
}
|
|
4644
4629
|
|
|
4645
4630
|
.drawer-modal .modal-box {
|
|
4646
|
-
max-width: 20rem;
|
|
4647
4631
|
max-height: 100dvh;
|
|
4648
4632
|
height: 100%;
|
|
4649
|
-
margin: 0;
|
|
4650
4633
|
border-radius: 0;
|
|
4651
4634
|
transform: translateX(100%);
|
|
4652
4635
|
}
|
|
4653
4636
|
|
|
4654
|
-
.drawer-modal
|
|
4655
|
-
.drawer-modal:target .modal-box {
|
|
4637
|
+
dialog.modal.drawer-modal[open] .modal-box {
|
|
4656
4638
|
transform: translateX(0);
|
|
4657
4639
|
}
|
|
4658
4640
|
|
|
4659
|
-
.drawer-modal-left {
|
|
4660
|
-
|
|
4641
|
+
dialog.modal.drawer-modal-left {
|
|
4642
|
+
margin: 0 auto 0 0;
|
|
4661
4643
|
}
|
|
4662
4644
|
|
|
4663
4645
|
.drawer-modal-left .modal-box {
|
|
4664
4646
|
transform: translateX(-100%);
|
|
4665
4647
|
}
|
|
4666
4648
|
|
|
4667
|
-
.drawer-modal-left
|
|
4668
|
-
.drawer-modal-left:target .modal-box {
|
|
4649
|
+
dialog.modal.drawer-modal-left[open] .modal-box {
|
|
4669
4650
|
transform: translateX(0);
|
|
4670
4651
|
}
|
|
4671
4652
|
|
|
@@ -4674,7 +4655,7 @@
|
|
|
4674
4655
|
text-align: center;
|
|
4675
4656
|
}
|
|
4676
4657
|
|
|
4677
|
-
.alert-dialog
|
|
4658
|
+
dialog.modal.alert-dialog {
|
|
4678
4659
|
max-width: 24rem;
|
|
4679
4660
|
}
|
|
4680
4661
|
|
|
@@ -4713,32 +4694,45 @@
|
|
|
4713
4694
|
justify-content: center;
|
|
4714
4695
|
}
|
|
4715
4696
|
|
|
4716
|
-
/*
|
|
4717
|
-
@
|
|
4718
|
-
.modal
|
|
4719
|
-
|
|
4697
|
+
/* Entry styles retain motion without changing native visibility. */
|
|
4698
|
+
@starting-style {
|
|
4699
|
+
dialog.modal[open],
|
|
4700
|
+
dialog.modal[open]::backdrop {
|
|
4701
|
+
opacity: 0;
|
|
4720
4702
|
}
|
|
4721
4703
|
|
|
4722
|
-
.modal-box {
|
|
4723
|
-
|
|
4704
|
+
dialog.modal[open] .modal-box {
|
|
4705
|
+
transform: scale(0.95);
|
|
4724
4706
|
}
|
|
4725
|
-
}
|
|
4726
4707
|
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4708
|
+
dialog.modal.modal-slide-up[open] .modal-box {
|
|
4709
|
+
transform: translateY(6rem) scale(0.95);
|
|
4710
|
+
}
|
|
4711
|
+
|
|
4712
|
+
dialog.modal.modal-slide-down[open] .modal-box {
|
|
4713
|
+
transform: translateY(-6rem) scale(0.95);
|
|
4714
|
+
}
|
|
4715
|
+
|
|
4716
|
+
dialog.modal.modal-zoom[open] .modal-box {
|
|
4717
|
+
transform: scale(0.75);
|
|
4718
|
+
}
|
|
4719
|
+
|
|
4720
|
+
dialog.modal.drawer-modal[open] .modal-box {
|
|
4721
|
+
transform: translateX(100%);
|
|
4722
|
+
}
|
|
4723
|
+
|
|
4724
|
+
dialog.modal.drawer-modal-left[open] .modal-box {
|
|
4725
|
+
transform: translateX(-100%);
|
|
4726
|
+
}
|
|
4738
4727
|
}
|
|
4739
4728
|
|
|
4740
|
-
|
|
4741
|
-
|
|
4729
|
+
/* Reduce Motion */
|
|
4730
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4731
|
+
dialog.modal,
|
|
4732
|
+
dialog.modal::backdrop,
|
|
4733
|
+
.modal-box {
|
|
4734
|
+
transition: none;
|
|
4735
|
+
}
|
|
4742
4736
|
}
|
|
4743
4737
|
}
|
|
4744
4738
|
|
|
@@ -5298,7 +5292,7 @@
|
|
|
5298
5292
|
flex-direction: column;
|
|
5299
5293
|
justify-content: center;
|
|
5300
5294
|
align-items: center;
|
|
5301
|
-
gap:
|
|
5295
|
+
gap: 0;
|
|
5302
5296
|
width: calc(
|
|
5303
5297
|
var(--chat-scroll-indicator-active-size) * var(--chat-scroll-indicator-hover-scale)
|
|
5304
5298
|
);
|
|
@@ -5317,21 +5311,33 @@
|
|
|
5317
5311
|
}
|
|
5318
5312
|
|
|
5319
5313
|
.chat-scroll-indicator {
|
|
5320
|
-
display:
|
|
5314
|
+
display: flex;
|
|
5315
|
+
align-items: center;
|
|
5316
|
+
justify-content: center;
|
|
5321
5317
|
flex-shrink: 0;
|
|
5322
|
-
width:
|
|
5323
|
-
height: var(--chat-scroll-indicator-thickness);
|
|
5318
|
+
width: 100%;
|
|
5319
|
+
height: calc(var(--chat-scroll-indicator-thickness) + var(--chat-scroll-indicator-gap));
|
|
5324
5320
|
border: 0;
|
|
5325
|
-
border-radius: 999px;
|
|
5326
5321
|
padding: 0;
|
|
5322
|
+
margin: 0;
|
|
5323
|
+
box-sizing: border-box;
|
|
5327
5324
|
appearance: none;
|
|
5328
|
-
background-color:
|
|
5325
|
+
background-color: transparent;
|
|
5329
5326
|
color: inherit;
|
|
5330
5327
|
font: inherit;
|
|
5331
|
-
opacity: 0.45;
|
|
5332
5328
|
pointer-events: auto;
|
|
5333
5329
|
text-decoration: none;
|
|
5334
5330
|
cursor: pointer;
|
|
5331
|
+
}
|
|
5332
|
+
|
|
5333
|
+
.chat-scroll-indicator::before {
|
|
5334
|
+
content: "";
|
|
5335
|
+
width: var(--chat-scroll-indicator-size);
|
|
5336
|
+
height: var(--chat-scroll-indicator-thickness);
|
|
5337
|
+
border-radius: 999px;
|
|
5338
|
+
background-color: color-mix(in oklch, var(--color-on-surface) 28%, transparent);
|
|
5339
|
+
opacity: 0.45;
|
|
5340
|
+
pointer-events: none;
|
|
5335
5341
|
transform: scaleX(1);
|
|
5336
5342
|
transform-origin: center;
|
|
5337
5343
|
transition:
|
|
@@ -5340,15 +5346,17 @@
|
|
|
5340
5346
|
background-color 140ms ease;
|
|
5341
5347
|
}
|
|
5342
5348
|
|
|
5343
|
-
.chat-scroll-indicator:hover,
|
|
5344
|
-
.chat-scroll-indicator:focus-visible {
|
|
5349
|
+
.chat-scroll-indicator:hover::before,
|
|
5350
|
+
.chat-scroll-indicator:focus-visible::before {
|
|
5351
|
+
animation: none;
|
|
5345
5352
|
transform: scaleX(var(--chat-scroll-indicator-hover-scale)) scaleY(1.35);
|
|
5346
5353
|
background-color: var(--color-on-surface);
|
|
5347
5354
|
opacity: 1;
|
|
5348
5355
|
}
|
|
5349
5356
|
|
|
5350
|
-
.chat-scroll-indicator:hover + .chat-scroll-indicator,
|
|
5351
|
-
.chat-scroll-indicator:has(+ .chat-scroll-indicator:hover) {
|
|
5357
|
+
.chat-scroll-indicator:hover + .chat-scroll-indicator::before,
|
|
5358
|
+
.chat-scroll-indicator:has(+ .chat-scroll-indicator:hover)::before {
|
|
5359
|
+
animation: none;
|
|
5352
5360
|
transform: scaleX(var(--chat-scroll-indicator-neighbor-scale)) scaleY(1.15);
|
|
5353
5361
|
background-color: color-mix(in oklch, var(--color-on-surface) 55%, transparent);
|
|
5354
5362
|
opacity: 0.75;
|
|
@@ -5364,7 +5372,7 @@
|
|
|
5364
5372
|
}
|
|
5365
5373
|
|
|
5366
5374
|
@supports (animation-timeline: --chat-1) {
|
|
5367
|
-
.chat-scroll-indicator {
|
|
5375
|
+
.chat-scroll-indicator::before {
|
|
5368
5376
|
animation-name: chat-scroll-indicator-activate;
|
|
5369
5377
|
animation-duration: 1ms;
|
|
5370
5378
|
animation-timing-function: linear;
|
|
@@ -5493,99 +5501,99 @@
|
|
|
5493
5501
|
view-timeline-axis: block;
|
|
5494
5502
|
}
|
|
5495
5503
|
|
|
5496
|
-
.chat-scroll-indicator[data-chat-tl="1"] {
|
|
5504
|
+
.chat-scroll-indicator[data-chat-tl="1"]::before {
|
|
5497
5505
|
animation-timeline: --chat-1;
|
|
5498
5506
|
}
|
|
5499
5507
|
|
|
5500
|
-
.chat-scroll-indicator[data-chat-tl="2"] {
|
|
5508
|
+
.chat-scroll-indicator[data-chat-tl="2"]::before {
|
|
5501
5509
|
animation-timeline: --chat-2;
|
|
5502
5510
|
}
|
|
5503
5511
|
|
|
5504
|
-
.chat-scroll-indicator[data-chat-tl="3"] {
|
|
5512
|
+
.chat-scroll-indicator[data-chat-tl="3"]::before {
|
|
5505
5513
|
animation-timeline: --chat-3;
|
|
5506
5514
|
}
|
|
5507
5515
|
|
|
5508
|
-
.chat-scroll-indicator[data-chat-tl="4"] {
|
|
5516
|
+
.chat-scroll-indicator[data-chat-tl="4"]::before {
|
|
5509
5517
|
animation-timeline: --chat-4;
|
|
5510
5518
|
}
|
|
5511
5519
|
|
|
5512
|
-
.chat-scroll-indicator[data-chat-tl="5"] {
|
|
5520
|
+
.chat-scroll-indicator[data-chat-tl="5"]::before {
|
|
5513
5521
|
animation-timeline: --chat-5;
|
|
5514
5522
|
}
|
|
5515
5523
|
|
|
5516
|
-
.chat-scroll-indicator[data-chat-tl="6"] {
|
|
5524
|
+
.chat-scroll-indicator[data-chat-tl="6"]::before {
|
|
5517
5525
|
animation-timeline: --chat-6;
|
|
5518
5526
|
}
|
|
5519
5527
|
|
|
5520
|
-
.chat-scroll-indicator[data-chat-tl="7"] {
|
|
5528
|
+
.chat-scroll-indicator[data-chat-tl="7"]::before {
|
|
5521
5529
|
animation-timeline: --chat-7;
|
|
5522
5530
|
}
|
|
5523
5531
|
|
|
5524
|
-
.chat-scroll-indicator[data-chat-tl="8"] {
|
|
5532
|
+
.chat-scroll-indicator[data-chat-tl="8"]::before {
|
|
5525
5533
|
animation-timeline: --chat-8;
|
|
5526
5534
|
}
|
|
5527
5535
|
|
|
5528
|
-
.chat-scroll-indicator[data-chat-tl="9"] {
|
|
5536
|
+
.chat-scroll-indicator[data-chat-tl="9"]::before {
|
|
5529
5537
|
animation-timeline: --chat-9;
|
|
5530
5538
|
}
|
|
5531
5539
|
|
|
5532
|
-
.chat-scroll-indicator[data-chat-tl="10"] {
|
|
5540
|
+
.chat-scroll-indicator[data-chat-tl="10"]::before {
|
|
5533
5541
|
animation-timeline: --chat-10;
|
|
5534
5542
|
}
|
|
5535
5543
|
|
|
5536
|
-
.chat-scroll-indicator[data-chat-tl="11"] {
|
|
5544
|
+
.chat-scroll-indicator[data-chat-tl="11"]::before {
|
|
5537
5545
|
animation-timeline: --chat-11;
|
|
5538
5546
|
}
|
|
5539
5547
|
|
|
5540
|
-
.chat-scroll-indicator[data-chat-tl="12"] {
|
|
5548
|
+
.chat-scroll-indicator[data-chat-tl="12"]::before {
|
|
5541
5549
|
animation-timeline: --chat-12;
|
|
5542
5550
|
}
|
|
5543
5551
|
|
|
5544
|
-
.chat-scroll-indicator[data-chat-tl="13"] {
|
|
5552
|
+
.chat-scroll-indicator[data-chat-tl="13"]::before {
|
|
5545
5553
|
animation-timeline: --chat-13;
|
|
5546
5554
|
}
|
|
5547
5555
|
|
|
5548
|
-
.chat-scroll-indicator[data-chat-tl="14"] {
|
|
5556
|
+
.chat-scroll-indicator[data-chat-tl="14"]::before {
|
|
5549
5557
|
animation-timeline: --chat-14;
|
|
5550
5558
|
}
|
|
5551
5559
|
|
|
5552
|
-
.chat-scroll-indicator[data-chat-tl="15"] {
|
|
5560
|
+
.chat-scroll-indicator[data-chat-tl="15"]::before {
|
|
5553
5561
|
animation-timeline: --chat-15;
|
|
5554
5562
|
}
|
|
5555
5563
|
|
|
5556
|
-
.chat-scroll-indicator[data-chat-tl="16"] {
|
|
5564
|
+
.chat-scroll-indicator[data-chat-tl="16"]::before {
|
|
5557
5565
|
animation-timeline: --chat-16;
|
|
5558
5566
|
}
|
|
5559
5567
|
|
|
5560
|
-
.chat-scroll-indicator[data-chat-tl="17"] {
|
|
5568
|
+
.chat-scroll-indicator[data-chat-tl="17"]::before {
|
|
5561
5569
|
animation-timeline: --chat-17;
|
|
5562
5570
|
}
|
|
5563
5571
|
|
|
5564
|
-
.chat-scroll-indicator[data-chat-tl="18"] {
|
|
5572
|
+
.chat-scroll-indicator[data-chat-tl="18"]::before {
|
|
5565
5573
|
animation-timeline: --chat-18;
|
|
5566
5574
|
}
|
|
5567
5575
|
|
|
5568
|
-
.chat-scroll-indicator[data-chat-tl="19"] {
|
|
5576
|
+
.chat-scroll-indicator[data-chat-tl="19"]::before {
|
|
5569
5577
|
animation-timeline: --chat-19;
|
|
5570
5578
|
}
|
|
5571
5579
|
|
|
5572
|
-
.chat-scroll-indicator[data-chat-tl="20"] {
|
|
5580
|
+
.chat-scroll-indicator[data-chat-tl="20"]::before {
|
|
5573
5581
|
animation-timeline: --chat-20;
|
|
5574
5582
|
}
|
|
5575
5583
|
|
|
5576
|
-
.chat-scroll-indicator[data-chat-tl="21"] {
|
|
5584
|
+
.chat-scroll-indicator[data-chat-tl="21"]::before {
|
|
5577
5585
|
animation-timeline: --chat-21;
|
|
5578
5586
|
}
|
|
5579
5587
|
|
|
5580
|
-
.chat-scroll-indicator[data-chat-tl="22"] {
|
|
5588
|
+
.chat-scroll-indicator[data-chat-tl="22"]::before {
|
|
5581
5589
|
animation-timeline: --chat-22;
|
|
5582
5590
|
}
|
|
5583
5591
|
|
|
5584
|
-
.chat-scroll-indicator[data-chat-tl="23"] {
|
|
5592
|
+
.chat-scroll-indicator[data-chat-tl="23"]::before {
|
|
5585
5593
|
animation-timeline: --chat-23;
|
|
5586
5594
|
}
|
|
5587
5595
|
|
|
5588
|
-
.chat-scroll-indicator[data-chat-tl="24"] {
|
|
5596
|
+
.chat-scroll-indicator[data-chat-tl="24"]::before {
|
|
5589
5597
|
animation-timeline: --chat-24;
|
|
5590
5598
|
}
|
|
5591
5599
|
|
|
@@ -5661,6 +5669,54 @@
|
|
|
5661
5669
|
margin-bottom: 0;
|
|
5662
5670
|
}
|
|
5663
5671
|
|
|
5672
|
+
.chat-status {
|
|
5673
|
+
display: flex;
|
|
5674
|
+
flex-wrap: wrap;
|
|
5675
|
+
align-items: center;
|
|
5676
|
+
gap: 0.25rem 0.75rem;
|
|
5677
|
+
color: var(--color-on-surface-variant);
|
|
5678
|
+
font-size: 0.75rem;
|
|
5679
|
+
line-height: 1rem;
|
|
5680
|
+
font-variant-numeric: tabular-nums;
|
|
5681
|
+
}
|
|
5682
|
+
|
|
5683
|
+
.chat-status-item {
|
|
5684
|
+
display: inline-flex;
|
|
5685
|
+
align-items: baseline;
|
|
5686
|
+
gap: 0.25rem;
|
|
5687
|
+
}
|
|
5688
|
+
|
|
5689
|
+
.chat-status-value {
|
|
5690
|
+
color: var(--color-on-surface);
|
|
5691
|
+
font-weight: 500;
|
|
5692
|
+
}
|
|
5693
|
+
|
|
5694
|
+
.chat-actions {
|
|
5695
|
+
display: flex;
|
|
5696
|
+
flex-wrap: wrap;
|
|
5697
|
+
align-items: center;
|
|
5698
|
+
gap: 0.25rem;
|
|
5699
|
+
}
|
|
5700
|
+
|
|
5701
|
+
.chat-actions-hover {
|
|
5702
|
+
opacity: 0;
|
|
5703
|
+
pointer-events: none;
|
|
5704
|
+
transition: opacity 140ms ease;
|
|
5705
|
+
}
|
|
5706
|
+
|
|
5707
|
+
.chat:hover .chat-actions-hover,
|
|
5708
|
+
.chat:focus-within .chat-actions-hover {
|
|
5709
|
+
opacity: 1;
|
|
5710
|
+
pointer-events: auto;
|
|
5711
|
+
}
|
|
5712
|
+
|
|
5713
|
+
@media (hover: none) {
|
|
5714
|
+
.chat-actions-hover {
|
|
5715
|
+
opacity: 1;
|
|
5716
|
+
pointer-events: auto;
|
|
5717
|
+
}
|
|
5718
|
+
}
|
|
5719
|
+
|
|
5664
5720
|
.chat-bubble {
|
|
5665
5721
|
--chat-bubble-bg: var(--color-surface-container-highest);
|
|
5666
5722
|
--chat-bubble-fg: var(--color-on-surface);
|
|
@@ -5677,7 +5733,6 @@
|
|
|
5677
5733
|
border-radius: 1rem;
|
|
5678
5734
|
background-color: var(--chat-bubble-bg);
|
|
5679
5735
|
color: var(--chat-bubble-fg);
|
|
5680
|
-
box-shadow: inset 0 0 0 1px var(--color-outline-variant);
|
|
5681
5736
|
font-size: 0.875rem;
|
|
5682
5737
|
line-height: 1.45;
|
|
5683
5738
|
overflow-wrap: anywhere;
|
|
@@ -5694,11 +5749,11 @@
|
|
|
5694
5749
|
.chat-end .chat-bubble::before {
|
|
5695
5750
|
content: "";
|
|
5696
5751
|
position: absolute;
|
|
5697
|
-
inset-block-
|
|
5752
|
+
inset-block-end: 0;
|
|
5698
5753
|
inline-size: 0.75rem;
|
|
5699
|
-
block-size:
|
|
5754
|
+
block-size: 0.75rem;
|
|
5700
5755
|
background-color: var(--chat-bubble-bg);
|
|
5701
|
-
mask-image: radial-gradient(ellipse at 0
|
|
5756
|
+
mask-image: radial-gradient(ellipse at 0 0, transparent 68%, black 72%);
|
|
5702
5757
|
pointer-events: none;
|
|
5703
5758
|
}
|
|
5704
5759
|
|
|
@@ -5707,7 +5762,7 @@
|
|
|
5707
5762
|
}
|
|
5708
5763
|
|
|
5709
5764
|
.chat-start .chat-bubble {
|
|
5710
|
-
border-
|
|
5765
|
+
border-end-start-radius: 0;
|
|
5711
5766
|
}
|
|
5712
5767
|
|
|
5713
5768
|
.chat-end .chat-bubble::before {
|
|
@@ -5716,7 +5771,7 @@
|
|
|
5716
5771
|
}
|
|
5717
5772
|
|
|
5718
5773
|
.chat-end .chat-bubble {
|
|
5719
|
-
border-
|
|
5774
|
+
border-end-end-radius: 0;
|
|
5720
5775
|
}
|
|
5721
5776
|
|
|
5722
5777
|
.chat-start:dir(rtl) .chat-bubble::before { transform: scaleX(-1); }
|
|
@@ -6057,11 +6112,15 @@
|
|
|
6057
6112
|
scroll-behavior: auto;
|
|
6058
6113
|
}
|
|
6059
6114
|
|
|
6060
|
-
.chat-scroll-indicator {
|
|
6115
|
+
.chat-scroll-indicator::before {
|
|
6061
6116
|
animation: none;
|
|
6062
6117
|
transition: none;
|
|
6063
6118
|
}
|
|
6064
6119
|
|
|
6120
|
+
.chat-actions-hover {
|
|
6121
|
+
transition: none;
|
|
6122
|
+
}
|
|
6123
|
+
|
|
6065
6124
|
.chat-typing::before,
|
|
6066
6125
|
.chat-typing::after,
|
|
6067
6126
|
.chat-typing span,
|