// work-manage

// work-overview
.overview {
  &-head {
    padding: 20px;
    text-align: center;
    background-color: #fff;
    margin: -20px -20px 0;
  }
  &-title {
    font-size: 30px;
    margin: 20px 0 30px;
  }
  &-actions {
    margin-top: 20px;
  }
  &-body {
    margin-top: 20px;
    font-size: 0;
  }

  &-list {
    font-size: 0;
    > li {
      display: inline-block;
      vertical-align: top;
      font-size: 14px;
      height: 80px;
      width: 20%;
      p {
        &:last-child {
          font-size: 24px;
          margin-top: 5px;
        }
      }
    }
  }
  &-subject {
    font-size: 14px;
    display: inline-block;
    vertical-align: top;
    width: 33.33%;
    padding: 0 10px;
  }

  .subject {
    &-content {
      text-align: center;
      background-color: #fff;
      .overview-list li {
        width: 33.33%;
      }
    }
    &-name,
    &-infos {
      background-color: @mainColor;
      color: #fff;
    }
    &-name {
      font-size: 30px;
      padding: 20px;
    }

    &-actions {
      padding: 20px;
      > p:first-child {
        color: @gray;
        font-size: 16px;
      }
      > p:nth-of-type(2) {
        font-size: 28px;
        padding: 10px 0 40px;
      }
    }
  }
}

// image-action-list
// image-view
.image-view {
  display: inline-block;
  vertical-align: top;
  font-size: 14px;
  padding: 10px;
  width: 300px;
  text-align: center;
  &-act {
    box-shadow: 0 0 1px @mainColor;
  }

  &-title {
    font-size: 16px;
    line-height: 32px;
    margin-bottom: 5px;
  }
  &-contain {
    position: relative;
    height: 0;
    padding-bottom: 100%;

    > img {
      position: absolute;
      max-width: 100%;
      max-height: 100%;
      width: auto;
      height: auto;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      margin: auto;
      border: 5px solid #fff;
      box-shadow: 0 0 1px #000;
      cursor: pointer;
    }
  }
  &-actions {
    margin-top: 10px;
  }
}
.image-view-list {
  font-size: 0;
  .image-view {
    width: 20%;
  }

  &-6 {
    .image-view {
      width: 16.66%;
    }
  }
  &-5 {
    .image-view {
      width: 20%;
    }
  }
  &-4 {
    .image-view {
      width: 25%;
    }
  }
  &-3 {
    .image-view {
      width: 33.33%;
    }
  }
  &-2 {
    .image-view {
      width: 50%;
    }
  }
}

/* paper-carousel */
.paper-carousel {
  position: relative;
  min-height: 40px;

  .carousel-none {
    font-size: 14px;
    text-align: center;
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 8;
    > i {
      font-size: 30px;
    }
  }
  .carousel-btn {
    position: absolute;
    width: 40px;
    height: 40px;
    top: 50%;
    z-index: 9;
    margin-top: -20px;
    text-align: center;
    line-height: 40px;
    font-size: 36px;
    color: @gray;
    cursor: pointer;

    &:hover {
      color: @mainColor;
    }

    &-left {
      left: 0;
    }
    &-right {
      right: 0;
    }
  }
}

// client-param-set
.client-param {
  &-set {
    .part-box {
      height: 100%;
    }
  }
  &-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 40px;
  }
}

// student-score
.student-score {
  &-content {
    min-height: 200px;
  }
}

// inspection-grading
.check-grade {
  margin-right: 300px;
  &-action {
    position: fixed;
    width: 300px;
    top: 50px;
    right: 0;
    bottom: 0;
    background-color: #fff;
    padding: 50px 15px;
    text-align: center;
    .paper-info {
      margin-bottom: 100px;
    }

    p {
      font-size: 16px;
      margin-bottom: 10px;

      &:nth-of-type(3),
      &:nth-of-type(4) {
        font-size: 24px;
      }
    }
  }

  &-image-preview {
    .ivu-modal-mask,
    .ivu-modal-wrap {
      top: 50px;
      right: 300px;
    }
  }
}
