// 菜单默认样式 左侧
.app-control-appmenu {
  height: 100%;

  .app-control-menu__content {
    overflow-x: hidden;
  }

  .app-icon-text__icon {
    width     : 14px;
    font-size : 14px;
    text-align: center;
  }

  // 菜单收缩样式
  .ant-menu-inline-collapsed {
    .app-icon-text__text {
      display: none;
    }
  }

  .app-menu-item--seperator {
    width : 100%;
    height: 0;
  }

  // badge位置调整
  .menu-badge {
    bottom: 20px;
    right : 10px;
  }

  .ant-menu-title-content .app-icon-text {
    overflow: hidden;
    .textellipsis;
  }
}

// 顶部菜单样式
.app-control-menu--top {
  padding: 0;
  height : 100%;

  .ant-menu.ant-menu-horizontal {
    overflow-y   : hidden;
    overflow-x   : hidden;
    display      : flex;
    flex-wrap    : nowrap;
    border-bottom: 0;

    .ant-menu-item,
    .ant-menu-submenu {
      height  : 100%;
      overflow: visible;
    }

    .app-menu-item--seperator {
      width     : 0;
      height    : calc(100% - 16px);
      margin-top: 8px;
    }
  }
}

// 中间菜单样式
.app-control-menu--center {
  .app-control-menu__group__content {
    display        : flex;
    align-items    : center;
    justify-content: flex-start;
    flex-wrap      : wrap;
  }

  .app-control-menu__item {
    width : 320px;
    margin: 12px;
    cursor: pointer;

    >.ant-card-body {
      padding: 20px;
      display: flex;
    }
  }

  .app-control-menu__group__caption {
    font-size  : 18px;
    font-weight: 600;
  }
}

// 导航左侧菜单样式
.app-control-menu--tabexp_left,
.app-control-menu--treeexp {
  display       : flex;
  flex-direction: row;
  padding-top   : 8px;

  .ant-menu.ant-menu-inline {
    height      : 100%;
    border-right: 0;
  }

  .app-control-menu__left {
    width  : 15%;
    padding: 0 10px;
  }

  .app-control-menu__right {
    width          : 85%;
    display        : flex;
    align-items    : center;
    justify-content: center;
  }

  .ant-menu-vertical {
    border: 0;
  }
}

// 导航右侧菜单样式
.app-control-menu--tabexp_right {
  display       : flex;
  flex-direction: row;
  padding-top   : 8px;

  .app-control-menu__right {
    width  : 15%;
    padding: 0 10px;
  }

  .ant-menu.ant-menu-inline {
    height      : 100%;
    border-right: 0;
  }

  .app-control-menu__left {
    width          : 85%;
    display        : flex;
    align-items    : center;
    justify-content: center;
  }

  .ant-menu-vertical {
    border: 0;
  }
}

// 导航顶部、底部菜单样式
.app-control-menu--tabexp_top,
.app-control-menu--tabexp_bottom {
  .ant-menu.ant-menu-horizontal {
    padding   : 0 10px;
    box-shadow: none;
  }

  .app-control-menu__content {
    display        : flex;
    align-items    : center;
    justify-content: center;
  }
}

.app-control-menu--tabexp_bottom {
  .app-control-menu__content {
    height: calc(100% - 50px);
  }
}

.app-control-menu__popper {
  .ibiz-badge {
    top: -14px;
  }
}

.app-control-menu--left {
  color: @text-color-secondary;

  .app-menu-item--seperator {
    border-bottom: 1px solid @border-color-base;
  }
}

// 顶部菜单样式
.app-control-menu--top {
  .ant-menu-horizontal {
    .app-menu-item--seperator {
      border-right: 1px solid @border-color-base;
    }
  }
}

// 中间菜单样式
.app-control-menu--center {
  .app-control-menu__item {
    color      : @text-color;
    border-left: 10px solid @primary-color;
  }

  .app-control-menu__item:hover {
    color            : @primary-color;
    border-left-color: @primary-color;
  }
}

// 导航左侧菜单样式
.app-control-menu--tabexp_left {
  .app-control-menu__left {
    border-right: 1px solid @border-color-base;
  }
}

// 导航右侧菜单样式
.app-control-menu--tabexp_right {
  .app-control-menu__right {
    border-left: 1px solid @border-color-base;
  }
}