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

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 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
  .input {
    transition: width .3s, margin-left .3s;
    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
  }
}