@webority/theme 0.178.4 → 0.180.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 (85) hide show
  1. package/dist/published-theme.json +4 -0
  2. package/dist/purge-safelist.json +171 -18
  3. package/dist/webority-modes.css +1 -1
  4. package/dist/webority-theme.css +2 -2
  5. package/dist/webority-tokens.css +1 -1
  6. package/fonts/sans/WeboritySans-Black.woff2 +0 -0
  7. package/fonts/sans/WeboritySans-BlackItalic.woff2 +0 -0
  8. package/fonts/sans/WeboritySans-Bold.woff2 +0 -0
  9. package/fonts/sans/WeboritySans-BoldItalic.woff2 +0 -0
  10. package/fonts/sans/WeboritySans-ExtraBold.woff2 +0 -0
  11. package/fonts/sans/WeboritySans-ExtraBoldItalic.woff2 +0 -0
  12. package/fonts/sans/WeboritySans-ExtraLight.woff2 +0 -0
  13. package/fonts/sans/WeboritySans-ExtraLightItalic.woff2 +0 -0
  14. package/fonts/sans/WeboritySans-Light.woff2 +0 -0
  15. package/fonts/sans/WeboritySans-LightItalic.woff2 +0 -0
  16. package/fonts/sans/WeboritySans-Medium.woff2 +0 -0
  17. package/fonts/sans/WeboritySans-MediumItalic.woff2 +0 -0
  18. package/fonts/sans/WeboritySans-Regular.woff2 +0 -0
  19. package/fonts/sans/WeboritySans-RegularItalic.woff2 +0 -0
  20. package/fonts/sans/WeboritySans-SemiBold.woff2 +0 -0
  21. package/fonts/sans/WeboritySans-SemiBoldItalic.woff2 +0 -0
  22. package/fonts/sans/WeboritySans-Thin.woff2 +0 -0
  23. package/fonts/sans/WeboritySans-ThinItalic.woff2 +0 -0
  24. package/fonts/serif/WeboritySerif-Bold.woff2 +0 -0
  25. package/fonts/serif/WeboritySerif-BoldItalic.woff2 +0 -0
  26. package/fonts/serif/WeboritySerif-DemiBold.woff2 +0 -0
  27. package/fonts/serif/WeboritySerif-DemiBoldItalic.woff2 +0 -0
  28. package/fonts/serif/WeboritySerif-ExtraBold.woff2 +0 -0
  29. package/fonts/serif/WeboritySerif-ExtraBoldItalic.woff2 +0 -0
  30. package/fonts/serif/WeboritySerif-Light.woff2 +0 -0
  31. package/fonts/serif/WeboritySerif-LightItalic.woff2 +0 -0
  32. package/fonts/serif/WeboritySerif-Medium.woff2 +0 -0
  33. package/fonts/serif/WeboritySerif-MediumItalic.woff2 +0 -0
  34. package/fonts/serif/WeboritySerif-Regular.woff2 +0 -0
  35. package/fonts/serif/WeboritySerif-RegularItalic.woff2 +0 -0
  36. package/fonts/serif/WeboritySerif-Thin.woff2 +0 -0
  37. package/fonts/serif/WeboritySerif-ThinItalic.woff2 +0 -0
  38. package/package.json +3 -3
  39. package/scss/_bootstrap.generated.scss +1 -1
  40. package/scss/_components.scss +120 -15
  41. package/scss/_fonts.scss +137 -2
  42. package/scss/_tokens-modes.generated.scss +2 -1
  43. package/scss/_tokens.generated.scss +23 -17
  44. package/scss/_wui-components.scss +10 -0
  45. package/scss/_wui-core.scss +10 -0
  46. package/scss/wui/_app-agenda.scss +75 -0
  47. package/scss/wui/_calendar-views.scss +46 -0
  48. package/scss/wui/_calendar.scss +31 -0
  49. package/scss/wui/_card.scss +1 -0
  50. package/scss/wui/_cell.scss +1 -0
  51. package/scss/wui/_change-list.scss +37 -0
  52. package/scss/wui/_chart-card.scss +49 -0
  53. package/scss/wui/_choice.scss +2 -1
  54. package/scss/wui/_command-palette.scss +68 -0
  55. package/scss/wui/_controls.scss +211 -26
  56. package/scss/wui/_dashboard-header.scss +42 -0
  57. package/scss/wui/_data.scss +86 -6
  58. package/scss/wui/_disclosure.scss +102 -1
  59. package/scss/wui/_display.scss +52 -2
  60. package/scss/wui/_drawer.scss +1 -0
  61. package/scss/wui/_entry-grid.scss +9 -0
  62. package/scss/wui/_file-viewer.scss +4 -0
  63. package/scss/wui/_flow.scss +119 -3
  64. package/scss/wui/_gantt.scss +89 -0
  65. package/scss/wui/_interaction.scss +0 -3
  66. package/scss/wui/_kanban.scss +52 -0
  67. package/scss/wui/_list-card.scss +11 -0
  68. package/scss/wui/_media.scss +0 -1
  69. package/scss/wui/_mini-calendar.scss +120 -0
  70. package/scss/wui/_navigation-menu.scss +44 -3
  71. package/scss/wui/_navigation.scss +10 -0
  72. package/scss/wui/_notification-center.scss +51 -0
  73. package/scss/wui/_offline-banner.scss +52 -0
  74. package/scss/wui/_overlays.scss +1 -1
  75. package/scss/wui/_queue-bundle.scss +71 -0
  76. package/scss/wui/_result-block.scss +117 -0
  77. package/scss/wui/_setting-row.scss +106 -0
  78. package/scss/wui/_setting-section.scss +36 -0
  79. package/scss/wui/_shell-parts.scss +3 -164
  80. package/scss/wui/_shell.scss +12 -2
  81. package/scss/wui/_split-view.scss +6 -2
  82. package/scss/wui/_utilities.scss +43 -5
  83. package/scss/wui/forced-colors/_display.scss +7 -0
  84. package/scss/wui/forced-colors/_navigation.scss +1 -3
  85. package/token-meanings.json +1 -0
