@transferwise/neptune-css 0.0.0-experimental-526a2be → 0.0.0-experimental-26ff56b
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 +22 -66
- package/dist/css/alerts.css +0 -39
- package/dist/css/background.css +0 -1
- package/dist/css/badge.css +2 -14
- package/dist/css/breadcrumbs.css +0 -2
- package/dist/css/button-groups.css +29 -12
- package/dist/css/buttons.css +35 -177
- package/dist/css/chevron.css +0 -1
- package/dist/css/circles.css +0 -19
- package/dist/css/close.css +0 -3
- package/dist/css/column-layout.css +0 -3
- package/dist/css/currency-flags.css +0 -3
- package/dist/css/decision.css +22 -61
- package/dist/css/dropdowns.css +39 -75
- package/dist/css/droppable.css +28 -26
- package/dist/css/flex.css +0 -16
- package/dist/css/footer.css +41 -28
- package/dist/css/grid.css +0 -6
- package/dist/css/input-groups.css +203 -361
- package/dist/css/link-callout.css +0 -1
- package/dist/css/list-group.css +1 -88
- package/dist/css/media.css +0 -3
- package/dist/css/modals.css +1 -15
- package/dist/css/navbar.css +66 -213
- package/dist/css/navs.css +8 -35
- package/dist/css/neptune-addons.css +15 -298
- package/dist/css/neptune-core.css +5935 -667
- package/dist/css/neptune.css +8492 -3482
- package/dist/css/panels.css +2 -6
- package/dist/css/popovers.css +39 -89
- package/dist/css/process.css +0 -9
- package/dist/css/progress-bars.css +2 -16
- package/dist/css/ring.css +0 -4
- package/dist/css/select.css +0 -8
- package/dist/css/sequences.css +14 -69
- package/dist/css/table.css +7 -54
- package/dist/css/tick.css +0 -2
- package/dist/css/tooltip.css +28 -19
- package/dist/css/wells.css +0 -20
- package/dist/less/legacy-variables.css +0 -0
- package/dist/less/legacy-variables.less +3 -3
- package/dist/less/neptune-tokens.css +0 -0
- package/dist/less/neptune-tokens.less +0 -48
- package/dist/less/zindex.css +0 -0
- package/dist/props/neptune-tokens.css +804 -3
- package/package.json +1 -1
- package/src/less/addons/_background-utilities.less +5 -0
- package/src/less/badge.less +2 -2
- package/src/less/button-groups.less +3 -2
- package/src/less/buttons.less +7 -7
- package/src/less/core/_fonts.less +7 -75
- package/src/less/core/_scaffolding.less +4 -4
- package/src/less/core/_typography-utilities.less +3 -3
- package/src/less/core/_typography.less +81 -235
- package/src/less/core/fonts/_fonts-ar.less +140 -0
- package/src/less/core/fonts/_fonts-en.less +99 -0
- package/src/less/core/fonts/_fonts-he.less +8 -0
- package/src/less/core/fonts/_fonts-ja.less +4247 -0
- package/src/less/core/fonts/_fonts-ko.less +1079 -0
- package/src/less/core/fonts/_fonts-th.less +8 -0
- package/src/less/core/fonts/_fonts-zh.less +872 -0
- package/src/less/decision.less +2 -2
- package/src/less/dropdowns.less +8 -7
- package/src/less/droppable.less +4 -4
- package/src/less/footer.less +4 -3
- package/src/less/forms/bootstrap-forms.less +85 -72
- package/src/less/forms/checkbox-radio.less +3 -3
- package/src/less/input-groups.less +23 -10
- package/src/less/list-group.less +8 -5
- package/src/less/mixins/_reset-text.less +1 -1
- package/src/less/mixins/_text-emphasis.less +7 -1
- package/src/less/modals.less +1 -1
- package/src/less/navbar.less +19 -19
- package/src/less/navs.less +8 -8
- package/src/less/neptune.bundle.less +4 -0
- package/src/less/panels.less +2 -2
- package/src/less/popovers.less +7 -7
- package/src/less/progress-bars.less +2 -2
- package/src/less/sequences.less +15 -10
- package/src/less/table.less +7 -7
- package/src/less/tooltip.less +1 -1
- package/src/variables/legacy-variables.less +3 -3
- package/dist/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/dist/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
- package/dist/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/dist/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
- package/dist/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
- package/src/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/src/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
- package/src/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/src/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
- package/src/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/src/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
- package/src/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
package/dist/css/list-group.css
CHANGED
|
@@ -2,23 +2,17 @@
|
|
|
2
2
|
list-style-type: none;
|
|
3
3
|
margin-block-end: 20px;
|
|
4
4
|
padding-inline-start: 0;
|
|
5
|
-
border-inline-start: 1px solid rgba(0,0,0,0.10196);
|
|
6
|
-
border-inline-start: 1px solid #0000001a;
|
|
7
5
|
border-inline-start: 1px solid var(--color-border-neutral);
|
|
8
|
-
border-inline-end: 1px solid rgba(0,0,0,0.10196);
|
|
9
|
-
border-inline-end: 1px solid #0000001a;
|
|
10
6
|
border-inline-end: 1px solid var(--color-border-neutral);
|
|
11
7
|
}
|
|
12
8
|
.list-group-item {
|
|
13
9
|
display: block;
|
|
14
10
|
padding-block: 16px 16px;
|
|
15
11
|
padding-inline: 14px 16px;
|
|
16
|
-
background-color: #ffffff;
|
|
17
12
|
background-color: var(--color-background-screen);
|
|
18
13
|
border-inline-start: 2px solid transparent;
|
|
19
14
|
margin-block-start: 1px;
|
|
20
|
-
line-height:
|
|
21
|
-
line-height: var(--line-height-body);
|
|
15
|
+
line-height: var(--wds-line-height-body-large);
|
|
22
16
|
transition: all ease 0.15s;
|
|
23
17
|
}
|
|
24
18
|
.panel-group .list-group-item {
|
|
@@ -38,76 +32,25 @@
|
|
|
38
32
|
}
|
|
39
33
|
.list-group-item-heading {
|
|
40
34
|
margin-block-end: 0;
|
|
41
|
-
margin: 0;
|
|
42
|
-
line-height: 1.2;
|
|
43
|
-
line-height: var(--line-height-title);
|
|
44
|
-
letter-spacing: 0;
|
|
45
|
-
word-wrap: break-word;
|
|
46
|
-
font-weight: 500;
|
|
47
|
-
font-weight: var(--font-weight-medium);
|
|
48
|
-
font-size: 0.875rem;
|
|
49
|
-
font-size: var(--font-size-14);
|
|
50
|
-
letter-spacing: -0.006em;
|
|
51
|
-
line-height: 140%;
|
|
52
|
-
color: #37517e;
|
|
53
35
|
color: var(--color-content-primary);
|
|
54
36
|
}
|
|
55
|
-
@supports (hyphenate-limit-chars: 1) {
|
|
56
|
-
.list-group-item-heading {
|
|
57
|
-
hyphens: auto;
|
|
58
|
-
hyphenate-limit-chars: 7 3;
|
|
59
|
-
}
|
|
60
|
-
@media (min-width: 840px) {
|
|
61
|
-
.list-group-item-heading {
|
|
62
|
-
hyphenate-limit-chars: 8 3;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
@media (min-width: 1160px) {
|
|
66
|
-
.list-group-item-heading {
|
|
67
|
-
hyphenate-limit-chars: 10 4 3;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
72
|
-
.list-group-item-heading {
|
|
73
|
-
hyphens: auto;
|
|
74
|
-
-webkit-hyphenate-limit-before: 3;
|
|
75
|
-
-webkit-hyphenate-limit-after: 3;
|
|
76
|
-
}
|
|
77
|
-
@media (min-width: 1160px) {
|
|
78
|
-
.list-group-item-heading {
|
|
79
|
-
-webkit-hyphenate-limit-before: 4;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
.list-group-item-heading + p,
|
|
84
|
-
.list-group-item-heading + ul:not(.list-unstyled),
|
|
85
|
-
.list-group-item-heading + ol:not(.list-unstyled) {
|
|
86
|
-
margin-block-start: 8px;
|
|
87
|
-
margin-block-start: var(--size-8);
|
|
88
|
-
}
|
|
89
37
|
.list-group-item-text {
|
|
90
38
|
margin-block-end: 0;
|
|
91
|
-
color: #5d7079;
|
|
92
39
|
color: var(--color-content-secondary);
|
|
93
40
|
}
|
|
94
41
|
a.list-group-item {
|
|
95
|
-
color: #0097c7;
|
|
96
42
|
color: var(--color-content-accent);
|
|
97
43
|
-webkit-text-decoration: none;
|
|
98
44
|
text-decoration: none;
|
|
99
45
|
}
|
|
100
46
|
a.list-group-item .list-group-item-heading {
|
|
101
|
-
color: #0097c7;
|
|
102
47
|
color: var(--color-content-accent);
|
|
103
48
|
}
|
|
104
49
|
a.list-group-item:not(.disabled):not(:disabled):hover,
|
|
105
50
|
a.list-group-item:not(.disabled):not(:disabled):focus {
|
|
106
51
|
-webkit-text-decoration: none;
|
|
107
52
|
text-decoration: none;
|
|
108
|
-
color: #0084b3;
|
|
109
53
|
color: var(--color-content-accent-hover);
|
|
110
|
-
background-color: rgba(134,167,189,0.10196);
|
|
111
54
|
background-color: var(--color-background-neutral);
|
|
112
55
|
}
|
|
113
56
|
.list-group-item[ng-click] {
|
|
@@ -118,13 +61,9 @@ a.list-group-item:not(.disabled):not(:disabled):focus {
|
|
|
118
61
|
}
|
|
119
62
|
.list-group-item.active {
|
|
120
63
|
z-index: 2;
|
|
121
|
-
background-color: #ffffff;
|
|
122
64
|
background-color: var(--color-background-elevated);
|
|
123
|
-
box-shadow: 0 1px 10px rgba(0,0,0,0.10196);
|
|
124
65
|
box-shadow: 0 1px 10px var(--color-border-neutral);
|
|
125
|
-
margin-block-start: 24px;
|
|
126
66
|
margin-block-start: var(--size-24);
|
|
127
|
-
margin-block-end: 24px;
|
|
128
67
|
margin-block-end: var(--size-24);
|
|
129
68
|
}
|
|
130
69
|
.list-group-item.active:first-child {
|
|
@@ -153,98 +92,75 @@ a.list-group-item:not(.disabled):not(:disabled):focus {
|
|
|
153
92
|
}
|
|
154
93
|
.list-group-inactive .list-group-item:hover,
|
|
155
94
|
.list-group-inactive .list-group-item.active {
|
|
156
|
-
background-color: #ffffff;
|
|
157
95
|
background-color: var(--color-background-screen);
|
|
158
96
|
}
|
|
159
97
|
@media (min-width: 600px) {
|
|
160
98
|
.list-group-inactive .list-group-item:hover .circle,
|
|
161
99
|
.list-group-inactive .list-group-item.active .circle {
|
|
162
|
-
background-color: rgba(134,167,189,0.10196);
|
|
163
100
|
background-color: var(--color-background-neutral);
|
|
164
101
|
}
|
|
165
102
|
}
|
|
166
103
|
.list-group-inactive .list-group-item.active {
|
|
167
|
-
margin-block-start: 24px;
|
|
168
104
|
margin-block-start: var(--size-24);
|
|
169
105
|
}
|
|
170
106
|
.list-group-item-success {
|
|
171
|
-
border-inline-start: 3px solid #008026;
|
|
172
107
|
border-inline-start: 3px solid var(--color-content-positive);
|
|
173
108
|
}
|
|
174
109
|
.list-group-item.list-group-item-success {
|
|
175
|
-
background-color: #ffffff;
|
|
176
110
|
background-color: var(--color-background-screen);
|
|
177
111
|
}
|
|
178
112
|
.list-group-item-success .list-group-item-text {
|
|
179
|
-
color: #008026;
|
|
180
113
|
color: var(--color-content-positive);
|
|
181
114
|
}
|
|
182
115
|
a.list-group-item-success {
|
|
183
|
-
color: #008026;
|
|
184
116
|
color: var(--color-content-positive);
|
|
185
117
|
}
|
|
186
118
|
a.list-group-item-success:hover {
|
|
187
|
-
color: #008026;
|
|
188
119
|
color: var(--color-content-positive);
|
|
189
120
|
}
|
|
190
121
|
.list-group-item-info {
|
|
191
|
-
border-inline-start: 3px solid #0097c7;
|
|
192
122
|
border-inline-start: 3px solid var(--color-content-accent);
|
|
193
123
|
}
|
|
194
124
|
.list-group-item.list-group-item-info {
|
|
195
|
-
background-color: #ffffff;
|
|
196
125
|
background-color: var(--color-background-screen);
|
|
197
126
|
}
|
|
198
127
|
.list-group-item-info .list-group-item-text {
|
|
199
|
-
color: #0097c7;
|
|
200
128
|
color: var(--color-content-accent);
|
|
201
129
|
}
|
|
202
130
|
a.list-group-item-info {
|
|
203
|
-
color: #0097c7;
|
|
204
131
|
color: var(--color-content-accent);
|
|
205
132
|
}
|
|
206
133
|
a.list-group-item-info:hover {
|
|
207
|
-
color: #0097c7;
|
|
208
134
|
color: var(--color-content-accent);
|
|
209
135
|
}
|
|
210
136
|
.list-group-item-warning {
|
|
211
|
-
border-inline-start: 3px solid #9a6500;
|
|
212
137
|
border-inline-start: 3px solid var(--color-content-warning);
|
|
213
138
|
}
|
|
214
139
|
.list-group-item.list-group-item-warning {
|
|
215
|
-
background-color: #ffffff;
|
|
216
140
|
background-color: var(--color-background-screen);
|
|
217
141
|
}
|
|
218
142
|
.list-group-item-warning .list-group-item-text {
|
|
219
|
-
color: #9a6500;
|
|
220
143
|
color: var(--color-content-warning);
|
|
221
144
|
}
|
|
222
145
|
a.list-group-item-warning {
|
|
223
|
-
color: #9a6500;
|
|
224
146
|
color: var(--color-content-warning);
|
|
225
147
|
}
|
|
226
148
|
a.list-group-item-warning:hover {
|
|
227
|
-
color: #9a6500;
|
|
228
149
|
color: var(--color-content-warning);
|
|
229
150
|
}
|
|
230
151
|
.list-group-item-danger {
|
|
231
|
-
border-inline-start: 3px solid #cf2929;
|
|
232
152
|
border-inline-start: 3px solid var(--color-content-negative);
|
|
233
153
|
}
|
|
234
154
|
.list-group-item.list-group-item-danger {
|
|
235
|
-
background-color: #ffffff;
|
|
236
155
|
background-color: var(--color-background-screen);
|
|
237
156
|
}
|
|
238
157
|
.list-group-item-danger .list-group-item-text {
|
|
239
|
-
color: #cf2929;
|
|
240
158
|
color: var(--color-content-negative);
|
|
241
159
|
}
|
|
242
160
|
a.list-group-item-danger {
|
|
243
|
-
color: #cf2929;
|
|
244
161
|
color: var(--color-content-negative);
|
|
245
162
|
}
|
|
246
163
|
a.list-group-item-danger:hover {
|
|
247
|
-
color: #cf2929;
|
|
248
164
|
color: var(--color-content-negative);
|
|
249
165
|
}
|
|
250
166
|
.list-group:hover .list-group-item:not(.active) {
|
|
@@ -254,18 +170,15 @@ a.list-group-item-danger:hover {
|
|
|
254
170
|
opacity: 0.94;
|
|
255
171
|
}
|
|
256
172
|
.list-group:hover .list-group-item:hover {
|
|
257
|
-
background-color: #ffffff;
|
|
258
173
|
background-color: var(--color-background-screen);
|
|
259
174
|
}
|
|
260
175
|
.list-group:hover .list-group-item:hover .media {
|
|
261
176
|
opacity: 1;
|
|
262
177
|
}
|
|
263
178
|
.list-group-inactive:hover .list-group-item:not(.active) {
|
|
264
|
-
background-color: rgba(134,167,189,0.10196);
|
|
265
179
|
background-color: var(--color-background-neutral);
|
|
266
180
|
}
|
|
267
181
|
.list-group-inactive:hover .list-group-item:hover {
|
|
268
|
-
background-color: #ffffff;
|
|
269
182
|
background-color: var(--color-background-screen);
|
|
270
183
|
}
|
|
271
184
|
@keyframes listSlideOver {
|
package/dist/css/media.css
CHANGED
|
@@ -20,17 +20,14 @@
|
|
|
20
20
|
}
|
|
21
21
|
/* Alignment */
|
|
22
22
|
.media-right {
|
|
23
|
-
padding-inline-start: 16px;
|
|
24
23
|
padding-inline-start: var(--size-16);
|
|
25
24
|
}
|
|
26
25
|
.media-left {
|
|
27
|
-
padding-inline-end: 16px;
|
|
28
26
|
padding-inline-end: var(--size-16);
|
|
29
27
|
}
|
|
30
28
|
@media (max-width: 320px) {
|
|
31
29
|
.media-right,
|
|
32
30
|
.media-left {
|
|
33
|
-
padding-inline-start: 32px;
|
|
34
31
|
padding-inline-start: var(--size-32);
|
|
35
32
|
}
|
|
36
33
|
}
|
package/dist/css/modals.css
CHANGED
|
@@ -27,14 +27,11 @@
|
|
|
27
27
|
.modal-dialog {
|
|
28
28
|
position: relative;
|
|
29
29
|
inline-size: auto;
|
|
30
|
-
margin: 16px;
|
|
31
30
|
margin: var(--size-16);
|
|
32
31
|
}
|
|
33
32
|
.modal-content {
|
|
34
33
|
position: relative;
|
|
35
|
-
background-color: #ffffff;
|
|
36
34
|
background-color: var(--color-background-screen);
|
|
37
|
-
border: 1px solid rgba(134,167,189,0.10196);
|
|
38
35
|
border: 1px solid var(--color-background-neutral);
|
|
39
36
|
border-radius: 3px;
|
|
40
37
|
box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
|
|
@@ -47,7 +44,6 @@
|
|
|
47
44
|
box-shadow: none;
|
|
48
45
|
}
|
|
49
46
|
.np-theme-personal .modal-content {
|
|
50
|
-
border-radius: 10px;
|
|
51
47
|
border-radius: var(--radius-small);
|
|
52
48
|
}
|
|
53
49
|
.modal-backdrop {
|
|
@@ -77,10 +73,7 @@
|
|
|
77
73
|
}
|
|
78
74
|
.modal-header {
|
|
79
75
|
padding: 24px;
|
|
80
|
-
border-block-end: 1px solid rgba(0,0,0,0.10196);
|
|
81
|
-
border-block-end: 1px solid #0000001a;
|
|
82
76
|
border-block-end: 1px solid var(--color-border-neutral);
|
|
83
|
-
min-block-size: calc(24px + 24px);
|
|
84
77
|
min-block-size: calc(24px + var(--size-24));
|
|
85
78
|
}
|
|
86
79
|
.modal-header .close {
|
|
@@ -88,24 +81,19 @@
|
|
|
88
81
|
}
|
|
89
82
|
.modal-title {
|
|
90
83
|
margin: 0;
|
|
91
|
-
line-height:
|
|
92
|
-
line-height: var(--line-height-title);
|
|
84
|
+
line-height: var(--wds-line-height-title-section);
|
|
93
85
|
}
|
|
94
86
|
.modal-body {
|
|
95
87
|
position: relative;
|
|
96
88
|
padding: 24px;
|
|
97
89
|
}
|
|
98
90
|
.modal-footer {
|
|
99
|
-
padding-block: 16px;
|
|
100
91
|
padding-block: var(--size-16);
|
|
101
92
|
padding-inline: 24px;
|
|
102
93
|
text-align: end;
|
|
103
|
-
border-block-start: 1px solid rgba(0,0,0,0.10196);
|
|
104
|
-
border-block-start: 1px solid #0000001a;
|
|
105
94
|
border-block-start: 1px solid var(--color-border-neutral);
|
|
106
95
|
}
|
|
107
96
|
.modal-footer .btn + .btn {
|
|
108
|
-
margin-inline-start: 8px;
|
|
109
97
|
margin-inline-start: var(--size-8);
|
|
110
98
|
margin-block-end: 0;
|
|
111
99
|
}
|
|
@@ -139,14 +127,12 @@
|
|
|
139
127
|
.modal-header {
|
|
140
128
|
padding-block: 28px;
|
|
141
129
|
padding-inline: 32px;
|
|
142
|
-
min-block-size: calc(28px + 24px);
|
|
143
130
|
min-block-size: calc(28px + var(--size-24));
|
|
144
131
|
}
|
|
145
132
|
.modal-body {
|
|
146
133
|
padding: 32px;
|
|
147
134
|
}
|
|
148
135
|
.modal-footer {
|
|
149
|
-
padding-block: 16px;
|
|
150
136
|
padding-block: var(--size-16);
|
|
151
137
|
padding-inline: 32px;
|
|
152
138
|
}
|