mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 00:43:49 +01:00
Change text color only of active navbar element
This commit is contained in:
parent
b97c4511d9
commit
917114dfa8
@ -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 New Issue
Block a user