@@ -13,7 +13,6 @@ body.compensate-for-scrollbar {
13
13
14
14
.fancybox-container {
15
15
-webkit-backface-visibility : hidden;
16
- backface-visibility : hidden;
17
16
height : 100% ;
18
17
left : 0 ;
19
18
outline : none;
@@ -52,7 +51,7 @@ body.compensate-for-scrollbar {
52
51
transition-timing-function : cubic-bezier (0.47 , 0 , 0.74 , 0.71 ); }
53
52
54
53
.fancybox-is-open .fancybox-bg {
55
- opacity : .87 ;
54
+ opacity : .9 ;
56
55
transition-timing-function : cubic-bezier (0.22 , 0.61 , 0.36 , 1 ); }
57
56
58
57
.fancybox-infobar ,
@@ -115,7 +114,7 @@ body.compensate-for-scrollbar {
115
114
outline : none;
116
115
overflow : auto;
117
116
-webkit-overflow-scrolling : touch;
118
- padding : 44px 44 px 0 44 px ;
117
+ padding : 44px ;
119
118
position : absolute;
120
119
text-align : center;
121
120
top : 0 ;
@@ -140,23 +139,20 @@ body.compensate-for-scrollbar {
140
139
.fancybox-slide--next {
141
140
display : block; }
142
141
143
- .fancybox-slide--next {
144
- z-index : 99995 ; }
145
-
146
142
.fancybox-slide--image {
147
143
overflow : hidden;
148
- padding : 44px 0 0 0 ; }
144
+ padding : 44px 0 ; }
149
145
150
146
.fancybox-slide--image ::before {
151
147
display : none; }
152
148
153
149
.fancybox-slide--html {
154
- padding : 6px 6 px 0 6 px ; }
150
+ padding : 6px ; }
155
151
156
152
.fancybox-content {
157
153
background : # fff ;
158
154
display : inline-block;
159
- margin : 0 0 44 px 0 ;
155
+ margin : 0 ;
160
156
max-width : 100% ;
161
157
overflow : auto;
162
158
-webkit-overflow-scrolling : touch;
@@ -190,9 +186,6 @@ body.compensate-for-scrollbar {
190
186
user-select : none;
191
187
z-index : 99995 ; }
192
188
193
- .fancybox-slide--html .fancybox-content {
194
- margin : 0 0 6px 0 ; }
195
-
196
189
.fancybox-can-zoomOut .fancybox-content {
197
190
cursor : -webkit-zoom-out;
198
191
cursor : zoom-out; }
@@ -237,7 +230,7 @@ body.compensate-for-scrollbar {
237
230
.fancybox-slide--video .fancybox-content ,
238
231
.fancybox-slide--map .fancybox-content ,
239
232
.fancybox-slide--iframe .fancybox-content {
240
- height : calc ( 100% - 44 px ) ;
233
+ height : 100% ;
241
234
overflow : visible;
242
235
padding : 0 ;
243
236
width : 100% ; }
@@ -260,9 +253,14 @@ body.compensate-for-scrollbar {
260
253
margin : 0 ;
261
254
overflow : hidden;
262
255
padding : 0 ;
263
- vertical-align : top;
264
256
width : 100% ; }
265
257
258
+ /* Fix iOS */
259
+ .fancybox-iframe {
260
+ left : 0 ;
261
+ position : absolute;
262
+ top : 0 ; }
263
+
266
264
.fancybox-error {
267
265
background : # fff ;
268
266
cursor : default;
@@ -308,14 +306,16 @@ body.compensate-for-scrollbar {
308
306
.fancybox-button .fancybox-focus {
309
307
outline : 1px dotted; }
310
308
311
- .fancybox-button .disabled ,
312
- .fancybox-button .disabled : hover ,
313
309
.fancybox-button [disabled ],
314
310
.fancybox-button [disabled ]: hover {
315
311
color : # 888 ;
316
312
cursor : default;
317
313
outline : none; }
318
314
315
+ /* Fix IE11 */
316
+ .fancybox-button div {
317
+ height : 100% ; }
318
+
319
319
.fancybox-button svg {
320
320
display : block;
321
321
height : 100% ;
@@ -378,23 +378,23 @@ body.compensate-for-scrollbar {
378
378
right : 0 ;
379
379
top : 0 ; }
380
380
381
+ .fancybox-slide--image .fancybox-is-scaling .fancybox-content {
382
+ overflow : hidden; }
383
+
381
384
.fancybox-is-scaling .fancybox-close-small ,
382
385
.fancybox-is-zoomable .fancybox-can-pan .fancybox-close-small {
383
386
display : none; }
384
387
385
388
/* Navigation arrows */
386
389
.fancybox-navigation .fancybox-button {
387
- background : transparent ;
390
+ background-clip : content-box ;
388
391
height : 100px ;
389
- margin : 0 ;
390
392
opacity : 0 ;
391
393
position : absolute;
392
394
top : calc (50% - 50px );
393
395
width : 70px ; }
394
396
395
397
.fancybox-navigation .fancybox-button div {
396
- background : rgba (30 , 30 , 30 , 0.6 );
397
- height : 100% ;
398
398
padding : 7px ; }
399
399
400
400
.fancybox-navigation .fancybox-button--arrow_left {
@@ -408,16 +408,18 @@ body.compensate-for-scrollbar {
408
408
/* Caption */
409
409
.fancybox-caption {
410
410
bottom : 0 ;
411
- color : # fff ;
411
+ color : # eee ;
412
412
font-size : 14px ;
413
413
font-weight : 400 ;
414
414
left : 0 ;
415
415
line-height : 1.5 ;
416
416
padding : 25px 44px 25px 44px ;
417
- right : 0 ; }
417
+ right : 0 ;
418
+ text-align : center;
419
+ z-index : 99996 ; }
418
420
419
421
.fancybox-caption ::before {
420
- background-image : url (data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAEAAAEtCAQAAABjBcL7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHRJREFUKM+Vk8EOgDAIQ0vj/3+xBw8qIZZueFnIKC90MCAI8DlrkHGeqqGIU6lVigrBtpCWqeRWoHDNqs0F7VNVBVxmHRlvoVqjaYkdnDIaivH2HqZ5+oZj3JUzWB+cOz4G48Bg+tsJ/tqu4dLC/4Xb+0GcF5BwBC0AA53qAAAAAElFTkSuQmCC );
422
+ background-image : url (data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAEAAAD6CAQAAADKSeXYAAAAYklEQVQoz42RwQ3AMAgDjfcfup8WoRykfBAK5mQHKSz5rbXJPis1hjiV3CIqgG0hLZPkVkA4p4x5oR1bVeDrdCLrW2Q0D5bcwY3TGMHbdw3mPRuOtaspYP1w//G1OIcW148H0DMCqI/3mMMAAAAASUVORK5CYII= );
421
423
background-repeat : repeat-x;
422
424
background-size : contain;
423
425
bottom : 0 ;
@@ -427,18 +429,9 @@ body.compensate-for-scrollbar {
427
429
pointer-events : none;
428
430
position : absolute;
429
431
right : 0 ;
430
- top : -25 px ;
432
+ top : -44 px ;
431
433
z-index : -1 ; }
432
434
433
- .fancybox-caption ::after {
434
- border-bottom : 1px solid rgba (255 , 255 , 255 , 0.3 );
435
- content : '' ;
436
- display : block;
437
- left : 44px ;
438
- position : absolute;
439
- right : 44px ;
440
- top : 0 ; }
441
-
442
435
.fancybox-caption a ,
443
436
.fancybox-caption a : link ,
444
437
.fancybox-caption a : visited {
@@ -572,13 +565,13 @@ body.compensate-for-scrollbar {
572
565
573
566
/* Styling for Small-Screen Devices */
574
567
@media all and (max-height : 576px ) {
568
+ .fancybox-caption {
569
+ padding : 12px ; }
575
570
.fancybox-slide {
576
571
padding-left : 6px ;
577
572
padding-right : 6px ; }
578
573
.fancybox-slide--image {
579
- padding : 6px 0 0 0 ; }
580
- .fancybox-slide--image .fancybox-content {
581
- margin-bottom : 6px ; }
574
+ padding : 6px 0 ; }
582
575
.fancybox-slide--image .fancybox-close-small {
583
576
background : # 4e4e4e ;
584
577
color : # f2f4f6 ;
@@ -766,7 +759,7 @@ body.compensate-for-scrollbar {
766
759
opacity : 1 ; }
767
760
768
761
/* Styling for Small-Screen Devices */
769
- @media all and (max-width : 768 px ) {
762
+ @media all and (max-width : 576 px ) {
770
763
.fancybox-thumbs {
771
764
width : 110px ; }
772
765
.fancybox-show-thumbs .fancybox-inner {
0 commit comments