@transferwise/neptune-css 0.0.0-experimental-7cfec48 → 0.0.0-experimental-1ed1574
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/accordion.css +21 -6
- package/dist/css/alerts.css +159 -14
- package/dist/css/background.css +6 -2
- package/dist/css/badge.css +11 -1
- package/dist/css/breadcrumbs.css +2 -1
- package/dist/css/button-groups.css +8 -2
- package/dist/css/buttons.css +212 -142
- package/dist/css/chevron.css +1 -1
- package/dist/css/circles.css +22 -10
- package/dist/css/close.css +3 -2
- package/dist/css/column-layout.css +4 -0
- package/dist/css/currency-flags.css +5 -1
- package/dist/css/decision.css +14 -5
- package/dist/css/dropdowns.css +28 -8
- package/dist/css/droppable.css +18 -11
- package/dist/css/flex.css +32 -0
- package/dist/css/footer.css +46 -8
- package/dist/css/grid.css +6 -0
- package/dist/css/input-groups.css +188 -142
- package/dist/css/link-callout.css +2 -0
- package/dist/css/list-group.css +39 -8
- package/dist/css/media.css +6 -0
- package/dist/css/modals.css +13 -3
- package/dist/css/navbar-base.css +107 -19
- package/dist/css/navbar.css +175 -37
- package/dist/css/navs.css +33 -8
- package/dist/css/neptune-addons.css +466 -4
- package/dist/css/neptune-core.css +196 -32
- package/dist/css/neptune.css +2204 -655
- package/dist/css/panels.css +3 -0
- package/dist/css/popovers.css +30 -6
- package/dist/css/process.css +8 -8
- package/dist/css/progress-bars.css +11 -2
- package/dist/css/ring.css +2 -2
- package/dist/css/select.css +12 -2
- package/dist/css/sequences.css +173 -25
- package/dist/css/table.css +65 -18
- package/dist/css/tick.css +2 -0
- package/dist/css/tooltip.css +7 -1
- package/dist/css/wells.css +25 -5
- package/dist/less/neptune-tokens.less +264 -153
- package/dist/props/neptune-tokens.css +132 -145
- package/package.json +2 -2
- package/src/less/addons/_background-utilities.less +33 -33
- package/src/less/alerts.less +28 -28
- package/src/less/background.less +3 -0
- package/src/less/buttons.less +19 -19
- package/src/less/column-layout.less +1 -1
- package/src/less/core/_scaffolding.less +13 -13
- package/src/less/core/_typography-utilities.less +18 -18
- package/src/less/dropdowns.less +7 -7
- package/src/less/footer.less +26 -26
- package/src/less/modals.less +1 -1
- package/src/less/navbar-base.less +25 -25
- package/src/less/navbar.less +3 -3
- package/src/less/navs.less +9 -9
- package/src/less/sequences.less +13 -13
- package/src/less/table.less +31 -31
- package/src/variables/neptune-tokens.less +8 -8
|
@@ -1,155 +1,142 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 07 May 2024 15:39:58 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root {
|
|
7
|
-
--color-
|
|
8
|
-
--color-
|
|
9
|
-
--color-
|
|
10
|
-
--color-
|
|
11
|
-
--color-
|
|
12
|
-
--color-
|
|
13
|
-
--color-
|
|
14
|
-
--color-
|
|
15
|
-
--color-
|
|
16
|
-
--color-
|
|
17
|
-
--color-
|
|
18
|
-
--color-
|
|
19
|
-
--color-content-
|
|
20
|
-
--color-content-
|
|
21
|
-
--color-content-
|
|
22
|
-
--color-
|
|
23
|
-
--color-
|
|
24
|
-
--color-
|
|
25
|
-
--color-interactive-
|
|
26
|
-
--color-interactive-
|
|
27
|
-
--color-interactive-
|
|
28
|
-
--color-interactive-
|
|
29
|
-
--color-interactive-
|
|
30
|
-
--color-interactive-
|
|
31
|
-
--color-interactive-
|
|
32
|
-
--color-interactive-
|
|
33
|
-
--color-interactive-
|
|
34
|
-
--color-interactive-
|
|
35
|
-
--color-interactive-
|
|
36
|
-
--color-interactive-
|
|
37
|
-
--color-interactive-contrast: #9fe870;
|
|
38
|
-
--color-interactive-contrast-hover: #cdffad;
|
|
39
|
-
--color-interactive-contrast-active: #ecffe0;
|
|
40
|
-
--color-border-neutral: #0e0f0c1f;
|
|
41
|
-
--color-border-overlay: #0e0f0c1f;
|
|
7
|
+
--color-content-primary: #37517e;
|
|
8
|
+
--color-content-secondary: #5d7079;
|
|
9
|
+
--color-content-tertiary: #768e9c;
|
|
10
|
+
--color-content-accent: #0097c7;
|
|
11
|
+
--color-content-accent-hover: #0084b3;
|
|
12
|
+
--color-content-accent-active: #0077a5;
|
|
13
|
+
--color-content-positive: #008026;
|
|
14
|
+
--color-content-positive-hover: #006d13;
|
|
15
|
+
--color-content-positive-active: #006002;
|
|
16
|
+
--color-content-negative: #cf2929;
|
|
17
|
+
--color-content-negative-hover: #b80419;
|
|
18
|
+
--color-content-negative-active: #a7000d;
|
|
19
|
+
--color-content-warning: #9a6500;
|
|
20
|
+
--color-content-warning-hover: #855400;
|
|
21
|
+
--color-content-warning-active: #764700;
|
|
22
|
+
--color-interactive-accent: #00a2dd;
|
|
23
|
+
--color-interactive-accent-hover: #008fc9;
|
|
24
|
+
--color-interactive-accent-active: #0081ba;
|
|
25
|
+
--color-interactive-positive: #2ead4b;
|
|
26
|
+
--color-interactive-positive-hover: #069939;
|
|
27
|
+
--color-interactive-positive-active: #008b2b;
|
|
28
|
+
--color-interactive-negative: #e74848;
|
|
29
|
+
--color-interactive-negative-hover: #d03238;
|
|
30
|
+
--color-interactive-negative-active: #bf1e2c;
|
|
31
|
+
--color-interactive-warning: #df8700;
|
|
32
|
+
--color-interactive-warning-hover: #c97500;
|
|
33
|
+
--color-interactive-warning-active: #b86700;
|
|
34
|
+
--color-interactive-secondary: #c9cbce;
|
|
35
|
+
--color-interactive-secondary-hover: #b5b7ba;
|
|
36
|
+
--color-interactive-secondary-active: #a7a9ab;
|
|
42
37
|
--color-background-screen: #ffffff;
|
|
43
|
-
--color-background-screen-hover: #16330014;
|
|
44
|
-
--color-background-screen-active: #16330021;
|
|
45
38
|
--color-background-elevated: #ffffff;
|
|
46
|
-
--color-background-neutral: #
|
|
47
|
-
--color-background-
|
|
48
|
-
--color-background-
|
|
49
|
-
--color-background-
|
|
50
|
-
--color-
|
|
51
|
-
--color-
|
|
52
|
-
--color-
|
|
53
|
-
--color-
|
|
54
|
-
--color-
|
|
55
|
-
--
|
|
56
|
-
--
|
|
57
|
-
--
|
|
58
|
-
--
|
|
59
|
-
--
|
|
60
|
-
--
|
|
61
|
-
--
|
|
62
|
-
--
|
|
63
|
-
--
|
|
64
|
-
--
|
|
65
|
-
--
|
|
66
|
-
--
|
|
67
|
-
--
|
|
68
|
-
--size-
|
|
69
|
-
--size-
|
|
70
|
-
--size-
|
|
71
|
-
--size-
|
|
72
|
-
--size-
|
|
73
|
-
--size-
|
|
74
|
-
--size-
|
|
75
|
-
--size-
|
|
76
|
-
--size-
|
|
77
|
-
--size-
|
|
78
|
-
--size-
|
|
79
|
-
--size-
|
|
80
|
-
--size-
|
|
81
|
-
--size-
|
|
82
|
-
--size-
|
|
83
|
-
--size-
|
|
84
|
-
--size-
|
|
85
|
-
--size-
|
|
86
|
-
--size-
|
|
87
|
-
--size-
|
|
88
|
-
--size-
|
|
89
|
-
--size-
|
|
90
|
-
--size-
|
|
91
|
-
--size-
|
|
92
|
-
--size-
|
|
93
|
-
--size-
|
|
94
|
-
--
|
|
95
|
-
--
|
|
96
|
-
--
|
|
97
|
-
--
|
|
98
|
-
--
|
|
99
|
-
--size-
|
|
100
|
-
--
|
|
101
|
-
--
|
|
102
|
-
--
|
|
103
|
-
--
|
|
104
|
-
--
|
|
105
|
-
--font-
|
|
106
|
-
--font-
|
|
107
|
-
--font-
|
|
108
|
-
--font-
|
|
109
|
-
--font-
|
|
110
|
-
--
|
|
111
|
-
--
|
|
112
|
-
--
|
|
113
|
-
--
|
|
114
|
-
--
|
|
115
|
-
--
|
|
116
|
-
--letter-spacing-
|
|
117
|
-
--letter-spacing-
|
|
118
|
-
--letter-spacing-
|
|
119
|
-
--letter-spacing-
|
|
120
|
-
--letter-spacing-
|
|
121
|
-
--letter-spacing-
|
|
122
|
-
--letter-spacing-
|
|
123
|
-
--letter-spacing-
|
|
124
|
-
--letter-spacing-
|
|
125
|
-
--
|
|
126
|
-
--
|
|
127
|
-
--
|
|
128
|
-
--
|
|
129
|
-
--
|
|
130
|
-
--
|
|
131
|
-
--line-height-
|
|
132
|
-
--line-height-
|
|
133
|
-
--line-height-
|
|
134
|
-
--line-height-
|
|
135
|
-
--line-height-
|
|
136
|
-
--line-height-
|
|
137
|
-
--line-height-
|
|
138
|
-
--line-height-
|
|
139
|
-
--
|
|
140
|
-
--
|
|
141
|
-
--
|
|
142
|
-
--
|
|
143
|
-
--
|
|
144
|
-
--
|
|
145
|
-
--font-
|
|
146
|
-
--font-
|
|
147
|
-
--font-weight-base-medium: 500;
|
|
148
|
-
--font-weight-base-semi-bold: 600;
|
|
149
|
-
--font-weight-base-bold: 700;
|
|
150
|
-
--font-weight-base-black: 900;
|
|
151
|
-
--font-family-base-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
152
|
-
--font-family-base-display: 'Wise Sans', 'Inter', sans-serif;
|
|
39
|
+
--color-background-neutral: #86a7bd1a;
|
|
40
|
+
--color-background-accent: #38c8ff1a;
|
|
41
|
+
--color-background-positive: #36c7971a;
|
|
42
|
+
--color-background-negative: #ff87871a;
|
|
43
|
+
--color-background-warning: #ffac001a;
|
|
44
|
+
--color-background-overlay: #0000001a;
|
|
45
|
+
--color-border-neutral: #0000001a;
|
|
46
|
+
--color-border-overlay: #0000001a;
|
|
47
|
+
--color-core-contrast: #000000;
|
|
48
|
+
--padding-x-small: 8px;
|
|
49
|
+
--padding-small: 16px;
|
|
50
|
+
--padding-medium: 24px;
|
|
51
|
+
--padding-large: 32px;
|
|
52
|
+
--radius-full: 9999px;
|
|
53
|
+
--radius-small: 10px;
|
|
54
|
+
--radius-medium: 16px;
|
|
55
|
+
--radius-large: 24px;
|
|
56
|
+
--size-4: 4px;
|
|
57
|
+
--size-8: 8px;
|
|
58
|
+
--size-10: 10px;
|
|
59
|
+
--size-12: 12px;
|
|
60
|
+
--size-14: 14px;
|
|
61
|
+
--size-16: 16px;
|
|
62
|
+
--size-24: 24px;
|
|
63
|
+
--size-32: 32px;
|
|
64
|
+
--size-40: 40px;
|
|
65
|
+
--size-48: 48px;
|
|
66
|
+
--size-52: 52px;
|
|
67
|
+
--size-56: 56px;
|
|
68
|
+
--size-60: 60px;
|
|
69
|
+
--size-64: 64px;
|
|
70
|
+
--size-72: 72px;
|
|
71
|
+
--size-80: 80px;
|
|
72
|
+
--size-88: 88px;
|
|
73
|
+
--size-96: 96px;
|
|
74
|
+
--size-104: 104px;
|
|
75
|
+
--size-112: 112px;
|
|
76
|
+
--size-120: 120px;
|
|
77
|
+
--size-126: 126px;
|
|
78
|
+
--size-128: 128px;
|
|
79
|
+
--size-146: 146px;
|
|
80
|
+
--size-154: 154px;
|
|
81
|
+
--size-x-small: 24px;
|
|
82
|
+
--size-small: 32px;
|
|
83
|
+
--size-medium: 40px;
|
|
84
|
+
--size-large: 48px;
|
|
85
|
+
--size-x-large: 56px;
|
|
86
|
+
--size-2x-large: 72px;
|
|
87
|
+
--space-content-horizontal: 16px;
|
|
88
|
+
--space-small: 16px;
|
|
89
|
+
--space-medium: 32px;
|
|
90
|
+
--space-large: 40px;
|
|
91
|
+
--space-x-large: 56px;
|
|
92
|
+
--font-size-12: 0.75rem;
|
|
93
|
+
--font-size-14: 0.875rem;
|
|
94
|
+
--font-size-16: 1rem;
|
|
95
|
+
--font-size-18: 1.125rem;
|
|
96
|
+
--font-size-20: 1.25rem;
|
|
97
|
+
--font-size-22: 1.375rem;
|
|
98
|
+
--font-size-24: 1.5rem;
|
|
99
|
+
--font-size-26: 1.625rem;
|
|
100
|
+
--font-size-28: 1.75rem;
|
|
101
|
+
--font-size-30: 1.875rem;
|
|
102
|
+
--font-size-32: 2rem;
|
|
103
|
+
--letter-spacing-xxs: 0.005em;
|
|
104
|
+
--letter-spacing-xs: 0.01em;
|
|
105
|
+
--letter-spacing-sm: 0.0125em;
|
|
106
|
+
--letter-spacing-md: 0.015em;
|
|
107
|
+
--letter-spacing-lg: 0.02em;
|
|
108
|
+
--letter-spacing-xl: 0.025em;
|
|
109
|
+
--letter-spacing-negative-xxs: -0.005em;
|
|
110
|
+
--letter-spacing-negative-xs: -0.01em;
|
|
111
|
+
--letter-spacing-negative-sm: -0.0125em;
|
|
112
|
+
--letter-spacing-negative-md: -0.015em;
|
|
113
|
+
--letter-spacing-negative-lg: -0.02em;
|
|
114
|
+
--letter-spacing-negative-xl: -0.025em;
|
|
115
|
+
--letter-spacing-negative-xxl: -0.03em;
|
|
116
|
+
--letter-spacing-negative-xxxl: -0.04em;
|
|
117
|
+
--letter-spacing-negative-xxxxl: -0.05em;
|
|
118
|
+
--line-height-18: 1.125rem;
|
|
119
|
+
--line-height-20: 1.25rem;
|
|
120
|
+
--line-height-22: 1.375rem;
|
|
121
|
+
--line-height-24: 1.5rem;
|
|
122
|
+
--line-height-28: 1.75rem;
|
|
123
|
+
--line-height-30: 1.875rem;
|
|
124
|
+
--line-height-32: 2rem;
|
|
125
|
+
--line-height-34: 2.125rem;
|
|
126
|
+
--line-height-36: 2.25rem;
|
|
127
|
+
--line-height-42: 2.625rem;
|
|
128
|
+
--line-height-48: 3rem;
|
|
129
|
+
--line-height-title: 1.2;
|
|
130
|
+
--line-height-body: 1.5;
|
|
131
|
+
--line-height-control: 1.2;
|
|
132
|
+
--font-weight-light: 300;
|
|
133
|
+
--font-weight-regular: 400;
|
|
134
|
+
--font-weight-medium: 500;
|
|
135
|
+
--font-weight-semi-bold: 600;
|
|
136
|
+
--font-weight-bold: 700;
|
|
137
|
+
--font-weight-black: 900;
|
|
138
|
+
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
139
|
+
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
153
140
|
}
|
|
154
141
|
|
|
155
142
|
/* DEPRECATED, use neptune-tokens instead: https://transferwise.github.io/neptune-web/styles/tokens/Colors */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@transferwise/neptune-css",
|
|
3
3
|
"description": "Neptune CSS library",
|
|
4
|
-
"version": "0.0.0-experimental-
|
|
4
|
+
"version": "0.0.0-experimental-1ed1574",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"scripts"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@transferwise/neptune-tokens": "
|
|
26
|
+
"@transferwise/neptune-tokens": "^8.9.2"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"modern-normalize": "^2.0.0",
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
.bg-primary {
|
|
20
|
+
background-color: @color-navy-background-elevated !important;
|
|
21
|
+
color: @color-navy-content-primary;
|
|
22
|
+
}
|
|
23
23
|
|
|
24
24
|
// @DEPRECATED: .bg-success, .bg-positive use .bg-neutral instead
|
|
25
25
|
.bg-positive,
|
|
@@ -51,32 +51,32 @@
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
// @DEPRECATED: .bg-primary, .bg-info, .bg-accent use .bg-neutral or .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
54
|
+
.bg-primary,
|
|
55
|
+
.bg-info,
|
|
56
|
+
.bg-accent {
|
|
57
|
+
h1,
|
|
58
|
+
h2,
|
|
59
|
+
h3,
|
|
60
|
+
h4,
|
|
61
|
+
h5,
|
|
62
|
+
h6,
|
|
63
|
+
.h1,
|
|
64
|
+
.h2,
|
|
65
|
+
.h3,
|
|
66
|
+
.h4,
|
|
67
|
+
.h5,
|
|
68
|
+
.h6,
|
|
69
|
+
.title-1,
|
|
70
|
+
.title-2,
|
|
71
|
+
.title-3,
|
|
72
|
+
.title-4,
|
|
73
|
+
.title-5,
|
|
74
|
+
.np-text-title-screen,
|
|
75
|
+
.np-text-title-section,
|
|
76
|
+
.np-text-title-subsection,
|
|
77
|
+
.np-text-title-body,
|
|
78
|
+
.np-text-title-group,
|
|
79
|
+
strong {
|
|
80
|
+
color: @color-navy-content-primary;
|
|
81
|
+
}
|
|
82
|
+
}
|
package/src/less/alerts.less
CHANGED
|
@@ -105,13 +105,13 @@
|
|
|
105
105
|
);
|
|
106
106
|
|
|
107
107
|
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
108
|
+
.bg-primary & {
|
|
109
|
+
.alert-variant(
|
|
110
|
+
@color-navy-background-positive;
|
|
111
|
+
@color-navy-content-positive;
|
|
112
|
+
@color-navy-content-positive-hover;
|
|
113
|
+
);
|
|
114
|
+
}
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
.alert-info,
|
|
@@ -123,13 +123,13 @@
|
|
|
123
123
|
);
|
|
124
124
|
|
|
125
125
|
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
126
|
+
.bg-primary & {
|
|
127
|
+
.alert-variant(
|
|
128
|
+
@color-navy-background-neutral;
|
|
129
|
+
@color-navy-content-primary;
|
|
130
|
+
@color-navy-content-primary;
|
|
131
|
+
);
|
|
132
|
+
}
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
.alert-warning {
|
|
@@ -140,13 +140,13 @@
|
|
|
140
140
|
);
|
|
141
141
|
|
|
142
142
|
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
143
|
+
.bg-primary & {
|
|
144
|
+
.alert-variant(
|
|
145
|
+
@color-navy-background-warning;
|
|
146
|
+
@color-navy-content-warning;
|
|
147
|
+
@color-navy-content-warning-hover;
|
|
148
|
+
);
|
|
149
|
+
}
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
.alert-danger,
|
|
@@ -158,13 +158,13 @@
|
|
|
158
158
|
);
|
|
159
159
|
|
|
160
160
|
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
161
|
+
.bg-primary & {
|
|
162
|
+
.alert-variant(
|
|
163
|
+
@color-navy-background-negative;
|
|
164
|
+
@color-navy-content-negative;
|
|
165
|
+
@color-navy-content-negative-hover;
|
|
166
|
+
);
|
|
167
|
+
}
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
.form-group:focus-within .alert-focus,
|
package/src/less/background.less
CHANGED
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
background-position: bottom;
|
|
8
8
|
|
|
9
9
|
&--dark {
|
|
10
|
+
background-color: @color-navy-background-neutral;
|
|
11
|
+
background-image: url("../img/bg-dark.svg");
|
|
10
12
|
|
|
11
13
|
.np-theme-personal & {
|
|
12
14
|
background-color: var(--color-forest-green);
|
|
@@ -17,5 +19,6 @@
|
|
|
17
19
|
|
|
18
20
|
&--light {
|
|
19
21
|
background-color: var(--color-background-neutral);
|
|
22
|
+
background-image: url("../img/bg-light.svg");
|
|
20
23
|
}
|
|
21
24
|
}
|
package/src/less/buttons.less
CHANGED
|
@@ -589,25 +589,25 @@ input[type="button"] {
|
|
|
589
589
|
|
|
590
590
|
// @TODO Deprecate / Remove
|
|
591
591
|
// input-inverse is deprecated, remove after styleguide-components updated
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
592
|
+
.btn-input-inverse {
|
|
593
|
+
--color-content-primary: @color-navy-content-primary;
|
|
594
|
+
--color-content-accent: @color-navy-content-accent;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
.btn-input-inverse,
|
|
598
|
+
.btn-addon {
|
|
599
|
+
.button-variant(
|
|
600
|
+
@color-navy-content-primary;
|
|
601
|
+
@color-navy-content-primary;
|
|
602
|
+
@color-navy-background-screen;
|
|
603
|
+
@color-navy-background-screen;
|
|
604
|
+
@color-navy-background-screen;
|
|
605
|
+
@color-navy-background-elevated;
|
|
606
|
+
@color-navy-background-screen;
|
|
607
|
+
@color-navy-background-screen;
|
|
608
|
+
var(--color-background-screen);
|
|
609
|
+
);
|
|
610
|
+
}
|
|
611
611
|
|
|
612
612
|
// @TODO Deprecate / Remove
|
|
613
613
|
// Remove bootstrap-select rules after checking tw-currency-select
|
|
@@ -101,18 +101,18 @@ a,
|
|
|
101
101
|
color: var(--color-content-link);
|
|
102
102
|
|
|
103
103
|
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
.bg-primary & {
|
|
105
|
+
color: @color-navy-content-accent;
|
|
106
106
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
107
|
+
&:hover,
|
|
108
|
+
&:focus {
|
|
109
|
+
color: @color-navy-content-accent-hover;
|
|
110
|
+
}
|
|
111
111
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
112
|
+
&:active {
|
|
113
|
+
color: @color-navy-content-accent-active;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
116
|
|
|
117
117
|
&:hover,
|
|
118
118
|
&:focus {
|
|
@@ -298,9 +298,9 @@ hr {
|
|
|
298
298
|
border-top: 1px solid var(--color-border-neutral);
|
|
299
299
|
|
|
300
300
|
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
301
|
+
.bg-primary & {
|
|
302
|
+
border-top: 1px solid @color-navy-border-neutral;
|
|
303
|
+
}
|
|
304
304
|
|
|
305
305
|
@media (--screen-sm) {
|
|
306
306
|
margin: var(--size-24) auto;
|
|
@@ -174,9 +174,9 @@
|
|
|
174
174
|
.text-emphasis-variant(var(--color-content-primary), var(--color-content-primary), var(--color-content-primary));
|
|
175
175
|
|
|
176
176
|
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
.bg-primary & {
|
|
178
|
+
color: @color-navy-content-primary !important;
|
|
179
|
+
}
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
.text-secondary {
|
|
@@ -192,9 +192,9 @@
|
|
|
192
192
|
);
|
|
193
193
|
|
|
194
194
|
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
195
|
+
.bg-primary & {
|
|
196
|
+
color: @color-navy-content-positive !important;
|
|
197
|
+
}
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
.text-accent,
|
|
@@ -203,9 +203,9 @@
|
|
|
203
203
|
color: var(--color-interactive-primary) !important;
|
|
204
204
|
|
|
205
205
|
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
206
|
+
.bg-primary & {
|
|
207
|
+
color: @color-navy-content-accent !important;
|
|
208
|
+
}
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
.text-warning {
|
|
@@ -216,9 +216,9 @@
|
|
|
216
216
|
);
|
|
217
217
|
|
|
218
218
|
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
219
|
+
.bg-primary & {
|
|
220
|
+
color: @color-navy-content-warning !important;
|
|
221
|
+
}
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
.text-negative,
|
|
@@ -230,14 +230,14 @@
|
|
|
230
230
|
);
|
|
231
231
|
|
|
232
232
|
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
233
|
+
.bg-primary & {
|
|
234
|
+
color: @color-navy-content-negative !important;
|
|
235
|
+
}
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
238
|
+
.text-inverse {
|
|
239
|
+
.text-emphasis-variant(@color-navy-content-primary, @color-navy-content-primary, @color-navy-content-secondary);
|
|
240
|
+
}
|
|
241
241
|
|
|
242
242
|
.text-muted {
|
|
243
243
|
color: var(--color-content-tertiary) !important;
|