fix error controls style

pull/3874/head
afc163 8 years ago
parent 489a62b139
commit 4f7eff39fd

@ -341,20 +341,18 @@ form {
.@{ant-prefix}-select { .@{ant-prefix}-select {
&-selection { &-selection {
border-color: @warning-color; border-color: @warning-color;
.active(@warning-color);
} }
&-arrow { &-open .@{ant-prefix}-select-selection,
color: @warning-color; &-focused .@{ant-prefix}-select-selection {
.active(@warning-color);
} }
} }
//datepicker // arrow and icon
.@{ant-prefix}-calendar-picker-icon:after { .@{ant-prefix}-calendar-picker-icon:after,
color: @warning-color; .@{ant-prefix}-picker-icon:after,
} .@{ant-prefix}-select-arrow,
.@{ant-prefix}-cascader-picker-arrow {
//timepicker
.@{ant-prefix}-time-picker-icon:after {
color: @warning-color; color: @warning-color;
} }
@ -385,23 +383,17 @@ form {
&-selection { &-selection {
border-color: @error-color; border-color: @error-color;
} }
&-open .@{ant-prefix}-select-selection,
&-focused &-selection { &-focused .@{ant-prefix}-select-selection {
.active(@error-color); .active(@error-color);
} }
&-arrow {
color: @error-color;
}
}
//datepicker
.@{ant-prefix}-calendar-picker-icon:after {
color: @error-color;
} }
//timepicker // arrow and icon
.@{ant-prefix}-picker-icon:after { .@{ant-prefix}-calendar-picker-icon:after,
.@{ant-prefix}-picker-icon:after,
.@{ant-prefix}-select-arrow,
.@{ant-prefix}-cascader-picker-arrow {
color: @error-color; color: @error-color;
} }

Loading…
Cancel
Save