.directoryList {
  height: 100%;
  padding: 24px 0;

  :global {
    .n-scrollbar-container {
      max-height: 100%;
    }
  }

  .scrollBar {
    margin-top: 12px;
    padding: 0 20px;
    max-height: calc(100% - 49px - 12px);
  }
}

.select-directory {
  height: 49px;
  line-height: 49px;
  background: #E8F4FF;
  border-radius: 10px;
  padding: 0 16px;
  margin: 0 20px 12px;
  font-size: max(18px, 14px);
  font-weight: 600;
  color: #131415;
  line-height: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;

  &>span {
    max-width: 240px;
  }

  .iconArrow {
    font-size: 12px
  }
}

.treeParent {
  transition: height 1s ease-in-out;
}

.treeChild {
  line-height: 54px;
}

.treeItem {
  display: flex;
  align-items: center;
  line-height: 54px;
  border-radius: 10px;
  padding: 0 5px;
  cursor: pointer;
  border-radius: 10px;
  font-size: max(17px, 13px);

  &:hover {
    background: #F5F6FA;
  }

  .title {
    padding-left: 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 280px !important;
    color: rgba(0, 0, 0, .5);
    display: flex;
    align-items: center;

    .dir {
      flex-shrink: 1;
      display: inline-block;
      width: 16px;
      height: 18px;
      background: url('./images/icon-d.png') no-repeat center;
      background-size: contain;
      margin-right: 6px;
    }

    &.titleSelect {
      color: var(--n-color);
      font-weight: bold;

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

  .arrow {
    display: inline-block;
    width: 14px;
    height: 15px;
    background: url('./images/arrow-default.png') no-repeat center;
    background-size: contain;

    &.arrowSelect {
      background: url('./images/arrow-active.png') no-repeat center;
      background-size: contain;
    }
  }

  .childArrow {
    width: 12px;
  }

  &.childItem {
    padding-left: 30px;
    font-size: 15px;

    .title {
      color: #131415;
    }
  }

  &.childSelect {
    background: #F5F6FA;

    .title {
      color: var(--n-color);
      font-weight: bold;
    }
  }
}

.coursewareModal {
  width: 1150px;
}