$--color-primary: #3377FF;

body {
  font-family: '微软雅黑';
}

._config-pg-form {
  width: 100%;
  min-height: 100%;
  box-sizing: border-box;
}

._config-pg-form-item {
  .el-form-item {
    margin-bottom: 10px;
    margin-top: 10px;
  }

  .el-form-item__label {
    height: 30px;
    line-height: 30px;
  }
}

._header {
  width: 100%;
  height: 50px;
  border-bottom: 1px solid #f8f8f8;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 14px;
  box-sizing: border-box;

  p {
    color: #333333;
    font-size: 15px;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    align-items: center;

    &::before {
      display: flex;
      content: "";
      width: 4px;
      height: 16px;
      border-radius: 2px;
      background-color: $--color-primary;
      margin-right: 8px;
    }
  }
}

._config-pg-title {
  font-size: 14px;
  color: #666;
  border-left: 5px solid $--color-primary;
  padding: 0 12px;
  box-sizing: border-box;
  margin: 0;
}

.flex-full {
  width: 100% !important;
}

.generate {
  width: 100%;

  ._search-view {
    .el-form-item {
      margin: 0;
    }

    .el-form-item .el-form-item__label {
      margin: 3px 0;
      text-indent: 10px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .el-form-item .el-form-item__content {
      margin: 3px 0;
    }

    .el-rate {
      margin: 6px 0;
    }
  }

  .pg-button {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .pg-header {
    width: 100%;
    height: 50px;
    border-bottom: 1px solid #f8f8f8;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
    background-color: #ffffff;

    p {
      color: #333333;
      font-size: 15px;
      font-weight: bold;
      display: flex;
      flex-direction: row;
      align-items: center;

      &::before {
        display: flex;
        content: "";
        width: 4px;
        height: 16px;
        border-radius: 2px;
        background-color: $--color-primary;
        margin-right: 8px;
      }
    }
  }

  .el-table--border {
    border: 1px solid #f8f8f8;
    border-right: none;
    border-bottom: none;
  }

  .el-table th.is-leaf,
  .el-table td {
    border-bottom: 1px solid #f8f8f8;
  }

  .el-table--border th,
  .el-table--border td {
    border-right: 1px solid #f8f8f8;
  }

  .el-table th {
    background-color: #f8faff;
  }

  .el-table th>.cell {
    color: #666666;
    font-size: 14px;
    font-weight: 600;
  }

  .el-table td>.cell {
    color: #333333;
    font-size: 14px;
  }

  .el-table--border::after {
    width: 0;
  }

  .el-table::before {
    height: 0;
  }

  .el-pagination.is-background .btn-prev,
  .el-pagination.is-background .btn-next,
  .el-pagination.is-background .el-pager li {
    border-radius: 5px;
    background-color: #ffffff;
    border: 1px solid #E5E5E5;
    line-height: 25px;
    font-weight: normal;
  }

  .el-pagination.is-background .el-pager li:not(.disabled).active {
    border: 1px solid transparent;
  }

  .pg-form {
    margin: 10px;
    background-color: #ffffff;
    padding: 10px 0;

    .action {
      width: 100%;
      height: 40px;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: flex-start;
      padding: 0 10px;
      box-sizing: border-box;
    }

    .el-form-item {
      margin-top: 6px;
      padding-right: 10px;

      .el-form-item__label {
        padding-left: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }

    .el-rate {
      margin: 6px 0;
    }
  }
}

.generate-horizontal {
  display: flex;
  flex-direction: row;
  align-items: center;
}