@deque/cauldron-styles 4.7.0-canary.2930b9c8 → 4.7.0-canary.2b7d027e
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 +90 -19
- 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 {
|
|
@@ -2606,15 +2615,14 @@ p .Link {
|
|
|
2606
2615
|
|
|
2607
2616
|
.TooltipHead {
|
|
2608
2617
|
background: var(--gray-20);
|
|
2609
|
-
font-size:
|
|
2618
|
+
font-size: var(--text-size-small);
|
|
2610
2619
|
color: var(--gray-90);
|
|
2611
|
-
padding:
|
|
2620
|
+
padding: var(--space-small) var(--space-large);
|
|
2612
2621
|
text-align: center;
|
|
2613
2622
|
}
|
|
2614
2623
|
|
|
2615
2624
|
.TooltipContent {
|
|
2616
2625
|
background: #fff;
|
|
2617
|
-
font-size: var(--font-size-smaller);
|
|
2618
2626
|
text-align: left;
|
|
2619
2627
|
}
|
|
2620
2628
|
|
|
@@ -2809,6 +2817,12 @@ button.TooltipTabstop {
|
|
|
2809
2817
|
background-color: var(--top-bar-text-color);
|
|
2810
2818
|
}
|
|
2811
2819
|
|
|
2820
|
+
@media (max-width: 71.25rem) {
|
|
2821
|
+
.TopBar > ul {
|
|
2822
|
+
border: 0;
|
|
2823
|
+
}
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2812
2826
|
:root {
|
|
2813
2827
|
--skip-link-background-color: rgba(255, 255, 255, 0.95);
|
|
2814
2828
|
--skip-link-focus-color: var(--focus-light);
|
|
@@ -3399,6 +3413,7 @@ button.TooltipTabstop {
|
|
|
3399
3413
|
--table-row-border-color: var(--gray-40);
|
|
3400
3414
|
--table-space: 11px;
|
|
3401
3415
|
--table-header-sorting-border-color: var(--gray-90);
|
|
3416
|
+
--table-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
|
|
3402
3417
|
}
|
|
3403
3418
|
|
|
3404
3419
|
.cauldron--theme-dark {
|
|
@@ -3426,7 +3441,7 @@ button.TooltipTabstop {
|
|
|
3426
3441
|
background: var(--table-header-background-color);
|
|
3427
3442
|
font-weight: var(--font-weight-medium);
|
|
3428
3443
|
color: var(--table-header-text-color);
|
|
3429
|
-
border-bottom:
|
|
3444
|
+
border-bottom: 3px solid var(--table-row-border-color);
|
|
3430
3445
|
}
|
|
3431
3446
|
|
|
3432
3447
|
.TableHeader[aria-sort] {
|
|
@@ -3455,10 +3470,11 @@ button.TooltipTabstop {
|
|
|
3455
3470
|
outline-offset: unset;
|
|
3456
3471
|
}
|
|
3457
3472
|
|
|
3473
|
+
.TableHeader,
|
|
3458
3474
|
.TableHeader--sort-ascending,
|
|
3459
3475
|
.TableHeader--sort-descending {
|
|
3460
3476
|
background: var(--table-header-sorting-background-color);
|
|
3461
|
-
border-bottom:
|
|
3477
|
+
border-bottom: 3px solid var(--table-header-sorting-border-color);
|
|
3462
3478
|
}
|
|
3463
3479
|
|
|
3464
3480
|
.TableHeader--sort-ascending .TableHeader__sort-button,
|
|
@@ -3479,21 +3495,54 @@ button.TooltipTabstop {
|
|
|
3479
3495
|
}
|
|
3480
3496
|
|
|
3481
3497
|
.TableCell,
|
|
3482
|
-
.TableHeader
|
|
3498
|
+
.TableHeader,
|
|
3499
|
+
.TableFooter {
|
|
3483
3500
|
padding: var(--table-space) var(--space-smallest);
|
|
3484
3501
|
}
|
|
3485
3502
|
|
|
3486
|
-
.TableRow:last-child .TableCell {
|
|
3503
|
+
.Table:not(.Table--border) .TableRow:last-child .TableCell {
|
|
3487
3504
|
border: none;
|
|
3488
3505
|
}
|
|
3489
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
|
+
|
|
3490
3539
|
:root {
|
|
3491
3540
|
--data-list-background-color: var(--gray-20);
|
|
3492
3541
|
--data-list-value-background-color: var(--white);
|
|
3493
3542
|
--data-list-border-color: var(--gray-40);
|
|
3494
3543
|
--data-list-text-color: var(--gray-90);
|
|
3495
|
-
--data-list-value-text-color: var(--gray-
|
|
3496
|
-
--data-list-space:
|
|
3544
|
+
--data-list-value-text-color: var(--gray-90);
|
|
3545
|
+
--data-list-space: var(--space-small);
|
|
3497
3546
|
--data-list-value-width: 187px;
|
|
3498
3547
|
}
|
|
3499
3548
|
|
|
@@ -3511,7 +3560,7 @@ button.TooltipTabstop {
|
|
|
3511
3560
|
border-radius: 3px;
|
|
3512
3561
|
border: 1px solid var(--data-list-border-color);
|
|
3513
3562
|
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
|
|
3514
|
-
margin-bottom: var(--space-small)
|
|
3563
|
+
margin-bottom: var(--space-small);
|
|
3515
3564
|
}
|
|
3516
3565
|
|
|
3517
3566
|
.DescriptionList.DescriptionList--collapsed {
|
|
@@ -3533,7 +3582,7 @@ button.TooltipTabstop {
|
|
|
3533
3582
|
|
|
3534
3583
|
.DescriptionList--collapsed .DescriptionList__item {
|
|
3535
3584
|
border: 0;
|
|
3536
|
-
margin-bottom:
|
|
3585
|
+
margin-bottom: 12px;
|
|
3537
3586
|
display: block;
|
|
3538
3587
|
background-color: var(--data-list-value-background-color);
|
|
3539
3588
|
}
|
|
@@ -3566,6 +3615,7 @@ button.TooltipTabstop {
|
|
|
3566
3615
|
background-color: transparent;
|
|
3567
3616
|
width: auto;
|
|
3568
3617
|
border-right: none;
|
|
3618
|
+
margin-bottom: 2px;
|
|
3569
3619
|
}
|
|
3570
3620
|
|
|
3571
3621
|
.DescriptionList__details {
|
|
@@ -3597,6 +3647,16 @@ button.TooltipTabstop {
|
|
|
3597
3647
|
color: var(--white);
|
|
3598
3648
|
}
|
|
3599
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
|
+
|
|
3600
3660
|
.Stepper {
|
|
3601
3661
|
--step-indicator-size: 2em;
|
|
3602
3662
|
--step-line-height: 0.53em;
|
|
@@ -3724,7 +3784,7 @@ button.TooltipTabstop {
|
|
|
3724
3784
|
}
|
|
3725
3785
|
|
|
3726
3786
|
.Panel {
|
|
3727
|
-
padding: var(--space-
|
|
3787
|
+
padding: var(--space-small);
|
|
3728
3788
|
border: 1px solid var(--panel-border-color);
|
|
3729
3789
|
border-radius: 3px;
|
|
3730
3790
|
box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.15);
|
|
@@ -4043,6 +4103,7 @@ fieldset.Panel {
|
|
|
4043
4103
|
display: flex;
|
|
4044
4104
|
align-items: center;
|
|
4045
4105
|
font-size: var(--text-size-small);
|
|
4106
|
+
margin: 0;
|
|
4046
4107
|
}
|
|
4047
4108
|
|
|
4048
4109
|
.Pagination > ul > li:not(:last-child) {
|
|
@@ -4093,6 +4154,16 @@ fieldset.Panel {
|
|
|
4093
4154
|
color: var(--accent-light);
|
|
4094
4155
|
}
|
|
4095
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
|
+
|
|
4096
4167
|
.Breadcrumb ol {
|
|
4097
4168
|
display: flex;
|
|
4098
4169
|
align-items: center;
|
package/package.json
CHANGED