@import "tiny-slider"; .browse-group-categories-block { padding-bottom: $spacer * .75; padding-top: $spacer * .75; .browse-categories .browse-category { .category-caption { z-index: 100; } .hover-overlay { height: 100%; position: absolute; width: 100%; } &:hover { .hover-overlay { background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)); } } } .spotlight-flexbox.browse-categories .box { display: flex; } .browse-group-categories-controls { list-style: none; li { display: inline-block; cursor: pointer; } .blacklight-icon-arrow-alt-circle-left, .blacklight-icon-arrow-alt-circle-right { display: inline-block; fill: $gray-600; height: 44px; width: 44px; &:hover,&:focus { fill: $gray-700; } } li[aria-disabled="true"] { cursor: auto; } [aria-disabled="true"] { .blacklight-icon-arrow-alt-circle-left, .blacklight-icon-arrow-alt-circle-right { fill: $gray-400; &:hover,&:focus { fill: $gray-400; } } } } // Coming from tiny-slider, make sure these disappear when navigating via turbolinks .tns-controls { display: none; } @media screen and (min-width: breakpoint-min("md")) { .browse-group-categories-controls { .blacklight-icon-arrow-alt-circle-left, .blacklight-icon-arrow-alt-circle-right { height: 32px; width: 32px; } } &[data-browse-group-categories-count="2"],&[data-browse-group-categories-count="3"] { .browse-group-categories-controls { display: none !important; } } } } [dir="rtl"] { .browse-group-categories-block .blacklight-icon-arrow-alt-circle-left, .blacklight-icon-arrow-alt-circle-right{ transform: rotate(180deg); } // Hack to override overflow issue not fixed in RTL upstream in tiny-slider .tns-visually-hidden { left: 0; right: -10000em; } }