Browse Source

fix timepicker validate style

pull/540/head
afc163 9 years ago
parent
commit
f8d6555fe8
  1. 10
      style/components/form.less
  2. 2
      style/components/index.less

10
style/components/form.less

@ -324,6 +324,11 @@ form {
color: @warning-color; color: @warning-color;
} }
// ant-timepicker
.@{timepicker-prefix-cls}-picker-icon:after {
color: @warning-color;
}
// ant-input-number // ant-input-number
.@{input-number-prefix-cls} { .@{input-number-prefix-cls} {
border-color: @warning-color; border-color: @warning-color;
@ -359,6 +364,11 @@ form {
color: @error-color; color: @error-color;
} }
// ant-timepicker
.@{timepicker-prefix-cls}-picker-icon:after {
color: @error-color;
}
// ant-input-number // ant-input-number
.@{input-number-prefix-cls} { .@{input-number-prefix-cls} {
border-color: @error-color; border-color: @error-color;

2
style/components/index.less

@ -4,6 +4,7 @@
@import "progress"; @import "progress";
@import "select"; @import "select";
@import "datepicker"; @import "datepicker";
@import "timepicker";
@import "dialog"; @import "dialog";
@import "confirm"; @import "confirm";
@import "tabs"; @import "tabs";
@ -36,4 +37,3 @@
@import "timeline"; @import "timeline";
@import "spin"; @import "spin";
@import "calendar"; @import "calendar";
@import "timepicker";

Loading…
Cancel
Save