|
1 /*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */ |
|
2 .fancybox-wrap, |
|
3 .fancybox-skin, |
|
4 .fancybox-outer, |
|
5 .fancybox-inner, |
|
6 .fancybox-image, |
|
7 .fancybox-wrap iframe, |
|
8 .fancybox-wrap object, |
|
9 .fancybox-nav, |
|
10 .fancybox-nav span, |
|
11 .fancybox-tmp |
|
12 { |
|
13 padding: 0; |
|
14 margin: 0; |
|
15 border: 0; |
|
16 outline: none; |
|
17 vertical-align: top; |
|
18 } |
|
19 |
|
20 .fancybox-wrap { |
|
21 position: absolute; |
|
22 top: 0; |
|
23 left: 0; |
|
24 z-index: 8020; |
|
25 } |
|
26 |
|
27 .fancybox-skin { |
|
28 position: relative; |
|
29 background: #f9f9f9; |
|
30 color: #444; |
|
31 text-shadow: none; |
|
32 -webkit-border-radius: 4px; |
|
33 -moz-border-radius: 4px; |
|
34 border-radius: 4px; |
|
35 } |
|
36 |
|
37 .fancybox-opened { |
|
38 z-index: 8030; |
|
39 } |
|
40 |
|
41 .fancybox-opened .fancybox-skin { |
|
42 -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); |
|
43 -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); |
|
44 box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); |
|
45 } |
|
46 |
|
47 .fancybox-outer, .fancybox-inner { |
|
48 position: relative; |
|
49 } |
|
50 |
|
51 .fancybox-inner { |
|
52 overflow: hidden; |
|
53 } |
|
54 .fancybox-inner .hidden-mask { |
|
55 position: absolute; |
|
56 width: 100%; |
|
57 height: 100%; |
|
58 opacity: 0.5; |
|
59 background: silver url(../../img/hidden.png) scroll no-repeat 50% 50%; |
|
60 } |
|
61 |
|
62 .fancybox-type-iframe .fancybox-inner { |
|
63 -webkit-overflow-scrolling: touch; |
|
64 } |
|
65 |
|
66 .fancybox-error { |
|
67 color: #444; |
|
68 font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; |
|
69 margin: 0; |
|
70 padding: 15px; |
|
71 white-space: nowrap; |
|
72 } |
|
73 |
|
74 .fancybox-image, .fancybox-iframe { |
|
75 display: block; |
|
76 width: 100%; |
|
77 height: 100%; |
|
78 } |
|
79 |
|
80 .fancybox-image { |
|
81 max-width: 100%; |
|
82 max-height: 100%; |
|
83 } |
|
84 |
|
85 #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span { |
|
86 background-image: url('../../img/fancybox/fancybox_sprite.png'); |
|
87 } |
|
88 |
|
89 #fancybox-loading { |
|
90 position: fixed; |
|
91 top: 50%; |
|
92 left: 50%; |
|
93 margin-top: -22px; |
|
94 margin-left: -22px; |
|
95 background-position: 0 -108px; |
|
96 opacity: 0.8; |
|
97 cursor: pointer; |
|
98 z-index: 8060; |
|
99 } |
|
100 |
|
101 #fancybox-loading div { |
|
102 width: 44px; |
|
103 height: 44px; |
|
104 background: url('../../img/fancybox/fancybox_loading.gif') center center no-repeat; |
|
105 } |
|
106 |
|
107 .fancybox-close { |
|
108 position: absolute; |
|
109 top: -18px; |
|
110 right: -18px; |
|
111 width: 36px; |
|
112 height: 36px; |
|
113 cursor: pointer; |
|
114 z-index: 8040; |
|
115 } |
|
116 |
|
117 .fancybox-nav { |
|
118 position: absolute; |
|
119 top: 0; |
|
120 width: 40%; |
|
121 height: 100%; |
|
122 cursor: pointer; |
|
123 text-decoration: none; |
|
124 background: transparent url('../../img/fancybox/blank.gif'); /* helps IE */ |
|
125 -webkit-tap-highlight-color: rgba(0,0,0,0); |
|
126 z-index: 8040; |
|
127 } |
|
128 |
|
129 .fancybox-prev { |
|
130 left: 0; |
|
131 } |
|
132 |
|
133 .fancybox-next { |
|
134 right: 0; |
|
135 } |
|
136 |
|
137 .fancybox-nav span { |
|
138 position: absolute; |
|
139 top: 50%; |
|
140 width: 36px; |
|
141 height: 34px; |
|
142 margin-top: -18px; |
|
143 cursor: pointer; |
|
144 z-index: 8040; |
|
145 visibility: hidden; |
|
146 } |
|
147 |
|
148 .fancybox-prev span { |
|
149 left: 10px; |
|
150 background-position: 0 -36px; |
|
151 } |
|
152 |
|
153 .fancybox-next span { |
|
154 right: 10px; |
|
155 background-position: 0 -72px; |
|
156 } |
|
157 |
|
158 .fancybox-nav:hover span { |
|
159 visibility: visible; |
|
160 } |
|
161 |
|
162 .fancybox-tmp { |
|
163 position: absolute; |
|
164 top: -99999px; |
|
165 left: -99999px; |
|
166 visibility: hidden; |
|
167 max-width: 99999px; |
|
168 max-height: 99999px; |
|
169 overflow: visible !important; |
|
170 } |
|
171 |
|
172 /* Overlay helper */ |
|
173 |
|
174 .fancybox-lock { |
|
175 overflow: hidden !important; |
|
176 width: auto; |
|
177 } |
|
178 |
|
179 .fancybox-lock body { |
|
180 overflow: hidden !important; |
|
181 } |
|
182 |
|
183 .fancybox-lock-test { |
|
184 overflow-y: hidden !important; |
|
185 } |
|
186 |
|
187 .fancybox-overlay { |
|
188 position: absolute; |
|
189 top: 0; |
|
190 left: 0; |
|
191 overflow: hidden; |
|
192 display: none; |
|
193 z-index: 8010; |
|
194 background: url('../../img/fancybox/fancybox_overlay.png'); |
|
195 } |
|
196 |
|
197 .fancybox-overlay-fixed { |
|
198 position: fixed; |
|
199 bottom: 0; |
|
200 right: 0; |
|
201 } |
|
202 |
|
203 .fancybox-lock .fancybox-overlay { |
|
204 overflow: auto; |
|
205 overflow-y: scroll; |
|
206 } |
|
207 |
|
208 /* Title helper */ |
|
209 |
|
210 .fancybox-title { |
|
211 visibility: hidden; |
|
212 font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; |
|
213 position: relative; |
|
214 text-shadow: none; |
|
215 z-index: 8050; |
|
216 } |
|
217 |
|
218 .fancybox-opened .fancybox-title { |
|
219 visibility: visible; |
|
220 } |
|
221 |
|
222 .fancybox-title-float-wrap { |
|
223 position: absolute; |
|
224 bottom: 0; |
|
225 right: 50%; |
|
226 margin-bottom: -35px; |
|
227 z-index: 8050; |
|
228 text-align: center; |
|
229 } |
|
230 |
|
231 .fancybox-title-float-wrap .child { |
|
232 display: inline-block; |
|
233 margin-right: -100%; |
|
234 padding: 2px 20px; |
|
235 background: transparent; /* Fallback for web browsers that doesn't support RGBa */ |
|
236 background: rgba(0, 0, 0, 0.8); |
|
237 -webkit-border-radius: 15px; |
|
238 -moz-border-radius: 15px; |
|
239 border-radius: 15px; |
|
240 text-shadow: 0 1px 2px #222; |
|
241 color: #FFF; |
|
242 font-weight: bold; |
|
243 line-height: 24px; |
|
244 white-space: nowrap; |
|
245 } |
|
246 |
|
247 .fancybox-title-outside-wrap { |
|
248 position: relative; |
|
249 margin-top: 10px; |
|
250 color: #fff; |
|
251 } |
|
252 |
|
253 .fancybox-title-inside-wrap { |
|
254 padding-top: 10px; |
|
255 } |
|
256 |
|
257 .fancybox-title-over-wrap { |
|
258 position: absolute; |
|
259 bottom: 0; |
|
260 left: 0; |
|
261 color: #fff; |
|
262 padding: 10px; |
|
263 background: #000; |
|
264 background: rgba(0, 0, 0, .8); |
|
265 } |
|
266 |
|
267 /*Retina graphics!*/ |
|
268 @media only screen and (-webkit-min-device-pixel-ratio: 1.5), |
|
269 only screen and (min--moz-device-pixel-ratio: 1.5), |
|
270 only screen and (min-device-pixel-ratio: 1.5){ |
|
271 |
|
272 #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span { |
|
273 background-image: url('../../img/fancybox/fancybox_sprite@2x.png'); |
|
274 background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/ |
|
275 } |
|
276 |
|
277 #fancybox-loading div { |
|
278 background-image: url('../../img/fancybox/fancybox_loading@2x.gif'); |
|
279 background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/ |
|
280 } |
|
281 } |
|
282 |
|
283 |
|
284 #fancybox-buttons { |
|
285 position: fixed; |
|
286 left: 0; |
|
287 width: 100%; |
|
288 z-index: 8050; |
|
289 } |
|
290 |
|
291 #fancybox-buttons.top { |
|
292 top: 10px; |
|
293 } |
|
294 |
|
295 #fancybox-buttons.bottom { |
|
296 bottom: 10px; |
|
297 } |
|
298 |
|
299 #fancybox-buttons ul { |
|
300 display: block; |
|
301 width: 166px; |
|
302 height: 30px; |
|
303 margin: 0 auto; |
|
304 padding: 0; |
|
305 list-style: none; |
|
306 border: 1px solid #111; |
|
307 border-radius: 3px; |
|
308 -webkit-box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); |
|
309 -moz-box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); |
|
310 box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); |
|
311 background: rgb(50,50,50); |
|
312 background: -moz-linear-gradient(top, rgb(68,68,68) 0%, rgb(52,52,52) 50%, rgb(41,41,41) 50%, rgb(51,51,51) 100%); |
|
313 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(68,68,68)), color-stop(50%,rgb(52,52,52)), color-stop(50%,rgb(41,41,41)), color-stop(100%,rgb(51,51,51))); |
|
314 background: -webkit-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%); |
|
315 background: -o-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%); |
|
316 background: -ms-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%); |
|
317 background: linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%); |
|
318 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#444444', endColorstr='#222222',GradientType=0 ); |
|
319 } |
|
320 |
|
321 #fancybox-buttons ul li { |
|
322 float: left; |
|
323 margin: 0; |
|
324 padding: 0; |
|
325 } |
|
326 |
|
327 #fancybox-buttons a { |
|
328 display: block; |
|
329 width: 30px; |
|
330 height: 30px; |
|
331 text-indent: -9999px; |
|
332 background-color: transparent; |
|
333 background-image: url('../../img/fancybox/fancybox-buttons.png'); |
|
334 background-repeat: no-repeat; |
|
335 outline: none; |
|
336 opacity: 0.8; |
|
337 } |
|
338 |
|
339 #fancybox-buttons a:hover { |
|
340 opacity: 1; |
|
341 } |
|
342 |
|
343 #fancybox-buttons a.btnPrev { |
|
344 background-position: 5px 0; |
|
345 } |
|
346 |
|
347 #fancybox-buttons a.btnNext { |
|
348 background-position: -33px 0; |
|
349 border-right: 1px solid #3e3e3e; |
|
350 } |
|
351 |
|
352 #fancybox-buttons a.btnPlay { |
|
353 background-position: 0 -30px; |
|
354 } |
|
355 |
|
356 #fancybox-buttons a.btnPlayOn { |
|
357 background-position: -30px -30px; |
|
358 } |
|
359 |
|
360 #fancybox-buttons a.btnToggle { |
|
361 background-position: 3px -60px; |
|
362 border-left: 1px solid #111; |
|
363 border-right: 1px solid #3e3e3e; |
|
364 width: 35px |
|
365 } |
|
366 |
|
367 #fancybox-buttons a.btnToggleOn { |
|
368 background-position: -27px -60px; |
|
369 } |
|
370 |
|
371 #fancybox-buttons a.btnClose { |
|
372 position: relative; |
|
373 border-left: 1px solid #111; |
|
374 width: 35px; |
|
375 right: 0; |
|
376 top: 0; |
|
377 background-position: -56px 0px; |
|
378 } |
|
379 |
|
380 #fancybox-buttons a.btnDisabled { |
|
381 opacity : 0.4; |
|
382 cursor: default; |
|
383 } |
|
384 |
|
385 |
|
386 #fancybox-thumbs { |
|
387 position: fixed; |
|
388 left: 0; |
|
389 width: 100%; |
|
390 overflow: hidden; |
|
391 z-index: 8050; |
|
392 } |
|
393 |
|
394 #fancybox-thumbs.bottom { |
|
395 bottom: 2px; |
|
396 } |
|
397 |
|
398 #fancybox-thumbs.top { |
|
399 top: 2px; |
|
400 } |
|
401 |
|
402 #fancybox-thumbs ul { |
|
403 position: relative; |
|
404 list-style: none; |
|
405 margin: 0; |
|
406 padding: 0; |
|
407 } |
|
408 |
|
409 #fancybox-thumbs ul li { |
|
410 float: left; |
|
411 padding: 1px; |
|
412 opacity: 0.5; |
|
413 } |
|
414 |
|
415 #fancybox-thumbs ul li.active { |
|
416 opacity: 0.75; |
|
417 padding: 0; |
|
418 border: 1px solid #fff; |
|
419 } |
|
420 |
|
421 #fancybox-thumbs ul li:hover { |
|
422 opacity: 1; |
|
423 } |
|
424 |
|
425 #fancybox-thumbs ul li a { |
|
426 display: block; |
|
427 position: relative; |
|
428 overflow: hidden; |
|
429 border: 1px solid #222; |
|
430 background: #111; |
|
431 outline: none; |
|
432 } |
|
433 |
|
434 #fancybox-thumbs ul li img { |
|
435 display: block; |
|
436 position: relative; |
|
437 border: 0; |
|
438 padding: 0; |
|
439 max-width: none; |
|
440 } |