@transferwise/neptune-css 0.0.0-experimental-148b83e → 0.0.0-experimental-9022f7b
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/badge.less +2 -2
- package/src/less/button-groups.less +3 -2
- package/src/less/buttons.less +7 -7
- 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/input-groups.less +20 -10
- package/src/less/list-group.less +8 -5
- package/src/less/modals.less +1 -1
- package/src/less/navbar.less +19 -19
- package/src/less/navs.less +8 -8
- 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/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
|
}
|
package/src/less/badge.less
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
min-width: var(--size-16);
|
|
8
8
|
padding: 5px var(--size-8);
|
|
9
9
|
font-size: 10px;
|
|
10
|
-
font-weight: var(--font-weight-
|
|
10
|
+
font-weight: var(--wds-font-weight-title-body);
|
|
11
11
|
color: #fff;
|
|
12
|
-
line-height: var(--line-height-
|
|
12
|
+
line-height: var(--wds-line-height-title-section);
|
|
13
13
|
vertical-align: middle;
|
|
14
14
|
white-space: nowrap;
|
|
15
15
|
text-align: center;
|
|
@@ -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
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
@import (reference) "./ring.less";
|
|
9
9
|
|
|
10
10
|
.btn {
|
|
11
|
-
.
|
|
11
|
+
.wds-text-body-large-bold;
|
|
12
12
|
|
|
13
13
|
display: inline-block;
|
|
14
14
|
margin-bottom: 0;
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
border: 1px solid transparent;
|
|
23
23
|
white-space: nowrap;
|
|
24
24
|
padding-bottom: 10px;
|
|
25
|
-
font-weight: var(--font-weight-
|
|
25
|
+
font-weight: var(--wds-font-weight-title-body);
|
|
26
26
|
|
|
27
27
|
.button-size(
|
|
28
28
|
var(--btn-padding);
|
|
29
|
-
var(--font-size-
|
|
29
|
+
var(--wds-font-size-body-large);
|
|
30
30
|
var(--line-height-24);
|
|
31
31
|
var(--btn-radius-base);
|
|
32
32
|
var(--btn-height);
|
|
@@ -475,7 +475,7 @@
|
|
|
475
475
|
.navbar .btn {
|
|
476
476
|
.button-size(
|
|
477
477
|
var(--btn-sm-padding);
|
|
478
|
-
var(--font-size-
|
|
478
|
+
var(--wds-font-size-body);
|
|
479
479
|
var(--line-height-22);
|
|
480
480
|
var(--btn-sm-radius-base);
|
|
481
481
|
var(--btn-sm-height);
|
|
@@ -512,7 +512,7 @@
|
|
|
512
512
|
.navbar-collapse .btn {
|
|
513
513
|
.button-size(
|
|
514
514
|
var(--btn-padding);
|
|
515
|
-
var(--font-size-
|
|
515
|
+
var(--wds-font-size-body-large);
|
|
516
516
|
var(--line-height-24);
|
|
517
517
|
var(--border-radius-base);
|
|
518
518
|
var(--btn-height);
|
|
@@ -547,7 +547,7 @@ input[type="button"] {
|
|
|
547
547
|
|
|
548
548
|
// @TODO Deprecate / Remove
|
|
549
549
|
.btn-input {
|
|
550
|
-
font-weight: var(--font-weight-regular);
|
|
550
|
+
font-weight: var(--wds-font-weight-body-regular);
|
|
551
551
|
.padding(left, @padding-base-horizontal);
|
|
552
552
|
|
|
553
553
|
.padding(right, @padding-base-horizontal);
|
|
@@ -584,7 +584,7 @@ input[type="button"] {
|
|
|
584
584
|
|
|
585
585
|
&.btn-addon,
|
|
586
586
|
&.btn-input-inverse {
|
|
587
|
-
font-weight: var(--font-weight-
|
|
587
|
+
font-weight: var(--wds-font-weight-title-body);
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
}
|
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
|
}
|
|
@@ -308,12 +309,12 @@
|
|
|
308
309
|
.dropdown-header {
|
|
309
310
|
display: block;
|
|
310
311
|
padding: 8px 16px;
|
|
311
|
-
font-size: var(--font-size-
|
|
312
|
-
line-height: var(--line-height-body);
|
|
312
|
+
font-size: var(--wds-font-size-body);
|
|
313
|
+
line-height: var(--wds-line-height-body-large);
|
|
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
|
}
|
|
@@ -62,20 +62,30 @@
|
|
|
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));
|
|
65
66
|
.input-lg();
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
.wds-text-title-subsection();
|
|
68
|
+
min-height: var(--min-height);
|
|
69
69
|
margin-bottom: 0;
|
|
70
|
+
|
|
71
|
+
select& {
|
|
72
|
+
min-height: var(--min-height);
|
|
73
|
+
}
|
|
70
74
|
}
|
|
71
75
|
}
|
|
72
76
|
|
|
73
77
|
.input-group-sm > .form-control,
|
|
74
78
|
.input-group-sm > .input-group-addon {
|
|
79
|
+
--min-height: calc(2 * var(--size-4) + var(--wds-font-size-body) * var(--wds-line-height-body));
|
|
75
80
|
.input-sm();
|
|
81
|
+
min-height: var(--min-height);
|
|
82
|
+
|
|
83
|
+
select& {
|
|
84
|
+
min-height: var(--min-height);
|
|
85
|
+
}
|
|
76
86
|
|
|
77
87
|
.icon {
|
|
78
|
-
font-size: var(--font-size-
|
|
88
|
+
font-size: var(--wds-font-size-title-subsection);
|
|
79
89
|
}
|
|
80
90
|
}
|
|
81
91
|
|
|
@@ -106,8 +116,8 @@
|
|
|
106
116
|
// -------------------------
|
|
107
117
|
.input-group-addon {
|
|
108
118
|
padding: var(--input-group-addon-padding);
|
|
109
|
-
font-size: var(--font-size-
|
|
110
|
-
line-height: var(--line-height-body);
|
|
119
|
+
font-size: var(--wds-font-size-body-large);
|
|
120
|
+
line-height: var(--wds-line-height-body-large);
|
|
111
121
|
color: var(--color-content-secondary);
|
|
112
122
|
text-align: center;
|
|
113
123
|
background-color: var(--color-background-screen);
|
|
@@ -246,7 +256,7 @@
|
|
|
246
256
|
}
|
|
247
257
|
|
|
248
258
|
// inputs focus and hover states (not disabled)
|
|
249
|
-
.input-group:hover:not(.disabled
|
|
259
|
+
.input-group:hover:not(.disabled, :disabled) {
|
|
250
260
|
.form-control,
|
|
251
261
|
.input-group-addon,
|
|
252
262
|
.btn-input,
|
|
@@ -255,11 +265,11 @@
|
|
|
255
265
|
}
|
|
256
266
|
}
|
|
257
267
|
|
|
258
|
-
.form-control:hover:not(.disabled
|
|
268
|
+
.form-control:hover:not(.disabled, :disabled) {
|
|
259
269
|
border-color: var(--color-interactive-secondary-hover);
|
|
260
270
|
}
|
|
261
271
|
|
|
262
|
-
.input-group:focus-within:not(.disabled
|
|
272
|
+
.input-group:focus-within:not(.disabled, :disabled) {
|
|
263
273
|
.form-control,
|
|
264
274
|
.input-group-addon,
|
|
265
275
|
.btn-input,
|
|
@@ -272,7 +282,7 @@
|
|
|
272
282
|
}
|
|
273
283
|
}
|
|
274
284
|
|
|
275
|
-
.form-control:focus-within:not(.disabled
|
|
285
|
+
.form-control:focus-within:not(.disabled, :disabled) {
|
|
276
286
|
border-color: var(--color-interactive-accent);
|
|
277
287
|
|
|
278
288
|
.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(--line-height-body);
|
|
38
|
+
line-height: var(--wds-line-height-body-large);
|
|
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
|
+
.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;
|
package/src/less/modals.less
CHANGED
package/src/less/navbar.less
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
.navbar {
|
|
31
31
|
position: relative;
|
|
32
|
-
font-size: var(--font-size-
|
|
32
|
+
font-size: var(--wds-font-size-body);
|
|
33
33
|
min-height: @navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)
|
|
34
34
|
margin-bottom: @navbar-margin-bottom;
|
|
35
35
|
border: 0 solid transparent;
|
|
@@ -250,9 +250,9 @@
|
|
|
250
250
|
outline: 0;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
font-size: var(--font-size-
|
|
254
|
-
font-weight: var(--font-weight-
|
|
255
|
-
line-height: var(--line-height-body);
|
|
253
|
+
font-size: var(--wds-font-size-body-large);
|
|
254
|
+
font-weight: var(--wds-font-weight-title-body);
|
|
255
|
+
line-height: var(--wds-line-height-body-large);
|
|
256
256
|
margin-bottom: 8px;
|
|
257
257
|
color: @color-navy-content-primary;
|
|
258
258
|
|
|
@@ -344,7 +344,7 @@
|
|
|
344
344
|
|
|
345
345
|
&.navbar-title-link {
|
|
346
346
|
@media (--screen-md) {
|
|
347
|
-
font-size: var(--font-size-
|
|
347
|
+
font-size: var(--wds-font-size-title-body);
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
}
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
> li {
|
|
359
359
|
> a,
|
|
360
360
|
> button {
|
|
361
|
-
font-size: var(--font-size-
|
|
361
|
+
font-size: var(--wds-font-size-body-large);
|
|
362
362
|
padding: @navbar-padding-mobile;
|
|
363
363
|
-webkit-touch-callout: none; // When a target is touched and held on iPhone OS, Safari displays a callout information about the link. This property allows disabling that behavior.
|
|
364
364
|
}
|
|
@@ -420,7 +420,7 @@
|
|
|
420
420
|
|
|
421
421
|
> a {
|
|
422
422
|
padding-bottom: (@navbar-padding-vertical - 2px);
|
|
423
|
-
font-size: var(--font-size-
|
|
423
|
+
font-size: var(--wds-font-size-body);
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
426
|
}
|
|
@@ -481,7 +481,7 @@
|
|
|
481
481
|
.arrow-pointer(@dropdown-arrow-width);
|
|
482
482
|
|
|
483
483
|
> li > a {
|
|
484
|
-
font-size: var(--font-size-
|
|
484
|
+
font-size: var(--wds-font-size-body);
|
|
485
485
|
|
|
486
486
|
@media (max-width: @grid-float-breakpoint) {
|
|
487
487
|
position: relative;
|
|
@@ -504,7 +504,7 @@
|
|
|
504
504
|
> .active > a {
|
|
505
505
|
color: var(--color-content-accent-active);
|
|
506
506
|
background-color: transparent;
|
|
507
|
-
font-weight: var(--font-weight-
|
|
507
|
+
font-weight: var(--wds-font-weight-title-body);
|
|
508
508
|
|
|
509
509
|
&:hover,
|
|
510
510
|
&:focus {
|
|
@@ -595,7 +595,7 @@
|
|
|
595
595
|
.navbar-vertical-align(22);
|
|
596
596
|
}
|
|
597
597
|
|
|
598
|
-
font-weight: var(--font-weight-
|
|
598
|
+
font-weight: var(--wds-font-weight-title-body);
|
|
599
599
|
|
|
600
600
|
@media (max-width: @grid-float-breakpoint-max) {
|
|
601
601
|
display: block;
|
|
@@ -684,7 +684,7 @@
|
|
|
684
684
|
> a,
|
|
685
685
|
> .dropdown-toggle {
|
|
686
686
|
|
|
687
|
-
font-weight: var(--font-weight-
|
|
687
|
+
font-weight: var(--wds-font-weight-title-body);
|
|
688
688
|
&,
|
|
689
689
|
&:hover,
|
|
690
690
|
&:focus {
|
|
@@ -727,7 +727,7 @@
|
|
|
727
727
|
}
|
|
728
728
|
|
|
729
729
|
> .active > a {
|
|
730
|
-
font-weight: var(--font-weight-
|
|
730
|
+
font-weight: var(--wds-font-weight-title-body);
|
|
731
731
|
&,
|
|
732
732
|
&:hover,
|
|
733
733
|
&:focus {
|
|
@@ -804,7 +804,7 @@
|
|
|
804
804
|
> a,
|
|
805
805
|
> .dropdown-toggle {
|
|
806
806
|
color: var(--color-content-accent-active);
|
|
807
|
-
font-weight: var(--font-weight-
|
|
807
|
+
font-weight: var(--wds-font-weight-title-body);
|
|
808
808
|
&,
|
|
809
809
|
&:hover,
|
|
810
810
|
&:focus {
|
|
@@ -1105,15 +1105,15 @@
|
|
|
1105
1105
|
|
|
1106
1106
|
.navbar-title {
|
|
1107
1107
|
.float(left);
|
|
1108
|
-
font-size: var(--font-size-
|
|
1109
|
-
line-height: var(--line-height-title);
|
|
1108
|
+
font-size: var(--wds-font-size-title-body);
|
|
1109
|
+
line-height: var(--wds-line-height-title-body);
|
|
1110
1110
|
margin-top: 12px;
|
|
1111
1111
|
margin-bottom: 12px;
|
|
1112
|
-
font-weight: var(--
|
|
1112
|
+
font-weight: var(--wds-line-height-title-body);
|
|
1113
1113
|
}
|
|
1114
1114
|
|
|
1115
1115
|
.navbar-subtitle {
|
|
1116
|
-
font-size: var(--font-size-
|
|
1116
|
+
font-size: var(--wds-font-size-body);
|
|
1117
1117
|
margin-bottom: 8px;
|
|
1118
1118
|
}
|
|
1119
1119
|
|
|
@@ -1201,7 +1201,7 @@
|
|
|
1201
1201
|
}
|
|
1202
1202
|
|
|
1203
1203
|
h1 {
|
|
1204
|
-
line-height: var(--line-height-title);
|
|
1204
|
+
line-height: var(--wds-line-height-title-section);
|
|
1205
1205
|
}
|
|
1206
1206
|
|
|
1207
1207
|
.close {
|
|
@@ -1256,7 +1256,7 @@
|
|
|
1256
1256
|
|
|
1257
1257
|
@media (min-width: @screen-sm-min) {
|
|
1258
1258
|
.simple-nav .navbar-nav > li > a {
|
|
1259
|
-
font-size: var(--font-size-
|
|
1259
|
+
font-size: var(--wds-font-size-body-large) !important;
|
|
1260
1260
|
}
|
|
1261
1261
|
}
|
|
1262
1262
|
|
package/src/less/navs.less
CHANGED
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
outline-offset: -1px;
|
|
31
31
|
padding: @nav-link-padding;
|
|
32
32
|
color: var(--color-content-primary);
|
|
33
|
-
font-weight: var(--font-weight-regular);
|
|
34
|
-
font-size: var(--font-size-
|
|
33
|
+
font-weight: var(--wds-font-weight-body-regular);
|
|
34
|
+
font-size: var(--wds-font-size-body-large);
|
|
35
35
|
|
|
36
36
|
&:hover,
|
|
37
37
|
&:focus {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
|
|
48
48
|
> .active > a {
|
|
49
49
|
color: var(--color-content-accent);
|
|
50
|
-
font-weight: var(--font-weight-
|
|
50
|
+
font-weight: var(--wds-font-weight-title-body);
|
|
51
51
|
|
|
52
52
|
&:hover,
|
|
53
53
|
&:focus {
|
|
@@ -127,11 +127,11 @@
|
|
|
127
127
|
> a {
|
|
128
128
|
.margin(right, 2px);
|
|
129
129
|
|
|
130
|
-
line-height: var(--line-height-body);
|
|
130
|
+
line-height: var(--wds-line-height-body-large);
|
|
131
131
|
//border: 1px solid transparent;
|
|
132
132
|
//border-radius: @border-radius-base @border-radius-base 0 0;
|
|
133
133
|
border-bottom: 3px solid transparent;
|
|
134
|
-
font-size: var(--font-size-
|
|
134
|
+
font-size: var(--wds-font-size-body-large);
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
|
|
@@ -153,11 +153,11 @@
|
|
|
153
153
|
> li {
|
|
154
154
|
.float(left);
|
|
155
155
|
|
|
156
|
-
font-size: var(--font-size-
|
|
156
|
+
font-size: var(--wds-font-size-body);
|
|
157
157
|
|
|
158
158
|
// Links rendered as pills
|
|
159
159
|
> a {
|
|
160
|
-
font-size: var(--font-size-
|
|
160
|
+
font-size: var(--wds-font-size-body);
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
}
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
|
|
232
232
|
&.nav-pills > li > a {
|
|
233
233
|
padding: 0 var(--size-4);
|
|
234
|
-
line-height: var(--line-height-body);
|
|
234
|
+
line-height: var(--wds-line-height-body-large);
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
|
package/src/less/panels.less
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
.panel-title {
|
|
39
39
|
margin-top: 0;
|
|
40
40
|
margin-bottom: 0;
|
|
41
|
-
line-height: calc(var(--line-height-title) + 8px);
|
|
41
|
+
line-height: calc(var(--wds-line-height-title-section) + 8px);
|
|
42
42
|
|
|
43
43
|
> a {
|
|
44
44
|
text-decoration: none;
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
|
|
100
100
|
@media (--screen-md) {
|
|
101
101
|
.panel-title {
|
|
102
|
-
line-height: calc(var(--line-height-title) * 2);
|
|
102
|
+
line-height: calc(var(--wds-line-height-title-section) * 2);
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
.panel-heading {
|
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
|
}
|
|
@@ -348,12 +348,12 @@
|
|
|
348
348
|
}
|
|
349
349
|
|
|
350
350
|
.popover-title {
|
|
351
|
-
font-size: var(--font-size-
|
|
352
|
-
line-height: var(--
|
|
351
|
+
font-size: var(--wds-font-size-body-large);
|
|
352
|
+
line-height: var(--wds-font-size-body-large);
|
|
353
353
|
|
|
354
354
|
@media (--screen-md) {
|
|
355
|
-
font-size: var(--font-size-
|
|
356
|
-
line-height: var(--
|
|
355
|
+
font-size: var(--wds-font-size-title-body);
|
|
356
|
+
line-height: var(--wds-font-size-title-body);
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
359
|
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
top: calc(-1 * var(--progress-bar-border-width));
|
|
21
21
|
left: calc(-1 * var(--progress-bar-start-shift));
|
|
22
22
|
height: calc(var(--progress-bar-height) + var(--progress-bar-border-width) * 2);
|
|
23
|
-
font-size: var(--font-size-
|
|
24
|
-
font-weight: var(--font-weight-bold);
|
|
23
|
+
font-size: var(--wds-font-size-body-large);
|
|
24
|
+
font-weight: var(--wds-font-weight-body-bold);
|
|
25
25
|
color: #fff;
|
|
26
26
|
.text-align(right);
|
|
27
27
|
background-color: var(--color-content-accent);
|
package/src/less/sequences.less
CHANGED
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
|
|
34
34
|
margin-top: 0;
|
|
35
35
|
margin-bottom: 0;
|
|
36
|
-
font-size: var(--font-size-
|
|
36
|
+
font-size: var(--wds-font-size-body);
|
|
37
37
|
border-color: var(--color-border-neutral);
|
|
38
38
|
|
|
39
39
|
@media (min-width: @screen-md-min) {
|
|
40
40
|
.padding(right, @sequence-spacing-horizontal);
|
|
41
41
|
|
|
42
|
-
font-size: var(--font-size-
|
|
42
|
+
font-size: var(--wds-font-size-body-large);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
> li {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
> a {
|
|
52
52
|
display: block;
|
|
53
53
|
text-decoration: none;
|
|
54
|
-
font-weight: var(--font-weight-regular);
|
|
54
|
+
font-weight: var(--wds-font-weight-body-regular);
|
|
55
55
|
color: var(--color-content-accent);
|
|
56
56
|
outline-offset: -1px;
|
|
57
57
|
|
|
@@ -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
|
}
|
|
@@ -126,7 +130,7 @@
|
|
|
126
130
|
> a {
|
|
127
131
|
text-decoration: none;
|
|
128
132
|
color: var(--color-content-primary);
|
|
129
|
-
font-weight: var(--font-weight-
|
|
133
|
+
font-weight: var(--wds-font-weight-title-body);
|
|
130
134
|
|
|
131
135
|
&:hover,
|
|
132
136
|
&:focus {
|
|
@@ -156,7 +160,7 @@
|
|
|
156
160
|
|
|
157
161
|
a {
|
|
158
162
|
text-decoration: none;
|
|
159
|
-
font-weight: var(--font-weight-regular);
|
|
163
|
+
font-weight: var(--wds-font-weight-body-regular);
|
|
160
164
|
}
|
|
161
165
|
}
|
|
162
166
|
|
|
@@ -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 {
|
|
@@ -248,7 +253,7 @@
|
|
|
248
253
|
font-size: var(--font-size-12);
|
|
249
254
|
|
|
250
255
|
.icon {
|
|
251
|
-
font-size: var(--font-size-
|
|
256
|
+
font-size: var(--wds-font-size-body-large);
|
|
252
257
|
line-height: (@sequence-icon-size - 1px);
|
|
253
258
|
}
|
|
254
259
|
|
|
@@ -366,7 +371,7 @@
|
|
|
366
371
|
height: @sequence-icon-size-md;
|
|
367
372
|
line-height: (@sequence-icon-size-md - 2px);
|
|
368
373
|
margin-top: -6px;
|
|
369
|
-
font-size: var(--font-size-
|
|
374
|
+
font-size: var(--wds-font-size-body);
|
|
370
375
|
}
|
|
371
376
|
|
|
372
377
|
.sequence-icon-lg {
|
|
@@ -374,7 +379,7 @@
|
|
|
374
379
|
height: @sequence-icon-size-lg;
|
|
375
380
|
line-height: (@sequence-icon-size-lg - 2px);
|
|
376
381
|
margin-top: -6px;
|
|
377
|
-
font-size: var(--font-size-
|
|
382
|
+
font-size: var(--wds-font-size-body-large);
|
|
378
383
|
|
|
379
384
|
.icon {
|
|
380
385
|
font-size: 22px;
|
package/src/less/table.less
CHANGED
|
@@ -50,7 +50,7 @@ th {
|
|
|
50
50
|
> tr > th,
|
|
51
51
|
> tr > td {
|
|
52
52
|
padding: var(--size-24) var(--size-16);
|
|
53
|
-
line-height: var(--line-height-body);
|
|
53
|
+
line-height: var(--wds-line-height-body-large);
|
|
54
54
|
vertical-align: top;
|
|
55
55
|
border-top: 1px solid var(--color-border-neutral);
|
|
56
56
|
border-bottom: 0;
|
|
@@ -62,7 +62,7 @@ th {
|
|
|
62
62
|
> .tbody > dl > dd,
|
|
63
63
|
> .tfoot > ol > li {
|
|
64
64
|
padding: var(--size-24) var(--size-16);
|
|
65
|
-
line-height: var(--line-height-body);
|
|
65
|
+
line-height: var(--wds-line-height-body-large);
|
|
66
66
|
vertical-align: top;
|
|
67
67
|
border-top: 1px solid var(--color-border-neutral);
|
|
68
68
|
border-bottom: 0;
|
|
@@ -115,13 +115,13 @@ th {
|
|
|
115
115
|
> tfoot,
|
|
116
116
|
> .thead,
|
|
117
117
|
> .tfoot {
|
|
118
|
-
font-size: var(--font-size-
|
|
118
|
+
font-size: var(--wds-font-size-body);
|
|
119
119
|
color: var(--color-content-primary);
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
> tbody,
|
|
123
123
|
> .tbody {
|
|
124
|
-
font-size: var(--font-size-
|
|
124
|
+
font-size: var(--wds-font-size-body);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
> tbody > tr > th,
|
|
@@ -290,7 +290,7 @@ table col[class*="col-"] {
|
|
|
290
290
|
|
|
291
291
|
> li {
|
|
292
292
|
display: table-cell;
|
|
293
|
-
font-weight: var(--font-weight-
|
|
293
|
+
font-weight: var(--wds-font-weight-title-body);
|
|
294
294
|
color: var(--color-content-primary);
|
|
295
295
|
}
|
|
296
296
|
}
|
|
@@ -308,7 +308,7 @@ table col[class*="col-"] {
|
|
|
308
308
|
|
|
309
309
|
> dd {
|
|
310
310
|
display: table-cell;
|
|
311
|
-
font-size: var(--font-size-
|
|
311
|
+
font-size: var(--wds-font-size-body);
|
|
312
312
|
color: var(--color-content-secondary);
|
|
313
313
|
}
|
|
314
314
|
}
|
|
@@ -331,7 +331,7 @@ table col[class*="col-"] {
|
|
|
331
331
|
border: 1px var(--color-interactive-secondary) solid;
|
|
332
332
|
border-radius: @border-radius-base;
|
|
333
333
|
margin-bottom: var(--size-24);
|
|
334
|
-
padding: var(--size-24) var(--line-height-body) 0;
|
|
334
|
+
padding: var(--size-24) var(--wds-line-height-body-large) 0;
|
|
335
335
|
|
|
336
336
|
> dd {
|
|
337
337
|
padding: 0;
|
package/src/less/tooltip.less
CHANGED
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
//
|
|
129
129
|
//## Font, line-height, and color for body text, headings, and more.
|
|
130
130
|
|
|
131
|
-
@font-family-sans-serif: var(--font-family-regular);
|
|
131
|
+
@font-family-sans-serif: var(--wds-font-family-regular);
|
|
132
132
|
@font-family-serif: Georgia, "Times New Roman", Times, serif;
|
|
133
133
|
//** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
|
|
134
134
|
@font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
@line-height-computed: 24px; // ~24px
|
|
168
168
|
|
|
169
169
|
//** By default, this inherits from the `<body>`.
|
|
170
|
-
@headings-font-family: var(--font-family-regular);
|
|
170
|
+
@headings-font-family: var(--wds-font-family-regular);
|
|
171
171
|
@headings-font-weight: @font-weight-semi-bold;
|
|
172
172
|
@headings-line-height: 1.2; //1.1;
|
|
173
173
|
@headings-color: @brand-navy-minus-10;
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
@display3-line-height: 88px;
|
|
193
193
|
@display4-line-height: 72px;
|
|
194
194
|
|
|
195
|
-
@buttons-font-family: var(--font-family-regular);
|
|
195
|
+
@buttons-font-family: var(--wds-font-family-regular);
|
|
196
196
|
|
|
197
197
|
//** Global textual link color.
|
|
198
198
|
@link-color: @brand-light-blue;
|