@clayui/css 3.163.0 → 3.164.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 +540 -257
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +317 -114
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +3115 -2394
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/anonymize.svg +5 -6
- package/lib/images/icons/arrows-all.svg +16 -0
- package/lib/images/icons/box-squared.svg +10 -0
- package/lib/images/icons/chart-area.svg +10 -0
- package/lib/images/icons/chart-bar-stacked.svg +9 -0
- package/lib/images/icons/chart-bar-x-axis.svg +9 -0
- package/lib/images/icons/chart-bar-y-axis.svg +9 -0
- package/lib/images/icons/chart-bar.svg +9 -0
- package/lib/images/icons/chart-donut.svg +10 -0
- package/lib/images/icons/chart-line-down.svg +10 -0
- package/lib/images/icons/chart-line-up.svg +10 -0
- package/lib/images/icons/chart-line.svg +10 -0
- package/lib/images/icons/chart-pie-fill.svg +10 -0
- package/lib/images/icons/chart-pie.svg +9 -0
- package/lib/images/icons/icons.svg +1 -1
- package/lib/images/icons/plant.svg +9 -0
- package/lib/images/icons/user-cog.svg +9 -0
- package/package.json +1 -1
- package/src/images/icons/anonymize.svg +5 -6
- package/src/images/icons/arrows-all.svg +16 -0
- package/src/images/icons/box-squared.svg +10 -0
- package/src/images/icons/chart-area.svg +10 -0
- package/src/images/icons/chart-bar-stacked.svg +9 -0
- package/src/images/icons/chart-bar-x-axis.svg +9 -0
- package/src/images/icons/chart-bar-y-axis.svg +9 -0
- package/src/images/icons/chart-bar.svg +9 -0
- package/src/images/icons/chart-donut.svg +10 -0
- package/src/images/icons/chart-line-down.svg +10 -0
- package/src/images/icons/chart-line-up.svg +10 -0
- package/src/images/icons/chart-line.svg +10 -0
- package/src/images/icons/chart-pie-fill.svg +10 -0
- package/src/images/icons/chart-pie.svg +9 -0
- package/src/images/icons/icons.svg +1 -1
- package/src/images/icons/plant.svg +9 -0
- package/src/images/icons/user-cog.svg +9 -0
- package/src/scss/_components.scss +0 -1
- package/src/scss/_license-text.scss +1 -1
- package/src/scss/atlas/variables/_cards.scss +123 -24
- package/src/scss/atlas/variables/_custom-forms.scss +0 -5
- package/src/scss/atlas/variables/_globals.scss +2 -1
- package/src/scss/atlas/variables/_labels.scss +341 -42
- package/src/scss/atlas/variables/_tables.scss +2 -2
- package/src/scss/atlas-custom-properties/_variables.scss +2 -0
- package/src/scss/atlas-custom-properties/variables/_alerts.scss +3 -1
- package/src/scss/atlas-custom-properties/variables/_application-bar.scss +6 -3
- package/src/scss/atlas-custom-properties/variables/_badges.scss +0 -23
- package/src/scss/atlas-custom-properties/variables/_breadcrumbs.scss +4 -1
- package/src/scss/atlas-custom-properties/variables/_buttons.scss +1 -0
- package/src/scss/atlas-custom-properties/variables/_c-root.scss +413 -219
- package/src/scss/atlas-custom-properties/variables/_cards.scss +81 -51
- package/src/scss/atlas-custom-properties/variables/_clay-color.scss +2 -2
- package/src/scss/atlas-custom-properties/variables/_custom-forms.scss +53 -23
- package/src/scss/atlas-custom-properties/variables/_dropdowns.scss +9 -14
- package/src/scss/atlas-custom-properties/variables/_forms.scss +34 -8
- package/src/scss/atlas-custom-properties/variables/_globals.scss +5 -2
- package/src/scss/atlas-custom-properties/variables/_images.scss +3 -1
- package/src/scss/atlas-custom-properties/variables/_labels.scss +416 -37
- package/src/scss/atlas-custom-properties/variables/_modals.scss +4 -3
- package/src/scss/atlas-custom-properties/variables/_multi-step-nav.scss +2 -5
- package/src/scss/atlas-custom-properties/variables/_navigation-bar.scss +2 -2
- package/src/scss/atlas-custom-properties/variables/_panels.scss +2 -2
- package/src/scss/atlas-custom-properties/variables/_popovers.scss +1 -1
- package/src/scss/atlas-custom-properties/variables/_range.scss +1 -1
- package/src/scss/atlas-custom-properties/variables/_resizer.scss +13 -2
- package/src/scss/atlas-custom-properties/variables/_sheets.scss +1 -2
- package/src/scss/atlas-custom-properties/variables/_sidebar.scss +13 -5
- package/src/scss/atlas-custom-properties/variables/_stickers.scss +2 -2
- package/src/scss/atlas-custom-properties/variables/_tables.scss +17 -19
- package/src/scss/atlas-custom-properties/variables/_tbar.scss +12 -5
- package/src/scss/atlas-custom-properties/variables/_tooltip.scss +1 -1
- package/src/scss/cadmin/_variables.scss +2 -0
- package/src/scss/cadmin/components/_cards.scss +10 -62
- package/src/scss/cadmin/components/_focus-ring.scss +3 -1
- package/src/scss/cadmin/components/_icons.scss +97 -0
- package/src/scss/cadmin/components/_reboot.scss +6 -2
- package/src/scss/cadmin/components/_resizer.scss +10 -0
- package/src/scss/cadmin/components/_root.scss +41 -0
- package/src/scss/cadmin/variables/_alerts.scss +26 -24
- package/src/scss/cadmin/variables/_badges.scss +20 -10
- package/src/scss/cadmin/variables/_breadcrumbs.scss +3 -3
- package/src/scss/cadmin/variables/_buttons.scss +162 -129
- package/src/scss/cadmin/variables/_c-root.scss +426 -0
- package/src/scss/cadmin/variables/_cards.scss +153 -30
- package/src/scss/cadmin/variables/_clay-color.scss +18 -26
- package/src/scss/cadmin/variables/_custom-forms.scss +46 -25
- package/src/scss/cadmin/variables/_dropdowns.scss +14 -18
- package/src/scss/cadmin/variables/_forms.scss +31 -27
- package/src/scss/cadmin/variables/_globals.scss +200 -252
- package/src/scss/cadmin/variables/_images.scss +3 -1
- package/src/scss/cadmin/variables/_labels.scss +194 -32
- package/src/scss/cadmin/variables/_links.scss +21 -13
- package/src/scss/cadmin/variables/_list-group.scss +8 -6
- package/src/scss/cadmin/variables/_loaders.scss +2 -4
- package/src/scss/cadmin/variables/_management-bar.scss +12 -6
- package/src/scss/cadmin/variables/_menubar.scss +44 -27
- package/src/scss/cadmin/variables/_modals.scss +10 -4
- package/src/scss/cadmin/variables/_multi-step-nav.scss +7 -7
- package/src/scss/cadmin/variables/_navbar.scss +8 -5
- package/src/scss/cadmin/variables/_navigation-bar.scss +2 -2
- package/src/scss/cadmin/variables/_pagination.scss +6 -2
- package/src/scss/cadmin/variables/_popovers.scss +4 -2
- package/src/scss/cadmin/variables/_range.scss +2 -1
- package/src/scss/cadmin/variables/_resizer.scss +13 -2
- package/src/scss/cadmin/variables/_sidebar.scss +14 -6
- package/src/scss/cadmin/variables/_stickers.scss +1 -1
- package/src/scss/cadmin/variables/_tables.scss +22 -19
- package/src/scss/cadmin/variables/_tbar.scss +28 -14
- package/src/scss/cadmin/variables/_tooltip.scss +3 -1
- package/src/scss/cadmin/variables/_treeview.scss +2 -2
- package/src/scss/cadmin/variables/_utilities.scss +132 -196
- package/src/scss/cadmin.scss +2 -0
- package/src/scss/components/_focus-ring.scss +3 -1
- package/src/scss/components/_icons.scss +117 -6
- package/src/scss/components/_resizer.scss +8 -0
- package/src/scss/components/_root.scss +36 -3
- package/src/scss/functions/_lx-icons-generated.scss +31 -9
- package/src/scss/mixins/_cards.scss +19 -1
- package/src/scss/mixins/_labels.scss +9 -2
- package/src/scss/variables/_cards.scss +22 -1
- package/src/scss/variables/_custom-forms.scss +22 -11
- package/src/scss/variables/_dropdowns.scss +2 -0
- package/src/scss/variables/_globals.scss +1 -0
- package/src/scss/variables/_labels.scss +296 -8
- package/src/scss/variables/_resizer.scss +13 -2
- package/lib/images/icons/arrow-key-down.svg +0 -9
- package/lib/images/icons/arrow-key-left.svg +0 -9
- package/lib/images/icons/arrow-key-right.svg +0 -9
- package/lib/images/icons/arrow-key-up.svg +0 -9
- package/src/images/icons/arrow-key-down.svg +0 -9
- package/src/images/icons/arrow-key-left.svg +0 -9
- package/src/images/icons/arrow-key-right.svg +0 -9
- package/src/images/icons/arrow-key-up.svg +0 -9
- package/src/scss/components/_keyboard-arrows-indicator.scss +0 -82
|
@@ -1,22 +1,29 @@
|
|
|
1
1
|
$cadmin-card-bg: $cadmin-white !default;
|
|
2
|
-
$cadmin-card-border-color:
|
|
2
|
+
$cadmin-card-border-color: $cadmin-secondary-l2 !default;
|
|
3
|
+
$cadmin-card-border-radius: $cadmin-border-radius-xl !default;
|
|
3
4
|
$cadmin-card-border-style: solid !default;
|
|
4
|
-
$cadmin-card-border-width:
|
|
5
|
-
|
|
6
|
-
$cadmin-card-border-radius: $cadmin-border-radius !default;
|
|
7
|
-
$cadmin-card-inner-border-radius: calc(
|
|
8
|
-
#{$cadmin-card-border-radius} - #{$cadmin-card-border-width}
|
|
9
|
-
) !default;
|
|
10
|
-
|
|
11
|
-
$cadmin-card-box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.6) !default;
|
|
5
|
+
$cadmin-card-border-width: $cadmin-border-width !default;
|
|
6
|
+
$cadmin-card-box-shadow: null !default;
|
|
12
7
|
$cadmin-card-color: null !default;
|
|
13
8
|
$cadmin-card-height: null !default;
|
|
14
9
|
$cadmin-card-margin-bottom: 24px !default;
|
|
15
|
-
|
|
16
10
|
$cadmin-card-spacer-x: 20px !default;
|
|
17
11
|
$cadmin-card-spacer-y: 12px !default;
|
|
12
|
+
$cadmin-card-transition:
|
|
13
|
+
$cadmin-component-transition,
|
|
14
|
+
transform 0.15s ease-in-out !default;
|
|
15
|
+
|
|
16
|
+
$cadmin-card-hover-box-shadow: unquote(
|
|
17
|
+
'0 0.25rem 0.75rem -0.25rem rgb(from #{$cadmin-black} r g b / 0.25)'
|
|
18
|
+
) !default;
|
|
19
|
+
|
|
20
|
+
$cadmin-card-inner-border-radius: calc(
|
|
21
|
+
#{$cadmin-card-border-radius} - #{$cadmin-card-border-width}
|
|
22
|
+
) !default;
|
|
18
23
|
|
|
19
|
-
$cadmin-card-cap-bg:
|
|
24
|
+
$cadmin-card-cap-bg: unquote(
|
|
25
|
+
'hsl(from #{$cadmin-black} h s l / 0.03)'
|
|
26
|
+
) !default;
|
|
20
27
|
$cadmin-card-cap-color: null !default;
|
|
21
28
|
|
|
22
29
|
// .card-body
|
|
@@ -160,12 +167,15 @@ $card: map-deep-merge(
|
|
|
160
167
|
border-radius: clay-enable-rounded($cadmin-card-border-radius),
|
|
161
168
|
border-style: $cadmin-card-border-style,
|
|
162
169
|
border-width: $cadmin-card-border-width,
|
|
163
|
-
box-shadow: clay-enable-shadows($cadmin-card-box-shadow),
|
|
164
170
|
display: block,
|
|
165
171
|
height: $cadmin-card-height,
|
|
166
172
|
margin-bottom: $cadmin-card-margin-bottom,
|
|
167
173
|
min-width: 0px,
|
|
174
|
+
outline-color: transparent,
|
|
175
|
+
outline-style: solid,
|
|
176
|
+
outline-width: $cadmin-card-border-width,
|
|
168
177
|
position: relative,
|
|
178
|
+
transition: $cadmin-card-transition,
|
|
169
179
|
word-wrap: break-word,
|
|
170
180
|
|
|
171
181
|
aspect-ratio: (
|
|
@@ -194,6 +204,10 @@ $card: map-deep-merge(
|
|
|
194
204
|
margin-left: 0px,
|
|
195
205
|
margin-right: 0px,
|
|
196
206
|
),
|
|
207
|
+
|
|
208
|
+
hover: (
|
|
209
|
+
box-shadow: clay-enable-shadows($cadmin-card-hover-box-shadow),
|
|
210
|
+
),
|
|
197
211
|
),
|
|
198
212
|
$card
|
|
199
213
|
);
|
|
@@ -371,8 +385,98 @@ $cadmin-checkbox-right-card-padding: $cadmin-checkbox-left-card-padding !default
|
|
|
371
385
|
|
|
372
386
|
$cadmin-checkbox-position: 16px !default;
|
|
373
387
|
|
|
374
|
-
$cadmin-form-check-card-checked-box-shadow:
|
|
375
|
-
|
|
388
|
+
$cadmin-form-check-card-checked-box-shadow: null !default;
|
|
389
|
+
|
|
390
|
+
$cadmin-form-check-card: () !default;
|
|
391
|
+
$cadmin-form-check-card: map-deep-merge(
|
|
392
|
+
(
|
|
393
|
+
margin-bottom: $cadmin-card-margin-bottom,
|
|
394
|
+
margin-top: 0px,
|
|
395
|
+
padding-left: 0px,
|
|
396
|
+
transition: $cadmin-card-transition,
|
|
397
|
+
|
|
398
|
+
hover: (
|
|
399
|
+
card: (
|
|
400
|
+
border-color: $cadmin-primary-l1,
|
|
401
|
+
box-shadow: $cadmin-form-check-card-checked-box-shadow,
|
|
402
|
+
outline-color: $cadmin-primary-l1,
|
|
403
|
+
),
|
|
404
|
+
),
|
|
405
|
+
|
|
406
|
+
active: (
|
|
407
|
+
card: (
|
|
408
|
+
border-color: $cadmin-primary,
|
|
409
|
+
box-shadow: $cadmin-form-check-card-checked-box-shadow,
|
|
410
|
+
outline-color: $cadmin-primary,
|
|
411
|
+
),
|
|
412
|
+
),
|
|
413
|
+
|
|
414
|
+
checked: (
|
|
415
|
+
card: (
|
|
416
|
+
border-color: $cadmin-primary,
|
|
417
|
+
box-shadow: $cadmin-form-check-card-checked-box-shadow,
|
|
418
|
+
outline-color: $cadmin-primary,
|
|
419
|
+
),
|
|
420
|
+
),
|
|
421
|
+
|
|
422
|
+
disabled: (
|
|
423
|
+
transform: none,
|
|
424
|
+
|
|
425
|
+
card: (
|
|
426
|
+
box-shadow: none,
|
|
427
|
+
border-color: $cadmin-card-border-color,
|
|
428
|
+
outline-color: transparent,
|
|
429
|
+
),
|
|
430
|
+
),
|
|
431
|
+
|
|
432
|
+
card: (
|
|
433
|
+
margin-bottom: 0px,
|
|
434
|
+
),
|
|
435
|
+
|
|
436
|
+
form-check-input: (
|
|
437
|
+
margin-left: 0px,
|
|
438
|
+
margin-top: 0px,
|
|
439
|
+
opacity: 0,
|
|
440
|
+
position: absolute,
|
|
441
|
+
z-index: 1,
|
|
442
|
+
),
|
|
443
|
+
|
|
444
|
+
form-check-label: (
|
|
445
|
+
color: $cadmin-body-color,
|
|
446
|
+
display: inline,
|
|
447
|
+
font-weight: $cadmin-font-weight-normal,
|
|
448
|
+
padding-left: 0px,
|
|
449
|
+
position: static,
|
|
450
|
+
),
|
|
451
|
+
|
|
452
|
+
custom-control: (
|
|
453
|
+
display: inline,
|
|
454
|
+
margin-right: 0px,
|
|
455
|
+
position: static,
|
|
456
|
+
|
|
457
|
+
label: (
|
|
458
|
+
font-weight: $cadmin-font-weight-normal,
|
|
459
|
+
padding-left: 0px,
|
|
460
|
+
),
|
|
461
|
+
|
|
462
|
+
custom-control-label: (
|
|
463
|
+
position: absolute,
|
|
464
|
+
z-index: 1,
|
|
465
|
+
),
|
|
466
|
+
|
|
467
|
+
custom-control-input: (
|
|
468
|
+
z-index: 2,
|
|
469
|
+
|
|
470
|
+
checked: (
|
|
471
|
+
card: (
|
|
472
|
+
box-shadow: $cadmin-form-check-card-checked-box-shadow,
|
|
473
|
+
),
|
|
474
|
+
),
|
|
475
|
+
),
|
|
476
|
+
),
|
|
477
|
+
),
|
|
478
|
+
$cadmin-form-check-card
|
|
479
|
+
);
|
|
376
480
|
|
|
377
481
|
// Card Interactive
|
|
378
482
|
|
|
@@ -416,21 +520,24 @@ $cadmin-card-interactive: () !default;
|
|
|
416
520
|
$cadmin-card-interactive: map-deep-merge(
|
|
417
521
|
(
|
|
418
522
|
cursor: $cadmin-link-cursor,
|
|
419
|
-
|
|
420
|
-
transition: $cadmin-component-transition,
|
|
523
|
+
transition: $cadmin-card-transition,
|
|
421
524
|
|
|
422
525
|
hover: (
|
|
423
|
-
background-color:
|
|
526
|
+
background-color: $cadmin-gray-100,
|
|
424
527
|
text-decoration: none,
|
|
425
528
|
),
|
|
426
529
|
|
|
427
530
|
focus: (
|
|
428
|
-
|
|
429
|
-
|
|
531
|
+
border-color: $cadmin-primary-l1,
|
|
532
|
+
box-shadow: none,
|
|
533
|
+
outline-color: $cadmin-primary-l1,
|
|
534
|
+
outline-offset: 0,
|
|
535
|
+
outline-style: solid,
|
|
536
|
+
outline-width: $cadmin-card-border-width,
|
|
430
537
|
),
|
|
431
538
|
|
|
432
539
|
active: (
|
|
433
|
-
background-color:
|
|
540
|
+
background-color: $cadmin-gray-200,
|
|
434
541
|
),
|
|
435
542
|
|
|
436
543
|
after-highlight: $cadmin-card-interactive-after-highlight,
|
|
@@ -442,6 +549,10 @@ $cadmin-card-interactive: map-deep-merge(
|
|
|
442
549
|
|
|
443
550
|
// Card Interactive Primary
|
|
444
551
|
|
|
552
|
+
$cadmin-card-interactive-primary-hover-box-shadow: unquote(
|
|
553
|
+
'#{$cadmin-card-hover-box-shadow}, 0px -2.5rem 0px -2.25rem #{$cadmin-primary} inset'
|
|
554
|
+
) !default;
|
|
555
|
+
|
|
445
556
|
$cadmin-card-interactive-primary-after-highlight: () !default;
|
|
446
557
|
$cadmin-card-interactive-primary-after-highlight: map-deep-merge(
|
|
447
558
|
(
|
|
@@ -463,15 +574,19 @@ $cadmin-card-interactive-primary-after-highlight: map-deep-merge(
|
|
|
463
574
|
$cadmin-card-interactive-primary: () !default;
|
|
464
575
|
$cadmin-card-interactive-primary: map-deep-merge(
|
|
465
576
|
(
|
|
577
|
+
hover: (
|
|
578
|
+
box-shadow: $cadmin-card-interactive-primary-hover-box-shadow,
|
|
579
|
+
),
|
|
580
|
+
|
|
466
581
|
focus: (
|
|
467
|
-
|
|
582
|
+
box-shadow: $cadmin-card-interactive-primary-hover-box-shadow,
|
|
468
583
|
),
|
|
469
584
|
|
|
470
585
|
active: (
|
|
471
|
-
|
|
586
|
+
box-shadow: $cadmin-card-interactive-primary-hover-box-shadow,
|
|
472
587
|
),
|
|
473
588
|
|
|
474
|
-
after-highlight:
|
|
589
|
+
after-highlight: null,
|
|
475
590
|
),
|
|
476
591
|
$cadmin-card-interactive-primary
|
|
477
592
|
);
|
|
@@ -485,14 +600,8 @@ $cadmin-card-interactive-secondary: map-deep-merge(
|
|
|
485
600
|
|
|
486
601
|
hover: (
|
|
487
602
|
background-color: $cadmin-white,
|
|
488
|
-
border-color: transparent,
|
|
489
|
-
box-shadow: 0 0 0 2px #719aff,
|
|
490
603
|
color: $cadmin-gray-900,
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
focus: (
|
|
494
|
-
border-color: transparent,
|
|
495
|
-
box-shadow: 0 0 0 2px #719aff,
|
|
604
|
+
transform: translateY(-0.25rem),
|
|
496
605
|
),
|
|
497
606
|
|
|
498
607
|
active: (
|
|
@@ -507,6 +616,12 @@ $cadmin-card-interactive-secondary: map-deep-merge(
|
|
|
507
616
|
$cadmin-card-type-asset: () !default;
|
|
508
617
|
$cadmin-card-type-asset: map-deep-merge(
|
|
509
618
|
(
|
|
619
|
+
transition: $cadmin-card-transition,
|
|
620
|
+
|
|
621
|
+
hover: (
|
|
622
|
+
transform: translateY(-0.25rem),
|
|
623
|
+
),
|
|
624
|
+
|
|
510
625
|
aspect-ratio: (
|
|
511
626
|
border-color: $cadmin-gray-300,
|
|
512
627
|
border-style: solid,
|
|
@@ -559,6 +674,10 @@ $cadmin-card-type-asset: map-deep-merge(
|
|
|
559
674
|
align-items: flex-start,
|
|
560
675
|
),
|
|
561
676
|
|
|
677
|
+
disabled: (
|
|
678
|
+
transform: none,
|
|
679
|
+
),
|
|
680
|
+
|
|
562
681
|
dropdown-action: (
|
|
563
682
|
margin-right: -8px,
|
|
564
683
|
margin-top: -3px,
|
|
@@ -811,6 +930,10 @@ $cadmin-template-card: () !default;
|
|
|
811
930
|
$cadmin-template-card: map-deep-merge(
|
|
812
931
|
(
|
|
813
932
|
card-body: $cadmin-template-card-body,
|
|
933
|
+
|
|
934
|
+
hover: (
|
|
935
|
+
transform: translateY(-0.25rem),
|
|
936
|
+
),
|
|
814
937
|
),
|
|
815
938
|
$cadmin-template-card
|
|
816
939
|
);
|
|
@@ -96,15 +96,18 @@ $cadmin-clay-color-dropdown-menu-close: map-deep-merge(
|
|
|
96
96
|
opacity: 1,
|
|
97
97
|
|
|
98
98
|
hover: (
|
|
99
|
-
background-color:
|
|
99
|
+
background-color:
|
|
100
|
+
unquote('hsl(from #{$cadmin-gray-900} h s l / 0.03)'),
|
|
100
101
|
),
|
|
101
102
|
|
|
102
103
|
focus: (
|
|
103
|
-
background-color:
|
|
104
|
+
background-color:
|
|
105
|
+
unquote('hsl(from #{$cadmin-gray-900} h s l / 0.03)'),
|
|
104
106
|
),
|
|
105
107
|
|
|
106
108
|
active: (
|
|
107
|
-
background-color:
|
|
109
|
+
background-color:
|
|
110
|
+
unquote('hsl(from #{$cadmin-gray-900} h s l / 0.06)'),
|
|
108
111
|
),
|
|
109
112
|
|
|
110
113
|
disabled: (
|
|
@@ -265,8 +268,10 @@ $cadmin-clay-color-map: map-merge(
|
|
|
265
268
|
$cadmin-clay-color-map-hsb: () !default;
|
|
266
269
|
$cadmin-clay-color-map-hsb: map-merge(
|
|
267
270
|
(
|
|
268
|
-
background-image:
|
|
269
|
-
|
|
271
|
+
background-image:
|
|
272
|
+
unquote(
|
|
273
|
+
'linear-gradient(to top, #000, rgba(0, 0, 0, 0)), linear-gradient(to right, #fff, rgba(255, 255, 255, 0))'
|
|
274
|
+
),
|
|
270
275
|
),
|
|
271
276
|
$cadmin-clay-color-map-hsb
|
|
272
277
|
);
|
|
@@ -434,8 +439,10 @@ $cadmin-clay-color-slider: map-deep-merge(
|
|
|
434
439
|
|
|
435
440
|
focus: (
|
|
436
441
|
clay-range-thumb: (
|
|
437
|
-
box-shadow:
|
|
438
|
-
|
|
442
|
+
box-shadow:
|
|
443
|
+
unquote(
|
|
444
|
+
'0 0 0 2px #{$cadmin-white}, 0 0 0 4px #{$cadmin-primary-l1}'
|
|
445
|
+
),
|
|
439
446
|
),
|
|
440
447
|
),
|
|
441
448
|
),
|
|
@@ -475,26 +482,11 @@ $cadmin-clay-color-slider-alpha: map-deep-merge(
|
|
|
475
482
|
|
|
476
483
|
clay-range-track: (
|
|
477
484
|
background-color: $cadmin-white,
|
|
478
|
-
background-image:
|
|
479
|
-
|
|
480
|
-
#e7e7ed 25%,
|
|
481
|
-
transparent 25%
|
|
485
|
+
background-image:
|
|
486
|
+
unquote(
|
|
487
|
+
'linear-gradient(45deg, #e7e7ed 25%, transparent 25%), linear-gradient(-45deg, #e7e7ed 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e7e7ed 75%), linear-gradient(-45deg, transparent 75%, #e7e7ed 75%)'
|
|
482
488
|
),
|
|
483
|
-
|
|
484
|
-
-45deg,
|
|
485
|
-
#e7e7ed 25%,
|
|
486
|
-
transparent 25%,
|
|
487
|
-
),
|
|
488
|
-
linear-gradient(
|
|
489
|
-
45deg,
|
|
490
|
-
transparent 75%,
|
|
491
|
-
#e7e7ed 75%,
|
|
492
|
-
),
|
|
493
|
-
linear-gradient(-45deg, transparent 75%, #e7e7ed 75%)},
|
|
494
|
-
background-position: #{0 0,
|
|
495
|
-
0 4px,
|
|
496
|
-
4px -4px,
|
|
497
|
-
-4px 0px},
|
|
489
|
+
background-position: unquote('0 0, 0 4px, 4px -4px, -4px 0px'),
|
|
498
490
|
background-size: 8px 8px,
|
|
499
491
|
),
|
|
500
492
|
|
|
@@ -67,9 +67,8 @@ $cadmin-custom-control-indicator-checked-active-border-color: $cadmin-custom-con
|
|
|
67
67
|
|
|
68
68
|
// @deprecated as of v2.2.1 use `$cadmin-custom-control-indicator-checked-disabled-bg` instead
|
|
69
69
|
|
|
70
|
-
$cadmin-custom-control-indicator-disabled-checked-bg:
|
|
71
|
-
$cadmin-component-active-bg
|
|
72
|
-
32.94
|
|
70
|
+
$cadmin-custom-control-indicator-disabled-checked-bg: unquote(
|
|
71
|
+
'hsl(from #{$cadmin-component-active-bg} h s calc(l + 32.94))'
|
|
73
72
|
) !default;
|
|
74
73
|
|
|
75
74
|
$cadmin-custom-control-indicator-checked-disabled-bg: $cadmin-custom-control-indicator-disabled-checked-bg !default;
|
|
@@ -80,6 +79,15 @@ $cadmin-custom-control-indicator-disabled-checked-border-color: $cadmin-custom-c
|
|
|
80
79
|
|
|
81
80
|
$cadmin-custom-control-indicator-checked-disabled-border-color: $cadmin-custom-control-indicator-disabled-checked-border-color !default;
|
|
82
81
|
|
|
82
|
+
// .custom-control-input
|
|
83
|
+
|
|
84
|
+
$cadmin-custom-control-input-size: 24px !default;
|
|
85
|
+
$cadmin-custom-control-input-offset: calc(
|
|
86
|
+
(
|
|
87
|
+
#{$cadmin-custom-control-input-size} - #{$cadmin-custom-control-indicator-size}
|
|
88
|
+
) / -2
|
|
89
|
+
) !default;
|
|
90
|
+
|
|
83
91
|
// Custom Control
|
|
84
92
|
|
|
85
93
|
$cadmin-custom-control-cursor: null !default;
|
|
@@ -135,12 +143,13 @@ $cadmin-custom-control-label: map-deep-merge(
|
|
|
135
143
|
(
|
|
136
144
|
color: $cadmin-custom-control-label-color,
|
|
137
145
|
cursor: $cadmin-custom-control-description-cursor,
|
|
146
|
+
display: inline-block,
|
|
138
147
|
font-size: $cadmin-custom-control-description-font-size,
|
|
139
148
|
font-weight: $cadmin-custom-control-description-font-weight,
|
|
140
149
|
line-height: $cadmin-custom-control-description-line-height,
|
|
141
150
|
margin-bottom: 0px,
|
|
151
|
+
max-width: 100%,
|
|
142
152
|
position: static,
|
|
143
|
-
vertical-align: top,
|
|
144
153
|
|
|
145
154
|
before: (
|
|
146
155
|
background-color: $cadmin-custom-control-indicator-bg,
|
|
@@ -156,22 +165,25 @@ $cadmin-custom-control-label: map-deep-merge(
|
|
|
156
165
|
height: $cadmin-custom-control-indicator-size,
|
|
157
166
|
left: 0px,
|
|
158
167
|
position: relative,
|
|
159
|
-
top:
|
|
168
|
+
top: $cadmin-custom-control-indicator-position-top,
|
|
160
169
|
transition: clay-enable-transitions($cadmin-custom-forms-transition),
|
|
161
170
|
width: $cadmin-custom-control-indicator-size,
|
|
162
171
|
z-index: 0,
|
|
163
172
|
),
|
|
164
173
|
|
|
165
174
|
after: (
|
|
166
|
-
background:
|
|
175
|
+
background:
|
|
176
|
+
unquote(
|
|
177
|
+
'no-repeat 50% / #{$cadmin-custom-control-indicator-bg-size}'
|
|
178
|
+
),
|
|
167
179
|
border-radius: $cadmin-rounded-circle-border-radius,
|
|
168
180
|
content: '',
|
|
169
181
|
display: block,
|
|
170
|
-
height:
|
|
171
|
-
left: -
|
|
182
|
+
height: $cadmin-custom-control-input-size,
|
|
183
|
+
left: $cadmin-custom-control-input-offset,
|
|
172
184
|
position: absolute,
|
|
173
|
-
top: $cadmin-custom-control-
|
|
174
|
-
width:
|
|
185
|
+
top: $cadmin-custom-control-input-offset,
|
|
186
|
+
width: $cadmin-custom-control-input-size,
|
|
175
187
|
z-index: 0,
|
|
176
188
|
),
|
|
177
189
|
),
|
|
@@ -211,6 +223,8 @@ $cadmin-custom-control-label-text: () !default;
|
|
|
211
223
|
$cadmin-custom-control-label-text: map-deep-merge(
|
|
212
224
|
(
|
|
213
225
|
padding-left: $cadmin-custom-control-description-padding-left,
|
|
226
|
+
position: relative,
|
|
227
|
+
top: -4px,
|
|
214
228
|
),
|
|
215
229
|
$cadmin-custom-control-label-text
|
|
216
230
|
);
|
|
@@ -258,12 +272,12 @@ $cadmin-custom-control-input: () !default;
|
|
|
258
272
|
$cadmin-custom-control-input: map-deep-merge(
|
|
259
273
|
(
|
|
260
274
|
cursor: $cadmin-form-check-input-cursor,
|
|
261
|
-
height:
|
|
262
|
-
left: -
|
|
275
|
+
height: $cadmin-custom-control-input-size,
|
|
276
|
+
left: $cadmin-custom-control-input-offset,
|
|
263
277
|
opacity: 0,
|
|
264
278
|
position: absolute,
|
|
265
|
-
top: $cadmin-custom-control-
|
|
266
|
-
width:
|
|
279
|
+
top: $cadmin-custom-control-input-offset,
|
|
280
|
+
width: $cadmin-custom-control-input-size,
|
|
267
281
|
z-index: 1,
|
|
268
282
|
|
|
269
283
|
focus: (
|
|
@@ -369,9 +383,9 @@ $cadmin-custom-control-primary-label-text: map-merge(
|
|
|
369
383
|
|
|
370
384
|
$cadmin-custom-checkbox-indicator-border-radius: 2px !default; // 2px
|
|
371
385
|
|
|
372
|
-
$cadmin-custom-checkbox-indicator-icon-checked:
|
|
373
|
-
|
|
374
|
-
|
|
386
|
+
$cadmin-custom-checkbox-indicator-icon-checked: var(
|
|
387
|
+
--cadmin-custom-checkbox-indicator-icon-checked,
|
|
388
|
+
clay-icon(check-small, #fff)
|
|
375
389
|
) !default;
|
|
376
390
|
$cadmin-custom-checkbox-indicator-icon-checked-bg-size: 16px !default;
|
|
377
391
|
|
|
@@ -383,9 +397,9 @@ $cadmin-custom-control-indicator-indeterminate-border-color: $cadmin-custom-cont
|
|
|
383
397
|
$cadmin-custom-checkbox-indicator-indeterminate-box-shadow: null !default;
|
|
384
398
|
$cadmin-custom-checkbox-indicator-indeterminate-color: $cadmin-custom-control-indicator-checked-color !default;
|
|
385
399
|
|
|
386
|
-
$cadmin-custom-checkbox-indicator-icon-indeterminate:
|
|
387
|
-
|
|
388
|
-
|
|
400
|
+
$cadmin-custom-checkbox-indicator-icon-indeterminate: var(
|
|
401
|
+
--cadmin-custom-checkbox-indicator-icon-indeterminate,
|
|
402
|
+
clay-icon(hr, #fff)
|
|
389
403
|
) !default;
|
|
390
404
|
$cadmin-custom-checkbox-indicator-icon-indeterminate-bg-size: 16px !default;
|
|
391
405
|
|
|
@@ -431,7 +445,10 @@ $cadmin-custom-checkbox: map-deep-merge(
|
|
|
431
445
|
|
|
432
446
|
after: (
|
|
433
447
|
background-image:
|
|
434
|
-
|
|
448
|
+
var(
|
|
449
|
+
--cadmin-custom-checkbox-indicator-icon-checked-readonly,
|
|
450
|
+
clay-icon(check-small, #6b6c7e),
|
|
451
|
+
),
|
|
435
452
|
),
|
|
436
453
|
),
|
|
437
454
|
|
|
@@ -490,7 +507,11 @@ $cadmin-custom-checkbox: map-deep-merge(
|
|
|
490
507
|
),
|
|
491
508
|
|
|
492
509
|
after: (
|
|
493
|
-
background-image:
|
|
510
|
+
background-image:
|
|
511
|
+
var(
|
|
512
|
+
--cadmin-custom-checkbox-indicator-icon-indeterminate-readonly,
|
|
513
|
+
clay-icon(hr, #6b6c7e),
|
|
514
|
+
),
|
|
494
515
|
),
|
|
495
516
|
),
|
|
496
517
|
|
|
@@ -516,9 +537,9 @@ $cadmin-custom-checkbox: map-deep-merge(
|
|
|
516
537
|
|
|
517
538
|
$cadmin-custom-radio-indicator-border-radius: 50% !default;
|
|
518
539
|
|
|
519
|
-
$cadmin-custom-radio-indicator-icon-checked:
|
|
520
|
-
|
|
521
|
-
|
|
540
|
+
$cadmin-custom-radio-indicator-icon-checked: var(
|
|
541
|
+
--cadmin-custom-radio-indicator-icon-checked,
|
|
542
|
+
clay-icon(circle, #fff)
|
|
522
543
|
) !default;
|
|
523
544
|
$cadmin-custom-radio-indicator-icon-checked-bg-size: 8px !default;
|
|
524
545
|
|
|
@@ -19,7 +19,9 @@ $cadmin-dropdown-border-radius: $cadmin-border-radius !default;
|
|
|
19
19
|
$cadmin-dropdown-inner-border-radius: $cadmin-dropdown-border-radius
|
|
20
20
|
calc(#{$cadmin-dropdown-border-width} * -1) !default;
|
|
21
21
|
|
|
22
|
-
$cadmin-dropdown-box-shadow:
|
|
22
|
+
$cadmin-dropdown-box-shadow: unquote(
|
|
23
|
+
'0 1px 5px -1px hsl(from #{$cadmin-black} h s l / 0.3)'
|
|
24
|
+
) !default;
|
|
23
25
|
$cadmin-dropdown-color: $cadmin-body-color !default;
|
|
24
26
|
$cadmin-dropdown-font-size: 14px !default; // 14px
|
|
25
27
|
$cadmin-dropdown-max-height: 500px !default;
|
|
@@ -85,10 +87,7 @@ $cadmin-dropdown-item-indicator-spacer-x: 12px !default;
|
|
|
85
87
|
$cadmin-dropdown-link-color: $cadmin-gray-600 !default;
|
|
86
88
|
$cadmin-dropdown-link-font-weight: $cadmin-font-weight-normal !default;
|
|
87
89
|
|
|
88
|
-
$cadmin-dropdown-link-hover-bg:
|
|
89
|
-
$cadmin-component-active-bg,
|
|
90
|
-
44.9
|
|
91
|
-
) !default;
|
|
90
|
+
$cadmin-dropdown-link-hover-bg: $cadmin-primary-l3 !default;
|
|
92
91
|
$cadmin-dropdown-link-hover-color: $cadmin-gray-900 !default;
|
|
93
92
|
|
|
94
93
|
$cadmin-dropdown-link-active-bg: $cadmin-dropdown-link-hover-bg !default;
|
|
@@ -285,7 +284,9 @@ $cadmin-dropdown-subheader-text-transform: uppercase !default;
|
|
|
285
284
|
$cadmin-dropdown-subheader: () !default;
|
|
286
285
|
$cadmin-dropdown-subheader: map-deep-merge(
|
|
287
286
|
(
|
|
287
|
+
align-items: center,
|
|
288
288
|
color: $cadmin-dropdown-subheader-color,
|
|
289
|
+
display: flex,
|
|
289
290
|
font-size: $cadmin-dropdown-subheader-font-size,
|
|
290
291
|
font-weight: $cadmin-dropdown-subheader-font-weight,
|
|
291
292
|
margin-bottom: $cadmin-dropdown-subheader-margin-bottom,
|
|
@@ -411,7 +412,8 @@ $cadmin-dropdown-section: map-deep-merge(
|
|
|
411
412
|
$cadmin-dropdown-footer: () !default;
|
|
412
413
|
$cadmin-dropdown-footer: map-merge(
|
|
413
414
|
(
|
|
414
|
-
box-shadow:
|
|
415
|
+
box-shadow:
|
|
416
|
+
unquote('-1px -2px 3px -3px hsl(from #{$cadmin-black} h s l / 0.5)'),
|
|
415
417
|
padding: 8px $cadmin-dropdown-item-padding-x 0px,
|
|
416
418
|
position: relative,
|
|
417
419
|
),
|
|
@@ -908,24 +910,18 @@ $cadmin-dropdown-menu-palette: map-deep-merge(
|
|
|
908
910
|
),
|
|
909
911
|
|
|
910
912
|
dropdown-item-scroll-up: (
|
|
911
|
-
background-image:
|
|
912
|
-
|
|
913
|
-
to bottom,
|
|
914
|
-
rgba(255, 255, 255, 1) 84%,
|
|
915
|
-
rgba(255, 255, 255, 0) 100%
|
|
913
|
+
background-image:
|
|
914
|
+
unquote(
|
|
915
|
+
'linear-gradient(to bottom, hsl(from #{$cadmin-white} h s l / 1) 84%, hsl(from #{$cadmin-white} h s l / 0) 100%)'
|
|
916
916
|
),
|
|
917
|
-
),
|
|
918
917
|
top: $cadmin-dropdown-padding-y,
|
|
919
918
|
),
|
|
920
919
|
|
|
921
920
|
dropdown-item-scroll-down: (
|
|
922
|
-
background-image:
|
|
923
|
-
|
|
924
|
-
to top,
|
|
925
|
-
rgba(255, 255, 255, 1) 84%,
|
|
926
|
-
rgba(255, 255, 255, 0) 100%
|
|
921
|
+
background-image:
|
|
922
|
+
unquote(
|
|
923
|
+
'linear-gradient(to top, hsl(from #{$cadmin-white} h s l / 1) 84%, hsl(from #{$cadmin-white} h s l / 0) 100%)'
|
|
927
924
|
),
|
|
928
|
-
),
|
|
929
925
|
bottom: $cadmin-dropdown-padding-y,
|
|
930
926
|
),
|
|
931
927
|
|