.sku-editor-item {
  display: flex;
  .label-text {
    font-size: 14px;
    font-weight: 700;
    color: #606266;
  }
}
.spec-list {
  border: 1px solid #EBEEF5;
  box-sizing: border-box;
  margin-bottom: 20px;
  padding: 20px;
  flex-grow: 1;
  .spec-list-tip {
    display: flex;
    .tip-label {
      line-height: normal;
    }
    .tip-content {
      flex-grow: 1;
      color: #666666;
      font-size: 12px;
      font-weight: normal;
      line-height: normal;
      margin: 0 0 10px;
    }
  }
  /deep/ {
    .el-form-item:last-child {
      margin-bottom: 0;
    }
    .el-form-item__content {
      display: flex;
      align-items: center;
    }
    .el-select {
      .el-input__inner {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
      }
    }
    .del-btn {
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
      border-left: none;
      border-color: #DCDFE6;
      background-color: #F5F7FA;
      color: #909399;
      vertical-align: middle;
      display: table-cell;
      position: relative;
      white-space: nowrap;
    }
  }
  .spec-name {
    background-color: #f8f8f8;
    padding: 6px 10px;
    /deep/ {
      .el-checkbox {
        margin-left: 10px;
      }
    }
  }
  .spec-values {
    border-bottom: 1px dashed #cccccc;
    padding: 6px 10px 18px;
    &.no-spec-val .has-img .el-button {
      margin-bottom: 0 !important;
    }
    .spec-value-item {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      &.has-img .el-button {
        margin-bottom: 173px;
      }
    }
    .spec-value-select {
      display: flex;
      align-items: center;
    }
    /deep/ {
      .el-form-item__content {
        flex-wrap: wrap;
      }
      .el-button {
        transition: none;
      }
      .spec-value-item {
        margin-bottom: 10px;
        margin-right: 20px;
      }
      .el-select {
        width: 120px;
      }
      .spec-value-upload {
        width: 163px;
        height: 163px;
        overflow: hidden;
        margin-top: 10px;
        border-radius: 4px;
        &:hover {
          border-color: #409EFF;
        }
        .el-upload {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 100%;
          height: 100%;
          .el-icon-plus {
            font-size: 20px;
          }
        }
        .el-upload-list {
          width: 100%;
          height: 100%;
          .el-upload-list__item {
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 0;
            margin: 0;
            transition: none;
          }
        }
      }
      .spec-value-form-item {
        &.is-error {
          .el-upload {
            border-color: #F56C6C;
          }
        }
        .el-form-item__error {
          display: none;
        }
      }
    }
  }
}
.sku-table {
  flex-grow: 1;
  /deep/ {
    .el-input__inner {
      text-align: center;
    }
    .el-form-item {
      margin-top: 18px;
      &.hide-message {
        margin: 0 !important;
      }
    }
    .batch-btn {
      cursor: pointer;
    }
  }
}
