@import "color.less";
.classmates-commentPages {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 12;
  top: 0px;
  left: 0px;

  .commentPages-title {
    background-color: rgb(255, 255, 255);
    position: fixed;
    color: @primary;
    font-size: 20px;
    padding: 5px 15px;

    width: 100%;
    height: 38px;
    border-bottom: 1px solid @border;
    z-index: 16;
  }
  .logoutIcon {
    position: relative;
    top: 1px;
    cursor: pointer;
    margin-right: 5px;
  }
  .mates-content {
    position: relative;
    margin-right: 10%;

    .mates-list {
      background-color: rgb(255, 255, 255);
      position: relative;
      top: 30px;
      height: 100vh;
      overflow: auto;
      border-right: 1px solid rgba(0, 0, 0, 0.2);
      box-shadow: 4px 1px 10px rgba(0, 0, 0, 0.1);
      z-index: 11;
      padding: 0% !important;
    }
    .mates-list-item {
      &:hover {
        background: @bgcHover;
        color: @titleHover;
        cursor: pointer;
      }
    }
    .mate-selected {
      background: @bgcHover;
      color: @titleHover;
      cursor: pointer;
    }
    .mates-homework {
      background-color: rgb(255, 255, 255);
      padding: 20px 4% 100px 4% !important;
      @media screen and (max-width: 991px) {
        padding: 20px 20px 100px 50px !important;
      }
      margin-top: 38px;
      height: 100vh;
      overflow: auto;
      left: -16px;
      .cannotPreview {
        font-weight: bolder;
        border-radius: 4px;
        background-color: rgb(214, 214, 214);
        height: 500px;
        width: 100%;

        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        .cannotPreviewContent {
          text-align: center;
          a {
            color: white;
            text-decoration: none;
          }
          .uploadBtn {
            margin-top: 10px;
          }
        }
      }
      .mates-homework-content {
        background-color: rgb(255, 255, 255);
        position: relative;
        height: 500px;
        border: 1px solid rgba(0, 0, 0, 0.2);
        border-radius: 7px;
        padding: 30px;
        overflow: scroll;
      }
      .comment-ungiven {
        background-color: rgb(255, 255, 255);
        color: rgb(68, 68, 68);
        border-radius: 7px;
        outline-color: #24b880;
        width: 100%;
        height: 10%;
        padding: 10px;
        resize: none;
      }
      .comment-given {
        background-color: rgb(218, 218, 218);
        border: none;
        color: rgb(68, 68, 68);
        border-radius: 7px;
        outline-color: #24b880;
        width: 100%;
        height: 10%;
        padding: 10px;
        resize: none;
        &:focus {
          background-color: rgb(255, 255, 255);
        }
      }
    }
    .uploadTime {
      margin-top: 40px;
      text-align: right;
      @media screen and (max-width: 767px) {
        text-align: left;
        margin-top: 10px;
      }
    }
    .comment-btn {
      background-color: @primary;
      color: white;
      border-radius: 2px;
      border: none;
      width: 70px;
      padding: 2px 20px;
      outline: none;
      cursor: pointer;
      float: right;
    }
    .homework-rate {
      position: relative;
      top: -20px;
      font-size: 30px;
      .homework-rate-num {
        position: relative;
        top: -6px;
        font-weight: bolder;
        font-size: 36px;
      }
    }
    .changePage-btn {
      float: right;

      .page-btn {
        background-color: #d3d3d3;
        color: #6d7278;
        border-radius: 4px;
        border: none;
        font-weight: bolder;
        padding: 4px 20px;
        outline: none;
        cursor: pointer;
        &:last-child {
          margin-left: 10px;
        }
        &:active {
          background-color: darken(#d3d3d3, 10%);
        }
      }
      .page-num {
        margin: 0px 10px;
        font-weight: bolder;
        font-size: 18px;
      }
      .hint-page-next {
        font-weight: bolder;
        background-color: #64ae16;
        color: white;
      }
      .hint-submit {
        font-weight: bolder;
        background-color: @secondary;
        color: white;
      }
    }
  }
  .uploadPPTarea {
    border: none;
    margin-bottom: 10px;
    height: 500px;
    border-radius: 4px;
  }
  .multidocarea {
    height: 510px;
    overflow: scroll;
  }
  .upload-item {
    margin: 15px 0px !important;
    .upload-item-name {
      position: relative;
      top: -5px !important;
    }
    &:hover {
      background: @bgcHover;
      color: @titleHover;
    }
  }
}
