@transferwise/neptune-css 0.0.0-experimental-d2bbcaf → 0.0.0-experimental-6c23c95
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 +23 -40
- package/dist/css/button-groups.css +29 -2
- package/dist/css/buttons.css +26 -0
- package/dist/css/decision.css +23 -40
- package/dist/css/dropdowns.css +37 -44
- package/dist/css/droppable.css +28 -2
- package/dist/css/footer.css +41 -2
- package/dist/css/input-groups.css +170 -123
- package/dist/css/list-group.css +0 -39
- package/dist/css/navbar.css +37 -44
- package/dist/css/neptune-addons.css +15 -0
- package/dist/css/neptune-core.css +246 -11
- package/dist/css/neptune.css +921 -337
- package/dist/css/popovers.css +35 -42
- package/dist/css/sequences.css +6 -1
- package/dist/css/tooltip.css +27 -1
- package/package.json +1 -1
- package/src/less/core/_typography.less +0 -2
package/dist/css/popovers.css
CHANGED
|
@@ -1,4 +1,36 @@
|
|
|
1
|
-
.
|
|
1
|
+
.popover,
|
|
2
|
+
.popover-content {
|
|
3
|
+
word-wrap: break-word;
|
|
4
|
+
}
|
|
5
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
6
|
+
.popover,
|
|
7
|
+
.popover-content {
|
|
8
|
+
hyphens: auto;hyphenate-limit-chars: 7 3;
|
|
9
|
+
}
|
|
10
|
+
@media (min-width: 840px) {
|
|
11
|
+
.popover,
|
|
12
|
+
.popover-content {
|
|
13
|
+
hyphenate-limit-chars: 8 3;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
@media (min-width: 1160px) {
|
|
17
|
+
.popover,
|
|
18
|
+
.popover-content {
|
|
19
|
+
hyphenate-limit-chars: 10 4 3;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
23
|
+
.popover,
|
|
24
|
+
.popover-content {
|
|
25
|
+
hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
|
|
26
|
+
}
|
|
27
|
+
@media (min-width: 1160px) {
|
|
28
|
+
.popover,
|
|
29
|
+
.popover-content {
|
|
30
|
+
-webkit-hyphenate-limit-before: 4;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}.close {
|
|
2
34
|
float: inline-end;
|
|
3
35
|
color: #0097c7;
|
|
4
36
|
color: var(--color-content-accent);
|
|
@@ -252,14 +284,8 @@ button.close {
|
|
|
252
284
|
margin-inline: 0;
|
|
253
285
|
}
|
|
254
286
|
.popover-title {
|
|
255
|
-
padding: 0;
|
|
256
287
|
margin: 0;
|
|
257
|
-
|
|
258
|
-
color: var(--color-content-primary);
|
|
259
|
-
line-height: 1.2;
|
|
260
|
-
line-height: var(--line-height-title);
|
|
261
|
-
letter-spacing: 0;
|
|
262
|
-
word-wrap: break-word;
|
|
288
|
+
padding: 0;
|
|
263
289
|
background-color: #ffffff;
|
|
264
290
|
background-color: var(--color-background-screen);
|
|
265
291
|
border-block-end: 0;
|
|
@@ -267,42 +293,9 @@ button.close {
|
|
|
267
293
|
border-start-end-radius: 2px;
|
|
268
294
|
border-end-end-radius: 0;
|
|
269
295
|
border-end-start-radius: 0;
|
|
296
|
+
color: #37517e !important;
|
|
270
297
|
color: var(--color-content-primary) !important;
|
|
271
298
|
}
|
|
272
|
-
@supports (hyphenate-limit-chars: 1) {
|
|
273
|
-
.popover-title {
|
|
274
|
-
hyphens: auto;
|
|
275
|
-
hyphenate-limit-chars: 7 3;
|
|
276
|
-
}
|
|
277
|
-
@media (min-width: 840px) {
|
|
278
|
-
.popover-title {
|
|
279
|
-
hyphenate-limit-chars: 8 3;
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
@media (min-width: 1160px) {
|
|
283
|
-
.popover-title {
|
|
284
|
-
hyphenate-limit-chars: 10 4 3;
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
289
|
-
.popover-title {
|
|
290
|
-
hyphens: auto;
|
|
291
|
-
-webkit-hyphenate-limit-before: 3;
|
|
292
|
-
-webkit-hyphenate-limit-after: 3;
|
|
293
|
-
}
|
|
294
|
-
@media (min-width: 1160px) {
|
|
295
|
-
.popover-title {
|
|
296
|
-
-webkit-hyphenate-limit-before: 4;
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
.popover-title + p,
|
|
301
|
-
.popover-title + ul:not(.list-unstyled),
|
|
302
|
-
.popover-title + ol:not(.list-unstyled) {
|
|
303
|
-
margin-block-start: 8px;
|
|
304
|
-
margin-block-start: var(--size-8);
|
|
305
|
-
}
|
|
306
299
|
.popover-content {
|
|
307
300
|
padding: 0;
|
|
308
301
|
word-wrap: break-word;
|
package/dist/css/sequences.css
CHANGED
|
@@ -131,6 +131,10 @@
|
|
|
131
131
|
.sequence > li .h2,
|
|
132
132
|
.sequence > li .h3,
|
|
133
133
|
.sequence > li .h4,
|
|
134
|
+
.sequence > li .wds-text-title-screen,
|
|
135
|
+
.sequence > li .wds-text-title-section,
|
|
136
|
+
.sequence > li .wds-text-title-subsection,
|
|
137
|
+
.sequence > li .wds-text-title-body,
|
|
134
138
|
.sequence > li .btn-toolbar {
|
|
135
139
|
margin-block-end: 16px;
|
|
136
140
|
}
|
|
@@ -221,7 +225,8 @@
|
|
|
221
225
|
}
|
|
222
226
|
.sequence-inverse > .active .small,
|
|
223
227
|
.sequence-inverse > .active .body-2,
|
|
224
|
-
.sequence-inverse > .active .np-text-body-default
|
|
228
|
+
.sequence-inverse > .active .np-text-body-default,
|
|
229
|
+
.sequence-inverse > .active .wds-text-body-default {
|
|
225
230
|
color: #5d7079;
|
|
226
231
|
color: var(--color-content-secondary);
|
|
227
232
|
}
|
package/dist/css/tooltip.css
CHANGED
|
@@ -1,4 +1,30 @@
|
|
|
1
|
-
.tooltip {
|
|
1
|
+
.tooltip-inner {
|
|
2
|
+
word-wrap: break-word;
|
|
3
|
+
}
|
|
4
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
5
|
+
.tooltip-inner {
|
|
6
|
+
hyphens: auto;hyphenate-limit-chars: 7 3;
|
|
7
|
+
}
|
|
8
|
+
@media (min-width: 840px) {
|
|
9
|
+
.tooltip-inner {
|
|
10
|
+
hyphenate-limit-chars: 8 3;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
@media (min-width: 1160px) {
|
|
14
|
+
.tooltip-inner {
|
|
15
|
+
hyphenate-limit-chars: 10 4 3;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
19
|
+
.tooltip-inner {
|
|
20
|
+
hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
|
|
21
|
+
}
|
|
22
|
+
@media (min-width: 1160px) {
|
|
23
|
+
.tooltip-inner {
|
|
24
|
+
-webkit-hyphenate-limit-before: 4;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}.tooltip {
|
|
2
28
|
position: absolute;
|
|
3
29
|
z-index: 1070;
|
|
4
30
|
display: block;
|
package/package.json
CHANGED