@webority/theme 0.164.0 → 0.167.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/LICENSE +1 -1
- package/README.md +86 -1
- package/dist/published-theme.json +2 -0
- package/dist/purge-safelist.json +58 -24
- package/dist/webority-modes.css +1 -0
- package/dist/webority-theme.css +1 -1
- package/dist/webority-tokens.css +1 -1
- package/package.json +13 -6
- package/scss/_bootstrap.generated.scss +1 -1
- package/scss/_components.scss +33 -25
- package/scss/_modes.scss +17 -0
- package/scss/_tokens-modes.generated.scss +170 -0
- package/scss/_tokens.generated.scss +11 -6
- package/scss/_wui-components.scss +2 -2
- package/scss/_wui-core.scss +2 -2
- package/scss/wui/_cell.scss +1 -1
- package/scss/wui/_choice.scss +18 -8
- package/scss/wui/_controls.scss +144 -61
- package/scss/wui/_data.scss +54 -4
- package/scss/wui/_display.scss +8 -4
- package/scss/wui/_entry-grid.scss +178 -0
- package/scss/wui/_field-floor.scss +6 -6
- package/scss/wui/_field-sizes.scss +9 -5
- package/scss/wui/_flow.scss +1 -0
- package/scss/wui/_forced-colors.scss +15 -0
- package/scss/wui/_formula-steps.scss +73 -0
- package/scss/wui/_groups.scss +8 -0
- package/scss/wui/_interaction.scss +4 -0
- package/scss/wui/_metric-strip.scss +14 -0
- package/scss/wui/_navigation.scss +26 -10
- package/scss/wui/_overlays.scss +8 -0
- package/scss/wui/_print.scss +15 -0
- package/scss/wui/_sections.scss +28 -0
- package/scss/wui/_select.scss +9 -2
- package/scss/wui/_shell-parts.scss +4 -0
- package/scss/wui/_typography.scss +1 -0
- package/scss/wui/_utilities.scss +0 -7
- package/scss/wui/forced-colors/_base.scss +95 -0
- package/scss/wui/forced-colors/_choice.scss +59 -0
- package/scss/wui/forced-colors/_controls.scss +90 -0
- package/scss/wui/forced-colors/_data.scss +57 -0
- package/scss/wui/forced-colors/_display.scss +77 -0
- package/scss/wui/forced-colors/_media.scss +63 -0
- package/scss/wui/forced-colors/_navigation.scss +40 -0
- package/scss/wui/forced-colors/_overlays.scss +41 -0
- package/scss/wui/modes/_calendar.scss +24 -0
- package/scss/wui/modes/_command-palette.scss +23 -0
- package/scss/wui/modes/_dock.scss +21 -0
- package/scss/wui/modes/_file-viewer.scss +19 -0
- package/scss/wui/modes/_image-crop.scss +21 -0
- package/scss/wui/modes/_kanban.scss +36 -0
- package/scss/wui/modes/_org-tree.scss +18 -0
- package/scss/wui/modes/_rich-text.scss +25 -0
- package/scss/wui/modes/_tour.scss +30 -0
- package/scss/wui/modes/_tree.scss +17 -0
- package/scss/wui/modes/_workspace.scss +19 -0
- package/scss/wui/print/_chrome.scss +43 -0
- package/scss/wui/print/_content.scss +73 -0
- package/scss/wui/print/_dark.scss +105 -0
- package/scss/wui/print/_data.scss +80 -0
- package/scss/wui/print/_overlays.scss +46 -0
- package/scss/wui/print/_page.scss +11 -0
- package/scss/wui/print/_status.scss +42 -0
- package/scss/wui/print/_surfaces.scss +56 -0
- package/token-meanings.json +3 -2
- package/scss/wui/_resizable.scss +0 -100
- package/scss/wui/_rolling-number.scss +0 -68
package/scss/wui/_sections.scss
CHANGED
|
@@ -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);
|
|
@@ -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 {
|
package/scss/wui/_select.scss
CHANGED
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
white-space: nowrap;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
// Sizes: mirror AppInput's .input-sm / .input-lg so a select lines up with the
|
|
75
|
+
// Sizes: mirror AppInput's .wui-input-sm / .wui-input-lg so a select lines up with the
|
|
76
76
|
// text fields beside it. md is the base .wui-select-control height.
|
|
77
77
|
.wui-select-sm .wui-select-control {
|
|
78
78
|
height: var(--wui-control-sm);
|
|
@@ -86,10 +86,17 @@
|
|
|
86
86
|
font-size: var(--wui-fs-base);
|
|
87
87
|
border-radius: var(--wui-radius-sm);
|
|
88
88
|
}
|
|
89
|
+
.wui-select-xl .wui-select-control {
|
|
90
|
+
height: var(--wui-control-xl);
|
|
91
|
+
min-height: var(--wui-control-xl);
|
|
92
|
+
font-size: var(--wui-fs-lg);
|
|
93
|
+
border-radius: var(--wui-field-xl-radius);
|
|
94
|
+
}
|
|
89
95
|
// Multi-select grows with its chips, so a size sets the FLOOR (min-height from the rule
|
|
90
96
|
// above) but never a fixed height: reset height:auto so a second row of chips can appear.
|
|
91
97
|
.wui-select-sm .wui-select-multi,
|
|
92
|
-
.wui-select-lg .wui-select-multi
|
|
98
|
+
.wui-select-lg .wui-select-multi,
|
|
99
|
+
.wui-select-xl .wui-select-multi {
|
|
93
100
|
height: auto;
|
|
94
101
|
}
|
|
95
102
|
|
|
@@ -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);
|
package/scss/wui/_utilities.scss
CHANGED
|
@@ -506,13 +506,6 @@
|
|
|
506
506
|
vertical-align: middle;
|
|
507
507
|
}
|
|
508
508
|
|
|
509
|
-
// AppPopover wrapper (React panel styling comes from Bootstrap's .popover; this is only the
|
|
510
|
-
// Razor anchor span carrying the data-bs-* wiring). inline-block so it hugs its trigger and
|
|
511
|
-
// gives Bootstrap a stable anchor box.
|
|
512
|
-
.app-popover {
|
|
513
|
-
display: inline-block;
|
|
514
|
-
}
|
|
515
|
-
|
|
516
509
|
// Bootstrap compiles the title colour from $headings-color, a fixed light-mode value; the token keeps it readable in dark mode.
|
|
517
510
|
.popover {
|
|
518
511
|
--bs-popover-header-color: var(--color-text);
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
// Plain rules only: wui/_forced-colors.scss wraps this file in its media query.
|
|
2
|
+
|
|
3
|
+
:root,
|
|
4
|
+
[data-theme],
|
|
5
|
+
[data-bs-theme] {
|
|
6
|
+
--color-bg: Canvas;
|
|
7
|
+
--color-bg-subtle: Canvas;
|
|
8
|
+
--color-bg-muted: Canvas;
|
|
9
|
+
--color-surface: Canvas;
|
|
10
|
+
--color-field-bg: Canvas;
|
|
11
|
+
--color-text-inverse: Canvas;
|
|
12
|
+
--color-primary-soft: Canvas;
|
|
13
|
+
--color-success-soft: Canvas;
|
|
14
|
+
--color-warning-soft: Canvas;
|
|
15
|
+
--color-danger-soft: Canvas;
|
|
16
|
+
--color-info-soft: Canvas;
|
|
17
|
+
--color-neutral-soft: Canvas;
|
|
18
|
+
|
|
19
|
+
--color-text: CanvasText;
|
|
20
|
+
--color-text-body: CanvasText;
|
|
21
|
+
--color-text-muted: CanvasText;
|
|
22
|
+
--color-text-subtle: CanvasText;
|
|
23
|
+
--color-primary-text: CanvasText;
|
|
24
|
+
--color-border: CanvasText;
|
|
25
|
+
--color-border-subtle: CanvasText;
|
|
26
|
+
--color-border-strong: CanvasText;
|
|
27
|
+
--color-field-border: CanvasText;
|
|
28
|
+
--color-field-border-hover: CanvasText;
|
|
29
|
+
--color-chart-axis: CanvasText;
|
|
30
|
+
--color-chart-label: CanvasText;
|
|
31
|
+
--color-success: CanvasText;
|
|
32
|
+
--color-success-text: CanvasText;
|
|
33
|
+
--color-success-text-on-soft: CanvasText;
|
|
34
|
+
--color-success-strong: CanvasText;
|
|
35
|
+
--color-success-border: CanvasText;
|
|
36
|
+
--color-warning: CanvasText;
|
|
37
|
+
--color-warning-text: CanvasText;
|
|
38
|
+
--color-warning-text-on-soft: CanvasText;
|
|
39
|
+
--color-warning-strong: CanvasText;
|
|
40
|
+
--color-warning-border: CanvasText;
|
|
41
|
+
--color-danger: CanvasText;
|
|
42
|
+
--color-danger-text: CanvasText;
|
|
43
|
+
--color-danger-text-on-soft: CanvasText;
|
|
44
|
+
--color-danger-strong: CanvasText;
|
|
45
|
+
--color-danger-border: CanvasText;
|
|
46
|
+
--color-info: CanvasText;
|
|
47
|
+
--color-info-text: CanvasText;
|
|
48
|
+
--color-info-text-on-soft: CanvasText;
|
|
49
|
+
--color-info-strong: CanvasText;
|
|
50
|
+
--color-info-border: CanvasText;
|
|
51
|
+
|
|
52
|
+
--color-link: LinkText;
|
|
53
|
+
--color-link-hover: LinkText;
|
|
54
|
+
|
|
55
|
+
--color-focus-ring: Highlight;
|
|
56
|
+
--color-focus-ring-soft: Highlight;
|
|
57
|
+
--color-field-border-focus: Highlight;
|
|
58
|
+
--color-primary: Highlight;
|
|
59
|
+
--color-primary-hover: Highlight;
|
|
60
|
+
--color-on-primary: HighlightText;
|
|
61
|
+
|
|
62
|
+
--color-chart-grid: GrayText;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
:where(:disabled, [disabled], .disabled, [aria-disabled="true"]) {
|
|
66
|
+
color: GrayText;
|
|
67
|
+
opacity: 1;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.pw-criteria .pw-mark {
|
|
71
|
+
background-color: CanvasText;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.alert-dismissible .btn-close::before {
|
|
75
|
+
background-color: ButtonText;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.btn-close {
|
|
79
|
+
forced-color-adjust: none;
|
|
80
|
+
background: ButtonText;
|
|
81
|
+
mask: var(--bs-btn-close-bg) center / 1em auto no-repeat;
|
|
82
|
+
filter: none;
|
|
83
|
+
opacity: 1;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.alert-dismissible .btn-close {
|
|
87
|
+
background: none;
|
|
88
|
+
mask: none;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.wui-topsearch-hit.is-active,
|
|
92
|
+
.country-dropdown-item.is-active,
|
|
93
|
+
.wui-mention-option.is-active {
|
|
94
|
+
outline-color: Highlight;
|
|
95
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
// Plain rules only: wui/_forced-colors.scss wraps this file in its media query.
|
|
2
|
+
|
|
3
|
+
// FC1: a field or an item in a scrolling list draws its focus ring inside its edge.
|
|
4
|
+
wui-datepicker:not([aria-invalid="true"]) .datepicker:not(.open) .datepicker-trigger:focus-visible,
|
|
5
|
+
wui-date-range:not([aria-invalid="true"]) .daterange:not(.open) .daterange-trigger:focus-visible,
|
|
6
|
+
.dropdown-search-input:focus-visible,
|
|
7
|
+
.wui-select-draft:focus-visible,
|
|
8
|
+
.wui-select-control:focus-within,
|
|
9
|
+
.timepicker-option:focus-visible,
|
|
10
|
+
.country-dropdown-item:focus-visible {
|
|
11
|
+
outline: var(--wui-focus-ring-width) solid Highlight;
|
|
12
|
+
outline-offset: calc(-1 * var(--wui-focus-ring-width));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.datepicker-day:focus-visible,
|
|
16
|
+
.datepicker-cell:focus-visible,
|
|
17
|
+
.country-toggle:focus-visible {
|
|
18
|
+
outline: var(--wui-focus-ring-width) solid Highlight;
|
|
19
|
+
outline-offset: var(--wui-focus-ring-offset);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// FC2: the edge of a panel, and the today mark drawn only by an inset shadow.
|
|
23
|
+
.datepicker-pop,
|
|
24
|
+
.daterange-pop,
|
|
25
|
+
.timepicker-pop,
|
|
26
|
+
.country-dropdown-menu,
|
|
27
|
+
.wui-select-menu,
|
|
28
|
+
.datepicker-day.is-today,
|
|
29
|
+
.datepicker-cell.is-today {
|
|
30
|
+
outline: 1px solid CanvasText;
|
|
31
|
+
outline-offset: -1px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// FC3: a selected or active state with text and icons only is a system-colour fill.
|
|
35
|
+
.datepicker-day.is-selected,
|
|
36
|
+
.datepicker-day.is-range-start,
|
|
37
|
+
.datepicker-day.is-range-end,
|
|
38
|
+
.datepicker-cell.is-selected,
|
|
39
|
+
.timepicker-option.is-selected,
|
|
40
|
+
.country-dropdown-item.is-active,
|
|
41
|
+
.wui-select-option.is-active,
|
|
42
|
+
.wui-select-option.selected,
|
|
43
|
+
.wui-select-option[aria-selected='true'],
|
|
44
|
+
.wui-select-option[aria-disabled='true'].is-active {
|
|
45
|
+
background-color: Highlight;
|
|
46
|
+
color: HighlightText;
|
|
47
|
+
forced-color-adjust: none;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// The days between a range's ends have only a background rail on screen, which forced colours drop.
|
|
51
|
+
.datepicker-day.in-range {
|
|
52
|
+
outline: 1px dashed Highlight;
|
|
53
|
+
outline-offset: -1px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// A Highlight ring on a Highlight fill disappears, so a focused selected option rings in the text colour.
|
|
57
|
+
.timepicker-option.is-selected:focus-visible {
|
|
58
|
+
outline-color: HighlightText;
|
|
59
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
// Plain rules only: wui/_forced-colors.scss wraps this file in its media query.
|
|
2
|
+
|
|
3
|
+
// FC1: focus is a border colour or an outline: none on the screen rule. Fields draw the ring inside the edge.
|
|
4
|
+
.form-control:focus-visible,
|
|
5
|
+
.form-select:focus-visible,
|
|
6
|
+
.input:focus-visible,
|
|
7
|
+
.select:focus-visible,
|
|
8
|
+
.textarea:focus-visible,
|
|
9
|
+
.input-bare:focus-visible,
|
|
10
|
+
.otp-field:focus-visible {
|
|
11
|
+
outline: var(--wui-focus-ring-width) solid Highlight;
|
|
12
|
+
outline-offset: calc(-1 * var(--wui-focus-ring-width));
|
|
13
|
+
}
|
|
14
|
+
.input-affixed:focus-within {
|
|
15
|
+
outline: var(--wui-focus-ring-width) solid Highlight;
|
|
16
|
+
outline-offset: calc(-1 * var(--wui-focus-ring-width));
|
|
17
|
+
}
|
|
18
|
+
.wui-dropdown-search:focus-within {
|
|
19
|
+
outline: var(--wui-focus-ring-width) solid Highlight;
|
|
20
|
+
outline-offset: calc(-1 * var(--wui-focus-ring-width));
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// FC5: the native drawing of a checkbox, radio and select replaces the baked white mark.
|
|
24
|
+
.form-check-input,
|
|
25
|
+
.wui-check,
|
|
26
|
+
.wui-radio,
|
|
27
|
+
.select,
|
|
28
|
+
.form-select {
|
|
29
|
+
appearance: auto;
|
|
30
|
+
background-image: none;
|
|
31
|
+
}
|
|
32
|
+
.form-check-input[type="checkbox"]:checked,
|
|
33
|
+
.wui-check:checked,
|
|
34
|
+
.form-check-input[type="radio"]:checked,
|
|
35
|
+
.wui-radio:checked,
|
|
36
|
+
.form-check-input[type="checkbox"]:indeterminate,
|
|
37
|
+
.wui-check:indeterminate {
|
|
38
|
+
appearance: auto;
|
|
39
|
+
background-image: none;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// The switch keeps a drawn knob: its track and knob are restated in system colours after FC5 so they win.
|
|
43
|
+
.form-switch .form-check-input {
|
|
44
|
+
appearance: none;
|
|
45
|
+
forced-color-adjust: none;
|
|
46
|
+
border: 1px solid ButtonText;
|
|
47
|
+
background-color: Canvas;
|
|
48
|
+
background-image: radial-gradient(circle closest-side, ButtonText 78%, transparent 80%);
|
|
49
|
+
}
|
|
50
|
+
.form-switch .form-check-input:checked {
|
|
51
|
+
border-color: Highlight;
|
|
52
|
+
background-color: Highlight;
|
|
53
|
+
background-image: radial-gradient(circle closest-side, HighlightText 78%, transparent 80%);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// FC3: a selected chip is shown by a border colour and a fill only.
|
|
57
|
+
.choice-chip:has(input:checked) {
|
|
58
|
+
outline: 2px solid Highlight;
|
|
59
|
+
outline-offset: -2px;
|
|
60
|
+
}
|
|
61
|
+
// FC4: the chip's tick is a mask painted with currentColor, which forced colours replace.
|
|
62
|
+
.choice-chip:has(input:checked)::before {
|
|
63
|
+
background-color: CanvasText;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// FC6: fill-only pills and the dot inside a badge, which have no edge in forced colours.
|
|
67
|
+
.badge,
|
|
68
|
+
.status-label,
|
|
69
|
+
.chip {
|
|
70
|
+
outline: 1px solid CanvasText;
|
|
71
|
+
outline-offset: -1px;
|
|
72
|
+
}
|
|
73
|
+
.badge-dot::before {
|
|
74
|
+
background-color: CanvasText;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// Scanned control partials: field busy, inline edit, mention input, due date, pending.
|
|
78
|
+
.wui-mention-option.is-active {
|
|
79
|
+
outline: 2px solid Highlight;
|
|
80
|
+
outline-offset: -2px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
// Forced colours drop the busy spinner's gradients, so a busy field shows a dashed edge instead.
|
|
84
|
+
.input.wui-field-busy,
|
|
85
|
+
.textarea.wui-field-busy,
|
|
86
|
+
.form-control.wui-field-busy,
|
|
87
|
+
.select.wui-field-busy {
|
|
88
|
+
outline: 2px dashed CanvasText;
|
|
89
|
+
outline-offset: -2px;
|
|
90
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// Plain rules only: wui/_forced-colors.scss wraps this file in its media query.
|
|
2
|
+
|
|
3
|
+
// Forced colours drop box-shadow, so the row edges and the pinned-cell edges are redrawn as borders.
|
|
4
|
+
.table-ledger tbody tr.is-selected {
|
|
5
|
+
outline: 2px solid Highlight;
|
|
6
|
+
outline-offset: -2px;
|
|
7
|
+
}
|
|
8
|
+
.table-ledger tbody tr.wui-row-active {
|
|
9
|
+
outline: 2px solid CanvasText;
|
|
10
|
+
outline-offset: -2px;
|
|
11
|
+
}
|
|
12
|
+
.table-ledger tbody tr[data-status] > td:first-child,
|
|
13
|
+
.table-ledger tbody tr[data-status] > th.wui-row-header:first-child,
|
|
14
|
+
.table-ledger tbody tr[data-wui-save-state] > td:first-child,
|
|
15
|
+
.table-ledger tbody tr[data-wui-save-state] > th.wui-row-header:first-child {
|
|
16
|
+
border-inline-start: 3px solid CanvasText;
|
|
17
|
+
}
|
|
18
|
+
.table-ledger > * > tr:not(.wui-row-expanded, .wui-group-row) > .wui-pin-start {
|
|
19
|
+
border-inline-end: 1px solid CanvasText;
|
|
20
|
+
}
|
|
21
|
+
.table-ledger > * > tr:not(.wui-row-expanded, .wui-group-row) > .wui-pin-end {
|
|
22
|
+
border-inline-start: 1px solid CanvasText;
|
|
23
|
+
}
|
|
24
|
+
.compare-table th.is-highlight,
|
|
25
|
+
.compare-table td.is-highlight {
|
|
26
|
+
outline: 2px solid Highlight;
|
|
27
|
+
outline-offset: -2px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.wui-entry-grid-row.is-active {
|
|
31
|
+
outline: 2px solid Highlight;
|
|
32
|
+
outline-offset: -2px;
|
|
33
|
+
}
|
|
34
|
+
.wui-entry-grid-row.is-active > td:first-child {
|
|
35
|
+
border-inline-start: 3px solid CanvasText;
|
|
36
|
+
}
|
|
37
|
+
.wui-entry-grid-dot {
|
|
38
|
+
background-color: CanvasText;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.wui-split-item.is-selected,
|
|
42
|
+
.wui-split-item.is-active,
|
|
43
|
+
.wui-split-item.is-active:hover {
|
|
44
|
+
outline: 2px solid Highlight;
|
|
45
|
+
outline-offset: -2px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.wui-sortable-ghost,
|
|
49
|
+
.wui-drop-tray {
|
|
50
|
+
outline: 1px solid CanvasText;
|
|
51
|
+
outline-offset: -1px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.wui-skeleton-cell {
|
|
55
|
+
outline: 1px solid CanvasText;
|
|
56
|
+
outline-offset: -1px;
|
|
57
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// Plain rules only: wui/_forced-colors.scss wraps this file in its media query.
|
|
2
|
+
|
|
3
|
+
// Forced colours drop box-shadow, so the selected option's edge is drawn as an outline.
|
|
4
|
+
.segmented-option:has(.segmented-input:checked) {
|
|
5
|
+
outline: 2px solid Highlight;
|
|
6
|
+
outline-offset: -2px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// Focus rings: forced colours drop the coloured ring, so each focused control gets a system-colour outline.
|
|
10
|
+
.wui-descs-list .wui-descs-link:focus-visible {
|
|
11
|
+
outline: var(--wui-focus-ring-width) solid Highlight;
|
|
12
|
+
outline-offset: var(--wui-focus-ring-offset);
|
|
13
|
+
}
|
|
14
|
+
a.step:focus-visible,
|
|
15
|
+
button.step:focus-visible {
|
|
16
|
+
outline: var(--wui-focus-ring-width) solid Highlight;
|
|
17
|
+
outline-offset: var(--wui-focus-ring-offset);
|
|
18
|
+
}
|
|
19
|
+
a.wui-onboarding-label:focus-visible {
|
|
20
|
+
outline: var(--wui-focus-ring-width) solid Highlight;
|
|
21
|
+
outline-offset: var(--wui-focus-ring-offset);
|
|
22
|
+
}
|
|
23
|
+
.wui-error-summary:focus {
|
|
24
|
+
outline: var(--wui-focus-ring-width) solid Highlight;
|
|
25
|
+
outline-offset: var(--wui-focus-ring-offset);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// Rings and edges that were drawn with box-shadow.
|
|
29
|
+
.timeline--progress .timeline-dot,
|
|
30
|
+
.timeline--progress .timeline-item.is-upcoming .timeline-dot {
|
|
31
|
+
outline: 1px solid CanvasText;
|
|
32
|
+
outline-offset: -1px;
|
|
33
|
+
}
|
|
34
|
+
.step.active .step-circle {
|
|
35
|
+
outline: 1px solid CanvasText;
|
|
36
|
+
outline-offset: -1px;
|
|
37
|
+
}
|
|
38
|
+
a.step:hover .step-circle,
|
|
39
|
+
button.step:hover .step-circle {
|
|
40
|
+
outline: 1px solid CanvasText;
|
|
41
|
+
outline-offset: -1px;
|
|
42
|
+
}
|
|
43
|
+
a.step.done:hover .step-circle,
|
|
44
|
+
button.step.done:hover .step-circle {
|
|
45
|
+
outline: 1px solid CanvasText;
|
|
46
|
+
outline-offset: -1px;
|
|
47
|
+
}
|
|
48
|
+
.plan-card.current {
|
|
49
|
+
outline: 1px solid Highlight;
|
|
50
|
+
outline-offset: -1px;
|
|
51
|
+
}
|
|
52
|
+
.kpi.kpi-accent,
|
|
53
|
+
.alert,
|
|
54
|
+
.wui-banner,
|
|
55
|
+
.wui-accordion-item {
|
|
56
|
+
outline: 1px solid CanvasText;
|
|
57
|
+
outline-offset: -1px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// Bars and tracks: the fill takes the system highlight colour.
|
|
61
|
+
.progress {
|
|
62
|
+
outline: 1px solid CanvasText;
|
|
63
|
+
}
|
|
64
|
+
.progress-bar {
|
|
65
|
+
background-color: Highlight;
|
|
66
|
+
}
|
|
67
|
+
.skeleton {
|
|
68
|
+
outline: 1px solid CanvasText;
|
|
69
|
+
outline-offset: -1px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// The selected mark keeps its contrast only when the system colours are used directly.
|
|
73
|
+
.wui-score-scale__item--selected {
|
|
74
|
+
background-color: Highlight;
|
|
75
|
+
color: HighlightText;
|
|
76
|
+
forced-color-adjust: none;
|
|
77
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
// Plain rules only: wui/_forced-colors.scss wraps this file in its media query.
|
|
2
|
+
|
|
3
|
+
// FC2: the avatar's edge is a box-shadow ring, which forced colours drop.
|
|
4
|
+
.avatar-badge,
|
|
5
|
+
.avatar-ring,
|
|
6
|
+
.avatar-group > .avatar {
|
|
7
|
+
outline: 1px solid CanvasText;
|
|
8
|
+
outline-offset: -1px;
|
|
9
|
+
}
|
|
10
|
+
.avatar-status {
|
|
11
|
+
border: 2px solid Canvas;
|
|
12
|
+
background-color: CanvasText;
|
|
13
|
+
}
|
|
14
|
+
.avatar-status-offline {
|
|
15
|
+
background-color: Canvas;
|
|
16
|
+
border-color: CanvasText;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// FC3 and FC6: the carousel dot is a ring with a filled mark on ::before.
|
|
20
|
+
.wui-carousel-dot {
|
|
21
|
+
border: 1px solid CanvasText;
|
|
22
|
+
background-color: Canvas;
|
|
23
|
+
}
|
|
24
|
+
.wui-carousel-dot::before {
|
|
25
|
+
background-color: CanvasText;
|
|
26
|
+
}
|
|
27
|
+
.wui-carousel-dot[aria-current="true"]::before {
|
|
28
|
+
background-color: Highlight;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// The filled share of a star is its width, so the value does not rest on colour alone.
|
|
32
|
+
.wui-rating-fill {
|
|
33
|
+
color: Highlight;
|
|
34
|
+
}
|
|
35
|
+
.wui-rating-glyphs {
|
|
36
|
+
color: GrayText;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// The series colour is the swatch's own fill; forced colours must not repaint it.
|
|
40
|
+
.wui-chart-legend-swatch,
|
|
41
|
+
.wui-chart-tooltip-swatch {
|
|
42
|
+
forced-color-adjust: none;
|
|
43
|
+
outline: 1px solid CanvasText;
|
|
44
|
+
}
|
|
45
|
+
.wui-chart-canvas {
|
|
46
|
+
forced-color-adjust: none;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// FC2 on the tooltip box; FC6 skeleton as a pill.
|
|
50
|
+
.wui-chart-tooltip,
|
|
51
|
+
.wui-chart-skeleton {
|
|
52
|
+
outline: 1px solid CanvasText;
|
|
53
|
+
outline-offset: -1px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// FC6 bar: the track is outlined and the bar is filled with Highlight.
|
|
57
|
+
.wui-attach-progress {
|
|
58
|
+
outline: 1px solid CanvasText;
|
|
59
|
+
outline-offset: -1px;
|
|
60
|
+
}
|
|
61
|
+
.wui-attach-progress .progress-bar {
|
|
62
|
+
background-color: Highlight;
|
|
63
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// Plain rules only: wui/_forced-colors.scss wraps this file in its media query.
|
|
2
|
+
|
|
3
|
+
.app-tab-indicator {
|
|
4
|
+
background: Highlight;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.app-nav-item.active,
|
|
8
|
+
.wui-nav-list-item.is-active,
|
|
9
|
+
.wui-account-switcher .wui-account-switcher-option.is-active,
|
|
10
|
+
.wui-tabbar-item.active,
|
|
11
|
+
.app-tabs-pills .app-tab.active {
|
|
12
|
+
outline: 2px solid Highlight;
|
|
13
|
+
outline-offset: -2px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.tpg-page.is-active {
|
|
17
|
+
background-color: Highlight;
|
|
18
|
+
color: HighlightText;
|
|
19
|
+
forced-color-adjust: none;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.app-sidebar,
|
|
23
|
+
.app-topbar,
|
|
24
|
+
.wui-tabbar,
|
|
25
|
+
.wui-usermenu-trigger-outlined {
|
|
26
|
+
outline: 1px solid CanvasText;
|
|
27
|
+
outline-offset: -1px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.app-nav-badge,
|
|
31
|
+
.wui-tabbar-badge,
|
|
32
|
+
.wui-bell-count {
|
|
33
|
+
outline: 1px solid CanvasText;
|
|
34
|
+
outline-offset: -1px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.wui-bell-dot,
|
|
38
|
+
.wui-nav-list-dot {
|
|
39
|
+
background-color: CanvasText;
|
|
40
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// Plain rules only: wui/_forced-colors.scss wraps this file in its media query.
|
|
2
|
+
|
|
3
|
+
.wui-modal,
|
|
4
|
+
.modal-content,
|
|
5
|
+
dialog.wui-drawer-panel,
|
|
6
|
+
.wui-toast,
|
|
7
|
+
.dropdown-menu,
|
|
8
|
+
.popover,
|
|
9
|
+
.tooltip .tooltip-inner,
|
|
10
|
+
.wui-hover-card-panel,
|
|
11
|
+
.wui-notification-center-panel,
|
|
12
|
+
.wui-consent-banner-panel,
|
|
13
|
+
.wui-floating-btn,
|
|
14
|
+
.wui-mention-menu,
|
|
15
|
+
.wui-reaction-picker,
|
|
16
|
+
.dropdown-menu.wui-context-menu-panel,
|
|
17
|
+
.dropdown-menu.wui-context-menu-subpanel,
|
|
18
|
+
.wui-whats-new-panel {
|
|
19
|
+
outline: 1px solid CanvasText;
|
|
20
|
+
outline-offset: -1px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.dropdown-item.active,
|
|
24
|
+
.dropdown-item[aria-selected="true"] {
|
|
25
|
+
background-color: Highlight;
|
|
26
|
+
color: HighlightText;
|
|
27
|
+
forced-color-adjust: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.wui-toast-track-fill {
|
|
31
|
+
background-color: Highlight;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.wui-whats-new-entry[data-wui-unread] {
|
|
35
|
+
border-inline-start: 3px solid Highlight;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.wui-whats-new-dot,
|
|
39
|
+
.wui-notification-center-dot {
|
|
40
|
+
background-color: Highlight;
|
|
41
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Print and forced-colours rules for this on-demand widget: two blocks, @media (forced-colors: active) then @media print.
|
|
2
|
+
@media (forced-colors: active) {
|
|
3
|
+
.wui-calendar-view-btn[aria-pressed="true"] {
|
|
4
|
+
outline: 2px solid Highlight;
|
|
5
|
+
outline-offset: -2px;
|
|
6
|
+
}
|
|
7
|
+
wui-calendar[data-view="month"] .wui-calendar-chip {
|
|
8
|
+
outline: 1px solid CanvasText;
|
|
9
|
+
outline-offset: -1px;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@media print {
|
|
14
|
+
.wui-calendar-today-btn,
|
|
15
|
+
.wui-calendar-nav-btn,
|
|
16
|
+
.wui-calendar-view-btn {
|
|
17
|
+
display: none !important;
|
|
18
|
+
}
|
|
19
|
+
.wui-calendar-surface {
|
|
20
|
+
overflow: visible !important;
|
|
21
|
+
max-height: none !important;
|
|
22
|
+
height: auto !important;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Print and forced-colours rules for this on-demand widget: two blocks, @media (forced-colors: active) then @media print.
|
|
2
|
+
@media (forced-colors: active) {
|
|
3
|
+
.wui-cmd-input:focus-visible {
|
|
4
|
+
outline: var(--wui-focus-ring-width) solid Highlight;
|
|
5
|
+
outline-offset: calc(-1 * var(--wui-focus-ring-width));
|
|
6
|
+
}
|
|
7
|
+
.wui-cmd-item[aria-selected="true"] {
|
|
8
|
+
background-color: Highlight;
|
|
9
|
+
color: HighlightText;
|
|
10
|
+
forced-color-adjust: none;
|
|
11
|
+
}
|
|
12
|
+
wui-command-palette[data-keyboard] .wui-cmd-item[aria-selected="true"] {
|
|
13
|
+
background-color: Highlight;
|
|
14
|
+
color: HighlightText;
|
|
15
|
+
forced-color-adjust: none;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@media print {
|
|
20
|
+
dialog.wui-modal-shell:has(.wui-cmd-card) {
|
|
21
|
+
display: none !important;
|
|
22
|
+
}
|
|
23
|
+
}
|