This repository has been archived on 2020-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
_s/sass/shop/_widgets.scss

66 lines
945 B
SCSS
Raw Permalink Normal View History

2017-08-01 13:21:13 +00:00
/**
* WooCommerce Price Filter
*/
.widget_price_filter {
2020-04-05 20:49:27 +00:00
2017-08-01 13:21:13 +00:00
.price_slider {
margin-bottom: 1.5em;
}
.price_slider_amount {
text-align: right;
2020-04-05 20:49:27 +00:00
line-height: 2.4;
2017-08-01 13:21:13 +00:00
.button {
float: left;
}
}
.ui-slider {
position: relative;
text-align: left;
}
.ui-slider .ui-slider-handle {
position: absolute;
z-index: 2;
width: 1em;
height: 1em;
cursor: ew-resize;
outline: none;
background: $color__link;
box-sizing: border-box;
2020-04-05 20:49:27 +00:00
margin-top: -0.25em;
2017-08-01 13:21:13 +00:00
opacity: 1;
&:last-child {
margin-left: -1em;
}
&:hover,
&.ui-state-active {
2020-04-05 20:49:27 +00:00
box-shadow: 0 0 0 0.25em rgba(#000, 0.1);
2017-08-01 13:21:13 +00:00
}
}
2017-08-30 11:14:55 +00:00
.ui-slider .ui-slider-range {
2017-08-01 13:21:13 +00:00
position: absolute;
z-index: 1;
display: block;
border: 0;
background: $color__link;
}
.price_slider_wrapper .ui-widget-content {
2020-04-05 20:49:27 +00:00
background: rgba(0, 0, 0, 0.1);
2017-08-01 13:21:13 +00:00
}
.ui-slider-horizontal {
2020-04-05 20:49:27 +00:00
height: 0.5em;
2017-08-01 13:21:13 +00:00
}
.ui-slider-horizontal .ui-slider-range {
height: 100%;
}
}