@transferwise/neptune-css 0.0.0-experimental-1887cd9 → 0.0.0-experimental-990d03c
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 +53 -11
- 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 +53 -11
- package/dist/css/dropdowns.css +65 -18
- package/dist/css/droppable.css +28 -6
- package/dist/css/footer.css +41 -10
- package/dist/css/input-groups.css +249 -117
- package/dist/css/list-group.css +28 -8
- package/dist/css/modals.css +1 -1
- package/dist/css/navbar.css +92 -45
- package/dist/css/navs.css +8 -8
- package/dist/css/neptune-addons.css +15 -0
- package/dist/css/neptune-core.css +6241 -534
- package/dist/css/neptune.css +8789 -1765
- package/dist/css/panels.css +2 -2
- package/dist/css/popovers.css +64 -20
- 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 +805 -3
- package/package.json +2 -2
- 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 +93 -238
- package/src/less/core/fonts/_fonts-ar.less +86 -0
- package/src/less/core/fonts/_fonts-base.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 +23 -9
- 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/dist/fonts/rubik/rubik-body-cyrillic-330-normal.woff2 +0 -0
- package/dist/fonts/rubik/rubik-body-cyrillic-600-normal.woff2 +0 -0
- package/dist/fonts/rubik/rubik-body-cyrillic-ext-330-normal.woff2 +0 -0
- package/dist/fonts/rubik/rubik-body-cyrillic-ext-600-normal.woff2 +0 -0
- package/dist/fonts/rubik/rubik-cyrillic-900-normal.woff2 +0 -0
- package/dist/fonts/rubik/rubik-cyrillic-ext-900-normal.woff2 +0 -0
- package/dist/less/legacy-variables.css +0 -0
- package/dist/less/neptune-tokens.css +0 -0
- package/dist/less/zindex.css +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
- package/src/fonts/rubik/rubik-body-cyrillic-330-normal.woff2 +0 -0
- package/src/fonts/rubik/rubik-body-cyrillic-600-normal.woff2 +0 -0
- package/src/fonts/rubik/rubik-body-cyrillic-ext-330-normal.woff2 +0 -0
- package/src/fonts/rubik/rubik-body-cyrillic-ext-600-normal.woff2 +0 -0
- package/src/fonts/rubik/rubik-cyrillic-900-normal.woff2 +0 -0
- package/src/fonts/rubik/rubik-cyrillic-ext-900-normal.woff2 +0 -0
|
@@ -1,7 +1,144 @@
|
|
|
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: 0;color: var(--color-content-primary);word-wrap: break-word;
|
|
8
|
+
}
|
|
9
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
10
|
+
.input-group-lg > .form-control,
|
|
11
|
+
.input-group-lg > .input-group-addon,
|
|
12
|
+
.input-group-lg > .input-group-btn .btn {
|
|
13
|
+
hyphens: auto;hyphenate-limit-chars: 7 3;
|
|
14
|
+
}
|
|
15
|
+
@media (min-width: 840px) {
|
|
16
|
+
.input-group-lg > .form-control,
|
|
17
|
+
.input-group-lg > .input-group-addon,
|
|
18
|
+
.input-group-lg > .input-group-btn .btn {
|
|
19
|
+
hyphenate-limit-chars: 8 3;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
@media (min-width: 1160px) {
|
|
23
|
+
.input-group-lg > .form-control,
|
|
24
|
+
.input-group-lg > .input-group-addon,
|
|
25
|
+
.input-group-lg > .input-group-btn .btn {
|
|
26
|
+
hyphenate-limit-chars: 10 4 3;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
30
|
+
.input-group-lg > .form-control,
|
|
31
|
+
.input-group-lg > .input-group-addon,
|
|
32
|
+
.input-group-lg > .input-group-btn .btn {
|
|
33
|
+
hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
|
|
34
|
+
}
|
|
35
|
+
@media (min-width: 1160px) {
|
|
36
|
+
.input-group-lg > .form-control,
|
|
37
|
+
.input-group-lg > .input-group-addon,
|
|
38
|
+
.input-group-lg > .input-group-btn .btn {
|
|
39
|
+
-webkit-hyphenate-limit-before: 4;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}.input-group-lg > .form-control,
|
|
43
|
+
.input-group-lg > .input-group-addon,
|
|
44
|
+
.input-group-lg > .input-group-btn .btn {
|
|
45
|
+
margin-block-end: initial;
|
|
46
|
+
}
|
|
47
|
+
.input-sm,
|
|
48
|
+
.input-group-sm > .form-control,
|
|
49
|
+
.input-group-sm > .input-group-addon {
|
|
50
|
+
word-wrap: break-word;
|
|
51
|
+
}
|
|
52
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
53
|
+
.input-sm,
|
|
54
|
+
.input-group-sm > .form-control,
|
|
55
|
+
.input-group-sm > .input-group-addon {
|
|
56
|
+
hyphens: auto;hyphenate-limit-chars: 7 3;
|
|
57
|
+
}
|
|
58
|
+
@media (min-width: 840px) {
|
|
59
|
+
.input-sm,
|
|
60
|
+
.input-group-sm > .form-control,
|
|
61
|
+
.input-group-sm > .input-group-addon {
|
|
62
|
+
hyphenate-limit-chars: 8 3;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
@media (min-width: 1160px) {
|
|
66
|
+
.input-sm,
|
|
67
|
+
.input-group-sm > .form-control,
|
|
68
|
+
.input-group-sm > .input-group-addon {
|
|
69
|
+
hyphenate-limit-chars: 10 4 3;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
73
|
+
.input-sm,
|
|
74
|
+
.input-group-sm > .form-control,
|
|
75
|
+
.input-group-sm > .input-group-addon {
|
|
76
|
+
hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
|
|
77
|
+
}
|
|
78
|
+
@media (min-width: 1160px) {
|
|
79
|
+
.input-sm,
|
|
80
|
+
.input-group-sm > .form-control,
|
|
81
|
+
.input-group-sm > .input-group-addon {
|
|
82
|
+
-webkit-hyphenate-limit-before: 4;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
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
|
+
word-wrap: break-word;
|
|
92
|
+
}
|
|
93
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
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
|
+
hyphens: auto;hyphenate-limit-chars: 7 3;
|
|
101
|
+
}
|
|
102
|
+
@media (min-width: 840px) {
|
|
103
|
+
.form-control,
|
|
104
|
+
.input-lg,
|
|
105
|
+
.form-control-placeholder,
|
|
106
|
+
.input-group-lg > .form-control,
|
|
107
|
+
.input-group-lg > .input-group-addon,
|
|
108
|
+
.input-group-lg > .input-group-btn .btn {
|
|
109
|
+
hyphenate-limit-chars: 8 3;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
@media (min-width: 1160px) {
|
|
113
|
+
.form-control,
|
|
114
|
+
.input-lg,
|
|
115
|
+
.form-control-placeholder,
|
|
116
|
+
.input-group-lg > .form-control,
|
|
117
|
+
.input-group-lg > .input-group-addon,
|
|
118
|
+
.input-group-lg > .input-group-btn .btn {
|
|
119
|
+
hyphenate-limit-chars: 10 4 3;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
123
|
+
.form-control,
|
|
124
|
+
.input-lg,
|
|
125
|
+
.form-control-placeholder,
|
|
126
|
+
.input-group-lg > .form-control,
|
|
127
|
+
.input-group-lg > .input-group-addon,
|
|
128
|
+
.input-group-lg > .input-group-btn .btn {
|
|
129
|
+
hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
|
|
130
|
+
}
|
|
131
|
+
@media (min-width: 1160px) {
|
|
132
|
+
.form-control,
|
|
133
|
+
.input-lg,
|
|
134
|
+
.form-control-placeholder,
|
|
135
|
+
.input-group-lg > .form-control,
|
|
136
|
+
.input-group-lg > .input-group-addon,
|
|
137
|
+
.input-group-lg > .input-group-btn .btn {
|
|
138
|
+
-webkit-hyphenate-limit-before: 4;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}form {
|
|
5
142
|
margin-block-end: 0;
|
|
6
143
|
}
|
|
7
144
|
fieldset {
|
|
@@ -23,34 +160,34 @@ label,
|
|
|
23
160
|
.secondary {
|
|
24
161
|
color: var(--color-content-secondary);
|
|
25
162
|
transition: color ease-in-out 0.15s;
|
|
26
|
-
font-size: var(--font-size-
|
|
163
|
+
font-size: var(--wds-font-size-body);
|
|
27
164
|
line-height: 20px;
|
|
28
165
|
}
|
|
29
|
-
input[type=
|
|
166
|
+
input[type="search"] {
|
|
30
167
|
box-sizing: border-box;
|
|
31
168
|
}
|
|
32
|
-
input[type=
|
|
169
|
+
input[type="number"] {
|
|
33
170
|
-webkit-appearance: textfield;
|
|
34
171
|
-moz-appearance: textfield;
|
|
35
172
|
appearance: textfield;
|
|
36
173
|
}
|
|
37
|
-
input[type=
|
|
38
|
-
input[type=
|
|
174
|
+
input[type="number"]::-webkit-outer-spin-button,
|
|
175
|
+
input[type="number"]::-webkit-inner-spin-button {
|
|
39
176
|
-webkit-appearance: none;
|
|
40
177
|
appearance: none;
|
|
41
178
|
margin: 0;
|
|
42
179
|
}
|
|
43
|
-
input[type=
|
|
44
|
-
input[type=
|
|
180
|
+
input[type="radio"],
|
|
181
|
+
input[type="checkbox"] {
|
|
45
182
|
margin-block: 4px 0;
|
|
46
183
|
margin-inline: 0;
|
|
47
184
|
margin-block-start: 1px;
|
|
48
185
|
line-height: normal;
|
|
49
186
|
}
|
|
50
|
-
input[type=
|
|
187
|
+
input[type="file"] {
|
|
51
188
|
display: block;
|
|
52
189
|
}
|
|
53
|
-
input[type=
|
|
190
|
+
input[type="range"] {
|
|
54
191
|
display: block;
|
|
55
192
|
inline-size: 100%;
|
|
56
193
|
}
|
|
@@ -58,17 +195,17 @@ select[multiple],
|
|
|
58
195
|
select[size] {
|
|
59
196
|
block-size: auto;
|
|
60
197
|
}
|
|
61
|
-
input[type=
|
|
62
|
-
input[type=
|
|
63
|
-
input[type=
|
|
198
|
+
input[type="file"]:focus,
|
|
199
|
+
input[type="radio"]:focus,
|
|
200
|
+
input[type="checkbox"]:focus {
|
|
64
201
|
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
65
202
|
outline-offset: var(--ring-outline-offset);
|
|
66
203
|
}
|
|
67
204
|
output {
|
|
68
205
|
display: block;
|
|
69
206
|
padding-block-start: 9px;
|
|
70
|
-
font-size: var(--font-size-
|
|
71
|
-
line-height: var(--line-height-
|
|
207
|
+
font-size: var(--wds-font-size-body-large);
|
|
208
|
+
line-height: var(--wds-line-height-title-section);
|
|
72
209
|
color: var(--color-content-primary);
|
|
73
210
|
}
|
|
74
211
|
.form-control {
|
|
@@ -79,13 +216,10 @@ output {
|
|
|
79
216
|
background-image: none;
|
|
80
217
|
border: 1px solid var(--color-interactive-secondary);
|
|
81
218
|
transition: border-color ease-in-out 0.15s;
|
|
219
|
+
font-size: var(--wds-font-size-body-large);
|
|
82
220
|
min-block-size: var(--input-height-base);
|
|
83
221
|
padding: var(--input-padding);
|
|
84
222
|
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
223
|
word-wrap: break-word;
|
|
90
224
|
background-clip: padding-box;
|
|
91
225
|
}
|
|
@@ -160,37 +294,37 @@ textarea.form-control {
|
|
|
160
294
|
.np-theme-personal .form-control:focus {
|
|
161
295
|
border-color: var(--color-interactive-primary);
|
|
162
296
|
}
|
|
163
|
-
input[type=
|
|
297
|
+
input[type="search"] {
|
|
164
298
|
-webkit-appearance: none;
|
|
165
299
|
-moz-appearance: none;
|
|
166
300
|
appearance: none;
|
|
167
301
|
}
|
|
168
302
|
@media screen and (min-device-pixel-ratio: 0) {
|
|
169
|
-
input[type=
|
|
170
|
-
input[type=
|
|
171
|
-
input[type=
|
|
172
|
-
input[type=
|
|
303
|
+
input[type="date"],
|
|
304
|
+
input[type="time"],
|
|
305
|
+
input[type="datetime-local"],
|
|
306
|
+
input[type="month"] {
|
|
173
307
|
line-height: var(--input-height-base);
|
|
174
308
|
}
|
|
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=
|
|
309
|
+
input[type="date"].input-sm,
|
|
310
|
+
input[type="time"].input-sm,
|
|
311
|
+
input[type="datetime-local"].input-sm,
|
|
312
|
+
input[type="month"].input-sm,
|
|
313
|
+
.input-group-sm input[type="date"],
|
|
314
|
+
.input-group-sm input[type="time"],
|
|
315
|
+
.input-group-sm input[type="datetime-local"],
|
|
316
|
+
.input-group-sm input[type="month"] {
|
|
183
317
|
line-height: var(--input-height-small);
|
|
184
318
|
}
|
|
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));
|
|
319
|
+
input[type="date"].input-lg,
|
|
320
|
+
input[type="time"].input-lg,
|
|
321
|
+
input[type="datetime-local"].input-lg,
|
|
322
|
+
input[type="month"].input-lg,
|
|
323
|
+
.input-group-lg input[type="date"],
|
|
324
|
+
.input-group-lg input[type="time"],
|
|
325
|
+
.input-group-lg input[type="datetime-local"],
|
|
326
|
+
.input-group-lg input[type="month"] {
|
|
327
|
+
line-height: calc(var(--input-height-large) - var(--wds-line-height-body-large));
|
|
194
328
|
}
|
|
195
329
|
}
|
|
196
330
|
.form-group {
|
|
@@ -203,7 +337,7 @@ input[type='search'] {
|
|
|
203
337
|
.form-group:focus-within > label {
|
|
204
338
|
color: var(--color-content-primary);
|
|
205
339
|
}
|
|
206
|
-
.row-equal-height > [class*=
|
|
340
|
+
.row-equal-height > [class*="col-"] > .form-group {
|
|
207
341
|
inline-size: 100%;
|
|
208
342
|
}
|
|
209
343
|
.radio,
|
|
@@ -222,10 +356,10 @@ input[type='search'] {
|
|
|
222
356
|
.checkbox + .checkbox {
|
|
223
357
|
margin-block-start: 12px;
|
|
224
358
|
}
|
|
225
|
-
.radio input[type=
|
|
226
|
-
.radio-inline input[type=
|
|
227
|
-
.checkbox input[type=
|
|
228
|
-
.checkbox-inline input[type=
|
|
359
|
+
.radio input[type="radio"],
|
|
360
|
+
.radio-inline input[type="radio"],
|
|
361
|
+
.checkbox input[type="checkbox"],
|
|
362
|
+
.checkbox-inline input[type="checkbox"] {
|
|
229
363
|
position: absolute;
|
|
230
364
|
margin-inline-start: -20px;
|
|
231
365
|
margin-block-start: 4px \9;
|
|
@@ -251,12 +385,12 @@ fieldset[disabled] .checkbox-inline {
|
|
|
251
385
|
margin-block-start: 0;
|
|
252
386
|
margin-inline-start: 10px;
|
|
253
387
|
}
|
|
254
|
-
input[type=
|
|
255
|
-
input[type=
|
|
256
|
-
input[type=
|
|
257
|
-
input[type=
|
|
258
|
-
fieldset[disabled] input[type=
|
|
259
|
-
fieldset[disabled] input[type=
|
|
388
|
+
input[type="radio"][disabled],
|
|
389
|
+
input[type="checkbox"][disabled],
|
|
390
|
+
input[type="radio"].disabled,
|
|
391
|
+
input[type="checkbox"].disabled,
|
|
392
|
+
fieldset[disabled] input[type="radio"],
|
|
393
|
+
fieldset[disabled] input[type="checkbox"] {
|
|
260
394
|
cursor: not-allowed;
|
|
261
395
|
}
|
|
262
396
|
input[type="password"]::-ms-reveal {
|
|
@@ -270,7 +404,7 @@ fieldset[disabled] .checkbox label {
|
|
|
270
404
|
}
|
|
271
405
|
.form-control-static {
|
|
272
406
|
margin-block-end: 0;
|
|
273
|
-
min-block-size: calc(var(--line-height-
|
|
407
|
+
min-block-size: calc(var(--wds-line-height-title-section) * 2);
|
|
274
408
|
color: var(--color-content-secondary);
|
|
275
409
|
background-color: var(--color-background-neutral);
|
|
276
410
|
border: 1px solid var(--color-interactive-secondary);
|
|
@@ -288,10 +422,6 @@ fieldset[disabled] .checkbox label {
|
|
|
288
422
|
border-radius: 3px;
|
|
289
423
|
font-size: 14px;
|
|
290
424
|
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
425
|
word-wrap: break-word;
|
|
296
426
|
}
|
|
297
427
|
select.input-sm {
|
|
@@ -333,7 +463,7 @@ select[multiple].input-sm {
|
|
|
333
463
|
.navbar .form-control {
|
|
334
464
|
block-size: 32px;
|
|
335
465
|
padding: var(--input-padding-small);
|
|
336
|
-
font-size: var(--font-size-
|
|
466
|
+
font-size: var(--wds-font-size-body);
|
|
337
467
|
line-height: 24px;
|
|
338
468
|
border-radius: 3px;
|
|
339
469
|
}
|
|
@@ -351,19 +481,15 @@ select[multiple].input-sm {
|
|
|
351
481
|
.form-group-sm .form-control-static,
|
|
352
482
|
.navbar .form-control-static {
|
|
353
483
|
block-size: 32px;
|
|
354
|
-
min-block-size: calc(var(--line-height-
|
|
484
|
+
min-block-size: calc(var(--wds-line-height-title-section) + 14px);
|
|
355
485
|
padding: var(--input-padding-small);
|
|
356
|
-
font-size: var(--font-size-
|
|
486
|
+
font-size: var(--wds-font-size-body);
|
|
357
487
|
line-height: 24px;
|
|
358
488
|
}
|
|
359
489
|
.input-lg {
|
|
360
490
|
min-block-size: var(--input-height-large);
|
|
361
491
|
padding: var(--input-padding-large);
|
|
362
492
|
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
493
|
word-wrap: break-word;
|
|
368
494
|
}
|
|
369
495
|
select.input-lg {
|
|
@@ -422,7 +548,7 @@ select[multiple].input-lg {
|
|
|
422
548
|
}
|
|
423
549
|
.form-group-lg .form-control-static {
|
|
424
550
|
block-size: var(--input-height-large);
|
|
425
|
-
min-block-size: calc(var(--line-height-
|
|
551
|
+
min-block-size: calc(var(--wds-line-height-title-section) + 22px);
|
|
426
552
|
padding: var(--input-padding-large);
|
|
427
553
|
font-size: 22px;
|
|
428
554
|
line-height: 32px;
|
|
@@ -1229,7 +1355,7 @@ select[multiple].input-lg {
|
|
|
1229
1355
|
border-color: var(--color-sentiment-negative);
|
|
1230
1356
|
}
|
|
1231
1357
|
.has-feedback label ~ .form-control-feedback {
|
|
1232
|
-
inset-block-start: var(--line-height-
|
|
1358
|
+
inset-block-start: var(--wds-line-height-title-section);
|
|
1233
1359
|
}
|
|
1234
1360
|
.has-feedback label.sr-only ~ .form-control-feedback {
|
|
1235
1361
|
inset-block-start: 0;
|
|
@@ -1275,8 +1401,8 @@ select[multiple].input-lg {
|
|
|
1275
1401
|
.form-inline .checkbox label {
|
|
1276
1402
|
padding-inline-start: 0;
|
|
1277
1403
|
}
|
|
1278
|
-
.form-inline .radio input[type=
|
|
1279
|
-
.form-inline .checkbox input[type=
|
|
1404
|
+
.form-inline .radio input[type="radio"],
|
|
1405
|
+
.form-inline .checkbox input[type="checkbox"] {
|
|
1280
1406
|
position: relative;
|
|
1281
1407
|
margin-inline-start: 0;
|
|
1282
1408
|
}
|
|
@@ -1294,7 +1420,7 @@ select[multiple].input-lg {
|
|
|
1294
1420
|
}
|
|
1295
1421
|
.form-horizontal .radio,
|
|
1296
1422
|
.form-horizontal .checkbox {
|
|
1297
|
-
min-block-size: calc(var(--line-height-
|
|
1423
|
+
min-block-size: calc(var(--wds-line-height-title-section) + (8px + 1));
|
|
1298
1424
|
}
|
|
1299
1425
|
.form-horizontal .form-group {
|
|
1300
1426
|
margin-inline-start: -12px;
|
|
@@ -1319,13 +1445,13 @@ select[multiple].input-lg {
|
|
|
1319
1445
|
@media (min-width: 600px) {
|
|
1320
1446
|
.form-horizontal .form-group-lg .control-label {
|
|
1321
1447
|
padding-block-start: 17px;
|
|
1322
|
-
font-size: var(--font-size-
|
|
1448
|
+
font-size: var(--wds-font-size-title-body);
|
|
1323
1449
|
}
|
|
1324
1450
|
}
|
|
1325
1451
|
@media (min-width: 600px) {
|
|
1326
1452
|
.form-horizontal .form-group-sm .control-label {
|
|
1327
1453
|
padding-block-start: 8px;
|
|
1328
|
-
font-size: var(--font-size-
|
|
1454
|
+
font-size: var(--wds-font-size-body);
|
|
1329
1455
|
}
|
|
1330
1456
|
}
|
|
1331
1457
|
.radio,
|
|
@@ -1619,9 +1745,9 @@ input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:active + .tw-
|
|
|
1619
1745
|
:not(.np-theme-personal) .np-checkbox.checkbox > label .np-checkbox__text,
|
|
1620
1746
|
:not(.np-theme-personal) .np-radio.radio > label .np-radio__text,
|
|
1621
1747
|
: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-
|
|
1748
|
+
font-weight: var(--wds-font-weight-body-regular);
|
|
1749
|
+
font-size: var(--wds-font-size-body-large);
|
|
1750
|
+
line-height: var(--wds-line-height-title-subsection);
|
|
1625
1751
|
padding-block-start: 3px;
|
|
1626
1752
|
}
|
|
1627
1753
|
.np-theme-personal .np-radio.radio > label,
|
|
@@ -1654,48 +1780,48 @@ input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:active + .tw-
|
|
|
1654
1780
|
}
|
|
1655
1781
|
.form-group {
|
|
1656
1782
|
position: relative;
|
|
1657
|
-
font-size: var(--font-size-
|
|
1783
|
+
font-size: var(--wds-font-size-body);
|
|
1658
1784
|
}
|
|
1659
1785
|
.form-group .row {
|
|
1660
1786
|
margin-inline-start: -6px;
|
|
1661
1787
|
margin-inline-end: -6px;
|
|
1662
1788
|
}
|
|
1663
|
-
.form-group .row [class*=
|
|
1789
|
+
.form-group .row [class*="col-"] {
|
|
1664
1790
|
padding-inline-start: 6px;
|
|
1665
1791
|
padding-inline-end: 6px;
|
|
1666
1792
|
}
|
|
1667
1793
|
@media (max-width: 599.98px) {
|
|
1668
|
-
.form-group .row [class*=
|
|
1794
|
+
.form-group .row [class*="col-sm-"] {
|
|
1669
1795
|
margin-block-end: 0;
|
|
1670
1796
|
}
|
|
1671
|
-
.form-group .row [class*=
|
|
1797
|
+
.form-group .row [class*="col-sm-"] .btn-input {
|
|
1672
1798
|
margin-block-end: 12px;
|
|
1673
1799
|
}
|
|
1674
1800
|
}
|
|
1675
1801
|
@media (max-width: 839.98px) {
|
|
1676
|
-
.form-group .row [class*=
|
|
1802
|
+
.form-group .row [class*="col-md-"] {
|
|
1677
1803
|
margin-block-end: 0;
|
|
1678
1804
|
}
|
|
1679
|
-
.form-group .row [class*=
|
|
1680
|
-
.form-group .row [class*=
|
|
1805
|
+
.form-group .row [class*="col-md-"] .form-control,
|
|
1806
|
+
.form-group .row [class*="col-md-"] .btn-input {
|
|
1681
1807
|
margin-block-end: 12px;
|
|
1682
1808
|
}
|
|
1683
1809
|
}
|
|
1684
1810
|
@media (max-width: 1159.98px) {
|
|
1685
|
-
.form-group .row [class*=
|
|
1811
|
+
.form-group .row [class*="col-lg-"] {
|
|
1686
1812
|
margin-block-end: 0;
|
|
1687
1813
|
}
|
|
1688
|
-
.form-group .row [class*=
|
|
1689
|
-
.form-group .row [class*=
|
|
1814
|
+
.form-group .row [class*="col-lg-"] .form-control,
|
|
1815
|
+
.form-group .row [class*="col-lg-"] .btn-input {
|
|
1690
1816
|
margin-block-end: 12px;
|
|
1691
1817
|
}
|
|
1692
1818
|
}
|
|
1693
1819
|
@media (max-width: 1159.98px) {
|
|
1694
|
-
.form-group .row [class*=
|
|
1820
|
+
.form-group .row [class*="col-xl-"] {
|
|
1695
1821
|
margin-block-end: 0;
|
|
1696
1822
|
}
|
|
1697
|
-
.form-group .row [class*=
|
|
1698
|
-
.form-group .row [class*=
|
|
1823
|
+
.form-group .row [class*="col-xl-"] .form-control,
|
|
1824
|
+
.form-group .row [class*="col-xl-"] .btn-input {
|
|
1699
1825
|
margin-block-end: 12px;
|
|
1700
1826
|
}
|
|
1701
1827
|
}
|
|
@@ -1770,7 +1896,11 @@ input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:active + .tw-
|
|
|
1770
1896
|
.checkbox.checkbox-lg > label .np-text-body-default,
|
|
1771
1897
|
.radio.checkbox-lg > label .np-text-body-default,
|
|
1772
1898
|
.checkbox.radio-lg > label .np-text-body-default,
|
|
1773
|
-
.radio.radio-lg > label .np-text-body-default
|
|
1899
|
+
.radio.radio-lg > label .np-text-body-default,
|
|
1900
|
+
.checkbox.checkbox-lg > label .wds-text-body-default,
|
|
1901
|
+
.radio.checkbox-lg > label .wds-text-body-default,
|
|
1902
|
+
.checkbox.radio-lg > label .wds-text-body-default,
|
|
1903
|
+
.radio.radio-lg > label .wds-text-body-default {
|
|
1774
1904
|
display: block;
|
|
1775
1905
|
color: var(--color-content-secondary);
|
|
1776
1906
|
}
|
|
@@ -1864,10 +1994,6 @@ input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:active + .tw-
|
|
|
1864
1994
|
.form-control-placeholder {
|
|
1865
1995
|
text-overflow: ellipsis;
|
|
1866
1996
|
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
1997
|
word-wrap: break-word;
|
|
1872
1998
|
display: block;
|
|
1873
1999
|
inline-size: 100%;
|
|
@@ -1990,23 +2116,23 @@ input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:active + .tw-
|
|
|
1990
2116
|
.np-theme-personal .has-error .checkbox:hover .tw-checkbox-button,
|
|
1991
2117
|
.np-theme-personal .has-error .radio:not(.disabled):hover .tw-radio-button,
|
|
1992
2118
|
.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 {
|
|
2119
|
+
.np-theme-personal .has-error input[type="checkbox"]:hover + .tw-checkbox-button,
|
|
2120
|
+
.np-theme-personal .has-error input[type="radio"]:not(.disabled):not(:disabled):hover + .tw-radio-button,
|
|
2121
|
+
.np-theme-personal .has-error input[type="checkbox"]:not(.disabled):not(:disabled):hover + .tw-checkbox-button {
|
|
1996
2122
|
box-shadow: inset 0 0 0 2px var(--color-sentiment-negative-hover);
|
|
1997
2123
|
}
|
|
1998
2124
|
.np-theme-personal .has-error .tw-checkbox-button.checked,
|
|
1999
2125
|
.np-theme-personal .has-error .tw-checkbox-button:checked,
|
|
2000
|
-
.np-theme-personal .has-error input[type=checkbox]:checked + .tw-checkbox-button,
|
|
2126
|
+
.np-theme-personal .has-error input[type="checkbox"]:checked + .tw-checkbox-button,
|
|
2001
2127
|
.np-theme-personal .has-error .tw-checkbox-button.checked:hover,
|
|
2002
2128
|
.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 {
|
|
2129
|
+
.np-theme-personal .has-error input[type="checkbox"]:not(.disabled):not(:disabled):checked:hover + .tw-checkbox-button {
|
|
2004
2130
|
box-shadow: inset 0 0 0 3px var(--color-sentiment-negative);
|
|
2005
2131
|
background: var(--color-sentiment-negative);
|
|
2006
2132
|
}
|
|
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 {
|
|
2133
|
+
.np-theme-personal .has-error .checkbox > label:not(.disabled):not(:disabled):active input[type="checkbox"] + .tw-checkbox-button,
|
|
2134
|
+
.np-theme-personal .has-error .checkbox > label:not(.disabled):not(:disabled):focus-visible input[type="checkbox"] + .tw-checkbox-button,
|
|
2135
|
+
.np-theme-personal .has-error .checkbox > label:not(.disabled):not(:disabled):has(:focus-visible) input[type="checkbox"] + .tw-checkbox-button {
|
|
2010
2136
|
box-shadow: inset 0 0 0 2px var(--color-sentiment-negative-active);
|
|
2011
2137
|
}
|
|
2012
2138
|
.np-theme-personal .tw-radio-button,
|
|
@@ -2100,23 +2226,15 @@ input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:active + .tw-
|
|
|
2100
2226
|
.input-group-lg > .form-control,
|
|
2101
2227
|
.input-group-lg > .input-group-addon,
|
|
2102
2228
|
.input-group-lg > .input-group-btn .btn {
|
|
2229
|
+
--min-height: calc(2 * var(--size-24) + var(--wds-font-size-title-body) * var(--wds-line-height-title-body));
|
|
2103
2230
|
min-block-size: var(--input-height-large);
|
|
2104
2231
|
padding: var(--input-padding-large);
|
|
2105
2232
|
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
2233
|
margin: 0;
|
|
2111
2234
|
color: var(--color-content-primary);
|
|
2112
|
-
line-height: var(--line-height-title);
|
|
2113
|
-
letter-spacing: 0;
|
|
2114
2235
|
word-wrap: break-word;
|
|
2115
2236
|
margin-block-end: initial;
|
|
2116
|
-
|
|
2117
|
-
font-weight: var(--font-weight-semi-bold);
|
|
2118
|
-
letter-spacing: -0.018em;
|
|
2119
|
-
line-height: 125%;
|
|
2237
|
+
min-block-size: var(--min-height);
|
|
2120
2238
|
margin-block-end: 0;
|
|
2121
2239
|
}
|
|
2122
2240
|
select.input-group-lg > .form-control,
|
|
@@ -2219,18 +2337,28 @@ select[multiple].input-group-lg > .input-group-btn .btn {
|
|
|
2219
2337
|
.input-group-lg > .input-group-btn .btn + ol:not(.list-unstyled) {
|
|
2220
2338
|
margin-block-start: var(--size-8);
|
|
2221
2339
|
}
|
|
2340
|
+
select.input-group-lg > .form-control,
|
|
2341
|
+
select.input-group-lg > .input-group-addon,
|
|
2342
|
+
select.input-group-lg > .input-group-btn .btn {
|
|
2343
|
+
min-block-size: var(--min-height);
|
|
2344
|
+
}
|
|
2345
|
+
@media (max-width: 320px) {
|
|
2346
|
+
.input-group-lg > .form-control,
|
|
2347
|
+
.input-group-lg > .input-group-addon,
|
|
2348
|
+
.input-group-lg > .input-group-btn .btn {
|
|
2349
|
+
--min-height: calc(2 * var(--size-12) + var(--wds-font-size-title-body) * var(--wds-line-height-title-body));
|
|
2350
|
+
}
|
|
2351
|
+
}
|
|
2222
2352
|
.input-group-sm > .form-control,
|
|
2223
2353
|
.input-group-sm > .input-group-addon {
|
|
2354
|
+
--min-height: calc(2 * var(--size-4) + var(--wds-font-size-body) * var(--wds-line-height-body));
|
|
2224
2355
|
min-block-size: 32px;
|
|
2225
2356
|
padding: var(--input-padding-small);
|
|
2226
2357
|
border-radius: 3px;
|
|
2227
2358
|
font-size: 14px;
|
|
2228
2359
|
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
2360
|
word-wrap: break-word;
|
|
2361
|
+
min-block-size: var(--min-height);
|
|
2234
2362
|
}
|
|
2235
2363
|
select.input-group-sm > .form-control,
|
|
2236
2364
|
select.input-group-sm > .input-group-addon {
|
|
@@ -2275,9 +2403,13 @@ select[multiple].input-group-sm > .input-group-addon {
|
|
|
2275
2403
|
}
|
|
2276
2404
|
}
|
|
2277
2405
|
}
|
|
2406
|
+
select.input-group-sm > .form-control,
|
|
2407
|
+
select.input-group-sm > .input-group-addon {
|
|
2408
|
+
min-block-size: var(--min-height);
|
|
2409
|
+
}
|
|
2278
2410
|
.input-group-sm > .form-control .icon,
|
|
2279
2411
|
.input-group-sm > .input-group-addon .icon {
|
|
2280
|
-
font-size: var(--font-size-
|
|
2412
|
+
font-size: var(--wds-font-size-title-subsection);
|
|
2281
2413
|
}
|
|
2282
2414
|
.input-group-sm > .input-group-btn > .btn {
|
|
2283
2415
|
block-size: 32px;
|
|
@@ -2298,8 +2430,8 @@ select[multiple].input-group-sm > .input-group-addon {
|
|
|
2298
2430
|
}
|
|
2299
2431
|
.input-group-addon {
|
|
2300
2432
|
padding: var(--input-group-addon-padding);
|
|
2301
|
-
font-size: var(--font-size-
|
|
2302
|
-
line-height: var(--line-height-body);
|
|
2433
|
+
font-size: var(--wds-font-size-body-large);
|
|
2434
|
+
line-height: var(--wds-line-height-body-large);
|
|
2303
2435
|
color: var(--color-content-secondary);
|
|
2304
2436
|
text-align: center;
|
|
2305
2437
|
background-color: var(--color-background-screen);
|