mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03: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,
|
&: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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user