.chapterBox {
  border-top: 1px solid #F0F0F0;
  height: 46vh;
}
.scrollBar{
  width: 100%;
  height: calc(100% - 42px);
}
.treeBox{
  width: 100%;
  height: 100%;
  display: flex;
  :global{
    .n-scrollbar-content{
      padding: 0 30px;
    }
  }
  .listSectionLeft{
    padding-top: 10px;
    width: 40%;
    background: #F3F5F6;
    height: 100%;
    border-radius: 0 0 0 16px;
  }
  .listSectionRight{
    padding-top: 10px;
    width: 60%;
    height: 100%;
  }
}
.treeParentSelect {
  background-color: #fff;
  border-radius: 10px;
}

.treeChild {
  line-height: 46px;
}

.treeItem {
  line-height: 46px;
  border-radius: 10px;
  cursor: pointer;
  border-radius: 10px;
  font-size: max(20px, 12Px);
  font-weight: 600;
  margin-bottom: 10px;
  &:hover{
    .dir {
      background: url('./images/icon-d-active.png') no-repeat center !important;
      background-size: contain !important;
    }
    .name{
      color: #198CFE;
    }
  }
  &.childItem:hover {
    // background: #E8F4FF;
    .titleName {
      color: #198CFE;
    }
  }

  .title {
    padding-left: 20px;
    width: 100%;
    color: #777777;
    display: flex;
    align-items: center;

    .dir {
      flex-shrink: 0;
      display: inline-block;
      width: 16px;
      height: 18px;
      background: url('./images/icon-d.png') no-repeat center;
      background-size: contain;
      margin-right: 6px;
    }
    .name{
      flex-grow: 1;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
    &.titleSelect {
      color: #198CFE;
      // font-weight: bold;

      .dir {
        background: url('./images/icon-d-active.png') no-repeat center;
        background-size: contain;
      }
    }
  }

  &.childItem {
    margin-bottom: 0;
    font-size: max(18px, 12Px);
    .titleName {
      width: 100%;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      padding-left: 0;
      color: #333333;
      font-weight: 600;
    }
  }

  &.childSelect {
    .titleName {
      color: #1677FF;
      // font-weight: bold;
    }
  }
}
