fix selector order, close #2916

This commit is contained in:
afc163 2016-09-01 16:48:22 +08:00
parent 822d233188
commit 7c99d5fb9e

View File

@ -5,8 +5,12 @@
} }
// 输入框的不同校验状态 // 输入框的不同校验状态
.ant-input { .ant-input {
border-color: @border-color; &,
box-shadow: 0 0 0 2px fade(@border-color, 20%); &:hover,
&:focus {
border-color: @border-color;
box-shadow: 0 0 0 2px fade(@border-color, 20%);
}
&:not([disabled]):hover { &:not([disabled]):hover {
border-color: @border-color; border-color: @border-color;