@transferwise/neptune-css 0.0.0-experimental-2d03128 → 0.0.0-experimental-e6f7234
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 +2 -0
- package/dist/css/alerts.css +5 -0
- package/dist/css/border-radius.css +0 -8
- package/dist/css/button-groups.css +1 -0
- package/dist/css/buttons.css +2 -0
- package/dist/css/circles.css +2 -0
- package/dist/css/decision.css +1 -0
- package/dist/css/dropdowns.css +13 -0
- package/dist/css/droppable.css +1 -0
- package/dist/css/flex.css +253 -417
- package/dist/css/footer.css +1 -0
- package/dist/css/grid.css +4 -0
- package/dist/css/input-groups.css +13 -0
- package/dist/css/list-group.css +1 -0
- package/dist/css/navbar.css +172 -88
- package/dist/css/neptune-addons.css +893 -421
- package/dist/css/neptune-core.css +201 -163
- package/dist/css/neptune-social-media.css +1 -0
- package/dist/css/neptune.css +15832 -14449
- package/dist/css/popovers.css +8 -0
- package/dist/css/progress-bars.css +6 -6
- package/dist/css/tooltip.css +1 -0
- package/dist/css/utilities.css +72 -1202
- package/package.json +1 -1
- package/src/less/addons/_display-utilities.less +159 -0
- package/src/less/addons/_spacing-utilities.less +26 -3
- package/src/less/addons/_utilities.less +147 -0
- package/src/less/border-radius.less +3 -1
- package/src/less/core/_scaffolding.less +27 -7
- package/src/less/core/_typography-utilities.less +237 -17
- package/src/less/flex.less +18 -9
- package/src/less/{addons → mixins}/_center-block.less +4 -2
- package/src/less/mixins/_flex.less +105 -0
- package/src/less/navbar.less +1338 -11
- package/src/less/neptune-addons.less +1 -4
- package/src/less/neptune.bundle.less +1 -3
- package/src/less/progress-bars.less +2 -2
- package/src/less/utilities.less +141 -29
- package/dist/css/navbar-base.css +0 -1209
- package/src/less/navbar-base.less +0 -1338
- package/src/less/utilities/align-items.less +0 -107
- package/src/less/utilities/align-self.less +0 -107
- package/src/less/utilities/border-radius.less +0 -11
- package/src/less/utilities/color.less +0 -70
- package/src/less/utilities/cursor.less +0 -3
- package/src/less/utilities/display.less +0 -178
- package/src/less/utilities/flex-direction.less +0 -47
- package/src/less/utilities/flex-grow.less +0 -27
- package/src/less/utilities/flex-wrap.less +0 -47
- package/src/less/utilities/float.less +0 -77
- package/src/less/utilities/font-weight.less +0 -11
- package/src/less/utilities/gap.less +0 -3
- package/src/less/utilities/justify-content.less +0 -107
- package/src/less/utilities/margin.less +0 -192
- package/src/less/utilities/max-width.less +0 -3
- package/src/less/utilities/order.less +0 -87
- package/src/less/utilities/outline-style.less +0 -8
- package/src/less/utilities/overflow-wrap.less +0 -3
- package/src/less/utilities/padding.less +0 -179
- package/src/less/utilities/position.less +0 -3
- package/src/less/utilities/rotate.less +0 -12
- package/src/less/utilities/screen-reader.less +0 -24
- package/src/less/utilities/text-align.less +0 -87
- package/src/less/utilities/text-decoration-line.less +0 -8
- package/src/less/utilities/text-overflow.less +0 -7
- package/src/less/utilities/text-transform.less +0 -11
- package/src/less/utilities/visibility.less +0 -3
- package/src/less/utilities/white-space.less +0 -27
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
@import "./addons/_background-utilities.less";
|
|
2
|
+
@import "./addons/_display-utilities.less";
|
|
2
3
|
@import "./addons/_spacing-utilities.less";
|
|
3
4
|
@import "./addons/_border.less";
|
|
4
|
-
|
|
5
|
-
/* TODO: Remove utility imports to prevent duplicates */
|
|
6
|
-
@import "./utilities/display.less";
|
|
7
|
-
@import "./utilities/outline-style.less";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@import (reference) "./mixins/_logical-properties.less";
|
|
3
3
|
|
|
4
4
|
.progress {
|
|
5
|
-
--progress-bar-height:
|
|
5
|
+
--progress-bar-height: 4px;
|
|
6
6
|
--progress-bar-border-width: 4px;
|
|
7
7
|
// Progress bar starts with left/right (depends on rtl) shift `--progress-bar-start-shift` for hiding Progress bar's left and right borders which are used for progress vertical delimiter.
|
|
8
8
|
--progress-bar-start-shift: calc(var(--progress-bar-border-width) * 2);
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
margin-top: calc((var(--size-24) - var(--progress-bar-height)) / 2);
|
|
12
12
|
margin-bottom: calc((var(--size-24) - var(--progress-bar-height)) / 2);
|
|
13
13
|
background-color: var(--color-interactive-secondary);
|
|
14
|
-
border-radius: var(--progress-bar-height);
|
|
14
|
+
border-radius: calc(var(--progress-bar-border-width) + var(--progress-bar-height));
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.progress-bar {
|
package/src/less/utilities.less
CHANGED
|
@@ -1,41 +1,153 @@
|
|
|
1
1
|
@import (reference) "../variables/legacy-variables.less";
|
|
2
2
|
@import (reference) "./mixins/_clearfix.less";
|
|
3
|
+
@import (reference) "./mixins/_center-block.less";
|
|
3
4
|
@import (reference) "./mixins/_hide-text.less";
|
|
5
|
+
@import (reference) "./mixins/_logical-properties.less";
|
|
4
6
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
@import "./utilities/flex-direction.less";
|
|
13
|
-
@import "./utilities/flex-grow.less";
|
|
14
|
-
@import "./utilities/flex-wrap.less";
|
|
15
|
-
@import "./utilities/float.less";
|
|
16
|
-
@import "./utilities/font-weight.less";
|
|
17
|
-
@import "./utilities/gap.less";
|
|
18
|
-
@import "./utilities/justify-content.less";
|
|
19
|
-
@import "./utilities/margin.less";
|
|
20
|
-
@import "./utilities/max-width.less";
|
|
21
|
-
@import "./utilities/order.less";
|
|
22
|
-
@import "./utilities/outline-style.less";
|
|
23
|
-
@import "./utilities/overflow-wrap.less";
|
|
24
|
-
@import "./utilities/padding.less";
|
|
25
|
-
@import "./utilities/position.less";
|
|
26
|
-
@import "./utilities/rotate.less";
|
|
27
|
-
@import "./utilities/screen-reader.less";
|
|
28
|
-
@import "./utilities/text-align.less";
|
|
29
|
-
@import "./utilities/text-decoration-line.less";
|
|
30
|
-
@import "./utilities/text-overflow.less";
|
|
31
|
-
@import "./utilities/text-transform.less";
|
|
32
|
-
@import "./utilities/visibility.less";
|
|
33
|
-
@import "./utilities/white-space.less";
|
|
7
|
+
.d-inline-block {
|
|
8
|
+
display: inline-block;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.d-inline {
|
|
12
|
+
display: inline;
|
|
13
|
+
}
|
|
34
14
|
|
|
35
15
|
.clearfix {
|
|
36
16
|
.clearfix();
|
|
37
17
|
}
|
|
38
18
|
|
|
19
|
+
.center-block {
|
|
20
|
+
.center-block();
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.pull-right,
|
|
24
|
+
.pull-xs-right {
|
|
25
|
+
.float(right) !important;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.pull-left,
|
|
29
|
+
.pull-xs-left {
|
|
30
|
+
.float(left) !important;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.pull-xs-none {
|
|
34
|
+
float: none !important;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@media (--screen-sm) {
|
|
38
|
+
.pull-sm-left {
|
|
39
|
+
.float(left) !important;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.pull-sm-right {
|
|
43
|
+
.float(right) !important;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.pull-sm-none {
|
|
47
|
+
float: none !important;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@media (--screen-md) {
|
|
52
|
+
.pull-md-left {
|
|
53
|
+
.float(left) !important;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.pull-md-right {
|
|
57
|
+
.float(right) !important;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.pull-md-none {
|
|
61
|
+
float: none !important;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@media (--screen-lg) {
|
|
66
|
+
.pull-lg-left {
|
|
67
|
+
.float(left) !important;
|
|
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) {
|
|
80
|
+
.pull-xl-left {
|
|
81
|
+
.float(left) !important;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.pull-xl-right {
|
|
85
|
+
.float(right) !important;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.pull-xl-none {
|
|
89
|
+
float: none !important;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
// Floats not changing direction on RTL.
|
|
94
|
+
|
|
95
|
+
.pull-left-single-direction {
|
|
96
|
+
float: left !important;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.pull-right-single-direction {
|
|
100
|
+
float: right !important;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// Toggling content
|
|
104
|
+
// -------------------------
|
|
105
|
+
|
|
106
|
+
// Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
|
|
107
|
+
|
|
108
|
+
.hide {
|
|
109
|
+
display: none !important;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.show {
|
|
113
|
+
display: block !important;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.invisible {
|
|
117
|
+
visibility: hidden;
|
|
118
|
+
}
|
|
119
|
+
|
|
39
120
|
.text-hide {
|
|
40
121
|
.text-hide();
|
|
41
122
|
}
|
|
123
|
+
|
|
124
|
+
// Hide from screenreaders and browsers
|
|
125
|
+
//
|
|
126
|
+
// Credit: HTML5 Boilerplate
|
|
127
|
+
|
|
128
|
+
.hidden {
|
|
129
|
+
display: none !important;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// For Affix plugin
|
|
133
|
+
// -------------------------
|
|
134
|
+
|
|
135
|
+
.affix {
|
|
136
|
+
position: fixed;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.rotate90 {
|
|
140
|
+
transform: rotate(90deg);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.rotate180 {
|
|
144
|
+
transform: rotate(180deg);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.rotate270 {
|
|
148
|
+
transform: rotate(270deg);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.rotate-90 {
|
|
152
|
+
transform: rotate(-90deg);
|
|
153
|
+
}
|