@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/panels.css
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
}
|
|
8
8
|
.panel-body {
|
|
9
9
|
padding: 16px;
|
|
10
|
-
background-color: #ffffff;
|
|
11
10
|
background-color: var(--color-background-screen);
|
|
12
11
|
}
|
|
13
12
|
.panel-heading {
|
|
@@ -20,8 +19,7 @@
|
|
|
20
19
|
.panel-title {
|
|
21
20
|
margin-block-start: 0;
|
|
22
21
|
margin-block-end: 0;
|
|
23
|
-
line-height: calc(
|
|
24
|
-
line-height: calc(var(--line-height-title) + 8px);
|
|
22
|
+
line-height: calc(var(--wds-line-height-title-section) + 8px);
|
|
25
23
|
}
|
|
26
24
|
.panel-title > a {
|
|
27
25
|
-webkit-text-decoration: none;
|
|
@@ -71,8 +69,7 @@
|
|
|
71
69
|
}
|
|
72
70
|
@media (min-width: 840px) {
|
|
73
71
|
.panel-title {
|
|
74
|
-
line-height: calc(
|
|
75
|
-
line-height: calc(var(--line-height-title) * 2);
|
|
72
|
+
line-height: calc(var(--wds-line-height-title-section) * 2);
|
|
76
73
|
}
|
|
77
74
|
.panel-heading > .btn-sm {
|
|
78
75
|
margin-block-start: 8px;
|
|
@@ -270,7 +267,6 @@
|
|
|
270
267
|
}
|
|
271
268
|
}
|
|
272
269
|
.panel-group {
|
|
273
|
-
margin-block-end: 24px;
|
|
274
270
|
margin-block-end: var(--size-24);
|
|
275
271
|
}
|
|
276
272
|
.panel-group .panel {
|
package/dist/css/popovers.css
CHANGED
|
@@ -1,6 +1,37 @@
|
|
|
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
|
-
color: #0097c7;
|
|
4
35
|
color: var(--color-content-accent);
|
|
5
36
|
-webkit-text-decoration: none;
|
|
6
37
|
text-decoration: none;
|
|
@@ -9,7 +40,6 @@
|
|
|
9
40
|
color: var(--color-interactive-primary);
|
|
10
41
|
}
|
|
11
42
|
.close:hover {
|
|
12
|
-
color: #0084b3;
|
|
13
43
|
color: var(--color-content-accent-hover);
|
|
14
44
|
-webkit-text-decoration: none;
|
|
15
45
|
text-decoration: none;
|
|
@@ -26,7 +56,6 @@
|
|
|
26
56
|
outline-offset: var(--ring-outline-offset);
|
|
27
57
|
}
|
|
28
58
|
.close:active {
|
|
29
|
-
color: #0077a5;
|
|
30
59
|
color: var(--color-content-accent-active);
|
|
31
60
|
}
|
|
32
61
|
button.close {
|
|
@@ -49,13 +78,11 @@ button.close {
|
|
|
49
78
|
inline-size: 276px;
|
|
50
79
|
padding-block: 18px;
|
|
51
80
|
padding-inline: 24px;
|
|
52
|
-
font-family:
|
|
53
|
-
font-family: var(--font-family-regular);
|
|
81
|
+
font-family: var(--wds-font-family-regular);
|
|
54
82
|
font-style: normal;
|
|
55
83
|
font-weight: normal;
|
|
56
84
|
letter-spacing: normal;
|
|
57
85
|
line-break: auto;
|
|
58
|
-
line-height: 24px;
|
|
59
86
|
line-height: var(--size-24);
|
|
60
87
|
text-align: start;
|
|
61
88
|
-webkit-text-decoration: none;
|
|
@@ -66,14 +93,7 @@ button.close {
|
|
|
66
93
|
word-break: normal;
|
|
67
94
|
word-spacing: normal;
|
|
68
95
|
word-wrap: normal;
|
|
69
|
-
font-size: 0.875rem;
|
|
70
|
-
font-size: var(--font-size-14);
|
|
71
|
-
line-height: 155%;
|
|
72
|
-
letter-spacing: -0.006em;
|
|
73
|
-
font-weight: 400;
|
|
74
|
-
font-weight: var(--font-weight-regular);
|
|
75
96
|
word-wrap: break-word;
|
|
76
|
-
background-color: #ffffff;
|
|
77
97
|
background-color: var(--color-background-screen);
|
|
78
98
|
background-clip: padding-box;
|
|
79
99
|
border-radius: 3px;
|
|
@@ -258,21 +278,8 @@ button.close {
|
|
|
258
278
|
margin-inline: 0;
|
|
259
279
|
}
|
|
260
280
|
.popover-title {
|
|
261
|
-
padding: 0;
|
|
262
281
|
margin: 0;
|
|
263
|
-
|
|
264
|
-
color: var(--color-content-primary);
|
|
265
|
-
line-height: 1.2;
|
|
266
|
-
line-height: var(--line-height-title);
|
|
267
|
-
letter-spacing: 0;
|
|
268
|
-
word-wrap: break-word;
|
|
269
|
-
font-size: 1.125rem;
|
|
270
|
-
font-size: var(--font-size-18);
|
|
271
|
-
font-weight: 600;
|
|
272
|
-
font-weight: var(--font-weight-semi-bold);
|
|
273
|
-
letter-spacing: -0.014em;
|
|
274
|
-
line-height: 135%;
|
|
275
|
-
background-color: #ffffff;
|
|
282
|
+
padding: 0;
|
|
276
283
|
background-color: var(--color-background-screen);
|
|
277
284
|
border-block-end: 0;
|
|
278
285
|
border-start-start-radius: 2px;
|
|
@@ -281,50 +288,9 @@ button.close {
|
|
|
281
288
|
border-end-start-radius: 0;
|
|
282
289
|
color: var(--color-content-primary) !important;
|
|
283
290
|
}
|
|
284
|
-
@supports (hyphenate-limit-chars: 1) {
|
|
285
|
-
.popover-title {
|
|
286
|
-
hyphens: auto;
|
|
287
|
-
hyphenate-limit-chars: 7 3;
|
|
288
|
-
}
|
|
289
|
-
@media (min-width: 840px) {
|
|
290
|
-
.popover-title {
|
|
291
|
-
hyphenate-limit-chars: 8 3;
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
@media (min-width: 1160px) {
|
|
295
|
-
.popover-title {
|
|
296
|
-
hyphenate-limit-chars: 10 4 3;
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
301
|
-
.popover-title {
|
|
302
|
-
hyphens: auto;
|
|
303
|
-
-webkit-hyphenate-limit-before: 3;
|
|
304
|
-
-webkit-hyphenate-limit-after: 3;
|
|
305
|
-
}
|
|
306
|
-
@media (min-width: 1160px) {
|
|
307
|
-
.popover-title {
|
|
308
|
-
-webkit-hyphenate-limit-before: 4;
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
.popover-title + p,
|
|
313
|
-
.popover-title + ul:not(.list-unstyled),
|
|
314
|
-
.popover-title + ol:not(.list-unstyled) {
|
|
315
|
-
margin-block-start: 8px;
|
|
316
|
-
margin-block-start: var(--size-8);
|
|
317
|
-
}
|
|
318
291
|
.popover-content {
|
|
319
292
|
padding: 0;
|
|
320
|
-
font-size: 0.875rem;
|
|
321
|
-
font-size: var(--font-size-14);
|
|
322
|
-
line-height: 155%;
|
|
323
|
-
letter-spacing: -0.006em;
|
|
324
|
-
font-weight: 400;
|
|
325
|
-
font-weight: var(--font-weight-regular);
|
|
326
293
|
word-wrap: break-word;
|
|
327
|
-
color: #5d7079;
|
|
328
294
|
color: var(--color-content-secondary);
|
|
329
295
|
}
|
|
330
296
|
@supports (hyphenate-limit-chars: 1) {
|
|
@@ -360,7 +326,6 @@ button.close {
|
|
|
360
326
|
}
|
|
361
327
|
.popover-close {
|
|
362
328
|
float: inline-end;
|
|
363
|
-
color: #0097c7;
|
|
364
329
|
color: var(--color-content-accent);
|
|
365
330
|
-webkit-text-decoration: none;
|
|
366
331
|
text-decoration: none;
|
|
@@ -369,7 +334,6 @@ button.close {
|
|
|
369
334
|
color: var(--color-interactive-primary);
|
|
370
335
|
}
|
|
371
336
|
.popover-close:hover {
|
|
372
|
-
color: #0084b3;
|
|
373
337
|
color: var(--color-content-accent-hover);
|
|
374
338
|
-webkit-text-decoration: none;
|
|
375
339
|
text-decoration: none;
|
|
@@ -386,7 +350,6 @@ button.close {
|
|
|
386
350
|
outline-offset: var(--ring-outline-offset);
|
|
387
351
|
}
|
|
388
352
|
.popover-close:active {
|
|
389
|
-
color: #0077a5;
|
|
390
353
|
color: var(--color-content-accent-active);
|
|
391
354
|
}
|
|
392
355
|
button.popover-close {
|
|
@@ -407,14 +370,12 @@ button.popover-close {
|
|
|
407
370
|
font-weight: inherit !important;
|
|
408
371
|
-webkit-text-decoration: none !important;
|
|
409
372
|
text-decoration: none !important;
|
|
410
|
-
border-block-end: 1px dotted #0097c7 !important;
|
|
411
373
|
border-block-end: 1px dotted var(--color-content-accent) !important;
|
|
412
374
|
cursor: pointer;
|
|
413
375
|
}
|
|
414
376
|
[data-toggle="popover"]:not(.btn):hover,
|
|
415
377
|
[data-toggle="popover"]:not(.btn):focus,
|
|
416
378
|
[data-toggle="popover"]:not(.btn)[aria-describedby] {
|
|
417
|
-
color: #0084b3 !important;
|
|
418
379
|
color: var(--color-content-accent-hover) !important;
|
|
419
380
|
outline: 0;
|
|
420
381
|
}
|
|
@@ -428,7 +389,6 @@ button.popover-close {
|
|
|
428
389
|
inset-inline-end: 0 !important;
|
|
429
390
|
inset-inline-start: 0 !important;
|
|
430
391
|
inline-size: 272px;
|
|
431
|
-
margin-block: 32px !important;
|
|
432
392
|
margin-block: var(--size-32) !important;
|
|
433
393
|
margin-inline: auto;
|
|
434
394
|
}
|
|
@@ -468,7 +428,6 @@ button.popover-close {
|
|
|
468
428
|
block-size: 100vh;
|
|
469
429
|
block-size: 100dvh;
|
|
470
430
|
cursor: pointer;
|
|
471
|
-
background-color: #ffffff;
|
|
472
431
|
background-color: var(--color-background-screen);
|
|
473
432
|
opacity: 0.7;
|
|
474
433
|
animation: cover-fade-in 0.35s 0s linear forwards;
|
|
@@ -480,15 +439,12 @@ button.popover-close {
|
|
|
480
439
|
}
|
|
481
440
|
.popover-promotion {
|
|
482
441
|
text-align: center;
|
|
483
|
-
padding: 24px;
|
|
484
442
|
padding: var(--size-24);
|
|
485
443
|
}
|
|
486
444
|
@media (max-width: 599.98px) {
|
|
487
445
|
.popover-promotion {
|
|
488
446
|
inline-size: auto !important;
|
|
489
|
-
padding: 24px !important;
|
|
490
447
|
padding: var(--size-24) !important;
|
|
491
|
-
margin: 16px !important;
|
|
492
448
|
margin: var(--size-16) !important;
|
|
493
449
|
}
|
|
494
450
|
}
|
|
@@ -496,25 +452,19 @@ button.popover-close {
|
|
|
496
452
|
.popover-promotion {
|
|
497
453
|
inline-size: 540px !important;
|
|
498
454
|
padding-block: 28px !important;
|
|
499
|
-
padding-inline: 32px;
|
|
500
455
|
padding-inline: var(--size-32);
|
|
501
|
-
margin-block: 32px !important;
|
|
502
456
|
margin-block: var(--size-32) !important;
|
|
503
457
|
margin-inline: auto;
|
|
504
458
|
}
|
|
505
459
|
}
|
|
506
460
|
.popover-promotion .popover-title {
|
|
507
|
-
font-size:
|
|
508
|
-
|
|
509
|
-
line-height: 1.2;
|
|
510
|
-
line-height: var(--line-height-title);
|
|
461
|
+
font-size: var(--wds-font-size-body-large);
|
|
462
|
+
line-height: var(--wds-font-size-body-large);
|
|
511
463
|
}
|
|
512
464
|
@media (min-width: 840px) {
|
|
513
465
|
.popover-promotion .popover-title {
|
|
514
|
-
font-size:
|
|
515
|
-
|
|
516
|
-
line-height: 1.2;
|
|
517
|
-
line-height: var(--line-height-title);
|
|
466
|
+
font-size: var(--wds-font-size-title-body);
|
|
467
|
+
line-height: var(--wds-font-size-title-body);
|
|
518
468
|
}
|
|
519
469
|
}
|
|
520
470
|
@media (max-width: 320px) {
|
package/dist/css/process.css
CHANGED
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
.process-circle {
|
|
25
25
|
transform-origin: center center;
|
|
26
26
|
transition: stroke 1s 0.2s linear;
|
|
27
|
-
stroke: #0097c7;
|
|
28
27
|
stroke: var(--color-content-accent);
|
|
29
28
|
stroke-opacity: 1;
|
|
30
29
|
stroke-linecap: round;
|
|
@@ -34,7 +33,6 @@
|
|
|
34
33
|
animation-iteration-count: infinite;
|
|
35
34
|
}
|
|
36
35
|
.np-theme-personal .process-circle {
|
|
37
|
-
stroke: #37517e;
|
|
38
36
|
stroke: var(--color-content-primary);
|
|
39
37
|
}
|
|
40
38
|
.np-theme-personal--forest-green .process-circle,
|
|
@@ -43,7 +41,6 @@
|
|
|
43
41
|
stroke: var(--color-interactive-primary);
|
|
44
42
|
}
|
|
45
43
|
.process-inverse .process-circle {
|
|
46
|
-
stroke: #ffffff;
|
|
47
44
|
stroke: var(--color-background-screen);
|
|
48
45
|
}
|
|
49
46
|
.process-icon-container {
|
|
@@ -66,7 +63,6 @@
|
|
|
66
63
|
block-size: 0;
|
|
67
64
|
}
|
|
68
65
|
.process-success .process-icon-horizontal {
|
|
69
|
-
background-color: #008026;
|
|
70
66
|
background-color: var(--color-content-positive);
|
|
71
67
|
inset-block-end: 0;
|
|
72
68
|
inset-inline-start: 0;
|
|
@@ -75,7 +71,6 @@
|
|
|
75
71
|
background-color: var(--color-sentiment-positive);
|
|
76
72
|
}
|
|
77
73
|
.process-success .process-icon-vertical {
|
|
78
|
-
background-color: #008026;
|
|
79
74
|
background-color: var(--color-content-positive);
|
|
80
75
|
inset-block-start: 100%;
|
|
81
76
|
inset-inline-end: 0;
|
|
@@ -84,14 +79,12 @@
|
|
|
84
79
|
background-color: var(--color-sentiment-positive);
|
|
85
80
|
}
|
|
86
81
|
.process-success .process-circle {
|
|
87
|
-
stroke: #008026;
|
|
88
82
|
stroke: var(--color-content-positive);
|
|
89
83
|
}
|
|
90
84
|
.np-theme-personal .process-success .process-circle {
|
|
91
85
|
stroke: var(--color-sentiment-positive);
|
|
92
86
|
}
|
|
93
87
|
.process-danger .process-icon-horizontal {
|
|
94
|
-
background-color: #cf2929;
|
|
95
88
|
background-color: var(--color-content-negative);
|
|
96
89
|
inset-inline-start: 0;
|
|
97
90
|
}
|
|
@@ -99,7 +92,6 @@
|
|
|
99
92
|
background-color: var(--color-sentiment-negative);
|
|
100
93
|
}
|
|
101
94
|
.process-danger .process-icon-vertical {
|
|
102
|
-
background-color: #cf2929;
|
|
103
95
|
background-color: var(--color-content-negative);
|
|
104
96
|
inset-block-start: 0;
|
|
105
97
|
}
|
|
@@ -107,7 +99,6 @@
|
|
|
107
99
|
background-color: var(--color-sentiment-negative);
|
|
108
100
|
}
|
|
109
101
|
.process-danger .process-circle {
|
|
110
|
-
stroke: #cf2929;
|
|
111
102
|
stroke: var(--color-content-negative);
|
|
112
103
|
}
|
|
113
104
|
.np-theme-personal .process-danger .process-circle {
|
|
@@ -2,16 +2,11 @@
|
|
|
2
2
|
--progress-bar-height: 4px;
|
|
3
3
|
--progress-bar-border-width: 4px;
|
|
4
4
|
--progress-bar-start-shift: calc(var(--progress-bar-border-width) * 2);
|
|
5
|
-
block-size: 4px;
|
|
6
5
|
block-size: var(--progress-bar-height);
|
|
7
6
|
overflow: hidden;
|
|
8
|
-
margin-block-start: calc((24px - 4px) / 2);
|
|
9
7
|
margin-block-start: calc((var(--size-24) - var(--progress-bar-height)) / 2);
|
|
10
|
-
margin-block-end: calc((24px - 4px) / 2);
|
|
11
8
|
margin-block-end: calc((var(--size-24) - var(--progress-bar-height)) / 2);
|
|
12
|
-
background-color: #c9cbce;
|
|
13
9
|
background-color: var(--color-interactive-secondary);
|
|
14
|
-
border-radius: calc(4px + 4px);
|
|
15
10
|
border-radius: calc(var(--progress-bar-border-width) + var(--progress-bar-height));
|
|
16
11
|
}
|
|
17
12
|
.progress-bar {
|
|
@@ -20,15 +15,11 @@
|
|
|
20
15
|
inset-block-start: calc(-1 * var(--progress-bar-border-width));
|
|
21
16
|
inset-inline-start: calc(-1 * var(--progress-bar-start-shift));
|
|
22
17
|
block-size: calc(var(--progress-bar-height) + var(--progress-bar-border-width) * 2);
|
|
23
|
-
font-size:
|
|
24
|
-
font-
|
|
25
|
-
font-weight: 700;
|
|
26
|
-
font-weight: var(--font-weight-bold);
|
|
18
|
+
font-size: var(--wds-font-size-body-large);
|
|
19
|
+
font-weight: var(--wds-font-weight-body-bold);
|
|
27
20
|
color: #fff;
|
|
28
21
|
text-align: end;
|
|
29
|
-
background-color: #0097c7;
|
|
30
22
|
background-color: var(--color-content-accent);
|
|
31
|
-
border: var(--progress-bar-border-width) solid #ffffff;
|
|
32
23
|
border: var(--progress-bar-border-width) solid var(--color-background-screen);
|
|
33
24
|
border-radius: inherit;
|
|
34
25
|
}
|
|
@@ -37,22 +28,17 @@
|
|
|
37
28
|
inset-inline-start: 0;
|
|
38
29
|
}
|
|
39
30
|
.progress-bar-primary {
|
|
40
|
-
background-color: #37517e;
|
|
41
31
|
background-color: var(--color-content-primary);
|
|
42
32
|
}
|
|
43
33
|
.progress-bar-success {
|
|
44
|
-
background-color: #008026;
|
|
45
34
|
background-color: var(--color-content-positive);
|
|
46
35
|
}
|
|
47
36
|
.progress-bar-info {
|
|
48
|
-
background-color: #0097c7;
|
|
49
37
|
background-color: var(--color-content-accent);
|
|
50
38
|
}
|
|
51
39
|
.progress-bar-warning {
|
|
52
|
-
background-color: #9a6500;
|
|
53
40
|
background-color: var(--color-content-warning);
|
|
54
41
|
}
|
|
55
42
|
.progress-bar-danger {
|
|
56
|
-
background-color: #cf2929;
|
|
57
43
|
background-color: var(--color-content-negative);
|
|
58
44
|
}
|
package/dist/css/ring.css
CHANGED
|
@@ -11,9 +11,7 @@
|
|
|
11
11
|
outline: none;
|
|
12
12
|
}
|
|
13
13
|
.focus-ring:focus-visible {
|
|
14
|
-
outline: #37517e solid 2px;
|
|
15
14
|
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
16
|
-
outline-offset: 2px;
|
|
17
15
|
outline-offset: var(--ring-outline-offset);
|
|
18
16
|
}
|
|
19
17
|
details:focus,
|
|
@@ -38,9 +36,7 @@ dialog:focus-visible,
|
|
|
38
36
|
input:focus-visible,
|
|
39
37
|
select:focus-visible,
|
|
40
38
|
textarea:focus-visible {
|
|
41
|
-
outline: #37517e solid 2px;
|
|
42
39
|
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
43
|
-
outline-offset: 2px;
|
|
44
40
|
outline-offset: var(--ring-outline-offset);
|
|
45
41
|
}
|
|
46
42
|
.ring-offset-0 {
|
package/dist/css/select.css
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
.tw-select .tw-icon {
|
|
2
2
|
display: inline-block;
|
|
3
|
-
margin-inline-end: 8px;
|
|
4
3
|
margin-inline-end: var(--size-8);
|
|
5
4
|
margin-block-start: -2px;
|
|
6
5
|
vertical-align: middle;
|
|
@@ -12,31 +11,24 @@
|
|
|
12
11
|
border-block-end-style: solid;
|
|
13
12
|
border-block-end-width: 1px;
|
|
14
13
|
/* stylelint-disable-next-line declaration-block-no-redundant-longhand-properties */
|
|
15
|
-
border-block-end-color: rgba(0,0,0,0.10196);
|
|
16
|
-
border-block-end-color: #0000001a;
|
|
17
14
|
border-block-end-color: var(--color-border-neutral);
|
|
18
15
|
}
|
|
19
16
|
.tw-select .tw-dropdown-item--focused {
|
|
20
|
-
background-color: rgba(134,167,189,0.10196);
|
|
21
17
|
background-color: var(--color-background-neutral);
|
|
22
18
|
}
|
|
23
19
|
.tw-select .tw-dropdown-item .currency-flag {
|
|
24
|
-
margin-inline-end: 8px;
|
|
25
20
|
margin-inline-end: var(--size-8);
|
|
26
21
|
}
|
|
27
22
|
.tw-select .tw-dropdown-item > a {
|
|
28
23
|
white-space: normal;
|
|
29
24
|
}
|
|
30
25
|
.tw-select .dropdown-toggle.btn-input.btn-sm {
|
|
31
|
-
padding-inline-end: 32px;
|
|
32
26
|
padding-inline-end: var(--size-32);
|
|
33
27
|
}
|
|
34
28
|
.tw-select .dropdown-toggle.btn-input.btn-md {
|
|
35
|
-
padding-inline-end: 40px;
|
|
36
29
|
padding-inline-end: var(--size-40);
|
|
37
30
|
}
|
|
38
31
|
.tw-select .dropdown-toggle.btn-input.btn-lg {
|
|
39
|
-
padding-inline-end: 48px;
|
|
40
32
|
padding-inline-end: var(--size-48);
|
|
41
33
|
}
|
|
42
34
|
.tw-select .dropdown-toggle tw-chevron-down-icon > span {
|