@webority/theme 0.168.0 → 0.169.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 +12 -1
- package/dist/postcss/rtl-mirror.d.mts +10 -0
- package/dist/postcss/rtl-mirror.mjs +1 -0
- package/dist/purge-safelist.json +49 -1
- package/dist/webority-modes.css +1 -1
- package/dist/webority-theme.css +1 -1
- package/dist/webority-tokens.css +1 -1
- package/package.json +8 -4
- package/scss/_bootstrap-css.scss +1 -0
- package/scss/_bootstrap.generated.scss +1 -1
- package/scss/_components.scss +28 -7
- package/scss/_config.scss +22 -0
- package/scss/_marketing.scss +7 -0
- package/scss/_modes.scss +1 -0
- package/scss/_tokens-modes.generated.scss +1 -1
- package/scss/_tokens.generated.scss +2 -2
- package/scss/_wui-components.scss +4 -0
- package/scss/_wui-core.scss +2 -0
- package/scss/wui/_avatar-picker.scss +1 -1
- package/scss/wui/_calendar.scss +2 -2
- package/scss/wui/_card.scss +3 -3
- package/scss/wui/_cell.scss +1 -1
- package/scss/wui/_chart.scss +6 -5
- package/scss/wui/_choice.scss +56 -24
- package/scss/wui/_code-block.scss +2 -1
- package/scss/wui/_compare-table.scss +8 -5
- package/scss/wui/_consent-banner.scss +4 -1
- package/scss/wui/_controls.scss +66 -39
- package/scss/wui/_data.scss +58 -45
- package/scss/wui/_disclosure.scss +11 -5
- package/scss/wui/_display.scss +67 -39
- package/scss/wui/_drawer.scss +9 -3
- package/scss/wui/_due-date.scss +1 -1
- package/scss/wui/_empty-state.scss +1 -1
- package/scss/wui/_entry-grid.scss +23 -0
- package/scss/wui/_field-busy.scss +6 -0
- package/scss/wui/_file-viewer.scss +4 -4
- package/scss/wui/_flow.scss +26 -22
- package/scss/wui/_gantt.scss +498 -0
- package/scss/wui/_kanban.scss +1 -1
- package/scss/wui/_lightbox.scss +2 -2
- package/scss/wui/_markdown.scss +3 -3
- package/scss/wui/_media.scss +13 -13
- package/scss/wui/_menu-motion.scss +3 -0
- package/scss/wui/_metric-strip.scss +1 -1
- package/scss/wui/_modal-remote.scss +8 -1
- package/scss/wui/_native-overlay.scss +12 -0
- package/scss/wui/_navigation-menu.scss +4 -3
- package/scss/wui/_navigation.scss +28 -24
- package/scss/wui/_notification-center.scss +2 -2
- package/scss/wui/_onboarding-checklist.scss +3 -0
- package/scss/wui/_org-tree.scss +9 -6
- package/scss/wui/_overlays.scss +11 -7
- package/scss/wui/_pagination.scss +5 -1
- package/scss/wui/_query-builder.scss +91 -0
- package/scss/wui/_rating.scss +1 -1
- package/scss/wui/_record-pager.scss +1 -1
- package/scss/wui/_rich-text.scss +6 -6
- package/scss/wui/_select.scss +5 -5
- package/scss/wui/_shell-parts.scss +9 -8
- package/scss/wui/_shell.scss +34 -10
- package/scss/wui/_shortcuts.scss +5 -4
- package/scss/wui/_sortable.scss +2 -1
- package/scss/wui/_split-view.scss +11 -9
- package/scss/wui/_toolbar.scss +2 -2
- package/scss/wui/_transfer-list.scss +24 -0
- package/scss/wui/_tree-picker.scss +219 -0
- package/scss/wui/_typography.scss +5 -4
- package/scss/wui/_utilities.scss +38 -18
- package/scss/wui/_whats-new.scss +7 -1
- package/scss/wui/_workspace.scss +3 -3
- package/scss/wui/modes/_gantt.scss +44 -0
- package/scss/wui/tour/_advance.scss +12 -0
package/scss/wui/_shell.scss
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
z-index: var(--wui-z-shell);
|
|
19
19
|
display: grid;
|
|
20
20
|
place-items: center;
|
|
21
|
-
padding:
|
|
21
|
+
padding: var(--wui-space-xl);
|
|
22
22
|
background: var(--color-bg);
|
|
23
23
|
}
|
|
24
24
|
.splash-inner {
|
|
@@ -90,6 +90,9 @@
|
|
|
90
90
|
);
|
|
91
91
|
animation: wui-splash-sweep calc(var(--wui-duration-slow) * 3) var(--wui-ease-ui) infinite;
|
|
92
92
|
}
|
|
93
|
+
.splash-bar:dir(rtl)::after {
|
|
94
|
+
animation-name: wui-splash-sweep-rtl;
|
|
95
|
+
}
|
|
93
96
|
// A spinning arc — the circular take on the same "working, no percentage" idea.
|
|
94
97
|
.splash-ring {
|
|
95
98
|
width: 30px;
|
|
@@ -144,6 +147,14 @@
|
|
|
144
147
|
transform: translateX(350%);
|
|
145
148
|
}
|
|
146
149
|
}
|
|
150
|
+
@keyframes wui-splash-sweep-rtl {
|
|
151
|
+
from {
|
|
152
|
+
transform: translateX(100%);
|
|
153
|
+
}
|
|
154
|
+
to {
|
|
155
|
+
transform: translateX(-350%);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
147
158
|
@keyframes wui-splash-spin {
|
|
148
159
|
to {
|
|
149
160
|
transform: rotate(360deg);
|
|
@@ -179,6 +190,9 @@
|
|
|
179
190
|
width: 100%;
|
|
180
191
|
opacity: 0.55;
|
|
181
192
|
}
|
|
193
|
+
.splash-bar:dir(rtl)::after {
|
|
194
|
+
animation-name: none;
|
|
195
|
+
}
|
|
182
196
|
}
|
|
183
197
|
|
|
184
198
|
// ============================================================================
|
|
@@ -474,7 +488,7 @@
|
|
|
474
488
|
font-family: inherit;
|
|
475
489
|
font-size: 12px;
|
|
476
490
|
font-weight: var(--wui-fw-semibold);
|
|
477
|
-
text-align:
|
|
491
|
+
text-align: start;
|
|
478
492
|
text-transform: uppercase;
|
|
479
493
|
letter-spacing: 0.06em;
|
|
480
494
|
color: var(--color-text-subtle);
|
|
@@ -497,12 +511,16 @@
|
|
|
497
511
|
.wui-nav-group-folded > .wui-nav-group-toggle .wui-nav-group-caret {
|
|
498
512
|
transform: rotate(-90deg);
|
|
499
513
|
}
|
|
514
|
+
.wui-nav-group-folded:dir(rtl) > .wui-nav-group-toggle .wui-nav-group-caret {
|
|
515
|
+
transform: rotate(90deg);
|
|
516
|
+
}
|
|
500
517
|
.app-shell:not(.collapsed) .wui-nav-group-folded > .wui-nav-group-body {
|
|
501
518
|
display: none;
|
|
502
519
|
}
|
|
503
520
|
// A sub-heading between runs of links inside a group.
|
|
504
521
|
.wui-nav-header {
|
|
505
|
-
padding: 6px
|
|
522
|
+
padding-block: 6px 2px;
|
|
523
|
+
padding-inline: 12px 10px;
|
|
506
524
|
font-size: var(--wui-fs-xs);
|
|
507
525
|
font-weight: var(--wui-fw-semibold);
|
|
508
526
|
color: var(--color-text-subtle);
|
|
@@ -724,7 +742,7 @@
|
|
|
724
742
|
border: 0;
|
|
725
743
|
background: transparent;
|
|
726
744
|
font: inherit;
|
|
727
|
-
text-align:
|
|
745
|
+
text-align: start;
|
|
728
746
|
cursor: pointer;
|
|
729
747
|
}
|
|
730
748
|
.app-nav-caret {
|
|
@@ -759,7 +777,7 @@
|
|
|
759
777
|
// --wui-nav-sub-indent sets the first-level inset of a child row (default 46px).
|
|
760
778
|
.app-nav-item.app-nav-subitem {
|
|
761
779
|
min-height: 38px;
|
|
762
|
-
padding-
|
|
780
|
+
padding-inline-start: calc(var(--wui-nav-sub-indent, 46px) + (var(--wui-nav-depth, 1) - 1) * var(--wui-space-lg));
|
|
763
781
|
font-size: 13px;
|
|
764
782
|
}
|
|
765
783
|
@for $n from 2 through 6 {
|
|
@@ -797,7 +815,7 @@
|
|
|
797
815
|
text-decoration: none;
|
|
798
816
|
}
|
|
799
817
|
.app-nav-item.wui-nav-split.app-nav-subitem .wui-nav-split-link {
|
|
800
|
-
padding-
|
|
818
|
+
padding-inline-start: calc(var(--wui-nav-sub-indent, 46px) + (var(--wui-nav-depth, 1) - 1) * var(--wui-space-lg));
|
|
801
819
|
}
|
|
802
820
|
.wui-nav-split-toggle {
|
|
803
821
|
border: 0;
|
|
@@ -843,7 +861,7 @@
|
|
|
843
861
|
.app-shell.collapsed .app-nav-item[data-label]::after {
|
|
844
862
|
content: attr(data-label);
|
|
845
863
|
position: absolute;
|
|
846
|
-
|
|
864
|
+
inset-inline-start: calc(100% + 12px);
|
|
847
865
|
top: 50%;
|
|
848
866
|
z-index: 40;
|
|
849
867
|
padding: 5px 10px;
|
|
@@ -862,6 +880,9 @@
|
|
|
862
880
|
opacity var(--wui-duration-fast) var(--wui-ease-ui),
|
|
863
881
|
transform var(--wui-duration-fast) var(--wui-ease-ui);
|
|
864
882
|
}
|
|
883
|
+
.app-shell.collapsed .app-nav-item[data-label]:dir(rtl)::after {
|
|
884
|
+
transform-origin: right center;
|
|
885
|
+
}
|
|
865
886
|
.app-shell.collapsed .app-nav-item[data-label]:hover::after,
|
|
866
887
|
.app-shell.collapsed .app-nav-item[data-label]:focus-visible::after {
|
|
867
888
|
opacity: 1;
|
|
@@ -1024,7 +1045,7 @@
|
|
|
1024
1045
|
.wui-skip-link {
|
|
1025
1046
|
position: absolute;
|
|
1026
1047
|
top: 8px;
|
|
1027
|
-
|
|
1048
|
+
inset-inline-start: 8px;
|
|
1028
1049
|
z-index: var(--wui-z-fixed);
|
|
1029
1050
|
width: 1px;
|
|
1030
1051
|
height: 1px;
|
|
@@ -1067,7 +1088,7 @@
|
|
|
1067
1088
|
position: fixed;
|
|
1068
1089
|
top: 0;
|
|
1069
1090
|
bottom: 0;
|
|
1070
|
-
|
|
1091
|
+
inset-inline-start: 0;
|
|
1071
1092
|
z-index: var(--wui-z-shell-drawer);
|
|
1072
1093
|
width: var(--app-sidebar-w);
|
|
1073
1094
|
padding: 20px 16px;
|
|
@@ -1079,6 +1100,9 @@
|
|
|
1079
1100
|
visibility 0s var(--wui-ease-linear) var(--wui-duration-default);
|
|
1080
1101
|
box-shadow: var(--wui-shadow-modal);
|
|
1081
1102
|
}
|
|
1103
|
+
.app-shell.app-shell .app-sidebar:dir(rtl) {
|
|
1104
|
+
transform: translateX(100%);
|
|
1105
|
+
}
|
|
1082
1106
|
.app-shell.app-shell.mobile-open .app-sidebar {
|
|
1083
1107
|
transform: translateX(0);
|
|
1084
1108
|
visibility: visible;
|
|
@@ -1228,7 +1252,7 @@
|
|
|
1228
1252
|
// (--wui-nav-sub-indent, the md space step here); the depth step is kept.
|
|
1229
1253
|
.app-nav-sub-inner > .app-nav-item.app-nav-subitem,
|
|
1230
1254
|
.app-nav-sub-inner > .app-nav-item.wui-nav-split.app-nav-subitem .wui-nav-split-link {
|
|
1231
|
-
padding-
|
|
1255
|
+
padding-inline-start: calc(var(--wui-nav-sub-indent, var(--wui-space-md)) + (var(--wui-nav-depth, 1) - 1) * var(--wui-space-lg));
|
|
1232
1256
|
}
|
|
1233
1257
|
.app-nav-sub-inner > .app-nav-subitem {
|
|
1234
1258
|
margin-inline-start: var(--wui-space-sm);
|
package/scss/wui/_shortcuts.scss
CHANGED
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
color: var(--color-text);
|
|
42
42
|
}
|
|
43
43
|
.btn > .wui-kbd {
|
|
44
|
-
margin-
|
|
44
|
+
margin-inline-start: 8px;
|
|
45
45
|
}
|
|
46
46
|
.tooltip.wui-tooltip .wui-kbd {
|
|
47
|
-
margin-
|
|
47
|
+
margin-inline-start: 6px;
|
|
48
48
|
}
|
|
49
49
|
.dropdown-item > .wui-kbd {
|
|
50
|
-
margin-
|
|
50
|
+
margin-inline-start: auto;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
// A phone has no keyboard to press them on.
|
|
@@ -102,7 +102,8 @@
|
|
|
102
102
|
align-items: center;
|
|
103
103
|
justify-content: space-between;
|
|
104
104
|
gap: 8px;
|
|
105
|
-
padding:
|
|
105
|
+
padding-block: var(--wui-space-sm);
|
|
106
|
+
padding-inline: 16px 8px;
|
|
106
107
|
border-bottom: 1px solid var(--color-border);
|
|
107
108
|
}
|
|
108
109
|
.wui-shortcut-sheet-title {
|
package/scss/wui/_sortable.scss
CHANGED
|
@@ -23,7 +23,8 @@ wui-sortable[orientation="horizontal"] {
|
|
|
23
23
|
display: flex;
|
|
24
24
|
align-items: center;
|
|
25
25
|
gap: 8px;
|
|
26
|
-
padding: 6px
|
|
26
|
+
padding: 6px;
|
|
27
|
+
padding-inline-end: var(--wui-space-md);
|
|
27
28
|
background: var(--color-surface);
|
|
28
29
|
border: 1px solid var(--color-border);
|
|
29
30
|
border-radius: var(--wui-radius-md);
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
}
|
|
60
60
|
.wui-split-view[data-stack-below="#{$tier}"] > .wui-split-list {
|
|
61
61
|
display: flex;
|
|
62
|
-
border-
|
|
62
|
+
border-inline-end: 1px solid var(--color-border);
|
|
63
63
|
}
|
|
64
64
|
.wui-split-view[data-stack-below="#{$tier}"] > .wui-split-pane {
|
|
65
65
|
display: flex;
|
|
@@ -91,7 +91,8 @@
|
|
|
91
91
|
}
|
|
92
92
|
.wui-split-head-bulk {
|
|
93
93
|
min-height: 36px;
|
|
94
|
-
padding:
|
|
94
|
+
padding-block: var(--wui-space-xxs);
|
|
95
|
+
padding-inline: var(--wui-space-md) var(--wui-space-sm);
|
|
95
96
|
border-radius: var(--wui-radius-md);
|
|
96
97
|
background: var(--color-primary-soft);
|
|
97
98
|
}
|
|
@@ -103,7 +104,7 @@
|
|
|
103
104
|
flex: none;
|
|
104
105
|
}
|
|
105
106
|
.wui-split-count {
|
|
106
|
-
margin-
|
|
107
|
+
margin-inline-end: var(--wui-space-xs);
|
|
107
108
|
font-size: 13px;
|
|
108
109
|
font-weight: 600;
|
|
109
110
|
}
|
|
@@ -152,7 +153,8 @@
|
|
|
152
153
|
|
|
153
154
|
.wui-split-check {
|
|
154
155
|
flex: none;
|
|
155
|
-
margin: 15px 0
|
|
156
|
+
margin-block: 15px 0;
|
|
157
|
+
margin-inline: var(--wui-space-lg) 0;
|
|
156
158
|
}
|
|
157
159
|
|
|
158
160
|
.wui-split-link {
|
|
@@ -171,7 +173,7 @@
|
|
|
171
173
|
cursor: pointer;
|
|
172
174
|
}
|
|
173
175
|
.wui-split-check + .wui-split-link {
|
|
174
|
-
padding-
|
|
176
|
+
padding-inline-start: 10px;
|
|
175
177
|
}
|
|
176
178
|
.wui-split-link:hover {
|
|
177
179
|
color: inherit;
|
|
@@ -276,11 +278,11 @@
|
|
|
276
278
|
}
|
|
277
279
|
.wui-split-legend > .wui-shortcut-legend {
|
|
278
280
|
position: static;
|
|
279
|
-
margin-
|
|
281
|
+
margin-inline-start: auto;
|
|
280
282
|
}
|
|
281
283
|
.wui-split-legend .wui-shortcut-sheet {
|
|
282
|
-
|
|
283
|
-
|
|
284
|
+
inset-inline-end: auto;
|
|
285
|
+
inset-inline-start: 8px;
|
|
284
286
|
width: min(320px, calc(100% - 16px));
|
|
285
287
|
}
|
|
286
288
|
|
|
@@ -295,7 +297,7 @@
|
|
|
295
297
|
border-bottom: 1px solid var(--color-border);
|
|
296
298
|
}
|
|
297
299
|
.wui-split-pane-head > .wui-record-pager {
|
|
298
|
-
margin-
|
|
300
|
+
margin-inline-start: auto;
|
|
299
301
|
}
|
|
300
302
|
.wui-split-pane-body {
|
|
301
303
|
flex: 1 1 auto;
|
package/scss/wui/_toolbar.scss
CHANGED
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
|
|
78
78
|
.toolbar-item-label {
|
|
79
79
|
max-width: 0;
|
|
80
|
-
margin-
|
|
80
|
+
margin-inline-start: 0;
|
|
81
81
|
opacity: 0;
|
|
82
82
|
overflow: hidden;
|
|
83
83
|
white-space: nowrap;
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
}
|
|
91
91
|
.toolbar-item:has(.toolbar-input:checked) .toolbar-item-label {
|
|
92
92
|
max-width: 10rem;
|
|
93
|
-
margin-
|
|
93
|
+
margin-inline-start: 7px;
|
|
94
94
|
opacity: 1;
|
|
95
95
|
}
|
|
96
96
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@use "../config" as *;
|
|
2
|
+
|
|
3
|
+
// ── Transfer list ──
|
|
4
|
+
// AppTransferList / <wui-transfer-list>: two panels, Available and Chosen, side by side. The panels
|
|
5
|
+
// split the row in equal halves and stack once the list's own container is narrower than md, so a
|
|
6
|
+
// narrow form column stacks even on a wide viewport.
|
|
7
|
+
//
|
|
8
|
+
// Part of the wui-components layer, see _wui-components.scss for load order.
|
|
9
|
+
|
|
10
|
+
.wui-transfer-list {
|
|
11
|
+
container-type: inline-size;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.wui-transfer-list-panels {
|
|
15
|
+
display: grid;
|
|
16
|
+
grid-template-columns: minmax(0, 1fr);
|
|
17
|
+
gap: var(--bs-gap, var(--wui-space-lg));
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@container (min-width: #{map-get($grid-breakpoints, md)}) {
|
|
21
|
+
.wui-transfer-list-panels {
|
|
22
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
@use "../config" as *;
|
|
2
|
+
|
|
3
|
+
// ── Tree picker ──
|
|
4
|
+
// AppTreePicker / <wui-tree-picker>: a bordered surface split into the tree pane (search above the
|
|
5
|
+
// tree) and the Chosen rail. The element keeps the state on ARIA attributes (aria-selected on an
|
|
6
|
+
// item, aria-disabled), which are the state hooks below. Each row is indented by
|
|
7
|
+
// --wui-tree-picker-level (set by the element), so the nesting needs no per-depth rule.
|
|
8
|
+
// Every colour is a theme token, so dark mode follows the token flip with no rules of its own.
|
|
9
|
+
//
|
|
10
|
+
// Part of the wui-components layer, see _wui-components.scss for load order.
|
|
11
|
+
|
|
12
|
+
wui-tree-picker {
|
|
13
|
+
display: block;
|
|
14
|
+
align-self: stretch;
|
|
15
|
+
width: 100%;
|
|
16
|
+
container-type: inline-size;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.wui-tree-picker-surface {
|
|
20
|
+
display: grid;
|
|
21
|
+
grid-template-columns: 1fr;
|
|
22
|
+
border: 1px solid var(--color-border);
|
|
23
|
+
border-radius: var(--wui-radius-sm);
|
|
24
|
+
background: var(--color-surface);
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
}
|
|
27
|
+
.wui-tree-picker-surface.wui-tree-picker-invalid {
|
|
28
|
+
border-color: var(--color-danger);
|
|
29
|
+
}
|
|
30
|
+
// The pane and the rail split once the picker's own container reaches md, so a narrow form column
|
|
31
|
+
// stacks even on a wide viewport.
|
|
32
|
+
@container (min-width: #{map-get($grid-breakpoints, md)}) {
|
|
33
|
+
.wui-tree-picker-surface {
|
|
34
|
+
grid-template-columns: 7fr 5fr;
|
|
35
|
+
}
|
|
36
|
+
.wui-tree-picker-pane + .wui-tree-picker-pane,
|
|
37
|
+
.wui-tree-picker-pane + .wui-tree-picker-rail {
|
|
38
|
+
border-block-start: 0;
|
|
39
|
+
border-inline-start: 1px solid var(--color-border);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.wui-tree-picker-pane,
|
|
44
|
+
.wui-tree-picker-rail {
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-direction: column;
|
|
47
|
+
gap: var(--wui-space-sm);
|
|
48
|
+
min-width: 0;
|
|
49
|
+
padding: var(--wui-space-md);
|
|
50
|
+
}
|
|
51
|
+
.wui-tree-picker-pane + .wui-tree-picker-rail {
|
|
52
|
+
border-block-start: 1px solid var(--color-border);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.wui-tree-picker-search {
|
|
56
|
+
width: 100%;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.wui-tree-picker-tree,
|
|
60
|
+
.wui-tree-picker-group {
|
|
61
|
+
margin: 0;
|
|
62
|
+
padding: 0;
|
|
63
|
+
list-style: none;
|
|
64
|
+
}
|
|
65
|
+
.wui-tree-picker-tree {
|
|
66
|
+
max-height: 360px;
|
|
67
|
+
overflow-y: auto;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.wui-tree-picker-item {
|
|
71
|
+
outline: none;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.wui-tree-picker-row {
|
|
75
|
+
display: flex;
|
|
76
|
+
align-items: center;
|
|
77
|
+
gap: var(--wui-space-sm);
|
|
78
|
+
min-height: 36px;
|
|
79
|
+
padding: var(--wui-space-xs) var(--wui-space-sm);
|
|
80
|
+
padding-inline-start: calc(var(--wui-space-sm) + var(--wui-tree-picker-level, 0) * (var(--wui-space-lg) + var(--wui-space-xs)));
|
|
81
|
+
border-radius: var(--wui-radius-sm);
|
|
82
|
+
color: var(--color-text);
|
|
83
|
+
cursor: pointer;
|
|
84
|
+
user-select: none;
|
|
85
|
+
}
|
|
86
|
+
.wui-tree-picker-row:hover {
|
|
87
|
+
background: var(--color-bg-muted);
|
|
88
|
+
}
|
|
89
|
+
.wui-tree-picker-item[aria-selected="true"] > .wui-tree-picker-row {
|
|
90
|
+
background: var(--color-primary-soft);
|
|
91
|
+
color: var(--color-primary-text);
|
|
92
|
+
}
|
|
93
|
+
.wui-tree-picker-item[aria-disabled="true"] > .wui-tree-picker-row {
|
|
94
|
+
opacity: var(--wui-disabled-opacity);
|
|
95
|
+
cursor: not-allowed;
|
|
96
|
+
}
|
|
97
|
+
.wui-tree-picker-item[aria-disabled="true"] > .wui-tree-picker-row:hover {
|
|
98
|
+
background: transparent;
|
|
99
|
+
}
|
|
100
|
+
// The item holds the focus, but it also holds its subtree, so the ring goes on its own row.
|
|
101
|
+
.wui-tree-picker-item:focus-visible > .wui-tree-picker-row {
|
|
102
|
+
outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
|
|
103
|
+
outline-offset: var(--wui-focus-ring-inset);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.wui-tree-picker-toggle {
|
|
107
|
+
display: inline-flex;
|
|
108
|
+
flex: 0 0 auto;
|
|
109
|
+
align-items: center;
|
|
110
|
+
justify-content: center;
|
|
111
|
+
width: 20px;
|
|
112
|
+
height: 20px;
|
|
113
|
+
padding: 0;
|
|
114
|
+
border: 0;
|
|
115
|
+
background: transparent;
|
|
116
|
+
color: var(--color-text-muted);
|
|
117
|
+
}
|
|
118
|
+
.wui-tree-picker-item[aria-expanded="true"] > .wui-tree-picker-row .wui-tree-picker-toggle {
|
|
119
|
+
transform: rotate(90deg);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.wui-tree-picker-check {
|
|
123
|
+
flex: 0 0 auto;
|
|
124
|
+
margin: 0;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.wui-tree-picker-label {
|
|
128
|
+
flex: 1 1 auto;
|
|
129
|
+
min-width: 0;
|
|
130
|
+
overflow: hidden;
|
|
131
|
+
text-overflow: ellipsis;
|
|
132
|
+
white-space: nowrap;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.wui-tree-picker-nomatch,
|
|
136
|
+
.wui-tree-picker-empty {
|
|
137
|
+
padding: var(--wui-space-lg) var(--wui-space-sm);
|
|
138
|
+
font-size: var(--wui-fs-base);
|
|
139
|
+
text-align: center;
|
|
140
|
+
color: var(--color-text-muted);
|
|
141
|
+
}
|
|
142
|
+
.wui-tree-picker-empty > .fw-semibold {
|
|
143
|
+
white-space: nowrap;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.wui-tree-picker-rail-head {
|
|
147
|
+
display: flex;
|
|
148
|
+
align-items: center;
|
|
149
|
+
justify-content: space-between;
|
|
150
|
+
gap: var(--wui-space-sm);
|
|
151
|
+
}
|
|
152
|
+
.wui-tree-picker-title {
|
|
153
|
+
margin: 0;
|
|
154
|
+
font-weight: var(--wui-fw-semibold);
|
|
155
|
+
color: var(--color-text);
|
|
156
|
+
}
|
|
157
|
+
.wui-tree-picker-rail-head .badge {
|
|
158
|
+
flex: 0 0 auto;
|
|
159
|
+
}
|
|
160
|
+
.wui-tree-picker-rail-head > .btn {
|
|
161
|
+
white-space: nowrap;
|
|
162
|
+
}
|
|
163
|
+
.wui-tree-picker-rail-body {
|
|
164
|
+
flex: 1 1 auto;
|
|
165
|
+
min-height: 0;
|
|
166
|
+
max-height: 360px;
|
|
167
|
+
overflow: auto;
|
|
168
|
+
margin: 0;
|
|
169
|
+
padding: 0;
|
|
170
|
+
list-style: none;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.wui-tree-picker-chosen-group {
|
|
174
|
+
margin: var(--wui-space-sm) 0 var(--wui-space-xxs);
|
|
175
|
+
font-size: var(--wui-fs-xs);
|
|
176
|
+
color: var(--color-text-muted);
|
|
177
|
+
}
|
|
178
|
+
.wui-tree-picker-chosen-group > ul {
|
|
179
|
+
margin: 0;
|
|
180
|
+
padding-inline-start: 0;
|
|
181
|
+
}
|
|
182
|
+
.wui-tree-picker-chosen-row {
|
|
183
|
+
display: flex;
|
|
184
|
+
align-items: center;
|
|
185
|
+
justify-content: space-between;
|
|
186
|
+
gap: var(--wui-space-sm);
|
|
187
|
+
min-height: 36px;
|
|
188
|
+
font-size: var(--wui-fs-base);
|
|
189
|
+
}
|
|
190
|
+
.wui-tree-picker-chosen-label {
|
|
191
|
+
flex: 1 1 auto;
|
|
192
|
+
min-width: 0;
|
|
193
|
+
overflow: hidden;
|
|
194
|
+
text-overflow: ellipsis;
|
|
195
|
+
white-space: nowrap;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.wui-tree-picker-remove {
|
|
199
|
+
display: inline-flex;
|
|
200
|
+
flex: 0 0 auto;
|
|
201
|
+
align-items: center;
|
|
202
|
+
justify-content: center;
|
|
203
|
+
width: 28px;
|
|
204
|
+
height: 28px;
|
|
205
|
+
padding: 0;
|
|
206
|
+
border: 0;
|
|
207
|
+
border-radius: var(--wui-radius-sm);
|
|
208
|
+
background: transparent;
|
|
209
|
+
color: var(--color-text-muted);
|
|
210
|
+
cursor: pointer;
|
|
211
|
+
}
|
|
212
|
+
.wui-tree-picker-remove:hover {
|
|
213
|
+
background: var(--color-bg-muted);
|
|
214
|
+
color: var(--color-text);
|
|
215
|
+
}
|
|
216
|
+
.wui-tree-picker-remove:focus-visible {
|
|
217
|
+
outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
|
|
218
|
+
outline-offset: var(--wui-focus-ring-inset);
|
|
219
|
+
}
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
display: inline-flex;
|
|
111
111
|
width: 18px;
|
|
112
112
|
height: 18px;
|
|
113
|
-
margin-
|
|
113
|
+
margin-inline-start: -2px;
|
|
114
114
|
border-radius: 999px;
|
|
115
115
|
overflow: hidden;
|
|
116
116
|
flex: none;
|
|
@@ -149,13 +149,14 @@
|
|
|
149
149
|
padding: 2px 8px;
|
|
150
150
|
}
|
|
151
151
|
.chip-clickable > .chip-remove {
|
|
152
|
-
margin-
|
|
152
|
+
margin-inline-end: 6px;
|
|
153
153
|
}
|
|
154
154
|
.chip-remove {
|
|
155
155
|
display: inline-flex;
|
|
156
156
|
align-items: center;
|
|
157
157
|
justify-content: center;
|
|
158
|
-
margin: 0
|
|
158
|
+
margin-block: 0;
|
|
159
|
+
margin-inline: 2px -4px;
|
|
159
160
|
padding: 2px;
|
|
160
161
|
border: 0;
|
|
161
162
|
border-radius: 999px;
|
|
@@ -359,7 +360,7 @@
|
|
|
359
360
|
.struct-card-img-card .struct-card-check {
|
|
360
361
|
position: absolute;
|
|
361
362
|
top: 8px;
|
|
362
|
-
|
|
363
|
+
inset-inline-end: 8px;
|
|
363
364
|
}
|
|
364
365
|
|
|
365
366
|
// Line breaks in the text are kept and long lines still wrap. Used by multiline on app-value, app-description and AppDescriptions items.
|