@poolse/react-ui 3.4.0 → 3.6.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/styles.css CHANGED
@@ -283,6 +283,78 @@
283
283
  border: 2.5px solid var(--poolse-surface);
284
284
  }
285
285
 
286
+ .poolse-avatar--xs {
287
+ width: 20px;
288
+ height: 20px;
289
+ font-size: 9px;
290
+ }
291
+
292
+ /* ── PresenceBadge — online / away / in a call / do not disturb ── */
293
+
294
+ .poolse-presence-badge {
295
+ display: inline-flex;
296
+ align-items: center;
297
+ justify-content: center;
298
+ width: 12px;
299
+ height: 12px;
300
+ border-radius: 50%;
301
+ border: 2px solid var(--poolse-surface);
302
+ box-sizing: content-box;
303
+ flex-shrink: 0;
304
+ color: var(--poolse-surface);
305
+ }
306
+
307
+ .poolse-presence-badge svg {
308
+ width: 70%;
309
+ height: 70%;
310
+ }
311
+
312
+ .poolse-presence-badge--online {
313
+ background: var(--poolse-success);
314
+ }
315
+
316
+ .poolse-presence-badge--away {
317
+ background: var(--poolse-warning);
318
+ }
319
+
320
+ .poolse-presence-badge--in_call {
321
+ background: var(--poolse-accent, var(--poolse-brand));
322
+ color: var(--poolse-accent-text, var(--poolse-on-brand));
323
+ }
324
+
325
+ .poolse-presence-badge--dnd {
326
+ background: var(--poolse-surface);
327
+ color: var(--poolse-ink-2);
328
+ }
329
+
330
+ .poolse-presence-badge--dnd svg {
331
+ width: 100%;
332
+ height: 100%;
333
+ }
334
+
335
+ .poolse-presence-badge--xs {
336
+ width: 7px;
337
+ height: 7px;
338
+ border-width: 1.5px;
339
+ }
340
+
341
+ .poolse-presence-badge--sm {
342
+ width: 9px;
343
+ height: 9px;
344
+ }
345
+
346
+ .poolse-presence-badge--lg {
347
+ width: 14px;
348
+ height: 14px;
349
+ border-width: 3px;
350
+ }
351
+
352
+ .poolse-avatar__badge {
353
+ position: absolute;
354
+ right: -2px;
355
+ bottom: -2px;
356
+ }
357
+
286
358
  /* ─────────────────────────────────────────────────────────────
287
359
  ConversationView container
288
360
  ───────────────────────────────────────────────────────────── */
@@ -309,6 +381,10 @@
309
381
  border-bottom: 1px solid var(--poolse-border);
310
382
  }
311
383
 
384
+ .poolse-conversation__status--error {
385
+ color: var(--poolse-error);
386
+ }
387
+
312
388
  .poolse-conversation__messages {
313
389
  flex: 1 1 auto;
314
390
  min-height: 0;
@@ -833,6 +909,12 @@
833
909
  opacity: 0.6;
834
910
  }
835
911
 
912
+ /* A quote of a message that was since deleted. */
913
+ .poolse-quote--deleted .poolse-quote__body {
914
+ font-style: italic;
915
+ opacity: 0.75;
916
+ }
917
+
836
918
  /* ─────────────────────────────────────────────────────────────
837
919
  TypingIndicator — three bouncing dots
838
920
  ───────────────────────────────────────────────────────────── */
@@ -4353,3 +4435,654 @@
4353
4435
  font-size: 12px;
4354
4436
  color: var(--poolse-ink-3);
4355
4437
  }
