@deque/cauldron-styles 4.7.0 → 5.0.0-canary.1e5b9b01
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 +155 -50
- package/package.json +2 -2
package/dist/index.css
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
/* color palette */
|
|
9
9
|
--white: #ffffff;
|
|
10
10
|
--dark-workspace-color: #53636e;
|
|
11
|
+
--stroke-light: #b3bfc6;
|
|
11
12
|
--stroke-dark: #5d676f;
|
|
12
13
|
--gray-10: #fdfdfe;
|
|
13
14
|
--gray-20: #f2f2f2;
|
|
@@ -20,6 +21,7 @@
|
|
|
20
21
|
--accent-medium: #283640;
|
|
21
22
|
--accent-light: #d4dde0;
|
|
22
23
|
--accent-success: #a5db75;
|
|
24
|
+
--accent-success-high-contrast: #4fa630;
|
|
23
25
|
--accent-success-light: #d1ffa4;
|
|
24
26
|
--accent-success-dark: #57a711;
|
|
25
27
|
--accent-error: #d93251;
|
|
@@ -35,12 +37,12 @@
|
|
|
35
37
|
--accent-primary-active: #316091;
|
|
36
38
|
--accent-secondary: var(--gray-20);
|
|
37
39
|
--accent-secondary-active: var(--gray-30);
|
|
38
|
-
--focus-light: #
|
|
40
|
+
--focus-light: #b51ad1;
|
|
39
41
|
--focus-dark: #eb94ff;
|
|
40
|
-
--issue-critical:
|
|
41
|
-
--issue-serious:
|
|
42
|
-
--issue-moderate: #
|
|
43
|
-
--issue-minor:
|
|
42
|
+
--issue-critical: var(--accent-danger);
|
|
43
|
+
--issue-serious: var(--accent-warning);
|
|
44
|
+
--issue-moderate: #f0c4f8;
|
|
45
|
+
--issue-minor: var(--gray-20);
|
|
44
46
|
|
|
45
47
|
/* text colours */
|
|
46
48
|
--text-color-base: var(--gray-60);
|
|
@@ -49,6 +51,9 @@
|
|
|
49
51
|
--header-text-color: var(--gray-80);
|
|
50
52
|
--header-text-color-dark: var(--gray-90);
|
|
51
53
|
|
|
54
|
+
/* background colours */
|
|
55
|
+
--background-light: #f0f2f5;
|
|
56
|
+
|
|
52
57
|
/* accents */
|
|
53
58
|
--error: var(--accent-error);
|
|
54
59
|
--disabled: var(--gray-40);
|
|
@@ -65,10 +70,11 @@
|
|
|
65
70
|
|
|
66
71
|
/* spacing (padding/margin) */
|
|
67
72
|
--space-smallest: 8px;
|
|
73
|
+
--space-smaller: 12px;
|
|
68
74
|
--space-small: 16px;
|
|
69
75
|
--space-medium: 18px;
|
|
70
76
|
--space-large: 24px;
|
|
71
|
-
--space-largest:
|
|
77
|
+
--space-largest: 32px;
|
|
72
78
|
--space-half: 4px;
|
|
73
79
|
--space-three-quarters: 6px;
|
|
74
80
|
--space-quarter: 2px;
|
|
@@ -80,6 +86,7 @@
|
|
|
80
86
|
--text-size-larger: 56px;
|
|
81
87
|
--text-size-large: 45px;
|
|
82
88
|
--text-size-large-medium: 34px;
|
|
89
|
+
--text-size-medium-large: 32px;
|
|
83
90
|
--text-size-medium: 24px;
|
|
84
91
|
--text-small-medium: 20px;
|
|
85
92
|
--text-size-normal: 18px;
|
|
@@ -87,6 +94,9 @@
|
|
|
87
94
|
--text-size-smaller: 13px;
|
|
88
95
|
--text-size-smallest: 12px;
|
|
89
96
|
|
|
97
|
+
/* fonts */
|
|
98
|
+
--base-font-family: 'Roboto', Helvetica, Arial, sans-serif;
|
|
99
|
+
|
|
90
100
|
/* font weight */
|
|
91
101
|
--font-weight-thin: 100;
|
|
92
102
|
--font-weight-light: 300;
|
|
@@ -95,13 +105,16 @@
|
|
|
95
105
|
--font-weight-bold: 700;
|
|
96
106
|
--font-weight-ultra-bold: 900;
|
|
97
107
|
|
|
108
|
+
/* icon sizes */
|
|
109
|
+
--icon-size: 24px;
|
|
110
|
+
|
|
98
111
|
/* dimensions */
|
|
99
112
|
--border-width: 6px;
|
|
100
113
|
--layout-padding: 9px;
|
|
101
114
|
--content-max-width: 1000px;
|
|
102
115
|
|
|
103
116
|
/* z-index */
|
|
104
|
-
--z-index-tooltip:
|
|
117
|
+
--z-index-tooltip: 22;
|
|
105
118
|
--z-index-loader: 8;
|
|
106
119
|
--z-index-scrim: 7;
|
|
107
120
|
--z-index-dialog: 21;
|
|
@@ -150,7 +163,7 @@ html {
|
|
|
150
163
|
}
|
|
151
164
|
|
|
152
165
|
body {
|
|
153
|
-
font-family:
|
|
166
|
+
font-family: var(--base-font-family);
|
|
154
167
|
font-style: normal;
|
|
155
168
|
font-weight: 400;
|
|
156
169
|
color: var(--text-color-base);
|
|
@@ -186,6 +199,11 @@ ul {
|
|
|
186
199
|
padding: 0;
|
|
187
200
|
}
|
|
188
201
|
|
|
202
|
+
button {
|
|
203
|
+
font-family: var(--base-font-family);
|
|
204
|
+
font-weight: 500;
|
|
205
|
+
}
|
|
206
|
+
|
|
189
207
|
button,
|
|
190
208
|
[role='button'] {
|
|
191
209
|
display: inline-block;
|
|
@@ -661,7 +679,7 @@ button.Link {
|
|
|
661
679
|
--button-background-color-secondary-active
|
|
662
680
|
);
|
|
663
681
|
--icon-button-outline-color-secondary: var(--button-outline-color-secondary);
|
|
664
|
-
--icon-button-border-color-secondary:
|
|
682
|
+
--icon-button-border-color-secondary: var(--gray-40);
|
|
665
683
|
|
|
666
684
|
--icon-button-background-color-error: var(--button-background-color-error);
|
|
667
685
|
--icon-button-background-color-error-disabled: var(
|
|
@@ -689,6 +707,7 @@ button.Link {
|
|
|
689
707
|
display: inline-flex;
|
|
690
708
|
justify-content: center;
|
|
691
709
|
align-content: center;
|
|
710
|
+
align-items: center;
|
|
692
711
|
height: var(--button-thin-height);
|
|
693
712
|
width: var(--button-thin-height);
|
|
694
713
|
border-radius: 3px;
|
|
@@ -699,9 +718,16 @@ button.Link {
|
|
|
699
718
|
padding: 0;
|
|
700
719
|
}
|
|
701
720
|
|
|
721
|
+
/* Ensure both <a> and <button> IconButtons are aligned correctly. See #846. */
|
|
722
|
+
|
|
723
|
+
a.IconButton {
|
|
724
|
+
vertical-align: middle;
|
|
725
|
+
line-height: unset;
|
|
726
|
+
}
|
|
727
|
+
|
|
702
728
|
.IconButton .Icon {
|
|
703
|
-
|
|
704
|
-
|
|
729
|
+
height: var(--space-small);
|
|
730
|
+
width: var(--space-small);
|
|
705
731
|
pointer-events: none;
|
|
706
732
|
}
|
|
707
733
|
|
|
@@ -927,8 +953,8 @@ button.Link {
|
|
|
927
953
|
}
|
|
928
954
|
|
|
929
955
|
.Dialog__close svg {
|
|
930
|
-
height:
|
|
931
|
-
width:
|
|
956
|
+
height: var(--icon-size);
|
|
957
|
+
width: var(--icon-size);
|
|
932
958
|
}
|
|
933
959
|
|
|
934
960
|
.Dialog__content {
|
|
@@ -1190,8 +1216,8 @@ button.Link {
|
|
|
1190
1216
|
.Pointout__dismiss .Icon svg,
|
|
1191
1217
|
.Pointout__next .Icon svg,
|
|
1192
1218
|
.Pointout__previous .Icon svg {
|
|
1193
|
-
height:
|
|
1194
|
-
width:
|
|
1219
|
+
height: var(--icon-size);
|
|
1220
|
+
width: var(--icon-size);
|
|
1195
1221
|
}
|
|
1196
1222
|
|
|
1197
1223
|
.Pointout__dismiss:hover {
|
|
@@ -1488,9 +1514,10 @@ textarea:focus,
|
|
|
1488
1514
|
[role='listbox']:focus,
|
|
1489
1515
|
[role='spinbutton']:focus {
|
|
1490
1516
|
outline: 0;
|
|
1491
|
-
border:
|
|
1492
|
-
box-shadow:
|
|
1493
|
-
|
|
1517
|
+
border: 1px solid var(--field-border-color-focus);
|
|
1518
|
+
box-shadow: 0 0 0 2px var(--field-border-color-focus),
|
|
1519
|
+
0 0 5px var(--field-border-color-focus-glow),
|
|
1520
|
+
inset 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
1494
1521
|
}
|
|
1495
1522
|
|
|
1496
1523
|
input:hover,
|
|
@@ -1514,7 +1541,7 @@ textarea:focus:hover,
|
|
|
1514
1541
|
[aria-haspopup='listbox']:focus:hover,
|
|
1515
1542
|
[role='listbox']:focus:hover,
|
|
1516
1543
|
[role='spinbutton']:focus:hover {
|
|
1517
|
-
border:
|
|
1544
|
+
border: 1px solid var(--field-border-color-focus-hover);
|
|
1518
1545
|
}
|
|
1519
1546
|
|
|
1520
1547
|
input.Field--has-error,
|
|
@@ -1554,9 +1581,10 @@ textarea.Field--has-error:focus,
|
|
|
1554
1581
|
[aria-haspopup='listbox'].Field--has-error:focus,
|
|
1555
1582
|
[role='listbox'].Field--has-error:focus,
|
|
1556
1583
|
[role='spinbutton'].Field--has-error:focus {
|
|
1557
|
-
border:
|
|
1558
|
-
box-shadow:
|
|
1559
|
-
|
|
1584
|
+
border: 1px solid var(--field-border-color-error);
|
|
1585
|
+
box-shadow: 0 0 0 1px var(--field-border-color-error-hover),
|
|
1586
|
+
inset 0 2px 3px 0 rgba(0, 0, 0, 0.05),
|
|
1587
|
+
0 0 5px 0 var(--field-border-color-error-focus-glow);
|
|
1560
1588
|
}
|
|
1561
1589
|
|
|
1562
1590
|
input.Field--has-error:focus:hover,
|
|
@@ -1812,7 +1840,7 @@ textarea.Field--has-error:focus:hover,
|
|
|
1812
1840
|
|
|
1813
1841
|
:root {
|
|
1814
1842
|
--link-text-color: var(--gray-90);
|
|
1815
|
-
--link-text-color-hover:
|
|
1843
|
+
--link-text-color-hover: #3873a3;
|
|
1816
1844
|
--link-text-color-light: rgba(60, 122, 174, 0.1);
|
|
1817
1845
|
}
|
|
1818
1846
|
|
|
@@ -1833,7 +1861,7 @@ textarea.Field--has-error:focus:hover,
|
|
|
1833
1861
|
|
|
1834
1862
|
.Link:hover {
|
|
1835
1863
|
text-decoration: underline;
|
|
1836
|
-
color: var(--link-text-color);
|
|
1864
|
+
color: var(--link-text-color-hover);
|
|
1837
1865
|
}
|
|
1838
1866
|
|
|
1839
1867
|
.Link:focus {
|
|
@@ -1845,7 +1873,7 @@ p .Link {
|
|
|
1845
1873
|
margin: 0 2px;
|
|
1846
1874
|
display: inline;
|
|
1847
1875
|
text-decoration: underline;
|
|
1848
|
-
color: var(--
|
|
1876
|
+
color: var(--link-text-color);
|
|
1849
1877
|
font-weight: var(--font-weight-normal);
|
|
1850
1878
|
}
|
|
1851
1879
|
|
|
@@ -1933,7 +1961,8 @@ p .Link {
|
|
|
1933
1961
|
}
|
|
1934
1962
|
|
|
1935
1963
|
.OptionsMenu__list-item:focus {
|
|
1936
|
-
box-shadow: inset 0 0 0
|
|
1964
|
+
box-shadow: inset 0 0 0 1px var(--options-menu-hover-background-color),
|
|
1965
|
+
inset 0 0 0 3px var(--focus);
|
|
1937
1966
|
}
|
|
1938
1967
|
|
|
1939
1968
|
.OptionsMenu__list-item[aria-disabled='true'] {
|
|
@@ -2257,7 +2286,12 @@ p .Link {
|
|
|
2257
2286
|
}
|
|
2258
2287
|
|
|
2259
2288
|
.RadioCardGroup__Icon.Icon svg {
|
|
2260
|
-
|
|
2289
|
+
/**
|
|
2290
|
+
* this is edge case to pass color-contrast when the radio-card is selected,
|
|
2291
|
+
* it is not a color we want to live in cauldron as a variable
|
|
2292
|
+
* @see https://github.com/dequelabs/cauldron/pull/736
|
|
2293
|
+
*/
|
|
2294
|
+
color: #4f990f;
|
|
2261
2295
|
height: 44px;
|
|
2262
2296
|
width: 44px;
|
|
2263
2297
|
}
|
|
@@ -2298,6 +2332,10 @@ p .Link {
|
|
|
2298
2332
|
justify-content: center;
|
|
2299
2333
|
}
|
|
2300
2334
|
|
|
2335
|
+
.cauldron--theme-dark .RadioCardGroup__Icon.Icon svg {
|
|
2336
|
+
color: var(--accent-success);
|
|
2337
|
+
}
|
|
2338
|
+
|
|
2301
2339
|
:root {
|
|
2302
2340
|
--tile-background-color: var(--white);
|
|
2303
2341
|
--list-separator: rgba(153, 153, 153, 0.15);
|
|
@@ -2523,16 +2561,18 @@ p .Link {
|
|
|
2523
2561
|
width: 0.1px;
|
|
2524
2562
|
}
|
|
2525
2563
|
|
|
2564
|
+
/* Adjust position to try to center the arrow in the tooltip's border */
|
|
2565
|
+
|
|
2526
2566
|
[class*='Tooltip--top'] .TooltipArrow {
|
|
2527
|
-
bottom:
|
|
2567
|
+
bottom: -1px;
|
|
2528
2568
|
}
|
|
2529
2569
|
|
|
2530
2570
|
[class*='Tooltip--bottom'] .TooltipArrow {
|
|
2531
|
-
top:
|
|
2571
|
+
top: -1px;
|
|
2532
2572
|
}
|
|
2533
2573
|
|
|
2534
2574
|
[class*='Tooltip--left'] .TooltipArrow {
|
|
2535
|
-
right:
|
|
2575
|
+
right: -1px;
|
|
2536
2576
|
}
|
|
2537
2577
|
|
|
2538
2578
|
[class*='Tooltip--right'] .TooltipArrow {
|
|
@@ -2593,15 +2633,14 @@ p .Link {
|
|
|
2593
2633
|
|
|
2594
2634
|
.TooltipHead {
|
|
2595
2635
|
background: var(--gray-20);
|
|
2596
|
-
font-size:
|
|
2636
|
+
font-size: var(--text-size-small);
|
|
2597
2637
|
color: var(--gray-90);
|
|
2598
|
-
padding:
|
|
2638
|
+
padding: var(--space-small) var(--space-large);
|
|
2599
2639
|
text-align: center;
|
|
2600
2640
|
}
|
|
2601
2641
|
|
|
2602
2642
|
.TooltipContent {
|
|
2603
2643
|
background: #fff;
|
|
2604
|
-
font-size: var(--font-size-smaller);
|
|
2605
2644
|
text-align: left;
|
|
2606
2645
|
}
|
|
2607
2646
|
|
|
@@ -2796,6 +2835,12 @@ button.TooltipTabstop {
|
|
|
2796
2835
|
background-color: var(--top-bar-text-color);
|
|
2797
2836
|
}
|
|
2798
2837
|
|
|
2838
|
+
@media (max-width: 71.25rem) {
|
|
2839
|
+
.TopBar > ul {
|
|
2840
|
+
border: 0;
|
|
2841
|
+
}
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2799
2844
|
:root {
|
|
2800
2845
|
--skip-link-background-color: rgba(255, 255, 255, 0.95);
|
|
2801
2846
|
--skip-link-focus-color: var(--focus-light);
|
|
@@ -3361,11 +3406,10 @@ button.TooltipTabstop {
|
|
|
3361
3406
|
font-size: var(--text-size-smaller);
|
|
3362
3407
|
border: 1px solid var(--tag-border-color);
|
|
3363
3408
|
border-radius: 11px;
|
|
3364
|
-
display: flex;
|
|
3409
|
+
display: inline-flex;
|
|
3365
3410
|
justify-content: center;
|
|
3366
3411
|
align-items: center;
|
|
3367
3412
|
padding: 2px 8px;
|
|
3368
|
-
width: 90px;
|
|
3369
3413
|
font-weight: var(--font-weight-medium);
|
|
3370
3414
|
}
|
|
3371
3415
|
|
|
@@ -3386,6 +3430,7 @@ button.TooltipTabstop {
|
|
|
3386
3430
|
--table-row-border-color: var(--gray-40);
|
|
3387
3431
|
--table-space: 11px;
|
|
3388
3432
|
--table-header-sorting-border-color: var(--gray-90);
|
|
3433
|
+
--table-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
|
|
3389
3434
|
}
|
|
3390
3435
|
|
|
3391
3436
|
.cauldron--theme-dark {
|
|
@@ -3413,7 +3458,7 @@ button.TooltipTabstop {
|
|
|
3413
3458
|
background: var(--table-header-background-color);
|
|
3414
3459
|
font-weight: var(--font-weight-medium);
|
|
3415
3460
|
color: var(--table-header-text-color);
|
|
3416
|
-
border-bottom:
|
|
3461
|
+
border-bottom: 3px solid var(--table-row-border-color);
|
|
3417
3462
|
}
|
|
3418
3463
|
|
|
3419
3464
|
.TableHeader[aria-sort] {
|
|
@@ -3445,7 +3490,7 @@ button.TooltipTabstop {
|
|
|
3445
3490
|
.TableHeader--sort-ascending,
|
|
3446
3491
|
.TableHeader--sort-descending {
|
|
3447
3492
|
background: var(--table-header-sorting-background-color);
|
|
3448
|
-
border-bottom:
|
|
3493
|
+
border-bottom: 3px solid var(--table-header-sorting-border-color);
|
|
3449
3494
|
}
|
|
3450
3495
|
|
|
3451
3496
|
.TableHeader--sort-ascending .TableHeader__sort-button,
|
|
@@ -3466,21 +3511,54 @@ button.TooltipTabstop {
|
|
|
3466
3511
|
}
|
|
3467
3512
|
|
|
3468
3513
|
.TableCell,
|
|
3469
|
-
.TableHeader
|
|
3514
|
+
.TableHeader,
|
|
3515
|
+
.TableFooter {
|
|
3470
3516
|
padding: var(--table-space) var(--space-smallest);
|
|
3471
3517
|
}
|
|
3472
3518
|
|
|
3473
|
-
.TableRow:last-child .TableCell {
|
|
3519
|
+
.Table:not(.Table--border) .TableRow:last-child .TableCell {
|
|
3474
3520
|
border: none;
|
|
3475
3521
|
}
|
|
3476
3522
|
|
|
3523
|
+
.Table--border {
|
|
3524
|
+
box-shadow: var(--table-box-shadow);
|
|
3525
|
+
}
|
|
3526
|
+
|
|
3527
|
+
.TableCell {
|
|
3528
|
+
color: var(--gray-90);
|
|
3529
|
+
}
|
|
3530
|
+
|
|
3531
|
+
.cauldron--theme-dark .TableCell {
|
|
3532
|
+
color: var(--white);
|
|
3533
|
+
}
|
|
3534
|
+
|
|
3535
|
+
.Table--border,
|
|
3536
|
+
.Table--border .TableHeader,
|
|
3537
|
+
.Table--border .TableFooter,
|
|
3538
|
+
.Table--border .TableCell {
|
|
3539
|
+
border: 1px solid var(--gray-40);
|
|
3540
|
+
}
|
|
3541
|
+
|
|
3542
|
+
.cauldron--theme-dark .Table--border,
|
|
3543
|
+
.cauldron--theme-dark .Table--border .TableHeader,
|
|
3544
|
+
.cauldron--theme-dark .Table--border .TableFooter,
|
|
3545
|
+
.cauldron--theme-dark .Table--border .TableCell {
|
|
3546
|
+
border-color: var(--stroke-dark);
|
|
3547
|
+
}
|
|
3548
|
+
|
|
3549
|
+
.TableFooter .TableCell {
|
|
3550
|
+
background: var(--table-header-background-color);
|
|
3551
|
+
font-weight: var(--font-weight-medium);
|
|
3552
|
+
color: var(--table-header-text-color);
|
|
3553
|
+
}
|
|
3554
|
+
|
|
3477
3555
|
:root {
|
|
3478
3556
|
--data-list-background-color: var(--gray-20);
|
|
3479
3557
|
--data-list-value-background-color: var(--white);
|
|
3480
3558
|
--data-list-border-color: var(--gray-40);
|
|
3481
3559
|
--data-list-text-color: var(--gray-90);
|
|
3482
|
-
--data-list-value-text-color: var(--gray-
|
|
3483
|
-
--data-list-space:
|
|
3560
|
+
--data-list-value-text-color: var(--gray-90);
|
|
3561
|
+
--data-list-space: var(--space-small);
|
|
3484
3562
|
--data-list-value-width: 187px;
|
|
3485
3563
|
}
|
|
3486
3564
|
|
|
@@ -3498,7 +3576,7 @@ button.TooltipTabstop {
|
|
|
3498
3576
|
border-radius: 3px;
|
|
3499
3577
|
border: 1px solid var(--data-list-border-color);
|
|
3500
3578
|
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
|
|
3501
|
-
margin-bottom: var(--space-small)
|
|
3579
|
+
margin-bottom: var(--space-small);
|
|
3502
3580
|
}
|
|
3503
3581
|
|
|
3504
3582
|
.DescriptionList.DescriptionList--collapsed {
|
|
@@ -3520,7 +3598,7 @@ button.TooltipTabstop {
|
|
|
3520
3598
|
|
|
3521
3599
|
.DescriptionList--collapsed .DescriptionList__item {
|
|
3522
3600
|
border: 0;
|
|
3523
|
-
margin-bottom:
|
|
3601
|
+
margin-bottom: 12px;
|
|
3524
3602
|
display: block;
|
|
3525
3603
|
background-color: var(--data-list-value-background-color);
|
|
3526
3604
|
}
|
|
@@ -3553,6 +3631,7 @@ button.TooltipTabstop {
|
|
|
3553
3631
|
background-color: transparent;
|
|
3554
3632
|
width: auto;
|
|
3555
3633
|
border-right: none;
|
|
3634
|
+
margin-bottom: 2px;
|
|
3556
3635
|
}
|
|
3557
3636
|
|
|
3558
3637
|
.DescriptionList__details {
|
|
@@ -3584,6 +3663,16 @@ button.TooltipTabstop {
|
|
|
3584
3663
|
color: var(--white);
|
|
3585
3664
|
}
|
|
3586
3665
|
|
|
3666
|
+
@media screen and (max-width: 32rem) {
|
|
3667
|
+
.DescriptionList {
|
|
3668
|
+
margin-bottom: 0;
|
|
3669
|
+
box-shadow: none;
|
|
3670
|
+
border-bottom: 0;
|
|
3671
|
+
border-left: 1px solid var(--gray-40);
|
|
3672
|
+
border-right: 1px solid var(--gray-40);
|
|
3673
|
+
}
|
|
3674
|
+
}
|
|
3675
|
+
|
|
3587
3676
|
.Stepper {
|
|
3588
3677
|
--step-indicator-size: 2em;
|
|
3589
3678
|
--step-line-height: 0.53em;
|
|
@@ -3708,10 +3797,11 @@ button.TooltipTabstop {
|
|
|
3708
3797
|
--panel-border-color: var(--gray-40);
|
|
3709
3798
|
--panel-background-color: var(--white);
|
|
3710
3799
|
--panel-heading-color: var(--gray-90);
|
|
3800
|
+
--panel-padding: var(--space-small);
|
|
3711
3801
|
}
|
|
3712
3802
|
|
|
3713
3803
|
.Panel {
|
|
3714
|
-
padding: var(--
|
|
3804
|
+
padding: var(--panel-padding);
|
|
3715
3805
|
border: 1px solid var(--panel-border-color);
|
|
3716
3806
|
border-radius: 3px;
|
|
3717
3807
|
box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.15);
|
|
@@ -3740,7 +3830,7 @@ fieldset.Panel {
|
|
|
3740
3830
|
}
|
|
3741
3831
|
|
|
3742
3832
|
.Panel--collapsed {
|
|
3743
|
-
padding: 12px;
|
|
3833
|
+
--panel-padding: 12px;
|
|
3744
3834
|
}
|
|
3745
3835
|
|
|
3746
3836
|
.Panel--collapsed .Panel__Heading {
|
|
@@ -4030,6 +4120,7 @@ fieldset.Panel {
|
|
|
4030
4120
|
display: flex;
|
|
4031
4121
|
align-items: center;
|
|
4032
4122
|
font-size: var(--text-size-small);
|
|
4123
|
+
margin: 0;
|
|
4033
4124
|
}
|
|
4034
4125
|
|
|
4035
4126
|
.Pagination > ul > li:not(:last-child) {
|
|
@@ -4080,12 +4171,23 @@ fieldset.Panel {
|
|
|
4080
4171
|
color: var(--accent-light);
|
|
4081
4172
|
}
|
|
4082
4173
|
|
|
4174
|
+
@media (max-width: 28.125rem) {
|
|
4175
|
+
.Pagination [role='log'] {
|
|
4176
|
+
margin: 0;
|
|
4177
|
+
}
|
|
4178
|
+
|
|
4179
|
+
.Pagination--thin [role='log'] {
|
|
4180
|
+
margin: 0;
|
|
4181
|
+
}
|
|
4182
|
+
}
|
|
4183
|
+
|
|
4083
4184
|
.Breadcrumb ol {
|
|
4084
4185
|
display: flex;
|
|
4085
4186
|
align-items: center;
|
|
4086
4187
|
list-style-type: none;
|
|
4087
4188
|
padding: 0;
|
|
4088
4189
|
margin: 0;
|
|
4190
|
+
flex-wrap: wrap;
|
|
4089
4191
|
}
|
|
4090
4192
|
|
|
4091
4193
|
.Breadcrumb__Separator {
|
|
@@ -4101,6 +4203,8 @@ fieldset.Panel {
|
|
|
4101
4203
|
.Breadcrumb__Item {
|
|
4102
4204
|
font-weight: 500;
|
|
4103
4205
|
color: var(--link-text-color);
|
|
4206
|
+
display: flex;
|
|
4207
|
+
flex-wrap: nowrap;
|
|
4104
4208
|
}
|
|
4105
4209
|
|
|
4106
4210
|
:root {
|
|
@@ -4418,8 +4522,9 @@ fieldset.Panel {
|
|
|
4418
4522
|
all: unset;
|
|
4419
4523
|
}
|
|
4420
4524
|
|
|
4421
|
-
.Accordion__trigger
|
|
4422
|
-
|
|
4525
|
+
.Accordion__trigger,
|
|
4526
|
+
button.Accordion__trigger {
|
|
4527
|
+
background-color: var(--accordion-trigger-background-color);
|
|
4423
4528
|
padding: calc(var(--space-small) - var(--space-half));
|
|
4424
4529
|
width: 100%;
|
|
4425
4530
|
display: flex;
|
|
@@ -4433,13 +4538,13 @@ fieldset.Panel {
|
|
|
4433
4538
|
text-decoration: underline solid var(--accordion-trigger-text-color);
|
|
4434
4539
|
}
|
|
4435
4540
|
|
|
4436
|
-
|
|
4541
|
+
.Accordion__trigger[aria-expanded='true'] {
|
|
4437
4542
|
border-bottom-right-radius: 0;
|
|
4438
4543
|
border-bottom-left-radius: 0;
|
|
4439
4544
|
background: var(--accordion-trigger-background-color-expanded);
|
|
4440
4545
|
}
|
|
4441
4546
|
|
|
4442
|
-
|
|
4547
|
+
.Accordion__trigger:hover {
|
|
4443
4548
|
box-shadow: inset 8px 0 0 -4px var(--accordion-trigger-box-shadow-hover);
|
|
4444
4549
|
color: var(--accordion-trigger-text-color-hover);
|
|
4445
4550
|
transition: all 0.2s ease-in-out;
|
|
@@ -4447,7 +4552,7 @@ button.Accordion__trigger:hover {
|
|
|
4447
4552
|
text-decoration: underline solid var(--accordion-trigger-text-color-hover);
|
|
4448
4553
|
}
|
|
4449
4554
|
|
|
4450
|
-
|
|
4555
|
+
.Accordion__trigger:hover .Icon {
|
|
4451
4556
|
color: var(--accordion-trigger-icon-color);
|
|
4452
4557
|
}
|
|
4453
4558
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deque/cauldron-styles",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-canary.1e5b9b01",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"description": "deque cauldron pattern library styles",
|
|
6
6
|
"repository": "https://github.com/dequelabs/cauldron",
|
|
@@ -22,4 +22,4 @@
|
|
|
22
22
|
"postcss-cli": "^7.1.1",
|
|
23
23
|
"postcss-import": "^12.0.1"
|
|
24
24
|
}
|
|
25
|
-
}
|
|
25
|
+
}
|