@transferwise/neptune-css 11.0.1-beta-66e6490bc3.13 → 11.0.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/CHANGELOG.md +11 -0
- package/dist/css/accordion.css +1 -1
- package/dist/css/alerts.css +1 -1
- package/dist/css/background.css +1 -1
- package/dist/css/badge.css +1 -1
- package/dist/css/breadcrumbs.css +1 -1
- package/dist/css/button-groups.css +1 -1
- package/dist/css/buttons.css +1 -1
- package/dist/css/chevron.css +1 -1
- package/dist/css/circles.css +1 -1
- package/dist/css/close.css +1 -1
- package/dist/css/column-layout.css +1 -1
- package/dist/css/currency-flags.css +1 -1
- package/dist/css/decision.css +1 -1
- package/dist/css/droppable.css +1 -1
- package/dist/css/flex.css +1 -1
- package/dist/css/footer.css +1 -1
- package/dist/css/forms.css +1 -1
- package/dist/css/grid.css +1 -1
- package/dist/css/input-groups.css +1 -1
- package/dist/css/link-callout.css +1 -1
- package/dist/css/list-group.css +1 -1
- package/dist/css/loaders.css +1 -1
- package/dist/css/media.css +1 -1
- package/dist/css/modals.css +1 -1
- package/dist/css/navbar.css +1 -1
- package/dist/css/navs.css +1 -1
- package/dist/css/neptune-addons.css +1 -1
- package/dist/css/neptune-core.css +1 -1
- package/dist/css/neptune-social-media.css +1 -1
- package/dist/css/neptune.css +1 -1
- package/dist/css/panels.css +1 -0
- package/dist/css/popovers.css +1 -1
- package/dist/css/process.css +1 -1
- package/dist/css/progress-bars.css +1 -1
- package/dist/css/select.css +1 -1
- package/dist/css/sequences.css +1 -1
- package/dist/css/table.css +1 -1
- package/dist/css/tick.css +1 -1
- package/dist/css/tooltip.css +1 -1
- package/dist/css/utilities.css +1 -1
- package/dist/css/wells.css +1 -1
- package/dist/less/legacy-variables.less +712 -23
- package/dist/less/neptune-tokens.less +78 -84
- package/dist/props/legacy-custom-props.css +65 -0
- package/dist/props/neptune-tokens.css +41 -84
- package/package.json +3 -3
- package/src/less/addons/_background-utilities.less +7 -32
- package/src/less/addons/_spacing-utilities.less +4 -4
- package/src/less/alerts.less +16 -16
- package/src/less/background.less +1 -1
- package/src/less/badge.less +4 -65
- package/src/less/breadcrumbs.less +4 -25
- package/src/less/button-groups.less +38 -46
- package/src/less/buttons.less +175 -111
- package/src/less/chevron.less +1 -5
- package/src/less/circles.less +19 -206
- package/src/less/close.less +6 -38
- package/src/less/column-layout.less +3 -160
- package/src/less/core/_scaffolding.less +31 -39
- package/src/less/core/_typography-utilities.less +46 -59
- package/src/less/core/_typography.less +114 -130
- package/src/less/currency-flags.less +4 -4
- package/src/less/decision.less +14 -6
- package/src/less/droppable.less +3 -202
- package/src/less/flex.less +16 -17
- package/src/less/footer.less +20 -20
- package/src/less/forms/bootstrap-forms.less +110 -122
- package/src/less/forms/checkbox-radio.less +54 -54
- package/src/less/grid.less +22 -23
- package/src/less/input-groups.less +50 -50
- package/src/less/link-callout.less +1 -4
- package/src/less/list-group.less +4 -281
- package/src/less/loaders.less +3 -90
- package/src/less/media.less +3 -6
- package/src/less/mixins/_alerts.less +7 -15
- package/src/less/mixins/_arrows.less +7 -13
- package/src/less/mixins/_border-radius.less +8 -1
- package/src/less/mixins/_buttons.less +5 -5
- package/src/less/mixins/_forms.less +10 -16
- package/src/less/mixins/_grid-framework.less +8 -11
- package/src/less/mixins/_grid.less +36 -52
- package/src/less/mixins/_spacing.less +10 -20
- package/src/less/mixins/_table-row.less +1 -1
- package/src/less/mixins/_text-emphasis.less +1 -7
- package/src/less/modals.less +27 -57
- package/src/less/navbar.less +20 -16
- package/src/less/navs.less +3 -338
- package/src/less/neptune-social-media.less +8 -13
- package/src/less/neptune.bundle.less +1 -1
- package/src/less/panels.less +6 -0
- package/src/less/popovers.less +5 -368
- package/src/less/process.less +3 -358
- package/src/less/progress-bars.less +15 -18
- package/src/less/select.less +7 -9
- package/src/less/sequences.less +8 -505
- package/src/less/table.less +56 -42
- package/src/less/tick.less +1 -14
- package/src/less/tooltip.less +4 -123
- package/src/less/utilities.less +4 -134
- package/src/less/variables/_typography.less +21 -0
- package/src/props/legacy-custom-props.css +65 -0
- package/src/variables/legacy-variables.less +712 -23
- package/src/variables/neptune-tokens.less +3 -0
- package/dist/css/dropdowns.css +0 -1
- package/dist/css/navbar-base.css +0 -1
- package/src/less/addons/_utilities.less +0 -141
- package/src/less/dropdowns.less +0 -363
- package/src/less/mixins/_center-block.less +0 -7
- package/src/less/mixins/_circle.less +0 -11
- package/src/less/mixins/_hide-text.less +0 -20
- package/src/less/mixins/_list-group.less +0 -23
- package/src/less/mixins/_logical-properties-IE-friendly.less +0 -365
- package/src/less/mixins/_logical-properties-modern-browsers.less +0 -226
- package/src/less/mixins/_logical-properties.less +0 -5
- package/src/less/mixins/_physical-properties.less +0 -111
- package/src/less/mixins/_reset-text.less +0 -22
- package/src/less/mixins/_sequence.less +0 -197
- package/src/less/navbar-base.less +0 -1381
package/src/less/close.less
CHANGED
|
@@ -1,40 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
@import (reference) './mixins/_tab-focus.less';
|
|
3
|
-
@import (reference) './mixins/_logical-properties.less';
|
|
4
|
-
|
|
5
|
-
.close {
|
|
6
|
-
.float(right);
|
|
7
|
-
|
|
8
|
-
font-size: calc(var(--font-size-16) * 2);
|
|
9
|
-
font-weight: var(--font-weight-bold);
|
|
10
|
-
line-height: var(--line-height-title);
|
|
11
|
-
color: var(--color-content-accent);
|
|
12
|
-
text-decoration: none;
|
|
1
|
+
// TODO: remove bootstrap dependencies
|
|
13
2
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
color: var(--color-content-accent-hover);
|
|
17
|
-
text-decoration: none;
|
|
18
|
-
cursor: pointer;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&:focus {
|
|
22
|
-
.tab-focus();
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&:active {
|
|
26
|
-
color: var(--color-content-accent-active);
|
|
27
|
-
}
|
|
3
|
+
// variables
|
|
4
|
+
@import (reference) '../variables/legacy-variables.less';
|
|
28
5
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
|
|
33
|
-
button& {
|
|
34
|
-
padding: 0;
|
|
35
|
-
cursor: pointer;
|
|
36
|
-
background: transparent;
|
|
37
|
-
border: 0;
|
|
38
|
-
appearance: none;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
6
|
+
// mixins
|
|
7
|
+
@import (reference) 'bootstrap/less/mixins/tab-focus.less';
|
|
8
|
+
@import 'bootstrap/less/close.less';
|
|
@@ -1,161 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
@import (reference) './mixins/_logical-properties.less';
|
|
3
|
-
|
|
4
|
-
.column-layout {
|
|
5
|
-
width: 100%;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.column-layout-left,
|
|
9
|
-
.column-layout-right {
|
|
10
|
-
position: fixed;
|
|
11
|
-
width: @column-width;
|
|
12
|
-
vertical-align: top;
|
|
13
|
-
height: 100%;
|
|
14
|
-
z-index: 3;
|
|
15
|
-
transition: transform ease 0.5s;
|
|
16
|
-
top: 0;
|
|
17
|
-
max-height: 100vh;
|
|
18
|
-
overflow-y: auto;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.column-layout-left {
|
|
22
|
-
transform: translateX(-@column-width);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.column-layout-right {
|
|
26
|
-
.right(0);
|
|
27
|
-
|
|
28
|
-
transform: translateX(@column-width);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.column-layout-left.open,
|
|
32
|
-
.column-layout-right.open {
|
|
33
|
-
transform: translateX(0);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.column-layout-main {
|
|
37
|
-
width: 100%;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.column-layout-top {
|
|
41
|
-
position: fixed;
|
|
42
|
-
top: 0;
|
|
43
|
-
width: @column-width;
|
|
44
|
-
max-height: 100vh;
|
|
45
|
-
overflow-y: auto;
|
|
46
|
-
backface-visibility: hidden;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.column-layout-bottom {
|
|
50
|
-
position: fixed;
|
|
51
|
-
bottom: 0;
|
|
52
|
-
width: @column-width;
|
|
53
|
-
padding: var(--size-24);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
@media (--screen-lg) {
|
|
57
|
-
.column-layout {
|
|
58
|
-
display: table;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.column-layout-left,
|
|
62
|
-
.column-layout-right {
|
|
63
|
-
position: relative;
|
|
64
|
-
display: table-cell;
|
|
65
|
-
transform: none;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.column-layout-main {
|
|
69
|
-
display: table-cell;
|
|
70
|
-
vertical-align: top;
|
|
71
|
-
width: auto;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.column-layout-cover.in {
|
|
76
|
-
width: 100%;
|
|
77
|
-
height: 100%;
|
|
78
|
-
opacity: 0.9;
|
|
79
|
-
}
|
|
1
|
+
// TODO: remove bootstrap dependencies
|
|
80
2
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
.left(@column-width + 20px);
|
|
84
|
-
|
|
85
|
-
top: -1000px;
|
|
86
|
-
opacity: 0;
|
|
87
|
-
transition: opacity 0.35s ease;
|
|
88
|
-
transition-delay: 0.35s;
|
|
89
|
-
text-decoration: none;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.column-layout-cover.in .close {
|
|
93
|
-
opacity: 1;
|
|
94
|
-
top: 20px;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
@media (min-width: @screen-lg-min) {
|
|
98
|
-
.column-layout-cover {
|
|
99
|
-
display: none;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
@media (--screen-md) {
|
|
104
|
-
// apply to body to prevent background scrolling
|
|
105
|
-
.column-layout-open {
|
|
106
|
-
overflow: hidden;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.column-layout-cover {
|
|
110
|
-
position: fixed;
|
|
111
|
-
display: block;
|
|
112
|
-
top: 0;
|
|
113
|
-
.left(0);
|
|
114
|
-
|
|
115
|
-
width: 0;
|
|
116
|
-
height: 0;
|
|
117
|
-
opacity: 0;
|
|
118
|
-
transition: opacity 0.35s ease;
|
|
119
|
-
background-color: var(--color-navy-background-elevated);
|
|
120
|
-
cursor: pointer;
|
|
121
|
-
z-index: @zindex-mobile-nav-background;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.column-layout-left,
|
|
125
|
-
.column-layout-right {
|
|
126
|
-
z-index: @zindex-mobile-nav;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.column-layout-main .container {
|
|
131
|
-
// ensures we use the full width on default mac screen
|
|
132
|
-
max-width: 1176px;
|
|
133
|
-
.margin(left,0);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.column-layout-brand {
|
|
137
|
-
padding: var(--size-4) @spacing-1-tablet;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
@media (--screen-lg) {
|
|
141
|
-
.column-layout-brand {
|
|
142
|
-
padding-left: @spacing-1-desktop;
|
|
143
|
-
padding-right: @spacing-1-desktop;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
body > .column-layout {
|
|
148
|
-
min-height: 100vh;
|
|
149
|
-
height: 100vh;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.column-layout-left .column-layout-top {
|
|
153
|
-
background-position: 0 var(--size-40);
|
|
154
|
-
background-repeat: no-repeat;
|
|
155
|
-
background-size: @column-width auto;
|
|
156
|
-
height: 100vh;
|
|
157
|
-
|
|
158
|
-
@media (min-height: 596px) {
|
|
159
|
-
.background-position(left, bottom);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
3
|
+
@import (reference) '../variables/legacy-variables.less';
|
|
4
|
+
@import 'bootstrap/less/column-layout.less';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@import (reference) '../../variables/neptune-tokens.less';
|
|
2
|
-
@import (reference) '../
|
|
2
|
+
@import (reference) '../variables/_typography.less';
|
|
3
3
|
|
|
4
4
|
*,
|
|
5
5
|
::before,
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
html {
|
|
11
|
-
color: var(--color-
|
|
12
|
-
font-size:
|
|
13
|
-
line-height:
|
|
14
|
-
font-family:
|
|
11
|
+
color: var(--color-text-secondary);
|
|
12
|
+
font-size: @font-size-base;
|
|
13
|
+
line-height: @line-height-base;
|
|
14
|
+
font-family: @font-family-base;
|
|
15
15
|
letter-spacing: 0.016em;
|
|
16
16
|
background-color: var(--color-background-screen);
|
|
17
17
|
-webkit-font-smoothing: antialiased;
|
|
@@ -48,7 +48,7 @@ pre {
|
|
|
48
48
|
|
|
49
49
|
a,
|
|
50
50
|
.anchor {
|
|
51
|
-
color: var(--color-
|
|
51
|
+
color: var(--color-text-link);
|
|
52
52
|
font-weight: 600;
|
|
53
53
|
letter-spacing: 0;
|
|
54
54
|
text-decoration: underline;
|
|
@@ -56,12 +56,12 @@ a,
|
|
|
56
56
|
|
|
57
57
|
&:hover,
|
|
58
58
|
&:focus {
|
|
59
|
-
color: var(--color-
|
|
59
|
+
color: var(--color-text-link-hover);
|
|
60
60
|
text-decoration: underline;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
&:active {
|
|
64
|
-
color: var(--color-
|
|
64
|
+
color: var(--color-text-link-active);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
&:focus {
|
|
@@ -70,21 +70,21 @@ a,
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
&.secondary {
|
|
73
|
-
color:
|
|
74
|
-
font-weight:
|
|
73
|
+
color: @color-base-navy-light;
|
|
74
|
+
font-weight: @font-weight-base;
|
|
75
75
|
|
|
76
76
|
&:hover,
|
|
77
77
|
&:focus {
|
|
78
|
-
color: var(--color-
|
|
78
|
+
color: var(--color-text-link-hover);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
&:active {
|
|
82
|
-
color: var(--color-
|
|
82
|
+
color: var(--color-text-link-active);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
&[disabled] {
|
|
87
|
-
color:
|
|
87
|
+
color: @color-base-smoke-mid;
|
|
88
88
|
cursor: default;
|
|
89
89
|
}
|
|
90
90
|
}
|
|
@@ -198,7 +198,7 @@ textarea {
|
|
|
198
198
|
// stylelint-disable-next-line selector-pseudo-class-no-unknown
|
|
199
199
|
&:input-placeholder,
|
|
200
200
|
&::placeholder {
|
|
201
|
-
color: var(--color-
|
|
201
|
+
color: var(--color-text-inactive);
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
|
|
@@ -209,7 +209,7 @@ progress {
|
|
|
209
209
|
ol,
|
|
210
210
|
ul {
|
|
211
211
|
margin: 0 0 var(--size-24);
|
|
212
|
-
|
|
212
|
+
padding: 0 0 0 38px;
|
|
213
213
|
|
|
214
214
|
ol,
|
|
215
215
|
ul {
|
|
@@ -218,44 +218,39 @@ ul {
|
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
.list-unstyled {
|
|
221
|
-
|
|
222
|
-
|
|
221
|
+
padding-left: 0;
|
|
223
222
|
list-style: none;
|
|
224
223
|
}
|
|
225
224
|
|
|
226
225
|
.list-inline {
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
.padding(left, 0);
|
|
230
|
-
|
|
226
|
+
margin-left: calc(var(--size-4) * -1);
|
|
227
|
+
padding-left: 0;
|
|
231
228
|
list-style: none;
|
|
232
229
|
|
|
233
230
|
> li {
|
|
234
231
|
display: inline-block;
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
.border(right, 1px, solid, var(--color-border-neutral));
|
|
232
|
+
padding-right: var(--size-8);
|
|
233
|
+
padding-left: var(--size-4);
|
|
234
|
+
border-right: 1px solid var(--color-border-neutral);
|
|
240
235
|
|
|
241
236
|
&:last-child {
|
|
242
|
-
|
|
237
|
+
border-right: 0;
|
|
243
238
|
}
|
|
244
239
|
}
|
|
245
240
|
}
|
|
246
241
|
|
|
247
242
|
dt,
|
|
248
243
|
dd {
|
|
249
|
-
line-height:
|
|
244
|
+
line-height: @line-height-base;
|
|
250
245
|
}
|
|
251
246
|
|
|
252
247
|
dt {
|
|
253
|
-
font-size:
|
|
248
|
+
font-size: @font-size-small;
|
|
254
249
|
}
|
|
255
250
|
|
|
256
251
|
dd {
|
|
257
252
|
margin-bottom: var(--size-16);
|
|
258
|
-
color: var(--color-
|
|
253
|
+
color: var(--color-text-primary);
|
|
259
254
|
|
|
260
255
|
@media (--screen-sm) {
|
|
261
256
|
margin-bottom: var(--size-24);
|
|
@@ -278,20 +273,18 @@ dd {
|
|
|
278
273
|
|
|
279
274
|
@media (--screen-sm) {
|
|
280
275
|
dt {
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
276
|
+
float: left;
|
|
277
|
+
clear: left;
|
|
284
278
|
width: 156px;
|
|
285
279
|
overflow: hidden;
|
|
286
280
|
white-space: nowrap;
|
|
287
|
-
|
|
288
|
-
|
|
281
|
+
text-align: left;
|
|
289
282
|
text-overflow: ellipsis;
|
|
290
283
|
}
|
|
291
284
|
|
|
292
285
|
dd {
|
|
293
286
|
margin-bottom: var(--size-8);
|
|
294
|
-
|
|
287
|
+
margin-left: 180px;
|
|
295
288
|
}
|
|
296
289
|
}
|
|
297
290
|
}
|
|
@@ -307,8 +300,7 @@ dd {
|
|
|
307
300
|
|
|
308
301
|
dd {
|
|
309
302
|
flex: 1 1 auto;
|
|
310
|
-
|
|
311
|
-
|
|
303
|
+
text-align: right;
|
|
312
304
|
word-break: break-all;
|
|
313
305
|
}
|
|
314
306
|
}
|
|
@@ -319,7 +311,7 @@ hr {
|
|
|
319
311
|
margin: var(--size-16) auto;
|
|
320
312
|
overflow: visible; // Normalize 8.0.1
|
|
321
313
|
border: 0;
|
|
322
|
-
border-top: 1px solid
|
|
314
|
+
border-top: 1px solid @color-base-smoke-light;
|
|
323
315
|
|
|
324
316
|
@media (--screen-sm) {
|
|
325
317
|
margin: var(--size-24) auto;
|
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
@import (reference) '../../variables/neptune-tokens.less';
|
|
2
|
-
@import (reference) '../
|
|
2
|
+
@import (reference) '../variables/_typography.less';
|
|
3
3
|
@import '../mixins/_text-emphasis.less';
|
|
4
4
|
|
|
5
|
-
// Deprecated classes in next iterations.
|
|
6
|
-
|
|
7
|
-
//.text-danger (Replaced by .text-negative)
|
|
8
|
-
//.text-success( Replaced by .text-positive)
|
|
9
|
-
|
|
10
5
|
.text-xs-left {
|
|
11
|
-
|
|
6
|
+
text-align: left;
|
|
12
7
|
}
|
|
13
8
|
|
|
14
9
|
.text-xs-right {
|
|
15
|
-
|
|
10
|
+
text-align: right;
|
|
16
11
|
}
|
|
17
12
|
|
|
18
13
|
.text-xs-center {
|
|
@@ -29,11 +24,11 @@
|
|
|
29
24
|
|
|
30
25
|
@media (--screen-sm) {
|
|
31
26
|
.text-sm-left {
|
|
32
|
-
|
|
27
|
+
text-align: left;
|
|
33
28
|
}
|
|
34
29
|
|
|
35
30
|
.text-sm-right {
|
|
36
|
-
|
|
31
|
+
text-align: right;
|
|
37
32
|
}
|
|
38
33
|
|
|
39
34
|
.text-sm-center {
|
|
@@ -51,11 +46,11 @@
|
|
|
51
46
|
|
|
52
47
|
@media (--screen-md) {
|
|
53
48
|
.text-md-left {
|
|
54
|
-
|
|
49
|
+
text-align: left;
|
|
55
50
|
}
|
|
56
51
|
|
|
57
52
|
.text-md-right {
|
|
58
|
-
|
|
53
|
+
text-align: right;
|
|
59
54
|
}
|
|
60
55
|
|
|
61
56
|
.text-md-center {
|
|
@@ -73,11 +68,11 @@
|
|
|
73
68
|
|
|
74
69
|
@media (--screen-lg) {
|
|
75
70
|
.text-lg-left {
|
|
76
|
-
|
|
71
|
+
text-align: left;
|
|
77
72
|
}
|
|
78
73
|
|
|
79
74
|
.text-lg-right {
|
|
80
|
-
|
|
75
|
+
text-align: right;
|
|
81
76
|
}
|
|
82
77
|
|
|
83
78
|
.text-lg-center {
|
|
@@ -95,11 +90,11 @@
|
|
|
95
90
|
|
|
96
91
|
@media (--screen-xl) {
|
|
97
92
|
.text-xl-left {
|
|
98
|
-
|
|
93
|
+
text-align: left;
|
|
99
94
|
}
|
|
100
95
|
|
|
101
96
|
.text-xl-right {
|
|
102
|
-
|
|
97
|
+
text-align: right;
|
|
103
98
|
}
|
|
104
99
|
|
|
105
100
|
.text-xl-center {
|
|
@@ -152,15 +147,15 @@
|
|
|
152
147
|
}
|
|
153
148
|
|
|
154
149
|
.font-weight-bold {
|
|
155
|
-
font-weight:
|
|
150
|
+
font-weight: @font-weight-bold !important;
|
|
156
151
|
}
|
|
157
152
|
|
|
158
153
|
.font-weight-semi-bold {
|
|
159
|
-
font-weight:
|
|
154
|
+
font-weight: @font-weight-semi-bold !important;
|
|
160
155
|
}
|
|
161
156
|
|
|
162
157
|
.font-weight-normal {
|
|
163
|
-
font-weight:
|
|
158
|
+
font-weight: @font-weight-base !important;
|
|
164
159
|
}
|
|
165
160
|
|
|
166
161
|
.font-italic {
|
|
@@ -168,130 +163,122 @@
|
|
|
168
163
|
}
|
|
169
164
|
|
|
170
165
|
// Contextual colors `.text-*`
|
|
171
|
-
|
|
172
166
|
.text-primary {
|
|
173
|
-
.text-emphasis-variant(
|
|
167
|
+
.text-emphasis-variant(@color-base-navy-light, @color-base-navy-light, @color-base-navy-mid);
|
|
174
168
|
|
|
175
169
|
.bg-primary & {
|
|
176
|
-
color:
|
|
170
|
+
color: @color-base-white !important;
|
|
177
171
|
}
|
|
178
172
|
}
|
|
179
173
|
|
|
180
|
-
.text-positive,
|
|
181
174
|
.text-success {
|
|
182
|
-
.text-emphasis-variant(
|
|
175
|
+
.text-emphasis-variant(@color-base-green-dark, @color-base-green-light, @color-base-green-dark);
|
|
183
176
|
|
|
184
177
|
.bg-primary & {
|
|
185
|
-
color:
|
|
178
|
+
color: @color-base-green-light !important;
|
|
186
179
|
}
|
|
187
180
|
}
|
|
188
181
|
|
|
189
|
-
.text-accent,
|
|
190
182
|
.text-info {
|
|
191
|
-
.text-emphasis-variant(
|
|
183
|
+
.text-emphasis-variant(@color-base-blue-dark, @color-base-blue-light, @color-base-blue-dark);
|
|
192
184
|
|
|
193
185
|
.bg-primary & {
|
|
194
|
-
color:
|
|
186
|
+
color: @color-base-blue-light !important;
|
|
195
187
|
}
|
|
196
188
|
}
|
|
197
189
|
|
|
198
190
|
.text-warning {
|
|
199
191
|
.text-emphasis-variant(
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
192
|
+
@color-base-orange-dark,
|
|
193
|
+
@color-base-orange-light,
|
|
194
|
+
@color-base-orange-dark
|
|
203
195
|
);
|
|
204
196
|
|
|
205
197
|
.bg-primary & {
|
|
206
|
-
color:
|
|
198
|
+
color: @color-base-orange-light !important;
|
|
207
199
|
}
|
|
208
200
|
}
|
|
209
201
|
|
|
210
|
-
.text-negative,
|
|
211
202
|
.text-danger {
|
|
212
|
-
.text-emphasis-variant(
|
|
203
|
+
.text-emphasis-variant(@color-base-red-dark, @color-base-red-light, @color-base-red-dark);
|
|
213
204
|
|
|
214
205
|
.bg-primary & {
|
|
215
|
-
color:
|
|
206
|
+
color: @color-base-red-light !important;
|
|
216
207
|
}
|
|
217
208
|
}
|
|
218
209
|
|
|
219
210
|
.text-inverse {
|
|
220
|
-
.text-emphasis-variant(
|
|
211
|
+
.text-emphasis-variant(@color-base-white, @color-base-white, @color-base-smoke-fade);
|
|
221
212
|
}
|
|
222
213
|
|
|
223
214
|
.text-muted {
|
|
224
|
-
color: var(--color-
|
|
215
|
+
color: var(--color-text-inactive) !important;
|
|
225
216
|
}
|
|
226
217
|
|
|
227
218
|
.display-1,
|
|
228
219
|
.display-2,
|
|
229
220
|
.display-3,
|
|
230
|
-
.display-4
|
|
231
|
-
|
|
232
|
-
font-weight: var(--font-weight-bold);
|
|
233
|
-
line-height: var(--line-height-title);
|
|
221
|
+
.display-4 {
|
|
222
|
+
font-weight: @font-weight-bold;
|
|
234
223
|
}
|
|
235
224
|
|
|
236
225
|
.display-1 {
|
|
237
226
|
margin-bottom: var(--size-24);
|
|
238
|
-
font-size: 3.7333333333rem;
|
|
227
|
+
font-size: 3.7333333333rem; // 56/15px
|
|
228
|
+
line-height: 4.8rem; // 72/15px
|
|
239
229
|
|
|
240
230
|
@media (--screen-md) {
|
|
241
231
|
margin-bottom: var(--size-8);
|
|
242
|
-
font-size: 6.5rem;
|
|
232
|
+
font-size: 6.5rem; // 104px
|
|
233
|
+
line-height: 8rem; // 128px
|
|
243
234
|
}
|
|
244
235
|
}
|
|
245
236
|
|
|
246
237
|
.display-2 {
|
|
247
238
|
margin-bottom: var(--size-24);
|
|
248
|
-
font-size: 3.7333333333rem;
|
|
239
|
+
font-size: 3.7333333333rem; // 56/15px
|
|
240
|
+
line-height: 4.8rem; // 72/15px
|
|
249
241
|
|
|
250
242
|
@media (--screen-md) {
|
|
251
243
|
margin-bottom: var(--size-16);
|
|
252
|
-
font-size: 5.5rem;
|
|
244
|
+
font-size: 5.5rem; // 88px
|
|
245
|
+
line-height: 7rem; // 112px
|
|
253
246
|
}
|
|
254
247
|
}
|
|
255
248
|
|
|
256
249
|
.display-3 {
|
|
257
250
|
margin-bottom: var(--size-8);
|
|
258
|
-
font-size: 2.8rem;
|
|
251
|
+
font-size: 2.8rem; // 42/15px
|
|
252
|
+
line-height: 3.2rem; // 48/15px
|
|
259
253
|
|
|
260
254
|
@media (--screen-md) {
|
|
261
255
|
margin-bottom: var(--size-24);
|
|
262
|
-
font-size: 4.5rem;
|
|
256
|
+
font-size: 4.5rem; // 72px
|
|
257
|
+
line-height: 5.5rem; // 88px
|
|
263
258
|
}
|
|
264
259
|
}
|
|
265
260
|
|
|
266
261
|
.display-4 {
|
|
267
262
|
margin-bottom: var(--size-4);
|
|
268
263
|
font-size: 1.8666666667rem; // 28/15px
|
|
264
|
+
line-height: 2.1333333333rem; // 32/15px
|
|
269
265
|
|
|
270
266
|
@media (--screen-md) {
|
|
271
267
|
margin-bottom: var(--size-24);
|
|
272
268
|
font-size: 3.5rem; // 56px
|
|
273
|
-
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
.display-5 {
|
|
277
|
-
margin-bottom: var(--size-4);
|
|
278
|
-
font-size: 1.8666666667rem; // 28/15px
|
|
279
|
-
|
|
280
|
-
@media (--screen-md) {
|
|
281
|
-
margin-bottom: var(--size-8);
|
|
282
|
-
font-size: 2.625rem; // 42px
|
|
269
|
+
line-height: 4.5rem; // 72px
|
|
283
270
|
}
|
|
284
271
|
}
|
|
285
272
|
|
|
286
273
|
.colored-dot {
|
|
287
274
|
&::after {
|
|
288
275
|
content: '.';
|
|
289
|
-
color: var(--color-
|
|
276
|
+
color: var(--color-accent);
|
|
290
277
|
}
|
|
291
278
|
|
|
292
279
|
&--green {
|
|
293
280
|
&::after {
|
|
294
|
-
color: var(--color-
|
|
281
|
+
color: var(--color-positive);
|
|
295
282
|
}
|
|
296
283
|
}
|
|
297
284
|
}
|