mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-26 04:00:13 +08:00
98fc8a14e0
* add override * add override support * update doc
36 lines
678 B
Plaintext
36 lines
678 B
Plaintext
@import '../../style/themes/index';
|
|
@import '../../style/mixins/index';
|
|
@import '../../button/style/mixin';
|
|
@import './mixin';
|
|
|
|
@search-prefix: ~'@{ant-prefix}-input-search';
|
|
|
|
.@{search-prefix} {
|
|
&-icon {
|
|
color: @text-color-secondary;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
&:hover {
|
|
color: fade(@black, 80%);
|
|
}
|
|
}
|
|
|
|
&-enter-button {
|
|
input {
|
|
border-right: 0;
|
|
}
|
|
|
|
& + .@{ant-prefix}-input-group-addon,
|
|
input + .@{ant-prefix}-input-group-addon {
|
|
padding: 0;
|
|
border: 0;
|
|
|
|
.@{search-prefix}-button {
|
|
width: 100%;
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|