mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
transitions for navbar hover
This commit is contained in:
parent
ef15c87a6c
commit
1f4e3d58cd
1 changed files with 5 additions and 0 deletions
|
@ -283,6 +283,7 @@ function more(ev: MouseEvent) {
|
||||||
&:hover, &.active {
|
&:hover, &.active {
|
||||||
&:before {
|
&:before {
|
||||||
background: var(--accentLighten);
|
background: var(--accentLighten);
|
||||||
|
transition: all 0.4s ease;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -373,6 +374,7 @@ function more(ev: MouseEvent) {
|
||||||
&:hover {
|
&:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: var(--navHoverFg);
|
color: var(--navHoverFg);
|
||||||
|
transition: all 0.4s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
|
@ -381,6 +383,7 @@ function more(ev: MouseEvent) {
|
||||||
|
|
||||||
&:hover, &.active {
|
&:hover, &.active {
|
||||||
color: var(--accent);
|
color: var(--accent);
|
||||||
|
transition: all 0.4s ease;
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
content: "";
|
content: "";
|
||||||
|
@ -466,6 +469,7 @@ function more(ev: MouseEvent) {
|
||||||
&:hover, &.active {
|
&:hover, &.active {
|
||||||
&:before {
|
&:before {
|
||||||
background: var(--accentLighten);
|
background: var(--accentLighten);
|
||||||
|
transition: all 0.4s ease;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -534,6 +538,7 @@ function more(ev: MouseEvent) {
|
||||||
&:hover, &.active {
|
&:hover, &.active {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: var(--accent);
|
color: var(--accent);
|
||||||
|
transition: all 0.4s ease;
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
content: "";
|
content: "";
|
||||||
|
|
Loading…
Add table
Reference in a new issue