fix: 添加 ant-input-number 的校验样式支持。 Closes#377。

This commit is contained in:
SimaQ 2015-10-15 19:55:19 +08:00
parent 8e00cdedf4
commit 6698341280

View File

@ -312,6 +312,12 @@ form {
.@{calendar-prefix-cls}-picker-icon:after {
color: @warning-color;
}
// ant-input-number
.@{input-number-prefix-cls} {
border-color: @warning-color;
box-shadow: 0 0 0 2px tint(@warning-color, 80%);
}
}
.has-error {
@ -338,6 +344,12 @@ form {
.@{calendar-prefix-cls}-picker-icon:after {
color: @error-color;
}
// ant-input-number
.@{input-number-prefix-cls} {
border-color: @error-color;
box-shadow: 0 0 0 2px tint(@error-color, 80%);
}
}
.is-validating {