Feat: Add background color change on hover to nav links (#4494)

This commit is contained in:
Frank Elsinga 2024-06-03 21:06:23 +02:00 committed by GitHub
commit a00b4ed285
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -211,6 +211,20 @@ export default {
@import "../assets/vars.scss"; @import "../assets/vars.scss";
.nav-link { .nav-link {
&:hover {
background-color: $primary;
color: #fff;
.dark & {
background-color: $primary;
color: #000;
}
&.active {
background-color: $highlight;
}
}
&.status-page { &.status-page {
background-color: rgba(255, 255, 255, 0.1); background-color: rgba(255, 255, 255, 0.1);
} }