Skip to content
Snippets Groups Projects
Commit e23954d7 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Correct hierarchy facet background bugs.

parent 32d5c26e
No related merge requests found
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -106,13 +106,11 @@ ...@@ -106,13 +106,11 @@
margin-top: 2px; margin-top: 2px;
margin-right: 4px; margin-right: 4px;
} }
.jstree-facet .jstree-container-ul { .jstree-facet .jstree-container-ul { padding: 0; }
padding: 0; .jstree-facet .active,
& > li.active, .jstree-facet .active a.jstree-anchor {
& > li.active a.jstree-anchor { background-color: @list-group-active-bg;
background-color: #265680; color: #fff;
color: #fff;
}
} }
li.jstree-facet, li.jstree-facet,
li.jstree-node { list-style: none; } li.jstree-node { list-style: none; }
......
...@@ -87,9 +87,10 @@ ...@@ -87,9 +87,10 @@
.active-filters .facet, .active-filters .facet,
.facet-group .active { .facet-group .active {
padding-right: .65rem; padding-right: .65rem;
background-color: @brand-primary; background-color: @list-group-active-bg;
color: #fff; color: #fff;
.jstree-icon,
a { color: #fff; } a { color: #fff; }
} }
.facet.active .badge, .facet.active .badge,
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -45,5 +45,6 @@ ...@@ -45,5 +45,6 @@
@autocomplete-hover-bg: @header-light; @autocomplete-hover-bg: @header-light;
@dropdown-link-hover-bg: @header-light; @dropdown-link-hover-bg: @header-light;
@dropdown-link-hover-color: @black; @dropdown-link-hover-color: @black;
@list-group-active-bg: @brand-secondary;
@table-bg-hover: @header-light; @table-bg-hover: @header-light;
@pagination-color: @header-bg; @pagination-color: @header-bg;
...@@ -165,6 +165,8 @@ header { ...@@ -165,6 +165,8 @@ header {
.facet-group { .facet-group {
margin-left: 1rem; margin-left: 1rem;
margin-right: 1rem; margin-right: 1rem;
background-color: @sidebar-item-bg;
color: @sidebar-item-color;
} }
/* Collapsed arrows */ /* Collapsed arrows */
.facet-group .title { .facet-group .title {
...@@ -182,10 +184,6 @@ header { ...@@ -182,10 +184,6 @@ header {
.active-filters .title::after, .active-filters .title::after,
#advSearchForm & .title:after { content: none; } // No arrow on active filter title #advSearchForm & .title:after { content: none; } // No arrow on active filter title
.facet {
background-color: @sidebar-item-bg;
color: @sidebar-item-color;
}
a.facet:hover, a.facet:hover,
.facet.checkbox:hover { background-color: @sidebar-item-hover-bg; } .facet.checkbox:hover { background-color: @sidebar-item-hover-bg; }
...@@ -193,6 +191,7 @@ header { ...@@ -193,6 +191,7 @@ header {
.facet.active:hover, .facet.active:hover,
.active-filters .facet, .active-filters .facet,
.active-filters .facet:hover, .active-filters .facet:hover,
.active .jstree-anchor,
.jstree-facet .jstree-container-ul > .active { .jstree-facet .jstree-container-ul > .active {
border-color: @sidebar-active-bg; border-color: @sidebar-active-bg;
background-color: @sidebar-active-bg; background-color: @sidebar-active-bg;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment