@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.
Files changed (58) hide show
  1. package/README.md +9 -0
  2. package/dist/purge-safelist.json +20 -0
  3. package/dist/webority-theme.css +1 -1
  4. package/dist/webority-tokens.css +1 -1
  5. package/package.json +3 -2
  6. package/scss/_bootstrap.generated.scss +1 -1
  7. package/scss/_components.scss +138 -52
  8. package/scss/_marketing.scss +10 -10
  9. package/scss/_tokens.generated.scss +26 -1
  10. package/scss/wui/_calendar.scss +6 -6
  11. package/scss/wui/_card.scss +3 -3
  12. package/scss/wui/_carousel.scss +3 -3
  13. package/scss/wui/_chart.scss +4 -4
  14. package/scss/wui/_choice.scss +48 -43
  15. package/scss/wui/_command-palette.scss +2 -2
  16. package/scss/wui/_comment-thread.scss +2 -2
  17. package/scss/wui/_compare-table.scss +27 -0
  18. package/scss/wui/_controls.scss +50 -48
  19. package/scss/wui/_data.scss +26 -16
  20. package/scss/wui/_dialog-motion.scss +4 -4
  21. package/scss/wui/_disclosure.scss +4 -4
  22. package/scss/wui/_display.scss +37 -23
  23. package/scss/wui/_dock.scss +6 -6
  24. package/scss/wui/_drawer.scss +2 -2
  25. package/scss/wui/_field-busy.scss +1 -1
  26. package/scss/wui/_field-floor.scss +2 -1
  27. package/scss/wui/_file-viewer.scss +3 -3
  28. package/scss/wui/_flow.scss +15 -13
  29. package/scss/wui/_inline-edit.scss +2 -2
  30. package/scss/wui/_interaction.scss +1 -2
  31. package/scss/wui/_kanban.scss +16 -6
  32. package/scss/wui/_lightbox.scss +2 -2
  33. package/scss/wui/_media.scss +48 -48
  34. package/scss/wui/_modal-remote.scss +1 -1
  35. package/scss/wui/_navigation-menu.scss +1 -1
  36. package/scss/wui/_navigation.scss +68 -18
  37. package/scss/wui/_notification-center.scss +3 -3
  38. package/scss/wui/_onboarding-checklist.scss +1 -1
  39. package/scss/wui/_overlays.scss +28 -40
  40. package/scss/wui/_pagination.scss +4 -4
  41. package/scss/wui/_rating.scss +1 -1
  42. package/scss/wui/_resizable.scss +1 -1
  43. package/scss/wui/_rich-text.scss +4 -4
  44. package/scss/wui/_score-scale.scss +3 -3
  45. package/scss/wui/_sections.scss +2 -2
  46. package/scss/wui/_shell-parts.scss +53 -5
  47. package/scss/wui/_shell.scss +56 -57
  48. package/scss/wui/_sortable.scss +2 -2
  49. package/scss/wui/_split-view.scss +2 -2
  50. package/scss/wui/_table-server.scss +1 -1
  51. package/scss/wui/_theme-toggle.scss +1 -1
  52. package/scss/wui/_toolbar.scss +7 -7
  53. package/scss/wui/_tree.scss +3 -3
  54. package/scss/wui/_utilities.scss +29 -11
  55. package/scss/wui/_workspace.scss +2 -2
  56. package/scss/wui/tour/_end.scss +1 -1
  57. package/scss/wui/tour/_motion.scss +4 -4
  58. package/token-meanings.json +2 -0
@@ -31,7 +31,7 @@
31
31
  width: 0;
32
32
  overflow: hidden;
33
33
  color: var(--color-warning);
34
- transition: width 0.12s ease;
34
+ transition: width var(--wui-duration-fast) var(--wui-ease-ui);
35
35
  }
