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

44 lines
824 B
Plaintext
Raw Normal View History

@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: @input-icon-hover-color;
}
}
&-enter-button {
input {
border-right: 0;
2020-03-09 00:09:32 +08:00
&:hover,
&:focus {
border-color: @input-hover-border-color;
}
}
&.@{ant-prefix}-input-affix-wrapper {
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;
}
}
}
}