ant-design/components/transfer/style/status.less
MadCcc ca15cc9b0a
feat: transfer support status (#34098)
* feat: transfer support status

* docs: update demo
2022-02-17 16:43:33 +08:00

32 lines
487 B
Plaintext

@import '../../input/style/mixin';
@transfer-prefix-cls: ~'@{ant-prefix}-transfer';
.status-color(@color) {
.@{transfer-prefix-cls}-list {
border-color: @color;
&-search:not([disabled]) {
border-color: @input-border-color;
&:hover {
.hover();
}
&:focus {
.active();
}
}
}
}
.@{transfer-prefix-cls} {
&-status-error {
.status-color(@error-color);
}
&-status-warning {
.status-color(@warning-color);
}
}