fix: bulk-clear hover — override Pico CSS vars not just color property

This commit is contained in:
Falkan
2026-03-17 18:00:52 -04:00
parent 221dd57deb
commit 6e992bbfae

View File

@@ -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,