@import '~antd/es/style/themes/default.less';

.supplier-form {
  background: #ffffff;

  .number-right {
    position: absolute;
    right: 26px;
  }

  .hidden-others {
    display: none;
  }

  .factory-info {
    border: 1px dashed #e6e6e6;
    padding: 12px 12px 0 0;
    margin-bottom: 16px;
    position: relative;

    .factory-info-close {
      position: absolute;
      right: 0;
      top: -10px;
      color: red;
      cursor: pointer;
    }
  }

  .img-bottom-divider {
    position: relative;
    height: 20px;

    :global {
      .ant-divider-horizontal {
        position: absolute;
        top: -30px;
      }
    }
  }

  .brand-extra {
    text-align: right;
    width: 550px;

    .select-field {
      width: calc(100% - 120px);
      display: inline-block;
      margin-right: 20px;
    }
  }

  .operate-btns {
    text-align: center;
    padding: 8px 14px;

    .ant-btn {
      margin-left: 8px;
    }
  }

  .ant-card-extra {
    .ant-btn.ant-btn-link {
      padding: 0;
    }
  }
  .ant-input-number-handler-wrap {
    opacity: 1;
  }
  .ant-row {
    .ant-col:first-child {
      z-index: 2;
    }
    .ant-col:not(:first-child) {
      z-index: 1;
    }
  }
  .ant-card-type-inner .ant-card-head {
    background: #ffffff;
  }
  .ant-card-bordered {
    border: 0;
  }
  .ant-form-item-label {
    overflow: unset;
  }
  .ant-form-item-required:before {
    position: absolute;
    left: -10px;
    top: 4px;
  }
  .ant-card-head-title {
    padding: 12px 0 12px 12px;
    position: relative;
  }
  .ant-card-head-title:before {
    content: '';
    height: 26px;
    background-color: @primary-color;
    width: 5px;
    display: inline-block;
    position: absolute;
    top: 11px;
    left: 0;
  }
  .ant-card-head {
    border: 0;
  }
}

.disabledUpload {
  .disabled-upload .anticon.anticon-close {
    display: none;
  }
}
.brandSelect {
  span[role='img'] {
    margin-right: 6px;
  }
}
