@main-bgColor: rgb(40,40,40); //主背景颜色
@borderColor: #424242;
@primary-textColor: #fff; //文本主颜色
@second-textColor: #a5a5a5; //文本副级颜色
@primary-fontSize: 14px;
@second-fontSize: 16px;

.learn-unit-container {
  width: 100%;
  height: 100%;
  background: #242328;

  .learn-unit-header {
    height: 45px;
    line-height: 45px;
    border-bottom: 1px solid @borderColor;
    padding: 0px 20px;

    .name-label {
      color: @second-textColor;
      font-size: @primary-fontSize;
    }

    .header-btn-save {
      float: right;
      margin-right: 15px;
      color: #1CD0A1;
      cursor: pointer;
    }
  }
}
.learn-unit-main {
  width: 100%;
  height: ~"calc(100% - 45px)";
  display: flex;
  flex-direction: row;

  .choose-content-wrap {
    padding-top: 15px;
    padding-left: 20px;
    width: 100%;
    height: 100%;
  }

  .preview-content-wrap {
    padding-left: 20px;
    width: 100%;
    height: 100%;

    .preview-label {
      color: @second-textColor;
      font-size: 16px;
      height: 45px;
      line-height: 45px;
      border-bottom: 1px solid @borderColor;
    }

    .content-type-label {
      color: @second-textColor;
      margin-top: 15px;
    }

    .content-question-wrap {
      min-height: 200px;
      padding: 10px 0px 20px 0px;
    }
  }
}

.radio-width {
  width: 90px;
}
.syllabus-content-wrap {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;

  .volume-list-wrap {
    padding-top: 10px;
    padding-left: 15px;
    width: 300px;
    height: 100%;
    border-right: 1px solid #606060;

    .volume-list-label {
      color: white;
      font-size: 15px;
      border-bottom: 1px solid @borderColor;
      padding-bottom: 10px;
    }

    .volume-item {
      width: 100%;
      border-bottom: 1px solid @borderColor;
      padding: 15px 0px;
      cursor: pointer;
      color: white;

      .volume-name {
        font-size: 20px;
      }

      .volume-relation-num {
        color: #0f9272;
        font-size: 16px;
        margin-top: 10px;
      }
    }

    .volume-item-active {
      background-image: linear-gradient(90deg, rgba(30, 30, 30, 0) 0%, rgba(110, 110, 110, 0.2) 50%, rgba(110, 110, 110, 0.4) 100%);
    }
  }

  .syllabus-tree-wrap {
    color: white;
    padding-left: 15px;
    padding-top: 10px;
    width: 100%;

    .syllabus-title-wrap {
      color: white;
      font-size: 15px;
      border-bottom: 1px solid @borderColor;
      padding-bottom: 10px;
      margin-bottom:1px;
    }
  }
}

.file-content-wrap{
  padding-top:5px;
}

.btn-save {
    float: right;
    cursor: pointer;
    margin-top: 6px;
    margin-right: 10px;
}