Skip to content

Commit

Permalink
fix: link style add !important
Browse files Browse the repository at this point in the history
  • Loading branch information
vvpvvp committed Aug 23, 2019
1 parent 1a1db1c commit 5171714
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions themes/mixins/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
outline: none;
transition: color @transition-time ease;
&:hover {
color: darken(@link-color, 10%);
color: darken(@link-color, 10%) !important;
}
&:active {
color: darken(@link-color, 20%);
color: darken(@link-color, 20%) !important;
}
&:active, &:hover{
outline: 0;
text-decoration: none;
}
&[disabled] {
color: @disabled-color;
color: @disabled-color !important;
cursor: default;
}
}
Expand All @@ -39,18 +39,18 @@
transition: color @transition-time ease;

&:hover {
color: @link-color;
color: @link-color !important;
}

&:active {
color: darken(@link-color, 15%);
color: darken(@link-color, 15%) !important;
}

&.@{pop-ref-prefix} &{
color: darken(@link-color, 10%) !important;
}
&[disabled] {
color: @disabled-color;
color: @disabled-color !important;
cursor: default;
}
}
Expand All @@ -62,15 +62,15 @@
color: @dark4-color;

&:hover {
color: @dark2-color;
color: @dark2-color !important;
}

&:active {
color: darken(@dark2-color, 10%);
color: darken(@dark2-color, 10%) !important;
}

&[disabled] {
color: @disabled-color;
color: @disabled-color !important;
cursor: default;
}
}
Expand Down

0 comments on commit 5171714

Please sign in to comment.