@deque/cauldron-styles 4.7.0-canary.ef65d6a5 → 4.7.0-canary.f729866a
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 +31 -21
- 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
|
}
|
|
@@ -2523,16 +2530,18 @@ p .Link {
|
|
|
2523
2530
|
width: 0.1px;
|
|
2524
2531
|
}
|
|
2525
2532
|
|
|
2533
|
+
/* Adjust position to try to center the arrow in the tooltip's border */
|
|
2534
|
+
|
|
2526
2535
|
[class*='Tooltip--top'] .TooltipArrow {
|
|
2527
|
-
bottom:
|
|
2536
|
+
bottom: -1px;
|
|
2528
2537
|
}
|
|
2529
2538
|
|
|
2530
2539
|
[class*='Tooltip--bottom'] .TooltipArrow {
|
|
2531
|
-
top:
|
|
2540
|
+
top: -1px;
|
|
2532
2541
|
}
|
|
2533
2542
|
|
|
2534
2543
|
[class*='Tooltip--left'] .TooltipArrow {
|
|
2535
|
-
right:
|
|
2544
|
+
right: -1px;
|
|
2536
2545
|
}
|
|
2537
2546
|
|
|
2538
2547
|
[class*='Tooltip--right'] .TooltipArrow {
|
|
@@ -4418,8 +4427,9 @@ fieldset.Panel {
|
|
|
4418
4427
|
all: unset;
|
|
4419
4428
|
}
|
|
4420
4429
|
|
|
4421
|
-
.Accordion__trigger
|
|
4422
|
-
|
|
4430
|
+
.Accordion__trigger,
|
|
4431
|
+
button.Accordion__trigger {
|
|
4432
|
+
background-color: var(--accordion-trigger-background-color);
|
|
4423
4433
|
padding: calc(var(--space-small) - var(--space-half));
|
|
4424
4434
|
width: 100%;
|
|
4425
4435
|
display: flex;
|
|
@@ -4433,13 +4443,13 @@ fieldset.Panel {
|
|
|
4433
4443
|
text-decoration: underline solid var(--accordion-trigger-text-color);
|
|
4434
4444
|
}
|
|
4435
4445
|
|
|
4436
|
-
|
|
4446
|
+
.Accordion__trigger[aria-expanded='true'] {
|
|
4437
4447
|
border-bottom-right-radius: 0;
|
|
4438
4448
|
border-bottom-left-radius: 0;
|
|
4439
4449
|
background: var(--accordion-trigger-background-color-expanded);
|
|
4440
4450
|
}
|
|
4441
4451
|
|
|
4442
|
-
|
|
4452
|
+
.Accordion__trigger:hover {
|
|
4443
4453
|
box-shadow: inset 8px 0 0 -4px var(--accordion-trigger-box-shadow-hover);
|
|
4444
4454
|
color: var(--accordion-trigger-text-color-hover);
|
|
4445
4455
|
transition: all 0.2s ease-in-out;
|
|
@@ -4447,7 +4457,7 @@ button.Accordion__trigger:hover {
|
|
|
4447
4457
|
text-decoration: underline solid var(--accordion-trigger-text-color-hover);
|
|
4448
4458
|
}
|
|
4449
4459
|
|
|
4450
|
-
|
|
4460
|
+
.Accordion__trigger:hover .Icon {
|
|
4451
4461
|
color: var(--accordion-trigger-icon-color);
|
|
4452
4462
|
}
|
|
4453
4463
|
|
package/package.json
CHANGED