@transferwise/neptune-css 0.0.0-experimental-012dcef → 0.0.0-experimental-b2d4d5e
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/dist/css/accordion.css +22 -44
- package/dist/css/badge.css +2 -2
- package/dist/css/button-groups.css +29 -6
- package/dist/css/buttons.css +35 -11
- package/dist/css/decision.css +22 -44
- package/dist/css/dropdowns.css +39 -54
- package/dist/css/droppable.css +28 -6
- package/dist/css/footer.css +41 -10
- package/dist/css/input-groups.css +203 -167
- package/dist/css/list-group.css +1 -42
- package/dist/css/modals.css +1 -1
- package/dist/css/navbar.css +66 -81
- package/dist/css/navs.css +8 -8
- package/dist/css/neptune-addons.css +15 -0
- package/dist/css/neptune-core.css +5935 -524
- package/dist/css/neptune.css +8391 -1950
- package/dist/css/panels.css +2 -2
- package/dist/css/popovers.css +39 -56
- package/dist/css/progress-bars.css +2 -2
- package/dist/css/sequences.css +14 -9
- package/dist/css/table.css +7 -7
- package/dist/css/tooltip.css +28 -6
- package/dist/less/legacy-variables.less +3 -3
- package/dist/less/neptune-tokens.less +0 -48
- package/dist/props/neptune-tokens.css +804 -3
- package/package.json +1 -1
- package/src/less/addons/_background-utilities.less +5 -0
- package/src/less/badge.less +2 -2
- package/src/less/button-groups.less +3 -2
- package/src/less/buttons.less +7 -7
- package/src/less/core/_fonts.less +7 -75
- package/src/less/core/_scaffolding.less +4 -4
- package/src/less/core/_typography-utilities.less +3 -3
- package/src/less/core/_typography.less +81 -235
- package/src/less/core/fonts/_fonts-ar.less +140 -0
- package/src/less/core/fonts/_fonts-en.less +99 -0
- package/src/less/core/fonts/_fonts-he.less +8 -0
- package/src/less/core/fonts/_fonts-ja.less +4247 -0
- package/src/less/core/fonts/_fonts-ko.less +1079 -0
- package/src/less/core/fonts/_fonts-th.less +8 -0
- package/src/less/core/fonts/_fonts-zh.less +872 -0
- package/src/less/decision.less +2 -2
- package/src/less/dropdowns.less +8 -7
- package/src/less/droppable.less +4 -4
- package/src/less/footer.less +4 -3
- package/src/less/forms/bootstrap-forms.less +85 -72
- package/src/less/forms/checkbox-radio.less +3 -3
- package/src/less/input-groups.less +20 -10
- package/src/less/list-group.less +8 -5
- package/src/less/mixins/_reset-text.less +1 -1
- package/src/less/mixins/_text-emphasis.less +7 -1
- package/src/less/modals.less +1 -1
- package/src/less/navbar.less +19 -19
- package/src/less/navs.less +8 -8
- package/src/less/neptune.bundle.less +4 -0
- package/src/less/panels.less +2 -2
- package/src/less/popovers.less +7 -7
- package/src/less/progress-bars.less +2 -2
- package/src/less/sequences.less +15 -10
- package/src/less/table.less +7 -7
- package/src/less/tooltip.less +1 -1
- package/src/variables/legacy-variables.less +3 -3
- package/dist/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/dist/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
- package/dist/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/dist/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
- package/dist/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
- package/src/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/src/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
- package/src/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/src/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
- package/src/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/src/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
- package/src/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
|
@@ -1,7 +1,106 @@
|
|
|
1
1
|
.btn-sm {
|
|
2
2
|
block-size: 32px;
|
|
3
3
|
}
|
|
4
|
-
form
|
|
4
|
+
.input-group-lg > .form-control,
|
|
5
|
+
.input-group-lg > .input-group-addon,
|
|
6
|
+
.input-group-lg > .input-group-btn .btn {
|
|
7
|
+
margin-block-end: initial;
|
|
8
|
+
}
|
|
9
|
+
.input-sm,
|
|
10
|
+
.input-group-sm > .form-control,
|
|
11
|
+
.input-group-sm > .input-group-addon {
|
|
12
|
+
word-wrap: break-word;
|
|
13
|
+
}
|
|
14
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
15
|
+
.input-sm,
|
|
16
|
+
.input-group-sm > .form-control,
|
|
17
|
+
.input-group-sm > .input-group-addon {
|
|
18
|
+
hyphens: auto;hyphenate-limit-chars: 7 3;
|
|
19
|
+
}
|
|
20
|
+
@media (min-width: 840px) {
|
|
21
|
+
.input-sm,
|
|
22
|
+
.input-group-sm > .form-control,
|
|
23
|
+
.input-group-sm > .input-group-addon {
|
|
24
|
+
hyphenate-limit-chars: 8 3;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
@media (min-width: 1160px) {
|
|
28
|
+
.input-sm,
|
|
29
|
+
.input-group-sm > .form-control,
|
|
30
|
+
.input-group-sm > .input-group-addon {
|
|
31
|
+
hyphenate-limit-chars: 10 4 3;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
35
|
+
.input-sm,
|
|
36
|
+
.input-group-sm > .form-control,
|
|
37
|
+
.input-group-sm > .input-group-addon {
|
|
38
|
+
hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
|
|
39
|
+
}
|
|
40
|
+
@media (min-width: 1160px) {
|
|
41
|
+
.input-sm,
|
|
42
|
+
.input-group-sm > .form-control,
|
|
43
|
+
.input-group-sm > .input-group-addon {
|
|
44
|
+
-webkit-hyphenate-limit-before: 4;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}.form-control,
|
|
48
|
+
.input-lg,
|
|
49
|
+
.form-control-placeholder,
|
|
50
|
+
.input-group-lg > .form-control,
|
|
51
|
+
.input-group-lg > .input-group-addon,
|
|
52
|
+
.input-group-lg > .input-group-btn .btn {
|
|
53
|
+
word-wrap: break-word;
|
|
54
|
+
}
|
|
55
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
56
|
+
.form-control,
|
|
57
|
+
.input-lg,
|
|
58
|
+
.form-control-placeholder,
|
|
59
|
+
.input-group-lg > .form-control,
|
|
60
|
+
.input-group-lg > .input-group-addon,
|
|
61
|
+
.input-group-lg > .input-group-btn .btn {
|
|
62
|
+
hyphens: auto;hyphenate-limit-chars: 7 3;
|
|
63
|
+
}
|
|
64
|
+
@media (min-width: 840px) {
|
|
65
|
+
.form-control,
|
|
66
|
+
.input-lg,
|
|
67
|
+
.form-control-placeholder,
|
|
68
|
+
.input-group-lg > .form-control,
|
|
69
|
+
.input-group-lg > .input-group-addon,
|
|
70
|
+
.input-group-lg > .input-group-btn .btn {
|
|
71
|
+
hyphenate-limit-chars: 8 3;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
@media (min-width: 1160px) {
|
|
75
|
+
.form-control,
|
|
76
|
+
.input-lg,
|
|
77
|
+
.form-control-placeholder,
|
|
78
|
+
.input-group-lg > .form-control,
|
|
79
|
+
.input-group-lg > .input-group-addon,
|
|
80
|
+
.input-group-lg > .input-group-btn .btn {
|
|
81
|
+
hyphenate-limit-chars: 10 4 3;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
85
|
+
.form-control,
|
|
86
|
+
.input-lg,
|
|
87
|
+
.form-control-placeholder,
|
|
88
|
+
.input-group-lg > .form-control,
|
|
89
|
+
.input-group-lg > .input-group-addon,
|
|
90
|
+
.input-group-lg > .input-group-btn .btn {
|
|
91
|
+
hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
|
|
92
|
+
}
|
|
93
|
+
@media (min-width: 1160px) {
|
|
94
|
+
.form-control,
|
|
95
|
+
.input-lg,
|
|
96
|
+
.form-control-placeholder,
|
|
97
|
+
.input-group-lg > .form-control,
|
|
98
|
+
.input-group-lg > .input-group-addon,
|
|
99
|
+
.input-group-lg > .input-group-btn .btn {
|
|
100
|
+
-webkit-hyphenate-limit-before: 4;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}form {
|
|
5
104
|
margin-block-end: 0;
|
|
6
105
|
}
|
|
7
106
|
fieldset {
|
|
@@ -23,34 +122,34 @@ label,
|
|
|
23
122
|
.secondary {
|
|
24
123
|
color: var(--color-content-secondary);
|
|
25
124
|
transition: color ease-in-out 0.15s;
|
|
26
|
-
font-size: var(--font-size-
|
|
125
|
+
font-size: var(--wds-font-size-body);
|
|
27
126
|
line-height: 20px;
|
|
28
127
|
}
|
|
29
|
-
input[type=
|
|
128
|
+
input[type="search"] {
|
|
30
129
|
box-sizing: border-box;
|
|
31
130
|
}
|
|
32
|
-
input[type=
|
|
131
|
+
input[type="number"] {
|
|
33
132
|
-webkit-appearance: textfield;
|
|
34
133
|
-moz-appearance: textfield;
|
|
35
134
|
appearance: textfield;
|
|
36
135
|
}
|
|
37
|
-
input[type=
|
|
38
|
-
input[type=
|
|
136
|
+
input[type="number"]::-webkit-outer-spin-button,
|
|
137
|
+
input[type="number"]::-webkit-inner-spin-button {
|
|
39
138
|
-webkit-appearance: none;
|
|
40
139
|
appearance: none;
|
|
41
140
|
margin: 0;
|
|
42
141
|
}
|
|
43
|
-
input[type=
|
|
44
|
-
input[type=
|
|
142
|
+
input[type="radio"],
|
|
143
|
+
input[type="checkbox"] {
|
|
45
144
|
margin-block: 4px 0;
|
|
46
145
|
margin-inline: 0;
|
|
47
146
|
margin-block-start: 1px;
|
|
48
147
|
line-height: normal;
|
|
49
148
|
}
|
|
50
|
-
input[type=
|
|
149
|
+
input[type="file"] {
|
|
51
150
|
display: block;
|
|
52
151
|
}
|
|
53
|
-
input[type=
|
|
152
|
+
input[type="range"] {
|
|
54
153
|
display: block;
|
|
55
154
|
inline-size: 100%;
|
|
56
155
|
}
|
|
@@ -58,17 +157,17 @@ select[multiple],
|
|
|
58
157
|
select[size] {
|
|
59
158
|
block-size: auto;
|
|
60
159
|
}
|
|
61
|
-
input[type=
|
|
62
|
-
input[type=
|
|
63
|
-
input[type=
|
|
160
|
+
input[type="file"]:focus,
|
|
161
|
+
input[type="radio"]:focus,
|
|
162
|
+
input[type="checkbox"]:focus {
|
|
64
163
|
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
65
164
|
outline-offset: var(--ring-outline-offset);
|
|
66
165
|
}
|
|
67
166
|
output {
|
|
68
167
|
display: block;
|
|
69
168
|
padding-block-start: 9px;
|
|
70
|
-
font-size: var(--font-size-
|
|
71
|
-
line-height: var(--line-height-
|
|
169
|
+
font-size: var(--wds-font-size-body-large);
|
|
170
|
+
line-height: var(--wds-line-height-title-section);
|
|
72
171
|
color: var(--color-content-primary);
|
|
73
172
|
}
|
|
74
173
|
.form-control {
|
|
@@ -79,13 +178,10 @@ output {
|
|
|
79
178
|
background-image: none;
|
|
80
179
|
border: 1px solid var(--color-interactive-secondary);
|
|
81
180
|
transition: border-color ease-in-out 0.15s;
|
|
181
|
+
font-size: var(--wds-font-size-body-large);
|
|
82
182
|
min-block-size: var(--input-height-base);
|
|
83
183
|
padding: var(--input-padding);
|
|
84
184
|
border-radius: 3px;
|
|
85
|
-
font-weight: var(--font-weight-regular);
|
|
86
|
-
font-size: var(--font-size-16);
|
|
87
|
-
line-height: 150%;
|
|
88
|
-
letter-spacing: -0.011em;
|
|
89
185
|
word-wrap: break-word;
|
|
90
186
|
background-clip: padding-box;
|
|
91
187
|
}
|
|
@@ -160,37 +256,37 @@ textarea.form-control {
|
|
|
160
256
|
.np-theme-personal .form-control:focus {
|
|
161
257
|
border-color: var(--color-interactive-primary);
|
|
162
258
|
}
|
|
163
|
-
input[type=
|
|
259
|
+
input[type="search"] {
|
|
164
260
|
-webkit-appearance: none;
|
|
165
261
|
-moz-appearance: none;
|
|
166
262
|
appearance: none;
|
|
167
263
|
}
|
|
168
264
|
@media screen and (min-device-pixel-ratio: 0) {
|
|
169
|
-
input[type=
|
|
170
|
-
input[type=
|
|
171
|
-
input[type=
|
|
172
|
-
input[type=
|
|
265
|
+
input[type="date"],
|
|
266
|
+
input[type="time"],
|
|
267
|
+
input[type="datetime-local"],
|
|
268
|
+
input[type="month"] {
|
|
173
269
|
line-height: var(--input-height-base);
|
|
174
270
|
}
|
|
175
|
-
input[type=
|
|
176
|
-
input[type=
|
|
177
|
-
input[type=
|
|
178
|
-
input[type=
|
|
179
|
-
.input-group-sm input[type=
|
|
180
|
-
.input-group-sm input[type=
|
|
181
|
-
.input-group-sm input[type=
|
|
182
|
-
.input-group-sm input[type=
|
|
271
|
+
input[type="date"].input-sm,
|
|
272
|
+
input[type="time"].input-sm,
|
|
273
|
+
input[type="datetime-local"].input-sm,
|
|
274
|
+
input[type="month"].input-sm,
|
|
275
|
+
.input-group-sm input[type="date"],
|
|
276
|
+
.input-group-sm input[type="time"],
|
|
277
|
+
.input-group-sm input[type="datetime-local"],
|
|
278
|
+
.input-group-sm input[type="month"] {
|
|
183
279
|
line-height: var(--input-height-small);
|
|
184
280
|
}
|
|
185
|
-
input[type=
|
|
186
|
-
input[type=
|
|
187
|
-
input[type=
|
|
188
|
-
input[type=
|
|
189
|
-
.input-group-lg input[type=
|
|
190
|
-
.input-group-lg input[type=
|
|
191
|
-
.input-group-lg input[type=
|
|
192
|
-
.input-group-lg input[type=
|
|
193
|
-
line-height: calc(var(--input-height-large) - var(--line-height-body));
|
|
281
|
+
input[type="date"].input-lg,
|
|
282
|
+
input[type="time"].input-lg,
|
|
283
|
+
input[type="datetime-local"].input-lg,
|
|
284
|
+
input[type="month"].input-lg,
|
|
285
|
+
.input-group-lg input[type="date"],
|
|
286
|
+
.input-group-lg input[type="time"],
|
|
287
|
+
.input-group-lg input[type="datetime-local"],
|
|
288
|
+
.input-group-lg input[type="month"] {
|
|
289
|
+
line-height: calc(var(--input-height-large) - var(--wds-line-height-body-large));
|
|
194
290
|
}
|
|
195
291
|
}
|
|
196
292
|
.form-group {
|
|
@@ -203,7 +299,7 @@ input[type='search'] {
|
|
|
203
299
|
.form-group:focus-within > label {
|
|
204
300
|
color: var(--color-content-primary);
|
|
205
301
|
}
|
|
206
|
-
.row-equal-height > [class*=
|
|
302
|
+
.row-equal-height > [class*="col-"] > .form-group {
|
|
207
303
|
inline-size: 100%;
|
|
208
304
|
}
|
|
209
305
|
.radio,
|
|
@@ -222,10 +318,10 @@ input[type='search'] {
|
|
|
222
318
|
.checkbox + .checkbox {
|
|
223
319
|
margin-block-start: 12px;
|
|
224
320
|
}
|
|
225
|
-
.radio input[type=
|
|
226
|
-
.radio-inline input[type=
|
|
227
|
-
.checkbox input[type=
|
|
228
|
-
.checkbox-inline input[type=
|
|
321
|
+
.radio input[type="radio"],
|
|
322
|
+
.radio-inline input[type="radio"],
|
|
323
|
+
.checkbox input[type="checkbox"],
|
|
324
|
+
.checkbox-inline input[type="checkbox"] {
|
|
229
325
|
position: absolute;
|
|
230
326
|
margin-inline-start: -20px;
|
|
231
327
|
margin-block-start: 4px \9;
|
|
@@ -251,12 +347,12 @@ fieldset[disabled] .checkbox-inline {
|
|
|
251
347
|
margin-block-start: 0;
|
|
252
348
|
margin-inline-start: 10px;
|
|
253
349
|
}
|
|
254
|
-
input[type=
|
|
255
|
-
input[type=
|
|
256
|
-
input[type=
|
|
257
|
-
input[type=
|
|
258
|
-
fieldset[disabled] input[type=
|
|
259
|
-
fieldset[disabled] input[type=
|
|
350
|
+
input[type="radio"][disabled],
|
|
351
|
+
input[type="checkbox"][disabled],
|
|
352
|
+
input[type="radio"].disabled,
|
|
353
|
+
input[type="checkbox"].disabled,
|
|
354
|
+
fieldset[disabled] input[type="radio"],
|
|
355
|
+
fieldset[disabled] input[type="checkbox"] {
|
|
260
356
|
cursor: not-allowed;
|
|
261
357
|
}
|
|
262
358
|
input[type="password"]::-ms-reveal {
|
|
@@ -270,7 +366,7 @@ fieldset[disabled] .checkbox label {
|
|
|
270
366
|
}
|
|
271
367
|
.form-control-static {
|
|
272
368
|
margin-block-end: 0;
|
|
273
|
-
min-block-size: calc(var(--line-height-
|
|
369
|
+
min-block-size: calc(var(--wds-line-height-title-section) * 2);
|
|
274
370
|
color: var(--color-content-secondary);
|
|
275
371
|
background-color: var(--color-background-neutral);
|
|
276
372
|
border: 1px solid var(--color-interactive-secondary);
|
|
@@ -288,10 +384,6 @@ fieldset[disabled] .checkbox label {
|
|
|
288
384
|
border-radius: 3px;
|
|
289
385
|
font-size: 14px;
|
|
290
386
|
line-height: 24px;
|
|
291
|
-
font-size: var(--font-size-14);
|
|
292
|
-
line-height: 155%;
|
|
293
|
-
letter-spacing: -0.006em;
|
|
294
|
-
font-weight: var(--font-weight-regular);
|
|
295
387
|
word-wrap: break-word;
|
|
296
388
|
}
|
|
297
389
|
select.input-sm {
|
|
@@ -333,7 +425,7 @@ select[multiple].input-sm {
|
|
|
333
425
|
.navbar .form-control {
|
|
334
426
|
block-size: 32px;
|
|
335
427
|
padding: var(--input-padding-small);
|
|
336
|
-
font-size: var(--font-size-
|
|
428
|
+
font-size: var(--wds-font-size-body);
|
|
337
429
|
line-height: 24px;
|
|
338
430
|
border-radius: 3px;
|
|
339
431
|
}
|
|
@@ -351,19 +443,15 @@ select[multiple].input-sm {
|
|
|
351
443
|
.form-group-sm .form-control-static,
|
|
352
444
|
.navbar .form-control-static {
|
|
353
445
|
block-size: 32px;
|
|
354
|
-
min-block-size: calc(var(--line-height-
|
|
446
|
+
min-block-size: calc(var(--wds-line-height-title-section) + 14px);
|
|
355
447
|
padding: var(--input-padding-small);
|
|
356
|
-
font-size: var(--font-size-
|
|
448
|
+
font-size: var(--wds-font-size-body);
|
|
357
449
|
line-height: 24px;
|
|
358
450
|
}
|
|
359
451
|
.input-lg {
|
|
360
452
|
min-block-size: var(--input-height-large);
|
|
361
453
|
padding: var(--input-padding-large);
|
|
362
454
|
border-radius: 3px;
|
|
363
|
-
font-weight: var(--font-weight-regular);
|
|
364
|
-
font-size: var(--font-size-16);
|
|
365
|
-
line-height: 150%;
|
|
366
|
-
letter-spacing: -0.011em;
|
|
367
455
|
word-wrap: break-word;
|
|
368
456
|
}
|
|
369
457
|
select.input-lg {
|
|
@@ -422,7 +510,7 @@ select[multiple].input-lg {
|
|
|
422
510
|
}
|
|
423
511
|
.form-group-lg .form-control-static {
|
|
424
512
|
block-size: var(--input-height-large);
|
|
425
|
-
min-block-size: calc(var(--line-height-
|
|
513
|
+
min-block-size: calc(var(--wds-line-height-title-section) + 22px);
|
|
426
514
|
padding: var(--input-padding-large);
|
|
427
515
|
font-size: 22px;
|
|
428
516
|
line-height: 32px;
|
|
@@ -1229,7 +1317,7 @@ select[multiple].input-lg {
|
|
|
1229
1317
|
border-color: var(--color-sentiment-negative);
|
|
1230
1318
|
}
|
|
1231
1319
|
.has-feedback label ~ .form-control-feedback {
|
|
1232
|
-
inset-block-start: var(--line-height-
|
|
1320
|
+
inset-block-start: var(--wds-line-height-title-section);
|
|
1233
1321
|
}
|
|
1234
1322
|
.has-feedback label.sr-only ~ .form-control-feedback {
|
|
1235
1323
|
inset-block-start: 0;
|
|
@@ -1275,8 +1363,8 @@ select[multiple].input-lg {
|
|
|
1275
1363
|
.form-inline .checkbox label {
|
|
1276
1364
|
padding-inline-start: 0;
|
|
1277
1365
|
}
|
|
1278
|
-
.form-inline .radio input[type=
|
|
1279
|
-
.form-inline .checkbox input[type=
|
|
1366
|
+
.form-inline .radio input[type="radio"],
|
|
1367
|
+
.form-inline .checkbox input[type="checkbox"] {
|
|
1280
1368
|
position: relative;
|
|
1281
1369
|
margin-inline-start: 0;
|
|
1282
1370
|
}
|
|
@@ -1294,7 +1382,7 @@ select[multiple].input-lg {
|
|
|
1294
1382
|
}
|
|
1295
1383
|
.form-horizontal .radio,
|
|
1296
1384
|
.form-horizontal .checkbox {
|
|
1297
|
-
min-block-size: calc(var(--line-height-
|
|
1385
|
+
min-block-size: calc(var(--wds-line-height-title-section) + (8px + 1));
|
|
1298
1386
|
}
|
|
1299
1387
|
.form-horizontal .form-group {
|
|
1300
1388
|
margin-inline-start: -12px;
|
|
@@ -1319,13 +1407,13 @@ select[multiple].input-lg {
|
|
|
1319
1407
|
@media (min-width: 600px) {
|
|
1320
1408
|
.form-horizontal .form-group-lg .control-label {
|
|
1321
1409
|
padding-block-start: 17px;
|
|
1322
|
-
font-size: var(--font-size-
|
|
1410
|
+
font-size: var(--wds-font-size-title-body);
|
|
1323
1411
|
}
|
|
1324
1412
|
}
|
|
1325
1413
|
@media (min-width: 600px) {
|
|
1326
1414
|
.form-horizontal .form-group-sm .control-label {
|
|
1327
1415
|
padding-block-start: 8px;
|
|
1328
|
-
font-size: var(--font-size-
|
|
1416
|
+
font-size: var(--wds-font-size-body);
|
|
1329
1417
|
}
|
|
1330
1418
|
}
|
|
1331
1419
|
.radio,
|
|
@@ -1619,9 +1707,9 @@ input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:active + .tw-
|
|
|
1619
1707
|
:not(.np-theme-personal) .np-checkbox.checkbox > label .np-checkbox__text,
|
|
1620
1708
|
:not(.np-theme-personal) .np-radio.radio > label .np-radio__text,
|
|
1621
1709
|
:not(.np-theme-personal) .np-checkbox.checkbox > label .np-radio__text {
|
|
1622
|
-
font-weight: var(--font-weight-regular);
|
|
1623
|
-
font-size: var(--font-size-
|
|
1624
|
-
line-height: var(--line-height-
|
|
1710
|
+
font-weight: var(--wds-font-weight-body-regular);
|
|
1711
|
+
font-size: var(--wds-font-size-body-large);
|
|
1712
|
+
line-height: var(--wds-line-height-title-subsection);
|
|
1625
1713
|
padding-block-start: 3px;
|
|
1626
1714
|
}
|
|
1627
1715
|
.np-theme-personal .np-radio.radio > label,
|
|
@@ -1654,48 +1742,48 @@ input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:active + .tw-
|
|
|
1654
1742
|
}
|
|
1655
1743
|
.form-group {
|
|
1656
1744
|
position: relative;
|
|
1657
|
-
font-size: var(--font-size-
|
|
1745
|
+
font-size: var(--wds-font-size-body);
|
|
1658
1746
|
}
|
|
1659
1747
|
.form-group .row {
|
|
1660
1748
|
margin-inline-start: -6px;
|
|
1661
1749
|
margin-inline-end: -6px;
|
|
1662
1750
|
}
|
|
1663
|
-
.form-group .row [class*=
|
|
1751
|
+
.form-group .row [class*="col-"] {
|
|
1664
1752
|
padding-inline-start: 6px;
|
|
1665
1753
|
padding-inline-end: 6px;
|
|
1666
1754
|
}
|
|
1667
1755
|
@media (max-width: 599.98px) {
|
|
1668
|
-
.form-group .row [class*=
|
|
1756
|
+
.form-group .row [class*="col-sm-"] {
|
|
1669
1757
|
margin-block-end: 0;
|
|
1670
1758
|
}
|
|
1671
|
-
.form-group .row [class*=
|
|
1759
|
+
.form-group .row [class*="col-sm-"] .btn-input {
|
|
1672
1760
|
margin-block-end: 12px;
|
|
1673
1761
|
}
|
|
1674
1762
|
}
|
|
1675
1763
|
@media (max-width: 839.98px) {
|
|
1676
|
-
.form-group .row [class*=
|
|
1764
|
+
.form-group .row [class*="col-md-"] {
|
|
1677
1765
|
margin-block-end: 0;
|
|
1678
1766
|
}
|
|
1679
|
-
.form-group .row [class*=
|
|
1680
|
-
.form-group .row [class*=
|
|
1767
|
+
.form-group .row [class*="col-md-"] .form-control,
|
|
1768
|
+
.form-group .row [class*="col-md-"] .btn-input {
|
|
1681
1769
|
margin-block-end: 12px;
|
|
1682
1770
|
}
|
|
1683
1771
|
}
|
|
1684
1772
|
@media (max-width: 1159.98px) {
|
|
1685
|
-
.form-group .row [class*=
|
|
1773
|
+
.form-group .row [class*="col-lg-"] {
|
|
1686
1774
|
margin-block-end: 0;
|
|
1687
1775
|
}
|
|
1688
|
-
.form-group .row [class*=
|
|
1689
|
-
.form-group .row [class*=
|
|
1776
|
+
.form-group .row [class*="col-lg-"] .form-control,
|
|
1777
|
+
.form-group .row [class*="col-lg-"] .btn-input {
|
|
1690
1778
|
margin-block-end: 12px;
|
|
1691
1779
|
}
|
|
1692
1780
|
}
|
|
1693
1781
|
@media (max-width: 1159.98px) {
|
|
1694
|
-
.form-group .row [class*=
|
|
1782
|
+
.form-group .row [class*="col-xl-"] {
|
|
1695
1783
|
margin-block-end: 0;
|
|
1696
1784
|
}
|
|
1697
|
-
.form-group .row [class*=
|
|
1698
|
-
.form-group .row [class*=
|
|
1785
|
+
.form-group .row [class*="col-xl-"] .form-control,
|
|
1786
|
+
.form-group .row [class*="col-xl-"] .btn-input {
|
|
1699
1787
|
margin-block-end: 12px;
|
|
1700
1788
|
}
|
|
1701
1789
|
}
|
|
@@ -1770,7 +1858,11 @@ input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:active + .tw-
|
|
|
1770
1858
|
.checkbox.checkbox-lg > label .np-text-body-default,
|
|
1771
1859
|
.radio.checkbox-lg > label .np-text-body-default,
|
|
1772
1860
|
.checkbox.radio-lg > label .np-text-body-default,
|
|
1773
|
-
.radio.radio-lg > label .np-text-body-default
|
|
1861
|
+
.radio.radio-lg > label .np-text-body-default,
|
|
1862
|
+
.checkbox.checkbox-lg > label .wds-text-body-default,
|
|
1863
|
+
.radio.checkbox-lg > label .wds-text-body-default,
|
|
1864
|
+
.checkbox.radio-lg > label .wds-text-body-default,
|
|
1865
|
+
.radio.radio-lg > label .wds-text-body-default {
|
|
1774
1866
|
display: block;
|
|
1775
1867
|
color: var(--color-content-secondary);
|
|
1776
1868
|
}
|
|
@@ -1864,10 +1956,6 @@ input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:active + .tw-
|
|
|
1864
1956
|
.form-control-placeholder {
|
|
1865
1957
|
text-overflow: ellipsis;
|
|
1866
1958
|
overflow: hidden;
|
|
1867
|
-
font-weight: var(--font-weight-regular);
|
|
1868
|
-
font-size: var(--font-size-16);
|
|
1869
|
-
line-height: 150%;
|
|
1870
|
-
letter-spacing: -0.011em;
|
|
1871
1959
|
word-wrap: break-word;
|
|
1872
1960
|
display: block;
|
|
1873
1961
|
inline-size: 100%;
|
|
@@ -1990,23 +2078,23 @@ input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:active + .tw-
|
|
|
1990
2078
|
.np-theme-personal .has-error .checkbox:hover .tw-checkbox-button,
|
|
1991
2079
|
.np-theme-personal .has-error .radio:not(.disabled):hover .tw-radio-button,
|
|
1992
2080
|
.np-theme-personal .has-error .tw-checkbox-button:not(.disabled):not(:disabled):hover,
|
|
1993
|
-
.np-theme-personal .has-error input[type=checkbox]:hover + .tw-checkbox-button,
|
|
1994
|
-
.np-theme-personal .has-error input[type=radio]:not(.disabled):not(:disabled):hover + .tw-radio-button,
|
|
1995
|
-
.np-theme-personal .has-error input[type=checkbox]:not(.disabled):not(:disabled):hover + .tw-checkbox-button {
|
|
2081
|
+
.np-theme-personal .has-error input[type="checkbox"]:hover + .tw-checkbox-button,
|
|
2082
|
+
.np-theme-personal .has-error input[type="radio"]:not(.disabled):not(:disabled):hover + .tw-radio-button,
|
|
2083
|
+
.np-theme-personal .has-error input[type="checkbox"]:not(.disabled):not(:disabled):hover + .tw-checkbox-button {
|
|
1996
2084
|
box-shadow: inset 0 0 0 2px var(--color-sentiment-negative-hover);
|
|
1997
2085
|
}
|
|
1998
2086
|
.np-theme-personal .has-error .tw-checkbox-button.checked,
|
|
1999
2087
|
.np-theme-personal .has-error .tw-checkbox-button:checked,
|
|
2000
|
-
.np-theme-personal .has-error input[type=checkbox]:checked + .tw-checkbox-button,
|
|
2088
|
+
.np-theme-personal .has-error input[type="checkbox"]:checked + .tw-checkbox-button,
|
|
2001
2089
|
.np-theme-personal .has-error .tw-checkbox-button.checked:hover,
|
|
2002
2090
|
.np-theme-personal .has-error .tw-checkbox-button:checked:hover,
|
|
2003
|
-
.np-theme-personal .has-error input[type=checkbox]:not(.disabled):not(:disabled):checked:hover + .tw-checkbox-button {
|
|
2091
|
+
.np-theme-personal .has-error input[type="checkbox"]:not(.disabled):not(:disabled):checked:hover + .tw-checkbox-button {
|
|
2004
2092
|
box-shadow: inset 0 0 0 3px var(--color-sentiment-negative);
|
|
2005
2093
|
background: var(--color-sentiment-negative);
|
|
2006
2094
|
}
|
|
2007
|
-
.np-theme-personal .has-error .checkbox > label:not(.disabled):not(:disabled):active input[type=checkbox] + .tw-checkbox-button,
|
|
2008
|
-
.np-theme-personal .has-error .checkbox > label:not(.disabled):not(:disabled):focus-visible input[type=checkbox] + .tw-checkbox-button,
|
|
2009
|
-
.np-theme-personal .has-error .checkbox > label:not(.disabled):not(:disabled):has(:focus-visible) input[type=checkbox] + .tw-checkbox-button {
|
|
2095
|
+
.np-theme-personal .has-error .checkbox > label:not(.disabled):not(:disabled):active input[type="checkbox"] + .tw-checkbox-button,
|
|
2096
|
+
.np-theme-personal .has-error .checkbox > label:not(.disabled):not(:disabled):focus-visible input[type="checkbox"] + .tw-checkbox-button,
|
|
2097
|
+
.np-theme-personal .has-error .checkbox > label:not(.disabled):not(:disabled):has(:focus-visible) input[type="checkbox"] + .tw-checkbox-button {
|
|
2010
2098
|
box-shadow: inset 0 0 0 2px var(--color-sentiment-negative-active);
|
|
2011
2099
|
}
|
|
2012
2100
|
.np-theme-personal .tw-radio-button,
|
|
@@ -2100,23 +2188,13 @@ input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:active + .tw-
|
|
|
2100
2188
|
.input-group-lg > .form-control,
|
|
2101
2189
|
.input-group-lg > .input-group-addon,
|
|
2102
2190
|
.input-group-lg > .input-group-btn .btn {
|
|
2191
|
+
--min-height: calc(2 * var(--size-24) + var(--wds-font-size-title-body) * var(--wds-line-height-title-body));
|
|
2103
2192
|
min-block-size: var(--input-height-large);
|
|
2104
2193
|
padding: var(--input-padding-large);
|
|
2105
2194
|
border-radius: 3px;
|
|
2106
|
-
font-weight: var(--font-weight-regular);
|
|
2107
|
-
font-size: var(--font-size-16);
|
|
2108
|
-
line-height: 150%;
|
|
2109
|
-
letter-spacing: -0.011em;
|
|
2110
|
-
margin: 0;
|
|
2111
|
-
color: var(--color-content-primary);
|
|
2112
|
-
line-height: var(--line-height-title);
|
|
2113
|
-
letter-spacing: 0;
|
|
2114
2195
|
word-wrap: break-word;
|
|
2115
2196
|
margin-block-end: initial;
|
|
2116
|
-
|
|
2117
|
-
font-weight: var(--font-weight-semi-bold);
|
|
2118
|
-
letter-spacing: -0.018em;
|
|
2119
|
-
line-height: 125%;
|
|
2197
|
+
min-block-size: var(--min-height);
|
|
2120
2198
|
margin-block-end: 0;
|
|
2121
2199
|
}
|
|
2122
2200
|
select.input-group-lg > .form-control,
|
|
@@ -2170,67 +2248,21 @@ select[multiple].input-group-lg > .input-group-btn .btn {
|
|
|
2170
2248
|
}
|
|
2171
2249
|
}
|
|
2172
2250
|
}
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
hyphens: auto;
|
|
2178
|
-
hyphenate-limit-chars: 7 3;
|
|
2179
|
-
}
|
|
2180
|
-
@media (min-width: 840px) {
|
|
2181
|
-
.input-group-lg > .form-control,
|
|
2182
|
-
.input-group-lg > .input-group-addon,
|
|
2183
|
-
.input-group-lg > .input-group-btn .btn {
|
|
2184
|
-
hyphenate-limit-chars: 8 3;
|
|
2185
|
-
}
|
|
2186
|
-
}
|
|
2187
|
-
@media (min-width: 1160px) {
|
|
2188
|
-
.input-group-lg > .form-control,
|
|
2189
|
-
.input-group-lg > .input-group-addon,
|
|
2190
|
-
.input-group-lg > .input-group-btn .btn {
|
|
2191
|
-
hyphenate-limit-chars: 10 4 3;
|
|
2192
|
-
}
|
|
2193
|
-
}
|
|
2194
|
-
}
|
|
2195
|
-
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
2196
|
-
.input-group-lg > .form-control,
|
|
2197
|
-
.input-group-lg > .input-group-addon,
|
|
2198
|
-
.input-group-lg > .input-group-btn .btn {
|
|
2199
|
-
hyphens: auto;
|
|
2200
|
-
-webkit-hyphenate-limit-before: 3;
|
|
2201
|
-
-webkit-hyphenate-limit-after: 3;
|
|
2202
|
-
}
|
|
2203
|
-
@media (min-width: 1160px) {
|
|
2204
|
-
.input-group-lg > .form-control,
|
|
2205
|
-
.input-group-lg > .input-group-addon,
|
|
2206
|
-
.input-group-lg > .input-group-btn .btn {
|
|
2207
|
-
-webkit-hyphenate-limit-before: 4;
|
|
2208
|
-
}
|
|
2209
|
-
}
|
|
2210
|
-
}
|
|
2211
|
-
.input-group-lg > .form-control + p,
|
|
2212
|
-
.input-group-lg > .input-group-addon + p,
|
|
2213
|
-
.input-group-lg > .input-group-btn .btn + p,
|
|
2214
|
-
.input-group-lg > .form-control + ul:not(.list-unstyled),
|
|
2215
|
-
.input-group-lg > .input-group-addon + ul:not(.list-unstyled),
|
|
2216
|
-
.input-group-lg > .input-group-btn .btn + ul:not(.list-unstyled),
|
|
2217
|
-
.input-group-lg > .form-control + ol:not(.list-unstyled),
|
|
2218
|
-
.input-group-lg > .input-group-addon + ol:not(.list-unstyled),
|
|
2219
|
-
.input-group-lg > .input-group-btn .btn + ol:not(.list-unstyled) {
|
|
2220
|
-
margin-block-start: var(--size-8);
|
|
2251
|
+
select.input-group-lg > .form-control,
|
|
2252
|
+
select.input-group-lg > .input-group-addon,
|
|
2253
|
+
select.input-group-lg > .input-group-btn .btn {
|
|
2254
|
+
min-block-size: var(--min-height);
|
|
2221
2255
|
}
|
|
2222
2256
|
.input-group-sm > .form-control,
|
|
2223
2257
|
.input-group-sm > .input-group-addon {
|
|
2258
|
+
--min-height: calc(2 * var(--size-4) + var(--wds-font-size-body) * var(--wds-line-height-body));
|
|
2224
2259
|
min-block-size: 32px;
|
|
2225
2260
|
padding: var(--input-padding-small);
|
|
2226
2261
|
border-radius: 3px;
|
|
2227
2262
|
font-size: 14px;
|
|
2228
2263
|
line-height: 24px;
|
|
2229
|
-
font-size: var(--font-size-14);
|
|
2230
|
-
line-height: 155%;
|
|
2231
|
-
letter-spacing: -0.006em;
|
|
2232
|
-
font-weight: var(--font-weight-regular);
|
|
2233
2264
|
word-wrap: break-word;
|
|
2265
|
+
min-block-size: var(--min-height);
|
|
2234
2266
|
}
|
|
2235
2267
|
select.input-group-sm > .form-control,
|
|
2236
2268
|
select.input-group-sm > .input-group-addon {
|
|
@@ -2275,9 +2307,13 @@ select[multiple].input-group-sm > .input-group-addon {
|
|
|
2275
2307
|
}
|
|
2276
2308
|
}
|
|
2277
2309
|
}
|
|
2310
|
+
select.input-group-sm > .form-control,
|
|
2311
|
+
select.input-group-sm > .input-group-addon {
|
|
2312
|
+
min-block-size: var(--min-height);
|
|
2313
|
+
}
|
|
2278
2314
|
.input-group-sm > .form-control .icon,
|
|
2279
2315
|
.input-group-sm > .input-group-addon .icon {
|
|
2280
|
-
font-size: var(--font-size-
|
|
2316
|
+
font-size: var(--wds-font-size-title-subsection);
|
|
2281
2317
|
}
|
|
2282
2318
|
.input-group-sm > .input-group-btn > .btn {
|
|
2283
2319
|
block-size: 32px;
|
|
@@ -2298,8 +2334,8 @@ select[multiple].input-group-sm > .input-group-addon {
|
|
|
2298
2334
|
}
|
|
2299
2335
|
.input-group-addon {
|
|
2300
2336
|
padding: var(--input-group-addon-padding);
|
|
2301
|
-
font-size: var(--font-size-
|
|
2302
|
-
line-height: var(--line-height-body);
|
|
2337
|
+
font-size: var(--wds-font-size-body-large);
|
|
2338
|
+
line-height: var(--wds-line-height-body-large);
|
|
2303
2339
|
color: var(--color-content-secondary);
|
|
2304
2340
|
text-align: center;
|
|
2305
2341
|
background-color: var(--color-background-screen);
|