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