ant-design-vue/components/input/style/search-input.less
zkwolf b07190e13d
feat: dark theme (#3410)
* chore: update style

* chore: add dark css build

* test: update snapshot

* chore: remove compact var

* chore: update style

* test: update snapshot
2021-01-14 17:33:17 +08:00

35 lines
663 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: @input-icon-hover-color;
}
}
&-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;
}
}
}
}