Add @card-hover-border variable (#8939)

This commit is contained in:
Graeme Yeates 2018-01-11 21:03:14 -05:00 committed by 偏右
parent b9b5abab33
commit 5931b201da

View File

@ -3,6 +3,7 @@
@card-prefix-cls: ~"@{ant-prefix}-card";
@card-head-height: 48px;
@card-hover-border: rgba(0, 0, 0, 0.09);
.@{card-prefix-cls} {
.reset-component;
@ -15,7 +16,7 @@
cursor: pointer;
&:hover {
box-shadow: @card-shadow;
border-color: rgba(0, 0, 0, 0.09);
border-color: @card-hover-border;
}
}