4438
+
4439
+ /* ─────────────────────────────────────────────────────────────
4440
+ Link previews — cards under the text for the links in it. Tinted
4441
+ from `currentColor`, so the same card reads on your own bubble,
4442
+ another's bubble and a list row, light or dark.
4443
+ ───────────────────────────────────────────────────────────── */
4444
+
4445
+ .poolse-link-previews {
4446
+ display: flex;
4447
+ flex-direction: column;
4448
+ gap: var(--poolse-space-xs, var(--poolse-spacing-xs));
4449
+ margin-top: var(--poolse-space-xs, var(--poolse-spacing-xs));
4450
+ max-width: 360px;
4451
+ min-width: 0;
4452
+ }
4453
+
4454
+ .poolse-message .poolse-link-previews {
4455
+ max-width: 100%;
4456
+ }
4457
+
4458
+ .poolse-link-preview {
4459
+ position: relative;
4460
+ min-width: 0;
4461
+ border: 1px solid color-mix(in oklab, currentColor 14%, transparent);
4462
+ border-radius: var(--poolse-radius-md);
4463
+ background: color-mix(in oklab, currentColor 6%, transparent);
4464
+ overflow: hidden;
4465
+ }
4466
+
4467
+ .poolse-link-preview__link {
4468
+ display: flex;
4469
+ flex-direction: column;
4470
+ color: inherit;
4471
+ text-decoration: none;
4472
+ }
4473
+
4474
+ .poolse-link-preview__link:hover .poolse-link-preview__title {
4475
+ text-decoration: underline;
4476
+ }
4477
+
4478
+ .poolse-link-preview__link:focus-visible {
4479
+ outline: 2px solid var(--poolse-brand);
4480
+ outline-offset: -2px;
4481
+ border-radius: inherit;
4482
+ }
4483
+
4484
+ .poolse-link-preview__image {
4485
+ display: block;
4486
+ width: 100%;
4487
+ max-height: 180px;
4488
+ object-fit: cover;
4489
+ background: color-mix(in oklab, currentColor 8%, transparent);
4490
+ }
4491
+
4492
+ .poolse-link-preview__text {
4493
+ display: flex;
4494
+ flex-direction: column;
4495
+ gap: 2px;
4496
+ padding: var(--poolse-space-sm, var(--poolse-spacing-sm))
4497
+ var(--poolse-space-md, var(--poolse-spacing-md));
4498
+ min-width: 0;
4499
+ }
4500
+
4501
+ .poolse-link-preview__site {
4502
+ display: flex;
4503
+ align-items: center;
4504
+ gap: 6px;
4505
+ font-size: 12px;
4506
+ opacity: 0.75;
4507
+ min-width: 0;
4508
+ }
4509
+
4510
+ .poolse-link-preview__site span {
4511
+ overflow: hidden;
4512
+ text-overflow: ellipsis;
4513
+ white-space: nowrap;
4514
+ }
4515
+
4516
+ .poolse-link-preview__favicon {
4517
+ width: 14px;
4518
+ height: 14px;
4519
+ border-radius: 3px;
4520
+ flex-shrink: 0;
4521
+ }
4522
+
4523
+ .poolse-link-preview__title,
4524
+ .poolse-link-preview__description {
4525
+ display: -webkit-box;
4526
+ -webkit-box-orient: vertical;
4527
+ overflow: hidden;
4528
+ overflow-wrap: anywhere;
4529
+ }
4530
+
4531
+ .poolse-link-preview__title {
4532
+ -webkit-line-clamp: 2;
4533
+ font-weight: 600;
4534
+ font-size: 14px;
4535
+ line-height: 1.3;
4536
+ }
4537
+
4538
+ .poolse-link-preview__description {
4539
+ -webkit-line-clamp: 3;
4540
+ font-size: 13px;
4541
+ line-height: 1.35;
4542
+ opacity: 0.8;
4543
+ }
4544
+
4545
+ .poolse-link-preview--image {
4546
+ border: 0;
4547
+ background: none;
4548
+ width: fit-content;
4549
+ max-width: 100%;
4550
+ }
4551
+
4552
+ .poolse-link-preview--image a {
4553
+ display: block;
4554
+ }
4555
+
4556
+ .poolse-link-preview__picture {
4557
+ display: block;
4558
+ max-width: 100%;
4559
+ max-height: 280px;
4560
+ border-radius: var(--poolse-radius-md);
4561
+ }
4562
+
4563
+ .poolse-link-preview__remove {
4564
+ position: absolute;
4565
+ top: 6px;
4566
+ right: 6px;
4567
+ width: 22px;
4568
+ height: 22px;
4569
+ display: inline-flex;
4570
+ align-items: center;
4571
+ justify-content: center;
4572
+ border: 1px solid var(--poolse-border);
4573
+ border-radius: 50%;
4574
+ background: var(--poolse-surface);
4575
+ color: var(--poolse-ink-2);
4576
+ cursor: pointer;
4577
+ opacity: 0;
4578
+ transition: opacity 0.12s;
4579
+ }
4580
+
4581
+ .poolse-link-preview:hover .poolse-link-preview__remove,
4582
+ .poolse-link-preview__remove:focus-visible {
4583
+ opacity: 1;
4584
+ }
4585
+
4586
+ @media (hover: none) {
4587
+ .poolse-link-preview__remove {
4588
+ opacity: 1;
4589
+ }
4590
+ }
4591
+
4592
+ /* ─────────────────────────────────────────────────────────────
4593
+ ThreadSummary — "N replies · last reply 5m ago" with stacked
4594
+ participant avatars. Rides on .poolse-thread-pill (bubbles) or
4595
+ .poolse-row__thread (list / compact).
4596
+ ───────────────────────────────────────────────────────────── */
4597
+
4598
+ .poolse-thread-summary {
4599
+ gap: 6px;
4600
+ max-width: 100%;
4601
+ min-width: 0;
4602
+ }
4603
+
4604
+ .poolse-thread-summary__avatars {
4605
+ display: inline-flex;
4606
+ flex-shrink: 0;
4607
+ }
4608
+
4609
+ .poolse-thread-summary__avatars .poolse-avatar {
4610
+ width: 18px;
4611
+ height: 18px;
4612
+ font-size: 8px;
4613
+ box-shadow: 0 0 0 2px var(--poolse-paper);
4614
+ }
4615
+
4616
+ .poolse-thread-summary__avatars .poolse-avatar + .poolse-avatar {
4617
+ margin-left: -5px;
4618
+ }
4619
+
4620
+ .poolse-thread-summary__count {
4621
+ white-space: nowrap;
4622
+ }
4623
+
4624
+ .poolse-thread-summary__last {
4625
+ font-weight: 400;
4626
+ color: var(--poolse-ink-3);
4627
+ white-space: nowrap;
4628
+ overflow: hidden;
4629
+ text-overflow: ellipsis;
4630
+ }
4631
+
4632
+ .poolse-row__thread.poolse-thread-summary:hover .poolse-thread-summary__last {
4633
+ text-decoration: none;
4634
+ }
4635
+
4636
+ /* ─────────────────────────────────────────────────────────────
4637
+ Edit history — the "edited" mark and its popover
4638
+ ───────────────────────────────────────────────────────────── */
4639
+
4640
+ .poolse-edited-label {
4641
+ padding: 0;
4642
+ border: 0;
4643
+ background: none;
4644
+ font: inherit;
4645
+ color: inherit;
4646
+ cursor: pointer;
4647
+ text-decoration: underline dotted;
4648
+ text-underline-offset: 2px;
4649
+ }
4650
+
4651
+ .poolse-edited-label:hover {
4652
+ text-decoration-style: solid;
4653
+ }
4654
+
4655
+ .poolse-edited-label:focus-visible {
4656
+ outline: 2px solid var(--poolse-brand);
4657
+ outline-offset: 2px;
4658
+ border-radius: 2px;
4659
+ }
4660
+
4661
+ .poolse-edit-history {
4662
+ z-index: 50;
4663
+ width: 280px;
4664
+ max-height: 260px;
4665
+ overflow-y: auto;
4666
+ padding: var(--poolse-space-sm, var(--poolse-spacing-sm));
4667
+ background: var(--poolse-surface);
4668
+ color: var(--poolse-ink);
4669
+ border: 1px solid var(--poolse-border);
4670
+ border-radius: var(--poolse-radius-md);
4671
+ box-shadow: var(--poolse-shadow-md);
4672
+ font: 400 13px / 1.4 var(--poolse-font-body);
4673
+ white-space: normal;
4674
+ text-align: left;
4675
+ cursor: auto;
4676
+ }
4677
+
4678
+ .poolse-edit-history__title {
4679
+ padding: 2px 4px 6px;
4680
+ font-weight: 700;
4681
+ font-size: 12px;
4682
+ color: var(--poolse-ink-2);
4683
+ }
4684
+
4685
+ .poolse-edit-history__list {
4686
+ margin: 0;
4687
+ padding: 0;
4688
+ list-style: none;
4689
+ display: flex;
4690
+ flex-direction: column;
4691
+ gap: 2px;
4692
+ }
4693
+
4694
+ .poolse-edit-history__item {
4695
+ padding: 6px 4px;
4696
+ border-top: 1px solid var(--poolse-border);
4697
+ }
4698
+
4699
+ .poolse-edit-history__time {
4700
+ display: block;
4701
+ font-size: 11.5px;
4702
+ color: var(--poolse-ink-3);
4703
+ font-variant-numeric: tabular-nums;
4704
+ }
4705
+
4706
+ .poolse-edit-history__body {
4707
+ white-space: pre-wrap;
4708
+ overflow-wrap: anywhere;
4709
+ }
4710
+
4711
+ .poolse-edit-history__empty {
4712
+ padding: 6px 4px;
4713
+ color: var(--poolse-ink-3);
4714
+ }
4715
+
4716
+ /* The overlay meta lets clicks through to the image — except its
4717
+ "edited" mark. */
4718
+ .poolse-message__meta--overlay .poolse-edited-label {
4719
+ pointer-events: auto;
4720
+ }
4721
+
4722
+ /* ─────────────────────────────────────────────────────────────
4723
+ EmojiPicker — search, recently used, categories
4724
+ ───────────────────────────────────────────────────────────── */
4725
+
4726
+ .poolse-emoji-picker {
4727
+ display: flex;
4728
+ flex-direction: column;
4729
+ gap: 6px;
4730
+ width: min(312px, calc(100vw - 24px));
4731
+ height: 340px;
4732
+ padding: var(--poolse-space-sm, var(--poolse-spacing-sm));
4733
+ background: var(--poolse-surface);
4734
+ color: var(--poolse-ink);
4735
+ border: 1px solid var(--poolse-border);
4736
+ border-radius: var(--poolse-radius-lg);
4737
+ box-shadow: var(--poolse-shadow-md);
4738
+ font-family: var(--poolse-font-body);
4739
+ box-sizing: border-box;
4740
+ }
4741
+
4742
+ .poolse-emoji-picker__search {
4743
+ width: 100%;
4744
+ box-sizing: border-box;
4745
+ padding: 7px 10px;
4746
+ border: 1px solid var(--poolse-border);
4747
+ border-radius: var(--poolse-radius-sm);
4748
+ background: var(--poolse-surface-2);
4749
+ color: var(--poolse-ink);
4750
+ font: 400 13px / 1.3 var(--poolse-font-body);
4751
+ outline: none;
4752
+ }
4753
+
4754
+ .poolse-emoji-picker__search:focus {
4755
+ border-color: var(--poolse-brand);
4756
+ }
4757
+
4758
+ .poolse-emoji-picker__tabs {
4759
+ display: flex;
4760
+ gap: 2px;
4761
+ border-bottom: 1px solid var(--poolse-border);
4762
+ padding-bottom: 4px;
4763
+ }
4764
+
4765
+ .poolse-emoji-picker__tab {
4766
+ flex: 1;
4767
+ height: 28px;
4768
+ border: 0;
4769
+ border-radius: var(--poolse-radius-sm);
4770
+ background: none;
4771
+ font-size: 16px;
4772
+ cursor: pointer;
4773
+ filter: grayscale(0.6);
4774
+ }
4775
+
4776
+ .poolse-emoji-picker__tab:hover,
4777
+ .poolse-emoji-picker__tab:focus-visible {
4778
+ background: var(--poolse-surface-2);
4779
+ filter: none;
4780
+ }
4781
+
4782
+ .poolse-emoji-picker__scroll {
4783
+ flex: 1;
4784
+ min-height: 0;
4785
+ overflow-y: auto;
4786
+ position: relative;
4787
+ }
4788
+
4789
+ .poolse-emoji-picker__heading {
4790
+ position: sticky;
4791
+ top: 0;
4792
+ padding: 4px 2px;
4793
+ background: var(--poolse-surface);
4794
+ font-size: 11.5px;
4795
+ font-weight: 700;
4796
+ color: var(--poolse-ink-3);
4797
+ }
4798
+
4799
+ .poolse-emoji-picker__grid {
4800
+ display: grid;
4801
+ grid-template-columns: repeat(8, 1fr);
4802
+ }
4803
+
4804
+ .poolse-emoji-picker__emoji {
4805
+ aspect-ratio: 1;
4806
+ border: 0;
4807
+ border-radius: var(--poolse-radius-sm);
4808
+ background: none;
4809
+ font-size: 22px;
4810
+ line-height: 1;
4811
+ cursor: pointer;
4812
+ padding: 0;
4813
+ }
4814
+
4815
+ .poolse-emoji-picker__emoji:hover,
4816
+ .poolse-emoji-picker__emoji:focus-visible {
4817
+ background: var(--poolse-surface-2);
4818
+ outline: none;
4819
+ }
4820
+
4821
+ .poolse-emoji-picker__empty {
4822
+ padding: 24px 8px;
4823
+ text-align: center;
4824
+ font-size: 13px;
4825
+ color: var(--poolse-ink-3);
4826
+ }
4827
+
4828
+ .poolse-reaction-picker__more {
4829
+ color: var(--poolse-ink-2);
4830
+ }
4831
+
4832
+ .poolse-reaction-picker--full {
4833
+ padding: 0;
4834
+ border: 0;
4835
+ background: none;
4836
+ box-shadow: none;
4837
+ max-width: none;
4838
+ }
4839
+
4840
+ .poolse-composer__emoji {
4841
+ position: relative;
4842
+ flex-shrink: 0;
4843
+ }
4844
+
4845
+ .poolse-composer__emoji-popover {
4846
+ position: absolute;
4847
+ bottom: calc(100% + 8px);
4848
+ right: 0;
4849
+ z-index: 20;
4850
+ }
4851
+
4852
+ .poolse-mention-menu__name {
4853
+ overflow: hidden;
4854
+ text-overflow: ellipsis;
4855
+ white-space: nowrap;
4856
+ }
4857
+
4858
+ .poolse-mention-menu__handle {
4859
+ margin-left: auto;
4860
+ padding-left: 8px;
4861
+ font-size: 12px;
4862
+ color: var(--poolse-ink-3);
4863
+ white-space: nowrap;
4864
+ }
4865
+
4866
+ /* Image thumbnail on an upload chip, before the message is sent. */
4867
+ .poolse-upload-chip__thumb {
4868
+ flex-shrink: 0;
4869
+ width: 36px;
4870
+ height: 36px;
4871
+ object-fit: cover;
4872
+ border-radius: var(--poolse-radius-sm);
4873
+ background: var(--poolse-surface-2);
4874
+ }
4875
+
4876
+ /* ─────────────────────────────────────────────────────────────
4877
+ "New messages" divider + "Jump to first unread"
4878
+ ───────────────────────────────────────────────────────────── */
4879
+
4880
+ .poolse-unread-divider {
4881
+ display: flex;
4882
+ align-items: center;
4883
+ gap: 8px;
4884
+ margin: 12px 0 6px;
4885
+ color: var(--poolse-accent-strong, var(--poolse-brand-strong));
4886
+ font: 700 11.5px / 1 var(--poolse-font-body);
4887
+ letter-spacing: 0.02em;
4888
+ scroll-margin-top: 48px;
4889
+ }
4890
+
4891
+ /* A rule in the accent colour, the label at its end. */
4892
+ .poolse-unread-divider::before {
4893
+ content: '';
4894
+ flex: 1;
4895
+ height: 1px;
4896
+ background: var(--poolse-accent, var(--poolse-brand));
4897
+ }
4898
+
4899
+ .poolse-unread-divider span {
4900
+ white-space: nowrap;
4901
+ }
4902
+
4903
+ .poolse-conversation--layout-list .poolse-unread-divider,
4904
+ .poolse-conversation--layout-compact .poolse-unread-divider {
4905
+ margin-left: 16px;
4906
+ margin-right: 16px;
4907
+ }
4908
+
4909
+ .poolse-conversation__jump-unread {
4910
+ position: sticky;
4911
+ top: 8px;
4912
+ z-index: 4;
4913
+ height: 0;
4914
+ display: flex;
4915
+ justify-content: center;
4916
+ overflow: visible;
4917
+ }
4918
+
4919
+ .poolse-conversation__jump-unread > * {
4920
+ /* Height 0 wrapper: lay the pill out from its top edge. */
4921
+ align-self: flex-start;
4922
+ }
4923
+
4924
+ .poolse-conversation__jump-unread-btn,
4925
+ .poolse-conversation__jump-unread-close {
4926
+ display: inline-flex;
4927
+ align-items: center;
4928
+ gap: 6px;
4929
+ border: 1px solid var(--poolse-border);
4930
+ background: var(--poolse-surface);
4931
+ color: var(--poolse-ink);
4932
+ box-shadow: var(--poolse-shadow-md);
4933
+ font: 600 12.5px / 1 var(--poolse-font-body);
4934
+ cursor: pointer;
4935
+ }
4936
+
4937
+ .poolse-conversation__jump-unread-btn {
4938
+ padding: 7px 12px;
4939
+ border-radius: var(--poolse-radius-pill) 0 0 var(--poolse-radius-pill);
4940
+ border-right: 0;
4941
+ }
4942
+
4943
+ .poolse-conversation__jump-unread-btn:disabled {
4944
+ cursor: progress;
4945
+ color: var(--poolse-ink-2);
4946
+ }
4947
+
4948
+ .poolse-conversation__jump-unread-close {
4949
+ padding: 7px 9px;
4950
+ border-radius: 0 var(--poolse-radius-pill) var(--poolse-radius-pill) 0;
4951
+ color: var(--poolse-ink-2);
4952
+ }
4953
+
4954
+ .poolse-conversation__jump-unread-btn:hover:not(:disabled),
4955
+ .poolse-conversation__jump-unread-close:hover {
4956
+ background: var(--poolse-surface-2);
4957
+ }
4958
+
4959
+ /* ─────────────────────────────────────────────────────────────
4960
+ ConversationList — sidebar colours (the theme's sidebar tokens,
4961
+ falling back to the surface ones), sections, density, header,
4962
+ infinite scroll.
4963
+ ───────────────────────────────────────────────────────────── */
4964
+
4965
+ .poolse-conversation-list {
4966
+ --poolse-cl-bg: var(--poolse-sidebar, var(--poolse-surface));
4967
+ --poolse-cl-text: var(--poolse-sidebar-text, var(--poolse-ink));
4968
+ --poolse-cl-muted: color-mix(in oklab, var(--poolse-cl-text) 62%, var(--poolse-cl-bg));
4969
+ --poolse-cl-subtle: color-mix(in oklab, var(--poolse-cl-text) 45%, var(--poolse-cl-bg));
4970
+ --poolse-cl-hover: color-mix(in oklab, var(--poolse-cl-text) 7%, transparent);
4971
+ --poolse-cl-active: var(--poolse-sidebar-active, var(--poolse-brand-soft));
4972
+ --poolse-cl-active-text: var(--poolse-sidebar-active-text, var(--poolse-ink));
4973
+ display: flex;
4974
+ flex-direction: column;
4975
+ height: 100%;
4976
+ min-height: 0;
4977
+ background: var(--poolse-cl-bg);
4978
+ color: var(--poolse-cl-text);
4979
+ }
4980
+
4981
+ .poolse-conversation-list > .poolse-list {
4982
+ flex: 1 1 auto;
4983
+ min-height: 0;
4984
+ height: auto;
4985
+ background: var(--poolse-cl-bg);
4986
+ color: var(--poolse-cl-text);
4987
+ }
4988
+
4989
+ .poolse-conversation-list__header {
4990
+ flex: none;
4991
+ padding: var(--poolse-space-sm, var(--poolse-spacing-sm))
4992
+ var(--poolse-space-md, var(--poolse-spacing-md));
4993
+ }
4994
+
4995
+ .poolse-conversation-list .poolse-list--placeholder {
4996
+ color: var(--poolse-cl-subtle);
4997
+ }
4998
+
4999
+ .poolse-conversation-list .poolse-list__item:hover,
5000
+ .poolse-conversation-list .poolse-list__item:focus-visible {
5001
+ background: var(--poolse-cl-hover);
5002
+ }
5003
+
5004
+ .poolse-conversation-list .poolse-list__item--selected,
5005
+ .poolse-conversation-list .poolse-list__item--selected:hover {
5006
+ background: var(--poolse-cl-active);
5007
+ color: var(--poolse-cl-active-text);
5008
+ }
5009
+
5010
+ .poolse-conversation-list .poolse-list__title--unread {
5011
+ color: inherit;
5012
+ }
5013
+
5014
+ .poolse-conversation-list .poolse-list__preview {
5015
+ color: var(--poolse-cl-muted);
5016
+ }
5017
+
5018
+ .poolse-conversation-list .poolse-list__time {
5019
+ color: var(--poolse-cl-subtle);
5020
+ }
5021
+
5022
+ .poolse-conversation-list .poolse-list__item--selected .poolse-list__preview,
5023
+ .poolse-conversation-list .poolse-list__item--selected .poolse-list__time {
5024
+ color: color-mix(in oklab, var(--poolse-cl-active-text) 70%, transparent);
5025
+ }
5026
+
5027
+ .poolse-conversation-list .poolse-list__unread-badge {
5028
+ background: var(--poolse-badge, var(--poolse-brand));
5029
+ color: var(--poolse-badge-text, var(--poolse-on-brand));
5030
+ }
5031
+
5032
+ /* Avatars' badge ring matches the sidebar, not the page surface. */
5033
+ .poolse-conversation-list .poolse-presence-badge {
5034
+ border-color: var(--poolse-cl-bg);
5035
+ }
5036
+
5037
+ .poolse-list__section {
5038
+ list-style: none;
5039
+ }
5040
+
5041
+ .poolse-list__section + .poolse-list__section {
5042
+ margin-top: var(--poolse-space-sm, var(--poolse-spacing-sm));
5043
+ }
5044
+
5045
+ .poolse-list__section-title {
5046
+ padding: 8px 12px 4px;
5047
+ font: 700 11.5px / 1.2 var(--poolse-font-body);
5048
+ letter-spacing: 0.04em;
5049
+ text-transform: uppercase;
5050
+ color: var(--poolse-cl-subtle, var(--poolse-ink-3));
5051
+ }
5052
+
5053
+ .poolse-list__section-items {
5054
+ margin: 0;
5055
+ padding: 0;
5056
+ list-style: none;
5057
+ display: flex;
5058
+ flex-direction: column;
5059
+ gap: 2px;
5060
+ }
5061
+
5062
+ .poolse-list__loading-more {
5063
+ padding: 10px 12px;
5064
+ text-align: center;
5065
+ font-size: 12.5px;
5066
+ color: var(--poolse-cl-subtle, var(--poolse-ink-3));
5067
+ }
5068
+
5069
+ .poolse-list__sentinel {
5070
+ height: 1px;
5071
+ flex: none;
5072
+ }
5073
+
5074
+ .poolse-conversation-list--density-compact .poolse-list__item {
5075
+ gap: 8px;
5076
+ padding: 5px 10px;
5077
+ }
5078
+
5079
+ .poolse-conversation-list--density-compact .poolse-list__head {
5080
+ align-items: center;
5081
+ }
5082
+
5083
+ .poolse-conversation-list--density-compact .poolse-list__unread-badge {
5084
+ min-width: 18px;
5085
+ height: 18px;
5086
+ line-height: 18px;
5087
+ font-size: 10.5px;
5088
+ }