4 changed files with 42 additions and 24 deletions
@ -1,26 +1,32 @@ |
|||
@import "~antd/lib/style/themes/default.less"; |
|||
|
|||
.input { |
|||
transition: width .3s, margin-left .3s; |
|||
width: 0; |
|||
background: transparent; |
|||
border-radius: 0; |
|||
:global(.ant-select-selection) { |
|||
background: transparent; |
|||
} |
|||
input { |
|||
border: 0; |
|||
padding-left: 0; |
|||
padding-right: 0; |
|||
box-shadow: none !important; |
|||
.headerSearch { |
|||
:global(.anticon-search) { |
|||
cursor: pointer; |
|||
font-size: 16px; |
|||
} |
|||
&, |
|||
&:hover, |
|||
&:focus { |
|||
border-bottom: 1px solid @border-color-base; |
|||
} |
|||
&.show { |
|||
width: 210px; |
|||
margin-left: 8px; |
|||
.input { |
|||
transition: width .3s, margin-left .3s; |
|||
width: 0; |
|||
background: transparent; |
|||
border-radius: 0; |
|||
:global(.ant-select-selection) { |
|||
background: transparent; |
|||
} |
|||
input { |
|||
border: 0; |
|||
padding-left: 0; |
|||
padding-right: 0; |
|||
box-shadow: none !important; |
|||
} |
|||
&, |
|||
&:hover, |
|||
&:focus { |
|||
border-bottom: 1px solid @border-color-base; |
|||
} |
|||
&.show { |
|||
width: 210px; |
|||
margin-left: 8px; |
|||
} |
|||
} |
|||
} |
|||
|
|||
Loading…
Reference in new issue