@webority/theme 0.150.0 → 0.152.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/dist/purge-safelist.json +20 -0
- package/dist/webority-theme.css +1 -1
- package/dist/webority-tokens.css +1 -1
- package/package.json +3 -2
- package/scss/_bootstrap.generated.scss +1 -1
- package/scss/_components.scss +138 -52
- package/scss/_marketing.scss +10 -10
- package/scss/_tokens.generated.scss +26 -1
- package/scss/wui/_calendar.scss +6 -6
- package/scss/wui/_card.scss +3 -3
- package/scss/wui/_carousel.scss +3 -3
- package/scss/wui/_chart.scss +4 -4
- package/scss/wui/_choice.scss +48 -43
- package/scss/wui/_command-palette.scss +2 -2
- package/scss/wui/_comment-thread.scss +2 -2
- package/scss/wui/_compare-table.scss +27 -0
- package/scss/wui/_controls.scss +50 -48
- package/scss/wui/_data.scss +26 -16
- package/scss/wui/_dialog-motion.scss +4 -4
- package/scss/wui/_disclosure.scss +4 -4
- package/scss/wui/_display.scss +37 -23
- package/scss/wui/_dock.scss +6 -6
- package/scss/wui/_drawer.scss +2 -2
- package/scss/wui/_field-busy.scss +1 -1
- package/scss/wui/_field-floor.scss +2 -1
- package/scss/wui/_file-viewer.scss +3 -3
- package/scss/wui/_flow.scss +15 -13
- package/scss/wui/_inline-edit.scss +2 -2
- package/scss/wui/_interaction.scss +1 -2
- package/scss/wui/_kanban.scss +16 -6
- package/scss/wui/_lightbox.scss +2 -2
- package/scss/wui/_media.scss +48 -48
- package/scss/wui/_modal-remote.scss +1 -1
- package/scss/wui/_navigation-menu.scss +1 -1
- package/scss/wui/_navigation.scss +68 -18
- package/scss/wui/_notification-center.scss +3 -3
- package/scss/wui/_onboarding-checklist.scss +1 -1
- package/scss/wui/_overlays.scss +28 -40
- package/scss/wui/_pagination.scss +4 -4
- package/scss/wui/_rating.scss +1 -1
- package/scss/wui/_resizable.scss +1 -1
- package/scss/wui/_rich-text.scss +4 -4
- package/scss/wui/_score-scale.scss +3 -3
- package/scss/wui/_sections.scss +2 -2
- package/scss/wui/_shell-parts.scss +53 -5
- package/scss/wui/_shell.scss +56 -57
- package/scss/wui/_sortable.scss +2 -2
- package/scss/wui/_split-view.scss +2 -2
- package/scss/wui/_table-server.scss +1 -1
- package/scss/wui/_theme-toggle.scss +1 -1
- package/scss/wui/_toolbar.scss +7 -7
- package/scss/wui/_tree.scss +3 -3
- package/scss/wui/_utilities.scss +29 -11
- package/scss/wui/_workspace.scss +2 -2
- package/scss/wui/tour/_end.scss +1 -1
- package/scss/wui/tour/_motion.scss +4 -4
- package/token-meanings.json +2 -0
package/scss/wui/_data.scss
CHANGED
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
white-space: nowrap;
|
|
69
69
|
vertical-align: middle;
|
|
70
70
|
transition:
|
|
71
|
-
background-color
|
|
72
|
-
color
|
|
71
|
+
background-color var(--wui-duration-fast) var(--wui-ease-ui),
|
|
72
|
+
color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
73
73
|
}
|
|
74
74
|
:where(.table) > tbody > tr > td,
|
|
75
75
|
:where(.table) > tbody > tr > th.wui-row-header {
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
border-bottom: var(--wui-table-row-divider-width) solid var(--color-border);
|
|
78
78
|
font-size: var(--wui-fs-xs);
|
|
79
79
|
vertical-align: middle;
|
|
80
|
-
transition: background-color
|
|
80
|
+
transition: background-color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
81
81
|
}
|
|
82
82
|
:where(.table) > tbody > tr:last-child > td,
|
|
83
83
|
:where(.table) > tbody > tr:last-child > th.wui-row-header {
|
|
@@ -128,8 +128,8 @@
|
|
|
128
128
|
color: var(--color-text-subtle);
|
|
129
129
|
cursor: pointer;
|
|
130
130
|
transition:
|
|
131
|
-
background-color
|
|
132
|
-
color
|
|
131
|
+
background-color var(--wui-duration-fast) var(--wui-ease-ui),
|
|
132
|
+
color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
133
133
|
}
|
|
134
134
|
.wui-expand-toggle:hover {
|
|
135
135
|
background: var(--color-bg-muted);
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
outline-offset: var(--wui-focus-ring-offset);
|
|
141
141
|
}
|
|
142
142
|
.wui-expand-toggle .wui-icon {
|
|
143
|
-
transition: transform
|
|
143
|
+
transition: transform var(--wui-duration-default) var(--wui-ease-out, ease);
|
|
144
144
|
}
|
|
145
145
|
.wui-expand-toggle.is-open .wui-icon {
|
|
146
146
|
transform: rotate(180deg);
|
|
@@ -344,6 +344,16 @@
|
|
|
344
344
|
.table-ledger.wui-table-compact .u-cell {
|
|
345
345
|
gap: 10px;
|
|
346
346
|
}
|
|
347
|
+
// A row's action controls fit the 40px cell (6px padding above and below), so a compact row with
|
|
348
|
+
// actions measures 41px with its rule instead of stretching to the 36px disc.
|
|
349
|
+
.table-ledger.wui-table-compact .u-row-actions .u-action {
|
|
350
|
+
width: min(var(--wui-action-size), 28px);
|
|
351
|
+
height: min(var(--wui-action-size), 28px);
|
|
352
|
+
}
|
|
353
|
+
.table-ledger.wui-table-compact .u-row-actions .topbar-icon-btn {
|
|
354
|
+
width: 28px;
|
|
355
|
+
height: 28px;
|
|
356
|
+
}
|
|
347
357
|
// Striped (`striped`): alternate-row shading in place of divider lines, on any density.
|
|
348
358
|
.table-ledger.wui-table-striped tbody td,
|
|
349
359
|
.table-ledger.wui-table-striped tbody th.wui-row-header {
|
|
@@ -1117,8 +1127,8 @@
|
|
|
1117
1127
|
color: var(--color-text-subtle);
|
|
1118
1128
|
cursor: pointer;
|
|
1119
1129
|
transition:
|
|
1120
|
-
background
|
|
1121
|
-
color
|
|
1130
|
+
background var(--wui-duration-fast) var(--wui-ease-ui),
|
|
1131
|
+
color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
1122
1132
|
position: relative;
|
|
1123
1133
|
}
|
|
1124
1134
|
// Touch pointers need a 44px minimum target. Grow the hit area, not the
|
|
@@ -1275,7 +1285,7 @@
|
|
|
1275
1285
|
margin-left: 6px;
|
|
1276
1286
|
color: var(--color-text-subtle);
|
|
1277
1287
|
opacity: 0;
|
|
1278
|
-
transition: opacity
|
|
1288
|
+
transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
|
|
1279
1289
|
}
|
|
1280
1290
|
// On a right-aligned (numeric) header the arrow leads the label, so the label ends flush with
|
|
1281
1291
|
// the values under it.
|
|
@@ -1343,7 +1353,7 @@ wui-data-table {
|
|
|
1343
1353
|
border-radius: 1px;
|
|
1344
1354
|
background: var(--color-border-strong);
|
|
1345
1355
|
opacity: 0;
|
|
1346
|
-
transition: opacity
|
|
1356
|
+
transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
|
|
1347
1357
|
}
|
|
1348
1358
|
.table-ledger thead th:hover > .wui-col-resize::after,
|
|
1349
1359
|
.wui-col-resize:focus-visible::after,
|
|
@@ -1402,7 +1412,7 @@ wui-data-table {
|
|
|
1402
1412
|
width: 8px;
|
|
1403
1413
|
pointer-events: none;
|
|
1404
1414
|
opacity: 0;
|
|
1405
|
-
transition: opacity
|
|
1415
|
+
transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
|
|
1406
1416
|
}
|
|
1407
1417
|
.table-ledger .wui-pin-start-edge::after {
|
|
1408
1418
|
inset-inline-start: 100%;
|
|
@@ -1477,7 +1487,7 @@ wui-data-table {
|
|
|
1477
1487
|
.wui-group-toggle .wui-icon {
|
|
1478
1488
|
flex: none;
|
|
1479
1489
|
color: var(--color-text-subtle);
|
|
1480
|
-
transition: transform
|
|
1490
|
+
transition: transform var(--wui-duration-fast) var(--wui-ease-ui);
|
|
1481
1491
|
}
|
|
1482
1492
|
.wui-group-toggle[aria-expanded="false"] .wui-icon {
|
|
1483
1493
|
transform: rotate(-90deg);
|
|
@@ -1529,9 +1539,9 @@ wui-data-table {
|
|
|
1529
1539
|
// paint (hover, sort), like the status bar, and takes no room, so nothing shifts.
|
|
1530
1540
|
.table-wrap.wui-table-scroll > .table-ledger > thead > tr > th {
|
|
1531
1541
|
transition:
|
|
1532
|
-
background-color
|
|
1533
|
-
color
|
|
1534
|
-
box-shadow
|
|
1542
|
+
background-color var(--wui-duration-fast) var(--wui-ease-ui),
|
|
1543
|
+
color var(--wui-duration-fast) var(--wui-ease-ui),
|
|
1544
|
+
box-shadow var(--wui-duration-fast) var(--wui-ease-ui);
|
|
1535
1545
|
}
|
|
1536
1546
|
.table-wrap.wui-table-scroll[data-wui-overflow-top] > .table-ledger > thead > tr > th {
|
|
1537
1547
|
box-shadow:
|
|
@@ -1567,7 +1577,7 @@ wui-data-table {
|
|
|
1567
1577
|
}
|
|
1568
1578
|
.table-ledger > tbody > tr[data-wui-save-state="saving"] > td:first-child,
|
|
1569
1579
|
.table-ledger > tbody > tr[data-wui-save-state="saving"] > th.wui-row-header:first-child {
|
|
1570
|
-
animation: wui-row-saving
|
|
1580
|
+
animation: wui-row-saving calc(var(--wui-duration-slow) * 3) var(--wui-ease-in-out) infinite;
|
|
1571
1581
|
}
|
|
1572
1582
|
@keyframes wui-row-saving {
|
|
1573
1583
|
50% {
|
|
@@ -42,20 +42,20 @@
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
:root:not([data-wui-dialog-motion="slide"]) .modal.show wui-status-icon > svg > rect:first-child {
|
|
45
|
-
animation: wui-dialog-icon-halo
|
|
45
|
+
animation: wui-dialog-icon-halo var(--wui-duration-default) var(--wui-ease-out) 0ms both;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
:root:not([data-wui-dialog-motion="slide"]) .modal.show wui-status-icon > svg > rect:nth-child(2) {
|
|
49
|
-
animation: wui-dialog-icon-ring
|
|
49
|
+
animation: wui-dialog-icon-ring var(--wui-duration-default) var(--wui-ease-out) var(--wui-duration-fast) both;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
:root:not([data-wui-dialog-motion="slide"]) .modal.show wui-status-icon > svg > g {
|
|
53
|
-
animation: wui-dialog-icon-core
|
|
53
|
+
animation: wui-dialog-icon-core var(--wui-duration-slow) var(--wui-ease-elastic) calc(var(--wui-duration-fast) * 1.75) both;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
// Raster tones get one beat because they have no parts to stage.
|
|
57
57
|
:root:not([data-wui-dialog-motion="slide"]) .modal.show wui-status-icon > img {
|
|
58
|
-
animation: wui-dialog-icon-raster
|
|
58
|
+
animation: wui-dialog-icon-raster var(--wui-duration-slow) var(--wui-ease-elastic) 0ms both;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
@keyframes wui-dialog-icon-halo {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
border: 1px solid var(--color-border);
|
|
27
27
|
background: var(--color-surface);
|
|
28
28
|
overflow: hidden;
|
|
29
|
-
transition: border-color
|
|
29
|
+
transition: border-color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
30
30
|
border-radius: var(--wui-field-md-radius);
|
|
31
31
|
}
|
|
32
32
|
.wui-accordion-item:hover:not(.open) {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
text-align: left;
|
|
52
52
|
color: var(--color-text);
|
|
53
53
|
cursor: pointer;
|
|
54
|
-
transition: color
|
|
54
|
+
transition: color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
55
55
|
}
|
|
56
56
|
.wui-accordion-trigger:hover {
|
|
57
57
|
color: var(--color-primary-text);
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
display: grid;
|
|
71
71
|
place-items: center;
|
|
72
72
|
color: var(--color-text-subtle);
|
|
73
|
-
transition: transform
|
|
73
|
+
transition: transform var(--wui-duration-default) var(--wui-ease-out);
|
|
74
74
|
}
|
|
75
75
|
.wui-accordion-item.open > .wui-accordion-trigger .wui-accordion-icon {
|
|
76
76
|
transform: rotate(180deg);
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
.wui-accordion-panel {
|
|
84
84
|
display: grid;
|
|
85
85
|
grid-template-rows: 0fr;
|
|
86
|
-
transition: grid-template-rows
|
|
86
|
+
transition: grid-template-rows var(--wui-duration-default) var(--wui-ease-out);
|
|
87
87
|
}
|
|
88
88
|
.wui-accordion-item.open > .wui-accordion-panel {
|
|
89
89
|
grid-template-rows: 1fr;
|
package/scss/wui/_display.scss
CHANGED
|
@@ -257,8 +257,8 @@ a.kpi {
|
|
|
257
257
|
text-decoration: none;
|
|
258
258
|
color: inherit;
|
|
259
259
|
transition:
|
|
260
|
-
box-shadow
|
|
261
|
-
transform
|
|
260
|
+
box-shadow var(--wui-duration-fast) var(--wui-ease-ui),
|
|
261
|
+
transform var(--wui-duration-fast) var(--wui-ease-ui);
|
|
262
262
|
}
|
|
263
263
|
a.kpi:hover {
|
|
264
264
|
box-shadow: var(--wui-shadow-card);
|
|
@@ -539,9 +539,9 @@ a.kpi:focus-visible {
|
|
|
539
539
|
color: var(--color-text-muted);
|
|
540
540
|
cursor: pointer;
|
|
541
541
|
transition:
|
|
542
|
-
background
|
|
543
|
-
color
|
|
544
|
-
transform
|
|
542
|
+
background var(--wui-duration-fast) var(--wui-ease-ui),
|
|
543
|
+
color var(--wui-duration-fast) var(--wui-ease-ui),
|
|
544
|
+
transform var(--wui-duration-fast) var(--wui-ease-ui);
|
|
545
545
|
}
|
|
546
546
|
// A quick press-in on click — a small, tactile "give".
|
|
547
547
|
.segmented-option:active {
|
|
@@ -620,8 +620,8 @@ a.kpi:focus-visible {
|
|
|
620
620
|
// at the first or last segment the ring crossed the track's edge mid-slide. Clipping the
|
|
621
621
|
// track instead is not an option: it would also clip the options' focus outline.
|
|
622
622
|
transition:
|
|
623
|
-
transform
|
|
624
|
-
width
|
|
623
|
+
transform var(--wui-duration-default) var(--wui-ease-out),
|
|
624
|
+
width var(--wui-duration-default) var(--wui-ease-out);
|
|
625
625
|
}
|
|
626
626
|
// While the thumb draws the pill, the checked option drops its own (keeps the primary label).
|
|
627
627
|
.segmented.is-animated .segmented-option:has(.segmented-input:checked) {
|
|
@@ -646,7 +646,7 @@ a.kpi:focus-visible {
|
|
|
646
646
|
// Icon pop — the selected segment's glyph springs up a touch as it becomes active.
|
|
647
647
|
.segmented-option:has(.segmented-input:checked) .wui-icon {
|
|
648
648
|
transform: scale(1.14);
|
|
649
|
-
transition: transform
|
|
649
|
+
transition: transform var(--wui-duration-default) var(--wui-ease-elastic);
|
|
650
650
|
}
|
|
651
651
|
.segmented-sm .segmented-thumb,
|
|
652
652
|
.segmented-lg .segmented-thumb {
|
|
@@ -1317,8 +1317,8 @@ a.kpi:focus-visible {
|
|
|
1317
1317
|
color: inherit;
|
|
1318
1318
|
text-decoration: none;
|
|
1319
1319
|
transition:
|
|
1320
|
-
border-color
|
|
1321
|
-
background
|
|
1320
|
+
border-color var(--wui-duration-default) var(--wui-ease-out),
|
|
1321
|
+
background var(--wui-duration-default) var(--wui-ease-out);
|
|
1322
1322
|
}
|
|
1323
1323
|
.res-card,
|
|
1324
1324
|
.res-card:hover {
|
|
@@ -1341,7 +1341,7 @@ a.kpi:focus-visible {
|
|
|
1341
1341
|
border-radius: 999px;
|
|
1342
1342
|
background: var(--color-primary-soft);
|
|
1343
1343
|
color: var(--color-primary-text);
|
|
1344
|
-
transition: background
|
|
1344
|
+
transition: background var(--wui-duration-default) var(--wui-ease-out);
|
|
1345
1345
|
}
|
|
1346
1346
|
// On hover the card takes the soft tint, so the icon inverts to the surface
|
|
1347
1347
|
// colour to stay distinct from it.
|
|
@@ -1360,7 +1360,7 @@ a.kpi:focus-visible {
|
|
|
1360
1360
|
font-weight: 600;
|
|
1361
1361
|
line-height: 1.4;
|
|
1362
1362
|
color: var(--color-text);
|
|
1363
|
-
transition: color
|
|
1363
|
+
transition: color var(--wui-duration-default) var(--wui-ease-out);
|
|
1364
1364
|
}
|
|
1365
1365
|
.res-card:hover .res-card-title {
|
|
1366
1366
|
color: var(--color-primary-text);
|
|
@@ -1489,7 +1489,7 @@ a.kpi:focus-visible {
|
|
|
1489
1489
|
font-weight: 500;
|
|
1490
1490
|
cursor: pointer;
|
|
1491
1491
|
border-radius: 4px;
|
|
1492
|
-
transition: color
|
|
1492
|
+
transition: color var(--wui-duration-default) var(--wui-ease-out);
|
|
1493
1493
|
}
|
|
1494
1494
|
// AppLink drawn as a button (linkComponent="button") must read as the anchors beside it,
|
|
1495
1495
|
// so the browser's button chrome is cleared. Size and weight still come from the link.
|
|
@@ -1572,7 +1572,7 @@ button.wui-link {
|
|
|
1572
1572
|
background: currentColor;
|
|
1573
1573
|
transform: scaleX(0);
|
|
1574
1574
|
transform-origin: left center;
|
|
1575
|
-
transition: transform
|
|
1575
|
+
transition: transform var(--wui-duration-slow) var(--wui-ease-out);
|
|
1576
1576
|
}
|
|
1577
1577
|
.wui-link--underline-center .wui-link__label::after {
|
|
1578
1578
|
transform-origin: center;
|
|
@@ -1586,7 +1586,7 @@ button.wui-link {
|
|
|
1586
1586
|
|
|
1587
1587
|
// slide — the whole link (label + icons) nudges to the right.
|
|
1588
1588
|
.wui-link--slide {
|
|
1589
|
-
transition: color
|
|
1589
|
+
transition: color var(--wui-duration-default) var(--wui-ease-out), transform var(--wui-duration-default) var(--wui-ease-out);
|
|
1590
1590
|
}
|
|
1591
1591
|
.wui-link--slide:hover,
|
|
1592
1592
|
.wui-link--slide:focus-visible {
|
|
@@ -1598,7 +1598,7 @@ button.wui-link {
|
|
|
1598
1598
|
margin-inline-start: -0.2em;
|
|
1599
1599
|
opacity: 0;
|
|
1600
1600
|
transform: translateX(-4px);
|
|
1601
|
-
transition: opacity
|
|
1601
|
+
transition: opacity var(--wui-duration-default) var(--wui-ease-out), transform var(--wui-duration-default) var(--wui-ease-out), margin var(--wui-duration-default) var(--wui-ease-out);
|
|
1602
1602
|
}
|
|
1603
1603
|
.wui-link--icon:hover .wui-link__ic--right,
|
|
1604
1604
|
.wui-link--icon:focus-visible .wui-link__ic--right {
|
|
@@ -1607,6 +1607,15 @@ button.wui-link {
|
|
|
1607
1607
|
transform: translateX(2px);
|
|
1608
1608
|
}
|
|
1609
1609
|
|
|
1610
|
+
// rotate — the trailing icon turns a quarter-eighth turn on hover and focus.
|
|
1611
|
+
.wui-link--rotate .wui-link__ic--right {
|
|
1612
|
+
transition: transform var(--wui-duration-default) var(--wui-ease-out);
|
|
1613
|
+
}
|
|
1614
|
+
.wui-link--rotate:hover .wui-link__ic--right,
|
|
1615
|
+
.wui-link--rotate:focus-visible .wui-link__ic--right {
|
|
1616
|
+
transform: rotate(45deg);
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1610
1619
|
// highlight — a tinted background wipes across behind the label.
|
|
1611
1620
|
.wui-link--highlight .wui-link__label::before {
|
|
1612
1621
|
content: "";
|
|
@@ -1617,7 +1626,7 @@ button.wui-link {
|
|
|
1617
1626
|
background: var(--color-primary-soft);
|
|
1618
1627
|
transform: scaleX(0);
|
|
1619
1628
|
transform-origin: left center;
|
|
1620
|
-
transition: transform
|
|
1629
|
+
transition: transform var(--wui-duration-default) var(--wui-ease-out);
|
|
1621
1630
|
}
|
|
1622
1631
|
.wui-link--highlight:hover .wui-link__label::before,
|
|
1623
1632
|
.wui-link--highlight:focus-visible .wui-link__label::before {
|
|
@@ -1633,7 +1642,7 @@ button.wui-link {
|
|
|
1633
1642
|
position: absolute;
|
|
1634
1643
|
top: 0;
|
|
1635
1644
|
opacity: 0;
|
|
1636
|
-
transition: opacity
|
|
1645
|
+
transition: opacity var(--wui-duration-default) var(--wui-ease-out), transform var(--wui-duration-default) var(--wui-ease-out);
|
|
1637
1646
|
}
|
|
1638
1647
|
.wui-link--bracket .wui-link__label::before {
|
|
1639
1648
|
content: "[";
|
|
@@ -1672,7 +1681,7 @@ button.wui-link {
|
|
|
1672
1681
|
}
|
|
1673
1682
|
.wui-link--static:hover .wui-link__label::after,
|
|
1674
1683
|
.wui-link--static:focus-visible .wui-link__label::after {
|
|
1675
|
-
animation: wui-link-underline-slide
|
|
1684
|
+
animation: wui-link-underline-slide var(--wui-duration-slow) var(--wui-ease-out);
|
|
1676
1685
|
}
|
|
1677
1686
|
@keyframes wui-link-underline-slide {
|
|
1678
1687
|
from {
|
|
@@ -1685,7 +1694,7 @@ button.wui-link {
|
|
|
1685
1694
|
|
|
1686
1695
|
// grow — the label's letters open up on hover.
|
|
1687
1696
|
.wui-link--grow {
|
|
1688
|
-
transition: color
|
|
1697
|
+
transition: color var(--wui-duration-default) var(--wui-ease-out), letter-spacing var(--wui-duration-default) var(--wui-ease-out);
|
|
1689
1698
|
}
|
|
1690
1699
|
.wui-link--grow:hover,
|
|
1691
1700
|
.wui-link--grow:focus-visible {
|
|
@@ -1694,7 +1703,7 @@ button.wui-link {
|
|
|
1694
1703
|
|
|
1695
1704
|
// glow — a soft accent glow blooms behind the text on hover.
|
|
1696
1705
|
.wui-link--glow {
|
|
1697
|
-
transition: color
|
|
1706
|
+
transition: color var(--wui-duration-default) var(--wui-ease-out), text-shadow var(--wui-duration-default) var(--wui-ease-out);
|
|
1698
1707
|
}
|
|
1699
1708
|
.wui-link--glow:hover,
|
|
1700
1709
|
.wui-link--glow:focus-visible {
|
|
@@ -1723,7 +1732,7 @@ button.wui-link {
|
|
|
1723
1732
|
}
|
|
1724
1733
|
.wui-link--shine:hover .wui-link__label,
|
|
1725
1734
|
.wui-link--shine:focus-visible .wui-link__label {
|
|
1726
|
-
animation: wui-link-shine
|
|
1735
|
+
animation: wui-link-shine calc(var(--wui-duration-slow) * 2) var(--wui-ease-out);
|
|
1727
1736
|
}
|
|
1728
1737
|
@keyframes wui-link-shine {
|
|
1729
1738
|
from {
|
|
@@ -1744,7 +1753,8 @@ button.wui-link {
|
|
|
1744
1753
|
.wui-link--slide,
|
|
1745
1754
|
.wui-link__label::after,
|
|
1746
1755
|
.wui-link__label::before,
|
|
1747
|
-
.wui-link--icon .wui-link__ic--right
|
|
1756
|
+
.wui-link--icon .wui-link__ic--right,
|
|
1757
|
+
.wui-link--rotate .wui-link__ic--right {
|
|
1748
1758
|
transition: none;
|
|
1749
1759
|
}
|
|
1750
1760
|
// Animated underlines settle to a visible static line rather than a hidden one.
|
|
@@ -1766,6 +1776,10 @@ button.wui-link {
|
|
|
1766
1776
|
transform: none;
|
|
1767
1777
|
margin-inline-start: 0;
|
|
1768
1778
|
}
|
|
1779
|
+
.wui-link--rotate:hover .wui-link__ic--right,
|
|
1780
|
+
.wui-link--rotate:focus-visible .wui-link__ic--right {
|
|
1781
|
+
transform: none;
|
|
1782
|
+
}
|
|
1769
1783
|
.wui-link--highlight:hover .wui-link__label::before,
|
|
1770
1784
|
.wui-link--highlight:focus-visible .wui-link__label::before {
|
|
1771
1785
|
transform: none;
|
package/scss/wui/_dock.scss
CHANGED
|
@@ -38,10 +38,10 @@ wui-dock {
|
|
|
38
38
|
// Smooths the snap-back when the pointer leaves; during tracking the element
|
|
39
39
|
// updates per frame, so the short transition just softens the steps.
|
|
40
40
|
transition:
|
|
41
|
-
width
|
|
42
|
-
height
|
|
43
|
-
background-color
|
|
44
|
-
color
|
|
41
|
+
width var(--wui-duration-fast) var(--wui-ease-ui),
|
|
42
|
+
height var(--wui-duration-fast) var(--wui-ease-ui),
|
|
43
|
+
background-color var(--wui-duration-fast) var(--wui-ease-ui),
|
|
44
|
+
color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
45
45
|
}
|
|
46
46
|
.dock-item:hover,
|
|
47
47
|
.dock-item:focus-visible {
|
|
@@ -84,8 +84,8 @@ wui-dock {
|
|
|
84
84
|
pointer-events: none;
|
|
85
85
|
opacity: 0;
|
|
86
86
|
transition:
|
|
87
|
-
opacity
|
|
88
|
-
translate
|
|
87
|
+
opacity var(--wui-duration-fast) var(--wui-ease-ui),
|
|
88
|
+
translate var(--wui-duration-fast) var(--wui-ease-ui);
|
|
89
89
|
z-index: var(--wui-z-tooltip);
|
|
90
90
|
}
|
|
91
91
|
.dock-item:hover .dock-item-tip,
|
package/scss/wui/_drawer.scss
CHANGED
|
@@ -234,13 +234,13 @@ body.wui-drawer-locked {
|
|
|
234
234
|
|
|
235
235
|
@media (prefers-reduced-motion: no-preference) {
|
|
236
236
|
.wui-drawer {
|
|
237
|
-
transition: visibility 0s linear var(--wui-drawer-duration);
|
|
237
|
+
transition: visibility 0s var(--wui-ease-linear) var(--wui-drawer-duration);
|
|
238
238
|
}
|
|
239
239
|
.wui-drawer[open] {
|
|
240
240
|
transition-delay: 0s;
|
|
241
241
|
}
|
|
242
242
|
.wui-drawer-backdrop {
|
|
243
|
-
transition: opacity var(--wui-drawer-duration) ease;
|
|
243
|
+
transition: opacity var(--wui-drawer-duration) var(--wui-ease-ui);
|
|
244
244
|
}
|
|
245
245
|
.wui-drawer-panel {
|
|
246
246
|
transition: transform var(--wui-drawer-duration) var(--wui-ease-ui);
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
background-image:
|
|
28
28
|
radial-gradient(circle, var(--color-surface) 0 5px, transparent 5.5px),
|
|
29
29
|
conic-gradient(from var(--wui-busy-angle), transparent 0 30%, var(--color-primary) 30% 100%);
|
|
30
|
-
animation: wui-field-busy-spin
|
|
30
|
+
animation: wui-field-busy-spin calc(var(--wui-duration-slow) * 2) var(--wui-ease-linear) infinite;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -212,9 +212,9 @@ wui-file-viewer:fullscreen {
|
|
|
212
212
|
border-right: 1px solid transparent;
|
|
213
213
|
opacity: 0;
|
|
214
214
|
transition:
|
|
215
|
-
width
|
|
216
|
-
padding
|
|
217
|
-
opacity
|
|
215
|
+
width var(--wui-duration-default) var(--wui-ease-ui),
|
|
216
|
+
padding var(--wui-duration-default) var(--wui-ease-ui),
|
|
217
|
+
opacity var(--wui-duration-default) var(--wui-ease-ui) calc(var(--wui-duration-fast) * 0.25);
|
|
218
218
|
}
|
|
219
219
|
.wui-file-viewer-thumbs.open {
|
|
220
220
|
width: 210px;
|
package/scss/wui/_flow.scss
CHANGED
|
@@ -236,9 +236,9 @@ button.step.done:focus-visible .step-circle {
|
|
|
236
236
|
font-size: var(--wui-step-number-font, 13px);
|
|
237
237
|
font-weight: 700;
|
|
238
238
|
transition:
|
|
239
|
-
background
|
|
240
|
-
color
|
|
241
|
-
transform
|
|
239
|
+
background var(--wui-duration-default) var(--wui-ease-ui),
|
|
240
|
+
color var(--wui-duration-default) var(--wui-ease-ui),
|
|
241
|
+
transform var(--wui-duration-default) var(--wui-ease-ui);
|
|
242
242
|
}
|
|
243
243
|
.stepper-journey .step.done .step-circle {
|
|
244
244
|
background: var(--wui-step-done-soft, var(--wui-step-soft, var(--color-primary-soft)));
|
|
@@ -437,9 +437,9 @@ button.step.done:focus-visible .step-circle {
|
|
|
437
437
|
color: var(--color-text-subtle);
|
|
438
438
|
font-size: var(--wui-step-number-font, 22px);
|
|
439
439
|
transition:
|
|
440
|
-
background
|
|
441
|
-
color
|
|
442
|
-
transform
|
|
440
|
+
background var(--wui-duration-default) var(--wui-ease-ui),
|
|
441
|
+
color var(--wui-duration-default) var(--wui-ease-ui),
|
|
442
|
+
transform var(--wui-duration-default) var(--wui-ease-ui);
|
|
443
443
|
}
|
|
444
444
|
// Like every variant, the icons stepper defaults to the brand primary — a solid-primary
|
|
445
445
|
// active badge, a soft-primary done badge, a primary rail. Every colour routes through the
|
|
@@ -891,9 +891,9 @@ button.wui-step-tile-body:hover .step-label {
|
|
|
891
891
|
corner-shape: squircle;
|
|
892
892
|
background: var(--color-surface);
|
|
893
893
|
transition:
|
|
894
|
-
border-color
|
|
895
|
-
box-shadow
|
|
896
|
-
transform
|
|
894
|
+
border-color var(--wui-duration-fast) var(--wui-ease-ui),
|
|
895
|
+
box-shadow var(--wui-duration-fast) var(--wui-ease-ui),
|
|
896
|
+
transform var(--wui-duration-fast) var(--wui-ease-ui);
|
|
897
897
|
}
|
|
898
898
|
.plan-card:hover {
|
|
899
899
|
border-color: var(--color-border-strong);
|
|
@@ -1135,10 +1135,11 @@ button.wui-step-tile-body:hover .step-label {
|
|
|
1135
1135
|
line-height: 1.4;
|
|
1136
1136
|
color: var(--color-text-muted);
|
|
1137
1137
|
}
|
|
1138
|
+
// --wui-form-gap (default 16px) sets the gap between rows and between fields in a row; 0 lets the reserved message line be the only space.
|
|
1138
1139
|
.form-section-body {
|
|
1139
1140
|
display: flex;
|
|
1140
1141
|
flex-direction: column;
|
|
1141
|
-
gap: var(--wui-space-lg);
|
|
1142
|
+
gap: var(--wui-form-gap, var(--wui-space-lg));
|
|
1142
1143
|
}
|
|
1143
1144
|
|
|
1144
1145
|
// layout="side": the title and description take a column beside the fields. Below lg the
|
|
@@ -1179,6 +1180,7 @@ button.wui-step-tile-body:hover .step-label {
|
|
|
1179
1180
|
// Centres the label's first line on the control beside it, at any control height.
|
|
1180
1181
|
.wui-form-labels-start .field > .label {
|
|
1181
1182
|
grid-column: 1;
|
|
1183
|
+
margin-bottom: 0;
|
|
1182
1184
|
padding-top: calc((var(--wui-control-md) - 1.2em) / 2);
|
|
1183
1185
|
}
|
|
1184
1186
|
.wui-form-labels-start .field > :not(.label) {
|
|
@@ -1204,7 +1206,7 @@ button.wui-step-tile-body:hover .step-label {
|
|
|
1204
1206
|
.form-row-grid {
|
|
1205
1207
|
display: grid;
|
|
1206
1208
|
grid-template-columns: repeat(var(--form-cols, 2), minmax(0, 1fr));
|
|
1207
|
-
gap: 16px;
|
|
1209
|
+
gap: var(--wui-form-gap, 16px);
|
|
1208
1210
|
align-items: start;
|
|
1209
1211
|
// In a form row every field fills its column, so a date picker drops its compact standalone
|
|
1210
1212
|
// width here and lines up with the fields beside it. A .date-w-* class on the field still wins.
|
|
@@ -1349,8 +1351,8 @@ wui-wizard-step[hidden] {
|
|
|
1349
1351
|
color: var(--color-text-muted);
|
|
1350
1352
|
cursor: pointer;
|
|
1351
1353
|
transition:
|
|
1352
|
-
background-color
|
|
1353
|
-
color
|
|
1354
|
+
background-color var(--wui-duration-fast) var(--wui-ease-ui),
|
|
1355
|
+
color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
1354
1356
|
}
|
|
1355
1357
|
.wui-wizard-topbar-close:hover {
|
|
1356
1358
|
background: var(--color-bg-muted);
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
font: inherit;
|
|
38
38
|
text-align: start;
|
|
39
39
|
cursor: pointer;
|
|
40
|
-
transition: background-color
|
|
40
|
+
transition: background-color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
41
41
|
}
|
|
42
42
|
.wui-inline-edit-display[hidden] {
|
|
43
43
|
display: none;
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
flex: none;
|
|
77
77
|
color: var(--color-text-subtle);
|
|
78
78
|
opacity: 0;
|
|
79
|
-
transition: opacity
|
|
79
|
+
transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
|
|
80
80
|
}
|
|
81
81
|
.wui-inline-edit-display:hover .wui-inline-edit-icon,
|
|
82
82
|
.wui-inline-edit-display:focus-visible .wui-inline-edit-icon {
|
|
@@ -209,7 +209,6 @@ html:has(.form-actions-sticky) {
|
|
|
209
209
|
.card-clickable,
|
|
210
210
|
.res-card,
|
|
211
211
|
a.kpi,
|
|
212
|
-
.struct-card,
|
|
213
212
|
.avatar-clickable,
|
|
214
213
|
.attach-drop,
|
|
215
214
|
.logo-dropzone,
|
|
@@ -229,7 +228,7 @@ html:has(.form-actions-sticky) {
|
|
|
229
228
|
@media (prefers-reduced-motion: no-preference) {
|
|
230
229
|
.wui-rating-input:not([disabled]) .wui-rating-star:active {
|
|
231
230
|
transform: scale(var(--wui-press-scale));
|
|
232
|
-
transition: transform var(--wui-press-duration) ease-out;
|
|
231
|
+
transition: transform var(--wui-press-duration) var(--wui-ease-out);
|
|
233
232
|
}
|
|
234
233
|
}
|
|
235
234
|
|
package/scss/wui/_kanban.scss
CHANGED
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
border: 1px solid var(--color-border);
|
|
71
71
|
border-radius: var(--wui-radius-lg);
|
|
72
72
|
transition:
|
|
73
|
-
background-color
|
|
74
|
-
border-color
|
|
73
|
+
background-color var(--wui-duration-fast) var(--wui-ease-ui),
|
|
74
|
+
border-color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
// ── Column head ──
|
|
@@ -152,6 +152,16 @@
|
|
|
152
152
|
.wui-kanban[data-head-layout="stacked"] .wui-kanban-title {
|
|
153
153
|
flex: 1 0 100%;
|
|
154
154
|
}
|
|
155
|
+
// head-truncate: a long stage name keeps one line and ends in an ellipsis, so fixed-width columns keep their cards in line.
|
|
156
|
+
.wui-kanban[data-head-truncate] .wui-kanban-column:not([data-collapsed]) .wui-kanban-head {
|
|
157
|
+
flex-wrap: nowrap;
|
|
158
|
+
}
|
|
159
|
+
.wui-kanban[data-head-truncate] .wui-kanban-column:not([data-collapsed]) .wui-kanban-title {
|
|
160
|
+
white-space: nowrap;
|
|
161
|
+
overflow: hidden;
|
|
162
|
+
text-overflow: ellipsis;
|
|
163
|
+
overflow-wrap: normal;
|
|
164
|
+
}
|
|
155
165
|
|
|
156
166
|
// The page's own controls at the right of the column head (a "+" that adds a card, say). They sit
|
|
157
167
|
// before the collapse button, which then gives up its auto margin.
|
|
@@ -192,7 +202,7 @@
|
|
|
192
202
|
margin-inline-start: auto;
|
|
193
203
|
|
|
194
204
|
svg {
|
|
195
|
-
transition: transform
|
|
205
|
+
transition: transform var(--wui-duration-fast) var(--wui-ease-ui);
|
|
196
206
|
}
|
|
197
207
|
}
|
|
198
208
|
// The column itself is the muted fill, so hover lifts to the surface.
|
|
@@ -258,8 +268,8 @@
|
|
|
258
268
|
user-select: none;
|
|
259
269
|
-webkit-user-select: none;
|
|
260
270
|
transition:
|
|
261
|
-
box-shadow
|
|
262
|
-
opacity
|
|
271
|
+
box-shadow var(--wui-duration-fast) var(--wui-ease-ui),
|
|
272
|
+
opacity var(--wui-duration-fast) var(--wui-ease-ui);
|
|
263
273
|
}
|
|
264
274
|
.wui-kanban-card:hover {
|
|
265
275
|
border-color: var(--color-border-strong);
|
|
@@ -350,7 +360,7 @@
|
|
|
350
360
|
border-radius: 0 0 var(--wui-radius-md) var(--wui-radius-md);
|
|
351
361
|
background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
|
|
352
362
|
background-size: 200% 100%;
|
|
353
|
-
animation: wui-kanban-saving
|
|
363
|
+
animation: wui-kanban-saving calc(var(--wui-duration-slow) * 3) var(--wui-ease-linear) infinite;
|
|
354
364
|
}
|
|
355
365
|
@keyframes wui-kanban-saving {
|
|
356
366
|
from {
|
package/scss/wui/_lightbox.scss
CHANGED
|
@@ -69,10 +69,10 @@
|
|
|
69
69
|
}
|
|
70
70
|
@media (prefers-reduced-motion: no-preference) {
|
|
71
71
|
.wui-lightbox-overlay {
|
|
72
|
-
animation: wui-lightbox-in
|
|
72
|
+
animation: wui-lightbox-in var(--wui-duration-fast) var(--wui-ease-out);
|
|
73
73
|
}
|
|
74
74
|
.wui-lightbox-image {
|
|
75
|
-
transition: transform
|
|
75
|
+
transition: transform var(--wui-duration-fast) var(--wui-ease-out);
|
|
76
76
|
}
|
|
77
77
|
.wui-lightbox-stage.is-dragging .wui-lightbox-image {
|
|
78
78
|
transition: none;
|