Skip to content

Commit

Permalink
Menu hover/active link fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobozzz committed Nov 28, 2024
1 parent e057e0b commit e560ec0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions client/src/app/menu/menu.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e560ec0

Please sign in to comment.