@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,26 +1,26 @@
|
|
|
1
1
|
$card-bg: var(--card-bg, $white) !default;
|
|
2
|
-
$card-border-color: var(
|
|
3
|
-
|
|
4
|
-
unquote('hsl(from #{$black} h s l / 0.125)')
|
|
5
|
-
) !default;
|
|
2
|
+
$card-border-color: var(--card-border-color, $secondary-l2) !default;
|
|
3
|
+
$card-border-radius: var(--card-border-radius, $border-radius-xl) !default;
|
|
6
4
|
$card-border-style: var(--card-border-style, solid) !default;
|
|
7
|
-
$card-border-width: var(--card-border-width,
|
|
8
|
-
|
|
9
|
-
$card-border-radius: var(--card-border-radius, $border-radius) !default;
|
|
10
|
-
$card-inner-border-radius: calc(
|
|
11
|
-
#{$card-border-radius} - #{$card-border-width}
|
|
12
|
-
) !default;
|
|
13
|
-
|
|
14
|
-
$card-box-shadow: var(
|
|
15
|
-
--card-box-shadow,
|
|
16
|
-
0 1px 3px -1px rgba(0, 0, 0, 0.6)
|
|
17
|
-
) !default;
|
|
5
|
+
$card-border-width: var(--card-border-width, 1px) !default;
|
|
6
|
+
$card-box-shadow: var(--card-box-shadow, none) !default;
|
|
18
7
|
$card-color: var(--card-color, inherit) !default;
|
|
19
8
|
$card-height: null !default;
|
|
20
9
|
$card-margin-bottom: var(--card-margin-bottom, 24px) !default;
|
|
21
|
-
|
|
22
10
|
$card-spacer-x: var(--card-spacer-x, 20px) !default;
|
|
23
11
|
$card-spacer-y: var(--card-spacer-y, 12px) !default;
|
|
12
|
+
$card-transition:
|
|
13
|
+
$component-transition,
|
|
14
|
+
transform 0.15s ease-in-out !default;
|
|
15
|
+
|
|
16
|
+
$card-hover-box-shadow: var(
|
|
17
|
+
--card-hover-box-shadow,
|
|
18
|
+
0 0.25rem 0.75rem -0.25rem unquote('hsl(from #{$black} h s l / 0.25)')
|
|
19
|
+
) !default;
|
|
20
|
+
|
|
21
|
+
$card-inner-border-radius: calc(
|
|
22
|
+
#{$card-border-radius} - #{$card-border-width}
|
|
23
|
+
) !default;
|
|
24
24
|
|
|
25
25
|
$card-cap-bg: unquote('hsl(from #{$black} h s l / 0.03)') !default;
|
|
26
26
|
$card-cap-color: null !default;
|
|
@@ -186,12 +186,15 @@ $card: map-deep-merge(
|
|
|
186
186
|
border-radius: clay-enable-rounded($card-border-radius),
|
|
187
187
|
border-style: $card-border-style,
|
|
188
188
|
border-width: $card-border-width,
|
|
189
|
-
box-shadow: clay-enable-shadows($card-box-shadow),
|
|
190
189
|
display: block,
|
|
191
190
|
height: $card-height,
|
|
192
191
|
margin-bottom: $card-margin-bottom,
|
|
193
192
|
min-width: 0,
|
|
193
|
+
outline-color: transparent,
|
|
194
|
+
outline-style: solid,
|
|
195
|
+
outline-width: $card-border-width,
|
|
194
196
|
position: relative,
|
|
197
|
+
transition: $card-transition,
|
|
195
198
|
word-wrap: break-word,
|
|
196
199
|
|
|
197
200
|
aspect-ratio: (
|
|
@@ -216,6 +219,10 @@ $card: map-deep-merge(
|
|
|
216
219
|
margin-left: 0,
|
|
217
220
|
margin-right: 0,
|
|
218
221
|
),
|
|
222
|
+
|
|
223
|
+
hover: (
|
|
224
|
+
box-shadow: clay-enable-shadows($card-hover-box-shadow),
|
|
225
|
+
),
|
|
219
226
|
),
|
|
220
227
|
$card
|
|
221
228
|
);
|
|
@@ -399,14 +406,9 @@ $checkbox-right-card-padding: var(
|
|
|
399
406
|
|
|
400
407
|
$checkbox-position: var(--checkbox-position, 16px) !default;
|
|
401
408
|
|
|
402
|
-
$form-check-card-checked-box-shadow: var(
|
|
403
|
-
--form-check-card-checked-box-shadow,
|
|
404
|
-
0 0 0 2px unquote('hsl(from #{$component-active-bg} h s calc(l + 22.94))')
|
|
405
|
-
) !default;
|
|
406
|
-
|
|
407
409
|
// .form-check-card
|
|
408
410
|
|
|
409
|
-
$form-check-card-checked-box-shadow:
|
|
411
|
+
$form-check-card-checked-box-shadow: c-unset !default;
|
|
410
412
|
|
|
411
413
|
$form-check-card: () !default;
|
|
412
414
|
$form-check-card: map-deep-merge(
|
|
@@ -417,19 +419,32 @@ $form-check-card: map-deep-merge(
|
|
|
417
419
|
|
|
418
420
|
hover: (
|
|
419
421
|
card: (
|
|
420
|
-
|
|
422
|
+
border-color: $primary-l1,
|
|
423
|
+
outline-color: $primary-l1,
|
|
421
424
|
),
|
|
422
425
|
),
|
|
423
426
|
|
|
424
427
|
active: (
|
|
425
428
|
card: (
|
|
426
|
-
|
|
429
|
+
border-color: $primary,
|
|
430
|
+
outline-color: $primary,
|
|
427
431
|
),
|
|
428
432
|
),
|
|
429
433
|
|
|
430
434
|
checked: (
|
|
431
435
|
card: (
|
|
432
|
-
|
|
436
|
+
border-color: $primary,
|
|
437
|
+
outline-color: $primary,
|
|
438
|
+
),
|
|
439
|
+
),
|
|
440
|
+
|
|
441
|
+
disabled: (
|
|
442
|
+
transform: none,
|
|
443
|
+
|
|
444
|
+
card: (
|
|
445
|
+
box-shadow: none,
|
|
446
|
+
border-color: $card-border-color,
|
|
447
|
+
outline-color: transparent,
|
|
433
448
|
),
|
|
434
449
|
),
|
|
435
450
|
|
|
@@ -471,12 +486,6 @@ $form-check-card: map-deep-merge(
|
|
|
471
486
|
|
|
472
487
|
custom-control-input: (
|
|
473
488
|
z-index: 2,
|
|
474
|
-
|
|
475
|
-
checked: (
|
|
476
|
-
card: (
|
|
477
|
-
box-shadow: $form-check-card-checked-box-shadow,
|
|
478
|
-
),
|
|
479
|
-
),
|
|
480
489
|
),
|
|
481
490
|
),
|
|
482
491
|
),
|
|
@@ -760,24 +769,28 @@ $card-interactive: () !default;
|
|
|
760
769
|
$card-interactive: map-deep-merge(
|
|
761
770
|
(
|
|
762
771
|
cursor: $link-cursor,
|
|
763
|
-
outline:
|
|
764
|
-
transition:
|
|
772
|
+
outline: c-unset,
|
|
773
|
+
transition: c-unset,
|
|
765
774
|
|
|
766
775
|
hover: (
|
|
767
|
-
background-color:
|
|
776
|
+
background-color: $gray-100,
|
|
768
777
|
text-decoration: none,
|
|
769
778
|
),
|
|
770
779
|
|
|
771
780
|
focus: (
|
|
772
|
-
|
|
773
|
-
|
|
781
|
+
border-color: $primary-l1,
|
|
782
|
+
box-shadow: none,
|
|
783
|
+
outline-color: $primary-l1,
|
|
784
|
+
outline-offset: 0,
|
|
785
|
+
outline-style: solid,
|
|
786
|
+
outline-width: $card-border-width,
|
|
774
787
|
),
|
|
775
788
|
|
|
776
789
|
active: (
|
|
777
|
-
background-color:
|
|
790
|
+
background-color: $gray-200,
|
|
778
791
|
),
|
|
779
792
|
|
|
780
|
-
after-highlight:
|
|
793
|
+
after-highlight: c-unset,
|
|
781
794
|
|
|
782
795
|
card-body: $card-interactive-card-body,
|
|
783
796
|
),
|
|
@@ -786,6 +799,10 @@ $card-interactive: map-deep-merge(
|
|
|
786
799
|
|
|
787
800
|
// Card Interactive Primary
|
|
788
801
|
|
|
802
|
+
$card-interactive-primary-hover-box-shadow: unquote(
|
|
803
|
+
'#{$card-hover-box-shadow}, 0px -2.5rem 0px -2.25rem #{$primary} inset'
|
|
804
|
+
) !default;
|
|
805
|
+
|
|
789
806
|
$card-interactive-primary-after-highlight: () !default;
|
|
790
807
|
$card-interactive-primary-after-highlight: map-deep-merge(
|
|
791
808
|
(
|
|
@@ -807,15 +824,18 @@ $card-interactive-primary-after-highlight: map-deep-merge(
|
|
|
807
824
|
$card-interactive-primary: () !default;
|
|
808
825
|
$card-interactive-primary: map-deep-merge(
|
|
809
826
|
(
|
|
827
|
+
hover: (
|
|
828
|
+
box-shadow: $card-interactive-primary-hover-box-shadow,
|
|
829
|
+
),
|
|
830
|
+
|
|
810
831
|
focus: (
|
|
811
|
-
|
|
832
|
+
box-shadow: $card-interactive-primary-hover-box-shadow,
|
|
812
833
|
),
|
|
813
834
|
|
|
814
835
|
active: (
|
|
815
|
-
|
|
836
|
+
box-shadow: $card-interactive-primary-hover-box-shadow,
|
|
816
837
|
),
|
|
817
|
-
|
|
818
|
-
after-highlight: $card-interactive-primary-after-highlight,
|
|
838
|
+
after-highlight: c-unset,
|
|
819
839
|
),
|
|
820
840
|
$card-interactive-primary
|
|
821
841
|
);
|
|
@@ -829,14 +849,10 @@ $card-interactive-secondary: map-deep-merge(
|
|
|
829
849
|
|
|
830
850
|
hover: (
|
|
831
851
|
background-color: $white,
|
|
832
|
-
border-color:
|
|
833
|
-
box-shadow:
|
|
852
|
+
border-color: c-unset,
|
|
853
|
+
box-shadow: c-unset,
|
|
834
854
|
color: $gray-900,
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
focus: (
|
|
838
|
-
border-color: transparent,
|
|
839
|
-
box-shadow: 0 0 0 2px #719aff,
|
|
855
|
+
transform: translateY(-0.25rem),
|
|
840
856
|
),
|
|
841
857
|
|
|
842
858
|
active: (
|
|
@@ -851,6 +867,12 @@ $card-interactive-secondary: map-deep-merge(
|
|
|
851
867
|
$card-type-asset: () !default;
|
|
852
868
|
$card-type-asset: map-deep-merge(
|
|
853
869
|
(
|
|
870
|
+
transition: $card-transition,
|
|
871
|
+
|
|
872
|
+
hover: (
|
|
873
|
+
transform: translateY(-0.25rem),
|
|
874
|
+
),
|
|
875
|
+
|
|
854
876
|
aspect-ratio: (
|
|
855
877
|
border-color: $gray-300,
|
|
856
878
|
border-style: solid,
|
|
@@ -903,6 +925,10 @@ $card-type-asset: map-deep-merge(
|
|
|
903
925
|
align-items: flex-start,
|
|
904
926
|
),
|
|
905
927
|
|
|
928
|
+
disabled: (
|
|
929
|
+
transform: none,
|
|
930
|
+
),
|
|
931
|
+
|
|
906
932
|
dropdown-action: (
|
|
907
933
|
margin-right: -8px,
|
|
908
934
|
margin-top: -3px,
|
|
@@ -942,7 +968,7 @@ $product-card: map-deep-merge(
|
|
|
942
968
|
(
|
|
943
969
|
aspect-ratio: (
|
|
944
970
|
background-color: $white,
|
|
945
|
-
background-image: linear-gradient(0deg,
|
|
971
|
+
background-image: linear-gradient(0deg, $gray-300, $gray-300),
|
|
946
972
|
),
|
|
947
973
|
|
|
948
974
|
card-body: (
|
|
@@ -1155,6 +1181,10 @@ $template-card: () !default;
|
|
|
1155
1181
|
$template-card: map-deep-merge(
|
|
1156
1182
|
(
|
|
1157
1183
|
card-body: $template-card-body,
|
|
1184
|
+
|
|
1185
|
+
hover: (
|
|
1186
|
+
transform: translateY(-0.25rem),
|
|
1187
|
+
),
|
|
1158
1188
|
),
|
|
1159
1189
|
$template-card
|
|
1160
1190
|
);
|
|
@@ -32,7 +32,7 @@ $custom-control-indicator-border-color: $gray-600 !default;
|
|
|
32
32
|
$custom-control-indicator-border-style: solid !default;
|
|
33
33
|
$custom-control-indicator-border-width: $border-width !default;
|
|
34
34
|
$custom-control-indicator-box-shadow: none !default;
|
|
35
|
-
$custom-control-indicator-position-top:
|
|
35
|
+
$custom-control-indicator-position-top: 0rem !default;
|
|
36
36
|
|
|
37
37
|
$custom-control-indicator-focus-border-color: $custom-control-indicator-border-color !default;
|
|
38
38
|
$custom-control-indicator-focus-box-shadow: $component-focus-box-shadow !default;
|
|
@@ -83,6 +83,13 @@ $custom-control-indicator-disabled-checked-border-color: $custom-control-indicat
|
|
|
83
83
|
|
|
84
84
|
$custom-control-indicator-checked-disabled-border-color: $custom-control-indicator-disabled-checked-border-color !default;
|
|
85
85
|
|
|
86
|
+
// .custom-control-input
|
|
87
|
+
|
|
88
|
+
$custom-control-input-size: 1.5rem !default;
|
|
89
|
+
$custom-control-input-offset: calc(
|
|
90
|
+
(#{$custom-control-input-size} - #{$custom-control-indicator-size}) / -2
|
|
91
|
+
) !default;
|
|
92
|
+
|
|
86
93
|
// .custom-control
|
|
87
94
|
|
|
88
95
|
$custom-control-cursor: null !default;
|
|
@@ -146,12 +153,13 @@ $custom-control-label: map-deep-merge(
|
|
|
146
153
|
(
|
|
147
154
|
color: $custom-control-label-color,
|
|
148
155
|
cursor: $custom-control-description-cursor,
|
|
156
|
+
display: inline-block,
|
|
149
157
|
font-size: $custom-control-description-font-size,
|
|
150
158
|
font-weight: $custom-control-description-font-weight,
|
|
151
159
|
line-height: $custom-control-description-line-height,
|
|
152
160
|
margin-bottom: 0rem,
|
|
161
|
+
max-width: 100%,
|
|
153
162
|
position: static,
|
|
154
|
-
vertical-align: top,
|
|
155
163
|
|
|
156
164
|
before: (
|
|
157
165
|
background-color: $custom-control-indicator-bg,
|
|
@@ -167,7 +175,7 @@ $custom-control-label: map-deep-merge(
|
|
|
167
175
|
height: $custom-control-indicator-size,
|
|
168
176
|
left: 0rem,
|
|
169
177
|
position: relative,
|
|
170
|
-
top:
|
|
178
|
+
top: $custom-control-indicator-position-top,
|
|
171
179
|
transition: clay-enable-transitions($custom-forms-transition),
|
|
172
180
|
width: $custom-control-indicator-size,
|
|
173
181
|
),
|
|
@@ -177,11 +185,11 @@ $custom-control-label: map-deep-merge(
|
|
|
177
185
|
border-radius: $rounded-circle-border-radius,
|
|
178
186
|
content: '',
|
|
179
187
|
display: block,
|
|
180
|
-
height:
|
|
181
|
-
left: -
|
|
188
|
+
height: $custom-control-input-size,
|
|
189
|
+
left: $custom-control-input-offset,
|
|
182
190
|
position: absolute,
|
|
183
|
-
top: $custom-control-
|
|
184
|
-
width:
|
|
191
|
+
top: $custom-control-input-offset,
|
|
192
|
+
width: $custom-control-input-size,
|
|
185
193
|
),
|
|
186
194
|
),
|
|
187
195
|
$custom-control-label
|
|
@@ -224,6 +232,8 @@ $custom-control-label-text: () !default;
|
|
|
224
232
|
$custom-control-label-text: map-deep-merge(
|
|
225
233
|
(
|
|
226
234
|
padding-left: $custom-control-description-padding-left,
|
|
235
|
+
position: relative,
|
|
236
|
+
top: -0.25rem,
|
|
227
237
|
),
|
|
228
238
|
$custom-control-label-text
|
|
229
239
|
);
|
|
@@ -270,12 +280,12 @@ $custom-control-input: () !default;
|
|
|
270
280
|
$custom-control-input: map-deep-merge(
|
|
271
281
|
(
|
|
272
282
|
cursor: $link-cursor,
|
|
273
|
-
height:
|
|
274
|
-
left: -
|
|
283
|
+
height: $custom-control-input-size,
|
|
284
|
+
left: $custom-control-input-offset,
|
|
275
285
|
opacity: 0,
|
|
276
286
|
position: absolute,
|
|
277
|
-
top: $custom-control-
|
|
278
|
-
width:
|
|
287
|
+
top: $custom-control-input-offset,
|
|
288
|
+
width: $custom-control-input-size,
|
|
279
289
|
z-index: 1,
|
|
280
290
|
|
|
281
291
|
focus: (
|
|
@@ -384,7 +394,10 @@ $custom-control-primary-label-text: map-deep-merge(
|
|
|
384
394
|
|
|
385
395
|
$custom-checkbox-indicator-border-radius: 0.125rem !default;
|
|
386
396
|
|
|
387
|
-
$custom-checkbox-indicator-icon-checked:
|
|
397
|
+
$custom-checkbox-indicator-icon-checked: var(
|
|
398
|
+
--custom-checkbox-indicator-icon-checked,
|
|
399
|
+
clay-icon(check-small, #fff)
|
|
400
|
+
) !default;
|
|
388
401
|
$custom-checkbox-indicator-icon-checked-bg-size: 1rem !default;
|
|
389
402
|
|
|
390
403
|
$custom-checkbox-indicator-indeterminate-bg: $component-active-bg !default;
|
|
@@ -395,7 +408,10 @@ $custom-control-indicator-indeterminate-border-color: $custom-control-indicator-
|
|
|
395
408
|
$custom-checkbox-indicator-indeterminate-box-shadow: none !default;
|
|
396
409
|
$custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default;
|
|
397
410
|
|
|
398
|
-
$custom-checkbox-indicator-icon-indeterminate:
|
|
411
|
+
$custom-checkbox-indicator-icon-indeterminate: var(
|
|
412
|
+
--custom-checkbox-indicator-icon-indeterminate,
|
|
413
|
+
clay-icon(hr, #fff)
|
|
414
|
+
) !default;
|
|
399
415
|
$custom-checkbox-indicator-icon-indeterminate-bg-size: 1rem !default;
|
|
400
416
|
|
|
401
417
|
$custom-checkbox: () !default;
|
|
@@ -441,7 +457,11 @@ $custom-checkbox: map-deep-merge(
|
|
|
441
457
|
),
|
|
442
458
|
|
|
443
459
|
after: (
|
|
444
|
-
background-image:
|
|
460
|
+
background-image:
|
|
461
|
+
var(
|
|
462
|
+
--custom-checkbox-indicator-icon-checked-readonly,
|
|
463
|
+
clay-icon(check-small, #cdced9)
|
|
464
|
+
),
|
|
445
465
|
),
|
|
446
466
|
),
|
|
447
467
|
|
|
@@ -497,7 +517,11 @@ $custom-checkbox: map-deep-merge(
|
|
|
497
517
|
),
|
|
498
518
|
|
|
499
519
|
after: (
|
|
500
|
-
background-image:
|
|
520
|
+
background-image:
|
|
521
|
+
var(
|
|
522
|
+
--custom-checkbox-indicator-icon-indeterminate-readonly,
|
|
523
|
+
clay-icon(hr, #cdced9)
|
|
524
|
+
),
|
|
501
525
|
),
|
|
502
526
|
),
|
|
503
527
|
|
|
@@ -523,7 +547,10 @@ $custom-checkbox: map-deep-merge(
|
|
|
523
547
|
|
|
524
548
|
$custom-radio-indicator-border-radius: 50% !default;
|
|
525
549
|
|
|
526
|
-
$custom-radio-indicator-icon-checked:
|
|
550
|
+
$custom-radio-indicator-icon-checked: var(
|
|
551
|
+
--custom-radio-indicator-icon-checked,
|
|
552
|
+
clay-icon(circle, #fff)
|
|
553
|
+
) !default;
|
|
527
554
|
$custom-radio-indicator-icon-checked-bg-size: 0.5rem !default;
|
|
528
555
|
|
|
529
556
|
$custom-radio-indicator-disabled-border-color: $custom-control-indicator-disabled-bg !default;
|
|
@@ -655,8 +682,9 @@ $custom-select-border-width: if(
|
|
|
655
682
|
|
|
656
683
|
// @deprecated as of v3.x with no replacement
|
|
657
684
|
|
|
658
|
-
$custom-select-box-shadow:
|
|
659
|
-
|
|
685
|
+
$custom-select-box-shadow: unquote(
|
|
686
|
+
'inset 0 1px 2px hsl(from #{$black} h s l / 0.075)'
|
|
687
|
+
) !default;
|
|
660
688
|
|
|
661
689
|
// @deprecated as of v3.x with no replacement
|
|
662
690
|
|
|
@@ -872,8 +900,9 @@ $custom-range-track-border-radius: 1rem !default;
|
|
|
872
900
|
|
|
873
901
|
// @deprecated as of v3.x with no replacement
|
|
874
902
|
|
|
875
|
-
$custom-range-track-box-shadow:
|
|
876
|
-
|
|
903
|
+
$custom-range-track-box-shadow: unquote(
|
|
904
|
+
'inset 0 0.25rem 0.25rem hsl(from #{$black} h s l / 0.1)'
|
|
905
|
+
) !default;
|
|
877
906
|
|
|
878
907
|
// @deprecated as of v3.x with no replacement
|
|
879
908
|
|
|
@@ -901,8 +930,9 @@ $custom-range-thumb-border-radius: 1rem !default;
|
|
|
901
930
|
|
|
902
931
|
// @deprecated as of v3.x with no replacement
|
|
903
932
|
|
|
904
|
-
$custom-range-thumb-box-shadow:
|
|
905
|
-
|
|
933
|
+
$custom-range-thumb-box-shadow: unquote(
|
|
934
|
+
'0 0.1rem 0.25rem hsl(from #{$black} h s l / 0.1)'
|
|
935
|
+
) !default;
|
|
906
936
|
|
|
907
937
|
// @deprecated as of v3.x with no replacement
|
|
908
938
|
|
|
@@ -975,7 +1005,7 @@ $custom-file-border-radius: if(
|
|
|
975
1005
|
$custom-file-box-shadow: if(
|
|
976
1006
|
variable-exists(input-box-shadow),
|
|
977
1007
|
$input-box-shadow,
|
|
978
|
-
inset 0 1px 1px
|
|
1008
|
+
unquote('inset 0 1px 1px hsl(from #{$black} h s l / 0.075)')
|
|
979
1009
|
) !default;
|
|
980
1010
|
|
|
981
1011
|
// @deprecated as of v3.x with no replacement
|
|
@@ -39,7 +39,7 @@ $dropdown-inner-border-radius: $dropdown-border-radius
|
|
|
39
39
|
|
|
40
40
|
$dropdown-box-shadow: var(
|
|
41
41
|
--dropdown-box-shadow,
|
|
42
|
-
0 1px 5px -1px
|
|
42
|
+
unquote('0 1px 5px -1px hsl(from #{$black} h s l / 0.3)')
|
|
43
43
|
) !default;
|
|
44
44
|
|
|
45
45
|
// @deprecated as of v3.x use map $dropdown-menu instead
|
|
@@ -613,7 +613,8 @@ $dropdown-section: map-deep-merge(
|
|
|
613
613
|
$dropdown-footer: () !default;
|
|
614
614
|
$dropdown-footer: map-merge(
|
|
615
615
|
(
|
|
616
|
-
box-shadow:
|
|
616
|
+
box-shadow:
|
|
617
|
+
unquote('-1px -2px 3px -3px hsl(from #{$black} h s l / 0.5)'),
|
|
617
618
|
padding: 0.5rem $dropdown-item-padding-x 0rem,
|
|
618
619
|
position: relative,
|
|
619
620
|
),
|
|
@@ -1177,24 +1178,18 @@ $dropdown-menu-palette: map-deep-merge(
|
|
|
1177
1178
|
),
|
|
1178
1179
|
|
|
1179
1180
|
dropdown-item-scroll-up: (
|
|
1180
|
-
background-image:
|
|
1181
|
-
|
|
1182
|
-
to bottom,
|
|
1183
|
-
rgba(255, 255, 255, 1) 84%,
|
|
1184
|
-
rgba(255, 255, 255, 0) 100%
|
|
1181
|
+
background-image:
|
|
1182
|
+
unquote(
|
|
1183
|
+
'linear-gradient(to bottom, hsl(from #{$white} h s l / 1) 84%, hsl(from #{$white} h s l / 0) 100%)'
|
|
1185
1184
|
),
|
|
1186
|
-
),
|
|
1187
1185
|
top: $dropdown-padding-y,
|
|
1188
1186
|
),
|
|
1189
1187
|
|
|
1190
1188
|
dropdown-item-scroll-down: (
|
|
1191
|
-
background-image:
|
|
1192
|
-
|
|
1193
|
-
to top,
|
|
1194
|
-
rgba(255, 255, 255, 1) 84%,
|
|
1195
|
-
rgba(255, 255, 255, 0) 100%
|
|
1189
|
+
background-image:
|
|
1190
|
+
unquote(
|
|
1191
|
+
'linear-gradient(to top, hsl(from #{$white} h s l / 1) 84%, hsl(from #{$white} h s l / 0) 100%)'
|
|
1196
1192
|
),
|
|
1197
|
-
),
|
|
1198
1193
|
bottom: $dropdown-padding-y,
|
|
1199
1194
|
),
|
|
1200
1195
|
|
|
@@ -955,7 +955,10 @@ $input-danger-label-color: null !default;
|
|
|
955
955
|
|
|
956
956
|
$input-danger-select-icon-color: $input-danger-border-color !default;
|
|
957
957
|
|
|
958
|
-
$input-danger-select-icon:
|
|
958
|
+
$input-danger-select-icon: var(
|
|
959
|
+
--input-danger-select-icon,
|
|
960
|
+
clay-icon(caret-double-l, #f48989)
|
|
961
|
+
) !default;
|
|
959
962
|
|
|
960
963
|
$input-danger-select: () !default;
|
|
961
964
|
$input-danger-select: map-deep-merge(
|
|
@@ -1143,7 +1146,10 @@ $input-warning-label-color: null !default;
|
|
|
1143
1146
|
|
|
1144
1147
|
$input-warning-select-icon-color: $input-warning-border-color !default;
|
|
1145
1148
|
|
|
1146
|
-
$input-warning-select-icon:
|
|
1149
|
+
$input-warning-select-icon: var(
|
|
1150
|
+
--input-warning-select-icon,
|
|
1151
|
+
clay-icon(caret-double-l, #ff8f39)
|
|
1152
|
+
) !default;
|
|
1147
1153
|
|
|
1148
1154
|
$input-warning-select: () !default;
|
|
1149
1155
|
$input-warning-select: map-deep-merge(
|
|
@@ -1331,7 +1337,10 @@ $input-success-label-color: null !default;
|
|
|
1331
1337
|
|
|
1332
1338
|
$input-success-select-icon-color: $input-success-border-color !default;
|
|
1333
1339
|
|
|
1334
|
-
$input-success-select-icon:
|
|
1340
|
+
$input-success-select-icon: var(
|
|
1341
|
+
--input-success-select-icon,
|
|
1342
|
+
clay-icon(caret-double-l, #5aca75)
|
|
1343
|
+
) !default;
|
|
1335
1344
|
|
|
1336
1345
|
$input-success-select: () !default;
|
|
1337
1346
|
$input-success-select: map-deep-merge(
|
|
@@ -1461,15 +1470,24 @@ $input-select-focus-bg: $input-focus-bg !default;
|
|
|
1461
1470
|
|
|
1462
1471
|
$input-select-icon-color: $gray-600 !default;
|
|
1463
1472
|
|
|
1464
|
-
$input-select-icon:
|
|
1473
|
+
$input-select-icon: var(
|
|
1474
|
+
--input-select-icon,
|
|
1475
|
+
clay-icon(caret-double-l, #6b6c7e)
|
|
1476
|
+
) !default;
|
|
1465
1477
|
|
|
1466
1478
|
$input-select-icon-focus-color: $input-select-icon-color !default;
|
|
1467
1479
|
|
|
1468
|
-
$input-select-icon-focus:
|
|
1480
|
+
$input-select-icon-focus: var(
|
|
1481
|
+
--input-select-icon-focus,
|
|
1482
|
+
clay-icon(caret-double-l, #6b6c7e)
|
|
1483
|
+
) !default;
|
|
1469
1484
|
|
|
1470
1485
|
$input-select-icon-disabled-color: $gray-500 !default;
|
|
1471
1486
|
|
|
1472
|
-
$input-select-icon-disabled:
|
|
1487
|
+
$input-select-icon-disabled: var(
|
|
1488
|
+
--input-select-icon-disabled,
|
|
1489
|
+
clay-icon(caret-double-l, #a7a9bc)
|
|
1490
|
+
) !default;
|
|
1473
1491
|
|
|
1474
1492
|
$input-select: () !default;
|
|
1475
1493
|
$input-select: map-deep-merge(
|
|
@@ -1561,7 +1579,11 @@ $form-control-select-palette: map-deep-merge(
|
|
|
1561
1579
|
),
|
|
1562
1580
|
|
|
1563
1581
|
focus: (
|
|
1564
|
-
background-image:
|
|
1582
|
+
background-image:
|
|
1583
|
+
var(
|
|
1584
|
+
--form-control-select-secondary-icon-focus,
|
|
1585
|
+
clay-icon(caret-double-l, #272833)
|
|
1586
|
+
),
|
|
1565
1587
|
color: $gray-900,
|
|
1566
1588
|
),
|
|
1567
1589
|
|
|
@@ -1573,7 +1595,11 @@ $form-control-select-palette: map-deep-merge(
|
|
|
1573
1595
|
|
|
1574
1596
|
show: (
|
|
1575
1597
|
background-color: $gray-200,
|
|
1576
|
-
background-image:
|
|
1598
|
+
background-image:
|
|
1599
|
+
var(
|
|
1600
|
+
--form-control-select-secondary-icon-show,
|
|
1601
|
+
clay-icon(caret-double-l, #272833)
|
|
1602
|
+
),
|
|
1577
1603
|
color: $gray-900,
|
|
1578
1604
|
),
|
|
1579
1605
|
),
|
|
@@ -319,6 +319,7 @@ $border-radius: var(--border-radius) !default;
|
|
|
319
319
|
|
|
320
320
|
$border-radius-lg: var(--border-radius-lg) !default;
|
|
321
321
|
$border-radius-sm: var(--border-radius-sm) !default;
|
|
322
|
+
$border-radius-xl: var(--border-radius-xl) !default;
|
|
322
323
|
|
|
323
324
|
$rounded-0-border-radius: var(--rounded-0-border-radius) !default;
|
|
324
325
|
$rounded-border-radius: var(--rounded-border-radius) !default;
|
|
@@ -720,7 +721,7 @@ $hr-border-color: var(--hr-border-color) !default;
|
|
|
720
721
|
$hr-border-width: var(--hr-border-width) !default;
|
|
721
722
|
$hr-margin-y: var(--hr-margin-y) !default;
|
|
722
723
|
|
|
723
|
-
$mark-bg:
|
|
724
|
+
$mark-bg: $yellow-l3 !default;
|
|
724
725
|
$mark-color: null !default;
|
|
725
726
|
$mark-padding: 0.2em !default;
|
|
726
727
|
|
|
@@ -753,7 +754,9 @@ $code-color: var(--code-color) !default;
|
|
|
753
754
|
$code-font-size: var(--code-font-size) !default;
|
|
754
755
|
|
|
755
756
|
$kbd-bg: $gray-900 !default;
|
|
756
|
-
$kbd-box-shadow:
|
|
757
|
+
$kbd-box-shadow: unquote(
|
|
758
|
+
'inset 0 -0.1rem 0 hsl(from #{$black} h s l / 0.25)'
|
|
759
|
+
) !default;
|
|
757
760
|
$kbd-color: $white !default;
|
|
758
761
|
$kbd-font-size: $code-font-size !default;
|
|
759
762
|
$kbd-padding-x: 0.4rem !default;
|
|
@@ -2,7 +2,9 @@ $thumbnail-bg: $body-bg !default;
|
|
|
2
2
|
$thumbnail-border-color: $gray-300 !default;
|
|
3
3
|
$thumbnail-border-radius: $border-radius !default;
|
|
4
4
|
$thumbnail-border-width: $border-width !default;
|
|
5
|
-
$thumbnail-box-shadow:
|
|
5
|
+
$thumbnail-box-shadow: unquote(
|
|
6
|
+
'0 1px 2px hsl(from #{$black} h s l / 0.075)'
|
|
7
|
+
) !default;
|
|
6
8
|
$thumbnail-padding: 0.25rem !default;
|
|
7
9
|
|
|
8
10
|
$figure-caption-color: $gray-600 !default;
|