@transferwise/neptune-css 14.27.2 → 14.28.1
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/accordion.css +4 -4
- package/dist/css/button-groups.css +6 -6
- package/dist/css/buttons.css +1 -1
- package/dist/css/circles.css +1 -1
- package/dist/css/column-layout.css +4 -4
- package/dist/css/decision.css +4 -4
- package/dist/css/dropdowns.css +10 -10
- package/dist/css/droppable.css +8 -8
- package/dist/css/flex.css +13 -15
- package/dist/css/footer.css +3 -3
- package/dist/css/grid.css +19 -19
- package/dist/css/input-groups.css +12 -12
- package/dist/css/list-group.css +8 -8
- package/dist/css/modals.css +3 -3
- package/dist/css/navbar.css +62 -62
- package/dist/css/navs.css +2 -2
- package/dist/css/neptune-addons.css +37 -53
- package/dist/css/neptune-core.css +27 -43
- package/dist/css/neptune.css +267 -335
- package/dist/css/panels.css +9 -9
- package/dist/css/popovers.css +13 -13
- package/dist/css/select.css +1 -1
- package/dist/css/sequences.css +6 -6
- package/dist/css/table.css +6 -6
- package/dist/css/utilities.css +8 -20
- package/dist/css/wells.css +4 -18
- package/dist/less/legacy-variables.less +34 -47
- package/dist/less/neptune-tokens.less +2 -2
- package/dist/props/custom-media.css +23 -11
- package/dist/props/neptune-tokens.css +1 -1
- package/package.json +6 -2
- package/src/less/addons/_display-utilities.less +13 -27
- package/src/less/core/_typography-utilities.less +10 -22
- package/src/less/flex.less +1 -3
- package/src/less/neptune.bundle.less +1 -0
- package/src/less/popovers.less +6 -6
- package/src/less/utilities.less +6 -14
- package/src/less/wells.less +3 -5
- package/src/props/custom-media.css +1 -11
- package/src/variables/legacy-variables.less +4 -47
|
@@ -73,44 +73,32 @@
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
@media (--screen-lg) {
|
|
76
|
-
.text-lg-left
|
|
77
|
-
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.text-lg-right {
|
|
81
|
-
.text-align(right);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.text-lg-center {
|
|
85
|
-
text-align: center;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.text-lg-justify {
|
|
89
|
-
text-align: justify;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.text-lg-nowrap {
|
|
93
|
-
white-space: nowrap;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
@media (--screen-xl) {
|
|
76
|
+
.text-lg-left,
|
|
77
|
+
/// @deprecated
|
|
98
78
|
.text-xl-left {
|
|
99
79
|
.text-align(left);
|
|
100
80
|
}
|
|
101
81
|
|
|
82
|
+
.text-lg-right,
|
|
83
|
+
/// @deprecated
|
|
102
84
|
.text-xl-right {
|
|
103
85
|
.text-align(right);
|
|
104
86
|
}
|
|
105
87
|
|
|
88
|
+
.text-lg-center,
|
|
89
|
+
/// @deprecated
|
|
106
90
|
.text-xl-center {
|
|
107
91
|
text-align: center;
|
|
108
92
|
}
|
|
109
93
|
|
|
94
|
+
.text-lg-justify,
|
|
95
|
+
/// @deprecated
|
|
110
96
|
.text-xl-justify {
|
|
111
97
|
text-align: justify;
|
|
112
98
|
}
|
|
113
99
|
|
|
100
|
+
.text-lg-nowrap,
|
|
101
|
+
/// @deprecated
|
|
114
102
|
.text-xl-nowrap {
|
|
115
103
|
white-space: nowrap;
|
|
116
104
|
}
|
package/src/less/flex.less
CHANGED
package/src/less/popovers.less
CHANGED
|
@@ -335,13 +335,13 @@
|
|
|
335
335
|
text-align: center;
|
|
336
336
|
padding: var(--size-24);
|
|
337
337
|
|
|
338
|
-
@media (
|
|
338
|
+
@media (--screen-xs-max) {
|
|
339
339
|
width: auto !important;
|
|
340
340
|
padding: var(--size-24) !important;
|
|
341
341
|
margin: var(--size-16) !important;
|
|
342
342
|
}
|
|
343
343
|
|
|
344
|
-
@media (min-width: (@screen-sm-min - 10px)) and (
|
|
344
|
+
@media (min-width: (@screen-sm-min - 10px)) and (--screen-md-max) {
|
|
345
345
|
width: 540px !important;
|
|
346
346
|
padding: 28px var(--size-32) !important;
|
|
347
347
|
margin: var(--size-32) auto !important;
|
|
@@ -351,18 +351,18 @@
|
|
|
351
351
|
font-size: var(--font-size-16);
|
|
352
352
|
line-height: var(--line-height-title);
|
|
353
353
|
|
|
354
|
-
@media (
|
|
354
|
+
@media (--screen-md) {
|
|
355
355
|
font-size: var(--font-size-20);
|
|
356
356
|
line-height: var(--line-height-title);
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
359
|
|
|
360
360
|
.popover-image {
|
|
361
|
-
@media (
|
|
361
|
+
@media (--screen-400-zoom) {
|
|
362
362
|
width: 80%;
|
|
363
363
|
}
|
|
364
364
|
|
|
365
|
-
@media (
|
|
365
|
+
@media (--screen-xs) and (--screen-md-max) {
|
|
366
366
|
width: 60%;
|
|
367
367
|
}
|
|
368
368
|
|
|
@@ -372,7 +372,7 @@
|
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
374
|
|
|
375
|
-
@media (
|
|
375
|
+
@media (--screen-md-max) {
|
|
376
376
|
.popover-promotion {
|
|
377
377
|
position: absolute !important;
|
|
378
378
|
}
|
package/src/less/utilities.less
CHANGED
|
@@ -63,28 +63,20 @@
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
@media (--screen-lg) {
|
|
66
|
-
.pull-lg-left
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.pull-lg-right {
|
|
71
|
-
.float(right) !important;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.pull-lg-none {
|
|
75
|
-
float: none !important;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
@media (--screen-xl) {
|
|
66
|
+
.pull-lg-left,
|
|
67
|
+
/// @deprecated
|
|
80
68
|
.pull-xl-left {
|
|
81
69
|
.float(left) !important;
|
|
82
70
|
}
|
|
83
71
|
|
|
72
|
+
.pull-lg-right,
|
|
73
|
+
/// @deprecated
|
|
84
74
|
.pull-xl-right {
|
|
85
75
|
.float(right) !important;
|
|
86
76
|
}
|
|
87
77
|
|
|
78
|
+
.pull-lg-none,
|
|
79
|
+
/// @deprecated
|
|
88
80
|
.pull-xl-none {
|
|
89
81
|
float: none !important;
|
|
90
82
|
}
|
package/src/less/wells.less
CHANGED
|
@@ -1,11 +1 @@
|
|
|
1
|
-
@
|
|
2
|
-
@custom-media --screen-xs-max (max-width: 575px); /* --screen-sm - 1 */
|
|
3
|
-
@custom-media --screen-sm (min-width: 576px);
|
|
4
|
-
@custom-media --screen-sm-max (max-width: 767px); /* --screen-md - 1 */
|
|
5
|
-
@custom-media --screen-md (min-width: 768px);
|
|
6
|
-
@custom-media --screen-md-max (max-width: 991px); /* --screen-lg - 1 */
|
|
7
|
-
@custom-media --screen-lg (min-width: 992px);
|
|
8
|
-
@custom-media --screen-lg-max (max-width: 1199px); /* --screen-xl - 1 */
|
|
9
|
-
@custom-media --screen-xl (min-width: 1200px);
|
|
10
|
-
|
|
11
|
-
@custom-media --screen-400-zoom (max-width: 320px); /* ~400% zoom viewport */
|
|
1
|
+
@import "@transferwise/neptune-tokens/breakpoints.css";
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
// Variables
|
|
3
3
|
// --------------------------------------------------
|
|
4
4
|
|
|
5
|
+
//== Media queries breakpoints
|
|
6
|
+
@import "@transferwise/neptune-tokens/breakpoints.less";
|
|
7
|
+
|
|
5
8
|
//== Colors
|
|
6
9
|
// Deprecated use Neptune Colors https://transferwise.github.io/neptune-web/styles/tokens/Colors
|
|
7
10
|
//
|
|
@@ -588,52 +591,6 @@
|
|
|
588
591
|
@zindex-mobile-nav: 1060;
|
|
589
592
|
|
|
590
593
|
|
|
591
|
-
//== Media queries breakpoints
|
|
592
|
-
//
|
|
593
|
-
//## Define the breakpoints at which your layout will change, adapting to different screen sizes.
|
|
594
|
-
|
|
595
|
-
// Extra small screen / phone
|
|
596
|
-
//** Deprecated `@screen-xs` as of v3.0.1
|
|
597
|
-
@screen-xs: 480px;
|
|
598
|
-
//** Deprecated `@screen-xs-min` as of v3.2.0
|
|
599
|
-
@screen-xs-min: @screen-xs;
|
|
600
|
-
//** Deprecated `@screen-phone` as of v3.0.1
|
|
601
|
-
@screen-phone: @screen-xs-min;
|
|
602
|
-
|
|
603
|
-
// Small screen / tablet
|
|
604
|
-
//** Deprecated `@screen-sm` as of v3.0.1
|
|
605
|
-
@screen-sm: 576px;
|
|
606
|
-
@screen-sm-min: @screen-sm;
|
|
607
|
-
//** Deprecated `@screen-tablet` as of v3.0.1
|
|
608
|
-
@screen-tablet: @screen-sm-min;
|
|
609
|
-
|
|
610
|
-
// Medium screen / desktop
|
|
611
|
-
//** Deprecated `@screen-md` as of v3.0.1
|
|
612
|
-
@screen-md: 768px;
|
|
613
|
-
@screen-md-min: @screen-md;
|
|
614
|
-
//** Deprecated `@screen-desktop` as of v3.0.1
|
|
615
|
-
@screen-desktop: @screen-md-min;
|
|
616
|
-
|
|
617
|
-
// Large screen / wide desktop
|
|
618
|
-
//** Deprecated `@screen-lg` as of v3.0.1
|
|
619
|
-
@screen-lg: 992px;
|
|
620
|
-
@screen-lg-min: @screen-lg;
|
|
621
|
-
//** Deprecated `@screen-lg-desktop` as of v3.0.1
|
|
622
|
-
@screen-lg-desktop: @screen-lg-min;
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
// Extra Large screen / wide desktop
|
|
626
|
-
//** Deprecated `@screen-lg` as of v3.0.1
|
|
627
|
-
@screen-xl: 1200px;
|
|
628
|
-
@screen-xl-min: @screen-xl;
|
|
629
|
-
|
|
630
|
-
// So media queries don't overlap when required, provide a maximum
|
|
631
|
-
@screen-xs-max: (@screen-sm-min - 1);
|
|
632
|
-
@screen-sm-max: (@screen-md-min - 1);
|
|
633
|
-
@screen-md-max: (@screen-lg-min - 1);
|
|
634
|
-
@screen-lg-max: (@screen-xl-min - 1);
|
|
635
|
-
|
|
636
|
-
|
|
637
594
|
//== Grid system
|
|
638
595
|
//
|
|
639
596
|
//## Define your custom responsive grid.
|
|
@@ -1296,4 +1253,4 @@
|
|
|
1296
1253
|
@decision-focus-transition: @transition-duration;
|
|
1297
1254
|
@decision-padding-md: 12px;
|
|
1298
1255
|
@decision-padding-lg: 24px;
|
|
1299
|
-
@decision-border: 1px solid @brand-smoke-plus-10;
|
|
1256
|
+
@decision-border: 1px solid @brand-smoke-plus-10;
|