Skip to content

Commit

Permalink
Feat: Add background color change on hover to nav links (louislam#4494)
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm authored Jun 3, 2024
2 parents c919d2c + a26d93a commit a00b4ed
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/layouts/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,20 @@ export default {
@import "../assets/vars.scss";
.nav-link {
&:hover {
background-color: $primary;
color: #fff;
.dark & {
background-color: $primary;
color: #000;
}
&.active {
background-color: $highlight;
}
}
&.status-page {
background-color: rgba(255, 255, 255, 0.1);
}
Expand Down

0 comments on commit a00b4ed

Please sign in to comment.