@webority/theme 0.164.0 → 0.167.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 (67) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +86 -1
  3. package/dist/published-theme.json +2 -0
  4. package/dist/purge-safelist.json +58 -24
  5. package/dist/webority-modes.css +1 -0
  6. package/dist/webority-theme.css +1 -1
  7. package/dist/webority-tokens.css +1 -1
  8. package/package.json +13 -6
  9. package/scss/_bootstrap.generated.scss +1 -1
  10. package/scss/_components.scss +33 -25
  11. package/scss/_modes.scss +17 -0
  12. package/scss/_tokens-modes.generated.scss +170 -0
  13. package/scss/_tokens.generated.scss +11 -6
  14. package/scss/_wui-components.scss +2 -2
  15. package/scss/_wui-core.scss +2 -2
  16. package/scss/wui/_cell.scss +1 -1
  17. package/scss/wui/_choice.scss +18 -8
  18. package/scss/wui/_controls.scss +144 -61
  19. package/scss/wui/_data.scss +54 -4
  20. package/scss/wui/_display.scss +8 -4
  21. package/scss/wui/_entry-grid.scss +178 -0
  22. package/scss/wui/_field-floor.scss +6 -6
  23. package/scss/wui/_field-sizes.scss +9 -5
  24. package/scss/wui/_flow.scss +1 -0
  25. package/scss/wui/_forced-colors.scss +15 -0
  26. package/scss/wui/_formula-steps.scss +73 -0
  27. package/scss/wui/_groups.scss +8 -0
  28. package/scss/wui/_interaction.scss +4 -0
  29. package/scss/wui/_metric-strip.scss +14 -0
  30. package/scss/wui/_navigation.scss +26 -10
  31. package/scss/wui/_overlays.scss +8 -0
  32. package/scss/wui/_print.scss +15 -0
  33. package/scss/wui/_sections.scss +28 -0
  34. package/scss/wui/_select.scss +9 -2
  35. package/scss/wui/_shell-parts.scss +4 -0
  36. package/scss/wui/_typography.scss +1 -0
  37. package/scss/wui/_utilities.scss +0 -7
  38. package/scss/wui/forced-colors/_base.scss +95 -0
  39. package/scss/wui/forced-colors/_choice.scss +59 -0
  40. package/scss/wui/forced-colors/_controls.scss +90 -0
  41. package/scss/wui/forced-colors/_data.scss +57 -0
  42. package/scss/wui/forced-colors/_display.scss +77 -0
  43. package/scss/wui/forced-colors/_media.scss +63 -0
  44. package/scss/wui/forced-colors/_navigation.scss +40 -0
  45. package/scss/wui/forced-colors/_overlays.scss +41 -0
  46. package/scss/wui/modes/_calendar.scss +24 -0
  47. package/scss/wui/modes/_command-palette.scss +23 -0
  48. package/scss/wui/modes/_dock.scss +21 -0
  49. package/scss/wui/modes/_file-viewer.scss +19 -0
  50. package/scss/wui/modes/_image-crop.scss +21 -0
  51. package/scss/wui/modes/_kanban.scss +36 -0
  52. package/scss/wui/modes/_org-tree.scss +18 -0
  53. package/scss/wui/modes/_rich-text.scss +25 -0
  54. package/scss/wui/modes/_tour.scss +30 -0
  55. package/scss/wui/modes/_tree.scss +17 -0
  56. package/scss/wui/modes/_workspace.scss +19 -0
  57. package/scss/wui/print/_chrome.scss +43 -0
  58. package/scss/wui/print/_content.scss +73 -0
  59. package/scss/wui/print/_dark.scss +105 -0
  60. package/scss/wui/print/_data.scss +80 -0
  61. package/scss/wui/print/_overlays.scss +46 -0
  62. package/scss/wui/print/_page.scss +11 -0
  63. package/scss/wui/print/_status.scss +42 -0
  64. package/scss/wui/print/_surfaces.scss +56 -0
  65. package/token-meanings.json +3 -2
  66. package/scss/wui/_resizable.scss +0 -100
  67. package/scss/wui/_rolling-number.scss +0 -68
