@clayui/css 3.127.0 → 3.130.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 +254 -72
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +205 -94
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +238 -74
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/icons.svg +1 -1
- package/lib/images/icons/send.svg +9 -0
- package/lib/images/icons/speed.svg +10 -0
- package/lib/images/icons/voice.svg +9 -0
- package/package.json +2 -2
- package/src/images/icons/send.svg +9 -0
- package/src/images/icons/speed.svg +10 -0
- package/src/images/icons/voice.svg +9 -0
- package/src/scss/_license-text.scss +1 -1
- package/src/scss/atlas/variables/_forms.scss +1 -0
- package/src/scss/atlas/variables/_globals.scss +2 -0
- package/src/scss/cadmin/components/_dropdowns.scss +10 -0
- package/src/scss/cadmin/components/_forms.scss +16 -14
- package/src/scss/cadmin/components/_grid.scss +3 -1
- package/src/scss/cadmin/components/_input-groups.scss +12 -1
- package/src/scss/cadmin/components/_type.scss +5 -1
- package/src/scss/cadmin/components/_utilities-functional-important.scss +11 -0
- package/src/scss/cadmin/variables/_custom-forms.scss +1 -1
- package/src/scss/cadmin/variables/_dropdowns.scss +3 -0
- package/src/scss/cadmin/variables/_forms.scss +15 -0
- package/src/scss/cadmin/variables/_globals.scss +2 -0
- package/src/scss/cadmin/variables/_utilities.scss +16 -0
- package/src/scss/components/_dropdowns.scss +10 -0
- package/src/scss/components/_forms.scss +16 -14
- package/src/scss/components/_grid.scss +3 -1
- package/src/scss/components/_input-groups.scss +12 -1
- package/src/scss/components/_type.scss +5 -1
- package/src/scss/components/_utilities-functional-important.scss +8 -0
- package/src/scss/functions/_lx-icons-generated.scss +6 -0
- package/src/scss/mixins/_alerts.scss +104 -48
- package/src/scss/mixins/_badges.scss +75 -33
- package/src/scss/mixins/_buttons.scss +503 -225
- package/src/scss/mixins/_cards.scss +619 -277
- package/src/scss/mixins/_close.scss +42 -24
- package/src/scss/mixins/_custom-forms.scss +864 -581
- package/src/scss/mixins/_dropdown-menu.scss +466 -223
- package/src/scss/mixins/_forms.scss +0 -13
- package/src/scss/mixins/_links.scss +564 -282
- package/src/scss/variables/_custom-forms.scss +1 -1
- package/src/scss/variables/_dropdowns.scss +3 -0
- package/src/scss/variables/_forms.scss +10 -0
- package/src/scss/variables/_globals.scss +2 -0
- package/src/scss/variables/_utilities.scss +16 -0
|
@@ -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
|
}
|
|
@@ -681,335 +701,574 @@
|
|
|
681
701
|
);
|
|
682
702
|
|
|
683
703
|
@if ($enabled) {
|
|
684
|
-
@
|
|
704
|
+
@if (length($base) != 0) {
|
|
705
|
+
@include clay-css($base);
|
|
706
|
+
}
|
|
685
707
|
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
708
|
+
@if (length($hover) != 0) {
|
|
709
|
+
&:hover,
|
|
710
|
+
&.hover {
|
|
711
|
+
@include clay-css($hover);
|
|
689
712
|
|
|
690
|
-
|
|
691
|
-
@include clay-css(map-get($hover, after));
|
|
692
|
-
}
|
|
713
|
+
$_after: map-get($hover, after);
|
|
693
714
|
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
715
|
+
@if ($_after) {
|
|
716
|
+
&::after {
|
|
717
|
+
@include clay-css($_after);
|
|
718
|
+
}
|
|
719
|
+
}
|
|
697
720
|
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
721
|
+
@if (length($hover-card-title) != 0) {
|
|
722
|
+
.card-title {
|
|
723
|
+
@include clay-link($hover-card-title);
|
|
724
|
+
}
|
|
725
|
+
}
|
|
701
726
|
|
|
702
|
-
|
|
703
|
-
|
|
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
|
+
}
|
|
704
744
|
}
|
|
745
|
+
}
|
|
705
746
|
|
|
706
|
-
|
|
707
|
-
|
|
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
|
+
}
|
|
708
786
|
}
|
|
709
787
|
}
|
|
710
788
|
|
|
711
|
-
@
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
@include clay-css($focus);
|
|
789
|
+
@if (length($active) != 0) {
|
|
790
|
+
&:active,
|
|
791
|
+
&.active {
|
|
792
|
+
@include clay-css($active);
|
|
716
793
|
|
|
717
|
-
|
|
718
|
-
|
|
794
|
+
$_after: map-get($active, after);
|
|
795
|
+
|
|
796
|
+
@if ($_after) {
|
|
797
|
+
&::after {
|
|
798
|
+
@include clay-css($_after);
|
|
799
|
+
}
|
|
719
800
|
}
|
|
720
801
|
|
|
721
|
-
|
|
722
|
-
|
|
802
|
+
@if (length($active-card-title) != 0) {
|
|
803
|
+
.card-title {
|
|
804
|
+
@include clay-link($active-card-title);
|
|
805
|
+
}
|
|
723
806
|
}
|
|
724
807
|
|
|
725
|
-
|
|
726
|
-
|
|
808
|
+
@if (length($active-card-subtitle) != 0) {
|
|
809
|
+
.card-subtitle {
|
|
810
|
+
@include clay-link($active-card-subtitle);
|
|
811
|
+
}
|
|
727
812
|
}
|
|
728
813
|
|
|
729
|
-
|
|
730
|
-
|
|
814
|
+
@if (length($active-card-text) != 0) {
|
|
815
|
+
.card-text {
|
|
816
|
+
@include clay-link($active-card-text);
|
|
817
|
+
}
|
|
731
818
|
}
|
|
732
819
|
|
|
733
|
-
|
|
734
|
-
|
|
820
|
+
@if (length($active-card-link) != 0) {
|
|
821
|
+
.card-link {
|
|
822
|
+
@include clay-link($active-card-link);
|
|
823
|
+
}
|
|
735
824
|
}
|
|
736
825
|
}
|
|
737
826
|
}
|
|
738
827
|
|
|
739
|
-
|
|
740
|
-
&.active {
|
|
741
|
-
@include clay-css($active);
|
|
828
|
+
$_disabled: map-get($map, disabled);
|
|
742
829
|
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
830
|
+
@if ($_disabled) {
|
|
831
|
+
&:disabled,
|
|
832
|
+
&.disabled {
|
|
833
|
+
@include clay-css($_disabled);
|
|
746
834
|
|
|
747
|
-
|
|
748
|
-
@include clay-link($active-card-title);
|
|
749
|
-
}
|
|
835
|
+
$_after: map-get($_disabled, after);
|
|
750
836
|
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
837
|
+
@if ($_after) {
|
|
838
|
+
&::after {
|
|
839
|
+
@include clay-css($_after);
|
|
840
|
+
}
|
|
841
|
+
}
|
|
754
842
|
|
|
755
|
-
|
|
756
|
-
|
|
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
|
+
}
|
|
757
874
|
}
|
|
875
|
+
}
|
|
758
876
|
|
|
759
|
-
|
|
760
|
-
|
|
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);
|
|
761
888
|
}
|
|
762
889
|
}
|
|
763
890
|
|
|
764
|
-
|
|
765
|
-
&.disabled {
|
|
766
|
-
@include clay-css(map-get($map, disabled));
|
|
891
|
+
$_after: map-get($map, after);
|
|
767
892
|
|
|
893
|
+
@if ($_after) {
|
|
768
894
|
&::after {
|
|
769
|
-
@include clay-css(
|
|
895
|
+
@include clay-css($_after);
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
|
|
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);
|
|
770
904
|
}
|
|
905
|
+
}
|
|
771
906
|
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
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
|
|
775
921
|
);
|
|
922
|
+
|
|
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
|
+
}
|
|
776
937
|
}
|
|
938
|
+
}
|
|
777
939
|
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
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
|
|
781
946
|
);
|
|
782
947
|
}
|
|
948
|
+
}
|
|
783
949
|
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
950
|
+
$_aspect-ratio-item-top-left: map-get(
|
|
951
|
+
$map,
|
|
952
|
+
aspect-ratio-item-top-left
|
|
953
|
+
);
|
|
787
954
|
|
|
788
|
-
|
|
789
|
-
|
|
955
|
+
@if ($_aspect-ratio-item-top-left) {
|
|
956
|
+
.aspect-ratio-item-top-left {
|
|
957
|
+
@include clay-css($_aspect-ratio-item-top-left);
|
|
790
958
|
}
|
|
791
959
|
}
|
|
792
960
|
|
|
793
|
-
|
|
794
|
-
|
|
961
|
+
$_aspect-ratio-item-top-center: map-get(
|
|
962
|
+
$map,
|
|
963
|
+
aspect-ratio-item-top-center
|
|
795
964
|
);
|
|
796
965
|
|
|
797
|
-
|
|
798
|
-
|
|
966
|
+
@if ($_aspect-ratio-item-top-center) {
|
|
967
|
+
.aspect-ratio-item-top-center {
|
|
968
|
+
@include clay-css($_aspect-ratio-item-top-center);
|
|
969
|
+
}
|
|
799
970
|
}
|
|
800
971
|
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
972
|
+
$_aspect-ratio-item-top-right: map-get(
|
|
973
|
+
$map,
|
|
974
|
+
aspect-ratio-item-top-right
|
|
975
|
+
);
|
|
804
976
|
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
977
|
+
@if ($_aspect-ratio-item-top-right) {
|
|
978
|
+
.aspect-ratio-item-top-right {
|
|
979
|
+
@include clay-css($_aspect-ratio-item-top-right);
|
|
980
|
+
}
|
|
809
981
|
}
|
|
810
982
|
|
|
811
|
-
|
|
812
|
-
|
|
983
|
+
$_aspect-ratio-item-right-middle: map-get(
|
|
984
|
+
$map,
|
|
985
|
+
aspect-ratio-item-right-middle
|
|
986
|
+
);
|
|
813
987
|
|
|
814
|
-
|
|
815
|
-
|
|
988
|
+
@if ($_aspect-ratio-item-right-middle) {
|
|
989
|
+
.aspect-ratio-item-right-middle {
|
|
990
|
+
@include clay-css($_aspect-ratio-item-right-middle);
|
|
816
991
|
}
|
|
992
|
+
}
|
|
817
993
|
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
);
|
|
823
|
-
}
|
|
994
|
+
$_aspect-ratio-item-bottom-right: map-get(
|
|
995
|
+
$map,
|
|
996
|
+
aspect-ratio-item-bottom-right
|
|
997
|
+
);
|
|
824
998
|
|
|
825
|
-
|
|
826
|
-
|
|
999
|
+
@if ($_aspect-ratio-item-bottom-right) {
|
|
1000
|
+
.aspect-ratio-item-bottom-right {
|
|
1001
|
+
@include clay-css($_aspect-ratio-item-bottom-right);
|
|
827
1002
|
}
|
|
828
1003
|
}
|
|
829
1004
|
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
}
|
|
1005
|
+
$_aspect-ratio-item-bottom-center: map-get(
|
|
1006
|
+
$map,
|
|
1007
|
+
aspect-ratio-item-bottom-center
|
|
1008
|
+
);
|
|
835
1009
|
|
|
836
|
-
|
|
837
|
-
|
|
1010
|
+
@if ($_aspect-ratio-item-bottom-center) {
|
|
1011
|
+
.aspect-ratio-item-bottom-center {
|
|
1012
|
+
@include clay-css($_aspect-ratio-item-bottom-center);
|
|
1013
|
+
}
|
|
838
1014
|
}
|
|
839
1015
|
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
1016
|
+
$_aspect-ratio-item-bottom-left: map-get(
|
|
1017
|
+
$map,
|
|
1018
|
+
aspect-ratio-item-bottom-left
|
|
1019
|
+
);
|
|
843
1020
|
|
|
844
|
-
|
|
845
|
-
|
|
1021
|
+
@if ($_aspect-ratio-item-bottom-left) {
|
|
1022
|
+
.aspect-ratio-item-bottom-left {
|
|
1023
|
+
@include clay-css($_aspect-ratio-item-bottom-left);
|
|
1024
|
+
}
|
|
846
1025
|
}
|
|
847
1026
|
|
|
848
|
-
|
|
849
|
-
@include clay-css(
|
|
850
|
-
map-get($map, aspect-ratio-item-right-middle)
|
|
851
|
-
);
|
|
852
|
-
}
|
|
1027
|
+
$_hr: map-get($map, hr);
|
|
853
1028
|
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
);
|
|
858
|
-
}
|
|
1029
|
+
@if ($_hr) {
|
|
1030
|
+
> hr {
|
|
1031
|
+
@include clay-css($_hr);
|
|
859
1032
|
|
|
860
|
-
|
|
861
|
-
@include clay-css(
|
|
862
|
-
map-get($map, aspect-ratio-item-bottom-center)
|
|
863
|
-
);
|
|
864
|
-
}
|
|
1033
|
+
$_before: map-get($_hr, before);
|
|
865
1034
|
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
1035
|
+
@if ($_before) {
|
|
1036
|
+
&::before {
|
|
1037
|
+
@include clay-css($_before);
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
869
1040
|
|
|
870
|
-
|
|
871
|
-
@include clay-css(map-get($map, hr));
|
|
1041
|
+
$_after: map-get($_hr, after);
|
|
872
1042
|
|
|
873
|
-
|
|
874
|
-
|
|
1043
|
+
@if ($_after) {
|
|
1044
|
+
&::after {
|
|
1045
|
+
@include clay-css($_after);
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
875
1048
|
}
|
|
1049
|
+
}
|
|
876
1050
|
|
|
877
|
-
|
|
878
|
-
|
|
1051
|
+
$_sticker: map-get($map, sticker);
|
|
1052
|
+
|
|
1053
|
+
@if ($_sticker) {
|
|
1054
|
+
.sticker {
|
|
1055
|
+
@include clay-sticker-variant($_sticker);
|
|
879
1056
|
}
|
|
880
1057
|
}
|
|
881
1058
|
|
|
882
|
-
|
|
883
|
-
@include clay-sticker-variant(map-get($map, sticker));
|
|
884
|
-
}
|
|
1059
|
+
$_card: map-get($map, card);
|
|
885
1060
|
|
|
886
|
-
|
|
887
|
-
|
|
1061
|
+
@if ($_card) {
|
|
1062
|
+
.card {
|
|
1063
|
+
@include clay-css($_card);
|
|
1064
|
+
}
|
|
888
1065
|
}
|
|
889
1066
|
|
|
890
|
-
|
|
891
|
-
@include clay-card-section-variant(map-get($map, card-header));
|
|
892
|
-
}
|
|
1067
|
+
$_card-header: map-get($map, card-header);
|
|
893
1068
|
|
|
894
|
-
|
|
895
|
-
|
|
1069
|
+
@if ($_card-header) {
|
|
1070
|
+
.card-header {
|
|
1071
|
+
@include clay-card-section-variant($_card-header);
|
|
1072
|
+
}
|
|
896
1073
|
}
|
|
897
1074
|
|
|
898
|
-
|
|
899
|
-
|
|
1075
|
+
@if (length($card-body) != 0) {
|
|
1076
|
+
.card-body {
|
|
1077
|
+
@include clay-card-section-variant($card-body);
|
|
1078
|
+
}
|
|
900
1079
|
}
|
|
901
1080
|
|
|
902
|
-
|
|
903
|
-
|
|
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
|
+
}
|
|
904
1087
|
}
|
|
905
1088
|
|
|
906
|
-
|
|
907
|
-
|
|
1089
|
+
@if (length($card-row) != 0) {
|
|
1090
|
+
.card-row {
|
|
1091
|
+
@include clay-card-section-variant($card-row);
|
|
1092
|
+
}
|
|
908
1093
|
}
|
|
909
1094
|
|
|
910
|
-
|
|
911
|
-
|
|
1095
|
+
$_card-title: map-get($map, card-title);
|
|
1096
|
+
|
|
1097
|
+
@if ($_card-title) {
|
|
1098
|
+
.card-title {
|
|
1099
|
+
@include clay-link($_card-title);
|
|
1100
|
+
}
|
|
912
1101
|
}
|
|
913
1102
|
|
|
914
|
-
|
|
915
|
-
|
|
1103
|
+
$_card-subtitle: map-get($map, card-subtitle);
|
|
1104
|
+
|
|
1105
|
+
@if ($_card-subtitle) {
|
|
1106
|
+
.card-subtitle {
|
|
1107
|
+
@include clay-link($_card-subtitle);
|
|
1108
|
+
}
|
|
916
1109
|
}
|
|
917
1110
|
|
|
918
|
-
|
|
919
|
-
|
|
1111
|
+
$_card-text: map-get($map, card-text);
|
|
1112
|
+
|
|
1113
|
+
@if ($_card-text) {
|
|
1114
|
+
.card-text {
|
|
1115
|
+
@include clay-link($_card-text);
|
|
1116
|
+
}
|
|
920
1117
|
}
|
|
921
1118
|
|
|
922
|
-
|
|
923
|
-
|
|
1119
|
+
$_card-link: map-get($map, card-link);
|
|
1120
|
+
|
|
1121
|
+
@if ($_card-link) {
|
|
1122
|
+
.card-link {
|
|
1123
|
+
@include clay-link($_card-link);
|
|
1124
|
+
}
|
|
924
1125
|
}
|
|
925
1126
|
|
|
926
|
-
|
|
927
|
-
@include clay-css($card-type-asset-icon);
|
|
1127
|
+
$_card-divider: map-get($map, card-divider);
|
|
928
1128
|
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
);
|
|
1129
|
+
@if ($_card-divider) {
|
|
1130
|
+
.card-divider {
|
|
1131
|
+
@include clay-css($_card-divider);
|
|
933
1132
|
}
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
@if (length($card-type-asset-icon) != 0) {
|
|
1136
|
+
.card-type-asset-icon {
|
|
1137
|
+
@include clay-css($card-type-asset-icon);
|
|
1138
|
+
|
|
1139
|
+
$_inline-item: map-get($card-type-asset-icon, inline-item);
|
|
934
1140
|
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
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
|
|
938
1150
|
);
|
|
939
|
-
}
|
|
940
1151
|
|
|
941
|
-
|
|
942
|
-
|
|
1152
|
+
@if ($_lexicon-icon) {
|
|
1153
|
+
> .lexicon-icon {
|
|
1154
|
+
@include clay-css($_lexicon-icon);
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
@if (length($card-type-asset-icon-sticker) != 0) {
|
|
1159
|
+
> .sticker {
|
|
1160
|
+
@include clay-css($card-type-asset-icon-sticker);
|
|
943
1161
|
|
|
944
|
-
|
|
945
|
-
@include clay-css(
|
|
946
|
-
map-get(
|
|
1162
|
+
$_sticker-overlay: map-get(
|
|
947
1163
|
$card-type-asset-icon-sticker,
|
|
948
1164
|
sticker-overlay
|
|
949
|
-
)
|
|
950
|
-
|
|
1165
|
+
);
|
|
1166
|
+
|
|
1167
|
+
@if ($_sticker-overlay) {
|
|
1168
|
+
}
|
|
1169
|
+
.sticker-overlay {
|
|
1170
|
+
@include clay-css($_sticker-overlay);
|
|
1171
|
+
}
|
|
1172
|
+
}
|
|
951
1173
|
}
|
|
952
1174
|
}
|
|
953
1175
|
}
|
|
954
1176
|
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
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
|
+
}
|
|
961
1193
|
}
|
|
962
|
-
}
|
|
963
1194
|
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
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
|
+
}
|
|
969
1207
|
}
|
|
970
|
-
}
|
|
971
1208
|
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
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
|
+
}
|
|
977
1221
|
}
|
|
978
|
-
}
|
|
979
1222
|
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
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
|
+
}
|
|
986
1236
|
}
|
|
987
|
-
}
|
|
988
1237
|
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
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
|
+
}
|
|
994
1250
|
}
|
|
995
|
-
}
|
|
996
1251
|
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
card
|
|
1005
|
-
|
|
1006
|
-
|
|
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
|
+
}
|
|
1007
1264
|
}
|
|
1008
1265
|
}
|
|
1009
1266
|
}
|
|
1010
1267
|
|
|
1011
|
-
|
|
1012
|
-
|
|
1268
|
+
@if (length($dropdown-action) != 0) {
|
|
1269
|
+
.dropdown-action {
|
|
1270
|
+
@include clay-button-variant($dropdown-action);
|
|
1271
|
+
}
|
|
1013
1272
|
}
|
|
1014
1273
|
}
|
|
1015
1274
|
}
|
|
@@ -1228,7 +1487,9 @@
|
|
|
1228
1487
|
|
|
1229
1488
|
@if ($enabled) {
|
|
1230
1489
|
.aspect-ratio {
|
|
1231
|
-
@
|
|
1490
|
+
@if (length($aspect-ratio) != 0) {
|
|
1491
|
+
@include clay-css($aspect-ratio);
|
|
1492
|
+
}
|
|
1232
1493
|
|
|
1233
1494
|
@if ($aspect-ratio-horizontal and $aspect-ratio-vertical) {
|
|
1234
1495
|
@include clay-aspect-ratio(
|
|
@@ -1248,16 +1509,22 @@
|
|
|
1248
1509
|
}
|
|
1249
1510
|
}
|
|
1250
1511
|
|
|
1251
|
-
|
|
1252
|
-
|
|
1512
|
+
@if (length($card-body) != 0) {
|
|
1513
|
+
.card-body {
|
|
1514
|
+
@include clay-css($card-body);
|
|
1515
|
+
}
|
|
1253
1516
|
}
|
|
1254
1517
|
|
|
1255
|
-
|
|
1256
|
-
|
|
1518
|
+
@if (length($card-row) != 0) {
|
|
1519
|
+
.card-row {
|
|
1520
|
+
@include clay-css($card-row);
|
|
1521
|
+
}
|
|
1257
1522
|
}
|
|
1258
1523
|
|
|
1259
1524
|
.card-type-asset-icon {
|
|
1260
|
-
@
|
|
1525
|
+
@if (length($card-type-asset-icon) != 0) {
|
|
1526
|
+
@include clay-css($card-type-asset-icon);
|
|
1527
|
+
}
|
|
1261
1528
|
|
|
1262
1529
|
.inline-item {
|
|
1263
1530
|
bottom: 0;
|
|
@@ -1272,19 +1539,28 @@
|
|
|
1272
1539
|
width: 100%;
|
|
1273
1540
|
}
|
|
1274
1541
|
|
|
1275
|
-
|
|
1276
|
-
|
|
1542
|
+
@if (length($card-type-asset-icon-sticker) != 0) {
|
|
1543
|
+
> .sticker {
|
|
1544
|
+
@include clay-css($card-type-asset-icon-sticker);
|
|
1545
|
+
}
|
|
1277
1546
|
}
|
|
1278
1547
|
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
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
|
+
}
|
|
1283
1557
|
}
|
|
1284
1558
|
}
|
|
1285
1559
|
|
|
1286
|
-
|
|
1287
|
-
|
|
1560
|
+
@if (length($dropdown-action) != 0) {
|
|
1561
|
+
.dropdown-action {
|
|
1562
|
+
@include clay-css($dropdown-action);
|
|
1563
|
+
}
|
|
1288
1564
|
}
|
|
1289
1565
|
}
|
|
1290
1566
|
}
|
|
@@ -1378,21 +1654,29 @@
|
|
|
1378
1654
|
);
|
|
1379
1655
|
|
|
1380
1656
|
@if ($enabled) {
|
|
1381
|
-
@
|
|
1657
|
+
@if (length($map) != 0) {
|
|
1658
|
+
@include clay-css($map);
|
|
1659
|
+
}
|
|
1382
1660
|
|
|
1383
1661
|
.aspect-ratio {
|
|
1384
|
-
@
|
|
1662
|
+
@if (length($aspect-ratio) != 0) {
|
|
1663
|
+
@include clay-css($aspect-ratio);
|
|
1664
|
+
}
|
|
1385
1665
|
|
|
1386
1666
|
@if ($aspect-ratio-checkered-fg) {
|
|
1387
1667
|
@include clay-bg-checkered($aspect-ratio-checkered-fg);
|
|
1388
1668
|
}
|
|
1389
1669
|
}
|
|
1390
1670
|
|
|
1391
|
-
|
|
1392
|
-
|
|
1671
|
+
@if (length($asset-icon) != 0) {
|
|
1672
|
+
.card-type-asset-icon {
|
|
1673
|
+
@include clay-css($asset-icon);
|
|
1393
1674
|
|
|
1394
|
-
|
|
1395
|
-
|
|
1675
|
+
@if (length($asset-icon-lexicon-icon) != 0) {
|
|
1676
|
+
.lexicon-icon {
|
|
1677
|
+
@include clay-css($asset-icon-lexicon-icon);
|
|
1678
|
+
}
|
|
1679
|
+
}
|
|
1396
1680
|
}
|
|
1397
1681
|
}
|
|
1398
1682
|
}
|
|
@@ -1502,18 +1786,26 @@
|
|
|
1502
1786
|
);
|
|
1503
1787
|
|
|
1504
1788
|
@if ($enabled) {
|
|
1505
|
-
@
|
|
1789
|
+
@if (length($base) != 0) {
|
|
1790
|
+
@include clay-css($base);
|
|
1791
|
+
}
|
|
1506
1792
|
|
|
1507
|
-
|
|
1508
|
-
|
|
1793
|
+
@if (length($card-body) != 0) {
|
|
1794
|
+
.card-body {
|
|
1795
|
+
@include clay-css($card-body);
|
|
1796
|
+
}
|
|
1509
1797
|
}
|
|
1510
1798
|
|
|
1511
|
-
|
|
1512
|
-
|
|
1799
|
+
@if (length($dropdown-action) != 0) {
|
|
1800
|
+
.dropdown-action {
|
|
1801
|
+
@include clay-css($dropdown-action);
|
|
1802
|
+
}
|
|
1513
1803
|
}
|
|
1514
1804
|
|
|
1515
|
-
|
|
1516
|
-
|
|
1805
|
+
@if (length($sticker) != 0) {
|
|
1806
|
+
.sticker {
|
|
1807
|
+
@include clay-css($sticker);
|
|
1808
|
+
}
|
|
1517
1809
|
}
|
|
1518
1810
|
}
|
|
1519
1811
|
}
|
|
@@ -1580,60 +1872,110 @@
|
|
|
1580
1872
|
$enabled: setter(map-get($map, enabled), true);
|
|
1581
1873
|
|
|
1582
1874
|
@if ($enabled) {
|
|
1583
|
-
@
|
|
1875
|
+
@if (length($map) != 0) {
|
|
1876
|
+
@include clay-css($map);
|
|
1877
|
+
}
|
|
1584
1878
|
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
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
|
+
}
|
|
1588
1890
|
}
|
|
1589
1891
|
}
|
|
1590
1892
|
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
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
|
+
}
|
|
1594
1904
|
}
|
|
1595
1905
|
}
|
|
1596
1906
|
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
);
|
|
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
|
+
}
|
|
1602
1918
|
}
|
|
1603
1919
|
}
|
|
1604
1920
|
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
);
|
|
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
|
+
}
|
|
1610
1932
|
}
|
|
1611
1933
|
}
|
|
1612
1934
|
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
);
|
|
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
|
+
}
|
|
1618
1946
|
}
|
|
1619
1947
|
}
|
|
1620
1948
|
|
|
1621
|
-
|
|
1622
|
-
|
|
1949
|
+
$_card: map-get($map, card);
|
|
1950
|
+
|
|
1951
|
+
@if ($_card) {
|
|
1952
|
+
.card {
|
|
1953
|
+
@include clay-card-variant($_card);
|
|
1954
|
+
}
|
|
1623
1955
|
}
|
|
1624
1956
|
|
|
1625
|
-
|
|
1626
|
-
|
|
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
|
+
}
|
|
1627
1963
|
}
|
|
1628
1964
|
|
|
1629
|
-
|
|
1630
|
-
|
|
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
|
+
}
|
|
1631
1971
|
}
|
|
1632
1972
|
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
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
|
+
}
|
|
1637
1979
|
}
|
|
1638
1980
|
}
|
|
1639
1981
|
}
|