@deque/cauldron-styles 4.7.0 → 5.0.0-canary.07163dab
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 +205 -59
- 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);
|
|
@@ -2383,6 +2422,8 @@ p .Link {
|
|
|
2383
2422
|
.Toast {
|
|
2384
2423
|
top: var(--top-bar-height);
|
|
2385
2424
|
position: fixed;
|
|
2425
|
+
right: 0;
|
|
2426
|
+
left: 0;
|
|
2386
2427
|
color: #0b0e11;
|
|
2387
2428
|
font-size: var(--text-size-small);
|
|
2388
2429
|
z-index: var(--z-index-toast);
|
|
@@ -2390,8 +2431,11 @@ p .Link {
|
|
|
2390
2431
|
box-sizing: border-box;
|
|
2391
2432
|
display: flex;
|
|
2392
2433
|
padding: 4px 15px;
|
|
2393
|
-
|
|
2394
|
-
|
|
2434
|
+
}
|
|
2435
|
+
|
|
2436
|
+
.Toast.Toast--non-dismissible {
|
|
2437
|
+
position: static;
|
|
2438
|
+
margin-bottom: var(--space-small);
|
|
2395
2439
|
}
|
|
2396
2440
|
|
|
2397
2441
|
.TopBar--thin .Toast {
|
|
@@ -2499,6 +2543,8 @@ p .Link {
|
|
|
2499
2543
|
border-radius: 3px;
|
|
2500
2544
|
z-index: var(--z-index-tooltip);
|
|
2501
2545
|
text-align: center;
|
|
2546
|
+
max-width: calc(100vw - 16px);
|
|
2547
|
+
word-break: break-word;
|
|
2502
2548
|
}
|
|
2503
2549
|
|
|
2504
2550
|
.Tooltip--hidden {
|
|
@@ -2523,16 +2569,18 @@ p .Link {
|
|
|
2523
2569
|
width: 0.1px;
|
|
2524
2570
|
}
|
|
2525
2571
|
|
|
2572
|
+
/* Adjust position to try to center the arrow in the tooltip's border */
|
|
2573
|
+
|
|
2526
2574
|
[class*='Tooltip--top'] .TooltipArrow {
|
|
2527
|
-
bottom:
|
|
2575
|
+
bottom: -1px;
|
|
2528
2576
|
}
|
|
2529
2577
|
|
|
2530
2578
|
[class*='Tooltip--bottom'] .TooltipArrow {
|
|
2531
|
-
top:
|
|
2579
|
+
top: -1px;
|
|
2532
2580
|
}
|
|
2533
2581
|
|
|
2534
2582
|
[class*='Tooltip--left'] .TooltipArrow {
|
|
2535
|
-
right:
|
|
2583
|
+
right: -1px;
|
|
2536
2584
|
}
|
|
2537
2585
|
|
|
2538
2586
|
[class*='Tooltip--right'] .TooltipArrow {
|
|
@@ -2593,15 +2641,14 @@ p .Link {
|
|
|
2593
2641
|
|
|
2594
2642
|
.TooltipHead {
|
|
2595
2643
|
background: var(--gray-20);
|
|
2596
|
-
font-size:
|
|
2644
|
+
font-size: var(--text-size-small);
|
|
2597
2645
|
color: var(--gray-90);
|
|
2598
|
-
padding:
|
|
2646
|
+
padding: var(--space-small) var(--space-large);
|
|
2599
2647
|
text-align: center;
|
|
2600
2648
|
}
|
|
2601
2649
|
|
|
2602
2650
|
.TooltipContent {
|
|
2603
2651
|
background: #fff;
|
|
2604
|
-
font-size: var(--font-size-smaller);
|
|
2605
2652
|
text-align: left;
|
|
2606
2653
|
}
|
|
2607
2654
|
|
|
@@ -2796,6 +2843,12 @@ button.TooltipTabstop {
|
|
|
2796
2843
|
background-color: var(--top-bar-text-color);
|
|
2797
2844
|
}
|
|
2798
2845
|
|
|
2846
|
+
@media (max-width: 71.25rem) {
|
|
2847
|
+
.TopBar > ul {
|
|
2848
|
+
border: 0;
|
|
2849
|
+
}
|
|
2850
|
+
}
|
|
2851
|
+
|
|
2799
2852
|
:root {
|
|
2800
2853
|
--skip-link-background-color: rgba(255, 255, 255, 0.95);
|
|
2801
2854
|
--skip-link-focus-color: var(--focus-light);
|
|
@@ -3051,12 +3104,26 @@ button.TooltipTabstop {
|
|
|
3051
3104
|
|
|
3052
3105
|
.Code.hljs {
|
|
3053
3106
|
display: block;
|
|
3054
|
-
overflow-x: auto;
|
|
3055
3107
|
padding: 0.5em;
|
|
3056
3108
|
background: var(--gray-20);
|
|
3057
3109
|
color: var(--gray-90);
|
|
3058
3110
|
border: 1px solid var(--gray-40);
|
|
3059
3111
|
color: var(--accent-primary-active);
|
|
3112
|
+
word-break: anywhere;
|
|
3113
|
+
}
|
|
3114
|
+
|
|
3115
|
+
.Code--scrollable {
|
|
3116
|
+
overflow-x: auto;
|
|
3117
|
+
}
|
|
3118
|
+
|
|
3119
|
+
.Code code {
|
|
3120
|
+
/* important needed to override inline styles */
|
|
3121
|
+
white-space: break-spaces !important;
|
|
3122
|
+
}
|
|
3123
|
+
|
|
3124
|
+
.Code--scrollable code {
|
|
3125
|
+
/* important needed to override inline styles */
|
|
3126
|
+
white-space: pre !important;
|
|
3060
3127
|
}
|
|
3061
3128
|
|
|
3062
3129
|
.Code .hljs-comment {
|
|
@@ -3361,11 +3428,10 @@ button.TooltipTabstop {
|
|
|
3361
3428
|
font-size: var(--text-size-smaller);
|
|
3362
3429
|
border: 1px solid var(--tag-border-color);
|
|
3363
3430
|
border-radius: 11px;
|
|
3364
|
-
display: flex;
|
|
3431
|
+
display: inline-flex;
|
|
3365
3432
|
justify-content: center;
|
|
3366
3433
|
align-items: center;
|
|
3367
3434
|
padding: 2px 8px;
|
|
3368
|
-
width: 90px;
|
|
3369
3435
|
font-weight: var(--font-weight-medium);
|
|
3370
3436
|
}
|
|
3371
3437
|
|
|
@@ -3386,6 +3452,7 @@ button.TooltipTabstop {
|
|
|
3386
3452
|
--table-row-border-color: var(--gray-40);
|
|
3387
3453
|
--table-space: 11px;
|
|
3388
3454
|
--table-header-sorting-border-color: var(--gray-90);
|
|
3455
|
+
--table-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
|
|
3389
3456
|
}
|
|
3390
3457
|
|
|
3391
3458
|
.cauldron--theme-dark {
|
|
@@ -3413,7 +3480,7 @@ button.TooltipTabstop {
|
|
|
3413
3480
|
background: var(--table-header-background-color);
|
|
3414
3481
|
font-weight: var(--font-weight-medium);
|
|
3415
3482
|
color: var(--table-header-text-color);
|
|
3416
|
-
border-bottom:
|
|
3483
|
+
border-bottom: 3px solid var(--table-row-border-color);
|
|
3417
3484
|
}
|
|
3418
3485
|
|
|
3419
3486
|
.TableHeader[aria-sort] {
|
|
@@ -3445,7 +3512,7 @@ button.TooltipTabstop {
|
|
|
3445
3512
|
.TableHeader--sort-ascending,
|
|
3446
3513
|
.TableHeader--sort-descending {
|
|
3447
3514
|
background: var(--table-header-sorting-background-color);
|
|
3448
|
-
border-bottom:
|
|
3515
|
+
border-bottom: 3px solid var(--table-header-sorting-border-color);
|
|
3449
3516
|
}
|
|
3450
3517
|
|
|
3451
3518
|
.TableHeader--sort-ascending .TableHeader__sort-button,
|
|
@@ -3466,21 +3533,54 @@ button.TooltipTabstop {
|
|
|
3466
3533
|
}
|
|
3467
3534
|
|
|
3468
3535
|
.TableCell,
|
|
3469
|
-
.TableHeader
|
|
3536
|
+
.TableHeader,
|
|
3537
|
+
.TableFooter {
|
|
3470
3538
|
padding: var(--table-space) var(--space-smallest);
|
|
3471
3539
|
}
|
|
3472
3540
|
|
|
3473
|
-
.TableRow:last-child .TableCell {
|
|
3541
|
+
.Table:not(.Table--border) .TableRow:last-child .TableCell {
|
|
3474
3542
|
border: none;
|
|
3475
3543
|
}
|
|
3476
3544
|
|
|
3545
|
+
.Table--border {
|
|
3546
|
+
box-shadow: var(--table-box-shadow);
|
|
3547
|
+
}
|
|
3548
|
+
|
|
3549
|
+
.TableCell {
|
|
3550
|
+
color: var(--gray-90);
|
|
3551
|
+
}
|
|
3552
|
+
|
|
3553
|
+
.cauldron--theme-dark .TableCell {
|
|
3554
|
+
color: var(--white);
|
|
3555
|
+
}
|
|
3556
|
+
|
|
3557
|
+
.Table--border,
|
|
3558
|
+
.Table--border .TableHeader,
|
|
3559
|
+
.Table--border .TableFooter,
|
|
3560
|
+
.Table--border .TableCell {
|
|
3561
|
+
border: 1px solid var(--gray-40);
|
|
3562
|
+
}
|
|
3563
|
+
|
|
3564
|
+
.cauldron--theme-dark .Table--border,
|
|
3565
|
+
.cauldron--theme-dark .Table--border .TableHeader,
|
|
3566
|
+
.cauldron--theme-dark .Table--border .TableFooter,
|
|
3567
|
+
.cauldron--theme-dark .Table--border .TableCell {
|
|
3568
|
+
border-color: var(--stroke-dark);
|
|
3569
|
+
}
|
|
3570
|
+
|
|
3571
|
+
.TableFooter .TableCell {
|
|
3572
|
+
background: var(--table-header-background-color);
|
|
3573
|
+
font-weight: var(--font-weight-medium);
|
|
3574
|
+
color: var(--table-header-text-color);
|
|
3575
|
+
}
|
|
3576
|
+
|
|
3477
3577
|
:root {
|
|
3478
3578
|
--data-list-background-color: var(--gray-20);
|
|
3479
3579
|
--data-list-value-background-color: var(--white);
|
|
3480
3580
|
--data-list-border-color: var(--gray-40);
|
|
3481
3581
|
--data-list-text-color: var(--gray-90);
|
|
3482
|
-
--data-list-value-text-color: var(--gray-
|
|
3483
|
-
--data-list-space:
|
|
3582
|
+
--data-list-value-text-color: var(--gray-90);
|
|
3583
|
+
--data-list-space: var(--space-small);
|
|
3484
3584
|
--data-list-value-width: 187px;
|
|
3485
3585
|
}
|
|
3486
3586
|
|
|
@@ -3498,7 +3598,7 @@ button.TooltipTabstop {
|
|
|
3498
3598
|
border-radius: 3px;
|
|
3499
3599
|
border: 1px solid var(--data-list-border-color);
|
|
3500
3600
|
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
|
|
3501
|
-
margin-bottom: var(--space-small)
|
|
3601
|
+
margin-bottom: var(--space-small);
|
|
3502
3602
|
}
|
|
3503
3603
|
|
|
3504
3604
|
.DescriptionList.DescriptionList--collapsed {
|
|
@@ -3520,7 +3620,7 @@ button.TooltipTabstop {
|
|
|
3520
3620
|
|
|
3521
3621
|
.DescriptionList--collapsed .DescriptionList__item {
|
|
3522
3622
|
border: 0;
|
|
3523
|
-
margin-bottom:
|
|
3623
|
+
margin-bottom: 12px;
|
|
3524
3624
|
display: block;
|
|
3525
3625
|
background-color: var(--data-list-value-background-color);
|
|
3526
3626
|
}
|
|
@@ -3553,6 +3653,7 @@ button.TooltipTabstop {
|
|
|
3553
3653
|
background-color: transparent;
|
|
3554
3654
|
width: auto;
|
|
3555
3655
|
border-right: none;
|
|
3656
|
+
margin-bottom: 2px;
|
|
3556
3657
|
}
|
|
3557
3658
|
|
|
3558
3659
|
.DescriptionList__details {
|
|
@@ -3560,6 +3661,7 @@ button.TooltipTabstop {
|
|
|
3560
3661
|
color: var(--data-list-value-text-color);
|
|
3561
3662
|
background-color: var(--data-list-value-background-color);
|
|
3562
3663
|
font-weight: var(--font-weight-normal);
|
|
3664
|
+
word-break: break-word;
|
|
3563
3665
|
}
|
|
3564
3666
|
|
|
3565
3667
|
.DescriptionList__term,
|
|
@@ -3584,6 +3686,16 @@ button.TooltipTabstop {
|
|
|
3584
3686
|
color: var(--white);
|
|
3585
3687
|
}
|
|
3586
3688
|
|
|
3689
|
+
@media screen and (max-width: 32rem) {
|
|
3690
|
+
.DescriptionList {
|
|
3691
|
+
margin-bottom: 0;
|
|
3692
|
+
box-shadow: none;
|
|
3693
|
+
border-bottom: 0;
|
|
3694
|
+
border-left: 1px solid var(--gray-40);
|
|
3695
|
+
border-right: 1px solid var(--gray-40);
|
|
3696
|
+
}
|
|
3697
|
+
}
|
|
3698
|
+
|
|
3587
3699
|
.Stepper {
|
|
3588
3700
|
--step-indicator-size: 2em;
|
|
3589
3701
|
--step-line-height: 0.53em;
|
|
@@ -3708,10 +3820,11 @@ button.TooltipTabstop {
|
|
|
3708
3820
|
--panel-border-color: var(--gray-40);
|
|
3709
3821
|
--panel-background-color: var(--white);
|
|
3710
3822
|
--panel-heading-color: var(--gray-90);
|
|
3823
|
+
--panel-padding: var(--space-small);
|
|
3711
3824
|
}
|
|
3712
3825
|
|
|
3713
3826
|
.Panel {
|
|
3714
|
-
padding: var(--
|
|
3827
|
+
padding: var(--panel-padding);
|
|
3715
3828
|
border: 1px solid var(--panel-border-color);
|
|
3716
3829
|
border-radius: 3px;
|
|
3717
3830
|
box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.15);
|
|
@@ -3740,7 +3853,7 @@ fieldset.Panel {
|
|
|
3740
3853
|
}
|
|
3741
3854
|
|
|
3742
3855
|
.Panel--collapsed {
|
|
3743
|
-
padding: 12px;
|
|
3856
|
+
--panel-padding: 12px;
|
|
3744
3857
|
}
|
|
3745
3858
|
|
|
3746
3859
|
.Panel--collapsed .Panel__Heading {
|
|
@@ -3864,6 +3977,18 @@ fieldset.Panel {
|
|
|
3864
3977
|
transition: background-color 0.3s ease;
|
|
3865
3978
|
}
|
|
3866
3979
|
|
|
3980
|
+
.NavBar > ul > .NavItem {
|
|
3981
|
+
font-weight: var(--font-weight-normal);
|
|
3982
|
+
}
|
|
3983
|
+
|
|
3984
|
+
.NavBar > ul > .NavItem--active {
|
|
3985
|
+
font-weight: var(--font-weight-medium);
|
|
3986
|
+
}
|
|
3987
|
+
|
|
3988
|
+
.NavBar > ul > .NavItem a {
|
|
3989
|
+
font-weight: inherit;
|
|
3990
|
+
}
|
|
3991
|
+
|
|
3867
3992
|
.NavBar > ul > li:first-child:not(.NavBar__trigger) {
|
|
3868
3993
|
border-left: 1px solid var(--top-nav-box-shadow-color);
|
|
3869
3994
|
}
|
|
@@ -4030,6 +4155,7 @@ fieldset.Panel {
|
|
|
4030
4155
|
display: flex;
|
|
4031
4156
|
align-items: center;
|
|
4032
4157
|
font-size: var(--text-size-small);
|
|
4158
|
+
margin: 0;
|
|
4033
4159
|
}
|
|
4034
4160
|
|
|
4035
4161
|
.Pagination > ul > li:not(:last-child) {
|
|
@@ -4080,8 +4206,19 @@ fieldset.Panel {
|
|
|
4080
4206
|
color: var(--accent-light);
|
|
4081
4207
|
}
|
|
4082
4208
|
|
|
4209
|
+
@media (max-width: 28.125rem) {
|
|
4210
|
+
.Pagination [role='log'] {
|
|
4211
|
+
margin: 0;
|
|
4212
|
+
}
|
|
4213
|
+
|
|
4214
|
+
.Pagination--thin [role='log'] {
|
|
4215
|
+
margin: 0;
|
|
4216
|
+
}
|
|
4217
|
+
}
|
|
4218
|
+
|
|
4083
4219
|
.Breadcrumb ol {
|
|
4084
|
-
display:
|
|
4220
|
+
display: block;
|
|
4221
|
+
word-break: break-all;
|
|
4085
4222
|
align-items: center;
|
|
4086
4223
|
list-style-type: none;
|
|
4087
4224
|
padding: 0;
|
|
@@ -4096,11 +4233,13 @@ fieldset.Panel {
|
|
|
4096
4233
|
.Breadcrumb__Link {
|
|
4097
4234
|
font-weight: 400;
|
|
4098
4235
|
padding: 0;
|
|
4236
|
+
display: inline;
|
|
4099
4237
|
}
|
|
4100
4238
|
|
|
4101
4239
|
.Breadcrumb__Item {
|
|
4102
4240
|
font-weight: 500;
|
|
4103
4241
|
color: var(--link-text-color);
|
|
4242
|
+
display: inline;
|
|
4104
4243
|
}
|
|
4105
4244
|
|
|
4106
4245
|
:root {
|
|
@@ -4138,13 +4277,15 @@ fieldset.Panel {
|
|
|
4138
4277
|
}
|
|
4139
4278
|
|
|
4140
4279
|
.TwoColumnPanel__Header {
|
|
4141
|
-
|
|
4280
|
+
/* The -2px is to account for the borders that are outside of the element and will make it line up with the left panel when there's only one line of text */
|
|
4281
|
+
padding: calc(var(--space-small) - 2px);
|
|
4142
4282
|
border-bottom: 1px solid var(--two-column-panel-border-color);
|
|
4143
|
-
height: var(--two-column-panel-header-height);
|
|
4144
|
-
line-height: var(--two-column-panel-header-height);
|
|
4283
|
+
min-height: var(--two-column-panel-header-height);
|
|
4145
4284
|
font-weight: 500;
|
|
4146
4285
|
color: var(--two-column-panel-header-text-color);
|
|
4147
4286
|
flex: 1;
|
|
4287
|
+
display: flex;
|
|
4288
|
+
align-items: center;
|
|
4148
4289
|
}
|
|
4149
4290
|
|
|
4150
4291
|
.TwoColumnPanel__Left {
|
|
@@ -4281,12 +4422,16 @@ fieldset.Panel {
|
|
|
4281
4422
|
margin-bottom: 0;
|
|
4282
4423
|
}
|
|
4283
4424
|
|
|
4425
|
+
.TwoColumnPanel__ButtonToggle {
|
|
4426
|
+
display: flex;
|
|
4427
|
+
}
|
|
4428
|
+
|
|
4284
4429
|
.TwoColumnPanel__ButtonToggle button,
|
|
4285
4430
|
.TwoColumnPanel__Close button {
|
|
4286
4431
|
background-color: transparent;
|
|
4287
4432
|
border: none;
|
|
4288
4433
|
border-bottom: 1px solid var(--two-column-panel-border-color);
|
|
4289
|
-
height: var(--two-column-panel-header-height);
|
|
4434
|
+
min-height: var(--two-column-panel-header-height);
|
|
4290
4435
|
width: var(--two-column-panel-header-height);
|
|
4291
4436
|
}
|
|
4292
4437
|
|
|
@@ -4418,8 +4563,9 @@ fieldset.Panel {
|
|
|
4418
4563
|
all: unset;
|
|
4419
4564
|
}
|
|
4420
4565
|
|
|
4421
|
-
.Accordion__trigger
|
|
4422
|
-
|
|
4566
|
+
.Accordion__trigger,
|
|
4567
|
+
button.Accordion__trigger {
|
|
4568
|
+
background-color: var(--accordion-trigger-background-color);
|
|
4423
4569
|
padding: calc(var(--space-small) - var(--space-half));
|
|
4424
4570
|
width: 100%;
|
|
4425
4571
|
display: flex;
|
|
@@ -4433,13 +4579,13 @@ fieldset.Panel {
|
|
|
4433
4579
|
text-decoration: underline solid var(--accordion-trigger-text-color);
|
|
4434
4580
|
}
|
|
4435
4581
|
|
|
4436
|
-
|
|
4582
|
+
.Accordion__trigger[aria-expanded='true'] {
|
|
4437
4583
|
border-bottom-right-radius: 0;
|
|
4438
4584
|
border-bottom-left-radius: 0;
|
|
4439
4585
|
background: var(--accordion-trigger-background-color-expanded);
|
|
4440
4586
|
}
|
|
4441
4587
|
|
|
4442
|
-
|
|
4588
|
+
.Accordion__trigger:hover {
|
|
4443
4589
|
box-shadow: inset 8px 0 0 -4px var(--accordion-trigger-box-shadow-hover);
|
|
4444
4590
|
color: var(--accordion-trigger-text-color-hover);
|
|
4445
4591
|
transition: all 0.2s ease-in-out;
|
|
@@ -4447,7 +4593,7 @@ button.Accordion__trigger:hover {
|
|
|
4447
4593
|
text-decoration: underline solid var(--accordion-trigger-text-color-hover);
|
|
4448
4594
|
}
|
|
4449
4595
|
|
|
4450
|
-
|
|
4596
|
+
.Accordion__trigger:hover .Icon {
|
|
4451
4597
|
color: var(--accordion-trigger-icon-color);
|
|
4452
4598
|
}
|
|
4453
4599
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deque/cauldron-styles",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-canary.07163dab",
|
|
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
|
+
}
|