初始化 antd-pro
This commit is contained in:
32
admin-web/src/components/HeaderSearch/index.less
Normal file
32
admin-web/src/components/HeaderSearch/index.less
Normal file
@@ -0,0 +1,32 @@
|
||||
@import '~antd/lib/style/themes/default.less';
|
||||
|
||||
.headerSearch {
|
||||
:global(.anticon-search) {
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.input {
|
||||
width: 0;
|
||||
background: transparent;
|
||||
border-radius: 0;
|
||||
transition: width 0.3s, margin-left 0.3s;
|
||||
:global(.ant-select-selection) {
|
||||
background: transparent;
|
||||
}
|
||||
input {
|
||||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
border: 0;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
border-bottom: 1px solid @border-color-base;
|
||||
}
|
||||
&.show {
|
||||
width: 210px;
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user