Change sidebar selected item color

This commit is contained in:
Konstantinos Triantafyllou 2022-12-12 19:02:10 +02:00
parent 3ce4f7183d
commit d772dbd4b2
1 changed files with 4 additions and 2 deletions

View File

@ -20,6 +20,7 @@
@dashboard-menu-section-item-padding-horizontal: 20px;
@dashboard-menu-section-item-parent-icon-color: @global-meta-color;
@dashboard-menu-section-item-color-hover: @dashboard-primary-background;
@dashboard-menu-section-item-color-active: @dashboard-primary-background;
@dashboard-menu-section-icon-padding: 6px;
@dashboard-menu-section-icon-border-radius: @global-border-radius;
@dashboard-menu-section-icon-color: @global-meta-color;
@ -30,9 +31,9 @@
@dashboard-menu-section-sublist-item-padding-vertical: 5px;
@dashboard-menu-section-sublist-item-padding-horizontal: 15px;
@dashboard-menu-section-sublist-item-border-radius: @global-small-border-radius;
@dashboard-menu-section-sublist-item-background-hover: fade(@dashboard-primary-background, 10%);
@dashboard-menu-section-sublist-item-background-hover: @dashboard-page-content-background;
@dashboard-menu-section-sublist-item-color-hover: @dashboard-primary-background;
@dashboard-menu-section-sublist-item-background-active: fade(@dashboard-primary-background, 10%);
@dashboard-menu-section-sublist-item-background-active: @dashboard-page-content-background;
@dashboard-menu-section-sublist-item-color-active: @dashboard-primary-background;
@dashboard-page-content-sticky-border-width: @global-border-width;
@ -142,6 +143,7 @@
}
&.uk-active > a {
color: @dashboard-menu-section-item-color-active;
& .menu-icon {
background-color: @dashboard-primary-background;