mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 13:47:02 +08:00
parent
ae8603838a
commit
b467cc5cbb
@ -147,7 +147,7 @@
|
||||
}
|
||||
.button-color(@color; @background; @border) {
|
||||
color: @color;
|
||||
background-color: @background;
|
||||
background: @background;
|
||||
border-color: @border; // a inside Button which only work in Chrome
|
||||
// http://stackoverflow.com/a/17253457
|
||||
> a:only-child {
|
||||
@ -347,7 +347,7 @@
|
||||
.button-variant-other(@link-color, transparent, transparent);
|
||||
box-shadow: none;
|
||||
&:hover {
|
||||
background-color: @btn-link-hover-bg;
|
||||
background: @btn-link-hover-bg;
|
||||
}
|
||||
&:hover,
|
||||
&:focus,
|
||||
@ -363,13 +363,13 @@
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @text-color;
|
||||
background-color: @btn-text-hover-bg;
|
||||
background: @btn-text-hover-bg;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
&:active {
|
||||
color: @text-color;
|
||||
background-color: fadein(@btn-text-hover-bg, 1%);
|
||||
background: fadein(@btn-text-hover-bg, 1%);
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user