mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
fix error controls style
This commit is contained in:
parent
489a62b139
commit
4f7eff39fd
@ -341,20 +341,18 @@ form {
|
||||
.@{ant-prefix}-select {
|
||||
&-selection {
|
||||
border-color: @warning-color;
|
||||
}
|
||||
&-open .@{ant-prefix}-select-selection,
|
||||
&-focused .@{ant-prefix}-select-selection {
|
||||
.active(@warning-color);
|
||||
}
|
||||
&-arrow {
|
||||
color: @warning-color;
|
||||
}
|
||||
}
|
||||
|
||||
//datepicker
|
||||
.@{ant-prefix}-calendar-picker-icon:after {
|
||||
color: @warning-color;
|
||||
}
|
||||
|
||||
//timepicker
|
||||
.@{ant-prefix}-time-picker-icon:after {
|
||||
// arrow and icon
|
||||
.@{ant-prefix}-calendar-picker-icon:after,
|
||||
.@{ant-prefix}-picker-icon:after,
|
||||
.@{ant-prefix}-select-arrow,
|
||||
.@{ant-prefix}-cascader-picker-arrow {
|
||||
color: @warning-color;
|
||||
}
|
||||
|
||||
@ -385,23 +383,17 @@ form {
|
||||
&-selection {
|
||||
border-color: @error-color;
|
||||
}
|
||||
|
||||
&-focused &-selection {
|
||||
&-open .@{ant-prefix}-select-selection,
|
||||
&-focused .@{ant-prefix}-select-selection {
|
||||
.active(@error-color);
|
||||
}
|
||||
|
||||
&-arrow {
|
||||
color: @error-color;
|
||||
}
|
||||
}
|
||||
|
||||
//datepicker
|
||||
.@{ant-prefix}-calendar-picker-icon:after {
|
||||
color: @error-color;
|
||||
}
|
||||
|
||||
//timepicker
|
||||
.@{ant-prefix}-picker-icon:after {
|
||||
// arrow and icon
|
||||
.@{ant-prefix}-calendar-picker-icon:after,
|
||||
.@{ant-prefix}-picker-icon:after,
|
||||
.@{ant-prefix}-select-arrow,
|
||||
.@{ant-prefix}-cascader-picker-arrow {
|
||||
color: @error-color;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user