Skip to content

Commit

Permalink
feat: add hover styles to expandable menu items
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenFluin authored and ffe9f8 committed Feb 4, 2024
1 parent 486caf8 commit fa1df36
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/styles/dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ html.dark body {
color: $dark-text;
}
.sideNav {
.nav-group-header:hover,
.nav-group-header:hover span {
color: white;
background-color: transparent;
}
a:hover {
color: white;
background-color: transparent;
Expand Down
6 changes: 6 additions & 0 deletions src/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,12 @@ ul li {
display: flex;
justify-content: space-between;
padding-left: 0px;
cursor: pointer;

&:hover {
background-color: rgb(243, 244, 246);
color: rgb(17, 24, 39);
}
}
.sideNav .nav-group-header svg {
transition: transform 0.3s ease-in-out;
Expand Down

0 comments on commit fa1df36

Please sign in to comment.