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

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

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

.select-directory {
  height: 49px;
  line-height: 49px;
  background: #E8F4FF;
  border-radius: 10px;
  padding: 0 16px;
  margin-bottom: 12px;
  font-size: 18px;
  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;

  &: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);

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

  .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 .title {
    color: #131415;
  }

  &.childSelect {
    background: #F5F6FA;

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