@import '../../../../variables.less';

.asset-manage-tree {

  .yy-card-head-title {
    padding: 0;
  }

  .yy-tree{
    height: calc(100vh - @header-height - @breadcrumb-height - 25px - 57px - 62px) !important;
    overflow: auto !important;
  }

  // .root {
  //   display: flex;
  //   position: relative;
  //   width: 100%;
  //   background-color: #e7f2ff;
  //   margin-bottom: 3px;
  //   padding: 5px;
  //   align-items: center;

  //   .yy-tree-switcher {
  //     display: block;
  //     position: absolute;
  //     opacity: 0 !important;
  //     left: 0;
  //     top: 0;
  //     width: 100%;
  //     height: 100%;
  //   }

  //   .yy-tree-node-content-wrapper {
  //     margin-left: 20px;
  //   }
  // }

  // .yy-tree-indent .yy-tree-indent-unit:first-child {
  //   opacity: 0 !important;
  // }

  .site-tree-search-value {
    color: #f50;
  }
}

.asset-manage-tree-read-only {
  .yy-tree {
    height: calc(100vh - @header-height - @breadcrumb-height - 25px - 62px) !important;;
    overflow: auto !important;
  }
}

.asset-manage-tree-asset-mount-reference {
  .yy-tree {
    height: 400px !important;
    overflow: auto !important;
  }
}