@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/_components.scss
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// A button is exactly as tall as a field of the same size (the --wui-control-md ladder, 32/36/44px), so a
|
|
10
10
|
// button beside an input lines up in every form row. Heights are min-height with the label flex-centred; sm/lg
|
|
11
11
|
// set theirs in their size blocks below, and so does a button sized by its group (.btn-group-sm/-lg).
|
|
12
|
-
.btn:not(.btn-sm):not(.btn-lg):not(.btn-group-sm > .btn):not(.btn-group-lg > .btn):not(.btn-pill):not(.btn-pill-sm):not(.u-action):not(
|
|
12
|
+
.btn:not(.btn-sm):not(.btn-lg):not(.btn-xl):not(.btn-group-sm > .btn):not(.btn-group-lg > .btn):not(.btn-pill):not(.btn-pill-sm):not(.u-action):not(
|
|
13
13
|
.btn-icon
|
|
14
14
|
) {
|
|
15
15
|
// The height is the field height and the label is flex-centred, so no vertical padding: it
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
min-height: var(--wui-control-md);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
// Tactile press feedback — every variant AND every size (sm/md/lg). Kept
|
|
24
|
+
// Tactile press feedback — every variant AND every size (sm/md/lg/xl). Kept
|
|
25
25
|
// separate from the height rule above so sm/lg (which opt out of the shared
|
|
26
26
|
// control height) still get the nudge. A signal, not a depth cue.
|
|
27
27
|
.btn:not(.btn-pill):not(.btn-pill-sm):not(.u-action):not(.btn-icon):active:not(:disabled) {
|
|
@@ -197,8 +197,8 @@
|
|
|
197
197
|
// shouldn't shout like a solid .btn-danger). Mirrors .btn-soft-primary exactly: low-alpha
|
|
198
198
|
// tint deepening on hover/press, no border — but keyed off the danger tokens. The label
|
|
199
199
|
// uses --color-danger-text (the AA-safe error red, lifted in dark mode to read on a dark surface),
|
|
200
|
-
// not the brighter --color-danger. Disabled
|
|
201
|
-
//
|
|
200
|
+
// not the brighter --color-danger. Disabled fades its own colours (the shared
|
|
201
|
+
// disabled rule below). A product sets another label
|
|
202
202
|
// ink with --wui-btn-secondary-danger-ink (e.g. --color-danger-text-on-soft in dark mode).
|
|
203
203
|
.btn-soft-danger {
|
|
204
204
|
--bs-btn-color: var(--wui-btn-secondary-danger-ink, var(--color-danger-text));
|
|
@@ -306,28 +306,20 @@
|
|
|
306
306
|
--bs-btn-disabled-border-color: rgba(255, 255, 255, 0.3);
|
|
307
307
|
}
|
|
308
308
|
|
|
309
|
-
//
|
|
310
|
-
//
|
|
311
|
-
//
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
// faint brand tint.) .btn-danger keeps its own faded-red disabled (defined above), since the
|
|
319
|
-
// reference doesn't cover it and a greyed destructive button loses its warning read.
|
|
320
|
-
.btn:disabled:not(.btn-danger):not(.is-loading),
|
|
321
|
-
.btn.disabled:not(.btn-danger):not(.is-loading) {
|
|
322
|
-
background-color: var(--color-bg-muted);
|
|
323
|
-
border-color: var(--color-border);
|
|
324
|
-
color: var(--color-text-subtle);
|
|
325
|
-
opacity: 1;
|
|
309
|
+
// Disabled: the button keeps its own fill, border and label (the resolved --bs-btn-* of whichever
|
|
310
|
+
// tone and style it is) at the theme's one disabled opacity, so it stays visible on the page and on
|
|
311
|
+
// a card instead of turning into a neutral grey that matches them. Loading is separate, below.
|
|
312
|
+
.btn:disabled:not(.is-loading),
|
|
313
|
+
.btn.disabled:not(.is-loading) {
|
|
314
|
+
background-color: var(--bs-btn-bg);
|
|
315
|
+
border-color: var(--bs-btn-border-color);
|
|
316
|
+
color: var(--bs-btn-color);
|
|
317
|
+
opacity: var(--wui-disabled-opacity);
|
|
326
318
|
cursor: not-allowed;
|
|
327
319
|
}
|
|
328
320
|
|
|
329
321
|
// Loading is BUSY, not disabled-by-choice: the button keeps its own identity as a LIGHT tint
|
|
330
|
-
// of its variant, never the
|
|
322
|
+
// of its variant, never the faded disabled state above. It stays non-interactive (still
|
|
331
323
|
// `disabled` for forms/a11y) but reads as "working". Solid variants (primary/danger/warning)
|
|
332
324
|
// tint from their fill and take the fill colour as the label + spinner (spinner is
|
|
333
325
|
// currentColor). Higher specificity than the grey rule, and placed after it, so it wins.
|
|
@@ -444,6 +436,40 @@
|
|
|
444
436
|
justify-content: center;
|
|
445
437
|
min-height: var(--wui-control-lg);
|
|
446
438
|
}
|
|
439
|
+
// Touch screens: a small or text button grows to the touch target so a thumb can hit it. The box grows
|
|
440
|
+
// (not a hit-area pseudo-element) because .btn clips overflow and uses ::before for the sheen. A text
|
|
441
|
+
// button has no side padding, so it also gets a minimum width. Icon-only buttons keep their disc (_utilities.scss).
|
|
442
|
+
@media (pointer: coarse) {
|
|
443
|
+
.btn-sm:not(.btn-icon),
|
|
444
|
+
.btn-group-sm > .btn:not(.btn-icon) {
|
|
445
|
+
min-height: var(--wui-touch-target);
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
:is(.btn-link-primary, .btn-link-success, .btn-link-warning, .btn-link-danger, .btn-link-info, .btn-link-neutral):not(.btn-icon) {
|
|
449
|
+
min-width: var(--wui-touch-target);
|
|
450
|
+
min-height: var(--wui-touch-target);
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
// Extra large: a marketing call to action. 55px tall (--wui-control-lg) with --wui-fs-lg semibold text; below the
|
|
454
|
+
// Bootstrap lg breakpoint it is a base-size medium button as tall as the default field.
|
|
455
|
+
.btn-xl:not(.btn-icon) {
|
|
456
|
+
--wui-btn-height: var(--wui-control-lg);
|
|
457
|
+
--bs-btn-padding-y: 0;
|
|
458
|
+
--bs-btn-border-radius: var(--wui-button-lg-radius);
|
|
459
|
+
--bs-btn-font-size: var(--wui-fs-lg);
|
|
460
|
+
--bs-btn-font-weight: var(--wui-fw-semibold);
|
|
461
|
+
display: inline-flex;
|
|
462
|
+
align-items: center;
|
|
463
|
+
justify-content: center;
|
|
464
|
+
min-height: var(--wui-btn-height);
|
|
465
|
+
}
|
|
466
|
+
@media (max-width: 991.98px) {
|
|
467
|
+
.btn-xl:not(.btn-icon) {
|
|
468
|
+
--wui-btn-height: var(--wui-control-md);
|
|
469
|
+
--bs-btn-font-size: var(--wui-fs-base);
|
|
470
|
+
--bs-btn-font-weight: var(--wui-fw-medium);
|
|
471
|
+
}
|
|
472
|
+
}
|
|
447
473
|
|
|
448
474
|
// ---- Hover animation options (opt-in modifiers) ---------------------
|
|
449
475
|
// Every .btn animates on hover. The DEFAULT is the royal sheen sweep; switch a
|
|
@@ -488,7 +514,7 @@
|
|
|
488
514
|
transparent
|
|
489
515
|
);
|
|
490
516
|
transform: translateX(-200%) skewX(-18deg);
|
|
491
|
-
transition: transform
|
|
517
|
+
transition: transform calc(var(--wui-duration-slow) * 2) var(--wui-ease-out);
|
|
492
518
|
pointer-events: none;
|
|
493
519
|
}
|
|
494
520
|
.btn:not(.btn-icon):not(.u-action):not([class*="btn-anim-"]):hover:not(:disabled)::before,
|
|
@@ -511,8 +537,8 @@
|
|
|
511
537
|
transform: scaleX(0);
|
|
512
538
|
transform-origin: left center;
|
|
513
539
|
transition:
|
|
514
|
-
transform
|
|
515
|
-
opacity
|
|
540
|
+
transform var(--wui-duration-slow) var(--wui-ease-out),
|
|
541
|
+
opacity var(--wui-duration-slow) var(--wui-ease-ui);
|
|
516
542
|
pointer-events: none;
|
|
517
543
|
}
|
|
518
544
|
.btn-anim-fill:hover:not(:disabled)::before {
|
|
@@ -534,8 +560,8 @@
|
|
|
534
560
|
opacity: 0;
|
|
535
561
|
transform: translate(-50%, -50%);
|
|
536
562
|
transition:
|
|
537
|
-
width
|
|
538
|
-
opacity
|
|
563
|
+
width var(--wui-duration-slow) var(--wui-ease-out),
|
|
564
|
+
opacity var(--wui-duration-slow) var(--wui-ease-ui);
|
|
539
565
|
pointer-events: none;
|
|
540
566
|
}
|
|
541
567
|
.btn-anim-expand:hover:not(:disabled)::before {
|
|
@@ -548,8 +574,8 @@
|
|
|
548
574
|
// through the resolved --bs-btn fill to currentColor so it works on every variant.
|
|
549
575
|
.btn-anim-glow {
|
|
550
576
|
transition:
|
|
551
|
-
box-shadow
|
|
552
|
-
transform
|
|
577
|
+
box-shadow var(--wui-duration-default) var(--wui-ease-ui),
|
|
578
|
+
transform var(--wui-duration-default) var(--wui-ease-ui);
|
|
553
579
|
}
|
|
554
580
|
.btn-anim-glow:hover:not(:disabled) {
|
|
555
581
|
box-shadow: 0 4px 18px
|
|
@@ -591,6 +617,18 @@
|
|
|
591
617
|
--wui-btn-pin-inset: 10px;
|
|
592
618
|
--wui-btn-well-pad: 7px;
|
|
593
619
|
}
|
|
620
|
+
:is(.btn-anim-roll, .wui-btn-pin-end).btn-xl {
|
|
621
|
+
--wui-btn-roll-well: 34px;
|
|
622
|
+
--wui-btn-pin-inset: 10px;
|
|
623
|
+
--wui-btn-well-pad: 7px;
|
|
624
|
+
}
|
|
625
|
+
@media (max-width: 991.98px) {
|
|
626
|
+
:is(.btn-anim-roll, .wui-btn-pin-end).btn-xl {
|
|
627
|
+
--wui-btn-roll-well: 28px;
|
|
628
|
+
--wui-btn-pin-inset: 8px;
|
|
629
|
+
--wui-btn-well-pad: 6px;
|
|
630
|
+
}
|
|
631
|
+
}
|
|
594
632
|
.btn-anim-roll:hover:not(:disabled) {
|
|
595
633
|
transform: none;
|
|
596
634
|
}
|
|
@@ -603,7 +641,7 @@
|
|
|
603
641
|
.wui-btn-roll__a,
|
|
604
642
|
.wui-btn-roll__b {
|
|
605
643
|
display: block;
|
|
606
|
-
transition: transform
|
|
644
|
+
transition: transform var(--wui-duration-slow) var(--wui-btn-roll-ease);
|
|
607
645
|
}
|
|
608
646
|
.wui-btn-roll__b {
|
|
609
647
|
position: absolute;
|
|
@@ -629,7 +667,7 @@
|
|
|
629
667
|
}
|
|
630
668
|
.wui-btn-roll-ico > * {
|
|
631
669
|
grid-area: 1 / 1;
|
|
632
|
-
transition: transform
|
|
670
|
+
transition: transform var(--wui-duration-slow) var(--wui-btn-roll-ease);
|
|
633
671
|
}
|
|
634
672
|
.wui-btn-roll-ico > .wui-btn-roll-ico__next {
|
|
635
673
|
transform: translateX(calc(var(--wui-btn-roll-well) * -1));
|
|
@@ -713,7 +751,7 @@
|
|
|
713
751
|
--bs-dropdown-link-active-bg: var(--color-primary-soft);
|
|
714
752
|
--bs-dropdown-header-color: var(--color-text-muted);
|
|
715
753
|
--bs-dropdown-header-padding-x: 0.625rem;
|
|
716
|
-
--bs-dropdown-header-padding-y:
|
|
754
|
+
--bs-dropdown-header-padding-y: var(--wui-space-xs);
|
|
717
755
|
box-shadow: var(--wui-shadow-popover);
|
|
718
756
|
// A long menu (account / workspace lists) must never spill past the screen and clip its
|
|
719
757
|
// last rows: cap the panel to the viewport and scroll INSIDE it. The room subtracted
|
|
@@ -765,7 +803,7 @@
|
|
|
765
803
|
border-radius: var(--wui-radius-sm);
|
|
766
804
|
font-size: 0.875rem;
|
|
767
805
|
font-weight: 500;
|
|
768
|
-
transition: background-color
|
|
806
|
+
transition: background-color var(--wui-duration-fast) var(--wui-ease-ui), color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
769
807
|
|
|
770
808
|
// Leading glyph: quiet by default, brand-tinted on hover. The library's own icons
|
|
771
809
|
// are .wui-icon SVGs; bare i/svg keeps product-supplied glyph nodes in step.
|
|
@@ -773,7 +811,7 @@
|
|
|
773
811
|
flex-shrink: 0;
|
|
774
812
|
font-size: 1rem;
|
|
775
813
|
color: var(--color-text-subtle);
|
|
776
|
-
transition: color
|
|
814
|
+
transition: color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
777
815
|
}
|
|
778
816
|
&:hover .wui-icon, &:hover i, &:hover svg,
|
|
779
817
|
&:focus .wui-icon, &:focus i, &:focus svg {
|
|
@@ -801,6 +839,20 @@
|
|
|
801
839
|
}
|
|
802
840
|
}
|
|
803
841
|
|
|
842
|
+
// Two-line row (an item `description`): label over a muted hint, the body shrinks so a menuWidth menu wraps it.
|
|
843
|
+
.dropdown-item .wui-dropdown-item-body {
|
|
844
|
+
display: flex;
|
|
845
|
+
flex-direction: column;
|
|
846
|
+
gap: var(--wui-space-xxs);
|
|
847
|
+
min-width: 0;
|
|
848
|
+
}
|
|
849
|
+
.dropdown-item .wui-dropdown-item-desc {
|
|
850
|
+
color: var(--color-text-muted);
|
|
851
|
+
font-size: var(--wui-fs-xs);
|
|
852
|
+
font-weight: var(--wui-fw-normal);
|
|
853
|
+
line-height: var(--wui-lh-body);
|
|
854
|
+
}
|
|
855
|
+
|
|
804
856
|
// Listed but unchoosable (AppDropdown disabled): quiet, no hover or press tint.
|
|
805
857
|
.dropdown-item.wui-dropdown-item-disabled,
|
|
806
858
|
.dropdown-item.wui-dropdown-item-disabled:hover,
|
|
@@ -822,7 +874,42 @@
|
|
|
822
874
|
line-height: 1.4;
|
|
823
875
|
}
|
|
824
876
|
.dropdown-menu .dropdown-header:not(:first-child) {
|
|
825
|
-
margin-top:
|
|
877
|
+
margin-top: var(--wui-space-xs);
|
|
878
|
+
}
|
|
879
|
+
// Searchable AppDropdown (searchable): the search block stays at the top while a long menu scrolls.
|
|
880
|
+
.wui-dropdown-menu-searchable {
|
|
881
|
+
max-height: 22rem;
|
|
882
|
+
overflow-y: auto;
|
|
883
|
+
}
|
|
884
|
+
.wui-dropdown-search {
|
|
885
|
+
display: flex;
|
|
886
|
+
align-items: center;
|
|
887
|
+
gap: var(--wui-space-sm);
|
|
888
|
+
margin: var(--wui-space-xxs) var(--wui-space-xs) var(--wui-space-xs);
|
|
889
|
+
padding: var(--wui-space-sm);
|
|
890
|
+
background: var(--color-bg-subtle);
|
|
891
|
+
border: 1px solid var(--color-border-subtle);
|
|
892
|
+
border-radius: var(--wui-radius-md);
|
|
893
|
+
corner-shape: squircle;
|
|
894
|
+
color: var(--color-text-muted);
|
|
895
|
+
position: sticky;
|
|
896
|
+
top: 0;
|
|
897
|
+
z-index: 1;
|
|
898
|
+
}
|
|
899
|
+
.wui-dropdown-search-input {
|
|
900
|
+
flex: 1 1 auto;
|
|
901
|
+
min-width: 0;
|
|
902
|
+
border: none;
|
|
903
|
+
background: transparent;
|
|
904
|
+
color: var(--color-text);
|
|
905
|
+
font-size: var(--wui-fs-xs);
|
|
906
|
+
outline: none;
|
|
907
|
+
}
|
|
908
|
+
.wui-dropdown-empty {
|
|
909
|
+
padding: var(--wui-space-md) var(--wui-space-sm);
|
|
910
|
+
text-align: center;
|
|
911
|
+
font-size: var(--wui-fs-xs);
|
|
912
|
+
color: var(--color-text-muted);
|
|
826
913
|
}
|
|
827
914
|
|
|
828
915
|
// An item that hides from a width up (AppDropdown item `hiddenFrom`): the wide screen shows the
|
|
@@ -977,13 +1064,6 @@
|
|
|
977
1064
|
outline-offset: var(--wui-focus-ring-offset);
|
|
978
1065
|
box-shadow: none;
|
|
979
1066
|
}
|
|
980
|
-
.btn.btn-ghost-primary.btn-ghost-primary:disabled,
|
|
981
|
-
.btn.btn-ghost-primary.btn-ghost-primary.disabled {
|
|
982
|
-
background-color: transparent;
|
|
983
|
-
border-color: transparent;
|
|
984
|
-
color: var(--color-primary-text);
|
|
985
|
-
opacity: var(--wui-disabled-opacity);
|
|
986
|
-
}
|
|
987
1067
|
.btn.btn-ghost-primary.btn-ghost-primary.is-loading:disabled,
|
|
988
1068
|
.btn.btn-ghost-primary.btn-ghost-primary.is-loading.disabled,
|
|
989
1069
|
.btn.btn-ghost-success.btn-ghost-success.is-loading:disabled,
|
|
@@ -1184,7 +1264,13 @@
|
|
|
1184
1264
|
.btn.btn-link-warning.btn-lg,
|
|
1185
1265
|
.btn.btn-link-danger.btn-lg,
|
|
1186
1266
|
.btn.btn-link-info.btn-lg,
|
|
1187
|
-
.btn.btn-link-neutral.btn-lg
|
|
1267
|
+
.btn.btn-link-neutral.btn-lg,
|
|
1268
|
+
.btn.btn-link-primary.btn-xl,
|
|
1269
|
+
.btn.btn-link-success.btn-xl,
|
|
1270
|
+
.btn.btn-link-warning.btn-xl,
|
|
1271
|
+
.btn.btn-link-danger.btn-xl,
|
|
1272
|
+
.btn.btn-link-info.btn-xl,
|
|
1273
|
+
.btn.btn-link-neutral.btn-xl {
|
|
1188
1274
|
--wui-btn-roll-well: 22px;
|
|
1189
1275
|
--wui-btn-well-pad: 3px;
|
|
1190
1276
|
--wui-btn-text-icon: 16px;
|
|
@@ -1237,7 +1323,7 @@
|
|
|
1237
1323
|
// nudges 1px on hover (tactile signal). API prop stays `lifted` / class
|
|
1238
1324
|
// `card-lifted` so call sites don't break.
|
|
1239
1325
|
.card-lifted {
|
|
1240
|
-
transition: transform
|
|
1326
|
+
transition: transform var(--wui-duration-default) var(--wui-ease-out);
|
|
1241
1327
|
&:hover {
|
|
1242
1328
|
transform: translateY(-1px);
|
|
1243
1329
|
}
|
|
@@ -1304,8 +1390,8 @@
|
|
|
1304
1390
|
color: var(--color-text-muted);
|
|
1305
1391
|
cursor: pointer;
|
|
1306
1392
|
transition:
|
|
1307
|
-
background-color
|
|
1308
|
-
color
|
|
1393
|
+
background-color var(--wui-duration-fast) var(--wui-ease-ui),
|
|
1394
|
+
color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
1309
1395
|
}
|
|
1310
1396
|
.card-header-actions + .card-close {
|
|
1311
1397
|
margin-left: 0.25rem;
|
|
@@ -1349,7 +1435,7 @@
|
|
|
1349
1435
|
background: var(--color-surface);
|
|
1350
1436
|
border: 1px solid var(--color-border);
|
|
1351
1437
|
border-radius: var(--wui-radius-md);
|
|
1352
|
-
transition: border-color
|
|
1438
|
+
transition: border-color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
1353
1439
|
}
|
|
1354
1440
|
.wui-input-group:hover:not(:focus-within):not(.is-disabled) {
|
|
1355
1441
|
border-color: var(--color-border-strong);
|
|
@@ -1413,7 +1499,7 @@ button.wui-input-leading {
|
|
|
1413
1499
|
padding: 0;
|
|
1414
1500
|
pointer-events: auto;
|
|
1415
1501
|
cursor: pointer;
|
|
1416
|
-
transition: color
|
|
1502
|
+
transition: color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
1417
1503
|
}
|
|
1418
1504
|
button.wui-input-trailing:hover,
|
|
1419
1505
|
button.wui-input-leading:hover {
|
|
@@ -1449,7 +1535,7 @@ button.wui-input-leading:focus-visible {
|
|
|
1449
1535
|
// Lightweight tactile alternative to a Material ripple. Add to any
|
|
1450
1536
|
// pressable element (button, card link, chip). 80ms ease-out.
|
|
1451
1537
|
.press-feedback {
|
|
1452
|
-
transition: transform
|
|
1538
|
+
transition: transform var(--wui-duration-fast) var(--wui-ease-out);
|
|
1453
1539
|
}
|
|
1454
1540
|
.press-feedback:active:not(:disabled) {
|
|
1455
1541
|
transform: scale(0.96);
|
|
@@ -1457,8 +1543,8 @@ button.wui-input-leading:focus-visible {
|
|
|
1457
1543
|
|
|
1458
1544
|
// ---- Subtle hover lift -----------------------------------------------
|
|
1459
1545
|
.lift-on-hover {
|
|
1460
|
-
transition: transform
|
|
1461
|
-
box-shadow
|
|
1546
|
+
transition: transform var(--wui-duration-default) var(--wui-ease-out),
|
|
1547
|
+
box-shadow var(--wui-duration-default) var(--wui-ease-out);
|
|
1462
1548
|
}
|
|
1463
1549
|
.lift-on-hover:hover {
|
|
1464
1550
|
transform: translateY(-1px);
|
|
@@ -1504,7 +1590,7 @@ body::-webkit-scrollbar-thumb {
|
|
|
1504
1590
|
background-clip: padding-box;
|
|
1505
1591
|
min-height: 36px;
|
|
1506
1592
|
min-width: 36px;
|
|
1507
|
-
transition: background-color
|
|
1593
|
+
transition: background-color var(--wui-duration-default) var(--wui-ease-ui);
|
|
1508
1594
|
}
|
|
1509
1595
|
html::-webkit-scrollbar-thumb:hover,
|
|
1510
1596
|
body::-webkit-scrollbar-thumb:hover {
|
package/scss/_marketing.scss
CHANGED
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
background-position-x: 100%;
|
|
150
150
|
background-position-y: 100%;
|
|
151
151
|
background-size: 0 1px;
|
|
152
|
-
transition: background-size
|
|
152
|
+
transition: background-size var(--wui-duration-slow) var(--wui-ease-in-out);
|
|
153
153
|
}
|
|
154
154
|
@media (hover: hover) {
|
|
155
155
|
.link-wipe:hover {
|
|
@@ -184,12 +184,12 @@
|
|
|
184
184
|
// ---- Page entry fade -------------------------------------------------
|
|
185
185
|
// Apply to <main> in _Layout so every page entry has a polite fade-up.
|
|
186
186
|
.page-fade-in {
|
|
187
|
-
animation: pageFadeIn
|
|
187
|
+
animation: pageFadeIn var(--wui-duration-default) var(--wui-ease-ui) backwards;
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
// ---- Single-element fade-in ------------------------------------------
|
|
191
191
|
.fade-in {
|
|
192
|
-
animation: fadeIn
|
|
192
|
+
animation: fadeIn var(--wui-duration-default) var(--wui-ease-out);
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
// ---- Stagger groups --------------------------------------------------
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
// cascade in 40ms apart, capped at 12 children. For bigger groups,
|
|
198
198
|
// use the IntersectionObserver-driven `[data-reveal]` pattern below.
|
|
199
199
|
.stagger-children > * {
|
|
200
|
-
animation: staggerRise
|
|
200
|
+
animation: staggerRise var(--wui-duration-slow) var(--wui-ease-out) backwards;
|
|
201
201
|
}
|
|
202
202
|
.stagger-children > *:nth-child(1) { animation-delay: 0ms; }
|
|
203
203
|
.stagger-children > *:nth-child(2) { animation-delay: 40ms; }
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
// individual items inside a non-stagger-children container.
|
|
218
218
|
.stagger-item {
|
|
219
219
|
opacity: 0;
|
|
220
|
-
animation: rise
|
|
220
|
+
animation: rise var(--wui-duration-default) var(--wui-ease-out) forwards;
|
|
221
221
|
animation-delay: var(--stagger, 0ms);
|
|
222
222
|
}
|
|
223
223
|
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
// </div>
|
|
232
232
|
// </div>
|
|
233
233
|
.animate-marquee {
|
|
234
|
-
animation: marketing-marquee
|
|
234
|
+
animation: marketing-marquee calc(var(--wui-duration-slow) * 80) var(--wui-ease-linear) infinite;
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
// ---- Scroll-triggered reveals (paired with wwwroot/js/reveal.js) -----
|
|
@@ -243,8 +243,8 @@
|
|
|
243
243
|
opacity: 0;
|
|
244
244
|
transform: translateY(8px);
|
|
245
245
|
transition:
|
|
246
|
-
opacity
|
|
247
|
-
transform
|
|
246
|
+
opacity var(--wui-duration-slow) var(--wui-ease-out),
|
|
247
|
+
transform var(--wui-duration-slow) var(--wui-ease-out);
|
|
248
248
|
will-change: opacity, transform;
|
|
249
249
|
}
|
|
250
250
|
[data-reveal].is-visible {
|
|
@@ -256,8 +256,8 @@
|
|
|
256
256
|
opacity: 0;
|
|
257
257
|
transform: translateY(8px);
|
|
258
258
|
transition:
|
|
259
|
-
opacity
|
|
260
|
-
transform
|
|
259
|
+
opacity var(--wui-duration-slow) var(--wui-ease-out),
|
|
260
|
+
transform var(--wui-duration-slow) var(--wui-ease-out);
|
|
261
261
|
}
|
|
262
262
|
[data-reveal-stagger].is-visible > * {
|
|
263
263
|
opacity: 1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by @webority/tokens 0.
|
|
1
|
+
// Generated by @webority/tokens 0.152.0 from its token source. Do not edit; run webority brand --library.
|
|
2
2
|
|
|
3
3
|
:root {
|
|
4
4
|
--wui-primary: #4F46E5;
|
|
@@ -185,14 +185,17 @@
|
|
|
185
185
|
--wui-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
186
186
|
--wui-ease-ui: cubic-bezier(0.32, 0.72, 0, 1);
|
|
187
187
|
--wui-ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
188
|
+
--wui-ease-linear: cubic-bezier(0, 0, 1, 1);
|
|
188
189
|
--wui-section-sm: 80px;
|
|
189
190
|
--wui-section-md: 96px;
|
|
190
191
|
--wui-section-lg: 120px;
|
|
191
192
|
--wui-control-sm: 35px;
|
|
192
193
|
--wui-control-md: 45px;
|
|
193
194
|
--wui-control-lg: 55px;
|
|
195
|
+
--wui-touch-target: 44px;
|
|
194
196
|
--wui-container-max: 1512px;
|
|
195
197
|
--wui-container-pad: 24px;
|
|
198
|
+
--wui-container-pad-xl: 88px;
|
|
196
199
|
--wui-table-pad: 20px;
|
|
197
200
|
--wui-z-dropdown: 1000;
|
|
198
201
|
--wui-z-sticky: 1020;
|
|
@@ -323,6 +326,22 @@
|
|
|
323
326
|
--color-chart-grid: var(--color-border);
|
|
324
327
|
--color-chart-axis: var(--color-border-strong);
|
|
325
328
|
--color-chart-label: var(--color-text-subtle);
|
|
329
|
+
--color-shell-bg: #1f2d5c;
|
|
330
|
+
--color-shell-bg-deep: #141e42;
|
|
331
|
+
--color-shell-bg-raised: #2c3f7a;
|
|
332
|
+
--color-shell-text: #c9d1e6;
|
|
333
|
+
--color-shell-text-strong: #FFFFFF;
|
|
334
|
+
--color-shell-text-muted: #8792b4;
|
|
335
|
+
--color-shell-accent: #f4a261;
|
|
336
|
+
--color-shell-accent-ring: color-mix(in srgb, #f4a261 25%, transparent);
|
|
337
|
+
--color-shell-hover: color-mix(in srgb, #FFFFFF 7%, transparent);
|
|
338
|
+
--color-shell-active: color-mix(in srgb, #FFFFFF 12%, transparent);
|
|
339
|
+
--color-shell-rule: color-mix(in srgb, #FFFFFF 10%, transparent);
|
|
340
|
+
--color-shell-fill-subtle: color-mix(in srgb, #FFFFFF 8%, transparent);
|
|
341
|
+
--color-shell-fill: color-mix(in srgb, #FFFFFF 12%, transparent);
|
|
342
|
+
--color-shell-fill-strong: color-mix(in srgb, #FFFFFF 18%, transparent);
|
|
343
|
+
--color-shell-border: color-mix(in srgb, #FFFFFF 22%, transparent);
|
|
344
|
+
--color-shell-border-strong: color-mix(in srgb, #FFFFFF 40%, transparent);
|
|
326
345
|
--wui-close-filter: none;
|
|
327
346
|
--wui-pressed-overlay: color-mix(in srgb, currentColor 12%, transparent);
|
|
328
347
|
--wui-hero-gradient: radial-gradient(ellipse 120% 80% at 50% 30%, #818CF8 0%, #4F46E5 35%, #4338CA 75%, #312E81 100%);
|
|
@@ -382,6 +401,12 @@
|
|
|
382
401
|
}
|
|
383
402
|
}
|
|
384
403
|
|
|
404
|
+
@media (min-width: 1200px) {
|
|
405
|
+
:root {
|
|
406
|
+
--wui-container-pad: var(--wui-container-pad-xl);
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
|
|
385
410
|
@media (max-width: 575.98px), (pointer: coarse) {
|
|
386
411
|
:root {
|
|
387
412
|
--wui-control-md: 45px;
|
package/scss/wui/_calendar.scss
CHANGED
|
@@ -66,9 +66,9 @@ wui-calendar .fc .fc-day-other .fc-daygrid-day-number {
|
|
|
66
66
|
font-weight: 600;
|
|
67
67
|
cursor: pointer;
|
|
68
68
|
transition:
|
|
69
|
-
background
|
|
70
|
-
color
|
|
71
|
-
border-color
|
|
69
|
+
background var(--wui-duration-fast) var(--wui-ease-ui),
|
|
70
|
+
color var(--wui-duration-fast) var(--wui-ease-ui),
|
|
71
|
+
border-color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
72
72
|
}
|
|
73
73
|
.wui-calendar-nav-btn {
|
|
74
74
|
padding: 0;
|
|
@@ -120,8 +120,8 @@ wui-calendar .fc .fc-day-other .fc-daygrid-day-number {
|
|
|
120
120
|
white-space: nowrap;
|
|
121
121
|
cursor: pointer;
|
|
122
122
|
transition:
|
|
123
|
-
background
|
|
124
|
-
color
|
|
123
|
+
background var(--wui-duration-fast) var(--wui-ease-ui),
|
|
124
|
+
color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
125
125
|
}
|
|
126
126
|
.wui-calendar-view-btn:hover {
|
|
127
127
|
color: var(--color-primary-text);
|
|
@@ -210,7 +210,7 @@ wui-calendar a {
|
|
|
210
210
|
.wui-calendar-surface {
|
|
211
211
|
min-width: 0;
|
|
212
212
|
overflow-x: auto;
|
|
213
|
-
transition: opacity
|
|
213
|
+
transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
|
|
214
214
|
}
|
|
215
215
|
wui-calendar[aria-busy="true"] .wui-calendar-surface {
|
|
216
216
|
opacity: 0.6;
|
package/scss/wui/_card.scss
CHANGED
|
@@ -219,9 +219,9 @@
|
|
|
219
219
|
text-decoration: none;
|
|
220
220
|
cursor: pointer;
|
|
221
221
|
transition:
|
|
222
|
-
border-color
|
|
223
|
-
transform
|
|
224
|
-
box-shadow
|
|
222
|
+
border-color var(--wui-duration-fast) var(--wui-ease-ui),
|
|
223
|
+
transform var(--wui-duration-default) var(--wui-ease-out),
|
|
224
|
+
box-shadow var(--wui-duration-default) var(--wui-ease-ui);
|
|
225
225
|
}
|
|
226
226
|
button.card-clickable {
|
|
227
227
|
width: 100%;
|
package/scss/wui/_carousel.scss
CHANGED
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
color: var(--color-text);
|
|
76
76
|
cursor: pointer;
|
|
77
77
|
transition:
|
|
78
|
-
background-color
|
|
79
|
-
color
|
|
78
|
+
background-color var(--wui-duration-fast) var(--wui-ease-ui),
|
|
79
|
+
color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
80
80
|
&:hover {
|
|
81
81
|
background: var(--color-primary-soft);
|
|
82
82
|
color: var(--color-primary-text);
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
inset: 7px;
|
|
116
116
|
border-radius: 50%;
|
|
117
117
|
background: var(--color-border-strong);
|
|
118
|
-
transition: background-color
|
|
118
|
+
transition: background-color var(--wui-duration-fast) var(--wui-ease-ui);
|
|
119
119
|
}
|
|
120
120
|
&:hover::before {
|
|
121
121
|
background: var(--color-text-muted);
|
package/scss/wui/_chart.scss
CHANGED
|
@@ -42,8 +42,8 @@ wui-chart {
|
|
|
42
42
|
font: inherit;
|
|
43
43
|
cursor: pointer;
|
|
44
44
|
transition:
|
|
45
|
-
color
|
|
46
|
-
background-color
|
|
45
|
+
color var(--wui-duration-fast) var(--wui-ease-out),
|
|
46
|
+
background-color var(--wui-duration-fast) var(--wui-ease-out);
|
|
47
47
|
}
|
|
48
48
|
.wui-chart-legend-item:hover {
|
|
49
49
|
background: var(--color-bg-muted);
|
|
@@ -58,7 +58,7 @@ wui-chart {
|
|
|
58
58
|
width: 10px;
|
|
59
59
|
height: 10px;
|
|
60
60
|
border-radius: 3px;
|
|
61
|
-
transition: opacity
|
|
61
|
+
transition: opacity var(--wui-duration-fast) var(--wui-ease-out);
|
|
62
62
|
}
|
|
63
63
|
.wui-chart-legend-swatch-line {
|
|
64
64
|
width: 14px;
|
|
@@ -80,7 +80,7 @@ wui-chart {
|
|
|
80
80
|
position: relative;
|
|
81
81
|
width: 100%;
|
|
82
82
|
border-radius: var(--wui-radius-sm);
|
|
83
|
-
transition: opacity
|
|
83
|
+
transition: opacity var(--wui-duration-default) var(--wui-ease-out);
|
|
84
84
|
}
|
|
85
85
|
.wui-chart-surface:focus-visible {
|
|
86
86
|
outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
|