facetwp hide top level hierarchical checkboxes

djrmom

{{gist file=”facet.css” lang=”css”}}
/** hides top level checkbox icon
** widens click area for +/- so that it triggers expand/collapse instead of selecition
**/

.facetwp-type-checkboxes > .facetwp-checkbox {
position: relative;
background-image: none;
padding-left: 0;
}
.facetwp-type-checkboxes > .facetwp-checkbox.checked {
background-image: none;
}

.facetwp-type-checkboxes > .facetwp-checkbox .facetwp-expand {
width: 100%;
position: absolute;
right: 0;
display: block;
top: 0;
text-align: right;
}
{{/gist}}