ant-design/components/input/style/search-input.less

35 lines
663 B
Plaintext
Raw Normal View History

@import '../../style/themes/index';
2018-12-07 20:02:01 +08:00
@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
.@{search-prefix} {
&-icon {
color: @text-color-secondary;
cursor: pointer;
2018-12-07 20:02:01 +08:00
transition: all 0.3s;
&:hover {
2019-12-05 00:04:50 +08:00
color: @input-icon-hover-color;
}
2016-11-24 15:50:31 +08:00
}
2019-02-21 12:08:35 +08:00
&-enter-button {
2019-02-26 15:04:18 +08:00
input {
border-right: 0;
}
& + .@{ant-prefix}-input-group-addon,
2019-02-26 15:04:18 +08:00
input + .@{ant-prefix}-input-group-addon {
2019-02-21 12:08:35 +08:00
padding: 0;
border: 0;
2019-02-21 12:08:35 +08:00
.@{search-prefix}-button {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
}
2016-11-24 15:50:31 +08:00
}
}