@deque/cauldron-styles 4.7.0 → 5.0.0-canary.0645c1f3
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 +171 -51
- 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'] {
|
|
@@ -2013,7 +2042,8 @@ p .Link {
|
|
|
2013
2042
|
|
|
2014
2043
|
.Field__select--wrapper {
|
|
2015
2044
|
position: relative;
|
|
2016
|
-
|
|
2045
|
+
width: var(--select-width);
|
|
2046
|
+
max-width: 100%;
|
|
2017
2047
|
}
|
|
2018
2048
|
|
|
2019
2049
|
.arrow-down {
|
|
@@ -2257,7 +2287,12 @@ p .Link {
|
|
|
2257
2287
|
}
|
|
2258
2288
|
|
|
2259
2289
|
.RadioCardGroup__Icon.Icon svg {
|
|
2260
|
-
|
|
2290
|
+
/**
|
|
2291
|
+
* this is edge case to pass color-contrast when the radio-card is selected,
|
|
2292
|
+
* it is not a color we want to live in cauldron as a variable
|
|
2293
|
+
* @see https://github.com/dequelabs/cauldron/pull/736
|
|
2294
|
+
*/
|
|
2295
|
+
color: #4f990f;
|
|
2261
2296
|
height: 44px;
|
|
2262
2297
|
width: 44px;
|
|
2263
2298
|
}
|
|
@@ -2298,6 +2333,10 @@ p .Link {
|
|
|
2298
2333
|
justify-content: center;
|
|
2299
2334
|
}
|
|
2300
2335
|
|
|
2336
|
+
.cauldron--theme-dark .RadioCardGroup__Icon.Icon svg {
|
|
2337
|
+
color: var(--accent-success);
|
|
2338
|
+
}
|
|
2339
|
+
|
|
2301
2340
|
:root {
|
|
2302
2341
|
--tile-background-color: var(--white);
|
|
2303
2342
|
--list-separator: rgba(153, 153, 153, 0.15);
|
|
@@ -2499,6 +2538,8 @@ p .Link {
|
|
|
2499
2538
|
border-radius: 3px;
|
|
2500
2539
|
z-index: var(--z-index-tooltip);
|
|
2501
2540
|
text-align: center;
|
|
2541
|
+
max-width: calc(100vw - 16px);
|
|
2542
|
+
word-break: break-word;
|
|
2502
2543
|
}
|
|
2503
2544
|
|
|
2504
2545
|
.Tooltip--hidden {
|
|
@@ -2523,16 +2564,18 @@ p .Link {
|
|
|
2523
2564
|
width: 0.1px;
|
|
2524
2565
|
}
|
|
2525
2566
|
|
|
2567
|
+
/* Adjust position to try to center the arrow in the tooltip's border */
|
|
2568
|
+
|
|
2526
2569
|
[class*='Tooltip--top'] .TooltipArrow {
|
|
2527
|
-
bottom:
|
|
2570
|
+
bottom: -1px;
|
|
2528
2571
|
}
|
|
2529
2572
|
|
|
2530
2573
|
[class*='Tooltip--bottom'] .TooltipArrow {
|
|
2531
|
-
top:
|
|
2574
|
+
top: -1px;
|
|
2532
2575
|
}
|
|
2533
2576
|
|
|
2534
2577
|
[class*='Tooltip--left'] .TooltipArrow {
|
|
2535
|
-
right:
|
|
2578
|
+
right: -1px;
|
|
2536
2579
|
}
|
|
2537
2580
|
|
|
2538
2581
|
[class*='Tooltip--right'] .TooltipArrow {
|
|
@@ -2593,15 +2636,14 @@ p .Link {
|
|
|
2593
2636
|
|
|
2594
2637
|
.TooltipHead {
|
|
2595
2638
|
background: var(--gray-20);
|
|
2596
|
-
font-size:
|
|
2639
|
+
font-size: var(--text-size-small);
|
|
2597
2640
|
color: var(--gray-90);
|
|
2598
|
-
padding:
|
|
2641
|
+
padding: var(--space-small) var(--space-large);
|
|
2599
2642
|
text-align: center;
|
|
2600
2643
|
}
|
|
2601
2644
|
|
|
2602
2645
|
.TooltipContent {
|
|
2603
2646
|
background: #fff;
|
|
2604
|
-
font-size: var(--font-size-smaller);
|
|
2605
2647
|
text-align: left;
|
|
2606
2648
|
}
|
|
2607
2649
|
|
|
@@ -2796,6 +2838,12 @@ button.TooltipTabstop {
|
|
|
2796
2838
|
background-color: var(--top-bar-text-color);
|
|
2797
2839
|
}
|
|
2798
2840
|
|
|
2841
|
+
@media (max-width: 71.25rem) {
|
|
2842
|
+
.TopBar > ul {
|
|
2843
|
+
border: 0;
|
|
2844
|
+
}
|
|
2845
|
+
}
|
|
2846
|
+
|
|
2799
2847
|
:root {
|
|
2800
2848
|
--skip-link-background-color: rgba(255, 255, 255, 0.95);
|
|
2801
2849
|
--skip-link-focus-color: var(--focus-light);
|
|
@@ -3361,11 +3409,10 @@ button.TooltipTabstop {
|
|
|
3361
3409
|
font-size: var(--text-size-smaller);
|
|
3362
3410
|
border: 1px solid var(--tag-border-color);
|
|
3363
3411
|
border-radius: 11px;
|
|
3364
|
-
display: flex;
|
|
3412
|
+
display: inline-flex;
|
|
3365
3413
|
justify-content: center;
|
|
3366
3414
|
align-items: center;
|
|
3367
3415
|
padding: 2px 8px;
|
|
3368
|
-
width: 90px;
|
|
3369
3416
|
font-weight: var(--font-weight-medium);
|
|
3370
3417
|
}
|
|
3371
3418
|
|
|
@@ -3386,6 +3433,7 @@ button.TooltipTabstop {
|
|
|
3386
3433
|
--table-row-border-color: var(--gray-40);
|
|
3387
3434
|
--table-space: 11px;
|
|
3388
3435
|
--table-header-sorting-border-color: var(--gray-90);
|
|
3436
|
+
--table-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
|
|
3389
3437
|
}
|
|
3390
3438
|
|
|
3391
3439
|
.cauldron--theme-dark {
|
|
@@ -3413,7 +3461,7 @@ button.TooltipTabstop {
|
|
|
3413
3461
|
background: var(--table-header-background-color);
|
|
3414
3462
|
font-weight: var(--font-weight-medium);
|
|
3415
3463
|
color: var(--table-header-text-color);
|
|
3416
|
-
border-bottom:
|
|
3464
|
+
border-bottom: 3px solid var(--table-row-border-color);
|
|
3417
3465
|
}
|
|
3418
3466
|
|
|
3419
3467
|
.TableHeader[aria-sort] {
|
|
@@ -3445,7 +3493,7 @@ button.TooltipTabstop {
|
|
|
3445
3493
|
.TableHeader--sort-ascending,
|
|
3446
3494
|
.TableHeader--sort-descending {
|
|
3447
3495
|
background: var(--table-header-sorting-background-color);
|
|
3448
|
-
border-bottom:
|
|
3496
|
+
border-bottom: 3px solid var(--table-header-sorting-border-color);
|
|
3449
3497
|
}
|
|
3450
3498
|
|
|
3451
3499
|
.TableHeader--sort-ascending .TableHeader__sort-button,
|
|
@@ -3466,21 +3514,54 @@ button.TooltipTabstop {
|
|
|
3466
3514
|
}
|
|
3467
3515
|
|
|
3468
3516
|
.TableCell,
|
|
3469
|
-
.TableHeader
|
|
3517
|
+
.TableHeader,
|
|
3518
|
+
.TableFooter {
|
|
3470
3519
|
padding: var(--table-space) var(--space-smallest);
|
|
3471
3520
|
}
|
|
3472
3521
|
|
|
3473
|
-
.TableRow:last-child .TableCell {
|
|
3522
|
+
.Table:not(.Table--border) .TableRow:last-child .TableCell {
|
|
3474
3523
|
border: none;
|
|
3475
3524
|
}
|
|
3476
3525
|
|
|
3526
|
+
.Table--border {
|
|
3527
|
+
box-shadow: var(--table-box-shadow);
|
|
3528
|
+
}
|
|
3529
|
+
|
|
3530
|
+
.TableCell {
|
|
3531
|
+
color: var(--gray-90);
|
|
3532
|
+
}
|
|
3533
|
+
|
|
3534
|
+
.cauldron--theme-dark .TableCell {
|
|
3535
|
+
color: var(--white);
|
|
3536
|
+
}
|
|
3537
|
+
|
|
3538
|
+
.Table--border,
|
|
3539
|
+
.Table--border .TableHeader,
|
|
3540
|
+
.Table--border .TableFooter,
|
|
3541
|
+
.Table--border .TableCell {
|
|
3542
|
+
border: 1px solid var(--gray-40);
|
|
3543
|
+
}
|
|
3544
|
+
|
|
3545
|
+
.cauldron--theme-dark .Table--border,
|
|
3546
|
+
.cauldron--theme-dark .Table--border .TableHeader,
|
|
3547
|
+
.cauldron--theme-dark .Table--border .TableFooter,
|
|
3548
|
+
.cauldron--theme-dark .Table--border .TableCell {
|
|
3549
|
+
border-color: var(--stroke-dark);
|
|
3550
|
+
}
|
|
3551
|
+
|
|
3552
|
+
.TableFooter .TableCell {
|
|
3553
|
+
background: var(--table-header-background-color);
|
|
3554
|
+
font-weight: var(--font-weight-medium);
|
|
3555
|
+
color: var(--table-header-text-color);
|
|
3556
|
+
}
|
|
3557
|
+
|
|
3477
3558
|
:root {
|
|
3478
3559
|
--data-list-background-color: var(--gray-20);
|
|
3479
3560
|
--data-list-value-background-color: var(--white);
|
|
3480
3561
|
--data-list-border-color: var(--gray-40);
|
|
3481
3562
|
--data-list-text-color: var(--gray-90);
|
|
3482
|
-
--data-list-value-text-color: var(--gray-
|
|
3483
|
-
--data-list-space:
|
|
3563
|
+
--data-list-value-text-color: var(--gray-90);
|
|
3564
|
+
--data-list-space: var(--space-small);
|
|
3484
3565
|
--data-list-value-width: 187px;
|
|
3485
3566
|
}
|
|
3486
3567
|
|
|
@@ -3498,7 +3579,7 @@ button.TooltipTabstop {
|
|
|
3498
3579
|
border-radius: 3px;
|
|
3499
3580
|
border: 1px solid var(--data-list-border-color);
|
|
3500
3581
|
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
|
|
3501
|
-
margin-bottom: var(--space-small)
|
|
3582
|
+
margin-bottom: var(--space-small);
|
|
3502
3583
|
}
|
|
3503
3584
|
|
|
3504
3585
|
.DescriptionList.DescriptionList--collapsed {
|
|
@@ -3520,7 +3601,7 @@ button.TooltipTabstop {
|
|
|
3520
3601
|
|
|
3521
3602
|
.DescriptionList--collapsed .DescriptionList__item {
|
|
3522
3603
|
border: 0;
|
|
3523
|
-
margin-bottom:
|
|
3604
|
+
margin-bottom: 12px;
|
|
3524
3605
|
display: block;
|
|
3525
3606
|
background-color: var(--data-list-value-background-color);
|
|
3526
3607
|
}
|
|
@@ -3553,6 +3634,7 @@ button.TooltipTabstop {
|
|
|
3553
3634
|
background-color: transparent;
|
|
3554
3635
|
width: auto;
|
|
3555
3636
|
border-right: none;
|
|
3637
|
+
margin-bottom: 2px;
|
|
3556
3638
|
}
|
|
3557
3639
|
|
|
3558
3640
|
.DescriptionList__details {
|
|
@@ -3584,6 +3666,16 @@ button.TooltipTabstop {
|
|
|
3584
3666
|
color: var(--white);
|
|
3585
3667
|
}
|
|
3586
3668
|
|
|
3669
|
+
@media screen and (max-width: 32rem) {
|
|
3670
|
+
.DescriptionList {
|
|
3671
|
+
margin-bottom: 0;
|
|
3672
|
+
box-shadow: none;
|
|
3673
|
+
border-bottom: 0;
|
|
3674
|
+
border-left: 1px solid var(--gray-40);
|
|
3675
|
+
border-right: 1px solid var(--gray-40);
|
|
3676
|
+
}
|
|
3677
|
+
}
|
|
3678
|
+
|
|
3587
3679
|
.Stepper {
|
|
3588
3680
|
--step-indicator-size: 2em;
|
|
3589
3681
|
--step-line-height: 0.53em;
|
|
@@ -3708,10 +3800,11 @@ button.TooltipTabstop {
|
|
|
3708
3800
|
--panel-border-color: var(--gray-40);
|
|
3709
3801
|
--panel-background-color: var(--white);
|
|
3710
3802
|
--panel-heading-color: var(--gray-90);
|
|
3803
|
+
--panel-padding: var(--space-small);
|
|
3711
3804
|
}
|
|
3712
3805
|
|
|
3713
3806
|
.Panel {
|
|
3714
|
-
padding: var(--
|
|
3807
|
+
padding: var(--panel-padding);
|
|
3715
3808
|
border: 1px solid var(--panel-border-color);
|
|
3716
3809
|
border-radius: 3px;
|
|
3717
3810
|
box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.15);
|
|
@@ -3740,7 +3833,7 @@ fieldset.Panel {
|
|
|
3740
3833
|
}
|
|
3741
3834
|
|
|
3742
3835
|
.Panel--collapsed {
|
|
3743
|
-
padding: 12px;
|
|
3836
|
+
--panel-padding: 12px;
|
|
3744
3837
|
}
|
|
3745
3838
|
|
|
3746
3839
|
.Panel--collapsed .Panel__Heading {
|
|
@@ -3864,6 +3957,18 @@ fieldset.Panel {
|
|
|
3864
3957
|
transition: background-color 0.3s ease;
|
|
3865
3958
|
}
|
|
3866
3959
|
|
|
3960
|
+
.NavBar > ul > .NavItem {
|
|
3961
|
+
font-weight: var(--font-weight-normal);
|
|
3962
|
+
}
|
|
3963
|
+
|
|
3964
|
+
.NavBar > ul > .NavItem--active {
|
|
3965
|
+
font-weight: var(--font-weight-medium);
|
|
3966
|
+
}
|
|
3967
|
+
|
|
3968
|
+
.NavBar > ul > .NavItem a {
|
|
3969
|
+
font-weight: inherit;
|
|
3970
|
+
}
|
|
3971
|
+
|
|
3867
3972
|
.NavBar > ul > li:first-child:not(.NavBar__trigger) {
|
|
3868
3973
|
border-left: 1px solid var(--top-nav-box-shadow-color);
|
|
3869
3974
|
}
|
|
@@ -4030,6 +4135,7 @@ fieldset.Panel {
|
|
|
4030
4135
|
display: flex;
|
|
4031
4136
|
align-items: center;
|
|
4032
4137
|
font-size: var(--text-size-small);
|
|
4138
|
+
margin: 0;
|
|
4033
4139
|
}
|
|
4034
4140
|
|
|
4035
4141
|
.Pagination > ul > li:not(:last-child) {
|
|
@@ -4080,12 +4186,23 @@ fieldset.Panel {
|
|
|
4080
4186
|
color: var(--accent-light);
|
|
4081
4187
|
}
|
|
4082
4188
|
|
|
4189
|
+
@media (max-width: 28.125rem) {
|
|
4190
|
+
.Pagination [role='log'] {
|
|
4191
|
+
margin: 0;
|
|
4192
|
+
}
|
|
4193
|
+
|
|
4194
|
+
.Pagination--thin [role='log'] {
|
|
4195
|
+
margin: 0;
|
|
4196
|
+
}
|
|
4197
|
+
}
|
|
4198
|
+
|
|
4083
4199
|
.Breadcrumb ol {
|
|
4084
4200
|
display: flex;
|
|
4085
4201
|
align-items: center;
|
|
4086
4202
|
list-style-type: none;
|
|
4087
4203
|
padding: 0;
|
|
4088
4204
|
margin: 0;
|
|
4205
|
+
flex-wrap: wrap;
|
|
4089
4206
|
}
|
|
4090
4207
|
|
|
4091
4208
|
.Breadcrumb__Separator {
|
|
@@ -4101,6 +4218,8 @@ fieldset.Panel {
|
|
|
4101
4218
|
.Breadcrumb__Item {
|
|
4102
4219
|
font-weight: 500;
|
|
4103
4220
|
color: var(--link-text-color);
|
|
4221
|
+
display: flex;
|
|
4222
|
+
flex-wrap: nowrap;
|
|
4104
4223
|
}
|
|
4105
4224
|
|
|
4106
4225
|
:root {
|
|
@@ -4418,8 +4537,9 @@ fieldset.Panel {
|
|
|
4418
4537
|
all: unset;
|
|
4419
4538
|
}
|
|
4420
4539
|
|
|
4421
|
-
.Accordion__trigger
|
|
4422
|
-
|
|
4540
|
+
.Accordion__trigger,
|
|
4541
|
+
button.Accordion__trigger {
|
|
4542
|
+
background-color: var(--accordion-trigger-background-color);
|
|
4423
4543
|
padding: calc(var(--space-small) - var(--space-half));
|
|
4424
4544
|
width: 100%;
|
|
4425
4545
|
display: flex;
|
|
@@ -4433,13 +4553,13 @@ fieldset.Panel {
|
|
|
4433
4553
|
text-decoration: underline solid var(--accordion-trigger-text-color);
|
|
4434
4554
|
}
|
|
4435
4555
|
|
|
4436
|
-
|
|
4556
|
+
.Accordion__trigger[aria-expanded='true'] {
|
|
4437
4557
|
border-bottom-right-radius: 0;
|
|
4438
4558
|
border-bottom-left-radius: 0;
|
|
4439
4559
|
background: var(--accordion-trigger-background-color-expanded);
|
|
4440
4560
|
}
|
|
4441
4561
|
|
|
4442
|
-
|
|
4562
|
+
.Accordion__trigger:hover {
|
|
4443
4563
|
box-shadow: inset 8px 0 0 -4px var(--accordion-trigger-box-shadow-hover);
|
|
4444
4564
|
color: var(--accordion-trigger-text-color-hover);
|
|
4445
4565
|
transition: all 0.2s ease-in-out;
|
|
@@ -4447,7 +4567,7 @@ button.Accordion__trigger:hover {
|
|
|
4447
4567
|
text-decoration: underline solid var(--accordion-trigger-text-color-hover);
|
|
4448
4568
|
}
|
|
4449
4569
|
|
|
4450
|
-
|
|
4570
|
+
.Accordion__trigger:hover .Icon {
|
|
4451
4571
|
color: var(--accordion-trigger-icon-color);
|
|
4452
4572
|
}
|
|
4453
4573
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deque/cauldron-styles",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-canary.0645c1f3",
|
|
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
|
+
}
|