@@ -0,0 +1,120 @@
1
+ @use "../config" as *;
2
+
3
+ // Mini calendar: the month navigator that AppMiniCalendar and <app-mini-calendar> draw. Every day is a
4
+ // button, so focus and the states below are the same on both surfaces.
5
+
6
+ .wui-mini-calendar {
7
+ display: block;
8
+ min-width: 0;
9
+ font-size: var(--wui-fs-sm);
10
+ color: var(--color-text-body);
11
+ }
12
+
13
+ .wui-mini-calendar-head {
14
+ display: flex;
15
+ align-items: center;
16
+ justify-content: space-between;
17
+ gap: var(--wui-space-sm);
18
+ margin-block-end: var(--wui-space-sm);
19
+ }
20
+
21
+ .wui-mini-calendar-title {
22
+ font-weight: var(--wui-fw-semibold);
23
+ color: var(--color-text);
24
+ }
25
+
26
+ .wui-mini-calendar-nav {
27
+ min-inline-size: 2.5rem;
28
+ min-block-size: 2.5rem;
29
+ border: 0;
30
+ border-radius: var(--wui-radius-md);
31
+ background: transparent;
32
+ color: var(--color-text-body);
33
+ cursor: pointer;
34
+
35
+ &:hover {
36
+ background: var(--color-bg-muted);
37
+ }
38
+
39
+ &:focus-visible {
40
+ outline: 2px solid var(--color-primary);
41
+ outline-offset: 2px;
42
+ }
43
+ }
44
+
45
+ .wui-mini-calendar-weekdays,
46
+ .wui-mini-calendar-grid {
47
+ display: grid;
48
+ grid-template-columns: repeat(7, minmax(0, 1fr));
49
+ text-align: center;
50
+ }
51
+
52
+ .wui-mini-calendar-weekdays {
53
+ color: var(--color-text-muted);
54
+ font-size: var(--wui-fs-xs);
55
+ margin-block-end: var(--wui-space-xs);
56
+ }
57
+
58
+ .wui-mini-calendar-day {
59
+ position: relative;
60
+ display: flex;
61
+ flex-direction: column;
62
+ align-items: center;
63
+ justify-content: center;
64
+ min-block-size: 2.5rem;
65
+ border: 0;
66
+ border-radius: var(--wui-radius-md);
67
+ background: transparent;
68
+ color: var(--color-text);
69
+ cursor: pointer;
70
+
71
+ &:hover {
72
+ background: var(--color-bg-muted);
73
+ }
74
+
75
+ &:focus-visible {
76
+ outline: 2px solid var(--color-primary);
77
+ outline-offset: 1px;
78
+ }
79
+
80
+ &.wui-mini-calendar-day--weekend {
81
+ color: var(--color-text-muted);
82
+ }
83
+
84
+ &.is-outside {
85
+ color: var(--color-text-subtle);
86
+ }
87
+
88
+ &.wui-mini-calendar-day--in-range {
89
+ background: var(--color-primary-soft);
90
+ }
91
+
92
+ &.is-today .wui-mini-calendar-day-number {
93
+ font-weight: var(--wui-fw-bold);
94
+ color: var(--color-primary);
95
+ }
96
+
97
+ &.is-selected {
98
+ background: var(--color-primary);
99
+ color: var(--color-surface);
100
+ }
101
+ }
102
+
103
+ .wui-mini-calendar-marker {
104
+ display: block;
105
+ inline-size: 0.375rem;
106
+ block-size: 0.375rem;
107
+ margin-block-start: var(--wui-space-xxs);
108
+ border-radius: var(--wui-radius-pill);
109
+ background: var(--color-text-muted);
110
+
111
+ &.wui-mini-calendar-marker--neutral {
112
+ background: var(--color-text-muted);
113
+ }
114
+
115
+ &.wui-mini-calendar-marker--warning {
116
+ inline-size: 0.625rem;
117
+ block-size: 0.625rem;
118
+ background: var(--color-warning);
119
+ }
120
+ }
@@ -26,6 +26,7 @@ wui-navigation-menu {
26
26
 
27
27
  .wui-nav-menu-trigger,
28
28
  .wui-nav-menu-toplink {
29
+ --wui-nav-menu-current-bg: transparent;
29
30
  display: flex;
30
31
  align-items: center;
31
32
  gap: 6px;
@@ -47,9 +48,10 @@ wui-navigation-menu {
47
48
 
48
49
  // text-decoration again here: Bootstrap's a:hover outranks the class rule and underlines a top link.
49
50
  // --wui-nav-menu-hover-bg on any ancestor sets the hover fill, as --wui-select-option-hover-bg does for a select.
51
+ // The default is a see-through grey wash, so it shows on white, on the page colour and in dark mode alike.
50
52
  &:hover,
51
53
  &[aria-expanded="true"] {
52
- background: var(--wui-nav-menu-hover-bg, var(--color-bg-muted));
54
+ background: var(--wui-nav-menu-hover-bg, color-mix(in srgb, var(--color-text-subtle) 8%, transparent));
53
55
  color: var(--color-text);
54
56
  text-decoration: none;
55
57
  }
@@ -62,6 +64,11 @@ wui-navigation-menu {
62
64
  --wui-nav-menu-item-bg: var(--wui-nav-menu-current-bg, transparent);
63
65
  color: var(--color-primary-text);
64
66
  }
67
+ // The current entry answers hover in its own colour.
68
+ &:is([aria-current="page"], .is-current):is(:hover, [aria-expanded="true"]) {
69
+ background: var(--color-primary-soft);
70
+ color: var(--color-primary-text);
71
+ }
65
72
  }
66
73
  .wui-nav-menu-trigger > .wui-nav-menu-chevron {
67
74
  flex: none;
@@ -74,6 +81,37 @@ wui-navigation-menu {
74
81
  .wui-nav-menu-trigger.is-current {
75
82
  color: var(--color-primary-text);
76
83
  }
84
+ // variant="underline": no fill, not even the press wash; the label turns primary on hover and while its
85
+ // panel is open, and only the current entry has a primary line under it. flush drops the side padding.
86
+ // variant="text": no fill, not even the press wash; the label turns primary on hover.
87
+ .wui-nav-menu-underline :is(.wui-nav-menu-trigger, .wui-nav-menu-toplink) {
88
+ border-radius: 0;
89
+
90
+ &:hover,
91
+ &[aria-expanded="true"] {
92
+ background: transparent;
93
+ color: var(--color-primary-text);
94
+ }
95
+ &[aria-current="page"],
96
+ &.is-current {
97
+ box-shadow: inset 0 -2px 0 var(--color-primary);
98
+ }
99
+ }
100
+ // The shared press wash in _interaction.scss is an !important background image at (0,4,1); the list
101
+ // class lifts this rule to (0,5,0).
102
+ :is(.wui-nav-menu-underline, .wui-nav-menu-text) .wui-nav-menu-list :is(.wui-nav-menu-trigger, .wui-nav-menu-toplink):active:not(:disabled, [aria-disabled="true"]) {
103
+ background-image: none !important;
104
+ }
105
+ .wui-nav-menu-flush :is(.wui-nav-menu-trigger, .wui-nav-menu-toplink) {
106
+ padding-inline: 0;
107
+ }
108
+ .wui-nav-menu-text :is(.wui-nav-menu-trigger, .wui-nav-menu-toplink) {
109
+ &:hover,
110
+ &[aria-expanded="true"] {
111
+ background: transparent;
112
+ color: var(--color-primary-text);
113
+ }
114
+ }
77
115
  .wui-nav-menu-group {
78
116
  padding: var(--wui-space-sm) var(--wui-space-md) var(--wui-space-xxs);
79
117
  font-size: var(--wui-fs-xs);
@@ -141,7 +179,7 @@ wui-navigation-menu {
141
179
  }
142
180
  .wui-nav-menu-link-label {
143
181
  font-size: 14px;
144
- font-weight: 600;
182
+ font-weight: var(--wui-fw-medium);
145
183
  }
146
184
  .wui-nav-menu-link-desc {
147
185
  color: var(--color-text-muted);
@@ -158,7 +196,10 @@ wui-navigation-menu {
158
196
  .wui-nav-menu-toplink {
159
197
  width: auto;
160
198
  }
161
- .wui-nav-menu-trigger > .wui-nav-menu-chevron {
199
+ // With no side padding the entries need their room from the row instead.
200
+ .wui-nav-menu-flush .wui-nav-menu-list {
201
+ gap: var(--wui-space-lg);
202
+ } .wui-nav-menu-trigger > .wui-nav-menu-chevron {
162
203
  margin-inline-start: 0;
163
204
  }
164
205
  .wui-nav-menu-panel {
@@ -111,6 +111,16 @@
111
111
  max-width: 100%;
112
112
  }
113
113
 
114
+ // Sticky strip (`sticky`): pinned under the layers above it, whose heights the sticky-layer coordinator
115
+ // writes as --wui-sticky-stack-height. The wrapper sticks when there is one; a vertical strip sticks itself.
116
+ .app-tabs-wrap.wui-tabs-sticky,
117
+ .app-tabs.wui-tabs-sticky {
118
+ position: sticky;
119
+ top: calc(var(--wui-shell-topbar-height, 0px) + var(--wui-sticky-stack-height, 0px));
120
+ z-index: 19;
121
+ background: var(--color-surface);
122
+ }
123
+
114
124
  .app-tabs {
115
125
  position: relative;
116
126
  display: flex;
@@ -217,6 +217,57 @@
217
217
  color: var(--color-text-muted);
218
218
  text-align: center;
219
219
  }
220
+ .wui-notification-center-loading,
221
+ .wui-notification-center-error {
222
+ margin: 0;
223
+ padding: var(--wui-space-xl) var(--wui-space-lg);
224
+ font-size: var(--wui-fs-sm);
225
+ color: var(--color-text-muted);
226
+ text-align: center;
227
+ }
228
+ .wui-notification-center-error {
229
+ display: grid;
230
+ justify-items: center;
231
+ gap: var(--wui-space-md);
232
+ }
233
+ .wui-notification-center-error-text {
234
+ margin: 0;
235
+ }
236
+ .wui-notification-center-retry {
237
+ min-height: 44px;
238
+ padding: 0 var(--wui-space-lg);
239
+ border: 1px solid var(--color-border);
240
+ border-radius: var(--wui-radius-md);
241
+ background: transparent;
242
+ color: var(--color-primary-text);
243
+ font: inherit;
244
+ font-weight: var(--wui-fw-medium);
245
+ cursor: pointer;
246
+ }
247
+ .wui-notification-center-retry:hover {
248
+ background: var(--color-bg-muted);
249
+ }
250
+ .wui-notification-center-retry:focus-visible,
251
+ .wui-notification-center-earlier:focus-visible {
252
+ outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
253
+ outline-offset: var(--wui-focus-ring-inset);
254
+ }
255
+ .wui-notification-center-earlier {
256
+ display: flex;
257
+ align-items: center;
258
+ justify-content: center;
259
+ min-height: 44px;
260
+ color: var(--color-primary-text);
261
+ font-size: var(--wui-fs-sm);
262
+ font-weight: var(--wui-fw-medium);
263
+ text-decoration: none;
264
+ }
265
+ .wui-notification-center-earlier[hidden] {
266
+ display: none;
267
+ }
268
+ .wui-notification-center-earlier:hover {
269
+ background: var(--color-bg-muted);
270
+ }
220
271
  .wui-notification-center-foot {
221
272
  display: flex;
222
273
  align-items: center;
@@ -0,0 +1,52 @@
1
+ @use "../config" as *;
2
+
3
+ // ── Offline banner ──
4
+ // AppOfflineBanner / <app-offline-banner> / <wui-offline-banner>: a strip fixed under the shell top
5
+ // bar while the browser is offline, and for a moment after it returns. The element sets data-state
6
+ // ("offline" or "back") and unhides itself; the content below keeps its full contrast.
7
+ //
8
+ // Part of the wui-components layer: see _wui-components.scss for load order.
9
+
10
+ .wui-offline-banner {
11
+ position: fixed;
12
+ top: var(--wui-shell-topbar-height, 0px);
13
+ inset-inline-start: 0;
14
+ inset-inline-end: 0;
15
+ z-index: var(--wui-z-fixed);
16
+ display: flex;
17
+ flex-wrap: wrap;
18
+ align-items: center;
19
+ gap: var(--wui-space-md);
20
+ padding: var(--wui-space-md) var(--wui-space-lg);
21
+ font-size: var(--wui-fs-sm);
22
+ line-height: var(--wui-lh-body);
23
+ background: var(--color-warning-soft);
24
+ color: var(--color-warning-text);
25
+
26
+ &[hidden] {
27
+ display: none;
28
+ }
29
+ &[data-state="back"] {
30
+ background: var(--color-success-soft);
31
+ color: var(--color-success-text);
32
+ }
33
+ &[data-state="back"] .wui-offline-banner-offline,
34
+ &:not([data-state="back"]) .wui-offline-banner-back {
35
+ display: none;
36
+ }
37
+ }
38
+ .wui-offline-banner-icon {
39
+ flex: none;
40
+ display: inline-flex;
41
+ align-items: center;
42
+ }
43
+ .wui-offline-banner-body {
44
+ flex: 1 1 auto;
45
+ min-width: 0;
46
+ }
47
+ .wui-offline-banner-action {
48
+ flex: none;
49
+ display: inline-flex;
50
+ align-items: center;
51
+ gap: var(--wui-space-sm);
52
+ }
@@ -466,7 +466,7 @@ dialog.wui-modal-shell[open] {
466
466
 
467
467
  // Wide size: a 1080px card capped at 90vw whose fields sit in two columns from md up. Both surfaces put wui-modal-wide on the shell.
468
468
  .modal.wui-modal-shell.wui-modal-wide .wui-modal {
469
- max-width: min(var(--wui-modal-max-width), 90vw);
469
+ max-width: min(var(--wui-modal-max-width, 1080px), 90vw);
470
470
  }
471
471
 
472
472
  // Phone size: below 576px the shell takes wui-modal-phone-<value> in place of its size class. A preset
@@ -0,0 +1,71 @@
1
+ // Queue bundle: a server-marked safe group approved with one button.
2
+ .wui-queue-bundle {
3
+ display: flex;
4
+ flex-direction: column;
5
+ gap: var(--wui-space-sm);
6
+ padding: var(--wui-space-md);
7
+ border: 1px solid var(--color-border);
8
+ border-radius: var(--wui-radius-lg);
9
+ background: var(--color-surface);
10
+ }
11
+
12
+ .wui-queue-bundle-title {
13
+ margin: 0;
14
+ font-size: var(--wui-fs-base);
15
+ font-weight: var(--wui-fw-semibold);
16
+ color: var(--color-text);
17
+ }
18
+
19
+ .wui-queue-bundle-reason,
20
+ .wui-queue-bundle-done {
21
+ margin: 0;
22
+ font-size: var(--wui-fs-sm);
23
+ color: var(--color-text-muted);
24
+ }
25
+
26
+ .wui-queue-bundle-rows {
27
+ display: flex;
28
+ flex-direction: column;
29
+ gap: var(--wui-space-xs);
30
+ margin: 0;
31
+ padding: 0;
32
+ list-style: none;
33
+ }
34
+
35
+ .wui-queue-bundle-row {
36
+ display: flex;
37
+ align-items: center;
38
+ flex-wrap: wrap;
39
+ gap: var(--wui-space-xs);
40
+ }
41
+
42
+ .wui-queue-bundle-text {
43
+ display: flex;
44
+ flex-direction: column;
45
+ min-width: 0;
46
+ }
47
+
48
+ .wui-queue-bundle-primary {
49
+ font-weight: var(--wui-fw-medium);
50
+ color: var(--color-text);
51
+ }
52
+
53
+ .wui-queue-bundle-secondary,
54
+ .wui-queue-bundle-trailing {
55
+ font-size: var(--wui-fs-xs);
56
+ color: var(--color-text-muted);
57
+ }
58
+
59
+ .wui-queue-bundle-trailing {
60
+ margin-inline-start: auto;
61
+ }
62
+
63
+ .wui-queue-bundle-status {
64
+ font-size: var(--wui-fs-xs);
65
+ font-weight: var(--wui-fw-semibold);
66
+ color: var(--color-text-muted);
67
+ }
68
+
69
+ .wui-queue-bundle-status-failed {
70
+ color: var(--color-text);
71
+ }
@@ -0,0 +1,117 @@
1
+ // The left-aligned failure block (AppResultBlock): an icon tile beside a heading, one sentence,
2
+ // an optional field, actions and a reference row. Below the sm tier the icon stacks above the text.
3
+ .wui-result-block {
4
+ display: flex;
5
+ align-items: flex-start;
6
+ gap: var(--wui-space-md);
7
+ text-align: start;
8
+ color: var(--color-text);
9
+ }
10
+
11
+ @media (max-width: 575.98px) {
12
+ .wui-result-block {
13
+ flex-direction: column;
14
+ }
15
+ }
16
+
17
+ .wui-result-block-icon {
18
+ flex: none;
19
+ width: 40px;
20
+ height: 40px;
21
+ display: inline-flex;
22
+ align-items: center;
23
+ justify-content: center;
24
+ border-radius: calc(var(--wui-radius-lg) * var(--wui-squircle-scale));
25
+ corner-shape: squircle;
26
+ }
27
+
28
+ .wui-result-block-body {
29
+ flex: 1 1 auto;
30
+ min-width: 0;
31
+ display: flex;
32
+ flex-direction: column;
33
+ gap: var(--wui-space-sm);
34
+ }
35
+
36
+ .wui-result-block-title {
37
+ margin: 0;
38
+ font-size: var(--wui-fs-lg);
39
+ font-weight: var(--wui-fw-semibold);
40
+ line-height: var(--wui-lh-heading);
41
+ color: var(--color-text);
42
+ }
43
+
44
+ .wui-result-block-sentence,
45
+ .wui-result-block-reference {
46
+ font-size: var(--wui-fs-sm);
47
+ color: var(--color-text-muted);
48
+ }
49
+
50
+ .wui-result-block-facts {
51
+ display: grid;
52
+ grid-template-columns: auto 1fr;
53
+ gap: var(--wui-space-xs) var(--wui-space-md);
54
+ margin: 0;
55
+ font-size: var(--wui-fs-sm);
56
+ }
57
+
58
+ .wui-result-block-fact {
59
+ display: contents;
60
+ }
61
+
62
+ .wui-result-block-facts dt {
63
+ font-weight: var(--wui-fw-semibold);
64
+ color: var(--color-text-muted);
65
+ }
66
+
67
+ .wui-result-block-facts dd {
68
+ margin: 0;
69
+ color: var(--color-text);
70
+ }
71
+
72
+ .wui-result-block-field {
73
+ color: var(--color-text);
74
+ }
75
+
76
+ .wui-result-block-reference-text {
77
+ color: var(--color-text-muted);
78
+ }
79
+
80
+ .wui-result-block-actions {
81
+ display: flex;
82
+ flex-wrap: wrap;
83
+ align-items: center;
84
+ gap: var(--wui-space-sm);
85
+ }
86
+
87
+ .wui-result-block-reference {
88
+ display: flex;
89
+ flex-wrap: wrap;
90
+ align-items: center;
91
+ gap: var(--wui-space-sm);
92
+ }
93
+
94
+ .wui-result-block-code {
95
+ font-family: var(--wui-font-mono);
96
+ color: var(--color-text);
97
+ }
98
+
99
+ .wui-result-block-danger .wui-result-block-icon {
100
+ background: var(--color-danger-soft);
101
+ color: var(--color-danger-text);
102
+ }
103
+
104
+ .wui-result-block-warning .wui-result-block-icon {
105
+ background: var(--color-warning-soft);
106
+ color: var(--color-warning-text);
107
+ }
108
+
109
+ .wui-result-block-info .wui-result-block-icon {
110
+ background: var(--color-info-soft);
111
+ color: var(--color-info-text);
112
+ }
113
+
114
+ .wui-result-block-secondary .wui-result-block-icon {
115
+ background: transparent;
116
+ color: var(--color-text-muted);
117
+ }
@@ -0,0 +1,106 @@
1
+ @use "../config" as *;
2
+
3
+ // One setting in a list: name and help at the left, value at the right, a hairline between rows.
4
+ .wui-setting-row {
5
+ display: flex;
6
+ align-items: flex-start;
7
+ justify-content: space-between;
8
+ gap: var(--wui-space-lg);
9
+ padding: var(--wui-space-md) 0;
10
+ border-bottom: 1px solid var(--color-border);
11
+ }
12
+ .wui-setting-row-main {
13
+ display: flex;
14
+ flex: 1 1 auto;
15
+ flex-direction: column;
16
+ gap: var(--wui-space-sm);
17
+ min-width: 0;
18
+ }
19
+ .wui-setting-row-head {
20
+ display: flex;
21
+ flex-direction: column;
22
+ gap: var(--wui-space-xxs);
23
+ }
24
+ .wui-setting-row-label {
25
+ display: flex;
26
+ align-items: center;
27
+ flex-wrap: wrap;
28
+ gap: var(--wui-space-sm);
29
+ font-weight: var(--wui-fw-semibold);
30
+ color: var(--color-text);
31
+ }
32
+ .wui-setting-row-desc {
33
+ margin: 0;
34
+ font-size: var(--wui-fs-sm);
35
+ color: var(--color-text-muted);
36
+ }
37
+ .wui-setting-row-badge {
38
+ padding: var(--wui-space-xxs) var(--wui-space-sm);
39
+ border-radius: var(--wui-radius-pill);
40
+ background: var(--color-warning-soft);
41
+ font-size: var(--wui-fs-xs);
42
+ font-weight: var(--wui-fw-medium);
43
+ color: var(--color-text);
44
+ }
45
+ .wui-setting-row-edit-body {
46
+ display: flex;
47
+ flex-direction: column;
48
+ gap: var(--wui-space-sm);
49
+ }
50
+ .wui-setting-row-read {
51
+ display: flex;
52
+ flex: 0 0 auto;
53
+ align-items: center;
54
+ gap: var(--wui-space-md);
55
+ }
56
+ .wui-setting-row-value {
57
+ color: var(--color-text);
58
+ }
59
+ .wui-setting-row-control {
60
+ display: flex;
61
+ flex-direction: column;
62
+ gap: var(--wui-space-sm);
63
+ }
64
+ .wui-setting-row-was {
65
+ margin: 0;
66
+ font-size: var(--wui-fs-sm);
67
+ color: var(--color-text-muted);
68
+ }
69
+ .wui-setting-row-actions {
70
+ display: flex;
71
+ justify-content: flex-end;
72
+ gap: var(--wui-space-sm);
73
+ }
74
+ .wui-setting-row-confirm {
75
+ display: flex;
76
+ flex-direction: column;
77
+ gap: var(--wui-space-sm);
78
+ padding: var(--wui-space-md);
79
+ border: 1px solid var(--color-warning);
80
+ border-radius: var(--wui-radius-md);
81
+ background: var(--color-surface);
82
+ }
83
+ .wui-setting-row-confirm-title {
84
+ margin: 0;
85
+ font-weight: var(--wui-fw-semibold);
86
+ color: var(--color-text);
87
+ }
88
+ .wui-setting-row-effect {
89
+ margin: 0;
90
+ font-size: var(--wui-fs-sm);
91
+ color: var(--color-text-muted);
92
+ }
93
+
94
+ @include media-breakpoint-down(sm) {
95
+ .wui-setting-row {
96
+ flex-direction: column;
97
+ }
98
+ .wui-setting-row-read {
99
+ justify-content: space-between;
100
+ width: 100%;
101
+ }
102
+ .wui-setting-row-edit {
103
+ min-height: 44px;
104
+ color: var(--color-text);
105
+ }
106
+ }
@@ -0,0 +1,36 @@
1
+ // A titled group of setting rows: the title and its help, an optional action at the right, then the rows.
2
+ .wui-setting-section {
3
+ display: flex;
4
+ flex-direction: column;
5
+ gap: var(--wui-space-sm);
6
+ }
7
+ .wui-setting-section-head {
8
+ display: flex;
9
+ align-items: flex-start;
10
+ justify-content: space-between;
11
+ gap: var(--wui-space-md);
12
+ }
13
+ .wui-setting-section-titles {
14
+ display: flex;
15
+ flex-direction: column;
16
+ gap: var(--wui-space-xxs);
17
+ min-width: 0;
18
+ }
19
+ .wui-setting-section-title {
20
+ margin: 0;
21
+ font-size: var(--wui-fs-lg);
22
+ font-weight: var(--wui-fw-semibold);
23
+ color: var(--color-text);
24
+ }
25
+ .wui-setting-section-desc {
26
+ margin: 0;
27
+ font-size: var(--wui-fs-sm);
28
+ color: var(--color-text-muted);
29
+ }
30
+ .wui-setting-section-action {
31
+ flex: 0 0 auto;
32
+ }
33
+ .wui-setting-section-rows {
34
+ display: flex;
35
+ flex-direction: column;
36
+ }