.knowledgeNetworkRoot {
  position: relative;
  height: 100vh;

  .l-layout {
    display: flex;
    // overflow-y: auto;
    height: calc(100vh - 52px) !important;

    .l-content {
      width: 100%;
      height: 100%;
      overflow-y: hidden;

      .l-main {
        height: 100%;
        overflow: auto;
        overflow: overlay;
        min-width: 1000px;
        position: relative;

        .layoutSpin {
          .ant-spin-spinning {
            top: 200px;
          }
        }
      }
    }
  }

  .componentIcon {
    width: 20px;
    height: 20px;
    display: flex;
    border-radius: 3px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(146, 84, 222, 0.15);
    background-color: rgba(146, 84, 222, 0.06);
  }

  .breadcrumb {
    &:hover {
      background-color: hsla(0, 0%, 100%, 0.3);
    }

    .content {
      padding: 0px 8px;
    }
  }
}

.knowledgeNetworkRootMenuSelect {
  background: #fff;
  padding: 4px 0;
  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
  width: 220px;
  max-height: 360px;

  .ant-menu {
    overflow-y: auto;
  }

  .menuItemSelected {
    background-color: var(--kw-select-bg-color) !important;
  }

  .knoMenuOperation {
    width: 20px;
    height: 20px;
    display: none;
    cursor: pointer;
    border-radius: 2px;
    align-items: center;
    justify-content: center;

    &:hover {
      background-color: #fff;
    }
  }

  .menuItem {
    transition: all 0.3s;
    margin: 0 !important;

    .ant-dropdown-menu-submenu-expand-icon {
      display: none;
    }
  }

  .menuItem:hover {
    background-color: #f5f5f5;
    color: var(--kw-text-color);

    .knoMenuOperation {
      display: flex;
      background: #fff;
      border: 1px solid rgba(0, 0, 0, 0.1);
    }
  }

  .knoMenuOperationSelected {
    display: flex;
  }

  &-operate {
    background-color: #fff;

    &-item {
      cursor: pointer;
      padding: 0 16px;
      margin-top: 4px;
      margin-bottom: 4px;
    }
  }
}

.knowledgeNetworkOperation {
  pointer-events: none;

  .ant-dropdown-menu {
    margin-left: 32px;

    .ant-dropdown-menu-item {
      pointer-events: auto;
    }
  }
}
