fix: bulk-clear hover — override Pico CSS vars not just color property
This commit is contained in:
@@ -647,11 +647,15 @@
|
|||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
.bulk-clear:not(:disabled):hover {
|
.bulk-clear:not(:disabled):hover {
|
||||||
/* Force explicit dark color — prevents Pico's [role=button] hover from
|
/* Pico's button:hover sets --pico-color:#fff and --pico-background-color to
|
||||||
overriding to --pico-primary-inverse (#fff) in light/Dan mode */
|
primary-hover-background, making the text invisible on light/white backgrounds.
|
||||||
color: var(--pico-color) !important;
|
Override all three explicitly. */
|
||||||
border-color: var(--pico-color);
|
--pico-color: var(--pico-contrast) !important;
|
||||||
background: transparent;
|
--pico-background-color: transparent !important;
|
||||||
|
--pico-border-color: var(--pico-contrast) !important;
|
||||||
|
color: var(--pico-contrast) !important;
|
||||||
|
background: transparent !important;
|
||||||
|
border-color: var(--pico-contrast) !important;
|
||||||
}
|
}
|
||||||
.bulk-clear:disabled,
|
.bulk-clear:disabled,
|
||||||
.bulk-go:disabled,
|
.bulk-go:disabled,
|
||||||
|
|||||||
Reference in New Issue
Block a user