.ant-menu-item,
.ant-menu-submenu {
  .kf-menu-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: @font-size-content;

    .anticon.kf-menu-item__default-icon {
      display: inline !important;
      opacity: 1;
    }

    .anticon.kf-menu-item__active-icon {
      display: none !important;
      margin-left: 0 !important;
    }
  }
}

.ant-menu-item.ant-menu-item-selected,
.ant-menu-submenu.ant-menu-submenu-selected {
  .kf-menu-item {
    .anticon.kf-menu-item__default-icon {
      display: none !important;
    }

    .anticon.kf-menu-item__active-icon {
      display: inline !important;
      opacity: 1;
    }
  }
}

.ant-menu-submenu .ant-menu-submenu-title:hover,
.ant-menu-item:hover {
  color: @primary-color !important;

  .kf-menu-item {
    .anticon.kf-menu-item__default-icon {
      display: none !important;
    }

    .anticon.kf-menu-item__active-icon {
      display: inline !important;
      opacity: 1;
    }
  }
}

.ant-pro-base-menu-vertical-collapsed {
  .kf-menu-item {
    justify-content: center;
    width: 100%;

    .kf-menu-item__name {
      display: none !important;
    }
  }
}
