2017-12-06 10:54:20 +00:00
|
|
|
@import "../../style/themes/default";
|
|
|
|
@import "../../style/mixins/index";
|
|
|
|
@import "../../button/style/mixin";
|
|
|
|
@import "./mixin";
|
|
|
|
|
2018-01-15 10:54:26 +00:00
|
|
|
@search-prefix: ~"@{ant-prefix}-input-search";
|
2017-12-06 10:54:20 +00:00
|
|
|
|
2018-01-15 10:54:26 +00:00
|
|
|
.@{search-prefix} {
|
|
|
|
&-icon {
|
|
|
|
color: @text-color-secondary;
|
2018-09-05 13:28:54 +00:00
|
|
|
cursor: pointer;
|
|
|
|
transition: all .3s;
|
|
|
|
&:hover {
|
|
|
|
color: #333;
|
|
|
|
}
|
2017-12-06 10:54:20 +00:00
|
|
|
}
|
|
|
|
|
2018-01-15 10:54:26 +00:00
|
|
|
&:not(&-small) > .@{ant-prefix}-input-suffix {
|
|
|
|
right: @control-padding-horizontal;
|
2017-12-06 10:54:20 +00:00
|
|
|
}
|
|
|
|
|
2018-01-15 10:54:26 +00:00
|
|
|
> .@{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;
|
2017-12-06 10:54:20 +00:00
|
|
|
}
|
|
|
|
}
|
2018-01-15 10:54:26 +00:00
|
|
|
|
|
|
|
&.@{search-prefix}-enter-button > .@{ant-prefix}-input {
|
|
|
|
padding-right: 46px;
|
2017-12-06 10:54:20 +00:00
|
|
|
}
|
2018-01-15 10:54:26 +00:00
|
|
|
|
|
|
|
&.@{search-prefix}-enter-button > .@{ant-prefix}-input-suffix {
|
|
|
|
right: 0;
|
2017-12-06 10:54:20 +00:00
|
|
|
}
|
|
|
|
}
|