@transferwise/neptune-css 14.0.21 → 14.1.2
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/CHANGELOG.md +33 -0
- package/dist/css/neptune-core.css +1 -1
- package/dist/css/neptune.css +1 -1
- package/dist/css/popovers.css +1 -1
- package/dist/css/tooltip.css +1 -1
- package/dist/fonts/WorldwiseSans-Heavy.woff2 +0 -0
- package/dist/less/neptune-tokens.less +14 -3
- package/dist/props/neptune-tokens.css +13 -2
- package/package.json +3 -3
- package/src/fonts/WorldwiseSans-Heavy.woff2 +0 -0
- package/src/less/core/_fonts.less +5 -0
- package/src/less/core/_typography.less +234 -62
package/dist/css/popovers.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.close{color:#0097c7;color:var(--color-content-accent);float:right;text-decoration:none}[dir=rtl] .close{float:left}.close:focus,.close:hover{color:#0084b3;color:var(--color-content-accent-hover);cursor:pointer;text-decoration:none}.close:focus{outline:thin dotted rgba(0,0,0,.5)}.close:active{color:#0077a5;color:var(--color-content-accent-active)}button.close{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;cursor:pointer;padding:0}.np-theme-personal button.close:hover{background:initial}.popover{word-wrap:normal;background-clip:padding-box;background-color:#fff;background-color:var(--color-background-screen);border-radius:3px;box-shadow:0 20px 66px 0 rgba(34,48,73,.2);font-family:Inter,sans-serif
|
|
1
|
+
.close{color:#0097c7;color:var(--color-content-accent);float:right;text-decoration:none}[dir=rtl] .close{float:left}.close:focus,.close:hover{color:#0084b3;color:var(--color-content-accent-hover);cursor:pointer;text-decoration:none}.close:focus{outline:thin dotted rgba(0,0,0,.5)}.close:active{color:#0077a5;color:var(--color-content-accent-active)}button.close{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;cursor:pointer;padding:0}.np-theme-personal button.close:hover{background:initial}.popover{word-wrap:normal;background-clip:padding-box;background-color:#fff;background-color:var(--color-background-screen);border-radius:3px;box-shadow:0 20px 66px 0 rgba(34,48,73,.2);font-family:Inter,Helvetica,Arial,sans-serif;font-family:var(--font-family-regular);font-size:1rem;font-size:var(--font-size-16);font-style:normal;font-weight:400;font-weight:var(--font-weight-regular);left:0;letter-spacing:normal;line-break:auto;line-height:24px;line-height:var(--size-24);line-height:1.5;line-height:var(--line-height-body);padding:18px 24px;position:absolute;text-align:left;text-decoration:none;text-shadow:none;text-transform:none;top:0;white-space:normal;width:276px;word-break:normal;word-spacing:normal;z-index:1060}[dir=rtl] .popover{left:auto;right:0;text-align:right}.np-theme-personal .popover{font-size:.875rem;font-size:var(--font-size-14);font-weight:400;font-weight:var(--font-weight-regular);letter-spacing:.01em;letter-spacing:var(--letter-spacing-xs);line-height:1.375rem;line-height:var(--line-height-22)}.np-theme-personal .np-theme-personal .popover a{font-size:.875rem;font-size:var(--font-size-14);font-weight:600;font-weight:var(--font-weight-semi-bold);text-decoration:underline}.popover.animate{transition:transform .25s}.popover.scale-down{transform:scale(0)}.popover.top{margin-top:-14px;transform-origin:50% 100%}.popover.top-left{margin-top:-14px;transform-origin:calc(100% - 29px) 100%}.popover.top-right{margin-top:-14px;transform-origin:29px 100%}.popover.right{margin-left:14px;transform-origin:0 50%}[dir=rtl] .popover.right{margin-left:0;margin-right:14px}.popover.right-top{margin-left:14px;transform-origin:0 29px}[dir=rtl] .popover.right-top{margin-left:0;margin-right:14px}.popover.right-bottom{margin-left:14px;transform-origin:0 calc(100% - 29px)}[dir=rtl] .popover.right-bottom{margin-left:0;margin-right:14px}.popover.bottom{margin-top:14px;transform-origin:50% 0}.popover.bottom-left{margin-top:14px;transform-origin:calc(100% - 29px) 0}.popover.bottom-right{margin-top:14px;transform-origin:29px 0}.popover.left{margin-left:-14px;transform-origin:100% 50%}[dir=rtl] .popover.left{margin-left:0;margin-right:-14px}.popover.left-top{margin-left:-14px;transform-origin:100% 29px}[dir=rtl] .popover.left-top{margin-left:0;margin-right:-14px}.popover.left-bottom{margin-left:-14px;transform-origin:100% calc(100% - 29px)}[dir=rtl] .popover.left-bottom{margin-left:0;margin-right:-14px}.popover:before{background-color:inherit;content:" ";display:block;height:14px;left:28px;position:absolute;top:-7px;transform:rotate(45deg);width:14px}[dir=rtl] .popover:before{left:auto;right:28px}.popover.top:before{bottom:-7px;left:50%;margin-left:-7px;top:auto}[dir=rtl] .popover.top:before{left:auto;margin-left:0;margin-right:-7px;right:50%}.popover.top-left:before{bottom:-7px;left:auto;margin-left:-7px;right:29px;top:auto}[dir=rtl] .popover.top-left:before{left:29px;left:auto;margin-left:0;margin-right:-7px;right:auto}.popover.top-right:before{bottom:-7px;left:29px;margin-left:-7px;right:auto;top:auto}[dir=rtl] .popover.top-right:before{left:auto;margin-left:0;margin-right:-7px;right:29px;right:auto}.popover.right:before{left:-7px;margin-top:-7px;top:50%}[dir=rtl] .popover.right:before{left:auto;right:-7px}.popover.right-top:before{left:-7px;margin-top:-7px;top:29px}[dir=rtl] .popover.right-top:before{left:auto;right:-7px}.popover.right-bottom:before{left:-7px;margin-top:-7px;top:calc(100% - 29px)}[dir=rtl] .popover.right-bottom:before{left:auto;right:-7px}.popover.bottom:before{bottom:auto;left:50%;margin-left:-7px;top:-7px}[dir=rtl] .popover.bottom:before{left:auto;margin-left:0;margin-right:-7px;right:50%}.popover.bottom-left:before{bottom:auto;left:auto;margin-left:-7px;right:29px;top:-7px}[dir=rtl] .popover.bottom-left:before{left:29px;left:auto;margin-left:0;margin-right:-7px;right:auto}.popover.bottom-right:before{bottom:auto;left:auto;margin-left:-7px;right:29px;top:-7px}[dir=rtl] .popover.bottom-right:before{left:29px;left:auto;margin-left:0;margin-right:-7px;right:auto}.popover.left:before{left:auto;margin-top:-7px;right:-7px;top:50%}[dir=rtl] .popover.left:before{left:auto;left:-7px;right:auto}.popover.left-top:before{left:auto;margin-top:-7px;right:-7px;top:29px}[dir=rtl] .popover.left-top:before{left:auto;left:-7px;right:auto}.popover.left-bottom:before{left:auto;margin-top:-7px;right:-7px;top:calc(100% - 29px)}[dir=rtl] .popover.left-bottom:before{left:auto;left:-7px;right:auto}.popover .popover-image,.popover img{margin:8px 0;width:65%}.popover-title{background-color:#fff;background-color:var(--color-background-screen);border-bottom:0;border-radius:2px 2px 0 0;color:#37517e;color:var(--color-content-primary);color:#37517e!important;color:var(--color-content-primary)!important;font-size:1rem;font-size:var(--font-size-16);font-weight:600;font-weight:var(--font-weight-semi-bold);letter-spacing:0;line-height:1.2;line-height:var(--line-height-title);margin:0;padding:0}.np-theme-personal .popover-title+p{margin-top:8px;margin-top:var(--size-8)}.np-theme-personal .popover-title{font-size:1.125rem;font-size:var(--font-size-18);letter-spacing:-.01em;letter-spacing:var(--letter-spacing-negative-xs);line-height:1.5rem;line-height:var(--line-height-24)}.popover-content{color:#5d7079;color:var(--color-content-secondary);font-size:1rem;font-size:var(--font-size-16);line-height:1.5;line-height:var(--line-height-body);padding:0}.np-theme-personal .popover-content,.popover-content{font-weight:400;font-weight:var(--font-weight-regular)}.np-theme-personal .popover-content{font-size:.875rem;font-size:var(--font-size-14);letter-spacing:.01em;letter-spacing:var(--letter-spacing-xs);line-height:1.375rem;line-height:var(--line-height-22)}.np-theme-personal .np-theme-personal .popover-content a{font-size:.875rem;font-size:var(--font-size-14);font-weight:600;font-weight:var(--font-weight-semi-bold);text-decoration:underline}.popover-content>:last-child{margin-bottom:0}.popover-close{color:#0097c7;color:var(--color-content-accent);float:right;text-decoration:none}[dir=rtl] .popover-close{float:left}.popover-close:focus,.popover-close:hover{color:#0084b3;color:var(--color-content-accent-hover);cursor:pointer;text-decoration:none}.popover-close:focus{outline:thin dotted rgba(0,0,0,.5)}.popover-close:active{color:#0077a5;color:var(--color-content-accent-active)}button.popover-close{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;cursor:pointer;padding:0}.np-theme-personal button.popover-close:hover{background:initial}[data-toggle=popover]:not(.btn){border-bottom:1px dotted #0097c7!important;border-bottom:1px dotted var(--color-content-accent)!important;color:inherit!important;cursor:pointer;font-weight:inherit!important;text-decoration:none!important}[data-toggle=popover]:not(.btn):focus,[data-toggle=popover]:not(.btn):hover,[data-toggle=popover]:not(.btn)[aria-describedby]{color:#0084b3!important;color:var(--color-content-accent-hover)!important;outline:0}.nav>li>a [data-toggle=popover]{border-bottom:0}@media (max-width:991px){.popover-modal{left:0!important;margin:32px auto!important;margin:var(--size-32) auto!important;position:fixed;right:0!important;top:0!important;width:272px}.popover-modal:before{display:none}}@media (min-width:992px){.popover-modal.left{margin-right:-var(--size-24)!important}[dir=rtl] .popover-modal.left{margin-right:0!important}.popover-modal.right,[dir=rtl] .popover-modal.left{margin-left:-var(--size-24)!important}[dir=rtl] .popover-modal.right{margin-left:0!important;margin-right:-var(--size-24)!important}.popover-modal.top{margin-bottom:-8px!important}.popover-modal.bottom{margin-top:-8px!important}}@keyframes cover-fade-in{0%{opacity:0}to{opacity:.7}}.popover-modal-cover{animation:cover-fade-in .35s linear 0s forwards;background-color:#fff;background-color:var(--color-background-screen);cursor:pointer;display:none;height:100vh;left:0;opacity:.7;position:fixed;top:0;width:100vw;z-index:1060}[dir=rtl] .popover-modal-cover{left:auto;right:0}@media (max-width:991px){.popover-modal-cover{display:block}}.popover-promotion{padding:24px;padding:var(--size-24);text-align:center}@media (max-width:576px){.popover-promotion{margin:16px!important;margin:var(--size-16)!important;padding:24px!important;padding:var(--size-24)!important;width:auto!important}}@media (min-width:566px) and (max-width:992px){.popover-promotion{margin:32px auto!important;margin:var(--size-32) auto!important;padding:28px 32px!important;padding:28px var(--size-32)!important;width:540px!important}}.popover-promotion .popover-title{font-size:1rem;font-size:var(--font-size-16);line-height:1.2;line-height:var(--line-height-title)}@media (min-width:768px){.popover-promotion .popover-title{font-size:1.25rem;font-size:var(--font-size-20);line-height:1.2;line-height:var(--line-height-title)}}@media (max-width:480px){.popover-promotion .popover-image{width:80%}}@media (min-width:480px) and (max-width:992px){.popover-promotion .popover-image{width:60%}}@media (min-width:992px){.popover-promotion .popover-image{width:80%}}@media (max-width:992px){.popover-promotion{position:absolute!important}}
|
package/dist/css/tooltip.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.tooltip{word-wrap:normal;display:block;font-family:Inter,sans-serif
|
|
1
|
+
.tooltip{word-wrap:normal;display:block;font-family:Inter,Helvetica,Arial,sans-serif;font-family:var(--font-family-regular);font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:24px;line-height:var(--size-24);opacity:0;position:absolute;text-align:left;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;z-index:1070}[dir=rtl] .tooltip{text-align:right}.tooltip.in{opacity:1}.tooltip.top{margin-top:-3px;padding:5px 0}.tooltip.right{margin-left:3px;padding:0 5px}[dir=rtl] .tooltip.right{margin-left:0;margin-right:3px}.tooltip.bottom{margin-top:3px;padding:5px 0}.tooltip.left{margin-left:-3px;padding:0 5px}[dir=rtl] .tooltip.left{margin-left:0;margin-right:-3px}.tooltip-inner{background-color:#fff;background-color:var(--color-background-screen);border-radius:3px;box-shadow:0 1px 28px 0 rgba(34,48,73,.2);color:#37517e;color:var(--color-content-primary);font-size:1rem;font-size:var(--font-size-16);line-height:1.5;line-height:var(--line-height-body);max-width:200px;min-width:120px;padding:16px;padding:var(--size-16) var(--size-16);text-align:center}.np-theme-personal .tooltip-inner,.tooltip-inner{font-weight:400;font-weight:var(--font-weight-regular)}.np-theme-personal .tooltip-inner{font-size:.875rem;font-size:var(--font-size-14);letter-spacing:.01em;letter-spacing:var(--letter-spacing-xs);line-height:1.375rem;line-height:var(--line-height-22)}.np-theme-personal .np-theme-personal .tooltip-inner a{font-size:.875rem;font-size:var(--font-size-14);font-weight:600;font-weight:var(--font-weight-semi-bold);text-decoration:underline}.tooltip-arrow{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.tooltip.top .tooltip-arrow{border-top-color:#fff;border-top-color:var(--color-background-screen);border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}[dir=rtl] .tooltip.top .tooltip-arrow{left:auto;margin-left:0;margin-right:-5px;right:50%}.tooltip.right .tooltip-arrow{border-right-color:#fff;border-right-color:var(--color-background-screen);border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}[dir=rtl] .tooltip.right .tooltip-arrow{left:auto;right:0}.tooltip.left .tooltip-arrow{border-left-color:#fff;border-left-color:var(--color-background-screen);border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}[dir=rtl] .tooltip.left .tooltip-arrow{left:0;right:auto}.tooltip.bottom .tooltip-arrow{border-bottom-color:#fff;border-bottom-color:var(--color-background-screen);border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}[dir=rtl] .tooltip.bottom .tooltip-arrow{left:auto;margin-left:0;margin-right:-5px;right:50%}[data-toggle=tooltip]:not(.btn){cursor:pointer}[data-toggle=tooltip]:not(.btn):focus,[data-toggle=tooltip]:not(.btn):hover{color:#0084b3!important;color:var(--color-content-accent-hover)!important;outline:0}a[data-toggle=tooltip]{white-space:nowrap}
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on
|
|
3
|
+
// Generated on Fri, 30 Dec 2022 19:43:20 GMT
|
|
4
4
|
|
|
5
5
|
@color-dark-content-primary: #e2e6e8;
|
|
6
6
|
@color-dark-content-secondary: #c9cbce;
|
|
@@ -137,12 +137,14 @@
|
|
|
137
137
|
@size-8: 8px;
|
|
138
138
|
@size-10: 10px;
|
|
139
139
|
@size-12: 12px;
|
|
140
|
+
@size-14: 14px;
|
|
140
141
|
@size-16: 16px;
|
|
141
142
|
@size-24: 24px;
|
|
142
143
|
@size-32: 32px;
|
|
143
144
|
@size-40: 40px;
|
|
144
145
|
@size-48: 48px;
|
|
145
146
|
@size-56: 56px;
|
|
147
|
+
@size-60: 60px;
|
|
146
148
|
@size-64: 64px;
|
|
147
149
|
@size-72: 72px;
|
|
148
150
|
@size-80: 80px;
|
|
@@ -152,6 +154,8 @@
|
|
|
152
154
|
@size-112: 112px;
|
|
153
155
|
@size-120: 120px;
|
|
154
156
|
@size-128: 128px;
|
|
157
|
+
@size-146: 146px;
|
|
158
|
+
@size-154: 154px;
|
|
155
159
|
@size-x-small: 24px;
|
|
156
160
|
@size-small: 32px;
|
|
157
161
|
@size-medium: 40px;
|
|
@@ -186,6 +190,9 @@
|
|
|
186
190
|
@letter-spacing-negative-md: -0.015em;
|
|
187
191
|
@letter-spacing-negative-lg: -0.02em;
|
|
188
192
|
@letter-spacing-negative-xl: -0.025em;
|
|
193
|
+
@letter-spacing-negative-xxl: -0.03em;
|
|
194
|
+
@letter-spacing-negative-xxxl: -0.04em;
|
|
195
|
+
@letter-spacing-negative-xxxxl: -0.05em;
|
|
189
196
|
@line-height-18: 1.125rem;
|
|
190
197
|
@line-height-20: 1.25rem;
|
|
191
198
|
@line-height-22: 1.375rem;
|
|
@@ -197,6 +204,9 @@
|
|
|
197
204
|
@line-height-36: 2.25rem;
|
|
198
205
|
@line-height-42: 2.625rem;
|
|
199
206
|
@line-height-48: 3rem;
|
|
207
|
+
@line-height-display-tight: NaNrem;
|
|
208
|
+
@line-height-display-regular: NaNrem;
|
|
209
|
+
@line-height-display-loose: NaNrem;
|
|
200
210
|
@line-height-title: 1.2;
|
|
201
211
|
@line-height-body: 1.5;
|
|
202
212
|
@line-height-control: 1.2;
|
|
@@ -206,10 +216,11 @@
|
|
|
206
216
|
@font-weight-semi-bold: 600;
|
|
207
217
|
@font-weight-bold: 800;
|
|
208
218
|
@font-weight-black: 900;
|
|
209
|
-
@font-family-regular: 'Inter',
|
|
219
|
+
@font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
220
|
+
@font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
210
221
|
|
|
211
222
|
// Do not edit directly
|
|
212
|
-
// Generated on
|
|
223
|
+
// Generated on Fri, 30 Dec 2022 19:43:20 GMT
|
|
213
224
|
|
|
214
225
|
@color-base-blue-light: #00b9ff;
|
|
215
226
|
@color-base-blue-mid: #00a2dd;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Fri, 30 Dec 2022 19:43:20 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root {
|
|
@@ -57,12 +57,14 @@
|
|
|
57
57
|
--size-8: 8px;
|
|
58
58
|
--size-10: 10px;
|
|
59
59
|
--size-12: 12px;
|
|
60
|
+
--size-14: 14px;
|
|
60
61
|
--size-16: 16px;
|
|
61
62
|
--size-24: 24px;
|
|
62
63
|
--size-32: 32px;
|
|
63
64
|
--size-40: 40px;
|
|
64
65
|
--size-48: 48px;
|
|
65
66
|
--size-56: 56px;
|
|
67
|
+
--size-60: 60px;
|
|
66
68
|
--size-64: 64px;
|
|
67
69
|
--size-72: 72px;
|
|
68
70
|
--size-80: 80px;
|
|
@@ -72,6 +74,8 @@
|
|
|
72
74
|
--size-112: 112px;
|
|
73
75
|
--size-120: 120px;
|
|
74
76
|
--size-128: 128px;
|
|
77
|
+
--size-146: 146px;
|
|
78
|
+
--size-154: 154px;
|
|
75
79
|
--size-x-small: 24px;
|
|
76
80
|
--size-small: 32px;
|
|
77
81
|
--size-medium: 40px;
|
|
@@ -106,6 +110,9 @@
|
|
|
106
110
|
--letter-spacing-negative-md: -0.015em;
|
|
107
111
|
--letter-spacing-negative-lg: -0.02em;
|
|
108
112
|
--letter-spacing-negative-xl: -0.025em;
|
|
113
|
+
--letter-spacing-negative-xxl: -0.03em;
|
|
114
|
+
--letter-spacing-negative-xxxl: -0.04em;
|
|
115
|
+
--letter-spacing-negative-xxxxl: -0.05em;
|
|
109
116
|
--line-height-18: 1.125rem;
|
|
110
117
|
--line-height-20: 1.25rem;
|
|
111
118
|
--line-height-22: 1.375rem;
|
|
@@ -117,6 +124,9 @@
|
|
|
117
124
|
--line-height-36: 2.25rem;
|
|
118
125
|
--line-height-42: 2.625rem;
|
|
119
126
|
--line-height-48: 3rem;
|
|
127
|
+
--line-height-display-tight: NaNrem;
|
|
128
|
+
--line-height-display-regular: NaNrem;
|
|
129
|
+
--line-height-display-loose: NaNrem;
|
|
120
130
|
--line-height-title: 1.2;
|
|
121
131
|
--line-height-body: 1.5;
|
|
122
132
|
--line-height-control: 1.2;
|
|
@@ -126,7 +136,8 @@
|
|
|
126
136
|
--font-weight-semi-bold: 600;
|
|
127
137
|
--font-weight-bold: 800;
|
|
128
138
|
--font-weight-black: 900;
|
|
129
|
-
--font-family-regular: 'Inter',
|
|
139
|
+
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
140
|
+
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
130
141
|
}
|
|
131
142
|
|
|
132
143
|
/* DEPRECATED, use neptune-tokens instead: https://transferwise.github.io/neptune-web/styles/tokens/Colors */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@transferwise/neptune-css",
|
|
3
3
|
"description": "Neptune CSS library",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.1.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"prettier": "prettier --write src/less/*.less"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@transferwise/neptune-tokens": "^8.
|
|
43
|
+
"@transferwise/neptune-tokens": "^8.2.4",
|
|
44
44
|
"bootstrap": "github:transferwise/bootstrap#v7.0.0",
|
|
45
45
|
"inquirer": "^8.2.0",
|
|
46
46
|
"inquirer-file-tree-selection-prompt": "^1.0.13",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"bin": {
|
|
54
54
|
"neptune-css-upgrade-util": "scripts/neptune-css-upgrader.js"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "6eb87d1ee123a4d190169e99b9790ebe15e2560d"
|
|
57
57
|
}
|
|
Binary file
|
|
@@ -33,7 +33,7 @@ h6,
|
|
|
33
33
|
|
|
34
34
|
/* DEPRECATED: use .np-text-title-screen instead */
|
|
35
35
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
36
|
-
.h1,
|
|
36
|
+
.h1,
|
|
37
37
|
.title-1,
|
|
38
38
|
h1,
|
|
39
39
|
.np-text-title-screen {
|
|
@@ -52,7 +52,7 @@ h1,
|
|
|
52
52
|
|
|
53
53
|
/* DEPRECATED: use .np-text-title-section instead */
|
|
54
54
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
55
|
-
.h2,
|
|
55
|
+
.h2,
|
|
56
56
|
.title-2,
|
|
57
57
|
h2,
|
|
58
58
|
.np-text-title-section {
|
|
@@ -70,7 +70,7 @@ h2,
|
|
|
70
70
|
|
|
71
71
|
/* DEPRECATED: use .np-text-title-subsection instead */
|
|
72
72
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
73
|
-
.h3,
|
|
73
|
+
.h3,
|
|
74
74
|
.title-3,
|
|
75
75
|
h3,
|
|
76
76
|
.np-text-title-subsection {
|
|
@@ -88,7 +88,7 @@ h3,
|
|
|
88
88
|
|
|
89
89
|
/* DEPRECATED: use .np-text-title-body instead */
|
|
90
90
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
91
|
-
.h4,
|
|
91
|
+
.h4,
|
|
92
92
|
.title-4,
|
|
93
93
|
h4,
|
|
94
94
|
.np-text-title-body {
|
|
@@ -104,15 +104,15 @@ h4,
|
|
|
104
104
|
|
|
105
105
|
/* DEPRECATED: use .np-text-title-group instead */
|
|
106
106
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
107
|
-
.h5,
|
|
108
|
-
.h6,
|
|
107
|
+
.h5,
|
|
108
|
+
.h6,
|
|
109
109
|
.title-5,
|
|
110
110
|
h5,
|
|
111
111
|
h6,
|
|
112
112
|
.np-text-title-group {
|
|
113
113
|
font-weight: var(--font-weight-semi-bold);
|
|
114
114
|
font-size: var(--font-size-14);
|
|
115
|
-
|
|
115
|
+
|
|
116
116
|
.np-theme-personal & {
|
|
117
117
|
font-weight: var(--font-weight-medium);
|
|
118
118
|
letter-spacing: var(--letter-spacing-md);
|
|
@@ -142,47 +142,47 @@ h6,
|
|
|
142
142
|
|
|
143
143
|
.body-2 {
|
|
144
144
|
font-size: var(--font-size-14);
|
|
145
|
-
|
|
145
|
+
}
|
|
146
146
|
|
|
147
147
|
.body-3 {
|
|
148
148
|
font-size: var(--font-size-12);
|
|
149
|
-
|
|
149
|
+
}
|
|
150
150
|
|
|
151
151
|
.control-1,
|
|
152
152
|
.control-2 {
|
|
153
153
|
color: var(--color-content-accent);
|
|
154
154
|
font-weight: var(--font-weight-semi-bold);
|
|
155
155
|
line-height: var(--line-height-title);
|
|
156
|
-
|
|
156
|
+
}
|
|
157
157
|
|
|
158
158
|
.control-1 {
|
|
159
159
|
font-size: var(--font-size-16);
|
|
160
|
-
|
|
160
|
+
}
|
|
161
161
|
|
|
162
162
|
.control-2 {
|
|
163
163
|
font-size: var(--font-size-14);
|
|
164
|
-
|
|
164
|
+
}
|
|
165
165
|
|
|
166
166
|
.label {
|
|
167
167
|
font-size: var(--font-size-14);
|
|
168
|
-
|
|
168
|
+
}
|
|
169
169
|
|
|
170
170
|
.value {
|
|
171
171
|
font-size: var(--font-size-16);
|
|
172
|
-
|
|
172
|
+
}
|
|
173
173
|
|
|
174
174
|
.lead {
|
|
175
175
|
margin-bottom: var(--size-24);
|
|
176
176
|
font-size: var(--font-size-20);
|
|
177
177
|
line-height: var(--line-height-title);
|
|
178
|
-
|
|
178
|
+
}
|
|
179
179
|
|
|
180
180
|
small,
|
|
181
181
|
.small,
|
|
182
182
|
.body-2 {
|
|
183
183
|
font-size: var(--font-size-14);
|
|
184
184
|
line-height: var(--line-height-body);
|
|
185
|
-
|
|
185
|
+
}
|
|
186
186
|
|
|
187
187
|
.tiny {
|
|
188
188
|
color: var(--color-content-secondary);
|
|
@@ -195,18 +195,13 @@ small,
|
|
|
195
195
|
/* DEPRECATED: use .np-text-body-default instead */
|
|
196
196
|
/* stylelint-disable-next-line selector-list-comma-newline-after */
|
|
197
197
|
.body-2, .body-3, .label, .control-label, .small, .tiny,
|
|
198
|
-
p,
|
|
199
|
-
label,
|
|
200
|
-
small,
|
|
201
|
-
ul,
|
|
202
|
-
ol,
|
|
203
198
|
body,
|
|
204
199
|
.np-text-body-default {
|
|
205
200
|
.np-theme-personal & {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
201
|
+
font-size: var(--font-size-14);
|
|
202
|
+
line-height: var(--line-height-22);
|
|
203
|
+
letter-spacing: var(--letter-spacing-xs);
|
|
204
|
+
font-weight: var(--font-weight-regular);
|
|
210
205
|
}
|
|
211
206
|
}
|
|
212
207
|
|
|
@@ -217,15 +212,15 @@ b,
|
|
|
217
212
|
strong,
|
|
218
213
|
.np-text-body-default-bold {
|
|
219
214
|
.np-theme-personal & {
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
215
|
+
line-height: var(--line-height-22);
|
|
216
|
+
letter-spacing: var(--letter-spacing-sm);
|
|
217
|
+
font-weight: var(--font-weight-semi-bold);
|
|
223
218
|
}
|
|
224
219
|
}
|
|
225
220
|
|
|
226
221
|
.np-text-body-default-bold {
|
|
227
222
|
.np-theme-personal & {
|
|
228
|
-
|
|
223
|
+
font-size: var(--font-size-14);
|
|
229
224
|
}
|
|
230
225
|
}
|
|
231
226
|
|
|
@@ -234,10 +229,10 @@ strong,
|
|
|
234
229
|
.body-1, .value,
|
|
235
230
|
.np-text-body-large {
|
|
236
231
|
.np-theme-personal & {
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
232
|
+
font-weight: var(--font-weight-regular);
|
|
233
|
+
font-size: var(--font-size-16);
|
|
234
|
+
letter-spacing: var(--letter-spacing-negative-xxs);
|
|
235
|
+
line-height: var(--line-height-24);
|
|
241
236
|
}
|
|
242
237
|
}
|
|
243
238
|
|
|
@@ -246,10 +241,10 @@ strong,
|
|
|
246
241
|
.control-1,
|
|
247
242
|
.np-text-body-large-bold {
|
|
248
243
|
.np-theme-personal & {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
244
|
+
font-weight: var(--font-weight-semi-bold);
|
|
245
|
+
font-size: var(--font-size-16);
|
|
246
|
+
letter-spacing: var(--letter-spacing-xxs);
|
|
247
|
+
line-height: var(--line-height-24);
|
|
253
248
|
}
|
|
254
249
|
}
|
|
255
250
|
|
|
@@ -259,58 +254,235 @@ a,
|
|
|
259
254
|
.np-text-link-default,
|
|
260
255
|
.np-text-link-large {
|
|
261
256
|
.np-theme-personal & {
|
|
262
|
-
|
|
263
|
-
|
|
257
|
+
font-weight: var(--font-weight-semi-bold);
|
|
258
|
+
text-decoration: underline;
|
|
264
259
|
}
|
|
265
260
|
}
|
|
266
261
|
|
|
267
262
|
.np-text-link-default {
|
|
268
263
|
.np-theme-personal & {
|
|
269
|
-
|
|
264
|
+
font-size: var(--font-size-14);
|
|
270
265
|
}
|
|
271
266
|
}
|
|
272
267
|
|
|
273
268
|
.np-text-link-large {
|
|
274
269
|
.np-theme-personal & {
|
|
275
|
-
|
|
276
|
-
|
|
270
|
+
font-size: var(--font-size-16);
|
|
271
|
+
letter-spacing: var(--letter-spacing-xs);
|
|
277
272
|
}
|
|
278
273
|
}
|
|
279
274
|
|
|
280
275
|
.np-text-body-default,
|
|
281
276
|
.np-text-body-default-bold {
|
|
282
277
|
.np-theme-personal & {
|
|
283
|
-
|
|
284
|
-
|
|
278
|
+
a {
|
|
279
|
+
.np-text-link-default;
|
|
280
|
+
}
|
|
285
281
|
}
|
|
286
282
|
}
|
|
287
|
-
}
|
|
288
283
|
|
|
289
284
|
.np-text-body-large,
|
|
290
285
|
.np-text-body-large-bold {
|
|
291
286
|
.np-theme-personal & {
|
|
292
|
-
|
|
293
|
-
|
|
287
|
+
a {
|
|
288
|
+
.np-text-link-large;
|
|
289
|
+
}
|
|
294
290
|
}
|
|
295
291
|
}
|
|
296
|
-
}
|
|
297
292
|
|
|
298
293
|
// DISPLAY
|
|
299
294
|
|
|
295
|
+
@line-height-display-tight: 85%;
|
|
296
|
+
@line-height-display-normal: 100%;
|
|
297
|
+
@line-height-display-loose: 120%;
|
|
298
|
+
|
|
300
299
|
.np-text-display-number {
|
|
301
|
-
font-weight: var(--font-weight-
|
|
300
|
+
font-weight: var(--font-weight-bold);
|
|
302
301
|
font-size: 40px;
|
|
303
|
-
line-height:
|
|
304
|
-
letter-spacing:
|
|
302
|
+
line-height: 115%;
|
|
303
|
+
letter-spacing: 0;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.display-formatting(
|
|
307
|
+
@font-size;
|
|
308
|
+
@line-height;
|
|
309
|
+
@letter-spacing;
|
|
310
|
+
@font-weight: var(--font-weight-bold);
|
|
311
|
+
@case: none) {
|
|
312
|
+
font-size: @font-size;
|
|
313
|
+
line-height: @line-height;
|
|
314
|
+
letter-spacing: @letter-spacing;
|
|
315
|
+
font-weight: @font-weight;
|
|
316
|
+
text-transform: @case;
|
|
305
317
|
}
|
|
306
318
|
|
|
307
319
|
.display-1,
|
|
308
320
|
.display-2,
|
|
309
321
|
.display-3,
|
|
310
322
|
.display-4,
|
|
311
|
-
.display-5
|
|
312
|
-
|
|
313
|
-
|
|
323
|
+
.display-5,
|
|
324
|
+
.np-text-display-extra-large,
|
|
325
|
+
.np-text-display-large,
|
|
326
|
+
.np-text-display-medium,
|
|
327
|
+
.np-text-display-small {
|
|
328
|
+
font-family: "Wise Sans", Inter, sans-serif;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.np-text-display-extra-large {
|
|
332
|
+
.display-formatting(var(--size-146), normal, normal);
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.np-text-display-large {
|
|
336
|
+
.display-formatting(var(--size-88), normal, normal);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.np-text-display-medium {
|
|
340
|
+
.display-formatting(var(--size-60), normal, normal);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.np-text-display-small {
|
|
344
|
+
.display-formatting(var(--size-40), normal, normal);
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
:lang(en) {
|
|
348
|
+
.np-text-display-extra-large {
|
|
349
|
+
.display-formatting(var(--size-154), @line-height-display-tight, var(--letter-spacing-base-xl), uppercase);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.np-text-display-large {
|
|
353
|
+
.display-formatting(var(--size-96), @line-height-display-tight, var(--letter-spacing-base-lg), uppercase);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.np-text-display-medium {
|
|
357
|
+
.display-formatting(var(--size-64), @line-height-display-tight, var(--letter-spacing-base-md), uppercase);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.np-text-display-small {
|
|
361
|
+
.display-formatting(var(--size-40), @line-height-display-tight, var(--letter-spacing-base-md), uppercase);
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
:lang(af),
|
|
366
|
+
:lang(sq),
|
|
367
|
+
:lang(eu),
|
|
368
|
+
:lang(bs),
|
|
369
|
+
:lang(ca),
|
|
370
|
+
:lang(kw),
|
|
371
|
+
:lang(hr),
|
|
372
|
+
:lang(cs),
|
|
373
|
+
:lang(da),
|
|
374
|
+
:lang(nl),
|
|
375
|
+
:lang(eo),
|
|
376
|
+
:lang(et),
|
|
377
|
+
:lang(fo),
|
|
378
|
+
:lang(fi),
|
|
379
|
+
:lang(fr),
|
|
380
|
+
:lang(gl),
|
|
381
|
+
:lang(lg),
|
|
382
|
+
:lang(de),
|
|
383
|
+
:lang(hu),
|
|
384
|
+
:lang(is),
|
|
385
|
+
:lang(se),
|
|
386
|
+
:lang(id),
|
|
387
|
+
:lang(in),
|
|
388
|
+
:lang(ga),
|
|
389
|
+
:lang(it),
|
|
390
|
+
:lang(kl),
|
|
391
|
+
:lang(ki),
|
|
392
|
+
:lang(rw),
|
|
393
|
+
:lang(lv),
|
|
394
|
+
:lang(lt),
|
|
395
|
+
:lang(lb),
|
|
396
|
+
:lang(mg),
|
|
397
|
+
:lang(ms),
|
|
398
|
+
:lang(mt),
|
|
399
|
+
:lang(gv),
|
|
400
|
+
:lang(mi),
|
|
401
|
+
:lang(nd),
|
|
402
|
+
:lang(nb),
|
|
403
|
+
:lang(nn),
|
|
404
|
+
:lang(om),
|
|
405
|
+
:lang(pl),
|
|
406
|
+
:lang(pt),
|
|
407
|
+
:lang(ro),
|
|
408
|
+
:lang(rm),
|
|
409
|
+
:lang(rn),
|
|
410
|
+
:lang(sg),
|
|
411
|
+
:lang(gd),
|
|
412
|
+
:lang(sr),
|
|
413
|
+
:lang(sn),
|
|
414
|
+
:lang(sk),
|
|
415
|
+
:lang(sl),
|
|
416
|
+
:lang(so),
|
|
417
|
+
:lang(es),
|
|
418
|
+
:lang(sw),
|
|
419
|
+
:lang(sv),
|
|
420
|
+
:lang(tr),
|
|
421
|
+
:lang(cy),
|
|
422
|
+
:lang(fy),
|
|
423
|
+
:lang(wo),
|
|
424
|
+
:lang(zu),
|
|
425
|
+
:lang(hsb),
|
|
426
|
+
:lang(gsw),
|
|
427
|
+
:lang(dsb),
|
|
428
|
+
:lang(fil) {
|
|
429
|
+
.np-text-display-extra-large {
|
|
430
|
+
.display-formatting(var(--size-154), @line-height-display-regular, var(--letter-spacing-base-xl), uppercase);
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.np-text-display-large {
|
|
434
|
+
.display-formatting(var(--size-96), @line-height-display-regular, var(--letter-spacing-base-xl), uppercase);
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.np-text-display-medium {
|
|
438
|
+
.display-formatting(var(--size-64), @line-height-display-regular, var(--letter-spacing-base-md), uppercase);
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.np-text-display-small {
|
|
442
|
+
.display-formatting(var(--size-40), @line-height-display-regular, var(--letter-spacing-base-md), uppercase);
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
:lang(el),
|
|
447
|
+
:lang(az),
|
|
448
|
+
:lang(be),
|
|
449
|
+
:lang(bs),
|
|
450
|
+
:lang(bg),
|
|
451
|
+
:lang(ce),
|
|
452
|
+
:lang(mk),
|
|
453
|
+
:lang(os),
|
|
454
|
+
:lang(ru),
|
|
455
|
+
:lang(sr),
|
|
456
|
+
:lang(uk),
|
|
457
|
+
:lang(uz),
|
|
458
|
+
:lang(sah) {
|
|
459
|
+
.np-text-display-extra-large {
|
|
460
|
+
.display-formatting(var(--size-146),
|
|
461
|
+
@line-height-display-loose,
|
|
462
|
+
var(--letter-spacing-base-negative-xxxxl),
|
|
463
|
+
var(--font-weight-semi-bold));
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
.np-text-display-large {
|
|
467
|
+
.display-formatting(var(--size-88),
|
|
468
|
+
@line-height-display-loose,
|
|
469
|
+
var(--letter-spacing-base-negative-xxxxl),
|
|
470
|
+
var(--font-weight-semi-bold));
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.np-text-display-medium {
|
|
474
|
+
.display-formatting(var(--size-60),
|
|
475
|
+
@line-height-display-loose,
|
|
476
|
+
var(--letter-spacing-base-negative-xxxl),
|
|
477
|
+
var(--font-weight-semi-bold));
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
.np-text-display-small {
|
|
481
|
+
.display-formatting(var(--size-40),
|
|
482
|
+
@line-height-display-loose,
|
|
483
|
+
var(--letter-spacing-base-negative-xxl),
|
|
484
|
+
var(--font-weight-semi-bold));
|
|
485
|
+
}
|
|
314
486
|
}
|
|
315
487
|
|
|
316
488
|
.display-1 {
|
|
@@ -370,7 +542,7 @@ a,
|
|
|
370
542
|
p {
|
|
371
543
|
margin: 0 0 24px;
|
|
372
544
|
margin: 0 0 var(--size-24);
|
|
373
|
-
|
|
545
|
+
|
|
374
546
|
.np-theme-personal & {
|
|
375
547
|
margin-bottom: var(--size-16);
|
|
376
548
|
}
|
|
@@ -408,18 +580,18 @@ p {
|
|
|
408
580
|
|
|
409
581
|
.control-1,
|
|
410
582
|
.control-2 {
|
|
411
|
-
|
|
583
|
+
color: var(--color-content-accent);
|
|
412
584
|
}
|
|
413
585
|
|
|
414
586
|
strong,
|
|
415
587
|
b {
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
588
|
+
font-weight: var(--font-weight-semi-bold);
|
|
589
|
+
letter-spacing: 0;
|
|
590
|
+
color: var(--color-content-primary);
|
|
419
591
|
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
592
|
+
.np-theme-personal & {
|
|
593
|
+
color: var(--color-content-primary);
|
|
594
|
+
}
|
|
423
595
|
}
|
|
424
596
|
|
|
425
597
|
mark,
|