@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; } } }