From b507d317a95b70a0b1be7209d528c4dba3ee0dd0 Mon Sep 17 00:00:00 2001 From: Janis Skarnelis Date: Mon, 11 Mar 2019 21:07:08 +0200 Subject: [PATCH] Updated to v3.5.7 - Fixed #2213 keyboard navigation inside form dropdowns - Fixed #2210 - Depreciated: HTMLVideoElement.webkitExitFullscreen() --- dist/jquery.fancybox.css | 28 +- dist/jquery.fancybox.js | 676 ++++++++++++++++++------------------ dist/jquery.fancybox.min.js | 8 +- package.json | 4 +- src/css/core.css | 24 +- src/css/share.css | 2 +- src/css/thumbs.css | 4 +- src/js/core.js | 357 +++++++++---------- src/js/fullscreen.js | 29 +- src/js/guestures.js | 86 ++--- src/js/hash.js | 31 +- src/js/media.js | 34 +- src/js/share.js | 22 +- src/js/slideshow.js | 41 +-- src/js/thumbs.js | 70 ++-- src/js/wheel.js | 8 +- 16 files changed, 709 insertions(+), 715 deletions(-) diff --git a/dist/jquery.fancybox.css b/dist/jquery.fancybox.css index 9bfe9361..16b01254 100644 --- a/dist/jquery.fancybox.css +++ b/dist/jquery.fancybox.css @@ -119,7 +119,8 @@ body.compensate-for-scrollbar { } .fancybox-slide { - -webkit-backface-visibility: hidden; /* Using without prefix would break IE11 */ + -webkit-backface-visibility: hidden; + /* Using without prefix would break IE11 */ display: none; height: 100%; left: 0; @@ -390,6 +391,7 @@ body.compensate-for-scrollbar { transition-timing-function: linear; z-index: 99998; } + /* Close button on the top right corner of html content */ .fancybox-close-small { @@ -457,16 +459,14 @@ body.compensate-for-scrollbar { /* Caption */ .fancybox-caption { - background: linear-gradient( - to top, - rgba(0, 0, 0, .85) 0%, - rgba(0, 0, 0, .3) 50%, - rgba(0, 0, 0, .15) 65%, - rgba(0, 0, 0, .075) 75.5%, - rgba(0, 0, 0, .037) 82.85%, - rgba(0, 0, 0, .019) 88%, - rgba(0, 0, 0, 0) 100% - ); + background: linear-gradient(to top, + rgba(0, 0, 0, .85) 0%, + rgba(0, 0, 0, .3) 50%, + rgba(0, 0, 0, .15) 65%, + rgba(0, 0, 0, .075) 75.5%, + rgba(0, 0, 0, .037) 82.85%, + rgba(0, 0, 0, .019) 88%, + rgba(0, 0, 0, 0) 100%); bottom: 0; color: #eee; font-size: 14px; @@ -674,7 +674,6 @@ body.compensate-for-scrollbar { } } } - /* Share */ .fancybox-share { @@ -774,7 +773,6 @@ body.compensate-for-scrollbar { padding: 10px 15px; width: 100%; } - /* Thumbs */ .fancybox-thumbs { @@ -886,10 +884,12 @@ body.compensate-for-scrollbar { .fancybox-thumbs { width: 110px; } + .fancybox-show-thumbs .fancybox-inner { right: 110px; } + .fancybox-thumbs__list a { max-width: calc(100% - 10px); } -} +} \ No newline at end of file diff --git a/dist/jquery.fancybox.js b/dist/jquery.fancybox.js index 7c00ef81..806b2703 100644 --- a/dist/jquery.fancybox.js +++ b/dist/jquery.fancybox.js @@ -1,18 +1,18 @@ // ================================================== -// fancyBox v3.5.6 +// fancyBox v3.5.7 // // Licensed GPLv3 for open source use // or fancyBox Commercial License for commercial use // // http://fancyapps.com/fancybox/ -// Copyright 2018 fancyApps +// Copyright 2019 fancyApps // // ================================================== -(function(window, document, $, undefined) { +(function (window, document, $, undefined) { "use strict"; window.console = window.console || { - info: function(stuff) {} + info: function (stuff) {} }; // If there's no jQuery, fancyBox can't work @@ -110,8 +110,7 @@ iframe: { // Iframe template - tpl: - '', + tpl: '', // Preload iframe before displaying it // This allows to calculate iframe content width and height @@ -130,8 +129,7 @@ // For HTML5 video only video: { - tpl: - '