@clayui/css 3.160.0 → 3.162.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 (99) hide show
  1. package/lib/css/atlas.css +1716 -1586
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +1416 -1287
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/cadmin.css +79 -12
  6. package/lib/css/cadmin.css.map +1 -1
  7. package/lib/images/icons/arrow-key-down.svg +9 -0
  8. package/lib/images/icons/arrow-key-left.svg +9 -0
  9. package/lib/images/icons/arrow-key-right.svg +9 -0
  10. package/lib/images/icons/arrow-key-up.svg +9 -0
  11. package/lib/images/icons/books-brush.svg +9 -0
  12. package/lib/images/icons/icons.svg +1 -1
  13. package/package.json +1 -1
  14. package/src/images/icons/arrow-key-down.svg +9 -0
  15. package/src/images/icons/arrow-key-left.svg +9 -0
  16. package/src/images/icons/arrow-key-right.svg +9 -0
  17. package/src/images/icons/arrow-key-up.svg +9 -0
  18. package/src/images/icons/books-brush.svg +9 -0
  19. package/src/images/icons/icons.svg +1 -1
  20. package/src/scss/_components.scss +2 -0
  21. package/src/scss/_license-text.scss +1 -1
  22. package/src/scss/atlas/_variables.scss +6 -4
  23. package/src/scss/atlas/variables/_forms.scss +3 -1
  24. package/src/scss/atlas/variables/_globals.scss +10 -10
  25. package/src/scss/atlas/variables/_reorder.scss +1 -1
  26. package/src/scss/atlas-custom-properties/_variables.scss +66 -0
  27. package/src/scss/atlas-custom-properties/variables/_alerts.scss +1205 -0
  28. package/src/scss/atlas-custom-properties/variables/_application-bar.scss +60 -0
  29. package/src/scss/atlas-custom-properties/variables/_aspect-ratio.scss +26 -0
  30. package/src/scss/atlas-custom-properties/variables/_badges.scss +341 -0
  31. package/src/scss/atlas-custom-properties/variables/_breadcrumbs.scss +193 -0
  32. package/src/scss/atlas-custom-properties/variables/_buttons.scss +1442 -0
  33. package/src/scss/atlas-custom-properties/variables/_c-root.scss +343 -0
  34. package/src/scss/atlas-custom-properties/variables/_cards.scss +1212 -0
  35. package/src/scss/atlas-custom-properties/variables/_clay-color.scss +617 -0
  36. package/src/scss/atlas-custom-properties/variables/_custom-forms.scss +1096 -0
  37. package/src/scss/atlas-custom-properties/variables/_date-picker.scss +619 -0
  38. package/src/scss/atlas-custom-properties/variables/_drilldown.scss +244 -0
  39. package/src/scss/atlas-custom-properties/variables/_dropdowns.scss +1229 -0
  40. package/src/scss/atlas-custom-properties/variables/_dual-listbox.scss +72 -0
  41. package/src/scss/atlas-custom-properties/variables/_empty-state.scss +102 -0
  42. package/src/scss/atlas-custom-properties/variables/_forms.scss +2305 -0
  43. package/src/scss/atlas-custom-properties/variables/_globals-z-index.scss +48 -0
  44. package/src/scss/atlas-custom-properties/variables/_globals.scss +844 -0
  45. package/src/scss/atlas-custom-properties/variables/_icons.scss +71 -0
  46. package/src/scss/atlas-custom-properties/variables/_images.scss +9 -0
  47. package/src/scss/atlas-custom-properties/variables/_labels.scss +1374 -0
  48. package/src/scss/atlas-custom-properties/variables/_links.scss +466 -0
  49. package/src/scss/atlas-custom-properties/variables/_list-group.scss +488 -0
  50. package/src/scss/atlas-custom-properties/variables/_loaders.scss +226 -0
  51. package/src/scss/atlas-custom-properties/variables/_management-bar.scss +151 -0
  52. package/src/scss/atlas-custom-properties/variables/_menubar.scss +778 -0
  53. package/src/scss/atlas-custom-properties/variables/_modals.scss +645 -0
  54. package/src/scss/atlas-custom-properties/variables/_multi-step-nav.scss +354 -0
  55. package/src/scss/atlas-custom-properties/variables/_navbar.scss +198 -0
  56. package/src/scss/atlas-custom-properties/variables/_navigation-bar.scss +449 -0
  57. package/src/scss/atlas-custom-properties/variables/_navs.scss +553 -0
  58. package/src/scss/atlas-custom-properties/variables/_pagination.scss +1064 -0
  59. package/src/scss/atlas-custom-properties/variables/_panels.scss +554 -0
  60. package/src/scss/atlas-custom-properties/variables/_popovers.scss +533 -0
  61. package/src/scss/atlas-custom-properties/variables/_progress-bars.scss +149 -0
  62. package/src/scss/atlas-custom-properties/variables/_quick-action.scss +28 -0
  63. package/src/scss/atlas-custom-properties/variables/_range.scss +262 -0
  64. package/src/scss/atlas-custom-properties/variables/_reorder.scss +91 -0
  65. package/src/scss/atlas-custom-properties/variables/_resizer.scss +37 -0
  66. package/src/scss/atlas-custom-properties/variables/_sheets.scss +301 -0
  67. package/src/scss/atlas-custom-properties/variables/_side-navigation.scss +2 -0
  68. package/src/scss/atlas-custom-properties/variables/_sidebar.scss +547 -0
  69. package/src/scss/atlas-custom-properties/variables/_slideout.scss +369 -0
  70. package/src/scss/atlas-custom-properties/variables/_stickers.scss +576 -0
  71. package/src/scss/atlas-custom-properties/variables/_tables.scss +1292 -0
  72. package/src/scss/atlas-custom-properties/variables/_tbar.scss +570 -0
  73. package/src/scss/atlas-custom-properties/variables/_time.scss +133 -0
  74. package/src/scss/atlas-custom-properties/variables/_timelines.scss +50 -0
  75. package/src/scss/atlas-custom-properties/variables/_toggle-switch.scss +702 -0
  76. package/src/scss/atlas-custom-properties/variables/_tooltip.scss +321 -0
  77. package/src/scss/atlas-custom-properties/variables/_treeview.scss +367 -0
  78. package/src/scss/atlas-custom-properties/variables/_type.scss +195 -0
  79. package/src/scss/atlas-custom-properties/variables/_utilities.scss +933 -0
  80. package/src/scss/cadmin/components/_focus-ring.scss +74 -0
  81. package/src/scss/cadmin/components/_forms.scss +2 -0
  82. package/src/scss/cadmin/components/_menubar.scss +8 -0
  83. package/src/scss/cadmin/components/_resizer.scss +19 -4
  84. package/src/scss/cadmin/variables/_breadcrumbs.scss +3 -1
  85. package/src/scss/cadmin/variables/_forms.scss +3 -1
  86. package/src/scss/cadmin/variables/_reorder.scss +1 -0
  87. package/src/scss/cadmin/variables/_resizer.scss +16 -3
  88. package/src/scss/cadmin.scss +1 -0
  89. package/src/scss/components/_focus-ring.scss +64 -0
  90. package/src/scss/components/_forms.scss +2 -0
  91. package/src/scss/components/_keyboard-arrows-indicator.scss +82 -0
  92. package/src/scss/components/_menubar.scss +8 -0
  93. package/src/scss/components/_resizer.scss +15 -4
  94. package/src/scss/functions/_global-functions.scss +6 -4
  95. package/src/scss/functions/_lx-icons-generated.scss +10 -0
  96. package/src/scss/variables/_breadcrumbs.scss +4 -2
  97. package/src/scss/variables/_forms.scss +2 -0
  98. package/src/scss/variables/_globals.scss +8 -8
  99. package/src/scss/variables/_resizer.scss +16 -3
