hc-components-test
Version:
基于react的通用组件库
33 lines (31 loc) • 579 B
text/less
@import "../../theme.less";
.j-com-headerSearch {
.anticon-search {
cursor: pointer;
font-size: 16px;
}
.input {
transition: width .3s, margin-left .3s;
width: 0;
background: transparent;
border-radius: 0;
.ant-select-selection {
background: transparent;
}
input {
border: 0;
padding-left: 0;
padding-right: 0;
box-shadow: none ;
}
&,
&:hover,
&:focus {
border-bottom: 1px solid @border-color-base;
}
&.show {
width: 210px;
margin-left: 8px;
}
}
}