forked from danielcrisp/angular-rangeslider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
angular.rangeSlider.css
293 lines (292 loc) · 9.21 KB
/
angular.rangeSlider.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
/**
* Angular RangeSlider SCSS
*
* Version: 0.0.3
*
* Author: Daniel Crisp, danielcrisp.com
*
* The rangeSlider has been styled to match the default styling
* of form elements styled using Twitter's Bootstrap
*
* Originally forked from https://github.com/leongersen/noUiSlider
*
*/
/*------------------------------------*\
COMPASS IMPORTS
\*------------------------------------*/
/*------------------------------------*\
SETTINGS
\*------------------------------------*/
/*------------------------------------*\
THE CSS
\*------------------------------------*/
/* line 43, scss/angular.rangeSlider.scss */
.range-slider {
position: relative;
margin: 10px 0 30px;
padding: 4px;
border: 1px solid #ccc;
background: #fff;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-o-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: border linear, box-shadow linear;
-webkit-transition-delay: 0.2s, 0.2s;
-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
-o-transition: border linear 0.2s, box-shadow linear 0.2s;
transition: border linear 0.2s, box-shadow linear 0.2s;
/*------------------------------------*\
RUNNER
\*------------------------------------*/
/*------------------------------------*\
JOIN (connects the two handles)
\*------------------------------------*/
/*------------------------------------*\
HANDLE
\*------------------------------------*/
/*------------------------------------*\
HANDLE SPECIFICS
\*------------------------------------*/
/*------------------------------------*\
VALUE LABELS
\*------------------------------------*/
/*------------------------------------*\
VERTICAL SLIDER
\*------------------------------------*/
/*------------------------------------*\
FOCUS STATE
\*------------------------------------*/
/*------------------------------------*\
DISABLED STATE
\*------------------------------------*/
}
/* line 46, scss/angular.rangeSlider.scss */
.range-slider, .range-slider * {
display: block;
cursor: default;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
/* line 69, scss/angular.rangeSlider.scss */
.range-slider .runner {
position: relative;
margin: 0 9px;
height: 18px;
}
/* line 79, scss/angular.rangeSlider.scss */
.range-slider .join {
position: absolute;
z-index: 1;
top: 50%;
left: 0;
right: 100%;
height: 8px;
margin: -4px 0 0 0;
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #5bc0de), color-stop(100%, #2f96b4));
background-image: -webkit-linear-gradient(#5bc0de, #2f96b4);
background-image: -moz-linear-gradient(#5bc0de, #2f96b4);
background-image: -o-linear-gradient(#5bc0de, #2f96b4);
background-image: linear-gradient(#5bc0de, #2f96b4);
}
/* line 97, scss/angular.rangeSlider.scss */
.range-slider .handle {
position: absolute;
z-index: 2;
height: 100%;
width: 18px;
margin: 0 0 0 -9px;
background: #efefef;
border: 1px solid #ccc;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 3px;
/*------------------------------------*\
HANDLE ICON
\*------------------------------------*/
}
/* line 111, scss/angular.rangeSlider.scss */
.range-slider .handle i {
display: block;
width: 100%;
height: 100%;
background: no-repeat -9999px -9999px;
cursor: pointer;
}
/* line 121, scss/angular.rangeSlider.scss */
.range-slider .handle:hover i, .range-slider .handle.down i {
background-position: 50% 50%;
}
/* line 126, scss/angular.rangeSlider.scss */
.range-slider .handle.down {
-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}
/* line 137, scss/angular.rangeSlider.scss */
.range-slider .handle-min i {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFNJREFUeNpiYMAEXEDsA+OwoEnKALETEHOgK2AEYhMgNkQ3DqSAB6pLAot1DExIJmAFzED8C4hvQdnIppyFKYCBp0D8CohloVafxWUqN7I3AQIMAKw6B24pOi8lAAAAAElFTkSuQmCC");
}
/* line 144, scss/angular.rangeSlider.scss */
.range-slider .handle-max i {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFdJREFUeNpiYEAAHyDmYkADzEhsByBWA+K3QPwJmwJjIGYBYlUgZgLi59gUwIAkEEsD8VMmBtyAkQFqJDZwAYjPAPE/dAU/gHg/ED/GpgvkTW50QYAAAwADfwrM5sqplgAAAABJRU5ErkJggg==");
}
/* line 154, scss/angular.rangeSlider.scss */
.range-slider .value {
position: absolute;
top: 100%;
left: 0;
padding: 5px 0 0 0;
font-size: 12px;
color: #999;
}
/* line 162, scss/angular.rangeSlider.scss */
.range-slider .value.value-max {
left: auto;
right: 0;
text-align: right;
}
/* line 170, scss/angular.rangeSlider.scss */
.range-slider.handle-min-down .value-min, .range-slider.handle-max-down .value-max {
color: #333;
}
/* line 178, scss/angular.rangeSlider.scss */
.range-slider.vertical {
width: 28px;
margin: 10px auto;
/*------------------------------------*\
RUNNER
\*------------------------------------*/
/*------------------------------------*\
JOIN
\*------------------------------------*/
/*------------------------------------*\
HANDLE
\*------------------------------------*/
/*------------------------------------*\
HANDLE SPECIFICS
\*------------------------------------*/
/*------------------------------------*\
VALUE LABELS
\*------------------------------------*/
/*------------------------------------*\
VERTICAL LEFT SLIDER
\*------------------------------------*/
/*------------------------------------*\
VERTICAL RIGHT SLIDER
\*------------------------------------*/
}
/* line 186, scss/angular.rangeSlider.scss */
.range-slider.vertical .runner {
margin: 9px 0;
height: 300px;
width: 18px;
}
/* line 196, scss/angular.rangeSlider.scss */
.range-slider.vertical .join {
width: 8px;
height: auto;
top: 0;
bottom: 100%;
left: 50%;
right: auto;
margin: 0 0 0 -4px;
}
/* line 210, scss/angular.rangeSlider.scss */
.range-slider.vertical .handle {
width: 100%;
height: 18px;
margin: -9px 0 0 0;
}
/* line 221, scss/angular.rangeSlider.scss */
.range-slider.vertical .handle-min i {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFFJREFUeNpiYEAFPFAMB0xIbEYgdoJiRpggM5ICUyBWhZoA0vgMWYEsENsg6ZQE4ldA/AmkkguIHZGNhQKQGBfIBHcgFmTABCxALMJAMQAIMAAcNgVQJ7t7JQAAAABJRU5ErkJggg==");
}
/* line 228, scss/angular.rangeSlider.scss */
.range-slider.vertical .handle-max i {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFZJREFUeNpiYKAUMAKxDxBL4ZB/xgQk9gHxDyySILF9zEDiNxC/A2JVNAW7gfgtM5TzCYhZgFgCyr8IxNdADGZk+4BYGoi/APEBIP6PzVE8UAwHAAEGAArIDvzRFIA6AAAAAElFTkSuQmCC");
}
/* line 238, scss/angular.rangeSlider.scss */
.range-slider.vertical .value {
top: 0;
left: 100%;
padding: 0 0 0 5px;
}
/* line 243, scss/angular.rangeSlider.scss */
.range-slider.vertical .value.value-max {
top: auto;
bottom: 0;
right: auto;
text-align: left;
}
/* line 255, scss/angular.rangeSlider.scss */
.range-slider.vertical.left {
margin: 10px 0;
}
/* line 263, scss/angular.rangeSlider.scss */
.range-slider.vertical.right {
margin: 10px 0 10px auto;
/*------------------------------------*\
VALUE LABELS
\*------------------------------------*/
}
/* line 270, scss/angular.rangeSlider.scss */
.range-slider.vertical.right .value {
left: auto;
right: 100%;
padding: 0 5px 0 0;
text-align: right;
}
/* line 276, scss/angular.rangeSlider.scss */
.range-slider.vertical.right .value.value-max {
text-align: right;
}
/* line 288, scss/angular.rangeSlider.scss */
.range-slider.focus {
border-color: rgba(82, 168, 236, 0.8);
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}
/* line 299, scss/angular.rangeSlider.scss */
.range-slider.disabled, .range-slider.disabled.focus {
border-color: #ddd;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
/* line 305, scss/angular.rangeSlider.scss */
.range-slider.disabled .handle {
background: #fff;
border-color: #ddd;
}
/* line 309, scss/angular.rangeSlider.scss */
.range-slider.disabled .handle i {
background: none !important;
cursor: default;
}
/* line 315, scss/angular.rangeSlider.scss */
.range-slider.disabled .join {
background: #ddd;
}
/* line 319, scss/angular.rangeSlider.scss */
.range-slider.disabled .value {
color: #ddd;
}
/*------------------------------------*\
TOUCH STATE
\*------------------------------------*/
/* line 331, scss/angular.rangeSlider.scss */
body.TOUCH {
-ms-touch-action: none;
}