mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-10 07:49:38 +08:00
c2b034267b
* feat: selectMode 支持 borderMode 配置 * TransferPicker 也补充一下
54 lines
1.0 KiB
SCSS
54 lines
1.0 KiB
SCSS
.#{$ns}InputBox {
|
|
@include input-input();
|
|
@include input-border();
|
|
|
|
&--inline {
|
|
display: inline-flex;
|
|
}
|
|
|
|
> input[readonly] {
|
|
cursor: inherit;
|
|
}
|
|
|
|
&.is-error {
|
|
border-color: var(--Form-input-onError-borderColor);
|
|
background: var(--Form-input-onError-bg);
|
|
}
|
|
|
|
&.is-focused {
|
|
border-color: var(--Form-input-onFocused-borderColor);
|
|
box-shadow: var(--Form-input-boxShadow);
|
|
background: var(--Form-input-onFocused-bg);
|
|
}
|
|
|
|
&.is-clickable:hover {
|
|
border-color: var(--Form-input-onFocused-borderColor);
|
|
box-shadow: var(--Form-input-boxShadow);
|
|
cursor: pointer;
|
|
}
|
|
|
|
&.is-error.is-focused {
|
|
border-color: var(--Form-input-onError-borderColor);
|
|
}
|
|
|
|
&.is-disabled {
|
|
color: var(--text--muted-color);
|
|
background: var(--Form-input-onDisabled-bg);
|
|
border-color: var(--Form-input-onDisabled-borderColor);
|
|
}
|
|
|
|
&-clear {
|
|
@include input-clear();
|
|
}
|
|
|
|
> svg {
|
|
display: inline-block;
|
|
width: 14px;
|
|
color: var(--icon-color);
|
|
}
|
|
|
|
> a {
|
|
cursor: pointer;
|
|
}
|
|
}
|