@clayui/css 3.43.0 → 3.45.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/lib/css/atlas.css +382 -47
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +382 -47
- package/lib/css/base.css.map +1 -1
- package/lib/css/bootstrap.css.map +1 -1
- package/lib/css/cadmin.css +157 -14
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/add-cell.svg +1 -1
- package/lib/images/icons/corner-radius.svg +12 -0
- package/lib/images/icons/date-time.svg +12 -0
- package/lib/images/icons/font-family.svg +10 -0
- package/lib/images/icons/font-size.svg +10 -0
- package/lib/images/icons/icons.svg +1 -1
- package/lib/images/icons/shadow.svg +9 -0
- package/package.json +2 -2
- package/src/images/icons/add-cell.svg +1 -1
- package/src/images/icons/corner-radius.svg +12 -0
- package/src/images/icons/date-time.svg +12 -0
- package/src/images/icons/font-family.svg +10 -0
- package/src/images/icons/font-size.svg +10 -0
- package/src/images/icons/shadow.svg +9 -0
- package/src/scss/_components.scss +1 -0
- package/src/scss/_variables.scss +1 -0
- package/src/scss/atlas/variables/_forms.scss +2 -1
- package/src/scss/cadmin/components/_custom-forms.scss +4 -0
- package/src/scss/cadmin/components/_forms.scss +1 -1
- package/src/scss/cadmin/components/_input-groups.scss +2 -0
- package/src/scss/cadmin/components/_links.scss +1 -6
- package/src/scss/cadmin/components/_navs.scss +20 -0
- package/src/scss/cadmin/components/_treeview.scss +135 -211
- package/src/scss/cadmin/variables/_custom-forms.scss +3 -0
- package/src/scss/cadmin/variables/_forms.scss +3 -2
- package/src/scss/cadmin/variables/_navs.scss +44 -1
- package/src/scss/cadmin/variables/_treeview.scss +21 -16
- package/src/scss/components/_cards.scss +16 -116
- package/src/scss/components/_forms.scss +1 -1
- package/src/scss/components/_links.scss +12 -0
- package/src/scss/components/_navs.scss +13 -1
- package/src/scss/components/_treeview.scss +310 -0
- package/src/scss/functions/_lx-icons-generated.scss +10 -0
- package/src/scss/mixins/_buttons.scss +27 -64
- package/src/scss/mixins/_cards.scss +751 -557
- package/src/scss/mixins/_custom-forms.scss +404 -383
- package/src/scss/mixins/_navbar.scss +32 -0
- package/src/scss/variables/_cards.scss +273 -1
- package/src/scss/variables/_forms.scss +3 -2
- package/src/scss/variables/_links.scss +17 -0
- package/src/scss/variables/_navs.scss +43 -1
- package/src/scss/variables/_treeview.scss +222 -0
|
@@ -1459,6 +1459,38 @@
|
|
|
1459
1459
|
);
|
|
1460
1460
|
}
|
|
1461
1461
|
}
|
|
1462
|
+
|
|
1463
|
+
.nav-divider {
|
|
1464
|
+
@include clay-css(map-deep-get($map, nav-divider));
|
|
1465
|
+
|
|
1466
|
+
&::before {
|
|
1467
|
+
@include clay-css(
|
|
1468
|
+
map-deep-get($map, nav-divider, before)
|
|
1469
|
+
);
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
&::after {
|
|
1473
|
+
@include clay-css(
|
|
1474
|
+
map-deep-get($map, nav-divider, after)
|
|
1475
|
+
);
|
|
1476
|
+
}
|
|
1477
|
+
}
|
|
1478
|
+
|
|
1479
|
+
.nav-divider-end {
|
|
1480
|
+
@include clay-css(map-deep-get($map, nav-divider-end));
|
|
1481
|
+
|
|
1482
|
+
&::before {
|
|
1483
|
+
@include clay-css(
|
|
1484
|
+
map-deep-get($map, nav-divider-end, before)
|
|
1485
|
+
);
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
&::after {
|
|
1489
|
+
@include clay-css(
|
|
1490
|
+
map-deep-get($map, nav-divider-end, after)
|
|
1491
|
+
);
|
|
1492
|
+
}
|
|
1493
|
+
}
|
|
1462
1494
|
}
|
|
1463
1495
|
|
|
1464
1496
|
.navbar-form {
|
|
@@ -207,12 +207,284 @@ $card-rounded-circle-inner-border-radius: calc(
|
|
|
207
207
|
#{$rounded-circle-border-radius} - #{$card-border-width}
|
|
208
208
|
) !default;
|
|
209
209
|
|
|
210
|
+
// .form-check-card
|
|
211
|
+
|
|
212
|
+
$form-check-card-checked-box-shadow: $input-btn-focus-box-shadow !default;
|
|
213
|
+
|
|
214
|
+
$form-check-card: () !default;
|
|
215
|
+
$form-check-card: map-deep-merge(
|
|
216
|
+
(
|
|
217
|
+
margin-bottom: $card-margin-bottom,
|
|
218
|
+
margin-top: 0,
|
|
219
|
+
padding-left: 0,
|
|
220
|
+
hover: (
|
|
221
|
+
card: (
|
|
222
|
+
box-shadow: $form-check-card-checked-box-shadow,
|
|
223
|
+
),
|
|
224
|
+
),
|
|
225
|
+
active: (
|
|
226
|
+
card: (
|
|
227
|
+
box-shadow: $form-check-card-checked-box-shadow,
|
|
228
|
+
),
|
|
229
|
+
),
|
|
230
|
+
checked: (
|
|
231
|
+
card: (
|
|
232
|
+
box-shadow: $form-check-card-checked-box-shadow,
|
|
233
|
+
),
|
|
234
|
+
),
|
|
235
|
+
card: (
|
|
236
|
+
margin-bottom: 0,
|
|
237
|
+
),
|
|
238
|
+
form-check-input: (
|
|
239
|
+
margin-left: 0,
|
|
240
|
+
margin-top: 0,
|
|
241
|
+
opacity: 0,
|
|
242
|
+
position: absolute,
|
|
243
|
+
z-index: 1,
|
|
244
|
+
),
|
|
245
|
+
form-check-label: (
|
|
246
|
+
color: $body-color,
|
|
247
|
+
display: inline,
|
|
248
|
+
font-weight: $font-weight-normal,
|
|
249
|
+
padding-left: 0,
|
|
250
|
+
position: static,
|
|
251
|
+
),
|
|
252
|
+
custom-control: (
|
|
253
|
+
display: inline,
|
|
254
|
+
margin-right: 0,
|
|
255
|
+
position: static,
|
|
256
|
+
label: (
|
|
257
|
+
font-weight: $font-weight-normal,
|
|
258
|
+
padding-left: 0,
|
|
259
|
+
),
|
|
260
|
+
custom-control-label: (
|
|
261
|
+
opacity: 0,
|
|
262
|
+
position: absolute,
|
|
263
|
+
z-index: 1,
|
|
264
|
+
before: (
|
|
265
|
+
top: 0,
|
|
266
|
+
),
|
|
267
|
+
after: (
|
|
268
|
+
top: 0,
|
|
269
|
+
),
|
|
270
|
+
),
|
|
271
|
+
custom-control-input: (
|
|
272
|
+
z-index: 2,
|
|
273
|
+
checked: (
|
|
274
|
+
card: (
|
|
275
|
+
box-shadow: $form-check-card-checked-box-shadow,
|
|
276
|
+
),
|
|
277
|
+
),
|
|
278
|
+
),
|
|
279
|
+
),
|
|
280
|
+
),
|
|
281
|
+
$form-check-card
|
|
282
|
+
);
|
|
283
|
+
|
|
284
|
+
// .form-check-bottom-left .card-horizontal > .card-body,
|
|
285
|
+
// .form-check-middle-left .card-horizontal > .card-body,
|
|
286
|
+
// .form-check-top-left .card-horizontal > .card-body
|
|
287
|
+
|
|
210
288
|
$checkbox-left-card-padding: 40px !default;
|
|
289
|
+
|
|
290
|
+
// .form-check-bottom-right .card-horizontal > .card-body,
|
|
291
|
+
// .form-check-middle-right .card-horizontal > .card-body,
|
|
292
|
+
// .form-check-top-right .card-horizontal > .card-body
|
|
293
|
+
|
|
211
294
|
$checkbox-right-card-padding: $checkbox-left-card-padding !default;
|
|
212
295
|
|
|
296
|
+
// Form Check Positions
|
|
297
|
+
|
|
213
298
|
$checkbox-position: 1rem !default;
|
|
214
299
|
|
|
215
|
-
|
|
300
|
+
// .form-check-bottom-left
|
|
301
|
+
|
|
302
|
+
$form-check-bottom-left: () !default;
|
|
303
|
+
$form-check-bottom-left: map-deep-merge(
|
|
304
|
+
(
|
|
305
|
+
form-check-input: (
|
|
306
|
+
bottom: $checkbox-position,
|
|
307
|
+
left: $checkbox-position,
|
|
308
|
+
opacity: 1,
|
|
309
|
+
top: auto,
|
|
310
|
+
transform: none,
|
|
311
|
+
),
|
|
312
|
+
custom-control: (
|
|
313
|
+
custom-control-input: (
|
|
314
|
+
bottom: $checkbox-position,
|
|
315
|
+
left: $checkbox-position,
|
|
316
|
+
top: auto,
|
|
317
|
+
transform: none,
|
|
318
|
+
),
|
|
319
|
+
custom-control-label: (
|
|
320
|
+
bottom: $checkbox-position,
|
|
321
|
+
left: $checkbox-position,
|
|
322
|
+
opacity: 1,
|
|
323
|
+
top: auto,
|
|
324
|
+
transform: none,
|
|
325
|
+
),
|
|
326
|
+
),
|
|
327
|
+
),
|
|
328
|
+
$form-check-bottom-left
|
|
329
|
+
);
|
|
330
|
+
|
|
331
|
+
// .form-check-bottom-right
|
|
332
|
+
|
|
333
|
+
$form-check-bottom-right: () !default;
|
|
334
|
+
$form-check-bottom-right: map-deep-merge(
|
|
335
|
+
(
|
|
336
|
+
form-check-input: (
|
|
337
|
+
bottom: $checkbox-position,
|
|
338
|
+
left: auto,
|
|
339
|
+
opacity: 1,
|
|
340
|
+
right: $checkbox-position,
|
|
341
|
+
top: auto,
|
|
342
|
+
transform: none,
|
|
343
|
+
),
|
|
344
|
+
custom-control: (
|
|
345
|
+
custom-control-input: (
|
|
346
|
+
bottom: $checkbox-position,
|
|
347
|
+
left: auto,
|
|
348
|
+
right: $checkbox-position,
|
|
349
|
+
top: auto,
|
|
350
|
+
transform: none,
|
|
351
|
+
),
|
|
352
|
+
custom-control-label: (
|
|
353
|
+
bottom: $checkbox-position,
|
|
354
|
+
left: auto,
|
|
355
|
+
opacity: 1,
|
|
356
|
+
right: $checkbox-position,
|
|
357
|
+
top: auto,
|
|
358
|
+
transform: none,
|
|
359
|
+
),
|
|
360
|
+
),
|
|
361
|
+
),
|
|
362
|
+
$form-check-bottom-right
|
|
363
|
+
);
|
|
364
|
+
|
|
365
|
+
// .form-check-middle-left
|
|
366
|
+
|
|
367
|
+
$form-check-middle-left: () !default;
|
|
368
|
+
$form-check-middle-left: map-deep-merge(
|
|
369
|
+
(
|
|
370
|
+
form-check-input: (
|
|
371
|
+
left: $checkbox-position,
|
|
372
|
+
margin-top: 0,
|
|
373
|
+
opacity: 1,
|
|
374
|
+
top: 50%,
|
|
375
|
+
transform: translateY(-50%),
|
|
376
|
+
),
|
|
377
|
+
custom-control: (
|
|
378
|
+
custom-control-input: (
|
|
379
|
+
left: $checkbox-position,
|
|
380
|
+
margin-top: 0,
|
|
381
|
+
top: 50%,
|
|
382
|
+
transform: translateY(-50%),
|
|
383
|
+
),
|
|
384
|
+
custom-control-label: (
|
|
385
|
+
left: $checkbox-position,
|
|
386
|
+
margin-top: 0,
|
|
387
|
+
opacity: 1,
|
|
388
|
+
top: 50%,
|
|
389
|
+
transform: translateY(-50%),
|
|
390
|
+
),
|
|
391
|
+
),
|
|
392
|
+
),
|
|
393
|
+
$form-check-middle-left
|
|
394
|
+
);
|
|
395
|
+
|
|
396
|
+
// .form-check-middle-right
|
|
397
|
+
|
|
398
|
+
$form-check-middle-right: () !default;
|
|
399
|
+
$form-check-middle-right: map-deep-merge(
|
|
400
|
+
(
|
|
401
|
+
form-check-input: (
|
|
402
|
+
left: auto,
|
|
403
|
+
margin-top: 0,
|
|
404
|
+
opacity: 1,
|
|
405
|
+
right: $checkbox-position,
|
|
406
|
+
top: 50%,
|
|
407
|
+
transform: translateY(-50%),
|
|
408
|
+
),
|
|
409
|
+
custom-control: (
|
|
410
|
+
custom-control-input: (
|
|
411
|
+
left: auto,
|
|
412
|
+
margin-top: 0,
|
|
413
|
+
right: $checkbox-position,
|
|
414
|
+
top: 50%,
|
|
415
|
+
transform: translateY(-50%),
|
|
416
|
+
),
|
|
417
|
+
custom-control-label: (
|
|
418
|
+
left: auto,
|
|
419
|
+
margin-top: 0,
|
|
420
|
+
opacity: 1,
|
|
421
|
+
right: $checkbox-position,
|
|
422
|
+
top: 50%,
|
|
423
|
+
transform: translateY(-50%),
|
|
424
|
+
),
|
|
425
|
+
),
|
|
426
|
+
),
|
|
427
|
+
$form-check-middle-right
|
|
428
|
+
);
|
|
429
|
+
|
|
430
|
+
// .form-check-top-right
|
|
431
|
+
|
|
432
|
+
$form-check-top-right: () !default;
|
|
433
|
+
$form-check-top-right: map-deep-merge(
|
|
434
|
+
(
|
|
435
|
+
form-check-input: (
|
|
436
|
+
left: auto,
|
|
437
|
+
opacity: 1,
|
|
438
|
+
right: $checkbox-position,
|
|
439
|
+
top: $checkbox-position,
|
|
440
|
+
transform: none,
|
|
441
|
+
),
|
|
442
|
+
custom-control: (
|
|
443
|
+
custom-control-input: (
|
|
444
|
+
left: auto,
|
|
445
|
+
right: $checkbox-position,
|
|
446
|
+
top: $checkbox-position,
|
|
447
|
+
transform: none,
|
|
448
|
+
),
|
|
449
|
+
custom-control-label: (
|
|
450
|
+
left: auto,
|
|
451
|
+
opacity: 1,
|
|
452
|
+
right: $checkbox-position,
|
|
453
|
+
top: $checkbox-position,
|
|
454
|
+
transform: none,
|
|
455
|
+
),
|
|
456
|
+
),
|
|
457
|
+
),
|
|
458
|
+
$form-check-top-right
|
|
459
|
+
);
|
|
460
|
+
|
|
461
|
+
// .form-check-top-left
|
|
462
|
+
|
|
463
|
+
$form-check-top-left: () !default;
|
|
464
|
+
$form-check-top-left: map-deep-merge(
|
|
465
|
+
(
|
|
466
|
+
form-check-input: (
|
|
467
|
+
left: $checkbox-position,
|
|
468
|
+
opacity: 1,
|
|
469
|
+
top: $checkbox-position,
|
|
470
|
+
transform: none,
|
|
471
|
+
),
|
|
472
|
+
custom-control: (
|
|
473
|
+
custom-control-input: (
|
|
474
|
+
left: $checkbox-position,
|
|
475
|
+
top: $checkbox-position,
|
|
476
|
+
transform: none,
|
|
477
|
+
),
|
|
478
|
+
custom-control-label: (
|
|
479
|
+
left: $checkbox-position,
|
|
480
|
+
opacity: 1,
|
|
481
|
+
top: $checkbox-position,
|
|
482
|
+
transform: none,
|
|
483
|
+
),
|
|
484
|
+
),
|
|
485
|
+
),
|
|
486
|
+
$form-check-top-left
|
|
487
|
+
);
|
|
216
488
|
|
|
217
489
|
// Card Interactive
|
|
218
490
|
|
|
@@ -310,10 +310,11 @@ $form-control-label-size: () !default;
|
|
|
310
310
|
$form-control-label-size: map-deep-merge(
|
|
311
311
|
(
|
|
312
312
|
border-width: 0.0625rem,
|
|
313
|
-
height:
|
|
313
|
+
height: auto,
|
|
314
314
|
margin-bottom: 0.25rem,
|
|
315
315
|
margin-right: 0.5rem,
|
|
316
316
|
margin-top: 0.25rem,
|
|
317
|
+
min-height: 1.25rem,
|
|
317
318
|
),
|
|
318
319
|
$form-control-label-size
|
|
319
320
|
);
|
|
@@ -322,7 +323,7 @@ $form-control-label-size: map-deep-merge(
|
|
|
322
323
|
|
|
323
324
|
$form-control-tag-group-padding-y: (
|
|
324
325
|
$input-height - $input-border-bottom-width - $input-border-top-width -
|
|
325
|
-
map-get($form-control-label-size, height) -
|
|
326
|
+
map-get($form-control-label-size, min-height) -
|
|
326
327
|
(map-get($form-control-label-size, margin-bottom)) -
|
|
327
328
|
(map-get($form-control-label-size, margin-top))
|
|
328
329
|
) * 0.5 !default;
|
|
@@ -285,3 +285,20 @@ $component-action: map-deep-merge(
|
|
|
285
285
|
),
|
|
286
286
|
$component-action
|
|
287
287
|
);
|
|
288
|
+
|
|
289
|
+
$component-text: () !default;
|
|
290
|
+
|
|
291
|
+
$component-icon: () !default;
|
|
292
|
+
$component-icon: map-deep-merge(
|
|
293
|
+
(
|
|
294
|
+
align-items: center,
|
|
295
|
+
display: inline-flex,
|
|
296
|
+
height: 32px,
|
|
297
|
+
justify-content: center,
|
|
298
|
+
width: 32px,
|
|
299
|
+
lexicon-icon: (
|
|
300
|
+
margin-top: 0,
|
|
301
|
+
),
|
|
302
|
+
),
|
|
303
|
+
$component-icon
|
|
304
|
+
);
|
|
@@ -154,10 +154,52 @@ $nav-item: map-deep-merge(
|
|
|
154
154
|
|
|
155
155
|
// .nav-divider
|
|
156
156
|
|
|
157
|
-
$nav-divider-color: $gray-
|
|
157
|
+
$nav-divider-color: $gray-600 !default;
|
|
158
158
|
$nav-divider-margin-y: $spacer * 0.5 !default;
|
|
159
159
|
|
|
160
160
|
$nav-divider: () !default;
|
|
161
|
+
$nav-divider: map-deep-merge(
|
|
162
|
+
(
|
|
163
|
+
margin-left: 0.5rem,
|
|
164
|
+
padding-left: 0.5rem,
|
|
165
|
+
position: relative,
|
|
166
|
+
before: (
|
|
167
|
+
background-color: $nav-divider-color,
|
|
168
|
+
content: '',
|
|
169
|
+
display: block,
|
|
170
|
+
height: 1rem,
|
|
171
|
+
left: 0,
|
|
172
|
+
margin-top: -0.5rem,
|
|
173
|
+
position: absolute,
|
|
174
|
+
top: 50%,
|
|
175
|
+
width: 1px,
|
|
176
|
+
z-index: 2,
|
|
177
|
+
),
|
|
178
|
+
),
|
|
179
|
+
$nav-divider
|
|
180
|
+
);
|
|
181
|
+
|
|
182
|
+
$nav-divider-end: () !default;
|
|
183
|
+
$nav-divider-end: map-deep-merge(
|
|
184
|
+
(
|
|
185
|
+
margin-right: 0.5rem,
|
|
186
|
+
padding-right: 0.5rem,
|
|
187
|
+
position: relative,
|
|
188
|
+
after: (
|
|
189
|
+
background-color: $nav-divider-color,
|
|
190
|
+
content: '',
|
|
191
|
+
display: block,
|
|
192
|
+
height: 1rem,
|
|
193
|
+
margin-top: -0.5rem,
|
|
194
|
+
position: absolute,
|
|
195
|
+
right: 0,
|
|
196
|
+
top: 50%,
|
|
197
|
+
width: 1px,
|
|
198
|
+
z-index: 2,
|
|
199
|
+
),
|
|
200
|
+
),
|
|
201
|
+
$nav-divider-end
|
|
202
|
+
);
|
|
161
203
|
|
|
162
204
|
// .nav-text-truncate
|
|
163
205
|
|
|
@@ -0,0 +1,222 @@
|
|
|
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: 0,
|
|
9
|
+
padding: 2px 0,
|
|
10
|
+
btn-monospaced: (
|
|
11
|
+
font-size: 14px,
|
|
12
|
+
height: 24px,
|
|
13
|
+
width: 24px,
|
|
14
|
+
focus: (
|
|
15
|
+
box-shadow: $component-focus-inset-box-shadow,
|
|
16
|
+
),
|
|
17
|
+
),
|
|
18
|
+
custom-control: (
|
|
19
|
+
margin-left: 4px,
|
|
20
|
+
margin-right: 4px,
|
|
21
|
+
margin-top: 1.5px,
|
|
22
|
+
),
|
|
23
|
+
treeview-dragging: (
|
|
24
|
+
background-color: $white,
|
|
25
|
+
border-color: $primary-l1,
|
|
26
|
+
border-radius: $border-radius-sm,
|
|
27
|
+
border-style: solid,
|
|
28
|
+
border-width: 1px,
|
|
29
|
+
display: inline-block,
|
|
30
|
+
font-size: 10px,
|
|
31
|
+
font-weight: $font-weight-semi-bold,
|
|
32
|
+
padding: 4px 12px,
|
|
33
|
+
text-transform: uppercase,
|
|
34
|
+
),
|
|
35
|
+
treeview-group: (
|
|
36
|
+
display: flex,
|
|
37
|
+
flex-direction: column,
|
|
38
|
+
list-style: none,
|
|
39
|
+
margin-bottom: 0,
|
|
40
|
+
padding-left: 0,
|
|
41
|
+
),
|
|
42
|
+
treeview-item: (
|
|
43
|
+
word-wrap: break-word,
|
|
44
|
+
),
|
|
45
|
+
treeview-item-dragging: (
|
|
46
|
+
cursor: $disabled-cursor,
|
|
47
|
+
opacity: 0.4,
|
|
48
|
+
treeview-link: (
|
|
49
|
+
background-color: transparent,
|
|
50
|
+
border-color: transparent,
|
|
51
|
+
box-shadow: none,
|
|
52
|
+
),
|
|
53
|
+
),
|
|
54
|
+
treeview-link: (
|
|
55
|
+
cursor: pointer,
|
|
56
|
+
display: block,
|
|
57
|
+
border-color: transparent,
|
|
58
|
+
border-style: solid,
|
|
59
|
+
border-width: 1px,
|
|
60
|
+
margin-bottom: 2px,
|
|
61
|
+
margin-top: 2px,
|
|
62
|
+
min-width: 100%,
|
|
63
|
+
padding: 0,
|
|
64
|
+
position: relative,
|
|
65
|
+
user-select: none,
|
|
66
|
+
treeview-dropping-bottom: (
|
|
67
|
+
box-shadow: 0 2px 0 0 $primary-l1,
|
|
68
|
+
),
|
|
69
|
+
treeview-dropping-middle: (
|
|
70
|
+
background-color: $primary-l3,
|
|
71
|
+
border-color: $primary-l1,
|
|
72
|
+
),
|
|
73
|
+
treeview-dropping-top: (
|
|
74
|
+
box-shadow: 0 -2px 0 0 $primary-l1,
|
|
75
|
+
),
|
|
76
|
+
hover: (
|
|
77
|
+
text-decoration: none,
|
|
78
|
+
),
|
|
79
|
+
focus: (
|
|
80
|
+
box-shadow: $component-focus-inset-box-shadow,
|
|
81
|
+
outline: 0,
|
|
82
|
+
),
|
|
83
|
+
),
|
|
84
|
+
component-action: (
|
|
85
|
+
display: none,
|
|
86
|
+
margin-left: 2px,
|
|
87
|
+
margin-right: 2px,
|
|
88
|
+
hover: (
|
|
89
|
+
background-color: transparent,
|
|
90
|
+
color: $secondary,
|
|
91
|
+
),
|
|
92
|
+
focus: (
|
|
93
|
+
color: $secondary,
|
|
94
|
+
),
|
|
95
|
+
active: (
|
|
96
|
+
background-color: transparent,
|
|
97
|
+
),
|
|
98
|
+
),
|
|
99
|
+
component-icon: (
|
|
100
|
+
display: inline,
|
|
101
|
+
height: auto,
|
|
102
|
+
margin-left: 4px,
|
|
103
|
+
margin-right: 4px,
|
|
104
|
+
width: auto,
|
|
105
|
+
),
|
|
106
|
+
component-text: (
|
|
107
|
+
padding-bottom: 1.5px,
|
|
108
|
+
padding-left: 4px,
|
|
109
|
+
padding-top: 1.5px,
|
|
110
|
+
user-select: auto,
|
|
111
|
+
),
|
|
112
|
+
),
|
|
113
|
+
$treeview
|
|
114
|
+
);
|
|
115
|
+
|
|
116
|
+
$treeview-nested-margins: () !default;
|
|
117
|
+
$treeview-nested-margins: map-deep-merge(
|
|
118
|
+
(
|
|
119
|
+
treeview-group: (
|
|
120
|
+
treeview-item: (
|
|
121
|
+
margin-left: 24px,
|
|
122
|
+
),
|
|
123
|
+
),
|
|
124
|
+
),
|
|
125
|
+
$treeview-nested-margins
|
|
126
|
+
);
|
|
127
|
+
|
|
128
|
+
$treeview-show-component-expander-on-hover: () !default;
|
|
129
|
+
$treeview-show-component-expander-on-hover: map-deep-merge(
|
|
130
|
+
(
|
|
131
|
+
hover: (
|
|
132
|
+
component-expander: (
|
|
133
|
+
opacity: 1,
|
|
134
|
+
transition: opacity ease-in-out 600ms,
|
|
135
|
+
),
|
|
136
|
+
),
|
|
137
|
+
component-expander: (
|
|
138
|
+
opacity: 0,
|
|
139
|
+
transition: opacity ease-in-out 450ms,
|
|
140
|
+
),
|
|
141
|
+
treeview-link: (
|
|
142
|
+
focus: (
|
|
143
|
+
component-expander: (
|
|
144
|
+
opacity: 1,
|
|
145
|
+
transition: none,
|
|
146
|
+
),
|
|
147
|
+
),
|
|
148
|
+
),
|
|
149
|
+
),
|
|
150
|
+
$treeview-show-component-expander-on-hover
|
|
151
|
+
);
|
|
152
|
+
|
|
153
|
+
// Variants
|
|
154
|
+
|
|
155
|
+
$treeview-light: () !default;
|
|
156
|
+
$treeview-light: map-deep-merge(
|
|
157
|
+
(
|
|
158
|
+
component-expander: (
|
|
159
|
+
color: $secondary,
|
|
160
|
+
hover: (
|
|
161
|
+
color: $primary,
|
|
162
|
+
),
|
|
163
|
+
btn-secondary: (
|
|
164
|
+
background-color: $white,
|
|
165
|
+
),
|
|
166
|
+
),
|
|
167
|
+
treeview-link: (
|
|
168
|
+
color: $gray-600,
|
|
169
|
+
hover: (
|
|
170
|
+
background-color: $gray-100,
|
|
171
|
+
color: $gray-900,
|
|
172
|
+
),
|
|
173
|
+
active: (
|
|
174
|
+
background-color: $gray-200,
|
|
175
|
+
color: $gray-900,
|
|
176
|
+
),
|
|
177
|
+
active-class: (
|
|
178
|
+
background-color: $gray-200,
|
|
179
|
+
color: $gray-900,
|
|
180
|
+
),
|
|
181
|
+
show: (
|
|
182
|
+
background-color: null,
|
|
183
|
+
color: null,
|
|
184
|
+
),
|
|
185
|
+
),
|
|
186
|
+
),
|
|
187
|
+
$treeview-light
|
|
188
|
+
);
|
|
189
|
+
|
|
190
|
+
$treeview-dark: () !default;
|
|
191
|
+
$treeview-dark: map-deep-merge(
|
|
192
|
+
(
|
|
193
|
+
component-expander: (
|
|
194
|
+
color: $secondary-l1,
|
|
195
|
+
hover: (
|
|
196
|
+
color: $primary-l1,
|
|
197
|
+
),
|
|
198
|
+
),
|
|
199
|
+
treeview-link: (
|
|
200
|
+
color: $secondary-l1,
|
|
201
|
+
hover: (
|
|
202
|
+
background-color: rgba($white, 0.04),
|
|
203
|
+
),
|
|
204
|
+
active-class: (
|
|
205
|
+
background-color: rgba($white, 0.06),
|
|
206
|
+
color: $white,
|
|
207
|
+
),
|
|
208
|
+
disabled: (
|
|
209
|
+
background-color: transparent,
|
|
210
|
+
color: rgba($secondary-l1, 0.04),
|
|
211
|
+
),
|
|
212
|
+
show: (
|
|
213
|
+
background-color: null,
|
|
214
|
+
color: null,
|
|
215
|
+
),
|
|
216
|
+
),
|
|
217
|
+
component-action: (
|
|
218
|
+
color: $secondary-l1,
|
|
219
|
+
),
|
|
220
|
+
),
|
|
221
|
+
$treeview-dark
|
|
222
|
+
);
|