Change text color only of active navbar element

This commit is contained in:
Jeder 2023-09-13 13:53:20 +02:00
parent b97c4511d9
commit 917114dfa8

View File

@ -423,9 +423,6 @@ function more(ev: MouseEvent) {
&:hover, &:hover,
&:focus-within, &:focus-within,
&.active { &.active {
color: var(--accent);
transition: all 0.4s ease;
&:before { &:before {
content: ""; content: "";
display: block; display: block;
@ -449,6 +446,9 @@ function more(ev: MouseEvent) {
} }
&.active { &.active {
color: var(--accent);
transition: all 0.4s ease;
&:before { &:before {
background: var(--accentedBg); background: var(--accentedBg);
} }