// // Filters // .uc-filter { border-bottom: 1px solid $lighter-gray; input[type=checkbox] { @include hide-accessible; } /* to hide the checkbox itself */ input[type=checkbox]:focus + label { color: $link-blue; } input[type=checkbox]:focus + label:before { /* outline: 1px dotted $middle-gray; */ box-shadow: 0 0 1px 2px $button-blue; @include border-radius(3px); color: $button-blue; } input[type=checkbox] + label:before { @include font-size-px-to-rem($icon-size); font-family: Undercase-Icons; line-height: 1em; margin-right: $gutter/2; margin-bottom: 3px; color: $light-gray; float: left; -moz-transform: scale(1.0, 1.0); /* Adjust anti-aliasing to prevent gap inside box-shadow on Windows */ } input[type=checkbox] + label:before { content: "\f105"; /* unchecked icon */ } input[type=checkbox]:checked + label:before { content: "\f104"; /* checked icon */ color: $link-blue; } } .uc-filter__header { background-color: $lightest-gray; border: 1px solid $light-gray; border-left: none; padding: $gutter; } .uc-filter__body { border-right: 1px solid $lighter-gray; } .uc-filter-heading { color: $middle-gray; line-height: 1.14; text-transform: uppercase; } .uc-filter-heading__category { @include font-size-px-to-rem(15px); display: block; font-weight: 600; } .uc-filter-clear { display: none; float: right; } .uc-filter-facets { > li { border-top: 1px dotted $lighter-gray; &:first-child { border-top: none; } } } .uc-filter-subfacets-container { padding: $gutter*1.5 $gutter $gutter*0.5 $gutter*3; border-top: 1px dotted $lighter-gray; } .uc-filter-subfacets { > li { margin-bottom: $gutter; } } .uc-filter-facets__facet { position: relative; } .uc-filter-facets__facet__left-col { padding: $gutter*1.5 $gutter; width: 80%; } .uc-filter-facets__facet__left-col--no-subfacets { padding: $gutter*1.5 $gutter; } .uc-filter-facets__facet__left-col.uc-form-field--boolean { margin-bottom: 0; } .uc-filter-facets__facet__right-col { border-left: 1px dotted $lighter-gray; position: absolute; width: 20%; top: 0; right: 0; bottom: 0; &:before { display: block; font-size: 18px; padding-top: $gutter*1.5; margin: 0 auto; width: 12px; } }