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
.headerSearch {
  :global(.anticon-search) {
    font-size: 16px;
Yu's avatar
Yu committed
6
    cursor: pointer;
7
  }
afc163's avatar
afc163 committed
8 9 10 11
  .input {
    width: 0;
    background: transparent;
    border-radius: 0;
Yu's avatar
Yu committed
12
    transition: width 0.3s, margin-left 0.3s;
afc163's avatar
afc163 committed
13 14 15 16 17
    :global(.ant-select-selection) {
      background: transparent;
    }
    input {
      padding-right: 0;
Yu's avatar
Yu committed
18 19
      padding-left: 0;
      border: 0;
afc163's avatar
afc163 committed
20 21 22 23 24 25 26 27 28 29 30
      box-shadow: none !important;
    }
    &,
    &:hover,
    &:focus {
      border-bottom: 1px solid @border-color-base;
    }
    &.show {
      width: 210px;
      margin-left: 8px;
    }
31 32
  }
}