fotoramajs 4.4.4 → 4.4.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f56a4a09e7d03468fe08f76f5e87c80e709ccfd5
|
4
|
+
data.tar.gz: 1354434441490a5dfe5ae5f8b59db8aa08be3349
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3117fb71a09d6a0355877eb753a3e6d1a80a5dcb8084e34642e72c504a3e763dc2668d20135e411f15948982eed9d567ce8ab1ca4aceced09df12d3b8656ff9
|
7
|
+
data.tar.gz: 29cec6cb0b8cb562d00f5cc670d613f4076125c13ae668133464c737bcc62a06fa7741d2061249f0a3534fc4bd9e8a868105489188c2adfd0fd9db527eb617d2
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fotoramajs (4.4.
|
4
|
+
fotoramajs (4.4.5)
|
5
5
|
sprockets (>= 2)
|
6
6
|
|
7
7
|
GEM
|
@@ -9,7 +9,7 @@ GEM
|
|
9
9
|
specs:
|
10
10
|
hike (1.2.3)
|
11
11
|
httpclient (2.3.4.1)
|
12
|
-
multi_json (1.8.
|
12
|
+
multi_json (1.8.2)
|
13
13
|
rack (1.5.2)
|
14
14
|
sprockets (2.10.0)
|
15
15
|
hike (~> 1.2)
|
data/lib/fotoramajs/version.rb
CHANGED
Binary file
|
Binary file
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Fotorama 4.4.
|
2
|
+
* Fotorama 4.4.5 | http://fotorama.io/license/
|
3
3
|
*/
|
4
4
|
(function (window, document, location, $, undefined) {
|
5
5
|
"use strict";
|
@@ -7,6 +7,7 @@ var _fotoramaClass = 'fotorama',
|
|
7
7
|
_fullscreenClass = 'fullscreen',
|
8
8
|
|
9
9
|
wrapClass = _fotoramaClass + '__wrap',
|
10
|
+
wrapCss2Class = wrapClass + '--css2',
|
10
11
|
wrapCss3Class = wrapClass + '--css3',
|
11
12
|
wrapVideoClass = wrapClass + '--video',
|
12
13
|
wrapFadeClass = wrapClass + '--fade',
|
@@ -79,6 +80,7 @@ var _fotoramaClass = 'fotorama',
|
|
79
80
|
videoCloseClass = videoClass + '-close',
|
80
81
|
|
81
82
|
captionClass = _fotoramaClass + '__caption',
|
83
|
+
captionWrapClass = _fotoramaClass + '__caption__wrap',
|
82
84
|
|
83
85
|
ooooClass = _fotoramaClass + '__oooo';
|
84
86
|
var JQUERY_VERSION = $ && $.fn.jquery.split('.');
|
@@ -86,7 +88,7 @@ var JQUERY_VERSION = $ && $.fn.jquery.split('.');
|
|
86
88
|
if (!JQUERY_VERSION
|
87
89
|
|| JQUERY_VERSION[0] < 1
|
88
90
|
|| (JQUERY_VERSION[0] == 1 && JQUERY_VERSION[1] < 8)) {
|
89
|
-
|
91
|
+
throw new Error('Fotorama requires jQuery 1.8 or later and will not run without it.');
|
90
92
|
return;
|
91
93
|
}
|
92
94
|
// My Underscore :-)
|
@@ -742,9 +744,7 @@ function getDataFromHtml ($el) {
|
|
742
744
|
$.extend(imgData, {
|
743
745
|
width: width,
|
744
746
|
height: height,
|
745
|
-
thumbratio: getRatio(imgData.thumbratio
|
746
|
-
|| (numberFromMeasure(imgData.thumbwidth || ($child && $child.attr('width')) || separateThumbFLAG || width)
|
747
|
-
/ numberFromMeasure(imgData.thumbheight || ($child && $child.attr('height')) || separateThumbFLAG || height)))
|
747
|
+
thumbratio: getRatio(imgData.thumbratio || (numberFromMeasure(imgData.thumbwidth || ($child && $child.attr('width')) || separateThumbFLAG || width) / numberFromMeasure(imgData.thumbheight || ($child && $child.attr('height')) || separateThumbFLAG || height)))
|
748
748
|
});
|
749
749
|
}
|
750
750
|
|
@@ -963,6 +963,7 @@ function stopEvent (e, stopPropagation) {
|
|
963
963
|
function getDirectionSign (forward) {
|
964
964
|
return forward ? '>' : '<';
|
965
965
|
}
|
966
|
+
|
966
967
|
function slide ($el, options) {
|
967
968
|
var elPos = Math.round(options.pos),
|
968
969
|
onEndFn = options.onEnd || noop;
|
@@ -1379,8 +1380,6 @@ function wheel ($el, options) {
|
|
1379
1380
|
|
1380
1381
|
return tail;
|
1381
1382
|
}
|
1382
|
-
|
1383
|
-
|
1384
1383
|
jQuery.Fotorama = function ($fotorama, opts) {
|
1385
1384
|
$HTML = $HTML || $('html');
|
1386
1385
|
$BODY = $BODY || $('body');
|
@@ -1403,8 +1402,8 @@ jQuery.Fotorama = function ($fotorama, opts) {
|
|
1403
1402
|
|
1404
1403
|
$stageShaft = $(div(stageShaftClass)).appendTo($stage),
|
1405
1404
|
$stageFrame = $(),
|
1406
|
-
$arrPrev = $(div(arrClass + ' ' + arrPrevClass
|
1407
|
-
$arrNext = $(div(arrClass + ' ' + arrNextClass
|
1405
|
+
$arrPrev = $(div(arrClass + ' ' + arrPrevClass/*, div(arrArrClass)*/)),
|
1406
|
+
$arrNext = $(div(arrClass + ' ' + arrNextClass/*, div(arrArrClass)*/)),
|
1408
1407
|
$arrs = $arrPrev.add($arrNext).appendTo($stage),
|
1409
1408
|
$navWrap = $(div(navWrapClass)),
|
1410
1409
|
$nav = $(div(navClass)).appendTo($navWrap),
|
@@ -1490,9 +1489,7 @@ jQuery.Fotorama = function ($fotorama, opts) {
|
|
1490
1489
|
|
1491
1490
|
that.prevent = {};
|
1492
1491
|
|
1493
|
-
|
1494
|
-
$wrap.addClass(wrapCss3Class);
|
1495
|
-
}
|
1492
|
+
$wrap.addClass(CSS3 ? wrapCss3Class : wrapCss2Class);
|
1496
1493
|
|
1497
1494
|
fotoramaData.fotorama = this;
|
1498
1495
|
|
@@ -1532,10 +1529,10 @@ jQuery.Fotorama = function ($fotorama, opts) {
|
|
1532
1529
|
that.cancelFullScreen();
|
1533
1530
|
} else if (e.keyCode === 39 || (e.keyCode === 40 && that.fullScreen)) {
|
1534
1531
|
stopEvent(e);
|
1535
|
-
that.show({index: '>', slow: e.altKey,
|
1532
|
+
that.show({index: '>', slow: e.altKey, user: true});
|
1536
1533
|
} else if (e.keyCode === 37 || (e.keyCode === 38 && that.fullScreen)) {
|
1537
1534
|
stopEvent(e);
|
1538
|
-
that.show({index: '<', slow: e.altKey,
|
1535
|
+
that.show({index: '<', slow: e.altKey, user: true});
|
1539
1536
|
}
|
1540
1537
|
}
|
1541
1538
|
});
|
@@ -1976,7 +1973,7 @@ jQuery.Fotorama = function ($fotorama, opts) {
|
|
1976
1973
|
}
|
1977
1974
|
|
1978
1975
|
if (opts.captions && dataFrame.caption) {
|
1979
|
-
$(
|
1976
|
+
$(div(captionClass, div(captionWrapClass, dataFrame.caption))).appendTo($frame);
|
1980
1977
|
}
|
1981
1978
|
|
1982
1979
|
dataFrame.video && $frame
|
@@ -2351,7 +2348,10 @@ jQuery.Fotorama = function ($fotorama, opts) {
|
|
2351
2348
|
frameDraw(activeIndexes, 'stage');
|
2352
2349
|
stageFramePosition([dirtyIndex, getPrevIndex(dirtyIndex), getNextIndex(dirtyIndex)]);
|
2353
2350
|
updateTouchTails('go', true);
|
2354
|
-
triggerEvent('show',
|
2351
|
+
triggerEvent('show', {
|
2352
|
+
user: options.user,
|
2353
|
+
time: time
|
2354
|
+
});
|
2355
2355
|
//}, 0);
|
2356
2356
|
|
2357
2357
|
var onEnd = that.show.onEnd = function (skipReposition) {
|
@@ -2362,7 +2362,9 @@ jQuery.Fotorama = function ($fotorama, opts) {
|
|
2362
2362
|
|
2363
2363
|
skipReposition || stageShaftReposition(true);
|
2364
2364
|
|
2365
|
-
triggerEvent('showend',
|
2365
|
+
triggerEvent('showend', {
|
2366
|
+
user: options.user
|
2367
|
+
});
|
2366
2368
|
|
2367
2369
|
updateTouchTails('go', false);
|
2368
2370
|
stageWheelUpdate();
|
@@ -2513,9 +2515,10 @@ jQuery.Fotorama = function ($fotorama, opts) {
|
|
2513
2515
|
if (opts.glimpse) {
|
2514
2516
|
// Glimpse
|
2515
2517
|
measures.w -= Math.round((numberFromPercent(opts.glimpse) / 100 * width || numberFromMeasure(opts.glimpse)) * 2)
|
2516
|
-
$stageShaft.css({width: measures.w, marginLeft: (measures.W - measures.w) / 2});
|
2517
2518
|
}
|
2518
2519
|
|
2520
|
+
$stageShaft.css({width: measures.w, marginLeft: (measures.W - measures.w) / 2});
|
2521
|
+
|
2519
2522
|
//console.log('measures.W', measures.W);
|
2520
2523
|
//console.log('measures.w', measures.w);
|
2521
2524
|
|
@@ -2673,7 +2676,7 @@ jQuery.Fotorama = function ($fotorama, opts) {
|
|
2673
2676
|
if (toggleControlsFLAG) {
|
2674
2677
|
toggleControlsClass();
|
2675
2678
|
} else if (opts.click) {
|
2676
|
-
that.show({index: e.shiftKey || getDirectionSign(getDirection(e._x)), slow: e.altKey,
|
2679
|
+
that.show({index: e.shiftKey || getDirectionSign(getDirection(e._x)), slow: e.altKey, user: true});
|
2677
2680
|
}
|
2678
2681
|
});
|
2679
2682
|
}
|
@@ -2701,7 +2704,7 @@ jQuery.Fotorama = function ($fotorama, opts) {
|
|
2701
2704
|
index: index,
|
2702
2705
|
time: o_fade ? o_transitionDuration : result.time,
|
2703
2706
|
overPos: result.overPos,
|
2704
|
-
|
2707
|
+
user: true
|
2705
2708
|
});
|
2706
2709
|
} else if (!result.aborted) {
|
2707
2710
|
onStageTap(result.startEvent, toggleControlsFLAG);
|
@@ -2798,7 +2801,7 @@ jQuery.Fotorama = function ($fotorama, opts) {
|
|
2798
2801
|
|
2799
2802
|
function onNavFrameClick (e, time) {
|
2800
2803
|
var index = $(this).data().eq;
|
2801
|
-
that.show({index: index, slow: e.altKey,
|
2804
|
+
that.show({index: index, slow: e.altKey, user: true, coo: e._x - $nav.offset().left, time: time});
|
2802
2805
|
}
|
2803
2806
|
|
2804
2807
|
smartClick($arrs, function (e) {
|
@@ -2807,7 +2810,7 @@ jQuery.Fotorama = function ($fotorama, opts) {
|
|
2807
2810
|
unloadVideo($videoPlaying, true, true);
|
2808
2811
|
} else {
|
2809
2812
|
onTouchEnd();
|
2810
|
-
that.show({index: $arrs.index(this) ? '>' : '<', slow: e.altKey,
|
2813
|
+
that.show({index: $arrs.index(this) ? '>' : '<', slow: e.altKey, user: true});
|
2811
2814
|
}
|
2812
2815
|
}, {
|
2813
2816
|
onStart: function () {
|
@@ -2868,7 +2871,7 @@ jQuery.Fotorama = function ($fotorama, opts) {
|
|
2868
2871
|
if (method !== 'load') {
|
2869
2872
|
Array.prototype[method].apply(data, arguments);
|
2870
2873
|
} else if (arguments[0] && typeof arguments[0] === 'object' && arguments[0].length) {
|
2871
|
-
data = arguments[0];
|
2874
|
+
data = clone(arguments[0]);
|
2872
2875
|
}
|
2873
2876
|
reset();
|
2874
2877
|
return that;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Fotorama 4.4.
|
2
|
+
* Fotorama 4.4.5 | http://fotorama.io/license/
|
3
3
|
*/
|
4
4
|
.fotorama__stage__shaft,
|
5
5
|
.fotorama__stage__frame,
|
@@ -59,11 +59,6 @@
|
|
59
59
|
.fotorama__wrap--css3 .fotorama__stage__shaft,
|
60
60
|
.fotorama__wrap--css3 .fotorama__nav__shaft,
|
61
61
|
.fotorama__wrap--css3 .fotorama__thumb-border,
|
62
|
-
.fotorama__wrap--css3 .fotorama__stage__frame,
|
63
|
-
.fotorama__wrap--css3 .fotorama__nav__frame,
|
64
|
-
.fotorama__wrap--css3 .fotorama__img,
|
65
|
-
.fotorama__wrap--css3 .fotorama__html,
|
66
|
-
.fotorama__wrap--css3 .fotorama__caption,
|
67
62
|
.fotorama__arr,
|
68
63
|
.fotorama__fullscreen-icon,
|
69
64
|
.fotorama__video-play,
|
@@ -73,6 +68,21 @@
|
|
73
68
|
transform: translate3d(0, 0, 0);
|
74
69
|
}
|
75
70
|
|
71
|
+
.fotorama__wrap--css3 .fotorama__stage,
|
72
|
+
.fotorama__wrap--css3 .fotorama__nav,
|
73
|
+
.fotorama__wrap--css3 .fotorama__stage__frame,
|
74
|
+
.fotorama__wrap--css3 .fotorama__stage__frame .fotorama__img,
|
75
|
+
.fotorama__wrap--css3 .fotorama__html,
|
76
|
+
.fotorama__wrap--css3 .fotorama__caption,
|
77
|
+
.fotorama__stage:before,
|
78
|
+
.fotorama__stage:after,
|
79
|
+
.fotorama__nav:before,
|
80
|
+
.fotorama__nav:after {
|
81
|
+
-webkit-transform: translateZ(0);
|
82
|
+
-ms-transform: translateZ(0);
|
83
|
+
transform: translateZ(0);
|
84
|
+
}
|
85
|
+
|
76
86
|
.fotorama__wrap--video .fotorama__stage__shaft,
|
77
87
|
.fotorama__wrap--video .fotorama__stage__frame--video {
|
78
88
|
-webkit-transform: none !important;
|
@@ -83,8 +93,8 @@
|
|
83
93
|
.fotorama__wrap--css3 .fotorama__stage__shaft,
|
84
94
|
.fotorama__wrap--css3 .fotorama__nav__shaft,
|
85
95
|
.fotorama__wrap--css3 .fotorama__thumb-border {
|
86
|
-
-webkit-transition-property: -webkit-transform
|
87
|
-
transition-property: transform
|
96
|
+
-webkit-transition-property: -webkit-transform;
|
97
|
+
transition-property: transform;
|
88
98
|
-webkit-transition-timing-function: cubic-bezier(0.1, 0, 0.25, 1);
|
89
99
|
transition-timing-function: cubic-bezier(0.1, 0, 0.25, 1);
|
90
100
|
-webkit-transition-duration: 0ms;
|
@@ -117,7 +127,8 @@
|
|
117
127
|
}
|
118
128
|
|
119
129
|
.fotorama__nav__shaft,
|
120
|
-
.fotorama__nav__frame
|
130
|
+
.fotorama__nav__frame,
|
131
|
+
.fotorama__caption__wrap {
|
121
132
|
display: -moz-inline-box;
|
122
133
|
-moz-box-orient: vertical;
|
123
134
|
display: inline-block;
|
@@ -131,7 +142,7 @@
|
|
131
142
|
box-sizing: content-box;
|
132
143
|
}
|
133
144
|
|
134
|
-
.
|
145
|
+
.fotorama__caption__wrap {
|
135
146
|
-moz-box-sizing: border-box;
|
136
147
|
box-sizing: border-box;
|
137
148
|
}
|
@@ -156,7 +167,7 @@
|
|
156
167
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
157
168
|
}
|
158
169
|
|
159
|
-
.
|
170
|
+
.fotorama__arr,
|
160
171
|
.fotorama__fullscreen-icon,
|
161
172
|
.fotorama__video-play,
|
162
173
|
.fotorama__video-close {
|
@@ -164,7 +175,7 @@
|
|
164
175
|
}
|
165
176
|
|
166
177
|
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
|
167
|
-
.
|
178
|
+
.fotorama__arr,
|
168
179
|
.fotorama__fullscreen-icon,
|
169
180
|
.fotorama__video-play,
|
170
181
|
.fotorama__video-close {
|
@@ -436,14 +447,11 @@
|
|
436
447
|
z-index: 12;
|
437
448
|
bottom: 0;
|
438
449
|
left: 0;
|
439
|
-
|
450
|
+
right: 0;
|
440
451
|
font-family: 'Helvetica Neue', Arial, sans-serif;
|
441
452
|
font-size: 14px;
|
442
453
|
line-height: 1.5;
|
443
454
|
color: #000;
|
444
|
-
background-color: #fff;
|
445
|
-
background-color: rgba(255, 255, 255, 0.9);
|
446
|
-
padding: 5px 10px;
|
447
455
|
}
|
448
456
|
|
449
457
|
.fotorama__caption a {
|
@@ -467,6 +475,12 @@
|
|
467
475
|
right: 0;
|
468
476
|
}
|
469
477
|
|
478
|
+
.fotorama__caption__wrap {
|
479
|
+
background-color: #fff;
|
480
|
+
background-color: rgba(255, 255, 255, 0.9);
|
481
|
+
padding: 5px 10px;
|
482
|
+
}
|
483
|
+
|
470
484
|
.fotorama__oooo {
|
471
485
|
width: 6px;
|
472
486
|
height: 6px;
|
@@ -504,7 +518,6 @@
|
|
504
518
|
|
505
519
|
.fotorama__wrap--css3 .fotorama__img,
|
506
520
|
.fotorama__wrap--css3 .fotorama__html,
|
507
|
-
.fotorama__wrap--css3.fotorama__wrap--fade .fotorama__stage__frame,
|
508
521
|
.fotorama__wrap--css3 .fotorama__caption {
|
509
522
|
-webkit-transition-property: opacity;
|
510
523
|
transition-property: opacity;
|
@@ -545,43 +558,21 @@
|
|
545
558
|
cursor: pointer;
|
546
559
|
}
|
547
560
|
|
548
|
-
.fotorama__video-play,
|
549
|
-
.fotorama__video-close {
|
550
|
-
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
551
|
-
filter: alpha(opacity=0);
|
552
|
-
opacity: 0;
|
553
|
-
}
|
554
|
-
|
555
561
|
.fotorama__arr {
|
556
|
-
width: 48px;
|
557
|
-
height: 100%;
|
558
|
-
top: 0;
|
559
|
-
bottom: 0;
|
560
|
-
}
|
561
|
-
|
562
|
-
.fotorama__arr__arr {
|
563
562
|
position: absolute;
|
564
563
|
width: 32px;
|
565
564
|
height: 32px;
|
566
|
-
left: 50%;
|
567
565
|
top: 50%;
|
568
|
-
margin-left: -16px;
|
569
566
|
margin-top: -16px;
|
570
567
|
}
|
571
568
|
|
572
569
|
.fotorama__arr--prev {
|
573
570
|
left: 0;
|
574
|
-
}
|
575
|
-
|
576
|
-
.fotorama__arr--prev .fotorama__arr__arr {
|
577
571
|
background-position: 0 0;
|
578
572
|
}
|
579
573
|
|
580
574
|
.fotorama__arr--next {
|
581
575
|
right: 0;
|
582
|
-
}
|
583
|
-
|
584
|
-
.fotorama__arr--next .fotorama__arr__arr {
|
585
576
|
background-position: -32px 0;
|
586
577
|
}
|
587
578
|
|
@@ -589,7 +580,6 @@
|
|
589
580
|
pointer-events: none;
|
590
581
|
cursor: default;
|
591
582
|
*display: none;
|
592
|
-
filter: alpha(opacity=0);
|
593
583
|
opacity: .1;
|
594
584
|
}
|
595
585
|
|
@@ -614,84 +604,107 @@
|
|
614
604
|
margin-left: -48px;
|
615
605
|
margin-top: -48px;
|
616
606
|
background-position: 0 -64px;
|
607
|
+
display: none;
|
608
|
+
}
|
609
|
+
|
610
|
+
.fotorama__wrap--css3 .fotorama__video-play {
|
611
|
+
display: block;
|
612
|
+
opacity: 0;
|
613
|
+
}
|
614
|
+
|
615
|
+
.fotorama__loaded .fotorama__video-play,
|
616
|
+
.fotorama__error .fotorama__video-play {
|
617
|
+
display: block;
|
618
|
+
opacity: 1;
|
617
619
|
}
|
618
620
|
|
619
621
|
.fotorama__nav__frame .fotorama__video-play {
|
620
622
|
width: 32px;
|
621
623
|
height: 32px;
|
622
|
-
left: 50%;
|
623
|
-
top: 50%;
|
624
624
|
margin-left: -16px;
|
625
625
|
margin-top: -16px;
|
626
626
|
background-position: -64px -32px;
|
627
|
-
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;
|
628
|
-
filter: alpha(opacity=100) !important;
|
629
627
|
opacity: 1 !important;
|
628
|
+
display: block !important;
|
630
629
|
}
|
631
630
|
|
632
631
|
.fotorama__video-close {
|
633
632
|
width: 32px;
|
634
633
|
height: 32px;
|
635
|
-
top:
|
636
|
-
right:
|
634
|
+
top: 0;
|
635
|
+
right: 0;
|
636
|
+
display: none;
|
637
637
|
background-position: -64px 0;
|
638
638
|
z-index: 20;
|
639
639
|
}
|
640
640
|
|
641
|
-
.fotorama__loaded .fotorama__video-play,
|
642
|
-
.fotorama__error .fotorama__video-play {
|
643
|
-
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
644
|
-
filter: alpha(opacity=100);
|
645
|
-
opacity: 1;
|
646
|
-
z-index: 11;
|
647
|
-
}
|
648
|
-
|
649
641
|
.fotorama__wrap--no-controls .fotorama__arr,
|
650
642
|
.fotorama__wrap--no-controls .fotorama__fullscreen-icon,
|
651
643
|
.fotorama__wrap--video .fotorama__arr,
|
652
644
|
.fotorama__wrap--video .fotorama__fullscreen-icon {
|
653
|
-
|
654
|
-
|
655
|
-
opacity: 0 !important;
|
645
|
+
display: none;
|
646
|
+
opacity: 0;
|
656
647
|
}
|
657
648
|
|
658
|
-
.fotorama__wrap--slide.fotorama__wrap--no-controls .fotorama__fullscreen-icon,
|
659
|
-
.fotorama__wrap--video .fotorama__fullscreen-icon {
|
660
|
-
|
661
|
-
|
649
|
+
.fotorama__wrap--css3.fotorama__wrap--slide.fotorama__wrap--no-controls .fotorama__fullscreen-icon,
|
650
|
+
.fotorama__wrap--css3.fotorama__wrap--video .fotorama__fullscreen-icon {
|
651
|
+
display: block;
|
652
|
+
-webkit-transform: translate3d(32px, -32px, 0);
|
653
|
+
-ms-transform: translate3d(32px, -32px, 0);
|
654
|
+
transform: translate3d(32px, -32px, 0);
|
662
655
|
}
|
663
656
|
|
664
|
-
.fotorama__wrap--slide.fotorama__wrap--no-controls .fotorama__arr--prev,
|
665
|
-
.fotorama__wrap--video .fotorama__arr--prev {
|
666
|
-
|
657
|
+
.fotorama__wrap--css3.fotorama__wrap--slide.fotorama__wrap--no-controls .fotorama__arr--prev,
|
658
|
+
.fotorama__wrap--css3.fotorama__wrap--video .fotorama__arr--prev {
|
659
|
+
display: block;
|
660
|
+
-webkit-transform: translate3d(-48px, 0, 0);
|
661
|
+
-ms-transform: translate3d(-48px, 0, 0);
|
662
|
+
transform: translate3d(-48px, 0, 0);
|
667
663
|
}
|
668
664
|
|
669
|
-
.fotorama__wrap--slide.fotorama__wrap--no-controls .fotorama__arr--next,
|
670
|
-
.fotorama__wrap--video .fotorama__arr--next {
|
671
|
-
|
665
|
+
.fotorama__wrap--css3.fotorama__wrap--slide.fotorama__wrap--no-controls .fotorama__arr--next,
|
666
|
+
.fotorama__wrap--css3.fotorama__wrap--video .fotorama__arr--next {
|
667
|
+
display: block;
|
668
|
+
-webkit-transform: translate3d(48px, 0, 0);
|
669
|
+
-ms-transform: translate3d(48px, 0, 0);
|
670
|
+
transform: translate3d(48px, 0, 0);
|
672
671
|
}
|
673
672
|
|
674
673
|
.fotorama__wrap--video .fotorama__stage .fotorama__video-play {
|
675
|
-
|
676
|
-
filter: alpha(opacity=0) !important;
|
677
|
-
opacity: 0 !important;
|
678
|
-
z-index: -1;
|
674
|
+
display: none;
|
679
675
|
}
|
680
676
|
|
681
677
|
.fotorama__wrap--video .fotorama__video-close {
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
678
|
+
display: block;
|
679
|
+
}
|
680
|
+
|
681
|
+
.fotorama__wrap--css3 .fotorama__video-close {
|
682
|
+
display: block;
|
683
|
+
opacity: 0;
|
684
|
+
-webkit-transform: translate3d(32px, -32px, 0);
|
685
|
+
-ms-transform: translate3d(32px, -32px, 0);
|
686
|
+
transform: translate3d(32px, -32px, 0);
|
687
|
+
}
|
688
|
+
|
689
|
+
.fotorama__wrap--css3.fotorama__wrap--video .fotorama__stage .fotorama__video-play {
|
690
|
+
display: block;
|
691
|
+
opacity: 0;
|
692
|
+
z-index: -1;
|
693
|
+
}
|
694
|
+
|
695
|
+
.fotorama__wrap--css3.fotorama__wrap--video .fotorama__video-close {
|
686
696
|
opacity: 1;
|
697
|
+
-webkit-transform: translate3d(0, 0, 0);
|
698
|
+
-ms-transform: translate3d(0, 0, 0);
|
699
|
+
transform: translate3d(0, 0, 0);
|
687
700
|
}
|
688
701
|
|
689
702
|
.fotorama__wrap--css3 .fotorama__arr,
|
690
703
|
.fotorama__wrap--css3 .fotorama__fullscreen-icon,
|
691
704
|
.fotorama__wrap--css3 .fotorama__video-play,
|
692
705
|
.fotorama__wrap--css3 .fotorama__video-close {
|
693
|
-
-webkit-transition-property:
|
694
|
-
transition-property:
|
706
|
+
-webkit-transition-property: -webkit-transform, opacity;
|
707
|
+
transition-property: transform, opacity;
|
695
708
|
-webkit-transition-duration: 0.3s;
|
696
709
|
transition-duration: 0.3s;
|
697
710
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fotoramajs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.4.
|
4
|
+
version: 4.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Artem Polikarpov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sprockets
|