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

29 lines
547 B
Plaintext
Raw Normal View History

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
.@{search-prefix} {
&-icon {
color: @text-color-secondary;
cursor: pointer;
2018-12-07 20:02:01 +08:00
transition: all 0.3s;
&:hover {
color: fade(@black, 80%);
}
2016-11-24 15:50:31 +08:00
}
.@{ant-prefix}-input-group-addon {
border: 0;
padding: 0;
.@{search-prefix}-button {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
width: 100%;
}
2016-11-24 15:50:31 +08:00
}
}