@transferwise/neptune-css 0.0.0-experimental-bca35d9 → 0.0.0-experimental-e674a91
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 +7 -10
- package/dist/css/alerts.css +142 -14
- package/dist/css/background.css +2 -2
- package/dist/css/badge.css +3 -1
- package/dist/css/breadcrumbs.css +1 -1
- package/dist/css/button-groups.css +6 -2
- package/dist/css/buttons.css +176 -151
- package/dist/css/chevron.css +1 -1
- package/dist/css/circles.css +11 -10
- package/dist/css/close.css +3 -2
- package/dist/css/column-layout.css +1 -0
- package/dist/css/currency-flags.css +1 -1
- package/dist/css/decision.css +6 -9
- package/dist/css/dropdowns.css +20 -12
- package/dist/css/droppable.css +9 -12
- package/dist/css/footer.css +43 -8
- package/dist/css/input-groups.css +139 -146
- package/dist/css/list-group.css +33 -12
- package/dist/css/modals.css +4 -3
- package/dist/css/navbar.css +133 -41
- package/dist/css/navs.css +20 -8
- package/dist/css/neptune-addons.css +85 -8
- package/dist/css/neptune-core.css +94 -42
- package/dist/css/neptune.css +1187 -640
- package/dist/css/popovers.css +12 -10
- package/dist/css/process.css +8 -8
- package/dist/css/progress-bars.css +7 -2
- package/dist/css/ring.css +2 -2
- package/dist/css/select.css +2 -2
- package/dist/css/sequences.css +95 -39
- package/dist/css/table.css +48 -14
- package/dist/css/tick.css +1 -0
- package/dist/css/tooltip.css +2 -1
- package/dist/css/wells.css +5 -5
- package/dist/less/neptune-tokens.less +175 -81
- package/dist/props/neptune-tokens.css +40 -80
- package/package.json +2 -2
- package/src/less/addons/_background-utilities.less +37 -0
- package/src/less/alerts.less +36 -0
- package/src/less/background.less +1 -0
- package/src/less/buttons.less +22 -0
- package/src/less/column-layout.less +1 -0
- package/src/less/core/_scaffolding.less +22 -3
- package/src/less/core/_typography-utilities.less +29 -0
- package/src/less/dropdowns.less +8 -0
- package/src/less/footer.less +33 -0
- package/src/less/mixins/_sequence.less +2 -2
- package/src/less/modals.less +1 -0
- package/src/less/navbar.less +31 -0
- package/src/less/navs.less +10 -0
- package/src/less/sequences.less +26 -0
- package/src/less/table.less +8 -0
- package/src/variables/neptune-tokens.less +10 -1
|
@@ -1,90 +1,50 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Wed,
|
|
3
|
+
* Generated on Wed, 15 Oct 2025 12:29:55 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-interactive-neutral: #e2f6d5;
|
|
41
|
-
--color-interactive-neutral-hover: #d3f2c0;
|
|
42
|
-
--color-interactive-neutral-active: #c5edab;
|
|
43
|
-
--color-border-neutral: #0e0f0c1f;
|
|
44
|
-
--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;
|
|
45
37
|
--color-background-screen: #ffffff;
|
|
46
|
-
--color-background-screen-hover: #16330014;
|
|
47
|
-
--color-background-screen-active: #16330021;
|
|
48
38
|
--color-background-elevated: #ffffff;
|
|
49
|
-
--color-background-neutral: #
|
|
50
|
-
--color-background-
|
|
51
|
-
--color-background-
|
|
52
|
-
--color-background-
|
|
53
|
-
--color-
|
|
54
|
-
--color-
|
|
55
|
-
--color-
|
|
56
|
-
--color-
|
|
57
|
-
--color-
|
|
58
|
-
--color-sentiment-negative-primary-active: #a72027;
|
|
59
|
-
--color-sentiment-negative-secondary: #fbeaea;
|
|
60
|
-
--color-sentiment-negative-secondary-hover: #f9e1e1;
|
|
61
|
-
--color-sentiment-negative-secondary-active: #f8d8d8;
|
|
62
|
-
--color-sentiment-positive: #054d28;
|
|
63
|
-
--color-sentiment-positive-hover: #043a1e;
|
|
64
|
-
--color-sentiment-positive-active: #022614;
|
|
65
|
-
--color-sentiment-positive-primary: #054d28;
|
|
66
|
-
--color-sentiment-positive-primary-hover: #043a1e;
|
|
67
|
-
--color-sentiment-positive-primary-active: #022614;
|
|
68
|
-
--color-sentiment-positive-secondary: #e2f6d5;
|
|
69
|
-
--color-sentiment-positive-secondary-hover: #d3f2c0;
|
|
70
|
-
--color-sentiment-positive-secondary-active: #c5edab;
|
|
71
|
-
--color-sentiment-warning: #ffd11a;
|
|
72
|
-
--color-sentiment-warning-hover: #ffd11a;
|
|
73
|
-
--color-sentiment-warning-active: #ffd11a;
|
|
74
|
-
--color-sentiment-warning-primary: #ffd11a;
|
|
75
|
-
--color-sentiment-warning-primary-hover: #ffd11a;
|
|
76
|
-
--color-sentiment-warning-primary-active: #ffd11a;
|
|
77
|
-
--color-sentiment-warning-secondary: #fff7d7;
|
|
78
|
-
--color-sentiment-warning-secondary-hover: #fff7d7;
|
|
79
|
-
--color-sentiment-warning-secondary-active: #fff7d7;
|
|
80
|
-
--color-sentiment-warning-content: #4a3b1c;
|
|
81
|
-
--color-sentiment-warning-content-hover: #3b2f16;
|
|
82
|
-
--color-sentiment-warning-content-active: #2c2311;
|
|
83
|
-
--color-contrast: #ffffff;
|
|
84
|
-
--color-light: #ffffff;
|
|
85
|
-
--color-dark: #121511;
|
|
86
|
-
--color-contrast-overlay: #ffffff;
|
|
87
|
-
--color-contrast-theme: #121511;
|
|
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;
|
|
88
48
|
--padding-x-small: 8px;
|
|
89
49
|
--padding-small: 16px;
|
|
90
50
|
--padding-medium: 24px;
|
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-e674a91",
|
|
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.20.2"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"gulp": "^5.0.1",
|
|
@@ -15,6 +15,12 @@
|
|
|
15
15
|
background-color: var(--color-background-accent) !important;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
19
|
+
.bg-primary {
|
|
20
|
+
background-color: @color-navy-background-elevated !important;
|
|
21
|
+
color: @color-navy-content-primary;
|
|
22
|
+
}
|
|
23
|
+
|
|
18
24
|
// @DEPRECATED: .bg-success, .bg-positive use .bg-neutral instead
|
|
19
25
|
.bg-positive,
|
|
20
26
|
.bg-success {
|
|
@@ -43,3 +49,34 @@
|
|
|
43
49
|
.bg-overlay {
|
|
44
50
|
background-color: var(--color-background-overlay) !important;
|
|
45
51
|
}
|
|
52
|
+
|
|
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
|
+
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
|
@@ -102,6 +102,15 @@
|
|
|
102
102
|
var(--color-content-positive);
|
|
103
103
|
var(--color-content-positive-hover);
|
|
104
104
|
);
|
|
105
|
+
|
|
106
|
+
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
107
|
+
.bg-primary & {
|
|
108
|
+
.alert-variant(
|
|
109
|
+
@color-navy-background-positive;
|
|
110
|
+
@color-navy-content-positive;
|
|
111
|
+
@color-navy-content-positive-hover;
|
|
112
|
+
);
|
|
113
|
+
}
|
|
105
114
|
}
|
|
106
115
|
|
|
107
116
|
.alert-info,
|
|
@@ -111,6 +120,15 @@
|
|
|
111
120
|
var(--color-content-primary);
|
|
112
121
|
var(--color-content-primary);
|
|
113
122
|
);
|
|
123
|
+
|
|
124
|
+
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
125
|
+
.bg-primary & {
|
|
126
|
+
.alert-variant(
|
|
127
|
+
@color-navy-background-neutral;
|
|
128
|
+
@color-navy-content-primary;
|
|
129
|
+
@color-navy-content-primary;
|
|
130
|
+
);
|
|
131
|
+
}
|
|
114
132
|
}
|
|
115
133
|
|
|
116
134
|
.alert-warning {
|
|
@@ -119,6 +137,15 @@
|
|
|
119
137
|
var(--color-content-warning);
|
|
120
138
|
var(--color-content-warning-hover);
|
|
121
139
|
);
|
|
140
|
+
|
|
141
|
+
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
142
|
+
.bg-primary & {
|
|
143
|
+
.alert-variant(
|
|
144
|
+
@color-navy-background-warning;
|
|
145
|
+
@color-navy-content-warning;
|
|
146
|
+
@color-navy-content-warning-hover;
|
|
147
|
+
);
|
|
148
|
+
}
|
|
122
149
|
}
|
|
123
150
|
|
|
124
151
|
.alert-danger,
|
|
@@ -128,6 +155,15 @@
|
|
|
128
155
|
var(--color-content-negative);
|
|
129
156
|
var(--color-content-negative-hover);
|
|
130
157
|
);
|
|
158
|
+
|
|
159
|
+
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
160
|
+
.bg-primary & {
|
|
161
|
+
.alert-variant(
|
|
162
|
+
@color-navy-background-negative;
|
|
163
|
+
@color-navy-content-negative;
|
|
164
|
+
@color-navy-content-negative-hover;
|
|
165
|
+
);
|
|
166
|
+
}
|
|
131
167
|
}
|
|
132
168
|
|
|
133
169
|
.form-group:focus-within .alert-focus,
|
package/src/less/background.less
CHANGED
package/src/less/buttons.less
CHANGED
|
@@ -589,6 +589,28 @@ input[type="button"] {
|
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
591
|
|
|
592
|
+
// @TODO Deprecate / Remove
|
|
593
|
+
// input-inverse is deprecated, remove after styleguide-components updated
|
|
594
|
+
.btn-input-inverse {
|
|
595
|
+
--color-content-primary: @color-navy-content-primary;
|
|
596
|
+
--color-content-accent: @color-navy-content-accent;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
.btn-input-inverse,
|
|
600
|
+
.btn-addon {
|
|
601
|
+
.button-variant(
|
|
602
|
+
@color-navy-content-primary;
|
|
603
|
+
@color-navy-content-primary;
|
|
604
|
+
@color-navy-background-screen;
|
|
605
|
+
@color-navy-background-screen;
|
|
606
|
+
@color-navy-background-screen;
|
|
607
|
+
@color-navy-background-elevated;
|
|
608
|
+
@color-navy-background-screen;
|
|
609
|
+
@color-navy-background-screen;
|
|
610
|
+
var(--color-background-screen);
|
|
611
|
+
);
|
|
612
|
+
}
|
|
613
|
+
|
|
592
614
|
// @TODO Deprecate / Remove
|
|
593
615
|
// Remove bootstrap-select rules after checking tw-currency-select
|
|
594
616
|
.form-group-sm {
|
|
@@ -98,16 +98,30 @@ pre {
|
|
|
98
98
|
a,
|
|
99
99
|
.np-text-link-default,
|
|
100
100
|
.np-text-link-large {
|
|
101
|
-
color: var(--color-content-link);
|
|
101
|
+
color: var(--color-sentiment-content-primary, var(--color-content-link));
|
|
102
|
+
|
|
103
|
+
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
104
|
+
.bg-primary & {
|
|
105
|
+
color: @color-navy-content-accent;
|
|
106
|
+
|
|
107
|
+
&:hover,
|
|
108
|
+
&:focus {
|
|
109
|
+
color: @color-navy-content-accent-hover;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&:active {
|
|
113
|
+
color: @color-navy-content-accent-active;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
102
116
|
|
|
103
117
|
&:hover,
|
|
104
118
|
&:focus {
|
|
105
|
-
color: var(--color-content-link-hover);
|
|
119
|
+
color: var(--color-sentiment-content-primary-hover, var(--color-content-link-hover));
|
|
106
120
|
text-decoration: underline;
|
|
107
121
|
}
|
|
108
122
|
|
|
109
123
|
&:active {
|
|
110
|
-
color: var(--color-content-link-active);
|
|
124
|
+
color: var(--color-sentiment-content-primary-active, var(--color-content-link-active));
|
|
111
125
|
}
|
|
112
126
|
|
|
113
127
|
&.secondary {
|
|
@@ -283,6 +297,11 @@ hr {
|
|
|
283
297
|
border: 0;
|
|
284
298
|
border-top: 1px solid var(--color-border-neutral);
|
|
285
299
|
|
|
300
|
+
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
301
|
+
.bg-primary & {
|
|
302
|
+
border-top: 1px solid @color-navy-border-neutral;
|
|
303
|
+
}
|
|
304
|
+
|
|
286
305
|
@media (--screen-sm) {
|
|
287
306
|
margin: var(--size-24) auto;
|
|
288
307
|
}
|
|
@@ -176,6 +176,11 @@
|
|
|
176
176
|
|
|
177
177
|
.text-primary {
|
|
178
178
|
.text-emphasis-variant(var(--color-content-primary), var(--color-content-primary), var(--color-content-primary));
|
|
179
|
+
|
|
180
|
+
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
181
|
+
.bg-primary & {
|
|
182
|
+
color: @color-navy-content-primary !important;
|
|
183
|
+
}
|
|
179
184
|
}
|
|
180
185
|
|
|
181
186
|
.text-secondary {
|
|
@@ -189,12 +194,22 @@
|
|
|
189
194
|
var(--color-content-positive),
|
|
190
195
|
var(--color-content-positive-hover)
|
|
191
196
|
);
|
|
197
|
+
|
|
198
|
+
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
199
|
+
.bg-primary & {
|
|
200
|
+
color: @color-navy-content-positive !important;
|
|
201
|
+
}
|
|
192
202
|
}
|
|
193
203
|
|
|
194
204
|
.text-accent,
|
|
195
205
|
.text-info {
|
|
196
206
|
.text-emphasis-variant(var(--color-content-accent), var(--color-content-accent), var(--color-content-accent-hover));
|
|
197
207
|
color: var(--color-interactive-primary) !important;
|
|
208
|
+
|
|
209
|
+
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
210
|
+
.bg-primary & {
|
|
211
|
+
color: @color-navy-content-accent !important;
|
|
212
|
+
}
|
|
198
213
|
}
|
|
199
214
|
|
|
200
215
|
.text-warning {
|
|
@@ -203,6 +218,11 @@
|
|
|
203
218
|
var(--color-content-warning),
|
|
204
219
|
var(--color-content-warning-hover),
|
|
205
220
|
);
|
|
221
|
+
|
|
222
|
+
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
223
|
+
.bg-primary & {
|
|
224
|
+
color: @color-navy-content-warning !important;
|
|
225
|
+
}
|
|
206
226
|
}
|
|
207
227
|
|
|
208
228
|
.text-negative,
|
|
@@ -212,6 +232,15 @@
|
|
|
212
232
|
var(--color-sentiment-negative),
|
|
213
233
|
var(--color-sentiment-negative-hover)
|
|
214
234
|
);
|
|
235
|
+
|
|
236
|
+
// @DEPRECATED: .bg-primary use .bg-elevated or ThemeProvider with theme="forest-green" instead
|
|
237
|
+
.bg-primary & {
|
|
238
|
+
color: @color-navy-content-negative !important;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.text-inverse {
|
|
243
|
+
.text-emphasis-variant(@color-navy-content-primary, @color-navy-content-primary, @color-navy-content-secondary);
|
|
215
244
|
}
|
|
216
245
|
|
|
217
246
|
.text-muted {
|
package/src/less/dropdowns.less
CHANGED
|
@@ -164,13 +164,21 @@
|
|
|
164
164
|
&,
|
|
165
165
|
&:hover,
|
|
166
166
|
&:focus {
|
|
167
|
+
color: @color-navy-content-primary;
|
|
167
168
|
text-decoration: none;
|
|
168
169
|
outline: 0;
|
|
170
|
+
background-color: @color-navy-background-elevated;
|
|
169
171
|
}
|
|
170
172
|
|
|
171
173
|
strong {
|
|
172
174
|
color: inherit;
|
|
173
175
|
}
|
|
176
|
+
|
|
177
|
+
.np-text-body-default,
|
|
178
|
+
.small,
|
|
179
|
+
.secondary {
|
|
180
|
+
color: @color-navy-content-secondary;
|
|
181
|
+
}
|
|
174
182
|
}
|
|
175
183
|
|
|
176
184
|
// Disabled state
|
package/src/less/footer.less
CHANGED
|
@@ -69,9 +69,42 @@
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
&.footer-inverse {
|
|
72
|
+
background: @color-navy-background-elevated;
|
|
73
|
+
|
|
74
|
+
.footer-link,
|
|
75
|
+
.link-icon {
|
|
76
|
+
color: @color-navy-content-primary;
|
|
77
|
+
|
|
78
|
+
&:hover,
|
|
79
|
+
&:active,
|
|
80
|
+
&:focus {
|
|
81
|
+
color: @color-navy-content-primary;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
svg {
|
|
85
|
+
fill: @color-navy-content-primary;
|
|
86
|
+
|
|
87
|
+
&:hover,
|
|
88
|
+
&:active,
|
|
89
|
+
&:focus {
|
|
90
|
+
fill: @color-navy-content-primary;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.footer-title {
|
|
96
|
+
color: @color-navy-content-primary;
|
|
97
|
+
}
|
|
98
|
+
|
|
72
99
|
hr {
|
|
73
100
|
opacity: 0.1;
|
|
74
101
|
}
|
|
102
|
+
|
|
103
|
+
.tiny,
|
|
104
|
+
.body-3,
|
|
105
|
+
.np-text-body-default {
|
|
106
|
+
color: @color-navy-content-primary;
|
|
107
|
+
}
|
|
75
108
|
}
|
|
76
109
|
|
|
77
110
|
@media (--screen-xs-max) {
|
|
@@ -125,12 +125,12 @@
|
|
|
125
125
|
.sequence-variant-detail(
|
|
126
126
|
@color,
|
|
127
127
|
@pip-offset-sm, @pip-offset-md, @pip-offset-lg,
|
|
128
|
-
var(--color-border-neutral),
|
|
128
|
+
var(--color-border-neutral), @color-navy-border-neutral, @sequence-margin-lg
|
|
129
129
|
);
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
@keyframes ~"sequence-pip-@{type}" {
|
|
133
|
-
from { border-color:
|
|
133
|
+
from { border-color: @color-navy-border-neutral; }
|
|
134
134
|
to { border-color: @color; }
|
|
135
135
|
}
|
|
136
136
|
}
|
package/src/less/modals.less
CHANGED
package/src/less/navbar.less
CHANGED
|
@@ -150,6 +150,7 @@
|
|
|
150
150
|
left:0;
|
|
151
151
|
z-index: @zindex-navbar-fixed;
|
|
152
152
|
backface-visibility: hidden;
|
|
153
|
+
background-color: @color-navy-background-elevated;
|
|
153
154
|
|
|
154
155
|
.navbar-nav > li {
|
|
155
156
|
> a,
|
|
@@ -253,6 +254,7 @@
|
|
|
253
254
|
font-weight: var(--font-weight-semi-bold);
|
|
254
255
|
line-height: var(--line-height-body);
|
|
255
256
|
margin-bottom: 8px;
|
|
257
|
+
color: @color-navy-content-primary;
|
|
256
258
|
|
|
257
259
|
.icon-bar:first-child {
|
|
258
260
|
margin-top: 1px;
|
|
@@ -324,6 +326,10 @@
|
|
|
324
326
|
}
|
|
325
327
|
|
|
326
328
|
@media (--screen-md) {
|
|
329
|
+
.navbar-inverse & {
|
|
330
|
+
color: @color-navy-content-primary;
|
|
331
|
+
}
|
|
332
|
+
|
|
327
333
|
&:hover {
|
|
328
334
|
border-bottom-color: transparent;
|
|
329
335
|
outline: 0;
|
|
@@ -647,6 +653,7 @@
|
|
|
647
653
|
}
|
|
648
654
|
|
|
649
655
|
.navbar-brand {
|
|
656
|
+
color: @color-navy-content-primary;
|
|
650
657
|
|
|
651
658
|
&:hover,
|
|
652
659
|
&:focus {
|
|
@@ -774,8 +781,13 @@
|
|
|
774
781
|
}
|
|
775
782
|
}
|
|
776
783
|
|
|
784
|
+
.navbar-text {
|
|
785
|
+
color: @color-navy-content-primary;
|
|
786
|
+
}
|
|
787
|
+
|
|
777
788
|
.navbar-nav {
|
|
778
789
|
> li > a {
|
|
790
|
+
color: @color-navy-content-primary;
|
|
779
791
|
|
|
780
792
|
@media (--screen-md) {
|
|
781
793
|
border-bottom: 3px solid transparent;
|
|
@@ -821,6 +833,7 @@
|
|
|
821
833
|
}
|
|
822
834
|
|
|
823
835
|
.navbar-link {
|
|
836
|
+
color: @color-navy-content-primary;
|
|
824
837
|
|
|
825
838
|
&:hover {
|
|
826
839
|
color: var(--color-content-accent-hover);
|
|
@@ -828,6 +841,7 @@
|
|
|
828
841
|
}
|
|
829
842
|
|
|
830
843
|
.btn-link {
|
|
844
|
+
color: @color-navy-content-primary;
|
|
831
845
|
|
|
832
846
|
&:hover,
|
|
833
847
|
&:focus {
|
|
@@ -970,6 +984,7 @@
|
|
|
970
984
|
display: block;
|
|
971
985
|
width: 100%;
|
|
972
986
|
height: 100%;
|
|
987
|
+
background-color: @color-navy-background-screen;
|
|
973
988
|
opacity: 0;
|
|
974
989
|
transition: opacity 0.35s ease;
|
|
975
990
|
}
|
|
@@ -1083,6 +1098,7 @@
|
|
|
1083
1098
|
|
|
1084
1099
|
@media (max-width: @screen-sm-max) {
|
|
1085
1100
|
.navbar-static-top {
|
|
1101
|
+
background-color: @color-navy-background-elevated;
|
|
1086
1102
|
border-bottom-color: transparent;
|
|
1087
1103
|
}
|
|
1088
1104
|
}
|
|
@@ -1103,6 +1119,7 @@
|
|
|
1103
1119
|
|
|
1104
1120
|
.navbar-title,
|
|
1105
1121
|
.navbar-subtitle {
|
|
1122
|
+
color: @color-navy-content-primary;
|
|
1106
1123
|
text-overflow: ellipsis;
|
|
1107
1124
|
overflow-x: hidden;
|
|
1108
1125
|
white-space: nowrap;
|
|
@@ -1128,6 +1145,7 @@
|
|
|
1128
1145
|
padding-top: 16px;
|
|
1129
1146
|
margin-top: -16px;
|
|
1130
1147
|
padding-bottom: 0;
|
|
1148
|
+
background-color: @color-navy-background-elevated;
|
|
1131
1149
|
border-bottom: 1px solid var(--color-border-neutral);
|
|
1132
1150
|
|
|
1133
1151
|
@media (min-width: @screen-lg-min) {
|
|
@@ -1168,6 +1186,12 @@
|
|
|
1168
1186
|
border-color: var(--color-interactive-accent);
|
|
1169
1187
|
}
|
|
1170
1188
|
|
|
1189
|
+
.btn-info:not(.disabled, :disabled):hover,
|
|
1190
|
+
.btn-warning:not(.disabled, :disabled):hover,
|
|
1191
|
+
.btn-danger:not(.disabled, :disabled):hover {
|
|
1192
|
+
color: @color-navy-content-primary;
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1171
1195
|
.form-control,
|
|
1172
1196
|
.input-group,
|
|
1173
1197
|
.btn-input,
|
|
@@ -1203,6 +1227,7 @@
|
|
|
1203
1227
|
// TODO this is a hack with no docs
|
|
1204
1228
|
|
|
1205
1229
|
.simple-nav {
|
|
1230
|
+
background-color: @color-navy-background-elevated;
|
|
1206
1231
|
|
|
1207
1232
|
.navbar-nav > li > a {
|
|
1208
1233
|
padding-top: (@navbar-padding-vertical + 4px);
|
|
@@ -1244,6 +1269,7 @@
|
|
|
1244
1269
|
|
|
1245
1270
|
@media (max-width: @screen-md-max) {
|
|
1246
1271
|
.simple-nav .navbar-nav > li > a {
|
|
1272
|
+
color: @color-navy-content-primary;
|
|
1247
1273
|
|
|
1248
1274
|
&:not(.disabled, :disabled):focus,
|
|
1249
1275
|
&:not(.disabled, :disabled):hover,
|
|
@@ -1294,6 +1320,7 @@
|
|
|
1294
1320
|
|
|
1295
1321
|
&.navbar-inverse {
|
|
1296
1322
|
&::before {
|
|
1323
|
+
background-color: @color-navy-background-screen;
|
|
1297
1324
|
border-top: none;
|
|
1298
1325
|
}
|
|
1299
1326
|
}
|
|
@@ -1409,3 +1436,7 @@
|
|
|
1409
1436
|
.tw-public-navigation-item-content__text.truncate {
|
|
1410
1437
|
display: inline-block;
|
|
1411
1438
|
}
|
|
1439
|
+
|
|
1440
|
+
.navbar-background--inverse {
|
|
1441
|
+
background-color: @color-navy-background-elevated;
|
|
1442
|
+
}
|
package/src/less/navs.less
CHANGED