@clayui/css 3.84.0 → 3.86.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 +230 -160
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +213 -132
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +182 -113
- 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/_alerts.scss +2 -2
- package/src/scss/atlas/variables/_custom-forms.scss +1 -1
- package/src/scss/atlas/variables/_forms.scss +6 -7
- package/src/scss/atlas/variables/_links.scss +5 -0
- package/src/scss/atlas/variables/_pagination.scss +3 -3
- package/src/scss/cadmin/components/_links.scss +4 -0
- package/src/scss/cadmin/components/_utilities-functional-important.scss +12 -2
- package/src/scss/cadmin/variables/_globals.scss +11 -0
- package/src/scss/cadmin/variables/_links.scss +35 -1
- package/src/scss/cadmin/variables/_navigation-bar.scss +2 -0
- package/src/scss/cadmin/variables/_utilities.scss +13 -0
- package/src/scss/components/_links.scss +4 -0
- package/src/scss/components/_utilities-functional-important.scss +12 -2
- package/src/scss/mixins/_forms.scss +82 -58
- package/src/scss/mixins/_links.scss +18 -1
- package/src/scss/variables/_empty-state.scss +2 -4
- package/src/scss/variables/_globals.scss +11 -0
- package/src/scss/variables/_links.scss +36 -1
- package/src/scss/variables/_navigation-bar.scss +6 -0
- package/src/scss/variables/_pagination.scss +1 -1
- package/src/scss/variables/_utilities.scss +13 -0
|
@@ -874,12 +874,16 @@
|
|
|
874
874
|
@include clay-css($hover);
|
|
875
875
|
|
|
876
876
|
> option {
|
|
877
|
-
|
|
877
|
+
$hover-option: setter(map-get($hover, option), ());
|
|
878
|
+
|
|
879
|
+
@include clay-css($hover-option);
|
|
880
|
+
|
|
881
|
+
&:hover {
|
|
882
|
+
@include clay-css(map-get($hover-option, hover));
|
|
883
|
+
}
|
|
878
884
|
|
|
879
885
|
&:checked {
|
|
880
|
-
@include clay-css(
|
|
881
|
-
map-deep-get($hover, option, checked)
|
|
882
|
-
);
|
|
886
|
+
@include clay-css(map-get($hover-option, checked));
|
|
883
887
|
}
|
|
884
888
|
}
|
|
885
889
|
}
|
|
@@ -889,12 +893,16 @@
|
|
|
889
893
|
@include clay-css($focus);
|
|
890
894
|
|
|
891
895
|
> option {
|
|
892
|
-
|
|
896
|
+
$focus-option: setter(map-get($focus, option), ());
|
|
897
|
+
|
|
898
|
+
@include clay-css($focus-option);
|
|
899
|
+
|
|
900
|
+
&:hover {
|
|
901
|
+
@include clay-css(map-get($focus-option, hover));
|
|
902
|
+
}
|
|
893
903
|
|
|
894
904
|
&:checked {
|
|
895
|
-
@include clay-css(
|
|
896
|
-
map-deep-get($focus, option, checked)
|
|
897
|
-
);
|
|
905
|
+
@include clay-css(map-get($focus-option, checked));
|
|
898
906
|
}
|
|
899
907
|
}
|
|
900
908
|
}
|
|
@@ -954,6 +962,10 @@
|
|
|
954
962
|
> option {
|
|
955
963
|
@include clay-css($disabled-option);
|
|
956
964
|
|
|
965
|
+
&:hover {
|
|
966
|
+
@include clay-css(map-get($disabled-option, hover));
|
|
967
|
+
}
|
|
968
|
+
|
|
957
969
|
&:checked {
|
|
958
970
|
@include clay-css(map-get($disabled-option, checked));
|
|
959
971
|
}
|
|
@@ -965,6 +977,10 @@
|
|
|
965
977
|
|
|
966
978
|
@include clay-css($option);
|
|
967
979
|
|
|
980
|
+
&:hover {
|
|
981
|
+
@include clay-css(map-get($option, hover));
|
|
982
|
+
}
|
|
983
|
+
|
|
968
984
|
&:checked {
|
|
969
985
|
@include clay-css(map-get($option, checked));
|
|
970
986
|
}
|
|
@@ -972,28 +988,33 @@
|
|
|
972
988
|
|
|
973
989
|
@if (map-get($map, firefox-only)) {
|
|
974
990
|
@-moz-document url-prefix() {
|
|
975
|
-
|
|
991
|
+
$ff-only: setter(map-get($map, firefox-only), ());
|
|
992
|
+
|
|
993
|
+
@include clay-css($ff-only);
|
|
976
994
|
|
|
977
995
|
&:hover,
|
|
978
996
|
&.hover {
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
);
|
|
997
|
+
$ff-only-hover: setter(map-get($ff-only, hover), ());
|
|
998
|
+
|
|
999
|
+
@include clay-css($ff-only-hover);
|
|
982
1000
|
|
|
983
1001
|
> option {
|
|
984
|
-
|
|
985
|
-
map-
|
|
1002
|
+
$ff-only-hover-option: setter(
|
|
1003
|
+
map-get($ff-only-hover, option),
|
|
1004
|
+
()
|
|
986
1005
|
);
|
|
987
1006
|
|
|
1007
|
+
@include clay-css($ff-only-hover-option);
|
|
1008
|
+
|
|
1009
|
+
&:hover {
|
|
1010
|
+
@include clay-css(
|
|
1011
|
+
map-get($ff-only-hover-option, hover)
|
|
1012
|
+
);
|
|
1013
|
+
}
|
|
1014
|
+
|
|
988
1015
|
&:checked {
|
|
989
1016
|
@include clay-css(
|
|
990
|
-
map-
|
|
991
|
-
$map,
|
|
992
|
-
firefox-only,
|
|
993
|
-
hover,
|
|
994
|
-
option,
|
|
995
|
-
checked
|
|
996
|
-
)
|
|
1017
|
+
map-get($ff-only-hover-option, checked)
|
|
997
1018
|
);
|
|
998
1019
|
}
|
|
999
1020
|
}
|
|
@@ -1001,24 +1022,27 @@
|
|
|
1001
1022
|
|
|
1002
1023
|
&:focus,
|
|
1003
1024
|
&.focus {
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
);
|
|
1025
|
+
$ff-only-focus: setter(map-get($ff-only, focus), ());
|
|
1026
|
+
|
|
1027
|
+
@include clay-css($ff-only-focus);
|
|
1007
1028
|
|
|
1008
1029
|
> option {
|
|
1009
|
-
|
|
1010
|
-
map-
|
|
1030
|
+
$ff-only-focus-option: setter(
|
|
1031
|
+
map-get($ff-only-focus, option),
|
|
1032
|
+
()
|
|
1011
1033
|
);
|
|
1012
1034
|
|
|
1035
|
+
@include clay-css($ff-only-focus-option);
|
|
1036
|
+
|
|
1037
|
+
&:hover {
|
|
1038
|
+
@include clay-css(
|
|
1039
|
+
map-get($ff-only-focus-option, hover)
|
|
1040
|
+
);
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1013
1043
|
&:checked {
|
|
1014
1044
|
@include clay-css(
|
|
1015
|
-
map-
|
|
1016
|
-
$map,
|
|
1017
|
-
firefox-only,
|
|
1018
|
-
focus,
|
|
1019
|
-
option,
|
|
1020
|
-
checked
|
|
1021
|
-
)
|
|
1045
|
+
map-get($ff-only-focus-option, checked)
|
|
1022
1046
|
);
|
|
1023
1047
|
}
|
|
1024
1048
|
}
|
|
@@ -1026,47 +1050,47 @@
|
|
|
1026
1050
|
|
|
1027
1051
|
&:disabled,
|
|
1028
1052
|
&.disabled {
|
|
1029
|
-
|
|
1030
|
-
map-
|
|
1053
|
+
$ff-only-disabled: setter(
|
|
1054
|
+
map-get($ff-only, disabled),
|
|
1055
|
+
()
|
|
1031
1056
|
);
|
|
1032
1057
|
|
|
1058
|
+
@include clay-css($ff-only-disabled);
|
|
1059
|
+
|
|
1033
1060
|
> option {
|
|
1034
|
-
|
|
1035
|
-
map-
|
|
1036
|
-
|
|
1037
|
-
firefox-only,
|
|
1038
|
-
disabled,
|
|
1039
|
-
option
|
|
1040
|
-
)
|
|
1061
|
+
$ff-only-disabled-option: setter(
|
|
1062
|
+
map-get($ff-only-disabled, option),
|
|
1063
|
+
()
|
|
1041
1064
|
);
|
|
1042
1065
|
|
|
1066
|
+
@include clay-css($ff-only-disabled-option);
|
|
1067
|
+
|
|
1068
|
+
&:hover {
|
|
1069
|
+
@include clay-css(
|
|
1070
|
+
map-get($ff-only-disabled-option, hover)
|
|
1071
|
+
);
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1043
1074
|
&:checked {
|
|
1044
1075
|
@include clay-css(
|
|
1045
|
-
map-
|
|
1046
|
-
$map,
|
|
1047
|
-
firefox-only,
|
|
1048
|
-
disabled,
|
|
1049
|
-
option,
|
|
1050
|
-
checked
|
|
1051
|
-
)
|
|
1076
|
+
map-get($ff-only-disabled-option, checked)
|
|
1052
1077
|
);
|
|
1053
1078
|
}
|
|
1054
1079
|
}
|
|
1055
1080
|
}
|
|
1056
1081
|
|
|
1057
1082
|
option {
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
);
|
|
1083
|
+
$ff-only-option: setter(map-get($ff-only, option), ());
|
|
1084
|
+
|
|
1085
|
+
@include clay-css($ff-only-option);
|
|
1086
|
+
|
|
1087
|
+
&:hover {
|
|
1088
|
+
@include clay-css(map-get($ff-only-option, hover));
|
|
1089
|
+
}
|
|
1061
1090
|
|
|
1062
1091
|
&:checked {
|
|
1063
1092
|
@include clay-css(
|
|
1064
|
-
map-
|
|
1065
|
-
$map,
|
|
1066
|
-
firefox-only,
|
|
1067
|
-
option,
|
|
1068
|
-
checked
|
|
1069
|
-
)
|
|
1093
|
+
map-get($ff-only-option, checked)
|
|
1070
1094
|
);
|
|
1071
1095
|
}
|
|
1072
1096
|
}
|
|
@@ -628,7 +628,8 @@
|
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
630
|
|
|
631
|
-
&:hover
|
|
631
|
+
&:hover,
|
|
632
|
+
&.hover {
|
|
632
633
|
@include clay-css($hover);
|
|
633
634
|
|
|
634
635
|
&::before {
|
|
@@ -846,6 +847,22 @@
|
|
|
846
847
|
.lexicon-icon {
|
|
847
848
|
@include clay-css($lexicon-icon);
|
|
848
849
|
}
|
|
850
|
+
|
|
851
|
+
$c-link-variants: map-get($map, c-link-variants);
|
|
852
|
+
|
|
853
|
+
@if ($c-link-variants) {
|
|
854
|
+
@each $key, $value in $c-link-variants {
|
|
855
|
+
$selector: if(
|
|
856
|
+
starts-with($key, '.') or starts-with($key, '#'),
|
|
857
|
+
$key,
|
|
858
|
+
str-insert($key, '.', 1)
|
|
859
|
+
);
|
|
860
|
+
|
|
861
|
+
&#{$selector} {
|
|
862
|
+
@include clay-link($value);
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
}
|
|
849
866
|
}
|
|
850
867
|
}
|
|
851
868
|
}
|
|
@@ -3,9 +3,7 @@ $c-empty-state: () !default;
|
|
|
3
3
|
$c-empty-state-animation: () !default;
|
|
4
4
|
$c-empty-state-animation: map-deep-merge(
|
|
5
5
|
(
|
|
6
|
-
|
|
7
|
-
display: flex,
|
|
8
|
-
flex-direction: column,
|
|
6
|
+
display: block,
|
|
9
7
|
margin: 5rem auto 1.5rem,
|
|
10
8
|
max-width: 340px,
|
|
11
9
|
text-align: center,
|
|
@@ -16,7 +14,7 @@ $c-empty-state-animation: map-deep-merge(
|
|
|
16
14
|
$c-empty-state-image: () !default;
|
|
17
15
|
$c-empty-state-image: map-deep-merge(
|
|
18
16
|
(
|
|
19
|
-
margin
|
|
17
|
+
margin: 0 auto 2rem,
|
|
20
18
|
max-width: 250px,
|
|
21
19
|
width: 100%,
|
|
22
20
|
word-wrap: break-word,
|
|
@@ -579,10 +579,21 @@ $link: map-deep-merge(
|
|
|
579
579
|
(
|
|
580
580
|
color: $link-color,
|
|
581
581
|
text-decoration: $link-decoration,
|
|
582
|
+
text-underline-offset: 0.23em,
|
|
582
583
|
hover: (
|
|
583
584
|
color: $link-hover-color,
|
|
584
585
|
text-decoration: $link-hover-decoration,
|
|
585
586
|
),
|
|
587
|
+
inline-item-before: (
|
|
588
|
+
margin-right: 0.25rem,
|
|
589
|
+
),
|
|
590
|
+
inline-item-middle: (
|
|
591
|
+
margin-left: 0.25rem,
|
|
592
|
+
margin-right: 0.25rem,
|
|
593
|
+
),
|
|
594
|
+
inline-item-after: (
|
|
595
|
+
margin-left: 0.25rem,
|
|
596
|
+
),
|
|
586
597
|
),
|
|
587
598
|
$link
|
|
588
599
|
);
|
|
@@ -2,7 +2,40 @@
|
|
|
2
2
|
/// @group Links
|
|
3
3
|
////
|
|
4
4
|
|
|
5
|
-
$
|
|
5
|
+
$c-link: () !default;
|
|
6
|
+
$c-link: map-deep-merge(
|
|
7
|
+
(
|
|
8
|
+
text-decoration: none,
|
|
9
|
+
transition: clay-enable-transitions(box-shadow 0.15s ease-in-out),
|
|
10
|
+
hover: (
|
|
11
|
+
text-decoration: none,
|
|
12
|
+
),
|
|
13
|
+
focus: (
|
|
14
|
+
border-radius: 1px,
|
|
15
|
+
box-shadow: $component-focus-box-shadow,
|
|
16
|
+
outline: 0,
|
|
17
|
+
),
|
|
18
|
+
c-link-variants: (
|
|
19
|
+
text-secondary: (
|
|
20
|
+
color: $gray-900 !important,
|
|
21
|
+
hover: (
|
|
22
|
+
color: $black !important,
|
|
23
|
+
),
|
|
24
|
+
focus: (
|
|
25
|
+
color: $black !important,
|
|
26
|
+
),
|
|
27
|
+
),
|
|
28
|
+
text-tertiary: (
|
|
29
|
+
color: $gray-900 !important,
|
|
30
|
+
hover: (
|
|
31
|
+
color: $black !important,
|
|
32
|
+
text-decoration: underline,
|
|
33
|
+
),
|
|
34
|
+
),
|
|
35
|
+
),
|
|
36
|
+
),
|
|
37
|
+
$c-link
|
|
38
|
+
);
|
|
6
39
|
|
|
7
40
|
$component-link: () !default;
|
|
8
41
|
$component-link: map-deep-merge(
|
|
@@ -37,6 +70,8 @@ $link-secondary: map-deep-merge(
|
|
|
37
70
|
$link-secondary
|
|
38
71
|
);
|
|
39
72
|
|
|
73
|
+
$single-link-font-weight: $font-weight-semi-bold !default;
|
|
74
|
+
|
|
40
75
|
// Link Outline
|
|
41
76
|
|
|
42
77
|
/// @deprecated as of v3.4.0 use the Sass map `$link-outline` instead
|
|
@@ -57,7 +57,7 @@ $pagination-link-border-radius: 0px !default;
|
|
|
57
57
|
|
|
58
58
|
/// @deprecated as of v2 use the Sass map `$pagination-link` instead
|
|
59
59
|
|
|
60
|
-
$pagination-link-cursor:
|
|
60
|
+
$pagination-link-cursor: pointer !default;
|
|
61
61
|
|
|
62
62
|
/// @deprecated as of v2 use the Sass map `$pagination-link` instead
|
|
63
63
|
|
|
@@ -512,3 +512,16 @@ $text-theme-colors: map-deep-merge(
|
|
|
512
512
|
),
|
|
513
513
|
$text-theme-colors
|
|
514
514
|
);
|
|
515
|
+
|
|
516
|
+
$text-decorations: () !default;
|
|
517
|
+
$text-decorations: map-deep-merge(
|
|
518
|
+
(
|
|
519
|
+
'.text-none, .text-decoration-none': (
|
|
520
|
+
text-decoration: none !important,
|
|
521
|
+
),
|
|
522
|
+
'.text-underline, .text-decoration-underline': (
|
|
523
|
+
text-decoration: underline !important,
|
|
524
|
+
),
|
|
525
|
+
),
|
|
526
|
+
$text-decorations
|
|
527
|
+
);
|