@webority/theme 0.163.0 → 0.165.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.
Files changed (70) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +21 -21
  3. package/dist/purge-safelist.json +47 -24
  4. package/dist/webority-theme.css +1 -1
  5. package/package.json +6 -5
  6. package/scss/_bootstrap.generated.scss +1 -1
  7. package/scss/_components.scss +38 -34
  8. package/scss/_flags.scss +3 -3
  9. package/scss/_marketing.scss +6 -6
  10. package/scss/_tokens.generated.scss +1 -1
  11. package/scss/_variables.scss +19 -19
  12. package/scss/_wui-components.scss +4 -2
  13. package/scss/_wui-core.scss +4 -2
  14. package/scss/wui/_card.scss +8 -8
  15. package/scss/wui/_choice.scss +4 -4
  16. package/scss/wui/_command-palette.scss +7 -2
  17. package/scss/wui/_comment-thread.scss +3 -3
  18. package/scss/wui/_context-menu.scss +14 -10
  19. package/scss/wui/_controls.scss +80 -116
  20. package/scss/wui/_data.scss +71 -35
  21. package/scss/wui/_dialog-motion.scss +14 -19
  22. package/scss/wui/_disclosure.scss +3 -3
  23. package/scss/wui/_display.scss +56 -56
  24. package/scss/wui/_dock.scss +4 -4
  25. package/scss/wui/_drawer.scss +18 -15
  26. package/scss/wui/_empty-state.scss +4 -4
  27. package/scss/wui/_entry-grid.scss +118 -0
  28. package/scss/wui/_field-sizes.scss +1 -2
  29. package/scss/wui/_file-viewer.scss +14 -2
  30. package/scss/wui/_filter-popover.scss +1 -1
  31. package/scss/wui/_floating.scss +1 -1
  32. package/scss/wui/_flow.scss +33 -33
  33. package/scss/wui/_formula-steps.scss +73 -0
  34. package/scss/wui/_hover-card.scss +6 -5
  35. package/scss/wui/_inline-edit.scss +1 -1
  36. package/scss/wui/_interaction.scss +4 -0
  37. package/scss/wui/_kanban.scss +1 -1
  38. package/scss/wui/_lightbox.scss +20 -9
  39. package/scss/wui/_media.scss +1 -1
  40. package/scss/wui/_mention-input.scss +3 -3
  41. package/scss/wui/_menu-motion.scss +23 -23
  42. package/scss/wui/_metric-strip.scss +14 -0
  43. package/scss/wui/_modal-remote.scss +3 -3
  44. package/scss/wui/_native-overlay.scss +76 -0
  45. package/scss/wui/_navigation-menu.scss +13 -17
  46. package/scss/wui/_navigation.scss +25 -1
  47. package/scss/wui/_notification-center.scss +6 -9
  48. package/scss/wui/_overlay-reset.scss +15 -0
  49. package/scss/wui/_overlays.scss +147 -99
  50. package/scss/wui/_page-header-bar.scss +24 -0
  51. package/scss/wui/_scrollbar.scss +1 -1
  52. package/scss/wui/_sections.scss +31 -3
  53. package/scss/wui/_select.scss +16 -10
  54. package/scss/wui/_shell-parts.scss +6 -2
  55. package/scss/wui/_shell.scss +131 -28
  56. package/scss/wui/_shortcuts.scss +3 -15
  57. package/scss/wui/_sortable.scss +1 -1
  58. package/scss/wui/_tone-pill.scss +2 -2
  59. package/scss/wui/_toolbar.scss +3 -3
  60. package/scss/wui/_truncate.scss +2 -2
  61. package/scss/wui/_typography.scss +9 -8
  62. package/scss/wui/_utilities.scss +4 -12
  63. package/scss/wui/_whats-new.scss +6 -7
  64. package/scss/wui/_workspace.scss +34 -9
  65. package/scss/wui/tour/_base.scss +11 -1
  66. package/scss/wui/tour/_end.scss +6 -0
  67. package/scss/wui/tour/_media.scss +1 -1
  68. package/scss/wui/tour/_placement.scss +6 -0
  69. package/scss/wui/_resizable.scss +0 -100
  70. package/scss/wui/_rolling-number.scss +0 -68
@@ -9,14 +9,12 @@
9
9
  // here may be overridden by a later partial. Never reorder the imports.
10
10
 
