@deque/cauldron-styles 7.6.0-canary.05d324ca → 7.6.0-canary.0955032f
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 +17 -4
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -3174,6 +3174,7 @@ button.TooltipTabstop {
|
|
|
3174
3174
|
--skip-link-background-color: rgba(255, 255, 255, 0.95);
|
|
3175
3175
|
--skip-link-focus-color: var(--focus-light);
|
|
3176
3176
|
--skip-link-text-color: var(--text-color-base);
|
|
3177
|
+
--skip-link-offset: 11px;
|
|
3177
3178
|
}
|
|
3178
3179
|
|
|
3179
3180
|
.SkipLink {
|
|
@@ -3181,14 +3182,20 @@ button.TooltipTabstop {
|
|
|
3181
3182
|
box-sizing: border-box;
|
|
3182
3183
|
padding: var(--space-smallest);
|
|
3183
3184
|
top: -999px;
|
|
3184
|
-
left:
|
|
3185
|
+
left: var(--skip-link-offset);
|
|
3186
|
+
/* Never wider than the containing block, even with enlarged text. */
|
|
3187
|
+
min-width: min(
|
|
3188
|
+
calc(13rem + 2 * var(--space-smallest)),
|
|
3189
|
+
calc(100% - 2 * var(--skip-link-offset))
|
|
3190
|
+
);
|
|
3191
|
+
max-width: calc(100% - 2 * var(--skip-link-offset));
|
|
3185
3192
|
opacity: 0;
|
|
3186
3193
|
transition: 250ms opacity;
|
|
3187
3194
|
z-index: var(--z-index-skip-container);
|
|
3188
3195
|
}
|
|
3189
3196
|
|
|
3190
3197
|
.SkipLink.SkipLink--active {
|
|
3191
|
-
top:
|
|
3198
|
+
top: var(--skip-link-offset);
|
|
3192
3199
|
}
|
|
3193
3200
|
|
|
3194
3201
|
.SkipLink.SkipLink--fade {
|
|
@@ -3197,7 +3204,6 @@ button.TooltipTabstop {
|
|
|
3197
3204
|
}
|
|
3198
3205
|
|
|
3199
3206
|
.SkipLink a {
|
|
3200
|
-
min-width: 13rem;
|
|
3201
3207
|
background-color: var(--skip-link-background-color);
|
|
3202
3208
|
display: block;
|
|
3203
3209
|
color: var(--skip-link-text-color);
|
|
@@ -5443,7 +5449,7 @@ button.Accordion__trigger {
|
|
|
5443
5449
|
margin-top: var(--space-smallest);
|
|
5444
5450
|
}
|
|
5445
5451
|
|
|
5446
|
-
.Notice .
|
|
5452
|
+
.Notice .Notice__icon > svg {
|
|
5447
5453
|
height: var(--notice-icon-size);
|
|
5448
5454
|
width: var(--notice-icon-size);
|
|
5449
5455
|
color: var(--notice-icon-color);
|
|
@@ -6352,6 +6358,13 @@ button.Accordion__trigger {
|
|
|
6352
6358
|
--action-list-item-description-color: var(--action-list-text-color);
|
|
6353
6359
|
}
|
|
6354
6360
|
|
|
6361
|
+
/* accent-error on the gray-20 hover background is only 4.15:1. :where() keeps
|
|
6362
|
+
this at the base rule's specificity so the dark theme overrides still win. */
|
|
6363
|
+
.ActionListItem--danger:where(:hover:not([aria-disabled='true'])) {
|
|
6364
|
+
--action-list-text-color: var(--accent-error-active);
|
|
6365
|
+
--action-list-item-icon-color: var(--accent-error-active);
|
|
6366
|
+
}
|
|
6367
|
+
|
|
6355
6368
|
:where(.cauldron--theme-dark) .ActionListItem--danger {
|
|
6356
6369
|
--action-list-text-color: #fff;
|
|
6357
6370
|
--action-list-item-icon-color: #fff;
|
package/package.json
CHANGED