index.less 575 Bytes
Newer Older
dengxiaofeng's avatar
dengxiaofeng committed
1 2
@import '~antd/es/style/themes/default.less';

dengxiaofeng's avatar
dengxiaofeng committed
3 4
.headerSearch {
  .input {
dengxiaofeng's avatar
dengxiaofeng committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
    width: 0;
    min-width: 0;
    overflow: hidden;
    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;
    }
dengxiaofeng's avatar
dengxiaofeng committed
25
    &.show {
dengxiaofeng's avatar
dengxiaofeng committed
26 27 28 29 30
      width: 210px;
      margin-left: 8px;
    }
  }
}