@transferwise/neptune-css 14.19.0 → 14.20.0
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.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.less +1336 -1
- package/dist/css/navbar-base.css +0 -1385
- package/src/less/mixins/_circle.less +0 -11
- package/src/less/navbar-base.less +0 -1338
package/dist/css/circles.css
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DEPRECATED: use <Circle /> component instead
|
|
3
|
+
*/
|
|
1
4
|
.circle {
|
|
2
5
|
display: flex;
|
|
3
6
|
align-items: center;
|
|
@@ -58,41 +61,24 @@ a.circle[style]:hover {
|
|
|
58
61
|
height: 48px;
|
|
59
62
|
line-height: 48px;
|
|
60
63
|
}
|
|
61
|
-
.circle .icon,
|
|
62
|
-
.circle-sm .icon {
|
|
63
|
-
font-size: 24px;
|
|
64
|
-
line-height: 46px;
|
|
65
|
-
}
|
|
66
64
|
.circle-xs {
|
|
67
65
|
font-size: 10px;
|
|
68
66
|
width: 24px;
|
|
69
67
|
height: 24px;
|
|
70
68
|
line-height: 24px;
|
|
71
69
|
}
|
|
72
|
-
.circle-xs .icon {
|
|
73
|
-
font-size: 14px;
|
|
74
|
-
line-height: 22px;
|
|
75
|
-
}
|
|
76
70
|
.circle-md {
|
|
77
71
|
font-size: 24px;
|
|
78
72
|
width: 72px;
|
|
79
73
|
height: 72px;
|
|
80
74
|
line-height: 72px;
|
|
81
75
|
}
|
|
82
|
-
.circle-md .icon {
|
|
83
|
-
font-size: 32px;
|
|
84
|
-
line-height: 70px;
|
|
85
|
-
}
|
|
86
76
|
.circle-lg {
|
|
87
77
|
font-size: 32px;
|
|
88
78
|
width: 96px;
|
|
89
79
|
height: 96px;
|
|
90
80
|
line-height: 96px;
|
|
91
81
|
}
|
|
92
|
-
.circle-lg .icon {
|
|
93
|
-
font-size: 40px;
|
|
94
|
-
line-height: 94px;
|
|
95
|
-
}
|
|
96
82
|
a.circle,
|
|
97
83
|
a.circle .icon {
|
|
98
84
|
-webkit-text-decoration: none;
|
|
@@ -159,10 +145,6 @@ a.circle.active:hover {
|
|
|
159
145
|
background-color: rgba(134,167,189,0.10196);
|
|
160
146
|
background-color: var(--color-background-neutral);
|
|
161
147
|
}
|
|
162
|
-
.circle-responsive.circle-lg .icon {
|
|
163
|
-
font-size: 24px;
|
|
164
|
-
line-height: 46px;
|
|
165
|
-
}
|
|
166
148
|
@media (min-width: 576px) {
|
|
167
149
|
.circle-responsive {
|
|
168
150
|
border-radius: 50%;
|
|
@@ -176,22 +158,12 @@ a.circle.active:hover {
|
|
|
176
158
|
height: 48px;
|
|
177
159
|
line-height: 48px;
|
|
178
160
|
}
|
|
179
|
-
.circle-responsive.circle .icon,
|
|
180
|
-
.circle-responsive.circle-sm .icon,
|
|
181
|
-
.circle-responsive.circle-md .icon {
|
|
182
|
-
font-size: 24px;
|
|
183
|
-
line-height: 46px;
|
|
184
|
-
}
|
|
185
161
|
.circle-responsive.circle-lg {
|
|
186
162
|
font-size: 24px;
|
|
187
163
|
width: 72px;
|
|
188
164
|
height: 72px;
|
|
189
165
|
line-height: 72px;
|
|
190
166
|
}
|
|
191
|
-
.circle-responsive.circle-lg .icon {
|
|
192
|
-
font-size: 32px;
|
|
193
|
-
line-height: 70px;
|
|
194
|
-
}
|
|
195
167
|
.circle-responsive.circle-inverse {
|
|
196
168
|
background-color: rgba(134,167,189,0.10196);
|
|
197
169
|
background-color: var(--color-background-neutral);
|
|
@@ -204,20 +176,12 @@ a.circle.active:hover {
|
|
|
204
176
|
height: 72px;
|
|
205
177
|
line-height: 72px;
|
|
206
178
|
}
|
|
207
|
-
.circle-responsive.circle-md .icon {
|
|
208
|
-
font-size: 32px;
|
|
209
|
-
line-height: 70px;
|
|
210
|
-
}
|
|
211
179
|
.circle-responsive.circle-lg {
|
|
212
180
|
font-size: 32px;
|
|
213
181
|
width: 96px;
|
|
214
182
|
height: 96px;
|
|
215
183
|
line-height: 96px;
|
|
216
184
|
}
|
|
217
|
-
.circle-responsive.circle-lg .icon {
|
|
218
|
-
font-size: 40px;
|
|
219
|
-
line-height: 94px;
|
|
220
|
-
}
|
|
221
185
|
}
|
|
222
186
|
.dropdown-menu li > .circle:first-child,
|
|
223
187
|
.dropdown-menu li > a > .circle:first-child {
|
package/dist/css/navbar.css
CHANGED
|
@@ -890,6 +890,53 @@ 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
|
+
}
|
|
893
940
|
.navbar {
|
|
894
941
|
position: relative;
|
|
895
942
|
font-size: 0.875rem;
|
|
@@ -2256,53 +2303,6 @@ html:not([dir="rtl"]) .nav-stacked > li.active > a:focus {
|
|
|
2256
2303
|
}
|
|
2257
2304
|
}
|
|
2258
2305
|
/* 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;
|