@transferwise/neptune-css 0.0.0-experimental-d672ed6 → 0.0.0-experimental-0e8eafd
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/border-radius.css +1 -1
- package/dist/css/flex.css +1 -1
- package/dist/css/navbar-base.css +1 -1
- package/dist/css/navbar.css +1 -1
- package/dist/css/neptune-addons.css +1 -1
- package/dist/css/neptune-core.css +1 -1
- package/dist/css/neptune.css +1 -1
- package/dist/css/utilities.css +1 -1
- 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 +33 -4
- package/src/less/core/_typography-utilities.less +241 -15
- 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 +2 -10
- package/src/less/neptune-addons.less +1 -4
- package/src/less/utilities.less +141 -30
- package/src/less/utilities/align-items.less +0 -139
- package/src/less/utilities/align-self.less +0 -139
- 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 -333
- package/src/less/utilities/flex-direction.less +0 -55
- package/src/less/utilities/flex-grow.less +0 -27
- package/src/less/utilities/flex-wrap.less +0 -55
- package/src/less/utilities/float.less +0 -93
- package/src/less/utilities/font-style.less +0 -3
- 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 -139
- package/src/less/utilities/margin.less +0 -192
- package/src/less/utilities/max-width.less +0 -3
- package/src/less/utilities/order.less +0 -111
- 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 -111
- 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
|
@@ -3,21 +3,247 @@
|
|
|
3
3
|
@import (reference) "../mixins/_links.less";
|
|
4
4
|
@import "../mixins/_text-emphasis.less";
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
6
|
+
// Deprecated classes in next iterations.
|
|
7
|
+
|
|
8
|
+
//.text-danger (Replaced by .text-negative)
|
|
9
|
+
//.text-success( Replaced by .text-positive)
|
|
10
|
+
|
|
11
|
+
.text-xs-left {
|
|
12
|
+
.text-align(left);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.text-xs-right {
|
|
16
|
+
.text-align(right);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.text-xs-center {
|
|
20
|
+
text-align: center;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.text-xs-justify {
|
|
24
|
+
text-align: justify;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.text-xs-nowrap {
|
|
28
|
+
white-space: nowrap;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@media (--screen-sm) {
|
|
32
|
+
.text-sm-left {
|
|
33
|
+
.text-align(left);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.text-sm-right {
|
|
37
|
+
.text-align(right);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.text-sm-center {
|
|
41
|
+
text-align: center;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.text-sm-justify {
|
|
45
|
+
text-align: justify;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.text-sm-nowrap {
|
|
49
|
+
white-space: nowrap;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@media (--screen-md) {
|
|
54
|
+
.text-md-left {
|
|
55
|
+
.text-align(left);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.text-md-right {
|
|
59
|
+
.text-align(right);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.text-md-center {
|
|
63
|
+
text-align: center;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.text-md-justify {
|
|
67
|
+
text-align: justify;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.text-md-nowrap {
|
|
71
|
+
white-space: nowrap;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@media (--screen-lg) {
|
|
76
|
+
.text-lg-left {
|
|
77
|
+
.text-align(left);
|
|
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) {
|
|
98
|
+
.text-xl-left {
|
|
99
|
+
.text-align(left);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.text-xl-right {
|
|
103
|
+
.text-align(right);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.text-xl-center {
|
|
107
|
+
text-align: center;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.text-xl-justify {
|
|
111
|
+
text-align: justify;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.text-xl-nowrap {
|
|
115
|
+
white-space: nowrap;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.text-lowercase {
|
|
120
|
+
text-transform: lowercase;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.text-uppercase {
|
|
124
|
+
text-transform: uppercase;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.text-capitalize {
|
|
128
|
+
text-transform: capitalize;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.text-underline {
|
|
132
|
+
.link-underline(true);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.text-no-decoration {
|
|
136
|
+
text-decoration: none !important;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.text-ellipsis,
|
|
140
|
+
.text-ellipses {
|
|
141
|
+
display: block;
|
|
142
|
+
text-overflow: ellipsis;
|
|
143
|
+
white-space: nowrap;
|
|
144
|
+
overflow: hidden;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.text-max-width {
|
|
148
|
+
max-width: 600px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.text-word-break {
|
|
152
|
+
word-break: break-all;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.font-weight-bold {
|
|
156
|
+
font-weight: var(--font-weight-bold) !important;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.font-weight-semi-bold {
|
|
160
|
+
font-weight: var(--font-weight-semi-bold) !important;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.font-weight-normal {
|
|
164
|
+
font-weight: var(--font-weight-regular) !important;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.font-italic {
|
|
168
|
+
font-style: italic !important;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
// Contextual colors `.text-*`
|
|
172
|
+
|
|
173
|
+
.text-primary {
|
|
174
|
+
.text-emphasis-variant(var(--color-content-primary), var(--color-content-primary), var(--color-content-primary));
|
|
175
|
+
|
|
176
|
+
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
177
|
+
.bg-primary & {
|
|
178
|
+
color: @color-navy-content-primary !important;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.text-secondary {
|
|
183
|
+
color: var(--color-content-secondary) !important;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.text-positive,
|
|
187
|
+
.text-success {
|
|
188
|
+
.text-emphasis-variant(
|
|
189
|
+
var(--color-content-positive),
|
|
190
|
+
var(--color-content-positive),
|
|
191
|
+
var(--color-content-positive-hover)
|
|
192
|
+
);
|
|
193
|
+
|
|
194
|
+
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
195
|
+
.bg-primary & {
|
|
196
|
+
color: @color-navy-content-positive !important;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.text-accent,
|
|
201
|
+
.text-info {
|
|
202
|
+
.text-emphasis-variant(var(--color-content-accent), var(--color-content-accent), var(--color-content-accent-hover));
|
|
203
|
+
color: var(--color-interactive-primary) !important;
|
|
204
|
+
|
|
205
|
+
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
206
|
+
.bg-primary & {
|
|
207
|
+
color: @color-navy-content-accent !important;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.text-warning {
|
|
212
|
+
.text-emphasis-variant(
|
|
213
|
+
var(--color-content-warning),
|
|
214
|
+
var(--color-content-warning),
|
|
215
|
+
var(--color-content-warning-hover),
|
|
216
|
+
);
|
|
217
|
+
|
|
218
|
+
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
219
|
+
.bg-primary & {
|
|
220
|
+
color: @color-navy-content-warning !important;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.text-negative,
|
|
225
|
+
.text-danger {
|
|
226
|
+
.text-emphasis-variant(
|
|
227
|
+
var(--color-sentiment-negative),
|
|
228
|
+
var(--color-sentiment-negative),
|
|
229
|
+
var(--color-sentiment-negative-hover)
|
|
230
|
+
);
|
|
231
|
+
|
|
232
|
+
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
233
|
+
.bg-primary & {
|
|
234
|
+
color: @color-navy-content-negative !important;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.text-inverse {
|
|
239
|
+
.text-emphasis-variant(@color-navy-content-primary, @color-navy-content-primary, @color-navy-content-secondary);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.text-muted {
|
|
243
|
+
color: var(--color-content-tertiary) !important;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
// @deprecated: we no longer have "colored dot" design feature in new brand
|
|
21
247
|
.colored-dot {
|
|
22
248
|
&::after {
|
|
23
249
|
content: none;
|
package/src/less/flex.less
CHANGED
|
@@ -1,15 +1,24 @@
|
|
|
1
1
|
// mixins
|
|
2
|
+
@import (reference) "./mixins/_flex.less";
|
|
2
3
|
@import (reference) "./mixins/_logical-properties.less";
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
@
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
.flex-properties(~"");
|
|
6
|
+
|
|
7
|
+
@media (--screen-sm) {
|
|
8
|
+
.flex-properties(--sm);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@media (--screen-md) {
|
|
12
|
+
.flex-properties(--md);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@media (--screen-lg) {
|
|
16
|
+
.flex-properties(--lg);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@media (--screen-xl) {
|
|
20
|
+
.flex-properties(--xl);
|
|
21
|
+
}
|
|
13
22
|
|
|
14
23
|
/* Items */
|
|
15
24
|
.flex__inner {
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
.flex-properties(@break-point) {
|
|
2
|
+
.d-flex@{break-point} {
|
|
3
|
+
display: flex;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.d-inline-flex@{break-point} {
|
|
7
|
+
display: inline-flex;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.flex-column@{break-point} {
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.flex-row@{break-point} {
|
|
15
|
+
flex-direction: row;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.justify-content-start@{break-point} {
|
|
19
|
+
justify-content: flex-start;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.justify-content-end@{break-point} {
|
|
23
|
+
justify-content: flex-end;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.justify-content-center@{break-point} {
|
|
27
|
+
justify-content: center;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.justify-content-between@{break-point} {
|
|
31
|
+
justify-content: space-between;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.justify-content-around@{break-point} {
|
|
35
|
+
justify-content: space-around;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.align-items-start@{break-point} {
|
|
39
|
+
align-items: flex-start;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.align-items-end@{break-point} {
|
|
43
|
+
align-items: flex-end;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.align-items-center@{break-point} {
|
|
47
|
+
align-items: center;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.align-items-baseline@{break-point} {
|
|
51
|
+
align-items: baseline;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.align-items-stretch@{break-point} {
|
|
55
|
+
align-items: stretch;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.align-self-start@{break-point} {
|
|
59
|
+
align-self: flex-start;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.align-self-end@{break-point} {
|
|
63
|
+
align-self: flex-end;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.align-self-center@{break-point} {
|
|
67
|
+
align-self: center;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.align-self-baseline@{break-point} {
|
|
71
|
+
align-self: baseline;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.align-self-stretch@{break-point} {
|
|
75
|
+
align-self: stretch;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.flex-nowrap@{break-point} {
|
|
79
|
+
flex-wrap: nowrap;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.flex-wrap@{break-point} {
|
|
83
|
+
flex-wrap: wrap;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.order-0@{break-point} {
|
|
87
|
+
order: 0;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.order-1@{break-point} {
|
|
91
|
+
order: 1;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.order-2@{break-point} {
|
|
95
|
+
order: 2;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.order-3@{break-point} {
|
|
99
|
+
order: 3;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.flex-grow-1@{break-point} {
|
|
103
|
+
flex-grow: 1;
|
|
104
|
+
}
|
|
105
|
+
}
|
package/src/less/navbar.less
CHANGED
|
@@ -4,15 +4,12 @@
|
|
|
4
4
|
@import (reference) "./mixins/_arrows.less";
|
|
5
5
|
@import (reference) "./mixins/_border-radius.less";
|
|
6
6
|
@import (reference) "./mixins/_clearfix.less";
|
|
7
|
+
@import (reference) "./mixins/_center-block.less";
|
|
7
8
|
@import (reference) "./mixins/_hide-text.less";
|
|
8
9
|
@import (reference) "./mixins/_grid.less";
|
|
9
10
|
@import (reference) "./mixins/_tab-focus.less";
|
|
10
11
|
@import (reference) "./mixins/_logical-properties.less";
|
|
11
|
-
|
|
12
|
-
/* TODO: Remove utility imports to prevent duplicates */
|
|
13
|
-
@import "./addons/_center-block.less";
|
|
14
|
-
@import "./utilities/float.less";
|
|
15
|
-
|
|
12
|
+
@import "./addons/_utilities.less";
|
|
16
13
|
@import "dropdowns.less";
|
|
17
14
|
@import "navs.less";
|
|
18
15
|
@import "navbar-base.less";
|
|
@@ -107,8 +104,3 @@
|
|
|
107
104
|
.navbar-background--inverse {
|
|
108
105
|
background-color: @color-navy-background-elevated;
|
|
109
106
|
}
|
|
110
|
-
|
|
111
|
-
/* TODO: Remove to prefer direct utility imports */
|
|
112
|
-
.clearfix {
|
|
113
|
-
.clearfix();
|
|
114
|
-
}
|
|
@@ -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";
|
package/src/less/utilities.less
CHANGED
|
@@ -1,42 +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-style.less";
|
|
17
|
-
@import "./utilities/font-weight.less";
|
|
18
|
-
@import "./utilities/gap.less";
|
|
19
|
-
@import "./utilities/justify-content.less";
|
|
20
|
-
@import "./utilities/margin.less";
|
|
21
|
-
@import "./utilities/max-width.less";
|
|
22
|
-
@import "./utilities/order.less";
|
|
23
|
-
@import "./utilities/outline-style.less";
|
|
24
|
-
@import "./utilities/overflow-wrap.less";
|
|
25
|
-
@import "./utilities/padding.less";
|
|
26
|
-
@import "./utilities/position.less";
|
|
27
|
-
@import "./utilities/rotate.less";
|
|
28
|
-
@import "./utilities/screen-reader.less";
|
|
29
|
-
@import "./utilities/text-align.less";
|
|
30
|
-
@import "./utilities/text-decoration-line.less";
|
|
31
|
-
@import "./utilities/text-overflow.less";
|
|
32
|
-
@import "./utilities/text-transform.less";
|
|
33
|
-
@import "./utilities/visibility.less";
|
|
34
|
-
@import "./utilities/white-space.less";
|
|
7
|
+
.d-inline-block {
|
|
8
|
+
display: inline-block;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.d-inline {
|
|
12
|
+
display: inline;
|
|
13
|
+
}
|
|
35
14
|
|
|
36
15
|
.clearfix {
|
|
37
16
|
.clearfix();
|
|
38
17
|
}
|
|
39
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
|
+
|
|
40
120
|
.text-hide {
|
|
41
121
|
.text-hide();
|
|
42
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
|
+
}
|