42 lines
655 B
CSS

@import '../common/style/var.css';
.van-search {
display: flex;
padding: 7px 15px;
align-items: center;
box-sizing: border-box;
&__field {
flex: 1;
border-radius: 4px;
&__left-icon {
color: $gray-dark;
}
}
&--show-action {
padding-right: 0;
}
input {
&::-webkit-search-decoration,
&::-webkit-search-cancel-button,
&::-webkit-search-results-button,
&::-webkit-search-results-decoration {
display: none;
}
}
&__action {
padding: 0 10px;
font-size: 14px;
line-height: 30px;
color: $gray-darker;
&:active {
background-color: $active-color;
}
}
}