Skip to content

Commit

Permalink
Add logo hover styling
Browse files Browse the repository at this point in the history
  • Loading branch information
kommunarr committed Oct 21, 2023
1 parent c1d3707 commit 4bf7d36
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions src/renderer/components/top-nav/top-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@
}

&:hover {
background-color: var(--side-nav-hover-color);
color: var(--side-nav-hover-text-color);
transition: background 0.2s ease-in;

@include top-nav-is-colored {
background-color: var(--primary-color-hover);
}
Expand All @@ -86,6 +82,14 @@
}
}

.navIcon:hover, .logo:hover {
&:hover {
background-color: var(--side-nav-hover-color);
color: var(--side-nav-hover-text-color);
transition: background 0.2s ease-in;
}
}

.navFilterIcon {
$effect-distance: 10px;

Expand Down Expand Up @@ -130,6 +134,12 @@
padding-block: 0;
padding-inline: 10px 25px;

&:hover {
@include top-nav-is-colored {
background-color: var(--primary-color-hover);
}
}

&:active {
background-color: var(--tertiary-text-color);
transition: background 0.2s ease-in;
Expand Down

0 comments on commit 4bf7d36

Please sign in to comment.