Fix @link-hover-decoration, close #7821 & #7531

This commit is contained in:
afc163 2017-10-07 15:31:25 +08:00
parent cf6dfac206
commit 31d0c3a49d
2 changed files with 3 additions and 2 deletions

View File

@ -69,7 +69,7 @@ h1, h2, h3, h4, h5, h6 {
a { a {
color: @link-color; color: @link-color;
background: transparent; background: transparent;
text-decoration: @link-hover-decoration; text-decoration: @link-decoration;
outline: none; outline: none;
cursor: pointer; cursor: pointer;
transition: color .3s ease; transition: color .3s ease;
@ -90,7 +90,7 @@ a {
&:active, &:active,
&:hover { &:hover {
outline: 0; outline: 0;
text-decoration: none; text-decoration: @link-hover-decoration;
} }
&[disabled] { &[disabled] {

View File

@ -61,6 +61,7 @@
@link-color : @primary-color; @link-color : @primary-color;
@link-hover-color : @primary-5; @link-hover-color : @primary-5;
@link-active-color : @primary-7; @link-active-color : @primary-7;
@link-decoration : none;
@link-hover-decoration : none; @link-hover-decoration : none;
// Animation // Animation