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.
ant-design-vue/components/input/style/search-input.less

34 lines
751 B

7 years ago
@import "../../style/themes/default";
@import "../../style/mixins/index";
@import "../../button/style/mixin";
@import "./mixin";
7 years ago
@search-prefix: ~"@{ant-prefix}-input-search";
7 years ago
7 years ago
.@{search-prefix} {
&-icon {
pointer-events: none;
color: @text-color-secondary;
7 years ago
}
7 years ago
&:not(&-small) > .@{ant-prefix}-input-suffix {
right: @control-padding-horizontal;
7 years ago
}
7 years ago
> .@{ant-prefix}-input-suffix > .@{search-prefix}-button {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
> .@{iconfont-css-prefix}-search {
font-size: @font-size-lg;
7 years ago
}
}
7 years ago
&.@{search-prefix}-enter-button > .@{ant-prefix}-input {
padding-right: 46px;
7 years ago
}
7 years ago
&.@{search-prefix}-enter-button > .@{ant-prefix}-input-suffix {
right: 0;
7 years ago
}
}