11
11
  // ── Modal ──
12
- // Chrome stays on `.wui-modal-*`. The shell is react-bootstrap <Modal>:
13
- // .modal.wui-modal-shell ← className (layout container)
14
- // .modal-backdrop.wui-modal-dim ← backdropClassName (dim only)
15
- // .modal-dialog.wui-rb-dialog ← dialogClassName
16
- // .modal-content.wui-modal ← contentClassName (the card)
17
- // Do NOT put layout on backdropClassName — that targets a sibling, not
18
- // .modal.
19
- .modal-backdrop.wui-modal-dim {
12
+ // Chrome stays on `.wui-modal-*`. The shell is a native <dialog> opened with showModal():
13
+ // dialog.modal.wui-modal-shell ← the element (layout container, top layer)
14
+ // dialog.wui-modal-shell::backdrop ← the dim layer
15
+ // .modal-dialog.wui-rb-dialog ← the dialog's inner wrapper
16
+ // .modal-content.wui-modal ← the card
17
+ dialog.wui-modal-shell::backdrop {
20
18
  // Opacity is pinned to 1 because Bootstrap's 0.5 would halve the dim. The strong scrim guarantees
21
19
  // separation in every browser, including over embedded pages Chrome cannot blur; the blur on top
22
20
  // is decoration.
@@ -31,38 +29,25 @@
31
29
  }
32
30
  .modal.wui-modal-shell {
33
31
  --bs-modal-bg: transparent;
34
- align-items: center;
32
+ // Top, not centre: the dialog wrapper's own min-height does the vertical centring, measured from the
33
+ // padded top edge, which is where an open Bootstrap modal (a block box) has always placed it.
34
+ align-items: flex-start;
35
35
  justify-content: center;
36
36
  z-index: var(--wui-z-modal);
37
37
  padding: 20px;
38
38
  }
39
- // A dialog opened over a side panel (drawer or offcanvas) sits above it and its dim layer.
40
- .modal.wui-modal-stacked {
41
- z-index: calc(var(--wui-z-modal) + 10);
42
- }
43
- .modal-backdrop.wui-modal-backdrop-stacked {
44
- z-index: calc(var(--wui-z-modal) + 9);
45
- }
46
- // `display: flex` ONLY while the dialog is actually open.
47
- //
48
- // This was `display: flex !important` on the rule above, which beat Bootstrap's
49
- // `.modal { display: none }` — so a CLOSED <app-modal> stayed laid out as a
50
- // full-viewport flex container and silently swallowed every click on the page behind
51
- // it. React never hit it (react-bootstrap mounts the dialog only when open), so it
52
- // only ever broke Razor, on any page that declared a modal.
53
- //
54
- // Both stacks open a modal by setting `display: block` inline (Bootstrap's JS and
55
- // react-bootstrap alike), which is what this keys on — it covers the whole opening
56
- // transition, not just the settled `.show` state. Specificity (0,3,0) beats `.modal`,
57
- // so no !important is needed.
58
- .modal.wui-modal-shell[style*="display: block"] {
39
+ // `display: flex` only while the dialog is open. A closed dialog must not lay out: as a
40
+ // full-viewport flex box it would swallow every click on the page. Bootstrap's `.modal` sets
41
+ // display: none, so this rule also has to beat it.
42
+ dialog.wui-modal-shell[open] {
59
43
  display: flex;
60
44
  }
61
45
  // RB dialog shell: no Bootstrap max-width/margin so `.wui-modal` owns sizing.
62
46
  .modal.wui-modal-shell .modal-dialog.wui-rb-dialog {
63
47
  margin: 0;
64
48
  max-width: none;
65
- width: auto;
49
+ // The open shell is a flex box, where `auto` would shrink the wrapper to its content.
50
+ width: 100%;
66
51
  pointer-events: none;
67
52
  display: flex;
68
53
  align-items: center;
@@ -98,13 +83,6 @@
98
83
  // clip, not hidden: hidden makes the card a scroll container, so a focused control near its foot scrolled the card, not .wui-modal-body.
99
84
  overflow: clip;
100
85
  }
101
- // The document gutter is reserved (html, body in _components.scss) and AppModal locks the page itself
102
- // (ui-react lib/pageScrollLock.js), so the modal manager's scrollbar padding on body only bares a strip of
103
- // page beside the backdrop. Bootstrap and react-bootstrap write it inline, which only !important outranks.
104
- body.modal-open,
105
- body[data-rr-ui-modal-open] {
106
- padding-right: 0 !important;
107
- }
108
86
  // The centred card opens with the shared dialog motion (wui/_dialog-motion.scss: soft zoom by
109
87
  // default). Width comes from `size`, which both surfaces resolve to `--wui-modal-max-width` on
110
88
  // the shell (it inherits to `.wui-modal`).
@@ -190,6 +168,14 @@ body[data-rr-ui-modal-open] {
190
168
  color: var(--color-text);
191
169
  overflow-wrap: anywhere;
192
170
  }
171
+ // The opt-in display face restates the type settings, so it wins over the
172
+ // --wui-modal-title-font-* hooks, which only tune the default title.
173
+ .wui-modal-title-serif {
174
+ font-family: var(--wui-font-display, inherit);
175
+ font-size: 30px;
176
+ font-weight: var(--wui-fw-medium, 500);
177
+ line-height: var(--wui-lh-heading, 1.2);
178
+ }
193
179
  .wui-modal-subtitle {
194
180
  margin-top: 1px;
195
181
  font-size: 12px;
@@ -526,9 +512,8 @@ body[data-rr-ui-modal-open] {
526
512
  }
527
513
 
528
514
  // ── Tooltip ──
529
- // Both surfaces render Bootstrap's .tooltip / .tooltip-inner (React via react-bootstrap
530
- // <Tooltip>, Razor via Bootstrap's own tooltip JS). The wrappers tag the tooltip element with
531
- // `wui-tooltip` (React className, Razor data-bs-custom-class), so this design lands on App
515
+ // Both surfaces render .tooltip / .tooltip-inner inside a popover="manual" element. The
516
+ // wrappers tag the tooltip element with `wui-tooltip`, so this design lands on App
532
517
  // tooltips only and never on a raw Bootstrap one. Every colour flows --wui-tooltip-* →
533
518
  // Bootstrap's own --bs-tooltip-* vars, so the arrow (which Bootstrap paints from
534
519
  // --bs-tooltip-bg) always tracks the body. Customisation seam: override a --wui-tooltip-* var
@@ -560,6 +545,9 @@ body[data-rr-ui-modal-open] {
560
545
  --bs-tooltip-padding-x: var(--wui-tooltip-padding-x);
561
546
  --bs-tooltip-opacity: 1;
562
547
  }
548
+ .tooltip.wui-tooltip:popover-open {
549
+ opacity: var(--bs-tooltip-opacity);
550
+ }
563
551
  .tooltip.wui-tooltip .tooltip-inner {
564
552
  // Padding + font-size come from the --bs-tooltip-* vars above (driven by --wui-tooltip-*),
565
553
  // so a size-* class or a custom var resizes the tip without touching this rule.
@@ -570,70 +558,15 @@ body[data-rr-ui-modal-open] {
570
558
  box-shadow: var(--wui-tooltip-shadow);
571
559
  }
572
560
 
573
- // ── CSS-only tooltip ──────────────────────────────────────────────────────────────────
574
- // Any element carrying `data-wui-tip="…"` grows a hover/focus bubble reusing the AppTooltip
575
- // surface look — no JS, no Popper, instant, and identical on React and Razor by construction.
576
- // It sits above the element; for a collision-aware / richer tooltip, use AppTooltip /
577
- // <app-tooltip> instead.
578
- //
579
- // Sole remaining user: <app-tabs> tab buttons, which CANNOT use a Bootstrap tooltip — the button
580
- // already owns a `bs.tab` instance and Bootstrap permits only one instance per element, so binding
581
- // `bs.Tooltip` to it logs "Bootstrap doesn't allow more than one instance per element" and the tab
582
- // instance is never registered. Everything else with a `tooltip` prop (AppIcon / <app-icon>
583
- // included) now routes through the shared collision-aware AppTooltip / Bootstrap-tooltip (Popper)
584
- // engine instead.
585
- [data-wui-tip] {
561
+ // Zero specificity: a component that positions its own control (a remove badge pinned to a corner) keeps it.
562
+ :where([data-wui-tooltip]) {
586
563
  position: relative;
587
564
  }
588
- // The wrapper the `tooltip` prop on AppIcon / <app-icon> puts around a glyph — now just the
589
- // inline-flex layout; the tooltip itself rides the shared Popper engine (Bootstrap-tooltip
590
- // data-attributes on this span, AppTooltip on React), not the CSS bubble above.
565
+ // The wrapper the `tooltip` prop on AppIcon / <app-icon> puts around a glyph: inline-flex layout only.
591
566
  .wui-icon-tip {
592
567
  display: inline-flex;
593
568
  vertical-align: -0.125em;
594
569
  }
595
- [data-wui-tip]::after {
596
- content: attr(data-wui-tip);
597
- position: absolute;
598
- bottom: calc(100% + 8px);
599
- left: 50%;
600
- transform: translateX(-50%);
601
- // Sits on the dedicated tooltip rung — above menus/popovers/modals, below toasts — so it is
602
- // never stacked under an overlay it is meant to annotate. This is a fixed-position CSS bubble
603
- // (always above); for a collision-aware tooltip that flips to stay on-screen, use AppTooltip /
604
- // <app-tooltip> (Popper), which AppActionIcon wraps for exactly that reason.
605
- z-index: var(--wui-z-tooltip, 1650);
606
- width: max-content;
607
- max-width: 240px;
608
- padding: 7px 11px;
609
- border-radius: var(--wui-radius-md, 10px);
610
- corner-shape: squircle;
611
- background: var(--color-surface);
612
- color: var(--color-text);
613
- border: 1px solid var(--color-border-subtle);
614
- box-shadow: var(--wui-shadow-popover);
615
- font-size: 0.8125rem;
616
- font-weight: 500;
617
- line-height: 1.4;
618
- text-align: left;
619
- white-space: normal;
620
- pointer-events: none;
621
- opacity: 0;
622
- visibility: hidden;
623
- transition:
624
- opacity var(--wui-duration-fast) var(--wui-ease-ui),
625
- visibility var(--wui-duration-fast) var(--wui-ease-ui);
626
- }
627
- [data-wui-tip]:hover::after,
628
- [data-wui-tip]:focus-visible::after {
629
- opacity: 1;
630
- visibility: visible;
631
- }
632
- @media (prefers-reduced-motion: reduce) {
633
- [data-wui-tip]::after {
634
- transition: none;
635
- }
636
- }
637
570
 
638
571
  // Size presets — swap the four size vars. `md` is the :where default (no class).
639
572
  .tooltip.wui-tooltip.size-sm {
@@ -654,6 +587,45 @@ body[data-rr-ui-modal-open] {
654
587
  filter: drop-shadow(0 1px 1px color-mix(in srgb, var(--color-text) 14%, transparent));
655
588
  }
656
589
 
590
+ // The arrow sits on the side of the bubble facing its trigger; data-side names the trigger side
591
+ // (top, bottom, start, end) as anchorOverlay writes it.
592
+ .tooltip.wui-tooltip[data-side="top"] .tooltip-arrow {
593
+ bottom: calc(-1 * var(--bs-tooltip-arrow-height));
594
+ }
595
+ .tooltip.wui-tooltip[data-side="top"] .tooltip-arrow::before {
596
+ top: -1px;
597
+ border-width: var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * 0.5) 0;
598
+ border-top-color: var(--bs-tooltip-bg);
599
+ }
600
+ .tooltip.wui-tooltip[data-side="end"] .tooltip-arrow {
601
+ left: calc(-1 * var(--bs-tooltip-arrow-height));
602
+ width: var(--bs-tooltip-arrow-height);
603
+ height: var(--bs-tooltip-arrow-width);
604
+ }
605
+ .tooltip.wui-tooltip[data-side="end"] .tooltip-arrow::before {
606
+ right: -1px;
607
+ border-width: calc(var(--bs-tooltip-arrow-width) * 0.5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * 0.5) 0;
608
+ border-right-color: var(--bs-tooltip-bg);
609
+ }
610
+ .tooltip.wui-tooltip[data-side="bottom"] .tooltip-arrow {
611
+ top: calc(-1 * var(--bs-tooltip-arrow-height));
612
+ }
613
+ .tooltip.wui-tooltip[data-side="bottom"] .tooltip-arrow::before {
614
+ bottom: -1px;
615
+ border-width: 0 calc(var(--bs-tooltip-arrow-width) * 0.5) var(--bs-tooltip-arrow-height);
616
+ border-bottom-color: var(--bs-tooltip-bg);
617
+ }
618
+ .tooltip.wui-tooltip[data-side="start"] .tooltip-arrow {
619
+ right: calc(-1 * var(--bs-tooltip-arrow-height));
620
+ width: var(--bs-tooltip-arrow-height);
621
+ height: var(--bs-tooltip-arrow-width);
622
+ }
623
+ .tooltip.wui-tooltip[data-side="start"] .tooltip-arrow::before {
624
+ left: -1px;
625
+ border-width: calc(var(--bs-tooltip-arrow-width) * 0.5) 0 calc(var(--bs-tooltip-arrow-width) * 0.5) var(--bs-tooltip-arrow-height);
626
+ border-left-color: var(--bs-tooltip-bg);
627
+ }
628
+
657
629
  // Tone presets — swap the three colour vars; the arrow follows --bs-tooltip-bg automatically.
658
630
  // Fills that carry white text use the AA-cleared -strong tokens; warning stays dark-on-yellow.
659
631
  .tooltip.wui-tooltip.wui-tooltip-inverse {
@@ -682,6 +654,83 @@ body[data-rr-ui-modal-open] {
682
654
  --wui-tooltip-border: transparent;
683
655
  }
684
656
 
657
+ // Popover arrow side, read from data-side as for the tooltip above.
658
+ .popover[data-side="top"] > .popover-arrow {
659
+ bottom: calc(-1 * var(--bs-popover-arrow-height) - var(--bs-popover-border-width));
660
+ }
661
+ .popover[data-side="top"] > .popover-arrow::before,
662
+ .popover[data-side="top"] > .popover-arrow::after {
663
+ border-width: var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * 0.5) 0;
664
+ }
665
+ .popover[data-side="top"] > .popover-arrow::before {
666
+ bottom: 0;
667
+ border-top-color: var(--bs-popover-arrow-border);
668
+ }
669
+ .popover[data-side="top"] > .popover-arrow::after {
670
+ bottom: var(--bs-popover-border-width);
671
+ border-top-color: var(--bs-popover-bg);
672
+ }
673
+ .popover[data-side="end"] > .popover-arrow {
674
+ left: calc(-1 * var(--bs-popover-arrow-height) - var(--bs-popover-border-width));
675
+ width: var(--bs-popover-arrow-height);
676
+ height: var(--bs-popover-arrow-width);
677
+ }
678
+ .popover[data-side="end"] > .popover-arrow::before,
679
+ .popover[data-side="end"] > .popover-arrow::after {
680
+ border-width: calc(var(--bs-popover-arrow-width) * 0.5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * 0.5) 0;
681
+ }
682
+ .popover[data-side="end"] > .popover-arrow::before {
683
+ left: 0;
684
+ border-right-color: var(--bs-popover-arrow-border);
685
+ }
686
+ .popover[data-side="end"] > .popover-arrow::after {
687
+ left: var(--bs-popover-border-width);
688
+ border-right-color: var(--bs-popover-bg);
689
+ }
690
+ .popover[data-side="bottom"] > .popover-arrow {
691
+ top: calc(-1 * var(--bs-popover-arrow-height) - var(--bs-popover-border-width));
692
+ }
693
+ .popover[data-side="bottom"] > .popover-arrow::before,
694
+ .popover[data-side="bottom"] > .popover-arrow::after {
695
+ border-width: 0 calc(var(--bs-popover-arrow-width) * 0.5) var(--bs-popover-arrow-height);
696
+ }
697
+ .popover[data-side="bottom"] > .popover-arrow::before {
698
+ top: 0;
699
+ border-bottom-color: var(--bs-popover-arrow-border);
700
+ }
701
+ .popover[data-side="bottom"] > .popover-arrow::after {
702
+ top: var(--bs-popover-border-width);
703
+ border-bottom-color: var(--bs-popover-bg);
704
+ }
705
+ // Bootstrap removes the header's border just below a bottom arrow.
706
+ .popover[data-side="bottom"] .popover-header::before {
707
+ position: absolute;
708
+ top: 0;
709
+ left: 50%;
710
+ display: block;
711
+ width: var(--bs-popover-arrow-width);
712
+ margin-left: calc(-0.5 * var(--bs-popover-arrow-width));
713
+ content: "";
714
+ border-bottom: var(--bs-popover-border-width) solid var(--bs-popover-header-bg);
715
+ }
716
+ .popover[data-side="start"] > .popover-arrow {
717
+ right: calc(-1 * var(--bs-popover-arrow-height) - var(--bs-popover-border-width));
718
+ width: var(--bs-popover-arrow-height);
719
+ height: var(--bs-popover-arrow-width);
720
+ }
721
+ .popover[data-side="start"] > .popover-arrow::before,
722
+ .popover[data-side="start"] > .popover-arrow::after {
723
+ border-width: calc(var(--bs-popover-arrow-width) * 0.5) 0 calc(var(--bs-popover-arrow-width) * 0.5) var(--bs-popover-arrow-height);
724
+ }
725
+ .popover[data-side="start"] > .popover-arrow::before {
726
+ right: 0;
727
+ border-left-color: var(--bs-popover-arrow-border);
728
+ }
729
+ .popover[data-side="start"] > .popover-arrow::after {
730
+ right: var(--bs-popover-border-width);
731
+ border-left-color: var(--bs-popover-bg);
732
+ }
733
+
685
734
  // ── Toast (notifications) ──
686
735
  // Surface-card toasts shared by React <AppToast/> and Razor <app-toast>/WUI.toast: an elevated
687
736
  // card with a left accent bar + variant icon, an auto-dismiss progress bar (pauses on hover/focus),
@@ -1063,7 +1112,6 @@ body[data-rr-ui-modal-open] {
1063
1112
  .wui-toast--surface-inverse .wui-toast-close {
1064
1113
  filter: invert(1) grayscale(100%) brightness(200%);
1065
1114
  }
1066
- :root[data-theme="dark"] .wui-toast--surface-inverse .wui-toast-close,
1067
1115
  :root[data-bs-theme="dark"] .wui-toast--surface-inverse .wui-toast-close {
1068
1116
  filter: none;
1069
1117
  }
@@ -49,6 +49,30 @@
49
49
  .page-header.page-header-bar .page-actions {
50
50
  flex: none;
51
51
  }
52
+ // The actions sit in a <wui-overflow>: the ones that do not fit fold into its More menu, so the host
53
+ // shrinks with the row instead of running past the header's edge.
54
+ .page-header.page-header-bar > .wui-page-header-actions {
55
+ flex: 0 1 auto;
56
+ gap: var(--wui-space-sm);
57
+ min-width: 0;
58
+ }
59
+ // The list keeps one line: an action that does not fit folds into More instead of wrapping. Its
60
+ // actions never shrink, so the overflow element measures real overflow instead of wrapped labels.
61
+ .page-header.page-header-bar > .wui-page-header-actions > .page-actions {
62
+ flex: 0 1 auto;
63
+ flex-wrap: nowrap;
64
+ min-width: 0;
65
+ }
66
+ .page-header.page-header-bar > .wui-page-header-actions > .page-actions > * {
67
+ flex: none;
68
+ }
69
+ // More sits among small action buttons, so it takes their height and corner.
70
+ .page-header.page-header-bar > .wui-page-header-actions > .wui-overflow-more {
71
+ height: var(--wui-control-sm);
72
+ padding: 0 var(--wui-space-md);
73
+ border-radius: var(--wui-button-sm-radius);
74
+ color: var(--color-text);
75
+ }
52
76
  .page-header-bar-views {
53
77
  flex: 0 1 auto;
54
78
  min-width: 0;
@@ -1,6 +1,6 @@
1
1
  @use "../config" as *;
2
2
 
3
- // AppScrollbar / opt-in internal scrollers — same tokens as the document rail
3
+ // AppScrollbar / opt-in internal scrollers, same tokens as the document rail
4
4
  // (--wui-scrollbar*). Document chrome lives on html/body only; use this class
5
5
  // for panels, drawers, and modal bodies that need a matching thin thumb.
6
6
  .wui-scroll {
@@ -84,6 +84,7 @@
84
84
  }
85
85
  .wui-section-eyebrow-info {
86
86
  @include wui-tone-pill-colors(info);
87
+ border-color: var(--color-info-border);
87
88
  }
88
89
  .wui-section-title {
89
90
  margin: 0;
@@ -187,6 +188,21 @@
187
188
  background: var(--color-primary-soft);
188
189
  color: var(--color-primary-text);
189
190
  }
191
+ // An image in place of the icon: no tile behind it, its own ratio at the tile's height.
192
+ .wui-section-feature-icon-image {
193
+ width: auto;
194
+ height: auto;
195
+ border-radius: var(--wui-radius-none);
196
+ background: none;
197
+ justify-content: flex-start;
198
+ }
199
+ .wui-section-feature-img {
200
+ display: block;
201
+ width: auto;
202
+ max-width: 100%;
203
+ height: var(--wui-space-3xl);
204
+ object-fit: contain;
205
+ }
190
206
  .wui-section-feature-title {
191
207
  margin: 0;
192
208
  color: var(--color-text);
@@ -266,12 +282,12 @@
266
282
  opacity: 1;
267
283
  }
268
284
  // Dark pages: a dark mark turns light, and the hover and focus reveal keeps that inversion.
269
- :root[data-theme="dark"] .wui-section-logo-img {
285
+ :root[data-bs-theme="dark"] .wui-section-logo-img {
270
286
  filter: grayscale(1) invert(1);
271
287
  opacity: 0.8;
272
288
  }
273
- :root[data-theme="dark"] .wui-section-logo-img:hover,
274
- :root[data-theme="dark"] .wui-section-logo a:focus-visible .wui-section-logo-img {
289
+ :root[data-bs-theme="dark"] .wui-section-logo-img:hover,
290
+ :root[data-bs-theme="dark"] .wui-section-logo a:focus-visible .wui-section-logo-img {
275
291
  filter: grayscale(1) invert(1);
276
292
  opacity: 1;
277
293
  }
@@ -281,6 +297,18 @@
281
297
  color: var(--color-text-subtle);
282
298
  font-size: var(--wui-fs-lg);
283
299
  }
300
+ .wui-section-logo-stack {
301
+ display: inline-flex;
302
+ flex-direction: column;
303
+ align-items: center;
304
+ gap: var(--wui-space-sm);
305
+ }
306
+ .wui-section-logo-caption {
307
+ color: var(--color-text-muted);
308
+ font-size: var(--wui-fs-sm);
309
+ font-weight: var(--wui-fw-medium);
310
+ text-align: center;
311
+ }
284
312
 
285
313
  // ── Testimonials ──
286
314
  .wui-section-testimonials-list {
@@ -58,7 +58,7 @@
58
58
  .wui-select-caret path {
59
59
  stroke-width: 2px;
60
60
  }
61
- .wui-select-control.open .wui-select-caret {
61
+ .wui-select:has(> .wui-select-menu:popover-open) .wui-select-caret {
62
62
  transform: rotate(180deg);
63
63
  }
64
64
  .wui-select-placeholder {
@@ -171,6 +171,8 @@
171
171
  right: auto;
172
172
  top: auto;
173
173
  left: auto;
174
+ bottom: auto;
175
+ margin: 0;
174
176
  }
175
177
  // Search box matches the search bar: rounded field, leading icon turns
176
178
  // primary.
@@ -222,8 +224,9 @@
222
224
  .wui-select-input::placeholder {
223
225
  color: var(--color-text-subtle);
224
226
  }
227
+ // --wui-select-options-max-height sets the height of the scrolling option list.
225
228
  .wui-select-options {
226
- max-height: 300px;
229
+ max-height: var(--wui-select-options-max-height, 300px);
227
230
  overflow-y: auto;
228
231
  padding: var(--wui-space-xs);
229
232
  display: flex;
@@ -250,13 +253,15 @@
250
253
  color var(--wui-duration-fast) var(--wui-ease-ui);
251
254
  }
252
255
  // The row under the pointer or the keyboard takes the muted fill, with no outline.
256
+ // --wui-select-option-hover-bg overrides that fill.
253
257
  .wui-select-option:hover,
254
258
  .wui-select-option.is-active {
255
- background: var(--color-bg-muted);
259
+ background: var(--wui-select-option-hover-bg, var(--color-bg-muted));
256
260
  }
261
+ // --wui-select-option-selected-bg overrides the selected row's fill.
257
262
  .wui-select-option.selected,
258
263
  .wui-select-option[aria-selected='true'] {
259
- background: var(--color-primary-soft);
264
+ background: var(--wui-select-option-selected-bg, var(--color-primary-soft));
260
265
  color: var(--color-primary-text);
261
266
  font-weight: var(--wui-fw-semibold);
262
267
  }
@@ -311,6 +316,7 @@ wui-select[mode="multiple"][collapse-chips] .wui-select-chips {
311
316
  .wui-select-multi .wui-select-icon {
312
317
  align-self: center;
313
318
  }
319
+ // --wui-select-option-selected-mark colours the selected option's tick.
314
320
  .wui-select-check {
315
321
  display: inline-flex;
316
322
  align-items: center;
@@ -318,7 +324,7 @@ wui-select[mode="multiple"][collapse-chips] .wui-select-chips {
318
324
  width: 16px;
319
325
  height: 16px;
320
326
  flex: none;
321
- color: var(--color-primary-text);
327
+ color: var(--wui-select-option-selected-mark, var(--color-primary-text));
322
328
  opacity: 0;
323
329
  }
324
330
  .wui-select-option[aria-selected='true'] .wui-select-check {
@@ -419,19 +425,19 @@ wui-select[mode="multiple"][collapse-chips] .wui-select-chips {
419
425
  // focused/open, or once a value is chosen (the label span drops
420
426
  // .wui-select-placeholder the moment something is selected).
421
427
  .field-float:has(.wui-select-control:focus) .float-label,
422
- .field-float:has(.wui-select-control.open) .float-label,
428
+ .field-float:has(.wui-select-menu:popover-open) .float-label,
423
429
  .field-float:has([data-label]:not(.wui-select-placeholder)) .float-label {
424
430
  top: 0;
425
431
  transform: translateY(-50%) scale(0.86);
426
432
  }
427
- .field-float:has(.wui-select-control.open) .float-label {
433
+ .field-float:has(.wui-select-menu:popover-open) .float-label {
428
434
  color: var(--color-primary-text);
429
435
  // The open trigger keeps the field fill, so the label mask takes that same fill.
430
436
  background: var(--color-field-bg);
431
437
  }
432
438
  // Above placement for AppSelect: the same triggers, resting above the box as the input's does.
433
439
  .field-float.wui-float-above:has(.wui-select-control:focus) .float-label,
434
- .field-float.wui-float-above:has(.wui-select-control.open) .float-label,
440
+ .field-float.wui-float-above:has(.wui-select-menu:popover-open) .float-label,
435
441
  .field-float.wui-float-above:has([data-label]:not(.wui-select-placeholder)) .float-label {
436
442
  top: 0;
437
443
  left: 0;
@@ -439,10 +445,10 @@ wui-select[mode="multiple"][collapse-chips] .wui-select-chips {
439
445
  transform: scale(0.86);
440
446
  font-weight: var(--wui-fw-medium);
441
447
  }
442
- .field-float.wui-float-above:has([data-label]:not(.wui-select-placeholder)):not(:has(.wui-select-control.open)) .float-label {
448
+ .field-float.wui-float-above:has([data-label]:not(.wui-select-placeholder)):not(:has(.wui-select-menu:popover-open)) .float-label {
443
449
  color: var(--color-text);
444
450
  }
445
- .field-float.wui-float-above:has(.wui-select-control.open) .float-label {
451
+ .field-float.wui-float-above:has(.wui-select-menu:popover-open) .float-label {
446
452
  background: transparent;
447
453
  }
448
454
 
@@ -148,8 +148,8 @@
148
148
  }
149
149
 
150
150
  // ── Topbar menus: shared card ───────────────────────────────────────────────────────────────
151
- // Both menus open with Bootstrap's static display (Razor data-bs-display="static"; React sets
152
- // data-bs-popper="static" while open), so placement is plain CSS: under the trigger, end-aligned.
151
+ // Both menus are placed by their dropdown element, so the placement here is plain CSS: under the
152
+ // trigger, end-aligned.
153
153
  .wui-usermenu-menu,
154
154
  .wui-bell-menu {
155
155
  top: calc(100% + 8px);
@@ -195,6 +195,10 @@
195
195
  .wui-usermenu-trigger:hover {
196
196
  background: var(--wui-usermenu-hover-bg, var(--color-bg-muted));
197
197
  }
198
+ // Opt-in: an always-on edge on the trigger. An inset shadow keeps the 44px box the same size.
199
+ .wui-usermenu-trigger-outlined {
200
+ box-shadow: inset 0 0 0 1px var(--color-border);
201
+ }
198
202
  .wui-usermenu-trigger:focus-visible {
199
203
  outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
200
204
  outline-offset: var(--wui-focus-ring-offset);