mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 11:40:04 +08:00
5cd01d0470
* feat(Input.Search): add loading prop * fix: review change * optimize input search loading prop doc * fix: ci fail and onSearch disabled when loading
35 lines
657 B
Plaintext
35 lines
657 B
Plaintext
@import '../../style/themes/index';
|
|
@import '../../style/mixins/index';
|
|
@import '../../button/style/mixin';
|
|
@import './mixin';
|
|
|
|
@search-prefix: ~'@{ant-prefix}-input-search';
|
|
|
|
.@{search-prefix} {
|
|
&-icon {
|
|
color: @text-color-secondary;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
&:hover {
|
|
color: fade(@black, 80%);
|
|
}
|
|
}
|
|
|
|
&-enter-button {
|
|
input {
|
|
border-right: 0;
|
|
}
|
|
|
|
& + .@{ant-prefix}-input-group-addon,
|
|
input + .@{ant-prefix}-input-group-addon {
|
|
padding: 0;
|
|
border: 0;
|
|
|
|
.@{search-prefix}-button {
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|