1
|
|
2
|
/* Functional styling;
|
3
|
* These styles are required for noUiSlider to function.
|
4
|
* You don't need to change these rules to apply your design.
|
5
|
*/
|
6
|
.noUi-target,
|
7
|
.noUi-target * {
|
8
|
-webkit-touch-callout: none;
|
9
|
-webkit-user-select: none;
|
10
|
-ms-touch-action: none;
|
11
|
-ms-user-select: none;
|
12
|
-moz-user-select: none;
|
13
|
-moz-box-sizing: border-box;
|
14
|
box-sizing: border-box;
|
15
|
}
|
16
|
.noUi-base {
|
17
|
width: 100%;
|
18
|
height: 100%;
|
19
|
position: relative;
|
20
|
}
|
21
|
.noUi-origin {
|
22
|
position: absolute;
|
23
|
right: 0;
|
24
|
top: 0;
|
25
|
left: 0;
|
26
|
bottom: 0;
|
27
|
}
|
28
|
.noUi-handle {
|
29
|
position: relative;
|
30
|
z-index: 1;
|
31
|
}
|
32
|
.noUi-stacking .noUi-handle {
|
33
|
/* This class is applied to the lower origin when
|
34
|
its values is > 50%. */
|
35
|
z-index: 10;
|
36
|
}
|
37
|
.noUi-stacking + .noUi-origin {
|
38
|
/* Fix stacking order in IE7, which incorrectly
|
39
|
creates a new context for the origins. */
|
40
|
*z-index: -1;
|
41
|
}
|
42
|
.noUi-state-tap .noUi-origin {
|
43
|
-webkit-transition: left 0.3s, top 0.3s;
|
44
|
transition: left 0.3s, top 0.3s;
|
45
|
}
|
46
|
.noUi-state-drag * {
|
47
|
cursor: inherit !important;
|
48
|
}
|
49
|
|
50
|
/* Slider size and handle placement;
|
51
|
*/
|
52
|
.noUi-horizontal {
|
53
|
height: 18px;
|
54
|
}
|
55
|
.noUi-horizontal .noUi-handle {
|
56
|
width: 34px;
|
57
|
height: 28px;
|
58
|
left: -17px;
|
59
|
top: -6px;
|
60
|
}
|
61
|
.noUi-horizontal.noUi-extended {
|
62
|
padding: 0 15px;
|
63
|
}
|
64
|
.noUi-horizontal.noUi-extended .noUi-origin {
|
65
|
right: -15px;
|
66
|
}
|
67
|
.noUi-vertical {
|
68
|
width: 18px;
|
69
|
}
|
70
|
.noUi-vertical .noUi-handle {
|
71
|
width: 28px;
|
72
|
height: 34px;
|
73
|
left: -6px;
|
74
|
top: -17px;
|
75
|
}
|
76
|
.noUi-vertical.noUi-extended {
|
77
|
padding: 15px 0;
|
78
|
}
|
79
|
.noUi-vertical.noUi-extended .noUi-origin {
|
80
|
bottom: -15px;
|
81
|
}
|
82
|
|
83
|
/* Styling;
|
84
|
*/
|
85
|
.noUi-background {
|
86
|
background: #FAFAFA;
|
87
|
box-shadow: inset 0 1px 1px #f0f0f0;
|
88
|
}
|
89
|
.noUi-connect {
|
90
|
background: #3FB8AF;
|
91
|
box-shadow: inset 0 0 3px rgba(51,51,51,0.45);
|
92
|
-webkit-transition: background 450ms;
|
93
|
transition: background 450ms;
|
94
|
}
|
95
|
.noUi-origin {
|
96
|
border-radius: 2px;
|
97
|
}
|
98
|
.noUi-target {
|
99
|
border-radius: 4px;
|
100
|
border: 1px solid #D3D3D3;
|
101
|
box-shadow: inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB;
|
102
|
}
|
103
|
.noUi-target.noUi-connect {
|
104
|
box-shadow: inset 0 0 3px rgba(51,51,51,0.45), 0 3px 6px -5px #BBB;
|
105
|
}
|
106
|
|
107
|
/* Handles and cursors;
|
108
|
*/
|
109
|
.noUi-dragable {
|
110
|
cursor: w-resize;
|
111
|
}
|
112
|
.noUi-vertical .noUi-dragable {
|
113
|
cursor: n-resize;
|
114
|
}
|
115
|
.noUi-handle {
|
116
|
border: 1px solid #D9D9D9;
|
117
|
border-radius: 3px;
|
118
|
background: #FFF;
|
119
|
cursor: default;
|
120
|
box-shadow: inset 0 0 1px #FFF,
|
121
|
inset 0 1px 7px #EBEBEB,
|
122
|
0 3px 6px -3px #BBB;
|
123
|
}
|
124
|
.noUi-active {
|
125
|
box-shadow: inset 0 0 1px #FFF,
|
126
|
inset 0 1px 7px #DDD,
|
127
|
0 3px 6px -3px #BBB;
|
128
|
}
|
129
|
|
130
|
/* Handle stripes;
|
131
|
*/
|
132
|
.noUi-handle:before,
|
133
|
.noUi-handle:after {
|
134
|
content: "";
|
135
|
display: block;
|
136
|
position: absolute;
|
137
|
height: 14px;
|
138
|
width: 1px;
|
139
|
background: #E8E7E6;
|
140
|
left: 14px;
|
141
|
top: 6px;
|
142
|
}
|
143
|
.noUi-handle:after {
|
144
|
left: 17px;
|
145
|
}
|
146
|
.noUi-vertical .noUi-handle:before,
|
147
|
.noUi-vertical .noUi-handle:after {
|
148
|
width: 14px;
|
149
|
height: 1px;
|
150
|
left: 6px;
|
151
|
top: 14px;
|
152
|
}
|
153
|
.noUi-vertical .noUi-handle:after {
|
154
|
top: 17px;
|
155
|
}
|
156
|
|
157
|
/* Disabled state;
|
158
|
*/
|
159
|
[disabled].noUi-connect,
|
160
|
[disabled] .noUi-connect {
|
161
|
background: #B8B8B8;
|
162
|
}
|
163
|
[disabled] .noUi-handle {
|
164
|
cursor: not-allowed;
|
165
|
}
|