@deque/cauldron-styles 4.7.0-canary.a7d93380 → 4.7.0-canary.a8a7180a
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 +96 -21
- 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 {
|
|
@@ -2259,9 +2268,9 @@ p .Link {
|
|
|
2259
2268
|
}
|
|
2260
2269
|
|
|
2261
2270
|
.RadioCardGroup__Icon.Icon svg {
|
|
2262
|
-
/**
|
|
2271
|
+
/**
|
|
2263
2272
|
* this is edge case to pass color-contrast when the radio-card is selected,
|
|
2264
|
-
* it is not a color we want to live in cauldron as a variable
|
|
2273
|
+
* it is not a color we want to live in cauldron as a variable
|
|
2265
2274
|
* @see https://github.com/dequelabs/cauldron/pull/736
|
|
2266
2275
|
*/
|
|
2267
2276
|
color: #4f990f;
|
|
@@ -2305,6 +2314,10 @@ p .Link {
|
|
|
2305
2314
|
justify-content: center;
|
|
2306
2315
|
}
|
|
2307
2316
|
|
|
2317
|
+
.cauldron--theme-dark .RadioCardGroup__Icon.Icon svg {
|
|
2318
|
+
color: var(--accent-success);
|
|
2319
|
+
}
|
|
2320
|
+
|
|
2308
2321
|
:root {
|
|
2309
2322
|
--tile-background-color: var(--white);
|
|
2310
2323
|
--list-separator: rgba(153, 153, 153, 0.15);
|
|
@@ -2602,15 +2615,14 @@ p .Link {
|
|
|
2602
2615
|
|
|
2603
2616
|
.TooltipHead {
|
|
2604
2617
|
background: var(--gray-20);
|
|
2605
|
-
font-size:
|
|
2618
|
+
font-size: var(--text-size-small);
|
|
2606
2619
|
color: var(--gray-90);
|
|
2607
|
-
padding:
|
|
2620
|
+
padding: var(--space-small) var(--space-large);
|
|
2608
2621
|
text-align: center;
|
|
2609
2622
|
}
|
|
2610
2623
|
|
|
2611
2624
|
.TooltipContent {
|
|
2612
2625
|
background: #fff;
|
|
2613
|
-
font-size: var(--font-size-smaller);
|
|
2614
2626
|
text-align: left;
|
|
2615
2627
|
}
|
|
2616
2628
|
|
|
@@ -2805,6 +2817,12 @@ button.TooltipTabstop {
|
|
|
2805
2817
|
background-color: var(--top-bar-text-color);
|
|
2806
2818
|
}
|
|
2807
2819
|
|
|
2820
|
+
@media (max-width: 71.25rem) {
|
|
2821
|
+
.TopBar > ul {
|
|
2822
|
+
border: 0;
|
|
2823
|
+
}
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2808
2826
|
:root {
|
|
2809
2827
|
--skip-link-background-color: rgba(255, 255, 255, 0.95);
|
|
2810
2828
|
--skip-link-focus-color: var(--focus-light);
|
|
@@ -3395,6 +3413,7 @@ button.TooltipTabstop {
|
|
|
3395
3413
|
--table-row-border-color: var(--gray-40);
|
|
3396
3414
|
--table-space: 11px;
|
|
3397
3415
|
--table-header-sorting-border-color: var(--gray-90);
|
|
3416
|
+
--table-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
|
|
3398
3417
|
}
|
|
3399
3418
|
|
|
3400
3419
|
.cauldron--theme-dark {
|
|
@@ -3422,7 +3441,7 @@ button.TooltipTabstop {
|
|
|
3422
3441
|
background: var(--table-header-background-color);
|
|
3423
3442
|
font-weight: var(--font-weight-medium);
|
|
3424
3443
|
color: var(--table-header-text-color);
|
|
3425
|
-
border-bottom:
|
|
3444
|
+
border-bottom: 3px solid var(--table-row-border-color);
|
|
3426
3445
|
}
|
|
3427
3446
|
|
|
3428
3447
|
.TableHeader[aria-sort] {
|
|
@@ -3451,10 +3470,11 @@ button.TooltipTabstop {
|
|
|
3451
3470
|
outline-offset: unset;
|
|
3452
3471
|
}
|
|
3453
3472
|
|
|
3473
|
+
.TableHeader,
|
|
3454
3474
|
.TableHeader--sort-ascending,
|
|
3455
3475
|
.TableHeader--sort-descending {
|
|
3456
3476
|
background: var(--table-header-sorting-background-color);
|
|
3457
|
-
border-bottom:
|
|
3477
|
+
border-bottom: 3px solid var(--table-header-sorting-border-color);
|
|
3458
3478
|
}
|
|
3459
3479
|
|
|
3460
3480
|
.TableHeader--sort-ascending .TableHeader__sort-button,
|
|
@@ -3475,21 +3495,54 @@ button.TooltipTabstop {
|
|
|
3475
3495
|
}
|
|
3476
3496
|
|
|
3477
3497
|
.TableCell,
|
|
3478
|
-
.TableHeader
|
|
3498
|
+
.TableHeader,
|
|
3499
|
+
.TableFooter {
|
|
3479
3500
|
padding: var(--table-space) var(--space-smallest);
|
|
3480
3501
|
}
|
|
3481
3502
|
|
|
3482
|
-
.TableRow:last-child .TableCell {
|
|
3503
|
+
.Table:not(.Table--border) .TableRow:last-child .TableCell {
|
|
3483
3504
|
border: none;
|
|
3484
3505
|
}
|
|
3485
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
|
+
|
|
3486
3539
|
:root {
|
|
3487
3540
|
--data-list-background-color: var(--gray-20);
|
|
3488
3541
|
--data-list-value-background-color: var(--white);
|
|
3489
3542
|
--data-list-border-color: var(--gray-40);
|
|
3490
3543
|
--data-list-text-color: var(--gray-90);
|
|
3491
|
-
--data-list-value-text-color: var(--gray-
|
|
3492
|
-
--data-list-space:
|
|
3544
|
+
--data-list-value-text-color: var(--gray-90);
|
|
3545
|
+
--data-list-space: var(--space-small);
|
|
3493
3546
|
--data-list-value-width: 187px;
|
|
3494
3547
|
}
|
|
3495
3548
|
|
|
@@ -3507,7 +3560,7 @@ button.TooltipTabstop {
|
|
|
3507
3560
|
border-radius: 3px;
|
|
3508
3561
|
border: 1px solid var(--data-list-border-color);
|
|
3509
3562
|
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
|
|
3510
|
-
margin-bottom: var(--space-small)
|
|
3563
|
+
margin-bottom: var(--space-small);
|
|
3511
3564
|
}
|
|
3512
3565
|
|
|
3513
3566
|
.DescriptionList.DescriptionList--collapsed {
|
|
@@ -3529,7 +3582,7 @@ button.TooltipTabstop {
|
|
|
3529
3582
|
|
|
3530
3583
|
.DescriptionList--collapsed .DescriptionList__item {
|
|
3531
3584
|
border: 0;
|
|
3532
|
-
margin-bottom:
|
|
3585
|
+
margin-bottom: 12px;
|
|
3533
3586
|
display: block;
|
|
3534
3587
|
background-color: var(--data-list-value-background-color);
|
|
3535
3588
|
}
|
|
@@ -3562,6 +3615,7 @@ button.TooltipTabstop {
|
|
|
3562
3615
|
background-color: transparent;
|
|
3563
3616
|
width: auto;
|
|
3564
3617
|
border-right: none;
|
|
3618
|
+
margin-bottom: 2px;
|
|
3565
3619
|
}
|
|
3566
3620
|
|
|
3567
3621
|
.DescriptionList__details {
|
|
@@ -3593,6 +3647,16 @@ button.TooltipTabstop {
|
|
|
3593
3647
|
color: var(--white);
|
|
3594
3648
|
}
|
|
3595
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
|
+
|
|
3596
3660
|
.Stepper {
|
|
3597
3661
|
--step-indicator-size: 2em;
|
|
3598
3662
|
--step-line-height: 0.53em;
|
|
@@ -3720,7 +3784,7 @@ button.TooltipTabstop {
|
|
|
3720
3784
|
}
|
|
3721
3785
|
|
|
3722
3786
|
.Panel {
|
|
3723
|
-
padding: var(--space-
|
|
3787
|
+
padding: var(--space-small);
|
|
3724
3788
|
border: 1px solid var(--panel-border-color);
|
|
3725
3789
|
border-radius: 3px;
|
|
3726
3790
|
box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.15);
|
|
@@ -4039,6 +4103,7 @@ fieldset.Panel {
|
|
|
4039
4103
|
display: flex;
|
|
4040
4104
|
align-items: center;
|
|
4041
4105
|
font-size: var(--text-size-small);
|
|
4106
|
+
margin: 0;
|
|
4042
4107
|
}
|
|
4043
4108
|
|
|
4044
4109
|
.Pagination > ul > li:not(:last-child) {
|
|
@@ -4089,6 +4154,16 @@ fieldset.Panel {
|
|
|
4089
4154
|
color: var(--accent-light);
|
|
4090
4155
|
}
|
|
4091
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
|
+
|
|
4092
4167
|
.Breadcrumb ol {
|
|
4093
4168
|
display: flex;
|
|
4094
4169
|
align-items: center;
|
package/package.json
CHANGED