@transferwise/neptune-css 0.0.0-experimental-1f2b43f → 0.0.0-experimental-d0b3ee6
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 +52 -23
- package/dist/css/button-groups.css +8 -29
- package/dist/css/buttons.css +2 -26
- package/dist/css/decision.css +52 -23
- package/dist/css/dropdowns.css +62 -39
- package/dist/css/droppable.css +8 -28
- package/dist/css/footer.css +14 -41
- package/dist/css/input-groups.css +165 -172
- package/dist/css/list-group.css +45 -0
- package/dist/css/navbar.css +62 -39
- package/dist/css/neptune-addons.css +0 -15
- package/dist/css/neptune-core.css +547 -375
- package/dist/css/neptune.css +1451 -2910
- package/dist/css/popovers.css +60 -35
- package/dist/css/sequences.css +1 -6
- package/dist/css/tooltip.css +7 -27
- 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/less/legacy-variables.css +0 -0
- package/dist/less/neptune-tokens.css +0 -0
- package/dist/less/neptune-tokens.less +48 -0
- package/dist/less/zindex.css +0 -0
- package/dist/props/neptune-tokens.css +1 -802
- package/package.json +1 -1
- package/src/less/addons/_background-utilities.less +0 -5
- package/src/less/button-groups.less +2 -3
- package/src/less/buttons.less +1 -1
- package/src/less/core/_typography.less +221 -67
- package/src/less/decision.less +2 -2
- package/src/less/dropdowns.less +5 -6
- package/src/less/droppable.less +4 -4
- package/src/less/footer.less +3 -4
- package/src/less/forms/bootstrap-forms.less +57 -70
- package/src/less/input-groups.less +5 -5
- package/src/less/list-group.less +4 -7
- package/src/less/mixins/_text-emphasis.less +1 -7
- package/src/less/neptune.bundle.less +0 -4
- package/src/less/popovers.less +3 -3
- package/src/less/sequences.less +2 -7
- package/src/less/tooltip.less +1 -1
|
@@ -1,106 +1,7 @@
|
|
|
1
1
|
.btn-sm {
|
|
2
2
|
block-size: 32px;
|
|
3
3
|
}
|
|
4
|
-
|
|
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 {
|
|
4
|
+
form {
|
|
104
5
|
margin-block-end: 0;
|
|
105
6
|
}
|
|
106
7
|
fieldset {
|
|
@@ -128,31 +29,31 @@ label,
|
|
|
128
29
|
font-size: var(--font-size-14);
|
|
129
30
|
line-height: 20px;
|
|
130
31
|
}
|
|
131
|
-
input[type=
|
|
32
|
+
input[type='search'] {
|
|
132
33
|
box-sizing: border-box;
|
|
133
34
|
}
|
|
134
|
-
input[type=
|
|
35
|
+
input[type='number'] {
|
|
135
36
|
-webkit-appearance: textfield;
|
|
136
37
|
-moz-appearance: textfield;
|
|
137
38
|
appearance: textfield;
|
|
138
39
|
}
|
|
139
|
-
input[type=
|
|
140
|
-
input[type=
|
|
40
|
+
input[type='number']::-webkit-outer-spin-button,
|
|
41
|
+
input[type='number']::-webkit-inner-spin-button {
|
|
141
42
|
-webkit-appearance: none;
|
|
142
43
|
appearance: none;
|
|
143
44
|
margin: 0;
|
|
144
45
|
}
|
|
145
|
-
input[type=
|
|
146
|
-
input[type=
|
|
46
|
+
input[type='radio'],
|
|
47
|
+
input[type='checkbox'] {
|
|
147
48
|
margin-block: 4px 0;
|
|
148
49
|
margin-inline: 0;
|
|
149
50
|
margin-block-start: 1px;
|
|
150
51
|
line-height: normal;
|
|
151
52
|
}
|
|
152
|
-
input[type=
|
|
53
|
+
input[type='file'] {
|
|
153
54
|
display: block;
|
|
154
55
|
}
|
|
155
|
-
input[type=
|
|
56
|
+
input[type='range'] {
|
|
156
57
|
display: block;
|
|
157
58
|
inline-size: 100%;
|
|
158
59
|
}
|
|
@@ -160,9 +61,9 @@ select[multiple],
|
|
|
160
61
|
select[size] {
|
|
161
62
|
block-size: auto;
|
|
162
63
|
}
|
|
163
|
-
input[type=
|
|
164
|
-
input[type=
|
|
165
|
-
input[type=
|
|
64
|
+
input[type='file']:focus,
|
|
65
|
+
input[type='radio']:focus,
|
|
66
|
+
input[type='checkbox']:focus {
|
|
166
67
|
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
167
68
|
outline-offset: var(--ring-outline-offset);
|
|
168
69
|
}
|
|
@@ -187,11 +88,15 @@ output {
|
|
|
187
88
|
border: 1px solid #c9cbce;
|
|
188
89
|
border: 1px solid var(--color-interactive-secondary);
|
|
189
90
|
transition: border-color ease-in-out 0.15s;
|
|
190
|
-
font-size: 1rem;
|
|
191
|
-
font-size: var(--font-size-16);
|
|
192
91
|
min-block-size: var(--input-height-base);
|
|
193
92
|
padding: var(--input-padding);
|
|
194
93
|
border-radius: 3px;
|
|
94
|
+
font-weight: 400;
|
|
95
|
+
font-weight: var(--font-weight-regular);
|
|
96
|
+
font-size: 1rem;
|
|
97
|
+
font-size: var(--font-size-16);
|
|
98
|
+
line-height: 150%;
|
|
99
|
+
letter-spacing: -0.011em;
|
|
195
100
|
word-wrap: break-word;
|
|
196
101
|
background-clip: padding-box;
|
|
197
102
|
}
|
|
@@ -271,36 +176,36 @@ textarea.form-control {
|
|
|
271
176
|
.np-theme-personal .form-control:focus {
|
|
272
177
|
border-color: var(--color-interactive-primary);
|
|
273
178
|
}
|
|
274
|
-
input[type=
|
|
179
|
+
input[type='search'] {
|
|
275
180
|
-webkit-appearance: none;
|
|
276
181
|
-moz-appearance: none;
|
|
277
182
|
appearance: none;
|
|
278
183
|
}
|
|
279
184
|
@media screen and (min-device-pixel-ratio: 0) {
|
|
280
|
-
input[type=
|
|
281
|
-
input[type=
|
|
282
|
-
input[type=
|
|
283
|
-
input[type=
|
|
185
|
+
input[type='date'],
|
|
186
|
+
input[type='time'],
|
|
187
|
+
input[type='datetime-local'],
|
|
188
|
+
input[type='month'] {
|
|
284
189
|
line-height: var(--input-height-base);
|
|
285
190
|
}
|
|
286
|
-
input[type=
|
|
287
|
-
input[type=
|
|
288
|
-
input[type=
|
|
289
|
-
input[type=
|
|
290
|
-
.input-group-sm input[type=
|
|
291
|
-
.input-group-sm input[type=
|
|
292
|
-
.input-group-sm input[type=
|
|
293
|
-
.input-group-sm input[type=
|
|
191
|
+
input[type='date'].input-sm,
|
|
192
|
+
input[type='time'].input-sm,
|
|
193
|
+
input[type='datetime-local'].input-sm,
|
|
194
|
+
input[type='month'].input-sm,
|
|
195
|
+
.input-group-sm input[type='date'],
|
|
196
|
+
.input-group-sm input[type='time'],
|
|
197
|
+
.input-group-sm input[type='datetime-local'],
|
|
198
|
+
.input-group-sm input[type='month'] {
|
|
294
199
|
line-height: var(--input-height-small);
|
|
295
200
|
}
|
|
296
|
-
input[type=
|
|
297
|
-
input[type=
|
|
298
|
-
input[type=
|
|
299
|
-
input[type=
|
|
300
|
-
.input-group-lg input[type=
|
|
301
|
-
.input-group-lg input[type=
|
|
302
|
-
.input-group-lg input[type=
|
|
303
|
-
.input-group-lg input[type=
|
|
201
|
+
input[type='date'].input-lg,
|
|
202
|
+
input[type='time'].input-lg,
|
|
203
|
+
input[type='datetime-local'].input-lg,
|
|
204
|
+
input[type='month'].input-lg,
|
|
205
|
+
.input-group-lg input[type='date'],
|
|
206
|
+
.input-group-lg input[type='time'],
|
|
207
|
+
.input-group-lg input[type='datetime-local'],
|
|
208
|
+
.input-group-lg input[type='month'] {
|
|
304
209
|
line-height: calc(var(--input-height-large) - 1.5);
|
|
305
210
|
line-height: calc(var(--input-height-large) - var(--line-height-body));
|
|
306
211
|
}
|
|
@@ -316,7 +221,7 @@ input[type="search"] {
|
|
|
316
221
|
color: #37517e;
|
|
317
222
|
color: var(--color-content-primary);
|
|
318
223
|
}
|
|
319
|
-
.row-equal-height > [class*=
|
|
224
|
+
.row-equal-height > [class*='col-'] > .form-group {
|
|
320
225
|
inline-size: 100%;
|
|
321
226
|
}
|
|
322
227
|
.radio,
|
|
@@ -335,10 +240,10 @@ input[type="search"] {
|
|
|
335
240
|
.checkbox + .checkbox {
|
|
336
241
|
margin-block-start: 12px;
|
|
337
242
|
}
|
|
338
|
-
.radio input[type=
|
|
339
|
-
.radio-inline input[type=
|
|
340
|
-
.checkbox input[type=
|
|
341
|
-
.checkbox-inline input[type=
|
|
243
|
+
.radio input[type='radio'],
|
|
244
|
+
.radio-inline input[type='radio'],
|
|
245
|
+
.checkbox input[type='checkbox'],
|
|
246
|
+
.checkbox-inline input[type='checkbox'] {
|
|
342
247
|
position: absolute;
|
|
343
248
|
margin-inline-start: -20px;
|
|
344
249
|
margin-block-start: 4px \9;
|
|
@@ -364,12 +269,12 @@ fieldset[disabled] .checkbox-inline {
|
|
|
364
269
|
margin-block-start: 0;
|
|
365
270
|
margin-inline-start: 10px;
|
|
366
271
|
}
|
|
367
|
-
input[type=
|
|
368
|
-
input[type=
|
|
369
|
-
input[type=
|
|
370
|
-
input[type=
|
|
371
|
-
fieldset[disabled] input[type=
|
|
372
|
-
fieldset[disabled] input[type=
|
|
272
|
+
input[type='radio'][disabled],
|
|
273
|
+
input[type='checkbox'][disabled],
|
|
274
|
+
input[type='radio'].disabled,
|
|
275
|
+
input[type='checkbox'].disabled,
|
|
276
|
+
fieldset[disabled] input[type='radio'],
|
|
277
|
+
fieldset[disabled] input[type='checkbox'] {
|
|
373
278
|
cursor: not-allowed;
|
|
374
279
|
}
|
|
375
280
|
input[type="password"]::-ms-reveal {
|
|
@@ -405,6 +310,12 @@ fieldset[disabled] .checkbox label {
|
|
|
405
310
|
border-radius: 3px;
|
|
406
311
|
font-size: 14px;
|
|
407
312
|
line-height: 24px;
|
|
313
|
+
font-size: 0.875rem;
|
|
314
|
+
font-size: var(--font-size-14);
|
|
315
|
+
line-height: 155%;
|
|
316
|
+
letter-spacing: -0.006em;
|
|
317
|
+
font-weight: 400;
|
|
318
|
+
font-weight: var(--font-weight-regular);
|
|
408
319
|
word-wrap: break-word;
|
|
409
320
|
}
|
|
410
321
|
select.input-sm {
|
|
@@ -476,6 +387,12 @@ select[multiple].input-sm {
|
|
|
476
387
|
min-block-size: var(--input-height-large);
|
|
477
388
|
padding: var(--input-padding-large);
|
|
478
389
|
border-radius: 3px;
|
|
390
|
+
font-weight: 400;
|
|
391
|
+
font-weight: var(--font-weight-regular);
|
|
392
|
+
font-size: 1rem;
|
|
393
|
+
font-size: var(--font-size-16);
|
|
394
|
+
line-height: 150%;
|
|
395
|
+
letter-spacing: -0.011em;
|
|
479
396
|
word-wrap: break-word;
|
|
480
397
|
}
|
|
481
398
|
select.input-lg {
|
|
@@ -1458,8 +1375,8 @@ select[multiple].input-lg {
|
|
|
1458
1375
|
.form-inline .checkbox label {
|
|
1459
1376
|
padding-inline-start: 0;
|
|
1460
1377
|
}
|
|
1461
|
-
.form-inline .radio input[type=
|
|
1462
|
-
.form-inline .checkbox input[type=
|
|
1378
|
+
.form-inline .radio input[type='radio'],
|
|
1379
|
+
.form-inline .checkbox input[type='checkbox'] {
|
|
1463
1380
|
position: relative;
|
|
1464
1381
|
margin-inline-start: 0;
|
|
1465
1382
|
}
|
|
@@ -1887,42 +1804,42 @@ input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:active + .tw-
|
|
|
1887
1804
|
margin-inline-start: -6px;
|
|
1888
1805
|
margin-inline-end: -6px;
|
|
1889
1806
|
}
|
|
1890
|
-
.form-group .row [class*=
|
|
1807
|
+
.form-group .row [class*='col-'] {
|
|
1891
1808
|
padding-inline-start: 6px;
|
|
1892
1809
|
padding-inline-end: 6px;
|
|
1893
1810
|
}
|
|
1894
1811
|
@media (max-width: 599.98px) {
|
|
1895
|
-
.form-group .row [class*=
|
|
1812
|
+
.form-group .row [class*='col-sm-'] {
|
|
1896
1813
|
margin-block-end: 0;
|
|
1897
1814
|
}
|
|
1898
|
-
.form-group .row [class*=
|
|
1815
|
+
.form-group .row [class*='col-sm-'] .btn-input {
|
|
1899
1816
|
margin-block-end: 12px;
|
|
1900
1817
|
}
|
|
1901
1818
|
}
|
|
1902
1819
|
@media (max-width: 839.98px) {
|
|
1903
|
-
.form-group .row [class*=
|
|
1820
|
+
.form-group .row [class*='col-md-'] {
|
|
1904
1821
|
margin-block-end: 0;
|
|
1905
1822
|
}
|
|
1906
|
-
.form-group .row [class*=
|
|
1907
|
-
.form-group .row [class*=
|
|
1823
|
+
.form-group .row [class*='col-md-'] .form-control,
|
|
1824
|
+
.form-group .row [class*='col-md-'] .btn-input {
|
|
1908
1825
|
margin-block-end: 12px;
|
|
1909
1826
|
}
|
|
1910
1827
|
}
|
|
1911
1828
|
@media (max-width: 1159.98px) {
|
|
1912
|
-
.form-group .row [class*=
|
|
1829
|
+
.form-group .row [class*='col-lg-'] {
|
|
1913
1830
|
margin-block-end: 0;
|
|
1914
1831
|
}
|
|
1915
|
-
.form-group .row [class*=
|
|
1916
|
-
.form-group .row [class*=
|
|
1832
|
+
.form-group .row [class*='col-lg-'] .form-control,
|
|
1833
|
+
.form-group .row [class*='col-lg-'] .btn-input {
|
|
1917
1834
|
margin-block-end: 12px;
|
|
1918
1835
|
}
|
|
1919
1836
|
}
|
|
1920
1837
|
@media (max-width: 1159.98px) {
|
|
1921
|
-
.form-group .row [class*=
|
|
1838
|
+
.form-group .row [class*='col-xl-'] {
|
|
1922
1839
|
margin-block-end: 0;
|
|
1923
1840
|
}
|
|
1924
|
-
.form-group .row [class*=
|
|
1925
|
-
.form-group .row [class*=
|
|
1841
|
+
.form-group .row [class*='col-xl-'] .form-control,
|
|
1842
|
+
.form-group .row [class*='col-xl-'] .btn-input {
|
|
1926
1843
|
margin-block-end: 12px;
|
|
1927
1844
|
}
|
|
1928
1845
|
}
|
|
@@ -2005,11 +1922,7 @@ input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:active + .tw-
|
|
|
2005
1922
|
.checkbox.checkbox-lg > label .np-text-body-default,
|
|
2006
1923
|
.radio.checkbox-lg > label .np-text-body-default,
|
|
2007
1924
|
.checkbox.radio-lg > label .np-text-body-default,
|
|
2008
|
-
.radio.radio-lg > label .np-text-body-default
|
|
2009
|
-
.checkbox.checkbox-lg > label .wds-text-body-default,
|
|
2010
|
-
.radio.checkbox-lg > label .wds-text-body-default,
|
|
2011
|
-
.checkbox.radio-lg > label .wds-text-body-default,
|
|
2012
|
-
.radio.radio-lg > label .wds-text-body-default {
|
|
1925
|
+
.radio.radio-lg > label .np-text-body-default {
|
|
2013
1926
|
display: block;
|
|
2014
1927
|
color: #5d7079;
|
|
2015
1928
|
color: var(--color-content-secondary);
|
|
@@ -2106,6 +2019,12 @@ input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:active + .tw-
|
|
|
2106
2019
|
.form-control-placeholder {
|
|
2107
2020
|
text-overflow: ellipsis;
|
|
2108
2021
|
overflow: hidden;
|
|
2022
|
+
font-weight: 400;
|
|
2023
|
+
font-weight: var(--font-weight-regular);
|
|
2024
|
+
font-size: 1rem;
|
|
2025
|
+
font-size: var(--font-size-16);
|
|
2026
|
+
line-height: 150%;
|
|
2027
|
+
letter-spacing: -0.011em;
|
|
2109
2028
|
word-wrap: break-word;
|
|
2110
2029
|
display: block;
|
|
2111
2030
|
inline-size: 100%;
|
|
@@ -2232,23 +2151,23 @@ input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:active + .tw-
|
|
|
2232
2151
|
.np-theme-personal .has-error .checkbox:hover .tw-checkbox-button,
|
|
2233
2152
|
.np-theme-personal .has-error .radio:not(.disabled):hover .tw-radio-button,
|
|
2234
2153
|
.np-theme-personal .has-error .tw-checkbox-button:not(.disabled):not(:disabled):hover,
|
|
2235
|
-
.np-theme-personal .has-error input[type=
|
|
2236
|
-
.np-theme-personal .has-error input[type=
|
|
2237
|
-
.np-theme-personal .has-error input[type=
|
|
2154
|
+
.np-theme-personal .has-error input[type=checkbox]:hover + .tw-checkbox-button,
|
|
2155
|
+
.np-theme-personal .has-error input[type=radio]:not(.disabled):not(:disabled):hover + .tw-radio-button,
|
|
2156
|
+
.np-theme-personal .has-error input[type=checkbox]:not(.disabled):not(:disabled):hover + .tw-checkbox-button {
|
|
2238
2157
|
box-shadow: inset 0 0 0 2px var(--color-sentiment-negative-hover);
|
|
2239
2158
|
}
|
|
2240
2159
|
.np-theme-personal .has-error .tw-checkbox-button.checked,
|
|
2241
2160
|
.np-theme-personal .has-error .tw-checkbox-button:checked,
|
|
2242
|
-
.np-theme-personal .has-error input[type=
|
|
2161
|
+
.np-theme-personal .has-error input[type=checkbox]:checked + .tw-checkbox-button,
|
|
2243
2162
|
.np-theme-personal .has-error .tw-checkbox-button.checked:hover,
|
|
2244
2163
|
.np-theme-personal .has-error .tw-checkbox-button:checked:hover,
|
|
2245
|
-
.np-theme-personal .has-error input[type=
|
|
2164
|
+
.np-theme-personal .has-error input[type=checkbox]:not(.disabled):not(:disabled):checked:hover + .tw-checkbox-button {
|
|
2246
2165
|
box-shadow: inset 0 0 0 3px var(--color-sentiment-negative);
|
|
2247
2166
|
background: var(--color-sentiment-negative);
|
|
2248
2167
|
}
|
|
2249
|
-
.np-theme-personal .has-error .checkbox > label:not(.disabled):not(:disabled):active input[type=
|
|
2250
|
-
.np-theme-personal .has-error .checkbox > label:not(.disabled):not(:disabled):focus-visible input[type=
|
|
2251
|
-
.np-theme-personal .has-error .checkbox > label:not(.disabled):not(:disabled):has(:focus-visible) input[type=
|
|
2168
|
+
.np-theme-personal .has-error .checkbox > label:not(.disabled):not(:disabled):active input[type=checkbox] + .tw-checkbox-button,
|
|
2169
|
+
.np-theme-personal .has-error .checkbox > label:not(.disabled):not(:disabled):focus-visible input[type=checkbox] + .tw-checkbox-button,
|
|
2170
|
+
.np-theme-personal .has-error .checkbox > label:not(.disabled):not(:disabled):has(:focus-visible) input[type=checkbox] + .tw-checkbox-button {
|
|
2252
2171
|
box-shadow: inset 0 0 0 2px var(--color-sentiment-negative-active);
|
|
2253
2172
|
}
|
|
2254
2173
|
.np-theme-personal .tw-radio-button,
|
|
@@ -2351,8 +2270,26 @@ input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:active + .tw-
|
|
|
2351
2270
|
min-block-size: var(--input-height-large);
|
|
2352
2271
|
padding: var(--input-padding-large);
|
|
2353
2272
|
border-radius: 3px;
|
|
2273
|
+
font-weight: 400;
|
|
2274
|
+
font-weight: var(--font-weight-regular);
|
|
2275
|
+
font-size: 1rem;
|
|
2276
|
+
font-size: var(--font-size-16);
|
|
2277
|
+
line-height: 150%;
|
|
2278
|
+
letter-spacing: -0.011em;
|
|
2279
|
+
margin: 0;
|
|
2280
|
+
color: #37517e;
|
|
2281
|
+
color: var(--color-content-primary);
|
|
2282
|
+
line-height: 1.2;
|
|
2283
|
+
line-height: var(--line-height-title);
|
|
2284
|
+
letter-spacing: 0;
|
|
2354
2285
|
word-wrap: break-word;
|
|
2355
2286
|
margin-block-end: initial;
|
|
2287
|
+
font-size: 1.375rem;
|
|
2288
|
+
font-size: var(--font-size-22);
|
|
2289
|
+
font-weight: 600;
|
|
2290
|
+
font-weight: var(--font-weight-semi-bold);
|
|
2291
|
+
letter-spacing: -0.018em;
|
|
2292
|
+
line-height: 125%;
|
|
2356
2293
|
margin-block-end: 0;
|
|
2357
2294
|
}
|
|
2358
2295
|
select.input-group-lg > .form-control,
|
|
@@ -2406,6 +2343,56 @@ select[multiple].input-group-lg > .input-group-btn .btn {
|
|
|
2406
2343
|
}
|
|
2407
2344
|
}
|
|
2408
2345
|
}
|
|
2346
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
2347
|
+
.input-group-lg > .form-control,
|
|
2348
|
+
.input-group-lg > .input-group-addon,
|
|
2349
|
+
.input-group-lg > .input-group-btn .btn {
|
|
2350
|
+
hyphens: auto;
|
|
2351
|
+
hyphenate-limit-chars: 7 3;
|
|
2352
|
+
}
|
|
2353
|
+
@media (min-width: 840px) {
|
|
2354
|
+
.input-group-lg > .form-control,
|
|
2355
|
+
.input-group-lg > .input-group-addon,
|
|
2356
|
+
.input-group-lg > .input-group-btn .btn {
|
|
2357
|
+
hyphenate-limit-chars: 8 3;
|
|
2358
|
+
}
|
|
2359
|
+
}
|
|
2360
|
+
@media (min-width: 1160px) {
|
|
2361
|
+
.input-group-lg > .form-control,
|
|
2362
|
+
.input-group-lg > .input-group-addon,
|
|
2363
|
+
.input-group-lg > .input-group-btn .btn {
|
|
2364
|
+
hyphenate-limit-chars: 10 4 3;
|
|
2365
|
+
}
|
|
2366
|
+
}
|
|
2367
|
+
}
|
|
2368
|
+
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
2369
|
+
.input-group-lg > .form-control,
|
|
2370
|
+
.input-group-lg > .input-group-addon,
|
|
2371
|
+
.input-group-lg > .input-group-btn .btn {
|
|
2372
|
+
hyphens: auto;
|
|
2373
|
+
-webkit-hyphenate-limit-before: 3;
|
|
2374
|
+
-webkit-hyphenate-limit-after: 3;
|
|
2375
|
+
}
|
|
2376
|
+
@media (min-width: 1160px) {
|
|
2377
|
+
.input-group-lg > .form-control,
|
|
2378
|
+
.input-group-lg > .input-group-addon,
|
|
2379
|
+
.input-group-lg > .input-group-btn .btn {
|
|
2380
|
+
-webkit-hyphenate-limit-before: 4;
|
|
2381
|
+
}
|
|
2382
|
+
}
|
|
2383
|
+
}
|
|
2384
|
+
.input-group-lg > .form-control + p,
|
|
2385
|
+
.input-group-lg > .input-group-addon + p,
|
|
2386
|
+
.input-group-lg > .input-group-btn .btn + p,
|
|
2387
|
+
.input-group-lg > .form-control + ul:not(.list-unstyled),
|
|
2388
|
+
.input-group-lg > .input-group-addon + ul:not(.list-unstyled),
|
|
2389
|
+
.input-group-lg > .input-group-btn .btn + ul:not(.list-unstyled),
|
|
2390
|
+
.input-group-lg > .form-control + ol:not(.list-unstyled),
|
|
2391
|
+
.input-group-lg > .input-group-addon + ol:not(.list-unstyled),
|
|
2392
|
+
.input-group-lg > .input-group-btn .btn + ol:not(.list-unstyled) {
|
|
2393
|
+
margin-block-start: 8px;
|
|
2394
|
+
margin-block-start: var(--size-8);
|
|
2395
|
+
}
|
|
2409
2396
|
.input-group-sm > .form-control,
|
|
2410
2397
|
.input-group-sm > .input-group-addon {
|
|
2411
2398
|
min-block-size: 32px;
|
|
@@ -2413,6 +2400,12 @@ select[multiple].input-group-lg > .input-group-btn .btn {
|
|
|
2413
2400
|
border-radius: 3px;
|
|
2414
2401
|
font-size: 14px;
|
|
2415
2402
|
line-height: 24px;
|
|
2403
|
+
font-size: 0.875rem;
|
|
2404
|
+
font-size: var(--font-size-14);
|
|
2405
|
+
line-height: 155%;
|
|
2406
|
+
letter-spacing: -0.006em;
|
|
2407
|
+
font-weight: 400;
|
|
2408
|
+
font-weight: var(--font-weight-regular);
|
|
2416
2409
|
word-wrap: break-word;
|
|
2417
2410
|
}
|
|
2418
2411
|
select.input-group-sm > .form-control,
|
package/dist/css/list-group.css
CHANGED
|
@@ -38,9 +38,54 @@
|
|
|
38
38
|
}
|
|
39
39
|
.list-group-item-heading {
|
|
40
40
|
margin-block-end: 0;
|
|
41
|
+
margin: 0;
|
|
42
|
+
line-height: 1.2;
|
|
43
|
+
line-height: var(--line-height-title);
|
|
44
|
+
letter-spacing: 0;
|
|
45
|
+
word-wrap: break-word;
|
|
46
|
+
font-weight: 500;
|
|
47
|
+
font-weight: var(--font-weight-medium);
|
|
48
|
+
font-size: 0.875rem;
|
|
49
|
+
font-size: var(--font-size-14);
|
|
50
|
+
letter-spacing: -0.006em;
|
|
51
|
+
line-height: 140%;
|
|
41
52
|
color: #37517e;
|
|
42
53
|
color: var(--color-content-primary);
|
|
43
54
|
}
|
|
55
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
56
|
+
.list-group-item-heading {
|
|
57
|
+
hyphens: auto;
|
|
58
|
+
hyphenate-limit-chars: 7 3;
|
|
59
|
+
}
|
|
60
|
+
@media (min-width: 840px) {
|
|
61
|
+
.list-group-item-heading {
|
|
62
|
+
hyphenate-limit-chars: 8 3;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
@media (min-width: 1160px) {
|
|
66
|
+
.list-group-item-heading {
|
|
67
|
+
hyphenate-limit-chars: 10 4 3;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
72
|
+
.list-group-item-heading {
|
|
73
|
+
hyphens: auto;
|
|
74
|
+
-webkit-hyphenate-limit-before: 3;
|
|
75
|
+
-webkit-hyphenate-limit-after: 3;
|
|
76
|
+
}
|
|
77
|
+
@media (min-width: 1160px) {
|
|
78
|
+
.list-group-item-heading {
|
|
79
|
+
-webkit-hyphenate-limit-before: 4;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
.list-group-item-heading + p,
|
|
84
|
+
.list-group-item-heading + ul:not(.list-unstyled),
|
|
85
|
+
.list-group-item-heading + ol:not(.list-unstyled) {
|
|
86
|
+
margin-block-start: 8px;
|
|
87
|
+
margin-block-start: var(--size-8);
|
|
88
|
+
}
|
|
44
89
|
.list-group-item-text {
|
|
45
90
|
margin-block-end: 0;
|
|
46
91
|
color: #5d7079;
|