fix: [ui:sidebar] Correctly add activeSidebarLinkColor to parent element if child is selected

pull/93/head
Sami Mokaddem 2021-11-11 14:58:07 +01:00
parent b51cf2ed59
commit c0d25578a0
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
8 changed files with 24 additions and 0 deletions

View File

@ -411,6 +411,9 @@ header.top-navbar .header-breadcrumb .header-breadcrumb-item > a:hover {
background-color: #595f64;
color: #fff; }
.sidebar ul.sidebar-elements li > a.sidebar-link.have-active-child::after {
background-color: var(--cerebrate-color); }
.sidebar ul.sidebar-elements li > a.sidebar-link:hover {
background-color: #60676c;
color: #fff; }

View File

@ -411,6 +411,9 @@ header.top-navbar .header-breadcrumb .header-breadcrumb-item > a:hover {
background-color: #dbdbdb;
color: #000; }
.sidebar ul.sidebar-elements li > a.sidebar-link.have-active-child::after {
background-color: var(--cerebrate-color); }
.sidebar ul.sidebar-elements li > a.sidebar-link:hover {
background-color: #ebebeb;
color: #000; }

View File

@ -411,6 +411,9 @@ header.top-navbar .header-breadcrumb .header-breadcrumb-item > a:hover {
background-color: #dbdbdb;
color: #18bc9c; }
.sidebar ul.sidebar-elements li > a.sidebar-link.have-active-child::after {
background-color: #18bc9c; }
.sidebar ul.sidebar-elements li > a.sidebar-link:hover {
background-color: #ebebeb;
color: #18bc9c; }

View File

@ -411,6 +411,9 @@ header.top-navbar .header-breadcrumb .header-breadcrumb-item > a:hover {
background-color: #dbdbdb;
color: #18bc9c; }
.sidebar ul.sidebar-elements li > a.sidebar-link.have-active-child::after {
background-color: #18bc9c; }
.sidebar ul.sidebar-elements li > a.sidebar-link:hover {
background-color: #ebebeb;
color: #18bc9c; }

View File

@ -403,6 +403,9 @@ header.top-navbar .header-breadcrumb .header-breadcrumb-item > a:hover {
background-color: #fff;
color: #343a40; }
.sidebar ul.sidebar-elements li > a.sidebar-link.have-active-child::after {
background-color: #e83283; }
.sidebar ul.sidebar-elements li > a.sidebar-link:hover {
background-color: #fff;
color: #343a40; }

View File

@ -407,6 +407,9 @@ header.top-navbar .header-breadcrumb .header-breadcrumb-item > a:hover {
background-color: #595f64;
color: #fff; }
.sidebar ul.sidebar-elements li > a.sidebar-link.have-active-child::after {
background-color: var(--cerebrate-color); }
.sidebar ul.sidebar-elements li > a.sidebar-link:hover {
background-color: #60676c;
color: #fff; }

View File

@ -403,6 +403,9 @@ header.top-navbar .header-breadcrumb .header-breadcrumb-item > a:hover {
background-color: #343a40;
color: #3cf281; }
.sidebar ul.sidebar-elements li > a.sidebar-link.have-active-child::after {
background-color: #6f42c1; }
.sidebar ul.sidebar-elements li > a.sidebar-link:hover {
background-color: #495057;
color: #3cf281; }

View File

@ -132,6 +132,9 @@ header.top-navbar .header-breadcrumb .header-breadcrumb-item > a:hover {
background-color: $sidebarActiveBgColor;
color: $sidebarActiveColor;
}
.sidebar ul.sidebar-elements li > a.sidebar-link.have-active-child::after {
background-color: $activeSidebarLinkColor;
}
.sidebar ul.sidebar-elements li > a.sidebar-link:hover {
background-color: $sidebarHoverColor;