fix: input allowClear icon (#1040)

pull/1111/head
zkwolf 2019-07-31 22:11:03 +08:00 committed by tangjinzhou
parent 5f41fa5e99
commit b3b4831c1a
1 changed files with 22 additions and 0 deletions

View File

@ -32,11 +32,33 @@
}
.@{ant-prefix}-input-password-icon {
color: @text-color-secondary;
cursor: pointer;
transition: all 0.3s;
&:hover {
color: #333;
}
}
.@{ant-prefix}-input-clear-icon {
color: @disabled-color;
font-size: @font-size-sm;
vertical-align: top;
cursor: pointer;
transition: color 0.3s;
&:hover {
color: @text-color-secondary;
}
&:active {
color: @text-color;
}
+ i {
margin-left: 6px;
}
}
@import './search-input';