// grading-group-manage
.grading-group-manage {
  .ivu-tag {
    cursor: move;
  }
}
.group-user {
  min-height: 100px;
}
.group-list {
  font-size: 0;
  .group-box {
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
    width: 400px;
    margin: 10px;
    background-color: #fff;
    border-radius: 5px;
  }
  .group-head {
    height: 40px;
    border-bottom: 1px solid @borderGray;
  }
  .group-name {
    padding: 10px;
    float: left;
  }
  .group-del {
    float: right;
    height: 40px;
    width: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 18px;
    cursor: pointer;

    &:hover {
      color: @hoverPink;
    }
  }
  .group-body {
    padding: 15px;
    height: 200px;
  }
  .group-drag {
    height: 100%;
  }
}
.group-action {
  text-align: center;
  margin-top: 20px;
  .ivu-btn {
    width: 100px;
  }
}

// grading-progress
.progress-title {
  margin-bottom: 15px;
  > span {
    margin-right: 15px;
  }
}
// progress-line
.progress-line {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 20px;
  text-align: center;
  border-radius: 5px;
  overflow: hidden;
  .progress-part {
    position: absolute;
    height: 100%;
    > span {
      display: inline-block;
      vertical-align: middle;
      line-height: 1;
    }
  }
  .progress-rate {
    left: 0;
    background-color: @green;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
  }
  .progress-remain {
    right: 0;
    background-color: @unactBtn;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
  }
}

// grade-step
.grade-step {
  position: fixed;
  top: 50px;
  left: 0;
  width: 100%;
  z-index: 99;
  height: 70px;
  overflow: auto;
  .table {
    background-color: #fff;
    margin: 0;
    td {
      padding: 8px 2px;
      cursor: pointer;
      &:hover {
        color: @mainColor;
      }
      &.step-analysis {
        width: 60px;
        font-size: 30px;
      }
      &.step-act {
        border-color: @mainColor;
        background-color: @mainColor;
        color: #fff;
      }
    }
  }
  .step-item {
    font-size: 12px;
    line-height: 1;
    .step-name {
      font-size: 16px;
      font-weight: 600;
      margin: 6px 0;
    }
  }
}

// grading-detail
.grading-detail {
  .detail-body {
    margin: -20px -20px 0;
    padding-top: 70px;

    min-height: 500px;

    &-2 {
      .detail-papers-list {
        width: 100%;
      }
    }
  }
  .detail-action {
    position: fixed;
    top: 120px;
    right: 0;
    bottom: 0;
    z-index: 98;
    width: 300px;
    padding: 15px;
    background-color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .detail-papers {
    display: flex;
    margin-right: 300px;

    &-carousel {
      padding: 0 0 15px 0;
    }
    &-list {
      padding: 0 0 15px 0;
      .image-view-list {
        min-height: 500px;
      }
    }

    &-col-3 {
      .detail-papers-carousel {
        width: 33.33%;
      }
      .detail-papers-list {
        width: 66.66%;
      }
    }
    &-col-4 {
      .detail-papers-carousel {
        width: 25%;
      }
      .detail-papers-list {
        width: 75%;
      }
    }
    &-col-5 {
      .detail-papers-carousel {
        width: 20%;
      }
      .detail-papers-list {
        width: 80%;
      }
    }
    &-col-6 {
      .detail-papers-carousel {
        width: 16.66%;
      }
      .detail-papers-list {
        width: 83.33%;
      }
    }

    .ivu-page {
      text-align: center;
    }
  }
  .detail-filter {
    margin-right: 300px;
    padding-top: 15px;
    text-align: center;
  }
  &-image-preview {
    .ivu-modal-mask,
    .ivu-modal-wrap {
      left: 0;
      bottom: 0;
      top: 120px;
      right: 300px;
    }
  }
}

// .grade-history-paper
.grade-history-paper {
  width: 100%;
  padding: 10px;

  .carousel-title {
    text-align: center;
    height: 32px;
    line-height: 32px;
    margin-bottom: 5px;
    > h3 {
      font-size: 16px;
    }
  }
}
// grade-standard-paper
.grade-standard-paper {
  position: relative;
  .carousel-title {
    text-align: center;
    margin-bottom: 5px;

    > h3 {
      display: inline-block;
      vertical-align: middle;
      margin-right: 15px;
    }
    .ivu-select {
      width: 80px;
    }
  }
  .carousel-loading {
    position: absolute;
    top: 32px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background-color: rgba(255, 255, 255, 0.3);
    text-align: center;

    > i {
      font-size: 24px;
      position: relative;
      top: 50%;
      margin-top: -15px;
    }
  }
}

// .grade-action
.grade-action {
  text-align: center;

  .action-search {
    margin-bottom: 15px;
    text-align: left;
  }
  .action-paper-state {
    font-size: 26px;
  }

  .action-paper-info {
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 15px;
  }

  .action-grade-info {
    margin-bottom: 15px;
    .grade-info-name {
      width: 60px;
      height: 60px;
      margin: 0 auto;
      font-size: 44px;
      line-height: 60px;
      text-align: center;
      background-color: @mainColor;
      border-radius: 50%;
      color: #fff;
    }
    .grade-info-range {
      font-size: 16px;

      > span {
        margin: 0 2px;
      }
    }
  }
  .action-grade-list {
    font-size: 0;
    &-item {
      display: inline-block;
      vertical-align: top;
      width: 33.33%;
      padding: 10px;
      font-size: 14px;

      > p {
        font-size: 16px;
        &:first-child {
          font-size: 22px;
        }
      }
    }
  }
  .action-grade-history {
    > h3 {
      font-size: 16px;
    }
  }
}
.mark-action {
  .mark-info {
    font-size: 30px;
  }
  .action-mark-list {
    .action-grade-list-item {
      padding: 5px;
      width: 20%;
      > p {
        margin: 0 auto;
        width: 40px;
        height: 40px;
        line-height: 40px;
        border-radius: 50%;
        background-color: #e0e0e0;
        cursor: pointer;
        &:hover {
          background-color: @mainColor;
          color: #fff;
        }
      }
    }
  }
}

// .grade-analysis
.grade-analysis {
  width: 900px;
  margin: 15px auto;
}

// mark-task
.mark-task {
  &-action {
    text-align: center;

    > span {
      margin-right: 15px;
    }
  }
}
