index.less 759 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
@import "~antd/lib/style/themes/default.less";
@import "../../utils/utils.less";

.search {
  display: inline-block;
  :global {
    .ant-input-group-addon {
      border: none;
      padding: 0;
    }
    .ant-input-group .ant-input {
      width: 522px;
    }
  }
  input {
    border-right: none;
    height: 40px;
    line-height: 40px;
  }
  button {
    border-radius: 0 @border-radius-base @border-radius-base 0;
    width: 86px;
    height: 40px;
  }
}

@media screen and (max-width: @screen-sm) {
  .search {
    :global {
      .ant-input-group .ant-input {
        width: 300px;
      }
    }
  }
}

@media screen and (max-width: @screen-xs) {
  .search {
    :global {
      .ant-input-group .ant-input {
        width: 200px;
      }
    }
  }
}