mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
40 lines
774 B
Plaintext
40 lines
774 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 {
|
|
& when (@theme = default) {
|
|
color: fade(@black, 85%);
|
|
}
|
|
& when (@theme = dark) {
|
|
color: fade(@white, 85%);
|
|
}
|
|
}
|
|
}
|
|
|
|
&-enter-button {
|
|
input {
|
|
border-right: 0;
|
|
}
|
|
|
|
& + .@{ant-prefix}-input-group-addon,
|
|
input + .@{ant-prefix}-input-group-addon {
|
|
padding: 0;
|
|
border: 0;
|
|
|
|
.@{search-prefix}-button {
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|