Menu hover/active link fixes

This commit is contained in:
Chocobozzz 2024-11-28 16:21:49 +01:00
parent e057e0bab3
commit e560ec090c
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 8 additions and 1 deletions

View File

@ -168,10 +168,17 @@
&:hover,
&:focus-visible {
opacity: 1;
background-color: pvar-fallback(--menu-bg, --bg-secondary-450);
}
&.active {
&,
my-global-icon {
color: pvar(--fg) !important;
}
font-weight: $font-bold;
background-color: pvar-fallback(--menu-bg, --bg-secondary-500);
}

View File

@ -86,7 +86,7 @@ $filters-background: pvar(--bg-secondary-400);
.filters-toggle {
padding: pvar(--input-y-padding) 0.5rem calc(#{pvar(--input-y-padding)} + 0.75rem) 0.75rem;
@include margin-left(0.25rem);
@include margin-left(0.75rem);
my-global-icon {
color: pvar(--secondary-icon-color);