@apolitical/component-library 10.4.10 → 10.5.1
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/index.js +118 -118
- package/index.mjs +6268 -6216
- package/package.json +7 -5
- package/style.css +1 -1
- package/styles/base/_blockquotes.scss +5 -3
- package/styles/base/_fonts.scss +2 -2
- package/styles/base/_layout.scss +2 -4
- package/styles/base/_lists.scss +4 -4
- package/styles/base/_overlays.scss +1 -1
- package/styles/base/_table.scss +9 -9
- package/styles/base/_titles.scss +3 -3
- package/styles/base/buttons/_buttons.scss +14 -16
- package/styles/base/buttons/_icons.scss +2 -1
- package/styles/base/form/_checkbox.scss +2 -2
- package/styles/base/form/_fields.scss +1 -1
- package/styles/base/form/_form.scss +1 -1
- package/styles/base/form/_radio.scss +1 -1
- package/styles/mixins/_styles.scss +3 -3
- package/styles/overrides/navigator-theme.scss +1 -1
- package/styles/uclasses/uclasses.scss +42 -41
- package/styles/variables/colors/theme/_banners.scss +15 -6
- package/styles/variables/colors/theme/_base.scss +5 -2
- package/styles/variables/colors/theme/_discussion.scss +1 -1
- package/styles/variables/colors/theme/_general.scss +1 -1
- package/styles/variables/colors/theme/_layout.scss +5 -2
- package/styles/variables/colors/theme/_loaders.scss +6 -2
- package/styles/variables/colors/theme/_navigation.scss +1 -1
- package/styles/variables/colors/theme/_text.scss +14 -6
|
@@ -30,15 +30,17 @@ $blockquote: (
|
|
|
30
30
|
font-weight: 700;
|
|
31
31
|
font-style: italic;
|
|
32
32
|
line-height: px-to-rem(get-map($blockquote, 'line-height'));
|
|
33
|
-
border-
|
|
33
|
+
border-inline-start: px-to-rem(get-map($blockquote, 'border-width')) solid
|
|
34
34
|
get-map($theme, 'blockquote_border');
|
|
35
35
|
|
|
36
36
|
&.subtle {
|
|
37
37
|
font-size: px-to-rem(get-map($blockquote, 'subtle', 'font-size'));
|
|
38
38
|
font-weight: normal;
|
|
39
39
|
font-style: normal;
|
|
40
|
-
border-
|
|
41
|
-
|
|
40
|
+
border-inline-start-width: px-to-rem(
|
|
41
|
+
get-map($blockquote, 'subtle', 'border-width')
|
|
42
|
+
);
|
|
43
|
+
border-inline-start-color: get-map($theme, 'blockquote_subtle_border');
|
|
42
44
|
|
|
43
45
|
strong {
|
|
44
46
|
font-weight: 900;
|
package/styles/base/_fonts.scss
CHANGED
|
@@ -26,8 +26,8 @@ $font-name: 'Moderat';
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
$font-family:
|
|
30
|
-
(900, italic);
|
|
29
|
+
$font-family:
|
|
30
|
+
(400, normal), (400, italic), (600, normal), (600, italic), (900, normal), (900, italic);
|
|
31
31
|
|
|
32
32
|
@layer base {
|
|
33
33
|
@each $weight, $style in $font-family {
|
package/styles/base/_layout.scss
CHANGED
|
@@ -8,15 +8,13 @@
|
|
|
8
8
|
|
|
9
9
|
.center {
|
|
10
10
|
text-align: center;
|
|
11
|
-
margin-
|
|
12
|
-
margin-left: auto;
|
|
11
|
+
margin-inline: auto;
|
|
13
12
|
}
|
|
14
13
|
|
|
15
14
|
.content-default,
|
|
16
15
|
.content-slim,
|
|
17
16
|
.content-slimmest {
|
|
18
|
-
margin-
|
|
19
|
-
margin-right: auto;
|
|
17
|
+
margin-inline: auto;
|
|
20
18
|
}
|
|
21
19
|
|
|
22
20
|
.content-default {
|
package/styles/base/_lists.scss
CHANGED
|
@@ -20,12 +20,12 @@ $li: (
|
|
|
20
20
|
ol,
|
|
21
21
|
ul {
|
|
22
22
|
margin: 0 0 px-to-rem(get-map($ul, 'margin-bottom'));
|
|
23
|
-
padding-
|
|
23
|
+
padding-inline-start: px-to-rem(get-map($ul, 'padding-left'));
|
|
24
24
|
display: block;
|
|
25
25
|
|
|
26
26
|
&.unstyled {
|
|
27
27
|
list-style: none;
|
|
28
|
-
padding-
|
|
28
|
+
padding-inline-start: 0;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -34,7 +34,7 @@ $li: (
|
|
|
34
34
|
|
|
35
35
|
li {
|
|
36
36
|
position: relative;
|
|
37
|
-
padding-
|
|
37
|
+
padding-inline-start: px-to-rem(
|
|
38
38
|
get-map($checkmarks, 'width') + get-map($checkmarks, 'margin-right')
|
|
39
39
|
);
|
|
40
40
|
|
|
@@ -47,7 +47,7 @@ $li: (
|
|
|
47
47
|
background: get-map($theme, 'list_checkmarks_bg');
|
|
48
48
|
position: absolute;
|
|
49
49
|
top: px-to-rem(get-map($checkmarks, 'top'));
|
|
50
|
-
|
|
50
|
+
inset-inline-start: 0;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
}
|
package/styles/base/_table.scss
CHANGED
|
@@ -23,7 +23,7 @@ $table: (
|
|
|
23
23
|
&,
|
|
24
24
|
p,
|
|
25
25
|
li {
|
|
26
|
-
text-align:
|
|
26
|
+
text-align: start;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -39,16 +39,16 @@ $table: (
|
|
|
39
39
|
padding: px-to-rem(get-map($table, 'padding-horizontal'));
|
|
40
40
|
color: get-map($theme, 'table_th');
|
|
41
41
|
font-weight: 600;
|
|
42
|
-
border-
|
|
42
|
+
border-inline-end-width: 0;
|
|
43
43
|
|
|
44
44
|
/* Add border radius to the corners of the table, not each cell */
|
|
45
45
|
&:first-child {
|
|
46
|
-
border-
|
|
46
|
+
border-start-start-radius: px-to-rem(get-map($table, 'border-radius'));
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
&:last-child {
|
|
50
|
-
border-
|
|
51
|
-
border-
|
|
50
|
+
border-start-end-radius: px-to-rem(get-map($table, 'border-radius'));
|
|
51
|
+
border-inline-end-width: px-to-rem(get-map($table, 'border'));
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -56,22 +56,22 @@ $table: (
|
|
|
56
56
|
padding: px-to-rem(get-map($table, 'padding-vertical'))
|
|
57
57
|
px-to-rem(get-map($table, 'padding-horizontal'));
|
|
58
58
|
border-top-width: 0;
|
|
59
|
-
border-
|
|
59
|
+
border-inline-end-width: 0;
|
|
60
60
|
|
|
61
61
|
/* Prevent borders with double width due to using border-collapse separate */
|
|
62
62
|
&:last-child {
|
|
63
|
-
border-
|
|
63
|
+
border-inline-end-width: px-to-rem(get-map($table, 'border'));
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
tr:last-child {
|
|
68
68
|
td {
|
|
69
69
|
&:first-child {
|
|
70
|
-
border-
|
|
70
|
+
border-end-start-radius: px-to-rem(get-map($table, 'border-radius'));
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
&:last-child {
|
|
74
|
-
border-
|
|
74
|
+
border-end-end-radius: px-to-rem(get-map($table, 'border-radius'));
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
}
|
package/styles/base/_titles.scss
CHANGED
|
@@ -103,18 +103,18 @@ $count-icon: (
|
|
|
103
103
|
background: get-map($theme, 'highlight_bg');
|
|
104
104
|
position: absolute;
|
|
105
105
|
bottom: 0;
|
|
106
|
-
|
|
106
|
+
inset-inline-start: 0;
|
|
107
107
|
border-radius: px-to-rem(get-map($highlight, 'border-radius'));
|
|
108
108
|
display: block;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
@if $align == 'center' {
|
|
112
112
|
&::after {
|
|
113
|
-
|
|
113
|
+
inset-inline-start: 50%;
|
|
114
114
|
transform: translateX(-50%);
|
|
115
115
|
}
|
|
116
116
|
} @else if $align == 'vertical' {
|
|
117
|
-
padding-
|
|
117
|
+
padding-inline-start: px-to-rem(
|
|
118
118
|
get-map($highlight, 'height') + get-map($highlight, 'margin-top')
|
|
119
119
|
);
|
|
120
120
|
|
|
@@ -79,11 +79,11 @@
|
|
|
79
79
|
margin-top: px-to-rem(get-map($styles, 'icon-offset'));
|
|
80
80
|
|
|
81
81
|
&.left::before {
|
|
82
|
-
margin-
|
|
82
|
+
margin-inline-end: px-to-rem(get-map($styles, 'icon-gutter'));
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
&.right::before {
|
|
86
|
-
margin-
|
|
86
|
+
margin-inline-start: px-to-rem(get-map($styles, 'icon-gutter'));
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
}
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
px-to-rem(get-map($tertiary, 'padding-horizontal'))
|
|
214
214
|
px-to-rem(get-map($tertiary, 'padding-bottom'));
|
|
215
215
|
bottom: px-to-rem(get-map($tertiary, 'padding-top'));
|
|
216
|
-
|
|
216
|
+
inset-inline-end: px-to-rem(get-map($tertiary, 'padding-horizontal'));
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
text-decoration: underline;
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
}
|
|
267
267
|
|
|
268
268
|
&.full-width {
|
|
269
|
-
|
|
269
|
+
inset-inline-end: 0;
|
|
270
270
|
}
|
|
271
271
|
|
|
272
272
|
// TODO: remove when we have new styling
|
|
@@ -301,28 +301,28 @@
|
|
|
301
301
|
|
|
302
302
|
&.left {
|
|
303
303
|
&::before {
|
|
304
|
-
margin-
|
|
304
|
+
margin-inline-end: px-to-rem(get-map($button-medium, 'icon-gutter'));
|
|
305
305
|
}
|
|
306
306
|
|
|
307
307
|
&.no-text::before {
|
|
308
|
-
margin-
|
|
308
|
+
margin-inline-end: 0;
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
311
|
|
|
312
312
|
&.right {
|
|
313
313
|
&::before {
|
|
314
|
-
margin-
|
|
314
|
+
margin-inline-start: px-to-rem(get-map($button-medium, 'icon-gutter'));
|
|
315
315
|
order: 2;
|
|
316
316
|
}
|
|
317
317
|
|
|
318
318
|
&.no-text::before {
|
|
319
|
-
margin-
|
|
319
|
+
margin-inline-start: 0;
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
@each $icon, $large-icon, $medium-icon, $small-icon in $icons {
|
|
324
|
-
$icon-sizes:
|
|
325
|
-
('small', $small-icon);
|
|
324
|
+
$icon-sizes:
|
|
325
|
+
('large', $large-icon), ('medium', $medium-icon), ('small', $small-icon);
|
|
326
326
|
|
|
327
327
|
@at-root {
|
|
328
328
|
%icon-#{$icon} {
|
|
@@ -367,10 +367,8 @@
|
|
|
367
367
|
&:active,
|
|
368
368
|
&.do-animation {
|
|
369
369
|
&::before {
|
|
370
|
-
animation: bounce #{get-map($animation-bounce, 'duration')}s
|
|
371
|
-
|
|
372
|
-
'iteration'
|
|
373
|
-
)};
|
|
370
|
+
animation: bounce #{get-map($animation-bounce, 'duration')}s
|
|
371
|
+
#{get-map($animation-bounce, 'iteration')};
|
|
374
372
|
}
|
|
375
373
|
}
|
|
376
374
|
}
|
|
@@ -410,7 +408,7 @@
|
|
|
410
408
|
height: 0;
|
|
411
409
|
position: absolute;
|
|
412
410
|
top: px-to-rem(get-map($secondary-destruction, 'offset'));
|
|
413
|
-
|
|
411
|
+
inset-inline-end: get-map($secondary-destruction, 'right');
|
|
414
412
|
display: flex;
|
|
415
413
|
align-items: center;
|
|
416
414
|
justify-content: center;
|
|
@@ -428,7 +426,7 @@
|
|
|
428
426
|
content: attr(data-hover-text);
|
|
429
427
|
width: 100%;
|
|
430
428
|
height: 100%;
|
|
431
|
-
|
|
429
|
+
inset-inline-end: 0;
|
|
432
430
|
opacity: 1;
|
|
433
431
|
}
|
|
434
432
|
}
|
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
// large buttons default to 18px width, set in $large. If the default values are correct, put `d` as the value.
|
|
8
8
|
// Otherwise, put the value in pixels.
|
|
9
9
|
|
|
10
|
-
$icons:
|
|
10
|
+
$icons:
|
|
11
|
+
('arrow_left', (d, d, 3, 8), (d, d, 3, 8), (d, d, 4, 7)),
|
|
11
12
|
('arrow_right', (d, d, 3, 8), (d, d, 3, 8), (d, d, 4, 7)),
|
|
12
13
|
('arrow_rotating', (20, 20, 2, d), (d, d, 2, d), (15, 15, d, d)),
|
|
13
14
|
('arrow_corner-down_right', (12, 12, 6, 8), (12, 12, 4, 12), (d, d, d, d)),
|
|
@@ -46,9 +46,9 @@ $pretty-checkbox: (
|
|
|
46
46
|
background: get-map($theme, 'form_checkbox_icon');
|
|
47
47
|
position: absolute;
|
|
48
48
|
top: 50%;
|
|
49
|
-
|
|
49
|
+
inset-inline-start: 50%;
|
|
50
50
|
margin-top: px-to-rem(get-map($pretty-checkbox, 'margin-top'));
|
|
51
|
-
margin-
|
|
51
|
+
margin-inline-start: px-to-rem(get-map($pretty-checkbox, 'margin-left'));
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
}
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
height: px-to-rem($height);
|
|
23
23
|
position: absolute;
|
|
24
24
|
bottom: 0;
|
|
25
|
-
|
|
26
|
-
margin-
|
|
25
|
+
inset-inline-start: 50%;
|
|
26
|
+
margin-inline-start: -(px-to-rem(math.div($width, 2)));
|
|
27
27
|
border-radius: px-to-rem($border-radius);
|
|
28
28
|
|
|
29
29
|
@if $color == 'medium' {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
@mixin full-width-section {
|
|
40
40
|
width: 100vw;
|
|
41
41
|
position: relative;
|
|
42
|
-
|
|
42
|
+
inset-inline-start: 50%;
|
|
43
43
|
transform: translateX(-50%);
|
|
44
44
|
box-sizing: border-box;
|
|
45
45
|
}
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
// Navigator: the legacy loading spinner bakes in a brand colour rather than
|
|
45
45
|
// consuming the runtime theme tokens. (Originally added in #9864.)
|
|
46
46
|
[data-theme='navigator'] .spinner {
|
|
47
|
-
border-
|
|
47
|
+
border-block-start-color: hsl(var(--primary));
|
|
48
48
|
}
|
|
@@ -21,7 +21,7 @@ $font-size-md: 1rem;
|
|
|
21
21
|
|
|
22
22
|
// form elements
|
|
23
23
|
.u-text-align-left {
|
|
24
|
-
text-align:
|
|
24
|
+
text-align: start;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.u-margin-bottom-half {
|
|
@@ -297,13 +297,11 @@ $font-size-md: 1rem;
|
|
|
297
297
|
}
|
|
298
298
|
|
|
299
299
|
.u-mx-auto {
|
|
300
|
-
margin-
|
|
301
|
-
margin-right: auto;
|
|
300
|
+
margin-inline: auto;
|
|
302
301
|
}
|
|
303
302
|
|
|
304
303
|
.u-mx-0 {
|
|
305
|
-
margin-
|
|
306
|
-
margin-right: 0;
|
|
304
|
+
margin-inline: 0;
|
|
307
305
|
}
|
|
308
306
|
|
|
309
307
|
.u-mt-auto {
|
|
@@ -351,43 +349,43 @@ $font-size-md: 1rem;
|
|
|
351
349
|
}
|
|
352
350
|
|
|
353
351
|
.u-mr-auto {
|
|
354
|
-
margin-
|
|
352
|
+
margin-inline-end: auto;
|
|
355
353
|
}
|
|
356
354
|
|
|
357
355
|
.u-mr-0 {
|
|
358
|
-
margin-
|
|
356
|
+
margin-inline-end: 0;
|
|
359
357
|
}
|
|
360
358
|
|
|
361
359
|
.u-mr-1 {
|
|
362
|
-
margin-
|
|
360
|
+
margin-inline-end: 0.25rem; /* 4px */
|
|
363
361
|
}
|
|
364
362
|
|
|
365
363
|
.u-mr-2 {
|
|
366
|
-
margin-
|
|
364
|
+
margin-inline-end: 0.5rem; /* 8px */
|
|
367
365
|
}
|
|
368
366
|
|
|
369
367
|
.u-mr-3 {
|
|
370
|
-
margin-
|
|
368
|
+
margin-inline-end: 0.75rem; /* 12px */
|
|
371
369
|
}
|
|
372
370
|
|
|
373
371
|
.u-mr-4 {
|
|
374
|
-
margin-
|
|
372
|
+
margin-inline-end: 1rem; /* 16px */
|
|
375
373
|
}
|
|
376
374
|
|
|
377
375
|
.u-mr-5 {
|
|
378
|
-
margin-
|
|
376
|
+
margin-inline-end: 1.25rem; /* 20px */
|
|
379
377
|
}
|
|
380
378
|
|
|
381
379
|
.u-mr-6 {
|
|
382
|
-
margin-
|
|
380
|
+
margin-inline-end: 1.5rem; /* 24px */
|
|
383
381
|
}
|
|
384
382
|
|
|
385
383
|
.u-mr-8 {
|
|
386
|
-
margin-
|
|
384
|
+
margin-inline-end: 2rem; /* 32px */
|
|
387
385
|
}
|
|
388
386
|
|
|
389
387
|
.u-mr-10 {
|
|
390
|
-
margin-
|
|
388
|
+
margin-inline-end: 2.5rem; /* 40px */
|
|
391
389
|
}
|
|
392
390
|
|
|
393
391
|
.u-mb-auto {
|
|
@@ -431,51 +429,51 @@ $font-size-md: 1rem;
|
|
|
431
429
|
}
|
|
432
430
|
|
|
433
431
|
.u-ml-auto {
|
|
434
|
-
margin-
|
|
432
|
+
margin-inline-start: auto;
|
|
435
433
|
}
|
|
436
434
|
|
|
437
435
|
.u-ml-0 {
|
|
438
|
-
margin-
|
|
436
|
+
margin-inline-start: 0;
|
|
439
437
|
}
|
|
440
438
|
|
|
441
439
|
.u-ml-1 {
|
|
442
|
-
margin-
|
|
440
|
+
margin-inline-start: 0.25rem; /* 4px */
|
|
443
441
|
}
|
|
444
442
|
|
|
445
443
|
.u-ml-2 {
|
|
446
|
-
margin-
|
|
444
|
+
margin-inline-start: 0.5rem; /* 8px */
|
|
447
445
|
}
|
|
448
446
|
|
|
449
447
|
.u-ml-3 {
|
|
450
|
-
margin-
|
|
448
|
+
margin-inline-start: 0.75rem; /* 12px */
|
|
451
449
|
}
|
|
452
450
|
|
|
453
451
|
.u-ml-4 {
|
|
454
|
-
margin-
|
|
452
|
+
margin-inline-start: 1rem; /* 16px */
|
|
455
453
|
}
|
|
456
454
|
|
|
457
455
|
.u-ml-5 {
|
|
458
|
-
margin-
|
|
456
|
+
margin-inline-start: 1.25rem; /* 20px */
|
|
459
457
|
}
|
|
460
458
|
|
|
461
459
|
.u-ml-6 {
|
|
462
|
-
margin-
|
|
460
|
+
margin-inline-start: 1.5rem; /* 24px */
|
|
463
461
|
}
|
|
464
462
|
|
|
465
463
|
.u-ml-8 {
|
|
466
|
-
margin-
|
|
464
|
+
margin-inline-start: 2rem; /* 32px */
|
|
467
465
|
}
|
|
468
466
|
|
|
469
467
|
.u-ml-10 {
|
|
470
|
-
margin-
|
|
468
|
+
margin-inline-start: 2.5rem; /* 40px */
|
|
471
469
|
}
|
|
472
470
|
|
|
473
471
|
.u-ml-minus-1 {
|
|
474
|
-
margin-
|
|
472
|
+
margin-inline-start: -0.25rem; /* 4px */
|
|
475
473
|
}
|
|
476
474
|
|
|
477
475
|
.u-ml-minus-2 {
|
|
478
|
-
margin-
|
|
476
|
+
margin-inline-start: -0.5rem; /* 8px */
|
|
479
477
|
}
|
|
480
478
|
|
|
481
479
|
// padding
|
|
@@ -520,28 +518,31 @@ $font-size-md: 1rem;
|
|
|
520
518
|
}
|
|
521
519
|
|
|
522
520
|
.u-px-0 {
|
|
523
|
-
padding-
|
|
524
|
-
padding-right: 0;
|
|
521
|
+
padding-inline: 0;
|
|
525
522
|
}
|
|
526
523
|
|
|
527
524
|
.u-px-1 {
|
|
528
|
-
padding-
|
|
529
|
-
|
|
525
|
+
padding-inline: 0.25rem; /* 4px */
|
|
526
|
+
|
|
527
|
+
/* 4px */
|
|
530
528
|
}
|
|
531
529
|
|
|
532
530
|
.u-px-2 {
|
|
533
|
-
padding-
|
|
534
|
-
|
|
531
|
+
padding-inline: 0.5rem; /* 8px */
|
|
532
|
+
|
|
533
|
+
/* 8px */
|
|
535
534
|
}
|
|
536
535
|
|
|
537
536
|
.u-px-3 {
|
|
538
|
-
padding-
|
|
539
|
-
|
|
537
|
+
padding-inline: 0.75rem; /* 12px */
|
|
538
|
+
|
|
539
|
+
/* 12px */
|
|
540
540
|
}
|
|
541
541
|
|
|
542
542
|
.u-px-4 {
|
|
543
|
-
padding-
|
|
544
|
-
|
|
543
|
+
padding-inline: 1rem; /* 16px */
|
|
544
|
+
|
|
545
|
+
/* 16px */
|
|
545
546
|
}
|
|
546
547
|
|
|
547
548
|
.u-pt-0 {
|
|
@@ -553,7 +554,7 @@ $font-size-md: 1rem;
|
|
|
553
554
|
}
|
|
554
555
|
|
|
555
556
|
.u-pr-0 {
|
|
556
|
-
padding-
|
|
557
|
+
padding-inline-end: 0;
|
|
557
558
|
}
|
|
558
559
|
|
|
559
560
|
.u-pb-0 {
|
|
@@ -565,7 +566,7 @@ $font-size-md: 1rem;
|
|
|
565
566
|
}
|
|
566
567
|
|
|
567
568
|
.u-pl-0 {
|
|
568
|
-
padding-
|
|
569
|
+
padding-inline-start: 0;
|
|
569
570
|
}
|
|
570
571
|
|
|
571
572
|
// vertical-align
|
|
@@ -667,11 +668,11 @@ $font-size-md: 1rem;
|
|
|
667
668
|
}
|
|
668
669
|
|
|
669
670
|
.u-text-left {
|
|
670
|
-
text-align:
|
|
671
|
+
text-align: start;
|
|
671
672
|
}
|
|
672
673
|
|
|
673
674
|
.u-text-right {
|
|
674
|
-
text-align:
|
|
675
|
+
text-align: end;
|
|
675
676
|
}
|
|
676
677
|
|
|
677
678
|
.u-text-justify {
|
|
@@ -9,8 +9,11 @@ $banners: (
|
|
|
9
9
|
banner-section_subtle: get-map($c, 'black'),
|
|
10
10
|
banner-section_bg: get-map($c, 'b700'),
|
|
11
11
|
banner-section_light_bg: get-map($c, 'white'),
|
|
12
|
-
banner-section_gradient_bg:
|
|
13
|
-
|
|
12
|
+
banner-section_gradient_bg: linear-gradient(
|
|
13
|
+
135deg,
|
|
14
|
+
rgb(76 62 205) 0%,
|
|
15
|
+
get-map($c, 'g300') 100%
|
|
16
|
+
),
|
|
14
17
|
banner-section_subtle_bg: get-map($c, 'white'),
|
|
15
18
|
banner-section_overlay: get-map($c, 'n900'),
|
|
16
19
|
banner-section_eyebrow: get-map($c, 'y300'),
|
|
@@ -19,12 +22,18 @@ $banners: (
|
|
|
19
22
|
banner-section_light_title: get-map($c, 'n900'),
|
|
20
23
|
custom-content-banner: get-map($c, 'n900'),
|
|
21
24
|
custom-content-banner_bg: get-map($c, 'n50'),
|
|
22
|
-
custom-content-banner_overlay:
|
|
23
|
-
|
|
25
|
+
custom-content-banner_overlay: linear-gradient(
|
|
26
|
+
90deg,
|
|
27
|
+
#{get-map($c, 'n50')} 50%,
|
|
28
|
+
rgb(240 245 255 / 0%) 100%
|
|
29
|
+
),
|
|
24
30
|
custom-content-banner_dark: get-map($c, 'white'),
|
|
25
31
|
custom-content-banner_dark_bg: get-map($c, 'b900'),
|
|
26
|
-
custom-content-banner_dark_overlay:
|
|
27
|
-
|
|
32
|
+
custom-content-banner_dark_overlay: linear-gradient(
|
|
33
|
+
273deg,
|
|
34
|
+
rgb(126 115 182 / 0%) 5.36%,
|
|
35
|
+
#{get-map($c, 'b900')} 47.32%
|
|
36
|
+
),
|
|
28
37
|
marketing-block_title: get-map($c, 'n900'),
|
|
29
38
|
marketing-block_tertiary_title: get-map($c, 'white'),
|
|
30
39
|
marketing-block_text: get-map($c, 'n700'),
|
|
@@ -95,8 +95,11 @@ $base: (
|
|
|
95
95
|
table_th: get-map($c, 'white'),
|
|
96
96
|
table_th_bg: get-map($c, 'n600'),
|
|
97
97
|
overlay: rgb(21 25 33 / 25%),
|
|
98
|
-
list_checkmarks_bg:
|
|
99
|
-
|
|
98
|
+
list_checkmarks_bg: linear-gradient(
|
|
99
|
+
140deg,
|
|
100
|
+
rgb(107 62 205 / 100%),
|
|
101
|
+
rgb(0 179 191 / 100%)
|
|
102
|
+
),
|
|
100
103
|
mention_deleted-user: get-map($c, 'n600'),
|
|
101
104
|
mention_deleted-user_bg: get-map($c, 'n50'),
|
|
102
105
|
multiple-inputs_close: get-map($c, 'n200'),
|
|
@@ -21,7 +21,7 @@ $discussion: (
|
|
|
21
21
|
discussion-pin_bg: get-map($c, 'n700'),
|
|
22
22
|
discussion-post_bg: get-map($c, 'white'),
|
|
23
23
|
discussion-post-pinned_bg: get-map($c, 'n50'),
|
|
24
|
-
discussion-post-pinned_gradient:
|
|
24
|
+
discussion-post-pinned_gradient: rgb(240 245 255 / 0%),
|
|
25
25
|
discussion-post-border: get-map($c, 'n100'),
|
|
26
26
|
discussion-post-hover-shadow: rgb(42 49 65 / 10%),
|
|
27
27
|
discussion-question_bg: get-map($c, 'sand'),
|
|
@@ -8,7 +8,7 @@ $general: (
|
|
|
8
8
|
image_container_bg_empty: get-map($c, 'white'),
|
|
9
9
|
popover_border: get-map($c, 'n100'),
|
|
10
10
|
popover_bg: get-map($c, 'white'),
|
|
11
|
-
popover_shadow:
|
|
11
|
+
popover_shadow: rgb(0 0 0 / 10%),
|
|
12
12
|
return_to_nav_box_shadow: get-map($c, 'black'),
|
|
13
13
|
return_to_nav_bg_focus_active: get-map($c, 'white'),
|
|
14
14
|
return_to_nav_bg_before_after: get-map($c, 'b700'),
|
|
@@ -15,8 +15,11 @@ $layout: (
|
|
|
15
15
|
download-section_bg: get-map($c, 'black'),
|
|
16
16
|
footer: get-map($c, 'white'),
|
|
17
17
|
footer_bg: get-map($c, 'black'),
|
|
18
|
-
footer_before_bg:
|
|
19
|
-
|
|
18
|
+
footer_before_bg: linear-gradient(
|
|
19
|
+
90deg,
|
|
20
|
+
get-map($c, 'b700') 0%,
|
|
21
|
+
get-map($c, 'g300') 100%
|
|
22
|
+
),
|
|
20
23
|
footer_title: #c4b5fd,
|
|
21
24
|
footer_link: get-map($c, 'white'),
|
|
22
25
|
footer_dt: get-map($c, 'white'),
|
|
@@ -5,8 +5,12 @@ $c: $default-colors;
|
|
|
5
5
|
$loaders: (
|
|
6
6
|
loading-block_icon_bg: get-map($c, 'n600'),
|
|
7
7
|
loading-placeholder_bg: get-map($c, 'n10'),
|
|
8
|
-
loading-placeholder_after_bg:
|
|
9
|
-
|
|
8
|
+
loading-placeholder_after_bg: linear-gradient(
|
|
9
|
+
90deg,
|
|
10
|
+
transparent,
|
|
11
|
+
rgb(255 255 255 / 20%),
|
|
12
|
+
transparent
|
|
13
|
+
),
|
|
10
14
|
progress-bar_bg: get-map($c, 'n50'),
|
|
11
15
|
progress-bar_before_bg: get-map($c, 'n200'),
|
|
12
16
|
progress-bar_25_bg_1: get-map($c, 'p100'),
|