@clayui/css 3.35.3 → 3.36.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/CHANGELOG.md +35 -0
- package/lib/css/atlas.css +291 -163
- package/lib/css/atlas.css.map +19 -19
- package/lib/css/base.css +186 -149
- package/lib/css/base.css.map +12 -12
- package/package.json +2 -2
- package/src/scss/_license-text.scss +1 -1
- package/src/scss/atlas/variables/_alerts.scss +1 -5
- package/src/scss/atlas/variables/_buttons.scss +79 -7
- package/src/scss/atlas/variables/_custom-forms.scss +1 -5
- package/src/scss/atlas/variables/_forms.scss +111 -40
- package/src/scss/atlas/variables/_globals.scss +362 -70
- package/src/scss/atlas/variables/_labels.scss +0 -4
- package/src/scss/atlas/variables/_pagination.scss +0 -4
- package/src/scss/cadmin/components/_buttons.scss +25 -263
- package/src/scss/cadmin/components/_forms.scss +24 -92
- package/src/scss/cadmin/components/_utilities-functional-important.scss +4 -0
- package/src/scss/cadmin/variables/_buttons.scss +249 -6
- package/src/scss/cadmin/variables/_forms.scss +124 -8
- package/src/scss/components/_buttons.scss +25 -259
- package/src/scss/components/_forms.scss +21 -92
- package/src/scss/components/_utilities-functional-important.scss +4 -0
- package/src/scss/functions/_global-functions.scss +16 -2
- package/src/scss/mixins/_buttons.scss +34 -7
- package/src/scss/mixins/_forms.scss +28 -3
- package/src/scss/mixins/_globals.scss +12 -0
- package/src/scss/variables/_buttons.scss +250 -7
- package/src/scss/variables/_forms.scss +136 -12
- package/src/scss/variables/_globals.scss +26 -24
|
@@ -216,6 +216,10 @@
|
|
|
216
216
|
$value: null;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
+
@if (starts-with($key, '--')) {
|
|
220
|
+
#{$key}: $value;
|
|
221
|
+
}
|
|
222
|
+
|
|
219
223
|
@if ($key == 'appearance') {
|
|
220
224
|
-moz-appearance: $value;
|
|
221
225
|
-webkit-appearance: $value;
|
|
@@ -233,6 +237,14 @@
|
|
|
233
237
|
} @else if ($key == 'overflow-wrap') {
|
|
234
238
|
overflow-wrap: $value;
|
|
235
239
|
word-wrap: $value;
|
|
240
|
+
} @else if ($key == 'transition') {
|
|
241
|
+
transition: $value;
|
|
242
|
+
|
|
243
|
+
@if ($value != 'none' and $value != null) {
|
|
244
|
+
@media (prefers-reduced-motion: reduce) {
|
|
245
|
+
transition: none;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
236
248
|
} @else if ($key == 'user-select') {
|
|
237
249
|
-ms-user-select: $value;
|
|
238
250
|
-moz-user-select: $value;
|
|
@@ -30,6 +30,79 @@ $btn-section-font-size: 0.6875rem !default; // 11px
|
|
|
30
30
|
$btn-section-font-weight: $font-weight-normal !default;
|
|
31
31
|
$btn-section-line-height: 1 !default;
|
|
32
32
|
|
|
33
|
+
$btn: () !default;
|
|
34
|
+
$btn: map-deep-merge(
|
|
35
|
+
(
|
|
36
|
+
background-color: transparent,
|
|
37
|
+
border-color: transparent,
|
|
38
|
+
border-style: solid,
|
|
39
|
+
border-width: $btn-border-width,
|
|
40
|
+
border-radius: clay-enable-rounded($btn-border-radius),
|
|
41
|
+
box-shadow: clay-enable-shadows([$btn-box-shadow]),
|
|
42
|
+
color: $body-color,
|
|
43
|
+
cursor: $btn-cursor,
|
|
44
|
+
display: inline-block,
|
|
45
|
+
font-family: $btn-font-family,
|
|
46
|
+
font-size: $btn-font-size,
|
|
47
|
+
font-weight: $btn-font-weight,
|
|
48
|
+
line-height: $btn-line-height,
|
|
49
|
+
padding-bottom: $btn-padding-y,
|
|
50
|
+
padding-left: $btn-padding-x,
|
|
51
|
+
padding-right: $btn-padding-x,
|
|
52
|
+
padding-top: $btn-padding-y,
|
|
53
|
+
text-align: center,
|
|
54
|
+
text-transform: none,
|
|
55
|
+
transition: clay-enable-transitions($btn-transition),
|
|
56
|
+
user-select: none,
|
|
57
|
+
vertical-align: middle,
|
|
58
|
+
white-space: $btn-white-space,
|
|
59
|
+
mobile: (
|
|
60
|
+
font-size: $btn-font-size-mobile,
|
|
61
|
+
padding-bottom: $btn-padding-y-mobile,
|
|
62
|
+
padding-left: $btn-padding-x-mobile,
|
|
63
|
+
padding-right: $btn-padding-x-mobile,
|
|
64
|
+
padding-top: $btn-padding-y-mobile,
|
|
65
|
+
),
|
|
66
|
+
hover: (
|
|
67
|
+
color: $body-color,
|
|
68
|
+
text-decoration: none,
|
|
69
|
+
),
|
|
70
|
+
focus: (
|
|
71
|
+
box-shadow: $btn-focus-box-shadow,
|
|
72
|
+
outline: 0,
|
|
73
|
+
),
|
|
74
|
+
active: (
|
|
75
|
+
box-shadow: clay-enable-shadows([$btn-active-box-shadow]),
|
|
76
|
+
focus: (
|
|
77
|
+
box-shadow: clay-enable-shadows([$btn-focus-box-shadow]),
|
|
78
|
+
),
|
|
79
|
+
),
|
|
80
|
+
active-class: (
|
|
81
|
+
box-shadow: clay-enable-shadows([$btn-active-box-shadow]),
|
|
82
|
+
),
|
|
83
|
+
disabled: (
|
|
84
|
+
cursor: $btn-disabled-cursor,
|
|
85
|
+
opacity: $btn-disabled-opacity,
|
|
86
|
+
focus: (
|
|
87
|
+
box-shadow: none,
|
|
88
|
+
),
|
|
89
|
+
active: (
|
|
90
|
+
pointer-events: none,
|
|
91
|
+
),
|
|
92
|
+
),
|
|
93
|
+
inline-item: (
|
|
94
|
+
font-size: $btn-inline-item-font-size,
|
|
95
|
+
),
|
|
96
|
+
btn-section: (
|
|
97
|
+
display: block,
|
|
98
|
+
font-size: $btn-section-font-size,
|
|
99
|
+
font-weight: $btn-section-font-weight,
|
|
100
|
+
line-height: $btn-section-line-height,
|
|
101
|
+
),
|
|
102
|
+
),
|
|
103
|
+
$btn
|
|
104
|
+
);
|
|
105
|
+
|
|
33
106
|
// Button Lg
|
|
34
107
|
|
|
35
108
|
$btn-border-radius-lg: $border-radius-lg !default;
|
|
@@ -44,6 +117,33 @@ $btn-font-size-lg-mobile: null !default;
|
|
|
44
117
|
$btn-padding-x-lg-mobile: null !default;
|
|
45
118
|
$btn-padding-y-lg-mobile: null !default;
|
|
46
119
|
|
|
120
|
+
$btn-lg: () !default;
|
|
121
|
+
$btn-lg: map-deep-merge(
|
|
122
|
+
(
|
|
123
|
+
border-radius: clay-enable-rounded($btn-border-radius-lg),
|
|
124
|
+
font-size: $btn-font-size-lg,
|
|
125
|
+
line-height: $btn-line-height-lg,
|
|
126
|
+
padding-bottom: $btn-padding-y-lg,
|
|
127
|
+
padding-left: $btn-padding-x-lg,
|
|
128
|
+
padding-right: $btn-padding-x-lg,
|
|
129
|
+
padding-top: $btn-padding-y-lg,
|
|
130
|
+
mobile: (
|
|
131
|
+
font-size: $btn-font-size-lg-mobile,
|
|
132
|
+
padding-bottom: $btn-padding-y-lg-mobile,
|
|
133
|
+
padding-left: $btn-padding-x-lg-mobile,
|
|
134
|
+
padding-right: $btn-padding-x-lg-mobile,
|
|
135
|
+
padding-top: $btn-padding-y-lg-mobile,
|
|
136
|
+
),
|
|
137
|
+
inline-item: (
|
|
138
|
+
font-size: $btn-inline-item-font-size-lg,
|
|
139
|
+
),
|
|
140
|
+
btn-section: (
|
|
141
|
+
font-size: $btn-section-font-size-lg,
|
|
142
|
+
),
|
|
143
|
+
),
|
|
144
|
+
$btn-lg
|
|
145
|
+
);
|
|
146
|
+
|
|
47
147
|
// Button Sm
|
|
48
148
|
|
|
49
149
|
$btn-border-radius-sm: $border-radius-sm !default;
|
|
@@ -58,28 +158,154 @@ $btn-font-size-sm-mobile: null !default;
|
|
|
58
158
|
$btn-padding-x-sm-mobile: null !default;
|
|
59
159
|
$btn-padding-y-sm-mobile: null !default;
|
|
60
160
|
|
|
161
|
+
$btn-sm: () !default;
|
|
162
|
+
$btn-sm: map-deep-merge(
|
|
163
|
+
(
|
|
164
|
+
border-radius: clay-enable-rounded($btn-border-radius-sm),
|
|
165
|
+
font-size: $btn-font-size-sm,
|
|
166
|
+
line-height: $btn-line-height-sm,
|
|
167
|
+
padding-bottom: $btn-padding-y-sm,
|
|
168
|
+
padding-left: $btn-padding-x-sm,
|
|
169
|
+
padding-right: $btn-padding-x-sm,
|
|
170
|
+
padding-top: $btn-padding-y-sm,
|
|
171
|
+
mobile: (
|
|
172
|
+
font-size: $btn-font-size-sm-mobile,
|
|
173
|
+
padding-bottom: $btn-padding-y-sm-mobile,
|
|
174
|
+
padding-left: $btn-padding-x-sm-mobile,
|
|
175
|
+
padding-right: $btn-padding-x-sm-mobile,
|
|
176
|
+
padding-top: $btn-padding-y-sm-mobile,
|
|
177
|
+
),
|
|
178
|
+
inline-item: (
|
|
179
|
+
font-size: $btn-inline-item-font-size-sm,
|
|
180
|
+
),
|
|
181
|
+
btn-section: (
|
|
182
|
+
font-size: $btn-section-font-size-sm,
|
|
183
|
+
),
|
|
184
|
+
),
|
|
185
|
+
$btn-sm
|
|
186
|
+
);
|
|
187
|
+
|
|
61
188
|
// Button Monospaced
|
|
62
189
|
|
|
63
190
|
$btn-monospaced-padding-x: 0 !default;
|
|
64
|
-
$btn-monospaced-padding-y: 0
|
|
191
|
+
$btn-monospaced-padding-y: 0 !default;
|
|
65
192
|
$btn-monospaced-size: 2.375rem !default; // 38px
|
|
66
193
|
|
|
67
|
-
$btn-monospaced-
|
|
68
|
-
|
|
194
|
+
$btn-monospaced-size-mobile: null !default;
|
|
195
|
+
|
|
196
|
+
$btn-monospaced: () !default;
|
|
197
|
+
$btn-monospaced: map-deep-merge(
|
|
198
|
+
(
|
|
199
|
+
align-items: center,
|
|
200
|
+
display: inline-flex,
|
|
201
|
+
flex-direction: column,
|
|
202
|
+
height: $btn-monospaced-size,
|
|
203
|
+
justify-content: center,
|
|
204
|
+
line-height: 1,
|
|
205
|
+
overflow: hidden,
|
|
206
|
+
padding-bottom: $btn-monospaced-padding-y,
|
|
207
|
+
padding-left: $btn-monospaced-padding-x,
|
|
208
|
+
padding-right: $btn-monospaced-padding-x,
|
|
209
|
+
padding-top: $btn-monospaced-padding-y,
|
|
210
|
+
text-align: center,
|
|
211
|
+
white-space: normal,
|
|
212
|
+
width: $btn-monospaced-size,
|
|
213
|
+
word-wrap: break-word,
|
|
214
|
+
mobile: (
|
|
215
|
+
height: $btn-monospaced-size-mobile,
|
|
216
|
+
width: $btn-monospaced-size-mobile,
|
|
217
|
+
),
|
|
218
|
+
c-inner: (
|
|
219
|
+
align-items: center,
|
|
220
|
+
display: flex,
|
|
221
|
+
flex-direction: column,
|
|
222
|
+
height: 100%,
|
|
223
|
+
justify-content: center,
|
|
224
|
+
padding: 0,
|
|
225
|
+
width: 100%,
|
|
226
|
+
),
|
|
227
|
+
),
|
|
228
|
+
$btn-monospaced
|
|
229
|
+
);
|
|
230
|
+
|
|
231
|
+
// Button Monospaced Lg
|
|
232
|
+
|
|
233
|
+
$btn-monospaced-padding-x-lg: null !default;
|
|
234
|
+
$btn-monospaced-padding-y-lg: null !default;
|
|
69
235
|
$btn-monospaced-size-lg: 3rem !default; // 48px
|
|
70
236
|
|
|
71
|
-
$btn-monospaced-
|
|
72
|
-
|
|
237
|
+
$btn-monospaced-size-lg-mobile: null !default;
|
|
238
|
+
|
|
239
|
+
$btn-monospaced-lg: () !default;
|
|
240
|
+
$btn-monospaced-lg: map-deep-merge(
|
|
241
|
+
(
|
|
242
|
+
height: $btn-monospaced-size-lg,
|
|
243
|
+
padding-bottom: $btn-monospaced-padding-y-lg,
|
|
244
|
+
padding-left: $btn-monospaced-padding-x-lg,
|
|
245
|
+
padding-right: $btn-monospaced-padding-x-lg,
|
|
246
|
+
padding-top: $btn-monospaced-padding-y-lg,
|
|
247
|
+
width: $btn-monospaced-size-lg,
|
|
248
|
+
mobile: (
|
|
249
|
+
height: $btn-monospaced-size-lg-mobile,
|
|
250
|
+
width: $btn-monospaced-size-lg-mobile,
|
|
251
|
+
),
|
|
252
|
+
),
|
|
253
|
+
$btn-monospaced-lg
|
|
254
|
+
);
|
|
255
|
+
|
|
256
|
+
// Button Monospaced Sm
|
|
257
|
+
|
|
258
|
+
$btn-monospaced-padding-x-sm: null !default;
|
|
259
|
+
$btn-monospaced-padding-y-sm: null !default;
|
|
73
260
|
$btn-monospaced-size-sm: 1.9375rem !default; // 31px
|
|
74
261
|
|
|
75
|
-
$btn-monospaced-size-mobile: null !default;
|
|
76
|
-
$btn-monospaced-size-lg-mobile: null !default;
|
|
77
262
|
$btn-monospaced-size-sm-mobile: null !default;
|
|
78
263
|
|
|
264
|
+
$btn-monospaced-sm: () !default;
|
|
265
|
+
$btn-monospaced-sm: map-deep-merge(
|
|
266
|
+
(
|
|
267
|
+
height: $btn-monospaced-size-sm,
|
|
268
|
+
padding-bottom: $btn-monospaced-padding-y-sm,
|
|
269
|
+
padding-left: $btn-monospaced-padding-x-sm,
|
|
270
|
+
padding-right: $btn-monospaced-padding-x-sm,
|
|
271
|
+
padding-top: $btn-monospaced-padding-y-sm,
|
|
272
|
+
width: $btn-monospaced-size-sm,
|
|
273
|
+
mobile: (
|
|
274
|
+
height: $btn-monospaced-size-sm-mobile,
|
|
275
|
+
width: $btn-monospaced-size-sm-mobile,
|
|
276
|
+
),
|
|
277
|
+
),
|
|
278
|
+
$btn-monospaced-sm
|
|
279
|
+
);
|
|
280
|
+
|
|
79
281
|
// Button Block
|
|
80
282
|
|
|
81
283
|
$btn-block-spacing-y: 0.5rem !default;
|
|
82
284
|
|
|
285
|
+
// Button Unstyled
|
|
286
|
+
|
|
287
|
+
$btn-unstyled: () !default;
|
|
288
|
+
$btn-unstyled: map-deep-merge(
|
|
289
|
+
(
|
|
290
|
+
background-color: rgba(0, 0, 0, 0.001),
|
|
291
|
+
border-width: 0,
|
|
292
|
+
cursor: $btn-cursor,
|
|
293
|
+
font-size: inherit,
|
|
294
|
+
font-weight: inherit,
|
|
295
|
+
line-height: inherit,
|
|
296
|
+
max-width: 100%,
|
|
297
|
+
padding: 0,
|
|
298
|
+
text-align: left,
|
|
299
|
+
text-transform: inherit,
|
|
300
|
+
vertical-align: baseline,
|
|
301
|
+
c-inner: (
|
|
302
|
+
margin: 0,
|
|
303
|
+
max-width: none,
|
|
304
|
+
),
|
|
305
|
+
),
|
|
306
|
+
$btn-unstyled
|
|
307
|
+
);
|
|
308
|
+
|
|
83
309
|
// Button Group
|
|
84
310
|
|
|
85
311
|
$btn-group-item-margin-right: map-get($spacers, 2) !default;
|
|
@@ -815,6 +1041,23 @@ $btn-outline-dark: map-deep-merge(
|
|
|
815
1041
|
$btn-outline-dark
|
|
816
1042
|
);
|
|
817
1043
|
|
|
1044
|
+
$btn-outline-borderless: () !default;
|
|
1045
|
+
$btn-outline-borderless: map-deep-merge(
|
|
1046
|
+
(
|
|
1047
|
+
border-color: transparent,
|
|
1048
|
+
hover: (
|
|
1049
|
+
border-color: transparent,
|
|
1050
|
+
),
|
|
1051
|
+
focus: (
|
|
1052
|
+
border-color: transparent,
|
|
1053
|
+
),
|
|
1054
|
+
disabled: (
|
|
1055
|
+
border-color: transparent,
|
|
1056
|
+
),
|
|
1057
|
+
),
|
|
1058
|
+
$btn-outline-borderless
|
|
1059
|
+
);
|
|
1060
|
+
|
|
818
1061
|
$btn-outline-palette: () !default;
|
|
819
1062
|
$btn-outline-palette: map-deep-merge(
|
|
820
1063
|
(
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
$input-bg: $white !default;
|
|
2
|
-
|
|
3
2
|
$input-border-color: $gray-400 !default;
|
|
4
3
|
$input-border-style: solid !default;
|
|
4
|
+
$input-border-width: 0.0625rem !default;
|
|
5
|
+
|
|
5
6
|
$input-border-top-width: 0.0625rem !default;
|
|
6
7
|
$input-border-right-width: 0.0625rem !default;
|
|
7
8
|
$input-border-bottom-width: 0.0625rem !default;
|
|
8
9
|
$input-border-left-width: 0.0625rem !default;
|
|
9
10
|
|
|
10
|
-
$input-border-width: $input-border-top-width $input-border-right-width
|
|
11
|
-
$input-border-bottom-width $input-border-left-width !default;
|
|
12
|
-
|
|
13
11
|
$input-border-radius: $border-radius !default;
|
|
14
12
|
$input-box-shadow: inset 0 1px 1px rgba($black, 0.075) !default;
|
|
15
13
|
$input-color: $gray-700 !default;
|
|
@@ -25,6 +23,10 @@ $input-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out
|
|
|
25
23
|
$input-font-size-mobile: null !default;
|
|
26
24
|
$input-height-mobile: null !default;
|
|
27
25
|
|
|
26
|
+
// .form-control::placeholder
|
|
27
|
+
|
|
28
|
+
$input-placeholder-color: $gray-600 !default;
|
|
29
|
+
|
|
28
30
|
// Input Focus
|
|
29
31
|
|
|
30
32
|
$input-focus-bg: $input-bg !default;
|
|
@@ -33,6 +35,10 @@ $input-focus-color: $input-color !default;
|
|
|
33
35
|
$input-focus-width: $input-btn-focus-width !default;
|
|
34
36
|
$input-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
|
35
37
|
|
|
38
|
+
// .form-control:focus::placeholder
|
|
39
|
+
|
|
40
|
+
$input-placeholder-focus-color: null !default;
|
|
41
|
+
|
|
36
42
|
// Input Disabled
|
|
37
43
|
|
|
38
44
|
$input-disabled-bg: $gray-200 !default;
|
|
@@ -41,12 +47,69 @@ $input-disabled-color: null !default;
|
|
|
41
47
|
$input-disabled-cursor: $disabled-cursor !default;
|
|
42
48
|
$input-disabled-opacity: 1 !default;
|
|
43
49
|
|
|
44
|
-
//
|
|
50
|
+
// .form-control:disabled::placeholder
|
|
45
51
|
|
|
46
|
-
$input-placeholder-color: $gray-600 !default;
|
|
47
|
-
$input-placeholder-focus-color: null !default;
|
|
48
52
|
$input-placeholder-disabled-color: null !default;
|
|
49
53
|
|
|
54
|
+
$input: () !default;
|
|
55
|
+
$input: map-deep-merge(
|
|
56
|
+
(
|
|
57
|
+
background-color: $input-bg,
|
|
58
|
+
border-color: $input-border-color,
|
|
59
|
+
border-style: $input-border-style,
|
|
60
|
+
border-width: $input-border-width,
|
|
61
|
+
border-bottom-width: $input-border-bottom-width,
|
|
62
|
+
border-left-width: $input-border-left-width,
|
|
63
|
+
border-right-width: $input-border-right-width,
|
|
64
|
+
border-top-width: $input-border-top-width,
|
|
65
|
+
border-radius: clay-enable-rounded($input-border-radius),
|
|
66
|
+
box-shadow: clay-enable-shadows([$input-box-shadow]),
|
|
67
|
+
color: $input-color,
|
|
68
|
+
display: block,
|
|
69
|
+
font-family: $input-font-family,
|
|
70
|
+
font-size: $input-font-size,
|
|
71
|
+
font-weight: $input-font-weight,
|
|
72
|
+
height: $input-height,
|
|
73
|
+
line-height: $input-line-height,
|
|
74
|
+
min-width: 0,
|
|
75
|
+
padding-bottom: $input-padding-y,
|
|
76
|
+
padding-left: $input-padding-x,
|
|
77
|
+
padding-right: $input-padding-x,
|
|
78
|
+
padding-top: $input-padding-y,
|
|
79
|
+
transition: $input-transition,
|
|
80
|
+
width: 100%,
|
|
81
|
+
mobile: (
|
|
82
|
+
font-size: $input-font-size-mobile,
|
|
83
|
+
height: $input-height-mobile,
|
|
84
|
+
),
|
|
85
|
+
placeholder: (
|
|
86
|
+
color: $input-placeholder-color,
|
|
87
|
+
opacity: 1,
|
|
88
|
+
),
|
|
89
|
+
focus: (
|
|
90
|
+
background-color: $input-focus-bg,
|
|
91
|
+
border-color: $input-focus-border-color,
|
|
92
|
+
box-shadow: $input-focus-box-shadow,
|
|
93
|
+
color: $input-focus-color,
|
|
94
|
+
outline: 0,
|
|
95
|
+
placeholder: (
|
|
96
|
+
color: $input-placeholder-focus-color,
|
|
97
|
+
),
|
|
98
|
+
),
|
|
99
|
+
disabled: (
|
|
100
|
+
background-color: $input-disabled-bg,
|
|
101
|
+
border-color: $input-disabled-border-color,
|
|
102
|
+
color: $input-disabled-color,
|
|
103
|
+
cursor: $input-disabled-cursor,
|
|
104
|
+
opacity: $input-disabled-opacity,
|
|
105
|
+
placeholder: (
|
|
106
|
+
color: $input-placeholder-disabled-color,
|
|
107
|
+
),
|
|
108
|
+
),
|
|
109
|
+
),
|
|
110
|
+
$input
|
|
111
|
+
);
|
|
112
|
+
|
|
50
113
|
// Form Control Plaintext
|
|
51
114
|
|
|
52
115
|
$input-plaintext-color: $body-color !default;
|
|
@@ -67,7 +130,7 @@ $input-height-inner-half: 18px 18px !default;
|
|
|
67
130
|
|
|
68
131
|
$input-height-inner-quarter: 9px !default;
|
|
69
132
|
|
|
70
|
-
// Input Lg
|
|
133
|
+
// Input Lg (.form-control-lg)
|
|
71
134
|
|
|
72
135
|
$input-border-radius-lg: $border-radius-lg !default;
|
|
73
136
|
$input-font-size-lg: $input-btn-font-size-lg !default;
|
|
@@ -79,7 +142,7 @@ $input-padding-y-lg: $input-btn-padding-y-lg !default;
|
|
|
79
142
|
$input-font-size-lg-mobile: null !default;
|
|
80
143
|
$input-height-lg-mobile: null !default;
|
|
81
144
|
|
|
82
|
-
// Input Sm
|
|
145
|
+
// Input Sm (.form-control-sm)
|
|
83
146
|
|
|
84
147
|
$input-border-radius-sm: $border-radius-sm !default;
|
|
85
148
|
$input-font-size-sm: $input-btn-font-size-sm !default;
|
|
@@ -95,24 +158,85 @@ $input-height-sm-mobile: null !default;
|
|
|
95
158
|
|
|
96
159
|
$input-label-color: null !default;
|
|
97
160
|
$input-label-font-size: null !default;
|
|
98
|
-
$input-label-font-size-mobile: null !default;
|
|
99
161
|
$input-label-font-weight: null !default;
|
|
100
162
|
$input-label-margin-bottom: $label-margin-bottom !default;
|
|
101
163
|
|
|
102
|
-
$input-label-
|
|
164
|
+
$input-label-font-size-mobile: null !default;
|
|
103
165
|
|
|
104
166
|
$input-label-focus-color: null !default;
|
|
105
167
|
|
|
106
168
|
$input-label-disabled-color: $gray-600 !default;
|
|
107
169
|
$input-label-disabled-cursor: $disabled-cursor !default;
|
|
108
170
|
|
|
109
|
-
//
|
|
171
|
+
// label[for]
|
|
172
|
+
|
|
173
|
+
$input-label-for-cursor: $link-cursor !default;
|
|
174
|
+
|
|
175
|
+
// label .reference-mark
|
|
110
176
|
|
|
111
177
|
$input-label-reference-mark-color: $warning !default;
|
|
112
178
|
$input-label-reference-mark-font-size: null !default;
|
|
113
179
|
$input-label-reference-mark-spacer: null !default;
|
|
114
180
|
$input-label-reference-mark-vertical-align: null !default;
|
|
115
181
|
|
|
182
|
+
$input-label: () !default;
|
|
183
|
+
$input-label: map-deep-merge(
|
|
184
|
+
(
|
|
185
|
+
color: $input-label-color,
|
|
186
|
+
font-size: $input-label-font-size,
|
|
187
|
+
font-weight: $input-label-font-weight,
|
|
188
|
+
margin-bottom: $input-label-margin-bottom,
|
|
189
|
+
max-width: 100%,
|
|
190
|
+
word-wrap: break-word,
|
|
191
|
+
mobile: (
|
|
192
|
+
font-size: $input-label-font-size-mobile,
|
|
193
|
+
),
|
|
194
|
+
focus: (
|
|
195
|
+
color: $input-label-focus-color,
|
|
196
|
+
),
|
|
197
|
+
for: (
|
|
198
|
+
cursor: $input-label-for-cursor,
|
|
199
|
+
),
|
|
200
|
+
form-text: (
|
|
201
|
+
margin-bottom: $input-label-margin-bottom,
|
|
202
|
+
margin-top: 0,
|
|
203
|
+
),
|
|
204
|
+
reference-mark: (
|
|
205
|
+
color: $input-label-reference-mark-color,
|
|
206
|
+
font-size: $input-label-reference-mark-font-size,
|
|
207
|
+
margin-left: $input-label-reference-mark-spacer,
|
|
208
|
+
margin-right: $input-label-reference-mark-spacer,
|
|
209
|
+
vertical-align: $input-label-reference-mark-vertical-align,
|
|
210
|
+
),
|
|
211
|
+
),
|
|
212
|
+
$input-label
|
|
213
|
+
);
|
|
214
|
+
|
|
215
|
+
// .form-control-label
|
|
216
|
+
|
|
217
|
+
$form-control-label: () !default;
|
|
218
|
+
$form-control-label: map-merge(
|
|
219
|
+
(
|
|
220
|
+
display: inline,
|
|
221
|
+
margin-bottom: 0,
|
|
222
|
+
),
|
|
223
|
+
$form-control-label
|
|
224
|
+
);
|
|
225
|
+
|
|
226
|
+
// .form-control-label-text
|
|
227
|
+
|
|
228
|
+
$form-control-label-text: () !default;
|
|
229
|
+
$form-control-label-text: map-merge(
|
|
230
|
+
(
|
|
231
|
+
cursor: $input-label-for-cursor,
|
|
232
|
+
display: inline-block,
|
|
233
|
+
margin-bottom: $input-label-margin-bottom,
|
|
234
|
+
max-width: 100%,
|
|
235
|
+
word-wrap: break-word,
|
|
236
|
+
),
|
|
237
|
+
$form-control-label-text
|
|
238
|
+
);
|
|
239
|
+
|
|
116
240
|
/// @deprecated after v2.18.0 use the Sass map `$input-readonly` instead
|
|
117
241
|
|
|
118
242
|
$input-readonly-bg: $input-disabled-bg !default;
|
|
@@ -12,6 +12,31 @@ $c-unset: $clay-unset !default;
|
|
|
12
12
|
|
|
13
13
|
$clay-unset-placeholder: clay-unset-placeholder !default;
|
|
14
14
|
|
|
15
|
+
// Settings
|
|
16
|
+
|
|
17
|
+
$enable-bs4-deprecated: true !default;
|
|
18
|
+
$enable-c-inner: true !default;
|
|
19
|
+
$enable-lexicon-flat-colors: false !default;
|
|
20
|
+
$enable-scaling-components: false !default;
|
|
21
|
+
$scaling-breakpoint-down: sm !default;
|
|
22
|
+
|
|
23
|
+
$enable-caret: false !default;
|
|
24
|
+
$enable-rounded: true !default;
|
|
25
|
+
$enable-shadows: false !default;
|
|
26
|
+
$enable-gradients: false !default;
|
|
27
|
+
$enable-transitions: true !default;
|
|
28
|
+
$enable-prefers-reduced-motion-media-query: true !default;
|
|
29
|
+
$enable-grid-classes: true !default;
|
|
30
|
+
$enable-pointer-cursor-for-buttons: true !default;
|
|
31
|
+
$enable-print-styles: true !default;
|
|
32
|
+
$enable-responsive-font-sizes: false !default;
|
|
33
|
+
$enable-validation-icons: true !default;
|
|
34
|
+
$enable-deprecation-messages: true !default;
|
|
35
|
+
|
|
36
|
+
// Deprecated, no longer affects any compiled CSS
|
|
37
|
+
|
|
38
|
+
$enable-hover-media-query: false !default;
|
|
39
|
+
|
|
15
40
|
$white: #fff !default;
|
|
16
41
|
$gray-100: #f8f9fa !default;
|
|
17
42
|
$gray-200: #e9ecef !default;
|
|
@@ -151,30 +176,6 @@ $yiq-text-light: $white !default;
|
|
|
151
176
|
|
|
152
177
|
$escaped-characters: (('<', '%3c'), ('>', '%3e'), ('#', '%23')) !default;
|
|
153
178
|
|
|
154
|
-
// Settings
|
|
155
|
-
|
|
156
|
-
$enable-bs4-deprecated: true !default;
|
|
157
|
-
$enable-scaling-components: false !default;
|
|
158
|
-
$enable-c-inner: true !default;
|
|
159
|
-
$scaling-breakpoint-down: sm !default;
|
|
160
|
-
|
|
161
|
-
$enable-caret: false !default;
|
|
162
|
-
$enable-rounded: true !default;
|
|
163
|
-
$enable-shadows: false !default;
|
|
164
|
-
$enable-gradients: false !default;
|
|
165
|
-
$enable-transitions: true !default;
|
|
166
|
-
$enable-prefers-reduced-motion-media-query: true !default;
|
|
167
|
-
$enable-grid-classes: true !default;
|
|
168
|
-
$enable-pointer-cursor-for-buttons: true !default;
|
|
169
|
-
$enable-print-styles: true !default;
|
|
170
|
-
$enable-responsive-font-sizes: false !default;
|
|
171
|
-
$enable-validation-icons: true !default;
|
|
172
|
-
$enable-deprecation-messages: true !default;
|
|
173
|
-
|
|
174
|
-
// Deprecated, no longer affects any compiled CSS
|
|
175
|
-
|
|
176
|
-
$enable-hover-media-query: false !default;
|
|
177
|
-
|
|
178
179
|
// Spacers
|
|
179
180
|
|
|
180
181
|
$spacer: 1rem !default;
|
|
@@ -350,6 +351,7 @@ $font-weight-bold: 700 !default;
|
|
|
350
351
|
$font-weight-bolder: 900 !default;
|
|
351
352
|
|
|
352
353
|
$font-weight-base: $font-weight-normal !default;
|
|
354
|
+
|
|
353
355
|
$line-height-base: 1.5 !default;
|
|
354
356
|
|
|
355
357
|
$h1-font-size: $font-size-base * 2.5 !default;
|