@deque/cauldron-styles 4.7.0-canary.e34d0aa1 → 4.7.0-canary.e5b85cce
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 +51 -21
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
--accent-medium: #283640;
|
|
21
21
|
--accent-light: #d4dde0;
|
|
22
22
|
--accent-success: #a5db75;
|
|
23
|
+
--accent-success-high-contrast: #4fa630;
|
|
23
24
|
--accent-success-light: #d1ffa4;
|
|
24
25
|
--accent-success-dark: #57a711;
|
|
25
26
|
--accent-error: #d93251;
|
|
@@ -37,10 +38,10 @@
|
|
|
37
38
|
--accent-secondary-active: var(--gray-30);
|
|
38
39
|
--focus-light: #c11bde;
|
|
39
40
|
--focus-dark: #eb94ff;
|
|
40
|
-
--issue-critical:
|
|
41
|
-
--issue-serious: #
|
|
42
|
-
--issue-moderate:
|
|
43
|
-
--issue-minor:
|
|
41
|
+
--issue-critical: var(--accent-danger);
|
|
42
|
+
--issue-serious: #ed9a55;
|
|
43
|
+
--issue-moderate: var(--accent-warning);
|
|
44
|
+
--issue-minor: var(--gray-20);
|
|
44
45
|
|
|
45
46
|
/* text colours */
|
|
46
47
|
--text-color-base: var(--gray-60);
|
|
@@ -101,7 +102,7 @@
|
|
|
101
102
|
--content-max-width: 1000px;
|
|
102
103
|
|
|
103
104
|
/* z-index */
|
|
104
|
-
--z-index-tooltip:
|
|
105
|
+
--z-index-tooltip: 22;
|
|
105
106
|
--z-index-loader: 8;
|
|
106
107
|
--z-index-scrim: 7;
|
|
107
108
|
--z-index-dialog: 21;
|
|
@@ -1488,9 +1489,10 @@ textarea:focus,
|
|
|
1488
1489
|
[role='listbox']:focus,
|
|
1489
1490
|
[role='spinbutton']:focus {
|
|
1490
1491
|
outline: 0;
|
|
1491
|
-
border:
|
|
1492
|
-
box-shadow:
|
|
1493
|
-
|
|
1492
|
+
border: 1px solid var(--field-border-color-focus);
|
|
1493
|
+
box-shadow: 0 0 0 2px var(--field-border-color-focus),
|
|
1494
|
+
0 0 5px var(--field-border-color-focus-glow),
|
|
1495
|
+
inset 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
1494
1496
|
}
|
|
1495
1497
|
|
|
1496
1498
|
input:hover,
|
|
@@ -1514,7 +1516,7 @@ textarea:focus:hover,
|
|
|
1514
1516
|
[aria-haspopup='listbox']:focus:hover,
|
|
1515
1517
|
[role='listbox']:focus:hover,
|
|
1516
1518
|
[role='spinbutton']:focus:hover {
|
|
1517
|
-
border:
|
|
1519
|
+
border: 1px solid var(--field-border-color-focus-hover);
|
|
1518
1520
|
}
|
|
1519
1521
|
|
|
1520
1522
|
input.Field--has-error,
|
|
@@ -1554,9 +1556,10 @@ textarea.Field--has-error:focus,
|
|
|
1554
1556
|
[aria-haspopup='listbox'].Field--has-error:focus,
|
|
1555
1557
|
[role='listbox'].Field--has-error:focus,
|
|
1556
1558
|
[role='spinbutton'].Field--has-error:focus {
|
|
1557
|
-
border:
|
|
1558
|
-
box-shadow:
|
|
1559
|
-
|
|
1559
|
+
border: 1px solid var(--field-border-color-error);
|
|
1560
|
+
box-shadow: 0 0 0 1px var(--field-border-color-error-hover),
|
|
1561
|
+
inset 0 2px 3px 0 rgba(0, 0, 0, 0.05),
|
|
1562
|
+
0 0 5px 0 var(--field-border-color-error-focus-glow);
|
|
1560
1563
|
}
|
|
1561
1564
|
|
|
1562
1565
|
input.Field--has-error:focus:hover,
|
|
@@ -1833,7 +1836,7 @@ textarea.Field--has-error:focus:hover,
|
|
|
1833
1836
|
|
|
1834
1837
|
.Link:hover {
|
|
1835
1838
|
text-decoration: underline;
|
|
1836
|
-
color: var(--link-text-color);
|
|
1839
|
+
color: var(--link-text-color-hover);
|
|
1837
1840
|
}
|
|
1838
1841
|
|
|
1839
1842
|
.Link:focus {
|
|
@@ -2257,7 +2260,12 @@ p .Link {
|
|
|
2257
2260
|
}
|
|
2258
2261
|
|
|
2259
2262
|
.RadioCardGroup__Icon.Icon svg {
|
|
2260
|
-
|
|
2263
|
+
/**
|
|
2264
|
+
* this is edge case to pass color-contrast when the radio-card is selected,
|
|
2265
|
+
* it is not a color we want to live in cauldron as a variable
|
|
2266
|
+
* @see https://github.com/dequelabs/cauldron/pull/736
|
|
2267
|
+
*/
|
|
2268
|
+
color: #4f990f;
|
|
2261
2269
|
height: 44px;
|
|
2262
2270
|
width: 44px;
|
|
2263
2271
|
}
|
|
@@ -2298,6 +2306,10 @@ p .Link {
|
|
|
2298
2306
|
justify-content: center;
|
|
2299
2307
|
}
|
|
2300
2308
|
|
|
2309
|
+
.cauldron--theme-dark .RadioCardGroup__Icon.Icon svg {
|
|
2310
|
+
color: var(--accent-success);
|
|
2311
|
+
}
|
|
2312
|
+
|
|
2301
2313
|
:root {
|
|
2302
2314
|
--tile-background-color: var(--white);
|
|
2303
2315
|
--list-separator: rgba(153, 153, 153, 0.15);
|
|
@@ -2523,16 +2535,18 @@ p .Link {
|
|
|
2523
2535
|
width: 0.1px;
|
|
2524
2536
|
}
|
|
2525
2537
|
|
|
2538
|
+
/* Adjust position to try to center the arrow in the tooltip's border */
|
|
2539
|
+
|
|
2526
2540
|
[class*='Tooltip--top'] .TooltipArrow {
|
|
2527
|
-
bottom:
|
|
2541
|
+
bottom: -1px;
|
|
2528
2542
|
}
|
|
2529
2543
|
|
|
2530
2544
|
[class*='Tooltip--bottom'] .TooltipArrow {
|
|
2531
|
-
top:
|
|
2545
|
+
top: -1px;
|
|
2532
2546
|
}
|
|
2533
2547
|
|
|
2534
2548
|
[class*='Tooltip--left'] .TooltipArrow {
|
|
2535
|
-
right:
|
|
2549
|
+
right: -1px;
|
|
2536
2550
|
}
|
|
2537
2551
|
|
|
2538
2552
|
[class*='Tooltip--right'] .TooltipArrow {
|
|
@@ -2593,15 +2607,14 @@ p .Link {
|
|
|
2593
2607
|
|
|
2594
2608
|
.TooltipHead {
|
|
2595
2609
|
background: var(--gray-20);
|
|
2596
|
-
font-size:
|
|
2610
|
+
font-size: var(--text-size-small);
|
|
2597
2611
|
color: var(--gray-90);
|
|
2598
|
-
padding:
|
|
2612
|
+
padding: var(--space-small) var(--space-large);
|
|
2599
2613
|
text-align: center;
|
|
2600
2614
|
}
|
|
2601
2615
|
|
|
2602
2616
|
.TooltipContent {
|
|
2603
2617
|
background: #fff;
|
|
2604
|
-
font-size: var(--font-size-smaller);
|
|
2605
2618
|
text-align: left;
|
|
2606
2619
|
}
|
|
2607
2620
|
|
|
@@ -3386,6 +3399,7 @@ button.TooltipTabstop {
|
|
|
3386
3399
|
--table-row-border-color: var(--gray-40);
|
|
3387
3400
|
--table-space: 11px;
|
|
3388
3401
|
--table-header-sorting-border-color: var(--gray-90);
|
|
3402
|
+
--table-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
|
|
3389
3403
|
}
|
|
3390
3404
|
|
|
3391
3405
|
.cauldron--theme-dark {
|
|
@@ -3470,10 +3484,26 @@ button.TooltipTabstop {
|
|
|
3470
3484
|
padding: var(--table-space) var(--space-smallest);
|
|
3471
3485
|
}
|
|
3472
3486
|
|
|
3473
|
-
.TableRow:last-child .TableCell {
|
|
3487
|
+
.Table:not(.Table--border) .TableRow:last-child .TableCell {
|
|
3474
3488
|
border: none;
|
|
3475
3489
|
}
|
|
3476
3490
|
|
|
3491
|
+
.Table--border {
|
|
3492
|
+
box-shadow: var(--table-box-shadow);
|
|
3493
|
+
}
|
|
3494
|
+
|
|
3495
|
+
.Table--border,
|
|
3496
|
+
.Table--border .TableHeader,
|
|
3497
|
+
.Table--border .TableCell {
|
|
3498
|
+
border: 1px solid var(--gray-40);
|
|
3499
|
+
}
|
|
3500
|
+
|
|
3501
|
+
.cauldron--theme-dark .Table--border,
|
|
3502
|
+
.cauldron--theme-dark .Table--border .TableHeader,
|
|
3503
|
+
.cauldron--theme-dark .Table--border .TableCell {
|
|
3504
|
+
border-color: var(--stroke-dark);
|
|
3505
|
+
}
|
|
3506
|
+
|
|
3477
3507
|
:root {
|
|
3478
3508
|
--data-list-background-color: var(--gray-20);
|
|
3479
3509
|
--data-list-value-background-color: var(--white);
|
package/package.json
CHANGED