@transferwise/neptune-css 14.0.11 → 14.0.13
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 +23 -0
- package/dist/css/alerts.css +1 -1
- package/dist/css/dropdowns.css +1 -1
- package/dist/css/input-groups.css +1 -1
- package/dist/css/navbar.css +1 -1
- package/dist/css/neptune-core.css +1 -1
- package/dist/css/neptune.css +1 -1
- package/dist/props/legacy-custom-props.css +1 -1
- package/package.json +2 -2
- package/src/less/alerts.less +1 -1
- package/src/less/core/_scaffolding.less +5 -1
- package/src/less/core/_typography.less +1 -1
- package/src/less/dropdowns.less +6 -2
- package/src/less/forms/bootstrap-forms.less +1 -1
- package/src/props/legacy-custom-props.css +1 -1
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.0.
|
|
4
|
+
"version": "14.0.13",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"bin": {
|
|
54
54
|
"neptune-css-upgrade-util": "scripts/neptune-css-upgrader.js"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "fa67b256f55fcdd9161b5a3c8e7cb3338f057f9d"
|
|
57
57
|
}
|
package/src/less/alerts.less
CHANGED
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
:root {
|
|
14
|
+
--radius-small: 3px;
|
|
15
|
+
--radius-medium: 10px;
|
|
14
16
|
// page default font size should be set in absolute units (pixels)
|
|
15
17
|
--base-font-size: 16px;
|
|
16
18
|
--font-family-regular: Averta, Avenir W02, Avenir, Helvetica, Arial, sans-serif !important;
|
|
@@ -32,6 +34,8 @@
|
|
|
32
34
|
.np-theme-navy {
|
|
33
35
|
--font-family-regular: Averta, Avenir W02, Avenir, Helvetica, Arial, sans-serif !important;
|
|
34
36
|
line-height: var(--line-height-body);
|
|
37
|
+
--radius-small: 3px !important;
|
|
38
|
+
--radius-medium: 10px !important;
|
|
35
39
|
}
|
|
36
40
|
|
|
37
41
|
.np-theme-personal {
|
|
@@ -420,7 +424,7 @@ video {
|
|
|
420
424
|
}
|
|
421
425
|
|
|
422
426
|
.img-rounded {
|
|
423
|
-
border-radius:
|
|
427
|
+
border-radius: var(--radius-small);
|
|
424
428
|
}
|
|
425
429
|
|
|
426
430
|
.img-circle {
|
package/src/less/dropdowns.less
CHANGED
|
@@ -292,10 +292,14 @@
|
|
|
292
292
|
.dropdown-header {
|
|
293
293
|
display: block;
|
|
294
294
|
padding: 8px 16px;
|
|
295
|
-
|
|
296
|
-
|
|
295
|
+
font-size: var(--font-size-14);
|
|
296
|
+
line-height: var(--line-height-body);
|
|
297
297
|
color: var(--color-content-secondary);
|
|
298
298
|
white-space: nowrap; // as with > li > a
|
|
299
|
+
|
|
300
|
+
.np-theme-personal & {
|
|
301
|
+
.np-text-title-group;
|
|
302
|
+
}
|
|
299
303
|
}
|
|
300
304
|
|
|
301
305
|
// Backdrop to catch body clicks on mobile, etc.
|
|
@@ -532,7 +532,7 @@ input[type='checkbox'] {
|
|
|
532
532
|
margin-bottom: 4px;
|
|
533
533
|
border-width: 0;
|
|
534
534
|
border-style: solid;
|
|
535
|
-
border-radius:
|
|
535
|
+
border-radius: var(--radius-small);
|
|
536
536
|
padding: 4px 16px 3px;
|
|
537
537
|
transition: border-color 0.15s ease-in-out, background-color 0.15s ease-in-out;
|
|
538
538
|
|