Version Description
While primarily a maintenance release, one new feature has been added. WP Featherlight now supports Gutenberg galleries.
Here's a full list of what's changed since the last release:
- Feature: Gutenberg support
- Tweak: General code cleanup in plugin
- Dev: Updated Featherlight to
1.7.13
- Change of ownership
Download this release
Release Info
Developer | ozzyr |
Plugin | WP Featherlight – A Simple jQuery Lightbox |
Version | 1.3.0 |
Comparing to | |
See all releases |
Code changes from version 1.2.0 to 1.3.0
- CHANGELOG.md +11 -1
- CONTRIBUTING.md +15 -0
- README.md +5 -5
- admin/class-meta.php +1 -1
- admin/views/meta-box.php +1 -1
- css/wp-featherlight-rtl.css +10 -24
- css/wp-featherlight-rtl.css.map +0 -0
- css/wp-featherlight-rtl.min.css +1 -1
- css/wp-featherlight.css +10 -25
- css/wp-featherlight.min.css +1 -1
- includes/class-i18n.php +1 -1
- includes/class-plugin.php +2 -2
- includes/class-scripts.php +1 -1
- includes/constants.php +1 -1
- js/vendor/featherlight.gallery.js +4 -3
- js/vendor/featherlight.gallery.min.js +1 -1
- js/vendor/featherlight.js +39 -26
- js/vendor/featherlight.min.js +1 -1
- js/vendor/jquery.detect_swipe.js +0 -0
- js/vendor/jquery.detect_swipe.min.js +1 -1
- js/wpFeatherlight.js +46 -19
- js/wpFeatherlight.min.js +1 -1
- js/wpFeatherlight.pkgd.js +89 -48
- js/wpFeatherlight.pkgd.min.js +1 -1
- languages/wp-featherlight-de_DE.mo +0 -0
- languages/wp-featherlight-es_ES.mo +0 -0
- languages/wp-featherlight-fr_FR .mo +0 -0
- languages/wp-featherlight-fr_FR.mo +0 -0
- languages/wp-featherlight-pl_PL.mo +0 -0
- languages/wp-featherlight-pt_BR.mo +0 -0
- languages/wp-featherlight.pot +9 -9
- readme.txt +17 -7
- wp-featherlight.php +5 -5
CHANGELOG.md
CHANGED
@@ -1,3 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
## 1.2.0
|
2 |
This is primarily a maintenance release, but one new feature has been added. HTML in captions is now supported!
|
3 |
|
@@ -23,7 +33,7 @@ If you're just using the plugin on your site and haven't customized it or paid a
|
|
23 |
|
24 |
If you're a developer and have written custom code extending the PHP side of WP Featherlight, be sure to test your code before updating.
|
25 |
|
26 |
-
Under the hood, we've [deprecated some internal methods](https://github.com/
|
27 |
|
28 |
- Tweak: Improved transition between images within galleries
|
29 |
- Tweak: Moved our disable lightbox checkbox into the publish meta box to streamline the admin
|
1 |
+
## 1.3.0
|
2 |
+
While primarily a maintenance release, one new feature has been added. WP Featherlight now supports Gutenberg galleries.
|
3 |
+
|
4 |
+
Here's a full list of what's changed since the last release:
|
5 |
+
|
6 |
+
- Feature: Gutenberg support
|
7 |
+
- Tweak: General code cleanup in plugin
|
8 |
+
- Dev: Updated [Featherlight](https://github.com/noelboss/featherlight/) to `1.7.13`
|
9 |
+
- Change of ownership
|
10 |
+
|
11 |
## 1.2.0
|
12 |
This is primarily a maintenance release, but one new feature has been added. HTML in captions is now supported!
|
13 |
|
33 |
|
34 |
If you're a developer and have written custom code extending the PHP side of WP Featherlight, be sure to test your code before updating.
|
35 |
|
36 |
+
Under the hood, we've [deprecated some internal methods](https://github.com/cipherdevgroup/wp-featherlight/search?utf8=%E2%9C%93&q=_deprecated_function) which could potentially break custom code which extends WP Featherlight. The changes are primarily limited to class initialization, so unless you were doing something specific to that, it's unlikely that you'll run into issues.
|
37 |
|
38 |
- Tweak: Improved transition between images within galleries
|
39 |
- Tweak: Moved our disable lightbox checkbox into the publish meta box to streamline the admin
|
CONTRIBUTING.md
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Contributing to WP Featherlight
|
2 |
+
|
3 |
+
:+1::tada: First off, thanks for taking the time to contribute! :tada::+1:
|
4 |
+
|
5 |
+
Please make all pull requests against the develop branch. These are the steps required to get up and running with the development version of the plugin:
|
6 |
+
|
7 |
+
- Clone forked repo
|
8 |
+
- Run `yarn install`
|
9 |
+
- Run `bower install`
|
10 |
+
- Run `grunt build`
|
11 |
+
- Commit all changes and generated files and create a pull request against `develop`
|
12 |
+
|
13 |
+
If you run into any issues or have any questions, please open an issue.
|
14 |
+
|
15 |
+
Thanks again!
|
README.md
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
|
3 |
An ultra lightweight jQuery lightbox for WordPress images and galleries.
|
4 |
|
5 |
-
__Contributors:__ [Robert Neu](https://github.com/robneu)
|
6 |
__Requires:__ WordPress 4.0
|
7 |
-
__Tested up to:__ WordPress 4.8
|
8 |
__License:__ [GPL-2.0+](http://www.gnu.org/licenses/gpl-2.0.html)
|
9 |
|
10 |
![nacin-at-loopconf](https://cloud.githubusercontent.com/assets/2184093/9426378/56c32f16-4902-11e5-9e57-75a4620cc51b.png)
|
@@ -25,7 +25,7 @@ Here's an example of the plugin being used to load a large (5mb) external image
|
|
25 |
|
26 |
![Loader in Action](https://cloud.githubusercontent.com/assets/2184093/7943635/5ba2155e-092b-11e5-8b97-be5ca8cc77d8.gif)
|
27 |
|
28 |
-
If you find a display problem, it may be related to your theme but please [open an issue](https://github.com/
|
29 |
|
30 |
## Installation ##
|
31 |
|
@@ -35,8 +35,8 @@ The best way to install this plugin is to either [download a copy](https://wordp
|
|
35 |
|
36 |
While there are no options in the plugin, there are some handy filters to modify the default behavior. As of `0.3.0` all images which use the default WordPress captions will also include a caption when the image is lightboxed. To disable this behavior, filter `wp_featherlight_captions` to false.
|
37 |
|
38 |
-
You can also disable inclusion of the CSS and JavaScript conditionally using filters which can be found in the `/includes/class-scripts.php` file. If you have questions about how any part of the plugin works, please don't hesitate to [open an issue](https://github.com/
|
39 |
|
40 |
## Contributing ##
|
41 |
|
42 |
-
If you're a developer, the most current version can be found on the [develop branch](https://github.com/
|
2 |
|
3 |
An ultra lightweight jQuery lightbox for WordPress images and galleries.
|
4 |
|
5 |
+
__Contributors:__ [Robert Neu](https://github.com/robneu), [Ozzy Rodriguez](https://github.com/ozzyrod), [Cipher Development](https://github.com/cipherdevgroup)
|
6 |
__Requires:__ WordPress 4.0
|
7 |
+
__Tested up to:__ WordPress 4.9.8
|
8 |
__License:__ [GPL-2.0+](http://www.gnu.org/licenses/gpl-2.0.html)
|
9 |
|
10 |
![nacin-at-loopconf](https://cloud.githubusercontent.com/assets/2184093/9426378/56c32f16-4902-11e5-9e57-75a4620cc51b.png)
|
25 |
|
26 |
![Loader in Action](https://cloud.githubusercontent.com/assets/2184093/7943635/5ba2155e-092b-11e5-8b97-be5ca8cc77d8.gif)
|
27 |
|
28 |
+
If you find a display problem, it may be related to your theme but please [open an issue](https://github.com/cipherdevgroup/wp-featherlight/issues) about it so we can look into it. For more information about the Featherlight script itself, check out their [GitHub plugin page](http://noelboss.github.io/featherlight/).
|
29 |
|
30 |
## Installation ##
|
31 |
|
35 |
|
36 |
While there are no options in the plugin, there are some handy filters to modify the default behavior. As of `0.3.0` all images which use the default WordPress captions will also include a caption when the image is lightboxed. To disable this behavior, filter `wp_featherlight_captions` to false.
|
37 |
|
38 |
+
You can also disable inclusion of the CSS and JavaScript conditionally using filters which can be found in the `/includes/class-scripts.php` file. If you have questions about how any part of the plugin works, please don't hesitate to [open an issue](https://github.com/cipherdevgroup/wp-featherlight/issues).
|
39 |
|
40 |
## Contributing ##
|
41 |
|
42 |
+
If you're a developer, the most current version can be found on the [develop branch](https://github.com/cipherdevgroup/wp-featherlight/tree/develop). Pull requests, issues, and any feedback are all more than welcome. If you would like to contribute code, please make your pull requests against the develop branch rather than the master.
|
admin/class-meta.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Methods used for adding and saving meta data for WP Featherlight.
|
4 |
*
|
5 |
* @package WPFeatherlight\Admin
|
6 |
-
* @copyright Copyright (c)
|
7 |
* @license GPL-2.0+
|
8 |
* @since 0.1.0
|
9 |
*/
|
3 |
* Methods used for adding and saving meta data for WP Featherlight.
|
4 |
*
|
5 |
* @package WPFeatherlight\Admin
|
6 |
+
* @copyright Copyright (c) 2018, Cipher Development, LLC
|
7 |
* @license GPL-2.0+
|
8 |
* @since 0.1.0
|
9 |
*/
|
admin/views/meta-box.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Template to display the WP Featherlight admin sidebar meta box.
|
4 |
*
|
5 |
* @package WPFeatherlight\Admin\Views
|
6 |
-
* @copyright Copyright (c)
|
7 |
* @license GPL-2.0+
|
8 |
* @since 0.1.0
|
9 |
*/
|
3 |
* Template to display the WP Featherlight admin sidebar meta box.
|
4 |
*
|
5 |
* @package WPFeatherlight\Admin\Views
|
6 |
+
* @copyright Copyright (c) 2018, Cipher Development, LLC
|
7 |
* @license GPL-2.0+
|
8 |
* @since 0.1.0
|
9 |
*/
|
css/wp-featherlight-rtl.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
/**!
|
2 |
* Plugin Name: WP Featherlight
|
3 |
-
* Version: 1.
|
4 |
-
* Author:
|
5 |
* License: GPL-2.0+
|
6 |
*/
|
7 |
/* Base Styles
|
@@ -22,17 +22,14 @@
|
|
22 |
white-space: nowrap;
|
23 |
z-index: 2147483647;
|
24 |
}
|
25 |
-
|
26 |
.featherlight * {
|
27 |
-webkit-box-sizing: border-box;
|
28 |
-moz-box-sizing: border-box;
|
29 |
box-sizing: border-box;
|
30 |
}
|
31 |
-
|
32 |
.featherlight:last-of-type {
|
33 |
background: rgba(0, 0, 0, 0.9);
|
34 |
}
|
35 |
-
|
36 |
.featherlight::before {
|
37 |
content: "";
|
38 |
display: inline-block;
|
@@ -40,7 +37,6 @@
|
|
40 |
margin-left: -0.25em;
|
41 |
vertical-align: middle;
|
42 |
}
|
43 |
-
|
44 |
.featherlight .featherlight-content {
|
45 |
-webkit-animation: fadein 0.5s;
|
46 |
animation: fadein 0.5s;
|
@@ -58,13 +54,11 @@
|
|
58 |
vertical-align: middle;
|
59 |
white-space: normal;
|
60 |
}
|
61 |
-
|
62 |
@media screen and (min-width: 980px) {
|
63 |
.featherlight .featherlight-content {
|
64 |
max-height: 90%;
|
65 |
}
|
66 |
}
|
67 |
-
|
68 |
.featherlight .featherlight-content .caption {
|
69 |
color: #fff;
|
70 |
font-size: 16px;
|
@@ -77,18 +71,22 @@
|
|
77 |
text-overflow: ellipsis;
|
78 |
white-space: nowrap;
|
79 |
}
|
80 |
-
|
81 |
.featherlight .featherlight-content .caption:hover, .featherlight .featherlight-content .caption:focus {
|
82 |
overflow: visible;
|
83 |
white-space: normal;
|
84 |
}
|
85 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
.featherlight .featherlight-inner {
|
87 |
-webkit-animation: fadein 0.5s;
|
88 |
animation: fadein 0.5s;
|
89 |
display: block;
|
90 |
}
|
91 |
-
|
92 |
.featherlight button {
|
93 |
-webkit-appearance: button;
|
94 |
font-family: sans-serif;
|
@@ -98,12 +96,10 @@
|
|
98 |
overflow: visible;
|
99 |
text-transform: none;
|
100 |
}
|
101 |
-
|
102 |
.featherlight button::-moz-focus-inner {
|
103 |
border-style: none;
|
104 |
padding: 0;
|
105 |
}
|
106 |
-
|
107 |
.featherlight .featherlight-close-icon {
|
108 |
background-color: transparent;
|
109 |
background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%09%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M21%204.41L19.59%203%2012%2010.59%204.41%203%203%204.41%2010.59%2012%203%2019.59%204.41%2021%2012%2013.41%2019.59%2021%2021%2019.59%2013.41%2012%2021%204.41z%22/%3E%0A%3C/svg%3E");
|
@@ -127,15 +123,12 @@
|
|
127 |
width: 30px;
|
128 |
z-index: 9999;
|
129 |
}
|
130 |
-
|
131 |
.featherlight .featherlight-close-icon:hover, .featherlight .featherlight-close-icon:focus {
|
132 |
opacity: 1;
|
133 |
}
|
134 |
-
|
135 |
.featherlight .featherlight-image {
|
136 |
max-width: 100%;
|
137 |
}
|
138 |
-
|
139 |
.featherlight iframe {
|
140 |
border: 0;
|
141 |
}
|
@@ -175,7 +168,6 @@
|
|
175 |
transform: rotate(-360deg);
|
176 |
}
|
177 |
}
|
178 |
-
|
179 |
@-webkit-keyframes fadein {
|
180 |
from {
|
181 |
opacity: 0;
|
@@ -184,7 +176,6 @@
|
|
184 |
opacity: 1;
|
185 |
}
|
186 |
}
|
187 |
-
|
188 |
@keyframes fadein {
|
189 |
from {
|
190 |
opacity: 0;
|
@@ -193,7 +184,6 @@
|
|
193 |
opacity: 1;
|
194 |
}
|
195 |
}
|
196 |
-
|
197 |
.featherlight-loading .featherlight-content {
|
198 |
-webkit-animation: featherlightLoader 1s infinite linear;
|
199 |
animation: featherlightLoader 1s infinite linear;
|
@@ -202,7 +192,6 @@
|
|
202 |
border-right-color: #fff;
|
203 |
font-size: 10px;
|
204 |
}
|
205 |
-
|
206 |
.featherlight-loading .featherlight-content,
|
207 |
.featherlight-loading .featherlight-content::after {
|
208 |
-webkit-border-radius: 50%;
|
@@ -210,7 +199,6 @@
|
|
210 |
height: 10em;
|
211 |
width: 10em;
|
212 |
}
|
213 |
-
|
214 |
.featherlight-loading .featherlight-close,
|
215 |
.featherlight-loading .featherlight-inner {
|
216 |
display: none;
|
@@ -240,12 +228,10 @@
|
|
240 |
white-space: nowrap;
|
241 |
width: 60px;
|
242 |
}
|
243 |
-
|
244 |
.featherlight-next span,
|
245 |
.featherlight-previous span {
|
246 |
display: none;
|
247 |
}
|
248 |
-
|
249 |
.featherlight-next:hover, .featherlight-next:focus,
|
250 |
.featherlight-previous:hover,
|
251 |
.featherlight-previous:focus {
|
@@ -266,4 +252,4 @@
|
|
266 |
.featherlight-loading .featherlight-next {
|
267 |
display: none;
|
268 |
}
|
269 |
-
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndwLWZlYXRoZXJsaWdodC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7O0dBS0c7QUFDSDtnREFDZ0Q7QUFDaEQ7RUFDRSx3QkFBd0I7R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UyMGQlM0QlMjJNOC41OSUyMDE2LjU5TDEzLjE3JTIwMTIlMjA4LjU5JTIwNy40MSUyMDEwJTIwNmw2JTIwNi02JTIwNi0xLjQxLTEuNDF6JTIyLyUzRSUwQSUzQy9zdmclM0VcIik7XG4gIGJhY2tncm91bmQtcG9zaXRpb246IDAgMDtcbiAgcmlnaHQ6IDEwcHg7XG59XG5cbi8qIHJ0bDppZ25vcmUgKi9cbi5mZWF0aGVybGlnaHQtcHJldmlvdXMge1xuICBiYWNrZ3JvdW5kLWltYWdlOiB1cmwoXCJkYXRhOmltYWdlL3N2Zyt4bWwsJTNDc3ZnJTIweG1sbnMlM0QlMjJodHRwJTNBLy93d3cudzMub3JnLzIwMDAvc3ZnJTIyJTIwdmlld0JveCUzRCUyMjAlMjAwJTIwMjQlMjAyNCUyMiUzRSUwQSUwOSUzQ3BhdGglMjBmaWxsJTNEJTIyJTIzZmZmJTIyJTIwZCUzRCUyMk0xNS40MSUyMDcuNDFMMTAuODMlMjAxMmw0LjU4JTIwNC41OUwxNCUyMDE4bC02LTYlMjA2LTYlMjAxLjQxJTIwMS40MXolMjIvJTNFJTBBJTNDL3N2ZyUzRVwiKTtcbiAgYmFja2dyb3VuZC1wb3NpdGlvbjogLTVweCAwO1xuICBsZWZ0OiAxMHB4O1xufVxuXG4uZmVhdGhlcmxpZ2h0LWxvYWRpbmcgLmZlYXRoZXJsaWdodC1wcmV2aW91cyxcbi5mZWF0aGVybGlnaHQtbG9hZGluZyAuZmVhdGhlcmxpZ2h0LW5leHQge1xuICBkaXNwbGF5OiBub25lO1xufVxuIl19 */
|
1 |
/**!
|
2 |
* Plugin Name: WP Featherlight
|
3 |
+
* Version: 1.3.0
|
4 |
+
* Author: Cipher
|
5 |
* License: GPL-2.0+
|
6 |
*/
|
7 |
/* Base Styles
|
22 |
white-space: nowrap;
|
23 |
z-index: 2147483647;
|
24 |
}
|
|
|
25 |
.featherlight * {
|
26 |
-webkit-box-sizing: border-box;
|
27 |
-moz-box-sizing: border-box;
|
28 |
box-sizing: border-box;
|
29 |
}
|
|
|
30 |
.featherlight:last-of-type {
|
31 |
background: rgba(0, 0, 0, 0.9);
|
32 |
}
|
|
|
33 |
.featherlight::before {
|
34 |
content: "";
|
35 |
display: inline-block;
|
37 |
margin-left: -0.25em;
|
38 |
vertical-align: middle;
|
39 |
}
|
|
|
40 |
.featherlight .featherlight-content {
|
41 |
-webkit-animation: fadein 0.5s;
|
42 |
animation: fadein 0.5s;
|
54 |
vertical-align: middle;
|
55 |
white-space: normal;
|
56 |
}
|
|
|
57 |
@media screen and (min-width: 980px) {
|
58 |
.featherlight .featherlight-content {
|
59 |
max-height: 90%;
|
60 |
}
|
61 |
}
|
|
|
62 |
.featherlight .featherlight-content .caption {
|
63 |
color: #fff;
|
64 |
font-size: 16px;
|
71 |
text-overflow: ellipsis;
|
72 |
white-space: nowrap;
|
73 |
}
|
|
|
74 |
.featherlight .featherlight-content .caption:hover, .featherlight .featherlight-content .caption:focus {
|
75 |
overflow: visible;
|
76 |
white-space: normal;
|
77 |
}
|
78 |
+
.featherlight .featherlight-content a {
|
79 |
+
color: #fff;
|
80 |
+
text-decoration: underline;
|
81 |
+
}
|
82 |
+
.featherlight .featherlight-content a:hover, .featherlight .featherlight-content a:focus {
|
83 |
+
text-decoration: none;
|
84 |
+
}
|
85 |
.featherlight .featherlight-inner {
|
86 |
-webkit-animation: fadein 0.5s;
|
87 |
animation: fadein 0.5s;
|
88 |
display: block;
|
89 |
}
|
|
|
90 |
.featherlight button {
|
91 |
-webkit-appearance: button;
|
92 |
font-family: sans-serif;
|
96 |
overflow: visible;
|
97 |
text-transform: none;
|
98 |
}
|
|
|
99 |
.featherlight button::-moz-focus-inner {
|
100 |
border-style: none;
|
101 |
padding: 0;
|
102 |
}
|
|
|
103 |
.featherlight .featherlight-close-icon {
|
104 |
background-color: transparent;
|
105 |
background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%09%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M21%204.41L19.59%203%2012%2010.59%204.41%203%203%204.41%2010.59%2012%203%2019.59%204.41%2021%2012%2013.41%2019.59%2021%2021%2019.59%2013.41%2012%2021%204.41z%22/%3E%0A%3C/svg%3E");
|
123 |
width: 30px;
|
124 |
z-index: 9999;
|
125 |
}
|
|
|
126 |
.featherlight .featherlight-close-icon:hover, .featherlight .featherlight-close-icon:focus {
|
127 |
opacity: 1;
|
128 |
}
|
|
|
129 |
.featherlight .featherlight-image {
|
130 |
max-width: 100%;
|
131 |
}
|
|
|
132 |
.featherlight iframe {
|
133 |
border: 0;
|
134 |
}
|
168 |
transform: rotate(-360deg);
|
169 |
}
|
170 |
}
|
|
|
171 |
@-webkit-keyframes fadein {
|
172 |
from {
|
173 |
opacity: 0;
|
176 |
opacity: 1;
|
177 |
}
|
178 |
}
|
|
|
179 |
@keyframes fadein {
|
180 |
from {
|
181 |
opacity: 0;
|
184 |
opacity: 1;
|
185 |
}
|
186 |
}
|
|
|
187 |
.featherlight-loading .featherlight-content {
|
188 |
-webkit-animation: featherlightLoader 1s infinite linear;
|
189 |
animation: featherlightLoader 1s infinite linear;
|
192 |
border-right-color: #fff;
|
193 |
font-size: 10px;
|
194 |
}
|
|
|
195 |
.featherlight-loading .featherlight-content,
|
196 |
.featherlight-loading .featherlight-content::after {
|
197 |
-webkit-border-radius: 50%;
|
199 |
height: 10em;
|
200 |
width: 10em;
|
201 |
}
|
|
|
202 |
.featherlight-loading .featherlight-close,
|
203 |
.featherlight-loading .featherlight-inner {
|
204 |
display: none;
|
228 |
white-space: nowrap;
|
229 |
width: 60px;
|
230 |
}
|
|
|
231 |
.featherlight-next span,
|
232 |
.featherlight-previous span {
|
233 |
display: none;
|
234 |
}
|
|
|
235 |
.featherlight-next:hover, .featherlight-next:focus,
|
236 |
.featherlight-previous:hover,
|
237 |
.featherlight-previous:focus {
|
252 |
.featherlight-loading .featherlight-next {
|
253 |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MjA2LTYlMjAxLjQxJTIwMS40MXolMjIvJTNFJTBBJTNDL3N2ZyUzRVwiKTtcbiAgYmFja2dyb3VuZC1wb3NpdGlvbjogLTVweCAwO1xuICBsZWZ0OiAxMHB4O1xufVxuXG4uZmVhdGhlcmxpZ2h0LWxvYWRpbmcgLmZlYXRoZXJsaWdodC1wcmV2aW91cyxcbi5mZWF0aGVybGlnaHQtbG9hZGluZyAuZmVhdGhlcmxpZ2h0LW5leHQge1xuICBkaXNwbGF5OiBub25lO1xufSJdfQ== */
|
css/wp-featherlight-rtl.css.map
CHANGED
File without changes
|
css/wp-featherlight-rtl.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.featherlight{background:0 0;bottom:0;cursor:-webkit-zoom-out;cursor:-moz-zoom-out;cursor:zoom-out;display:none;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;right:0;position:fixed;left:0;text-align:center;top:0;white-space:nowrap;z-index:2147483647}.featherlight *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.featherlight:last-of-type{background:rgba(0,0,0,.9)}.featherlight::before{content:"";display:inline-block;height:100%;margin-left:-.25em;vertical-align:middle}.featherlight .featherlight-content{-webkit-animation:fadein .5s;animation:fadein .5s;background:#000;border:0;cursor:auto;display:inline-block;max-height:80%;max-width:90%;min-width:inherit;overflow:visible;padding:0;position:relative;text-align:right;vertical-align:middle;white-space:normal}@media screen and (min-width:980px){.featherlight .featherlight-content{max-height:90%}}.featherlight .featherlight-content .caption{color:#fff;font-size:16px;font-weight:lighter;line-height:1.25;max-width:100%;overflow:hidden;position:absolute;text-align:right;text-overflow:ellipsis;white-space:nowrap}.featherlight .featherlight-content .caption:focus,.featherlight .featherlight-content .caption:hover{overflow:visible;white-space:normal}.featherlight .featherlight-inner{-webkit-animation:fadein .5s;animation:fadein .5s;display:block}.featherlight button{-webkit-appearance:button;font-family:sans-serif;font-size:100%;line-height:1.15;margin:0;overflow:visible;text-transform:none}.featherlight button::-moz-focus-inner{border-style:none;padding:0}.featherlight .featherlight-close-icon{background-color:transparent;background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%09%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M21%204.41L19.59%203%2012%2010.59%204.41%203%203%204.41%2010.59%2012%203%2019.59%204.41%2021%2012%2013.41%2019.59%2021%2021%2019.59%2013.41%2012%2021%204.41z%22/%3E%0A%3C/svg%3E);background-position:center;background-repeat:no-repeat;-webkit-background-size:100% auto;background-size:100% auto;border:0;cursor:pointer;display:block;height:30px;opacity:.6;overflow:hidden;padding:0;position:fixed;left:25px;text-align:center;text-indent:100%;top:25px;white-space:nowrap;width:30px;z-index:9999}.featherlight .featherlight-close-icon:focus,.featherlight .featherlight-close-icon:hover{opacity:1}.featherlight .featherlight-image{max-width:100%}.featherlight iframe{border:0}[data-featherlight] img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.featherlight-iframe .featherlight-content{border-bottom:0;-webkit-overflow-scrolling:touch;overflow-y:scroll;padding:0}@-webkit-keyframes featherlightLoader{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}@keyframes featherlightLoader{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}@-webkit-keyframes fadein{from{opacity:0}to{opacity:1}}@keyframes fadein{from{opacity:0}to{opacity:1}}.featherlight-loading .featherlight-content{-webkit-animation:featherlightLoader 1s infinite linear;animation:featherlightLoader 1s infinite linear;background:0 0;border:8px solid #909090;border-right-color:#fff;font-size:10px}.featherlight-loading .featherlight-content,.featherlight-loading .featherlight-content::after{-webkit-border-radius:50%;border-radius:50%;height:10em;width:10em}.featherlight-loading .featherlight-close,.featherlight-loading .featherlight-inner{display:none}.featherlight-next,.featherlight-previous{background-color:transparent;background-repeat:no-repeat;-webkit-background-size:100% auto;background-size:100% auto;cursor:pointer;display:block;height:60px;margin-top:-30px;opacity:.4;overflow:hidden;position:fixed;text-indent:100%;top:50%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;width:60px}.featherlight-next span,.featherlight-previous span{display:none}.featherlight-next:focus,.featherlight-next:hover,.featherlight-previous:focus,.featherlight-previous:hover{opacity:1}.featherlight-next{background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%09%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M8.59%2016.59L13.17%2012%208.59%207.41%2010%206l6%206-6%206-1.41-1.41z%22/%3E%0A%3C/svg%3E);background-position:0 0;right:10px}.featherlight-previous{background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%09%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M15.41%207.41L10.83%2012l4.58%204.59L14%2018l-6-6%206-6%201.41%201.41z%22/%3E%0A%3C/svg%3E);background-position:-5px 0;left:10px}.featherlight-loading .featherlight-next,.featherlight-loading .featherlight-previous{display:none}
|
1 |
+
.featherlight{background:0 0;bottom:0;cursor:-webkit-zoom-out;cursor:-moz-zoom-out;cursor:zoom-out;display:none;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;right:0;position:fixed;left:0;text-align:center;top:0;white-space:nowrap;z-index:2147483647}.featherlight *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.featherlight:last-of-type{background:rgba(0,0,0,.9)}.featherlight::before{content:"";display:inline-block;height:100%;margin-left:-.25em;vertical-align:middle}.featherlight .featherlight-content{-webkit-animation:fadein .5s;animation:fadein .5s;background:#000;border:0;cursor:auto;display:inline-block;max-height:80%;max-width:90%;min-width:inherit;overflow:visible;padding:0;position:relative;text-align:right;vertical-align:middle;white-space:normal}@media screen and (min-width:980px){.featherlight .featherlight-content{max-height:90%}}.featherlight .featherlight-content .caption{color:#fff;font-size:16px;font-weight:lighter;line-height:1.25;max-width:100%;overflow:hidden;position:absolute;text-align:right;text-overflow:ellipsis;white-space:nowrap}.featherlight .featherlight-content .caption:focus,.featherlight .featherlight-content .caption:hover{overflow:visible;white-space:normal}.featherlight .featherlight-content a{color:#fff;text-decoration:underline}.featherlight .featherlight-content a:focus,.featherlight .featherlight-content a:hover{text-decoration:none}.featherlight .featherlight-inner{-webkit-animation:fadein .5s;animation:fadein .5s;display:block}.featherlight button{-webkit-appearance:button;font-family:sans-serif;font-size:100%;line-height:1.15;margin:0;overflow:visible;text-transform:none}.featherlight button::-moz-focus-inner{border-style:none;padding:0}.featherlight .featherlight-close-icon{background-color:transparent;background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%09%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M21%204.41L19.59%203%2012%2010.59%204.41%203%203%204.41%2010.59%2012%203%2019.59%204.41%2021%2012%2013.41%2019.59%2021%2021%2019.59%2013.41%2012%2021%204.41z%22/%3E%0A%3C/svg%3E);background-position:center;background-repeat:no-repeat;-webkit-background-size:100% auto;background-size:100% auto;border:0;cursor:pointer;display:block;height:30px;opacity:.6;overflow:hidden;padding:0;position:fixed;left:25px;text-align:center;text-indent:100%;top:25px;white-space:nowrap;width:30px;z-index:9999}.featherlight .featherlight-close-icon:focus,.featherlight .featherlight-close-icon:hover{opacity:1}.featherlight .featherlight-image{max-width:100%}.featherlight iframe{border:0}[data-featherlight] img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.featherlight-iframe .featherlight-content{border-bottom:0;-webkit-overflow-scrolling:touch;overflow-y:scroll;padding:0}@-webkit-keyframes featherlightLoader{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}@keyframes featherlightLoader{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}@-webkit-keyframes fadein{from{opacity:0}to{opacity:1}}@keyframes fadein{from{opacity:0}to{opacity:1}}.featherlight-loading .featherlight-content{-webkit-animation:featherlightLoader 1s infinite linear;animation:featherlightLoader 1s infinite linear;background:0 0;border:8px solid #909090;border-right-color:#fff;font-size:10px}.featherlight-loading .featherlight-content,.featherlight-loading .featherlight-content::after{-webkit-border-radius:50%;border-radius:50%;height:10em;width:10em}.featherlight-loading .featherlight-close,.featherlight-loading .featherlight-inner{display:none}.featherlight-next,.featherlight-previous{background-color:transparent;background-repeat:no-repeat;-webkit-background-size:100% auto;background-size:100% auto;cursor:pointer;display:block;height:60px;margin-top:-30px;opacity:.4;overflow:hidden;position:fixed;text-indent:100%;top:50%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;width:60px}.featherlight-next span,.featherlight-previous span{display:none}.featherlight-next:focus,.featherlight-next:hover,.featherlight-previous:focus,.featherlight-previous:hover{opacity:1}.featherlight-next{background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%09%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M8.59%2016.59L13.17%2012%208.59%207.41%2010%206l6%206-6%206-1.41-1.41z%22/%3E%0A%3C/svg%3E);background-position:0 0;right:10px}.featherlight-previous{background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%09%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M15.41%207.41L10.83%2012l4.58%204.59L14%2018l-6-6%206-6%201.41%201.41z%22/%3E%0A%3C/svg%3E);background-position:-5px 0;left:10px}.featherlight-loading .featherlight-next,.featherlight-loading .featherlight-previous{display:none}
|
css/wp-featherlight.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
/**!
|
2 |
* Plugin Name: WP Featherlight
|
3 |
-
* Version: 1.
|
4 |
-
* Author:
|
5 |
* License: GPL-2.0+
|
6 |
*/
|
7 |
/* Base Styles
|
@@ -22,17 +22,14 @@
|
|
22 |
white-space: nowrap;
|
23 |
z-index: 2147483647;
|
24 |
}
|
25 |
-
|
26 |
.featherlight * {
|
27 |
-webkit-box-sizing: border-box;
|
28 |
-moz-box-sizing: border-box;
|
29 |
box-sizing: border-box;
|
30 |
}
|
31 |
-
|
32 |
.featherlight:last-of-type {
|
33 |
background: rgba(0, 0, 0, 0.9);
|
34 |
}
|
35 |
-
|
36 |
.featherlight::before {
|
37 |
content: "";
|
38 |
display: inline-block;
|
@@ -40,7 +37,6 @@
|
|
40 |
margin-right: -0.25em;
|
41 |
vertical-align: middle;
|
42 |
}
|
43 |
-
|
44 |
.featherlight .featherlight-content {
|
45 |
-webkit-animation: fadein 0.5s;
|
46 |
animation: fadein 0.5s;
|
@@ -58,13 +54,11 @@
|
|
58 |
vertical-align: middle;
|
59 |
white-space: normal;
|
60 |
}
|
61 |
-
|
62 |
@media screen and (min-width: 980px) {
|
63 |
.featherlight .featherlight-content {
|
64 |
max-height: 90%;
|
65 |
}
|
66 |
}
|
67 |
-
|
68 |
.featherlight .featherlight-content .caption {
|
69 |
color: #fff;
|
70 |
font-size: 16px;
|
@@ -77,18 +71,22 @@
|
|
77 |
text-overflow: ellipsis;
|
78 |
white-space: nowrap;
|
79 |
}
|
80 |
-
|
81 |
.featherlight .featherlight-content .caption:hover, .featherlight .featherlight-content .caption:focus {
|
82 |
overflow: visible;
|
83 |
white-space: normal;
|
84 |
}
|
85 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
.featherlight .featherlight-inner {
|
87 |
-webkit-animation: fadein 0.5s;
|
88 |
animation: fadein 0.5s;
|
89 |
display: block;
|
90 |
}
|
91 |
-
|
92 |
.featherlight button {
|
93 |
-webkit-appearance: button;
|
94 |
font-family: sans-serif;
|
@@ -98,12 +96,10 @@
|
|
98 |
overflow: visible;
|
99 |
text-transform: none;
|
100 |
}
|
101 |
-
|
102 |
.featherlight button::-moz-focus-inner {
|
103 |
border-style: none;
|
104 |
padding: 0;
|
105 |
}
|
106 |
-
|
107 |
.featherlight .featherlight-close-icon {
|
108 |
background-color: transparent;
|
109 |
background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%09%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M21%204.41L19.59%203%2012%2010.59%204.41%203%203%204.41%2010.59%2012%203%2019.59%204.41%2021%2012%2013.41%2019.59%2021%2021%2019.59%2013.41%2012%2021%204.41z%22/%3E%0A%3C/svg%3E");
|
@@ -127,15 +123,12 @@
|
|
127 |
width: 30px;
|
128 |
z-index: 9999;
|
129 |
}
|
130 |
-
|
131 |
.featherlight .featherlight-close-icon:hover, .featherlight .featherlight-close-icon:focus {
|
132 |
opacity: 1;
|
133 |
}
|
134 |
-
|
135 |
.featherlight .featherlight-image {
|
136 |
max-width: 100%;
|
137 |
}
|
138 |
-
|
139 |
.featherlight iframe {
|
140 |
border: 0;
|
141 |
}
|
@@ -175,7 +168,6 @@
|
|
175 |
transform: rotate(360deg);
|
176 |
}
|
177 |
}
|
178 |
-
|
179 |
@-webkit-keyframes fadein {
|
180 |
from {
|
181 |
opacity: 0;
|
@@ -184,7 +176,6 @@
|
|
184 |
opacity: 1;
|
185 |
}
|
186 |
}
|
187 |
-
|
188 |
@keyframes fadein {
|
189 |
from {
|
190 |
opacity: 0;
|
@@ -193,7 +184,6 @@
|
|
193 |
opacity: 1;
|
194 |
}
|
195 |
}
|
196 |
-
|
197 |
.featherlight-loading .featherlight-content {
|
198 |
-webkit-animation: featherlightLoader 1s infinite linear;
|
199 |
animation: featherlightLoader 1s infinite linear;
|
@@ -202,7 +192,6 @@
|
|
202 |
border-left-color: #fff;
|
203 |
font-size: 10px;
|
204 |
}
|
205 |
-
|
206 |
.featherlight-loading .featherlight-content,
|
207 |
.featherlight-loading .featherlight-content::after {
|
208 |
-webkit-border-radius: 50%;
|
@@ -210,7 +199,6 @@
|
|
210 |
height: 10em;
|
211 |
width: 10em;
|
212 |
}
|
213 |
-
|
214 |
.featherlight-loading .featherlight-close,
|
215 |
.featherlight-loading .featherlight-inner {
|
216 |
display: none;
|
@@ -240,12 +228,10 @@
|
|
240 |
white-space: nowrap;
|
241 |
width: 60px;
|
242 |
}
|
243 |
-
|
244 |
.featherlight-next span,
|
245 |
.featherlight-previous span {
|
246 |
display: none;
|
247 |
}
|
248 |
-
|
249 |
.featherlight-next:hover, .featherlight-next:focus,
|
250 |
.featherlight-previous:hover,
|
251 |
.featherlight-previous:focus {
|
@@ -270,5 +256,4 @@
|
|
270 |
.featherlight-loading .featherlight-next {
|
271 |
display: none;
|
272 |
}
|
273 |
-
|
274 |
-
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndwLWZlYXRoZXJsaWdodC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7O0dBS0c7QUFDSDtnREFDZ0Q7QUFDaEQ7RUFDRSx3QkFBd0I7RUFDeEIsVUFBVTtFQUNWLHlCQUFpQjtFQUFqQixzQkFBaUI7RUFBakIsaUJBQWlCO0VBQ2pCLGNBQWM7RUFDZCw0REFBNEQ7RUFDNUQsUUFBUTtFQUNSLGdCQUFnQjtFQUNoQixTQUFTO0VBQ1QsbUJBQW1CO0VBQ25CLE9BQU87RUFDUCxvQkFBb0I7RUFDcEIsb0JBQW9CO0NBQ3JCOztBQUVEO0VBQ0UsK0JBQXVCO0tBQXZCLDRCQUF1QjtVQUF2Qix1QkFBdUI7Q0FDeEI7O0FBRUQ7RUFDRSwrQkFBK0I7Q0FDaEM7O0FBRUQ7RUFDRSxZQUFZO0VBQ1osc0JBQXNCO0VBQ3RCLGFBQWE7RUFDYixzQkFB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jJodHRwJTNBLy93d3cudzMub3JnLzIwMDAvc3ZnJTIyJTIwdmlld0JveCUzRCUyMjAlMjAwJTIwMjQlMjAyNCUyMiUzRSUwQSUwOSUzQ3BhdGglMjBmaWxsJTNEJTIyJTIzZmZmJTIyJTIwZCUzRCUyMk0xNS40MSUyMDcuNDFMMTAuODMlMjAxMmw0LjU4JTIwNC41OUwxNCUyMDE4bC02LTYlMjA2LTYlMjAxLjQxJTIwMS40MXolMjIvJTNFJTBBJTNDL3N2ZyUzRVwiKTtcbiAgYmFja2dyb3VuZC1wb3NpdGlvbjogLTVweCAwO1xuICBsZWZ0OiAxMHB4O1xufVxuXG4uZmVhdGhlcmxpZ2h0LWxvYWRpbmcgLmZlYXRoZXJsaWdodC1wcmV2aW91cyxcbi5mZWF0aGVybGlnaHQtbG9hZGluZyAuZmVhdGhlcmxpZ2h0LW5leHQge1xuICBkaXNwbGF5OiBub25lO1xufVxuIl19 */
|
1 |
/**!
|
2 |
* Plugin Name: WP Featherlight
|
3 |
+
* Version: 1.3.0
|
4 |
+
* Author: Cipher
|
5 |
* License: GPL-2.0+
|
6 |
*/
|
7 |
/* Base Styles
|
22 |
white-space: nowrap;
|
23 |
z-index: 2147483647;
|
24 |
}
|
|
|
25 |
.featherlight * {
|
26 |
-webkit-box-sizing: border-box;
|
27 |
-moz-box-sizing: border-box;
|
28 |
box-sizing: border-box;
|
29 |
}
|
|
|
30 |
.featherlight:last-of-type {
|
31 |
background: rgba(0, 0, 0, 0.9);
|
32 |
}
|
|
|
33 |
.featherlight::before {
|
34 |
content: "";
|
35 |
display: inline-block;
|
37 |
margin-right: -0.25em;
|
38 |
vertical-align: middle;
|
39 |
}
|
|
|
40 |
.featherlight .featherlight-content {
|
41 |
-webkit-animation: fadein 0.5s;
|
42 |
animation: fadein 0.5s;
|
54 |
vertical-align: middle;
|
55 |
white-space: normal;
|
56 |
}
|
|
|
57 |
@media screen and (min-width: 980px) {
|
58 |
.featherlight .featherlight-content {
|
59 |
max-height: 90%;
|
60 |
}
|
61 |
}
|
|
|
62 |
.featherlight .featherlight-content .caption {
|
63 |
color: #fff;
|
64 |
font-size: 16px;
|
71 |
text-overflow: ellipsis;
|
72 |
white-space: nowrap;
|
73 |
}
|
|
|
74 |
.featherlight .featherlight-content .caption:hover, .featherlight .featherlight-content .caption:focus {
|
75 |
overflow: visible;
|
76 |
white-space: normal;
|
77 |
}
|
78 |
+
.featherlight .featherlight-content a {
|
79 |
+
color: #fff;
|
80 |
+
text-decoration: underline;
|
81 |
+
}
|
82 |
+
.featherlight .featherlight-content a:hover, .featherlight .featherlight-content a:focus {
|
83 |
+
text-decoration: none;
|
84 |
+
}
|
85 |
.featherlight .featherlight-inner {
|
86 |
-webkit-animation: fadein 0.5s;
|
87 |
animation: fadein 0.5s;
|
88 |
display: block;
|
89 |
}
|
|
|
90 |
.featherlight button {
|
91 |
-webkit-appearance: button;
|
92 |
font-family: sans-serif;
|
96 |
overflow: visible;
|
97 |
text-transform: none;
|
98 |
}
|
|
|
99 |
.featherlight button::-moz-focus-inner {
|
100 |
border-style: none;
|
101 |
padding: 0;
|
102 |
}
|
|
|
103 |
.featherlight .featherlight-close-icon {
|
104 |
background-color: transparent;
|
105 |
background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%09%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M21%204.41L19.59%203%2012%2010.59%204.41%203%203%204.41%2010.59%2012%203%2019.59%204.41%2021%2012%2013.41%2019.59%2021%2021%2019.59%2013.41%2012%2021%204.41z%22/%3E%0A%3C/svg%3E");
|
123 |
width: 30px;
|
124 |
z-index: 9999;
|
125 |
}
|
|
|
126 |
.featherlight .featherlight-close-icon:hover, .featherlight .featherlight-close-icon:focus {
|
127 |
opacity: 1;
|
128 |
}
|
|
|
129 |
.featherlight .featherlight-image {
|
130 |
max-width: 100%;
|
131 |
}
|
|
|
132 |
.featherlight iframe {
|
133 |
border: 0;
|
134 |
}
|
168 |
transform: rotate(360deg);
|
169 |
}
|
170 |
}
|
|
|
171 |
@-webkit-keyframes fadein {
|
172 |
from {
|
173 |
opacity: 0;
|
176 |
opacity: 1;
|
177 |
}
|
178 |
}
|
|
|
179 |
@keyframes fadein {
|
180 |
from {
|
181 |
opacity: 0;
|
184 |
opacity: 1;
|
185 |
}
|
186 |
}
|
|
|
187 |
.featherlight-loading .featherlight-content {
|
188 |
-webkit-animation: featherlightLoader 1s infinite linear;
|
189 |
animation: featherlightLoader 1s infinite linear;
|
192 |
border-left-color: #fff;
|
193 |
font-size: 10px;
|
194 |
}
|
|
|
195 |
.featherlight-loading .featherlight-content,
|
196 |
.featherlight-loading .featherlight-content::after {
|
197 |
-webkit-border-radius: 50%;
|
199 |
height: 10em;
|
200 |
width: 10em;
|
201 |
}
|
|
|
202 |
.featherlight-loading .featherlight-close,
|
203 |
.featherlight-loading .featherlight-inner {
|
204 |
display: none;
|
228 |
white-space: nowrap;
|
229 |
width: 60px;
|
230 |
}
|
|
|
231 |
.featherlight-next span,
|
232 |
.featherlight-previous span {
|
233 |
display: none;
|
234 |
}
|
|
|
235 |
.featherlight-next:hover, .featherlight-next:focus,
|
236 |
.featherlight-previous:hover,
|
237 |
.featherlight-previous:focus {
|
256 |
.featherlight-loading .featherlight-next {
|
257 |
display: none;
|
258 |
}
|
259 |
+
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndwLWZlYXRoZXJsaWdodC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7O0dBS0c7QUFDSDtnREFDZ0Q7QUFDaEQ7RUFDRSx3QkFBd0I7RUFDeEIsVUFBVTtFQUNWLHlCQUFpQjtFQUFqQixzQkFBaUI7RUFBakIsaUJBQWlCO0VBQ2pCLGNBQWM7RUFDZCw0REFBNEQ7RUFDNUQsUUFBUTtFQUNSLGdCQUFnQjtFQUNoQixTQUFTO0VBQ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
.featherlight{background:0 0;bottom:0;cursor:-webkit-zoom-out;cursor:-moz-zoom-out;cursor:zoom-out;display:none;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;left:0;position:fixed;right:0;text-align:center;top:0;white-space:nowrap;z-index:2147483647}.featherlight *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.featherlight:last-of-type{background:rgba(0,0,0,.9)}.featherlight::before{content:"";display:inline-block;height:100%;margin-right:-.25em;vertical-align:middle}.featherlight .featherlight-content{-webkit-animation:fadein .5s;animation:fadein .5s;background:#000;border:0;cursor:auto;display:inline-block;max-height:80%;max-width:90%;min-width:inherit;overflow:visible;padding:0;position:relative;text-align:left;vertical-align:middle;white-space:normal}@media screen and (min-width:980px){.featherlight .featherlight-content{max-height:90%}}.featherlight .featherlight-content .caption{color:#fff;font-size:16px;font-weight:lighter;line-height:1.25;max-width:100%;overflow:hidden;position:absolute;text-align:left;text-overflow:ellipsis;white-space:nowrap}.featherlight .featherlight-content .caption:focus,.featherlight .featherlight-content .caption:hover{overflow:visible;white-space:normal}.featherlight .featherlight-inner{-webkit-animation:fadein .5s;animation:fadein .5s;display:block}.featherlight button{-webkit-appearance:button;font-family:sans-serif;font-size:100%;line-height:1.15;margin:0;overflow:visible;text-transform:none}.featherlight button::-moz-focus-inner{border-style:none;padding:0}.featherlight .featherlight-close-icon{background-color:transparent;background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%09%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M21%204.41L19.59%203%2012%2010.59%204.41%203%203%204.41%2010.59%2012%203%2019.59%204.41%2021%2012%2013.41%2019.59%2021%2021%2019.59%2013.41%2012%2021%204.41z%22/%3E%0A%3C/svg%3E);background-position:center;background-repeat:no-repeat;-webkit-background-size:100% auto;background-size:100% auto;border:0;cursor:pointer;display:block;height:30px;opacity:.6;overflow:hidden;padding:0;position:fixed;right:25px;text-align:center;text-indent:100%;top:25px;white-space:nowrap;width:30px;z-index:9999}.featherlight .featherlight-close-icon:focus,.featherlight .featherlight-close-icon:hover{opacity:1}.featherlight .featherlight-image{max-width:100%}.featherlight iframe{border:0}[data-featherlight] img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.featherlight-iframe .featherlight-content{border-bottom:0;-webkit-overflow-scrolling:touch;overflow-y:scroll;padding:0}@-webkit-keyframes featherlightLoader{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes featherlightLoader{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes fadein{from{opacity:0}to{opacity:1}}@keyframes fadein{from{opacity:0}to{opacity:1}}.featherlight-loading .featherlight-content{-webkit-animation:featherlightLoader 1s infinite linear;animation:featherlightLoader 1s infinite linear;background:0 0;border:8px solid #909090;border-left-color:#fff;font-size:10px}.featherlight-loading .featherlight-content,.featherlight-loading .featherlight-content::after{-webkit-border-radius:50%;border-radius:50%;height:10em;width:10em}.featherlight-loading .featherlight-close,.featherlight-loading .featherlight-inner{display:none}.featherlight-next,.featherlight-previous{background-color:transparent;background-repeat:no-repeat;-webkit-background-size:100% auto;background-size:100% auto;cursor:pointer;display:block;height:60px;margin-top:-30px;opacity:.4;overflow:hidden;position:fixed;text-indent:100%;top:50%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;width:60px}.featherlight-next span,.featherlight-previous span{display:none}.featherlight-next:focus,.featherlight-next:hover,.featherlight-previous:focus,.featherlight-previous:hover{opacity:1}.featherlight-next{background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%09%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M8.59%2016.59L13.17%2012%208.59%207.41%2010%206l6%206-6%206-1.41-1.41z%22/%3E%0A%3C/svg%3E);background-position:0 0;right:10px}.featherlight-previous{background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%09%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M15.41%207.41L10.83%2012l4.58%204.59L14%2018l-6-6%206-6%201.41%201.41z%22/%3E%0A%3C/svg%3E);background-position:-5px 0;left:10px}.featherlight-loading .featherlight-next,.featherlight-loading .featherlight-previous{display:none}
|
1 |
+
.featherlight{background:0 0;bottom:0;cursor:-webkit-zoom-out;cursor:-moz-zoom-out;cursor:zoom-out;display:none;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;left:0;position:fixed;right:0;text-align:center;top:0;white-space:nowrap;z-index:2147483647}.featherlight *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.featherlight:last-of-type{background:rgba(0,0,0,.9)}.featherlight::before{content:"";display:inline-block;height:100%;margin-right:-.25em;vertical-align:middle}.featherlight .featherlight-content{-webkit-animation:fadein .5s;animation:fadein .5s;background:#000;border:0;cursor:auto;display:inline-block;max-height:80%;max-width:90%;min-width:inherit;overflow:visible;padding:0;position:relative;text-align:left;vertical-align:middle;white-space:normal}@media screen and (min-width:980px){.featherlight .featherlight-content{max-height:90%}}.featherlight .featherlight-content .caption{color:#fff;font-size:16px;font-weight:lighter;line-height:1.25;max-width:100%;overflow:hidden;position:absolute;text-align:left;text-overflow:ellipsis;white-space:nowrap}.featherlight .featherlight-content .caption:focus,.featherlight .featherlight-content .caption:hover{overflow:visible;white-space:normal}.featherlight .featherlight-content a{color:#fff;text-decoration:underline}.featherlight .featherlight-content a:focus,.featherlight .featherlight-content a:hover{text-decoration:none}.featherlight .featherlight-inner{-webkit-animation:fadein .5s;animation:fadein .5s;display:block}.featherlight button{-webkit-appearance:button;font-family:sans-serif;font-size:100%;line-height:1.15;margin:0;overflow:visible;text-transform:none}.featherlight button::-moz-focus-inner{border-style:none;padding:0}.featherlight .featherlight-close-icon{background-color:transparent;background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%09%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M21%204.41L19.59%203%2012%2010.59%204.41%203%203%204.41%2010.59%2012%203%2019.59%204.41%2021%2012%2013.41%2019.59%2021%2021%2019.59%2013.41%2012%2021%204.41z%22/%3E%0A%3C/svg%3E);background-position:center;background-repeat:no-repeat;-webkit-background-size:100% auto;background-size:100% auto;border:0;cursor:pointer;display:block;height:30px;opacity:.6;overflow:hidden;padding:0;position:fixed;right:25px;text-align:center;text-indent:100%;top:25px;white-space:nowrap;width:30px;z-index:9999}.featherlight .featherlight-close-icon:focus,.featherlight .featherlight-close-icon:hover{opacity:1}.featherlight .featherlight-image{max-width:100%}.featherlight iframe{border:0}[data-featherlight] img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.featherlight-iframe .featherlight-content{border-bottom:0;-webkit-overflow-scrolling:touch;overflow-y:scroll;padding:0}@-webkit-keyframes featherlightLoader{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes featherlightLoader{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes fadein{from{opacity:0}to{opacity:1}}@keyframes fadein{from{opacity:0}to{opacity:1}}.featherlight-loading .featherlight-content{-webkit-animation:featherlightLoader 1s infinite linear;animation:featherlightLoader 1s infinite linear;background:0 0;border:8px solid #909090;border-left-color:#fff;font-size:10px}.featherlight-loading .featherlight-content,.featherlight-loading .featherlight-content::after{-webkit-border-radius:50%;border-radius:50%;height:10em;width:10em}.featherlight-loading .featherlight-close,.featherlight-loading .featherlight-inner{display:none}.featherlight-next,.featherlight-previous{background-color:transparent;background-repeat:no-repeat;-webkit-background-size:100% auto;background-size:100% auto;cursor:pointer;display:block;height:60px;margin-top:-30px;opacity:.4;overflow:hidden;position:fixed;text-indent:100%;top:50%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;width:60px}.featherlight-next span,.featherlight-previous span{display:none}.featherlight-next:focus,.featherlight-next:hover,.featherlight-previous:focus,.featherlight-previous:hover{opacity:1}.featherlight-next{background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%09%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M8.59%2016.59L13.17%2012%208.59%207.41%2010%206l6%206-6%206-1.41-1.41z%22/%3E%0A%3C/svg%3E);background-position:0 0;right:10px}.featherlight-previous{background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%09%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M15.41%207.41L10.83%2012l4.58%204.59L14%2018l-6-6%206-6%201.41%201.41z%22/%3E%0A%3C/svg%3E);background-position:-5px 0;left:10px}.featherlight-loading .featherlight-next,.featherlight-loading .featherlight-previous{display:none}
|
includes/class-i18n.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Load translations for the plugin.
|
4 |
*
|
5 |
* @package WPFeatherlight\Internationalization
|
6 |
-
* @copyright Copyright (c)
|
7 |
* @license GPL-2.0+
|
8 |
* @since 0.3.0
|
9 |
*/
|
3 |
* Load translations for the plugin.
|
4 |
*
|
5 |
* @package WPFeatherlight\Internationalization
|
6 |
+
* @copyright Copyright (c) 2018, Cipher Development, LLC
|
7 |
* @license GPL-2.0+
|
8 |
* @since 0.3.0
|
9 |
*/
|
includes/class-plugin.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* WP Featherlight main plugin class.
|
4 |
*
|
5 |
* @package WPFeatherlight
|
6 |
-
* @copyright Copyright (c)
|
7 |
* @license GPL-2.0+
|
8 |
* @since 0.1.0
|
9 |
*/
|
@@ -23,7 +23,7 @@ class WP_Featherlight {
|
|
23 |
* @since 0.3.0
|
24 |
* @var string
|
25 |
*/
|
26 |
-
const VERSION = '1.
|
27 |
|
28 |
/**
|
29 |
* Property for storing a reference to the main plugin file.
|
3 |
* WP Featherlight main plugin class.
|
4 |
*
|
5 |
* @package WPFeatherlight
|
6 |
+
* @copyright Copyright (c) 2018, Cipher Development, LLC
|
7 |
* @license GPL-2.0+
|
8 |
* @since 0.1.0
|
9 |
*/
|
23 |
* @since 0.3.0
|
24 |
* @var string
|
25 |
*/
|
26 |
+
const VERSION = '1.3.0';
|
27 |
|
28 |
/**
|
29 |
* Property for storing a reference to the main plugin file.
|
includes/class-scripts.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Methods used for filtering and displaying WP Featherlight images.
|
4 |
*
|
5 |
* @package WPFeatherlight\Scripts
|
6 |
-
* @copyright Copyright (c)
|
7 |
* @license GPL-2.0+
|
8 |
* @since 0.1.0
|
9 |
*/
|
3 |
* Methods used for filtering and displaying WP Featherlight images.
|
4 |
*
|
5 |
* @package WPFeatherlight\Scripts
|
6 |
+
* @copyright Copyright (c) 2018, Cipher Development, LLC
|
7 |
* @license GPL-2.0+
|
8 |
* @since 0.1.0
|
9 |
*/
|
includes/constants.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Define constants to preserve backwards compatibility with older versions.
|
4 |
*
|
5 |
* @package WPFeatherlight
|
6 |
-
* @copyright Copyright (c)
|
7 |
* @license GPL-2.0+
|
8 |
* @since 0.3.0
|
9 |
*/
|
3 |
* Define constants to preserve backwards compatibility with older versions.
|
4 |
*
|
5 |
* @package WPFeatherlight
|
6 |
+
* @copyright Copyright (c) 2018, Cipher Development, LLC
|
7 |
* @license GPL-2.0+
|
8 |
* @since 0.3.0
|
9 |
*/
|
js/vendor/featherlight.gallery.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/**
|
2 |
* Featherlight Gallery – an extension for the ultra slim jQuery lightbox
|
3 |
-
* Version 1.7.
|
4 |
*
|
5 |
-
* Copyright
|
6 |
* MIT Licensed.
|
7 |
**/
|
8 |
(function($) {
|
@@ -148,8 +148,9 @@
|
|
148 |
|
149 |
createNavigation: function(target) {
|
150 |
var self = this;
|
151 |
-
return $('<span title="'+target+'" class="'+this.namespace+'-'+target+'"><span>'+this[target+'Icon']+'</span></span>').click(function(){
|
152 |
$(this).trigger(target+'.'+self.namespace);
|
|
|
153 |
});
|
154 |
}
|
155 |
});
|
1 |
/**
|
2 |
* Featherlight Gallery – an extension for the ultra slim jQuery lightbox
|
3 |
+
* Version 1.7.13 - http://noelboss.github.io/featherlight/
|
4 |
*
|
5 |
+
* Copyright 2018, Noël Raoul Bossart (http://www.noelboss.com)
|
6 |
* MIT Licensed.
|
7 |
**/
|
8 |
(function($) {
|
148 |
|
149 |
createNavigation: function(target) {
|
150 |
var self = this;
|
151 |
+
return $('<span title="'+target+'" class="'+this.namespace+'-'+target+'"><span>'+this[target+'Icon']+'</span></span>').click(function(evt){
|
152 |
$(this).trigger(target+'.'+self.namespace);
|
153 |
+
evt.preventDefault();
|
154 |
});
|
155 |
}
|
156 |
});
|
js/vendor/featherlight.gallery.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(
|
1 |
+
!function(r){"use strict";var e=function(e){window.console&&window.console.warn&&window.console.warn("FeatherlightGallery: "+e)};if(void 0===r)return e("Too much lightness, Featherlight needs jQuery.");if(!r.featherlight)return e("Load the featherlight plugin before the gallery plugin");var t="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,n=r.event&&r.event.special.swipeleft&&r,i=window.Hammer&&function(e){var t=new window.Hammer.Manager(e[0]);return t.add(new window.Hammer.Swipe),t},a=t&&(n||i);t&&!a&&e("No compatible swipe library detected; one must be included before featherlightGallery for swipe motions to navigate the galleries.");var s={afterClose:function(e,t){var n=this;return n.$instance.off("next."+n.namespace+" previous."+n.namespace),n._swiper&&(n._swiper.off("swipeleft",n._swipeleft).off("swiperight",n._swiperight),n._swiper=null),e(t)},beforeOpen:function(e,t){var n=this;return n.$instance.on("next."+n.namespace+" previous."+n.namespace,function(e){var t="next"===e.type?1:-1;n.navigateTo(n.currentNavigation()+t)}),a&&(n._swiper=a(n.$instance).on("swipeleft",n._swipeleft=function(){n.$instance.trigger("next")}).on("swiperight",n._swiperight=function(){n.$instance.trigger("previous")}),n.$instance.addClass(this.namespace+"-swipe-aware",a)),n.$instance.find("."+n.namespace+"-content").append(n.createNavigation("previous")).append(n.createNavigation("next")),e(t)},beforeContent:function(e,t){var n=this.currentNavigation(),i=this.slides().length;return this.$instance.toggleClass(this.namespace+"-first-slide",0===n).toggleClass(this.namespace+"-last-slide",n===i-1),e(t)},onKeyUp:function(e,t){var n={37:"previous",39:"next"}[t.keyCode];return n?(this.$instance.trigger(n),!1):e(t)}};function o(e,t){if(!(this instanceof o)){var n=new o(r.extend({$source:e,$currentTarget:e.first()},t));return n.open(),n}r.featherlight.apply(this,arguments),this.chainCallbacks(s)}r.featherlight.extend(o,{autoBind:"[data-featherlight-gallery]"}),r.extend(o.prototype,{previousIcon:"◀",nextIcon:"▶",galleryFadeIn:100,galleryFadeOut:300,slides:function(){return this.filter?this.$source.find(this.filter):this.$source},images:function(){return e("images is deprecated, please use slides instead"),this.slides()},currentNavigation:function(){return this.slides().index(this.$currentTarget)},navigateTo:function(e){var t=this,n=t.slides(),i=n.length,a=t.$instance.find("."+t.namespace+"-inner");return e=(e%i+i)%i,t.$currentTarget=n.eq(e),t.beforeContent(),r.when(t.getContent(),a.fadeTo(t.galleryFadeOut,.2)).always(function(e){t.setContent(e),t.afterContent(),e.fadeTo(t.galleryFadeIn,1)})},createNavigation:function(t){var n=this;return r('<span title="'+t+'" class="'+this.namespace+"-"+t+'"><span>'+this[t+"Icon"]+"</span></span>").click(function(e){r(this).trigger(t+"."+n.namespace),e.preventDefault()})}}),r.featherlightGallery=o,r.fn.featherlightGallery=function(e){return o.attach(this,e),this},r(document).ready(function(){o._onReady()})}(jQuery);
|
js/vendor/featherlight.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/**
|
2 |
* Featherlight - ultra slim jQuery lightbox
|
3 |
-
* Version 1.7.
|
4 |
*
|
5 |
-
* Copyright
|
6 |
* MIT Licensed.
|
7 |
**/
|
8 |
(function($) {
|
@@ -12,7 +12,10 @@
|
|
12 |
if('console' in window){ window.console.info('Too much lightness, Featherlight needs jQuery.'); }
|
13 |
return;
|
14 |
}
|
15 |
-
|
|
|
|
|
|
|
16 |
/* Featherlight is exported as $.featherlight.
|
17 |
It is a function used to open a featherlight lightbox.
|
18 |
|
@@ -68,8 +71,9 @@
|
|
68 |
|
69 |
// NOTE: List of available [iframe attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe).
|
70 |
var iFrameAttributeSet = {
|
71 |
-
allowfullscreen: 1, frameborder: 1, height: 1, longdesc: 1, marginheight: 1, marginwidth: 1,
|
72 |
-
name: 1, referrerpolicy: 1,
|
|
|
73 |
};
|
74 |
|
75 |
// Converts camelCased attributes to dasherized versions for given prefix:
|
@@ -166,6 +170,9 @@
|
|
166 |
|
167 |
/* close when click on background/anywhere/null or closebox */
|
168 |
self.$instance.on(self.closeTrigger+'.'+self.namespace, function(event) {
|
|
|
|
|
|
|
169 |
var $target = $(event.target);
|
170 |
if( ('background' === self.closeOnClick && $target.is('.'+self.namespace))
|
171 |
|| 'anywhere' === self.closeOnClick
|
@@ -234,25 +241,22 @@
|
|
234 |
|
235 |
/* sets the content of $instance to $content */
|
236 |
setContent: function($content){
|
237 |
-
|
238 |
-
/* we need a special class for the iframe */
|
239 |
-
if($content.is('iframe')) {
|
240 |
-
self.$instance.addClass(self.namespace+'-iframe');
|
241 |
-
}
|
242 |
|
243 |
-
|
|
|
244 |
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
|
253 |
-
|
254 |
|
255 |
-
|
256 |
},
|
257 |
|
258 |
/* opens the lightbox. "this" contains $instance with the lightbox, and with the config.
|
@@ -361,7 +365,7 @@
|
|
361 |
process: function(elem) { return this.persist !== false ? $(elem) : $(elem).clone(true); }
|
362 |
},
|
363 |
image: {
|
364 |
-
regex: /\.(png|jpg|jpeg|gif|tiff
|
365 |
process: function(url) {
|
366 |
var self = this,
|
367 |
deferred = $.Deferred(),
|
@@ -476,7 +480,7 @@
|
|
476 |
/* make a copy */
|
477 |
config = $.extend({}, config);
|
478 |
|
479 |
-
/* Only for openTrigger
|
480 |
var namespace = config.namespace || Klass.defaults.namespace,
|
481 |
tempConfig = $.extend({}, Klass.defaults, Klass.readElementConfig($source[0], namespace), config),
|
482 |
sharedPersist;
|
@@ -502,7 +506,7 @@
|
|
502 |
|
503 |
$source.on(tempConfig.openTrigger+'.'+tempConfig.namespace, tempConfig.filter, handler);
|
504 |
|
505 |
-
return handler;
|
506 |
},
|
507 |
|
508 |
current: function() {
|
@@ -527,8 +531,9 @@
|
|
527 |
_onReady: function() {
|
528 |
var Klass = this;
|
529 |
if(Klass.autoBind){
|
|
|
530 |
/* Bind existing elements */
|
531 |
-
$
|
532 |
Klass.attach($(this));
|
533 |
});
|
534 |
/* If a click propagates to the document level, then we have an item that was added later on */
|
@@ -536,10 +541,18 @@
|
|
536 |
if (evt.isDefaultPrevented()) {
|
537 |
return;
|
538 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
539 |
/* Bind featherlight */
|
540 |
-
var
|
541 |
/* Dispatch event directly */
|
542 |
-
|
|
|
|
|
543 |
});
|
544 |
}
|
545 |
},
|
1 |
/**
|
2 |
* Featherlight - ultra slim jQuery lightbox
|
3 |
+
* Version 1.7.13 - http://noelboss.github.io/featherlight/
|
4 |
*
|
5 |
+
* Copyright 2018, Noël Raoul Bossart (http://www.noelboss.com)
|
6 |
* MIT Licensed.
|
7 |
**/
|
8 |
(function($) {
|
12 |
if('console' in window){ window.console.info('Too much lightness, Featherlight needs jQuery.'); }
|
13 |
return;
|
14 |
}
|
15 |
+
if($.fn.jquery.match(/-ajax/)) {
|
16 |
+
if('console' in window){ window.console.info('Featherlight needs regular jQuery, not the slim version.'); }
|
17 |
+
return;
|
18 |
+
}
|
19 |
/* Featherlight is exported as $.featherlight.
|
20 |
It is a function used to open a featherlight lightbox.
|
21 |
|
71 |
|
72 |
// NOTE: List of available [iframe attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe).
|
73 |
var iFrameAttributeSet = {
|
74 |
+
allow: 1, allowfullscreen: 1, frameborder: 1, height: 1, longdesc: 1, marginheight: 1, marginwidth: 1,
|
75 |
+
mozallowfullscreen: 1, name: 1, referrerpolicy: 1, sandbox: 1, scrolling: 1, src: 1, srcdoc: 1, style: 1,
|
76 |
+
webkitallowfullscreen: 1, width: 1
|
77 |
};
|
78 |
|
79 |
// Converts camelCased attributes to dasherized versions for given prefix:
|
170 |
|
171 |
/* close when click on background/anywhere/null or closebox */
|
172 |
self.$instance.on(self.closeTrigger+'.'+self.namespace, function(event) {
|
173 |
+
if(event.isDefaultPrevented()) {
|
174 |
+
return;
|
175 |
+
}
|
176 |
var $target = $(event.target);
|
177 |
if( ('background' === self.closeOnClick && $target.is('.'+self.namespace))
|
178 |
|| 'anywhere' === self.closeOnClick
|
241 |
|
242 |
/* sets the content of $instance to $content */
|
243 |
setContent: function($content){
|
244 |
+
this.$instance.removeClass(this.namespace+'-loading');
|
|
|
|
|
|
|
|
|
245 |
|
246 |
+
/* we need a special class for the iframe */
|
247 |
+
this.$instance.toggleClass(this.namespace+'-iframe', $content.is('iframe'));
|
248 |
|
249 |
+
/* replace content by appending to existing one before it is removed
|
250 |
+
this insures that featherlight-inner remain at the same relative
|
251 |
+
position to any other items added to featherlight-content */
|
252 |
+
this.$instance.find('.'+this.namespace+'-inner')
|
253 |
+
.not($content) /* excluded new content, important if persisted */
|
254 |
+
.slice(1).remove().end() /* In the unexpected event where there are many inner elements, remove all but the first one */
|
255 |
+
.replaceWith($.contains(this.$instance[0], $content[0]) ? '' : $content);
|
256 |
|
257 |
+
this.$content = $content.addClass(this.namespace+'-inner');
|
258 |
|
259 |
+
return this;
|
260 |
},
|
261 |
|
262 |
/* opens the lightbox. "this" contains $instance with the lightbox, and with the config.
|
365 |
process: function(elem) { return this.persist !== false ? $(elem) : $(elem).clone(true); }
|
366 |
},
|
367 |
image: {
|
368 |
+
regex: /\.(png|jpg|jpeg|gif|tiff?|bmp|svg)(\?\S*)?$/i,
|
369 |
process: function(url) {
|
370 |
var self = this,
|
371 |
deferred = $.Deferred(),
|
480 |
/* make a copy */
|
481 |
config = $.extend({}, config);
|
482 |
|
483 |
+
/* Only for openTrigger, filter & namespace... */
|
484 |
var namespace = config.namespace || Klass.defaults.namespace,
|
485 |
tempConfig = $.extend({}, Klass.defaults, Klass.readElementConfig($source[0], namespace), config),
|
486 |
sharedPersist;
|
506 |
|
507 |
$source.on(tempConfig.openTrigger+'.'+tempConfig.namespace, tempConfig.filter, handler);
|
508 |
|
509 |
+
return {filter: tempConfig.filter, handler: handler};
|
510 |
},
|
511 |
|
512 |
current: function() {
|
531 |
_onReady: function() {
|
532 |
var Klass = this;
|
533 |
if(Klass.autoBind){
|
534 |
+
var $autobound = $(Klass.autoBind);
|
535 |
/* Bind existing elements */
|
536 |
+
$autobound.each(function(){
|
537 |
Klass.attach($(this));
|
538 |
});
|
539 |
/* If a click propagates to the document level, then we have an item that was added later on */
|
541 |
if (evt.isDefaultPrevented()) {
|
542 |
return;
|
543 |
}
|
544 |
+
var $cur = $(evt.currentTarget);
|
545 |
+
var len = $autobound.length;
|
546 |
+
$autobound = $autobound.add($cur);
|
547 |
+
if(len === $autobound.length) {
|
548 |
+
return; /* already bound */
|
549 |
+
}
|
550 |
/* Bind featherlight */
|
551 |
+
var data = Klass.attach($cur);
|
552 |
/* Dispatch event directly */
|
553 |
+
if (!data.filter || $(evt.target).parentsUntil($cur, data.filter).length > 0) {
|
554 |
+
data.handler(evt);
|
555 |
+
}
|
556 |
});
|
557 |
}
|
558 |
},
|
js/vendor/featherlight.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(
|
1 |
+
!function(u){"use strict";if(void 0!==u)if(u.fn.jquery.match(/-ajax/))"console"in window&&window.console.info("Featherlight needs regular jQuery, not the slim version.");else{var r=[],i=function(t){return r=u.grep(r,function(e){return e!==t&&0<e.$instance.closest("body").length})},o={allow:1,allowfullscreen:1,frameborder:1,height:1,longdesc:1,marginheight:1,marginwidth:1,mozallowfullscreen:1,name:1,referrerpolicy:1,sandbox:1,scrolling:1,src:1,srcdoc:1,style:1,webkitallowfullscreen:1,width:1},n={keyup:"onKeyUp",resize:"onResize"},a=function(e){u.each(c.opened().reverse(),function(){if(!e.isDefaultPrevented()&&!1===this[n[e.type]](e))return e.preventDefault(),e.stopPropagation(),!1})},s=function(e){if(e!==c._globalHandlerInstalled){c._globalHandlerInstalled=e;var t=u.map(n,function(e,t){return t+"."+c.prototype.namespace}).join(" ");u(window)[e?"on":"off"](t,a)}};c.prototype={constructor:c,namespace:"featherlight",targetAttr:"data-featherlight",variant:null,resetCss:!1,background:null,openTrigger:"click",closeTrigger:"click",filter:null,root:"body",openSpeed:250,closeSpeed:250,closeOnClick:"background",closeOnEsc:!0,closeIcon:"✕",loading:"",persist:!1,otherClose:null,beforeOpen:u.noop,beforeContent:u.noop,beforeClose:u.noop,afterOpen:u.noop,afterContent:u.noop,afterClose:u.noop,onKeyUp:u.noop,onResize:u.noop,type:null,contentFilters:["jquery","image","html","ajax","iframe","text"],setup:function(e,t){"object"!=typeof e||e instanceof u!=!1||t||(t=e,e=void 0);var n=u.extend(this,t,{target:e}),r=n.resetCss?n.namespace+"-reset":n.namespace,i=u(n.background||['<div class="'+r+"-loading "+r+'">','<div class="'+r+'-content">','<button class="'+r+"-close-icon "+n.namespace+'-close" aria-label="Close">',n.closeIcon,"</button>",'<div class="'+n.namespace+'-inner">'+n.loading+"</div>","</div>","</div>"].join("")),o="."+n.namespace+"-close"+(n.otherClose?","+n.otherClose:"");return n.$instance=i.clone().addClass(n.variant),n.$instance.on(n.closeTrigger+"."+n.namespace,function(e){if(!e.isDefaultPrevented()){var t=u(e.target);("background"===n.closeOnClick&&t.is("."+n.namespace)||"anywhere"===n.closeOnClick||t.closest(o).length)&&(n.close(e),e.preventDefault())}}),this},getContent:function(){if(!1!==this.persist&&this.$content)return this.$content;var t=this,e=this.constructor.contentFilters,n=function(e){return t.$currentTarget&&t.$currentTarget.attr(e)},r=n(t.targetAttr),i=t.target||r||"",o=e[t.type];if(!o&&i in e&&(o=e[i],i=t.target&&r),i=i||n("href")||"",!o)for(var a in e)t[a]&&(o=e[a],i=t[a]);if(!o){var s=i;if(i=null,u.each(t.contentFilters,function(){return(o=e[this]).test&&(i=o.test(s)),!i&&o.regex&&s.match&&s.match(o.regex)&&(i=s),!i}),!i)return"console"in window&&window.console.error("Featherlight: no content filter found "+(s?' for "'+s+'"':" (no target specified)")),!1}return o.process.call(t,i)},setContent:function(e){return this.$instance.removeClass(this.namespace+"-loading"),this.$instance.toggleClass(this.namespace+"-iframe",e.is("iframe")),this.$instance.find("."+this.namespace+"-inner").not(e).slice(1).remove().end().replaceWith(u.contains(this.$instance[0],e[0])?"":e),this.$content=e.addClass(this.namespace+"-inner"),this},open:function(t){var n=this;if(n.$instance.hide().appendTo(n.root),!(t&&t.isDefaultPrevented()||!1===n.beforeOpen(t))){t&&t.preventDefault();var e=n.getContent();if(e)return r.push(n),s(!0),n.$instance.fadeIn(n.openSpeed),n.beforeContent(t),u.when(e).always(function(e){n.setContent(e),n.afterContent(t)}).then(n.$instance.promise()).done(function(){n.afterOpen(t)})}return n.$instance.detach(),u.Deferred().reject().promise()},close:function(e){var t=this,n=u.Deferred();return!1===t.beforeClose(e)?n.reject():(0===i(t).length&&s(!1),t.$instance.fadeOut(t.closeSpeed,function(){t.$instance.detach(),t.afterClose(e),n.resolve()})),n.promise()},resize:function(e,t){if(e&&t){this.$content.css("width","").css("height","");var n=Math.max(e/(this.$content.parent().width()-1),t/(this.$content.parent().height()-1));1<n&&(n=t/Math.floor(t/n),this.$content.css("width",e/n+"px").css("height",t/n+"px"))}},chainCallbacks:function(e){for(var t in e)this[t]=u.proxy(e[t],this,u.proxy(this[t],this))}},u.extend(c,{id:0,autoBind:"[data-featherlight]",defaults:c.prototype,contentFilters:{jquery:{regex:/^[#.]\w/,test:function(e){return e instanceof u&&e},process:function(e){return!1!==this.persist?u(e):u(e).clone(!0)}},image:{regex:/\.(png|jpg|jpeg|gif|tiff?|bmp|svg)(\?\S*)?$/i,process:function(e){var t=u.Deferred(),n=new Image,r=u('<img src="'+e+'" alt="" class="'+this.namespace+'-image" />');return n.onload=function(){r.naturalWidth=n.width,r.naturalHeight=n.height,t.resolve(r)},n.onerror=function(){t.reject(r)},n.src=e,t.promise()}},html:{regex:/^\s*<[\w!][^<]*>/,process:function(e){return u(e)}},ajax:{regex:/./,process:function(e){var n=u.Deferred(),r=u("<div></div>").load(e,function(e,t){"error"!==t&&n.resolve(r.contents()),n.fail()});return n.promise()}},iframe:{process:function(e){var t=new u.Deferred,n=u("<iframe/>"),r=function(e,t){var n={},r=new RegExp("^"+t+"([A-Z])(.*)");for(var i in e){var o=i.match(r);o&&(n[(o[1]+o[2].replace(/([A-Z])/g,"-$1")).toLowerCase()]=e[i])}return n}(this,"iframe"),i=function(e,t){var n={};for(var r in e)r in t&&(n[r]=e[r],delete e[r]);return n}(r,o);return n.hide().attr("src",e).attr(i).css(r).on("load",function(){t.resolve(n.show())}).appendTo(this.$instance.find("."+this.namespace+"-content")),t.promise()}},text:{process:function(e){return u("<div>",{text:e})}}},functionAttributes:["beforeOpen","afterOpen","beforeContent","afterContent","beforeClose","afterClose"],readElementConfig:function(e,t){var r=this,i=new RegExp("^data-"+t+"-(.*)"),o={};return e&&e.attributes&&u.each(e.attributes,function(){var e=this.name.match(i);if(e){var t=this.value,n=u.camelCase(e[1]);if(0<=u.inArray(n,r.functionAttributes))t=new Function(t);else try{t=JSON.parse(t)}catch(e){}o[n]=t}}),o},extend:function(e,t){var n=function(){this.constructor=e};return n.prototype=this.prototype,e.prototype=new n,e.__super__=this.prototype,u.extend(e,this,t),e.defaults=e.prototype,e},attach:function(i,o,a){var s=this;"object"!=typeof o||o instanceof u!=!1||a||(a=o,o=void 0);var c,e=(a=u.extend({},a)).namespace||s.defaults.namespace,l=u.extend({},s.defaults,s.readElementConfig(i[0],e),a),t=function(e){var t=u(e.currentTarget),n=u.extend({$source:i,$currentTarget:t},s.readElementConfig(i[0],l.namespace),s.readElementConfig(e.currentTarget,l.namespace),a),r=c||t.data("featherlight-persisted")||new s(o,n);"shared"===r.persist?c=r:!1!==r.persist&&t.data("featherlight-persisted",r),n.$currentTarget.blur&&n.$currentTarget.blur(),r.open(e)};return i.on(l.openTrigger+"."+l.namespace,l.filter,t),{filter:l.filter,handler:t}},current:function(){var e=this.opened();return e[e.length-1]||null},opened:function(){var t=this;return i(),u.grep(r,function(e){return e instanceof t})},close:function(e){var t=this.current();if(t)return t.close(e)},_onReady:function(){var r=this;if(r.autoBind){var i=u(r.autoBind);i.each(function(){r.attach(u(this))}),u(document).on("click",r.autoBind,function(e){if(!e.isDefaultPrevented()){var t=u(e.currentTarget);if(i.length!==(i=i.add(t)).length){var n=r.attach(t);(!n.filter||0<u(e.target).parentsUntil(t,n.filter).length)&&n.handler(e)}}})}},_callbackChain:{onKeyUp:function(e,t){return 27===t.keyCode?(this.closeOnEsc&&u.featherlight.close(t),!1):e(t)},beforeOpen:function(e,t){return u(document.documentElement).addClass("with-featherlight"),this._previouslyActive=document.activeElement,this._$previouslyTabbable=u("a, input, select, textarea, iframe, button, iframe, [contentEditable=true]").not("[tabindex]").not(this.$instance.find("button")),this._$previouslyWithTabIndex=u("[tabindex]").not('[tabindex="-1"]'),this._previousWithTabIndices=this._$previouslyWithTabIndex.map(function(e,t){return u(t).attr("tabindex")}),this._$previouslyWithTabIndex.add(this._$previouslyTabbable).attr("tabindex",-1),document.activeElement.blur&&document.activeElement.blur(),e(t)},afterClose:function(e,t){var n=e(t),r=this;return this._$previouslyTabbable.removeAttr("tabindex"),this._$previouslyWithTabIndex.each(function(e,t){u(t).attr("tabindex",r._previousWithTabIndices[e])}),this._previouslyActive.focus(),0===c.opened().length&&u(document.documentElement).removeClass("with-featherlight"),n},onResize:function(e,t){return this.resize(this.$content.naturalWidth,this.$content.naturalHeight),e(t)},afterContent:function(e,t){var n=e(t);return this.$instance.find("[autofocus]:not([disabled])").focus(),this.onResize(t),n}}}),u.featherlight=c,u.fn.featherlight=function(e,t){return c.attach(this,e,t),this},u(document).ready(function(){c._onReady()})}else"console"in window&&window.console.info("Too much lightness, Featherlight needs jQuery.");function c(e,t){if(!(this instanceof c)){var n=new c(e,t);return n.open(),n}this.id=c.id++,this.setup(e,t),this.chainCallbacks(c._callbackChain)}}(jQuery);
|
js/vendor/jquery.detect_swipe.js
CHANGED
File without changes
|
js/vendor/jquery.detect_swipe.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(
|
1 |
+
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(h){var c,r,d=!(h.detectSwipe={version:"2.1.2",enabled:"ontouchstart"in document.documentElement,preventDefault:!0,threshold:20});function p(){this.removeEventListener("touchmove",t),this.removeEventListener("touchend",p),d=!1}function t(e){if(h.detectSwipe.preventDefault&&e.preventDefault(),d){var t,n=e.touches[0].pageX,i=e.touches[0].pageY,o=c-n,s=r-i,u=window.devicePixelRatio||1;Math.abs(o)*u>=h.detectSwipe.threshold?t=0<o?"left":"right":Math.abs(s)*u>=h.detectSwipe.threshold&&(t=0<s?"up":"down"),t&&(p.call(this),h(this).trigger("swipe",t).trigger("swipe"+t))}}function e(e){1==e.touches.length&&(c=e.touches[0].pageX,r=e.touches[0].pageY,d=!0,this.addEventListener("touchmove",t,!1),this.addEventListener("touchend",p,!1))}h.event.special.swipe={setup:function(){this.addEventListener&&this.addEventListener("touchstart",e,!1)}},h.each(["left","up","down","right"],function(){h.event.special["swipe"+this]={setup:function(){h(this).on("swipe",h.noop)}}})});
|
js/wpFeatherlight.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
/**
|
2 |
* WP Featherlight - Loader and helpers for the Featherlight WordPress plugin
|
3 |
*
|
4 |
-
* @copyright Copyright
|
5 |
* @license MIT
|
6 |
*/
|
7 |
(function( window, $, undefined ) {
|
@@ -42,11 +42,7 @@
|
|
42 |
*/
|
43 |
function buildGalleries( index, element ) {
|
44 |
var $galleryObj = $( element ),
|
45 |
-
$galleryItems = $galleryObj.find( '
|
46 |
-
|
47 |
-
if ( 0 === $galleryItems.length ) {
|
48 |
-
$galleryItems = $galleryObj.find( '.tiled-gallery-item a' );
|
49 |
-
}
|
50 |
|
51 |
if ( $galleryItems.attr( 'data-featherlight' ) ) {
|
52 |
$galleryItems.featherlightGallery({
|
@@ -63,13 +59,53 @@
|
|
63 |
* @return void
|
64 |
*/
|
65 |
function findGalleries() {
|
66 |
-
var $gallery = $body.find( '
|
67 |
|
68 |
if ( 0 !== $gallery.length ) {
|
69 |
$.each( $gallery, buildGalleries );
|
70 |
}
|
71 |
}
|
72 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
/**
|
74 |
* Append image captions to the Featherlight content <div>.
|
75 |
*
|
@@ -78,20 +114,11 @@
|
|
78 |
*/
|
79 |
function addCaptions() {
|
80 |
$.featherlight.prototype.afterContent = function() {
|
81 |
-
var object
|
82 |
-
|
83 |
-
parent = target.parent(),
|
84 |
-
caption = parent.find( '.wp-caption-text' ),
|
85 |
-
galParent = target.parents( '.gallery-item' ),
|
86 |
-
jetParent = target.parents( '.tiled-gallery-item' );
|
87 |
-
|
88 |
-
if ( 0 !== galParent.length ) {
|
89 |
-
caption = galParent.find( '.wp-caption-text' );
|
90 |
-
} else if ( 0 !== jetParent.length ) {
|
91 |
-
caption = jetParent.find( '.tiled-gallery-caption' );
|
92 |
-
}
|
93 |
|
94 |
object.find( '.caption' ).remove();
|
|
|
95 |
if ( 0 !== caption.length ) {
|
96 |
var $captionElm = $( '<div class="caption">' ).appendTo( object.find( '.featherlight-content' ) );
|
97 |
$captionElm[0].innerHTML = caption.html();
|
1 |
/**
|
2 |
* WP Featherlight - Loader and helpers for the Featherlight WordPress plugin
|
3 |
*
|
4 |
+
* @copyright Copyright (c) 2018, Cipher Development, LLC
|
5 |
* @license MIT
|
6 |
*/
|
7 |
(function( window, $, undefined ) {
|
42 |
*/
|
43 |
function buildGalleries( index, element ) {
|
44 |
var $galleryObj = $( element ),
|
45 |
+
$galleryItems = $galleryObj.find( 'a[data-featherlight]' );
|
|
|
|
|
|
|
|
|
46 |
|
47 |
if ( $galleryItems.attr( 'data-featherlight' ) ) {
|
48 |
$galleryItems.featherlightGallery({
|
59 |
* @return void
|
60 |
*/
|
61 |
function findGalleries() {
|
62 |
+
var $gallery = $body.find( '[class*="gallery"]' );
|
63 |
|
64 |
if ( 0 !== $gallery.length ) {
|
65 |
$.each( $gallery, buildGalleries );
|
66 |
}
|
67 |
}
|
68 |
|
69 |
+
/**
|
70 |
+
* Attempt to Find image captions using common WordPress caption markup.
|
71 |
+
*
|
72 |
+
* @since 1.3.0
|
73 |
+
* @return void
|
74 |
+
*/
|
75 |
+
function findCaption( target ) {
|
76 |
+
var caption = target.parent().find( '.wp-caption-text' );
|
77 |
+
|
78 |
+
if ( 0 !== caption.length ) {
|
79 |
+
return caption;
|
80 |
+
}
|
81 |
+
|
82 |
+
var gutCaption = target.parent().find( 'figcaption' );
|
83 |
+
|
84 |
+
if ( 0 !== gutCaption.length ) {
|
85 |
+
return gutCaption;
|
86 |
+
}
|
87 |
+
|
88 |
+
var galParent = target.parents( '.gallery-item' );
|
89 |
+
|
90 |
+
if ( 0 !== galParent.length ) {
|
91 |
+
return galParent.find( '.wp-caption-text' );
|
92 |
+
}
|
93 |
+
|
94 |
+
var gutParent = target.parents( '.blocks-gallery-item' );
|
95 |
+
|
96 |
+
if ( 0 !== gutParent.length ) {
|
97 |
+
return gutParent.find( 'figcaption' );
|
98 |
+
}
|
99 |
+
|
100 |
+
var jetParent = target.parents( '.tiled-gallery-item' );
|
101 |
+
|
102 |
+
if ( 0 !== jetParent.length ) {
|
103 |
+
return jetParent.find( '.tiled-gallery-caption' );
|
104 |
+
}
|
105 |
+
|
106 |
+
return '';
|
107 |
+
}
|
108 |
+
|
109 |
/**
|
110 |
* Append image captions to the Featherlight content <div>.
|
111 |
*
|
114 |
*/
|
115 |
function addCaptions() {
|
116 |
$.featherlight.prototype.afterContent = function() {
|
117 |
+
var object = this.$instance,
|
118 |
+
caption = findCaption( this.$currentTarget );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
|
120 |
object.find( '.caption' ).remove();
|
121 |
+
|
122 |
if ( 0 !== caption.length ) {
|
123 |
var $captionElm = $( '<div class="caption">' ).appendTo( object.find( '.featherlight-content' ) );
|
124 |
$captionElm[0].innerHTML = caption.html();
|
js/wpFeatherlight.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(a,
|
1 |
+
!function(t,a,e){"use strict";var n=a(document.body);function r(t,e){return/(.png|.jpg|.jpeg|.gif|.tiff|.bmp)$/.test(a(e).attr("href").toLowerCase().split("?")[0].split("#")[0])}function i(t,e){var n=a(e).find("a[data-featherlight]");n.attr("data-featherlight")&&n.featherlightGallery({previousIcon:"",nextIcon:""})}function f(){var t;a.featherlight.defaults.closeIcon="",n.find("a[href]").filter(r).attr("data-featherlight","image"),0!==(t=n.find('[class*="gallery"]')).length&&a.each(t,i),n.hasClass("wp-featherlight-captions")&&(a.featherlight.prototype.afterContent=function(){var t=this.$instance,e=function(t){var e=t.parent().find(".wp-caption-text");if(0!==e.length)return e;var n=t.parent().find("figcaption");if(0!==n.length)return n;var a=t.parents(".gallery-item");if(0!==a.length)return a.find(".wp-caption-text");var r=t.parents(".blocks-gallery-item");if(0!==r.length)return r.find("figcaption");var i=t.parents(".tiled-gallery-item");return 0!==i.length?i.find(".tiled-gallery-caption"):""}(this.$currentTarget);t.find(".caption").remove(),0!==e.length&&(a('<div class="caption">').appendTo(t.find(".featherlight-content"))[0].innerHTML=e.html())})}a(document).ready(function(){f()})}(0,jQuery);
|
js/wpFeatherlight.pkgd.js
CHANGED
@@ -86,9 +86,9 @@
|
|
86 |
|
87 |
/**
|
88 |
* Featherlight - ultra slim jQuery lightbox
|
89 |
-
* Version 1.7.
|
90 |
*
|
91 |
-
* Copyright
|
92 |
* MIT Licensed.
|
93 |
**/
|
94 |
(function($) {
|
@@ -98,7 +98,10 @@
|
|
98 |
if('console' in window){ window.console.info('Too much lightness, Featherlight needs jQuery.'); }
|
99 |
return;
|
100 |
}
|
101 |
-
|
|
|
|
|
|
|
102 |
/* Featherlight is exported as $.featherlight.
|
103 |
It is a function used to open a featherlight lightbox.
|
104 |
|
@@ -154,8 +157,9 @@
|
|
154 |
|
155 |
// NOTE: List of available [iframe attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe).
|
156 |
var iFrameAttributeSet = {
|
157 |
-
allowfullscreen: 1, frameborder: 1, height: 1, longdesc: 1, marginheight: 1, marginwidth: 1,
|
158 |
-
name: 1, referrerpolicy: 1,
|
|
|
159 |
};
|
160 |
|
161 |
// Converts camelCased attributes to dasherized versions for given prefix:
|
@@ -252,6 +256,9 @@
|
|
252 |
|
253 |
/* close when click on background/anywhere/null or closebox */
|
254 |
self.$instance.on(self.closeTrigger+'.'+self.namespace, function(event) {
|
|
|
|
|
|
|
255 |
var $target = $(event.target);
|
256 |
if( ('background' === self.closeOnClick && $target.is('.'+self.namespace))
|
257 |
|| 'anywhere' === self.closeOnClick
|
@@ -320,25 +327,22 @@
|
|
320 |
|
321 |
/* sets the content of $instance to $content */
|
322 |
setContent: function($content){
|
323 |
-
|
324 |
-
/* we need a special class for the iframe */
|
325 |
-
if($content.is('iframe')) {
|
326 |
-
self.$instance.addClass(self.namespace+'-iframe');
|
327 |
-
}
|
328 |
|
329 |
-
|
|
|
330 |
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
|
339 |
-
|
340 |
|
341 |
-
|
342 |
},
|
343 |
|
344 |
/* opens the lightbox. "this" contains $instance with the lightbox, and with the config.
|
@@ -447,7 +451,7 @@
|
|
447 |
process: function(elem) { return this.persist !== false ? $(elem) : $(elem).clone(true); }
|
448 |
},
|
449 |
image: {
|
450 |
-
regex: /\.(png|jpg|jpeg|gif|tiff
|
451 |
process: function(url) {
|
452 |
var self = this,
|
453 |
deferred = $.Deferred(),
|
@@ -562,7 +566,7 @@
|
|
562 |
/* make a copy */
|
563 |
config = $.extend({}, config);
|
564 |
|
565 |
-
/* Only for openTrigger
|
566 |
var namespace = config.namespace || Klass.defaults.namespace,
|
567 |
tempConfig = $.extend({}, Klass.defaults, Klass.readElementConfig($source[0], namespace), config),
|
568 |
sharedPersist;
|
@@ -588,7 +592,7 @@
|
|
588 |
|
589 |
$source.on(tempConfig.openTrigger+'.'+tempConfig.namespace, tempConfig.filter, handler);
|
590 |
|
591 |
-
return handler;
|
592 |
},
|
593 |
|
594 |
current: function() {
|
@@ -613,8 +617,9 @@
|
|
613 |
_onReady: function() {
|
614 |
var Klass = this;
|
615 |
if(Klass.autoBind){
|
|
|
616 |
/* Bind existing elements */
|
617 |
-
$
|
618 |
Klass.attach($(this));
|
619 |
});
|
620 |
/* If a click propagates to the document level, then we have an item that was added later on */
|
@@ -622,10 +627,18 @@
|
|
622 |
if (evt.isDefaultPrevented()) {
|
623 |
return;
|
624 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
625 |
/* Bind featherlight */
|
626 |
-
var
|
627 |
/* Dispatch event directly */
|
628 |
-
|
|
|
|
|
629 |
});
|
630 |
}
|
631 |
},
|
@@ -715,9 +728,9 @@
|
|
715 |
|
716 |
/**
|
717 |
* Featherlight Gallery – an extension for the ultra slim jQuery lightbox
|
718 |
-
* Version 1.7.
|
719 |
*
|
720 |
-
* Copyright
|
721 |
* MIT Licensed.
|
722 |
**/
|
723 |
(function($) {
|
@@ -863,8 +876,9 @@
|
|
863 |
|
864 |
createNavigation: function(target) {
|
865 |
var self = this;
|
866 |
-
return $('<span title="'+target+'" class="'+this.namespace+'-'+target+'"><span>'+this[target+'Icon']+'</span></span>').click(function(){
|
867 |
$(this).trigger(target+'.'+self.namespace);
|
|
|
868 |
});
|
869 |
}
|
870 |
});
|
@@ -885,7 +899,7 @@
|
|
885 |
/**
|
886 |
* WP Featherlight - Loader and helpers for the Featherlight WordPress plugin
|
887 |
*
|
888 |
-
* @copyright Copyright
|
889 |
* @license MIT
|
890 |
*/
|
891 |
(function( window, $, undefined ) {
|
@@ -926,11 +940,7 @@
|
|
926 |
*/
|
927 |
function buildGalleries( index, element ) {
|
928 |
var $galleryObj = $( element ),
|
929 |
-
$galleryItems = $galleryObj.find( '
|
930 |
-
|
931 |
-
if ( 0 === $galleryItems.length ) {
|
932 |
-
$galleryItems = $galleryObj.find( '.tiled-gallery-item a' );
|
933 |
-
}
|
934 |
|
935 |
if ( $galleryItems.attr( 'data-featherlight' ) ) {
|
936 |
$galleryItems.featherlightGallery({
|
@@ -947,13 +957,53 @@
|
|
947 |
* @return void
|
948 |
*/
|
949 |
function findGalleries() {
|
950 |
-
var $gallery = $body.find( '
|
951 |
|
952 |
if ( 0 !== $gallery.length ) {
|
953 |
$.each( $gallery, buildGalleries );
|
954 |
}
|
955 |
}
|
956 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
957 |
/**
|
958 |
* Append image captions to the Featherlight content <div>.
|
959 |
*
|
@@ -962,20 +1012,11 @@
|
|
962 |
*/
|
963 |
function addCaptions() {
|
964 |
$.featherlight.prototype.afterContent = function() {
|
965 |
-
var object
|
966 |
-
|
967 |
-
parent = target.parent(),
|
968 |
-
caption = parent.find( '.wp-caption-text' ),
|
969 |
-
galParent = target.parents( '.gallery-item' ),
|
970 |
-
jetParent = target.parents( '.tiled-gallery-item' );
|
971 |
-
|
972 |
-
if ( 0 !== galParent.length ) {
|
973 |
-
caption = galParent.find( '.wp-caption-text' );
|
974 |
-
} else if ( 0 !== jetParent.length ) {
|
975 |
-
caption = jetParent.find( '.tiled-gallery-caption' );
|
976 |
-
}
|
977 |
|
978 |
object.find( '.caption' ).remove();
|
|
|
979 |
if ( 0 !== caption.length ) {
|
980 |
var $captionElm = $( '<div class="caption">' ).appendTo( object.find( '.featherlight-content' ) );
|
981 |
$captionElm[0].innerHTML = caption.html();
|
86 |
|
87 |
/**
|
88 |
* Featherlight - ultra slim jQuery lightbox
|
89 |
+
* Version 1.7.13 - http://noelboss.github.io/featherlight/
|
90 |
*
|
91 |
+
* Copyright 2018, Noël Raoul Bossart (http://www.noelboss.com)
|
92 |
* MIT Licensed.
|
93 |
**/
|
94 |
(function($) {
|
98 |
if('console' in window){ window.console.info('Too much lightness, Featherlight needs jQuery.'); }
|
99 |
return;
|
100 |
}
|
101 |
+
if($.fn.jquery.match(/-ajax/)) {
|
102 |
+
if('console' in window){ window.console.info('Featherlight needs regular jQuery, not the slim version.'); }
|
103 |
+
return;
|
104 |
+
}
|
105 |
/* Featherlight is exported as $.featherlight.
|
106 |
It is a function used to open a featherlight lightbox.
|
107 |
|
157 |
|
158 |
// NOTE: List of available [iframe attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe).
|
159 |
var iFrameAttributeSet = {
|
160 |
+
allow: 1, allowfullscreen: 1, frameborder: 1, height: 1, longdesc: 1, marginheight: 1, marginwidth: 1,
|
161 |
+
mozallowfullscreen: 1, name: 1, referrerpolicy: 1, sandbox: 1, scrolling: 1, src: 1, srcdoc: 1, style: 1,
|
162 |
+
webkitallowfullscreen: 1, width: 1
|
163 |
};
|
164 |
|
165 |
// Converts camelCased attributes to dasherized versions for given prefix:
|
256 |
|
257 |
/* close when click on background/anywhere/null or closebox */
|
258 |
self.$instance.on(self.closeTrigger+'.'+self.namespace, function(event) {
|
259 |
+
if(event.isDefaultPrevented()) {
|
260 |
+
return;
|
261 |
+
}
|
262 |
var $target = $(event.target);
|
263 |
if( ('background' === self.closeOnClick && $target.is('.'+self.namespace))
|
264 |
|| 'anywhere' === self.closeOnClick
|
327 |
|
328 |
/* sets the content of $instance to $content */
|
329 |
setContent: function($content){
|
330 |
+
this.$instance.removeClass(this.namespace+'-loading');
|
|
|
|
|
|
|
|
|
331 |
|
332 |
+
/* we need a special class for the iframe */
|
333 |
+
this.$instance.toggleClass(this.namespace+'-iframe', $content.is('iframe'));
|
334 |
|
335 |
+
/* replace content by appending to existing one before it is removed
|
336 |
+
this insures that featherlight-inner remain at the same relative
|
337 |
+
position to any other items added to featherlight-content */
|
338 |
+
this.$instance.find('.'+this.namespace+'-inner')
|
339 |
+
.not($content) /* excluded new content, important if persisted */
|
340 |
+
.slice(1).remove().end() /* In the unexpected event where there are many inner elements, remove all but the first one */
|
341 |
+
.replaceWith($.contains(this.$instance[0], $content[0]) ? '' : $content);
|
342 |
|
343 |
+
this.$content = $content.addClass(this.namespace+'-inner');
|
344 |
|
345 |
+
return this;
|
346 |
},
|
347 |
|
348 |
/* opens the lightbox. "this" contains $instance with the lightbox, and with the config.
|
451 |
process: function(elem) { return this.persist !== false ? $(elem) : $(elem).clone(true); }
|
452 |
},
|
453 |
image: {
|
454 |
+
regex: /\.(png|jpg|jpeg|gif|tiff?|bmp|svg)(\?\S*)?$/i,
|
455 |
process: function(url) {
|
456 |
var self = this,
|
457 |
deferred = $.Deferred(),
|
566 |
/* make a copy */
|
567 |
config = $.extend({}, config);
|
568 |
|
569 |
+
/* Only for openTrigger, filter & namespace... */
|
570 |
var namespace = config.namespace || Klass.defaults.namespace,
|
571 |
tempConfig = $.extend({}, Klass.defaults, Klass.readElementConfig($source[0], namespace), config),
|
572 |
sharedPersist;
|
592 |
|
593 |
$source.on(tempConfig.openTrigger+'.'+tempConfig.namespace, tempConfig.filter, handler);
|
594 |
|
595 |
+
return {filter: tempConfig.filter, handler: handler};
|
596 |
},
|
597 |
|
598 |
current: function() {
|
617 |
_onReady: function() {
|
618 |
var Klass = this;
|
619 |
if(Klass.autoBind){
|
620 |
+
var $autobound = $(Klass.autoBind);
|
621 |
/* Bind existing elements */
|
622 |
+
$autobound.each(function(){
|
623 |
Klass.attach($(this));
|
624 |
});
|
625 |
/* If a click propagates to the document level, then we have an item that was added later on */
|
627 |
if (evt.isDefaultPrevented()) {
|
628 |
return;
|
629 |
}
|
630 |
+
var $cur = $(evt.currentTarget);
|
631 |
+
var len = $autobound.length;
|
632 |
+
$autobound = $autobound.add($cur);
|
633 |
+
if(len === $autobound.length) {
|
634 |
+
return; /* already bound */
|
635 |
+
}
|
636 |
/* Bind featherlight */
|
637 |
+
var data = Klass.attach($cur);
|
638 |
/* Dispatch event directly */
|
639 |
+
if (!data.filter || $(evt.target).parentsUntil($cur, data.filter).length > 0) {
|
640 |
+
data.handler(evt);
|
641 |
+
}
|
642 |
});
|
643 |
}
|
644 |
},
|
728 |
|
729 |
/**
|
730 |
* Featherlight Gallery – an extension for the ultra slim jQuery lightbox
|
731 |
+
* Version 1.7.13 - http://noelboss.github.io/featherlight/
|
732 |
*
|
733 |
+
* Copyright 2018, Noël Raoul Bossart (http://www.noelboss.com)
|
734 |
* MIT Licensed.
|
735 |
**/
|
736 |
(function($) {
|
876 |
|
877 |
createNavigation: function(target) {
|
878 |
var self = this;
|
879 |
+
return $('<span title="'+target+'" class="'+this.namespace+'-'+target+'"><span>'+this[target+'Icon']+'</span></span>').click(function(evt){
|
880 |
$(this).trigger(target+'.'+self.namespace);
|
881 |
+
evt.preventDefault();
|
882 |
});
|
883 |
}
|
884 |
});
|
899 |
/**
|
900 |
* WP Featherlight - Loader and helpers for the Featherlight WordPress plugin
|
901 |
*
|
902 |
+
* @copyright Copyright (c) 2018, Cipher Development, LLC
|
903 |
* @license MIT
|
904 |
*/
|
905 |
(function( window, $, undefined ) {
|
940 |
*/
|
941 |
function buildGalleries( index, element ) {
|
942 |
var $galleryObj = $( element ),
|
943 |
+
$galleryItems = $galleryObj.find( 'a[data-featherlight]' );
|
|
|
|
|
|
|
|
|
944 |
|
945 |
if ( $galleryItems.attr( 'data-featherlight' ) ) {
|
946 |
$galleryItems.featherlightGallery({
|
957 |
* @return void
|
958 |
*/
|
959 |
function findGalleries() {
|
960 |
+
var $gallery = $body.find( '[class*="gallery"]' );
|
961 |
|
962 |
if ( 0 !== $gallery.length ) {
|
963 |
$.each( $gallery, buildGalleries );
|
964 |
}
|
965 |
}
|
966 |
|
967 |
+
/**
|
968 |
+
* Attempt to Find image captions using common WordPress caption markup.
|
969 |
+
*
|
970 |
+
* @since 1.3.0
|
971 |
+
* @return void
|
972 |
+
*/
|
973 |
+
function findCaption( target ) {
|
974 |
+
var caption = target.parent().find( '.wp-caption-text' );
|
975 |
+
|
976 |
+
if ( 0 !== caption.length ) {
|
977 |
+
return caption;
|
978 |
+
}
|
979 |
+
|
980 |
+
var gutCaption = target.parent().find( 'figcaption' );
|
981 |
+
|
982 |
+
if ( 0 !== gutCaption.length ) {
|
983 |
+
return gutCaption;
|
984 |
+
}
|
985 |
+
|
986 |
+
var galParent = target.parents( '.gallery-item' );
|
987 |
+
|
988 |
+
if ( 0 !== galParent.length ) {
|
989 |
+
return galParent.find( '.wp-caption-text' );
|
990 |
+
}
|
991 |
+
|
992 |
+
var gutParent = target.parents( '.blocks-gallery-item' );
|
993 |
+
|
994 |
+
if ( 0 !== gutParent.length ) {
|
995 |
+
return gutParent.find( 'figcaption' );
|
996 |
+
}
|
997 |
+
|
998 |
+
var jetParent = target.parents( '.tiled-gallery-item' );
|
999 |
+
|
1000 |
+
if ( 0 !== jetParent.length ) {
|
1001 |
+
return jetParent.find( '.tiled-gallery-caption' );
|
1002 |
+
}
|
1003 |
+
|
1004 |
+
return '';
|
1005 |
+
}
|
1006 |
+
|
1007 |
/**
|
1008 |
* Append image captions to the Featherlight content <div>.
|
1009 |
*
|
1012 |
*/
|
1013 |
function addCaptions() {
|
1014 |
$.featherlight.prototype.afterContent = function() {
|
1015 |
+
var object = this.$instance,
|
1016 |
+
caption = findCaption( this.$currentTarget );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1017 |
|
1018 |
object.find( '.caption' ).remove();
|
1019 |
+
|
1020 |
if ( 0 !== caption.length ) {
|
1021 |
var $captionElm = $( '<div class="caption">' ).appendTo( object.find( '.featherlight-content' ) );
|
1022 |
$captionElm[0].innerHTML = caption.html();
|
js/wpFeatherlight.pkgd.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){function b(){this.removeEventListener("touchmove",c),this.removeEventListener("touchend",b),h=!1}function c(c){if(a.detectSwipe.preventDefault&&c.preventDefault(),h){var d,e=c.touches[0].pageX,i=c.touches[0].pageY,j=f-e,k=g-i,l=window.devicePixelRatio||1;Math.abs(j)*l>=a.detectSwipe.threshold?d=j>0?"left":"right":Math.abs(k)*l>=a.detectSwipe.threshold&&(d=k>0?"up":"down"),d&&(b.call(this),a(this).trigger("swipe",d).trigger("swipe"+d))}}function d(a){1==a.touches.length&&(f=a.touches[0].pageX,g=a.touches[0].pageY,h=!0,this.addEventListener("touchmove",c,!1),this.addEventListener("touchend",b,!1))}function e(){this.addEventListener&&this.addEventListener("touchstart",d,!1)}a.detectSwipe={version:"2.1.2",enabled:"ontouchstart"in document.documentElement,preventDefault:!0,threshold:20};var f,g,h=!1;a.event.special.swipe={setup:e},a.each(["left","up","down","right"],function(){a.event.special["swipe"+this]={setup:function(){a(this).on("swipe",a.noop)}}})}),function(a){"use strict";function b(a,c){if(!(this instanceof b)){var d=new b(a,c);return d.open(),d}this.id=b.id++,this.setup(a,c),this.chainCallbacks(b._callbackChain)}function c(a,b){var c={};for(var d in a)d in b&&(c[d]=a[d],delete a[d]);return c}function d(a,b){var c={},d=new RegExp("^"+b+"([A-Z])(.*)");for(var e in a){var f=e.match(d);if(f){c[(f[1]+f[2].replace(/([A-Z])/g,"-$1")).toLowerCase()]=a[e]}}return c}if(void 0===a)return void("console"in window&&window.console.info("Too much lightness, Featherlight needs jQuery."));var e=[],f=function(b){return e=a.grep(e,function(a){return a!==b&&a.$instance.closest("body").length>0})},g={allowfullscreen:1,frameborder:1,height:1,longdesc:1,marginheight:1,marginwidth:1,name:1,referrerpolicy:1,scrolling:1,sandbox:1,src:1,srcdoc:1,width:1},h={keyup:"onKeyUp",resize:"onResize"},i=function(c){a.each(b.opened().reverse(),function(){if(!c.isDefaultPrevented()&&!1===this[h[c.type]](c))return c.preventDefault(),c.stopPropagation(),!1})},j=function(c){if(c!==b._globalHandlerInstalled){b._globalHandlerInstalled=c;var d=a.map(h,function(a,c){return c+"."+b.prototype.namespace}).join(" ");a(window)[c?"on":"off"](d,i)}};b.prototype={constructor:b,namespace:"featherlight",targetAttr:"data-featherlight",variant:null,resetCss:!1,background:null,openTrigger:"click",closeTrigger:"click",filter:null,root:"body",openSpeed:250,closeSpeed:250,closeOnClick:"background",closeOnEsc:!0,closeIcon:"✕",loading:"",persist:!1,otherClose:null,beforeOpen:a.noop,beforeContent:a.noop,beforeClose:a.noop,afterOpen:a.noop,afterContent:a.noop,afterClose:a.noop,onKeyUp:a.noop,onResize:a.noop,type:null,contentFilters:["jquery","image","html","ajax","iframe","text"],setup:function(b,c){"object"!=typeof b||b instanceof a!=!1||c||(c=b,b=void 0);var d=a.extend(this,c,{target:b}),e=d.resetCss?d.namespace+"-reset":d.namespace,f=a(d.background||['<div class="'+e+"-loading "+e+'">','<div class="'+e+'-content">','<button class="'+e+"-close-icon "+d.namespace+'-close" aria-label="Close">',d.closeIcon,"</button>",'<div class="'+d.namespace+'-inner">'+d.loading+"</div>","</div>","</div>"].join("")),g="."+d.namespace+"-close"+(d.otherClose?","+d.otherClose:"");return d.$instance=f.clone().addClass(d.variant),d.$instance.on(d.closeTrigger+"."+d.namespace,function(b){var c=a(b.target);("background"===d.closeOnClick&&c.is("."+d.namespace)||"anywhere"===d.closeOnClick||c.closest(g).length)&&(d.close(b),b.preventDefault())}),this},getContent:function(){if(!1!==this.persist&&this.$content)return this.$content;var b=this,c=this.constructor.contentFilters,d=function(a){return b.$currentTarget&&b.$currentTarget.attr(a)},e=d(b.targetAttr),f=b.target||e||"",g=c[b.type];if(!g&&f in c&&(g=c[f],f=b.target&&e),f=f||d("href")||"",!g)for(var h in c)b[h]&&(g=c[h],f=b[h]);if(!g){var i=f;if(f=null,a.each(b.contentFilters,function(){return g=c[this],g.test&&(f=g.test(i)),!f&&g.regex&&i.match&&i.match(g.regex)&&(f=i),!f}),!f)return"console"in window&&window.console.error("Featherlight: no content filter found "+(i?' for "'+i+'"':" (no target specified)")),!1}return g.process.call(b,f)},setContent:function(b){var c=this;return b.is("iframe")&&c.$instance.addClass(c.namespace+"-iframe"),c.$instance.removeClass(c.namespace+"-loading"),c.$instance.find("."+c.namespace+"-inner").not(b).slice(1).remove().end().replaceWith(a.contains(c.$instance[0],b[0])?"":b),c.$content=b.addClass(c.namespace+"-inner"),c},open:function(b){var c=this;if(c.$instance.hide().appendTo(c.root),!(b&&b.isDefaultPrevented()||!1===c.beforeOpen(b))){b&&b.preventDefault();var d=c.getContent();if(d)return e.push(c),j(!0),c.$instance.fadeIn(c.openSpeed),c.beforeContent(b),a.when(d).always(function(a){c.setContent(a),c.afterContent(b)}).then(c.$instance.promise()).done(function(){c.afterOpen(b)})}return c.$instance.detach(),a.Deferred().reject().promise()},close:function(b){var c=this,d=a.Deferred();return!1===c.beforeClose(b)?d.reject():(0===f(c).length&&j(!1),c.$instance.fadeOut(c.closeSpeed,function(){c.$instance.detach(),c.afterClose(b),d.resolve()})),d.promise()},resize:function(a,b){if(a&&b){this.$content.css("width","").css("height","");var c=Math.max(a/(this.$content.parent().width()-1),b/(this.$content.parent().height()-1));c>1&&(c=b/Math.floor(b/c),this.$content.css("width",a/c+"px").css("height",b/c+"px"))}},chainCallbacks:function(b){for(var c in b)this[c]=a.proxy(b[c],this,a.proxy(this[c],this))}},a.extend(b,{id:0,autoBind:"[data-featherlight]",defaults:b.prototype,contentFilters:{jquery:{regex:/^[#.]\w/,test:function(b){return b instanceof a&&b},process:function(b){return!1!==this.persist?a(b):a(b).clone(!0)}},image:{regex:/\.(png|jpg|jpeg|gif|tiff|bmp|svg)(\?\S*)?$/i,process:function(b){var c=this,d=a.Deferred(),e=new Image,f=a('<img src="'+b+'" alt="" class="'+c.namespace+'-image" />');return e.onload=function(){f.naturalWidth=e.width,f.naturalHeight=e.height,d.resolve(f)},e.onerror=function(){d.reject(f)},e.src=b,d.promise()}},html:{regex:/^\s*<[\w!][^<]*>/,process:function(b){return a(b)}},ajax:{regex:/./,process:function(b){var c=a.Deferred(),d=a("<div></div>").load(b,function(a,b){"error"!==b&&c.resolve(d.contents()),c.fail()});return c.promise()}},iframe:{process:function(b){var e=new a.Deferred,f=a("<iframe/>"),h=d(this,"iframe"),i=c(h,g);return f.hide().attr("src",b).attr(i).css(h).on("load",function(){e.resolve(f.show())}).appendTo(this.$instance.find("."+this.namespace+"-content")),e.promise()}},text:{process:function(b){return a("<div>",{text:b})}}},functionAttributes:["beforeOpen","afterOpen","beforeContent","afterContent","beforeClose","afterClose"],readElementConfig:function(b,c){var d=this,e=new RegExp("^data-"+c+"-(.*)"),f={};return b&&b.attributes&&a.each(b.attributes,function(){var b=this.name.match(e);if(b){var c=this.value,g=a.camelCase(b[1]);if(a.inArray(g,d.functionAttributes)>=0)c=new Function(c);else try{c=JSON.parse(c)}catch(a){}f[g]=c}}),f},extend:function(b,c){var d=function(){this.constructor=b};return d.prototype=this.prototype,b.prototype=new d,b.__super__=this.prototype,a.extend(b,this,c),b.defaults=b.prototype,b},attach:function(b,c,d){var e=this;"object"!=typeof c||c instanceof a!=!1||d||(d=c,c=void 0),d=a.extend({},d);var f,g=d.namespace||e.defaults.namespace,h=a.extend({},e.defaults,e.readElementConfig(b[0],g),d),i=function(g){var i=a(g.currentTarget),j=a.extend({$source:b,$currentTarget:i},e.readElementConfig(b[0],h.namespace),e.readElementConfig(g.currentTarget,h.namespace),d),k=f||i.data("featherlight-persisted")||new e(c,j);"shared"===k.persist?f=k:!1!==k.persist&&i.data("featherlight-persisted",k),j.$currentTarget.blur&&j.$currentTarget.blur(),k.open(g)};return b.on(h.openTrigger+"."+h.namespace,h.filter,i),i},current:function(){var a=this.opened();return a[a.length-1]||null},opened:function(){var b=this;return f(),a.grep(e,function(a){return a instanceof b})},close:function(a){var b=this.current();if(b)return b.close(a)},_onReady:function(){var b=this;b.autoBind&&(a(b.autoBind).each(function(){b.attach(a(this))}),a(document).on("click",b.autoBind,function(c){if(!c.isDefaultPrevented()){b.attach(a(c.currentTarget))(c)}}))},_callbackChain:{onKeyUp:function(b,c){return 27===c.keyCode?(this.closeOnEsc&&a.featherlight.close(c),!1):b(c)},beforeOpen:function(b,c){return a(document.documentElement).addClass("with-featherlight"),this._previouslyActive=document.activeElement,this._$previouslyTabbable=a("a, input, select, textarea, iframe, button, iframe, [contentEditable=true]").not("[tabindex]").not(this.$instance.find("button")),this._$previouslyWithTabIndex=a("[tabindex]").not('[tabindex="-1"]'),this._previousWithTabIndices=this._$previouslyWithTabIndex.map(function(b,c){return a(c).attr("tabindex")}),this._$previouslyWithTabIndex.add(this._$previouslyTabbable).attr("tabindex",-1),document.activeElement.blur&&document.activeElement.blur(),b(c)},afterClose:function(c,d){var e=c(d),f=this;return this._$previouslyTabbable.removeAttr("tabindex"),this._$previouslyWithTabIndex.each(function(b,c){a(c).attr("tabindex",f._previousWithTabIndices[b])}),this._previouslyActive.focus(),0===b.opened().length&&a(document.documentElement).removeClass("with-featherlight"),e},onResize:function(a,b){return this.resize(this.$content.naturalWidth,this.$content.naturalHeight),a(b)},afterContent:function(a,b){var c=a(b);return this.$instance.find("[autofocus]:not([disabled])").focus(),this.onResize(b),c}}}),a.featherlight=b,a.fn.featherlight=function(a,c){return b.attach(this,a,c),this},a(document).ready(function(){b._onReady()})}(jQuery),function(a){"use strict";function b(c,d){if(!(this instanceof b)){var e=new b(a.extend({$source:c,$currentTarget:c.first()},d));return e.open(),e}a.featherlight.apply(this,arguments),this.chainCallbacks(h)}var c=function(a){window.console&&window.console.warn&&window.console.warn("FeatherlightGallery: "+a)};if(void 0===a)return c("Too much lightness, Featherlight needs jQuery.");if(!a.featherlight)return c("Load the featherlight plugin before the gallery plugin");var d="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,e=a.event&&a.event.special.swipeleft&&a,f=window.Hammer&&function(a){var b=new window.Hammer.Manager(a[0]);return b.add(new window.Hammer.Swipe),b},g=d&&(e||f);d&&!g&&c("No compatible swipe library detected; one must be included before featherlightGallery for swipe motions to navigate the galleries.");var h={afterClose:function(a,b){var c=this;return c.$instance.off("next."+c.namespace+" previous."+c.namespace),c._swiper&&(c._swiper.off("swipeleft",c._swipeleft).off("swiperight",c._swiperight),c._swiper=null),a(b)},beforeOpen:function(a,b){var c=this;return c.$instance.on("next."+c.namespace+" previous."+c.namespace,function(a){var b="next"===a.type?1:-1;c.navigateTo(c.currentNavigation()+b)}),g&&(c._swiper=g(c.$instance).on("swipeleft",c._swipeleft=function(){c.$instance.trigger("next")}).on("swiperight",c._swiperight=function(){c.$instance.trigger("previous")}),c.$instance.addClass(this.namespace+"-swipe-aware",g)),c.$instance.find("."+c.namespace+"-content").append(c.createNavigation("previous")).append(c.createNavigation("next")),a(b)},beforeContent:function(a,b){var c=this.currentNavigation(),d=this.slides().length;return this.$instance.toggleClass(this.namespace+"-first-slide",0===c).toggleClass(this.namespace+"-last-slide",c===d-1),a(b)},onKeyUp:function(a,b){var c={37:"previous",39:"next"}[b.keyCode];return c?(this.$instance.trigger(c),!1):a(b)}};a.featherlight.extend(b,{autoBind:"[data-featherlight-gallery]"}),a.extend(b.prototype,{previousIcon:"◀",nextIcon:"▶",galleryFadeIn:100,galleryFadeOut:300,slides:function(){return this.filter?this.$source.find(this.filter):this.$source},images:function(){return c("images is deprecated, please use slides instead"),this.slides()},currentNavigation:function(){return this.slides().index(this.$currentTarget)},navigateTo:function(b){var c=this,d=c.slides(),e=d.length,f=c.$instance.find("."+c.namespace+"-inner");return b=(b%e+e)%e,c.$currentTarget=d.eq(b),c.beforeContent(),a.when(c.getContent(),f.fadeTo(c.galleryFadeOut,.2)).always(function(a){c.setContent(a),c.afterContent(),a.fadeTo(c.galleryFadeIn,1)})},createNavigation:function(b){var c=this;return a('<span title="'+b+'" class="'+this.namespace+"-"+b+'"><span>'+this[b+"Icon"]+"</span></span>").click(function(){a(this).trigger(b+"."+c.namespace)})}}),a.featherlightGallery=b,a.fn.featherlightGallery=function(a){return b.attach(this,a),this},a(document).ready(function(){b._onReady()})}(jQuery),function(a,b,c){"use strict";function d(a,c){return/(.png|.jpg|.jpeg|.gif|.tiff|.bmp)$/.test(b(c).attr("href").toLowerCase().split("?")[0].split("#")[0])}function e(){j.find("a[href]").filter(d).attr("data-featherlight","image")}function f(a,c){var d=b(c),e=d.find(".gallery-item a");0===e.length&&(e=d.find(".tiled-gallery-item a")),e.attr("data-featherlight")&&e.featherlightGallery({previousIcon:"",nextIcon:""})}function g(){var a=j.find(".gallery, .tiled-gallery");0!==a.length&&b.each(a,f)}function h(){b.featherlight.prototype.afterContent=function(){var a=this.$instance,c=this.$currentTarget,d=c.parent(),e=d.find(".wp-caption-text"),f=c.parents(".gallery-item"),g=c.parents(".tiled-gallery-item");if(0!==f.length?e=f.find(".wp-caption-text"):0!==g.length&&(e=g.find(".tiled-gallery-caption")),a.find(".caption").remove(),0!==e.length){b('<div class="caption">').appendTo(a.find(".featherlight-content"))[0].innerHTML=e.html()}}}function i(){b.featherlight.defaults.closeIcon="",e(),g(),j.hasClass("wp-featherlight-captions")&&h()}var j=b(document.body);b(document).ready(function(){i()})}(0,jQuery);
|
1 |
+
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(s){var c,l,u=!(s.detectSwipe={version:"2.1.2",enabled:"ontouchstart"in document.documentElement,preventDefault:!0,threshold:20});function f(){this.removeEventListener("touchmove",t),this.removeEventListener("touchend",f),u=!1}function t(e){if(s.detectSwipe.preventDefault&&e.preventDefault(),u){var t,n=e.touches[0].pageX,i=e.touches[0].pageY,r=c-n,a=l-i,o=window.devicePixelRatio||1;Math.abs(r)*o>=s.detectSwipe.threshold?t=0<r?"left":"right":Math.abs(a)*o>=s.detectSwipe.threshold&&(t=0<a?"up":"down"),t&&(f.call(this),s(this).trigger("swipe",t).trigger("swipe"+t))}}function e(e){1==e.touches.length&&(c=e.touches[0].pageX,l=e.touches[0].pageY,u=!0,this.addEventListener("touchmove",t,!1),this.addEventListener("touchend",f,!1))}s.event.special.swipe={setup:function(){this.addEventListener&&this.addEventListener("touchstart",e,!1)}},s.each(["left","up","down","right"],function(){s.event.special["swipe"+this]={setup:function(){s(this).on("swipe",s.noop)}}})}),function(u){"use strict";if(void 0!==u)if(u.fn.jquery.match(/-ajax/))"console"in window&&window.console.info("Featherlight needs regular jQuery, not the slim version.");else{var i=[],r=function(t){return i=u.grep(i,function(e){return e!==t&&0<e.$instance.closest("body").length})},a={allow:1,allowfullscreen:1,frameborder:1,height:1,longdesc:1,marginheight:1,marginwidth:1,mozallowfullscreen:1,name:1,referrerpolicy:1,sandbox:1,scrolling:1,src:1,srcdoc:1,style:1,webkitallowfullscreen:1,width:1},n={keyup:"onKeyUp",resize:"onResize"},o=function(e){u.each(c.opened().reverse(),function(){if(!e.isDefaultPrevented()&&!1===this[n[e.type]](e))return e.preventDefault(),e.stopPropagation(),!1})},s=function(e){if(e!==c._globalHandlerInstalled){c._globalHandlerInstalled=e;var t=u.map(n,function(e,t){return t+"."+c.prototype.namespace}).join(" ");u(window)[e?"on":"off"](t,o)}};c.prototype={constructor:c,namespace:"featherlight",targetAttr:"data-featherlight",variant:null,resetCss:!1,background:null,openTrigger:"click",closeTrigger:"click",filter:null,root:"body",openSpeed:250,closeSpeed:250,closeOnClick:"background",closeOnEsc:!0,closeIcon:"✕",loading:"",persist:!1,otherClose:null,beforeOpen:u.noop,beforeContent:u.noop,beforeClose:u.noop,afterOpen:u.noop,afterContent:u.noop,afterClose:u.noop,onKeyUp:u.noop,onResize:u.noop,type:null,contentFilters:["jquery","image","html","ajax","iframe","text"],setup:function(e,t){"object"!=typeof e||e instanceof u!=!1||t||(t=e,e=void 0);var n=u.extend(this,t,{target:e}),i=n.resetCss?n.namespace+"-reset":n.namespace,r=u(n.background||['<div class="'+i+"-loading "+i+'">','<div class="'+i+'-content">','<button class="'+i+"-close-icon "+n.namespace+'-close" aria-label="Close">',n.closeIcon,"</button>",'<div class="'+n.namespace+'-inner">'+n.loading+"</div>","</div>","</div>"].join("")),a="."+n.namespace+"-close"+(n.otherClose?","+n.otherClose:"");return n.$instance=r.clone().addClass(n.variant),n.$instance.on(n.closeTrigger+"."+n.namespace,function(e){if(!e.isDefaultPrevented()){var t=u(e.target);("background"===n.closeOnClick&&t.is("."+n.namespace)||"anywhere"===n.closeOnClick||t.closest(a).length)&&(n.close(e),e.preventDefault())}}),this},getContent:function(){if(!1!==this.persist&&this.$content)return this.$content;var t=this,e=this.constructor.contentFilters,n=function(e){return t.$currentTarget&&t.$currentTarget.attr(e)},i=n(t.targetAttr),r=t.target||i||"",a=e[t.type];if(!a&&r in e&&(a=e[r],r=t.target&&i),r=r||n("href")||"",!a)for(var o in e)t[o]&&(a=e[o],r=t[o]);if(!a){var s=r;if(r=null,u.each(t.contentFilters,function(){return(a=e[this]).test&&(r=a.test(s)),!r&&a.regex&&s.match&&s.match(a.regex)&&(r=s),!r}),!r)return"console"in window&&window.console.error("Featherlight: no content filter found "+(s?' for "'+s+'"':" (no target specified)")),!1}return a.process.call(t,r)},setContent:function(e){return this.$instance.removeClass(this.namespace+"-loading"),this.$instance.toggleClass(this.namespace+"-iframe",e.is("iframe")),this.$instance.find("."+this.namespace+"-inner").not(e).slice(1).remove().end().replaceWith(u.contains(this.$instance[0],e[0])?"":e),this.$content=e.addClass(this.namespace+"-inner"),this},open:function(t){var n=this;if(n.$instance.hide().appendTo(n.root),!(t&&t.isDefaultPrevented()||!1===n.beforeOpen(t))){t&&t.preventDefault();var e=n.getContent();if(e)return i.push(n),s(!0),n.$instance.fadeIn(n.openSpeed),n.beforeContent(t),u.when(e).always(function(e){n.setContent(e),n.afterContent(t)}).then(n.$instance.promise()).done(function(){n.afterOpen(t)})}return n.$instance.detach(),u.Deferred().reject().promise()},close:function(e){var t=this,n=u.Deferred();return!1===t.beforeClose(e)?n.reject():(0===r(t).length&&s(!1),t.$instance.fadeOut(t.closeSpeed,function(){t.$instance.detach(),t.afterClose(e),n.resolve()})),n.promise()},resize:function(e,t){if(e&&t){this.$content.css("width","").css("height","");var n=Math.max(e/(this.$content.parent().width()-1),t/(this.$content.parent().height()-1));1<n&&(n=t/Math.floor(t/n),this.$content.css("width",e/n+"px").css("height",t/n+"px"))}},chainCallbacks:function(e){for(var t in e)this[t]=u.proxy(e[t],this,u.proxy(this[t],this))}},u.extend(c,{id:0,autoBind:"[data-featherlight]",defaults:c.prototype,contentFilters:{jquery:{regex:/^[#.]\w/,test:function(e){return e instanceof u&&e},process:function(e){return!1!==this.persist?u(e):u(e).clone(!0)}},image:{regex:/\.(png|jpg|jpeg|gif|tiff?|bmp|svg)(\?\S*)?$/i,process:function(e){var t=u.Deferred(),n=new Image,i=u('<img src="'+e+'" alt="" class="'+this.namespace+'-image" />');return n.onload=function(){i.naturalWidth=n.width,i.naturalHeight=n.height,t.resolve(i)},n.onerror=function(){t.reject(i)},n.src=e,t.promise()}},html:{regex:/^\s*<[\w!][^<]*>/,process:function(e){return u(e)}},ajax:{regex:/./,process:function(e){var n=u.Deferred(),i=u("<div></div>").load(e,function(e,t){"error"!==t&&n.resolve(i.contents()),n.fail()});return n.promise()}},iframe:{process:function(e){var t=new u.Deferred,n=u("<iframe/>"),i=function(e,t){var n={},i=new RegExp("^"+t+"([A-Z])(.*)");for(var r in e){var a=r.match(i);a&&(n[(a[1]+a[2].replace(/([A-Z])/g,"-$1")).toLowerCase()]=e[r])}return n}(this,"iframe"),r=function(e,t){var n={};for(var i in e)i in t&&(n[i]=e[i],delete e[i]);return n}(i,a);return n.hide().attr("src",e).attr(r).css(i).on("load",function(){t.resolve(n.show())}).appendTo(this.$instance.find("."+this.namespace+"-content")),t.promise()}},text:{process:function(e){return u("<div>",{text:e})}}},functionAttributes:["beforeOpen","afterOpen","beforeContent","afterContent","beforeClose","afterClose"],readElementConfig:function(e,t){var i=this,r=new RegExp("^data-"+t+"-(.*)"),a={};return e&&e.attributes&&u.each(e.attributes,function(){var e=this.name.match(r);if(e){var t=this.value,n=u.camelCase(e[1]);if(0<=u.inArray(n,i.functionAttributes))t=new Function(t);else try{t=JSON.parse(t)}catch(e){}a[n]=t}}),a},extend:function(e,t){var n=function(){this.constructor=e};return n.prototype=this.prototype,e.prototype=new n,e.__super__=this.prototype,u.extend(e,this,t),e.defaults=e.prototype,e},attach:function(r,a,o){var s=this;"object"!=typeof a||a instanceof u!=!1||o||(o=a,a=void 0);var c,e=(o=u.extend({},o)).namespace||s.defaults.namespace,l=u.extend({},s.defaults,s.readElementConfig(r[0],e),o),t=function(e){var t=u(e.currentTarget),n=u.extend({$source:r,$currentTarget:t},s.readElementConfig(r[0],l.namespace),s.readElementConfig(e.currentTarget,l.namespace),o),i=c||t.data("featherlight-persisted")||new s(a,n);"shared"===i.persist?c=i:!1!==i.persist&&t.data("featherlight-persisted",i),n.$currentTarget.blur&&n.$currentTarget.blur(),i.open(e)};return r.on(l.openTrigger+"."+l.namespace,l.filter,t),{filter:l.filter,handler:t}},current:function(){var e=this.opened();return e[e.length-1]||null},opened:function(){var t=this;return r(),u.grep(i,function(e){return e instanceof t})},close:function(e){var t=this.current();if(t)return t.close(e)},_onReady:function(){var i=this;if(i.autoBind){var r=u(i.autoBind);r.each(function(){i.attach(u(this))}),u(document).on("click",i.autoBind,function(e){if(!e.isDefaultPrevented()){var t=u(e.currentTarget);if(r.length!==(r=r.add(t)).length){var n=i.attach(t);(!n.filter||0<u(e.target).parentsUntil(t,n.filter).length)&&n.handler(e)}}})}},_callbackChain:{onKeyUp:function(e,t){return 27===t.keyCode?(this.closeOnEsc&&u.featherlight.close(t),!1):e(t)},beforeOpen:function(e,t){return u(document.documentElement).addClass("with-featherlight"),this._previouslyActive=document.activeElement,this._$previouslyTabbable=u("a, input, select, textarea, iframe, button, iframe, [contentEditable=true]").not("[tabindex]").not(this.$instance.find("button")),this._$previouslyWithTabIndex=u("[tabindex]").not('[tabindex="-1"]'),this._previousWithTabIndices=this._$previouslyWithTabIndex.map(function(e,t){return u(t).attr("tabindex")}),this._$previouslyWithTabIndex.add(this._$previouslyTabbable).attr("tabindex",-1),document.activeElement.blur&&document.activeElement.blur(),e(t)},afterClose:function(e,t){var n=e(t),i=this;return this._$previouslyTabbable.removeAttr("tabindex"),this._$previouslyWithTabIndex.each(function(e,t){u(t).attr("tabindex",i._previousWithTabIndices[e])}),this._previouslyActive.focus(),0===c.opened().length&&u(document.documentElement).removeClass("with-featherlight"),n},onResize:function(e,t){return this.resize(this.$content.naturalWidth,this.$content.naturalHeight),e(t)},afterContent:function(e,t){var n=e(t);return this.$instance.find("[autofocus]:not([disabled])").focus(),this.onResize(t),n}}}),u.featherlight=c,u.fn.featherlight=function(e,t){return c.attach(this,e,t),this},u(document).ready(function(){c._onReady()})}else"console"in window&&window.console.info("Too much lightness, Featherlight needs jQuery.");function c(e,t){if(!(this instanceof c)){var n=new c(e,t);return n.open(),n}this.id=c.id++,this.setup(e,t),this.chainCallbacks(c._callbackChain)}}(jQuery),function(a){"use strict";var e=function(e){window.console&&window.console.warn&&window.console.warn("FeatherlightGallery: "+e)};if(void 0===a)return e("Too much lightness, Featherlight needs jQuery.");if(!a.featherlight)return e("Load the featherlight plugin before the gallery plugin");var t="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,n=a.event&&a.event.special.swipeleft&&a,i=window.Hammer&&function(e){var t=new window.Hammer.Manager(e[0]);return t.add(new window.Hammer.Swipe),t},r=t&&(n||i);t&&!r&&e("No compatible swipe library detected; one must be included before featherlightGallery for swipe motions to navigate the galleries.");var o={afterClose:function(e,t){var n=this;return n.$instance.off("next."+n.namespace+" previous."+n.namespace),n._swiper&&(n._swiper.off("swipeleft",n._swipeleft).off("swiperight",n._swiperight),n._swiper=null),e(t)},beforeOpen:function(e,t){var n=this;return n.$instance.on("next."+n.namespace+" previous."+n.namespace,function(e){var t="next"===e.type?1:-1;n.navigateTo(n.currentNavigation()+t)}),r&&(n._swiper=r(n.$instance).on("swipeleft",n._swipeleft=function(){n.$instance.trigger("next")}).on("swiperight",n._swiperight=function(){n.$instance.trigger("previous")}),n.$instance.addClass(this.namespace+"-swipe-aware",r)),n.$instance.find("."+n.namespace+"-content").append(n.createNavigation("previous")).append(n.createNavigation("next")),e(t)},beforeContent:function(e,t){var n=this.currentNavigation(),i=this.slides().length;return this.$instance.toggleClass(this.namespace+"-first-slide",0===n).toggleClass(this.namespace+"-last-slide",n===i-1),e(t)},onKeyUp:function(e,t){var n={37:"previous",39:"next"}[t.keyCode];return n?(this.$instance.trigger(n),!1):e(t)}};function s(e,t){if(!(this instanceof s)){var n=new s(a.extend({$source:e,$currentTarget:e.first()},t));return n.open(),n}a.featherlight.apply(this,arguments),this.chainCallbacks(o)}a.featherlight.extend(s,{autoBind:"[data-featherlight-gallery]"}),a.extend(s.prototype,{previousIcon:"◀",nextIcon:"▶",galleryFadeIn:100,galleryFadeOut:300,slides:function(){return this.filter?this.$source.find(this.filter):this.$source},images:function(){return e("images is deprecated, please use slides instead"),this.slides()},currentNavigation:function(){return this.slides().index(this.$currentTarget)},navigateTo:function(e){var t=this,n=t.slides(),i=n.length,r=t.$instance.find("."+t.namespace+"-inner");return e=(e%i+i)%i,t.$currentTarget=n.eq(e),t.beforeContent(),a.when(t.getContent(),r.fadeTo(t.galleryFadeOut,.2)).always(function(e){t.setContent(e),t.afterContent(),e.fadeTo(t.galleryFadeIn,1)})},createNavigation:function(t){var n=this;return a('<span title="'+t+'" class="'+this.namespace+"-"+t+'"><span>'+this[t+"Icon"]+"</span></span>").click(function(e){a(this).trigger(t+"."+n.namespace),e.preventDefault()})}}),a.featherlightGallery=s,a.fn.featherlightGallery=function(e){return s.attach(this,e),this},a(document).ready(function(){s._onReady()})}(jQuery),function(e,i,t){"use strict";var n=i(document.body);function r(e,t){return/(.png|.jpg|.jpeg|.gif|.tiff|.bmp)$/.test(i(t).attr("href").toLowerCase().split("?")[0].split("#")[0])}function a(e,t){var n=i(t).find("a[data-featherlight]");n.attr("data-featherlight")&&n.featherlightGallery({previousIcon:"",nextIcon:""})}function o(){var e;i.featherlight.defaults.closeIcon="",n.find("a[href]").filter(r).attr("data-featherlight","image"),0!==(e=n.find('[class*="gallery"]')).length&&i.each(e,a),n.hasClass("wp-featherlight-captions")&&(i.featherlight.prototype.afterContent=function(){var e=this.$instance,t=function(e){var t=e.parent().find(".wp-caption-text");if(0!==t.length)return t;var n=e.parent().find("figcaption");if(0!==n.length)return n;var i=e.parents(".gallery-item");if(0!==i.length)return i.find(".wp-caption-text");var r=e.parents(".blocks-gallery-item");if(0!==r.length)return r.find("figcaption");var a=e.parents(".tiled-gallery-item");return 0!==a.length?a.find(".tiled-gallery-caption"):""}(this.$currentTarget);e.find(".caption").remove(),0!==t.length&&(i('<div class="caption">').appendTo(e.find(".featherlight-content"))[0].innerHTML=t.html())})}i(document).ready(function(){o()})}(0,jQuery);
|
languages/wp-featherlight-de_DE.mo
CHANGED
File without changes
|
languages/wp-featherlight-es_ES.mo
CHANGED
File without changes
|
languages/wp-featherlight-fr_FR .mo
CHANGED
File without changes
|
languages/wp-featherlight-fr_FR.mo
CHANGED
File without changes
|
languages/wp-featherlight-pl_PL.mo
CHANGED
File without changes
|
languages/wp-featherlight-pt_BR.mo
CHANGED
File without changes
|
languages/wp-featherlight.pot
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
-
# Copyright (C)
|
2 |
# This file is distributed under the GPL-2.0+.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: WP Featherlight 1.
|
6 |
-
"Report-Msgid-Bugs-To: https://
|
7 |
-
"POT-Creation-Date:
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"PO-Revision-Date:
|
12 |
-
"Last-Translator:
|
13 |
-
"Language-Team:
|
14 |
"Language: en\n"
|
15 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
"X-Poedit-Country: United States\n"
|
@@ -22,7 +22,7 @@ msgstr ""
|
|
22 |
"X-Poedit-SearchPath-0: .\n"
|
23 |
"X-Poedit-Bookmarks: \n"
|
24 |
"X-Textdomain-Support: yes\n"
|
25 |
-
"X-Generator: grunt-wp-i18n1.0.
|
26 |
|
27 |
#: admin/views/meta-box.php:15
|
28 |
msgid "Disable lightbox"
|
@@ -33,7 +33,7 @@ msgid "WP Featherlight"
|
|
33 |
msgstr ""
|
34 |
|
35 |
#. Plugin URI of the plugin/theme
|
36 |
-
msgid "https://
|
37 |
msgstr ""
|
38 |
|
39 |
#. Description of the plugin/theme
|
1 |
+
# Copyright (C) 2018 Cipher
|
2 |
# This file is distributed under the GPL-2.0+.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WP Featherlight 1.3.0\n"
|
6 |
+
"Report-Msgid-Bugs-To: https://cipherdevelopment.com/contact/\n"
|
7 |
+
"POT-Creation-Date: 2018-08-14 01:08:07+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2018-MO-DA HO:MI+ZONE\n"
|
12 |
+
"Last-Translator: Cipher <hello@cipherdevelopment.com>\n"
|
13 |
+
"Language-Team: Cipher <hello@cipherdevelopment.com>\n"
|
14 |
"Language: en\n"
|
15 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
"X-Poedit-Country: United States\n"
|
22 |
"X-Poedit-SearchPath-0: .\n"
|
23 |
"X-Poedit-Bookmarks: \n"
|
24 |
"X-Textdomain-Support: yes\n"
|
25 |
+
"X-Generator: grunt-wp-i18n1.0.2\n"
|
26 |
|
27 |
#: admin/views/meta-box.php:15
|
28 |
msgid "Disable lightbox"
|
33 |
msgstr ""
|
34 |
|
35 |
#. Plugin URI of the plugin/theme
|
36 |
+
msgid "https://cipherdevelopment.com/wp-featherlight/"
|
37 |
msgstr ""
|
38 |
|
39 |
#. Description of the plugin/theme
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== WP Featherlight - A Simple jQuery Lightbox ===
|
2 |
|
3 |
-
Contributors: fatmedia,
|
4 |
Tags: lightbox, jquery lightbox, jquery, gallery, image, lightbox images, image lightbox, lightbox gallery, lightbox image, lightbox popup, featherlight, photo gallery, popup image, popup images, popup lightbox, responsive lightbox, swipe, wordpress image lightbox, wordpress lightbox, wordpress slideshow lightbox, photography, images, minimal, responsive, photo, photos
|
5 |
Requires at least: 4.0
|
6 |
-
Tested up to: 4.8
|
7 |
-
Stable tag: 1.
|
8 |
License: GPL-2.0+
|
9 |
|
10 |
An ultra lightweight jQuery lightbox for WordPress images and galleries.
|
@@ -25,11 +25,11 @@ If you find a display problem, it may be related to your theme but please [open
|
|
25 |
|
26 |
While there are no options in the plugin, there are some handy filters to modify the default behavior. As of `0.3.0` all images which use the default WordPress captions will also include a caption when the image is lightboxed. To disable this behavior, filter `wp_featherlight_captions` to false.
|
27 |
|
28 |
-
You can also disable inclusion of the CSS and JavaScript conditionally using filters which can be found in the `/includes/class-scripts.php` file. If you have questions about how any part of the plugin works, please don't hesitate to [open an issue on GitHub](https://github.com/
|
29 |
|
30 |
= Contributing =
|
31 |
|
32 |
-
If you'd like to submit code patches or contribute in any other way, please [fork the plugin on GitHub](https://github.com/
|
33 |
|
34 |
== Screenshots ==
|
35 |
|
@@ -37,6 +37,16 @@ If you'd like to submit code patches or contribute in any other way, please [for
|
|
37 |
|
38 |
== Changelog ==
|
39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
= 1.2.0 =
|
41 |
This is primarily a maintenance release, but one new feature has been added. HTML in captions is now supported!
|
42 |
|
@@ -62,7 +72,7 @@ If you're just using the plugin on your site and haven't customized it or paid a
|
|
62 |
|
63 |
If you're a developer and have written custom code extending the PHP side of WP Featherlight, be sure to test your code before updating.
|
64 |
|
65 |
-
Under the hood, we've [deprecated some internal methods](https://github.com/
|
66 |
|
67 |
- Tweak: Improved transition between images within galleries
|
68 |
- Tweak: Moved our disable lightbox checkbox into the publish meta box to streamline the admin
|
@@ -73,4 +83,4 @@ Under the hood, we've [deprecated some internal methods](https://github.com/wpsi
|
|
73 |
- Dev: Deprecated some internal methods
|
74 |
- Dev: Reorganized how classes are instantiated and plugin actions are fired
|
75 |
|
76 |
-
[View the full changelog on GitHub](https://github.com/
|
1 |
=== WP Featherlight - A Simple jQuery Lightbox ===
|
2 |
|
3 |
+
Contributors: fatmedia, cipherdevgroup, ozzyr
|
4 |
Tags: lightbox, jquery lightbox, jquery, gallery, image, lightbox images, image lightbox, lightbox gallery, lightbox image, lightbox popup, featherlight, photo gallery, popup image, popup images, popup lightbox, responsive lightbox, swipe, wordpress image lightbox, wordpress lightbox, wordpress slideshow lightbox, photography, images, minimal, responsive, photo, photos
|
5 |
Requires at least: 4.0
|
6 |
+
Tested up to: 4.9.8
|
7 |
+
Stable tag: 1.3.0
|
8 |
License: GPL-2.0+
|
9 |
|
10 |
An ultra lightweight jQuery lightbox for WordPress images and galleries.
|
25 |
|
26 |
While there are no options in the plugin, there are some handy filters to modify the default behavior. As of `0.3.0` all images which use the default WordPress captions will also include a caption when the image is lightboxed. To disable this behavior, filter `wp_featherlight_captions` to false.
|
27 |
|
28 |
+
You can also disable inclusion of the CSS and JavaScript conditionally using filters which can be found in the `/includes/class-scripts.php` file. If you have questions about how any part of the plugin works, please don't hesitate to [open an issue on GitHub](https://github.com/cipherdevgroup/wp-featherlight/issues).
|
29 |
|
30 |
= Contributing =
|
31 |
|
32 |
+
If you'd like to submit code patches or contribute in any other way, please [fork the plugin on GitHub](https://github.com/cipherdevgroup/wp-featherlight).
|
33 |
|
34 |
== Screenshots ==
|
35 |
|
37 |
|
38 |
== Changelog ==
|
39 |
|
40 |
+
= 1.3.0 =
|
41 |
+
While primarily a maintenance release, one new feature has been added. WP Featherlight now supports Gutenberg galleries.
|
42 |
+
|
43 |
+
Here's a full list of what's changed since the last release:
|
44 |
+
|
45 |
+
- Feature: Gutenberg support
|
46 |
+
- Tweak: General code cleanup in plugin
|
47 |
+
- Dev: Updated [Featherlight](https://github.com/noelboss/featherlight/) to `1.7.13`
|
48 |
+
- Change of ownership
|
49 |
+
|
50 |
= 1.2.0 =
|
51 |
This is primarily a maintenance release, but one new feature has been added. HTML in captions is now supported!
|
52 |
|
72 |
|
73 |
If you're a developer and have written custom code extending the PHP side of WP Featherlight, be sure to test your code before updating.
|
74 |
|
75 |
+
Under the hood, we've [deprecated some internal methods](https://github.com/cipherdevgroup/wp-featherlight/search?utf8=%E2%9C%93&q=_deprecated_function) which could potentially break custom code which extends WP Featherlight. The changes are primarily limited to class initialization, so unless you were doing something specific to that, it's unlikely that you'll run into issues.
|
76 |
|
77 |
- Tweak: Improved transition between images within galleries
|
78 |
- Tweak: Moved our disable lightbox checkbox into the publish meta box to streamline the admin
|
83 |
- Dev: Deprecated some internal methods
|
84 |
- Dev: Reorganized how classes are instantiated and plugin actions are fired
|
85 |
|
86 |
+
[View the full changelog on GitHub](https://github.com/cipherdevgroup/wp-featherlight/blob/release/CHANGELOG.md)
|
wp-featherlight.php
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: WP Featherlight
|
4 |
-
* Plugin URI: https://
|
5 |
* Description: An ultra lightweight jQuery lightbox for WordPress images and galleries.
|
6 |
-
* Version: 1.
|
7 |
-
* Author:
|
8 |
-
* Author URI: https://
|
9 |
* License: GPL-2.0+
|
10 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
* Text Domain: wp-featherlight
|
12 |
* Domain Path: /languages
|
13 |
*
|
14 |
* @package WPFeatherlight
|
15 |
-
* @copyright Copyright (c)
|
16 |
* @license GPL-2.0+
|
17 |
* @since 0.1.0
|
18 |
*/
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: WP Featherlight
|
4 |
+
* Plugin URI: https://cipherdevelopment.com/wp-featherlight/
|
5 |
* Description: An ultra lightweight jQuery lightbox for WordPress images and galleries.
|
6 |
+
* Version: 1.3.0
|
7 |
+
* Author: Cipher
|
8 |
+
* Author URI: https://cipherdevelopment.com
|
9 |
* License: GPL-2.0+
|
10 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
* Text Domain: wp-featherlight
|
12 |
* Domain Path: /languages
|
13 |
*
|
14 |
* @package WPFeatherlight
|
15 |
+
* @copyright Copyright (c) 2018, Cipher Development, LLC
|
16 |
* @license GPL-2.0+
|
17 |
* @since 0.1.0
|
18 |
*/
|