2018-12-07 20:02:01 +08:00
|
|
|
@import '../../style/themes/default';
|
|
|
|
@import '../../style/mixins/index';
|
|
|
|
@import '../../button/style/mixin';
|
|
|
|
@import './mixin';
|
2016-05-13 11:45:09 +08:00
|
|
|
|
2018-12-07 20:02:01 +08:00
|
|
|
@search-prefix: ~'@{ant-prefix}-input-search';
|
2016-11-24 15:50:31 +08:00
|
|
|
|
2017-09-15 17:03:43 +08:00
|
|
|
.@{search-prefix} {
|
|
|
|
&-icon {
|
|
|
|
color: @text-color-secondary;
|
2018-05-26 16:52:33 +08:00
|
|
|
cursor: pointer;
|
2018-12-07 20:02:01 +08:00
|
|
|
transition: all 0.3s;
|
2018-05-26 16:52:33 +08:00
|
|
|
&:hover {
|
2018-12-04 13:11:31 +08:00
|
|
|
color: fade(@black, 80%);
|
2018-05-26 16:52:33 +08:00
|
|
|
}
|
2016-11-24 15:50:31 +08:00
|
|
|
}
|
|
|
|
|
2017-09-27 22:32:49 +08:00
|
|
|
&:not(&-small) > .@{ant-prefix}-input-suffix {
|
|
|
|
right: @control-padding-horizontal;
|
|
|
|
}
|
|
|
|
|
2017-09-15 17:03:43 +08:00
|
|
|
> .@{ant-prefix}-input-suffix > .@{search-prefix}-button {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
2017-11-06 21:28:51 +08:00
|
|
|
> .@{iconfont-css-prefix}-search {
|
|
|
|
font-size: @font-size-lg;
|
|
|
|
}
|
2016-11-24 15:50:31 +08:00
|
|
|
}
|
|
|
|
|
2019-01-17 16:52:12 +08:00
|
|
|
&.@{search-prefix}-enter-button {
|
|
|
|
display: table;
|
|
|
|
|
|
|
|
> * {
|
|
|
|
display: table-cell;
|
|
|
|
}
|
2017-09-15 17:03:43 +08:00
|
|
|
|
2019-01-17 16:52:12 +08:00
|
|
|
> .@{ant-prefix}-input {
|
|
|
|
.input;
|
|
|
|
width: 100%;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
border-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .@{ant-prefix}-input-suffix {
|
|
|
|
position: static;
|
|
|
|
transform: none;
|
|
|
|
}
|
2016-11-24 15:50:31 +08:00
|
|
|
}
|
|
|
|
}
|