Skip to content

Commit

Permalink
feat: highlight selected navbar item
Browse files Browse the repository at this point in the history
  • Loading branch information
NoeTerrier committed Apr 12, 2024
1 parent b4fbf6d commit 126ffb6
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions app/src/styles/NavigationBar.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,24 +74,23 @@
}
}

&.selected {
background-color: variables.$dark-text-color;
padding: 0.5rem;
border-radius: 2rem;

&:hover {
color: variables.$text-color;
.arrow {
border-color: variables.$text-color;
}
}
}
@media (max-width: 800px) {
display: none;
}
}

.selected {
background-color: variables.$dark-text-color;
padding: 0.5rem;
border-radius: 2rem;

&:hover {
color: variables.$text-color;
.arrow {
border-color: variables.$text-color;
}
}
}

.dropdownHead {
display: flex;
justify-content: center;
Expand Down Expand Up @@ -134,6 +133,11 @@
&:hover {
background-color: variables.$glass-color-hover;
}

&.selected {
border-radius: 0;
background-color: variables.$glass-color-hover;
}
}
}

Expand Down

0 comments on commit 126ffb6

Please sign in to comment.