@transferwise/neptune-css 0.0.0-experimental-bb7ed4a → 0.0.0-experimental-7cfec48
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 +6 -21
- package/dist/css/alerts.css +14 -159
- package/dist/css/background.css +2 -6
- package/dist/css/badge.css +1 -11
- package/dist/css/breadcrumbs.css +1 -2
- package/dist/css/button-groups.css +2 -8
- package/dist/css/buttons.css +142 -212
- package/dist/css/chevron.css +1 -1
- package/dist/css/circles.css +10 -22
- package/dist/css/close.css +2 -3
- package/dist/css/column-layout.css +0 -4
- package/dist/css/currency-flags.css +1 -5
- package/dist/css/decision.css +5 -14
- package/dist/css/dropdowns.css +8 -28
- package/dist/css/droppable.css +11 -18
- package/dist/css/flex.css +0 -32
- package/dist/css/footer.css +8 -46
- package/dist/css/grid.css +0 -6
- package/dist/css/input-groups.css +142 -188
- package/dist/css/link-callout.css +0 -2
- package/dist/css/list-group.css +8 -39
- package/dist/css/media.css +0 -6
- package/dist/css/modals.css +3 -13
- package/dist/css/navbar-base.css +19 -107
- package/dist/css/navbar.css +37 -175
- package/dist/css/navs.css +8 -33
- package/dist/css/neptune-addons.css +4 -466
- package/dist/css/neptune-core.css +32 -196
- package/dist/css/neptune.css +655 -2204
- package/dist/css/panels.css +0 -3
- package/dist/css/popovers.css +6 -30
- package/dist/css/process.css +8 -8
- package/dist/css/progress-bars.css +2 -11
- package/dist/css/ring.css +2 -2
- package/dist/css/select.css +2 -12
- package/dist/css/sequences.css +25 -173
- package/dist/css/table.css +18 -65
- package/dist/css/tick.css +0 -2
- package/dist/css/tooltip.css +1 -7
- package/dist/css/wells.css +5 -25
- package/dist/less/neptune-tokens.less +153 -264
- package/dist/props/neptune-tokens.css +145 -132
- 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 +0 -3
- 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,142 +1,155 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Fri, 10 May 2024 10:53:52 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-
|
|
7
|
+
--color-bright-yellow: #ffeb69;
|
|
8
|
+
--color-bright-orange: #ffc091;
|
|
9
|
+
--color-dark-purple: #260a2f;
|
|
10
|
+
--color-dark-gold: #3a341c;
|
|
11
|
+
--color-bright-blue: #a0e1e1;
|
|
12
|
+
--color-dark-charcoal: #21231d;
|
|
13
|
+
--color-white: #ffffff;
|
|
14
|
+
--color-black: #000000;
|
|
15
|
+
--color-bright-green: #9fe870;
|
|
16
|
+
--color-forest-green: #163300;
|
|
17
|
+
--color-bright-pink: #ffd7ef;
|
|
18
|
+
--color-dark-maroon: #320707;
|
|
19
|
+
--color-content-primary: #0e0f0c;
|
|
20
|
+
--color-content-secondary: #454745;
|
|
21
|
+
--color-content-tertiary: #6a6c6a;
|
|
22
|
+
--color-content-link: #163300;
|
|
23
|
+
--color-content-link-hover: #0d1f00;
|
|
24
|
+
--color-content-link-active: #0e0f0c;
|
|
25
|
+
--color-interactive-primary: #163300;
|
|
26
|
+
--color-interactive-primary-hover: #0d1f00;
|
|
27
|
+
--color-interactive-primary-active: #0e0f0c;
|
|
28
|
+
--color-interactive-secondary: #868685;
|
|
29
|
+
--color-interactive-secondary-hover: #6c6c6b;
|
|
30
|
+
--color-interactive-secondary-active: #525251;
|
|
31
|
+
--color-interactive-accent: #9fe870;
|
|
32
|
+
--color-interactive-accent-hover: #80e142;
|
|
33
|
+
--color-interactive-accent-active: #65cf21;
|
|
34
|
+
--color-interactive-control: #163300;
|
|
35
|
+
--color-interactive-control-hover: #0d1f00;
|
|
36
|
+
--color-interactive-control-active: #0e0f0c;
|
|
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;
|
|
37
42
|
--color-background-screen: #ffffff;
|
|
43
|
+
--color-background-screen-hover: #16330014;
|
|
44
|
+
--color-background-screen-active: #16330021;
|
|
38
45
|
--color-background-elevated: #ffffff;
|
|
39
|
-
--color-background-neutral: #
|
|
40
|
-
--color-background-
|
|
41
|
-
--color-background-
|
|
42
|
-
--color-background-
|
|
43
|
-
--color-
|
|
44
|
-
--color-
|
|
45
|
-
--color-
|
|
46
|
-
--color-
|
|
47
|
-
--color-
|
|
48
|
-
--
|
|
49
|
-
--
|
|
50
|
-
--
|
|
51
|
-
--
|
|
52
|
-
--
|
|
53
|
-
--
|
|
54
|
-
--
|
|
55
|
-
--
|
|
56
|
-
--
|
|
57
|
-
--
|
|
58
|
-
--
|
|
59
|
-
--
|
|
60
|
-
--
|
|
61
|
-
--size-
|
|
62
|
-
--size-
|
|
63
|
-
--size-
|
|
64
|
-
--size-
|
|
65
|
-
--size-
|
|
66
|
-
--size-
|
|
67
|
-
--size-
|
|
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
|
-
--
|
|
88
|
-
--
|
|
89
|
-
--
|
|
90
|
-
--
|
|
91
|
-
--
|
|
92
|
-
--
|
|
93
|
-
--
|
|
94
|
-
--
|
|
95
|
-
--
|
|
96
|
-
--
|
|
97
|
-
--
|
|
98
|
-
--font-size-
|
|
99
|
-
--font-size-
|
|
100
|
-
--font-size-
|
|
101
|
-
--font-size-
|
|
102
|
-
--font-size-
|
|
103
|
-
--
|
|
104
|
-
--
|
|
105
|
-
--
|
|
106
|
-
--
|
|
107
|
-
--
|
|
108
|
-
--
|
|
109
|
-
--letter-spacing-
|
|
110
|
-
--letter-spacing-
|
|
111
|
-
--letter-spacing-
|
|
112
|
-
--letter-spacing-
|
|
113
|
-
--letter-spacing-
|
|
114
|
-
--letter-spacing-
|
|
115
|
-
--letter-spacing-negative-
|
|
116
|
-
--letter-spacing-negative-
|
|
117
|
-
--letter-spacing-negative-
|
|
118
|
-
--
|
|
119
|
-
--
|
|
120
|
-
--
|
|
121
|
-
--
|
|
122
|
-
--
|
|
123
|
-
--
|
|
124
|
-
--line-height-
|
|
125
|
-
--line-height-
|
|
126
|
-
--line-height-
|
|
127
|
-
--line-height-
|
|
128
|
-
--line-height-
|
|
129
|
-
--line-height-
|
|
130
|
-
--line-height-
|
|
131
|
-
--line-height-
|
|
132
|
-
--
|
|
133
|
-
--
|
|
134
|
-
--
|
|
135
|
-
--
|
|
136
|
-
--
|
|
137
|
-
--
|
|
138
|
-
--font-
|
|
139
|
-
--font-
|
|
46
|
+
--color-background-neutral: #16330014;
|
|
47
|
+
--color-background-neutral-hover: #16330021;
|
|
48
|
+
--color-background-neutral-active: #1633002e;
|
|
49
|
+
--color-background-overlay: #16330014;
|
|
50
|
+
--color-sentiment-negative: #a8200d;
|
|
51
|
+
--color-sentiment-negative-hover: #8e1b0b;
|
|
52
|
+
--color-sentiment-negative-active: #761709;
|
|
53
|
+
--color-sentiment-positive: #2f5711;
|
|
54
|
+
--color-sentiment-warning: #edc843;
|
|
55
|
+
--color-base-contrast: #ffffff;
|
|
56
|
+
--color-base-light: #ffffff;
|
|
57
|
+
--color-base-dark: #121511;
|
|
58
|
+
--color-contrast-overlay: #ffffff;
|
|
59
|
+
--color-contrast-theme: #121511;
|
|
60
|
+
--padding-base-x-small: 8px;
|
|
61
|
+
--padding-base-small: 16px;
|
|
62
|
+
--padding-base-medium: 24px;
|
|
63
|
+
--padding-base-large: 32px;
|
|
64
|
+
--radius-base-full: 9999px;
|
|
65
|
+
--radius-base-small: 10px;
|
|
66
|
+
--radius-base-medium: 16px;
|
|
67
|
+
--radius-base-large: 24px;
|
|
68
|
+
--size-base-4: 4px;
|
|
69
|
+
--size-base-8: 8px;
|
|
70
|
+
--size-base-10: 10px;
|
|
71
|
+
--size-base-12: 12px;
|
|
72
|
+
--size-base-14: 14px;
|
|
73
|
+
--size-base-16: 16px;
|
|
74
|
+
--size-base-24: 24px;
|
|
75
|
+
--size-base-32: 32px;
|
|
76
|
+
--size-base-40: 40px;
|
|
77
|
+
--size-base-48: 48px;
|
|
78
|
+
--size-base-52: 52px;
|
|
79
|
+
--size-base-56: 56px;
|
|
80
|
+
--size-base-60: 60px;
|
|
81
|
+
--size-base-64: 64px;
|
|
82
|
+
--size-base-72: 72px;
|
|
83
|
+
--size-base-80: 80px;
|
|
84
|
+
--size-base-88: 88px;
|
|
85
|
+
--size-base-96: 96px;
|
|
86
|
+
--size-base-104: 104px;
|
|
87
|
+
--size-base-112: 112px;
|
|
88
|
+
--size-base-120: 120px;
|
|
89
|
+
--size-base-126: 126px;
|
|
90
|
+
--size-base-128: 128px;
|
|
91
|
+
--size-base-146: 146px;
|
|
92
|
+
--size-base-154: 154px;
|
|
93
|
+
--size-base-160: 160px;
|
|
94
|
+
--size-base-x-small: 24px;
|
|
95
|
+
--size-base-small: 32px;
|
|
96
|
+
--size-base-medium: 40px;
|
|
97
|
+
--size-base-large: 48px;
|
|
98
|
+
--size-base-x-large: 56px;
|
|
99
|
+
--size-base-2x-large: 72px;
|
|
100
|
+
--space-base-content-horizontal: 16px;
|
|
101
|
+
--space-base-small: 16px;
|
|
102
|
+
--space-base-medium: 32px;
|
|
103
|
+
--space-base-large: 40px;
|
|
104
|
+
--space-base-x-large: 56px;
|
|
105
|
+
--font-base-size-12: 0.75rem;
|
|
106
|
+
--font-base-size-14: 0.875rem;
|
|
107
|
+
--font-base-size-16: 1rem;
|
|
108
|
+
--font-base-size-18: 1.125rem;
|
|
109
|
+
--font-base-size-20: 1.25rem;
|
|
110
|
+
--font-base-size-22: 1.375rem;
|
|
111
|
+
--font-base-size-24: 1.5rem;
|
|
112
|
+
--font-base-size-26: 1.625rem;
|
|
113
|
+
--font-base-size-28: 1.75rem;
|
|
114
|
+
--font-base-size-30: 1.875rem;
|
|
115
|
+
--font-base-size-32: 2rem;
|
|
116
|
+
--letter-spacing-base-xxs: 0.005em;
|
|
117
|
+
--letter-spacing-base-xs: 0.01em;
|
|
118
|
+
--letter-spacing-base-sm: 0.0125em;
|
|
119
|
+
--letter-spacing-base-md: 0.015em;
|
|
120
|
+
--letter-spacing-base-lg: 0.02em;
|
|
121
|
+
--letter-spacing-base-xl: 0.025em;
|
|
122
|
+
--letter-spacing-base-negative-xxs: -0.005em;
|
|
123
|
+
--letter-spacing-base-negative-xs: -0.01em;
|
|
124
|
+
--letter-spacing-base-negative-sm: -0.0125em;
|
|
125
|
+
--letter-spacing-base-negative-md: -0.015em;
|
|
126
|
+
--letter-spacing-base-negative-lg: -0.02em;
|
|
127
|
+
--letter-spacing-base-negative-xl: -0.025em;
|
|
128
|
+
--letter-spacing-base-negative-xxl: -0.03em;
|
|
129
|
+
--letter-spacing-base-negative-xxxl: -0.04em;
|
|
130
|
+
--letter-spacing-base-negative-xxxxl: -0.05em;
|
|
131
|
+
--line-height-base-18: 1.125rem;
|
|
132
|
+
--line-height-base-20: 1.25rem;
|
|
133
|
+
--line-height-base-22: 1.375rem;
|
|
134
|
+
--line-height-base-24: 1.5rem;
|
|
135
|
+
--line-height-base-28: 1.75rem;
|
|
136
|
+
--line-height-base-30: 1.875rem;
|
|
137
|
+
--line-height-base-32: 2rem;
|
|
138
|
+
--line-height-base-34: 2.125rem;
|
|
139
|
+
--line-height-base-36: 2.25rem;
|
|
140
|
+
--line-height-base-42: 2.625rem;
|
|
141
|
+
--line-height-base-48: 3rem;
|
|
142
|
+
--line-height-base-title: 0.075rem;
|
|
143
|
+
--line-height-base-body: 0.09375rem;
|
|
144
|
+
--line-height-base-control: 0.075rem;
|
|
145
|
+
--font-weight-base-light: 300;
|
|
146
|
+
--font-weight-base-regular: 400;
|
|
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;
|
|
140
153
|
}
|
|
141
154
|
|
|
142
155
|
/* 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-7cfec48",
|
|
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": "0.0.0-experimental-dee54ff"
|
|
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
|
-
.bg-primary {
|
|
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
|
-
.bg-primary,
|
|
55
|
-
.bg-info,
|
|
56
|
-
.bg-accent {
|
|
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
|
-
.bg-primary & {
|
|
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
|
-
.bg-primary & {
|
|
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
|
-
.bg-primary & {
|
|
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
|
-
.bg-primary & {
|
|
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,8 +7,6 @@
|
|
|
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");
|
|
12
10
|
|
|
13
11
|
.np-theme-personal & {
|
|
14
12
|
background-color: var(--color-forest-green);
|
|
@@ -19,6 +17,5 @@
|
|
|
19
17
|
|
|
20
18
|
&--light {
|
|
21
19
|
background-color: var(--color-background-neutral);
|
|
22
|
-
background-image: url("../img/bg-light.svg");
|
|
23
20
|
}
|
|
24
21
|
}
|
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
|
-
.btn-input-inverse {
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
.btn-input-inverse,
|
|
598
|
-
.btn-addon {
|
|
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
|
-
.bg-primary & {
|
|
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
|
-
.bg-primary & {
|
|
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
|
-
.bg-primary & {
|
|
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
|
-
.bg-primary & {
|
|
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
|
-
.bg-primary & {
|
|
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
|
-
.bg-primary & {
|
|
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
|
-
.bg-primary & {
|
|
234
|
-
|
|
235
|
-
}
|
|
233
|
+
// .bg-primary & {
|
|
234
|
+
// color: @color-navy-content-negative !important;
|
|
235
|
+
// }
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
.text-inverse {
|
|
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;
|