@deque/cauldron-styles 4.7.0-canary.e34d0aa1 → 4.7.0-canary.e9f388bb
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 +29 -16
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
--accent-secondary-active: var(--gray-30);
|
|
38
38
|
--focus-light: #c11bde;
|
|
39
39
|
--focus-dark: #eb94ff;
|
|
40
|
-
--issue-critical:
|
|
41
|
-
--issue-serious: #
|
|
42
|
-
--issue-moderate:
|
|
43
|
-
--issue-minor:
|
|
40
|
+
--issue-critical: var(--accent-danger);
|
|
41
|
+
--issue-serious: #ed9a55;
|
|
42
|
+
--issue-moderate: var(--accent-warning);
|
|
43
|
+
--issue-minor: var(--gray-20);
|
|
44
44
|
|
|
45
45
|
/* text colours */
|
|
46
46
|
--text-color-base: var(--gray-60);
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
--content-max-width: 1000px;
|
|
102
102
|
|
|
103
103
|
/* z-index */
|
|
104
|
-
--z-index-tooltip:
|
|
104
|
+
--z-index-tooltip: 22;
|
|
105
105
|
--z-index-loader: 8;
|
|
106
106
|
--z-index-scrim: 7;
|
|
107
107
|
--z-index-dialog: 21;
|
|
@@ -1488,9 +1488,10 @@ textarea:focus,
|
|
|
1488
1488
|
[role='listbox']:focus,
|
|
1489
1489
|
[role='spinbutton']:focus {
|
|
1490
1490
|
outline: 0;
|
|
1491
|
-
border:
|
|
1492
|
-
box-shadow:
|
|
1493
|
-
|
|
1491
|
+
border: 1px solid var(--field-border-color-focus);
|
|
1492
|
+
box-shadow: 0 0 0 2px var(--field-border-color-focus),
|
|
1493
|
+
0 0 5px var(--field-border-color-focus-glow),
|
|
1494
|
+
inset 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
1494
1495
|
}
|
|
1495
1496
|
|
|
1496
1497
|
input:hover,
|
|
@@ -1514,7 +1515,7 @@ textarea:focus:hover,
|
|
|
1514
1515
|
[aria-haspopup='listbox']:focus:hover,
|
|
1515
1516
|
[role='listbox']:focus:hover,
|
|
1516
1517
|
[role='spinbutton']:focus:hover {
|
|
1517
|
-
border:
|
|
1518
|
+
border: 1px solid var(--field-border-color-focus-hover);
|
|
1518
1519
|
}
|
|
1519
1520
|
|
|
1520
1521
|
input.Field--has-error,
|
|
@@ -1554,9 +1555,10 @@ textarea.Field--has-error:focus,
|
|
|
1554
1555
|
[aria-haspopup='listbox'].Field--has-error:focus,
|
|
1555
1556
|
[role='listbox'].Field--has-error:focus,
|
|
1556
1557
|
[role='spinbutton'].Field--has-error:focus {
|
|
1557
|
-
border:
|
|
1558
|
-
box-shadow:
|
|
1559
|
-
|
|
1558
|
+
border: 1px solid var(--field-border-color-error);
|
|
1559
|
+
box-shadow: 0 0 0 1px var(--field-border-color-error-hover),
|
|
1560
|
+
inset 0 2px 3px 0 rgba(0, 0, 0, 0.05),
|
|
1561
|
+
0 0 5px 0 var(--field-border-color-error-focus-glow);
|
|
1560
1562
|
}
|
|
1561
1563
|
|
|
1562
1564
|
input.Field--has-error:focus:hover,
|
|
@@ -2257,7 +2259,12 @@ p .Link {
|
|
|
2257
2259
|
}
|
|
2258
2260
|
|
|
2259
2261
|
.RadioCardGroup__Icon.Icon svg {
|
|
2260
|
-
|
|
2262
|
+
/**
|
|
2263
|
+
* 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
|
|
2265
|
+
* @see https://github.com/dequelabs/cauldron/pull/736
|
|
2266
|
+
*/
|
|
2267
|
+
color: #4f990f;
|
|
2261
2268
|
height: 44px;
|
|
2262
2269
|
width: 44px;
|
|
2263
2270
|
}
|
|
@@ -2298,6 +2305,10 @@ p .Link {
|
|
|
2298
2305
|
justify-content: center;
|
|
2299
2306
|
}
|
|
2300
2307
|
|
|
2308
|
+
.cauldron--theme-dark .RadioCardGroup__Icon.Icon svg {
|
|
2309
|
+
color: var(--accent-success);
|
|
2310
|
+
}
|
|
2311
|
+
|
|
2301
2312
|
:root {
|
|
2302
2313
|
--tile-background-color: var(--white);
|
|
2303
2314
|
--list-separator: rgba(153, 153, 153, 0.15);
|
|
@@ -2523,16 +2534,18 @@ p .Link {
|
|
|
2523
2534
|
width: 0.1px;
|
|
2524
2535
|
}
|
|
2525
2536
|
|
|
2537
|
+
/* Adjust position to try to center the arrow in the tooltip's border */
|
|
2538
|
+
|
|
2526
2539
|
[class*='Tooltip--top'] .TooltipArrow {
|
|
2527
|
-
bottom:
|
|
2540
|
+
bottom: -1px;
|
|
2528
2541
|
}
|
|
2529
2542
|
|
|
2530
2543
|
[class*='Tooltip--bottom'] .TooltipArrow {
|
|
2531
|
-
top:
|
|
2544
|
+
top: -1px;
|
|
2532
2545
|
}
|
|
2533
2546
|
|
|
2534
2547
|
[class*='Tooltip--left'] .TooltipArrow {
|
|
2535
|
-
right:
|
|
2548
|
+
right: -1px;
|
|
2536
2549
|
}
|
|
2537
2550
|
|
|
2538
2551
|
[class*='Tooltip--right'] .TooltipArrow {
|
package/package.json
CHANGED