@@ -0,0 +1,321 @@
1
+ $tooltip-bg: var(--tooltip-background-color, $dark-d2) !default;
2
+ $tooltip-border-radius: var(--tooltip-border-radius, $border-radius) !default;
3
+ $tooltip-box-shadow: var(
4
+ --tooltip-box-shadow,
5
+ 0 1px 4px 0px rgba(0, 0, 0, 0.4)
6
+ ) !default;
7
+ $tooltip-color: var(--tooltip-color, $white) !default;
8
+ $tooltip-font-size: var(--tooltip-font-size, 14px) !default;
9
+ $tooltip-margin: var(--tooltip-margin, 0) !default;
10
+ $tooltip-max-width: var(--tooltip-max-width, 230px) !default;
11
+ $tooltip-opacity: var(--tooltip-opacity, 1) !default;
12
+ $tooltip-padding-x: var(--tooltip-padding-x, 12px) !default;
13
+ $tooltip-padding-y: var(--tooltip-padding-y, 12px) !default;
14
+
15
+ $tooltip-arrow-color: var(--tooltip-arrow-color, $tooltip-bg) !default;
16
+ $tooltip-arrow-height: var(--tooltip-arrow-height, 6.4px) !default;
17
+ $tooltip-arrow-offset: var(--tooltip-arrow-offset, 8px) !default;
18
+ $tooltip-arrow-width: var(--tooltip-arrow-width, 12.8px) !default;
19
+
20
+ $form-feedback-tooltip-border-radius: $tooltip-border-radius !default;
21
+ $form-feedback-tooltip-font-size: $tooltip-font-size !default;
22
+ $form-feedback-tooltip-line-height: $line-height-base !default;
23
+ $form-feedback-tooltip-opacity: $tooltip-opacity !default;
24
+ $form-feedback-tooltip-padding-x: $tooltip-padding-x !default;
25
+ $form-feedback-tooltip-padding-y: $tooltip-padding-y !default;
26
+
27
+ // .tooltip
28
+
29
+ $tooltip: () !default;
30
+ $tooltip: map-deep-merge(
31
+ (
32
+ display: block,
33
+ font-family: $font-family-base,
34
+ font-size: $tooltip-font-size,
35
+ font-style: normal,
36
+ font-weight: var(--tooltip-font-weight, $font-weight-normal),
37
+ letter-spacing: normal,
38
+ line-break: auto,
39
+ line-height: $line-height-base,
40
+ margin: $tooltip-margin,
41
+ opacity: 0,
42
+ position: absolute,
43
+ text-align: left,
44
+ text-decoration: none,
45
+ text-shadow: none,
46
+ text-transform: none,
47
+ white-space: normal,
48
+ word-break: normal,
49
+ word-spacing: normal,
50
+ word-wrap: break-word,
51
+ z-index: $zindex-tooltip,
52
+
53
+ show: (
54
+ opacity: $tooltip-opacity,
55
+ ),
56
+
57
+ arrow: (
58
+ display: block,
59
+ height: $tooltip-arrow-height,
60
+ position: absolute,
61
+ width: $tooltip-arrow-width,
62
+
63
+ before: (
64
+ border-color: transparent,
65
+ border-style: solid,
66
+ content: '',
67
+ position: absolute,
68
+ ),
69
+ ),
70
+ ),
71
+ $tooltip
72
+ );
73
+
74
+ // .tooltip-inner
75
+
76
+ $tooltip-inner: () !default;
77
+ $tooltip-inner: map-merge(
78
+ (
79
+ background-color: $tooltip-bg,
80
+ border-radius: clay-enable-rounded($tooltip-border-radius),
81
+ box-shadow: clay-enable-shadows($tooltip-box-shadow),
82
+ color: $tooltip-color,
83
+ max-width: $tooltip-max-width,
84
+ padding: $tooltip-padding-y $tooltip-padding-x,
85
+ text-align: center,
86
+ white-space: pre-line,
87
+ ),
88
+ $tooltip-inner
89
+ );
90
+
91
+ // .clay-tooltip-bottom, .clay-tooltip-bottom-left, .clay-tooltip-bottom-right
92
+
93
+ $clay-tooltip-bottom: () !default;
94
+ $clay-tooltip-bottom: map-deep-merge(
95
+ (
96
+ padding-top: $tooltip-arrow-height,
97
+
98
+ arrow: (
99
+ left: 50%,
100
+ margin-left: calc(#{$tooltip-arrow-width} * -0.5),
101
+ top: 0rem,
102
+
103
+ before: (
104
+ border-bottom-color: $tooltip-arrow-color,
105
+ border-width: 0rem calc(#{$tooltip-arrow-width} * 0.5)
106
+ $tooltip-arrow-height,
107
+ bottom: 0rem,
108
+ ),
109
+ ),
110
+
111
+ tooltip-arrow: (
112
+ border-bottom-color: transparent,
113
+ border-right-color: transparent,
114
+ left: 50%,
115
+ top: 0rem,
116
+ ),
117
+ ),
118
+ $clay-tooltip-bottom
119
+ );
120
+
121
+ // .clay-tooltip-bottom-left
122
+
123
+ $clay-tooltip-bottom-left: () !default;
124
+ $clay-tooltip-bottom-left: map-deep-merge(
125
+ (
126
+ arrow: (
127
+ left: $tooltip-arrow-offset,
128
+ margin-left: 0rem,
129
+ ),
130
+ ),
131
+ $clay-tooltip-bottom-left
132
+ );
133
+
134
+ // .clay-tooltip-bottom-right
135
+
136
+ $clay-tooltip-bottom-right: () !default;
137
+ $clay-tooltip-bottom-right: map-deep-merge(
138
+ (
139
+ arrow: (
140
+ left: auto,
141
+ margin-left: 0rem,
142
+ right: $tooltip-arrow-offset,
143
+ ),
144
+ ),
145
+ $clay-tooltip-bottom-right
146
+ );
147
+
148
+ // .clay-tooltip-left, .clay-tooltip-left-bottom, .clay-tooltip-left-top
149
+
150
+ $clay-tooltip-left: () !default;
151
+ $clay-tooltip-left: map-deep-merge(
152
+ (
153
+ padding-right: $tooltip-arrow-height,
154
+
155
+ arrow: (
156
+ height: $tooltip-arrow-width,
157
+ margin-top: calc(#{$tooltip-arrow-width} * -0.5),
158
+ right: 0rem,
159
+ top: 50%,
160
+ width: $tooltip-arrow-height,
161
+
162
+ before: (
163
+ border-left-color: $tooltip-arrow-color,
164
+ border-width: calc(#{$tooltip-arrow-width} * 0.5) 0
165
+ calc(#{$tooltip-arrow-width} * 0.5) $tooltip-arrow-height,
166
+ left: 0rem,
167
+ ),
168
+ ),
169
+
170
+ tooltip-arrow: (
171
+ border-bottom-color: transparent,
172
+ border-left-color: transparent,
173
+ right: 0rem,
174
+ top: 50%,
175
+ ),
176
+ ),
177
+ $clay-tooltip-left
178
+ );
179
+
180
+ // .clay-tooltip-left-bottom
181
+
182
+ $clay-tooltip-left-bottom: () !default;
183
+ $clay-tooltip-left-bottom: map-deep-merge(
184
+ (
185
+ arrow: (
186
+ bottom: $tooltip-arrow-offset,
187
+ margin-top: 0rem,
188
+ top: auto,
189
+ ),
190
+ ),
191
+ $clay-tooltip-left-bottom
192
+ );
193
+
194
+ // .clay-tooltip-left-top
195
+
196
+ $clay-tooltip-left-top: () !default;
197
+ $clay-tooltip-left-top: map-deep-merge(
198
+ (
199
+ arrow: (
200
+ margin-top: 0rem,
201
+ top: $tooltip-arrow-offset,
202
+ ),
203
+ ),
204
+ $clay-tooltip-left-top
205
+ );
206
+
207
+ // .clay-tooltip-right, .clay-tooltip-right-bottom, .clay-tooltip-right-top
208
+
209
+ $clay-tooltip-right: () !default;
210
+ $clay-tooltip-right: map-deep-merge(
211
+ (
212
+ padding-left: $tooltip-arrow-height,
213
+
214
+ arrow: (
215
+ height: $tooltip-arrow-width,
216
+ left: 0rem,
217
+ margin-top: calc(#{$tooltip-arrow-width} * -0.5),
218
+ top: 50%,
219
+ width: $tooltip-arrow-height,
220
+
221
+ before: (
222
+ border-right-color: $tooltip-arrow-color,
223
+ border-width: calc(#{$tooltip-arrow-width} * 0.5)
224
+ $tooltip-arrow-height calc(#{$tooltip-arrow-width} * 0.5)
225
+ 0rem,
226
+ right: 0rem,
227
+ ),
228
+ ),
229
+
230
+ tooltip-arrow: (
231
+ border-right-color: transparent,
232
+ border-top-color: transparent,
233
+ left: 0rem,
234
+ top: 50%,
235
+ ),
236
+ ),
237
+ $clay-tooltip-right
238
+ );
239
+
240
+ // .clay-tooltip-right-bottom
241
+
242
+ $clay-tooltip-right-bottom: () !default;
243
+ $clay-tooltip-right-bottom: map-deep-merge(
244
+ (
245
+ arrow: (
246
+ bottom: $tooltip-arrow-offset,
247
+ margin-top: 0rem,
248
+ top: auto,
249
+ ),
250
+ ),
251
+ $clay-tooltip-right-bottom
252
+ );
253
+
254
+ // .clay-tooltip-right-top
255
+
256
+ $clay-tooltip-right-top: () !default;
257
+ $clay-tooltip-right-top: map-deep-merge(
258
+ (
259
+ arrow: (
260
+ margin-top: 0rem,
261
+ top: $tooltip-arrow-offset,
262
+ ),
263
+ ),
264
+ $clay-tooltip-right-top
265
+ );
266
+
267
+ // .clay-tooltip-top, .clay-tooltip-top-left, .clay-tooltip-top-right
268
+
269
+ $clay-tooltip-top: () !default;
270
+ $clay-tooltip-top: map-deep-merge(
271
+ (
272
+ padding-bottom: $tooltip-arrow-height,
273
+
274
+ arrow: (
275
+ bottom: 0rem,
276
+ left: 50%,
277
+ margin-left: calc(#{$tooltip-arrow-width} * -0.5),
278
+ before: (
279
+ border-top-color: $tooltip-arrow-color,
280
+ border-width: $tooltip-arrow-height
281
+ calc(#{$tooltip-arrow-width} * 0.5) 0rem,
282
+ top: 0rem,
283
+ ),
284
+ ),
285
+
286
+ tooltip-arrow: (
287
+ border-left-color: transparent,
288
+ border-top-color: transparent,
289
+ bottom: 0rem,
290
+ left: 50%,
291
+ ),
292
+ ),
293
+ $clay-tooltip-top
294
+ );
295
+
296
+ // .clay-tooltip-top-left
297
+
298
+ $clay-tooltip-top-left: () !default;
299
+ $clay-tooltip-top-left: map-deep-merge(
300
+ (
301
+ arrow: (
302
+ left: $tooltip-arrow-offset,
303
+ margin-left: 0rem,
304
+ ),
305
+ ),
306
+ $clay-tooltip-top-left
307
+ );
308
+
309
+ // .clay-tooltip-top-right
310
+
311
+ $clay-tooltip-top-right: () !default;
312
+ $clay-tooltip-top-right: map-deep-merge(
313
+ (
314
+ arrow: (
315
+ left: auto,
316
+ margin-left: 0rem,
317
+ right: $tooltip-arrow-offset,
318
+ ),
319
+ ),
320
+ $clay-tooltip-top-right
321
+ );
@@ -0,0 +1,367 @@
1
+ $treeview: () !default;
2
+ $treeview: map-merge(
3
+ (
4
+ display: flex,
5
+ flex-direction: column,
6
+ font-size: 14px,
7
+ list-style: none,
8
+ margin-bottom: 0rem,
9
+ padding: 2px 0rem,
10
+
11
+ btn: (
12
+ color: inherit,
13
+ font-size: 12px,
14
+ line-height: 1,
15
+ padding: 6px 8px,
16
+
17
+ c-inner: (
18
+ margin: -7px -8px,
19
+ ),
20
+ ),
21
+
22
+ btn-monospaced: (
23
+ font-size: inherit,
24
+ height: 24px,
25
+ padding: 0rem,
26
+ width: 24px,
27
+
28
+ focus: (
29
+ box-shadow: $component-focus-inset-box-shadow,
30
+ ),
31
+ ),
32
+
33
+ custom-control: (
34
+ margin-left: 4px,
35
+ margin-right: 4px,
36
+ margin-top: 1.5px,
37
+ ),
38
+
39
+ treeview-dragging: (
40
+ background-color: $white,
41
+ border-color: $primary-l0,
42
+ border-radius: $border-radius-sm,
43
+ border-style: solid,
44
+ border-width: 1px,
45
+ display: inline-block,
46
+ font-size: 10px,
47
+ font-weight: $font-weight-semi-bold,
48
+ padding: 4px 12px,
49
+ text-transform: uppercase,
50
+ ),
51
+
52
+ treeview-group: (
53
+ display: flex,
54
+ flex-direction: column,
55
+ list-style: none,
56
+ margin-bottom: 0rem,
57
+ padding-left: 0rem,
58
+ ),
59
+
60
+ treeview-item: (
61
+ word-wrap: break-word,
62
+ ),
63
+
64
+ treeview-item-dragging: (
65
+ cursor: $disabled-cursor,
66
+ opacity: 0.4,
67
+
68
+ treeview-link: (
69
+ background-color: transparent,
70
+ border-color: transparent,
71
+ box-shadow: none,
72
+ ),
73
+ ),
74
+
75
+ treeview-dropping-indicator-top: (
76
+ background-color: transparent,
77
+ display: block,
78
+ height: 2px,
79
+ margin-top: -2px,
80
+ outline: none,
81
+ width: 100%,
82
+ ),
83
+
84
+ treeview-dropping-indicator-bottom: (
85
+ background-color: transparent,
86
+ display: block,
87
+ height: 2px,
88
+ margin-bottom: -2px,
89
+ outline: none,
90
+ width: 100%,
91
+ ),
92
+
93
+ treeview-dropping-indicator-over: (
94
+ background-color: $primary-l0,
95
+ ),
96
+
97
+ treeview-link: (
98
+ background-color: transparent,
99
+ cursor: pointer,
100
+ display: block,
101
+ border-color: transparent,
102
+ border-style: solid,
103
+ border-width: 1px,
104
+ margin-bottom: 2px,
105
+ margin-top: 2px,
106
+ min-width: 100%,
107
+ padding: 0rem,
108
+ position: relative,
109
+ text-align: left,
110
+ user-select: none,
111
+
112
+ treeview-dropping-middle: (
113
+ background-color: $primary-l3,
114
+ border-color: $primary-l0,
115
+ ),
116
+
117
+ hover: (
118
+ text-decoration: none,
119
+ ),
120
+
121
+ focus: (
122
+ box-shadow: $component-focus-inset-box-shadow,
123
+ outline: 0,
124
+ ),
125
+
126
+ disabled: (
127
+ cursor: $disabled-cursor,
128
+ ),
129
+ ),
130
+
131
+ component-expander: (
132
+ font-size: 10px,
133
+ ),
134
+
135
+ component-action: (
136
+ font-size: 16px,
137
+ margin-left: 2px,
138
+ margin-right: 2px,
139
+
140
+ hover: (
141
+ background-color: transparent,
142
+ color: $secondary,
143
+ ),
144
+
145
+ focus: (
146
+ color: $secondary,
147
+ ),
148
+
149
+ active: (
150
+ background-color: transparent,
151
+ ),
152
+ ),
153
+
154
+ component-icon: (
155
+ color: $secondary,
156
+ display: inline-block,
157
+ font-size: 16px,
158
+ height: auto,
159
+ margin: 4px,
160
+ vertical-align: middle,
161
+ width: auto,
162
+
163
+ lexicon-icon: (
164
+ display: block,
165
+ ),
166
+ ),
167
+
168
+ component-text: (
169
+ line-height: 24px,
170
+ padding-left: 4px,
171
+ user-select: auto,
172
+ ),
173
+
174
+ quick-action-item: (
175
+ margin: 0px 2px,
176
+ min-height: 0rem,
177
+ min-width: 0rem,
178
+ ),
179
+
180
+ autofit-row: (
181
+ align-items: center,
182
+ ),
183
+ ),
184
+ $treeview
185
+ );
186
+
187
+ $treeview-nested-margins: () !default;
188
+ $treeview-nested-margins: map-deep-merge(
189
+ (
190
+ treeview-group: (
191
+ treeview-item: (
192
+ margin-left: 24px,
193
+ ),
194
+ ),
195
+ ),
196
+ $treeview-nested-margins
197
+ );
198
+
199
+ $treeview-show-component-expander-on-hover: () !default;
200
+ $treeview-show-component-expander-on-hover: map-deep-merge(
201
+ (
202
+ hover: (
203
+ component-expander: (
204
+ opacity: 1,
205
+ transition: opacity ease-in-out 600ms,
206
+ ),
207
+ ),
208
+
209
+ component-expander: (
210
+ opacity: 0,
211
+ transition: opacity ease-in-out 450ms,
212
+ ),
213
+
214
+ treeview-link: (
215
+ focus: (
216
+ component-expander: (
217
+ opacity: 1,
218
+ transition: none,
219
+ ),
220
+ ),
221
+ ),
222
+ ),
223
+ $treeview-show-component-expander-on-hover
224
+ );
225
+
226
+ // Variants
227
+
228
+ $treeview-light: () !default;
229
+ $treeview-light: map-deep-merge(
230
+ (
231
+ component-expander: (
232
+ color: $secondary,
233
+
234
+ disabled: (
235
+ color: $secondary,
236
+ opacity: 0.5,
237
+ ),
238
+
239
+ btn-secondary: (
240
+ background-color: $white,
241
+ ),
242
+ ),
243
+
244
+ treeview-link: (
245
+ color: $gray-600,
246
+
247
+ treeview-no-hover: (
248
+ hover: (
249
+ background-color: transparent,
250
+ color: $secondary,
251
+ ),
252
+ ),
253
+
254
+ hover: (
255
+ box-shadow: inset 0 0 0 1px $secondary-l0,
256
+ ),
257
+
258
+ focus: (
259
+ box-shadow: $component-focus-inset-box-shadow,
260
+ ),
261
+
262
+ active: (
263
+ background-color: $primary-l3,
264
+ box-shadow: inset 0 0 0 1px $primary,
265
+ color: $dark-l2,
266
+ focus: (
267
+ box-shadow: $component-focus-inset-box-shadow,
268
+ ),
269
+ ),
270
+
271
+ active-class: (
272
+ background-color: $primary-l3,
273
+ box-shadow: inset 0 0 0 1px $primary,
274
+ color: $dark-l2,
275
+
276
+ focus: (
277
+ box-shadow: $component-focus-inset-box-shadow,
278
+ ),
279
+ ),
280
+
281
+ disabled: (
282
+ background-color: transparent,
283
+ color: unquote('hsl(from #{$gray-600} h s l / 0.5)'),
284
+ ),
285
+
286
+ show: (
287
+ background-color: c-unset,
288
+ box-shadow: c-unset,
289
+ color: c-unset,
290
+ ),
291
+ ),
292
+ ),
293
+ $treeview-light
294
+ );
295
+
296
+ $treeview-dark: () !default;
297
+ $treeview-dark: map-deep-merge(
298
+ (
299
+ component-expander: (
300
+ color: $secondary-l1,
301
+
302
+ disabled: (
303
+ color: $secondary-l1,
304
+ opacity: 0.5,
305
+ ),
306
+ ),
307
+
308
+ treeview-link: (
309
+ color: $secondary-l1,
310
+
311
+ treeview-no-hover: (
312
+ hover: (
313
+ background-color: transparent,
314
+ color: $secondary-l1,
315
+ ),
316
+ ),
317
+
318
+ hover: (
319
+ box-shadow: inset 0 0 0 1px $secondary-l0,
320
+ ),
321
+
322
+ focus: (
323
+ box-shadow: $component-focus-inset-box-shadow,
324
+ ),
325
+
326
+ active: (
327
+ background-color: $dark-l2,
328
+ box-shadow: inset 0 0 0 1px $primary,
329
+ color: $primary-l3,
330
+
331
+ focus: (
332
+ box-shadow: $component-focus-inset-box-shadow,
333
+ ),
334
+ ),
335
+
336
+ active-class: (
337
+ background-color: $dark-l2,
338
+ box-shadow: inset 0 0 0 1px $primary,
339
+ color: $primary-l3,
340
+
341
+ focus: (
342
+ box-shadow: $component-focus-inset-box-shadow,
343
+ ),
344
+ ),
345
+
346
+ disabled: (
347
+ background-color: transparent,
348
+ color: unquote('hsl(from #{$secondary-l1} h s l / 0.5)'),
349
+ ),
350
+
351
+ show: (
352
+ background-color: c-unset,
353
+ box-shadow: c-unset,
354
+ color: c-unset,
355
+ ),
356
+ ),
357
+
358
+ component-action: (
359
+ color: $secondary-l1,
360
+
361
+ disabled: (
362
+ color: $secondary-l1,
363
+ ),
364
+ ),
365
+ ),
366
+ $treeview-dark
367
+ );