@transferwise/neptune-css 0.0.0-experimental-b3f4bb2 → 0.0.0-experimental-2255abe
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/alerts.css +4 -2
- package/dist/css/circles.css +3 -39
- package/dist/css/navbar-base.css +1385 -0
- package/dist/css/navbar.css +47 -47
- package/dist/css/neptune.css +8 -46
- package/package.json +1 -1
- package/src/less/alerts.less +2 -1
- package/src/less/circles.less +11 -1
- package/src/less/navbar-base.less +1338 -0
- package/src/less/navbar.less +1 -1336
- package/src/less/mixins/_circle.less +0 -11
package/dist/css/navbar.css
CHANGED
|
@@ -890,53 +890,6 @@ html:not([dir="rtl"]) .nav-stacked > li.active > a:focus {
|
|
|
890
890
|
border-top-right-radius: 0;
|
|
891
891
|
border-top-left-radius: 0;
|
|
892
892
|
}
|
|
893
|
-
.close {
|
|
894
|
-
float: right;
|
|
895
|
-
color: #0097c7;
|
|
896
|
-
color: var(--color-content-accent);
|
|
897
|
-
-webkit-text-decoration: none;
|
|
898
|
-
text-decoration: none;
|
|
899
|
-
}
|
|
900
|
-
[dir="rtl"] .close {
|
|
901
|
-
float: left;
|
|
902
|
-
}
|
|
903
|
-
.np-theme-personal .close {
|
|
904
|
-
color: var(--color-interactive-primary);
|
|
905
|
-
}
|
|
906
|
-
.close:hover {
|
|
907
|
-
color: #0084b3;
|
|
908
|
-
color: var(--color-content-accent-hover);
|
|
909
|
-
-webkit-text-decoration: none;
|
|
910
|
-
text-decoration: none;
|
|
911
|
-
cursor: pointer;
|
|
912
|
-
}
|
|
913
|
-
.np-theme-personal .close:hover {
|
|
914
|
-
color: var(--color-interactive-primary-hover);
|
|
915
|
-
}
|
|
916
|
-
.close:focus {
|
|
917
|
-
outline: none;
|
|
918
|
-
}
|
|
919
|
-
.close:focus-visible {
|
|
920
|
-
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
921
|
-
outline-offset: var(--ring-outline-offset);
|
|
922
|
-
}
|
|
923
|
-
.close:active {
|
|
924
|
-
color: #0077a5;
|
|
925
|
-
color: var(--color-content-accent-active);
|
|
926
|
-
}
|
|
927
|
-
button.close {
|
|
928
|
-
padding: 0;
|
|
929
|
-
cursor: pointer;
|
|
930
|
-
background: transparent;
|
|
931
|
-
border: 0;
|
|
932
|
-
-webkit-appearance: none;
|
|
933
|
-
-moz-appearance: none;
|
|
934
|
-
appearance: none;
|
|
935
|
-
}
|
|
936
|
-
.np-theme-personal button.close:hover {
|
|
937
|
-
background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;
|
|
938
|
-
background: initial;
|
|
939
|
-
}
|
|
940
893
|
.navbar {
|
|
941
894
|
position: relative;
|
|
942
895
|
font-size: 0.875rem;
|
|
@@ -2303,6 +2256,53 @@ button.close {
|
|
|
2303
2256
|
}
|
|
2304
2257
|
}
|
|
2305
2258
|
/* stylelint-enable */
|
|
2259
|
+
.close {
|
|
2260
|
+
float: right;
|
|
2261
|
+
color: #0097c7;
|
|
2262
|
+
color: var(--color-content-accent);
|
|
2263
|
+
-webkit-text-decoration: none;
|
|
2264
|
+
text-decoration: none;
|
|
2265
|
+
}
|
|
2266
|
+
[dir="rtl"] .close {
|
|
2267
|
+
float: left;
|
|
2268
|
+
}
|
|
2269
|
+
.np-theme-personal .close {
|
|
2270
|
+
color: var(--color-interactive-primary);
|
|
2271
|
+
}
|
|
2272
|
+
.close:hover {
|
|
2273
|
+
color: #0084b3;
|
|
2274
|
+
color: var(--color-content-accent-hover);
|
|
2275
|
+
-webkit-text-decoration: none;
|
|
2276
|
+
text-decoration: none;
|
|
2277
|
+
cursor: pointer;
|
|
2278
|
+
}
|
|
2279
|
+
.np-theme-personal .close:hover {
|
|
2280
|
+
color: var(--color-interactive-primary-hover);
|
|
2281
|
+
}
|
|
2282
|
+
.close:focus {
|
|
2283
|
+
outline: none;
|
|
2284
|
+
}
|
|
2285
|
+
.close:focus-visible {
|
|
2286
|
+
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
2287
|
+
outline-offset: var(--ring-outline-offset);
|
|
2288
|
+
}
|
|
2289
|
+
.close:active {
|
|
2290
|
+
color: #0077a5;
|
|
2291
|
+
color: var(--color-content-accent-active);
|
|
2292
|
+
}
|
|
2293
|
+
button.close {
|
|
2294
|
+
padding: 0;
|
|
2295
|
+
cursor: pointer;
|
|
2296
|
+
background: transparent;
|
|
2297
|
+
border: 0;
|
|
2298
|
+
-webkit-appearance: none;
|
|
2299
|
+
-moz-appearance: none;
|
|
2300
|
+
appearance: none;
|
|
2301
|
+
}
|
|
2302
|
+
.np-theme-personal button.close:hover {
|
|
2303
|
+
background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;
|
|
2304
|
+
background: initial;
|
|
2305
|
+
}
|
|
2306
2306
|
@media (min-width: 576px) {
|
|
2307
2307
|
.form-inline .form-group {
|
|
2308
2308
|
display: inline-block;
|
package/dist/css/neptune.css
CHANGED
|
@@ -5976,12 +5976,14 @@ tbody.collapse.in {
|
|
|
5976
5976
|
margin-top: 2px;
|
|
5977
5977
|
}
|
|
5978
5978
|
|
|
5979
|
-
.alert .close
|
|
5979
|
+
.alert .close,
|
|
5980
|
+
.alert .np-close-button {
|
|
5980
5981
|
margin-top: 4px;
|
|
5981
5982
|
margin-top: var(--size-4);
|
|
5982
5983
|
}
|
|
5983
5984
|
|
|
5984
|
-
.np-theme-personal .alert .close
|
|
5985
|
+
.np-theme-personal .alert .close,
|
|
5986
|
+
.np-theme-personal .alert .np-close-button {
|
|
5985
5987
|
margin-top: calc(8px * -1);
|
|
5986
5988
|
margin-top: calc(var(--size-8) * -1);
|
|
5987
5989
|
margin-right: calc(8px * -1);
|
|
@@ -12311,6 +12313,10 @@ html:not([dir="rtl"]) .np-theme-personal .input-group > :last-child .btn-group {
|
|
|
12311
12313
|
border: 0;
|
|
12312
12314
|
}
|
|
12313
12315
|
|
|
12316
|
+
/**
|
|
12317
|
+
* DEPRECATED: use <Circle /> component instead
|
|
12318
|
+
*/
|
|
12319
|
+
|
|
12314
12320
|
.circle {
|
|
12315
12321
|
display: flex;
|
|
12316
12322
|
align-items: center;
|
|
@@ -12380,12 +12386,6 @@ a.circle[style]:hover {
|
|
|
12380
12386
|
line-height: 48px;
|
|
12381
12387
|
}
|
|
12382
12388
|
|
|
12383
|
-
.circle .icon,
|
|
12384
|
-
.circle-sm .icon {
|
|
12385
|
-
font-size: 24px;
|
|
12386
|
-
line-height: 46px;
|
|
12387
|
-
}
|
|
12388
|
-
|
|
12389
12389
|
.circle-xs {
|
|
12390
12390
|
font-size: 10px;
|
|
12391
12391
|
width: 24px;
|
|
@@ -12393,11 +12393,6 @@ a.circle[style]:hover {
|
|
|
12393
12393
|
line-height: 24px;
|
|
12394
12394
|
}
|
|
12395
12395
|
|
|
12396
|
-
.circle-xs .icon {
|
|
12397
|
-
font-size: 14px;
|
|
12398
|
-
line-height: 22px;
|
|
12399
|
-
}
|
|
12400
|
-
|
|
12401
12396
|
.circle-md {
|
|
12402
12397
|
font-size: 24px;
|
|
12403
12398
|
width: 72px;
|
|
@@ -12405,11 +12400,6 @@ a.circle[style]:hover {
|
|
|
12405
12400
|
line-height: 72px;
|
|
12406
12401
|
}
|
|
12407
12402
|
|
|
12408
|
-
.circle-md .icon {
|
|
12409
|
-
font-size: 32px;
|
|
12410
|
-
line-height: 70px;
|
|
12411
|
-
}
|
|
12412
|
-
|
|
12413
12403
|
.circle-lg {
|
|
12414
12404
|
font-size: 32px;
|
|
12415
12405
|
width: 96px;
|
|
@@ -12417,11 +12407,6 @@ a.circle[style]:hover {
|
|
|
12417
12407
|
line-height: 96px;
|
|
12418
12408
|
}
|
|
12419
12409
|
|
|
12420
|
-
.circle-lg .icon {
|
|
12421
|
-
font-size: 40px;
|
|
12422
|
-
line-height: 94px;
|
|
12423
|
-
}
|
|
12424
|
-
|
|
12425
12410
|
a.circle,
|
|
12426
12411
|
a.circle .icon {
|
|
12427
12412
|
-webkit-text-decoration: none;
|
|
@@ -12499,11 +12484,6 @@ a.circle.active:hover {
|
|
|
12499
12484
|
background-color: var(--color-background-neutral);
|
|
12500
12485
|
}
|
|
12501
12486
|
|
|
12502
|
-
.circle-responsive.circle-lg .icon {
|
|
12503
|
-
font-size: 24px;
|
|
12504
|
-
line-height: 46px;
|
|
12505
|
-
}
|
|
12506
|
-
|
|
12507
12487
|
@media (min-width: 576px) {
|
|
12508
12488
|
.circle-responsive {
|
|
12509
12489
|
border-radius: 50%;
|
|
@@ -12517,22 +12497,12 @@ a.circle.active:hover {
|
|
|
12517
12497
|
height: 48px;
|
|
12518
12498
|
line-height: 48px;
|
|
12519
12499
|
}
|
|
12520
|
-
.circle-responsive.circle .icon,
|
|
12521
|
-
.circle-responsive.circle-sm .icon,
|
|
12522
|
-
.circle-responsive.circle-md .icon {
|
|
12523
|
-
font-size: 24px;
|
|
12524
|
-
line-height: 46px;
|
|
12525
|
-
}
|
|
12526
12500
|
.circle-responsive.circle-lg {
|
|
12527
12501
|
font-size: 24px;
|
|
12528
12502
|
width: 72px;
|
|
12529
12503
|
height: 72px;
|
|
12530
12504
|
line-height: 72px;
|
|
12531
12505
|
}
|
|
12532
|
-
.circle-responsive.circle-lg .icon {
|
|
12533
|
-
font-size: 32px;
|
|
12534
|
-
line-height: 70px;
|
|
12535
|
-
}
|
|
12536
12506
|
.circle-responsive.circle-inverse {
|
|
12537
12507
|
background-color: rgba(134,167,189,0.10196);
|
|
12538
12508
|
background-color: var(--color-background-neutral);
|
|
@@ -12546,20 +12516,12 @@ a.circle.active:hover {
|
|
|
12546
12516
|
height: 72px;
|
|
12547
12517
|
line-height: 72px;
|
|
12548
12518
|
}
|
|
12549
|
-
.circle-responsive.circle-md .icon {
|
|
12550
|
-
font-size: 32px;
|
|
12551
|
-
line-height: 70px;
|
|
12552
|
-
}
|
|
12553
12519
|
.circle-responsive.circle-lg {
|
|
12554
12520
|
font-size: 32px;
|
|
12555
12521
|
width: 96px;
|
|
12556
12522
|
height: 96px;
|
|
12557
12523
|
line-height: 96px;
|
|
12558
12524
|
}
|
|
12559
|
-
.circle-responsive.circle-lg .icon {
|
|
12560
|
-
font-size: 40px;
|
|
12561
|
-
line-height: 94px;
|
|
12562
|
-
}
|
|
12563
12525
|
}
|
|
12564
12526
|
|
|
12565
12527
|
.dropdown-menu li > .circle:first-child,
|
package/package.json
CHANGED
package/src/less/alerts.less
CHANGED
package/src/less/circles.less
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
@import (reference) "../variables/legacy-variables.less";
|
|
2
|
-
@import (reference) "./mixins/_circle.less";
|
|
3
2
|
@import (reference) "./mixins/_logical-properties.less";
|
|
4
3
|
|
|
4
|
+
/**
|
|
5
|
+
* DEPRECATED: use <Circle /> component instead
|
|
6
|
+
*/
|
|
7
|
+
|
|
5
8
|
@circle-xs-diameter: 24px;
|
|
6
9
|
@circle-sm-diameter: 48px;
|
|
7
10
|
@circle-md-diameter: 72px;
|
|
@@ -19,6 +22,13 @@
|
|
|
19
22
|
|
|
20
23
|
@circle-inverse-bg: var(--color-background-neutral);
|
|
21
24
|
|
|
25
|
+
.circle-variant(@diameter; @font-size; @icon-size) {
|
|
26
|
+
font-size: @font-size;
|
|
27
|
+
width: @diameter;
|
|
28
|
+
height: @diameter;
|
|
29
|
+
line-height: @diameter;
|
|
30
|
+
}
|
|
31
|
+
|
|
22
32
|
.circle {
|
|
23
33
|
display: flex;
|
|
24
34
|
align-items: center;
|