36
36
  .wui-rating-fill .wui-icon {
37
37
  flex: none;
@@ -93,6 +93,6 @@
93
93
 
94
94
  @media (prefers-reduced-motion: no-preference) {
95
95
  .wui-resizable-handle::after {
96
- transition: background-color 120ms var(--wui-ease-ui);
96
+ transition: background-color var(--wui-duration-fast) var(--wui-ease-ui);
97
97
  }
98
98
  }
@@ -34,8 +34,8 @@ wui-rich-text:not(:defined) > textarea {
34
34
  line-height: 1.5;
35
35
  overflow: hidden;
36
36
  transition:
37
- border-color 0.12s,
38
- background-color 0.12s;
37
+ border-color var(--wui-duration-fast) var(--wui-ease-ui),
38
+ background-color var(--wui-duration-fast) var(--wui-ease-ui);
39
39
  }
40
40
  .wui-rich-text-shell:hover {
41
41
  border-color: var(--color-field-border-hover);
@@ -98,8 +98,8 @@ wui-rich-text[readonly] .wui-rich-text-toolbar {
98
98
  font-size: 13px;
99
99
  cursor: pointer;
100
100
  transition:
101
- background-color 0.12s,
102
- color 0.12s;
101
+ background-color var(--wui-duration-fast) var(--wui-ease-ui),
102
+ color var(--wui-duration-fast) var(--wui-ease-ui);
103
103
  }
104
104
  .wui-rich-text-button:hover:not(:disabled) {
105
105
  background: var(--color-bg-muted);
@@ -25,9 +25,9 @@
25
25
  font-variant-numeric: tabular-nums;
26
26
  cursor: pointer;
27
27
  transition:
28
- border-color 0.12s ease,
29
- background 0.12s ease,
30
- color 0.12s ease;
28
+ border-color var(--wui-duration-fast) var(--wui-ease-ui),
29
+ background var(--wui-duration-fast) var(--wui-ease-ui),
30
+ color var(--wui-duration-fast) var(--wui-ease-ui);
31
31
  }
32
32
  .wui-score-scale__item:not(.wui-score-scale__item--selected):hover {
33
33
  border-color: color-mix(in srgb, var(--color-primary) 30%, transparent);
@@ -254,8 +254,8 @@
254
254
  filter: grayscale(1);
255
255
  opacity: 0.7;
256
256
  transition:
257
- filter 0.2s ease,
258
- opacity 0.2s ease;
257
+ filter var(--wui-duration-default) var(--wui-ease-ui),
258
+ opacity var(--wui-duration-default) var(--wui-ease-ui);
259
259
  }
260
260
  .wui-section-logo-img:hover,
261
261
  .wui-section-logo a:focus-visible .wui-section-logo-img {
@@ -33,9 +33,9 @@
33
33
  border-top: 1px solid var(--color-border);
34
34
  background: var(--color-surface);
35
35
  }
36
- // The last content must scroll clear of the bar, and a footer sits on top of it.
36
+ // The last content must scroll clear of the bar.
37
37
  .app-shell:has(> .wui-tabbar) .app-content {
38
- padding-bottom: calc(var(--wui-tabbar-h) + 28px + env(safe-area-inset-bottom) + var(--app-footer-h, 0px));
38
+ padding-bottom: calc(var(--wui-tabbar-h) + 28px + env(safe-area-inset-bottom));
39
39
  }
40
40
  .app-shell:has(> .wui-tabbar) .app-footer {
41
41
  bottom: calc(var(--wui-tabbar-h) + env(safe-area-inset-bottom));
@@ -178,12 +178,12 @@
178
178
  border: 0;
179
179
  border-radius: 999px;
180
180
  background: transparent;
181
- color: var(--color-text);
181
+ color: var(--wui-usermenu-color, var(--color-text));
182
182
  font: inherit;
183
183
  cursor: pointer;
184
184
  }
185
185
  .wui-usermenu-trigger:hover {
186
- background: var(--color-bg-muted);
186
+ background: var(--wui-usermenu-hover-bg, var(--color-bg-muted));
187
187
  }
188
188
  .wui-usermenu-trigger:focus-visible {
189
189
  outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
@@ -207,6 +207,17 @@
207
207
  .wui-usermenu-caret {
208
208
  color: var(--color-text-muted);
209
209
  }
210
+ // The settings are read only inside the trigger, because the open menu repeats the name and role on a light surface.
211
+ .wui-usermenu-trigger .wui-usermenu-name {
212
+ color: var(--wui-usermenu-color, var(--color-text));
213
+ }
214
+ .wui-usermenu-trigger :is(.wui-usermenu-role, .wui-usermenu-caret) {
215
+ color: var(--wui-usermenu-muted-color, var(--color-text-muted));
216
+ }
217
+ .wui-usermenu-trigger .avatar {
218
+ background: var(--wui-usermenu-avatar-bg, var(--avatar-bg, color-mix(in srgb, var(--color-primary) 15%, var(--color-surface))));
219
+ color: var(--wui-usermenu-avatar-color, var(--avatar-fg, var(--color-primary-text)));
220
+ }
210
221
  // Below xl the name and role give way to the avatar alone.
211
222
  @include media-breakpoint-down(xl) {
212
223
  .wui-usermenu-text,
@@ -436,13 +447,22 @@ a.wui-bell-item:focus-visible {
436
447
  // ── Topbar search ───────────────────────────────────────────────────────────────────────────
437
448
  // A field after the topbar-start content above md; an icon button that opens the field as a
438
449
  // full-width panel under the topbar below it.
439
- .app-topbar-start:has(> .wui-topsearch) {
450
+ .app-topbar-start:has(> .wui-topsearch-host) {
440
451
  flex: 1 1 auto;
441
452
  }
442
453
  .wui-topsearch {
443
454
  position: relative;
444
455
  width: min(380px, 38vw);
445
456
  }
457
+ .wui-topsearch-host {
458
+ flex: 1 1 auto;
459
+ min-width: 0;
460
+ }
461
+ .wui-topsearch-host > .wui-topsearch-row {
462
+ display: flex;
463
+ align-items: center;
464
+ min-width: 0;
465
+ }
446
466
  .wui-topsearch-open {
447
467
  display: none;
448
468
  }
@@ -561,3 +581,31 @@ a.wui-bell-item:focus-visible {
561
581
  box-shadow: none;
562
582
  }
563
583
  }
584
+ @include media-breakpoint-up(md) {
585
+ .wui-topsearch-host > .wui-overflow-more {
586
+ display: none;
587
+ }
588
+ .app-topbar-start > .wui-topsearch-host > [data-wui-overflow-list] > .wui-topsearch[data-wui-overflow-hidden] {
589
+ display: block !important;
590
+ }
591
+ }
592
+ @include media-breakpoint-down(md) {
593
+ // The host keeps room for the 44px More button; squeezed to zero by the end group, More would paint over it.
594
+ .app-topbar-start > .wui-topsearch-host {
595
+ flex-shrink: 0;
596
+ min-width: 44px;
597
+ }
598
+ .app-topbar-start > .wui-topsearch-host > .wui-overflow-more {
599
+ width: 44px;
600
+ height: 44px;
601
+ padding: 0;
602
+ justify-content: center;
603
+ font-size: 0;
604
+ }
605
+ .app-topbar-start > .wui-topsearch-host > [data-wui-overflow-list] > .wui-topsearch[data-wui-overflow-hidden] {
606
+ display: contents !important;
607
+ }
608
+ .app-topbar-start > .wui-topsearch-host > [data-wui-overflow-list] > .wui-topsearch[data-wui-overflow-hidden] > .wui-topsearch-open {
609
+ display: none;
610
+ }
611
+ }
@@ -26,7 +26,7 @@
26
26
  gap: 18px;
27
27
  text-align: center;
28
28
  // Ease in on mount so the boot screen settles rather than snapping into place.
29
- animation: wui-splash-enter 0.5s var(--wui-ease-ui) both;
29
+ animation: wui-splash-enter var(--wui-duration-slow) var(--wui-ease-ui) both;
30
30
  }
31
31
  // One diameter drives the mark, its initials, the logo cap, and the bar width — the `size`
32
32
  // preset or a custom pixel value resolves to `--wui-splash-size` (set inline by App*/<app-*>).
@@ -34,7 +34,7 @@
34
34
  max-width: calc(var(--wui-splash-size, 56px) * 3.2);
35
35
  height: auto;
36
36
  // A slow breath keeps the brand mark feeling alive through the wait.
37
- animation: wui-splash-breathe 2.6s ease-in-out infinite;
37
+ animation: wui-splash-breathe calc(var(--wui-duration-slow) * 7) var(--wui-ease-in-out) infinite;
38
38
  }
39
39
  .splash-mark {
40
40
  width: var(--wui-splash-size, 56px);
@@ -46,7 +46,7 @@
46
46
  color: var(--color-on-primary);
47
47
  font-size: calc(var(--wui-splash-size, 56px) * 0.39);
48
48
  font-weight: 700;
49
- animation: wui-splash-breathe 2.6s ease-in-out infinite;
49
+ animation: wui-splash-breathe calc(var(--wui-duration-slow) * 7) var(--wui-ease-in-out) infinite;
50
50
  }
51
51
  .splash-text {
52
52
  font-size: 14px;
@@ -86,7 +86,7 @@
86
86
  var(--color-primary) 65%,
87
87
  transparent
88
88
  );
89
- animation: wui-splash-sweep 1.1s var(--wui-ease-ui) infinite;
89
+ animation: wui-splash-sweep calc(var(--wui-duration-slow) * 3) var(--wui-ease-ui) infinite;
90
90
  }
91
91
  // A spinning arc — the circular take on the same "working, no percentage" idea.
92
92
  .splash-ring {
@@ -95,7 +95,7 @@
95
95
  border-radius: 50%;
96
96
  border: 3px solid var(--color-bg-muted);
97
97
  border-top-color: var(--color-primary);
98
- animation: wui-splash-spin 0.8s linear infinite;
98
+ animation: wui-splash-spin calc(var(--wui-duration-slow) * 2) var(--wui-ease-linear) infinite;
99
99
  }
100
100
  // Three dots taking turns rising — a lighter, friendlier wait.
101
101
  .splash-dots {
@@ -107,13 +107,13 @@
107
107
  height: 9px;
108
108
  border-radius: 50%;
109
109
  background: var(--color-primary);
110
- animation: wui-splash-dot 1.2s ease-in-out infinite;
110
+ animation: wui-splash-dot calc(var(--wui-duration-slow) * 3) var(--wui-ease-in-out) infinite;
111
111
  }
112
112
  .splash-dots i:nth-child(2) {
113
- animation-delay: 0.16s;
113
+ animation-delay: calc(var(--wui-duration-slow) * 0.4);
114
114
  }
115
115
  .splash-dots i:nth-child(3) {
116
- animation-delay: 0.32s;
116
+ animation-delay: calc(var(--wui-duration-slow) * 0.8);
117
117
  }
118
118
  @keyframes wui-splash-enter {
119
119
  from {
@@ -208,7 +208,7 @@
208
208
  grid-template-columns: var(--app-sidebar-w) 1fr;
209
209
  min-height: 100vh;
210
210
  background: var(--color-bg);
211
- transition: grid-template-columns 0.2s var(--wui-ease-ui);
211
+ transition: grid-template-columns var(--wui-duration-default) var(--wui-ease-ui);
212
212
  }
213
213
  .app-shell.collapsed {
214
214
  grid-template-columns: var(--app-sidebar-rail-w) 1fr;
@@ -221,20 +221,31 @@
221
221
  .app-shell.no-sidebar .app-sidebar-toggle {
222
222
  display: none;
223
223
  }
224
- .app-shell.no-sidebar .app-footer {
225
- left: 0;
226
- }
227
224
  // Below lg the drawer and the phone tab bar carry the navigation, so the topbar menu waits for lg.
228
225
  .app-shell.wui-shell-top .wui-shell-top-nav {
229
226
  display: none;
230
227
  }
228
+ // The top bar brand slot's size hook. A product sets --wui-shell-top-brand-height (and
229
+ // --wui-shell-top-brand-height-phone, below md) on any ancestor; its own brand node reads
230
+ // --wui-shell-top-brand-size. The inputs are never declared here, so an ancestor's value wins.
231
231
  .wui-shell-top-brand {
232
+ --wui-shell-top-brand-size: var(--wui-shell-top-brand-height, 32px);
232
233
  display: flex;
233
234
  align-items: center;
234
235
  flex: none;
235
236
  // A text brand reads at the root size; body text runs a step smaller.
236
237
  font-size: $font-size-base;
237
238
  }
239
+ .wui-shell-top-brand :is(.wui-brand-logo, .wui-brand-mark) {
240
+ display: block;
241
+ height: var(--wui-shell-top-brand-size);
242
+ width: auto;
243
+ }
244
+ @include media-breakpoint-down(md) {
245
+ .wui-shell-top-brand {
246
+ --wui-shell-top-brand-size: var(--wui-shell-top-brand-height-phone, 28px);
247
+ }
248
+ }
238
249
 
239
250
  // Sticky always makes a stacking context, so without a z-index here the page content after the
240
251
  // sidebar paints over anything the sidebar lets out, such as an open workspace switcher menu.
@@ -260,7 +271,7 @@
260
271
  // a shell set in a fixed-height box at the box's height, with the nav scrolling inside it.
261
272
  min-height: 0;
262
273
  background: var(--color-surface);
263
- transition: padding 0.2s var(--wui-ease-ui);
274
+ transition: padding var(--wui-duration-default) var(--wui-ease-ui);
264
275
  }
265
276
  .app-shell.collapsed .app-sidebar {
266
277
  padding: 20px 12px var(--app-sidebar-toggle-gap);
@@ -367,8 +378,8 @@
367
378
  visibility: hidden;
368
379
  opacity: 0;
369
380
  pointer-events: none;
370
- transition: opacity 0.2s var(--wui-ease-ui);
371
- animation: wui-sidebar-thumb linear both;
381
+ transition: opacity var(--wui-duration-default) var(--wui-ease-ui);
382
+ animation: wui-sidebar-thumb var(--wui-ease-linear) both;
372
383
  animation-timeline: scroll(nearest);
373
384
  }
374
385
  @container scroll-state(scrollable: y) {
@@ -411,6 +422,11 @@
411
422
  padding-top: 12px;
412
423
  overflow-x: clip;
413
424
  }
425
+ .wui-sidebar-foot-links {
426
+ display: flex;
427
+ flex-direction: column;
428
+ gap: var(--wui-space-xxs);
429
+ }
414
430
 
415
431
  .app-nav-group {
416
432
  display: flex;
@@ -472,7 +488,7 @@
472
488
  flex: none;
473
489
  display: inline-grid;
474
490
  place-items: center;
475
- transition: transform 0.2s var(--wui-ease-ui);
491
+ transition: transform var(--wui-duration-default) var(--wui-ease-ui);
476
492
  }
477
493
  .wui-nav-group-folded > .wui-nav-group-toggle .wui-nav-group-caret {
478
494
  transform: rotate(-90deg);
@@ -504,10 +520,10 @@
504
520
  color: var(--color-text-muted);
505
521
  text-decoration: none;
506
522
  transition:
507
- background 0.12s ease,
508
- color 0.12s ease,
509
- padding 0.2s var(--wui-ease-ui),
510
- gap 0.2s var(--wui-ease-ui);
523
+ background var(--wui-duration-fast) var(--wui-ease-ui),
524
+ color var(--wui-duration-fast) var(--wui-ease-ui),
525
+ padding var(--wui-duration-default) var(--wui-ease-ui),
526
+ gap var(--wui-duration-default) var(--wui-ease-ui);
511
527
  }
512
528
  // Compact: 40px rows, a 42px pitch. The touch floor holds on a coarse pointer whatever the density.
513
529
  .app-shell[data-density="compact"] .app-nav-item:not(.app-nav-subitem) {
@@ -703,7 +719,7 @@
703
719
  display: inline-grid;
704
720
  place-items: center;
705
721
  color: var(--color-text-subtle);
706
- transition: transform 0.2s var(--wui-ease-ui);
722
+ transition: transform var(--wui-duration-default) var(--wui-ease-ui);
707
723
  }
708
724
  .app-nav-item.has-children[aria-expanded="true"] .app-nav-caret {
709
725
  transform: rotate(90deg);
@@ -711,7 +727,7 @@
711
727
  .app-nav-sub {
712
728
  display: grid;
713
729
  grid-template-rows: 0fr;
714
- transition: grid-template-rows 0.24s var(--wui-ease-ui);
730
+ transition: grid-template-rows var(--wui-duration-default) var(--wui-ease-ui);
715
731
  }
716
732
  .app-nav-sub-inner {
717
733
  overflow: hidden;
@@ -805,9 +821,6 @@
805
821
  .app-shell.wui-shell-top .app-sidebar-toggle {
806
822
  display: none;
807
823
  }
808
- .app-shell.wui-shell-top .app-footer {
809
- left: 0;
810
- }
811
824
  .app-shell.wui-shell-top .wui-shell-top-nav {
812
825
  display: flex;
813
826
  align-items: center;
@@ -832,8 +845,8 @@
832
845
  transform-origin: left center;
833
846
  pointer-events: none;
834
847
  transition:
835
- opacity 0.12s ease,
836
- transform 0.12s ease;
848
+ opacity var(--wui-duration-fast) var(--wui-ease-ui),
849
+ transform var(--wui-duration-fast) var(--wui-ease-ui);
837
850
  }
838
851
  .app-shell.collapsed .app-nav-item[data-label]:hover::after,
839
852
  .app-shell.collapsed .app-nav-item[data-label]:focus-visible::after {
@@ -868,8 +881,8 @@
868
881
  color: var(--color-text-muted);
869
882
  cursor: pointer;
870
883
  transition:
871
- color 0.12s ease,
872
- background-color 0.12s ease;
884
+ color var(--wui-duration-fast) var(--wui-ease-ui),
885
+ background-color var(--wui-duration-fast) var(--wui-ease-ui);
873
886
  }
874
887
  .app-sidebar-toggle::before {
875
888
  // A rule marking the toggle off from the nav, matching the rule between nav groups. It is a
@@ -895,7 +908,7 @@
895
908
  // `block` kills the inline-block baseline gap (.wui-icon is inline-block), which otherwise
896
909
  // pushes the glyph a hair down in the button, so the grid can centre it exactly.
897
910
  display: block;
898
- transition: transform 0.2s ease;
911
+ transition: transform var(--wui-duration-default) var(--wui-ease-ui);
899
912
  }
900
913
  // The double-chevron glyph is a left/right MIRROR pair, not a point-symmetric shape, so a
901
914
  // 180deg rotate (used for the old single-chevron glyph) would flip it upside down too;
@@ -928,26 +941,24 @@
928
941
  // topbar reads once the page moves is a per-surface art-direction call.
929
942
  border-bottom: 1px solid transparent;
930
943
  transition:
931
- border-color 0.2s ease,
932
- box-shadow 0.2s ease;
944
+ border-color var(--wui-duration-default) var(--wui-ease-ui),
945
+ box-shadow var(--wui-duration-default) var(--wui-ease-ui);
933
946
  }
934
947
  .app-topbar[data-tone="primary"] {
935
948
  background: var(--color-primary);
936
949
  color: var(--color-on-primary);
950
+ --wui-usermenu-color: var(--color-on-primary);
951
+ --wui-usermenu-muted-color: var(--color-on-primary);
952
+ --wui-usermenu-hover-bg: color-mix(in srgb, var(--color-on-primary) 12%, transparent);
937
953
  }
938
- .app-topbar[data-tone="primary"] :is(.app-topbar-menu, .topbar-icon-btn, .wui-usermenu-trigger) {
939
- color: inherit;
940
- }
941
- // The trigger's name, role and caret take the ink too. Scoped to the trigger, because the open
942
- // menu repeats the name and role on its surface, where the ink would be unreadable.
943
- .app-topbar[data-tone="primary"] .wui-usermenu-trigger :is(.wui-usermenu-name, .wui-usermenu-role, .wui-usermenu-caret) {
954
+ .app-topbar[data-tone="primary"] :is(.app-topbar-menu, .topbar-icon-btn) {
944
955
  color: inherit;
945
956
  }
946
957
  .app-topbar[data-tone="primary"] .app-topbar-menu {
947
958
  background: transparent;
948
959
  border-color: color-mix(in srgb, var(--color-on-primary) 60%, transparent);
949
960
  }
950
- .app-topbar[data-tone="primary"] :is(.app-topbar-menu, .topbar-icon-btn, .wui-usermenu-trigger):hover {
961
+ .app-topbar[data-tone="primary"] :is(.app-topbar-menu, .topbar-icon-btn):hover {
951
962
  background: color-mix(in srgb, var(--color-on-primary) 12%, transparent);
952
963
  }
953
964
  // Two groups: the leading one shrinks and ellipsises a long page title, the
@@ -981,12 +992,11 @@
981
992
  outline-offset: var(--wui-focus-ring-offset);
982
993
  }
983
994
 
984
- // --app-footer-h is set on .app-shell by the shell runtime while a footer is rendered; it is unset without one.
985
995
  .app-content {
986
996
  --app-content-padding-top: 24px;
987
997
  flex: 1 1 auto;
988
998
  min-width: 0;
989
- padding: var(--app-content-padding-top) 28px calc(24px + var(--app-footer-h, 0px));
999
+ padding: var(--app-content-padding-top) 28px 24px;
990
1000
  }
991
1001
  [data-density="compact"] .app-content {
992
1002
  --app-content-padding-top: 12px;
@@ -1020,18 +1030,12 @@
1020
1030
  outline-offset: var(--wui-focus-ring-offset);
1021
1031
  }
1022
1032
  .app-footer {
1023
- position: fixed;
1024
- right: 0;
1033
+ position: sticky;
1025
1034
  bottom: 0;
1026
- left: var(--app-sidebar-w);
1027
1035
  z-index: var(--wui-z-fixed);
1028
1036
  background: color-mix(in srgb, var(--color-surface) 90%, transparent);
1029
1037
  backdrop-filter: blur(50px);
1030
1038
  -webkit-backdrop-filter: blur(50px);
1031
- transition: left 0.2s var(--wui-ease-ui);
1032
- }
1033
- .app-shell.collapsed .app-footer {
1034
- left: var(--app-sidebar-rail-w);
1035
1039
  }
1036
1040
 
1037
1041
  // Below lg the sidebar becomes a drawer: off-canvas by default, slid in over a
@@ -1053,15 +1057,15 @@
1053
1057
  // Hidden once the slide-out ends so a closed drawer's links leave the Tab order.
1054
1058
  visibility: hidden;
1055
1059
  transition:
1056
- transform 0.24s var(--wui-ease-out),
1057
- visibility 0s linear 0.24s;
1060
+ transform var(--wui-duration-default) var(--wui-ease-out),
1061
+ visibility 0s var(--wui-ease-linear) var(--wui-duration-default);
1058
1062
  box-shadow: var(--wui-shadow-modal);
1059
1063
  }
1060
1064
  .app-shell.app-shell.mobile-open .app-sidebar {
1061
1065
  transform: translateX(0);
1062
1066
  visibility: visible;
1063
1067
  transition:
1064
- transform 0.24s var(--wui-ease-out),
1068
+ transform var(--wui-duration-default) var(--wui-ease-out),
1065
1069
  visibility 0s;
1066
1070
  }
1067
1071
  // The rail is a desktop affordance; on a drawer it makes no sense, so the
@@ -1105,17 +1109,13 @@
1105
1109
  .app-shell.app-shell .app-topbar-menu {
1106
1110
  display: inline-grid;
1107
1111
  }
1108
- .app-shell.app-shell .app-footer,
1109
- .app-shell.app-shell.collapsed .app-footer {
1110
- left: 0;
1111
- }
1112
1112
  .app-shell.app-shell .app-content,
1113
1113
  .app-shell.app-shell .app-topbar {
1114
1114
  padding-inline: 16px;
1115
1115
  }
1116
1116
  .app-shell.app-shell .app-content {
1117
1117
  --app-content-padding-top: 16px;
1118
- padding-block: var(--app-content-padding-top) calc(32px + var(--app-footer-h, 0px));
1118
+ padding-block: var(--app-content-padding-top) 32px;
1119
1119
  }
1120
1120
  .app-shell.app-shell[data-density="compact"] .app-content {
1121
1121
  --app-content-padding-top: 12px;
@@ -1152,7 +1152,6 @@
1152
1152
  .app-nav-item,
1153
1153
  .app-sidebar-toggle,
1154
1154
  .app-sidebar-toggle > *,
1155
- .app-footer,
1156
1155
  .app-topbar {
1157
1156
  transition: none;
1158
1157
  }
@@ -62,8 +62,8 @@ wui-sortable[borderless] .wui-sortable-item {
62
62
  cursor: grab;
63
63
  touch-action: none;
64
64
  transition:
65
- background-color 160ms var(--wui-ease-ui),
66
- color 160ms var(--wui-ease-ui);
65
+ background-color var(--wui-duration-fast) var(--wui-ease-ui),
66
+ color var(--wui-duration-fast) var(--wui-ease-ui);
67
67
  }
68
68
  .wui-sortable-handle:hover {
69
69
  background: var(--color-bg-muted);
@@ -319,7 +319,7 @@
319
319
  .wui-split-item,
320
320
  .wui-split-pane-body {
321
321
  transition:
322
- background-color 0.12s ease,
323
- opacity 0.12s ease;
322
+ background-color var(--wui-duration-fast) var(--wui-ease-ui),
323
+ opacity var(--wui-duration-fast) var(--wui-ease-ui);
324
324
  }
325
325
  }
@@ -16,7 +16,7 @@
16
16
  .wui-table-server > .table-wrap[aria-busy="true"] > .table > tbody:not(:has(> tr[data-wui-skeleton])) {
17
17
  opacity: 0.55;
18
18
  pointer-events: none;
19
- transition: opacity 0.15s ease;
19
+ transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
20
20
  }
21
21
  .wui-skeleton-cell {
22
22
  display: block;
@@ -34,7 +34,7 @@ html.wui-theme-switching *::after {
34
34
  // The disc's glyph turns a touch on hover, the one cue that it changes something page-wide. The
35
35
  // segmented variant (one option per mode) keeps AppSegmented's own look.
36
36
  .u-action.wui-theme-toggle .wui-icon {
37
- transition: transform 0.3s var(--wui-ease-out, ease-out);
37
+ transition: transform var(--wui-duration-default) var(--wui-ease-out, ease-out);
38
38
  }
39
39
  .u-action.wui-theme-toggle:hover .wui-icon {
40
40
  transform: rotate(24deg);
@@ -31,8 +31,8 @@
31
31
  cursor: pointer;
32
32
  margin-bottom: 0;
33
33
  transition:
34
- background-color 160ms var(--wui-ease-ui),
35
- color 160ms var(--wui-ease-ui);
34
+ background-color var(--wui-duration-fast) var(--wui-ease-ui),
35
+ color var(--wui-duration-fast) var(--wui-ease-ui);
36
36
  }
37
37
  .toolbar-item:hover {
38
38
  background: var(--color-bg-muted);
@@ -82,9 +82,9 @@
82
82
  font-size: 0.875rem;
83
83
  font-weight: 500;
84
84
  transition:
85
- max-width 240ms var(--wui-ease-ui),
86
- margin-left 240ms var(--wui-ease-ui),
87
- opacity 180ms var(--wui-ease-ui);
85
+ max-width var(--wui-duration-default) var(--wui-ease-ui),
86
+ margin-left var(--wui-duration-default) var(--wui-ease-ui),
87
+ opacity var(--wui-duration-default) var(--wui-ease-ui);
88
88
  }
89
89
  .toolbar-item:has(.toolbar-input:checked) .toolbar-item-label {
90
90
  max-width: 10rem;
@@ -113,8 +113,8 @@
113
113
  color: var(--color-text-muted);
114
114
  cursor: pointer;
115
115
  transition:
116
- background-color 160ms var(--wui-ease-ui),
117
- color 160ms var(--wui-ease-ui);
116
+ background-color var(--wui-duration-fast) var(--wui-ease-ui),
117
+ color var(--wui-duration-fast) var(--wui-ease-ui);
118
118
  }
119
119
  .toolbar-action:hover:not(:disabled) {
120
120
  background: var(--color-bg-muted);
@@ -67,7 +67,7 @@ wui-tree {
67
67
  color: var(--color-text-muted);
68
68
  }
69
69
  .wui-tree-toggle .wui-icon {
70
- transition: transform 0.15s ease;
70
+ transition: transform var(--wui-duration-fast) var(--wui-ease-ui);
71
71
  }
72
72
  .wui-tree-item[aria-expanded="true"] > .wui-tree-row .wui-tree-toggle .wui-icon {
73
73
  transform: rotate(90deg);
@@ -106,7 +106,7 @@ wui-tree {
106
106
  border: 2px solid var(--color-border-strong);
107
107
  border-top-color: var(--color-primary);
108
108
  border-radius: 50%;
109
- animation: wui-tree-spin 0.7s linear infinite;
109
+ animation: wui-tree-spin calc(var(--wui-duration-slow) * 2) var(--wui-ease-linear) infinite;
110
110
  }
111
111
  @keyframes wui-tree-spin {
112
112
  to {
@@ -119,7 +119,7 @@ wui-tree {
119
119
  transition: none;
120
120
  }
121
121
  .wui-tree-spinner {
122
- animation-duration: 2s;
122
+ animation-duration: calc(var(--wui-duration-slow) * 5);
123
123
  }
124
124
  }
125
125