@webority/theme 0.161.0 → 0.164.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/README.md +23 -23
- package/dist/purge-safelist.json +10 -11
- package/dist/webority-theme.css +3 -3
- package/package.json +8 -7
- package/scss/_bootstrap.generated.scss +1 -1
- package/scss/_components.scss +38 -34
- package/scss/_flags.scss +3 -3
- package/scss/_marketing.scss +6 -6
- package/scss/_tokens.generated.scss +1 -1
- package/scss/_variables.scss +19 -19
- package/scss/_wui-components.scss +2 -0
- package/scss/_wui-core.scss +2 -0
- package/scss/wui/_card.scss +20 -12
- package/scss/wui/_choice.scss +4 -4
- package/scss/wui/_command-palette.scss +7 -2
- package/scss/wui/_comment-thread.scss +3 -3
- package/scss/wui/_context-menu.scss +14 -10
- package/scss/wui/_controls.scss +80 -74
- package/scss/wui/_data.scss +19 -33
- package/scss/wui/_dialog-motion.scss +14 -19
- package/scss/wui/_disclosure.scss +3 -3
- package/scss/wui/_display.scss +56 -56
- package/scss/wui/_dock.scss +4 -4
- package/scss/wui/_drawer.scss +18 -15
- package/scss/wui/_empty-state.scss +4 -4
- package/scss/wui/_file-viewer.scss +14 -2
- package/scss/wui/_filter-popover.scss +1 -1
- package/scss/wui/_floating.scss +1 -1
- package/scss/wui/_flow.scss +35 -35
- package/scss/wui/_hover-card.scss +6 -5
- package/scss/wui/_inline-edit.scss +1 -1
- package/scss/wui/_kanban.scss +1 -1
- package/scss/wui/_lightbox.scss +20 -9
- package/scss/wui/_media.scss +1 -1
- package/scss/wui/_mention-input.scss +3 -3
- package/scss/wui/_menu-motion.scss +23 -23
- package/scss/wui/_modal-remote.scss +3 -3
- package/scss/wui/_native-overlay.scss +76 -0
- package/scss/wui/_navigation-menu.scss +13 -17
- package/scss/wui/_navigation.scss +25 -1
- package/scss/wui/_notification-center.scss +6 -9
- package/scss/wui/_overlay-reset.scss +15 -0
- package/scss/wui/_overlays.scss +139 -99
- package/scss/wui/_page-header-bar.scss +24 -0
- package/scss/wui/_scrollbar.scss +1 -1
- package/scss/wui/_sections.scss +3 -3
- package/scss/wui/_select.scss +16 -10
- package/scss/wui/_shell-parts.scss +2 -2
- package/scss/wui/_shell.scss +131 -28
- package/scss/wui/_shortcuts.scss +3 -15
- package/scss/wui/_sortable.scss +1 -1
- package/scss/wui/_tone-pill.scss +2 -2
- package/scss/wui/_toolbar.scss +3 -3
- package/scss/wui/_truncate.scss +2 -2
- package/scss/wui/_typography.scss +8 -8
- package/scss/wui/_utilities.scss +4 -5
- package/scss/wui/_whats-new.scss +6 -7
- package/scss/wui/_workspace.scss +34 -9
- package/scss/wui/tour/_base.scss +11 -1
- package/scss/wui/tour/_end.scss +6 -0
- package/scss/wui/tour/_media.scss +1 -1
- package/scss/wui/tour/_placement.scss +6 -0
package/scss/wui/_controls.scss
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Prefer .wui-* for new chrome; legacy bare names here are frozen until a BREAKING rename.
|
|
5
5
|
// Checkbox & radio, field/input, status badge, choice chip.
|
|
6
6
|
//
|
|
7
|
-
// Part of the wui-components layer
|
|
7
|
+
// Part of the wui-components layer. See _wui-components.scss for the whole
|
|
8
8
|
// picture and the load order. Order within the layer is LOAD-BEARING: these
|
|
9
9
|
// partials are a split of one stylesheet, not independent modules, so a rule
|
|
10
10
|
// here may be overridden by a later partial. Never reorder the imports.
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
// Bootstrap `.form-check` + `.form-check-input` are the public selection skin
|
|
14
14
|
// (AppCheckbox / AppRadio / AppSwitch). `.wui-check` / `.wui-radio` are aliases
|
|
15
15
|
// for the same glyph (AppDataTable select column + legacy `.wui-control`
|
|
16
|
-
// markup)
|
|
16
|
+
// markup), never a second look. One 20px brand glyph language.
|
|
17
17
|
//
|
|
18
18
|
// Layout wrappers:
|
|
19
|
-
// .form-check / .form-check-label
|
|
20
|
-
// .wui-control / .wui-control-label
|
|
19
|
+
// .form-check / .form-check-label: App* path
|
|
20
|
+
// .wui-control / .wui-control-label: optional compact label wrap (alias)
|
|
21
21
|
|
|
22
22
|
.form-check,
|
|
23
23
|
.wui-control {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
user-select: none;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
// The block variant is a 2-column grid
|
|
61
|
+
// The block variant is a 2-column grid: glyph in column 1, label in column 2, so a long
|
|
62
62
|
// label WRAPS inside its own column and stays beside the glyph, never dropping onto a second
|
|
63
63
|
// line below it (a flex-wrap row breaks lines by each item's max-content size, so any label
|
|
64
64
|
// longer than the remaining width is bumped below the glyph regardless of flex sizing). The
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
margin-bottom: 0;
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
// Glyph
|
|
193
|
+
// Glyph: shared by BS form-check-input and the wui-check alias.
|
|
194
194
|
.form-check-input,
|
|
195
195
|
.wui-check,
|
|
196
196
|
.wui-radio {
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
box-shadow: none;
|
|
247
247
|
}
|
|
248
248
|
// A plain MOUSE click must leave NO lingering focus/active glow, ring, border tint or
|
|
249
|
-
// darkening
|
|
249
|
+
// darkening; Bootstrap paints all of them on :focus/:active. Neutralise them for pointer
|
|
250
250
|
// focus + active while the keyboard ring above stays, so a mouse click just toggles cleanly.
|
|
251
251
|
.form-check-input:focus:not(:focus-visible),
|
|
252
252
|
.wui-check:focus:not(:focus-visible),
|
|
@@ -305,7 +305,7 @@
|
|
|
305
305
|
color: var(--color-text-subtle);
|
|
306
306
|
}
|
|
307
307
|
|
|
308
|
-
// Compact row-select
|
|
308
|
+
// Compact row-select: ONLY inside the select column (AppDataTable / Razor
|
|
309
309
|
// data-table → `.wui-select-cell`). Scope is load-bearing.
|
|
310
310
|
.wui-select-cell .wui-check,
|
|
311
311
|
.wui-select-cell .form-check-input {
|
|
@@ -341,17 +341,17 @@
|
|
|
341
341
|
border-color: transparent;
|
|
342
342
|
background-color: var(--color-primary);
|
|
343
343
|
background-position: right center;
|
|
344
|
-
// Re-assert the knob
|
|
344
|
+
// Re-assert the knob. The checkbox :checked tick has equal specificity.
|
|
345
345
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='7' fill='white'/%3E%3C/svg%3E");
|
|
346
346
|
}
|
|
347
|
-
// On a mouse click the switch's track border reverts to its resting transparent
|
|
347
|
+
// On a mouse click the switch's track border reverts to its resting transparent; Bootstrap's
|
|
348
348
|
// :focus otherwise tints it brand-blue, leaving a coloured outline after the click. The shared
|
|
349
349
|
// :focus:not(:focus-visible) rule already dropped the glow; this drops the border tint too.
|
|
350
350
|
.form-switch .form-check-input:focus:not(:focus-visible) {
|
|
351
351
|
border-color: transparent;
|
|
352
352
|
}
|
|
353
353
|
|
|
354
|
-
// Circular variant (shape="circle")
|
|
354
|
+
// Circular variant (shape="circle"): a compact round on/off button instead of a sliding
|
|
355
355
|
// pill. The track is a square-sized circle; the knob dot stays CENTRED in both states (no
|
|
356
356
|
// left/right slide) and the fill flips to primary when on. Placed after the base switch
|
|
357
357
|
// block so the equal-specificity :checked position override wins on source order.
|
|
@@ -434,7 +434,7 @@
|
|
|
434
434
|
// ── Field / Input ──
|
|
435
435
|
// Bootstrap `.form-control` / `.form-select` are the field skin. `.input` /
|
|
436
436
|
// `.select` / `.textarea` are aliases (and App* size/shell hooks) that MUST
|
|
437
|
-
// share the same chrome
|
|
437
|
+
// share the same chrome; never a second look. The only WUI
|
|
438
438
|
// deltas on top of Bootstrap's $input-* vars: shared control height, hover
|
|
439
439
|
// fill, brand-border focus (no glow), soft invalid border.
|
|
440
440
|
//
|
|
@@ -443,7 +443,7 @@
|
|
|
443
443
|
// border + a soft focus ring on focus. "Filled" is the same resting look with a
|
|
444
444
|
// value; the state ladder is default/filled → hover → focus → disabled → error.
|
|
445
445
|
//
|
|
446
|
-
// Keep shell utilities (.input-wrap, .input-icon, .input-sm, …)
|
|
446
|
+
// Keep shell utilities (.input-wrap, .input-icon, .input-sm, …). Those are
|
|
447
447
|
// structure, not a parallel visual system.
|
|
448
448
|
.form-control,
|
|
449
449
|
.form-select,
|
|
@@ -489,7 +489,7 @@ textarea.form-control {
|
|
|
489
489
|
line-height: 1.5;
|
|
490
490
|
resize: vertical;
|
|
491
491
|
}
|
|
492
|
-
// Auto-grow
|
|
492
|
+
// Auto-grow: JS drives the height to fit the content (Razor: data-app-autosize;
|
|
493
493
|
// React: autoGrow). Manual grabber and scrollbar off so they can't fight measure.
|
|
494
494
|
.textarea.autosize,
|
|
495
495
|
textarea.form-control.autosize {
|
|
@@ -499,7 +499,7 @@ textarea.form-control.autosize {
|
|
|
499
499
|
// Hover/error guards: without them the hover fill repaints over an invalid border.
|
|
500
500
|
// `:not([aria-expanded="true"])` on the `.input` line: a combobox/dialog trigger whose popup is
|
|
501
501
|
// OPEN (datepicker/date-range/time-picker triggers set aria-expanded on the trigger, but carry
|
|
502
|
-
// their `.open` class on the WRAPPER, not the trigger) must keep its open white fill
|
|
502
|
+
// their `.open` class on the WRAPPER, not the trigger) must keep its open white fill; without
|
|
503
503
|
// this the resting-hover grey repaints over it the moment the cursor sits on the open trigger.
|
|
504
504
|
// `:not(.phone-input-wrap > .input)`: the phone shell owns the fill and border, so its inner input
|
|
505
505
|
// must stay transparent. This rule's specificity beats that shell's transparent rule, so without
|
|
@@ -523,7 +523,7 @@ textarea.form-control.autosize {
|
|
|
523
523
|
// Lift off the muted resting fill onto a clean white surface while active.
|
|
524
524
|
background-color: var(--color-surface);
|
|
525
525
|
color: var(--color-text);
|
|
526
|
-
// Soft brand border is the focus cue (per the reference)
|
|
526
|
+
// Soft brand border is the focus cue (per the reference). No ring or shadow.
|
|
527
527
|
border-color: var(--color-field-border-focus);
|
|
528
528
|
box-shadow: none;
|
|
529
529
|
}
|
|
@@ -532,7 +532,7 @@ textarea.form-control.autosize {
|
|
|
532
532
|
.textarea::placeholder {
|
|
533
533
|
color: var(--color-text-subtle);
|
|
534
534
|
}
|
|
535
|
-
// Borderless variant
|
|
535
|
+
// Borderless variant: no border/background, inherits the container's chrome
|
|
536
536
|
// (inline-rename, command-palette fields where the bordered shell is wrong).
|
|
537
537
|
.input-bare,
|
|
538
538
|
.input-bare:hover,
|
|
@@ -548,14 +548,14 @@ textarea.form-control.autosize {
|
|
|
548
548
|
.input-bare:focus {
|
|
549
549
|
outline: none;
|
|
550
550
|
}
|
|
551
|
-
// Edge/IE native password reveal
|
|
551
|
+
// Edge/IE native password reveal: hide so only the app eye toggle shows.
|
|
552
552
|
.form-control::-ms-reveal,
|
|
553
553
|
.form-control::-ms-clear,
|
|
554
554
|
.input::-ms-reveal,
|
|
555
555
|
.input::-ms-clear {
|
|
556
556
|
display: none;
|
|
557
557
|
}
|
|
558
|
-
// Autofill
|
|
558
|
+
// Autofill: kill the browser's yellow/blue autofill background so a filled field keeps its
|
|
559
559
|
// own chrome (muted at rest, clean surface on focus), same as a hand-typed value. WebKit
|
|
560
560
|
// won't let `background` win here, so paint over it with a full-cover inset box-shadow; the
|
|
561
561
|
// 9999s background transition defers the UA's own repaint so there's no fill flash. Applies to
|
|
@@ -607,7 +607,7 @@ textarea.form-control.autosize {
|
|
|
607
607
|
color: var(--color-text-muted);
|
|
608
608
|
}
|
|
609
609
|
|
|
610
|
-
// Read-only is NOT disabled
|
|
610
|
+
// Read-only is NOT disabled; still submitted/selectable/copyable, so no
|
|
611
611
|
// not-allowed cursor. Match `[readonly]`, never `:read-only` (that also hits
|
|
612
612
|
// disabled and non-editable controls).
|
|
613
613
|
.form-control[readonly],
|
|
@@ -620,7 +620,7 @@ textarea.form-control.autosize {
|
|
|
620
620
|
cursor: default;
|
|
621
621
|
}
|
|
622
622
|
|
|
623
|
-
// Invalid
|
|
623
|
+
// Invalid: soft danger border (one recipe for aria-invalid, .is-invalid, .error).
|
|
624
624
|
// Soft rather than solid --bs-danger so the field still reads as a surface, not a
|
|
625
625
|
// hard alarm box; text errors use --color-danger-text for AA.
|
|
626
626
|
.form-control.is-invalid,
|
|
@@ -650,7 +650,7 @@ textarea.form-control.autosize {
|
|
|
650
650
|
.input.error:focus,
|
|
651
651
|
.textarea.error:focus {
|
|
652
652
|
background: var(--color-surface);
|
|
653
|
-
// Soft danger border (danger at 30%, mirroring the primary-30 focus border)
|
|
653
|
+
// Soft danger border (danger at 30%, mirroring the primary-30 focus border). No ring,
|
|
654
654
|
// so the field reads as a quiet error, not a solid alarm box.
|
|
655
655
|
border-color: color-mix(in srgb, var(--color-danger) 30%, transparent);
|
|
656
656
|
box-shadow: none;
|
|
@@ -747,7 +747,7 @@ form .wui-field-message:empty {
|
|
|
747
747
|
cursor: pointer;
|
|
748
748
|
}
|
|
749
749
|
|
|
750
|
-
// Date inputs
|
|
750
|
+
// Date inputs: a brand calendar glyph that fills the field so a click
|
|
751
751
|
// anywhere opens the native picker; muted text until a value is chosen.
|
|
752
752
|
.input[type="date"] {
|
|
753
753
|
position: relative;
|
|
@@ -784,7 +784,7 @@ form .wui-field-message:empty {
|
|
|
784
784
|
appearance: textfield;
|
|
785
785
|
}
|
|
786
786
|
|
|
787
|
-
// Custom number stepper
|
|
787
|
+
// Custom number stepper: up/down arrows, no background.
|
|
788
788
|
.num-stepper {
|
|
789
789
|
position: relative;
|
|
790
790
|
width: 100%;
|
|
@@ -850,22 +850,22 @@ form .wui-field-message:empty {
|
|
|
850
850
|
background-size: 18px;
|
|
851
851
|
}
|
|
852
852
|
// Dark mode: keep the value in an errored field legible.
|
|
853
|
-
:root[data-theme="dark"] .form-control.error,
|
|
854
|
-
:root[data-theme="dark"] .form-control.error:focus,
|
|
855
|
-
:root[data-theme="dark"] .input.error,
|
|
856
|
-
:root[data-theme="dark"] .input.error:focus,
|
|
857
|
-
:root[data-theme="dark"] .form-control.error:-webkit-autofill,
|
|
858
|
-
:root[data-theme="dark"] .form-control.error:focus:-webkit-autofill,
|
|
859
|
-
:root[data-theme="dark"] .input.error:-webkit-autofill,
|
|
860
|
-
:root[data-theme="dark"] .input.error:focus:-webkit-autofill {
|
|
853
|
+
:root[data-bs-theme="dark"] .form-control.error,
|
|
854
|
+
:root[data-bs-theme="dark"] .form-control.error:focus,
|
|
855
|
+
:root[data-bs-theme="dark"] .input.error,
|
|
856
|
+
:root[data-bs-theme="dark"] .input.error:focus,
|
|
857
|
+
:root[data-bs-theme="dark"] .form-control.error:-webkit-autofill,
|
|
858
|
+
:root[data-bs-theme="dark"] .form-control.error:focus:-webkit-autofill,
|
|
859
|
+
:root[data-bs-theme="dark"] .input.error:-webkit-autofill,
|
|
860
|
+
:root[data-bs-theme="dark"] .input.error:focus:-webkit-autofill {
|
|
861
861
|
color: var(--color-text);
|
|
862
862
|
-webkit-text-fill-color: var(--color-text);
|
|
863
863
|
}
|
|
864
864
|
// ...but -webkit-text-fill-color is inherited by ::placeholder and beats its `color`, so the rule
|
|
865
865
|
// above painted the placeholder as bright as a typed value. Hand the placeholder its own subtle
|
|
866
866
|
// ink back (the same --color-text-subtle every other placeholder uses).
|
|
867
|
-
:root[data-theme="dark"] .form-control.error::placeholder,
|
|
868
|
-
:root[data-theme="dark"] .input.error::placeholder {
|
|
867
|
+
:root[data-bs-theme="dark"] .form-control.error::placeholder,
|
|
868
|
+
:root[data-bs-theme="dark"] .input.error::placeholder {
|
|
869
869
|
color: var(--color-text-subtle);
|
|
870
870
|
-webkit-text-fill-color: var(--color-text-subtle);
|
|
871
871
|
}
|
|
@@ -890,7 +890,7 @@ form .wui-field-message:empty {
|
|
|
890
890
|
color: var(--color-danger-text);
|
|
891
891
|
}
|
|
892
892
|
|
|
893
|
-
// Leading-icon input
|
|
893
|
+
// Leading-icon input: icon turns brand on focus.
|
|
894
894
|
// The leading icon sits centred in a fixed slot, a grey divider closes the slot, and the text
|
|
895
895
|
// starts a gap after it. Slot, glyph and gap scale with the field size, so every icon in a
|
|
896
896
|
// field of one size lands in the same place.
|
|
@@ -947,7 +947,7 @@ form .wui-field-message:empty {
|
|
|
947
947
|
color: var(--color-primary-text);
|
|
948
948
|
}
|
|
949
949
|
|
|
950
|
-
// Trailing action beside the field
|
|
950
|
+
// Trailing action beside the field: a control (a labelled button, or a confirmation once the
|
|
951
951
|
// value resolves) that sits OUTSIDE the input border. The field flexes to fill the row; the
|
|
952
952
|
// action keeps its natural width and centres against the control.
|
|
953
953
|
.input-action-row {
|
|
@@ -1011,7 +1011,7 @@ form .wui-field-message:empty {
|
|
|
1011
1011
|
display: block;
|
|
1012
1012
|
}
|
|
1013
1013
|
|
|
1014
|
-
// Clearable
|
|
1014
|
+
// Clearable ✕: a trailing reset button, placed inside .input-wrap / .input-icon. It only
|
|
1015
1015
|
// renders while the field has a value; .has-clear reserves the room so text never sits under it.
|
|
1016
1016
|
.input.has-clear {
|
|
1017
1017
|
padding-right: 40px;
|
|
@@ -1049,7 +1049,7 @@ form .wui-field-message:empty {
|
|
|
1049
1049
|
to { opacity: 1; transform: translateY(-50%) scale(1); }
|
|
1050
1050
|
}
|
|
1051
1051
|
|
|
1052
|
-
// Prefix / suffix addon
|
|
1052
|
+
// Prefix / suffix addon: a bordered box before/after the input (₹, https://, .com). The
|
|
1053
1053
|
// WRAPPER owns the border + radius so the affixes and input read as one control; the input
|
|
1054
1054
|
// itself goes borderless. Focus/hover/error move to the wrapper.
|
|
1055
1055
|
.input-affixed {
|
|
@@ -1058,7 +1058,7 @@ form .wui-field-message:empty {
|
|
|
1058
1058
|
width: 100%;
|
|
1059
1059
|
border: 1px solid var(--color-field-border);
|
|
1060
1060
|
border-radius: var(--wui-field-md-radius);
|
|
1061
|
-
// Soft-filled at rest, white on focus
|
|
1061
|
+
// Soft-filled at rest, white on focus; one shared fill for the whole control so the
|
|
1062
1062
|
// prefix/suffix and the input body are always the SAME colour combination as the field.
|
|
1063
1063
|
background: var(--color-field-bg);
|
|
1064
1064
|
// Clip the square inner input to the wrapper's rounded corners on hover and focus.
|
|
@@ -1101,7 +1101,7 @@ form .wui-field-message:empty {
|
|
|
1101
1101
|
justify-content: center;
|
|
1102
1102
|
min-width: 44px;
|
|
1103
1103
|
padding: 0 12px;
|
|
1104
|
-
// Transparent so the affix inherits the wrapper fill
|
|
1104
|
+
// Transparent so the affix inherits the wrapper fill; the addon and the input read as
|
|
1105
1105
|
// one continuous surface (only the separator border divides them).
|
|
1106
1106
|
background: transparent;
|
|
1107
1107
|
color: var(--color-text-subtle);
|
|
@@ -1117,7 +1117,7 @@ form .wui-field-message:empty {
|
|
|
1117
1117
|
border-radius: 0 var(--wui-field-md-radius) var(--wui-field-md-radius) 0;
|
|
1118
1118
|
}
|
|
1119
1119
|
|
|
1120
|
-
// Floating label
|
|
1120
|
+
// Floating label: the label starts centred as the placeholder, then slides up and shrinks
|
|
1121
1121
|
// on focus or when the field is filled. Opt-in (floatingLabel); the input carries a single
|
|
1122
1122
|
// space as its placeholder so :placeholder-shown drives the "empty" state. Standalone shell.
|
|
1123
1123
|
.field-float {
|
|
@@ -1216,10 +1216,10 @@ form .wui-field-message:empty {
|
|
|
1216
1216
|
color: var(--color-text-subtle);
|
|
1217
1217
|
text-align: start;
|
|
1218
1218
|
}
|
|
1219
|
-
// Character counter
|
|
1219
|
+
// Character counter: a right-aligned count under the field; turns danger at the limit.
|
|
1220
1220
|
.field-count {
|
|
1221
|
-
// `.field` is align-items:flex-start, so a shrink-wrapped count would sit on the LEFT
|
|
1222
|
-
//
|
|
1221
|
+
// `.field` is align-items:flex-start, so a shrink-wrapped count would sit on the LEFT.
|
|
1222
|
+
// Text-align alone can't move it. align-self pushes it to the control's right edge.
|
|
1223
1223
|
align-self: flex-end;
|
|
1224
1224
|
// Tighten the space above the count: .field's 10px gap → effective 8px, matching .field-error.
|
|
1225
1225
|
margin-top: -2px;
|
|
@@ -1231,15 +1231,21 @@ form .wui-field-message:empty {
|
|
|
1231
1231
|
.field-count.at-limit {
|
|
1232
1232
|
color: var(--color-danger-text);
|
|
1233
1233
|
}
|
|
1234
|
-
// A product sets the field label type with --wui-field-label-fs and --wui-field-label-
|
|
1234
|
+
// A product sets the field label type and colour with --wui-field-label-fs, --wui-field-label-fw and --wui-field-label-color on any ancestor.
|
|
1235
1235
|
.label {
|
|
1236
1236
|
display: block;
|
|
1237
1237
|
font-size: var(--wui-field-label-fs, var(--wui-label-fs));
|
|
1238
1238
|
line-height: normal;
|
|
1239
1239
|
font-weight: var(--wui-field-label-fw, 500);
|
|
1240
|
-
color: var(--color-text);
|
|
1240
|
+
color: var(--wui-field-label-color, var(--color-text));
|
|
1241
1241
|
margin-bottom: 6px;
|
|
1242
1242
|
}
|
|
1243
|
+
// Zero specificity: a field label carries .form-label and .label, and .label's own type and colour must win.
|
|
1244
|
+
:where(.form-label) {
|
|
1245
|
+
font-size: var(--wui-field-label-fs, inherit);
|
|
1246
|
+
font-weight: var(--wui-field-label-fw, inherit);
|
|
1247
|
+
color: var(--wui-field-label-color, inherit);
|
|
1248
|
+
}
|
|
1243
1249
|
.label-hint {
|
|
1244
1250
|
color: var(--color-text-subtle);
|
|
1245
1251
|
font-weight: 400;
|
|
@@ -1254,13 +1260,13 @@ form .wui-field-message:empty {
|
|
|
1254
1260
|
.required {
|
|
1255
1261
|
// Same red as .field-error. The mark is aria-hidden so it could carry the brighter brand
|
|
1256
1262
|
// hue, but then the asterisk and the message it belongs to sat two lines apart in visibly
|
|
1257
|
-
// different reds
|
|
1263
|
+
// different reds, which read as a bug and got "fixed" three times by repainting the
|
|
1258
1264
|
// message with the mark's sub-AA red. One token for both ends that.
|
|
1259
1265
|
color: var(--color-danger-text);
|
|
1260
1266
|
// The gap is CSS, not a significant space in the markup. RequiredMark used to render
|
|
1261
1267
|
// `{' '}*` while AppDatePicker and every Razor helper rendered a bare `*`, so the same
|
|
1262
|
-
// asterisk sat 4px further out in some fields than others
|
|
1263
|
-
// because HTML comparison collapses whitespace by design. Gap removed
|
|
1268
|
+
// asterisk sat 4px further out in some fields than others; and no check could see it,
|
|
1269
|
+
// because HTML comparison collapses whitespace by design. Gap removed. The star sits
|
|
1264
1270
|
// flush against the label.
|
|
1265
1271
|
margin-inline-start: 0;
|
|
1266
1272
|
}
|
|
@@ -1300,15 +1306,15 @@ form .wui-field-message:empty {
|
|
|
1300
1306
|
//
|
|
1301
1307
|
// The `<wui-*>` entries are load-bearing, not defensive. Every hard interactive control
|
|
1302
1308
|
// is now `.field > wui-select > .wui-select`, so the child combinator below stopped
|
|
1303
|
-
// reaching the inner div AND the real flex item
|
|
1309
|
+
// reaching the inner div AND the real flex item (the custom element) was named by no
|
|
1304
1310
|
// rule at all. With `align-items: flex-start` above, that means it shrinks to its
|
|
1305
1311
|
// content: a select rendered 164px wide in a 377px column. Neither render parity nor the
|
|
1306
1312
|
// interaction suite saw it, because BOTH surfaces wrap the same element and are equally
|
|
1307
1313
|
// wrong, and the fixtures render at full width where nothing has to stretch.
|
|
1308
1314
|
//
|
|
1309
1315
|
// `display: block` is here for the same reason and is not redundant with the stretch: a
|
|
1310
|
-
// custom element is `display: inline` by default, so outside a flex `.field
|
|
1311
|
-
// into a plain div, a grid cell, a table cell
|
|
1316
|
+
// custom element is `display: inline` by default, so outside a flex `.field`, dropped
|
|
1317
|
+
// into a plain div, a grid cell, a table cell; it would still collapse. Being a flex
|
|
1312
1318
|
// item blockifies it; nothing else does.
|
|
1313
1319
|
wui-select,
|
|
1314
1320
|
wui-phone,
|
|
@@ -1335,15 +1341,15 @@ wui-date-range {
|
|
|
1335
1341
|
align-self: stretch;
|
|
1336
1342
|
}
|
|
1337
1343
|
// A file picker fills its column by default (align-self:stretch fills the field on the cross
|
|
1338
|
-
// axis, but the field itself collapses to its content when it is a flex item
|
|
1339
|
-
// lays fields out in a flex row
|
|
1344
|
+
// axis, but the field itself collapses to its content when it is a flex item; the showcase
|
|
1345
|
+
// lays fields out in a flex row, so stretch the field to its container first). Override per
|
|
1340
1346
|
// use with a .file-w-* class or the --wui-file-width variable.
|
|
1341
1347
|
.field:has(> .file-input),
|
|
1342
1348
|
.field:has(> .file-preview) {
|
|
1343
1349
|
width: var(--wui-file-width, 100%);
|
|
1344
1350
|
max-width: 100%;
|
|
1345
1351
|
}
|
|
1346
|
-
// Doubled selectors
|
|
1352
|
+
// Doubled selectors. See the lg-tier block below: a media query carries no
|
|
1347
1353
|
// extra specificity, so a consumer's later single-class rule would win.
|
|
1348
1354
|
@media (max-width: 575.98px) {
|
|
1349
1355
|
.field-row.field-row,
|
|
@@ -1366,7 +1372,7 @@ wui-date-range {
|
|
|
1366
1372
|
align-items: stretch;
|
|
1367
1373
|
border: 1px solid var(--color-field-border);
|
|
1368
1374
|
border-radius: var(--wui-field-md-radius);
|
|
1369
|
-
// Soft-filled at rest, white on focus
|
|
1375
|
+
// Soft-filled at rest, white on focus; the numeric input and its unit pill share the
|
|
1370
1376
|
// one wrapper fill, same colour combination as every other field.
|
|
1371
1377
|
background: var(--color-field-bg);
|
|
1372
1378
|
transition:
|
|
@@ -1386,7 +1392,7 @@ wui-date-range {
|
|
|
1386
1392
|
border-color: color-mix(in srgb, var(--color-danger) 30%, transparent);
|
|
1387
1393
|
}
|
|
1388
1394
|
|
|
1389
|
-
// Numeric inputs are plain text fields
|
|
1395
|
+
// Numeric inputs are plain text fields. No native spinner, no stepper. The
|
|
1390
1396
|
// field flows seamlessly into the trailing unit pill; the wrapper carries the
|
|
1391
1397
|
// border.
|
|
1392
1398
|
.input-with-unit .num-input {
|
|
@@ -1410,7 +1416,7 @@ wui-date-range {
|
|
|
1410
1416
|
box-shadow: none;
|
|
1411
1417
|
}
|
|
1412
1418
|
.input-with-unit .unit {
|
|
1413
|
-
// Transparent so the pill inherits the wrapper fill
|
|
1419
|
+
// Transparent so the pill inherits the wrapper fill; one continuous surface.
|
|
1414
1420
|
background: transparent;
|
|
1415
1421
|
border: none;
|
|
1416
1422
|
border-left: 1px solid var(--color-border);
|
|
@@ -1428,7 +1434,7 @@ wui-date-range {
|
|
|
1428
1434
|
white-space: nowrap;
|
|
1429
1435
|
}
|
|
1430
1436
|
|
|
1431
|
-
// Number input with stepper
|
|
1437
|
+
// Number input with stepper: decrements/increments by step, clamped to min/max.
|
|
1432
1438
|
// One field, one border: the WRAPPER owns the border + hover/focus/error ring
|
|
1433
1439
|
// so the input and stepper buttons light up together.
|
|
1434
1440
|
.num-wrap {
|
|
@@ -1444,7 +1450,7 @@ wui-date-range {
|
|
|
1444
1450
|
background-color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
1445
1451
|
overflow: hidden;
|
|
1446
1452
|
}
|
|
1447
|
-
// Not while invalid
|
|
1453
|
+
// Not while invalid: an errored control holds its red border/fill on hover rather than
|
|
1448
1454
|
// reverting to the grey hover one (matches AppInput, whose hover rule excludes the error state).
|
|
1449
1455
|
.num-wrap:hover:not(:focus-within):not(:has(.num-input.error)):not(:has(.num-input.is-invalid)):not(:has(.num-input[aria-invalid="true"])) {
|
|
1450
1456
|
background: var(--color-field-bg);
|
|
@@ -1457,7 +1463,7 @@ wui-date-range {
|
|
|
1457
1463
|
.num-wrap:has(.num-input.error),
|
|
1458
1464
|
.num-wrap:has(.num-input.is-invalid),
|
|
1459
1465
|
.num-wrap:has(.num-input[aria-invalid="true"]) {
|
|
1460
|
-
// Soft invalid border
|
|
1466
|
+
// Soft invalid border: match AppInput / AppPhoneNumberInput exactly (danger at 30%,
|
|
1461
1467
|
// mirroring the primary-30 focus border), not the solid full-strength danger this used to
|
|
1462
1468
|
// carry, so every field's error border reads the same light red. Clean surface fill, as
|
|
1463
1469
|
// AppInput's invalid state.
|
|
@@ -1465,9 +1471,9 @@ wui-date-range {
|
|
|
1465
1471
|
border-color: color-mix(in srgb, var(--color-danger) 30%, transparent);
|
|
1466
1472
|
}
|
|
1467
1473
|
|
|
1468
|
-
// Numeric input inside the stepper
|
|
1474
|
+
// Numeric input inside the stepper: plain text field, no native spinner.
|
|
1469
1475
|
// Flows seamlessly between the stepper buttons; the wrapper carries the border.
|
|
1470
|
-
// The value reads as the segmented centre cell
|
|
1476
|
+
// The value reads as the segmented centre cell, centred + semibold like the
|
|
1471
1477
|
// reference: minus | value | plus, three even cells divided by the button borders.
|
|
1472
1478
|
.num-wrap .num-input {
|
|
1473
1479
|
flex: 1;
|
|
@@ -1486,7 +1492,7 @@ wui-date-range {
|
|
|
1486
1492
|
box-shadow: none;
|
|
1487
1493
|
}
|
|
1488
1494
|
|
|
1489
|
-
// Stepper buttons
|
|
1495
|
+
// Stepper buttons: decrease/increase the value by step.
|
|
1490
1496
|
// Positioned left (minus, :first-child) and right (plus, :last-child) of the
|
|
1491
1497
|
// input; disabled at min/max or when the control is disabled. Each carries the
|
|
1492
1498
|
// divider on its input-facing edge so the value sits in its own segment.
|
|
@@ -1527,7 +1533,7 @@ wui-date-range {
|
|
|
1527
1533
|
cursor: not-allowed;
|
|
1528
1534
|
opacity: var(--wui-disabled-opacity);
|
|
1529
1535
|
}
|
|
1530
|
-
// Segment dividers: minus divides on its right, plus on its left
|
|
1536
|
+
// Segment dividers: minus divides on its right, plus on its left; so the value
|
|
1531
1537
|
// cell is bounded on both sides. (DOM order is minus, input, [unit], plus on both
|
|
1532
1538
|
// surfaces, so :first-child / :last-child land on the two buttons.)
|
|
1533
1539
|
.num-btn:first-child {
|
|
@@ -1559,7 +1565,7 @@ wui-date-range {
|
|
|
1559
1565
|
font-size: 16px;
|
|
1560
1566
|
}
|
|
1561
1567
|
|
|
1562
|
-
// Affix (unit) in the num-wrap
|
|
1568
|
+
// Affix (unit) in the num-wrap: a trailing pill after the input.
|
|
1563
1569
|
.num-wrap .affix {
|
|
1564
1570
|
background: var(--color-field-bg);
|
|
1565
1571
|
border: none;
|
|
@@ -1612,7 +1618,7 @@ wui-date-range {
|
|
|
1612
1618
|
background: currentColor;
|
|
1613
1619
|
}
|
|
1614
1620
|
|
|
1615
|
-
// "Soft" status badge
|
|
1621
|
+
// "Soft" status badge: pill, 12/600, muted tone fill.
|
|
1616
1622
|
.status-label {
|
|
1617
1623
|
display: inline-flex;
|
|
1618
1624
|
align-items: center;
|
|
@@ -1625,7 +1631,7 @@ wui-date-range {
|
|
|
1625
1631
|
line-height: 1;
|
|
1626
1632
|
white-space: nowrap;
|
|
1627
1633
|
}
|
|
1628
|
-
// Tones are SEMANTIC
|
|
1634
|
+
// Tones are SEMANTIC: success / warning / danger / info / primary / neutral,
|
|
1629
1635
|
// the same vocabulary .chip, .badge and every other tone-bearing component uses.
|
|
1630
1636
|
// A semantic name survives a palette change; a colour name does not (a "green"
|
|
1631
1637
|
// tone is a lie the moment the brand's success colour stops being green).
|
|
@@ -1644,7 +1650,7 @@ wui-date-range {
|
|
|
1644
1650
|
.status-label.primary {
|
|
1645
1651
|
@include wui-tone-pill-colors(primary, var(--color-primary-text));
|
|
1646
1652
|
}
|
|
1647
|
-
// Default/neutral
|
|
1653
|
+
// Default/neutral: also the bare `.status-label` look, so an unknown or omitted
|
|
1648
1654
|
// tone still renders as a proper pill instead of transparent text.
|
|
1649
1655
|
.status-label,
|
|
1650
1656
|
.status-label.neutral {
|
|
@@ -1767,7 +1773,7 @@ wui-date-range {
|
|
|
1767
1773
|
color: var(--color-text-muted);
|
|
1768
1774
|
}
|
|
1769
1775
|
|
|
1770
|
-
// Form section heading
|
|
1776
|
+
// Form section heading: a branded accent bar rather than a full-width hairline,
|
|
1771
1777
|
// so a long form reads as designed sections instead of raw rules.
|
|
1772
1778
|
//
|
|
1773
1779
|
// Block, not flex: an inline subscript in the label (N(SG)) would otherwise be
|
|
@@ -1797,7 +1803,7 @@ wui-date-range {
|
|
|
1797
1803
|
// ── OTP / code entry (<wui-otp>) ──
|
|
1798
1804
|
//
|
|
1799
1805
|
// One real input, transparent, sitting on top of the segment boxes. The input keeps focus,
|
|
1800
|
-
// caret, selection, IME and
|
|
1806
|
+
// caret, selection, IME and OS autofill (the reason for the whole design), which delivers
|
|
1801
1807
|
// an SMS code to the focused field whole. The boxes are presentational and aria-hidden; the
|
|
1802
1808
|
// input is the single labelled field a screen reader sees.
|
|
1803
1809
|
//
|
|
@@ -1868,13 +1874,13 @@ wui-otp {
|
|
|
1868
1874
|
border-color var(--wui-duration-fast) var(--wui-ease-ui),
|
|
1869
1875
|
box-shadow var(--wui-duration-fast) var(--wui-ease-ui);
|
|
1870
1876
|
}
|
|
1871
|
-
// Hover
|
|
1877
|
+
// Hover: the whole field lifts its border to strong (AppInput hover), but not while a
|
|
1872
1878
|
// slot is active (focus wins) or the field is disabled.
|
|
1873
1879
|
.otp:hover:not(:focus-within):not(:has(.otp-field:disabled)) .otp-slot {
|
|
1874
1880
|
border-color: var(--color-field-border-hover);
|
|
1875
1881
|
}
|
|
1876
1882
|
// The caret cannot be seen through a transparent input, so the ACTIVE box carries the
|
|
1877
|
-
// affordance instead
|
|
1883
|
+
// affordance instead, derived from selectionStart. Matches AppInput's focus: clean
|
|
1878
1884
|
// surface fill + soft brand border, no ring.
|
|
1879
1885
|
.otp-slot.active {
|
|
1880
1886
|
background: var(--color-surface);
|
|
@@ -1887,7 +1893,7 @@ wui-otp {
|
|
|
1887
1893
|
border-color: transparent;
|
|
1888
1894
|
color: var(--color-text-subtle);
|
|
1889
1895
|
}
|
|
1890
|
-
// Invalid
|
|
1896
|
+
// Invalid: soft danger border on a clean surface, mirroring AppInput's .error (danger
|
|
1891
1897
|
// at 30%, no ring), not a solid alarm box.
|
|
1892
1898
|
.field-error ~ .otp .otp-slot,
|
|
1893
1899
|
.otp.error .otp-slot,
|
package/scss/wui/_data.scss
CHANGED
|
@@ -205,6 +205,7 @@
|
|
|
205
205
|
.table-ledger tbody th.wui-row-header {
|
|
206
206
|
height: var(--wui-table-row-height);
|
|
207
207
|
padding: var(--wui-table-row-pad-y) 12px;
|
|
208
|
+
vertical-align: top;
|
|
208
209
|
border-bottom: var(--wui-table-row-divider-width) solid var(--color-border);
|
|
209
210
|
font-family: var(--wui-font-ui);
|
|
210
211
|
font-size: var(--wui-fs-xs);
|
|
@@ -264,27 +265,13 @@
|
|
|
264
265
|
margin-bottom: 2px;
|
|
265
266
|
}
|
|
266
267
|
}
|
|
267
|
-
//
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
// ledger's auto table layout a nowrap cell demands its full unwrapped width, which widened a
|
|
275
|
-
// 360px column to 854px and pushed the table into horizontal scroll. It trades row height for
|
|
276
|
-
// column geometry. A line clamp leaves the text wrappable, so min-content stays one word.
|
|
277
|
-
//
|
|
278
|
-
// DEFAULT inside a ledger, opt-in class elsewhere.
|
|
279
|
-
//
|
|
280
|
-
// It shipped opt-in because `-webkit-box` stacks element children, and the library styles
|
|
281
|
-
// `.u-name` without ever emitting it — so a product composing a name with an inline badge
|
|
282
|
-
// would have got the badge under the name. A consumer then audited all 13 of their usages:
|
|
283
|
-
// every one has a bare text expression as its only child, and the badges and sublines are
|
|
284
|
-
// SIBLINGS inside `.u-meta`, outside `.u-name` entirely. The caution was right to have and
|
|
285
|
-
// does not apply, so the ledger case — where a wrapped name breaks row rhythm down the whole
|
|
286
|
-
// table — gets it without anyone opting in.
|
|
287
|
-
.table-ledger .u-name,
|
|
268
|
+
// A line clamp keeps a ledger name wrappable. nowrap would widen its column under auto layout.
|
|
269
|
+
.table-ledger .u-name {
|
|
270
|
+
display: -webkit-box;
|
|
271
|
+
-webkit-line-clamp: var(--wui-name-lines, 2);
|
|
272
|
+
-webkit-box-orient: vertical;
|
|
273
|
+
overflow: hidden;
|
|
274
|
+
}
|
|
288
275
|
.u-name-clamp {
|
|
289
276
|
display: -webkit-box;
|
|
290
277
|
-webkit-line-clamp: 1;
|
|
@@ -328,6 +315,7 @@
|
|
|
328
315
|
// Compact is one line per row: the identity subline is hidden and text steps down to 13px.
|
|
329
316
|
.table-ledger.wui-table-compact {
|
|
330
317
|
--avatar-size: 24px;
|
|
318
|
+
--wui-name-lines: 1;
|
|
331
319
|
}
|
|
332
320
|
.table-ledger.wui-table-compact thead th {
|
|
333
321
|
height: 36px;
|
|
@@ -643,7 +631,7 @@
|
|
|
643
631
|
.table-wrap[data-wui-overflow-end]:has(> .wui-table-sticky-actions) {
|
|
644
632
|
--wui-overflow-fade-end: 0px;
|
|
645
633
|
}
|
|
646
|
-
:is(.table-wrap, .table-responsive, [class*="table-responsive-"]):is([data-wui-overflow-start], [data-wui-overflow-end]):not(:has([aria-haspopup][aria-expanded="true"], .dropdown-menu
|
|
634
|
+
:is(.table-wrap, .table-responsive, [class*="table-responsive-"]):is([data-wui-overflow-start], [data-wui-overflow-end]):not(:has([aria-haspopup][aria-expanded="true"], .dropdown-menu:popover-open)) {
|
|
647
635
|
mask-image: linear-gradient(
|
|
648
636
|
90deg,
|
|
649
637
|
transparent,
|
|
@@ -652,7 +640,7 @@
|
|
|
652
640
|
transparent
|
|
653
641
|
);
|
|
654
642
|
}
|
|
655
|
-
:is(.table-wrap, .table-responsive, [class*="table-responsive-"]):dir(rtl):is([data-wui-overflow-start], [data-wui-overflow-end]):not(:has([aria-haspopup][aria-expanded="true"], .dropdown-menu
|
|
643
|
+
:is(.table-wrap, .table-responsive, [class*="table-responsive-"]):dir(rtl):is([data-wui-overflow-start], [data-wui-overflow-end]):not(:has([aria-haspopup][aria-expanded="true"], .dropdown-menu:popover-open)) {
|
|
656
644
|
mask-image: linear-gradient(
|
|
657
645
|
270deg,
|
|
658
646
|
transparent,
|
|
@@ -1004,8 +992,9 @@
|
|
|
1004
992
|
// A scrolling table that opens its card needs its spacing outside the scroll box: padding here
|
|
1005
993
|
// would show scrolled rows above the sticky header. The card is a flex column, so the margin
|
|
1006
994
|
// does not collapse out of it.
|
|
995
|
+
// A product sets the inset of a table in a card with --wui-card-table-inset.
|
|
1007
996
|
.card > .table-wrap.wui-table-scroll:has(> .table-ledger):first-child {
|
|
1008
|
-
margin-top: var(--wui-card-pad);
|
|
997
|
+
margin-top: var(--wui-card-table-inset, var(--wui-card-pad));
|
|
1009
998
|
}
|
|
1010
999
|
|
|
1011
1000
|
// A pinned cell paints a solid colour so scrolled cells pass under it; that colour must match what shows
|
|
@@ -1068,9 +1057,9 @@
|
|
|
1068
1057
|
}
|
|
1069
1058
|
// Each pinned cell is its own stacking context, so the next row's pinned cell would paint over an
|
|
1070
1059
|
// open menu inside this one. The cell that holds an open menu lifts above its pinned siblings.
|
|
1071
|
-
.table-ledger.wui-table-sticky-actions > :is(tbody, tfoot) > tr:not(.wui-row-expanded) > :last-child:has([aria-expanded="true"], .dropdown-menu
|
|
1072
|
-
.table-ledger.wui-table-sticky-first > :is(tbody, tfoot) > tr:not(.wui-row-expanded) > :first-child:has([aria-expanded="true"], .dropdown-menu
|
|
1073
|
-
.table-ledger > :is(tbody, tfoot) > tr:not(.wui-row-expanded, .wui-group-row) > :is(.wui-pin-start, .wui-pin-end):has([aria-expanded="true"], .dropdown-menu
|
|
1060
|
+
.table-ledger.wui-table-sticky-actions > :is(tbody, tfoot) > tr:not(.wui-row-expanded) > :last-child:has([aria-expanded="true"], .dropdown-menu:popover-open),
|
|
1061
|
+
.table-ledger.wui-table-sticky-first > :is(tbody, tfoot) > tr:not(.wui-row-expanded) > :first-child:has([aria-expanded="true"], .dropdown-menu:popover-open),
|
|
1062
|
+
.table-ledger > :is(tbody, tfoot) > tr:not(.wui-row-expanded, .wui-group-row) > :is(.wui-pin-start, .wui-pin-end):has([aria-expanded="true"], .dropdown-menu:popover-open) {
|
|
1074
1063
|
z-index: 4;
|
|
1075
1064
|
}
|
|
1076
1065
|
// A group header holds its own open collapse toggle, so the rule above would lift it over the menu of the row above it. It stays below an open menu.
|
|
@@ -1134,10 +1123,7 @@
|
|
|
1134
1123
|
position: relative;
|
|
1135
1124
|
}
|
|
1136
1125
|
// Touch pointers need a 44px minimum target. Grow the hit area, not the
|
|
1137
|
-
// ink, so row density and alignment are untouched. This lives on ::before,
|
|
1138
|
-
// ::after: an AppActionIcon carries `data-wui-tip` for its tooltip, whose bubble
|
|
1139
|
-
// owns `[data-wui-tip]::after` (imported later, same specificity) — sharing ::after
|
|
1140
|
-
// would let the tooltip overwrite the hit-area box and silently drop the 44px target.
|
|
1126
|
+
// ink, so row density and alignment are untouched. This lives on ::before, not ::after.
|
|
1141
1127
|
@media (pointer: coarse) {
|
|
1142
1128
|
.u-action::before {
|
|
1143
1129
|
content: "";
|
|
@@ -1380,8 +1366,8 @@ wui-data-table {
|
|
|
1380
1366
|
text-overflow: ellipsis;
|
|
1381
1367
|
}
|
|
1382
1368
|
// A menu or picker inside a cell still has to float out of it.
|
|
1383
|
-
.table-ledger[data-wui-fixed] > tbody > tr > td:has([aria-expanded="true"], .dropdown-menu
|
|
1384
|
-
.table-ledger[data-wui-fixed] > tbody > tr > th.wui-row-header:has([aria-expanded="true"], .dropdown-menu
|
|
1369
|
+
.table-ledger[data-wui-fixed] > tbody > tr > td:has([aria-expanded="true"], .dropdown-menu:popover-open),
|
|
1370
|
+
.table-ledger[data-wui-fixed] > tbody > tr > th.wui-row-header:has([aria-expanded="true"], .dropdown-menu:popover-open) {
|
|
1385
1371
|
overflow: visible;
|
|
1386
1372
|
}
|
|
1387
1373
|
|