mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-23 09:54:16 +08:00
dab6f43c02
* Add enterButton for Input.Search close #7596 * update snapshot
27 lines
580 B
Plaintext
27 lines
580 B
Plaintext
@import "../../style/themes/default";
|
|
@import "../../style/mixins/index";
|
|
@import "../../button/style/mixin";
|
|
@import "./mixin";
|
|
|
|
@search-prefix: ~"@{ant-prefix}-input-search";
|
|
|
|
.@{search-prefix} {
|
|
&-icon {
|
|
pointer-events: none;
|
|
color: @text-color-secondary;
|
|
}
|
|
|
|
> .@{ant-prefix}-input-suffix > .@{search-prefix}-button {
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
}
|
|
|
|
&.@{search-prefix}-enter-button > .@{ant-prefix}-input {
|
|
padding-right: 46px;
|
|
}
|
|
|
|
&.@{search-prefix}-enter-button > .@{ant-prefix}-input-suffix {
|
|
right: 0;
|
|
}
|
|
}
|