mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
styles: 优化部分表单组件报错边框颜色 (#6799)
Co-authored-by: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com>
This commit is contained in:
parent
784d3530bd
commit
288d7bcc79
@ -44,6 +44,11 @@
|
||||
box-shadow: var(--Form-input-boxShadow);
|
||||
}
|
||||
|
||||
.is-error > & {
|
||||
border-color: var(--Form-input-onError-borderColor);
|
||||
background: var(--Form-input-onError-bg);
|
||||
}
|
||||
|
||||
&.is-disabled {
|
||||
background: var(--ColorPicker-onDisabled-bg);
|
||||
color: var(--ColorPicker-onDisabled-color);
|
||||
|
@ -64,6 +64,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
.is-error > & {
|
||||
border-color: var(--Form-input-onError-borderColor);
|
||||
background: var(--Form-input-onError-bg);
|
||||
}
|
||||
|
||||
.#{$ns}DateRangePicker-input {
|
||||
border: none;
|
||||
border-bottom: var(--DateRangePicker-activeCursor-height) solid transparent;
|
||||
|
@ -88,6 +88,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
.is-error > & {
|
||||
border-color: var(--Form-input-onError-borderColor);
|
||||
background: var(--Form-input-onError-bg);
|
||||
}
|
||||
|
||||
&.is-disabled {
|
||||
background: var(--inputDate-disabled-bg-color);
|
||||
border-width: var(--inputDate-disabled-top-border-width)
|
||||
|
@ -246,6 +246,11 @@
|
||||
color: var(--Number-handler-onDisabled-color);
|
||||
}
|
||||
|
||||
.is-error > & {
|
||||
border-color: var(--Form-input-onError-borderColor);
|
||||
background: var(--Form-input-onError-bg);
|
||||
}
|
||||
|
||||
&-disabled {
|
||||
border-color: var(--Form-input-onDisabled-borderColor);
|
||||
.#{$ns}Number-input {
|
||||
|
@ -104,6 +104,10 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
&.is-error > .#{$ns}ResultBox {
|
||||
border-color: var(--Form-input-onError-borderColor);
|
||||
background: var(--Form-input-onError-bg);
|
||||
}
|
||||
}
|
||||
|
||||
.#{$ns}TagControl-popover {
|
||||
|
Loading…
Reference in New Issue
Block a user