Place :hover declarations after :visited to fix hover animation

Fixes #1820
This commit is contained in:
Michael Rose 2018-09-05 15:16:31 -04:00
parent c0725e9653
commit 192c22a637
2 changed files with 9 additions and 10 deletions

View file

@ -130,15 +130,14 @@ a {
@extend %tab-focus;
}
&:hover,
&:active {
color: $link-color-hover;
outline: 0;
}
&:visited {
color: $link-color-visited;
}
&:hover {
color: $link-color-hover;
outline: 0;
}
}
/* buttons */

View file

@ -52,13 +52,13 @@
border: 1px solid #fff;
}
&:hover {
@include yiq-contrasted(mix(#000, $color, 20%));
}
&:visited {
@include yiq-contrasted($color);
}
&:hover {
@include yiq-contrasted(mix(#000, $color, 20%));
}
}
}