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