@transferwise/neptune-css 0.0.0-experimental-526a2be → 0.0.0-experimental-26ff56b
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 +22 -66
- package/dist/css/alerts.css +0 -39
- package/dist/css/background.css +0 -1
- package/dist/css/badge.css +2 -14
- package/dist/css/breadcrumbs.css +0 -2
- package/dist/css/button-groups.css +29 -12
- package/dist/css/buttons.css +35 -177
- package/dist/css/chevron.css +0 -1
- package/dist/css/circles.css +0 -19
- package/dist/css/close.css +0 -3
- package/dist/css/column-layout.css +0 -3
- package/dist/css/currency-flags.css +0 -3
- package/dist/css/decision.css +22 -61
- package/dist/css/dropdowns.css +39 -75
- package/dist/css/droppable.css +28 -26
- package/dist/css/flex.css +0 -16
- package/dist/css/footer.css +41 -28
- package/dist/css/grid.css +0 -6
- package/dist/css/input-groups.css +203 -361
- package/dist/css/link-callout.css +0 -1
- package/dist/css/list-group.css +1 -88
- package/dist/css/media.css +0 -3
- package/dist/css/modals.css +1 -15
- package/dist/css/navbar.css +66 -213
- package/dist/css/navs.css +8 -35
- package/dist/css/neptune-addons.css +15 -298
- package/dist/css/neptune-core.css +5935 -667
- package/dist/css/neptune.css +8492 -3482
- package/dist/css/panels.css +2 -6
- package/dist/css/popovers.css +39 -89
- package/dist/css/process.css +0 -9
- package/dist/css/progress-bars.css +2 -16
- package/dist/css/ring.css +0 -4
- package/dist/css/select.css +0 -8
- package/dist/css/sequences.css +14 -69
- package/dist/css/table.css +7 -54
- package/dist/css/tick.css +0 -2
- package/dist/css/tooltip.css +28 -19
- package/dist/css/wells.css +0 -20
- package/dist/less/legacy-variables.css +0 -0
- package/dist/less/legacy-variables.less +3 -3
- package/dist/less/neptune-tokens.css +0 -0
- package/dist/less/neptune-tokens.less +0 -48
- package/dist/less/zindex.css +0 -0
- package/dist/props/neptune-tokens.css +804 -3
- 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/core/_fonts.less +7 -75
- package/src/less/core/_scaffolding.less +4 -4
- package/src/less/core/_typography-utilities.less +3 -3
- package/src/less/core/_typography.less +81 -235
- package/src/less/core/fonts/_fonts-ar.less +140 -0
- package/src/less/core/fonts/_fonts-en.less +99 -0
- package/src/less/core/fonts/_fonts-he.less +8 -0
- package/src/less/core/fonts/_fonts-ja.less +4247 -0
- package/src/less/core/fonts/_fonts-ko.less +1079 -0
- package/src/less/core/fonts/_fonts-th.less +8 -0
- package/src/less/core/fonts/_fonts-zh.less +872 -0
- package/src/less/decision.less +2 -2
- package/src/less/dropdowns.less +8 -7
- package/src/less/droppable.less +4 -4
- package/src/less/footer.less +4 -3
- package/src/less/forms/bootstrap-forms.less +85 -72
- package/src/less/forms/checkbox-radio.less +3 -3
- package/src/less/input-groups.less +23 -10
- package/src/less/list-group.less +8 -5
- package/src/less/mixins/_reset-text.less +1 -1
- package/src/less/mixins/_text-emphasis.less +7 -1
- package/src/less/modals.less +1 -1
- package/src/less/navbar.less +19 -19
- package/src/less/navs.less +8 -8
- package/src/less/neptune.bundle.less +4 -0
- package/src/less/panels.less +2 -2
- package/src/less/popovers.less +7 -7
- package/src/less/progress-bars.less +2 -2
- package/src/less/sequences.less +15 -10
- package/src/less/table.less +7 -7
- package/src/less/tooltip.less +1 -1
- package/src/variables/legacy-variables.less +3 -3
- package/dist/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/dist/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
- package/dist/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/dist/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
- package/dist/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
- package/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/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;
|
|
@@ -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/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
|
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
@import "@transferwise/neptune-tokens/themes/business--dark/tokens.css";
|
|
11
11
|
@import "@transferwise/neptune-tokens/themes/business--forest-green/tokens.css";
|
|
12
12
|
@import "@transferwise/neptune-tokens/themes/business--bright-green/tokens.css";
|
|
13
|
+
@import "@transferwise/neptune-tokens/text/tokens.css";
|
|
14
|
+
|
|
15
|
+
// Utilities
|
|
16
|
+
@import (less) "@transferwise/neptune-tokens/text/utilities.css";
|
|
13
17
|
@import "./core/_fonts.less";
|
|
14
18
|
@import "./core/_scaffolding.less";
|
|
15
19
|
@import "./core/_typography.less";
|
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;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|