@dialpad/dialtone 6.1.1 → 6.3.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/README.md +1 -1
- package/lib/build/fonts/Inter-Bold.woff2 +0 -0
- package/lib/build/fonts/Inter-BoldItalic.woff2 +0 -0
- package/lib/build/fonts/Inter-Italic.woff2 +0 -0
- package/lib/build/fonts/Inter-Regular.woff2 +0 -0
- package/lib/build/less/components/forms.less +14 -9
- package/lib/build/less/components/input.less +26 -15
- package/lib/build/less/components/radio-checkbox.less +16 -4
- package/lib/build/less/components/selects.less +0 -2
- package/lib/dist/css/dialtone.css +49 -26
- package/lib/dist/css/dialtone.min.css +1 -1
- package/lib/dist/fonts/Inter-Bold.woff2 +0 -0
- package/lib/dist/fonts/Inter-BoldItalic.woff2 +0 -0
- package/lib/dist/fonts/Inter-Italic.woff2 +0 -0
- package/lib/dist/fonts/Inter-Regular.woff2 +0 -0
- package/package.json +4 -5
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ If you only need access to Dialtone's variables and customizations to build a fi
|
|
|
21
21
|
|
|
22
22
|
## Building Dialtone locally
|
|
23
23
|
|
|
24
|
-
To build Dialtone locally, visit our [installation instructions](https://dialpad.design/getting-started/
|
|
24
|
+
To build Dialtone locally, visit our [installation instructions](https://dialpad.design/getting-started/building-locally/).
|
|
25
25
|
|
|
26
26
|
## Contributing
|
|
27
27
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -36,6 +36,8 @@ fieldset {
|
|
|
36
36
|
align-items: baseline;
|
|
37
37
|
justify-content: space-between;
|
|
38
38
|
|
|
39
|
+
margin-bottom: var(--su6);
|
|
40
|
+
|
|
39
41
|
font-weight: @fw-bold;
|
|
40
42
|
font-size: var(--fs16);
|
|
41
43
|
font-family: inherit;
|
|
@@ -76,7 +78,8 @@ fieldset {
|
|
|
76
78
|
box-sizing: border-box;
|
|
77
79
|
|
|
78
80
|
display: flex;
|
|
79
|
-
margin: var(--
|
|
81
|
+
margin-bottom: var(--su6);
|
|
82
|
+
|
|
80
83
|
color: var(--black-500);
|
|
81
84
|
fill: currentColor;
|
|
82
85
|
font-size: var(--fs12);
|
|
@@ -84,6 +87,10 @@ fieldset {
|
|
|
84
87
|
line-height: var(--lh4);
|
|
85
88
|
}
|
|
86
89
|
|
|
90
|
+
.d-label + .d-description {
|
|
91
|
+
margin-top: var(--sun6);
|
|
92
|
+
}
|
|
93
|
+
|
|
87
94
|
// $$ SIZES
|
|
88
95
|
// ----------------------------------------------------------------------------
|
|
89
96
|
.d-description--lg {
|
|
@@ -122,18 +129,14 @@ fieldset {
|
|
|
122
129
|
}
|
|
123
130
|
}
|
|
124
131
|
|
|
125
|
-
.d-checkbox__copy .d-validation-message,
|
|
126
|
-
.d-radio__copy .d-validation-message {
|
|
127
|
-
margin-top: var(--su2);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
132
|
// $$ VALIDATION STATES
|
|
131
133
|
// ----------------------------------------------------------------------------
|
|
132
134
|
.d-validation-message--warning {
|
|
133
135
|
--validation--fc: var(--fc-warning);
|
|
134
136
|
|
|
135
137
|
&::before {
|
|
136
|
-
|
|
138
|
+
background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z' fill='hsl(43 100% 33%)'/%3E%3C/svg%3E");
|
|
139
|
+
background-repeat: no-repeat;
|
|
137
140
|
}
|
|
138
141
|
}
|
|
139
142
|
|
|
@@ -141,7 +144,8 @@ fieldset {
|
|
|
141
144
|
--validation--fc: var(--fc-error);
|
|
142
145
|
|
|
143
146
|
&::before {
|
|
144
|
-
|
|
147
|
+
background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z' fill='hsl(0 100% 29%)'/%3E%3C/svg%3E");
|
|
148
|
+
background-repeat: no-repeat;
|
|
145
149
|
}
|
|
146
150
|
}
|
|
147
151
|
|
|
@@ -149,6 +153,7 @@ fieldset {
|
|
|
149
153
|
--validation--fc: var(--fc-success);
|
|
150
154
|
|
|
151
155
|
&::before {
|
|
152
|
-
|
|
156
|
+
background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z' fill='hsl(115 94% 18%)'/%3E%3C/svg%3E");
|
|
157
|
+
background-repeat: no-repeat;
|
|
153
158
|
}
|
|
154
159
|
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
// • VARIABLES
|
|
11
11
|
// • INPUTS & TEXTAREAS
|
|
12
12
|
// - Base Style
|
|
13
|
+
// - Wrapper
|
|
13
14
|
// - Validation States
|
|
14
15
|
// - Sizes
|
|
15
16
|
// • INPUT ICONS
|
|
@@ -39,7 +40,6 @@
|
|
|
39
40
|
position: relative;
|
|
40
41
|
display: inline-flex;
|
|
41
42
|
flex: 1 0%;
|
|
42
|
-
margin-top: var(--su6);
|
|
43
43
|
padding: 0.7rem var(--su8);
|
|
44
44
|
min-width: 0;
|
|
45
45
|
width: 100%;
|
|
@@ -80,16 +80,18 @@
|
|
|
80
80
|
&:focus {
|
|
81
81
|
--input--bc: var(--input--focus-bc);
|
|
82
82
|
|
|
83
|
-
box-shadow: var(--bs-focus-ring);
|
|
83
|
+
box-shadow: var(--bs-focus-ring)!important;
|
|
84
84
|
outline: 0;
|
|
85
85
|
}
|
|
86
86
|
// -- DISABLED / READ-ONLY
|
|
87
87
|
&[disabled],
|
|
88
88
|
&[read-only] {
|
|
89
|
-
--input--bc: var(--black-500);
|
|
89
|
+
--input--bc: var(--black-500)!important;
|
|
90
90
|
--input--bgc: var(--black-200);
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
&:focus {
|
|
93
|
+
box-shadow: none!important;
|
|
94
|
+
}
|
|
93
95
|
|
|
94
96
|
// -- Placeholder copy
|
|
95
97
|
&::placeholder {
|
|
@@ -102,6 +104,12 @@
|
|
|
102
104
|
}
|
|
103
105
|
}
|
|
104
106
|
|
|
107
|
+
// $$ INPUT WRAPPER
|
|
108
|
+
// ----------------------------------------------------------------------------
|
|
109
|
+
.d-input__wrapper {
|
|
110
|
+
position: relative;
|
|
111
|
+
}
|
|
112
|
+
|
|
105
113
|
// $$ SIZES
|
|
106
114
|
// ----------------------------------------------------------------------------
|
|
107
115
|
.d-input--xs {
|
|
@@ -197,29 +205,29 @@
|
|
|
197
205
|
// ----------------------------------------------------------------------------
|
|
198
206
|
.d-input--warning,
|
|
199
207
|
.d-textarea--warning {
|
|
200
|
-
--input--bc: var(--warning-color);
|
|
208
|
+
--input--bc: var(--warning-color)!important;
|
|
201
209
|
--input--focus-bc: var(--warning-color);
|
|
202
210
|
|
|
203
211
|
&:focus {
|
|
204
|
-
box-shadow: var(--bs-focus-ring-warning);
|
|
212
|
+
box-shadow: var(--bs-focus-ring-warning)!important;
|
|
205
213
|
}
|
|
206
214
|
}
|
|
207
215
|
.d-input--error,
|
|
208
216
|
.d-textarea--error {
|
|
209
|
-
--input--bc: var(--error-color);
|
|
217
|
+
--input--bc: var(--error-color)!important;
|
|
210
218
|
--input--focus-bc: var(--error-color);
|
|
211
219
|
|
|
212
220
|
&:focus {
|
|
213
|
-
box-shadow: var(--bs-focus-ring-error);
|
|
221
|
+
box-shadow: var(--bs-focus-ring-error)!important;
|
|
214
222
|
}
|
|
215
223
|
}
|
|
216
224
|
.d-input--success,
|
|
217
225
|
.d-textarea--success {
|
|
218
|
-
--input--bc: var(--success-color);
|
|
226
|
+
--input--bc: var(--success-color)!important;
|
|
219
227
|
--input--focus-bc: var(--success-color);
|
|
220
228
|
|
|
221
229
|
&:focus {
|
|
222
|
-
box-shadow: var(--bs-focus-ring-success);
|
|
230
|
+
box-shadow: var(--bs-focus-ring-success)!important;
|
|
223
231
|
}
|
|
224
232
|
}
|
|
225
233
|
|
|
@@ -231,10 +239,13 @@
|
|
|
231
239
|
// ------------------------------------------------------------------------
|
|
232
240
|
--input-icon-size: @icon16;
|
|
233
241
|
|
|
242
|
+
display: inline-flex;
|
|
243
|
+
align-items: center;
|
|
234
244
|
position: absolute;
|
|
245
|
+
top: 0;
|
|
235
246
|
z-index: var(--zi-base1);
|
|
236
247
|
margin: 0;
|
|
237
|
-
margin-top:
|
|
248
|
+
margin-top: 1rem;
|
|
238
249
|
line-height: 0;
|
|
239
250
|
|
|
240
251
|
height: var(--input-icon-size);
|
|
@@ -277,7 +288,7 @@
|
|
|
277
288
|
// ----------------------------------------------------------------------------
|
|
278
289
|
.d-input-icon--xs {
|
|
279
290
|
--input-icon-size: @icon12;
|
|
280
|
-
margin-top:
|
|
291
|
+
margin-top: 0.8rem;
|
|
281
292
|
|
|
282
293
|
// For backwards compatibility purposes only.
|
|
283
294
|
// Update padding for d-input, d-textarea if d-input-icon--left is present
|
|
@@ -295,7 +306,7 @@
|
|
|
295
306
|
|
|
296
307
|
.d-input-icon--sm {
|
|
297
308
|
--input-icon-size: @icon14;
|
|
298
|
-
margin-top:
|
|
309
|
+
margin-top: 0.9rem;
|
|
299
310
|
|
|
300
311
|
// For backwards compatibility purposes only.
|
|
301
312
|
// Update padding for d-input, d-textarea if d-input-icon--left is present
|
|
@@ -313,7 +324,7 @@
|
|
|
313
324
|
|
|
314
325
|
.d-input-icon--lg {
|
|
315
326
|
--input-icon-size: @icon20;
|
|
316
|
-
margin-top:
|
|
327
|
+
margin-top: 1.4rem;
|
|
317
328
|
|
|
318
329
|
// For backwards compatibility purposes only.
|
|
319
330
|
// Update padding for d-input, d-textarea if d-input-icon--left is present
|
|
@@ -331,7 +342,7 @@
|
|
|
331
342
|
|
|
332
343
|
.d-input-icon--xl {
|
|
333
344
|
--input-icon-size: @icon24;
|
|
334
|
-
margin-top:
|
|
345
|
+
margin-top: 1.6rem;
|
|
335
346
|
|
|
336
347
|
// For backwards compatibility purposes only.
|
|
337
348
|
// Update padding for d-input, d-textarea if d-input-icon--left is present
|
|
@@ -169,6 +169,18 @@
|
|
|
169
169
|
background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z' fill='hsl(240, 10%, 51%)'/%3E%3C/svg%3E");
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
+
|
|
173
|
+
&--indeterminate,
|
|
174
|
+
&:indeterminate {
|
|
175
|
+
--check-radio--bgc: var(--check-radio--color);
|
|
176
|
+
background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 13H5v-2h14v2z' fill='%23fff'/%3E%3C/svg%3E");
|
|
177
|
+
|
|
178
|
+
&[disabled] {
|
|
179
|
+
--check-radio--bgc: var(--black-200);
|
|
180
|
+
background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 13H5v-2h14v2z' fill='hsl(240, 10%, 51%)'/%3E%3C/svg%3E");
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
172
184
|
}
|
|
173
185
|
}
|
|
174
186
|
|
|
@@ -177,7 +189,7 @@
|
|
|
177
189
|
.d-checkbox--warning {
|
|
178
190
|
--check-radio--color: var(--warning-color);
|
|
179
191
|
--check-radio--bc: var(--check-radio--color);
|
|
180
|
-
|
|
192
|
+
|
|
181
193
|
&:focus,
|
|
182
194
|
&:checked:focus {
|
|
183
195
|
box-shadow: var(--bs-focus-ring-warning);
|
|
@@ -186,7 +198,7 @@
|
|
|
186
198
|
.d-checkbox--error {
|
|
187
199
|
--check-radio--color: var(--error-color);
|
|
188
200
|
--check-radio--bc: var(--check-radio--color);
|
|
189
|
-
|
|
201
|
+
|
|
190
202
|
&:focus,
|
|
191
203
|
&:checked:focus {
|
|
192
204
|
box-shadow: var(--bs-focus-ring-error);
|
|
@@ -252,7 +264,7 @@
|
|
|
252
264
|
&:focus,
|
|
253
265
|
&:checked:focus {
|
|
254
266
|
box-shadow: var(--bs-focus-ring-error), inset 0 0 0 var(--su2) var(--white);
|
|
255
|
-
}
|
|
267
|
+
}
|
|
256
268
|
}
|
|
257
269
|
|
|
258
270
|
.d-radio--success {
|
|
@@ -262,5 +274,5 @@
|
|
|
262
274
|
&:focus,
|
|
263
275
|
&:checked:focus {
|
|
264
276
|
box-shadow: var(--bs-focus-ring-success), inset 0 0 0 var(--su2) var(--white);
|
|
265
|
-
}
|
|
277
|
+
}
|
|
266
278
|
}
|
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
font-size: var(--fs18);
|
|
35
35
|
font-family: inherit;
|
|
36
36
|
line-height: var(--lh-tight);
|
|
37
|
-
margin-top: var(--su6);
|
|
38
37
|
|
|
39
38
|
// -- Arrows
|
|
40
39
|
&:before,
|
|
@@ -104,7 +103,6 @@
|
|
|
104
103
|
|
|
105
104
|
// [2] Update the styles
|
|
106
105
|
.d-input();
|
|
107
|
-
margin-top: 0;
|
|
108
106
|
|
|
109
107
|
--select--bc: var(--black-500);
|
|
110
108
|
|
|
@@ -970,6 +970,7 @@ fieldset {
|
|
|
970
970
|
align-items: baseline;
|
|
971
971
|
justify-content: space-between;
|
|
972
972
|
box-sizing: border-box;
|
|
973
|
+
margin-bottom: var(--su6);
|
|
973
974
|
color: currentColor;
|
|
974
975
|
font-family: inherit;
|
|
975
976
|
font-size: var(--fs16);
|
|
@@ -1001,13 +1002,16 @@ legend .d-label {
|
|
|
1001
1002
|
.d-description {
|
|
1002
1003
|
display: flex;
|
|
1003
1004
|
box-sizing: border-box;
|
|
1004
|
-
margin: var(--
|
|
1005
|
+
margin-bottom: var(--su6);
|
|
1005
1006
|
color: var(--black-500);
|
|
1006
1007
|
font-family: inherit;
|
|
1007
1008
|
font-size: var(--fs12);
|
|
1008
1009
|
line-height: var(--lh4);
|
|
1009
1010
|
fill: currentColor;
|
|
1010
1011
|
}
|
|
1012
|
+
.d-label + .d-description {
|
|
1013
|
+
margin-top: var(--sun6);
|
|
1014
|
+
}
|
|
1011
1015
|
.d-description--lg {
|
|
1012
1016
|
font-size: var(--fs14);
|
|
1013
1017
|
line-height: var(--lh6);
|
|
@@ -1034,27 +1038,26 @@ legend .d-label {
|
|
|
1034
1038
|
height: var(--su16);
|
|
1035
1039
|
margin-right: var(--su4);
|
|
1036
1040
|
}
|
|
1037
|
-
.d-checkbox__copy .d-validation-message,
|
|
1038
|
-
.d-radio__copy .d-validation-message {
|
|
1039
|
-
margin-top: var(--su2);
|
|
1040
|
-
}
|
|
1041
1041
|
.d-validation-message--warning {
|
|
1042
1042
|
--validation--fc: var(--fc-warning);
|
|
1043
1043
|
}
|
|
1044
1044
|
.d-validation-message--warning::before {
|
|
1045
1045
|
background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z' fill='hsl(43 100% 33%)'/%3E%3C/svg%3E");
|
|
1046
|
+
background-repeat: no-repeat;
|
|
1046
1047
|
}
|
|
1047
1048
|
.d-validation-message--error {
|
|
1048
1049
|
--validation--fc: var(--fc-error);
|
|
1049
1050
|
}
|
|
1050
1051
|
.d-validation-message--error::before {
|
|
1051
1052
|
background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z' fill='hsl(0 100% 29%)'/%3E%3C/svg%3E");
|
|
1053
|
+
background-repeat: no-repeat;
|
|
1052
1054
|
}
|
|
1053
1055
|
.d-validation-message--success {
|
|
1054
1056
|
--validation--fc: var(--fc-success);
|
|
1055
1057
|
}
|
|
1056
1058
|
.d-validation-message--success::before {
|
|
1057
1059
|
background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z' fill='hsl(115 94% 18%)'/%3E%3C/svg%3E");
|
|
1060
|
+
background-repeat: no-repeat;
|
|
1058
1061
|
}
|
|
1059
1062
|
.d-input,
|
|
1060
1063
|
.d-textarea {
|
|
@@ -1068,7 +1071,6 @@ legend .d-label {
|
|
|
1068
1071
|
box-sizing: border-box;
|
|
1069
1072
|
width: 100%;
|
|
1070
1073
|
min-width: 0;
|
|
1071
|
-
margin-top: var(--su6);
|
|
1072
1074
|
padding: 0.7rem var(--su8);
|
|
1073
1075
|
border: 1px solid var(--input--bc);
|
|
1074
1076
|
border-radius: var(--base--corner-radius);
|
|
@@ -1127,16 +1129,21 @@ legend .d-label {
|
|
|
1127
1129
|
.d-input:focus,
|
|
1128
1130
|
.d-textarea:focus {
|
|
1129
1131
|
--input--bc: var(--input--focus-bc);
|
|
1130
|
-
box-shadow: var(--bs-focus-ring);
|
|
1132
|
+
box-shadow: var(--bs-focus-ring) !important;
|
|
1131
1133
|
outline: 0;
|
|
1132
1134
|
}
|
|
1133
1135
|
.d-input[disabled],
|
|
1134
1136
|
.d-textarea[disabled],
|
|
1135
1137
|
.d-input[read-only],
|
|
1136
1138
|
.d-textarea[read-only] {
|
|
1137
|
-
--input--bc: var(--black-500);
|
|
1139
|
+
--input--bc: var(--black-500)!important;
|
|
1138
1140
|
--input--bgc: var(--black-200);
|
|
1139
|
-
|
|
1141
|
+
}
|
|
1142
|
+
.d-input[disabled]:focus,
|
|
1143
|
+
.d-textarea[disabled]:focus,
|
|
1144
|
+
.d-input[read-only]:focus,
|
|
1145
|
+
.d-textarea[read-only]:focus {
|
|
1146
|
+
box-shadow: none!important;
|
|
1140
1147
|
}
|
|
1141
1148
|
.d-input[disabled]::-webkit-input-placeholder,
|
|
1142
1149
|
.d-textarea[disabled]::-webkit-input-placeholder,
|
|
@@ -1178,6 +1185,9 @@ legend .d-label {
|
|
|
1178
1185
|
.d-textarea[disabled] {
|
|
1179
1186
|
cursor: not-allowed;
|
|
1180
1187
|
}
|
|
1188
|
+
.d-input__wrapper {
|
|
1189
|
+
position: relative;
|
|
1190
|
+
}
|
|
1181
1191
|
.d-input--xs {
|
|
1182
1192
|
padding-top: 0.5rem;
|
|
1183
1193
|
padding-bottom: 0.5rem;
|
|
@@ -1308,39 +1318,42 @@ legend .d-label {
|
|
|
1308
1318
|
}
|
|
1309
1319
|
.d-input--warning,
|
|
1310
1320
|
.d-textarea--warning {
|
|
1311
|
-
--input--bc: var(--warning-color);
|
|
1321
|
+
--input--bc: var(--warning-color)!important;
|
|
1312
1322
|
--input--focus-bc: var(--warning-color);
|
|
1313
1323
|
}
|
|
1314
1324
|
.d-input--warning:focus,
|
|
1315
1325
|
.d-textarea--warning:focus {
|
|
1316
|
-
box-shadow: var(--bs-focus-ring-warning);
|
|
1326
|
+
box-shadow: var(--bs-focus-ring-warning) !important;
|
|
1317
1327
|
}
|
|
1318
1328
|
.d-input--error,
|
|
1319
1329
|
.d-textarea--error {
|
|
1320
|
-
--input--bc: var(--error-color);
|
|
1330
|
+
--input--bc: var(--error-color)!important;
|
|
1321
1331
|
--input--focus-bc: var(--error-color);
|
|
1322
1332
|
}
|
|
1323
1333
|
.d-input--error:focus,
|
|
1324
1334
|
.d-textarea--error:focus {
|
|
1325
|
-
box-shadow: var(--bs-focus-ring-error);
|
|
1335
|
+
box-shadow: var(--bs-focus-ring-error) !important;
|
|
1326
1336
|
}
|
|
1327
1337
|
.d-input--success,
|
|
1328
1338
|
.d-textarea--success {
|
|
1329
|
-
--input--bc: var(--success-color);
|
|
1339
|
+
--input--bc: var(--success-color)!important;
|
|
1330
1340
|
--input--focus-bc: var(--success-color);
|
|
1331
1341
|
}
|
|
1332
1342
|
.d-input--success:focus,
|
|
1333
1343
|
.d-textarea--success:focus {
|
|
1334
|
-
box-shadow: var(--bs-focus-ring-success);
|
|
1344
|
+
box-shadow: var(--bs-focus-ring-success) !important;
|
|
1335
1345
|
}
|
|
1336
1346
|
.d-input-icon {
|
|
1337
1347
|
--input-icon-size: 1.6rem;
|
|
1348
|
+
display: inline-flex;
|
|
1338
1349
|
position: absolute;
|
|
1339
1350
|
z-index: var(--zi-base1);
|
|
1351
|
+
top: 0;
|
|
1352
|
+
align-items: center;
|
|
1340
1353
|
width: var(--input-icon-size);
|
|
1341
1354
|
height: var(--input-icon-size);
|
|
1342
1355
|
margin: 0;
|
|
1343
|
-
margin-top:
|
|
1356
|
+
margin-top: 1rem;
|
|
1344
1357
|
line-height: 0;
|
|
1345
1358
|
}
|
|
1346
1359
|
.d-input-icon svg {
|
|
@@ -1362,7 +1375,7 @@ legend .d-label {
|
|
|
1362
1375
|
}
|
|
1363
1376
|
.d-input-icon--xs {
|
|
1364
1377
|
--input-icon-size: 1.2rem;
|
|
1365
|
-
margin-top:
|
|
1378
|
+
margin-top: 0.8rem;
|
|
1366
1379
|
}
|
|
1367
1380
|
.d-input-icon--xs.d-input-icon--left ~ .d-input,
|
|
1368
1381
|
.d-input-icon--xs.d-input-icon--left ~ .d-textarea {
|
|
@@ -1373,7 +1386,7 @@ legend .d-label {
|
|
|
1373
1386
|
}
|
|
1374
1387
|
.d-input-icon--sm {
|
|
1375
1388
|
--input-icon-size: 1.4rem;
|
|
1376
|
-
margin-top:
|
|
1389
|
+
margin-top: 0.9rem;
|
|
1377
1390
|
}
|
|
1378
1391
|
.d-input-icon--sm.d-input-icon--left ~ .d-input,
|
|
1379
1392
|
.d-input-icon--sm.d-input-icon--left ~ .d-textarea {
|
|
@@ -1384,7 +1397,7 @@ legend .d-label {
|
|
|
1384
1397
|
}
|
|
1385
1398
|
.d-input-icon--lg {
|
|
1386
1399
|
--input-icon-size: 2rem;
|
|
1387
|
-
margin-top:
|
|
1400
|
+
margin-top: 1.4rem;
|
|
1388
1401
|
}
|
|
1389
1402
|
.d-input-icon--lg.d-input-icon--left ~ .d-input,
|
|
1390
1403
|
.d-input-icon--lg.d-input-icon--left ~ .d-textarea {
|
|
@@ -1395,7 +1408,7 @@ legend .d-label {
|
|
|
1395
1408
|
}
|
|
1396
1409
|
.d-input-icon--xl {
|
|
1397
1410
|
--input-icon-size: 2.4rem;
|
|
1398
|
-
margin-top:
|
|
1411
|
+
margin-top: 1.6rem;
|
|
1399
1412
|
}
|
|
1400
1413
|
.d-input-icon--xl.d-input-icon--left ~ .d-input,
|
|
1401
1414
|
.d-input-icon--xl.d-input-icon--left ~ .d-textarea {
|
|
@@ -2030,6 +2043,16 @@ legend .d-label {
|
|
|
2030
2043
|
--check-radio--bgc: var(--black-200);
|
|
2031
2044
|
background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z' fill='hsl(240, 10%, 51%)'/%3E%3C/svg%3E");
|
|
2032
2045
|
}
|
|
2046
|
+
.d-checkbox--indeterminate,
|
|
2047
|
+
.d-checkbox:indeterminate {
|
|
2048
|
+
--check-radio--bgc: var(--check-radio--color);
|
|
2049
|
+
background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 13H5v-2h14v2z' fill='%23fff'/%3E%3C/svg%3E");
|
|
2050
|
+
}
|
|
2051
|
+
.d-checkbox--indeterminate[disabled],
|
|
2052
|
+
.d-checkbox:indeterminate[disabled] {
|
|
2053
|
+
--check-radio--bgc: var(--black-200);
|
|
2054
|
+
background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 13H5v-2h14v2z' fill='hsl(240, 10%, 51%)'/%3E%3C/svg%3E");
|
|
2055
|
+
}
|
|
2033
2056
|
}
|
|
2034
2057
|
.d-checkbox--warning {
|
|
2035
2058
|
--check-radio--color: var(--warning-color);
|
|
@@ -2109,7 +2132,6 @@ legend .d-label {
|
|
|
2109
2132
|
box-sizing: border-box;
|
|
2110
2133
|
width: 100%;
|
|
2111
2134
|
width: -webkit-fill-available;
|
|
2112
|
-
margin-top: var(--su6);
|
|
2113
2135
|
font-family: inherit;
|
|
2114
2136
|
font-size: var(--fs18);
|
|
2115
2137
|
font-weight: inherit;
|
|
@@ -2190,8 +2212,6 @@ legend .d-label {
|
|
|
2190
2212
|
width: 100%;
|
|
2191
2213
|
min-width: 0;
|
|
2192
2214
|
height: 100%;
|
|
2193
|
-
margin-top: var(--su6);
|
|
2194
|
-
margin-top: 0;
|
|
2195
2215
|
padding: 0.7rem var(--su8);
|
|
2196
2216
|
padding: 0.7rem 2em 0.7rem 0.8rem;
|
|
2197
2217
|
border: 1px solid var(--input--bc);
|
|
@@ -2245,14 +2265,17 @@ legend .d-label {
|
|
|
2245
2265
|
}
|
|
2246
2266
|
.d-select__input:focus {
|
|
2247
2267
|
--input--bc: var(--input--focus-bc);
|
|
2248
|
-
box-shadow: var(--bs-focus-ring);
|
|
2268
|
+
box-shadow: var(--bs-focus-ring) !important;
|
|
2249
2269
|
outline: 0;
|
|
2250
2270
|
}
|
|
2251
2271
|
.d-select__input[disabled],
|
|
2252
2272
|
.d-select__input[read-only] {
|
|
2253
|
-
--input--bc: var(--black-500);
|
|
2273
|
+
--input--bc: var(--black-500)!important;
|
|
2254
2274
|
--input--bgc: var(--black-200);
|
|
2255
|
-
|
|
2275
|
+
}
|
|
2276
|
+
.d-select__input[disabled]:focus,
|
|
2277
|
+
.d-select__input[read-only]:focus {
|
|
2278
|
+
box-shadow: none!important;
|
|
2256
2279
|
}
|
|
2257
2280
|
.d-select__input[disabled]::-webkit-input-placeholder,
|
|
2258
2281
|
.d-select__input[read-only]::-webkit-input-placeholder {
|