.handle {
  position: absolute;
  user-select: none;
  width: 3px;
  height: 100%;
  top: 0px;
  right: 0px;
  cursor: col-resize;
  &:hover {
    background-color: var(--easyv-primary-color);
  }
}
.layers {
  width: 100%;
  height: 100%;
  overflow: hidden;
  .title {
    height: 36px;
    background: var(--easyv-background-4);
    padding: 0 16px;
    font-size: 14px;
    color: #dfe0e3;
    line-height: 36px;
  }
  :global {
    .easyv-tree {
      background: transparent;
      color: var(--easyv-text-4);
    }
    .easyv-tree .easyv-tree-node-content-wrapper,
    .easyv-tree .easyv-tree-node-content-wrapper .easyv-tree-iconEle {
      line-height: 40px;
      height: 40px;
    }
    .easyv-tree .easyv-tree-node-content-wrapper .easyv-tree-iconEle {
      width: 6px;
      margin-right: 4px;
    }
    .easyv-tree-switcher {
      width: 8px;
      margin-right: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .easyv-tree-indent-unit {
      width: 10px;
    }
    .easyv-tree .easyv-tree-treenode {
      padding-left: 20px;
      padding-bottom: 0;
      &:not(.easyv-tree-treenode-selected):hover {
        background-color: #3d404c;
      }
      .easyv-tree-title {
        font-size: 14px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline-block;
        max-width: 80%;
      }
    }
    .easyv-tree-treenode-selected {
      background-color: var(--easyv-primary-color);
      color: #fff;
      .node-layer-icon {
        border: 1px solid rgba(255, 255, 255, 0.16);
      }
    }

    .easyv-tree .easyv-tree-node-content-wrapper:hover {
      background-color: transparent;
    }

    .easyv-tree.easyv-tree-block-node
      .easyv-tree-list-holder-inner
      .easyv-tree-node-content-wrapper {
      padding-left: 0;
    }
    .easyv-tree .easyv-tree-node-content-wrapper.easyv-tree-node-selected {
      background-color: transparent;
    }

    .easyv-tree-list-holder-inner .easyv-tree-treenode-disabled .easyv-tree-node-content-wrapper {
      color: var(--easyv-text-4);
    }
  }
}

.menu {
  position: fixed;
  display: none;
  padding: 2px 0;
  background: #232630;
  border: 1px solid #0d0e10;
  z-index: 99;
  width: 144px;
  ul {
    li {
      padding: 4px 12px;
      display: flex;
      align-items: center;
      color: #b4b7c1;
      span,
      svg {
        font-size: 12px;
      }
      .icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 12px;
        height: 12px;
        margin-right: 6px;
        :global {
          span {
            width: 100%;
            height: 100%;
            margin-top: -4px;
          }
        }
      }
    }
    li:not(.disabled) {
      cursor: pointer;
      &:hover {
        background-color: #3d404c;
      }
    }
    .disabled {
      color: rgba(180, 183, 193, 0.5);
      cursor: not-allowed;
      pointer-events: none;
    }
  }
}
.show {
  display: block;
}
.menuBox {
  height: calc(100% - 36px);
  overflow-y: auto;
}