@@ -0,0 +1,21 @@
1
+ // Print and forced-colours rules for this on-demand widget: two blocks, @media (forced-colors: active) then @media print.
2
+
3
+ @media (forced-colors: active) {
4
+ wui-dock {
5
+ outline: 1px solid CanvasText;
6
+ outline-offset: -1px;
7
+ }
8
+
9
+ .dock-item:hover,
10
+ .dock-item:focus-visible {
11
+ forced-color-adjust: none;
12
+ background-color: Highlight;
13
+ color: HighlightText;
14
+ }
15
+ }
16
+
17
+ @media print {
18
+ wui-dock {
19
+ display: none !important;
20
+ }
21
+ }
@@ -0,0 +1,19 @@
1
+ // Print and forced-colours rules for this on-demand widget: two blocks, @media (forced-colors: active) then @media print.
2
+
3
+ @media (forced-colors: active) {
4
+ .wui-file-viewer-page-input:focus-visible {
5
+ outline: var(--wui-focus-ring-width) solid Highlight;
6
+ outline-offset: calc(-1 * var(--wui-focus-ring-width));
7
+ }
8
+ .wui-file-viewer-text mark.wui-file-viewer-hit-current,
9
+ .wui-file-viewer-text .wui-file-viewer-hit-current.mark {
10
+ outline: 1px solid CanvasText;
11
+ outline-offset: -1px;
12
+ }
13
+ }
14
+
15
+ @media print {
16
+ .wui-file-viewer-toolbar {
17
+ display: none !important;
18
+ }
19
+ }
@@ -0,0 +1,21 @@
1
+ // Print and forced-colours rules for this on-demand widget: two blocks, @media (forced-colors: active) then @media print.
2
+
3
+ @media (forced-colors: active) {
4
+ .wui-crop-handle::after {
5
+ background-color: CanvasText;
6
+ outline: 1px solid CanvasText;
7
+ outline-offset: -1px;
8
+ }
9
+ .wui-crop-preview {
10
+ outline: 1px solid CanvasText;
11
+ outline-offset: -1px;
12
+ }
13
+ }
14
+
15
+ @media print {
16
+ .wui-crop-handle,
17
+ .wui-crop-controls,
18
+ .wui-crop-tools {
19
+ display: none !important;
20
+ }
21
+ }
@@ -0,0 +1,36 @@
1
+ // Print and forced-colours rules for this on-demand widget: two blocks, @media (forced-colors: active) then @media print.
2
+
3
+ @media (forced-colors: active) {
4
+ .wui-kanban-dot {
5
+ background-color: CanvasText;
6
+ }
7
+ .wui-kanban-card,
8
+ .wui-kanban-column {
9
+ outline: 1px solid CanvasText;
10
+ outline-offset: -1px;
11
+ }
12
+ }
13
+
14
+ @media print {
15
+ .wui-kanban-ghost,
16
+ .wui-kanban-switcher,
17
+ .wui-kanban-hint {
18
+ display: none !important;
19
+ }
20
+ .wui-kanban-switcher {
21
+ position: static !important;
22
+ }
23
+ .wui-kanban-board {
24
+ flex-wrap: wrap;
25
+ }
26
+ .wui-kanban-board,
27
+ .wui-kanban-column,
28
+ .wui-kanban-body {
29
+ overflow: visible !important;
30
+ max-height: none !important;
31
+ height: auto !important;
32
+ }
33
+ .wui-kanban-card {
34
+ break-inside: avoid;
35
+ }
36
+ }
@@ -0,0 +1,18 @@
1
+ // Print and forced-colours rules for this on-demand widget: two blocks, @media (forced-colors: active) then @media print.
2
+
3
+ @media (forced-colors: active) {
4
+ .wui-org-tree-item:focus-visible > .wui-org-tree-node {
5
+ outline: var(--wui-focus-ring-width) solid Highlight;
6
+ outline-offset: calc(-1 * var(--wui-focus-ring-width));
7
+ }
8
+ .wui-org-tree-node {
9
+ outline: 1px solid CanvasText;
10
+ outline-offset: -1px;
11
+ }
12
+ }
13
+
14
+ @media print {
15
+ .wui-org-tree-node {
16
+ border: 1px solid var(--color-border-strong);
17
+ }
18
+ }
@@ -0,0 +1,25 @@
1
+ // Print and forced-colours rules for this on-demand widget: two blocks, @media (forced-colors: active) then @media print.
2
+
3
+ @media (forced-colors: active) {
4
+ .wui-rich-text-link-input:focus {
5
+ outline: var(--wui-focus-ring-width) solid Highlight;
6
+ outline-offset: calc(-1 * var(--wui-focus-ring-width));
7
+ }
8
+ .wui-rich-text-shell:focus-within {
9
+ outline: var(--wui-focus-ring-width) solid Highlight;
10
+ outline-offset: calc(-1 * var(--wui-focus-ring-width));
11
+ }
12
+ .wui-rich-text-button[aria-pressed="true"] {
13
+ outline: 2px solid Highlight;
14
+ outline-offset: -2px;
15
+ }
16
+ }
17
+
18
+ @media print {
19
+ .wui-rich-text-toolbar {
20
+ display: none !important;
21
+ }
22
+ .wui-rich-text-shell {
23
+ border: 0;
24
+ }
25
+ }
@@ -0,0 +1,30 @@
1
+ // Print and forced-colours rules for this on-demand widget: two blocks, @media (forced-colors: active) then @media print.
2
+
3
+ @media (forced-colors: active) {
4
+ .wui-tour-spot {
5
+ outline: 2px solid Highlight;
6
+ }
7
+
8
+ .wui-tour-card {
9
+ outline: 1px solid CanvasText;
10
+ outline-offset: -1px;
11
+ }
12
+
13
+ .wui-tour-progress-bar {
14
+ outline: 1px solid CanvasText;
15
+ }
16
+
17
+ .wui-tour-progress-segment {
18
+ background-color: Highlight;
19
+ }
20
+ }
21
+
22
+ @media print {
23
+ wui-tour,
24
+ wui-tour-step,
25
+ .wui-tour-layer,
26
+ .wui-tour-spot,
27
+ .wui-tour-end {
28
+ display: none !important;
29
+ }
30
+ }
@@ -0,0 +1,17 @@
1
+ // Print and forced-colours rules for this on-demand widget: two blocks, @media (forced-colors: active) then @media print.
2
+ @media (forced-colors: active) {
3
+ .wui-tree-item:focus-visible > .wui-tree-row {
4
+ outline: var(--wui-focus-ring-width) solid Highlight;
5
+ outline-offset: var(--wui-focus-ring-inset);
6
+ }
7
+ .wui-tree-row.wui-tree-row-selected {
8
+ outline: 2px solid Highlight;
9
+ outline-offset: -2px;
10
+ }
11
+ }
12
+
13
+ @media print {
14
+ .wui-tree-row {
15
+ break-inside: avoid;
16
+ }
17
+ }
@@ -0,0 +1,19 @@
1
+ // Print and forced-colours rules for this on-demand widget: two blocks, @media (forced-colors: active) then @media print.
2
+
3
+ @media (forced-colors: active) {
4
+ .workspace-switcher-search:focus-within {
5
+ outline: var(--wui-focus-ring-width) solid Highlight;
6
+ outline-offset: calc(-1 * var(--wui-focus-ring-width));
7
+ }
8
+ .workspace-switcher .workspace-switcher-option.is-active,
9
+ .workspace-switcher .workspace-switcher-option.is-active:hover {
10
+ outline: 2px solid Highlight;
11
+ outline-offset: -2px;
12
+ }
13
+ }
14
+
15
+ @media print {
16
+ .workspace-switcher .workspace-switcher-menu {
17
+ display: none !important;
18
+ }
19
+ }
@@ -0,0 +1,43 @@
1
+ // Plain rules only: wui/_print.scss wraps this file in its media query.
2
+
3
+ .app-sidebar,
4
+ .app-topbar,
5
+ .app-footer,
6
+ .app-sidebar-toggle,
7
+ .wui-shell-top-nav,
8
+ .wui-skip-link,
9
+ .wui-tabbar,
10
+ .wui-shell-launcher,
11
+ .wui-floating-stack,
12
+ .wui-floating-btn,
13
+ wui-consent-banner,
14
+ .wui-page-header-actions,
15
+ .app-tabs-scroll-btn,
16
+ .wui-breadcrumb-more-toggle,
17
+ .wui-search-toggle,
18
+ .wui-overflow-more,
19
+ .pagination,
20
+ .wui-record-pager-prev,
21
+ .wui-record-pager-next,
22
+ .toolbar-action {
23
+ display: none !important;
24
+ }
25
+
26
+ .app-shell {
27
+ position: static !important;
28
+ display: block !important;
29
+ grid-template-columns: none !important;
30
+ min-height: 0 !important;
31
+ }
32
+ .app-main {
33
+ display: block !important;
34
+ }
35
+ .app-content {
36
+ padding: 0 !important;
37
+ }
38
+
39
+ .app-tabs-wrap.is-overflow-start .app-tabs,
40
+ .app-tabs-wrap.is-overflow-end .app-tabs,
41
+ .app-tabs-wrap.is-overflow-start.is-overflow-end .app-tabs {
42
+ mask-image: none !important;
43
+ }
@@ -0,0 +1,73 @@
1
+ // Plain rules only: wui/_print.scss wraps this file in its media query.
2
+
3
+ .wui-truncate,
4
+ .wui-truncate-text,
5
+ .wui-truncate[tabindex]:focus-visible,
6
+ .wui-truncate-multi .wui-truncate-text,
7
+ .text-truncate,
8
+ .wui-link--clamp .wui-link__label {
9
+ white-space: normal !important;
10
+ overflow: visible !important;
11
+ text-overflow: clip !important;
12
+ -webkit-line-clamp: unset !important;
13
+ }
14
+
15
+ .wui-show-more:defined:not([expanded]) .wui-show-more-body {
16
+ max-height: none !important;
17
+ overflow: visible !important;
18
+ height: auto !important;
19
+ -webkit-line-clamp: unset !important;
20
+ }
21
+
22
+ .wui-show-more-toggle {
23
+ display: none !important;
24
+ }
25
+
26
+ .wui-code-block pre,
27
+ pre {
28
+ white-space: pre-wrap !important;
29
+ overflow: visible !important;
30
+ overflow-wrap: anywhere;
31
+ }
32
+
33
+ .wui-code-copy {
34
+ display: none !important;
35
+ }
36
+
37
+ .form-control,
38
+ .form-select,
39
+ .input,
40
+ .select,
41
+ .textarea {
42
+ border: 1px solid var(--color-border-strong) !important;
43
+ background: none !important;
44
+ }
45
+
46
+ .form-control::placeholder,
47
+ .form-select::placeholder,
48
+ .input::placeholder,
49
+ .select::placeholder,
50
+ .textarea::placeholder {
51
+ color: transparent !important;
52
+ }
53
+
54
+ .input-clear,
55
+ .pw-toggle,
56
+ .num-btn,
57
+ .num-stepper-btns,
58
+ .search-clear,
59
+ .wui-select-clear,
60
+ .wui-select-reset,
61
+ .form-actions,
62
+ .wui-wizard-topbar-close,
63
+ .wui-reaction-add,
64
+ .wui-reaction-picker,
65
+ .wui-support-composer {
66
+ display: none !important;
67
+ }
68
+
69
+ .step,
70
+ .wui-step-tile,
71
+ .timeline-item {
72
+ break-inside: avoid;
73
+ }
@@ -0,0 +1,105 @@
1
+ // Plain rules only: wui/_print.scss wraps this file in its media query.
2
+ @use "../../config" as *;
3
+
4
+ // Bootstrap's dark block and the dark-only rules below are not scoped to screen, so each
5
+ // declaration restates the light value and carries !important to win on a dark page.
6
+ [data-bs-theme="dark"] {
7
+ color-scheme: light !important;
8
+
9
+ --#{$prefix}body-color: #{$body-color} !important;
10
+ --#{$prefix}body-color-rgb: #{to-rgb($body-color)} !important;
11
+ --#{$prefix}body-bg: #{$body-bg} !important;
12
+ --#{$prefix}body-bg-rgb: #{to-rgb($body-bg)} !important;
13
+
14
+ --#{$prefix}emphasis-color: #{$body-emphasis-color} !important;
15
+ --#{$prefix}emphasis-color-rgb: #{to-rgb($body-emphasis-color)} !important;
16
+
17
+ --#{$prefix}secondary-color: #{$body-secondary-color} !important;
18
+ --#{$prefix}secondary-color-rgb: #{to-rgb($body-secondary-color)} !important;
19
+ --#{$prefix}secondary-bg: #{$body-secondary-bg} !important;
20
+ --#{$prefix}secondary-bg-rgb: #{to-rgb($body-secondary-bg)} !important;
21
+
22
+ --#{$prefix}tertiary-color: #{$body-tertiary-color} !important;
23
+ --#{$prefix}tertiary-color-rgb: #{to-rgb($body-tertiary-color)} !important;
24
+ --#{$prefix}tertiary-bg: #{$body-tertiary-bg} !important;
25
+ --#{$prefix}tertiary-bg-rgb: #{to-rgb($body-tertiary-bg)} !important;
26
+
27
+ @each $color, $value in $theme-colors-text {
28
+ --#{$prefix}#{$color}-text-emphasis: #{$value} !important;
29
+ }
30
+ @each $color, $value in $theme-colors-bg-subtle {
31
+ --#{$prefix}#{$color}-bg-subtle: #{$value} !important;
32
+ }
33
+ @each $color, $value in $theme-colors-border-subtle {
34
+ --#{$prefix}#{$color}-border-subtle: #{$value} !important;
35
+ }
36
+
37
+ --#{$prefix}heading-color: #{$headings-color} !important;
38
+
39
+ --#{$prefix}link-color: #{$link-color} !important;
40
+ --#{$prefix}link-hover-color: #{$link-hover-color} !important;
41
+ --#{$prefix}link-color-rgb: #{to-rgb($link-color)} !important;
42
+ --#{$prefix}link-hover-color-rgb: #{to-rgb($link-hover-color)} !important;
43
+
44
+ --#{$prefix}code-color: #{$code-color} !important;
45
+ --#{$prefix}highlight-color: #{$mark-color} !important;
46
+ --#{$prefix}highlight-bg: #{$mark-bg} !important;
47
+
48
+ --#{$prefix}border-color: #{$border-color} !important;
49
+ --#{$prefix}border-color-translucent: #{$border-color-translucent} !important;
50
+
51
+ --#{$prefix}form-valid-color: #{$form-valid-color} !important;
52
+ --#{$prefix}form-valid-border-color: #{$form-valid-border-color} !important;
53
+ --#{$prefix}form-invalid-color: #{$form-invalid-color} !important;
54
+ --#{$prefix}form-invalid-border-color: #{$form-invalid-border-color} !important;
55
+ }
56
+
57
+ :root[data-bs-theme="dark"] .form-control.error,
58
+ :root[data-bs-theme="dark"] .form-control.error:focus,
59
+ :root[data-bs-theme="dark"] .input.error,
60
+ :root[data-bs-theme="dark"] .input.error:focus {
61
+ color: var(--color-text) !important;
62
+ -webkit-text-fill-color: currentColor !important;
63
+ }
64
+ :root[data-bs-theme="dark"] .form-control.error:-webkit-autofill,
65
+ :root[data-bs-theme="dark"] .form-control.error:focus:-webkit-autofill,
66
+ :root[data-bs-theme="dark"] .input.error:-webkit-autofill,
67
+ :root[data-bs-theme="dark"] .input.error:focus:-webkit-autofill {
68
+ color: var(--color-text) !important;
69
+ -webkit-text-fill-color: var(--color-text) !important;
70
+ }
71
+ :root[data-bs-theme="dark"] .form-control.error::placeholder,
72
+ :root[data-bs-theme="dark"] .input.error::placeholder {
73
+ color: var(--color-text-subtle) !important;
74
+ -webkit-text-fill-color: currentColor !important;
75
+ }
76
+
77
+ :root[data-bs-theme="dark"] .app-sidebar-brand.wui-brand-themed .wui-brand-light {
78
+ display: block !important;
79
+ }
80
+ :root[data-bs-theme="dark"] .app-sidebar-brand .wui-brand-dark:where(.wui-brand-logo) {
81
+ display: none !important;
82
+ }
83
+ :root[data-bs-theme="dark"] .app-sidebar-brand.wui-brand-mark-only .wui-brand-mark.wui-brand-dark {
84
+ display: none !important;
85
+ }
86
+ :root[data-bs-theme="dark"] .app-shell.collapsed .app-sidebar-brand.wui-brand-themed .wui-brand-mark.wui-brand-light {
87
+ display: block !important;
88
+ }
89
+ :root[data-bs-theme="dark"] .app-shell.collapsed .app-sidebar-brand .wui-brand-mark.wui-brand-dark {
90
+ display: none !important;
91
+ }
92
+
93
+ :root[data-bs-theme="dark"] .wui-section-logo-img {
94
+ filter: grayscale(1) !important;
95
+ opacity: 0.7 !important;
96
+ }
97
+ :root[data-bs-theme="dark"] .wui-section-logo-img:hover,
98
+ :root[data-bs-theme="dark"] .wui-section-logo a:focus-visible .wui-section-logo-img {
99
+ filter: none !important;
100
+ opacity: 1 !important;
101
+ }
102
+
103
+ :root[data-bs-theme="dark"] .wui-toast--surface-inverse .wui-toast-close {
104
+ filter: invert(1) grayscale(100%) brightness(200%) !important;
105
+ }
@@ -0,0 +1,80 @@
1
+ // Plain rules only: wui/_print.scss wraps this file in its media query.
2
+ .table-wrap,
3
+ .table-wrap.wui-table-scroll,
4
+ .table-responsive,
5
+ .wui-table-server,
6
+ .wui-compare-scroll {
7
+ overflow: visible !important;
8
+ max-height: none !important;
9
+ height: auto !important;
10
+ }
11
+ :is(.table-wrap, .table-responsive, [class*="table-responsive-"]):is([data-wui-overflow-start], [data-wui-overflow-end]):not(:has([aria-haspopup][aria-expanded="true"], .dropdown-menu:popover-open)) {
12
+ mask-image: none !important;
13
+ }
14
+ :is(.table-wrap, .table-responsive, [class*="table-responsive-"]):dir(rtl):is([data-wui-overflow-start], [data-wui-overflow-end]):not(:has([aria-haspopup][aria-expanded="true"], .dropdown-menu:popover-open)) {
15
+ mask-image: none !important;
16
+ }
17
+ .wui-compare-scroll[data-more="end"] {
18
+ mask-image: none !important;
19
+ }
20
+
21
+ thead {
22
+ display: table-header-group;
23
+ }
24
+ tfoot {
25
+ display: table-footer-group;
26
+ }
27
+ tr {
28
+ break-inside: avoid;
29
+ }
30
+
31
+ .table-wrap.wui-table-scroll .table-ledger thead th,
32
+ .table-ledger.wui-table-sticky-first > * > tr:not(.wui-row-expanded) > .wui-select-cell,
33
+ .table-ledger.wui-table-sticky-first > * > tr:not(.wui-row-expanded) > :not(.wui-expand-cell, .wui-select-cell):is(:first-child, .wui-expand-cell + *, .wui-select-cell + *),
34
+ .table-wrap.wui-table-scroll .table-ledger.wui-table-sticky-first > thead > tr > :is(.wui-expand-cell, .wui-select-cell, :first-child, .wui-expand-cell + *, .wui-select-cell + *),
35
+ .table-ledger.wui-table-sticky-actions > * > tr:not(.wui-row-expanded) > :last-child,
36
+ .table-ledger > * > tr:not(.wui-row-expanded, .wui-group-row) > .wui-pin-start,
37
+ .table-ledger > * > tr:not(.wui-row-expanded, .wui-group-row) > .wui-pin-end,
38
+ .wui-drop-tray,
39
+ .compare-table.wui-compare-sticky-head thead th,
40
+ .compare-table table.wui-compare-sticky-first th:first-child,
41
+ .compare-table table.wui-compare-sticky-first td:first-child,
42
+ .wui-chart-table thead th,
43
+ .wui-entry-grid-footer td,
44
+ .tbl-empty-block {
45
+ position: static !important;
46
+ }
47
+
48
+ .table-ledger tbody tr {
49
+ --bs-table-bg-state: transparent;
50
+ --bs-table-bg-type: transparent;
51
+ --bs-table-accent-bg: transparent;
52
+ }
53
+ .table-ledger tbody tr:is(.is-selected, .wui-row-active) {
54
+ --bs-table-bg-state: transparent;
55
+ }
56
+ .table-ledger > * > tr > * {
57
+ border-bottom: 1px solid var(--color-border);
58
+ }
59
+ .table-ledger tbody tr[data-status] > td:first-child,
60
+ .table-ledger tbody tr[data-status] > th.wui-row-header:first-child {
61
+ border-inline-start: 3px solid var(--wui-row-status);
62
+ print-color-adjust: exact;
63
+ -webkit-print-color-adjust: exact;
64
+ }
65
+
66
+ .wui-table-toolbar,
67
+ .wui-filter-bar,
68
+ .wui-select-cell,
69
+ .wui-expand-toggle,
70
+ .wui-col-resize,
71
+ .wui-column-menu,
72
+ .wui-drop-tray,
73
+ .wui-skeleton-cell,
74
+ .wui-table-pager .pagination,
75
+ .table-ledger.wui-table-sticky-actions > * > tr > :last-child {
76
+ display: none !important;
77
+ }
78
+ .wui-group-toggle .wui-icon {
79
+ display: none !important;
80
+ }
@@ -0,0 +1,46 @@
1
+ // Plain rules only: wui/_print.scss wraps this file in its media query.
2
+
3
+ .wui-toast-container,
4
+ .tooltip,
5
+ .popover,
6
+ .dropdown-menu,
7
+ .wui-hover-card-panel,
8
+ .wui-notification-center-panel,
9
+ .wui-mention-menu,
10
+ .datepicker-pop,
11
+ .daterange-pop,
12
+ .timepicker-pop,
13
+ .country-dropdown-menu,
14
+ .wui-select-menu-fixed,
15
+ dialog::backdrop,
16
+ .modal-backdrop {
17
+ display: none !important;
18
+ }
19
+
20
+ // An open dialog prints alone and at full length: the page behind it is left out.
21
+ html:has(dialog:is(.wui-modal-shell, .wui-drawer-panel)[open]) body *:not(:has(dialog[open]), dialog[open], dialog[open] *) {
22
+ display: none !important;
23
+ }
24
+
25
+ dialog:is(.wui-modal-shell, .wui-drawer-panel)[open] {
26
+ position: absolute !important;
27
+ inset: 0 auto auto 0 !important;
28
+ width: 100% !important;
29
+ max-width: none !important;
30
+ height: auto !important;
31
+ max-height: none !important;
32
+ margin: 0 !important;
33
+ overflow: visible !important;
34
+ transform: none !important;
35
+ border: 0 !important;
36
+ }
37
+
38
+ dialog[open] :is(.wui-modal, .modal-dialog, .modal-content, .wui-modal-body, .modal-body, .wui-drawer-body) {
39
+ height: auto !important;
40
+ max-height: none !important;
41
+ overflow: visible !important;
42
+ }
43
+
44
+ dialog[open] :is(.wui-modal-footer, .modal-footer, .wui-drawer-footer, .wui-modal-close, .wui-drawer-close, .wui-modal-back, .wui-modal-header-actions) {
45
+ display: none !important;
46
+ }
@@ -0,0 +1,11 @@
1
+ // Plain rules only: wui/_print.scss wraps this file in its media query.
2
+
3
+ @page { margin: 12mm; }
4
+ html, body { height: auto !important; min-height: 0 !important; overflow: visible !important; background: var(--color-surface) !important; color: var(--color-text); }
5
+ *, *::before, *::after { box-shadow: none !important; text-shadow: none !important; backdrop-filter: none !important; }
6
+ h1, h2, h3, h4, h5, h6, .page-header { break-after: avoid; }
7
+ p, li, blockquote { orphans: 3; widows: 3; }
8
+ img, svg, figure, pre, blockquote { break-inside: avoid; }
9
+ img { max-width: 100% !important; }
10
+ :where(a[href]):not(.btn, .app-nav-item, .app-nav-subitem, .app-tab, .page-link, .dropdown-item, .wui-brand-link, [role="button"], [role="tab"], [role="menuitem"]) { text-decoration: underline; }
11
+ :where(a[href^="http"]):not(.btn, .app-nav-item, .app-nav-subitem, .app-tab, .page-link, .dropdown-item, .wui-brand-link, [role="button"], [role="tab"], [role="menuitem"])::after { content: " (" attr(href) ")"; font-size: var(--wui-fs-xs); color: var(--color-text-muted); word-break: break-all; }
@@ -0,0 +1,42 @@
1
+ // Plain rules only: wui/_print.scss wraps this file in its media query.
2
+
3
+ .badge,
4
+ .status-label,
5
+ .chip,
6
+ .choice-chip,
7
+ .wui-compare-state {
8
+ print-color-adjust: exact;
9
+ -webkit-print-color-adjust: exact;
10
+ border: 1px solid currentColor;
11
+ }
12
+
13
+ .badge-dot,
14
+ .avatar-status,
15
+ .wui-nav-list-dot,
16
+ .progress-bar,
17
+ .wui-chart-legend-swatch,
18
+ .wui-chart-tooltip-swatch,
19
+ .kpi-icon,
20
+ .alert,
21
+ .wui-banner,
22
+ .timeline-dot,
23
+ .step-circle {
24
+ print-color-adjust: exact;
25
+ -webkit-print-color-adjust: exact;
26
+ }
27
+
28
+ .progress {
29
+ print-color-adjust: exact;
30
+ -webkit-print-color-adjust: exact;
31
+ border: 1px solid var(--color-border-strong);
32
+ }
33
+
34
+ .skeleton,
35
+ .wui-skeleton-lines,
36
+ .wui-chart-skeleton,
37
+ .wui-split-skeleton,
38
+ .wui-modal-skeleton,
39
+ .spinner-border,
40
+ .wui-spinner {
41
+ display: none !important;
42
+ }
@@ -0,0 +1,56 @@
1
+ // Plain rules only: wui/_print.scss wraps this file in its media query.
2
+
3
+ .card,
4
+ .kpi,
5
+ .wui-metric,
6
+ .wui-chart-card,
7
+ wui-chart,
8
+ .wui-chart-surface,
9
+ .wui-accordion-item,
10
+ .empty-state,
11
+ .timeline-item,
12
+ .descs-item {
13
+ break-inside: avoid;
14
+ }
15
+ .card:has(table),
16
+ .card:has(.table-wrap) {
17
+ break-inside: auto;
18
+ }
19
+
20
+ .card-muted,
21
+ .kpi,
22
+ .kpi.kpi-filled,
23
+ .kpi.kpi-accent {
24
+ border: 1px solid var(--color-border);
25
+ }
26
+
27
+ .wui-detail-pane[data-sticky] {
28
+ position: static !important;
29
+ }
30
+
31
+ .wui-split-view {
32
+ display: block !important;
33
+ }
34
+ .wui-split-list,
35
+ .wui-split-items,
36
+ .wui-split-pane,
37
+ .wui-split-pane-body {
38
+ overflow: visible !important;
39
+ max-height: none !important;
40
+ height: auto !important;
41
+ }
42
+
43
+ .wui-carousel-arrow,
44
+ .wui-carousel-dots,
45
+ .wui-carousel-dot,
46
+ .wui-chart-card-tool,
47
+ .wui-chart-card-retry,
48
+ .card-header-actions {
49
+ display: none !important;
50
+ }
51
+
52
+ .wui-chart-table-wrap {
53
+ overflow: visible !important;
54
+ max-height: none !important;
55
+ height: auto !important;
56
+ }