@clayui/css 3.64.0 → 3.65.1
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 +19 -41
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +20 -41
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +54 -14
- 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 +1 -0
- package/src/scss/atlas/variables/_globals.scss +1 -1
- package/src/scss/cadmin/components/_alerts.scss +26 -6
- package/src/scss/cadmin/components/_aspect-ratio.scss +29 -14
- package/src/scss/cadmin/components/_badges.scss +26 -6
- package/src/scss/cadmin/components/_buttons.scss +129 -63
- package/src/scss/cadmin/components/_labels.scss +52 -12
- package/src/scss/cadmin/components/_popovers.scss +12 -4
- package/src/scss/cadmin/components/_print.scss +3 -3
- package/src/scss/cadmin/components/_reboot.scss +3 -3
- package/src/scss/cadmin/components/_stickers.scss +52 -12
- package/src/scss/cadmin/components/_utilities-functional-important.scss +49 -62
- package/src/scss/cadmin/components/_utilities.scss +7 -6
- package/src/scss/cadmin/variables/_alerts.scss +2 -0
- package/src/scss/cadmin/variables/_buttons.scss +23 -0
- package/src/scss/cadmin/variables/_globals.scss +1 -1
- package/src/scss/cadmin/variables/_utilities.scss +309 -0
- package/src/scss/components/_alerts.scss +25 -5
- package/src/scss/components/_aspect-ratio.scss +29 -14
- package/src/scss/components/_badges.scss +25 -5
- package/src/scss/components/_buttons.scss +98 -70
- package/src/scss/components/_labels.scss +50 -10
- package/src/scss/components/_popovers.scss +12 -4
- package/src/scss/components/_print.scss +3 -3
- package/src/scss/components/_reboot.scss +3 -3
- package/src/scss/components/_sidebar.scss +3 -1
- package/src/scss/components/_stickers.scss +50 -10
- package/src/scss/components/_utilities-functional-important.scss +40 -18
- package/src/scss/components/_utilities.scss +7 -6
- package/src/scss/functions/_global-functions.scss +9 -9
- package/src/scss/functions/_type-conversion-functions.scss +6 -6
- package/src/scss/mixins/_globals.scss +2 -0
- package/src/scss/mixins/_utilities.scss +6 -6
- package/src/scss/variables/_alerts.scss +3 -0
- package/src/scss/variables/_globals.scss +1 -1
- package/src/scss/variables/_utilities.scss +22 -0
|
@@ -93,23 +93,63 @@
|
|
|
93
93
|
// Label Sizes
|
|
94
94
|
|
|
95
95
|
@each $selector, $value in $label-sizes {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
$selector: if(
|
|
97
|
+
starts-with($selector, '.') or
|
|
98
|
+
starts-with($selector, '#') or
|
|
99
|
+
starts-with($selector, '%'),
|
|
100
|
+
$selector,
|
|
101
|
+
str-insert($selector, '.', 1)
|
|
102
|
+
);
|
|
103
|
+
|
|
104
|
+
@if (starts-with($selector, '%') or map-get($value, extend)) {
|
|
105
|
+
#{$selector} {
|
|
106
|
+
@include clay-label-variant($value);
|
|
107
|
+
}
|
|
108
|
+
} @else {
|
|
109
|
+
$placeholder: if(
|
|
110
|
+
starts-with($selector, '.') or starts-with($selector, '#'),
|
|
111
|
+
'%#{str-slice($selector, 2)}',
|
|
112
|
+
'%#{$selector}'
|
|
113
|
+
);
|
|
99
114
|
|
|
100
|
-
|
|
101
|
-
|
|
115
|
+
#{$placeholder} {
|
|
116
|
+
@include clay-label-variant($value);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
#{$selector} {
|
|
120
|
+
@extend #{$placeholder} !optional;
|
|
121
|
+
}
|
|
102
122
|
}
|
|
103
123
|
}
|
|
104
124
|
|
|
105
125
|
// Label Variants
|
|
106
126
|
|
|
107
127
|
@each $color, $value in $label-palette {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
128
|
+
$selector: if(
|
|
129
|
+
starts-with($color, '.') or
|
|
130
|
+
starts-with($color, '#') or
|
|
131
|
+
starts-with($color, '%'),
|
|
132
|
+
$color,
|
|
133
|
+
str-insert($color, '.label-', 1)
|
|
134
|
+
);
|
|
135
|
+
|
|
136
|
+
@if (starts-with($color, '%') or map-get($value, extend)) {
|
|
137
|
+
#{$selector} {
|
|
138
|
+
@include clay-label-variant($value);
|
|
139
|
+
}
|
|
140
|
+
} @else {
|
|
141
|
+
$placeholder: if(
|
|
142
|
+
starts-with($color, '.') or starts-with($color, '#'),
|
|
143
|
+
'%#{str-slice($color, 2)}',
|
|
144
|
+
'%label-#{$color}'
|
|
145
|
+
);
|
|
111
146
|
|
|
112
|
-
|
|
113
|
-
|
|
147
|
+
#{$placeholder} {
|
|
148
|
+
@include clay-label-variant($value);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
#{$selector} {
|
|
152
|
+
@extend #{$placeholder} !optional;
|
|
153
|
+
}
|
|
114
154
|
}
|
|
115
155
|
}
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
@each $selector, $value in $popovers {
|
|
4
4
|
$selector: if(
|
|
5
|
-
starts-with($selector, '.') or
|
|
5
|
+
starts-with($selector, '.') or
|
|
6
|
+
starts-with($selector, '#') or
|
|
7
|
+
starts-with($selector, '%'),
|
|
6
8
|
$selector,
|
|
7
9
|
str-insert($selector, '.', 1)
|
|
8
10
|
);
|
|
@@ -149,7 +151,9 @@
|
|
|
149
151
|
|
|
150
152
|
@each $selector, $value in $popover-headers {
|
|
151
153
|
$selector: if(
|
|
152
|
-
starts-with($selector, '.') or
|
|
154
|
+
starts-with($selector, '.') or
|
|
155
|
+
starts-with($selector, '#') or
|
|
156
|
+
starts-with($selector, '%'),
|
|
153
157
|
$selector,
|
|
154
158
|
str-insert($selector, '.', 1)
|
|
155
159
|
);
|
|
@@ -163,7 +167,9 @@
|
|
|
163
167
|
|
|
164
168
|
@each $selector, $value in $popover-bodies {
|
|
165
169
|
$selector: if(
|
|
166
|
-
starts-with($selector, '.') or
|
|
170
|
+
starts-with($selector, '.') or
|
|
171
|
+
starts-with($selector, '#') or
|
|
172
|
+
starts-with($selector, '%'),
|
|
167
173
|
$selector,
|
|
168
174
|
str-insert($selector, '.', 1)
|
|
169
175
|
);
|
|
@@ -177,7 +183,9 @@
|
|
|
177
183
|
|
|
178
184
|
@each $selector, $value in $popover-widths {
|
|
179
185
|
$selector: if(
|
|
180
|
-
starts-with($selector, '.') or
|
|
186
|
+
starts-with($selector, '.') or
|
|
187
|
+
starts-with($selector, '#') or
|
|
188
|
+
starts-with($selector, '%'),
|
|
181
189
|
$selector,
|
|
182
190
|
str-insert($selector, '.', 1)
|
|
183
191
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* SPDX-SnippetBegin
|
|
2
2
|
* SPDX-License-Identifier: MIT
|
|
3
|
-
* SPDX-
|
|
3
|
+
* SPDX-SnippetCopyrightText: © 2018 HTML5 Boilerplate <https://github.com/h5bp/main.css>
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
@if $enable-print-styles {
|
|
@@ -120,4 +120,4 @@
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
/*
|
|
123
|
+
/* SPDX-SnippetEnd */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* SPDX-SnippetBegin
|
|
2
2
|
* SPDX-License-Identifier: MIT
|
|
3
|
-
* SPDX-
|
|
3
|
+
* SPDX-SnippetCopyrightText: © 2016 Nicolas Gallagher and Jonathan Neal <https://github.com/necolas/normalize.css>
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
*,
|
|
@@ -323,4 +323,4 @@ template {
|
|
|
323
323
|
display: none !important;
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
/*
|
|
326
|
+
/* SPDX-SnippetEnd */
|
|
@@ -112,7 +112,9 @@
|
|
|
112
112
|
|
|
113
113
|
@each $color, $value in $sidebar-palette {
|
|
114
114
|
$selector: if(
|
|
115
|
-
starts-with($color, '.') or
|
|
115
|
+
starts-with($color, '.') or
|
|
116
|
+
starts-with($color, '#') or
|
|
117
|
+
starts-with($color, '%'),
|
|
116
118
|
$color,
|
|
117
119
|
str-insert($color, '.', 1)
|
|
118
120
|
);
|
|
@@ -66,24 +66,64 @@
|
|
|
66
66
|
// Sticker Sizes
|
|
67
67
|
|
|
68
68
|
@each $selector, $value in $sticker-sizes {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
$selector: if(
|
|
70
|
+
starts-with($selector, '.') or
|
|
71
|
+
starts-with($selector, '#') or
|
|
72
|
+
starts-with($selector, '%'),
|
|
73
|
+
$selector,
|
|
74
|
+
str-insert($selector, '.', 1)
|
|
75
|
+
);
|
|
76
|
+
|
|
77
|
+
@if (starts-with($selector, '%') or map-get($value, extend)) {
|
|
78
|
+
#{$selector} {
|
|
79
|
+
@include clay-sticker-variant($value);
|
|
80
|
+
}
|
|
81
|
+
} @else {
|
|
82
|
+
$placeholder: if(
|
|
83
|
+
starts-with($selector, '.') or starts-with($selector, '#'),
|
|
84
|
+
'%#{str-slice($selector, 2)}',
|
|
85
|
+
'%#{$selector}'
|
|
86
|
+
);
|
|
87
|
+
|
|
88
|
+
#{$placeholder} {
|
|
89
|
+
@include clay-sticker-variant($value);
|
|
90
|
+
}
|
|
72
91
|
|
|
73
|
-
|
|
74
|
-
|
|
92
|
+
#{$selector} {
|
|
93
|
+
@extend #{$placeholder} !optional;
|
|
94
|
+
}
|
|
75
95
|
}
|
|
76
96
|
}
|
|
77
97
|
|
|
78
98
|
// Sticker Variants
|
|
79
99
|
|
|
80
100
|
@each $color, $value in $sticker-palette {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
101
|
+
$selector: if(
|
|
102
|
+
starts-with($color, '.') or
|
|
103
|
+
starts-with($color, '#') or
|
|
104
|
+
starts-with($color, '%'),
|
|
105
|
+
$color,
|
|
106
|
+
str-insert($color, '.sticker-', 1)
|
|
107
|
+
);
|
|
108
|
+
|
|
109
|
+
@if (starts-with($color, '%') or map-get($value, extend)) {
|
|
110
|
+
#{$selector} {
|
|
111
|
+
@include clay-sticker-variant($value);
|
|
112
|
+
}
|
|
113
|
+
} @else {
|
|
114
|
+
$placeholder: if(
|
|
115
|
+
starts-with($color, '.') or starts-with($color, '#'),
|
|
116
|
+
'%#{str-slice($color, 2)}',
|
|
117
|
+
'%sticker-#{$color}'
|
|
118
|
+
);
|
|
119
|
+
|
|
120
|
+
#{$placeholder} {
|
|
121
|
+
@include clay-sticker-variant($value);
|
|
122
|
+
}
|
|
84
123
|
|
|
85
|
-
|
|
86
|
-
|
|
124
|
+
#{$selector} {
|
|
125
|
+
@extend #{$placeholder} !optional;
|
|
126
|
+
}
|
|
87
127
|
}
|
|
88
128
|
}
|
|
89
129
|
|
|
@@ -25,17 +25,23 @@
|
|
|
25
25
|
// Background
|
|
26
26
|
|
|
27
27
|
@each $color, $value in $bg-theme-colors {
|
|
28
|
-
$
|
|
28
|
+
$selector: if(
|
|
29
|
+
starts-with($color, '.') or
|
|
30
|
+
starts-with($color, '#') or
|
|
31
|
+
starts-with($color, '%'),
|
|
32
|
+
$color,
|
|
33
|
+
str-insert($color, '.bg-', 1)
|
|
34
|
+
);
|
|
29
35
|
|
|
30
|
-
|
|
31
|
-
@include clay-css(
|
|
36
|
+
#{$selector} {
|
|
37
|
+
@include clay-css($value);
|
|
32
38
|
}
|
|
33
39
|
|
|
34
|
-
a
|
|
35
|
-
button
|
|
40
|
+
a#{$selector},
|
|
41
|
+
button#{$selector} {
|
|
36
42
|
&:hover,
|
|
37
43
|
&:focus {
|
|
38
|
-
@include clay-css($hover);
|
|
44
|
+
@include clay-css(map-get($value, hover));
|
|
39
45
|
}
|
|
40
46
|
}
|
|
41
47
|
}
|
|
@@ -43,7 +49,7 @@
|
|
|
43
49
|
@if $enable-gradients {
|
|
44
50
|
@each $color, $value in $bg-gradient-theme-colors {
|
|
45
51
|
.bg-gradient-#{$color} {
|
|
46
|
-
@include clay-css(
|
|
52
|
+
@include clay-css($value);
|
|
47
53
|
}
|
|
48
54
|
}
|
|
49
55
|
}
|
|
@@ -91,8 +97,16 @@
|
|
|
91
97
|
}
|
|
92
98
|
|
|
93
99
|
@each $color, $value in $border-theme-colors {
|
|
94
|
-
|
|
95
|
-
|
|
100
|
+
$selector: if(
|
|
101
|
+
starts-with($color, '.') or
|
|
102
|
+
starts-with($color, '#') or
|
|
103
|
+
starts-with($color, '%'),
|
|
104
|
+
$color,
|
|
105
|
+
str-insert($color, '.border-', 1)
|
|
106
|
+
);
|
|
107
|
+
|
|
108
|
+
#{$selector} {
|
|
109
|
+
@include clay-css($value);
|
|
96
110
|
}
|
|
97
111
|
}
|
|
98
112
|
|
|
@@ -180,9 +194,9 @@
|
|
|
180
194
|
}
|
|
181
195
|
}
|
|
182
196
|
|
|
183
|
-
/*
|
|
197
|
+
/* SPDX-SnippetBegin
|
|
184
198
|
* SPDX-License-Identifier: MIT
|
|
185
|
-
* SPDX-
|
|
199
|
+
* SPDX-SnippetCopyrightText: © 2012 Nicolas Gallagher <https://github.com/suitcss/components-flex-embed>
|
|
186
200
|
*/
|
|
187
201
|
|
|
188
202
|
.embed-responsive {
|
|
@@ -227,7 +241,7 @@
|
|
|
227
241
|
}
|
|
228
242
|
}
|
|
229
243
|
|
|
230
|
-
/*
|
|
244
|
+
/* SPDX-SnippetEnd */
|
|
231
245
|
|
|
232
246
|
// Flex
|
|
233
247
|
|
|
@@ -719,7 +733,9 @@
|
|
|
719
733
|
|
|
720
734
|
@each $selector, $value in $font-sizes {
|
|
721
735
|
$selector: if(
|
|
722
|
-
starts-with($selector, '.') or
|
|
736
|
+
starts-with($selector, '.') or
|
|
737
|
+
starts-with($selector, '#') or
|
|
738
|
+
starts-with($selector, '%'),
|
|
723
739
|
$selector,
|
|
724
740
|
str-insert($selector, '.', 1)
|
|
725
741
|
);
|
|
@@ -736,16 +752,22 @@
|
|
|
736
752
|
}
|
|
737
753
|
|
|
738
754
|
@each $color, $value in $text-theme-colors {
|
|
739
|
-
$
|
|
755
|
+
$selector: if(
|
|
756
|
+
starts-with($color, '.') or
|
|
757
|
+
starts-with($color, '#') or
|
|
758
|
+
starts-with($color, '%'),
|
|
759
|
+
$color,
|
|
760
|
+
str-insert($color, '.text-', 1)
|
|
761
|
+
);
|
|
740
762
|
|
|
741
|
-
|
|
742
|
-
@include clay-css(
|
|
763
|
+
#{$selector} {
|
|
764
|
+
@include clay-css($value);
|
|
743
765
|
}
|
|
744
766
|
|
|
745
|
-
a
|
|
767
|
+
a#{$selector} {
|
|
746
768
|
&:hover,
|
|
747
769
|
&:focus {
|
|
748
|
-
@include clay-css($hover);
|
|
770
|
+
@include clay-css(map-get($value, hover));
|
|
749
771
|
}
|
|
750
772
|
}
|
|
751
773
|
}
|
|
@@ -272,14 +272,15 @@
|
|
|
272
272
|
// Inline Scroller
|
|
273
273
|
|
|
274
274
|
.inline-scroller {
|
|
275
|
-
|
|
276
|
-
margin: 0;
|
|
277
|
-
max-height: $inline-scroller-max-height;
|
|
278
|
-
overflow: auto;
|
|
275
|
+
@include clay-css($inline-scroller);
|
|
279
276
|
|
|
280
|
-
|
|
277
|
+
&:focus {
|
|
278
|
+
@include clay-css(map-get($inline-scroller, focus));
|
|
279
|
+
}
|
|
281
280
|
|
|
282
|
-
|
|
281
|
+
&:focus-visible {
|
|
282
|
+
@include clay-css(map-get($inline-scroller, focus-visible));
|
|
283
|
+
}
|
|
283
284
|
}
|
|
284
285
|
|
|
285
286
|
// Inline Item
|
|
@@ -776,9 +776,9 @@
|
|
|
776
776
|
@return $returnVal;
|
|
777
777
|
}
|
|
778
778
|
|
|
779
|
-
// *
|
|
779
|
+
// * SPDX-SnippetBegin
|
|
780
780
|
// * SPDX-License-Identifier: MIT
|
|
781
|
-
// * SPDX-
|
|
781
|
+
// * SPDX-SnippetCopyrightText: © 2016 Hugo Giraudel <https://hugogiraudel.com/>
|
|
782
782
|
// *
|
|
783
783
|
|
|
784
784
|
/// A function that fetches deeply nested values from a Sass map.
|
|
@@ -842,11 +842,11 @@
|
|
|
842
842
|
@return clay-str-replace($string, $search, $replace);
|
|
843
843
|
}
|
|
844
844
|
|
|
845
|
-
// *
|
|
845
|
+
// * SPDX-SnippetEnd
|
|
846
846
|
|
|
847
|
-
// *
|
|
847
|
+
// * SPDX-SnippetBegin
|
|
848
848
|
// * SPDX-License-Identifier: MIT
|
|
849
|
-
// * SPDX-
|
|
849
|
+
// * SPDX-SnippetCopyrightText: © 2018 Jakob Eriksen <http://codepen.io/jakob-e/pen/doMoML>
|
|
850
850
|
// *
|
|
851
851
|
|
|
852
852
|
/// A function to encode an SVG and provide back a data URI to be used in `background-image`. If the SVG uses double quotes to delimit attribute names and values, wrap the SVG in single quotes or vice versa.
|
|
@@ -880,11 +880,11 @@
|
|
|
880
880
|
@return url('data:image/svg+xml;charset=utf8,#{$encoded}');
|
|
881
881
|
}
|
|
882
882
|
|
|
883
|
-
// *
|
|
883
|
+
// * SPDX-SnippetEnd
|
|
884
884
|
|
|
885
|
-
// *
|
|
885
|
+
// * SPDX-SnippetBegin
|
|
886
886
|
// * SPDX-License-Identifier: MIT
|
|
887
|
-
// * SPDX-
|
|
887
|
+
// * SPDX-SnippetCopyrightText: © 2018 Kevin Weber <https://codepen.io/kevinweber/pen/dXWoRw>
|
|
888
888
|
// *
|
|
889
889
|
|
|
890
890
|
/// A Bootstrap 4 function that converts ASCII characters in SVG's to URL encoded characters.
|
|
@@ -914,7 +914,7 @@
|
|
|
914
914
|
@return $string;
|
|
915
915
|
}
|
|
916
916
|
|
|
917
|
-
// *
|
|
917
|
+
// * SPDX-SnippetEnd
|
|
918
918
|
|
|
919
919
|
/// A function that returns a specific Lexicon Icon with a specific color as a data URI to be used in `background-image`.
|
|
920
920
|
/// @param {String} $name - The Lexicon Icon name (e.g., angle-right)
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
@return map-remove((), 'key');
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
// *
|
|
7
|
+
// * SPDX-SnippetBegin
|
|
8
8
|
// * SPDX-License-Identifier: MIT
|
|
9
|
-
// * SPDX-
|
|
9
|
+
// * SPDX-SnippetCopyrightText: © 2014 Kitty Giraudel <https://kittygiraudel.com/>
|
|
10
10
|
// *
|
|
11
11
|
|
|
12
12
|
/// Add `$unit` to `$value`
|
|
@@ -95,11 +95,11 @@
|
|
|
95
95
|
@return if($minus, -$result, $result);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
// *
|
|
98
|
+
// * SPDX-SnippetEnd
|
|
99
99
|
|
|
100
|
-
// *
|
|
100
|
+
// * SPDX-SnippetBegin
|
|
101
101
|
// * SPDX-License-Identifier: MIT
|
|
102
|
-
// * SPDX-
|
|
102
|
+
// * SPDX-SnippetCopyrightText: © 2014 Kitty Giraudel <https://github.com/KittyGiraudel/SassyJSON>
|
|
103
103
|
// *
|
|
104
104
|
|
|
105
105
|
/// Logs an error at `$pointer` with `$string` message
|
|
@@ -606,4 +606,4 @@
|
|
|
606
606
|
}
|
|
607
607
|
}
|
|
608
608
|
|
|
609
|
-
// *
|
|
609
|
+
// * SPDX-SnippetEnd
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
resize: $direction;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
// *
|
|
32
|
+
// * SPDX-SnippetBegin
|
|
33
33
|
// * SPDX-License-Identifier: APLv2
|
|
34
|
-
// * SPDX-
|
|
34
|
+
// * SPDX-SnippetCopyrightText: © 2018 A11Y Project <https://a11yproject.com/posts/how-to-hide-content/>
|
|
35
35
|
// *
|
|
36
36
|
|
|
37
37
|
/// A Bootstrap 4 mixin that generates styles to only display content to screen readers.
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
width: 1px;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
// *
|
|
51
|
+
// * SPDX-SnippetEnd
|
|
52
52
|
|
|
53
|
-
// *
|
|
53
|
+
// * SPDX-SnippetBegin
|
|
54
54
|
// * SPDX-License-Identifier: MIT
|
|
55
|
-
// * SPDX-
|
|
55
|
+
// * SPDX-SnippetCopyrightText: © 2018 HTML5 Boilerplate <https://github.com/h5bp/main.css>
|
|
56
56
|
// *
|
|
57
57
|
|
|
58
58
|
/// A Bootstrap 4 mixin to display `.sr-only` content when focused. Useful for "Skip to main content" links; see https://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
// *
|
|
72
|
+
// * SPDX-SnippetEnd
|
|
73
73
|
|
|
74
74
|
/// A Bootstrap 4 mixin for generating `width` and `height` properties.
|
|
75
75
|
/// @deprecated
|
|
@@ -182,6 +182,8 @@ $alert-indicator: () !default;
|
|
|
182
182
|
$alert-indicator: map-deep-merge(
|
|
183
183
|
(
|
|
184
184
|
font-size: $alert-indicator-font-size,
|
|
185
|
+
line-height: 1,
|
|
186
|
+
vertical-align: 8%,
|
|
185
187
|
lead: (
|
|
186
188
|
margin-left: $alert-lead-spacer-x,
|
|
187
189
|
),
|
|
@@ -397,6 +399,7 @@ $alert-notification-sm-down: map-merge(
|
|
|
397
399
|
$alert-autofit-row: () !default;
|
|
398
400
|
$alert-autofit-row: map-deep-merge(
|
|
399
401
|
(
|
|
402
|
+
align-items: baseline,
|
|
400
403
|
margin-left: -0.5rem,
|
|
401
404
|
margin-right: -0.5rem,
|
|
402
405
|
width: auto,
|
|
@@ -35,7 +35,7 @@ $enable-grid-classes: true !default;
|
|
|
35
35
|
$enable-pointer-cursor-for-buttons: true !default;
|
|
36
36
|
$enable-print-styles: true !default;
|
|
37
37
|
$enable-responsive-font-sizes: false !default;
|
|
38
|
-
$enable-validation-icons:
|
|
38
|
+
$enable-validation-icons: false !default;
|
|
39
39
|
$enable-deprecation-messages: true !default;
|
|
40
40
|
|
|
41
41
|
// Deprecated, no longer affects any compiled CSS
|
|
@@ -1,6 +1,28 @@
|
|
|
1
1
|
$bg-checkered-fg: $gray-200 !default;
|
|
2
|
+
|
|
3
|
+
// .inline-scroller
|
|
4
|
+
|
|
2
5
|
$inline-scroller-max-height: 125px !default;
|
|
3
6
|
|
|
7
|
+
$inline-scroller: () !default;
|
|
8
|
+
$inline-scroller: map-deep-merge(
|
|
9
|
+
(
|
|
10
|
+
-webkit-overflow-scrolling: touch,
|
|
11
|
+
list-style: none,
|
|
12
|
+
margin: 0,
|
|
13
|
+
max-height: $inline-scroller-max-height,
|
|
14
|
+
overflow: auto,
|
|
15
|
+
padding: 0,
|
|
16
|
+
focus: (
|
|
17
|
+
outline: 0,
|
|
18
|
+
),
|
|
19
|
+
focus-visible: (
|
|
20
|
+
box-shadow: $component-focus-box-shadow,
|
|
21
|
+
)
|
|
22
|
+
),
|
|
23
|
+
$inline-scroller
|
|
24
|
+
);
|
|
25
|
+
|
|
4
26
|
// Autofit Row
|
|
5
27
|
|
|
6
28
|
$autofit-col-expand-min-width: 3.125rem !default; // 50px
|