fix: time-picker style, close #2973 (#3028)

This commit is contained in:
ddcat1115 2016-09-13 17:06:11 +08:00 committed by Benjy Cui
parent c897243d33
commit e19a0d500c

View File

@ -341,8 +341,9 @@ form {
color: @warning-color;
}
//input-number
.ant-input-number {
//input-number, timepicker
.ant-input-number,
.ant-time-picker-input {
border-color: @warning-color;
box-shadow: 0 0 0 2px fade(@warning-color, 20%);
&:not([disabled]):hover {
@ -377,12 +378,13 @@ form {
}
//timepicker
.ant-time-picker-picker-icon:after {
.ant-time-picker-icon:after {
color: @error-color;
}
//input-number
.ant-input-number {
//input-number, timepicker
.ant-input-number,
.ant-time-picker-input {
border-color: @error-color;
box-shadow: 0 0 0 2px fade(@error-color, 20%);
&:not([disabled]):hover {