@transferwise/neptune-css 12.4.2 → 12.5.0
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 +22 -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/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/dropdowns.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-base.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 -1
- 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/props/legacy-custom-props.css +5 -1
- package/package.json +4 -4
- package/src/less/accordion.less +3 -3
- package/src/less/addons/_background-utilities.less +1 -1
- package/src/less/addons/_spacing-utilities.less +2 -2
- package/src/less/alerts.less +5 -5
- package/src/less/background.less +3 -3
- package/src/less/badge.less +2 -2
- package/src/less/breadcrumbs.less +3 -2
- package/src/less/button-groups.less +8 -7
- package/src/less/buttons.less +8 -7
- package/src/less/chevron.less +2 -2
- package/src/less/circles.less +3 -3
- package/src/less/close.less +3 -3
- package/src/less/column-layout.less +3 -3
- package/src/less/components/_component-animations.less +1 -1
- package/src/less/core/_fonts.less +9 -9
- package/src/less/core/_scaffolding.less +11 -16
- package/src/less/core/_typography-utilities.less +18 -6
- package/src/less/core/_typography.less +6 -6
- package/src/less/currency-flags.less +1 -1
- package/src/less/decision.less +4 -3
- package/src/less/dropdowns.less +10 -9
- package/src/less/droppable.less +2 -2
- package/src/less/flex.less +3 -3
- package/src/less/footer.less +1 -1
- package/src/less/forms/checkbox-radio.less +14 -14
- package/src/less/forms.less +3 -3
- package/src/less/grid.less +17 -17
- package/src/less/input-groups.less +7 -6
- package/src/less/link-callout.less +1 -1
- package/src/less/list-group.less +3 -3
- package/src/less/loaders.less +1 -1
- package/src/less/media.less +1 -1
- package/src/less/mixins/_alerts.less +2 -2
- package/src/less/mixins/_arrows.less +2 -2
- package/src/less/mixins/_clearfix.less +1 -1
- package/src/less/mixins/_grid-framework.less +9 -8
- package/src/less/mixins/_list-group.less +1 -1
- package/src/less/mixins/_logical-properties-IE-friendly.less +14 -6
- package/src/less/mixins/_logical-properties.less +1 -1
- package/src/less/mixins/_nav-vertical-align.less +2 -1
- package/src/less/mixins/_physical-properties.less +0 -1
- package/src/less/mixins/_reset-text.less +1 -1
- package/src/less/mixins/_sequence.less +10 -4
- package/src/less/modals.less +3 -3
- package/src/less/navbar.less +18 -18
- package/src/less/navs.less +5 -5
- package/src/less/neptune-addons.less +3 -3
- package/src/less/neptune-core.less +4 -4
- package/src/less/neptune-social-media.less +3 -3
- package/src/less/neptune.bundle.less +41 -41
- package/src/less/panels.less +4 -5
- package/src/less/popovers.less +7 -7
- package/src/less/process.less +11 -5
- package/src/less/progress-bars.less +3 -3
- package/src/less/select.less +3 -2
- package/src/less/sequences.less +18 -18
- package/src/less/table.less +13 -9
- package/src/less/tick.less +2 -2
- package/src/less/tooltip.less +5 -5
- package/src/less/utilities.less +5 -5
- package/src/less/variables/_typography.less +3 -1
- package/src/props/legacy-custom-props.css +5 -1
- package/src/props/neptune-tokens.css +1 -1
- package/src/variables/neptune-tokens.less +2 -2
package/src/less/buttons.less
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
@import (reference)
|
|
2
|
-
@import (reference)
|
|
3
|
-
@import
|
|
4
|
-
@import
|
|
5
|
-
@import (reference)
|
|
1
|
+
@import (reference) "../variables/neptune-tokens.less";
|
|
2
|
+
@import (reference) "../variables/legacy-variables.less";
|
|
3
|
+
@import "./mixins/_buttons.less";
|
|
4
|
+
@import "./mixins/_tab-focus.less";
|
|
5
|
+
@import (reference) "./mixins/_logical-properties.less";
|
|
6
6
|
|
|
7
7
|
.btn {
|
|
8
8
|
display: inline-block;
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
touch-action: manipulation;
|
|
14
14
|
cursor: pointer;
|
|
15
15
|
// @TODO Remove?
|
|
16
|
-
|
|
16
|
+
// Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
|
17
|
+
background-image: none;
|
|
17
18
|
border: 1px solid transparent;
|
|
18
19
|
white-space: nowrap;
|
|
19
20
|
|
|
@@ -429,7 +430,7 @@ input[type="button"] {
|
|
|
429
430
|
margin-bottom: -8px;
|
|
430
431
|
background-repeat: no-repeat;
|
|
431
432
|
background-position: center;
|
|
432
|
-
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzI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ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPiAgICAgICAgPGcgaWQ9IlNwaW5uZXIiIHNrZXRjaDp0eXBlPSJNU0FydGJvYXJkR3JvdXAiIGZpbGw9InVybCgjbGluZWFyR3JhZGllbnQtMSkiPiAgICAgICAgICAgIDxwYXRoIGQ9Ik0xMiwyNCBDNS4zNzI1ODMsMjQgMCwxOC42Mjc0MTcgMCwxMiBDMCw1LjM3MjU4MyA1LjM3MjU4MywwIDEyLDAgTDEyLDIgQzYuNDc3MTUyNSwyIDIsNi40NzcxNTI1IDIsMTIgQzIsMTcuNTIyODQ3NSA2LjQ3NzE1MjUsMjIgMTIsMjIgQzE3LjUyMjg0NzUsMjIgMjIsMTcuNTIyODQ3NSAyMiwxMiBMMjQsMTIgQzI0LDE4LjYyNzQxNyAxOC42Mjc0MTcsMjQgMTIsMjQgWiIgaWQ9InNwaW4iIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==");
|
|
433
434
|
animation: rotating 0.4s linear infinite;
|
|
434
435
|
}
|
|
435
436
|
|
package/src/less/chevron.less
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@import (reference)
|
|
2
|
-
@import (reference)
|
|
1
|
+
@import (reference) "../variables/neptune-tokens.less";
|
|
2
|
+
@import (reference) "./mixins/_logical-properties.less";
|
|
3
3
|
|
|
4
4
|
.tw-chevron {
|
|
5
5
|
display: inline-block;
|
package/src/less/circles.less
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import (reference)
|
|
2
|
-
@import (reference)
|
|
3
|
-
@import (reference)
|
|
1
|
+
@import (reference) "../variables/legacy-variables.less";
|
|
2
|
+
@import (reference) "./mixins/_circle.less";
|
|
3
|
+
@import (reference) "./mixins/_logical-properties.less";
|
|
4
4
|
|
|
5
5
|
@circle-xs-diameter: 24px;
|
|
6
6
|
@circle-sm-diameter: 48px;
|
package/src/less/close.less
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import (reference)
|
|
2
|
-
@import (reference)
|
|
3
|
-
@import (reference)
|
|
1
|
+
@import (reference) "../variables/legacy-variables.less";
|
|
2
|
+
@import (reference) "./mixins/_tab-focus.less";
|
|
3
|
+
@import (reference) "./mixins/_logical-properties.less";
|
|
4
4
|
|
|
5
5
|
.close {
|
|
6
6
|
.float(right);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import (reference)
|
|
2
|
-
@import (reference)
|
|
3
|
-
@import (reference)
|
|
1
|
+
@import (reference) "../variables/neptune-tokens.less";
|
|
2
|
+
@import (reference) "../variables/legacy-variables.less";
|
|
3
|
+
@import (reference) "./mixins/_logical-properties.less";
|
|
4
4
|
|
|
5
5
|
.column-layout {
|
|
6
6
|
width: 100%;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-weight: var(--font-weight-regular);
|
|
3
|
-
font-family:
|
|
3
|
+
font-family: Averta;
|
|
4
4
|
src:
|
|
5
|
-
url(
|
|
6
|
-
url(
|
|
5
|
+
url("../fonts/TW-Averta-Regular.woff2") format("woff2"),
|
|
6
|
+
url("../fonts/TW-Averta-Regular.woff") format("woff");
|
|
7
7
|
font-display: swap;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
@font-face {
|
|
11
11
|
font-weight: var(--font-weight-semi-bold);
|
|
12
|
-
font-family:
|
|
12
|
+
font-family: Averta;
|
|
13
13
|
src:
|
|
14
|
-
url(
|
|
15
|
-
url(
|
|
14
|
+
url("../fonts/TW-Averta-Semibold.woff2") format("woff2"),
|
|
15
|
+
url("../fonts/TW-Averta-Semibold.woff") format("woff");
|
|
16
16
|
font-display: swap;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
@font-face {
|
|
20
20
|
font-weight: var(--font-weight-bold);
|
|
21
|
-
font-family:
|
|
21
|
+
font-family: Averta;
|
|
22
22
|
src:
|
|
23
|
-
url(
|
|
24
|
-
url(
|
|
23
|
+
url("../fonts/TW-Averta-Bold.woff2") format("woff2"),
|
|
24
|
+
url("../fonts/TW-Averta-Bold.woff") format("woff");
|
|
25
25
|
font-display: swap;
|
|
26
26
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@import (reference)
|
|
2
|
-
@import (reference)
|
|
1
|
+
@import (reference) "../../variables/neptune-tokens.less";
|
|
2
|
+
@import (reference) "../mixins/_logical-properties.less";
|
|
3
3
|
|
|
4
4
|
*,
|
|
5
5
|
::before,
|
|
@@ -77,11 +77,6 @@ a,
|
|
|
77
77
|
color: var(--color-content-accent-active);
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
&:focus {
|
|
81
|
-
outline: thin dotted rgba(0, 0, 0, 0.5);
|
|
82
|
-
outline-offset: 2px;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
80
|
&.secondary {
|
|
86
81
|
color: var(--color-content-secondary);
|
|
87
82
|
font-weight: var(--font-weight-regular);
|
|
@@ -146,9 +141,9 @@ select {
|
|
|
146
141
|
}
|
|
147
142
|
|
|
148
143
|
button,
|
|
149
|
-
[type=
|
|
150
|
-
[type=
|
|
151
|
-
[type=
|
|
144
|
+
[type="button"],
|
|
145
|
+
[type="reset"],
|
|
146
|
+
[type="submit"] {
|
|
152
147
|
cursor: pointer;
|
|
153
148
|
appearance: button; // Normalize 8.0.1
|
|
154
149
|
|
|
@@ -165,24 +160,24 @@ button,
|
|
|
165
160
|
// iOS "clickable elements" fix for role="button"
|
|
166
161
|
// see https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
|
|
167
162
|
|
|
168
|
-
[role=
|
|
163
|
+
[role="button"] {
|
|
169
164
|
cursor: pointer;
|
|
170
165
|
}
|
|
171
166
|
|
|
172
|
-
[type=
|
|
173
|
-
[type=
|
|
167
|
+
[type="checkbox"],
|
|
168
|
+
[type="radio"] {
|
|
174
169
|
box-sizing: border-box; // Normalize 8.0.1
|
|
175
170
|
padding: 0; // Normalize 8.0.1
|
|
176
171
|
}
|
|
177
172
|
|
|
178
|
-
[type=
|
|
173
|
+
[type="number"] {
|
|
179
174
|
&::-webkit-inner-spin-button,
|
|
180
175
|
&::-webkit-outer-spin-button {
|
|
181
176
|
height: auto; // Normalize 8.0.1
|
|
182
177
|
}
|
|
183
178
|
}
|
|
184
179
|
|
|
185
|
-
[type=
|
|
180
|
+
[type="search"] {
|
|
186
181
|
outline-offset: -2px; // Normalize 8.0.1
|
|
187
182
|
appearance: textfield; // Normalize 8.0.1
|
|
188
183
|
|
|
@@ -276,7 +271,7 @@ dd {
|
|
|
276
271
|
&::before,
|
|
277
272
|
&::after {
|
|
278
273
|
display: table;
|
|
279
|
-
content:
|
|
274
|
+
content: " ";
|
|
280
275
|
}
|
|
281
276
|
|
|
282
277
|
&::after {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import (reference)
|
|
2
|
-
@import (reference)
|
|
3
|
-
@import
|
|
1
|
+
@import (reference) "../../variables/neptune-tokens.less";
|
|
2
|
+
@import (reference) "../mixins/_logical-properties.less";
|
|
3
|
+
@import "../mixins/_text-emphasis.less";
|
|
4
4
|
|
|
5
5
|
// Deprecated classes in next iterations.
|
|
6
6
|
|
|
@@ -179,7 +179,11 @@
|
|
|
179
179
|
|
|
180
180
|
.text-positive,
|
|
181
181
|
.text-success {
|
|
182
|
-
.text-emphasis-variant(
|
|
182
|
+
.text-emphasis-variant(
|
|
183
|
+
var(--color-content-positive),
|
|
184
|
+
var(--color-content-positive),
|
|
185
|
+
var(--color-content-positive-hover)
|
|
186
|
+
);
|
|
183
187
|
|
|
184
188
|
.bg-primary & {
|
|
185
189
|
color: @color-navy-content-positive !important;
|
|
@@ -209,7 +213,11 @@
|
|
|
209
213
|
|
|
210
214
|
.text-negative,
|
|
211
215
|
.text-danger {
|
|
212
|
-
.text-emphasis-variant(
|
|
216
|
+
.text-emphasis-variant(
|
|
217
|
+
var(--color-content-negative),
|
|
218
|
+
var(--color-content-negative),
|
|
219
|
+
var(--color-content-negative-hover)
|
|
220
|
+
);
|
|
213
221
|
|
|
214
222
|
.bg-primary & {
|
|
215
223
|
color: @color-navy-content-negative !important;
|
|
@@ -235,6 +243,7 @@
|
|
|
235
243
|
|
|
236
244
|
.display-1 {
|
|
237
245
|
margin-bottom: var(--size-24);
|
|
246
|
+
/* stylelint-disable-next-line number-max-precision */
|
|
238
247
|
font-size: 3.7333333333rem;
|
|
239
248
|
|
|
240
249
|
@media (--screen-md) {
|
|
@@ -245,6 +254,7 @@
|
|
|
245
254
|
|
|
246
255
|
.display-2 {
|
|
247
256
|
margin-bottom: var(--size-24);
|
|
257
|
+
/* stylelint-disable-next-line number-max-precision */
|
|
248
258
|
font-size: 3.7333333333rem;
|
|
249
259
|
|
|
250
260
|
@media (--screen-md) {
|
|
@@ -265,6 +275,7 @@
|
|
|
265
275
|
|
|
266
276
|
.display-4 {
|
|
267
277
|
margin-bottom: var(--size-4);
|
|
278
|
+
/* stylelint-disable-next-line number-max-precision */
|
|
268
279
|
font-size: 1.8666666667rem; // 28/15px
|
|
269
280
|
|
|
270
281
|
@media (--screen-md) {
|
|
@@ -275,6 +286,7 @@
|
|
|
275
286
|
|
|
276
287
|
.display-5 {
|
|
277
288
|
margin-bottom: var(--size-4);
|
|
289
|
+
/* stylelint-disable-next-line number-max-precision */
|
|
278
290
|
font-size: 1.8666666667rem; // 28/15px
|
|
279
291
|
|
|
280
292
|
@media (--screen-md) {
|
|
@@ -285,7 +297,7 @@
|
|
|
285
297
|
|
|
286
298
|
.colored-dot {
|
|
287
299
|
&::after {
|
|
288
|
-
content:
|
|
300
|
+
content: ".";
|
|
289
301
|
color: var(--color-content-accent);
|
|
290
302
|
}
|
|
291
303
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@import (reference)
|
|
2
|
-
@import (reference)
|
|
1
|
+
@import (reference) "../../variables/neptune-tokens.less";
|
|
2
|
+
@import (reference) "../mixins/_logical-properties.less";
|
|
3
3
|
|
|
4
4
|
// Deprecated classes. To remove in next iterations
|
|
5
5
|
|
|
@@ -231,7 +231,7 @@ blockquote {
|
|
|
231
231
|
line-height: var(--line-height-body);
|
|
232
232
|
|
|
233
233
|
&::before {
|
|
234
|
-
content:
|
|
234
|
+
content: "\2014 \00A0"; // em dash, nbsp
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
|
|
@@ -258,11 +258,11 @@ blockquote {
|
|
|
258
258
|
|
|
259
259
|
footer {
|
|
260
260
|
&::before {
|
|
261
|
-
content:
|
|
261
|
+
content: "";
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
&::after {
|
|
265
|
-
content:
|
|
265
|
+
content: "\00A0 \2014"; // nbsp, em dash
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
268
|
}
|
|
@@ -272,7 +272,7 @@ code,
|
|
|
272
272
|
kbd,
|
|
273
273
|
samp {
|
|
274
274
|
font-size: 1em;
|
|
275
|
-
font-family: Menlo, Monaco, Consolas,
|
|
275
|
+
font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
276
276
|
border-radius: 3px;
|
|
277
277
|
}
|
|
278
278
|
|
package/src/less/decision.less
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@import (reference)
|
|
2
|
-
@import (reference)
|
|
1
|
+
@import (reference) "../variables/neptune-tokens.less";
|
|
2
|
+
@import (reference) "./core/_typography.less";
|
|
3
3
|
|
|
4
4
|
.decision {
|
|
5
5
|
display: block;
|
|
@@ -54,7 +54,8 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
&:not(.disabled):hover {
|
|
57
|
-
// TODO: Replace this color on rebrand.
|
|
57
|
+
// TODO: Replace this color on rebrand.
|
|
58
|
+
// Custom hover color added to distinct decision hover color from product page backgrounds.
|
|
58
59
|
background-color: #86a7bd12;
|
|
59
60
|
|
|
60
61
|
.circle-inverse {
|
package/src/less/dropdowns.less
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
@import (reference)
|
|
2
|
-
@import (reference)
|
|
3
|
-
@import (reference)
|
|
4
|
-
@import (reference)
|
|
5
|
-
@import (reference)
|
|
1
|
+
@import (reference) "../variables/neptune-tokens.less";
|
|
2
|
+
@import (reference) "../variables/legacy-variables.less";
|
|
3
|
+
@import (reference) "./mixins/_border-radius.less";
|
|
4
|
+
@import (reference) "./mixins/_logical-properties.less";
|
|
5
|
+
@import (reference) "bootstrap/less/mixins/nav-divider.less";
|
|
6
6
|
|
|
7
7
|
//
|
|
8
8
|
// Dropdown menus
|
|
@@ -97,7 +97,8 @@
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
.dropdown-menu-closed() {
|
|
100
|
-
// the visibility transition here allows us to wait
|
|
100
|
+
// the visibility transition here allows us to wait
|
|
101
|
+
// for the opacity/transform animation to finish before we make it hidden.
|
|
101
102
|
transition:
|
|
102
103
|
opacity 0.2s cubic-bezier(0.6, 0.2, 0.1, 1),
|
|
103
104
|
transform 0.2s cubic-bezier(0.6, 0.2, 0.1, 1),
|
|
@@ -109,7 +110,7 @@
|
|
|
109
110
|
|
|
110
111
|
.dropdown-menu,
|
|
111
112
|
.btn-group .dropdown-menu {
|
|
112
|
-
max-width: ~
|
|
113
|
+
max-width: ~"calc(100vw - 32px)";
|
|
113
114
|
|
|
114
115
|
&.dropdown-menu-sm {
|
|
115
116
|
width: 220px;
|
|
@@ -288,7 +289,7 @@
|
|
|
288
289
|
// Dropdown section headers
|
|
289
290
|
.dropdown-header {
|
|
290
291
|
display: block;
|
|
291
|
-
padding: 8px 16px
|
|
292
|
+
padding: 8px 16px;
|
|
292
293
|
font-size: var(--font-size-14);
|
|
293
294
|
line-height: var(--line-height-body);
|
|
294
295
|
color: var(--color-content-secondary);
|
|
@@ -340,5 +341,5 @@
|
|
|
340
341
|
}
|
|
341
342
|
|
|
342
343
|
.bootstrap-select .dropdown-menu {
|
|
343
|
-
margin: -8px 0 -6px
|
|
344
|
+
margin: -8px 0 -6px;
|
|
344
345
|
}
|
package/src/less/droppable.less
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@import (reference)
|
|
2
|
-
@import (reference)
|
|
1
|
+
@import (reference) "../variables/legacy-variables.less";
|
|
2
|
+
@import (reference) "./mixins/_logical-properties.less";
|
|
3
3
|
|
|
4
4
|
.droppable {
|
|
5
5
|
position: relative;
|
package/src/less/flex.less
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// mixins
|
|
2
|
-
@import (reference)
|
|
3
|
-
@import (reference)
|
|
2
|
+
@import (reference) "./mixins/_flex.less";
|
|
3
|
+
@import (reference) "./mixins/_logical-properties.less";
|
|
4
4
|
|
|
5
|
-
.flex-properties(~
|
|
5
|
+
.flex-properties(~"");
|
|
6
6
|
|
|
7
7
|
@media (--screen-sm) {
|
|
8
8
|
.flex-properties(--sm);
|
package/src/less/footer.less
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import (reference)
|
|
2
|
-
@import (reference)
|
|
3
|
-
@import (reference)
|
|
1
|
+
@import (reference) "../../variables/legacy-variables.less";
|
|
2
|
+
@import (reference) "../../variables/neptune-tokens.less";
|
|
3
|
+
@import (reference) "../mixins/_logical-properties.less";
|
|
4
4
|
|
|
5
5
|
.radio,
|
|
6
6
|
.checkbox {
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
position: relative;
|
|
11
11
|
.padding(left, 48px);
|
|
12
12
|
|
|
13
|
-
input[type=
|
|
14
|
-
input[type=
|
|
13
|
+
input[type="radio"],
|
|
14
|
+
input[type="checkbox"] {
|
|
15
15
|
display: block;
|
|
16
16
|
position: absolute;
|
|
17
17
|
top: 13px;
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
&:not(.disabled, :disabled):hover,
|
|
45
|
-
input[type=
|
|
45
|
+
input[type="checkbox"]:hover + &,
|
|
46
46
|
.checkbox:hover & {
|
|
47
47
|
border-color: var(--color-interactive-secondary);
|
|
48
48
|
}
|
|
@@ -51,17 +51,17 @@
|
|
|
51
51
|
&:not(.disabled, :disabled).focus,
|
|
52
52
|
&:not(.disabled, :disabled):focus:hover,
|
|
53
53
|
&:not(.disabled, :disabled).focus:hover,
|
|
54
|
-
input[type=
|
|
54
|
+
input[type="checkbox"]:focus + &,
|
|
55
55
|
&:not(.disabled, :disabled):active,
|
|
56
56
|
&:not(.disabled, :disabled).active,
|
|
57
|
-
input[type=
|
|
57
|
+
input[type="checkbox"]:active + & {
|
|
58
58
|
border-color: var(--color-interactive-secondary);
|
|
59
59
|
outline: none;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
&[checked],
|
|
63
63
|
&.checked,
|
|
64
|
-
input[type=
|
|
64
|
+
input[type="checkbox"]:checked + & {
|
|
65
65
|
border-color: var(--color-interactive-accent) !important;
|
|
66
66
|
background-color: var(--color-interactive-accent);
|
|
67
67
|
|
|
@@ -72,14 +72,14 @@
|
|
|
72
72
|
|
|
73
73
|
&[checked]:hover,
|
|
74
74
|
&.checked:hover,
|
|
75
|
-
input[type=
|
|
75
|
+
input[type="checkbox"]:not(.disabled, :disabled):checked:hover + & {
|
|
76
76
|
border-color: var(--color-interactive-accent-hover) !important;
|
|
77
77
|
background-color: var(--color-interactive-accent-hover);
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
&[checked]:active,
|
|
81
81
|
&.checked:active,
|
|
82
|
-
input[type=
|
|
82
|
+
input[type="checkbox"]:not(.disabled, :disabled):checked:active + & {
|
|
83
83
|
border-color: var(--color-interactive-accent-active) !important;
|
|
84
84
|
background-color: var(--color-interactive-accent-active);
|
|
85
85
|
}
|
|
@@ -94,17 +94,17 @@
|
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
.checkbox.has-error input[type=
|
|
97
|
+
.checkbox.has-error input[type="checkbox"]:not(.disabled, :disabled):checked + & {
|
|
98
98
|
border-color: var(--color-interactive-negative) !important;
|
|
99
99
|
background-color: var(--color-interactive-negative);
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
.checkbox.has-error input[type=
|
|
102
|
+
.checkbox.has-error input[type="checkbox"]:not(.disabled, :disabled):checked:hover + & {
|
|
103
103
|
border-color: var(--color-interactive-negative-hover) !important;
|
|
104
104
|
background-color: var(--color-interactive-negative-hover);
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
.checkbox.has-error input[type=
|
|
107
|
+
.checkbox.has-error input[type="checkbox"]:not(.disabled, :disabled):checked:active + & {
|
|
108
108
|
border-color: var(--color-interactive-negative-active) !important;
|
|
109
109
|
background-color: var(--color-interactive-negative-active);
|
|
110
110
|
}
|
package/src/less/forms.less
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import (reference)
|
|
2
|
-
@import (reference)
|
|
3
|
-
@import
|
|
1
|
+
@import (reference) "../variables/legacy-variables.less";
|
|
2
|
+
@import (reference) "./mixins/_forms.less";
|
|
3
|
+
@import "./forms/bootstrap-forms.less";
|
|
4
4
|
|
|
5
5
|
.input-group-lg > input.form-control {
|
|
6
6
|
.input-height-adjust(@input-height-large);
|
package/src/less/grid.less
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
@import (reference)
|
|
2
|
-
@import (reference)
|
|
3
|
-
@import (reference)
|
|
4
|
-
@import (reference)
|
|
5
|
-
@import (reference)
|
|
1
|
+
@import (reference) "../variables/legacy-variables.less";
|
|
2
|
+
@import (reference) "./mixins/_clearfix.less";
|
|
3
|
+
@import (reference) "./mixins/_grid.less";
|
|
4
|
+
@import (reference) "./mixins/_grid-framework.less";
|
|
5
|
+
@import (reference) "./mixins/_logical-properties.less";
|
|
6
6
|
|
|
7
7
|
// Set the container width, and override it for fixed navbars in media queries.
|
|
8
8
|
.container {
|
|
@@ -79,37 +79,37 @@
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
[class*=
|
|
83
|
-
[class*=
|
|
84
|
-
[class*=
|
|
85
|
-
[class*=
|
|
82
|
+
[class*="col-sm"],
|
|
83
|
+
[class*="col-md"],
|
|
84
|
+
[class*="col-lg"],
|
|
85
|
+
[class*="col-xl"] {
|
|
86
86
|
margin-bottom: (@spacer-y * 2);
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
[class*=
|
|
89
|
+
[class*="col-xs"] {
|
|
90
90
|
margin-bottom: 0;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
@media (min-width: @screen-sm-min) {
|
|
94
|
-
[class*=
|
|
94
|
+
[class*="col-sm"] {
|
|
95
95
|
margin-bottom: 0;
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
@media (min-width: @screen-md-min) {
|
|
100
|
-
[class*=
|
|
100
|
+
[class*="col-md"] {
|
|
101
101
|
margin-bottom: 0;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
@media (min-width: @screen-lg-min) {
|
|
106
|
-
[class*=
|
|
106
|
+
[class*="col-lg"] {
|
|
107
107
|
margin-bottom: 0;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
@media (min-width: @screen-xl-min) {
|
|
112
|
-
[class*=
|
|
112
|
+
[class*="col-xl"] {
|
|
113
113
|
margin-bottom: 0;
|
|
114
114
|
}
|
|
115
115
|
}
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
display: flex;
|
|
119
119
|
flex-wrap: wrap;
|
|
120
120
|
|
|
121
|
-
> [class*=
|
|
121
|
+
> [class*="col-"] {
|
|
122
122
|
display: flex;
|
|
123
123
|
}
|
|
124
124
|
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
margin-left: -8px;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
[class*=
|
|
139
|
+
[class*="col-"] {
|
|
140
140
|
padding-right: 8px;
|
|
141
141
|
padding-left: 8px;
|
|
142
142
|
}
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
margin-right: -@gutter / 2;
|
|
147
147
|
margin-left: -@gutter / 2;
|
|
148
148
|
|
|
149
|
-
[class*=
|
|
149
|
+
[class*="col-"] {
|
|
150
150
|
padding-right: @gutter / 2;
|
|
151
151
|
padding-left: @gutter / 2;
|
|
152
152
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
@import (reference)
|
|
2
|
-
@import
|
|
3
|
-
@import
|
|
4
|
-
@import
|
|
5
|
-
@import (reference)
|
|
1
|
+
@import (reference) "../variables/legacy-variables.less";
|
|
2
|
+
@import "./mixins/_border-radius.less";
|
|
3
|
+
@import "./mixins/_buttons.less";
|
|
4
|
+
@import "./mixins/_forms.less";
|
|
5
|
+
@import (reference) "./mixins/_logical-properties.less";
|
|
6
6
|
|
|
7
7
|
.input-sm {
|
|
8
8
|
.input-size(
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
.input-group {
|
|
22
22
|
position: relative; // For dropdowns
|
|
23
23
|
display: table;
|
|
24
|
-
|
|
24
|
+
// Prevent input groups from inheriting border styles from table cells when placed in a table
|
|
25
|
+
border-collapse: separate;
|
|
25
26
|
width: 100%;
|
|
26
27
|
|
|
27
28
|
// Undo padding and float of grid classes
|
package/src/less/list-group.less
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import (reference)
|
|
2
|
-
@import (reference)
|
|
3
|
-
@import (reference)
|
|
1
|
+
@import (reference) "../variables/legacy-variables.less";
|
|
2
|
+
@import (reference) "./mixins/_list-group.less";
|
|
3
|
+
@import (reference) "./mixins/_logical-properties.less";
|
|
4
4
|
|
|
5
5
|
//
|
|
6
6
|
// List groups
|