.be-tree-list {
  width: 100%;
  &.files {
    .node-children {
      &:before {
        content: '';
        background-color: var(--brd);
        width: 1px;
        height: 100%;
        position: absolute;
        left: -14px;
      }
    }
  }
  .tree-branch {
    &[aria-show='true'] {
      & > .node-children {
        display: block;
      }
    }
    &[aria-show='false'] {
      & > .node-children {
        display: none;
      }
    }
    &[aria-show='true'],
    &.show {
      & > .node {
        .expend-icon {
          transform: rotate(0) !important;
        }
      }
    }

    .node {
      position: relative;
      margin-bottom: 1px;
      .node-title {
        display: flex;
        align-items: center;
        .node-label {
          padding: 4px;
          flex: 1 0 auto;
          .sub-title {
            color: #666;
            line-height: 1;
          }
        }
      }
      .node-sub-title {
        font-size: 0.85;
        color: var(--text-light);
        padding: 0;
      }
      i.icon {
        width: 22px;
        aspect-ratio: 1;
        transition: transform 250ms;
        padding: 4px;
        &.expend-icon {
          transform: rotate(-90deg);
        }
      }
    }
    .node-children {
      position: relative;
      // margin-left: calc(25px * (var(--level)));
      margin-left: 24px;
    }
  }
}
