@transferwise/neptune-css 0.0.0-experimental-7e7d75e → 0.0.0-experimental-d2bbcaf
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/package.json +1 -1
- package/src/less/addons/_background-utilities.less +5 -0
- package/src/less/button-groups.less +3 -2
- package/src/less/buttons.less +1 -1
- package/src/less/core/_typography.less +44 -28
- package/src/less/decision.less +2 -2
- package/src/less/dropdowns.less +6 -5
- package/src/less/droppable.less +4 -4
- package/src/less/footer.less +4 -3
- package/src/less/forms/bootstrap-forms.less +70 -57
- package/src/less/input-groups.less +5 -5
- package/src/less/list-group.less +7 -4
- package/src/less/mixins/_text-emphasis.less +7 -1
- package/src/less/popovers.less +3 -3
- package/src/less/sequences.less +7 -2
- package/src/less/tooltip.less +1 -1
package/package.json
CHANGED
|
@@ -76,6 +76,11 @@
|
|
|
76
76
|
.np-text-title-subsection,
|
|
77
77
|
.np-text-title-body,
|
|
78
78
|
.np-text-title-group,
|
|
79
|
+
.wds-text-title-screen,
|
|
80
|
+
.wds-text-title-section,
|
|
81
|
+
.wds-text-title-subsection,
|
|
82
|
+
.wds-text-title-body,
|
|
83
|
+
.wds-text-title-group,
|
|
79
84
|
strong {
|
|
80
85
|
color: @color-navy-content-primary;
|
|
81
86
|
}
|
|
@@ -404,8 +404,9 @@
|
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
406
|
|
|
407
|
-
.np-text-body-default,
|
|
408
407
|
.body-2,
|
|
408
|
+
.np-text-body-default,
|
|
409
|
+
.wds-text-body-default,
|
|
409
410
|
.small {
|
|
410
411
|
color: var(--color-content-secondary);
|
|
411
412
|
}
|
|
@@ -418,7 +419,7 @@
|
|
|
418
419
|
}
|
|
419
420
|
|
|
420
421
|
.btn-group .secondary {
|
|
421
|
-
.
|
|
422
|
+
.wds-text-body-default;
|
|
422
423
|
|
|
423
424
|
color: var(--color-content-secondary);
|
|
424
425
|
}
|
package/src/less/buttons.less
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
// TITLE
|
|
8
8
|
|
|
9
|
-
/* DEPRECATED: use
|
|
9
|
+
/* DEPRECATED: use `.wds-text-*` instead */
|
|
10
10
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
11
11
|
.h1,
|
|
12
12
|
.h2,
|
|
@@ -43,71 +43,76 @@ h6,
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
/* DEPRECATED: use
|
|
46
|
+
/* DEPRECATED: use `.wds-text-title-screen` instead */
|
|
47
47
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
48
48
|
.h1,
|
|
49
49
|
.title-1,
|
|
50
50
|
h1,
|
|
51
|
-
.np-text-title-screen
|
|
51
|
+
.np-text-title-screen,
|
|
52
|
+
.wds-text-title-screen {
|
|
52
53
|
&:extend(.wds-text-title-screen);
|
|
53
54
|
margin-bottom: initial;
|
|
54
55
|
}
|
|
55
56
|
|
|
56
|
-
/* DEPRECATED: use
|
|
57
|
+
/* DEPRECATED: use `.wds-text-title-section` instead */
|
|
57
58
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
58
59
|
.h2,
|
|
59
60
|
.title-2,
|
|
60
61
|
h2,
|
|
61
|
-
.np-text-title-section
|
|
62
|
+
.np-text-title-section,
|
|
63
|
+
.wds-text-title-section {
|
|
62
64
|
&:extend(.wds-text-title-section);
|
|
63
65
|
margin-bottom: initial;
|
|
64
66
|
}
|
|
65
67
|
|
|
66
|
-
/* DEPRECATED: use
|
|
68
|
+
/* DEPRECATED: use `.wds-text-title-subsection` instead */
|
|
67
69
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
68
70
|
.h3,
|
|
69
71
|
.title-3,
|
|
70
72
|
h3,
|
|
71
|
-
.np-text-title-subsection
|
|
73
|
+
.np-text-title-subsection,
|
|
74
|
+
.wds-text-title-subsection {
|
|
72
75
|
&:extend(.wds-text-title-subsection);
|
|
73
76
|
margin-bottom: initial;
|
|
74
77
|
}
|
|
75
78
|
|
|
76
|
-
/* DEPRECATED: use
|
|
79
|
+
/* DEPRECATED: use `.wds-text-title-body` instead */
|
|
77
80
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
78
81
|
.h4,
|
|
79
82
|
.title-4,
|
|
80
83
|
h4,
|
|
81
|
-
.np-text-title-body
|
|
84
|
+
.np-text-title-body,
|
|
85
|
+
.wds-text-title-body {
|
|
82
86
|
&:extend(.wds-text-title-body);
|
|
83
87
|
}
|
|
84
88
|
|
|
85
|
-
/* DEPRECATED: use
|
|
89
|
+
/* DEPRECATED: use `.wds-text-title-group` instead */
|
|
86
90
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
87
91
|
.h5,
|
|
88
92
|
.h6,
|
|
89
93
|
.title-5,
|
|
90
94
|
h5,
|
|
91
95
|
h6,
|
|
92
|
-
.np-text-title-group
|
|
96
|
+
.np-text-title-group,
|
|
97
|
+
.wds-text-title-group{
|
|
93
98
|
&:extend(.wds-text-title-group);
|
|
94
99
|
}
|
|
95
100
|
|
|
96
|
-
/* DEPRECATED: use
|
|
101
|
+
/* DEPRECATED: use `.wds-text-title-body` instead */
|
|
97
102
|
.lead {
|
|
98
103
|
margin-bottom: var(--size-24);
|
|
99
104
|
font-size: var(--font-size-20);
|
|
100
105
|
line-height: var(--line-height-title);
|
|
101
106
|
}
|
|
102
107
|
|
|
103
|
-
// DEPRECATED: use
|
|
108
|
+
// DEPRECATED: use `.wds-text-body-default` instead
|
|
104
109
|
.tiny {
|
|
105
110
|
color: var(--color-content-secondary);
|
|
106
111
|
}
|
|
107
112
|
|
|
108
113
|
// BODY
|
|
109
114
|
|
|
110
|
-
/* DEPRECATED: use
|
|
115
|
+
/* DEPRECATED: use `.wds-text-body-default` instead */
|
|
111
116
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
112
117
|
.body-2,
|
|
113
118
|
.body-3,
|
|
@@ -115,36 +120,40 @@ h6,
|
|
|
115
120
|
.tiny,
|
|
116
121
|
body,
|
|
117
122
|
small,
|
|
118
|
-
.np-text-body-default
|
|
123
|
+
.np-text-body-default,
|
|
124
|
+
.wds-text-body-default {
|
|
119
125
|
&:extend(.wds-text-body-default);
|
|
120
126
|
.np-text-hyphenated;
|
|
121
127
|
}
|
|
122
128
|
|
|
123
|
-
/* DEPRECATED: use
|
|
129
|
+
/* DEPRECATED: use `.wds-text-body-default-bold` instead */
|
|
124
130
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
125
131
|
.control-2,
|
|
126
132
|
|
|
127
133
|
// DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
|
|
128
134
|
.label, .control-label,
|
|
129
135
|
|
|
130
|
-
.np-text-body-default-bold
|
|
136
|
+
.np-text-body-default-bold,
|
|
137
|
+
.wds-text-body-default-bold {
|
|
131
138
|
&:extend(.wds-text-body-default-bold);
|
|
132
139
|
.np-text-hyphenated;
|
|
133
140
|
}
|
|
134
141
|
|
|
135
|
-
/* DEPRECATED: use
|
|
142
|
+
/* DEPRECATED: use `.wds-text-body-large` instead */
|
|
136
143
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
137
144
|
.body-1,
|
|
138
145
|
.value,
|
|
139
|
-
.np-text-body-large
|
|
146
|
+
.np-text-body-large,
|
|
147
|
+
.wds-text-body-large {
|
|
140
148
|
&:extend(.wds-text-body-large);
|
|
141
149
|
.np-text-hyphenated;
|
|
142
150
|
}
|
|
143
151
|
|
|
144
|
-
/* DEPRECATED: use
|
|
152
|
+
/* DEPRECATED: use `.wds-text-body-large-bold` instead */
|
|
145
153
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
146
154
|
.control-1,
|
|
147
|
-
.np-text-body-large-bold
|
|
155
|
+
.np-text-body-large-bold,
|
|
156
|
+
.wds-text-body-large-bold {
|
|
148
157
|
&:extend(.wds-text-body-large-bold);
|
|
149
158
|
.np-text-hyphenated;
|
|
150
159
|
}
|
|
@@ -173,19 +182,23 @@ a,
|
|
|
173
182
|
// DISPLAY
|
|
174
183
|
|
|
175
184
|
/* DEPRECATED: use .wds-text-display-number-small instead */
|
|
176
|
-
.np-text-display-number
|
|
185
|
+
.np-text-display-number,
|
|
186
|
+
.wds-text-display-number {
|
|
177
187
|
&:extend(.wds-text-display-number);
|
|
178
188
|
}
|
|
179
189
|
|
|
180
|
-
.np-text-display-number-small
|
|
190
|
+
.np-text-display-number-small,
|
|
191
|
+
.wds-text-display-number-small {
|
|
181
192
|
&:extend(.wds-text-display-number-small);
|
|
182
193
|
}
|
|
183
194
|
|
|
184
|
-
.np-text-display-number-medium
|
|
195
|
+
.np-text-display-number-medium,
|
|
196
|
+
.wds-text-display-number-medium {
|
|
185
197
|
&:extend(.wds-text-display-number-medium);
|
|
186
198
|
}
|
|
187
199
|
|
|
188
|
-
.np-text-display-number-large
|
|
200
|
+
.np-text-display-number-large,
|
|
201
|
+
.wds-text-display-number-large {
|
|
189
202
|
&:extend(.wds-text-display-number-large);
|
|
190
203
|
}
|
|
191
204
|
|
|
@@ -215,15 +228,18 @@ a,
|
|
|
215
228
|
}
|
|
216
229
|
|
|
217
230
|
.np-text-display-extra-large,
|
|
218
|
-
.np-text-display-large
|
|
231
|
+
.np-text-display-large,
|
|
232
|
+
.wds-text-display-large {
|
|
219
233
|
&:extend(.wds-text-display-large);
|
|
220
234
|
}
|
|
221
235
|
|
|
222
|
-
.np-text-display-medium
|
|
236
|
+
.np-text-display-medium,
|
|
237
|
+
.wds-text-display-medium {
|
|
223
238
|
&:extend(.wds-text-display-medium);
|
|
224
239
|
}
|
|
225
240
|
|
|
226
|
-
.np-text-display-small
|
|
241
|
+
.np-text-display-small,
|
|
242
|
+
.wds-text-display-small {
|
|
227
243
|
&:extend(.wds-text-display-small);
|
|
228
244
|
}
|
|
229
245
|
|
package/src/less/decision.less
CHANGED
package/src/less/dropdowns.less
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import (reference)
|
|
1
|
+
@import (reference) "../variables/neptune-tokens.less";
|
|
2
2
|
@import (reference) "../variables/legacy-variables.less";
|
|
3
3
|
@import (reference) "../less/core/_typography.less";
|
|
4
4
|
@import (reference) "./mixins/_border-radius.less";
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
|
|
31
31
|
margin: 0; // override default ul
|
|
32
32
|
list-style: none;
|
|
33
|
-
.
|
|
33
|
+
.wds-text-body-default;
|
|
34
34
|
.text-align(left); // Ensures proper alignment if parent has it changed (e.g., modal footer)
|
|
35
35
|
|
|
36
36
|
background-color: var(--color-background-screen);
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
padding: var(--dropdown-link-padding);
|
|
75
75
|
clear: both;
|
|
76
76
|
border-radius: @border-radius-base;
|
|
77
|
-
.
|
|
77
|
+
.wds-text-body-default;
|
|
78
78
|
|
|
79
79
|
color: var(--color-content-primary);
|
|
80
80
|
white-space: nowrap; // prevent links from randomly breaking onto new lines
|
|
@@ -174,8 +174,9 @@
|
|
|
174
174
|
color: inherit;
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
.np-text-body-default,
|
|
178
177
|
.small,
|
|
178
|
+
.np-text-body-default,
|
|
179
|
+
.wds-text-body-default,
|
|
179
180
|
.secondary {
|
|
180
181
|
color: @color-navy-content-secondary;
|
|
181
182
|
}
|
|
@@ -313,7 +314,7 @@
|
|
|
313
314
|
color: var(--color-content-secondary);
|
|
314
315
|
white-space: nowrap; // as with > li > a
|
|
315
316
|
|
|
316
|
-
.
|
|
317
|
+
.wds-text-title-group();
|
|
317
318
|
}
|
|
318
319
|
|
|
319
320
|
// Backdrop to catch body clicks on mobile, etc.
|
package/src/less/droppable.less
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
.droppable {
|
|
6
6
|
position: relative;
|
|
7
|
-
.
|
|
7
|
+
.wds-text-body-large;
|
|
8
8
|
|
|
9
9
|
text-align: center;
|
|
10
10
|
border: 1px solid var(--color-interactive-secondary);
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
}
|
|
75
75
|
.circle {
|
|
76
76
|
background-color: var(--color-contrast);
|
|
77
|
-
color: var(--color-content-primary)!important;
|
|
77
|
+
color: var(--color-content-primary) !important;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
}
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
|
|
137
137
|
.np-theme-personal & {
|
|
138
138
|
// is a hex code because can't have transparency
|
|
139
|
-
background-color: #
|
|
139
|
+
background-color: #e1e4df;
|
|
140
140
|
color: var(--color-content-primary);
|
|
141
141
|
}
|
|
142
142
|
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
|
|
148
148
|
.np-theme-personal--forest-green & {
|
|
149
149
|
// is a hex code because can't have transparency
|
|
150
|
-
background-color: #
|
|
150
|
+
background-color: #455c35;
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
|
package/src/less/footer.less
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
.footer {
|
|
5
5
|
background-color: var(--color-background-neutral);
|
|
6
|
-
.
|
|
6
|
+
.wds-text-body-default;
|
|
7
7
|
|
|
8
8
|
padding-top: calc(var(--size-8) * 10);
|
|
9
9
|
padding-bottom: calc(var(--size-8) * 10);
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
.footer-link,
|
|
22
22
|
.link-icon {
|
|
23
23
|
color: var(--color-content-secondary);
|
|
24
|
-
.
|
|
24
|
+
.wds-text-body-default;
|
|
25
25
|
|
|
26
26
|
&:hover,
|
|
27
27
|
&:active,
|
|
@@ -102,7 +102,8 @@
|
|
|
102
102
|
|
|
103
103
|
.tiny,
|
|
104
104
|
.body-3,
|
|
105
|
-
.np-text-body-default
|
|
105
|
+
.np-text-body-default,
|
|
106
|
+
.wds-text-body-default {
|
|
106
107
|
color: @color-navy-content-primary;
|
|
107
108
|
}
|
|
108
109
|
}
|
|
@@ -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
|
|
@@ -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
|
|
|
@@ -145,7 +145,7 @@ output {
|
|
|
145
145
|
var(--input-padding),
|
|
146
146
|
@input-border-radius
|
|
147
147
|
);
|
|
148
|
-
.
|
|
148
|
+
.wds-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,
|
|
@@ -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] & {
|
|
@@ -380,7 +380,7 @@ input[type="password"] {
|
|
|
380
380
|
);
|
|
381
381
|
font-size: 14px;
|
|
382
382
|
line-height: 24px;
|
|
383
|
-
.
|
|
383
|
+
.wds-text-body-default();
|
|
384
384
|
}
|
|
385
385
|
|
|
386
386
|
.form-group-sm,
|
|
@@ -418,7 +418,7 @@ input[type="password"] {
|
|
|
418
418
|
var(--input-padding-large);
|
|
419
419
|
@input-border-radius-large
|
|
420
420
|
);
|
|
421
|
-
.
|
|
421
|
+
.wds-text-body-large;
|
|
422
422
|
}
|
|
423
423
|
|
|
424
424
|
.form-group-lg {
|
|
@@ -533,7 +533,9 @@ input[type="password"] {
|
|
|
533
533
|
border-style: solid;
|
|
534
534
|
border-radius: var(--radius-small);
|
|
535
535
|
padding: 4px 16px 3px;
|
|
536
|
-
transition:
|
|
536
|
+
transition:
|
|
537
|
+
border-color 0.15s ease-in-out,
|
|
538
|
+
background-color 0.15s ease-in-out;
|
|
537
539
|
|
|
538
540
|
a {
|
|
539
541
|
color: inherit;
|
|
@@ -701,8 +703,8 @@ input[type="password"] {
|
|
|
701
703
|
}
|
|
702
704
|
}
|
|
703
705
|
|
|
704
|
-
.radio input[type=
|
|
705
|
-
.checkbox input[type=
|
|
706
|
+
.radio input[type="radio"],
|
|
707
|
+
.checkbox input[type="checkbox"] {
|
|
706
708
|
position: relative;
|
|
707
709
|
.margin(left, 0);
|
|
708
710
|
}
|
|
@@ -788,7 +790,7 @@ input[type="password"] {
|
|
|
788
790
|
}
|
|
789
791
|
}
|
|
790
792
|
|
|
791
|
-
@import
|
|
793
|
+
@import "checkbox-radio.less";
|
|
792
794
|
|
|
793
795
|
.input-group .input-group-btn + input {
|
|
794
796
|
.border(left, 0, solid, transparent);
|
|
@@ -826,7 +828,7 @@ input[type="password"] {
|
|
|
826
828
|
|
|
827
829
|
.margin(right, -6px);
|
|
828
830
|
|
|
829
|
-
[class*=
|
|
831
|
+
[class*="col-"] {
|
|
830
832
|
.padding(left, 6px);
|
|
831
833
|
|
|
832
834
|
.padding(right, 6px);
|
|
@@ -834,7 +836,7 @@ input[type="password"] {
|
|
|
834
836
|
}
|
|
835
837
|
|
|
836
838
|
@media (max-width: @screen-xs-max) {
|
|
837
|
-
.form-group .row [class*=
|
|
839
|
+
.form-group .row [class*="col-sm-"] {
|
|
838
840
|
margin-bottom: 0;
|
|
839
841
|
|
|
840
842
|
.btn-input {
|
|
@@ -844,7 +846,7 @@ input[type="password"] {
|
|
|
844
846
|
}
|
|
845
847
|
|
|
846
848
|
@media (max-width: @screen-sm-max) {
|
|
847
|
-
.form-group .row [class*=
|
|
849
|
+
.form-group .row [class*="col-md-"] {
|
|
848
850
|
margin-bottom: 0;
|
|
849
851
|
|
|
850
852
|
.form-control,
|
|
@@ -855,7 +857,7 @@ input[type="password"] {
|
|
|
855
857
|
}
|
|
856
858
|
|
|
857
859
|
@media (max-width: @screen-md-max) {
|
|
858
|
-
.form-group .row [class*=
|
|
860
|
+
.form-group .row [class*="col-lg-"] {
|
|
859
861
|
margin-bottom: 0;
|
|
860
862
|
|
|
861
863
|
.form-control,
|
|
@@ -866,7 +868,7 @@ input[type="password"] {
|
|
|
866
868
|
}
|
|
867
869
|
|
|
868
870
|
@media (max-width: @screen-lg-max) {
|
|
869
|
-
.form-group .row [class*=
|
|
871
|
+
.form-group .row [class*="col-xl-"] {
|
|
870
872
|
margin-bottom: 0;
|
|
871
873
|
|
|
872
874
|
.form-control,
|
|
@@ -895,7 +897,9 @@ input[type="password"] {
|
|
|
895
897
|
background-color: var(--color-background-screen);
|
|
896
898
|
border: 1px solid var(--color-interactive-secondary);
|
|
897
899
|
border-radius: @border-radius-base;
|
|
898
|
-
transition:
|
|
900
|
+
transition:
|
|
901
|
+
border 0.15s ease-in-out,
|
|
902
|
+
background-color 0.15s ease-in-out;
|
|
899
903
|
|
|
900
904
|
.np-theme-personal & {
|
|
901
905
|
border-radius: var(--radius-small);
|
|
@@ -926,7 +930,8 @@ input[type="password"] {
|
|
|
926
930
|
small,
|
|
927
931
|
.small,
|
|
928
932
|
.body-2,
|
|
929
|
-
.np-text-body-default
|
|
933
|
+
.np-text-body-default,
|
|
934
|
+
.wds-text-body-default {
|
|
930
935
|
display: block;
|
|
931
936
|
color: var(--color-content-secondary);
|
|
932
937
|
}
|
|
@@ -1021,7 +1026,7 @@ input[type="password"] {
|
|
|
1021
1026
|
.form-control-placeholder {
|
|
1022
1027
|
text-overflow: ellipsis;
|
|
1023
1028
|
overflow: hidden;
|
|
1024
|
-
.
|
|
1029
|
+
.wds-text-body-large;
|
|
1025
1030
|
display: block;
|
|
1026
1031
|
width: 100%;
|
|
1027
1032
|
color: var(--color-content-tertiary);
|
|
@@ -1125,26 +1130,32 @@ input[type="password"] {
|
|
|
1125
1130
|
|
|
1126
1131
|
.checkbox:hover .tw-checkbox-button,
|
|
1127
1132
|
.radio:not(.disabled):hover .tw-radio-button,
|
|
1128
|
-
.tw-checkbox-button:not(.disabled
|
|
1129
|
-
input[type=checkbox]:hover
|
|
1130
|
-
input[type=radio]:not(.disabled
|
|
1131
|
-
input[type=checkbox]:not(.disabled
|
|
1133
|
+
.tw-checkbox-button:not(.disabled, :disabled):hover,
|
|
1134
|
+
input[type="checkbox"]:hover + .tw-checkbox-button,
|
|
1135
|
+
input[type="radio"]:not(.disabled, :disabled):hover + .tw-radio-button,
|
|
1136
|
+
input[type="checkbox"]:not(.disabled, :disabled):hover + .tw-checkbox-button {
|
|
1132
1137
|
box-shadow: inset 0 0 0 2px var(--color-sentiment-negative-hover);
|
|
1133
1138
|
}
|
|
1134
1139
|
|
|
1135
1140
|
.tw-checkbox-button.checked,
|
|
1136
1141
|
.tw-checkbox-button:checked,
|
|
1137
|
-
input[type=checkbox]:checked
|
|
1142
|
+
input[type="checkbox"]:checked + .tw-checkbox-button,
|
|
1138
1143
|
.tw-checkbox-button.checked:hover,
|
|
1139
1144
|
.tw-checkbox-button:checked:hover,
|
|
1140
|
-
input[type=checkbox]:not(.disabled
|
|
1145
|
+
input[type="checkbox"]:not(.disabled, :disabled):checked:hover + .tw-checkbox-button {
|
|
1141
1146
|
box-shadow: inset 0 0 0 3px var(--color-sentiment-negative);
|
|
1142
1147
|
background: var(--color-sentiment-negative);
|
|
1143
1148
|
}
|
|
1144
1149
|
|
|
1145
|
-
.checkbox>label:not(.disabled
|
|
1146
|
-
.checkbox
|
|
1147
|
-
|
|
1150
|
+
.checkbox > label:not(.disabled, :disabled):active input[type="checkbox"] + .tw-checkbox-button,
|
|
1151
|
+
.checkbox
|
|
1152
|
+
> label:not(.disabled, :disabled):focus-visible
|
|
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 {
|
|
1148
1159
|
box-shadow: inset 0 0 0 2px var(--color-sentiment-negative-active);
|
|
1149
1160
|
}
|
|
1150
1161
|
}
|
|
@@ -1153,7 +1164,9 @@ input[type="password"] {
|
|
|
1153
1164
|
.tw-checkbox-button {
|
|
1154
1165
|
background-color: unset;
|
|
1155
1166
|
color: unset;
|
|
1156
|
-
transition:
|
|
1167
|
+
transition:
|
|
1168
|
+
background-color 0.3s ease-in-out,
|
|
1169
|
+
box-shadow 0.3s ease-in-out;
|
|
1157
1170
|
}
|
|
1158
1171
|
|
|
1159
1172
|
.btn-input:hover,
|
|
@@ -1170,7 +1183,7 @@ input[type="password"] {
|
|
|
1170
1183
|
}
|
|
1171
1184
|
|
|
1172
1185
|
.form-group .np-upload-input label {
|
|
1173
|
-
|
|
1186
|
+
margin-bottom: 0;
|
|
1174
1187
|
}
|
|
1175
1188
|
|
|
1176
1189
|
.form-group .alert:before,
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
> .input-group-btn .btn {
|
|
65
65
|
.input-lg();
|
|
66
66
|
|
|
67
|
-
.
|
|
67
|
+
.wds-text-title-subsection();
|
|
68
68
|
|
|
69
69
|
margin-bottom: 0;
|
|
70
70
|
}
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
}
|
|
247
247
|
|
|
248
248
|
// inputs focus and hover states (not disabled)
|
|
249
|
-
.input-group:hover:not(.disabled
|
|
249
|
+
.input-group:hover:not(.disabled, :disabled) {
|
|
250
250
|
.form-control,
|
|
251
251
|
.input-group-addon,
|
|
252
252
|
.btn-input,
|
|
@@ -255,11 +255,11 @@
|
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
-
.form-control:hover:not(.disabled
|
|
258
|
+
.form-control:hover:not(.disabled, :disabled) {
|
|
259
259
|
border-color: var(--color-interactive-secondary-hover);
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
.input-group:focus-within:not(.disabled
|
|
262
|
+
.input-group:focus-within:not(.disabled, :disabled) {
|
|
263
263
|
.form-control,
|
|
264
264
|
.input-group-addon,
|
|
265
265
|
.btn-input,
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
-
.form-control:focus-within:not(.disabled
|
|
275
|
+
.form-control:focus-within:not(.disabled, :disabled) {
|
|
276
276
|
border-color: var(--color-interactive-accent);
|
|
277
277
|
|
|
278
278
|
.np-theme-personal & {
|
package/src/less/list-group.less
CHANGED
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
|
|
62
62
|
.list-group-item-heading {
|
|
63
63
|
margin-bottom: 0;
|
|
64
|
-
.
|
|
64
|
+
.wds-text-title-group;
|
|
65
65
|
|
|
66
66
|
color: var(--color-content-primary);
|
|
67
67
|
}
|
|
@@ -200,8 +200,12 @@ a.list-group-item {
|
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
@keyframes listSlideOver {
|
|
203
|
-
0% {
|
|
204
|
-
|
|
203
|
+
0% {
|
|
204
|
+
transform: translateX(100vw);
|
|
205
|
+
}
|
|
206
|
+
100% {
|
|
207
|
+
transform: translateX(0);
|
|
208
|
+
}
|
|
205
209
|
}
|
|
206
210
|
|
|
207
211
|
@media (max-width: @screen-sm-max) {
|
|
@@ -250,7 +254,6 @@ a.list-group-item {
|
|
|
250
254
|
}
|
|
251
255
|
|
|
252
256
|
.list-group-item.active .collapse .well {
|
|
253
|
-
|
|
254
257
|
// Annoying but makes sure the last content is visible in iOS safari
|
|
255
258
|
|
|
256
259
|
padding-bottom: 72px;
|
|
@@ -22,6 +22,9 @@
|
|
|
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,
|
|
25
28
|
h1,
|
|
26
29
|
h2,
|
|
27
30
|
h3,
|
|
@@ -33,7 +36,10 @@
|
|
|
33
36
|
.title-3,
|
|
34
37
|
.np-text-title-screen,
|
|
35
38
|
.np-text-title-section,
|
|
36
|
-
.np-text-title-subsection
|
|
39
|
+
.np-text-title-subsection,
|
|
40
|
+
.wds-text-title-screen,
|
|
41
|
+
.wds-text-title-section,
|
|
42
|
+
.wds-text-title-subsection {
|
|
37
43
|
color: @large-color !important;
|
|
38
44
|
}
|
|
39
45
|
}
|
package/src/less/popovers.less
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
// So reset our font and text properties to avoid inheriting weird values.
|
|
25
25
|
.reset-text();
|
|
26
26
|
|
|
27
|
-
.
|
|
27
|
+
.wds-text-body-default;
|
|
28
28
|
|
|
29
29
|
background-color: var(--color-background-screen);
|
|
30
30
|
background-clip: padding-box;
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
margin: 0; // reset heading margin
|
|
222
222
|
padding: 0;
|
|
223
223
|
|
|
224
|
-
.
|
|
224
|
+
.wds-text-title-body();
|
|
225
225
|
|
|
226
226
|
background-color: var(--color-background-screen);
|
|
227
227
|
border-bottom: 0;
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
.popover-content {
|
|
233
233
|
padding: 0;
|
|
234
234
|
|
|
235
|
-
.
|
|
235
|
+
.wds-text-body-default;
|
|
236
236
|
|
|
237
237
|
color: var(--color-content-secondary);
|
|
238
238
|
}
|
package/src/less/sequences.less
CHANGED
|
@@ -85,6 +85,10 @@
|
|
|
85
85
|
.h2,
|
|
86
86
|
.h3,
|
|
87
87
|
.h4,
|
|
88
|
+
.wds-text-title-screen,
|
|
89
|
+
.wds-text-title-section,
|
|
90
|
+
.wds-text-title-subsection,
|
|
91
|
+
.wds-text-title-body,
|
|
88
92
|
.btn-toolbar {
|
|
89
93
|
margin-bottom: 16px;
|
|
90
94
|
}
|
|
@@ -186,7 +190,8 @@
|
|
|
186
190
|
|
|
187
191
|
.small,
|
|
188
192
|
.body-2,
|
|
189
|
-
.np-text-body-default
|
|
193
|
+
.np-text-body-default,
|
|
194
|
+
.wds-text-body-default {
|
|
190
195
|
color: var(--color-content-secondary);
|
|
191
196
|
}
|
|
192
197
|
|
|
@@ -216,7 +221,7 @@
|
|
|
216
221
|
|
|
217
222
|
> .active {
|
|
218
223
|
&::before {
|
|
219
|
-
border-width: (@sequence-pip-size / 2);
|
|
224
|
+
border-width: (@sequence-pip-size / 2); // TODO sequence-line-width?
|
|
220
225
|
}
|
|
221
226
|
|
|
222
227
|
~ li::before {
|