@webority/theme 0.179.0 → 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 +162 -18
- package/dist/webority-modes.css +1 -1
- package/dist/webority-theme.css +1 -1
- package/dist/webority-tokens.css +1 -1
- package/package.json +3 -3
- package/scss/_bootstrap.generated.scss +1 -1
- package/scss/_components.scss +26 -13
- 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 +157 -13
- package/scss/wui/_dashboard-header.scss +42 -0
- package/scss/wui/_data.scss +86 -6
- 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 +1 -0
- 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/_navigation.scss +1 -3
- package/token-meanings.json +1 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
@use "../config" as *;
|
|
2
|
+
|
|
3
|
+
// Dashboard top line: the greeting block at the left and the period slot at the right. Below sm the
|
|
4
|
+
// slot drops onto its own row under the greeting.
|
|
5
|
+
.wui-dashboard-header {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-wrap: wrap;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: space-between;
|
|
10
|
+
gap: var(--wui-space-md);
|
|
11
|
+
margin-bottom: var(--wui-space-lg);
|
|
12
|
+
}
|
|
13
|
+
.wui-dashboard-header-text {
|
|
14
|
+
min-width: 0;
|
|
15
|
+
}
|
|
16
|
+
.wui-dashboard-header-greeting {
|
|
17
|
+
margin: 0;
|
|
18
|
+
font-size: var(--wui-fs-xl);
|
|
19
|
+
font-weight: var(--wui-fw-semibold);
|
|
20
|
+
line-height: var(--wui-lh-tight);
|
|
21
|
+
color: var(--color-text);
|
|
22
|
+
}
|
|
23
|
+
.wui-dashboard-header-meta {
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-wrap: wrap;
|
|
26
|
+
column-gap: var(--wui-space-md);
|
|
27
|
+
margin: var(--wui-space-xxs) 0 0;
|
|
28
|
+
font-size: var(--wui-fs-sm);
|
|
29
|
+
color: var(--color-text-muted);
|
|
30
|
+
}
|
|
31
|
+
.wui-dashboard-header-period {
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
gap: var(--wui-space-sm);
|
|
35
|
+
margin-inline-start: auto;
|
|
36
|
+
}
|
|
37
|
+
@include media-breakpoint-down(sm) {
|
|
38
|
+
.wui-dashboard-header-period {
|
|
39
|
+
width: 100%;
|
|
40
|
+
margin-inline-start: 0;
|
|
41
|
+
}
|
|
42
|
+
}
|
package/scss/wui/_data.scss
CHANGED
|
@@ -307,11 +307,16 @@
|
|
|
307
307
|
}
|
|
308
308
|
// Identity-cell subline. `.u-email` is in the group because an identity cell
|
|
309
309
|
// renders the secondary line as either a generic .wui-text-xs or a .u-email.
|
|
310
|
+
// A data cell's secondary line takes the same size, 12 px under the primary; the type scale has no 12 px step.
|
|
310
311
|
.table-ledger .u-meta > .u-email,
|
|
311
|
-
.table-ledger .u-meta > .wui-text-xs
|
|
312
|
+
.table-ledger .u-meta > .wui-text-xs,
|
|
313
|
+
.table-ledger .wui-cell-secondary {
|
|
312
314
|
font-size: 12px;
|
|
313
|
-
font-weight: 400;
|
|
314
315
|
line-height: 15px;
|
|
316
|
+
}
|
|
317
|
+
.table-ledger .u-meta > .u-email,
|
|
318
|
+
.table-ledger .u-meta > .wui-text-xs {
|
|
319
|
+
font-weight: 400;
|
|
315
320
|
color: var(--color-text-subtle);
|
|
316
321
|
}
|
|
317
322
|
.table-ledger .u-row-actions {
|
|
@@ -383,6 +388,7 @@
|
|
|
383
388
|
// while rows are selected the bulk bar takes the same strip. Both rows are always in the markup,
|
|
384
389
|
// one `hidden`, so the swap never moves the table. The bottom padding keeps the table header off the strip.
|
|
385
390
|
.wui-table-toolbar {
|
|
391
|
+
--wui-table-pad: 20px;
|
|
386
392
|
padding: var(--wui-space-md) var(--wui-table-pad, 20px);
|
|
387
393
|
}
|
|
388
394
|
.wui-table-toolbar-main,
|
|
@@ -618,6 +624,7 @@
|
|
|
618
624
|
// Horizontal scroll guard + flush-fit inside a card. Wrapping the table here
|
|
619
625
|
// also stops `.card > .table` header-corner rounding from applying mid-card.
|
|
620
626
|
.table-wrap {
|
|
627
|
+
--wui-table-pad: 20px;
|
|
621
628
|
overflow-x: auto;
|
|
622
629
|
max-width: 100%;
|
|
623
630
|
// Keep the horizontal swipe inside the table — don't let it drag the
|
|
@@ -975,6 +982,11 @@
|
|
|
975
982
|
border-radius: 0;
|
|
976
983
|
background: none;
|
|
977
984
|
}
|
|
985
|
+
.table-ledger.wui-table-stack > tbody > tr.wui-group-row > td {
|
|
986
|
+
display: block;
|
|
987
|
+
border: 0;
|
|
988
|
+
background: none;
|
|
989
|
+
}
|
|
978
990
|
.table-ledger.wui-table-stack > tbody > tr.wui-group-row > th.wui-group-cell {
|
|
979
991
|
display: block;
|
|
980
992
|
padding: 12px 0 4px;
|
|
@@ -991,8 +1003,8 @@
|
|
|
991
1003
|
.table-ledger.wui-table-stack > * > tr > th.wui-row-header:empty {
|
|
992
1004
|
display: none;
|
|
993
1005
|
}
|
|
994
|
-
.table-ledger.wui-table-stack > tbody > tr > td.wui-select-cell,
|
|
995
|
-
.table-ledger.wui-table-stack > tbody > tr > td.wui-expand-cell {
|
|
1006
|
+
.table-ledger.wui-table-stack > tbody > tr:not(.wui-group-row) > td.wui-select-cell,
|
|
1007
|
+
.table-ledger.wui-table-stack > tbody > tr:not(.wui-group-row) > td.wui-expand-cell {
|
|
996
1008
|
// !important for the same reason as the static rule above: a pinned-column `left` with this
|
|
997
1009
|
// `right` would stretch the cell across the card.
|
|
998
1010
|
position: absolute !important;
|
|
@@ -1063,6 +1075,18 @@
|
|
|
1063
1075
|
margin-top: var(--wui-card-table-inset, var(--wui-card-pad));
|
|
1064
1076
|
}
|
|
1065
1077
|
|
|
1078
|
+
// Header pinned to the page (`stickyHeader`): the wrap clips instead of scrolling, because a sticky header
|
|
1079
|
+
// cannot reach the page through a scroll box. It stops under the layers above it (--wui-sticky-stack-height,
|
|
1080
|
+
// written by the sticky-layer coordinator) plus the table's own offset.
|
|
1081
|
+
.table-wrap.wui-table-sticky-header {
|
|
1082
|
+
overflow-x: clip;
|
|
1083
|
+
}
|
|
1084
|
+
.table-wrap.wui-table-sticky-header .table-ledger thead th {
|
|
1085
|
+
position: sticky;
|
|
1086
|
+
top: calc(var(--wui-shell-topbar-height, 0px) + var(--wui-sticky-stack-height, 0px) + var(--wui-table-sticky-offset, 0px));
|
|
1087
|
+
z-index: 18;
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1066
1090
|
// A pinned cell paints a solid colour so scrolled cells pass under it; that colour must match what shows
|
|
1067
1091
|
// through the row's transparent cells: the page background, or the surface of the card, modal or drawer
|
|
1068
1092
|
// around the table. A consumer sets --wui-table-pin-bg on any wrapper with a different background.
|
|
@@ -1195,8 +1219,8 @@
|
|
|
1195
1219
|
justify-content: center;
|
|
1196
1220
|
}
|
|
1197
1221
|
|
|
1198
|
-
// Row actions
|
|
1199
|
-
// `row-actions-mode`)
|
|
1222
|
+
// Row actions sit in their own column by default. The hover mode (AppDataTable `rowActionsMode`, Razor
|
|
1223
|
+
// `row-actions-mode`) shows them on row hover and keyboard focus; "column" keeps the icons always visible; "hover-menu" keeps the menu visible and fades the icons.
|
|
1200
1224
|
// An open menu keeps its row's actions live: pointer-events is inherited, so the menu would otherwise go dead once the pointer leaves the row.
|
|
1201
1225
|
.table-ledger:not(.wui-table-actions-column) tbody .u-row-actions {
|
|
1202
1226
|
opacity: 0;
|
|
@@ -1610,6 +1634,11 @@ wui-data-table {
|
|
|
1610
1634
|
color: var(--wui-group-cell-color, var(--color-text));
|
|
1611
1635
|
text-align: start;
|
|
1612
1636
|
}
|
|
1637
|
+
.table-ledger > tbody > tr.wui-group-row > td {
|
|
1638
|
+
border-bottom: var(--wui-group-cell-border-bottom, 1px solid var(--color-border));
|
|
1639
|
+
background-color: var(--wui-group-cell-bg, var(--color-bg-muted));
|
|
1640
|
+
--bs-table-bg: var(--wui-group-cell-bg, var(--color-bg-muted));
|
|
1641
|
+
}
|
|
1613
1642
|
.table-ledger > tbody > tr.wui-group-row:hover {
|
|
1614
1643
|
--bs-table-bg-state: transparent;
|
|
1615
1644
|
}
|
|
@@ -1747,6 +1776,57 @@ wui-data-table {
|
|
|
1747
1776
|
white-space: normal;
|
|
1748
1777
|
}
|
|
1749
1778
|
|
|
1779
|
+
// The save status in a row's identity cell on a table with save labels (AppDataTable `saveLabels`, or
|
|
1780
|
+
// `save-labels` on <app-data-table>): a spinner while saving, a tick once saved, danger text when it failed.
|
|
1781
|
+
.wui-row-status {
|
|
1782
|
+
display: flex;
|
|
1783
|
+
align-items: center;
|
|
1784
|
+
gap: var(--wui-space-xs);
|
|
1785
|
+
margin-bottom: var(--wui-space-xxs);
|
|
1786
|
+
color: var(--color-text-muted);
|
|
1787
|
+
font-size: var(--wui-fs-xs);
|
|
1788
|
+
font-weight: 500;
|
|
1789
|
+
line-height: 1.35;
|
|
1790
|
+
}
|
|
1791
|
+
.wui-row-status::before {
|
|
1792
|
+
content: "";
|
|
1793
|
+
flex: none;
|
|
1794
|
+
box-sizing: border-box;
|
|
1795
|
+
width: 12px;
|
|
1796
|
+
height: 12px;
|
|
1797
|
+
border-radius: 50%;
|
|
1798
|
+
}
|
|
1799
|
+
.wui-row-status-saving::before {
|
|
1800
|
+
border: 2px solid var(--color-primary);
|
|
1801
|
+
border-inline-end-color: transparent;
|
|
1802
|
+
animation: wui-row-status-spin var(--wui-duration-slow) var(--wui-ease-linear) infinite;
|
|
1803
|
+
}
|
|
1804
|
+
.wui-row-status-saved {
|
|
1805
|
+
color: var(--color-success-text);
|
|
1806
|
+
}
|
|
1807
|
+
.wui-row-status-saved::before {
|
|
1808
|
+
width: 5px;
|
|
1809
|
+
height: 9px;
|
|
1810
|
+
margin-inline: 3px;
|
|
1811
|
+
border: solid currentColor;
|
|
1812
|
+
border-width: 0 2px 2px 0;
|
|
1813
|
+
border-radius: 0;
|
|
1814
|
+
transform: translateY(-1px) rotate(45deg);
|
|
1815
|
+
}
|
|
1816
|
+
.wui-row-status-error {
|
|
1817
|
+
color: var(--color-danger-text);
|
|
1818
|
+
}
|
|
1819
|
+
@keyframes wui-row-status-spin {
|
|
1820
|
+
to {
|
|
1821
|
+
transform: rotate(360deg);
|
|
1822
|
+
}
|
|
1823
|
+
}
|
|
1824
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1825
|
+
.wui-row-status-saving::before {
|
|
1826
|
+
animation: none;
|
|
1827
|
+
}
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1750
1830
|
@media (prefers-reduced-motion: reduce) {
|
|
1751
1831
|
.table-wrap.wui-table-scroll > .table-ledger > thead > tr > th {
|
|
1752
1832
|
transition: none;
|
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;
|