@webority/theme 0.165.0 → 0.168.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 +86 -1
- package/dist/published-theme.json +2 -0
- package/dist/purge-safelist.json +21 -11
- package/dist/webority-modes.css +1 -0
- package/dist/webority-theme.css +1 -1
- package/dist/webority-tokens.css +1 -1
- package/package.json +13 -6
- package/scss/_bootstrap.generated.scss +1 -1
- package/scss/_components.scss +33 -25
- package/scss/_modes.scss +17 -0
- package/scss/_tokens-modes.generated.scss +170 -0
- package/scss/_tokens.generated.scss +11 -6
- package/scss/wui/_cell.scss +1 -1
- package/scss/wui/_choice.scss +18 -8
- package/scss/wui/_controls.scss +138 -18
- package/scss/wui/_data.scss +2 -2
- package/scss/wui/_display.scss +8 -4
- package/scss/wui/_entry-grid.scss +60 -0
- package/scss/wui/_field-floor.scss +6 -6
- package/scss/wui/_field-sizes.scss +9 -4
- package/scss/wui/_flow.scss +1 -0
- package/scss/wui/_forced-colors.scss +15 -0
- package/scss/wui/_groups.scss +8 -0
- package/scss/wui/_navigation.scss +26 -10
- package/scss/wui/_print.scss +15 -0
- package/scss/wui/_select.scss +9 -2
- package/scss/wui/forced-colors/_base.scss +95 -0
- package/scss/wui/forced-colors/_choice.scss +59 -0
- package/scss/wui/forced-colors/_controls.scss +90 -0
- package/scss/wui/forced-colors/_data.scss +57 -0
- package/scss/wui/forced-colors/_display.scss +77 -0
- package/scss/wui/forced-colors/_media.scss +63 -0
- package/scss/wui/forced-colors/_navigation.scss +40 -0
- package/scss/wui/forced-colors/_overlays.scss +41 -0
- package/scss/wui/modes/_calendar.scss +24 -0
- package/scss/wui/modes/_command-palette.scss +23 -0
- package/scss/wui/modes/_dock.scss +21 -0
- package/scss/wui/modes/_file-viewer.scss +19 -0
- package/scss/wui/modes/_image-crop.scss +21 -0
- package/scss/wui/modes/_kanban.scss +36 -0
- package/scss/wui/modes/_org-tree.scss +18 -0
- package/scss/wui/modes/_rich-text.scss +25 -0
- package/scss/wui/modes/_tour.scss +30 -0
- package/scss/wui/modes/_tree.scss +17 -0
- package/scss/wui/modes/_workspace.scss +19 -0
- package/scss/wui/print/_chrome.scss +43 -0
- package/scss/wui/print/_content.scss +73 -0
- package/scss/wui/print/_dark.scss +105 -0
- package/scss/wui/print/_data.scss +80 -0
- package/scss/wui/print/_overlays.scss +46 -0
- package/scss/wui/print/_page.scss +11 -0
- package/scss/wui/print/_status.scss +42 -0
- package/scss/wui/print/_surfaces.scss +56 -0
- package/token-meanings.json +3 -2
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// Plain rules only: wui/_forced-colors.scss wraps this file in its media query.
|
|
2
|
+
|
|
3
|
+
.wui-modal,
|
|
4
|
+
.modal-content,
|
|
5
|
+
dialog.wui-drawer-panel,
|
|
6
|
+
.wui-toast,
|
|
7
|
+
.dropdown-menu,
|
|
8
|
+
.popover,
|
|
9
|
+
.tooltip .tooltip-inner,
|
|
10
|
+
.wui-hover-card-panel,
|
|
11
|
+
.wui-notification-center-panel,
|
|
12
|
+
.wui-consent-banner-panel,
|
|
13
|
+
.wui-floating-btn,
|
|
14
|
+
.wui-mention-menu,
|
|
15
|
+
.wui-reaction-picker,
|
|
16
|
+
.dropdown-menu.wui-context-menu-panel,
|
|
17
|
+
.dropdown-menu.wui-context-menu-subpanel,
|
|
18
|
+
.wui-whats-new-panel {
|
|
19
|
+
outline: 1px solid CanvasText;
|
|
20
|
+
outline-offset: -1px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.dropdown-item.active,
|
|
24
|
+
.dropdown-item[aria-selected="true"] {
|
|
25
|
+
background-color: Highlight;
|
|
26
|
+
color: HighlightText;
|
|
27
|
+
forced-color-adjust: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.wui-toast-track-fill {
|
|
31
|
+
background-color: Highlight;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.wui-whats-new-entry[data-wui-unread] {
|
|
35
|
+
border-inline-start: 3px solid Highlight;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.wui-whats-new-dot,
|
|
39
|
+
.wui-notification-center-dot {
|
|
40
|
+
background-color: Highlight;
|
|
41
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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-calendar-view-btn[aria-pressed="true"] {
|
|
4
|
+
outline: 2px solid Highlight;
|
|
5
|
+
outline-offset: -2px;
|
|
6
|
+
}
|
|
7
|
+
wui-calendar[data-view="month"] .wui-calendar-chip {
|
|
8
|
+
outline: 1px solid CanvasText;
|
|
9
|
+
outline-offset: -1px;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@media print {
|
|
14
|
+
.wui-calendar-today-btn,
|
|
15
|
+
.wui-calendar-nav-btn,
|
|
16
|
+
.wui-calendar-view-btn {
|
|
17
|
+
display: none !important;
|
|
18
|
+
}
|
|
19
|
+
.wui-calendar-surface {
|
|
20
|
+
overflow: visible !important;
|
|
21
|
+
max-height: none !important;
|
|
22
|
+
height: auto !important;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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-cmd-input:focus-visible {
|
|
4
|
+
outline: var(--wui-focus-ring-width) solid Highlight;
|
|
5
|
+
outline-offset: calc(-1 * var(--wui-focus-ring-width));
|
|
6
|
+
}
|
|
7
|
+
.wui-cmd-item[aria-selected="true"] {
|
|
8
|
+
background-color: Highlight;
|
|
9
|
+
color: HighlightText;
|
|
10
|
+
forced-color-adjust: none;
|
|
11
|
+
}
|
|
12
|
+
wui-command-palette[data-keyboard] .wui-cmd-item[aria-selected="true"] {
|
|
13
|
+
background-color: Highlight;
|
|
14
|
+
color: HighlightText;
|
|
15
|
+
forced-color-adjust: none;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@media print {
|
|
20
|
+
dialog.wui-modal-shell:has(.wui-cmd-card) {
|
|
21
|
+
display: none !important;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -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; }
|