index.less 612 Bytes
Newer Older
jim's avatar
jim committed
1
@import '~antd/lib/style/themes/default.less';
afc163's avatar
afc163 committed
2

afc163's avatar
afc163 committed
3 4 5 6
.headerSearch {
  :global(.anticon-search) {
    cursor: pointer;
    font-size: 16px;
7
  }
afc163's avatar
afc163 committed
8
  .input {
jim's avatar
jim committed
9
    transition: width 0.3s, margin-left 0.3s;
afc163's avatar
afc163 committed
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
    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;
    }
31 32
  }
}