- no more default target, no osc send if no target specified - css updates (cursors, button links)
296 lines
4.7 KiB
SCSS
296 lines
4.7 KiB
SCSS
|
|
/* Functional styling;
|
|
* These styles are required for noUiSlider to function.
|
|
* You don't need to change these rules to apply your design.
|
|
*/
|
|
.noUi-target,
|
|
.noUi-target * {
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-ms-touch-action: none;
|
|
-ms-user-select: none;
|
|
-moz-user-select: none;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
.noUi-target {
|
|
position: relative;
|
|
}
|
|
.noUi-base {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: relative;
|
|
}
|
|
.noUi-origin {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
}
|
|
.noUi-handle {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
.noUi-stacking .noUi-handle {
|
|
/* This class is applied to the lower origin when
|
|
its values is > 50%. */
|
|
z-index: 10;
|
|
}
|
|
.noUi-stacking + .noUi-origin {
|
|
/* Fix stacking order in IE7, which incorrectly
|
|
creates a new context for the origins. */
|
|
*z-index: -1;
|
|
}
|
|
.noUi-state-tap .noUi-origin {
|
|
-webkit-transition: left 0.3s, top 0.3s;
|
|
transition: left 0.3s, top 0.3s;
|
|
}
|
|
.noUi-state-drag * {
|
|
cursor: inherit !important;
|
|
}
|
|
|
|
/* Painting and performance;
|
|
* Browsers can paint handles in their own layer.
|
|
*/
|
|
.noUi-base {
|
|
-webkit-transform: translate3d(0,0,0);
|
|
transform: translate3d(0,0,0);
|
|
}
|
|
|
|
/* Slider size and handle placement;
|
|
*/
|
|
.noUi-horizontal {
|
|
height: 4px!important;
|
|
}
|
|
.noUi-handle {
|
|
border-radius:100%!important;
|
|
background:$color-accent!important;
|
|
box-shadow:0 0 10px 0px #aaa inset,0 0 1px 1px rgba(0,0,0,.5),0 0 0 3px rgba(255,255,255,.2)!important
|
|
}
|
|
.noUi-horizontal .noUi-handle {
|
|
width: 10px;
|
|
height: 10px;
|
|
left: -5px;
|
|
top: -3px;
|
|
border:0;
|
|
padding:0;
|
|
}
|
|
.noUi-vertical {
|
|
width: 4px;
|
|
}
|
|
.noUi-vertical .noUi-handle {
|
|
width: 10px;
|
|
height: 10px;
|
|
left: -3px;
|
|
top: -5px;
|
|
}
|
|
|
|
/* Styling;
|
|
*/
|
|
.noUi-background {
|
|
background: #FAFAFA;
|
|
}
|
|
.noUi-connect {
|
|
background: $color-accent;
|
|
-webkit-transition: background 450ms;
|
|
transition: background 450ms;
|
|
}
|
|
.noUi-origin {
|
|
border-radius: 2px;
|
|
}
|
|
.noUi-target {
|
|
border-radius: 4px;
|
|
border: 1px solid #D3D3D3;
|
|
|
|
}
|
|
.noUi-target.noUi-connect {
|
|
|
|
}
|
|
|
|
/* Handles;
|
|
*/
|
|
|
|
.noUi-handle {
|
|
background: #FFF;
|
|
box-shadow: inset 0 0 1px #FFF,
|
|
inset 0 1px 7px #EBEBEB,
|
|
0 3px 6px -3px #BBB;
|
|
cursor: -webkit-grab;
|
|
&:active {
|
|
cursor: -webkit-grabbing;
|
|
}
|
|
}
|
|
.noUi-active {
|
|
box-shadow: inset 0 0 1px #FFF,
|
|
inset 0 1px 7px #DDD,
|
|
0 3px 6px -3px #BBB;
|
|
}
|
|
|
|
|
|
|
|
/* Disabled state;
|
|
*/
|
|
[disabled].noUi-connect,
|
|
[disabled] .noUi-connect {
|
|
background: #B8B8B8;
|
|
}
|
|
[disabled] .noUi-handle {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
|
|
/* PIPS */
|
|
|
|
|
|
/* Base;
|
|
*
|
|
*/
|
|
.noUi-pips,
|
|
.noUi-pips * {
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
.noUi-pips {
|
|
position: absolute;
|
|
font: 400 12px Arial;
|
|
color: #999;
|
|
}
|
|
|
|
/* Values;
|
|
*
|
|
*/
|
|
.noUi-value {
|
|
width: 40px;
|
|
position: absolute;
|
|
text-align: center;
|
|
}
|
|
.noUi-value-sub {
|
|
color: #ccc;
|
|
font-size: 10px;
|
|
}
|
|
|
|
/* Markings;
|
|
*
|
|
*/
|
|
.noUi-marker {
|
|
position: absolute;
|
|
background: #CCC;
|
|
}
|
|
.noUi-marker-sub {
|
|
background: #AAA;
|
|
}
|
|
.noUi-marker-large {
|
|
background: #AAA;
|
|
}
|
|
|
|
/* Horizontal layout;
|
|
*
|
|
*/
|
|
.noUi-pips-horizontal {
|
|
padding: 10px 0;
|
|
height: 50px;
|
|
top: 100%;
|
|
left: 0;
|
|
width: 100%;
|
|
}
|
|
.noUi-value-horizontal {
|
|
margin-left: -20px;
|
|
padding-top: 20px;
|
|
}
|
|
.noUi-value-horizontal.noUi-value-sub {
|
|
padding-top: 15px;
|
|
}
|
|
|
|
.noUi-marker-horizontal.noUi-marker {
|
|
margin-left: -1px;
|
|
width: 2px;
|
|
height: 5px;
|
|
}
|
|
.noUi-marker-horizontal.noUi-marker-sub {
|
|
height: 10px;
|
|
}
|
|
.noUi-marker-horizontal.noUi-marker-large {
|
|
height: 15px;
|
|
}
|
|
|
|
/* Vertical layout;
|
|
*
|
|
*/
|
|
.noUi-pips-vertical {
|
|
padding: 0 10px;
|
|
height: 100%;
|
|
top: 0;
|
|
left: 100%;
|
|
}
|
|
.noUi-value-vertical {
|
|
width: 15px;
|
|
margin-left: 20px;
|
|
margin-top: -5px;
|
|
}
|
|
|
|
.noUi-marker-vertical.noUi-marker {
|
|
width: 5px;
|
|
height: 2px;
|
|
margin-top: -1px;
|
|
}
|
|
.noUi-marker-vertical.noUi-marker-sub {
|
|
width: 10px;
|
|
}
|
|
.noUi-marker-vertical.noUi-marker-large {
|
|
width: 15px;
|
|
}
|
|
|
|
|
|
|
|
.noUi-background {
|
|
background:#222;
|
|
border:0px;
|
|
border-radius:0px;
|
|
box-shadow:0 0 0;
|
|
}
|
|
|
|
.noUi-target {
|
|
box-shadow:0 0 0;
|
|
}
|
|
.noUi-base {
|
|
z-index:2;
|
|
}
|
|
.noUi-handle {
|
|
border-radius:0;
|
|
box-shadow:0 0 0;
|
|
|
|
border-color:rgba(255,255,255,0.4);
|
|
}
|
|
|
|
|
|
.noUi-connect {
|
|
background:$color-accent;
|
|
border:0;
|
|
border-radius:0;
|
|
}
|
|
|
|
|
|
.noUi-handle:after {
|
|
content:"";
|
|
position:absolute;
|
|
height:500px;
|
|
left:-5000px;
|
|
width:10000px;
|
|
top:-250px;
|
|
background:none;
|
|
display:block!important;
|
|
}
|
|
.noUi-pips {
|
|
font-size:11px;
|
|
font-family:sans;
|
|
}
|
|
.noUi-value-vertical {
|
|
margin-top:-7px;
|
|
}
|
|
.noUi-marker-vertical.noUi-marker {
|
|
height:1px;
|
|
}
|
|
.noUi-marker-horizontal.noUi-marker {
|
|
width:1px;
|
|
}
|