mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 03:17:38 -07:00
Change text color only of active navbar element
This commit is contained in:
parent
b97c4511d9
commit
917114dfa8
1 changed files with 3 additions and 3 deletions
|
@ -423,9 +423,6 @@ function more(ev: MouseEvent) {
|
|||
&:hover,
|
||||
&:focus-within,
|
||||
&.active {
|
||||
color: var(--accent);
|
||||
transition: all 0.4s ease;
|
||||
|
||||
&:before {
|
||||
content: "";
|
||||
display: block;
|
||||
|
@ -449,6 +446,9 @@ function more(ev: MouseEvent) {
|
|||
}
|
||||
|
||||
&.active {
|
||||
color: var(--accent);
|
||||
transition: all 0.4s ease;
|
||||
|
||||
&:before {
|
||||
background: var(--accentedBg);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue