@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/table.less
CHANGED
|
@@ -3,14 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
// mixins
|
|
5
5
|
@import './mixins/_table-row.less';
|
|
6
|
-
@import (reference) './mixins/_logical-properties.less';
|
|
7
6
|
|
|
8
7
|
//
|
|
9
8
|
// Tables
|
|
10
9
|
// --------------------------------------------------
|
|
11
10
|
|
|
12
11
|
table {
|
|
13
|
-
background-color:
|
|
12
|
+
background-color: @table-bg;
|
|
14
13
|
border-collapse: separate;
|
|
15
14
|
|
|
16
15
|
td,
|
|
@@ -26,12 +25,12 @@ table {
|
|
|
26
25
|
caption {
|
|
27
26
|
padding-top: @table-cell-padding;
|
|
28
27
|
padding-bottom: @table-cell-padding;
|
|
29
|
-
color:
|
|
30
|
-
|
|
28
|
+
color: @text-muted;
|
|
29
|
+
text-align: left;
|
|
31
30
|
}
|
|
32
31
|
|
|
33
32
|
th {
|
|
34
|
-
|
|
33
|
+
text-align: left;
|
|
35
34
|
}
|
|
36
35
|
|
|
37
36
|
// Baseline styles
|
|
@@ -39,18 +38,17 @@ th {
|
|
|
39
38
|
.table {
|
|
40
39
|
width: 100%;
|
|
41
40
|
max-width: 100%;
|
|
42
|
-
margin-bottom:
|
|
43
|
-
|
|
41
|
+
margin-bottom: @line-height-computed;
|
|
44
42
|
// Cells
|
|
45
43
|
> thead,
|
|
46
44
|
> tbody,
|
|
47
45
|
> tfoot {
|
|
48
46
|
> tr > th,
|
|
49
47
|
> tr > td {
|
|
50
|
-
padding:
|
|
51
|
-
line-height:
|
|
48
|
+
padding: @line-height-computed @table-cell-padding;
|
|
49
|
+
line-height: @line-height-base;
|
|
52
50
|
vertical-align: top;
|
|
53
|
-
border-top: 1px solid
|
|
51
|
+
border-top: 1px solid @table-border-color;
|
|
54
52
|
border-bottom: 0;
|
|
55
53
|
transition: border ease @panel-focus-transtion;
|
|
56
54
|
}
|
|
@@ -59,10 +57,10 @@ th {
|
|
|
59
57
|
> .thead > ol > li,
|
|
60
58
|
> .tbody > dl > dd,
|
|
61
59
|
> .tfoot > ol > li {
|
|
62
|
-
padding:
|
|
63
|
-
line-height:
|
|
60
|
+
padding: @line-height-computed @table-cell-padding;
|
|
61
|
+
line-height: @line-height-base;
|
|
64
62
|
vertical-align: top;
|
|
65
|
-
border-top: 1px solid
|
|
63
|
+
border-top: 1px solid @table-border-color;
|
|
66
64
|
border-bottom: 0;
|
|
67
65
|
transition: border ease @panel-focus-transtion;
|
|
68
66
|
}
|
|
@@ -101,30 +99,30 @@ th {
|
|
|
101
99
|
}
|
|
102
100
|
// Account for multiple tbody instances
|
|
103
101
|
> tbody + tbody {
|
|
104
|
-
border-top: 1px solid
|
|
102
|
+
border-top: 1px solid @table-border-color;
|
|
105
103
|
}
|
|
106
104
|
|
|
107
105
|
// Nesting
|
|
108
106
|
.table {
|
|
109
|
-
background-color:
|
|
107
|
+
background-color: @body-bg;
|
|
110
108
|
}
|
|
111
109
|
|
|
112
110
|
> thead,
|
|
113
111
|
> tfoot,
|
|
114
112
|
> .thead,
|
|
115
113
|
> .tfoot {
|
|
116
|
-
font-size:
|
|
117
|
-
color:
|
|
114
|
+
font-size: @font-size-small;
|
|
115
|
+
color: @headings-color;
|
|
118
116
|
}
|
|
119
117
|
|
|
120
118
|
> tbody,
|
|
121
119
|
> .tbody {
|
|
122
|
-
font-size:
|
|
120
|
+
font-size: @font-size-small;
|
|
123
121
|
}
|
|
124
122
|
|
|
125
123
|
> tbody > tr > th,
|
|
126
124
|
> .tbody > dl > .th {
|
|
127
|
-
color:
|
|
125
|
+
color: @headings-color;
|
|
128
126
|
}
|
|
129
127
|
}
|
|
130
128
|
|
|
@@ -153,12 +151,12 @@ th {
|
|
|
153
151
|
// Add borders all around the table and between all the columns.
|
|
154
152
|
|
|
155
153
|
.table-bordered {
|
|
156
|
-
border: 1px solid
|
|
154
|
+
border: 1px solid @table-border-color;
|
|
157
155
|
border-radius: @border-radius-base;
|
|
158
156
|
|
|
159
157
|
thead,
|
|
160
158
|
.thead {
|
|
161
|
-
background-color:
|
|
159
|
+
background-color: @gray-base;
|
|
162
160
|
}
|
|
163
161
|
}
|
|
164
162
|
|
|
@@ -174,12 +172,28 @@ th {
|
|
|
174
172
|
|
|
175
173
|
.table-striped {
|
|
176
174
|
> tbody > tr:nth-of-type(odd) {
|
|
177
|
-
background-color:
|
|
175
|
+
background-color: @table-bg-accent;
|
|
178
176
|
}
|
|
179
177
|
|
|
180
178
|
@media (min-width: @screen-md-min) {
|
|
181
179
|
> .tbody > dl:nth-of-type(odd) {
|
|
182
|
-
background-color:
|
|
180
|
+
background-color: @table-bg-accent;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
// Hover effect
|
|
186
|
+
//
|
|
187
|
+
// Placed here since it has to come after the potential zebra striping
|
|
188
|
+
|
|
189
|
+
.table-hover {
|
|
190
|
+
> tbody > tr:hover {
|
|
191
|
+
background-color: @table-bg-hover;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
@media (min-width: @screen-md-min) {
|
|
195
|
+
> .tbody > dl:hover {
|
|
196
|
+
background-color: @table-bg-hover;
|
|
183
197
|
}
|
|
184
198
|
}
|
|
185
199
|
}
|
|
@@ -200,13 +214,13 @@ table col[class*='col-'] {
|
|
|
200
214
|
// inheritance to nested tables.
|
|
201
215
|
|
|
202
216
|
// Generate the contextual variants
|
|
203
|
-
.table-row-variant(primary;
|
|
204
|
-
.table-row-variant(active;
|
|
205
|
-
.table-row-variant(success;
|
|
206
|
-
.table-row-variant(info;
|
|
207
|
-
.table-row-variant(warning;
|
|
208
|
-
.table-row-variant(danger;
|
|
209
|
-
.table-row-variant(default;
|
|
217
|
+
.table-row-variant(primary; @brand-navy-minus-10; @table-border-color; @brand-white);
|
|
218
|
+
.table-row-variant(active; @table-bg-active; @table-border-color);
|
|
219
|
+
.table-row-variant(success; @state-success-bg; @state-success-text);
|
|
220
|
+
.table-row-variant(info; @state-info-bg; @state-info-text);
|
|
221
|
+
.table-row-variant(warning; @state-warning-bg; @state-warning-text);
|
|
222
|
+
.table-row-variant(danger; @state-danger-bg; @state-danger-text);
|
|
223
|
+
.table-row-variant(default; @brand-smoke-plus-20; @table-border-color);
|
|
210
224
|
|
|
211
225
|
// Responsive tables
|
|
212
226
|
//
|
|
@@ -224,7 +238,7 @@ table col[class*='col-'] {
|
|
|
224
238
|
|
|
225
239
|
@media screen and (max-width: @screen-sm-max) {
|
|
226
240
|
width: 100%;
|
|
227
|
-
margin-bottom:
|
|
241
|
+
margin-bottom: @line-height-computed;
|
|
228
242
|
overflow-y: hidden;
|
|
229
243
|
-ms-overflow-style: -ms-autohiding-scrollbar;
|
|
230
244
|
|
|
@@ -264,7 +278,7 @@ table col[class*='col-'] {
|
|
|
264
278
|
}
|
|
265
279
|
|
|
266
280
|
&.table-bordered {
|
|
267
|
-
border: 1px solid
|
|
281
|
+
border: 1px solid @table-border-color;
|
|
268
282
|
border-radius: @border-radius-base;
|
|
269
283
|
}
|
|
270
284
|
}
|
|
@@ -285,8 +299,8 @@ table col[class*='col-'] {
|
|
|
285
299
|
|
|
286
300
|
> li {
|
|
287
301
|
display: table-cell;
|
|
288
|
-
font-weight:
|
|
289
|
-
color:
|
|
302
|
+
font-weight: @font-weight-bold;
|
|
303
|
+
color: @headings-color;
|
|
290
304
|
}
|
|
291
305
|
}
|
|
292
306
|
}
|
|
@@ -303,8 +317,8 @@ table col[class*='col-'] {
|
|
|
303
317
|
|
|
304
318
|
> dd {
|
|
305
319
|
display: table-cell;
|
|
306
|
-
font-size:
|
|
307
|
-
color:
|
|
320
|
+
font-size: @font-size-small;
|
|
321
|
+
color: @text-color;
|
|
308
322
|
}
|
|
309
323
|
}
|
|
310
324
|
}
|
|
@@ -323,10 +337,10 @@ table col[class*='col-'] {
|
|
|
323
337
|
|
|
324
338
|
> .tbody {
|
|
325
339
|
> dl {
|
|
326
|
-
border: 1px
|
|
340
|
+
border: 1px @input-border solid;
|
|
327
341
|
border-radius: @border-radius-base;
|
|
328
|
-
margin-bottom:
|
|
329
|
-
padding:
|
|
342
|
+
margin-bottom: @line-height-computed;
|
|
343
|
+
padding: @line-height-computed @line-height-computed 0;
|
|
330
344
|
|
|
331
345
|
> dd {
|
|
332
346
|
padding: 0;
|
|
@@ -363,12 +377,12 @@ table col[class*='col-'] {
|
|
|
363
377
|
text-decoration: none;
|
|
364
378
|
|
|
365
379
|
&.active {
|
|
366
|
-
background-color:
|
|
367
|
-
color:
|
|
380
|
+
background-color: @brand-navy;
|
|
381
|
+
color: #fff;
|
|
368
382
|
}
|
|
369
383
|
|
|
370
384
|
&:not([disabled]):hover {
|
|
371
|
-
background-color:
|
|
385
|
+
background-color: @brand-light-blue;
|
|
372
386
|
color: #fff;
|
|
373
387
|
}
|
|
374
388
|
}
|
package/src/less/tick.less
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
@import (reference) './mixins/_logical-properties.less';
|
|
2
|
-
|
|
3
1
|
.tw-checkbox-check {
|
|
4
2
|
position: relative;
|
|
5
3
|
display: inline-block;
|
|
@@ -17,18 +15,7 @@
|
|
|
17
15
|
|
|
18
16
|
.tw-checkbox-button[disabled] &,
|
|
19
17
|
input[type='checkbox']:disabled + .tw-checkbox-button & {
|
|
20
|
-
background-color: var(--color-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.tw-checkbox-button + .tw-checkbox-button & {
|
|
24
|
-
background-color: var(--color-interactive-disabled);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.has-error {
|
|
29
|
-
&::before,
|
|
30
|
-
&::after {
|
|
31
|
-
background-color: var(--color-interactive-negative);
|
|
18
|
+
background-color: var(--color-text-inactive);
|
|
32
19
|
}
|
|
33
20
|
}
|
|
34
21
|
|
package/src/less/tooltip.less
CHANGED
|
@@ -1,126 +1,7 @@
|
|
|
1
1
|
// TODO: remove bootstrap dependencies
|
|
2
2
|
|
|
3
|
+
// variables
|
|
3
4
|
@import (reference) '../variables/legacy-variables.less';
|
|
4
|
-
@import (reference) '
|
|
5
|
-
@import (reference) '
|
|
6
|
-
|
|
7
|
-
//
|
|
8
|
-
// Tooltips
|
|
9
|
-
// --------------------------------------------------
|
|
10
|
-
|
|
11
|
-
// Base class
|
|
12
|
-
.tooltip {
|
|
13
|
-
position: absolute;
|
|
14
|
-
z-index: @zindex-tooltip;
|
|
15
|
-
display: block;
|
|
16
|
-
|
|
17
|
-
// Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
|
|
18
|
-
// So reset our font and text properties to avoid inheriting weird values.
|
|
19
|
-
|
|
20
|
-
.reset-text();
|
|
21
|
-
|
|
22
|
-
font-size: var(--font-size-14);
|
|
23
|
-
opacity: 0;
|
|
24
|
-
|
|
25
|
-
&.in {
|
|
26
|
-
opacity: @tooltip-opacity;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&.top {
|
|
30
|
-
margin-top: -3px;
|
|
31
|
-
padding: @tooltip-arrow-width 0;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&.right {
|
|
35
|
-
.margin(left, 3px);
|
|
36
|
-
|
|
37
|
-
padding: 0 @tooltip-arrow-width;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&.bottom {
|
|
41
|
-
margin-top: 3px;
|
|
42
|
-
padding: @tooltip-arrow-width 0;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&.left {
|
|
46
|
-
.margin(left, -3px);
|
|
47
|
-
|
|
48
|
-
padding: 0 @tooltip-arrow-width;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
// Wrapper for the tooltip content
|
|
53
|
-
.tooltip-inner {
|
|
54
|
-
max-width: @tooltip-max-width;
|
|
55
|
-
padding: var(--size-16) var(--size-16);
|
|
56
|
-
color: var(--color-content-primary);
|
|
57
|
-
text-align: center;
|
|
58
|
-
background-color: var(--color-background-screen);
|
|
59
|
-
border-radius: @border-radius-base;
|
|
60
|
-
box-shadow: 0 1px 28px 0 rgba(34, 48, 73, 0.2);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// Arrows
|
|
64
|
-
.tooltip-arrow {
|
|
65
|
-
position: absolute;
|
|
66
|
-
width: 0;
|
|
67
|
-
height: 0;
|
|
68
|
-
border-color: transparent;
|
|
69
|
-
border-style: solid;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
// Note: Deprecated .top-left, .top-right, .bottom-left, and .bottom-right as of v3.3.1
|
|
73
|
-
// stylelint-disable-next-line no-duplicate-selectors
|
|
74
|
-
.tooltip {
|
|
75
|
-
&.top .tooltip-arrow {
|
|
76
|
-
bottom: 0;
|
|
77
|
-
.left(50%);
|
|
78
|
-
|
|
79
|
-
.margin(left, -@tooltip-arrow-width);
|
|
80
|
-
|
|
81
|
-
border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
|
|
82
|
-
border-top-color: var(--color-background-screen);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&.right .tooltip-arrow {
|
|
86
|
-
top: 50%;
|
|
87
|
-
.left(0);
|
|
88
|
-
|
|
89
|
-
margin-top: -@tooltip-arrow-width;
|
|
90
|
-
border-width: @tooltip-arrow-width @tooltip-arrow-width @tooltip-arrow-width 0;
|
|
91
|
-
border-right-color: var(--color-background-screen);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&.left .tooltip-arrow {
|
|
95
|
-
top: 50%;
|
|
96
|
-
.right(0);
|
|
97
|
-
|
|
98
|
-
margin-top: -@tooltip-arrow-width;
|
|
99
|
-
border-width: @tooltip-arrow-width 0 @tooltip-arrow-width @tooltip-arrow-width;
|
|
100
|
-
border-left-color: var(--color-background-screen);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
&.bottom .tooltip-arrow {
|
|
104
|
-
top: 0;
|
|
105
|
-
.left(50%);
|
|
106
|
-
|
|
107
|
-
.margin(left, -@tooltip-arrow-width);
|
|
108
|
-
|
|
109
|
-
border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
|
|
110
|
-
border-bottom-color: var(--color-background-screen);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
[data-toggle=tooltip]:not(.btn) {
|
|
115
|
-
cursor: pointer;
|
|
116
|
-
|
|
117
|
-
&:hover,
|
|
118
|
-
&:focus {
|
|
119
|
-
color: var(--color-content-accent-hover) !important;
|
|
120
|
-
outline: 0;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
a[data-toggle=tooltip] {
|
|
125
|
-
white-space: nowrap;
|
|
126
|
-
}
|
|
5
|
+
@import (reference) 'bootstrap/less/mixins/reset-text.less';
|
|
6
|
+
@import (reference) 'bootstrap/less/mixins/opacity.less';
|
|
7
|
+
@import 'bootstrap/less/tooltip.less';
|
package/src/less/utilities.less
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@import (reference) '../variables/legacy-variables.less';
|
|
2
|
-
@import (reference) '
|
|
3
|
-
@import (reference) '
|
|
4
|
-
@import (reference) '
|
|
5
|
-
@import
|
|
2
|
+
@import (reference) 'bootstrap/less/mixins/clearfix.less';
|
|
3
|
+
@import (reference) 'bootstrap/less/mixins/center-block.less';
|
|
4
|
+
@import (reference) 'bootstrap/less/mixins/hide-text.less';
|
|
5
|
+
@import 'bootstrap/less/utilities.less';
|
|
6
6
|
|
|
7
7
|
.d-inline-block {
|
|
8
8
|
display: inline-block;
|
|
@@ -11,133 +11,3 @@
|
|
|
11
11
|
.d-inline {
|
|
12
12
|
display: inline;
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
.clearfix {
|
|
16
|
-
.clearfix();
|
|
17
|
-
}
|
|
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
|
-
// Toggling content
|
|
94
|
-
// -------------------------
|
|
95
|
-
|
|
96
|
-
// Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
|
|
97
|
-
|
|
98
|
-
.hide {
|
|
99
|
-
display: none !important;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.show {
|
|
103
|
-
display: block !important;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.invisible {
|
|
107
|
-
visibility: hidden;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.text-hide {
|
|
111
|
-
.text-hide();
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
// Hide from screenreaders and browsers
|
|
115
|
-
//
|
|
116
|
-
// Credit: HTML5 Boilerplate
|
|
117
|
-
|
|
118
|
-
.hidden {
|
|
119
|
-
display: none !important;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
// For Affix plugin
|
|
123
|
-
// -------------------------
|
|
124
|
-
|
|
125
|
-
.affix {
|
|
126
|
-
position: fixed;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.rotate90 {
|
|
130
|
-
transform: rotate(90deg);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.rotate180 {
|
|
134
|
-
transform: rotate(180deg);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.rotate270 {
|
|
138
|
-
transform: rotate(270deg);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.rotate-90 {
|
|
142
|
-
transform: rotate(-90deg);
|
|
143
|
-
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@font-family-base: 'Averta', 'Avenir W02', 'Avenir', Helvetica, Arial, sans-serif;
|
|
2
|
+
|
|
3
|
+
@font-weight-base: 500;
|
|
4
|
+
@font-weight-semi-bold: 600;
|
|
5
|
+
@font-weight-bold: 800;
|
|
6
|
+
|
|
7
|
+
@font-size-xx-large: 2.625rem; // 42px
|
|
8
|
+
@font-size-x-large: 1.75rem; // 28px
|
|
9
|
+
@font-size-large: 1.375rem; // 22px
|
|
10
|
+
@font-size-medium: 1.125rem; // 18px
|
|
11
|
+
@font-size-base: 1rem; // 16px
|
|
12
|
+
@font-size-small: 0.875rem; // 14px
|
|
13
|
+
@font-size-x-small: 0.75rem; // 12px
|
|
14
|
+
|
|
15
|
+
// We will be revisiting these soon, do not use directly
|
|
16
|
+
@line-height-x-large: 1.1428571429; // 32/28
|
|
17
|
+
@line-height-large: 1.3636363636; // 30/22
|
|
18
|
+
@line-height-medium: 1.3333333333; // 24/18
|
|
19
|
+
@line-height-base: 1.5; // 24/16
|
|
20
|
+
@line-height-small: 1.7142857143; // 24/14
|
|
21
|
+
@line-height-x-small: 2; // 24/12
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/*
|
|
2
|
+
DEPRECATED
|
|
3
|
+
Use neptune-tokens.css instead. If the token you want isn't available there, raise an issue in @transferwise/neptune-tokens.
|
|
4
|
+
*/
|
|
5
|
+
:root {
|
|
6
|
+
--border-radius: 3px;
|
|
7
|
+
--spacer: 8px;
|
|
8
|
+
--space-4: 4px;
|
|
9
|
+
--space-8: 8px;
|
|
10
|
+
--space-12: 12px;
|
|
11
|
+
--space-16: 16px;
|
|
12
|
+
--space-24: 24px;
|
|
13
|
+
--space-32: 32px;
|
|
14
|
+
--space-40: 40px;
|
|
15
|
+
--space-48: 48px;
|
|
16
|
+
--space-56: 56px;
|
|
17
|
+
--space-64: 64px;
|
|
18
|
+
--color-text-link-hover: #00a4df;
|
|
19
|
+
--color-text-link-active: #008ec0;
|
|
20
|
+
--brand-white: #fff;
|
|
21
|
+
--link-color: #00b9ff;
|
|
22
|
+
--brand-pale-blue: #dbf0fd;
|
|
23
|
+
--brand-navy-minus-20: #253655;
|
|
24
|
+
--brand-navy-minus-10: #2e4369;
|
|
25
|
+
--brand-navy: #37517e;
|
|
26
|
+
--brand-blue-minus-20: #111824;
|
|
27
|
+
--brand-blue-minus-10: #192439;
|
|
28
|
+
--brand-blue: #223049;
|
|
29
|
+
--brand-light-blue-minus-10: #00a4df;
|
|
30
|
+
--brand-light-blue: #00b9ff;
|
|
31
|
+
--brand-grey-plus-10: #6f8691;
|
|
32
|
+
--brand-smoke-minus-10: #a8aaac;
|
|
33
|
+
--brand-smoke: #d3d5d8;
|
|
34
|
+
--brand-smoke-plus-10: #e2e6e8;
|
|
35
|
+
--brand-smoke-plus-20: #f2f5f7;
|
|
36
|
+
--brand-green-minus-10: #28b862;
|
|
37
|
+
--brand-green: #2ed06e;
|
|
38
|
+
--gray-base: #f2f5f7;
|
|
39
|
+
--gray-darker: #384347;
|
|
40
|
+
--gray-light: #829ca9;
|
|
41
|
+
--brand-primary: #37517e;
|
|
42
|
+
--body-bg: #fff;
|
|
43
|
+
--text-bold-color: #2e4369;
|
|
44
|
+
--font-size-xx-large: 2.8rem; /* 42px */
|
|
45
|
+
--font-size-x-large: 1.8666666667rem; /* 28px */
|
|
46
|
+
--font-size-large: 1.4666666667rem; /* 22px */
|
|
47
|
+
--font-size-medium: 1.2rem; /* 18px */
|
|
48
|
+
--font-size: 0.9375rem; /* 15px */
|
|
49
|
+
--font-size-small: 0.9333333333rem; /* 14px */
|
|
50
|
+
--font-size-x-small: 0.8rem; /* 12px */
|
|
51
|
+
--line-height: 1.6; /* 24/15 */
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@media (--screen-md) {
|
|
55
|
+
:root {
|
|
56
|
+
--font-size-xx-large: 2.625rem; /* 42px */
|
|
57
|
+
--font-size-x-large: 1.75rem; /* 28px */
|
|
58
|
+
--font-size-large: 1.375rem; /* 22px */
|
|
59
|
+
--font-size-medium: 1.125rem; /* 18px */
|
|
60
|
+
--font-size: 1rem; /* 16px */
|
|
61
|
+
--font-size-small: 0.875rem; /* 14px */
|
|
62
|
+
--font-size-x-small: 0.75rem; /* 12px */
|
|
63
|
+
--line-height: 1.5; /* 24/16px */
|
|
64
|
+
}
|
|
65
|
+
}
|