You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

30 lines
674 B

@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;
}
&:not(&-small) > .@{ant-prefix}-input-suffix {
right: @control-padding-horizontal;
}
> .@{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;
}
}