80 lines
2.5 KiB
SCSS
80 lines
2.5 KiB
SCSS
body , div.wpforms-container-full, div.wpforms-container-full .wpforms-form *{
|
|
.rangeslider,
|
|
.rangeslider__fill {
|
|
display: block;
|
|
}
|
|
|
|
.rangeslider {
|
|
background: var(--color-set-one-bg-1)!important;
|
|
position: relative!important;
|
|
}
|
|
|
|
.rangeslider--horizontal {
|
|
height: 8px;
|
|
width: 100%;
|
|
}
|
|
|
|
.rangeslider--vertical {
|
|
width: 20px;
|
|
min-height: 150px;
|
|
max-height: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.rangeslider--disabled {
|
|
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.rangeslider__fill {
|
|
background: var(--color-set-one-1);
|
|
position: absolute;
|
|
}
|
|
.rangeslider--horizontal .rangeslider__fill {
|
|
top: 0;
|
|
height: 100%;
|
|
}
|
|
.rangeslider--vertical .rangeslider__fill {
|
|
bottom: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.rangeslider__handle {
|
|
background:var(--color-white);
|
|
border: 0px;
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
width: 16px;
|
|
height: 16px;
|
|
position: absolute;
|
|
background: var(--color-set-one-1);
|
|
-moz-border-radius: 50%;
|
|
-webkit-border-radius: 50%;
|
|
border-radius: 50%;
|
|
}
|
|
/*--
|
|
.rangeslider__handle:active, .rangeslider--active .rangeslider__handle {
|
|
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjEiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC4xMiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
|
|
background-size: 100%;
|
|
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(0, 0, 0, 0.1)), color-stop(100%, rgba(0, 0, 0, 0.12)));
|
|
background-image: -moz-linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.12));
|
|
background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.12));
|
|
background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.12));
|
|
}---*/
|
|
.rangeslider--horizontal .rangeslider__handle {
|
|
top: -4px;
|
|
touch-action: pan-y;
|
|
-ms-touch-action: pan-y;
|
|
}
|
|
.rangeslider--vertical .rangeslider__handle {
|
|
left: -10px;
|
|
touch-action: pan-x;
|
|
-ms-touch-action: pan-x;
|
|
}
|
|
|
|
input[type="range"]:focus + .rangeslider .rangeslider__handle {
|
|
-moz-box-shadow: 0 0 8px rgba(255, 0, 255, 0.9);
|
|
-webkit-box-shadow: 0 0 8px rgba(255, 0, 255, 0.9);
|
|
box-shadow: 0 0 8px rgba(255, 0, 255, 0.9);
|
|
}
|
|
} |