@deque/cauldron-styles 4.7.0-canary.b07c7ee0 → 4.7.0-canary.b75fad1d
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 +55 -25
- 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 {
|
|
@@ -2593,15 +2606,14 @@ p .Link {
|
|
|
2593
2606
|
|
|
2594
2607
|
.TooltipHead {
|
|
2595
2608
|
background: var(--gray-20);
|
|
2596
|
-
font-size:
|
|
2609
|
+
font-size: var(--text-size-small);
|
|
2597
2610
|
color: var(--gray-90);
|
|
2598
|
-
padding:
|
|
2611
|
+
padding: var(--space-small) var(--space-large);
|
|
2599
2612
|
text-align: center;
|
|
2600
2613
|
}
|
|
2601
2614
|
|
|
2602
2615
|
.TooltipContent {
|
|
2603
2616
|
background: #fff;
|
|
2604
|
-
font-size: var(--font-size-smaller);
|
|
2605
2617
|
text-align: left;
|
|
2606
2618
|
}
|
|
2607
2619
|
|
|
@@ -3386,6 +3398,7 @@ button.TooltipTabstop {
|
|
|
3386
3398
|
--table-row-border-color: var(--gray-40);
|
|
3387
3399
|
--table-space: 11px;
|
|
3388
3400
|
--table-header-sorting-border-color: var(--gray-90);
|
|
3401
|
+
--table-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
|
|
3389
3402
|
}
|
|
3390
3403
|
|
|
3391
3404
|
.cauldron--theme-dark {
|
|
@@ -3470,10 +3483,26 @@ button.TooltipTabstop {
|
|
|
3470
3483
|
padding: var(--table-space) var(--space-smallest);
|
|
3471
3484
|
}
|
|
3472
3485
|
|
|
3473
|
-
.TableRow:last-child .TableCell {
|
|
3486
|
+
.Table:not(.Table--border) .TableRow:last-child .TableCell {
|
|
3474
3487
|
border: none;
|
|
3475
3488
|
}
|
|
3476
3489
|
|
|
3490
|
+
.Table--border {
|
|
3491
|
+
box-shadow: var(--table-box-shadow);
|
|
3492
|
+
}
|
|
3493
|
+
|
|
3494
|
+
.Table--border,
|
|
3495
|
+
.Table--border .TableHeader,
|
|
3496
|
+
.Table--border .TableCell {
|
|
3497
|
+
border: 1px solid var(--gray-40);
|
|
3498
|
+
}
|
|
3499
|
+
|
|
3500
|
+
.cauldron--theme-dark .Table--border,
|
|
3501
|
+
.cauldron--theme-dark .Table--border .TableHeader,
|
|
3502
|
+
.cauldron--theme-dark .Table--border .TableCell {
|
|
3503
|
+
border-color: var(--stroke-dark);
|
|
3504
|
+
}
|
|
3505
|
+
|
|
3477
3506
|
:root {
|
|
3478
3507
|
--data-list-background-color: var(--gray-20);
|
|
3479
3508
|
--data-list-value-background-color: var(--white);
|
|
@@ -4418,8 +4447,9 @@ fieldset.Panel {
|
|
|
4418
4447
|
all: unset;
|
|
4419
4448
|
}
|
|
4420
4449
|
|
|
4421
|
-
.Accordion__trigger
|
|
4422
|
-
|
|
4450
|
+
.Accordion__trigger,
|
|
4451
|
+
button.Accordion__trigger {
|
|
4452
|
+
background-color: var(--accordion-trigger-background-color);
|
|
4423
4453
|
padding: calc(var(--space-small) - var(--space-half));
|
|
4424
4454
|
width: 100%;
|
|
4425
4455
|
display: flex;
|
|
@@ -4433,13 +4463,13 @@ fieldset.Panel {
|
|
|
4433
4463
|
text-decoration: underline solid var(--accordion-trigger-text-color);
|
|
4434
4464
|
}
|
|
4435
4465
|
|
|
4436
|
-
|
|
4466
|
+
.Accordion__trigger[aria-expanded='true'] {
|
|
4437
4467
|
border-bottom-right-radius: 0;
|
|
4438
4468
|
border-bottom-left-radius: 0;
|
|
4439
4469
|
background: var(--accordion-trigger-background-color-expanded);
|
|
4440
4470
|
}
|
|
4441
4471
|
|
|
4442
|
-
|
|
4472
|
+
.Accordion__trigger:hover {
|
|
4443
4473
|
box-shadow: inset 8px 0 0 -4px var(--accordion-trigger-box-shadow-hover);
|
|
4444
4474
|
color: var(--accordion-trigger-text-color-hover);
|
|
4445
4475
|
transition: all 0.2s ease-in-out;
|
|
@@ -4447,7 +4477,7 @@ button.Accordion__trigger:hover {
|
|
|
4447
4477
|
text-decoration: underline solid var(--accordion-trigger-text-color-hover);
|
|
4448
4478
|
}
|
|
4449
4479
|
|
|
4450
|
-
|
|
4480
|
+
.Accordion__trigger:hover .Icon {
|
|
4451
4481
|
color: var(--accordion-trigger-icon-color);
|
|
4452
4482
|
}
|
|
4453
4483
|
|
package/package.json
CHANGED