@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.
- package/dist/published-theme.json +4 -0
- package/dist/purge-safelist.json +171 -18
- package/dist/webority-modes.css +1 -1
- package/dist/webority-theme.css +2 -2
- package/dist/webority-tokens.css +1 -1
- package/fonts/sans/WeboritySans-Black.woff2 +0 -0
- package/fonts/sans/WeboritySans-BlackItalic.woff2 +0 -0
- package/fonts/sans/WeboritySans-Bold.woff2 +0 -0
- package/fonts/sans/WeboritySans-BoldItalic.woff2 +0 -0
- package/fonts/sans/WeboritySans-ExtraBold.woff2 +0 -0
- package/fonts/sans/WeboritySans-ExtraBoldItalic.woff2 +0 -0
- package/fonts/sans/WeboritySans-ExtraLight.woff2 +0 -0
- package/fonts/sans/WeboritySans-ExtraLightItalic.woff2 +0 -0
- package/fonts/sans/WeboritySans-Light.woff2 +0 -0
- package/fonts/sans/WeboritySans-LightItalic.woff2 +0 -0
- package/fonts/sans/WeboritySans-Medium.woff2 +0 -0
- package/fonts/sans/WeboritySans-MediumItalic.woff2 +0 -0
- package/fonts/sans/WeboritySans-Regular.woff2 +0 -0
- package/fonts/sans/WeboritySans-RegularItalic.woff2 +0 -0
- package/fonts/sans/WeboritySans-SemiBold.woff2 +0 -0
- package/fonts/sans/WeboritySans-SemiBoldItalic.woff2 +0 -0
- package/fonts/sans/WeboritySans-Thin.woff2 +0 -0
- package/fonts/sans/WeboritySans-ThinItalic.woff2 +0 -0
- package/fonts/serif/WeboritySerif-Bold.woff2 +0 -0
- package/fonts/serif/WeboritySerif-BoldItalic.woff2 +0 -0
- package/fonts/serif/WeboritySerif-DemiBold.woff2 +0 -0
- package/fonts/serif/WeboritySerif-DemiBoldItalic.woff2 +0 -0
- package/fonts/serif/WeboritySerif-ExtraBold.woff2 +0 -0
- package/fonts/serif/WeboritySerif-ExtraBoldItalic.woff2 +0 -0
- package/fonts/serif/WeboritySerif-Light.woff2 +0 -0
- package/fonts/serif/WeboritySerif-LightItalic.woff2 +0 -0
- package/fonts/serif/WeboritySerif-Medium.woff2 +0 -0
- package/fonts/serif/WeboritySerif-MediumItalic.woff2 +0 -0
- package/fonts/serif/WeboritySerif-Regular.woff2 +0 -0
- package/fonts/serif/WeboritySerif-RegularItalic.woff2 +0 -0
- package/fonts/serif/WeboritySerif-Thin.woff2 +0 -0
- package/fonts/serif/WeboritySerif-ThinItalic.woff2 +0 -0
- package/package.json +3 -3
- package/scss/_bootstrap.generated.scss +1 -1
- package/scss/_components.scss +120 -15
- package/scss/_fonts.scss +137 -2
- package/scss/_tokens-modes.generated.scss +2 -1
- package/scss/_tokens.generated.scss +23 -17
- package/scss/_wui-components.scss +10 -0
- package/scss/_wui-core.scss +10 -0
- package/scss/wui/_app-agenda.scss +75 -0
- package/scss/wui/_calendar-views.scss +46 -0
- package/scss/wui/_calendar.scss +31 -0
- package/scss/wui/_card.scss +1 -0
- package/scss/wui/_cell.scss +1 -0
- package/scss/wui/_change-list.scss +37 -0
- package/scss/wui/_chart-card.scss +49 -0
- package/scss/wui/_choice.scss +2 -1
- package/scss/wui/_command-palette.scss +68 -0
- package/scss/wui/_controls.scss +211 -26
- package/scss/wui/_dashboard-header.scss +42 -0
- package/scss/wui/_data.scss +86 -6
- package/scss/wui/_disclosure.scss +102 -1
- package/scss/wui/_display.scss +52 -2
- package/scss/wui/_drawer.scss +1 -0
- package/scss/wui/_entry-grid.scss +9 -0
- package/scss/wui/_file-viewer.scss +4 -0
- package/scss/wui/_flow.scss +119 -3
- package/scss/wui/_gantt.scss +89 -0
- package/scss/wui/_interaction.scss +0 -3
- package/scss/wui/_kanban.scss +52 -0
- package/scss/wui/_list-card.scss +11 -0
- package/scss/wui/_media.scss +0 -1
- package/scss/wui/_mini-calendar.scss +120 -0
- package/scss/wui/_navigation-menu.scss +44 -3
- package/scss/wui/_navigation.scss +10 -0
- package/scss/wui/_notification-center.scss +51 -0
- package/scss/wui/_offline-banner.scss +52 -0
- package/scss/wui/_overlays.scss +1 -1
- package/scss/wui/_queue-bundle.scss +71 -0
- package/scss/wui/_result-block.scss +117 -0
- package/scss/wui/_setting-row.scss +106 -0
- package/scss/wui/_setting-section.scss +36 -0
- package/scss/wui/_shell-parts.scss +3 -164
- package/scss/wui/_shell.scss +12 -2
- package/scss/wui/_split-view.scss +6 -2
- package/scss/wui/_utilities.scss +43 -5
- package/scss/wui/forced-colors/_display.scss +7 -0
- package/scss/wui/forced-colors/_navigation.scss +1 -3
- package/token-meanings.json +1 -0
|
@@ -67,6 +67,11 @@
|
|
|
67
67
|
.wui-accordion-item.open > .wui-accordion-trigger {
|
|
68
68
|
color: var(--color-primary-text);
|
|
69
69
|
}
|
|
70
|
+
// Bordered: pressing a closed item shows the shared pressed wash; pressing an open one, which collapses
|
|
71
|
+
// it, shows none. !important and the extra classes outrank that rule's own !important.
|
|
72
|
+
.wui-accordion:not(.wui-accordion-flat, .wui-accordion-numbered) > .wui-accordion-item.open > .wui-accordion-trigger:active:not(:disabled) {
|
|
73
|
+
background-image: none !important;
|
|
74
|
+
}
|
|
70
75
|
// Chevron rotates to point up when the pane is open.
|
|
71
76
|
.wui-accordion-icon {
|
|
72
77
|
flex: none;
|
|
@@ -135,16 +140,111 @@
|
|
|
135
140
|
color: var(--color-text-muted);
|
|
136
141
|
background: none;
|
|
137
142
|
}
|
|
143
|
+
// A flat or numbered trigger is a row of text, not a filled control: it skips the shared pressed wash.
|
|
144
|
+
// !important and the extra classes outrank that rule's own !important.
|
|
145
|
+
.wui-accordion:is(.wui-accordion-flat, .wui-accordion-numbered) .wui-accordion-item > .wui-accordion-trigger:active:not(:disabled) {
|
|
146
|
+
background-image: none !important;
|
|
147
|
+
}
|
|
138
148
|
.wui-accordion.wui-accordion-flat .wui-accordion-icon {
|
|
139
149
|
transform: rotate(-90deg);
|
|
140
150
|
}
|
|
141
151
|
.wui-accordion.wui-accordion-flat:dir(rtl) .wui-accordion-icon {
|
|
142
152
|
transform: rotate(90deg);
|
|
143
153
|
}
|
|
154
|
+
.wui-accordion.wui-accordion-flat .wui-accordion-item.open > .wui-accordion-trigger {
|
|
155
|
+
color: var(--color-primary-text);
|
|
156
|
+
}
|
|
144
157
|
.wui-accordion.wui-accordion-flat .wui-accordion-item.open > .wui-accordion-trigger .wui-accordion-icon {
|
|
145
158
|
transform: none;
|
|
146
159
|
}
|
|
147
160
|
|
|
161
|
+
// Numbered: an FAQ list between divider lines. Each question is numbered by the list's counter, and
|
|
162
|
+
// the toggle is a solid round button that turns primary while its pane is open; a state with a label
|
|
163
|
+
// (openLabel closed, closeLabel open) draws it as a pill.
|
|
164
|
+
// The body is indented to line up with the question text, past the number column.
|
|
165
|
+
.wui-accordion.wui-accordion-numbered {
|
|
166
|
+
--wui-accordion-number-width: 2.5rem;
|
|
167
|
+
gap: 0;
|
|
168
|
+
counter-reset: wui-accordion-item;
|
|
169
|
+
}
|
|
170
|
+
.wui-accordion.wui-accordion-numbered .wui-accordion-item,
|
|
171
|
+
.wui-accordion.wui-accordion-numbered .wui-accordion-item:hover:not(.open),
|
|
172
|
+
.wui-accordion.wui-accordion-numbered .wui-accordion-item.open {
|
|
173
|
+
counter-increment: wui-accordion-item;
|
|
174
|
+
border: 0;
|
|
175
|
+
border-bottom: 1px solid var(--color-border);
|
|
176
|
+
border-radius: 0;
|
|
177
|
+
background: none;
|
|
178
|
+
}
|
|
179
|
+
.wui-accordion.wui-accordion-numbered .wui-accordion-trigger {
|
|
180
|
+
justify-content: flex-start;
|
|
181
|
+
gap: var(--wui-space-lg);
|
|
182
|
+
padding: var(--wui-space-xl) 0;
|
|
183
|
+
font-size: var(--wui-fs-lg);
|
|
184
|
+
font-weight: var(--wui-fw-normal);
|
|
185
|
+
}
|
|
186
|
+
.wui-accordion.wui-accordion-numbered .wui-accordion-trigger::before {
|
|
187
|
+
content: counter(wui-accordion-item, decimal-leading-zero);
|
|
188
|
+
flex: none;
|
|
189
|
+
min-width: var(--wui-accordion-number-width);
|
|
190
|
+
font-size: var(--wui-fs-xl);
|
|
191
|
+
font-weight: var(--wui-fw-normal);
|
|
192
|
+
font-variant-numeric: tabular-nums;
|
|
193
|
+
color: var(--color-text-subtle);
|
|
194
|
+
transition: color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
195
|
+
}
|
|
196
|
+
.wui-accordion.wui-accordion-numbered .wui-accordion-item.open > .wui-accordion-trigger::before {
|
|
197
|
+
color: var(--color-primary-text);
|
|
198
|
+
}
|
|
199
|
+
.wui-accordion.wui-accordion-numbered .wui-accordion-icon {
|
|
200
|
+
display: flex;
|
|
201
|
+
align-items: center;
|
|
202
|
+
justify-content: center;
|
|
203
|
+
gap: var(--wui-space-xs);
|
|
204
|
+
min-width: var(--wui-control-md);
|
|
205
|
+
height: var(--wui-control-md);
|
|
206
|
+
margin-inline-start: auto;
|
|
207
|
+
border-radius: var(--wui-radius-pill);
|
|
208
|
+
background: var(--color-text);
|
|
209
|
+
color: var(--color-text-inverse);
|
|
210
|
+
transition:
|
|
211
|
+
background-color var(--wui-duration-fast) var(--wui-ease-ui),
|
|
212
|
+
color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
213
|
+
}
|
|
214
|
+
.wui-accordion.wui-accordion-numbered .wui-accordion-item.open > .wui-accordion-trigger .wui-accordion-icon {
|
|
215
|
+
transform: none;
|
|
216
|
+
background: var(--color-primary);
|
|
217
|
+
color: var(--color-on-primary);
|
|
218
|
+
}
|
|
219
|
+
.wui-accordion-numbered .wui-accordion-icon-open,
|
|
220
|
+
.wui-accordion-numbered .wui-accordion-item.open > .wui-accordion-trigger .wui-accordion-icon-closed {
|
|
221
|
+
display: none;
|
|
222
|
+
}
|
|
223
|
+
.wui-accordion-numbered .wui-accordion-icon-closed,
|
|
224
|
+
.wui-accordion-numbered .wui-accordion-item.open > .wui-accordion-trigger .wui-accordion-icon-open {
|
|
225
|
+
display: inline-flex;
|
|
226
|
+
align-items: center;
|
|
227
|
+
gap: var(--wui-space-xs);
|
|
228
|
+
}
|
|
229
|
+
.wui-accordion.wui-accordion-numbered .wui-accordion-item:not(.open) > .wui-accordion-trigger .wui-accordion-icon:has(.wui-accordion-open-label),
|
|
230
|
+
.wui-accordion.wui-accordion-numbered .wui-accordion-item.open > .wui-accordion-trigger .wui-accordion-icon:has(.wui-accordion-close-label) {
|
|
231
|
+
padding-inline: var(--wui-space-md);
|
|
232
|
+
}
|
|
233
|
+
.wui-accordion-numbered .wui-accordion-open-label,
|
|
234
|
+
.wui-accordion-numbered .wui-accordion-close-label {
|
|
235
|
+
font-size: var(--wui-fs-sm);
|
|
236
|
+
font-weight: var(--wui-fw-semibold);
|
|
237
|
+
white-space: nowrap;
|
|
238
|
+
}
|
|
239
|
+
.wui-accordion.wui-accordion-numbered .wui-accordion-body {
|
|
240
|
+
padding-inline: calc(var(--wui-accordion-number-width) + var(--wui-space-lg)) calc(var(--wui-control-md) + var(--wui-space-lg));
|
|
241
|
+
font-size: var(--wui-fs-base);
|
|
242
|
+
color: var(--color-text);
|
|
243
|
+
}
|
|
244
|
+
.wui-accordion.wui-accordion-numbered .wui-accordion-item.open > .wui-accordion-panel > .wui-accordion-body {
|
|
245
|
+
padding-bottom: var(--wui-space-xl);
|
|
246
|
+
}
|
|
247
|
+
|
|
148
248
|
.wui-accordion-count {
|
|
149
249
|
display: inline-flex;
|
|
150
250
|
justify-content: center;
|
|
@@ -159,7 +259,8 @@
|
|
|
159
259
|
@media (prefers-reduced-motion: reduce) {
|
|
160
260
|
.wui-accordion-panel,
|
|
161
261
|
.wui-accordion-icon,
|
|
162
|
-
.wui-accordion-item
|
|
262
|
+
.wui-accordion-item,
|
|
263
|
+
.wui-accordion-trigger::before {
|
|
163
264
|
transition: none;
|
|
164
265
|
}
|
|
165
266
|
}
|
package/scss/wui/_display.scss
CHANGED
|
@@ -356,6 +356,15 @@ a.kpi:focus-visible {
|
|
|
356
356
|
color: var(--color-text);
|
|
357
357
|
padding: 0 0 12px 0;
|
|
358
358
|
}
|
|
359
|
+
.wui-descs-title {
|
|
360
|
+
display: flex;
|
|
361
|
+
align-items: center;
|
|
362
|
+
justify-content: space-between;
|
|
363
|
+
gap: var(--wui-space-md);
|
|
364
|
+
}
|
|
365
|
+
.wui-descs-title-action {
|
|
366
|
+
flex: none;
|
|
367
|
+
}
|
|
359
368
|
.descs-list {
|
|
360
369
|
display: grid;
|
|
361
370
|
grid-template-columns: repeat(var(--descs-cols, 2), 1fr);
|
|
@@ -418,7 +427,7 @@ a.kpi:focus-visible {
|
|
|
418
427
|
--descs-cols: 2;
|
|
419
428
|
}
|
|
420
429
|
.descs-col-3 > .descs-list {
|
|
421
|
-
--descs-cols:
|
|
430
|
+
--descs-cols: 2;
|
|
422
431
|
}
|
|
423
432
|
.wui-descs-col-4 > .descs-list {
|
|
424
433
|
--descs-cols: 4;
|
|
@@ -429,9 +438,24 @@ a.kpi:focus-visible {
|
|
|
429
438
|
.descs-col-2.descs-bordered > .descs-list > .descs-item:nth-child(-n + 2) {
|
|
430
439
|
border-top: none;
|
|
431
440
|
}
|
|
432
|
-
.descs-col-3.descs-bordered > .descs-list > .descs-item:nth-child(-n +
|
|
441
|
+
.descs-col-3.descs-bordered > .descs-list > .descs-item:nth-child(-n + 2) {
|
|
433
442
|
border-top: none;
|
|
434
443
|
}
|
|
444
|
+
// Three columns from the large breakpoint up; between small and large the grid keeps two.
|
|
445
|
+
@include media-breakpoint-up(lg) {
|
|
446
|
+
.descs-col-3 > .descs-list {
|
|
447
|
+
--descs-cols: 3;
|
|
448
|
+
}
|
|
449
|
+
.descs-col-3.descs-bordered > .descs-list > .descs-item:nth-child(-n + 3) {
|
|
450
|
+
border-top: none;
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
// A span of three would add an implicit third column while the grid has two.
|
|
454
|
+
@include media-breakpoint-between(sm, lg) {
|
|
455
|
+
.descs-col-3 > .descs-list > .descs-item.wui-descs-span-3 {
|
|
456
|
+
--descs-span: 2;
|
|
457
|
+
}
|
|
458
|
+
}
|
|
435
459
|
.wui-descs-col-4.descs-bordered > .descs-list > .descs-item:nth-child(-n + 4) {
|
|
436
460
|
border-top: none;
|
|
437
461
|
}
|
|
@@ -1966,3 +1990,29 @@ button.wui-link {
|
|
|
1966
1990
|
color: var(--color-primary-text);
|
|
1967
1991
|
}
|
|
1968
1992
|
}
|
|
1993
|
+
|
|
1994
|
+
// The figure's place when there is no data: secondary text, not a 0.
|
|
1995
|
+
.kpi .kpi-value.wui-kpi-nodata {
|
|
1996
|
+
font-size: var(--wui-label-fs);
|
|
1997
|
+
font-weight: var(--wui-fw-medium);
|
|
1998
|
+
letter-spacing: normal;
|
|
1999
|
+
color: var(--color-text-muted);
|
|
2000
|
+
}
|
|
2001
|
+
// The loading placeholder in the figure's place, sized to a figure.
|
|
2002
|
+
.kpi .wui-kpi-skeleton {
|
|
2003
|
+
display: block;
|
|
2004
|
+
width: 5em;
|
|
2005
|
+
height: 0.9em;
|
|
2006
|
+
border-radius: var(--wui-radius-sm);
|
|
2007
|
+
}
|
|
2008
|
+
// Label under the figure: the picked grid moves it to the row after the figure and the caption below it.
|
|
2009
|
+
.kpi.wui-kpi-picked.wui-kpi-label-below .kpi-label {
|
|
2010
|
+
grid-column: 1 / span 2;
|
|
2011
|
+
grid-row: 3;
|
|
2012
|
+
}
|
|
2013
|
+
.kpi.wui-kpi-picked.wui-kpi-label-below .kpi-caption {
|
|
2014
|
+
grid-row: 4;
|
|
2015
|
+
}
|
|
2016
|
+
.kpi.wui-kpi-label-below:not(.wui-kpi-picked) .kpi-label {
|
|
2017
|
+
margin-top: var(--wui-space-xs);
|
|
2018
|
+
}
|
package/scss/wui/_drawer.scss
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
.wui-drawer {
|
|
12
12
|
--wui-drawer-width: 480px;
|
|
13
13
|
--wui-drawer-max-width: 92vw;
|
|
14
|
+
--wui-drawer-max: 90;
|
|
14
15
|
--wui-drawer-duration: 280ms;
|
|
15
16
|
// The element rule in _native-overlay gives wui-* hosts display: contents; the drawer host needs a box for its fixed inset.
|
|
16
17
|
display: block;
|
|
@@ -105,6 +105,15 @@
|
|
|
105
105
|
font-variant-numeric: tabular-nums;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
+
// The actions column: Save and Cancel sit at the end of the row with a small gap. Drawn only with that column.
|
|
109
|
+
.wui-entry-grid__row-actions {
|
|
110
|
+
text-align: end;
|
|
111
|
+
white-space: nowrap;
|
|
112
|
+
}
|
|
113
|
+
.wui-entry-grid__row-actions > .btn + .btn {
|
|
114
|
+
margin-inline-start: var(--wui-space-xs);
|
|
115
|
+
}
|
|
116
|
+
|
|
108
117
|
.wui-entry-grid-empty > td {
|
|
109
118
|
color: var(--color-text-muted);
|
|
110
119
|
text-align: center;
|
|
@@ -25,6 +25,10 @@ wui-file-viewer {
|
|
|
25
25
|
background: var(--color-bg-muted);
|
|
26
26
|
color: var(--color-text);
|
|
27
27
|
}
|
|
28
|
+
// fill: the element measures its top edge and sets the height below it (see WuiFileViewer.ts).
|
|
29
|
+
wui-file-viewer[fill] {
|
|
30
|
+
height: var(--wui-file-viewer-fill-height, max(420px, 70vh));
|
|
31
|
+
}
|
|
28
32
|
// Full screen fills the screen edge to edge.
|
|
29
33
|
wui-file-viewer:fullscreen {
|
|
30
34
|
border: 0;
|
package/scss/wui/_flow.scss
CHANGED
|
@@ -343,6 +343,13 @@ button.step.done:focus-visible .step-circle {
|
|
|
343
343
|
gap: 18px;
|
|
344
344
|
padding: 0;
|
|
345
345
|
}
|
|
346
|
+
// Pins the step list under the shell top bar and the sticky layers above it while a long step scrolls beside it.
|
|
347
|
+
// align-self keeps the list at its own height, so there is room to move.
|
|
348
|
+
.wui-stepper-sticky {
|
|
349
|
+
position: sticky;
|
|
350
|
+
top: calc(var(--wui-shell-topbar-height, 0px) + var(--wui-sticky-stack-height, 0px));
|
|
351
|
+
align-self: flex-start;
|
|
352
|
+
}
|
|
346
353
|
// Each compact step becomes a two-column row: the circle in a fixed rail on the
|
|
347
354
|
// left, the label and its description stacked on the right. The journey step has
|
|
348
355
|
// its own badge and text column, so these rules skip it; :where keeps them at the
|
|
@@ -545,6 +552,7 @@ button.step.done:focus-visible .step-circle {
|
|
|
545
552
|
// class recolours the current one and a done-tone class the finished ones.
|
|
546
553
|
// ----------------------------------------------------------------------------
|
|
547
554
|
.wui-step-tiles {
|
|
555
|
+
--wui-step-tile-size: 34px;
|
|
548
556
|
padding: 0 16px;
|
|
549
557
|
}
|
|
550
558
|
.wui-step-tiles > ol {
|
|
@@ -1210,7 +1218,12 @@ button.wui-step-tile-body:hover .step-label {
|
|
|
1210
1218
|
}
|
|
1211
1219
|
.wui-form-compact .form-section-body,
|
|
1212
1220
|
.wui-form-compact .form-row-grid {
|
|
1213
|
-
gap:
|
|
1221
|
+
gap: var(--wui-space-md);
|
|
1222
|
+
}
|
|
1223
|
+
// Compact sections sit closer, so a dense edit page of several sections spends less height on gaps.
|
|
1224
|
+
.form-section + .form-section.wui-form-compact {
|
|
1225
|
+
margin-top: var(--wui-space-lg);
|
|
1226
|
+
padding-top: var(--wui-space-lg);
|
|
1214
1227
|
}
|
|
1215
1228
|
|
|
1216
1229
|
// ============================================================================
|
|
@@ -1223,6 +1236,14 @@ button.wui-step-tile-body:hover .step-label {
|
|
|
1223
1236
|
// width here and lines up with the fields beside it. A .date-w-* class on the field still wins.
|
|
1224
1237
|
--wui-datepicker-width: 100%;
|
|
1225
1238
|
}
|
|
1239
|
+
// One message line of room under each field (1lh of the message's own line height), even when empty.
|
|
1240
|
+
.wui-form-row-reserve > .field > .wui-field-message {
|
|
1241
|
+
min-height: 1lh;
|
|
1242
|
+
}
|
|
1243
|
+
.wui-form-row-reserve > .field > .wui-field-message:empty {
|
|
1244
|
+
display: grid;
|
|
1245
|
+
min-height: 1lh;
|
|
1246
|
+
}
|
|
1226
1247
|
@for $n from 1 through 12 {
|
|
1227
1248
|
.wui-form-cols-#{$n} {
|
|
1228
1249
|
--form-cols: #{$n};
|
|
@@ -1256,10 +1277,49 @@ button.wui-step-tile-body:hover .step-label {
|
|
|
1256
1277
|
border-top: 1px solid var(--color-border);
|
|
1257
1278
|
background: var(--color-surface);
|
|
1258
1279
|
}
|
|
1280
|
+
// A bar pinned to the bottom of its own card or panel: it bleeds to the card's inner edges and takes the card's corners.
|
|
1281
|
+
.form-actions-sticky.wui-form-actions-surface {
|
|
1282
|
+
margin-inline: calc(var(--wui-card-pad) * -1);
|
|
1283
|
+
margin-block-end: calc(var(--wui-card-pad) * -1);
|
|
1284
|
+
padding-inline: var(--wui-card-pad);
|
|
1285
|
+
border-end-start-radius: var(--bs-card-inner-border-radius);
|
|
1286
|
+
border-end-end-radius: var(--bs-card-inner-border-radius);
|
|
1287
|
+
background: var(--color-surface);
|
|
1288
|
+
border-top: 1px solid var(--color-border);
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
// The status at the start of the bar: icon and text, with the buttons pushed to the end.
|
|
1292
|
+
.wui-form-actions-status {
|
|
1293
|
+
margin-inline-end: auto;
|
|
1294
|
+
display: flex;
|
|
1295
|
+
align-items: center;
|
|
1296
|
+
gap: var(--wui-space-xs);
|
|
1297
|
+
font-size: var(--wui-fs-sm);
|
|
1298
|
+
color: var(--color-text-muted);
|
|
1299
|
+
}
|
|
1300
|
+
.wui-form-actions-status[data-tone="success"] {
|
|
1301
|
+
color: var(--color-success-text);
|
|
1302
|
+
}
|
|
1303
|
+
.wui-form-actions-status[data-tone="warning"] {
|
|
1304
|
+
color: var(--color-warning-text);
|
|
1305
|
+
}
|
|
1306
|
+
.wui-form-actions-status[data-tone="danger"] {
|
|
1307
|
+
color: var(--color-danger-text);
|
|
1308
|
+
}
|
|
1309
|
+
.wui-form-actions-status[data-tone="info"] {
|
|
1310
|
+
color: var(--color-info-text);
|
|
1311
|
+
}
|
|
1312
|
+
// The error links beside the count are link-style buttons.
|
|
1313
|
+
.wui-form-actions-status-links {
|
|
1314
|
+
display: flex;
|
|
1315
|
+
flex-wrap: wrap;
|
|
1316
|
+
align-items: center;
|
|
1317
|
+
gap: var(--wui-space-sm);
|
|
1318
|
+
}
|
|
1259
1319
|
// Below md the phone tab bar is fixed at the bottom, so sticky form actions sit on top of it.
|
|
1260
1320
|
@media (max-width: 767.98px) {
|
|
1261
1321
|
// Pinned this far up, the bar would cover the last section at the end of the scroll unless the same space is reserved below it.
|
|
1262
|
-
.app-shell:has(> .wui-tabbar) .form-actions-sticky {
|
|
1322
|
+
.app-shell:has(> .wui-tabbar) .form-actions-sticky:not(.wui-form-actions-surface) {
|
|
1263
1323
|
bottom: calc(var(--wui-tabbar-h) + env(safe-area-inset-bottom));
|
|
1264
1324
|
margin-bottom: calc(var(--wui-tabbar-h) + env(safe-area-inset-bottom));
|
|
1265
1325
|
z-index: calc(var(--wui-z-fixed) + 1);
|
|
@@ -1408,4 +1468,60 @@ wui-wizard-step[hidden] {
|
|
|
1408
1468
|
display: flex;
|
|
1409
1469
|
align-items: center;
|
|
1410
1470
|
gap: 12px;
|
|
1411
|
-
}
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
// AppWizard options: a footer pinned to the bottom of the wizard (sticky-footer), the status slot at its left
|
|
1474
|
+
// and the leave dialog the top-bar close opens while the wizard is dirty.
|
|
1475
|
+
wui-wizard[sticky-footer] > .wizard-footer {
|
|
1476
|
+
position: sticky;
|
|
1477
|
+
bottom: 0;
|
|
1478
|
+
z-index: 1;
|
|
1479
|
+
background: var(--color-surface);
|
|
1480
|
+
}
|
|
1481
|
+
.wui-wizard-footer-status {
|
|
1482
|
+
flex: 1 1 auto;
|
|
1483
|
+
min-width: 0;
|
|
1484
|
+
}
|
|
1485
|
+
.wui-wizard-footer-extra {
|
|
1486
|
+
display: contents;
|
|
1487
|
+
}
|
|
1488
|
+
dialog.wui-wizard-leave {
|
|
1489
|
+
width: min(440px, calc(100vw - 32px));
|
|
1490
|
+
margin: auto;
|
|
1491
|
+
padding: var(--wui-space-xl);
|
|
1492
|
+
border: 1px solid var(--color-border);
|
|
1493
|
+
border-radius: var(--wui-radius-3xl);
|
|
1494
|
+
corner-shape: squircle;
|
|
1495
|
+
background: var(--color-surface);
|
|
1496
|
+
color: var(--color-text);
|
|
1497
|
+
box-shadow: var(--wui-shadow-modal);
|
|
1498
|
+
}
|
|
1499
|
+
dialog.wui-wizard-leave::backdrop {
|
|
1500
|
+
background: color-mix(in srgb, var(--color-scrim) 85%, transparent);
|
|
1501
|
+
}
|
|
1502
|
+
.wui-wizard-leave-title {
|
|
1503
|
+
margin: 0 0 var(--wui-space-sm);
|
|
1504
|
+
font-size: var(--wui-fs-lg);
|
|
1505
|
+
font-weight: var(--wui-fw-semibold);
|
|
1506
|
+
}
|
|
1507
|
+
.wui-wizard-leave-message {
|
|
1508
|
+
margin: 0 0 var(--wui-space-xl);
|
|
1509
|
+
color: var(--color-text-muted);
|
|
1510
|
+
}
|
|
1511
|
+
.wui-wizard-leave-actions {
|
|
1512
|
+
display: flex;
|
|
1513
|
+
align-items: center;
|
|
1514
|
+
justify-content: space-between;
|
|
1515
|
+
gap: var(--wui-space-md);
|
|
1516
|
+
}
|
|
1517
|
+
.wui-wizard-leave-end {
|
|
1518
|
+
display: flex;
|
|
1519
|
+
gap: var(--wui-space-md);
|
|
1520
|
+
}
|
|
1521
|
+
@include media-breakpoint-down(sm) {
|
|
1522
|
+
.wui-wizard-leave-actions,
|
|
1523
|
+
.wui-wizard-leave-end {
|
|
1524
|
+
flex-direction: column;
|
|
1525
|
+
align-items: stretch;
|
|
1526
|
+
}
|
|
1527
|
+
}
|
package/scss/wui/_gantt.scss
CHANGED
|
@@ -498,3 +498,92 @@ wui-gantt {
|
|
|
498
498
|
corner-shape: squircle;
|
|
499
499
|
background: var(--color-bg-muted);
|
|
500
500
|
}
|
|
501
|
+
|
|
502
|
+
// Bar rows (lanes layout with bars): the names sit in a column that stays put while the plan scrolls,
|
|
503
|
+
// each bar is a line of the row, and a clash band marks the days where two of a row's bars overlap.
|
|
504
|
+
// Both the count row and the names wrap or scale with the same tokens as the rest of the plan.
|
|
505
|
+
.wui-gantt-names {
|
|
506
|
+
position: sticky;
|
|
507
|
+
inset-inline-start: 0;
|
|
508
|
+
z-index: 3;
|
|
509
|
+
flex: none;
|
|
510
|
+
width: 168px;
|
|
511
|
+
background: var(--color-surface);
|
|
512
|
+
border-inline-end: 1px solid var(--color-border);
|
|
513
|
+
}
|
|
514
|
+
.wui-gantt-names-rows {
|
|
515
|
+
position: relative;
|
|
516
|
+
}
|
|
517
|
+
.wui-gantt-name {
|
|
518
|
+
position: absolute;
|
|
519
|
+
inset-inline-start: 0;
|
|
520
|
+
inset-inline-end: 0;
|
|
521
|
+
display: -webkit-box;
|
|
522
|
+
padding: var(--wui-space-xs) var(--wui-space-sm);
|
|
523
|
+
overflow: hidden;
|
|
524
|
+
-webkit-box-orient: vertical;
|
|
525
|
+
-webkit-line-clamp: 2;
|
|
526
|
+
font-size: var(--wui-fs-sm);
|
|
527
|
+
font-weight: var(--wui-fw-medium);
|
|
528
|
+
line-height: var(--wui-lh-heading);
|
|
529
|
+
overflow-wrap: anywhere;
|
|
530
|
+
}
|
|
531
|
+
.wui-gantt-counts {
|
|
532
|
+
position: absolute;
|
|
533
|
+
inset-inline-start: 0;
|
|
534
|
+
z-index: 2;
|
|
535
|
+
color: var(--color-text-muted);
|
|
536
|
+
font-size: var(--wui-fs-xs);
|
|
537
|
+
font-variant-numeric: tabular-nums;
|
|
538
|
+
}
|
|
539
|
+
.wui-gantt-count-cell {
|
|
540
|
+
position: absolute;
|
|
541
|
+
top: 0;
|
|
542
|
+
height: 100%;
|
|
543
|
+
display: flex;
|
|
544
|
+
align-items: center;
|
|
545
|
+
justify-content: center;
|
|
546
|
+
}
|
|
547
|
+
.wui-gantt-clash {
|
|
548
|
+
position: absolute;
|
|
549
|
+
z-index: 0;
|
|
550
|
+
display: flex;
|
|
551
|
+
align-items: center;
|
|
552
|
+
overflow: hidden;
|
|
553
|
+
background: var(--color-warning-soft);
|
|
554
|
+
color: var(--color-warning);
|
|
555
|
+
font-size: var(--wui-fs-xs);
|
|
556
|
+
font-weight: var(--wui-fw-semibold);
|
|
557
|
+
white-space: nowrap;
|
|
558
|
+
}
|
|
559
|
+
.wui-gantt-clash-label {
|
|
560
|
+
padding-inline: var(--wui-space-xs);
|
|
561
|
+
}
|
|
562
|
+
.wui-gantt-lane-bar {
|
|
563
|
+
position: absolute;
|
|
564
|
+
z-index: 1;
|
|
565
|
+
display: flex;
|
|
566
|
+
align-items: center;
|
|
567
|
+
min-width: 0;
|
|
568
|
+
overflow: hidden;
|
|
569
|
+
padding-inline: var(--wui-space-sm);
|
|
570
|
+
border-radius: var(--wui-radius-sm);
|
|
571
|
+
background: var(--color-chart-neutral);
|
|
572
|
+
color: var(--color-on-neutral);
|
|
573
|
+
font-size: var(--wui-fs-xs);
|
|
574
|
+
font-weight: var(--wui-fw-medium);
|
|
575
|
+
text-overflow: ellipsis;
|
|
576
|
+
white-space: nowrap;
|
|
577
|
+
}
|
|
578
|
+
.wui-gantt-lane-bar[data-tone="warning"] {
|
|
579
|
+
background: var(--color-warning);
|
|
580
|
+
color: var(--color-on-warning);
|
|
581
|
+
}
|
|
582
|
+
.wui-gantt-lane-bar[data-half="start"] {
|
|
583
|
+
border-start-start-radius: 0;
|
|
584
|
+
border-end-start-radius: 0;
|
|
585
|
+
}
|
|
586
|
+
.wui-gantt-lane-bar[data-half="end"] {
|
|
587
|
+
border-start-end-radius: 0;
|
|
588
|
+
border-end-end-radius: 0;
|
|
589
|
+
}
|
|
@@ -164,8 +164,6 @@ html:has(.form-actions-sticky) {
|
|
|
164
164
|
.wui-code-copy,
|
|
165
165
|
.wui-notification-center-markall,
|
|
166
166
|
.wui-notification-center-foot,
|
|
167
|
-
.wui-bell-markall,
|
|
168
|
-
.wui-bell-foot,
|
|
169
167
|
.wui-onboarding-toggle,
|
|
170
168
|
.wui-onboarding-restore,
|
|
171
169
|
.attach-remove,
|
|
@@ -188,7 +186,6 @@ html:has(.form-actions-sticky) {
|
|
|
188
186
|
.wui-select-option,
|
|
189
187
|
.wui-split-link,
|
|
190
188
|
.wui-topsearch-hit,
|
|
191
|
-
a.wui-bell-item,
|
|
192
189
|
.wui-notification-center-item,
|
|
193
190
|
.app-nav-item,
|
|
194
191
|
.wui-tabbar-item,
|
package/scss/wui/_kanban.scss
CHANGED
|
@@ -289,6 +289,13 @@
|
|
|
289
289
|
outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
|
|
290
290
|
outline-offset: var(--wui-focus-ring-offset);
|
|
291
291
|
}
|
|
292
|
+
.wui-kanban-card-lock {
|
|
293
|
+
position: absolute;
|
|
294
|
+
top: var(--wui-space-sm);
|
|
295
|
+
inset-inline-end: var(--wui-space-sm);
|
|
296
|
+
display: inline-flex;
|
|
297
|
+
color: var(--color-text-muted);
|
|
298
|
+
}
|
|
292
299
|
.wui-kanban-card[hidden],
|
|
293
300
|
.wui-kanban-card[data-wui-overflow] {
|
|
294
301
|
display: none;
|
|
@@ -510,6 +517,44 @@
|
|
|
510
517
|
}
|
|
511
518
|
}
|
|
512
519
|
|
|
520
|
+
// A folded column whose label reads across: a short horizontal strip with the count and the total.
|
|
521
|
+
.wui-kanban-column[data-collapsed][data-collapsed-layout="strip"] {
|
|
522
|
+
flex: 0 0 auto;
|
|
523
|
+
min-width: 12rem;
|
|
524
|
+
max-width: var(--wui-kanban-column-width);
|
|
525
|
+
min-height: 0;
|
|
526
|
+
align-self: flex-start;
|
|
527
|
+
|
|
528
|
+
.wui-kanban-head {
|
|
529
|
+
flex-direction: row;
|
|
530
|
+
flex-wrap: wrap;
|
|
531
|
+
align-items: center;
|
|
532
|
+
gap: var(--wui-space-xs) var(--wui-space-sm);
|
|
533
|
+
padding: var(--wui-space-md);
|
|
534
|
+
}
|
|
535
|
+
.wui-kanban-title {
|
|
536
|
+
writing-mode: horizontal-tb;
|
|
537
|
+
flex: 1 1 auto;
|
|
538
|
+
white-space: normal;
|
|
539
|
+
}
|
|
540
|
+
.wui-kanban-summary {
|
|
541
|
+
display: block;
|
|
542
|
+
flex: 1 0 100%;
|
|
543
|
+
padding-inline-start: 0;
|
|
544
|
+
}
|
|
545
|
+
.wui-kanban-body,
|
|
546
|
+
.wui-kanban-more,
|
|
547
|
+
.wui-kanban-empty,
|
|
548
|
+
.wui-kanban-dot,
|
|
549
|
+
.wui-kanban-actions {
|
|
550
|
+
display: none;
|
|
551
|
+
}
|
|
552
|
+
.wui-kanban-drop-note {
|
|
553
|
+
margin: 0 var(--wui-space-sm) var(--wui-space-sm);
|
|
554
|
+
writing-mode: horizontal-tb;
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
|
|
513
558
|
// ── Fill: the board fits the screen and each column scrolls inside itself (md and up) ──
|
|
514
559
|
@media (min-width: 768px) {
|
|
515
560
|
.wui-kanban[fill] .wui-kanban-board {
|
|
@@ -555,6 +600,8 @@
|
|
|
555
600
|
gap: 6px;
|
|
556
601
|
margin-bottom: 12px;
|
|
557
602
|
padding-block: 6px;
|
|
603
|
+
padding-inline: var(--wui-space-md);
|
|
604
|
+
scroll-padding-inline: var(--wui-space-md);
|
|
558
605
|
overflow-x: auto;
|
|
559
606
|
scrollbar-width: none;
|
|
560
607
|
background: var(--color-bg);
|
|
@@ -658,6 +705,11 @@
|
|
|
658
705
|
.wui-kanban-summary:empty {
|
|
659
706
|
display: none;
|
|
660
707
|
}
|
|
708
|
+
.wui-kanban-column[data-collapsed][data-collapsed-layout="strip"] {
|
|
709
|
+
flex: 0 0 100%;
|
|
710
|
+
max-width: 100%;
|
|
711
|
+
min-width: 0;
|
|
712
|
+
}
|
|
661
713
|
// The drop note already says why; the rail's lock is a wide-screen cue.
|
|
662
714
|
.wui-kanban-column[data-collapsed][data-wui-drop="refused"] .wui-kanban-lock {
|
|
663
715
|
display: none;
|
package/scss/wui/_list-card.scss
CHANGED
|
@@ -10,6 +10,17 @@
|
|
|
10
10
|
padding: 0 var(--bs-card-spacer-x) var(--bs-card-spacer-y);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
// The save status sits at the end of the header, after the actions; the titles take the free width so the
|
|
14
|
+
// actions stay beside it.
|
|
15
|
+
.wui-list-card[data-wui-save-state] > .card-header > .card-header-main {
|
|
16
|
+
flex: 1 1 auto;
|
|
17
|
+
min-width: 0;
|
|
18
|
+
}
|
|
19
|
+
.wui-list-card > .card-header > .wui-row-status {
|
|
20
|
+
flex: none;
|
|
21
|
+
margin-bottom: 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
13
24
|
.wui-list-card-count {
|
|
14
25
|
margin-inline-start: var(--wui-space-xs);
|
|
15
26
|
vertical-align: middle;
|
package/scss/wui/_media.scss
CHANGED
|
@@ -133,7 +133,6 @@
|
|
|
133
133
|
height: 16px;
|
|
134
134
|
padding: 0 4px;
|
|
135
135
|
border-radius: 999px;
|
|
136
|
-
// The pairing .wui-bell-count uses (_shell-parts.scss): it clears contrast in light and dark.
|
|
137
136
|
background: var(--color-danger-strong);
|
|
138
137
|
color: var(--color-progress-label);
|
|
139
138
|
font-size: 12px;
|