@transferwise/neptune-css 0.0.0-experimental-cb358e4 → 0.0.0-experimental-a21d52d
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 +11 -53
- package/dist/css/badge.css +2 -2
- package/dist/css/button-groups.css +6 -29
- package/dist/css/buttons.css +11 -35
- package/dist/css/decision.css +11 -53
- package/dist/css/dropdowns.css +18 -65
- package/dist/css/droppable.css +6 -28
- package/dist/css/footer.css +10 -41
- package/dist/css/input-groups.css +117 -249
- package/dist/css/list-group.css +8 -28
- package/dist/css/modals.css +1 -1
- package/dist/css/navbar.css +45 -92
- package/dist/css/navs.css +8 -8
- package/dist/css/neptune-addons.css +0 -15
- package/dist/css/neptune-core.css +536 -6243
- package/dist/css/neptune.css +1960 -8984
- package/dist/css/panels.css +2 -2
- package/dist/css/popovers.css +20 -64
- package/dist/css/progress-bars.css +2 -2
- package/dist/css/sequences.css +9 -14
- package/dist/css/table.css +7 -7
- package/dist/css/tooltip.css +6 -28
- 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.less +3 -3
- package/dist/less/neptune-tokens.less +48 -0
- package/dist/props/neptune-tokens.css +3 -805
- package/package.json +2 -2
- 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
- package/src/less/addons/_background-utilities.less +0 -5
- package/src/less/badge.less +2 -2
- package/src/less/button-groups.less +2 -3
- package/src/less/buttons.less +7 -7
- package/src/less/core/_fonts.less +75 -7
- package/src/less/core/_scaffolding.less +4 -4
- package/src/less/core/_typography-utilities.less +3 -3
- package/src/less/core/_typography.less +237 -91
- package/src/less/decision.less +2 -2
- package/src/less/dropdowns.less +7 -8
- package/src/less/droppable.less +4 -4
- package/src/less/footer.less +3 -4
- package/src/less/forms/bootstrap-forms.less +72 -85
- package/src/less/forms/checkbox-radio.less +3 -3
- package/src/less/input-groups.less +9 -23
- package/src/less/list-group.less +5 -8
- package/src/less/mixins/_reset-text.less +1 -1
- package/src/less/mixins/_text-emphasis.less +1 -7
- 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 +0 -4
- 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 +10 -15
- package/src/less/table.less +7 -7
- package/src/less/tooltip.less +1 -1
- package/src/variables/legacy-variables.less +3 -3
- package/src/less/core/fonts/_fonts-ar.less +0 -86
- package/src/less/core/fonts/_fonts-base.less +0 -99
- package/src/less/core/fonts/_fonts-he.less +0 -8
- package/src/less/core/fonts/_fonts-ja.less +0 -4247
- package/src/less/core/fonts/_fonts-ko.less +0 -1079
- package/src/less/core/fonts/_fonts-th.less +0 -8
- package/src/less/core/fonts/_fonts-zh.less +0 -872
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
@import (reference)
|
|
2
|
-
@import (reference)
|
|
3
|
-
@import (reference)
|
|
4
|
-
@import (reference)
|
|
5
|
-
@import (reference)
|
|
6
|
-
@import (reference)
|
|
7
|
-
@import (reference)
|
|
8
|
-
@import (reference)
|
|
1
|
+
@import (reference) '../../variables/legacy-variables.less';
|
|
2
|
+
@import (reference) '../../variables/neptune-tokens.less';
|
|
3
|
+
@import (reference) '../mixins/_arrows.less';
|
|
4
|
+
@import (reference) '../mixins/_grid.less';
|
|
5
|
+
@import (reference) '../mixins/_forms.less';
|
|
6
|
+
@import (reference) '../mixins/_tab-focus.less';
|
|
7
|
+
@import (reference) '../mixins/_logical-properties.less';
|
|
8
|
+
@import (reference) '../core/_typography.less';
|
|
9
9
|
|
|
10
10
|
//
|
|
11
11
|
// Forms
|
|
@@ -43,7 +43,7 @@ label,
|
|
|
43
43
|
.secondary {
|
|
44
44
|
color: var(--color-content-secondary);
|
|
45
45
|
transition: color ease-in-out 0.15s;
|
|
46
|
-
font-size: var(--
|
|
46
|
+
font-size: var(--font-size-14);
|
|
47
47
|
line-height: 20px;
|
|
48
48
|
}
|
|
49
49
|
|
|
@@ -54,34 +54,34 @@ label,
|
|
|
54
54
|
// address browser inconsistencies.
|
|
55
55
|
|
|
56
56
|
// Override content-box in Normalize (* isn't specific enough)
|
|
57
|
-
input[type=
|
|
57
|
+
input[type='search'] {
|
|
58
58
|
box-sizing: border-box;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
input[type=
|
|
61
|
+
input[type='number'] {
|
|
62
62
|
appearance: textfield;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
input[type=
|
|
66
|
-
input[type=
|
|
65
|
+
input[type='number']::-webkit-outer-spin-button,
|
|
66
|
+
input[type='number']::-webkit-inner-spin-button {
|
|
67
67
|
appearance: none;
|
|
68
68
|
margin: 0;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
// Position radios and checkboxes better
|
|
72
|
-
input[type=
|
|
73
|
-
input[type=
|
|
72
|
+
input[type='radio'],
|
|
73
|
+
input[type='checkbox'] {
|
|
74
74
|
margin: 4px 0 0;
|
|
75
75
|
margin-top: 1px;
|
|
76
76
|
line-height: normal;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
input[type=
|
|
79
|
+
input[type='file'] {
|
|
80
80
|
display: block;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
// Make range inputs behave like textual form controls
|
|
84
|
-
input[type=
|
|
84
|
+
input[type='range'] {
|
|
85
85
|
display: block;
|
|
86
86
|
width: 100%;
|
|
87
87
|
}
|
|
@@ -93,9 +93,9 @@ select[size] {
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
// Focus for file, radio, and checkbox
|
|
96
|
-
input[type=
|
|
97
|
-
input[type=
|
|
98
|
-
input[type=
|
|
96
|
+
input[type='file']:focus,
|
|
97
|
+
input[type='radio']:focus,
|
|
98
|
+
input[type='checkbox']:focus {
|
|
99
99
|
.tab-focus();
|
|
100
100
|
}
|
|
101
101
|
|
|
@@ -103,8 +103,8 @@ input[type="checkbox"]:focus {
|
|
|
103
103
|
output {
|
|
104
104
|
display: block;
|
|
105
105
|
padding-top: (@padding-base-vertical + 1);
|
|
106
|
-
font-size: var(--
|
|
107
|
-
line-height: var(--
|
|
106
|
+
font-size: var(--font-size-16);
|
|
107
|
+
line-height: var(--line-height-control);
|
|
108
108
|
color: var(--color-content-primary);
|
|
109
109
|
}
|
|
110
110
|
|
|
@@ -138,14 +138,14 @@ output {
|
|
|
138
138
|
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
|
139
139
|
border: 1px solid var(--color-interactive-secondary);
|
|
140
140
|
transition: border-color ease-in-out 0.15s;
|
|
141
|
-
font-size: var(--
|
|
141
|
+
font-size: var(--font-size-16);
|
|
142
142
|
|
|
143
143
|
.input-size(
|
|
144
144
|
var(--input-height-base),
|
|
145
145
|
var(--input-padding),
|
|
146
146
|
@input-border-radius
|
|
147
147
|
);
|
|
148
|
-
.
|
|
148
|
+
.np-text-body-large;
|
|
149
149
|
|
|
150
150
|
// Remove iOS drop shadow
|
|
151
151
|
background-clip: padding-box;
|
|
@@ -197,7 +197,7 @@ output {
|
|
|
197
197
|
// be added to `.form-control` as it's not specific enough. For details, see
|
|
198
198
|
// https://github.com/twbs/bootstrap/issues/11586.
|
|
199
199
|
|
|
200
|
-
input[type=
|
|
200
|
+
input[type='search'] {
|
|
201
201
|
appearance: none;
|
|
202
202
|
}
|
|
203
203
|
|
|
@@ -209,10 +209,10 @@ input[type="search"] {
|
|
|
209
209
|
// for Safari. See https://bugs.webkit.org/show_bug.cgi?id=139848
|
|
210
210
|
|
|
211
211
|
@media screen and (min-device-pixel-ratio: 0) {
|
|
212
|
-
input[type=
|
|
213
|
-
input[type=
|
|
214
|
-
input[type=
|
|
215
|
-
input[type=
|
|
212
|
+
input[type='date'],
|
|
213
|
+
input[type='time'],
|
|
214
|
+
input[type='datetime-local'],
|
|
215
|
+
input[type='month'] {
|
|
216
216
|
line-height: var(--input-height-base);
|
|
217
217
|
|
|
218
218
|
&.input-sm,
|
|
@@ -222,7 +222,7 @@ input[type="search"] {
|
|
|
222
222
|
|
|
223
223
|
&.input-lg,
|
|
224
224
|
.input-group-lg & {
|
|
225
|
-
line-height: calc(var(--input-height-large) - var(--
|
|
225
|
+
line-height: calc(var(--input-height-large) - var(--line-height-body));
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
}
|
|
@@ -248,7 +248,7 @@ input[type="search"] {
|
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
250
|
|
|
251
|
-
.row-equal-height > [class*=
|
|
251
|
+
.row-equal-height > [class*='col-'] > .form-group {
|
|
252
252
|
width: 100%;
|
|
253
253
|
}
|
|
254
254
|
|
|
@@ -275,10 +275,10 @@ input[type="search"] {
|
|
|
275
275
|
margin-top: (@padding-base-vertical * 1.5);
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
-
.radio input[type=
|
|
279
|
-
.radio-inline input[type=
|
|
280
|
-
.checkbox input[type=
|
|
281
|
-
.checkbox-inline input[type=
|
|
278
|
+
.radio input[type='radio'],
|
|
279
|
+
.radio-inline input[type='radio'],
|
|
280
|
+
.checkbox input[type='checkbox'],
|
|
281
|
+
.checkbox-inline input[type='checkbox'] {
|
|
282
282
|
position: absolute;
|
|
283
283
|
.margin(left, -20px);
|
|
284
284
|
|
|
@@ -313,8 +313,8 @@ input[type="search"] {
|
|
|
313
313
|
// Some special care is needed because <label>s don't inherit their parent's `cursor`.
|
|
314
314
|
//
|
|
315
315
|
// Note: Neither radios nor checkboxes can be readonly.
|
|
316
|
-
input[type=
|
|
317
|
-
input[type=
|
|
316
|
+
input[type='radio'],
|
|
317
|
+
input[type='checkbox'] {
|
|
318
318
|
&[disabled],
|
|
319
319
|
&.disabled,
|
|
320
320
|
fieldset[disabled] & {
|
|
@@ -349,7 +349,7 @@ input[type="password"] {
|
|
|
349
349
|
.form-control-static {
|
|
350
350
|
// Remove default margin from `p`
|
|
351
351
|
margin-bottom: 0;
|
|
352
|
-
min-height: calc(var(--
|
|
352
|
+
min-height: calc(var(--line-height-control) * 2);
|
|
353
353
|
color: var(--color-content-secondary);
|
|
354
354
|
background-color: var(--color-background-neutral);
|
|
355
355
|
border: 1px solid var(--color-interactive-secondary);
|
|
@@ -380,7 +380,7 @@ input[type="password"] {
|
|
|
380
380
|
);
|
|
381
381
|
font-size: 14px;
|
|
382
382
|
line-height: 24px;
|
|
383
|
-
.
|
|
383
|
+
.np-text-body-default();
|
|
384
384
|
}
|
|
385
385
|
|
|
386
386
|
.form-group-sm,
|
|
@@ -388,7 +388,7 @@ input[type="password"] {
|
|
|
388
388
|
.form-control {
|
|
389
389
|
height: @input-height-small;
|
|
390
390
|
padding: var(--input-padding-small);
|
|
391
|
-
font-size: var(--
|
|
391
|
+
font-size: var(--font-size-14);
|
|
392
392
|
line-height: @input-line-height-small;
|
|
393
393
|
border-radius: @input-border-radius-small;
|
|
394
394
|
}
|
|
@@ -405,9 +405,9 @@ input[type="password"] {
|
|
|
405
405
|
|
|
406
406
|
.form-control-static {
|
|
407
407
|
height: @input-height-small;
|
|
408
|
-
min-height: calc(var(--
|
|
408
|
+
min-height: calc(var(--line-height-control) + @input-font-size-small);
|
|
409
409
|
padding: var(--input-padding-small);
|
|
410
|
-
font-size: var(--
|
|
410
|
+
font-size: var(--font-size-14);
|
|
411
411
|
line-height: @input-line-height-small;
|
|
412
412
|
}
|
|
413
413
|
}
|
|
@@ -418,7 +418,7 @@ input[type="password"] {
|
|
|
418
418
|
var(--input-padding-large);
|
|
419
419
|
@input-border-radius-large
|
|
420
420
|
);
|
|
421
|
-
.
|
|
421
|
+
.np-text-body-large;
|
|
422
422
|
}
|
|
423
423
|
|
|
424
424
|
.form-group-lg {
|
|
@@ -445,7 +445,7 @@ input[type="password"] {
|
|
|
445
445
|
|
|
446
446
|
.form-control-static {
|
|
447
447
|
height: var(--input-height-large);
|
|
448
|
-
min-height: calc(var(--
|
|
448
|
+
min-height: calc(var(--line-height-control) + @input-font-size-large);
|
|
449
449
|
padding: var(--input-padding-large);
|
|
450
450
|
font-size: @input-font-size-large;
|
|
451
451
|
line-height: @input-line-height-large;
|
|
@@ -533,9 +533,7 @@ input[type="password"] {
|
|
|
533
533
|
border-style: solid;
|
|
534
534
|
border-radius: var(--radius-small);
|
|
535
535
|
padding: 4px 16px 3px;
|
|
536
|
-
transition:
|
|
537
|
-
border-color 0.15s ease-in-out,
|
|
538
|
-
background-color 0.15s ease-in-out;
|
|
536
|
+
transition: border-color 0.15s ease-in-out, background-color 0.15s ease-in-out;
|
|
539
537
|
|
|
540
538
|
a {
|
|
541
539
|
color: inherit;
|
|
@@ -626,7 +624,7 @@ input[type="password"] {
|
|
|
626
624
|
// Reposition feedback icon if input has visible label above
|
|
627
625
|
.has-feedback label {
|
|
628
626
|
& ~ .form-control-feedback {
|
|
629
|
-
top: var(--
|
|
627
|
+
top: var(--line-height-control); // Height of the `label` and its margin
|
|
630
628
|
}
|
|
631
629
|
|
|
632
630
|
&.sr-only ~ .form-control-feedback {
|
|
@@ -703,8 +701,8 @@ input[type="password"] {
|
|
|
703
701
|
}
|
|
704
702
|
}
|
|
705
703
|
|
|
706
|
-
.radio input[type=
|
|
707
|
-
.checkbox input[type=
|
|
704
|
+
.radio input[type='radio'],
|
|
705
|
+
.checkbox input[type='checkbox'] {
|
|
708
706
|
position: relative;
|
|
709
707
|
.margin(left, 0);
|
|
710
708
|
}
|
|
@@ -737,7 +735,7 @@ input[type="password"] {
|
|
|
737
735
|
// and other content below items
|
|
738
736
|
.radio,
|
|
739
737
|
.checkbox {
|
|
740
|
-
min-height: calc(var(--
|
|
738
|
+
min-height: calc(var(--line-height-control) + (@padding-base-vertical + 1));
|
|
741
739
|
}
|
|
742
740
|
|
|
743
741
|
// Make form groups behave like rows
|
|
@@ -774,7 +772,7 @@ input[type="password"] {
|
|
|
774
772
|
// DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
|
|
775
773
|
.control-label {
|
|
776
774
|
padding-top: 17px;
|
|
777
|
-
font-size: var(--
|
|
775
|
+
font-size: var(--font-size-20);
|
|
778
776
|
}
|
|
779
777
|
}
|
|
780
778
|
}
|
|
@@ -784,13 +782,13 @@ input[type="password"] {
|
|
|
784
782
|
// DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
|
|
785
783
|
.control-label {
|
|
786
784
|
padding-top: 8px;
|
|
787
|
-
font-size: var(--
|
|
785
|
+
font-size: var(--font-size-14);
|
|
788
786
|
}
|
|
789
787
|
}
|
|
790
788
|
}
|
|
791
789
|
}
|
|
792
790
|
|
|
793
|
-
@import
|
|
791
|
+
@import 'checkbox-radio.less';
|
|
794
792
|
|
|
795
793
|
.input-group .input-group-btn + input {
|
|
796
794
|
.border(left, 0, solid, transparent);
|
|
@@ -820,7 +818,7 @@ input[type="password"] {
|
|
|
820
818
|
|
|
821
819
|
.form-group {
|
|
822
820
|
position: relative;
|
|
823
|
-
font-size: var(--
|
|
821
|
+
font-size: var(--font-size-14);
|
|
824
822
|
}
|
|
825
823
|
|
|
826
824
|
.form-group .row {
|
|
@@ -828,7 +826,7 @@ input[type="password"] {
|
|
|
828
826
|
|
|
829
827
|
.margin(right, -6px);
|
|
830
828
|
|
|
831
|
-
[class*=
|
|
829
|
+
[class*='col-'] {
|
|
832
830
|
.padding(left, 6px);
|
|
833
831
|
|
|
834
832
|
.padding(right, 6px);
|
|
@@ -836,7 +834,7 @@ input[type="password"] {
|
|
|
836
834
|
}
|
|
837
835
|
|
|
838
836
|
@media (max-width: @screen-xs-max) {
|
|
839
|
-
.form-group .row [class*=
|
|
837
|
+
.form-group .row [class*='col-sm-'] {
|
|
840
838
|
margin-bottom: 0;
|
|
841
839
|
|
|
842
840
|
.btn-input {
|
|
@@ -846,7 +844,7 @@ input[type="password"] {
|
|
|
846
844
|
}
|
|
847
845
|
|
|
848
846
|
@media (max-width: @screen-sm-max) {
|
|
849
|
-
.form-group .row [class*=
|
|
847
|
+
.form-group .row [class*='col-md-'] {
|
|
850
848
|
margin-bottom: 0;
|
|
851
849
|
|
|
852
850
|
.form-control,
|
|
@@ -857,7 +855,7 @@ input[type="password"] {
|
|
|
857
855
|
}
|
|
858
856
|
|
|
859
857
|
@media (max-width: @screen-md-max) {
|
|
860
|
-
.form-group .row [class*=
|
|
858
|
+
.form-group .row [class*='col-lg-'] {
|
|
861
859
|
margin-bottom: 0;
|
|
862
860
|
|
|
863
861
|
.form-control,
|
|
@@ -868,7 +866,7 @@ input[type="password"] {
|
|
|
868
866
|
}
|
|
869
867
|
|
|
870
868
|
@media (max-width: @screen-lg-max) {
|
|
871
|
-
.form-group .row [class*=
|
|
869
|
+
.form-group .row [class*='col-xl-'] {
|
|
872
870
|
margin-bottom: 0;
|
|
873
871
|
|
|
874
872
|
.form-control,
|
|
@@ -897,9 +895,7 @@ input[type="password"] {
|
|
|
897
895
|
background-color: var(--color-background-screen);
|
|
898
896
|
border: 1px solid var(--color-interactive-secondary);
|
|
899
897
|
border-radius: @border-radius-base;
|
|
900
|
-
transition:
|
|
901
|
-
border 0.15s ease-in-out,
|
|
902
|
-
background-color 0.15s ease-in-out;
|
|
898
|
+
transition: border 0.15s ease-in-out, background-color 0.15s ease-in-out;
|
|
903
899
|
|
|
904
900
|
.np-theme-personal & {
|
|
905
901
|
border-radius: var(--radius-small);
|
|
@@ -930,8 +926,7 @@ input[type="password"] {
|
|
|
930
926
|
small,
|
|
931
927
|
.small,
|
|
932
928
|
.body-2,
|
|
933
|
-
.np-text-body-default
|
|
934
|
-
.wds-text-body-default {
|
|
929
|
+
.np-text-body-default {
|
|
935
930
|
display: block;
|
|
936
931
|
color: var(--color-content-secondary);
|
|
937
932
|
}
|
|
@@ -1026,7 +1021,7 @@ input[type="password"] {
|
|
|
1026
1021
|
.form-control-placeholder {
|
|
1027
1022
|
text-overflow: ellipsis;
|
|
1028
1023
|
overflow: hidden;
|
|
1029
|
-
.
|
|
1024
|
+
.np-text-body-large;
|
|
1030
1025
|
display: block;
|
|
1031
1026
|
width: 100%;
|
|
1032
1027
|
color: var(--color-content-tertiary);
|
|
@@ -1130,32 +1125,26 @@ input[type="password"] {
|
|
|
1130
1125
|
|
|
1131
1126
|
.checkbox:hover .tw-checkbox-button,
|
|
1132
1127
|
.radio:not(.disabled):hover .tw-radio-button,
|
|
1133
|
-
.tw-checkbox-button:not(.disabled
|
|
1134
|
-
input[type=
|
|
1135
|
-
input[type=
|
|
1136
|
-
input[type=
|
|
1128
|
+
.tw-checkbox-button:not(.disabled,:disabled):hover,
|
|
1129
|
+
input[type=checkbox]:hover+.tw-checkbox-button,
|
|
1130
|
+
input[type=radio]:not(.disabled,:disabled):hover+.tw-radio-button,
|
|
1131
|
+
input[type=checkbox]:not(.disabled,:disabled):hover+.tw-checkbox-button {
|
|
1137
1132
|
box-shadow: inset 0 0 0 2px var(--color-sentiment-negative-hover);
|
|
1138
1133
|
}
|
|
1139
1134
|
|
|
1140
1135
|
.tw-checkbox-button.checked,
|
|
1141
1136
|
.tw-checkbox-button:checked,
|
|
1142
|
-
input[type=
|
|
1137
|
+
input[type=checkbox]:checked+.tw-checkbox-button,
|
|
1143
1138
|
.tw-checkbox-button.checked:hover,
|
|
1144
1139
|
.tw-checkbox-button:checked:hover,
|
|
1145
|
-
input[type=
|
|
1140
|
+
input[type=checkbox]:not(.disabled,:disabled):checked:hover+.tw-checkbox-button {
|
|
1146
1141
|
box-shadow: inset 0 0 0 3px var(--color-sentiment-negative);
|
|
1147
1142
|
background: var(--color-sentiment-negative);
|
|
1148
1143
|
}
|
|
1149
1144
|
|
|
1150
|
-
.checkbox
|
|
1151
|
-
.checkbox
|
|
1152
|
-
|
|
1153
|
-
input[type="checkbox"]
|
|
1154
|
-
+ .tw-checkbox-button,
|
|
1155
|
-
.checkbox
|
|
1156
|
-
> label:not(.disabled, :disabled):has(:focus-visible)
|
|
1157
|
-
input[type="checkbox"]
|
|
1158
|
-
+ .tw-checkbox-button {
|
|
1145
|
+
.checkbox>label:not(.disabled,:disabled):active input[type=checkbox]+.tw-checkbox-button,
|
|
1146
|
+
.checkbox>label:not(.disabled,:disabled):focus-visible input[type=checkbox]+.tw-checkbox-button,
|
|
1147
|
+
.checkbox>label:not(.disabled,:disabled):has(:focus-visible) input[type=checkbox]+.tw-checkbox-button {
|
|
1159
1148
|
box-shadow: inset 0 0 0 2px var(--color-sentiment-negative-active);
|
|
1160
1149
|
}
|
|
1161
1150
|
}
|
|
@@ -1164,9 +1153,7 @@ input[type="password"] {
|
|
|
1164
1153
|
.tw-checkbox-button {
|
|
1165
1154
|
background-color: unset;
|
|
1166
1155
|
color: unset;
|
|
1167
|
-
transition:
|
|
1168
|
-
background-color 0.3s ease-in-out,
|
|
1169
|
-
box-shadow 0.3s ease-in-out;
|
|
1156
|
+
transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
|
|
1170
1157
|
}
|
|
1171
1158
|
|
|
1172
1159
|
.btn-input:hover,
|
|
@@ -1183,7 +1170,7 @@ input[type="password"] {
|
|
|
1183
1170
|
}
|
|
1184
1171
|
|
|
1185
1172
|
.form-group .np-upload-input label {
|
|
1186
|
-
|
|
1173
|
+
margin-bottom: 0;
|
|
1187
1174
|
}
|
|
1188
1175
|
|
|
1189
1176
|
.form-group .alert:before,
|
|
@@ -309,9 +309,9 @@
|
|
|
309
309
|
padding-top: 1px; // `0` would look off due to checkbox misalignment
|
|
310
310
|
|
|
311
311
|
:not(.np-theme-personal) & {
|
|
312
|
-
font-weight: var(--
|
|
313
|
-
font-size: var(--
|
|
314
|
-
line-height: var(--
|
|
312
|
+
font-weight: var(--font-weight-regular);
|
|
313
|
+
font-size: var(--font-size-16);
|
|
314
|
+
line-height: var(--line-height-20);
|
|
315
315
|
// Account for our funky font baseline
|
|
316
316
|
padding-top: 3px;
|
|
317
317
|
}
|
|
@@ -62,34 +62,20 @@
|
|
|
62
62
|
> .form-control,
|
|
63
63
|
> .input-group-addon,
|
|
64
64
|
> .input-group-btn .btn {
|
|
65
|
-
--min-height: calc(2 * var(--size-24) + var(--wds-font-size-title-body) * var(--wds-line-height-title-body));
|
|
66
65
|
.input-lg();
|
|
67
|
-
.wds-text-title-subsection();
|
|
68
|
-
min-height: var(--min-height);
|
|
69
|
-
margin-bottom: 0;
|
|
70
66
|
|
|
71
|
-
|
|
72
|
-
min-height: var(--min-height);
|
|
73
|
-
}
|
|
67
|
+
.np-text-title-subsection();
|
|
74
68
|
|
|
75
|
-
|
|
76
|
-
--min-height: calc(2 * var(--size-12) + var(--wds-font-size-title-body) * var(--wds-line-height-title-body));
|
|
77
|
-
}
|
|
69
|
+
margin-bottom: 0;
|
|
78
70
|
}
|
|
79
71
|
}
|
|
80
72
|
|
|
81
73
|
.input-group-sm > .form-control,
|
|
82
74
|
.input-group-sm > .input-group-addon {
|
|
83
|
-
--min-height: calc(2 * var(--size-4) + var(--wds-font-size-body) * var(--wds-line-height-body));
|
|
84
75
|
.input-sm();
|
|
85
|
-
min-height: var(--min-height);
|
|
86
|
-
|
|
87
|
-
select& {
|
|
88
|
-
min-height: var(--min-height);
|
|
89
|
-
}
|
|
90
76
|
|
|
91
77
|
.icon {
|
|
92
|
-
font-size: var(--
|
|
78
|
+
font-size: var(--font-size-20);
|
|
93
79
|
}
|
|
94
80
|
}
|
|
95
81
|
|
|
@@ -120,8 +106,8 @@
|
|
|
120
106
|
// -------------------------
|
|
121
107
|
.input-group-addon {
|
|
122
108
|
padding: var(--input-group-addon-padding);
|
|
123
|
-
font-size: var(--
|
|
124
|
-
line-height: var(--
|
|
109
|
+
font-size: var(--font-size-16);
|
|
110
|
+
line-height: var(--line-height-body);
|
|
125
111
|
color: var(--color-content-secondary);
|
|
126
112
|
text-align: center;
|
|
127
113
|
background-color: var(--color-background-screen);
|
|
@@ -260,7 +246,7 @@
|
|
|
260
246
|
}
|
|
261
247
|
|
|
262
248
|
// inputs focus and hover states (not disabled)
|
|
263
|
-
.input-group:hover:not(.disabled
|
|
249
|
+
.input-group:hover:not(.disabled,:disabled) {
|
|
264
250
|
.form-control,
|
|
265
251
|
.input-group-addon,
|
|
266
252
|
.btn-input,
|
|
@@ -269,11 +255,11 @@
|
|
|
269
255
|
}
|
|
270
256
|
}
|
|
271
257
|
|
|
272
|
-
.form-control:hover:not(.disabled
|
|
258
|
+
.form-control:hover:not(.disabled,:disabled) {
|
|
273
259
|
border-color: var(--color-interactive-secondary-hover);
|
|
274
260
|
}
|
|
275
261
|
|
|
276
|
-
.input-group:focus-within:not(.disabled
|
|
262
|
+
.input-group:focus-within:not(.disabled,:disabled) {
|
|
277
263
|
.form-control,
|
|
278
264
|
.input-group-addon,
|
|
279
265
|
.btn-input,
|
|
@@ -286,7 +272,7 @@
|
|
|
286
272
|
}
|
|
287
273
|
}
|
|
288
274
|
|
|
289
|
-
.form-control:focus-within:not(.disabled
|
|
275
|
+
.form-control:focus-within:not(.disabled,:disabled) {
|
|
290
276
|
border-color: var(--color-interactive-accent);
|
|
291
277
|
|
|
292
278
|
.np-theme-personal & {
|
package/src/less/list-group.less
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
.border(left, 2px, solid, transparent);
|
|
36
36
|
|
|
37
37
|
margin-top: 1px;
|
|
38
|
-
line-height: var(--
|
|
38
|
+
line-height: var(--line-height-body);
|
|
39
39
|
transition: all ease @panel-focus-transtion;
|
|
40
40
|
|
|
41
41
|
.panel-group & {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
|
|
62
62
|
.list-group-item-heading {
|
|
63
63
|
margin-bottom: 0;
|
|
64
|
-
.
|
|
64
|
+
.np-text-title-group;
|
|
65
65
|
|
|
66
66
|
color: var(--color-content-primary);
|
|
67
67
|
}
|
|
@@ -200,12 +200,8 @@ a.list-group-item {
|
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
@keyframes listSlideOver {
|
|
203
|
-
0% {
|
|
204
|
-
|
|
205
|
-
}
|
|
206
|
-
100% {
|
|
207
|
-
transform: translateX(0);
|
|
208
|
-
}
|
|
203
|
+
0% { transform: translateX(100vw); }
|
|
204
|
+
100% { transform: translateX(0); }
|
|
209
205
|
}
|
|
210
206
|
|
|
211
207
|
@media (max-width: @screen-sm-max) {
|
|
@@ -254,6 +250,7 @@ a.list-group-item {
|
|
|
254
250
|
}
|
|
255
251
|
|
|
256
252
|
.list-group-item.active .collapse .well {
|
|
253
|
+
|
|
257
254
|
// Annoying but makes sure the last content is visible in iOS safari
|
|
258
255
|
|
|
259
256
|
padding-bottom: 72px;
|
|
@@ -22,9 +22,6 @@
|
|
|
22
22
|
&.np-text-title-screen,
|
|
23
23
|
&.np-text-title-section,
|
|
24
24
|
&.np-text-title-subsection,
|
|
25
|
-
&.wds-text-title-screen,
|
|
26
|
-
&.wds-text-title-section,
|
|
27
|
-
&.wds-text-title-subsection,
|
|
28
25
|
h1,
|
|
29
26
|
h2,
|
|
30
27
|
h3,
|
|
@@ -36,10 +33,7 @@
|
|
|
36
33
|
.title-3,
|
|
37
34
|
.np-text-title-screen,
|
|
38
35
|
.np-text-title-section,
|
|
39
|
-
.np-text-title-subsection
|
|
40
|
-
.wds-text-title-screen,
|
|
41
|
-
.wds-text-title-section,
|
|
42
|
-
.wds-text-title-subsection {
|
|
36
|
+
.np-text-title-subsection {
|
|
43
37
|
color: @large-color !important;
|
|
44
38
|
}
|
|
45
39
|
}
|