UI: Make the Admin menu sidebar colors on hover consistent (#2778)

* ui: overwrite default antd menu-item hover colors for consistency

* ui fix: make the hover color of icon and text consistent in admin sidebar

* fix: make the 'followers'  menuitem icon consistent with other sidebar icons
This commit is contained in:
Pranav Joglekar
2023-03-06 10:16:31 +05:30
committed by GitHub
parent febfa0917f
commit f6a2e8d3a2
3 changed files with 43 additions and 6 deletions

View File

@@ -218,3 +218,22 @@ th {
.ant-popover {
z-index: 800; // Lower the z-index so it renders under modals.
}
/* ------------------------- //
* SIDER MENUITEM
// ------------------------- */
.ant-menu-light .ant-menu-submenu-title:active {
background: var(--theme-color-palette-12);
}
.ant-menu-light .ant-menu-submenu-title:hover {
color: var(--theme-color-palette-12);
}
.ant-menu-submenu:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow {
color: var(--theme-color-palette-12);
}
.ant-menu-light .ant-menu-item:hover {
color: var(--theme-color-palette-12);
}