@deque/cauldron-styles 4.7.0-canary.fa8e54c5 → 5.0.0-canary.09ebdf83
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/index.css +88 -16
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
--accent-medium: #283640;
|
|
21
21
|
--accent-light: #d4dde0;
|
|
22
22
|
--accent-success: #a5db75;
|
|
23
|
+
--accent-success-high-contrast: #4fa630;
|
|
23
24
|
--accent-success-light: #d1ffa4;
|
|
24
25
|
--accent-success-dark: #57a711;
|
|
25
26
|
--accent-error: #d93251;
|
|
@@ -38,8 +39,8 @@
|
|
|
38
39
|
--focus-light: #c11bde;
|
|
39
40
|
--focus-dark: #eb94ff;
|
|
40
41
|
--issue-critical: var(--accent-danger);
|
|
41
|
-
--issue-serious:
|
|
42
|
-
--issue-moderate:
|
|
42
|
+
--issue-serious: var(--accent-warning);
|
|
43
|
+
--issue-moderate: #f0c4f8;
|
|
43
44
|
--issue-minor: var(--gray-20);
|
|
44
45
|
|
|
45
46
|
/* text colours */
|
|
@@ -68,7 +69,7 @@
|
|
|
68
69
|
--space-small: 16px;
|
|
69
70
|
--space-medium: 18px;
|
|
70
71
|
--space-large: 24px;
|
|
71
|
-
--space-largest:
|
|
72
|
+
--space-largest: 32px;
|
|
72
73
|
--space-half: 4px;
|
|
73
74
|
--space-three-quarters: 6px;
|
|
74
75
|
--space-quarter: 2px;
|
|
@@ -661,7 +662,7 @@ button.Link {
|
|
|
661
662
|
--button-background-color-secondary-active
|
|
662
663
|
);
|
|
663
664
|
--icon-button-outline-color-secondary: var(--button-outline-color-secondary);
|
|
664
|
-
--icon-button-border-color-secondary:
|
|
665
|
+
--icon-button-border-color-secondary: var(--gray-40);
|
|
665
666
|
|
|
666
667
|
--icon-button-background-color-error: var(--button-background-color-error);
|
|
667
668
|
--icon-button-background-color-error-disabled: var(
|
|
@@ -689,6 +690,7 @@ button.Link {
|
|
|
689
690
|
display: inline-flex;
|
|
690
691
|
justify-content: center;
|
|
691
692
|
align-content: center;
|
|
693
|
+
align-items: center;
|
|
692
694
|
height: var(--button-thin-height);
|
|
693
695
|
width: var(--button-thin-height);
|
|
694
696
|
border-radius: 3px;
|
|
@@ -699,9 +701,16 @@ button.Link {
|
|
|
699
701
|
padding: 0;
|
|
700
702
|
}
|
|
701
703
|
|
|
704
|
+
/* Ensure both <a> and <button> IconButtons are aligned correctly. See #846. */
|
|
705
|
+
|
|
706
|
+
a.IconButton {
|
|
707
|
+
vertical-align: middle;
|
|
708
|
+
line-height: unset;
|
|
709
|
+
}
|
|
710
|
+
|
|
702
711
|
.IconButton .Icon {
|
|
703
|
-
|
|
704
|
-
|
|
712
|
+
height: var(--space-small);
|
|
713
|
+
width: var(--space-small);
|
|
705
714
|
pointer-events: none;
|
|
706
715
|
}
|
|
707
716
|
|
|
@@ -1835,7 +1844,7 @@ textarea.Field--has-error:focus:hover,
|
|
|
1835
1844
|
|
|
1836
1845
|
.Link:hover {
|
|
1837
1846
|
text-decoration: underline;
|
|
1838
|
-
color: var(--link-text-color);
|
|
1847
|
+
color: var(--link-text-color-hover);
|
|
1839
1848
|
}
|
|
1840
1849
|
|
|
1841
1850
|
.Link:focus {
|
|
@@ -2808,6 +2817,12 @@ button.TooltipTabstop {
|
|
|
2808
2817
|
background-color: var(--top-bar-text-color);
|
|
2809
2818
|
}
|
|
2810
2819
|
|
|
2820
|
+
@media (max-width: 71.25rem) {
|
|
2821
|
+
.TopBar > ul {
|
|
2822
|
+
border: 0;
|
|
2823
|
+
}
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2811
2826
|
:root {
|
|
2812
2827
|
--skip-link-background-color: rgba(255, 255, 255, 0.95);
|
|
2813
2828
|
--skip-link-focus-color: var(--focus-light);
|
|
@@ -3398,6 +3413,7 @@ button.TooltipTabstop {
|
|
|
3398
3413
|
--table-row-border-color: var(--gray-40);
|
|
3399
3414
|
--table-space: 11px;
|
|
3400
3415
|
--table-header-sorting-border-color: var(--gray-90);
|
|
3416
|
+
--table-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
|
|
3401
3417
|
}
|
|
3402
3418
|
|
|
3403
3419
|
.cauldron--theme-dark {
|
|
@@ -3425,7 +3441,7 @@ button.TooltipTabstop {
|
|
|
3425
3441
|
background: var(--table-header-background-color);
|
|
3426
3442
|
font-weight: var(--font-weight-medium);
|
|
3427
3443
|
color: var(--table-header-text-color);
|
|
3428
|
-
border-bottom:
|
|
3444
|
+
border-bottom: 3px solid var(--table-row-border-color);
|
|
3429
3445
|
}
|
|
3430
3446
|
|
|
3431
3447
|
.TableHeader[aria-sort] {
|
|
@@ -3454,10 +3470,11 @@ button.TooltipTabstop {
|
|
|
3454
3470
|
outline-offset: unset;
|
|
3455
3471
|
}
|
|
3456
3472
|
|
|
3473
|
+
.TableHeader,
|
|
3457
3474
|
.TableHeader--sort-ascending,
|
|
3458
3475
|
.TableHeader--sort-descending {
|
|
3459
3476
|
background: var(--table-header-sorting-background-color);
|
|
3460
|
-
border-bottom:
|
|
3477
|
+
border-bottom: 3px solid var(--table-header-sorting-border-color);
|
|
3461
3478
|
}
|
|
3462
3479
|
|
|
3463
3480
|
.TableHeader--sort-ascending .TableHeader__sort-button,
|
|
@@ -3478,21 +3495,54 @@ button.TooltipTabstop {
|
|
|
3478
3495
|
}
|
|
3479
3496
|
|
|
3480
3497
|
.TableCell,
|
|
3481
|
-
.TableHeader
|
|
3498
|
+
.TableHeader,
|
|
3499
|
+
.TableFooter {
|
|
3482
3500
|
padding: var(--table-space) var(--space-smallest);
|
|
3483
3501
|
}
|
|
3484
3502
|
|
|
3485
|
-
.TableRow:last-child .TableCell {
|
|
3503
|
+
.Table:not(.Table--border) .TableRow:last-child .TableCell {
|
|
3486
3504
|
border: none;
|
|
3487
3505
|
}
|
|
3488
3506
|
|
|
3507
|
+
.Table--border {
|
|
3508
|
+
box-shadow: var(--table-box-shadow);
|
|
3509
|
+
}
|
|
3510
|
+
|
|
3511
|
+
.TableCell {
|
|
3512
|
+
color: var(--gray-90);
|
|
3513
|
+
}
|
|
3514
|
+
|
|
3515
|
+
.cauldron--theme-dark .TableCell {
|
|
3516
|
+
color: var(--white);
|
|
3517
|
+
}
|
|
3518
|
+
|
|
3519
|
+
.Table--border,
|
|
3520
|
+
.Table--border .TableHeader,
|
|
3521
|
+
.Table--border .TableFooter,
|
|
3522
|
+
.Table--border .TableCell {
|
|
3523
|
+
border: 1px solid var(--gray-40);
|
|
3524
|
+
}
|
|
3525
|
+
|
|
3526
|
+
.cauldron--theme-dark .Table--border,
|
|
3527
|
+
.cauldron--theme-dark .Table--border .TableHeader,
|
|
3528
|
+
.cauldron--theme-dark .Table--border .TableFooter,
|
|
3529
|
+
.cauldron--theme-dark .Table--border .TableCell {
|
|
3530
|
+
border-color: var(--stroke-dark);
|
|
3531
|
+
}
|
|
3532
|
+
|
|
3533
|
+
.TableFooter .TableCell {
|
|
3534
|
+
background: var(--table-header-background-color);
|
|
3535
|
+
font-weight: var(--font-weight-medium);
|
|
3536
|
+
color: var(--table-header-text-color);
|
|
3537
|
+
}
|
|
3538
|
+
|
|
3489
3539
|
:root {
|
|
3490
3540
|
--data-list-background-color: var(--gray-20);
|
|
3491
3541
|
--data-list-value-background-color: var(--white);
|
|
3492
3542
|
--data-list-border-color: var(--gray-40);
|
|
3493
3543
|
--data-list-text-color: var(--gray-90);
|
|
3494
|
-
--data-list-value-text-color: var(--gray-
|
|
3495
|
-
--data-list-space:
|
|
3544
|
+
--data-list-value-text-color: var(--gray-90);
|
|
3545
|
+
--data-list-space: var(--space-small);
|
|
3496
3546
|
--data-list-value-width: 187px;
|
|
3497
3547
|
}
|
|
3498
3548
|
|
|
@@ -3510,7 +3560,7 @@ button.TooltipTabstop {
|
|
|
3510
3560
|
border-radius: 3px;
|
|
3511
3561
|
border: 1px solid var(--data-list-border-color);
|
|
3512
3562
|
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
|
|
3513
|
-
margin-bottom: var(--space-small)
|
|
3563
|
+
margin-bottom: var(--space-small);
|
|
3514
3564
|
}
|
|
3515
3565
|
|
|
3516
3566
|
.DescriptionList.DescriptionList--collapsed {
|
|
@@ -3532,7 +3582,7 @@ button.TooltipTabstop {
|
|
|
3532
3582
|
|
|
3533
3583
|
.DescriptionList--collapsed .DescriptionList__item {
|
|
3534
3584
|
border: 0;
|
|
3535
|
-
margin-bottom:
|
|
3585
|
+
margin-bottom: 12px;
|
|
3536
3586
|
display: block;
|
|
3537
3587
|
background-color: var(--data-list-value-background-color);
|
|
3538
3588
|
}
|
|
@@ -3565,6 +3615,7 @@ button.TooltipTabstop {
|
|
|
3565
3615
|
background-color: transparent;
|
|
3566
3616
|
width: auto;
|
|
3567
3617
|
border-right: none;
|
|
3618
|
+
margin-bottom: 2px;
|
|
3568
3619
|
}
|
|
3569
3620
|
|
|
3570
3621
|
.DescriptionList__details {
|
|
@@ -3596,6 +3647,16 @@ button.TooltipTabstop {
|
|
|
3596
3647
|
color: var(--white);
|
|
3597
3648
|
}
|
|
3598
3649
|
|
|
3650
|
+
@media screen and (max-width: 32rem) {
|
|
3651
|
+
.DescriptionList {
|
|
3652
|
+
margin-bottom: 0;
|
|
3653
|
+
box-shadow: none;
|
|
3654
|
+
border-bottom: 0;
|
|
3655
|
+
border-left: 1px solid var(--gray-40);
|
|
3656
|
+
border-right: 1px solid var(--gray-40);
|
|
3657
|
+
}
|
|
3658
|
+
}
|
|
3659
|
+
|
|
3599
3660
|
.Stepper {
|
|
3600
3661
|
--step-indicator-size: 2em;
|
|
3601
3662
|
--step-line-height: 0.53em;
|
|
@@ -3723,7 +3784,7 @@ button.TooltipTabstop {
|
|
|
3723
3784
|
}
|
|
3724
3785
|
|
|
3725
3786
|
.Panel {
|
|
3726
|
-
padding: var(--space-
|
|
3787
|
+
padding: var(--space-small);
|
|
3727
3788
|
border: 1px solid var(--panel-border-color);
|
|
3728
3789
|
border-radius: 3px;
|
|
3729
3790
|
box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.15);
|
|
@@ -4042,6 +4103,7 @@ fieldset.Panel {
|
|
|
4042
4103
|
display: flex;
|
|
4043
4104
|
align-items: center;
|
|
4044
4105
|
font-size: var(--text-size-small);
|
|
4106
|
+
margin: 0;
|
|
4045
4107
|
}
|
|
4046
4108
|
|
|
4047
4109
|
.Pagination > ul > li:not(:last-child) {
|
|
@@ -4092,6 +4154,16 @@ fieldset.Panel {
|
|
|
4092
4154
|
color: var(--accent-light);
|
|
4093
4155
|
}
|
|
4094
4156
|
|
|
4157
|
+
@media (max-width: 28.125rem) {
|
|
4158
|
+
.Pagination [role='log'] {
|
|
4159
|
+
margin: 0;
|
|
4160
|
+
}
|
|
4161
|
+
|
|
4162
|
+
.Pagination--thin [role='log'] {
|
|
4163
|
+
margin: 0;
|
|
4164
|
+
}
|
|
4165
|
+
}
|
|
4166
|
+
|
|
4095
4167
|
.Breadcrumb ol {
|
|
4096
4168
|
display: flex;
|
|
4097
4169
|
align-items: center;
|
package/package.json
CHANGED