@clayui/css 3.126.0 → 3.128.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 +224 -58
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +176 -74
- package/lib/css/base.css.map +1 -1
- package/lib/css/bootstrap.css +0 -0
- package/lib/css/bootstrap.css.map +1 -1
- package/lib/css/cadmin.css +423 -272
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/icons.svg +1 -1
- package/package.json +2 -2
- package/src/scss/_license-text.scss +1 -1
- package/src/scss/atlas/variables/_globals.scss +8 -0
- package/src/scss/cadmin/components/_grid.scss +3 -1
- package/src/scss/cadmin/components/_multi-step-nav.scss +4 -2
- package/src/scss/cadmin/variables/_dropdowns.scss +18 -6
- package/src/scss/cadmin/variables/_globals.scss +4 -0
- package/src/scss/cadmin/variables/_multi-step-nav.scss +2 -2
- package/src/scss/components/_grid.scss +3 -1
- package/src/scss/components/_multi-step-nav.scss +4 -2
- package/src/scss/functions/_global-functions.scss +8 -2
- package/src/scss/mixins/_alerts.scss +104 -48
- package/src/scss/mixins/_badges.scss +75 -33
- package/src/scss/mixins/_buttons.scss +503 -250
- package/src/scss/mixins/_cards.scss +619 -302
- package/src/scss/mixins/_close.scss +42 -49
- package/src/scss/mixins/_custom-forms.scss +864 -606
- package/src/scss/mixins/_dropdown-menu.scss +476 -239
- package/src/scss/mixins/_forms.scss +4 -79
- package/src/scss/mixins/_links.scss +565 -308
- package/src/scss/mixins/_modals.scss +1 -26
- package/src/scss/mixins/_popovers.scss +1 -26
- package/src/scss/mixins/_sidebar.scss +3 -28
- package/src/scss/mixins/_slideout.scss +1 -26
- package/src/scss/mixins/_toggle-switch.scss +6 -31
- package/src/scss/variables/_dropdowns.scss +18 -6
- package/src/scss/variables/_globals.scss +8 -0
- package/src/scss/variables/_multi-step-nav.scss +2 -2
|
@@ -60,26 +60,46 @@
|
|
|
60
60
|
);
|
|
61
61
|
|
|
62
62
|
@if ($enabled) {
|
|
63
|
-
@
|
|
63
|
+
@if (length($base) != 0) {
|
|
64
|
+
@include clay-css($base);
|
|
65
|
+
}
|
|
64
66
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
+
$_before: map-get($map, before);
|
|
68
|
+
|
|
69
|
+
@if ($_before) {
|
|
70
|
+
&::before {
|
|
71
|
+
@include clay-css($_before);
|
|
72
|
+
}
|
|
67
73
|
}
|
|
68
74
|
|
|
69
|
-
|
|
70
|
-
|
|
75
|
+
$_after: map-get($map, after);
|
|
76
|
+
|
|
77
|
+
@if ($_after) {
|
|
78
|
+
&::after {
|
|
79
|
+
@include clay-css($_after);
|
|
80
|
+
}
|
|
71
81
|
}
|
|
72
82
|
|
|
73
|
-
|
|
74
|
-
|
|
83
|
+
$_first-child: map-get($map, first-child);
|
|
84
|
+
|
|
85
|
+
@if ($_first-child) {
|
|
86
|
+
&:first-child {
|
|
87
|
+
@include clay-css($_first-child);
|
|
88
|
+
}
|
|
75
89
|
}
|
|
76
90
|
|
|
77
|
-
|
|
78
|
-
|
|
91
|
+
$_last-child: map-get($map, last-child);
|
|
92
|
+
|
|
93
|
+
@if ($_last-child) {
|
|
94
|
+
&:last-child {
|
|
95
|
+
@include clay-css($_last-child);
|
|
96
|
+
}
|
|
79
97
|
}
|
|
80
98
|
|
|
81
|
-
|
|
82
|
-
|
|
99
|
+
@if (length($autofit-col) != 0) {
|
|
100
|
+
.autofit-col {
|
|
101
|
+
@include clay-css($autofit-col);
|
|
102
|
+
}
|
|
83
103
|
}
|
|
84
104
|
}
|
|
85
105
|
}
|
|
@@ -297,31 +317,6 @@
|
|
|
297
317
|
@if (type-of($map) == 'map') {
|
|
298
318
|
$enabled: setter(map-get($map, enabled), true);
|
|
299
319
|
|
|
300
|
-
$_enable-focus-visible: if(
|
|
301
|
-
variable-exists(enable-focus-visible),
|
|
302
|
-
$enable-focus-visible,
|
|
303
|
-
if(
|
|
304
|
-
variable-exists(cadmin-enable-focus-visible),
|
|
305
|
-
$cadmin-enable-focus-visible,
|
|
306
|
-
true
|
|
307
|
-
)
|
|
308
|
-
);
|
|
309
|
-
|
|
310
|
-
$_c-prefers-focus-selector: if(
|
|
311
|
-
$_enable-focus-visible,
|
|
312
|
-
'.c-prefers-focus &:focus',
|
|
313
|
-
''
|
|
314
|
-
);
|
|
315
|
-
|
|
316
|
-
@if (variable-exists(cadmin-enable-focus-visible)) and
|
|
317
|
-
($_enable-focus-visible)
|
|
318
|
-
{
|
|
319
|
-
$_c-prefers-focus-selector: clay-insert-before(
|
|
320
|
-
'.cadmin',
|
|
321
|
-
'.c-prefers-focus '
|
|
322
|
-
);
|
|
323
|
-
}
|
|
324
|
-
|
|
325
320
|
$base: map-merge(
|
|
326
321
|
$map,
|
|
327
322
|
(
|
|
@@ -706,335 +701,574 @@
|
|
|
706
701
|
);
|
|
707
702
|
|
|
708
703
|
@if ($enabled) {
|
|
709
|
-
@
|
|
704
|
+
@if (length($base) != 0) {
|
|
705
|
+
@include clay-css($base);
|
|
706
|
+
}
|
|
710
707
|
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
708
|
+
@if (length($hover) != 0) {
|
|
709
|
+
&:hover,
|
|
710
|
+
&.hover {
|
|
711
|
+
@include clay-css($hover);
|
|
714
712
|
|
|
715
|
-
|
|
716
|
-
@include clay-css(map-get($hover, after));
|
|
717
|
-
}
|
|
713
|
+
$_after: map-get($hover, after);
|
|
718
714
|
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
715
|
+
@if ($_after) {
|
|
716
|
+
&::after {
|
|
717
|
+
@include clay-css($_after);
|
|
718
|
+
}
|
|
719
|
+
}
|
|
722
720
|
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
721
|
+
@if (length($hover-card-title) != 0) {
|
|
722
|
+
.card-title {
|
|
723
|
+
@include clay-link($hover-card-title);
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
726
|
|
|
727
|
-
|
|
728
|
-
|
|
727
|
+
@if (length($hover-card-subtitle) != 0) {
|
|
728
|
+
.card-subtitle {
|
|
729
|
+
@include clay-link($hover-card-subtitle);
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
@if (length($hover-card-text) != 0) {
|
|
734
|
+
.card-text {
|
|
735
|
+
@include clay-link($hover-card-text);
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
@if (length($hover-card-link) != 0) {
|
|
740
|
+
.card-link {
|
|
741
|
+
@include clay-link($hover-card-link);
|
|
742
|
+
}
|
|
743
|
+
}
|
|
729
744
|
}
|
|
745
|
+
}
|
|
730
746
|
|
|
731
|
-
|
|
732
|
-
|
|
747
|
+
@if (length($focus) != 0) {
|
|
748
|
+
@at-root {
|
|
749
|
+
&.focus,
|
|
750
|
+
#{$focus-visible-selector},
|
|
751
|
+
#{if($c-prefers-focus-selector,$c-prefers-focus-selector,clay-insert-before('.cadmin', '.c-prefers-focus ', '&:focus'))} {
|
|
752
|
+
@include clay-css($focus);
|
|
753
|
+
|
|
754
|
+
$_after: map-get($focus, after);
|
|
755
|
+
|
|
756
|
+
@if ($_after) {
|
|
757
|
+
&::after {
|
|
758
|
+
@include clay-css($_after);
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
@if (length($focus-card-title) != 0) {
|
|
763
|
+
.card-title {
|
|
764
|
+
@include clay-link($focus-card-title);
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
@if (length($focus-card-subtitle) != 0) {
|
|
769
|
+
.card-subtitle {
|
|
770
|
+
@include clay-link($focus-card-subtitle);
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
@if (length($focus-card-text) != 0) {
|
|
775
|
+
.card-text {
|
|
776
|
+
@include clay-link($focus-card-text);
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
@if (length($focus-card-link) != 0) {
|
|
781
|
+
.card-link {
|
|
782
|
+
@include clay-link($focus-card-link);
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
}
|
|
733
786
|
}
|
|
734
787
|
}
|
|
735
788
|
|
|
736
|
-
@
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
789
|
+
@if (length($active) != 0) {
|
|
790
|
+
&:active,
|
|
791
|
+
&.active {
|
|
792
|
+
@include clay-css($active);
|
|
793
|
+
|
|
794
|
+
$_after: map-get($active, after);
|
|
741
795
|
|
|
742
|
-
|
|
743
|
-
|
|
796
|
+
@if ($_after) {
|
|
797
|
+
&::after {
|
|
798
|
+
@include clay-css($_after);
|
|
799
|
+
}
|
|
744
800
|
}
|
|
745
801
|
|
|
746
|
-
|
|
747
|
-
|
|
802
|
+
@if (length($active-card-title) != 0) {
|
|
803
|
+
.card-title {
|
|
804
|
+
@include clay-link($active-card-title);
|
|
805
|
+
}
|
|
748
806
|
}
|
|
749
807
|
|
|
750
|
-
|
|
751
|
-
|
|
808
|
+
@if (length($active-card-subtitle) != 0) {
|
|
809
|
+
.card-subtitle {
|
|
810
|
+
@include clay-link($active-card-subtitle);
|
|
811
|
+
}
|
|
752
812
|
}
|
|
753
813
|
|
|
754
|
-
|
|
755
|
-
|
|
814
|
+
@if (length($active-card-text) != 0) {
|
|
815
|
+
.card-text {
|
|
816
|
+
@include clay-link($active-card-text);
|
|
817
|
+
}
|
|
756
818
|
}
|
|
757
819
|
|
|
758
|
-
|
|
759
|
-
|
|
820
|
+
@if (length($active-card-link) != 0) {
|
|
821
|
+
.card-link {
|
|
822
|
+
@include clay-link($active-card-link);
|
|
823
|
+
}
|
|
760
824
|
}
|
|
761
825
|
}
|
|
762
826
|
}
|
|
763
827
|
|
|
764
|
-
|
|
765
|
-
&.active {
|
|
766
|
-
@include clay-css($active);
|
|
828
|
+
$_disabled: map-get($map, disabled);
|
|
767
829
|
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
830
|
+
@if ($_disabled) {
|
|
831
|
+
&:disabled,
|
|
832
|
+
&.disabled {
|
|
833
|
+
@include clay-css($_disabled);
|
|
771
834
|
|
|
772
|
-
|
|
773
|
-
@include clay-link($active-card-title);
|
|
774
|
-
}
|
|
835
|
+
$_after: map-get($_disabled, after);
|
|
775
836
|
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
837
|
+
@if ($_after) {
|
|
838
|
+
&::after {
|
|
839
|
+
@include clay-css($_after);
|
|
840
|
+
}
|
|
841
|
+
}
|
|
779
842
|
|
|
780
|
-
|
|
781
|
-
|
|
843
|
+
$_card-title: map-get($_disabled, card-title);
|
|
844
|
+
|
|
845
|
+
@if ($_card-title) {
|
|
846
|
+
.card-title {
|
|
847
|
+
@include clay-link($_card-title);
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
$_card-subtitle: map-get($_disabled, card-subtitle);
|
|
852
|
+
|
|
853
|
+
@if ($_card-subtitle) {
|
|
854
|
+
.card-subtitle {
|
|
855
|
+
@include clay-link($_card-subtitle);
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
$_card-text: map-get($_disabled, card-text);
|
|
860
|
+
|
|
861
|
+
@if ($_card-text) {
|
|
862
|
+
.card-text {
|
|
863
|
+
@include clay-link($_card-text);
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
$_card-link: map-get($_disabled, card-link);
|
|
868
|
+
|
|
869
|
+
@if ($_card-link) {
|
|
870
|
+
.card-link {
|
|
871
|
+
@include clay-link($_card-link);
|
|
872
|
+
}
|
|
873
|
+
}
|
|
782
874
|
}
|
|
875
|
+
}
|
|
783
876
|
|
|
784
|
-
|
|
785
|
-
|
|
877
|
+
$_after-highlight: map-get($map, after-highlight);
|
|
878
|
+
|
|
879
|
+
@if ($_after-highlight) {
|
|
880
|
+
@include clay-after-highlight-variant($_after-highlight);
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
$_before: map-get($map, before);
|
|
884
|
+
|
|
885
|
+
@if ($_before) {
|
|
886
|
+
&::before {
|
|
887
|
+
@include clay-css($_before);
|
|
786
888
|
}
|
|
787
889
|
}
|
|
788
890
|
|
|
789
|
-
|
|
790
|
-
&.disabled {
|
|
791
|
-
@include clay-css(map-get($map, disabled));
|
|
891
|
+
$_after: map-get($map, after);
|
|
792
892
|
|
|
893
|
+
@if ($_after) {
|
|
793
894
|
&::after {
|
|
794
|
-
@include clay-css(
|
|
895
|
+
@include clay-css($_after);
|
|
795
896
|
}
|
|
897
|
+
}
|
|
796
898
|
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
899
|
+
$_form-check-card: map-get($map, form-check-card);
|
|
900
|
+
|
|
901
|
+
@if ($_form-check-card) {
|
|
902
|
+
&.form-check-card {
|
|
903
|
+
@include clay-form-check-card-variant($_form-check-card);
|
|
801
904
|
}
|
|
905
|
+
}
|
|
802
906
|
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
907
|
+
$_aspect-ratio: map-get($map, aspect-ratio);
|
|
908
|
+
|
|
909
|
+
@if ($_aspect-ratio) {
|
|
910
|
+
.aspect-ratio {
|
|
911
|
+
@include clay-aspect-ratio-variant($_aspect-ratio);
|
|
912
|
+
|
|
913
|
+
@if ($aspect-ratio-checkered-fg) {
|
|
914
|
+
@include clay-bg-checkered($aspect-ratio-checkered-fg);
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
$_custom-control-label: map-deep-get(
|
|
918
|
+
$aspect-ratio,
|
|
919
|
+
custom-control,
|
|
920
|
+
label
|
|
806
921
|
);
|
|
807
|
-
}
|
|
808
922
|
|
|
809
|
-
|
|
810
|
-
|
|
923
|
+
@if ($_custom-control-label) {
|
|
924
|
+
.custom-control label,
|
|
925
|
+
.form-check-label {
|
|
926
|
+
@include clay-css($_custom-control-label);
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
$_label: map-get($aspect-ratio, label);
|
|
931
|
+
|
|
932
|
+
@if ($_label) {
|
|
933
|
+
.label {
|
|
934
|
+
@include clay-label-variant($_label);
|
|
935
|
+
}
|
|
936
|
+
}
|
|
811
937
|
}
|
|
938
|
+
}
|
|
812
939
|
|
|
813
|
-
|
|
814
|
-
|
|
940
|
+
$_aspect-ratio-item: map-get($map, aspect-ratio-item);
|
|
941
|
+
|
|
942
|
+
@if ($_aspect-ratio-item) {
|
|
943
|
+
.aspect-ratio-item {
|
|
944
|
+
@include clay-aspect-ratio-item-variant(
|
|
945
|
+
$_aspect-ratio-item
|
|
946
|
+
);
|
|
815
947
|
}
|
|
816
948
|
}
|
|
817
949
|
|
|
818
|
-
|
|
819
|
-
|
|
950
|
+
$_aspect-ratio-item-top-left: map-get(
|
|
951
|
+
$map,
|
|
952
|
+
aspect-ratio-item-top-left
|
|
820
953
|
);
|
|
821
954
|
|
|
822
|
-
|
|
823
|
-
|
|
955
|
+
@if ($_aspect-ratio-item-top-left) {
|
|
956
|
+
.aspect-ratio-item-top-left {
|
|
957
|
+
@include clay-css($_aspect-ratio-item-top-left);
|
|
958
|
+
}
|
|
824
959
|
}
|
|
825
960
|
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
961
|
+
$_aspect-ratio-item-top-center: map-get(
|
|
962
|
+
$map,
|
|
963
|
+
aspect-ratio-item-top-center
|
|
964
|
+
);
|
|
829
965
|
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
966
|
+
@if ($_aspect-ratio-item-top-center) {
|
|
967
|
+
.aspect-ratio-item-top-center {
|
|
968
|
+
@include clay-css($_aspect-ratio-item-top-center);
|
|
969
|
+
}
|
|
834
970
|
}
|
|
835
971
|
|
|
836
|
-
|
|
837
|
-
|
|
972
|
+
$_aspect-ratio-item-top-right: map-get(
|
|
973
|
+
$map,
|
|
974
|
+
aspect-ratio-item-top-right
|
|
975
|
+
);
|
|
838
976
|
|
|
839
|
-
|
|
840
|
-
|
|
977
|
+
@if ($_aspect-ratio-item-top-right) {
|
|
978
|
+
.aspect-ratio-item-top-right {
|
|
979
|
+
@include clay-css($_aspect-ratio-item-top-right);
|
|
841
980
|
}
|
|
981
|
+
}
|
|
842
982
|
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
);
|
|
848
|
-
}
|
|
983
|
+
$_aspect-ratio-item-right-middle: map-get(
|
|
984
|
+
$map,
|
|
985
|
+
aspect-ratio-item-right-middle
|
|
986
|
+
);
|
|
849
987
|
|
|
850
|
-
|
|
851
|
-
|
|
988
|
+
@if ($_aspect-ratio-item-right-middle) {
|
|
989
|
+
.aspect-ratio-item-right-middle {
|
|
990
|
+
@include clay-css($_aspect-ratio-item-right-middle);
|
|
852
991
|
}
|
|
853
992
|
}
|
|
854
993
|
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
}
|
|
994
|
+
$_aspect-ratio-item-bottom-right: map-get(
|
|
995
|
+
$map,
|
|
996
|
+
aspect-ratio-item-bottom-right
|
|
997
|
+
);
|
|
860
998
|
|
|
861
|
-
|
|
862
|
-
|
|
999
|
+
@if ($_aspect-ratio-item-bottom-right) {
|
|
1000
|
+
.aspect-ratio-item-bottom-right {
|
|
1001
|
+
@include clay-css($_aspect-ratio-item-bottom-right);
|
|
1002
|
+
}
|
|
863
1003
|
}
|
|
864
1004
|
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
1005
|
+
$_aspect-ratio-item-bottom-center: map-get(
|
|
1006
|
+
$map,
|
|
1007
|
+
aspect-ratio-item-bottom-center
|
|
1008
|
+
);
|
|
868
1009
|
|
|
869
|
-
|
|
870
|
-
|
|
1010
|
+
@if ($_aspect-ratio-item-bottom-center) {
|
|
1011
|
+
.aspect-ratio-item-bottom-center {
|
|
1012
|
+
@include clay-css($_aspect-ratio-item-bottom-center);
|
|
1013
|
+
}
|
|
871
1014
|
}
|
|
872
1015
|
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
}
|
|
1016
|
+
$_aspect-ratio-item-bottom-left: map-get(
|
|
1017
|
+
$map,
|
|
1018
|
+
aspect-ratio-item-bottom-left
|
|
1019
|
+
);
|
|
878
1020
|
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
1021
|
+
@if ($_aspect-ratio-item-bottom-left) {
|
|
1022
|
+
.aspect-ratio-item-bottom-left {
|
|
1023
|
+
@include clay-css($_aspect-ratio-item-bottom-left);
|
|
1024
|
+
}
|
|
883
1025
|
}
|
|
884
1026
|
|
|
885
|
-
|
|
886
|
-
@include clay-css(
|
|
887
|
-
map-get($map, aspect-ratio-item-bottom-center)
|
|
888
|
-
);
|
|
889
|
-
}
|
|
1027
|
+
$_hr: map-get($map, hr);
|
|
890
1028
|
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
1029
|
+
@if ($_hr) {
|
|
1030
|
+
> hr {
|
|
1031
|
+
@include clay-css($_hr);
|
|
894
1032
|
|
|
895
|
-
|
|
896
|
-
@include clay-css(map-get($map, hr));
|
|
1033
|
+
$_before: map-get($_hr, before);
|
|
897
1034
|
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
1035
|
+
@if ($_before) {
|
|
1036
|
+
&::before {
|
|
1037
|
+
@include clay-css($_before);
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
901
1040
|
|
|
902
|
-
|
|
903
|
-
|
|
1041
|
+
$_after: map-get($_hr, after);
|
|
1042
|
+
|
|
1043
|
+
@if ($_after) {
|
|
1044
|
+
&::after {
|
|
1045
|
+
@include clay-css($_after);
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
904
1048
|
}
|
|
905
1049
|
}
|
|
906
1050
|
|
|
907
|
-
|
|
908
|
-
@include clay-sticker-variant(map-get($map, sticker));
|
|
909
|
-
}
|
|
1051
|
+
$_sticker: map-get($map, sticker);
|
|
910
1052
|
|
|
911
|
-
|
|
912
|
-
|
|
1053
|
+
@if ($_sticker) {
|
|
1054
|
+
.sticker {
|
|
1055
|
+
@include clay-sticker-variant($_sticker);
|
|
1056
|
+
}
|
|
913
1057
|
}
|
|
914
1058
|
|
|
915
|
-
|
|
916
|
-
|
|
1059
|
+
$_card: map-get($map, card);
|
|
1060
|
+
|
|
1061
|
+
@if ($_card) {
|
|
1062
|
+
.card {
|
|
1063
|
+
@include clay-css($_card);
|
|
1064
|
+
}
|
|
917
1065
|
}
|
|
918
1066
|
|
|
919
|
-
|
|
920
|
-
|
|
1067
|
+
$_card-header: map-get($map, card-header);
|
|
1068
|
+
|
|
1069
|
+
@if ($_card-header) {
|
|
1070
|
+
.card-header {
|
|
1071
|
+
@include clay-card-section-variant($_card-header);
|
|
1072
|
+
}
|
|
921
1073
|
}
|
|
922
1074
|
|
|
923
|
-
|
|
924
|
-
|
|
1075
|
+
@if (length($card-body) != 0) {
|
|
1076
|
+
.card-body {
|
|
1077
|
+
@include clay-card-section-variant($card-body);
|
|
1078
|
+
}
|
|
925
1079
|
}
|
|
926
1080
|
|
|
927
|
-
|
|
928
|
-
|
|
1081
|
+
$_card-footer: map-get($map, card-footer);
|
|
1082
|
+
|
|
1083
|
+
@if ($_card-footer) {
|
|
1084
|
+
.card-footer {
|
|
1085
|
+
@include clay-card-section-variant($_card-footer);
|
|
1086
|
+
}
|
|
929
1087
|
}
|
|
930
1088
|
|
|
931
|
-
|
|
932
|
-
|
|
1089
|
+
@if (length($card-row) != 0) {
|
|
1090
|
+
.card-row {
|
|
1091
|
+
@include clay-card-section-variant($card-row);
|
|
1092
|
+
}
|
|
933
1093
|
}
|
|
934
1094
|
|
|
935
|
-
|
|
936
|
-
|
|
1095
|
+
$_card-title: map-get($map, card-title);
|
|
1096
|
+
|
|
1097
|
+
@if ($_card-title) {
|
|
1098
|
+
.card-title {
|
|
1099
|
+
@include clay-link($_card-title);
|
|
1100
|
+
}
|
|
937
1101
|
}
|
|
938
1102
|
|
|
939
|
-
|
|
940
|
-
|
|
1103
|
+
$_card-subtitle: map-get($map, card-subtitle);
|
|
1104
|
+
|
|
1105
|
+
@if ($_card-subtitle) {
|
|
1106
|
+
.card-subtitle {
|
|
1107
|
+
@include clay-link($_card-subtitle);
|
|
1108
|
+
}
|
|
941
1109
|
}
|
|
942
1110
|
|
|
943
|
-
|
|
944
|
-
|
|
1111
|
+
$_card-text: map-get($map, card-text);
|
|
1112
|
+
|
|
1113
|
+
@if ($_card-text) {
|
|
1114
|
+
.card-text {
|
|
1115
|
+
@include clay-link($_card-text);
|
|
1116
|
+
}
|
|
945
1117
|
}
|
|
946
1118
|
|
|
947
|
-
|
|
948
|
-
|
|
1119
|
+
$_card-link: map-get($map, card-link);
|
|
1120
|
+
|
|
1121
|
+
@if ($_card-link) {
|
|
1122
|
+
.card-link {
|
|
1123
|
+
@include clay-link($_card-link);
|
|
1124
|
+
}
|
|
949
1125
|
}
|
|
950
1126
|
|
|
951
|
-
|
|
952
|
-
@include clay-css($card-type-asset-icon);
|
|
1127
|
+
$_card-divider: map-get($map, card-divider);
|
|
953
1128
|
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
);
|
|
1129
|
+
@if ($_card-divider) {
|
|
1130
|
+
.card-divider {
|
|
1131
|
+
@include clay-css($_card-divider);
|
|
958
1132
|
}
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
@if (length($card-type-asset-icon) != 0) {
|
|
1136
|
+
.card-type-asset-icon {
|
|
1137
|
+
@include clay-css($card-type-asset-icon);
|
|
959
1138
|
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
1139
|
+
$_inline-item: map-get($card-type-asset-icon, inline-item);
|
|
1140
|
+
|
|
1141
|
+
@if ($_inline-item) {
|
|
1142
|
+
.inline-item {
|
|
1143
|
+
@include clay-css($_inline-item);
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
$_lexicon-icon: map-get(
|
|
1148
|
+
$card-type-asset-icon,
|
|
1149
|
+
lexicon-icon
|
|
963
1150
|
);
|
|
964
|
-
}
|
|
965
1151
|
|
|
966
|
-
|
|
967
|
-
|
|
1152
|
+
@if ($_lexicon-icon) {
|
|
1153
|
+
> .lexicon-icon {
|
|
1154
|
+
@include clay-css($_lexicon-icon);
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
968
1157
|
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
1158
|
+
@if (length($card-type-asset-icon-sticker) != 0) {
|
|
1159
|
+
> .sticker {
|
|
1160
|
+
@include clay-css($card-type-asset-icon-sticker);
|
|
1161
|
+
|
|
1162
|
+
$_sticker-overlay: map-get(
|
|
972
1163
|
$card-type-asset-icon-sticker,
|
|
973
1164
|
sticker-overlay
|
|
974
|
-
)
|
|
975
|
-
|
|
1165
|
+
);
|
|
1166
|
+
|
|
1167
|
+
@if ($_sticker-overlay) {
|
|
1168
|
+
}
|
|
1169
|
+
.sticker-overlay {
|
|
1170
|
+
@include clay-css($_sticker-overlay);
|
|
1171
|
+
}
|
|
1172
|
+
}
|
|
976
1173
|
}
|
|
977
1174
|
}
|
|
978
1175
|
}
|
|
979
1176
|
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
1177
|
+
$_custom-control: map-get($map, custom-control);
|
|
1178
|
+
|
|
1179
|
+
@if ($_custom-control) {
|
|
1180
|
+
.form-check-input {
|
|
1181
|
+
$_hover: map-get($_custom-control, hover);
|
|
1182
|
+
|
|
1183
|
+
@if ($_hover) {
|
|
1184
|
+
&:hover {
|
|
1185
|
+
$_card: map-get($_hover, card);
|
|
1186
|
+
|
|
1187
|
+
@if ($_card) {
|
|
1188
|
+
~ .card {
|
|
1189
|
+
@include clay-card-variant($_card);
|
|
1190
|
+
}
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
986
1193
|
}
|
|
987
|
-
}
|
|
988
1194
|
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
1195
|
+
$_focus: map-get($_custom-control, focus);
|
|
1196
|
+
|
|
1197
|
+
@if ($_focus) {
|
|
1198
|
+
&:focus {
|
|
1199
|
+
$_card: map-get($_focus, card);
|
|
1200
|
+
|
|
1201
|
+
@if ($_card) {
|
|
1202
|
+
~ .card {
|
|
1203
|
+
@include clay-card-variant($_card);
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
994
1207
|
}
|
|
995
|
-
}
|
|
996
1208
|
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1209
|
+
$_active: map-get($_custom-control, active);
|
|
1210
|
+
|
|
1211
|
+
@if ($_active) {
|
|
1212
|
+
&:active {
|
|
1213
|
+
$_card: map-get($_active, card);
|
|
1214
|
+
|
|
1215
|
+
@if ($_card) {
|
|
1216
|
+
~ .card {
|
|
1217
|
+
@include clay-card-variant($_card);
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
}
|
|
1002
1221
|
}
|
|
1003
|
-
}
|
|
1004
1222
|
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1223
|
+
$_disabled: map-get($_custom-control, disabled);
|
|
1224
|
+
|
|
1225
|
+
@if ($_disabled) {
|
|
1226
|
+
&[disabled],
|
|
1227
|
+
&:disabled {
|
|
1228
|
+
$_card: map-get($_disabled, card);
|
|
1229
|
+
|
|
1230
|
+
@if ($_card) {
|
|
1231
|
+
~ .card {
|
|
1232
|
+
@include clay-card-variant($_card);
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1011
1236
|
}
|
|
1012
|
-
}
|
|
1013
1237
|
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1238
|
+
$_checked: map-get($_custom-control, checked);
|
|
1239
|
+
|
|
1240
|
+
@if ($_checked) {
|
|
1241
|
+
&:checked {
|
|
1242
|
+
$_card: map-get($_checked, card);
|
|
1243
|
+
|
|
1244
|
+
@if ($_card) {
|
|
1245
|
+
~ .card {
|
|
1246
|
+
@include clay-card-variant($_card);
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1019
1250
|
}
|
|
1020
|
-
}
|
|
1021
1251
|
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
card
|
|
1030
|
-
|
|
1031
|
-
|
|
1252
|
+
$_indeterminate: map-get($_custom-control, indeterminate);
|
|
1253
|
+
|
|
1254
|
+
@if ($_indeterminate) {
|
|
1255
|
+
&:indeterminate {
|
|
1256
|
+
$_card: map-get($_indeterminate, card);
|
|
1257
|
+
|
|
1258
|
+
@if ($_card) {
|
|
1259
|
+
~ .card {
|
|
1260
|
+
@include clay-card-variant($_card);
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
}
|
|
1032
1264
|
}
|
|
1033
1265
|
}
|
|
1034
1266
|
}
|
|
1035
1267
|
|
|
1036
|
-
|
|
1037
|
-
|
|
1268
|
+
@if (length($dropdown-action) != 0) {
|
|
1269
|
+
.dropdown-action {
|
|
1270
|
+
@include clay-button-variant($dropdown-action);
|
|
1271
|
+
}
|
|
1038
1272
|
}
|
|
1039
1273
|
}
|
|
1040
1274
|
}
|
|
@@ -1253,7 +1487,9 @@
|
|
|
1253
1487
|
|
|
1254
1488
|
@if ($enabled) {
|
|
1255
1489
|
.aspect-ratio {
|
|
1256
|
-
@
|
|
1490
|
+
@if (length($aspect-ratio) != 0) {
|
|
1491
|
+
@include clay-css($aspect-ratio);
|
|
1492
|
+
}
|
|
1257
1493
|
|
|
1258
1494
|
@if ($aspect-ratio-horizontal and $aspect-ratio-vertical) {
|
|
1259
1495
|
@include clay-aspect-ratio(
|
|
@@ -1273,16 +1509,22 @@
|
|
|
1273
1509
|
}
|
|
1274
1510
|
}
|
|
1275
1511
|
|
|
1276
|
-
|
|
1277
|
-
|
|
1512
|
+
@if (length($card-body) != 0) {
|
|
1513
|
+
.card-body {
|
|
1514
|
+
@include clay-css($card-body);
|
|
1515
|
+
}
|
|
1278
1516
|
}
|
|
1279
1517
|
|
|
1280
|
-
|
|
1281
|
-
|
|
1518
|
+
@if (length($card-row) != 0) {
|
|
1519
|
+
.card-row {
|
|
1520
|
+
@include clay-css($card-row);
|
|
1521
|
+
}
|
|
1282
1522
|
}
|
|
1283
1523
|
|
|
1284
1524
|
.card-type-asset-icon {
|
|
1285
|
-
@
|
|
1525
|
+
@if (length($card-type-asset-icon) != 0) {
|
|
1526
|
+
@include clay-css($card-type-asset-icon);
|
|
1527
|
+
}
|
|
1286
1528
|
|
|
1287
1529
|
.inline-item {
|
|
1288
1530
|
bottom: 0;
|
|
@@ -1297,19 +1539,28 @@
|
|
|
1297
1539
|
width: 100%;
|
|
1298
1540
|
}
|
|
1299
1541
|
|
|
1300
|
-
|
|
1301
|
-
|
|
1542
|
+
@if (length($card-type-asset-icon-sticker) != 0) {
|
|
1543
|
+
> .sticker {
|
|
1544
|
+
@include clay-css($card-type-asset-icon-sticker);
|
|
1545
|
+
}
|
|
1302
1546
|
}
|
|
1303
1547
|
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1548
|
+
$_border-radius: map-get(
|
|
1549
|
+
$card-type-asset-icon-sticker,
|
|
1550
|
+
border-radius
|
|
1551
|
+
);
|
|
1552
|
+
|
|
1553
|
+
@if ($_border-radius) {
|
|
1554
|
+
.sticker-overlay {
|
|
1555
|
+
@include border-radius($_border-radius);
|
|
1556
|
+
}
|
|
1308
1557
|
}
|
|
1309
1558
|
}
|
|
1310
1559
|
|
|
1311
|
-
|
|
1312
|
-
|
|
1560
|
+
@if (length($dropdown-action) != 0) {
|
|
1561
|
+
.dropdown-action {
|
|
1562
|
+
@include clay-css($dropdown-action);
|
|
1563
|
+
}
|
|
1313
1564
|
}
|
|
1314
1565
|
}
|
|
1315
1566
|
}
|
|
@@ -1403,21 +1654,29 @@
|
|
|
1403
1654
|
);
|
|
1404
1655
|
|
|
1405
1656
|
@if ($enabled) {
|
|
1406
|
-
@
|
|
1657
|
+
@if (length($map) != 0) {
|
|
1658
|
+
@include clay-css($map);
|
|
1659
|
+
}
|
|
1407
1660
|
|
|
1408
1661
|
.aspect-ratio {
|
|
1409
|
-
@
|
|
1662
|
+
@if (length($aspect-ratio) != 0) {
|
|
1663
|
+
@include clay-css($aspect-ratio);
|
|
1664
|
+
}
|
|
1410
1665
|
|
|
1411
1666
|
@if ($aspect-ratio-checkered-fg) {
|
|
1412
1667
|
@include clay-bg-checkered($aspect-ratio-checkered-fg);
|
|
1413
1668
|
}
|
|
1414
1669
|
}
|
|
1415
1670
|
|
|
1416
|
-
|
|
1417
|
-
|
|
1671
|
+
@if (length($asset-icon) != 0) {
|
|
1672
|
+
.card-type-asset-icon {
|
|
1673
|
+
@include clay-css($asset-icon);
|
|
1418
1674
|
|
|
1419
|
-
|
|
1420
|
-
|
|
1675
|
+
@if (length($asset-icon-lexicon-icon) != 0) {
|
|
1676
|
+
.lexicon-icon {
|
|
1677
|
+
@include clay-css($asset-icon-lexicon-icon);
|
|
1678
|
+
}
|
|
1679
|
+
}
|
|
1421
1680
|
}
|
|
1422
1681
|
}
|
|
1423
1682
|
}
|
|
@@ -1527,18 +1786,26 @@
|
|
|
1527
1786
|
);
|
|
1528
1787
|
|
|
1529
1788
|
@if ($enabled) {
|
|
1530
|
-
@
|
|
1789
|
+
@if (length($base) != 0) {
|
|
1790
|
+
@include clay-css($base);
|
|
1791
|
+
}
|
|
1531
1792
|
|
|
1532
|
-
|
|
1533
|
-
|
|
1793
|
+
@if (length($card-body) != 0) {
|
|
1794
|
+
.card-body {
|
|
1795
|
+
@include clay-css($card-body);
|
|
1796
|
+
}
|
|
1534
1797
|
}
|
|
1535
1798
|
|
|
1536
|
-
|
|
1537
|
-
|
|
1799
|
+
@if (length($dropdown-action) != 0) {
|
|
1800
|
+
.dropdown-action {
|
|
1801
|
+
@include clay-css($dropdown-action);
|
|
1802
|
+
}
|
|
1538
1803
|
}
|
|
1539
1804
|
|
|
1540
|
-
|
|
1541
|
-
|
|
1805
|
+
@if (length($sticker) != 0) {
|
|
1806
|
+
.sticker {
|
|
1807
|
+
@include clay-css($sticker);
|
|
1808
|
+
}
|
|
1542
1809
|
}
|
|
1543
1810
|
}
|
|
1544
1811
|
}
|
|
@@ -1605,60 +1872,110 @@
|
|
|
1605
1872
|
$enabled: setter(map-get($map, enabled), true);
|
|
1606
1873
|
|
|
1607
1874
|
@if ($enabled) {
|
|
1608
|
-
@
|
|
1875
|
+
@if (length($map) != 0) {
|
|
1876
|
+
@include clay-css($map);
|
|
1877
|
+
}
|
|
1609
1878
|
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1879
|
+
$_hover: map-get($map, hover);
|
|
1880
|
+
|
|
1881
|
+
@if ($_hover) {
|
|
1882
|
+
&:hover {
|
|
1883
|
+
$_card: map-get($_hover, card);
|
|
1884
|
+
|
|
1885
|
+
@if ($_card) {
|
|
1886
|
+
.card {
|
|
1887
|
+
@include clay-card-variant($_card);
|
|
1888
|
+
}
|
|
1889
|
+
}
|
|
1613
1890
|
}
|
|
1614
1891
|
}
|
|
1615
1892
|
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1893
|
+
$_focus: map-get($map, focus);
|
|
1894
|
+
|
|
1895
|
+
@if ($_focus) {
|
|
1896
|
+
&.focus {
|
|
1897
|
+
$_card: map-get($_focus, card);
|
|
1898
|
+
|
|
1899
|
+
@if ($_card) {
|
|
1900
|
+
.card {
|
|
1901
|
+
@include clay-card-variant($_card);
|
|
1902
|
+
}
|
|
1903
|
+
}
|
|
1619
1904
|
}
|
|
1620
1905
|
}
|
|
1621
1906
|
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
);
|
|
1907
|
+
$_active: map-get($map, active);
|
|
1908
|
+
|
|
1909
|
+
@if ($_active) {
|
|
1910
|
+
&.active {
|
|
1911
|
+
$_card: map-get($_active, card);
|
|
1912
|
+
|
|
1913
|
+
@if ($_card) {
|
|
1914
|
+
.card {
|
|
1915
|
+
@include clay-card-variant($_card);
|
|
1916
|
+
}
|
|
1917
|
+
}
|
|
1627
1918
|
}
|
|
1628
1919
|
}
|
|
1629
1920
|
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
);
|
|
1921
|
+
$_checked: map-get($map, checked);
|
|
1922
|
+
|
|
1923
|
+
@if ($_checked) {
|
|
1924
|
+
&.checked {
|
|
1925
|
+
$_card: map-get($_checked, card);
|
|
1926
|
+
|
|
1927
|
+
@if ($_card) {
|
|
1928
|
+
.card {
|
|
1929
|
+
@include clay-card-variant($_card);
|
|
1930
|
+
}
|
|
1931
|
+
}
|
|
1635
1932
|
}
|
|
1636
1933
|
}
|
|
1637
1934
|
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
);
|
|
1935
|
+
$_indeterminate: map-get($map, indeterminate);
|
|
1936
|
+
|
|
1937
|
+
@if ($_indeterminate) {
|
|
1938
|
+
&.indeterminate {
|
|
1939
|
+
$_card: map-get($_indeterminate, card);
|
|
1940
|
+
|
|
1941
|
+
@if ($_card) {
|
|
1942
|
+
.card {
|
|
1943
|
+
@include clay-card-variant($_card);
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1643
1946
|
}
|
|
1644
1947
|
}
|
|
1645
1948
|
|
|
1646
|
-
|
|
1647
|
-
|
|
1949
|
+
$_card: map-get($map, card);
|
|
1950
|
+
|
|
1951
|
+
@if ($_card) {
|
|
1952
|
+
.card {
|
|
1953
|
+
@include clay-card-variant($_card);
|
|
1954
|
+
}
|
|
1648
1955
|
}
|
|
1649
1956
|
|
|
1650
|
-
|
|
1651
|
-
|
|
1957
|
+
$_form-check-input: map-get($map, form-check-input);
|
|
1958
|
+
|
|
1959
|
+
@if ($_form-check-input) {
|
|
1960
|
+
.form-check-input {
|
|
1961
|
+
@include clay-css($_form-check-input);
|
|
1962
|
+
}
|
|
1652
1963
|
}
|
|
1653
1964
|
|
|
1654
|
-
|
|
1655
|
-
|
|
1965
|
+
$_form-check-label: map-get($map, form-check-label);
|
|
1966
|
+
|
|
1967
|
+
@if ($_form-check-label) {
|
|
1968
|
+
.form-check-label {
|
|
1969
|
+
@include clay-css($_form-check-label);
|
|
1970
|
+
}
|
|
1656
1971
|
}
|
|
1657
1972
|
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1973
|
+
$_custom-control: map-get($map, custom-control);
|
|
1974
|
+
|
|
1975
|
+
@if ($_custom-control) {
|
|
1976
|
+
.custom-control {
|
|
1977
|
+
@include clay-custom-control-variant($_custom-control);
|
|
1978
|
+
}
|
|
1662
1979
|
}
|
|
1663
1980
|
}
|
|
1664
1981
|
}
|