@webority/theme 0.150.0 → 0.153.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 +52 -17
- package/dist/purge-safelist.json +20 -0
- package/dist/webority-theme.css +1 -1
- package/dist/webority-tokens.css +1 -1
- package/index.scss +11 -13
- package/package.json +3 -2
- package/scss/_bootstrap-css.scss +40 -0
- package/scss/_bootstrap.generated.scss +1 -2
- package/scss/_components.scss +157 -55
- package/scss/_config.scss +16 -0
- package/scss/_marketing.scss +15 -15
- package/scss/_tokens.generated.scss +26 -1
- package/scss/_tokens.scss +3 -3
- package/scss/_variables.scss +13 -35
- package/scss/_wui-components.scss +91 -95
- package/scss/_wui-core.scss +80 -84
- package/scss/wui/_account-switcher.scss +2 -0
- package/scss/wui/_auth-layout.scss +2 -0
- package/scss/wui/_avatar-picker.scss +2 -0
- package/scss/wui/_calendar.scss +8 -6
- package/scss/wui/_card-options.scss +2 -0
- package/scss/wui/_card.scss +6 -4
- package/scss/wui/_carousel.scss +5 -3
- package/scss/wui/_cell.scss +2 -0
- package/scss/wui/_chart-card.scss +2 -0
- package/scss/wui/_chart.scss +6 -4
- package/scss/wui/_choice.scss +50 -43
- package/scss/wui/_code-block.scss +2 -0
- package/scss/wui/_command-palette.scss +4 -2
- package/scss/wui/_comment-thread.scss +4 -2
- package/scss/wui/_compare-table.scss +29 -0
- package/scss/wui/_consent-banner.scss +2 -0
- package/scss/wui/_context-menu.scss +2 -0
- package/scss/wui/_controls.scss +53 -51
- package/scss/wui/_data.scss +28 -16
- package/scss/wui/_detail-pane.scss +2 -0
- package/scss/wui/_dialog-motion.scss +6 -4
- package/scss/wui/_disclosure.scss +6 -4
- package/scss/wui/_display.scss +39 -23
- package/scss/wui/_dock.scss +8 -6
- package/scss/wui/_drawer.scss +4 -2
- package/scss/wui/_due-date.scss +2 -0
- package/scss/wui/_empty-state.scss +2 -0
- package/scss/wui/_field-busy.scss +3 -1
- package/scss/wui/_field-floor.scss +4 -1
- package/scss/wui/_field-sizes.scss +2 -0
- package/scss/wui/_file-tiles.scss +2 -0
- package/scss/wui/_file-viewer.scss +9 -5
- package/scss/wui/_filter-popover.scss +2 -0
- package/scss/wui/_floating.scss +2 -0
- package/scss/wui/_flow.scss +17 -13
- package/scss/wui/_groups.scss +2 -0
- package/scss/wui/_hover-card.scss +2 -0
- package/scss/wui/_illustration.scss +2 -0
- package/scss/wui/_image-crop.scss +2 -0
- package/scss/wui/_inline-edit.scss +4 -2
- package/scss/wui/_interaction.scss +3 -2
- package/scss/wui/_kanban.scss +18 -6
- package/scss/wui/_lightbox.scss +4 -2
- package/scss/wui/_list-card.scss +2 -0
- package/scss/wui/_markdown.scss +4 -1
- package/scss/wui/_media.scss +50 -48
- package/scss/wui/_mention-input.scss +2 -0
- package/scss/wui/_menu-motion.scss +2 -0
- package/scss/wui/_metric-strip.scss +2 -0
- package/scss/wui/_modal-remote.scss +3 -1
- package/scss/wui/_money.scss +2 -0
- package/scss/wui/_nav-list.scss +2 -0
- package/scss/wui/_navigation-menu.scss +3 -1
- package/scss/wui/_navigation.scss +70 -18
- package/scss/wui/_notification-center.scss +5 -3
- package/scss/wui/_onboarding-checklist.scss +3 -1
- package/scss/wui/_org-tree.scss +2 -0
- package/scss/wui/_overlays.scss +30 -40
- package/scss/wui/_page-header-bar.scss +2 -0
- package/scss/wui/_pagination.scss +6 -4
- package/scss/wui/_pending.scss +2 -0
- package/scss/wui/_period-picker.scss +2 -0
- package/scss/wui/_rating.scss +3 -1
- package/scss/wui/_record-pager.scss +2 -0
- package/scss/wui/_relative-time.scss +2 -0
- package/scss/wui/_resizable.scss +3 -1
- package/scss/wui/_rich-text.scss +13 -7
- package/scss/wui/_rolling-number.scss +2 -0
- package/scss/wui/_score-scale.scss +5 -3
- package/scss/wui/_scrollbar.scss +2 -0
- package/scss/wui/_section-lead-capture.scss +2 -0
- package/scss/wui/_sections.scss +5 -2
- package/scss/wui/_select.scss +2 -0
- package/scss/wui/_shell-parts.scss +55 -5
- package/scss/wui/_shell.scss +58 -57
- package/scss/wui/_shortcuts.scss +2 -0
- package/scss/wui/_show-more.scss +2 -0
- package/scss/wui/_sortable.scss +4 -2
- package/scss/wui/_split-view.scss +4 -2
- package/scss/wui/_support.scss +2 -0
- package/scss/wui/_table-server.scss +3 -1
- package/scss/wui/_theme-toggle.scss +3 -1
- package/scss/wui/_tone-pill.scss +2 -0
- package/scss/wui/_toolbar.scss +9 -7
- package/scss/wui/_tour.scss +9 -9
- package/scss/wui/_tree.scss +5 -3
- package/scss/wui/_truncate.scss +2 -0
- package/scss/wui/_typography.scss +3 -0
- package/scss/wui/_utilities.scss +31 -11
- package/scss/wui/_whats-new.scss +2 -0
- package/scss/wui/_workspace.scss +4 -2
- package/scss/wui/tour/_advance.scss +2 -0
- package/scss/wui/tour/_base.scss +2 -0
- package/scss/wui/tour/_end.scss +3 -1
- package/scss/wui/tour/_media.scss +2 -0
- package/scss/wui/tour/_motion.scss +6 -4
- package/scss/wui/tour/_placement.scss +2 -0
- package/scss/wui/tour/_progress.scss +2 -0
- package/token-meanings.json +2 -0
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "../config" as *;
|
|
2
|
+
|
|
1
3
|
// Drawer / sidebar menu, tabs, search field.
|
|
2
4
|
//
|
|
3
5
|
// Part of the wui-components layer — see _wui-components.scss for the whole
|
|
@@ -18,7 +20,7 @@
|
|
|
18
20
|
// the modal ladder, so this panel is never trapped under sticky/fixed shell chrome.
|
|
19
21
|
z-index: var(--wui-z-shell-drawer);
|
|
20
22
|
transform: translateX(100%);
|
|
21
|
-
transition: transform
|
|
23
|
+
transition: transform var(--wui-duration-default) var(--wui-ease-in-out);
|
|
22
24
|
display: flex;
|
|
23
25
|
flex-direction: column;
|
|
24
26
|
}
|
|
@@ -31,7 +33,7 @@
|
|
|
31
33
|
background: var(--color-scrim);
|
|
32
34
|
opacity: 0;
|
|
33
35
|
pointer-events: none;
|
|
34
|
-
transition: opacity
|
|
36
|
+
transition: opacity var(--wui-duration-default) var(--wui-ease-ui);
|
|
35
37
|
z-index: var(--wui-z-shell-scrim);
|
|
36
38
|
}
|
|
37
39
|
.drawer-backdrop.open {
|
|
@@ -168,8 +170,8 @@
|
|
|
168
170
|
// reads as a heavy grey block; half of it still answers the press.
|
|
169
171
|
--wui-pressed-overlay: color-mix(in srgb, currentColor 6%, transparent);
|
|
170
172
|
transition:
|
|
171
|
-
color
|
|
172
|
-
border-color
|
|
173
|
+
color var(--wui-duration-fast) var(--wui-ease-ui),
|
|
174
|
+
border-color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
173
175
|
}
|
|
174
176
|
// Leading icon / image — sit before the label with the strip's 8px gap (from .app-tab).
|
|
175
177
|
// The library Icon sizes itself; a custom <img> is constrained to a small rounded square
|
|
@@ -280,9 +282,9 @@
|
|
|
280
282
|
// clip would shear off its rounded corner. A decelerating slide reaches the tab exactly and
|
|
281
283
|
// never crosses the edge, so the radius is always intact.
|
|
282
284
|
transition:
|
|
283
|
-
transform
|
|
284
|
-
width
|
|
285
|
-
opacity
|
|
285
|
+
transform var(--wui-duration-slow) var(--wui-ease-out),
|
|
286
|
+
width var(--wui-duration-slow) var(--wui-ease-out),
|
|
287
|
+
opacity var(--wui-duration-fast) var(--wui-ease-ui);
|
|
286
288
|
}
|
|
287
289
|
.app-tabs[data-wui-tabs] .app-tab-indicator {
|
|
288
290
|
opacity: 1;
|
|
@@ -440,9 +442,9 @@
|
|
|
440
442
|
height: var(--wui-tab-h, 0);
|
|
441
443
|
transform: translateY(var(--wui-tab-y, 0));
|
|
442
444
|
transition:
|
|
443
|
-
transform
|
|
444
|
-
height
|
|
445
|
-
opacity
|
|
445
|
+
transform var(--wui-duration-slow) var(--wui-ease-out),
|
|
446
|
+
height var(--wui-duration-slow) var(--wui-ease-out),
|
|
447
|
+
opacity var(--wui-duration-fast) var(--wui-ease-ui);
|
|
446
448
|
}
|
|
447
449
|
// Vertical pills: the moving pill fills the row width.
|
|
448
450
|
.app-tabs-vertical.app-tabs-pills .app-tab-indicator {
|
|
@@ -585,7 +587,7 @@
|
|
|
585
587
|
@media (prefers-reduced-motion: reduce) {
|
|
586
588
|
.app-tab-indicator,
|
|
587
589
|
.app-tabs-vertical .app-tab-indicator {
|
|
588
|
-
transition: opacity
|
|
590
|
+
transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
|
|
589
591
|
}
|
|
590
592
|
.app-tabs {
|
|
591
593
|
scroll-behavior: auto;
|
|
@@ -611,7 +613,7 @@
|
|
|
611
613
|
place-items: center;
|
|
612
614
|
color: var(--color-text-subtle);
|
|
613
615
|
pointer-events: none;
|
|
614
|
-
transition: color
|
|
616
|
+
transition: color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
615
617
|
}
|
|
616
618
|
.search-wrap:focus-within > .search-icon {
|
|
617
619
|
color: var(--color-primary-text);
|
|
@@ -644,9 +646,9 @@
|
|
|
644
646
|
visibility: hidden;
|
|
645
647
|
pointer-events: none;
|
|
646
648
|
transition:
|
|
647
|
-
opacity
|
|
648
|
-
visibility 0s linear
|
|
649
|
-
color
|
|
649
|
+
opacity var(--wui-duration-fast) var(--wui-ease-ui),
|
|
650
|
+
visibility 0s var(--wui-ease-linear) var(--wui-duration-fast),
|
|
651
|
+
color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
650
652
|
}
|
|
651
653
|
// Revealed by CONTENT only. Revealing on :focus-within as well put a ✕ on an empty Razor
|
|
652
654
|
// field while React — which renders the button only when there is a value — showed none:
|
|
@@ -657,9 +659,9 @@
|
|
|
657
659
|
visibility: visible;
|
|
658
660
|
pointer-events: auto;
|
|
659
661
|
transition:
|
|
660
|
-
opacity
|
|
662
|
+
opacity var(--wui-duration-fast) var(--wui-ease-ui),
|
|
661
663
|
visibility 0s,
|
|
662
|
-
color
|
|
664
|
+
color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
663
665
|
}
|
|
664
666
|
.search-clear:hover {
|
|
665
667
|
color: var(--color-text);
|
|
@@ -751,7 +753,7 @@
|
|
|
751
753
|
border: 2px solid var(--color-border-strong);
|
|
752
754
|
border-top-color: var(--color-primary);
|
|
753
755
|
border-radius: 50%;
|
|
754
|
-
animation: wui-spin
|
|
756
|
+
animation: wui-spin calc(var(--wui-duration-slow) * 2) var(--wui-ease-linear) infinite;
|
|
755
757
|
pointer-events: none;
|
|
756
758
|
}
|
|
757
759
|
.search-input:disabled {
|
|
@@ -785,3 +787,53 @@
|
|
|
785
787
|
color: var(--color-text);
|
|
786
788
|
font-weight: 500;
|
|
787
789
|
}
|
|
790
|
+
.wui-breadcrumb-collapse {
|
|
791
|
+
flex-wrap: nowrap;
|
|
792
|
+
min-width: 0;
|
|
793
|
+
}
|
|
794
|
+
.wui-breadcrumb-collapse > .breadcrumb-item {
|
|
795
|
+
flex: none;
|
|
796
|
+
white-space: nowrap;
|
|
797
|
+
}
|
|
798
|
+
.wui-breadcrumb-collapse > .breadcrumb-item:last-child {
|
|
799
|
+
flex: 0 1 auto;
|
|
800
|
+
min-width: 0;
|
|
801
|
+
overflow: hidden;
|
|
802
|
+
text-overflow: ellipsis;
|
|
803
|
+
}
|
|
804
|
+
.wui-breadcrumb-collapsible {
|
|
805
|
+
display: none;
|
|
806
|
+
}
|
|
807
|
+
.wui-breadcrumb-more-toggle {
|
|
808
|
+
display: inline-flex;
|
|
809
|
+
align-items: center;
|
|
810
|
+
padding: 0 var(--wui-space-xs);
|
|
811
|
+
border: 0;
|
|
812
|
+
border-radius: var(--wui-radius-sm);
|
|
813
|
+
background: transparent;
|
|
814
|
+
color: var(--color-text-muted);
|
|
815
|
+
line-height: inherit;
|
|
816
|
+
}
|
|
817
|
+
.wui-breadcrumb-more-toggle:hover,
|
|
818
|
+
.wui-breadcrumb-more-toggle:focus-visible {
|
|
819
|
+
color: var(--color-primary-text);
|
|
820
|
+
}
|
|
821
|
+
@include media-breakpoint-up(md) {
|
|
822
|
+
.wui-breadcrumb-collapse {
|
|
823
|
+
flex-wrap: wrap;
|
|
824
|
+
}
|
|
825
|
+
.wui-breadcrumb-collapse > .breadcrumb-item {
|
|
826
|
+
flex: initial;
|
|
827
|
+
white-space: normal;
|
|
828
|
+
}
|
|
829
|
+
.wui-breadcrumb-collapse > .breadcrumb-item:last-child {
|
|
830
|
+
overflow: visible;
|
|
831
|
+
text-overflow: clip;
|
|
832
|
+
}
|
|
833
|
+
.wui-breadcrumb-collapsible {
|
|
834
|
+
display: list-item;
|
|
835
|
+
}
|
|
836
|
+
.wui-breadcrumb-more {
|
|
837
|
+
display: none;
|
|
838
|
+
}
|
|
839
|
+
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "../config" as *;
|
|
2
|
+
|
|
1
3
|
// ── Notification centre ──
|
|
2
4
|
// AppNotificationCenter / <app-notification-center> (a <wui-notification-center> element): a bell
|
|
3
5
|
// with an unread count that opens a panel of notifications grouped by day. The element shows the
|
|
@@ -13,7 +15,7 @@
|
|
|
13
15
|
.wui-notification-center-trigger {
|
|
14
16
|
position: relative;
|
|
15
17
|
}
|
|
16
|
-
// White on the strong danger fill, ringed in the surface colour so it reads as sitting on the bell.
|
|
18
|
+
// White on the strong danger fill, ringed in the surface colour so it reads as sitting on the bell. --wui-notification-count-bg and --wui-notification-count-fg replace the fill and the text colour.
|
|
17
19
|
.wui-notification-center-count {
|
|
18
20
|
position: absolute;
|
|
19
21
|
top: -2px;
|
|
@@ -24,8 +26,8 @@
|
|
|
24
26
|
padding: 0 3px;
|
|
25
27
|
border: 2px solid var(--color-surface);
|
|
26
28
|
border-radius: 999px;
|
|
27
|
-
background: var(--color-danger-strong);
|
|
28
|
-
color: var(--color-progress-label);
|
|
29
|
+
background: var(--wui-notification-count-bg, var(--color-danger-strong));
|
|
30
|
+
color: var(--wui-notification-count-fg, var(--color-progress-label));
|
|
29
31
|
font-size: 12px;
|
|
30
32
|
font-weight: 700;
|
|
31
33
|
line-height: 14px;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "../config" as *;
|
|
2
|
+
|
|
1
3
|
// ── Onboarding checklist ──
|
|
2
4
|
// AppOnboardingChecklist / <app-onboarding-checklist> / <wui-onboarding-checklist>: a first-run
|
|
3
5
|
// setup card. A heading that collapses the steps, a close icon, a bar of one segment per step and
|
|
@@ -208,6 +210,6 @@ a.wui-onboarding-label:focus-visible::after {
|
|
|
208
210
|
|
|
209
211
|
@media (prefers-reduced-motion: no-preference) {
|
|
210
212
|
.wui-onboarding-chevron {
|
|
211
|
-
transition: transform
|
|
213
|
+
transition: transform var(--wui-duration-fast) var(--wui-ease-ui);
|
|
212
214
|
}
|
|
213
215
|
}
|
package/scss/wui/_org-tree.scss
CHANGED
package/scss/wui/_overlays.scss
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "../config" as *;
|
|
2
|
+
|
|
1
3
|
// Prefer .wui-* for new chrome; legacy bare names here are frozen until a BREAKING rename.
|
|
2
4
|
// Modal, confirm dialog.
|
|
3
5
|
//
|
|
@@ -308,8 +310,8 @@ body[data-rr-ui-modal-open] {
|
|
|
308
310
|
border-radius: var(--wui-radius-lg);
|
|
309
311
|
corner-shape: squircle;
|
|
310
312
|
transition:
|
|
311
|
-
background
|
|
312
|
-
color
|
|
313
|
+
background var(--wui-duration-default) var(--wui-ease-in-out),
|
|
314
|
+
color var(--wui-duration-default) var(--wui-ease-in-out);
|
|
313
315
|
}
|
|
314
316
|
@media (max-width: 575.98px), (pointer: coarse) {
|
|
315
317
|
.wui-modal-close,
|
|
@@ -323,8 +325,8 @@ body[data-rr-ui-modal-open] {
|
|
|
323
325
|
background: var(--color-danger-soft);
|
|
324
326
|
color: var(--color-danger-text);
|
|
325
327
|
transition:
|
|
326
|
-
background
|
|
327
|
-
color
|
|
328
|
+
background var(--wui-duration-default) var(--wui-ease-out),
|
|
329
|
+
color var(--wui-duration-default) var(--wui-ease-out);
|
|
328
330
|
}
|
|
329
331
|
.wui-modal-close:focus-visible,
|
|
330
332
|
.wui-drawer-close:focus-visible {
|
|
@@ -336,9 +338,7 @@ body[data-rr-ui-modal-open] {
|
|
|
336
338
|
.wui-modal-close:hover,
|
|
337
339
|
.wui-drawer-close,
|
|
338
340
|
.wui-drawer-close:hover {
|
|
339
|
-
transition:
|
|
340
|
-
background 1ms linear,
|
|
341
|
-
color 1ms linear;
|
|
341
|
+
transition: none;
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
|
|
@@ -358,15 +358,15 @@ body[data-rr-ui-modal-open] {
|
|
|
358
358
|
border-radius: var(--wui-radius-lg);
|
|
359
359
|
corner-shape: squircle;
|
|
360
360
|
transition:
|
|
361
|
-
background
|
|
362
|
-
color
|
|
361
|
+
background var(--wui-duration-default) var(--wui-ease-in-out),
|
|
362
|
+
color var(--wui-duration-default) var(--wui-ease-in-out);
|
|
363
363
|
}
|
|
364
364
|
.wui-modal-back:hover {
|
|
365
365
|
background: var(--color-bg-muted);
|
|
366
366
|
color: var(--color-text);
|
|
367
367
|
transition:
|
|
368
|
-
background
|
|
369
|
-
color
|
|
368
|
+
background var(--wui-duration-default) var(--wui-ease-out),
|
|
369
|
+
color var(--wui-duration-default) var(--wui-ease-out);
|
|
370
370
|
}
|
|
371
371
|
.wui-modal-back:focus-visible {
|
|
372
372
|
outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
|
|
@@ -375,9 +375,7 @@ body[data-rr-ui-modal-open] {
|
|
|
375
375
|
@media (prefers-reduced-motion: reduce) {
|
|
376
376
|
.wui-modal-back,
|
|
377
377
|
.wui-modal-back:hover {
|
|
378
|
-
transition:
|
|
379
|
-
background 1ms linear,
|
|
380
|
-
color 1ms linear;
|
|
378
|
+
transition: none;
|
|
381
379
|
}
|
|
382
380
|
}
|
|
383
381
|
|
|
@@ -623,8 +621,8 @@ body[data-rr-ui-modal-open] {
|
|
|
623
621
|
opacity: 0;
|
|
624
622
|
visibility: hidden;
|
|
625
623
|
transition:
|
|
626
|
-
opacity
|
|
627
|
-
visibility
|
|
624
|
+
opacity var(--wui-duration-fast) var(--wui-ease-ui),
|
|
625
|
+
visibility var(--wui-duration-fast) var(--wui-ease-ui);
|
|
628
626
|
}
|
|
629
627
|
[data-wui-tip]:hover::after,
|
|
630
628
|
[data-wui-tip]:focus-visible::after {
|
|
@@ -746,9 +744,9 @@ body[data-rr-ui-modal-open] {
|
|
|
746
744
|
touch-action: pan-y;
|
|
747
745
|
user-select: none;
|
|
748
746
|
transition:
|
|
749
|
-
transform
|
|
750
|
-
opacity
|
|
751
|
-
animation: wui-toast-in
|
|
747
|
+
transform var(--wui-duration-default) var(--wui-ease-ui),
|
|
748
|
+
opacity var(--wui-duration-default) var(--wui-ease-ui);
|
|
749
|
+
animation: wui-toast-in var(--wui-duration-default) var(--wui-ease-ui);
|
|
752
750
|
}
|
|
753
751
|
|
|
754
752
|
// A single-line toast — bare message, no title / action / progress stack — centers its icon,
|
|
@@ -836,7 +834,7 @@ body[data-rr-ui-modal-open] {
|
|
|
836
834
|
height: 100%;
|
|
837
835
|
border-radius: 999px;
|
|
838
836
|
background: var(--wui-toast-accent);
|
|
839
|
-
transition: width
|
|
837
|
+
transition: width var(--wui-duration-default) var(--wui-ease-ui);
|
|
840
838
|
}
|
|
841
839
|
.wui-toast-track-pct {
|
|
842
840
|
flex: none;
|
|
@@ -869,7 +867,7 @@ body[data-rr-ui-modal-open] {
|
|
|
869
867
|
line-height: 1.4;
|
|
870
868
|
text-decoration: none;
|
|
871
869
|
white-space: nowrap;
|
|
872
|
-
transition: background-color
|
|
870
|
+
transition: background-color var(--wui-duration-fast) var(--wui-ease-ui), color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
873
871
|
}
|
|
874
872
|
// Hover: a soft pill in the toast's variant tint — highlight, not underline, no motion.
|
|
875
873
|
.wui-toast-action:hover {
|
|
@@ -916,7 +914,7 @@ body[data-rr-ui-modal-open] {
|
|
|
916
914
|
width: 100%;
|
|
917
915
|
transform-origin: left center;
|
|
918
916
|
animation-name: wui-toast-countdown;
|
|
919
|
-
animation-timing-function: linear;
|
|
917
|
+
animation-timing-function: var(--wui-ease-linear);
|
|
920
918
|
animation-fill-mode: forwards;
|
|
921
919
|
}
|
|
922
920
|
.wui-toast:hover .wui-toast-progress,
|
|
@@ -965,23 +963,23 @@ body[data-rr-ui-modal-open] {
|
|
|
965
963
|
// materializes softly while the status icon grows from a dot with a slight overshoot,
|
|
966
964
|
// and the message trails in last.
|
|
967
965
|
.wui-toast--anim-organic {
|
|
968
|
-
animation: wui-toast-materialize
|
|
966
|
+
animation: wui-toast-materialize var(--wui-duration-slow) var(--wui-ease-out);
|
|
969
967
|
}
|
|
970
968
|
.wui-toast--anim-organic .wui-toast-icon {
|
|
971
|
-
animation: wui-toast-icon-grow
|
|
969
|
+
animation: wui-toast-icon-grow var(--wui-duration-slow) var(--wui-ease-elastic) calc(var(--wui-duration-fast) * 0.5) backwards;
|
|
972
970
|
}
|
|
973
971
|
.wui-toast--anim-organic .wui-toast-content {
|
|
974
|
-
animation: wui-toast-content-in
|
|
972
|
+
animation: wui-toast-content-in var(--wui-duration-default) var(--wui-ease-out) calc(var(--wui-duration-fast) * 1.25) backwards;
|
|
975
973
|
}
|
|
976
974
|
|
|
977
975
|
// `jelly` — drops in with a squash-and-stretch landing.
|
|
978
976
|
.wui-toast--anim-jelly {
|
|
979
|
-
animation: wui-toast-jelly
|
|
977
|
+
animation: wui-toast-jelly var(--wui-duration-slow) var(--wui-ease-elastic);
|
|
980
978
|
}
|
|
981
979
|
|
|
982
980
|
// `spring` — slides up from below with an elastic settle.
|
|
983
981
|
.wui-toast--anim-spring {
|
|
984
|
-
animation: wui-toast-spring
|
|
982
|
+
animation: wui-toast-spring var(--wui-duration-slow) var(--wui-ease-elastic);
|
|
985
983
|
}
|
|
986
984
|
|
|
987
985
|
@keyframes wui-toast-materialize {
|
|
@@ -1055,24 +1053,16 @@ body[data-rr-ui-modal-open] {
|
|
|
1055
1053
|
// Everything inside consumes --color-* vars, so re-pointing them here restyles the whole
|
|
1056
1054
|
// card (icon, text hierarchy, action pill, progress track) in one place.
|
|
1057
1055
|
.wui-toast--surface-inverse {
|
|
1058
|
-
--color-surface: var(--
|
|
1059
|
-
--color-border: var(--
|
|
1060
|
-
--color-text: var(--
|
|
1061
|
-
--color-text-muted: var(--
|
|
1062
|
-
--color-bg-muted: var(--
|
|
1056
|
+
--color-surface: var(--color-surface-inverse);
|
|
1057
|
+
--color-border: var(--color-surface-inverse-wash-24);
|
|
1058
|
+
--color-text: var(--color-text-inverse);
|
|
1059
|
+
--color-text-muted: color-mix(in srgb, var(--color-text-inverse) 72%, var(--color-surface-inverse));
|
|
1060
|
+
--color-bg-muted: var(--color-surface-inverse-raised);
|
|
1063
1061
|
}
|
|
1064
1062
|
// Bootstrap's .btn-close glyph is ink-dark; on the dark card it needs the white filter.
|
|
1065
1063
|
.wui-toast--surface-inverse .wui-toast-close {
|
|
1066
1064
|
filter: invert(1) grayscale(100%) brightness(200%);
|
|
1067
1065
|
}
|
|
1068
|
-
:root[data-theme="dark"] .wui-toast--surface-inverse,
|
|
1069
|
-
:root[data-bs-theme="dark"] .wui-toast--surface-inverse {
|
|
1070
|
-
--color-surface: var(--wui-bg-light);
|
|
1071
|
-
--color-border: var(--wui-border-light);
|
|
1072
|
-
--color-text: var(--wui-text-heading);
|
|
1073
|
-
--color-text-muted: var(--wui-text-2);
|
|
1074
|
-
--color-bg-muted: var(--wui-bg-muted);
|
|
1075
|
-
}
|
|
1076
1066
|
:root[data-theme="dark"] .wui-toast--surface-inverse .wui-toast-close,
|
|
1077
1067
|
:root[data-bs-theme="dark"] .wui-toast--surface-inverse .wui-toast-close {
|
|
1078
1068
|
filter: none;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "../config" as *;
|
|
2
|
+
|
|
1
3
|
// ── Bar ── (`size="bar"`): one 40px header row. The breadcrumbs lead as an inline prefix. The
|
|
2
4
|
// title keeps its content width and a spacer takes the spare width, so the views follow the title
|
|
3
5
|
// and the tools and actions sit at the far end. Below md the row wraps, so the actions drop under
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "../config" as *;
|
|
2
|
+
|
|
1
3
|
// Pager: the table-footer and standalone page controls.
|
|
2
4
|
//
|
|
3
5
|
// Part of the wui-components layer; imported right after _data.scss. Order within the layer is load-bearing (see _wui-components.scss).
|
|
@@ -62,8 +64,8 @@
|
|
|
62
64
|
border-radius: 50%;
|
|
63
65
|
cursor: pointer;
|
|
64
66
|
transition:
|
|
65
|
-
background
|
|
66
|
-
color
|
|
67
|
+
background var(--wui-duration-fast) var(--wui-ease-ui),
|
|
68
|
+
color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
67
69
|
}
|
|
68
70
|
.tpg-arrow:hover:not(:disabled) {
|
|
69
71
|
background: color-mix(in srgb, var(--color-primary) 10%, transparent);
|
|
@@ -97,8 +99,8 @@
|
|
|
97
99
|
text-decoration: none;
|
|
98
100
|
cursor: pointer;
|
|
99
101
|
transition:
|
|
100
|
-
background
|
|
101
|
-
color
|
|
102
|
+
background var(--wui-duration-fast) var(--wui-ease-ui),
|
|
103
|
+
color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
102
104
|
}
|
|
103
105
|
.tpg-page:hover:not(.is-active) {
|
|
104
106
|
background: color-mix(in srgb, var(--color-primary) 10%, transparent);
|
package/scss/wui/_pending.scss
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "../config" as *;
|
|
2
|
+
|
|
1
3
|
// A field element is undefined until its script runs: wui-select until the page script at the end of
|
|
2
4
|
// the body, an on-demand element (packages/elements src/global/chunks.js) one request after that. Until
|
|
3
5
|
// then it keeps its field height and hides its option children, so the field does not jump or flash
|
package/scss/wui/_rating.scss
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "../config" as *;
|
|
2
|
+
|
|
1
3
|
// ── Rating ──
|
|
2
4
|
// AppRating / <app-rating>: a 1 to N star input (a <wui-rating> radiogroup) or a read-only display.
|
|
3
5
|
// Each star is an outline glyph with a bold copy on top, clipped to the filled share of its width.
|
|
@@ -31,7 +33,7 @@
|
|
|
31
33
|
width: 0;
|
|
32
34
|
overflow: hidden;
|
|
33
35
|
color: var(--color-warning);
|
|
34
|
-
transition: width
|
|
36
|
+
transition: width var(--wui-duration-fast) var(--wui-ease-ui);
|
|
35
37
|
}
|
|
36
38
|
.wui-rating-fill .wui-icon {
|
|
37
39
|
flex: none;
|
package/scss/wui/_resizable.scss
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "../config" as *;
|
|
2
|
+
|
|
1
3
|
// ── Resizable panels ──
|
|
2
4
|
// AppResizable / <app-resizable> (a <wui-resizable> element): panels side by side or stacked with a
|
|
3
5
|
// handle between each pair. The element writes each panel's `flex` (a share of the room the panels
|
|
@@ -93,6 +95,6 @@
|
|
|
93
95
|
|
|
94
96
|
@media (prefers-reduced-motion: no-preference) {
|
|
95
97
|
.wui-resizable-handle::after {
|
|
96
|
-
transition: background-color
|
|
98
|
+
transition: background-color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
97
99
|
}
|
|
98
100
|
}
|
package/scss/wui/_rich-text.scss
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "../config" as *;
|
|
2
|
+
|
|
1
3
|
// Rich text: the <wui-rich-text> element behind AppRichText / <app-rich-text>.
|
|
2
4
|
//
|
|
3
5
|
// Part of the wui-components layer; see _wui-components.scss for the load order. The shell wears the
|
|
@@ -34,8 +36,8 @@ wui-rich-text:not(:defined) > textarea {
|
|
|
34
36
|
line-height: 1.5;
|
|
35
37
|
overflow: hidden;
|
|
36
38
|
transition:
|
|
37
|
-
border-color
|
|
38
|
-
background-color
|
|
39
|
+
border-color var(--wui-duration-fast) var(--wui-ease-ui),
|
|
40
|
+
background-color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
39
41
|
}
|
|
40
42
|
.wui-rich-text-shell:hover {
|
|
41
43
|
border-color: var(--color-field-border-hover);
|
|
@@ -98,8 +100,8 @@ wui-rich-text[readonly] .wui-rich-text-toolbar {
|
|
|
98
100
|
font-size: 13px;
|
|
99
101
|
cursor: pointer;
|
|
100
102
|
transition:
|
|
101
|
-
background-color
|
|
102
|
-
color
|
|
103
|
+
background-color var(--wui-duration-fast) var(--wui-ease-ui),
|
|
104
|
+
color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
103
105
|
}
|
|
104
106
|
.wui-rich-text-button:hover:not(:disabled) {
|
|
105
107
|
background: var(--color-bg-muted);
|
|
@@ -237,16 +239,20 @@ wui-rich-text[readonly] .wui-rich-text-prose {
|
|
|
237
239
|
margin: 0 0 0.75em;
|
|
238
240
|
}
|
|
239
241
|
.wui-rich-text-prose h2,
|
|
240
|
-
.wui-rich-text-prose
|
|
242
|
+
.wui-rich-text-prose .h2,
|
|
243
|
+
.wui-rich-text-prose h3,
|
|
244
|
+
.wui-rich-text-prose .h3 {
|
|
241
245
|
margin: 1em 0 0.5em;
|
|
242
246
|
font-weight: 600;
|
|
243
247
|
line-height: 1.3;
|
|
244
248
|
color: var(--color-text);
|
|
245
249
|
}
|
|
246
|
-
.wui-rich-text-prose h2
|
|
250
|
+
.wui-rich-text-prose h2,
|
|
251
|
+
.wui-rich-text-prose .h2 {
|
|
247
252
|
font-size: 1.25em;
|
|
248
253
|
}
|
|
249
|
-
.wui-rich-text-prose h3
|
|
254
|
+
.wui-rich-text-prose h3,
|
|
255
|
+
.wui-rich-text-prose .h3 {
|
|
250
256
|
font-size: 1.1em;
|
|
251
257
|
}
|
|
252
258
|
.wui-rich-text-prose ul,
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "../config" as *;
|
|
2
|
+
|
|
1
3
|
// ── Score scale ──
|
|
2
4
|
// AppScoreScale / <app-score-scale>: one value per radio on a row of equal-width items that wraps on narrow screens.
|
|
3
5
|
// Each value is a label around a visually hidden native radio, so the arrow keys and the checked state come from the browser.
|
|
@@ -25,9 +27,9 @@
|
|
|
25
27
|
font-variant-numeric: tabular-nums;
|
|
26
28
|
cursor: pointer;
|
|
27
29
|
transition:
|
|
28
|
-
border-color
|
|
29
|
-
background
|
|
30
|
-
color
|
|
30
|
+
border-color var(--wui-duration-fast) var(--wui-ease-ui),
|
|
31
|
+
background var(--wui-duration-fast) var(--wui-ease-ui),
|
|
32
|
+
color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
31
33
|
}
|
|
32
34
|
.wui-score-scale__item:not(.wui-score-scale__item--selected):hover {
|
|
33
35
|
border-color: color-mix(in srgb, var(--color-primary) 30%, transparent);
|
package/scss/wui/_scrollbar.scss
CHANGED
package/scss/wui/_sections.scss
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
@use "../config" as *;
|
|
2
|
+
@use "tone-pill" as *;
|
|
3
|
+
|
|
1
4
|
// ── Section kit ──
|
|
2
5
|
// AppSection* / <app-section-*>: the hero, features, logos, testimonials, pricing, FAQ and call to
|
|
3
6
|
// action sections of a public page. One frame for all seven:
|
|
@@ -254,8 +257,8 @@
|
|
|
254
257
|
filter: grayscale(1);
|
|
255
258
|
opacity: 0.7;
|
|
256
259
|
transition:
|
|
257
|
-
filter
|
|
258
|
-
opacity
|
|
260
|
+
filter var(--wui-duration-default) var(--wui-ease-ui),
|
|
261
|
+
opacity var(--wui-duration-default) var(--wui-ease-ui);
|
|
259
262
|
}
|
|
260
263
|
.wui-section-logo-img:hover,
|
|
261
264
|
.wui-section-logo a:focus-visible .wui-section-logo-img {
|