@transferwise/neptune-css 0.0.0-experimental-b3f4bb2 → 0.0.0-experimental-b8a9275
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/circles.css +3 -39
- package/dist/css/navbar-base.css +1385 -0
- package/dist/css/navbar.css +47 -47
- package/dist/css/neptune.css +4 -44
- package/package.json +1 -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
|
@@ -12311,6 +12311,10 @@ html:not([dir="rtl"]) .np-theme-personal .input-group > :last-child .btn-group {
|
|
|
12311
12311
|
border: 0;
|
|
12312
12312
|
}
|
|
12313
12313
|
|
|
12314
|
+
/**
|
|
12315
|
+
* DEPRECATED: use <Circle /> component instead
|
|
12316
|
+
*/
|
|
12317
|
+
|
|
12314
12318
|
.circle {
|
|
12315
12319
|
display: flex;
|
|
12316
12320
|
align-items: center;
|
|
@@ -12380,12 +12384,6 @@ a.circle[style]:hover {
|
|
|
12380
12384
|
line-height: 48px;
|
|
12381
12385
|
}
|
|
12382
12386
|
|
|
12383
|
-
.circle .icon,
|
|
12384
|
-
.circle-sm .icon {
|
|
12385
|
-
font-size: 24px;
|
|
12386
|
-
line-height: 46px;
|
|
12387
|
-
}
|
|
12388
|
-
|
|
12389
12387
|
.circle-xs {
|
|
12390
12388
|
font-size: 10px;
|
|
12391
12389
|
width: 24px;
|
|
@@ -12393,11 +12391,6 @@ a.circle[style]:hover {
|
|
|
12393
12391
|
line-height: 24px;
|
|
12394
12392
|
}
|
|
12395
12393
|
|
|
12396
|
-
.circle-xs .icon {
|
|
12397
|
-
font-size: 14px;
|
|
12398
|
-
line-height: 22px;
|
|
12399
|
-
}
|
|
12400
|
-
|
|
12401
12394
|
.circle-md {
|
|
12402
12395
|
font-size: 24px;
|
|
12403
12396
|
width: 72px;
|
|
@@ -12405,11 +12398,6 @@ a.circle[style]:hover {
|
|
|
12405
12398
|
line-height: 72px;
|
|
12406
12399
|
}
|
|
12407
12400
|
|
|
12408
|
-
.circle-md .icon {
|
|
12409
|
-
font-size: 32px;
|
|
12410
|
-
line-height: 70px;
|
|
12411
|
-
}
|
|
12412
|
-
|
|
12413
12401
|
.circle-lg {
|
|
12414
12402
|
font-size: 32px;
|
|
12415
12403
|
width: 96px;
|
|
@@ -12417,11 +12405,6 @@ a.circle[style]:hover {
|
|
|
12417
12405
|
line-height: 96px;
|
|
12418
12406
|
}
|
|
12419
12407
|
|
|
12420
|
-
.circle-lg .icon {
|
|
12421
|
-
font-size: 40px;
|
|
12422
|
-
line-height: 94px;
|
|
12423
|
-
}
|
|
12424
|
-
|
|
12425
12408
|
a.circle,
|
|
12426
12409
|
a.circle .icon {
|
|
12427
12410
|
-webkit-text-decoration: none;
|
|
@@ -12499,11 +12482,6 @@ a.circle.active:hover {
|
|
|
12499
12482
|
background-color: var(--color-background-neutral);
|
|
12500
12483
|
}
|
|
12501
12484
|
|
|
12502
|
-
.circle-responsive.circle-lg .icon {
|
|
12503
|
-
font-size: 24px;
|
|
12504
|
-
line-height: 46px;
|
|
12505
|
-
}
|
|
12506
|
-
|
|
12507
12485
|
@media (min-width: 576px) {
|
|
12508
12486
|
.circle-responsive {
|
|
12509
12487
|
border-radius: 50%;
|
|
@@ -12517,22 +12495,12 @@ a.circle.active:hover {
|
|
|
12517
12495
|
height: 48px;
|
|
12518
12496
|
line-height: 48px;
|
|
12519
12497
|
}
|
|
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
12498
|
.circle-responsive.circle-lg {
|
|
12527
12499
|
font-size: 24px;
|
|
12528
12500
|
width: 72px;
|
|
12529
12501
|
height: 72px;
|
|
12530
12502
|
line-height: 72px;
|
|
12531
12503
|
}
|
|
12532
|
-
.circle-responsive.circle-lg .icon {
|
|
12533
|
-
font-size: 32px;
|
|
12534
|
-
line-height: 70px;
|
|
12535
|
-
}
|
|
12536
12504
|
.circle-responsive.circle-inverse {
|
|
12537
12505
|
background-color: rgba(134,167,189,0.10196);
|
|
12538
12506
|
background-color: var(--color-background-neutral);
|
|
@@ -12546,20 +12514,12 @@ a.circle.active:hover {
|
|
|
12546
12514
|
height: 72px;
|
|
12547
12515
|
line-height: 72px;
|
|
12548
12516
|
}
|
|
12549
|
-
.circle-responsive.circle-md .icon {
|
|
12550
|
-
font-size: 32px;
|
|
12551
|
-
line-height: 70px;
|
|
12552
|
-
}
|
|
12553
12517
|
.circle-responsive.circle-lg {
|
|
12554
12518
|
font-size: 32px;
|
|
12555
12519
|
width: 96px;
|
|
12556
12520
|
height: 96px;
|
|
12557
12521
|
line-height: 96px;
|
|
12558
12522
|
}
|
|
12559
|
-
.circle-responsive.circle-lg .icon {
|
|
12560
|
-
font-size: 40px;
|
|
12561
|
-
line-height: 94px;
|
|
12562
|
-
}
|
|
12563
12523
|
}
|
|
12564
12524
|
|
|
12565
12525
|
.dropdown-menu li > .circle:first-child,
|
package/package.json
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;
|