Gallery – Photo Gallery – Image Gallery - Version 2.0.8

Version Description

Download this release

Release Info

Developer machothemes
Plugin Icon wp plugin Gallery – Photo Gallery – Image Gallery
Version 2.0.8
Comparing to
See all releases

Code changes from version 2.0.7 to 2.0.8

Modula.php CHANGED
@@ -4,7 +4,7 @@
4
* Plugin URI: https://wp-modula.com/
5
* Description: Modula is the most powerful, user-friendly WordPress gallery plugin. Add galleries, masonry grids and more in a few clicks.
6
* Author: MachoThemes
7
- * Version: 2.0.7
8
* Author URI: https://www.machothemes.com/
9
* License: GPLv3 or later
10
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -43,7 +43,7 @@
43
*
44
* @since 2.0.2
45
*/
46
- define( 'MODULA_LITE_VERSION', '2.0.7' );
47
define( 'MODULA_PATH', plugin_dir_path( __FILE__ ) );
48
define( 'MODULA_URL', plugin_dir_url( __FILE__ ) );
49
4
* Plugin URI: https://wp-modula.com/
5
* Description: Modula is the most powerful, user-friendly WordPress gallery plugin. Add galleries, masonry grids and more in a few clicks.
6
* Author: MachoThemes
7
+ * Version: 2.0.8
8
* Author URI: https://www.machothemes.com/
9
* License: GPLv3 or later
10
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
43
*
44
* @since 2.0.2
45
*/
46
+ define( 'MODULA_LITE_VERSION', '2.0.8' );
47
define( 'MODULA_PATH', plugin_dir_path( __FILE__ ) );
48
define( 'MODULA_URL', plugin_dir_url( __FILE__ ) );
49
README.txt CHANGED
@@ -1,10 +1,10 @@
1
- === Modula Photo Gallery ===
2
Contributors: machothemes, silkalns
3
Tags: best gallery plugin, image gallery, photo gallery, responsive gallery, wordpress gallery plugin, wordpress portfolio plugin, masonry gallery, fancy gallery, media gallery, mosaic gallery, polaroid gallery, portfolio gallery
4
Requires at least: 4.6
5
- Tested up to: 5.1
6
Requires PHP: 5.6
7
- Stable tag: 2.0.7
8
License: GPLv3 or later
9
License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
@@ -12,7 +12,7 @@ Photo Gallery by Modula - an advanced solution for Photo Gallery users. Create b
12
13
== Description ==
14
15
- **Modula Photo Gallery** is a standalone plugin built, maintained & operated by the friendly folks over at [MachoThemes](https://www.machothemes.com/?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite).
16
17
With Modula, it's easier than ever to build stunning [lightbox galleries](https://wp-modula.com/demo/lightbox-gallery?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite), masonry grids, custom grids and more in no more than a few clicks right from the WordPress dashboard.
18
1
+ === Modula Image Gallery ===
2
Contributors: machothemes, silkalns
3
Tags: best gallery plugin, image gallery, photo gallery, responsive gallery, wordpress gallery plugin, wordpress portfolio plugin, masonry gallery, fancy gallery, media gallery, mosaic gallery, polaroid gallery, portfolio gallery
4
Requires at least: 4.6
5
+ Tested up to: 5.2
6
Requires PHP: 5.6
7
+ Stable tag: 2.0.8
8
License: GPLv3 or later
9
License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
12
13
== Description ==
14
15
+ **Modula Image Gallery** is a standalone plugin built, maintained & operated by the friendly folks over at [MachoThemes](https://www.machothemes.com/?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite).
16
17
With Modula, it's easier than ever to build stunning [lightbox galleries](https://wp-modula.com/demo/lightbox-gallery?utm_source=wordpress.org&utm_medium=web&utm_campaign=Modula%20Lite), masonry grids, custom grids and more in no more than a few clicks right from the WordPress dashboard.
18
assets/css/addons.min.css ADDED
@@ -0,0 +1 @@
1
+ .modula-addons-container{display:flex;justify-content:space-between;flex-wrap:wrap}.modula-addon{width:48%;margin:0 0 16px;background-color:#fff;border:1px solid #ddd;box-sizing:border-box}.modula-addon .modula-addon-box{display:flex;padding:20px 20px 10px;text-align:left}.modula-addon .modula-addon-box .modula-addon-content{padding-left:20px}.modula-addon .modula-addon-box img{display:block;max-width:128px;max-height:128px}.modula-addon .modula-addon-box h3{margin-top:0;text-align:left}.modula-addon .modula-addon-actions{padding:12px 20px;background-color:#fafafa;border-top:1px solid #ddd;overflow:hidden;text-align:center}.modula-partners{display:flex;flex-wrap:wrap}.modula-partners .modula-partner-box{background:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);padding:15px 15px 0;margin:15px 3% 15px 0;position:relative;text-align:center;width:33%}.modula-partner-box img{width:125px;height:125px;margin:0 auto 15px;display:block;border:none}.modula-partner-box__name{margin-bottom:10px;padding:0 26px;font-weight:600}.modula-partner-box__description{font-size:.875em;margin-bottom:15px;font-style:italic}.modula-partner-box__action-bar{-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.1);box-shadow:inset 0 1px 0 rgba(0,0,0,.1);white-space:nowrap;text-overflow:ellipsis;text-align:left;margin-left:-15px;margin-right:-15px}.modula-partner-box__action-button{display:block;padding:9px 10px 10px;background:#f6f6f6;border-top:1px solid rgba(0,0,0,.1);text-align:center}.about-wrap{margin:0}.about-wrap h2{margin-top:25px}
assets/css/edit.css CHANGED
@@ -5,9 +5,14 @@
5
.post-type-modula-gallery .wrap .nav-tab-wrapper .page-title-action {
6
top: 7px;
7
}
8
- .modula-feedback-notice {
9
padding: 22px;
10
border: 2px solid #2ebf91;
11
}
12
.notice p.modula-feedback-title {
13
font-size: 26px;
5
.post-type-modula-gallery .wrap .nav-tab-wrapper .page-title-action {
6
top: 7px;
7
}
8
+ .wrap .modula-feedback-notice {
9
padding: 22px;
10
border: 2px solid #2ebf91;
11
+ margin-top: 20px;
12
+ position: relative;
13
+ }
14
+ .wrap .modula-feedback-notice .notice-dismiss {
15
+ text-decoration: none;
16
}
17
.notice p.modula-feedback-title {
18
font-size: 26px;
assets/css/edit.min.css ADDED
@@ -0,0 +1 @@
1
+ .post-type-modula-gallery .wrap h1.wp-heading-inline,.post-type-modula-gallery .wrap>.page-title-action{display:none}.post-type-modula-gallery .wrap .nav-tab-wrapper .page-title-action{top:7px}.wrap .modula-feedback-notice{padding:22px;border:2px solid #2ebf91;margin-top:20px;position:relative}.wrap .modula-feedback-notice .notice-dismiss{text-decoration:none}.notice p.modula-feedback-title{font-size:26px;font-weight:700;display:flex;align-items:center;margin-top:0}.modula-feedback-title svg{width:35px;margin-right:10px}.modula-feedback-title svg path{fill:#2ebf91}
assets/css/jquery-ui.min.css CHANGED
@@ -2,6 +2,8 @@
2
* http://jqueryui.com
3
* Includes: draggable.css, core.css, resizable.css, sortable.css, theme.css
4
* To view and modify this theme, visit http://jqueryui.com/themeroller/?scope=&folderName=base&cornerRadiusShadow=8px&offsetLeftShadow=0px&offsetTopShadow=0px&thicknessShadow=5px&opacityShadow=30&bgImgOpacityShadow=0&bgTextureShadow=flat&bgColorShadow=666666&opacityOverlay=30&bgImgOpacityOverlay=0&bgTextureOverlay=flat&bgColorOverlay=aaaaaa&iconColorError=cc0000&fcError=5f3f3f&borderColorError=f1a899&bgTextureError=flat&bgColorError=fddfdf&iconColorHighlight=777620&fcHighlight=777620&borderColorHighlight=dad55e&bgTextureHighlight=flat&bgColorHighlight=fffa90&iconColorActive=ffffff&fcActive=ffffff&borderColorActive=003eff&bgTextureActive=flat&bgColorActive=007fff&iconColorHover=555555&fcHover=2b2b2b&borderColorHover=cccccc&bgTextureHover=flat&bgColorHover=ededed&iconColorDefault=777777&fcDefault=454545&borderColorDefault=c5c5c5&bgTextureDefault=flat&bgColorDefault=f6f6f6&iconColorContent=444444&fcContent=333333&borderColorContent=dddddd&bgTextureContent=flat&bgColorContent=ffffff&iconColorHeader=444444&fcHeader=333333&borderColorHeader=dddddd&bgTextureHeader=flat&bgColorHeader=e9e9e9&cornerRadius=3px&fwDefault=normal&fsDefault=1em&ffDefault=Arial%2CHelvetica%2Csans-serif
5
- * Copyright jQuery Foundation and other contributors; Licensed MIT */
6
-
7
- .ui-draggable-handle{-ms-touch-action:none;touch-action:none}.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block;-ms-touch-action:none;touch-action:none}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.ui-widget{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget.ui-widget-content{border:1px solid #c5c5c5}.ui-widget-content{border:1px solid #ddd;background:#fff;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #ddd;background:#e9e9e9;color:#333;font-weight:bold}.ui-widget-header a{color:#333}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default,.ui-button,html .ui-button.ui-state-disabled:hover,html .ui-button.ui-state-disabled:active{border:1px solid #c5c5c5;background:#f6f6f6;font-weight:normal;color:#454545}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited,a.ui-button,a:link.ui-button,a:visited.ui-button,.ui-button{color:#454545;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus,.ui-button:hover,.ui-button:focus{border:1px solid #ccc;background:#ededed;font-weight:normal;color:#2b2b2b}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited,a.ui-button:hover,a.ui-button:focus{color:#2b2b2b;text-decoration:none}.ui-visual-focus{box-shadow:0 0 3px 1px rgb(94,158,214)}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active,a.ui-button:active,.ui-button:active,.ui-button.ui-state-active:hover{border:1px solid #003eff;background:#007fff;font-weight:normal;color:#fff}.ui-icon-background,.ui-state-active .ui-icon-background{border:#003eff;background-color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #dad55e;background:#fffa90;color:#777620}.ui-state-checked{border:1px solid #dad55e;background:#fffa90}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#777620}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #f1a899;background:#fddfdf;color:#5f3f3f}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#5f3f3f}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#5f3f3f}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_444444_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_444444_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon,.ui-button:hover .ui-icon,.ui-button:focus .ui-icon{background-image:url("images/ui-icons_555555_256x240.png")}.ui-state-active .ui-icon,.ui-button:active .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-highlight .ui-icon,.ui-button .ui-state-highlight.ui-icon{background-image:url("images/ui-icons_777620_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_cc0000_256x240.png")}.ui-button .ui-icon{background-image:url("images/ui-icons_777777_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-caret-1-n{background-position:0 0}.ui-icon-caret-1-ne{background-position:-16px 0}.ui-icon-caret-1-e{background-position:-32px 0}.ui-icon-caret-1-se{background-position:-48px 0}.ui-icon-caret-1-s{background-position:-65px 0}.ui-icon-caret-1-sw{background-position:-80px 0}.ui-icon-caret-1-w{background-position:-96px 0}.ui-icon-caret-1-nw{background-position:-112px 0}.ui-icon-caret-2-n-s{background-position:-128px 0}.ui-icon-caret-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-65px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-65px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:1px -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:3px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:3px}.ui-widget-overlay{background:#aaa;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{-webkit-box-shadow:0 0 5px #666;box-shadow:0 0 5px #666}
2
* http://jqueryui.com
3
* Includes: draggable.css, core.css, resizable.css, sortable.css, theme.css
4
* To view and modify this theme, visit http://jqueryui.com/themeroller/?scope=&folderName=base&cornerRadiusShadow=8px&offsetLeftShadow=0px&offsetTopShadow=0px&thicknessShadow=5px&opacityShadow=30&bgImgOpacityShadow=0&bgTextureShadow=flat&bgColorShadow=666666&opacityOverlay=30&bgImgOpacityOverlay=0&bgTextureOverlay=flat&bgColorOverlay=aaaaaa&iconColorError=cc0000&fcError=5f3f3f&borderColorError=f1a899&bgTextureError=flat&bgColorError=fddfdf&iconColorHighlight=777620&fcHighlight=777620&borderColorHighlight=dad55e&bgTextureHighlight=flat&bgColorHighlight=fffa90&iconColorActive=ffffff&fcActive=ffffff&borderColorActive=003eff&bgTextureActive=flat&bgColorActive=007fff&iconColorHover=555555&fcHover=2b2b2b&borderColorHover=cccccc&bgTextureHover=flat&bgColorHover=ededed&iconColorDefault=777777&fcDefault=454545&borderColorDefault=c5c5c5&bgTextureDefault=flat&bgColorDefault=f6f6f6&iconColorContent=444444&fcContent=333333&borderColorContent=dddddd&bgTextureContent=flat&bgColorContent=ffffff&iconColorHeader=444444&fcHeader=333333&borderColorHeader=dddddd&bgTextureHeader=flat&bgColorHeader=e9e9e9&cornerRadius=3px&fwDefault=normal&fsDefault=1em&ffDefault=Arial%2CHelvetica%2Csans-serif
5
+ * Copyright jQuery Foundation and other contributors; Licensed MIT */.ui-button,.ui-icon,.ui-spinner,.ui-spinner-input{vertical-align:middle}.ui-state-disabled{pointer-events:none;cursor:default!important}.ui-icon{margin-top:-.25em;position:relative}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget.ui-widget-content{border:1px solid #c5c5c5}.ui-button,.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default,html .ui-button.ui-state-disabled:active,html .ui-button.ui-state-disabled:hover{border:1px solid #c5c5c5;background:#f6f6f6;font-weight:400;color:#454545}.ui-button,.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited,a.ui-button,a:link.ui-button,a:visited.ui-button{color:#454545;text-decoration:none}.ui-button:focus,.ui-button:hover,.ui-state-focus,.ui-state-hover,.ui-widget-content .ui-state-focus,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-focus,.ui-widget-header .ui-state-hover{border:1px solid #ccc;background:#ededed;font-weight:400;color:#2b2b2b}.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited,.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,a.ui-button:focus,a.ui-button:hover{color:#2b2b2b;text-decoration:none}.ui-visual-focus{box-shadow:0 0 3px 1px #5e9ed6}.ui-button.ui-state-active:hover,.ui-button:active,.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active,a.ui-button:active{border:1px solid #003eff;background:#007fff;font-weight:400;color:#fff}.ui-icon-background,.ui-state-active .ui-icon-background{border:#003eff;background-color:#fff}.ui-state-checked{border:1px solid #dad55e;background:#fffa90}.ui-button:focus .ui-icon,.ui-button:hover .ui-icon,.ui-state-focus .ui-icon,.ui-state-hover .ui-icon{background-image:url(images/ui-icons_555555_256x240.png)}.ui-button:active .ui-icon,.ui-state-active .ui-icon{background-image:url(images/ui-icons_ffffff_256x240.png)}.ui-button .ui-state-highlight.ui-icon,.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_777620_256x240.png)}.ui-button .ui-icon{background-image:url(images/ui-icons_777777_256x240.png)}.ui-icon-caret-1-n{background-position:0 0}.ui-icon-caret-1-ne{background-position:-16px 0}.ui-icon-caret-1-e{background-position:-32px 0}.ui-icon-caret-1-se{background-position:-48px 0}.ui-icon-caret-1-s{background-position:-65px 0}.ui-icon-caret-1-sw{background-position:-80px 0}.ui-icon-caret-1-w{background-position:-96px 0}.ui-icon-caret-1-nw{background-position:-112px 0}.ui-icon-caret-2-n-s{background-position:-128px 0}.ui-icon-caret-2-e-w{background-position:-144px 0}.ui-widget-shadow{-webkit-box-shadow:0 0 5px #666;box-shadow:0 0 5px #666}/*! jQuery UI - v1.11.0 - 2014-06-26
6
+ * http://jqueryui.com
7
+ * Includes: core.css, accordion.css, autocomplete.css, button.css, datepicker.css, dialog.css, draggable.css, menu.css, progressbar.css, resizable.css, selectable.css, selectmenu.css, slider.css, sortable.css, spinner.css, tabs.css, tooltip.css, theme.css
8
+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=gloss_wave&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=highlight_soft&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=glass&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=glass&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=diagonals_thick&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=diagonals_thick&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=flat&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px
9
+ * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-zfix,.ui-widget-overlay{top:0;width:100%;height:100%;left:0}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:after,.ui-helper-clearfix:before{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0;padding:.5em .5em .5em .7em;min-height:0;font-size:100%}.ui-accordion .ui-accordion-icons,.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;text-align:center;overflow:visible}.ui-button,.ui-button:active,.ui-button:hover,.ui-button:link,.ui-button:visited{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-icons-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-icons-only .ui-button-icon-primary,.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary{left:.5em}.ui-button-icons-only .ui-button-icon-secondary,.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}button.ui-button::-moz-focus-inner,input.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-next,.ui-datepicker .ui-datepicker-prev{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-next-hover,.ui-datepicker .ui-datepicker-prev-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-next span,.ui-datepicker .ui-datepicker-prev span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:700;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td a,.ui-datepicker td span{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-multi .ui-datepicker-group,.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group,.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-dialog{overflow:hidden;position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:0 0;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-menu .ui-icon,.ui-slider-vertical .ui-slider-range-min,.ui-spinner-down{bottom:0}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-draggable-handle{-ms-touch-action:none;touch-action:none}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{position:relative;margin:0;padding:3px 1em 3px .4em;cursor:pointer;min-height:0;list-style-image:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0}.ui-menu .ui-state-active,.ui-menu .ui-state-focus{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url(images/animated-overlay.gif);height:100%;filter:alpha(opacity=25);opacity:.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;display:block;-ms-touch-action:none;touch-action:none}.ui-resizable-autohide .ui-resizable-handle,.ui-resizable-disabled .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable{-ms-touch-action:none;touch-action:none}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted #000}.ui-selectmenu-menu{padding:0;margin:0;position:absolute;top:0;left:0;display:none}.ui-selectmenu-menu .ui-menu{overflow:auto;overflow-x:hidden;padding-bottom:1px}.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup{font-size:1em;font-weight:700;line-height:1.5;padding:2px .4em;margin:.5em 0 0;height:auto;border:0}.ui-selectmenu-open{display:block}.ui-selectmenu-button{display:inline-block;overflow:hidden;position:relative;text-decoration:none;cursor:pointer}.ui-selectmenu-button span.ui-icon{right:.5em;left:auto;margin-top:-8px;position:absolute;top:50%}.ui-selectmenu-button span.ui-selectmenu-text{text-align:left;padding:.4em 2.1em .4em 1em;display:block;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0}.ui-spinner-input{border:none;background:0 0;color:inherit;padding:0;margin:.2em 22px .2em .4em}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:none;border-bottom:none;border-right:none}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:0 0}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget button,.ui-widget input,.ui-widget select,.ui-widget textarea{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #ddd;background:url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x #eee;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #e78f08;background:url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x #f6a828;color:#fff;font-weight:700}.ui-widget-header a{color:#fff}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #ccc;background:url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x #f6f6f6;font-weight:700;color:#1c94c4}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#1c94c4;text-decoration:none}.ui-state-focus,.ui-state-hover,.ui-widget-content .ui-state-focus,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-focus,.ui-widget-header .ui-state-hover{border:1px solid #fbcb09;background:url(images/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x #fdf5ce;font-weight:700;color:#c77405}.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited,.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited{color:#c77405;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #fbd850;background:url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x #fff;font-weight:700;color:#eb8f00}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#eb8f00;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fed22f;background:url(images/ui-bg_highlight-soft_75_ffe45c_1x100.png) 50% top repeat-x #ffe45c;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:url(images/ui-bg_diagonals-thick_18_b81900_40x40.png) 50% 50% #b81900;color:#fff}.ui-state-error a,.ui-state-error-text,.ui-widget-content .ui-state-error a,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error a,.ui-widget-header .ui-state-error-text{color:#fff}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:700}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:400}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url(images/ui-icons_222222_256x240.png)}.ui-widget-header .ui-icon{background-image:url(images/ui-icons_ffffff_256x240.png)}.ui-state-active .ui-icon,.ui-state-default .ui-icon,.ui-state-focus .ui-icon,.ui-state-hover .ui-icon{background-image:url(images/ui-icons_ef8c08_256x240.png)}.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_228ef1_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(images/ui-icons_ffd27a_256x240.png)}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-first,.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-left,.ui-corner-tl,.ui-corner-top{border-top-left-radius:4px}.ui-corner-all,.ui-corner-right,.ui-corner-top,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bl,.ui-corner-bottom,.ui-corner-left{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-br,.ui-corner-right{border-bottom-right-radius:4px}.ui-widget-overlay{background:url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% #666;opacity:.5;filter:Alpha(Opacity=50)}.ui-widget-shadow{margin:-5px 0 0 -5px;padding:5px;background:url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x #000;opacity:.2;filter:Alpha(Opacity=20);border-radius:5px}
assets/css/lightbox.css CHANGED
@@ -17,7 +17,7 @@ html.lb-disable-scrolling {
17
display: none;
18
}
19
20
- .lightbox {
21
position: absolute;
22
left: 0;
23
width: 100%;
@@ -27,7 +27,7 @@ html.lb-disable-scrolling {
27
font-weight: normal;
28
}
29
30
- .lightbox .lb-image {
31
display: block;
32
height: auto;
33
max-width: inherit;
@@ -38,7 +38,7 @@ html.lb-disable-scrolling {
38
border: 4px solid white;
39
}
40
41
- .lightbox a img {
42
border: none;
43
}
44
17
display: none;
18
}
19
20
+ #lightbox.lightbox {
21
position: absolute;
22
left: 0;
23
width: 100%;
27
font-weight: normal;
28
}
29
30
+ #lightbox.lightbox .lb-image {
31
display: block;
32
height: auto;
33
max-width: inherit;
38
border: 4px solid white;
39
}
40
41
+ #lightbox.lightbox a img {
42
border: none;
43
}
44
assets/css/lightbox.min.css CHANGED
@@ -1 +1 @@
1
- .lb-loader,.lightbox{text-align:center;line-height:0}.lb-dataContainer:after,.lb-outerContainer:after{content:"";clear:both}html.lb-disable-scrolling{overflow:hidden;position:fixed;height:100vh;width:100vw}.lightboxOverlay{position:absolute;top:0;left:0;z-index:9999;background-color:#000;filter:alpha(Opacity=80);opacity:.8;display:none}.lightbox{position:absolute;left:0;width:100%;z-index:10000;font-weight:400}.lightbox .lb-image{display:block;height:auto;max-width:inherit;max-height:none;border-radius:3px;border:4px solid #fff}.lightbox a img{border:none}.lb-outerContainer{position:relative;width:250px;height:250px;margin:0 auto;border-radius:4px;background-color:#fff}.lb-loader,.lb-nav{position:absolute;left:0}.lb-outerContainer:after{display:table}.lb-loader{top:43%;height:25%;width:100%}.lb-cancel{display:block;width:32px;height:32px;margin:0 auto;background:url(../images/loading.gif) no-repeat}.lb-nav{top:0;height:100%;width:100%;z-index:10}.lb-container>.nav{left:0}.lb-nav a{outline:0;background-image:url(data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==)}.lb-next,.lb-prev{height:100%;cursor:pointer;display:block}.lb-nav a.lb-prev{width:34%;left:0;float:left;background:url(../images/prev.png) left 48% no-repeat;filter:alpha(Opacity=0);opacity:0;-webkit-transition:opacity .6s;-moz-transition:opacity .6s;-o-transition:opacity .6s;transition:opacity .6s}.lb-nav a.lb-prev:hover{filter:alpha(Opacity=100);opacity:1}.lb-nav a.lb-next{width:64%;right:0;float:right;background:url(../images/next.png) right 48% no-repeat;filter:alpha(Opacity=0);opacity:0;-webkit-transition:opacity .6s;-moz-transition:opacity .6s;-o-transition:opacity .6s;transition:opacity .6s}.lb-nav a.lb-next:hover{filter:alpha(Opacity=100);opacity:1}.lb-dataContainer{margin:0 auto;padding-top:5px;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.lb-dataContainer:after{display:table}.lb-data{padding:0 4px;color:#ccc}.lb-data .lb-details{width:85%;float:left;text-align:left;line-height:1.1em}.lb-data .lb-caption{font-size:13px;font-weight:700;line-height:1em}.lb-data .lb-caption a{color:#4ae}.lb-data .lb-number{display:block;clear:left;padding-bottom:1em;font-size:12px;color:#999}.lb-data .lb-close{display:block;float:right;width:30px;height:30px;background:url(../images/close.png) top right no-repeat;text-align:right;outline:0;filter:alpha(Opacity=70);opacity:.7;-webkit-transition:opacity .2s;-moz-transition:opacity .2s;-o-transition:opacity .2s;transition:opacity .2s}.lb-data .lb-close:hover{cursor:pointer;filter:alpha(Opacity=100);opacity:1}
1
+ #lightbox.lightbox,.lb-loader{text-align:center;line-height:0}html.lb-disable-scrolling{overflow:hidden;position:fixed;height:100vh;width:100vw}#lightbox.lightbox,.lb-loader,.lb-nav,.lightboxOverlay{position:absolute;left:0}.lightboxOverlay{top:0;z-index:9999;background-color:#000;filter:alpha(Opacity=80);opacity:.8;display:none}#lightbox.lightbox{width:100%;z-index:10000;font-weight:400}#lightbox.lightbox .lb-image{display:block;height:auto;max-width:inherit;max-height:none;border-radius:3px;border:4px solid #fff}#lightbox.lightbox a img{border:none}.lb-outerContainer{position:relative;width:250px;height:250px;margin:0 auto;border-radius:4px;background-color:#fff}.lb-outerContainer:after{content:"";display:table;clear:both}.lb-loader{top:43%;height:25%;width:100%}.lb-cancel{display:block;width:32px;height:32px;margin:0 auto;background:url(../images/loading.gif) no-repeat}.lb-nav{top:0;height:100%;width:100%;z-index:10}.lb-container>.nav{left:0}.lb-nav a{outline:0;background-image:url(data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==)}.lb-next,.lb-prev{height:100%;cursor:pointer;display:block}.lb-nav a.lb-prev{width:34%;left:0;float:left;background:url(../images/prev.png) left 48% no-repeat;filter:alpha(Opacity=0);opacity:0;-webkit-transition:opacity .6s;-moz-transition:opacity .6s;-o-transition:opacity .6s;transition:opacity .6s}.lb-nav a.lb-prev:hover{filter:alpha(Opacity=100);opacity:1}.lb-nav a.lb-next{width:64%;right:0;float:right;background:url(../images/next.png) right 48% no-repeat;filter:alpha(Opacity=0);opacity:0;-webkit-transition:opacity .6s;-moz-transition:opacity .6s;-o-transition:opacity .6s;transition:opacity .6s}.lb-nav a.lb-next:hover{filter:alpha(Opacity=100);opacity:1}.lb-dataContainer{margin:0 auto;padding-top:5px;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.lb-dataContainer:after{content:"";display:table;clear:both}.lb-data{padding:0 4px;color:#ccc}.lb-data .lb-details{width:85%;float:left;text-align:left;line-height:1.1em}.lb-data .lb-caption{font-size:13px;font-weight:700;line-height:1em}.lb-data .lb-caption a{color:#4ae}.lb-data .lb-number{display:block;clear:left;padding-bottom:1em;font-size:12px;color:#999}.lb-data .lb-close{display:block;float:right;width:30px;height:30px;background:url(../images/close.png) top right no-repeat;text-align:right;outline:0;filter:alpha(Opacity=70);opacity:.7;-webkit-transition:opacity .2s;-moz-transition:opacity .2s;-o-transition:opacity .2s;transition:opacity .2s}.lb-data .lb-close:hover{cursor:pointer;filter:alpha(Opacity=100);opacity:1}
assets/css/materialdesignicons.min.css ADDED
@@ -0,0 +1 @@
1
+ @font-face{font-family:MaterialDesignIcons;src:url(../font/material-design-icons/materialdesignicons-webfont.eot?v=1.2.64);src:url(../font/material-design-icons/materialdesignicons-webfont.eot?#iefix&v=1.2.64) format("embedded-opentype"),url(../font/material-design-icons/materialdesignicons-webfont.woff2?v=1.2.64) format("woff2"),url(../font/material-design-icons/materialdesignicons-webfont.woff?v=1.2.64) format("woff"),url(../font/material-design-icons/materialdesignicons-webfont.ttf?v=1.2.64) format("truetype"),url(../font/material-design-icons/materialdesignicons-webfont.svg?v=1.2.64#materialdesigniconsregular) format("svg");font-weight:400;font-style:normal}.mdi{display:inline-block;font:normal normal normal 24px/1 MaterialDesignIcons;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;transform:translate(0,0)}.mdi-account:before{content:"\f101"}.mdi-account-alert:before{content:"\f102"}.mdi-account-box:before{content:"\f103"}.mdi-account-box-outline:before{content:"\f104"}.mdi-account-check:before{content:"\f105"}.mdi-account-circle:before{content:"\f106"}.mdi-account-key:before{content:"\f107"}.mdi-account-location:before{content:"\f108"}.mdi-account-minus:before{content:"\f109"}.mdi-account-multiple:before{content:"\f10a"}.mdi-account-multiple-outline:before{content:"\f10b"}.mdi-account-multiple-plus:before{content:"\f10c"}.mdi-account-network:before{content:"\f10d"}.mdi-account-outline:before{content:"\f10e"}.mdi-account-plus:before{content:"\f10f"}.mdi-account-remove:before{content:"\f110"}.mdi-account-search:before{content:"\f111"}.mdi-account-star:before{content:"\f112"}.mdi-account-star-variant:before{content:"\f113"}.mdi-account-switch:before{content:"\f114"}.mdi-airballoon:before{content:"\f115"}.mdi-airplane:before{content:"\f116"}.mdi-airplane-off:before{content:"\f117"}.mdi-alarm:before{content:"\f118"}.mdi-alarm-check:before{content:"\f119"}.mdi-alarm-multiple:before{content:"\f11a"}.mdi-alarm-off:before{content:"\f11b"}.mdi-alarm-plus:before{content:"\f11c"}.mdi-album:before{content:"\f11d"}.mdi-alert:before{content:"\f11e"}.mdi-alert-box:before{content:"\f11f"}.mdi-alert-circle:before{content:"\f120"}.mdi-alert-octagon:before{content:"\f121"}.mdi-alpha:before{content:"\f122"}.mdi-alphabetical:before{content:"\f123"}.mdi-amazon:before{content:"\f124"}.mdi-amazon-clouddrive:before{content:"\f125"}.mdi-ambulance:before{content:"\f126"}.mdi-android:before{content:"\f127"}.mdi-android-debug-bridge:before{content:"\f128"}.mdi-android-studio:before{content:"\f129"}.mdi-apple:before{content:"\f12a"}.mdi-apple-finder:before{content:"\f12b"}.mdi-apple-ios:before{content:"\f12c"}.mdi-apple-mobileme:before{content:"\f12d"}.mdi-apple-safari:before{content:"\f12e"}.mdi-appnet:before{content:"\f12f"}.mdi-apps:before{content:"\f130"}.mdi-archive:before{content:"\f131"}.mdi-arrange-bring-forward:before{content:"\f132"}.mdi-arrange-bring-to-front:before{content:"\f133"}.mdi-arrange-send-backward:before{content:"\f134"}.mdi-arrange-send-to-back:before{content:"\f135"}.mdi-arrow-all:before{content:"\f136"}.mdi-arrow-bottom-left:before{content:"\f137"}.mdi-arrow-bottom-right:before{content:"\f138"}.mdi-arrow-collapse:before{content:"\f139"}.mdi-arrow-down:before{content:"\f13a"}.mdi-arrow-down-bold:before{content:"\f13b"}.mdi-arrow-down-bold-circle:before{content:"\f13c"}.mdi-arrow-down-bold-circle-outline:before{content:"\f13d"}.mdi-arrow-down-bold-hexagon-outline:before{content:"\f13e"}.mdi-arrow-expand:before{content:"\f13f"}.mdi-arrow-left:before{content:"\f140"}.mdi-arrow-left-bold:before{content:"\f141"}.mdi-arrow-left-bold-circle:before{content:"\f142"}.mdi-arrow-left-bold-circle-outline:before{content:"\f143"}.mdi-arrow-left-bold-hexagon-outline:before{content:"\f144"}.mdi-arrow-right:before{content:"\f145"}.mdi-arrow-right-bold:before{content:"\f146"}.mdi-arrow-right-bold-circle:before{content:"\f147"}.mdi-arrow-right-bold-circle-outline:before{content:"\f148"}.mdi-arrow-right-bold-hexagon-outline:before{content:"\f149"}.mdi-arrow-top-left:before{content:"\f14a"}.mdi-arrow-top-right:before{content:"\f14b"}.mdi-arrow-up:before{content:"\f14c"}.mdi-arrow-up-bold:before{content:"\f14d"}.mdi-arrow-up-bold-circle:before{content:"\f14e"}.mdi-arrow-up-bold-circle-outline:before{content:"\f14f"}.mdi-arrow-up-bold-hexagon-outline:before{content:"\f150"}.mdi-at:before{content:"\f151"}.mdi-attachment:before{content:"\f152"}.mdi-audiobook:before{content:"\f153"}.mdi-auto-fix:before{content:"\f154"}.mdi-auto-upload:before{content:"\f155"}.mdi-baby:before{content:"\f156"}.mdi-backburger:before{content:"\f157"}.mdi-backup-restore:before{content:"\f158"}.mdi-bank:before{content:"\f159"}.mdi-barcode:before{content:"\f15a"}.mdi-barley:before{content:"\f15b"}.mdi-barrel:before{content:"\f15c"}.mdi-basecamp:before{content:"\f15d"}.mdi-basket:before{content:"\f15e"}.mdi-basket-fill:before{content:"\f15f"}.mdi-basket-unfill:before{content:"\f160"}.mdi-battery:before{content:"\f161"}.mdi-battery-10:before{content:"\f162"}.mdi-battery-20:before{content:"\f163"}.mdi-battery-30:before{content:"\f164"}.mdi-battery-40:before{content:"\f165"}.mdi-battery-50:before{content:"\f166"}.mdi-battery-60:before{content:"\f167"}.mdi-battery-70:before{content:"\f168"}.mdi-battery-80:before{content:"\f169"}.mdi-battery-90:before{content:"\f16a"}.mdi-battery-alert:before{content:"\f16b"}.mdi-battery-charging-100:before{content:"\f16c"}.mdi-battery-charging-20:before{content:"\f16d"}.mdi-battery-charging-30:before{content:"\f16e"}.mdi-battery-charging-40:before{content:"\f16f"}.mdi-battery-charging-60:before{content:"\f170"}.mdi-battery-charging-80:before{content:"\f171"}.mdi-battery-charging-90:before{content:"\f172"}.mdi-battery-minus:before{content:"\f173"}.mdi-battery-negative:before{content:"\f174"}.mdi-battery-outline:before{content:"\f175"}.mdi-battery-plus:before{content:"\f176"}.mdi-battery-positive:before{content:"\f177"}.mdi-battery-unknown:before{content:"\f178"}.mdi-beach:before{content:"\f179"}.mdi-beaker:before{content:"\f17a"}.mdi-beaker-empty:before{content:"\f17b"}.mdi-beaker-empty-outline:before{content:"\f17c"}.mdi-beaker-outline:before{content:"\f17d"}.mdi-beats:before{content:"\f17e"}.mdi-beer:before{content:"\f17f"}.mdi-behance:before{content:"\f180"}.mdi-bell:before{content:"\f181"}.mdi-bell-off:before{content:"\f182"}.mdi-bell-outline:before{content:"\f183"}.mdi-bell-ring:before{content:"\f184"}.mdi-bell-ring-outline:before{content:"\f185"}.mdi-bell-sleep:before{content:"\f186"}.mdi-beta:before{content:"\f187"}.mdi-bike:before{content:"\f188"}.mdi-bing:before{content:"\f189"}.mdi-binoculars:before{content:"\f18a"}.mdi-bio:before{content:"\f18b"}.mdi-biohazard:before{content:"\f18c"}.mdi-bitbucket:before{content:"\f18d"}.mdi-black-mesa:before{content:"\f18e"}.mdi-blackberry:before{content:"\f18f"}.mdi-blinds:before{content:"\f190"}.mdi-block-helper:before{content:"\f191"}.mdi-blogger:before{content:"\f192"}.mdi-bluetooth:before{content:"\f193"}.mdi-bluetooth-audio:before{content:"\f194"}.mdi-bluetooth-connect:before{content:"\f195"}.mdi-bluetooth-settings:before{content:"\f196"}.mdi-bluetooth-transfer:before{content:"\f197"}.mdi-blur:before{content:"\f198"}.mdi-blur-linear:before{content:"\f199"}.mdi-blur-off:before{content:"\f19a"}.mdi-blur-radial:before{content:"\f19b"}.mdi-bone:before{content:"\f19c"}.mdi-book:before{content:"\f19d"}.mdi-book-multiple:before{content:"\f19e"}.mdi-book-multiple-variant:before{content:"\f19f"}.mdi-book-open:before{content:"\f1a0"}.mdi-book-variant:before{content:"\f1a1"}.mdi-bookmark:before{content:"\f1a2"}.mdi-bookmark-check:before{content:"\f1a3"}.mdi-bookmark-music:before{content:"\f1a4"}.mdi-bookmark-outline:before{content:"\f1a5"}.mdi-bookmark-outline-plus:before{content:"\f1a6"}.mdi-bookmark-plus:before{content:"\f1a7"}.mdi-bookmark-remove:before{content:"\f1a8"}.mdi-border-all:before{content:"\f1a9"}.mdi-border-bottom:before{content:"\f1aa"}.mdi-border-color:before{content:"\f1ab"}.mdi-border-horizontal:before{content:"\f1ac"}.mdi-border-inside:before{content:"\f1ad"}.mdi-border-left:before{content:"\f1ae"}.mdi-border-none:before{content:"\f1af"}.mdi-border-outside:before{content:"\f1b0"}.mdi-border-right:before{content:"\f1b1"}.mdi-border-top:before{content:"\f1b2"}.mdi-border-vertical:before{content:"\f1b3"}.mdi-bowling:before{content:"\f1b4"}.mdi-box:before{content:"\f1b5"}.mdi-briefcase:before{content:"\f1b6"}.mdi-briefcase-check:before{content:"\f1b7"}.mdi-briefcase-download:before{content:"\f1b8"}.mdi-briefcase-upload:before{content:"\f1b9"}.mdi-brightness-1:before{content:"\f1ba"}.mdi-brightness-2:before{content:"\f1bb"}.mdi-brightness-3:before{content:"\f1bc"}.mdi-brightness-4:before{content:"\f1bd"}.mdi-brightness-5:before{content:"\f1be"}.mdi-brightness-6:before{content:"\f1bf"}.mdi-brightness-7:before{content:"\f1c0"}.mdi-brightness-auto:before{content:"\f1c1"}.mdi-broom:before{content:"\f1c2"}.mdi-brush:before{content:"\f1c3"}.mdi-bug:before{content:"\f1c4"}.mdi-bulletin-board:before{content:"\f1c5"}.mdi-bullhorn:before{content:"\f1c6"}.mdi-bus:before{content:"\f1c7"}.mdi-cake:before{content:"\f1c8"}.mdi-cake-variant:before{content:"\f1c9"}.mdi-calculator:before{content:"\f1ca"}.mdi-calendar:before{content:"\f1cb"}.mdi-calendar-blank:before{content:"\f1cc"}.mdi-calendar-check:before{content:"\f1cd"}.mdi-calendar-clock:before{content:"\f1ce"}.mdi-calendar-multiple:before{content:"\f1cf"}.mdi-calendar-multiple-check:before{content:"\f1d0"}.mdi-calendar-plus:before{content:"\f1d1"}.mdi-calendar-remove:before{content:"\f1d2"}.mdi-calendar-text:before{content:"\f1d3"}.mdi-calendar-today:before{content:"\f1d4"}.mdi-camcorder:before{content:"\f1d5"}.mdi-camcorder-box:before{content:"\f1d6"}.mdi-camcorder-box-off:before{content:"\f1d7"}.mdi-camcorder-off:before{content:"\f1d8"}.mdi-camera:before{content:"\f1d9"}.mdi-camera-front:before{content:"\f1da"}.mdi-camera-front-variant:before{content:"\f1db"}.mdi-camera-iris:before{content:"\f1dc"}.mdi-camera-party-mode:before{content:"\f1dd"}.mdi-camera-rear:before{content:"\f1de"}.mdi-camera-rear-variant:before{content:"\f1df"}.mdi-camera-switch:before{content:"\f1e0"}.mdi-camera-timer:before{content:"\f1e1"}.mdi-candycane:before{content:"\f1e2"}.mdi-car:before{content:"\f1e3"}.mdi-car-wash:before{content:"\f1e4"}.mdi-carrot:before{content:"\f1e5"}.mdi-cart:before{content:"\f1e6"}.mdi-cart-outline:before{content:"\f1e7"}.mdi-cash:before{content:"\f1e8"}.mdi-cash-100:before{content:"\f1e9"}.mdi-cash-multiple:before{content:"\f1ea"}.mdi-cash-usd:before{content:"\f1eb"}.mdi-cast:before{content:"\f1ec"}.mdi-cast-connected:before{content:"\f1ed"}.mdi-castle:before{content:"\f1ee"}.mdi-cat:before{content:"\f1ef"}.mdi-cellphone:before{content:"\f1f0"}.mdi-cellphone-android:before{content:"\f1f1"}.mdi-cellphone-dock:before{content:"\f1f2"}.mdi-cellphone-iphone:before{content:"\f1f3"}.mdi-cellphone-link:before{content:"\f1f4"}.mdi-cellphone-link-off:before{content:"\f1f5"}.mdi-cellphone-settings:before{content:"\f1f6"}.mdi-chair-school:before{content:"\f1f7"}.mdi-chart-arc:before{content:"\f1f8"}.mdi-chart-areaspline:before{content:"\f1f9"}.mdi-chart-bar:before{content:"\f1fa"}.mdi-chart-histogram:before{content:"\f1fb"}.mdi-chart-line:before{content:"\f1fc"}.mdi-chart-pie:before{content:"\f1fd"}.mdi-check:before{content:"\f1fe"}.mdi-check-all:before{content:"\f1ff"}.mdi-checkbox-blank:before{content:"\f200"}.mdi-checkbox-blank-circle:before{content:"\f201"}.mdi-checkbox-blank-circle-outline:before{content:"\f202"}.mdi-checkbox-blank-outline:before{content:"\f203"}.mdi-checkbox-marked:before{content:"\f204"}.mdi-checkbox-marked-circle:before{content:"\f205"}.mdi-checkbox-marked-circle-outline:before{content:"\f206"}.mdi-checkbox-marked-outline:before{content:"\f207"}.mdi-checkbox-multiple-blank:before{content:"\f208"}.mdi-checkbox-multiple-blank-outline:before{content:"\f209"}.mdi-checkbox-multiple-marked:before{content:"\f20a"}.mdi-checkbox-multiple-marked-outline:before{content:"\f20b"}.mdi-checkerboard:before{content:"\f20c"}.mdi-chevron-double-down:before{content:"\f20d"}.mdi-chevron-double-left:before{content:"\f20e"}.mdi-chevron-double-right:before{content:"\f20f"}.mdi-chevron-double-up:before{content:"\f210"}.mdi-chevron-down:before{content:"\f211"}.mdi-chevron-left:before{content:"\f212"}.mdi-chevron-right:before{content:"\f213"}.mdi-chevron-up:before{content:"\f214"}.mdi-church:before{content:"\f215"}.mdi-cisco-webex:before{content:"\f216"}.mdi-city:before{content:"\f217"}.mdi-clipboard:before{content:"\f218"}.mdi-clipboard-account:before{content:"\f219"}.mdi-clipboard-alert:before{content:"\f21a"}.mdi-clipboard-arrow-down:before{content:"\f21b"}.mdi-clipboard-arrow-left:before{content:"\f21c"}.mdi-clipboard-check:before{content:"\f21d"}.mdi-clipboard-outline:before{content:"\f21e"}.mdi-clipboard-text:before{content:"\f21f"}.mdi-clippy:before{content:"\f220"}.mdi-clock:before{content:"\f221"}.mdi-clock-fast:before{content:"\f222"}.mdi-close:before{content:"\f223"}.mdi-close-box:before{content:"\f224"}.mdi-close-box-outline:before{content:"\f225"}.mdi-close-circle:before{content:"\f226"}.mdi-close-circle-outline:before{content:"\f227"}.mdi-close-network:before{content:"\f228"}.mdi-closed-caption:before{content:"\f229"}.mdi-cloud:before{content:"\f22a"}.mdi-cloud-check:before{content:"\f22b"}.mdi-cloud-circle:before{content:"\f22c"}.mdi-cloud-download:before{content:"\f22d"}.mdi-cloud-outline:before{content:"\f22e"}.mdi-cloud-outline-off:before{content:"\f22f"}.mdi-cloud-upload:before{content:"\f230"}.mdi-code-array:before{content:"\f231"}.mdi-code-braces:before{content:"\f232"}.mdi-code-equal:before{content:"\f233"}.mdi-code-greater-than:before{content:"\f234"}.mdi-code-less-than:before{content:"\f235"}.mdi-code-less-than-or-equal:before{content:"\f236"}.mdi-code-not-equal:before{content:"\f237"}.mdi-code-not-equal-variant:before{content:"\f238"}.mdi-code-string:before{content:"\f239"}.mdi-code-tags:before{content:"\f23a"}.mdi-codepen:before{content:"\f23b"}.mdi-coffee:before{content:"\f23c"}.mdi-coffee-to-go:before{content:"\f23d"}.mdi-coin:before{content:"\f23e"}.mdi-color-helper:before{content:"\f23f"}.mdi-comment:before{content:"\f240"}.mdi-comment-account:before{content:"\f241"}.mdi-comment-account-outline:before{content:"\f242"}.mdi-comment-alert:before{content:"\f243"}.mdi-comment-alert-outline:before{content:"\f244"}.mdi-comment-check:before{content:"\f245"}.mdi-comment-check-outline:before{content:"\f246"}.mdi-comment-multiple-outline:before{content:"\f247"}.mdi-comment-outline:before{content:"\f248"}.mdi-comment-plus-outline:before{content:"\f249"}.mdi-comment-processing:before{content:"\f24a"}.mdi-comment-processing-outline:before{content:"\f24b"}.mdi-comment-remove-outline:before{content:"\f24c"}.mdi-comment-text:before{content:"\f24d"}.mdi-comment-text-outline:before{content:"\f24e"}.mdi-compare:before{content:"\f24f"}.mdi-compass:before{content:"\f250"}.mdi-compass-outline:before{content:"\f251"}.mdi-console:before{content:"\f252"}.mdi-content-copy:before{content:"\f253"}.mdi-content-cut:before{content:"\f254"}.mdi-content-duplicate:before{content:"\f255"}.mdi-content-paste:before{content:"\f256"}.mdi-content-save:before{content:"\f257"}.mdi-content-save-all:before{content:"\f258"}.mdi-contrast:before{content:"\f259"}.mdi-contrast-box:before{content:"\f25a"}.mdi-contrast-circle:before{content:"\f25b"}.mdi-cow:before{content:"\f25c"}.mdi-credit-card:before{content:"\f25d"}.mdi-credit-card-multiple:before{content:"\f25e"}.mdi-crop:before{content:"\f25f"}.mdi-crop-free:before{content:"\f260"}.mdi-crop-landscape:before{content:"\f261"}.mdi-crop-portrait:before{content:"\f262"}.mdi-crop-square:before{content:"\f263"}.mdi-crosshairs:before{content:"\f264"}.mdi-crosshairs-gps:before{content:"\f265"}.mdi-crown:before{content:"\f266"}.mdi-cube:before{content:"\f267"}.mdi-cube-outline:before{content:"\f268"}.mdi-cube-unfolded:before{content:"\f269"}.mdi-cup:before{content:"\f26a"}.mdi-cup-water:before{content:"\f26b"}.mdi-currency-btc:before{content:"\f26c"}.mdi-currency-eur:before{content:"\f26d"}.mdi-currency-gbp:before{content:"\f26e"}.mdi-currency-inr:before{content:"\f26f"}.mdi-currency-rub:before{content:"\f270"}.mdi-currency-try:before{content:"\f271"}.mdi-currency-usd:before{content:"\f272"}.mdi-cursor-default:before{content:"\f273"}.mdi-cursor-default-outline:before{content:"\f274"}.mdi-cursor-move:before{content:"\f275"}.mdi-cursor-pointer:before{content:"\f276"}.mdi-database:before{content:"\f277"}.mdi-database-minus:before{content:"\f278"}.mdi-database-outline:before{content:"\f279"}.mdi-database-plus:before{content:"\f27a"}.mdi-debug-step-into:before{content:"\f27b"}.mdi-debug-step-out:before{content:"\f27c"}.mdi-debug-step-over:before{content:"\f27d"}.mdi-decimal-decrease:before{content:"\f27e"}.mdi-decimal-increase:before{content:"\f27f"}.mdi-delete:before{content:"\f280"}.mdi-delete-variant:before{content:"\f281"}.mdi-deskphone:before{content:"\f282"}.mdi-desktop-mac:before{content:"\f283"}.mdi-desktop-tower:before{content:"\f284"}.mdi-details:before{content:"\f285"}.mdi-deviantart:before{content:"\f286"}.mdi-diamond:before{content:"\f287"}.mdi-dice:before{content:"\f288"}.mdi-dice-1:before{content:"\f289"}.mdi-dice-2:before{content:"\f28a"}.mdi-dice-3:before{content:"\f28b"}.mdi-dice-4:before{content:"\f28c"}.mdi-dice-5:before{content:"\f28d"}.mdi-dice-6:before{content:"\f28e"}.mdi-directions:before{content:"\f28f"}.mdi-disk-alert:before{content:"\f290"}.mdi-disqus:before{content:"\f291"}.mdi-disqus-outline:before{content:"\f292"}.mdi-division:before{content:"\f293"}.mdi-division-box:before{content:"\f294"}.mdi-dns:before{content:"\f295"}.mdi-domain:before{content:"\f296"}.mdi-dots-horizontal:before{content:"\f297"}.mdi-dots-vertical:before{content:"\f298"}.mdi-download:before{content:"\f299"}.mdi-drag:before{content:"\f29a"}.mdi-drag-horizontal:before{content:"\f29b"}.mdi-drag-vertical:before{content:"\f29c"}.mdi-drawing:before{content:"\f29d"}.mdi-drawing-box:before{content:"\f29e"}.mdi-dribbble:before{content:"\f29f"}.mdi-dribbble-box:before{content:"\f2a0"}.mdi-drone:before{content:"\f2a1"}.mdi-dropbox:before{content:"\f2a2"}.mdi-drupal:before{content:"\f2a3"}.mdi-duck:before{content:"\f2a4"}.mdi-dumbbell:before{content:"\f2a5"}.mdi-earth:before{content:"\f2a6"}.mdi-earth-off:before{content:"\f2a7"}.mdi-edge:before{content:"\f2a8"}.mdi-eject:before{content:"\f2a9"}.mdi-elevation-decline:before{content:"\f2aa"}.mdi-elevation-rise:before{content:"\f2ab"}.mdi-elevator:before{content:"\f2ac"}.mdi-email:before{content:"\f2ad"}.mdi-email-open:before{content:"\f2ae"}.mdi-email-outline:before{content:"\f2af"}.mdi-email-secure:before{content:"\f2b0"}.mdi-emoticon:before{content:"\f2b1"}.mdi-emoticon-cool:before{content:"\f2b2"}.mdi-emoticon-devil:before{content:"\f2b3"}.mdi-emoticon-happy:before{content:"\f2b4"}.mdi-emoticon-neutral:before{content:"\f2b5"}.mdi-emoticon-poop:before{content:"\f2b6"}.mdi-emoticon-sad:before{content:"\f2b7"}.mdi-emoticon-tongue:before{content:"\f2b8"}.mdi-engine:before{content:"\f2b9"}.mdi-engine-outline:before{content:"\f2ba"}.mdi-equal:before{content:"\f2bb"}.mdi-equal-box:before{content:"\f2bc"}.mdi-eraser:before{content:"\f2bd"}.mdi-escalator:before{content:"\f2be"}.mdi-etsy:before{content:"\f2bf"}.mdi-evernote:before{content:"\f2c0"}.mdi-exclamation:before{content:"\f2c1"}.mdi-exit-to-app:before{content:"\f2c2"}.mdi-export:before{content:"\f2c3"}.mdi-eye:before{content:"\f2c4"}.mdi-eye-off:before{content:"\f2c5"}.mdi-eyedropper:before{content:"\f2c6"}.mdi-eyedropper-variant:before{content:"\f2c7"}.mdi-facebook:before{content:"\f2c8"}.mdi-facebook-box:before{content:"\f2c9"}.mdi-facebook-messenger:before{content:"\f2ca"}.mdi-factory:before{content:"\f2cb"}.mdi-fan:before{content:"\f2cc"}.mdi-fast-forward:before{content:"\f2cd"}.mdi-ferry:before{content:"\f2ce"}.mdi-file:before{content:"\f2cf"}.mdi-file-cloud:before{content:"\f2d0"}.mdi-file-delimited:before{content:"\f2d1"}.mdi-file-document:before{content:"\f2d2"}.mdi-file-document-box:before{content:"\f2d3"}.mdi-file-excel:before{content:"\f2d4"}.mdi-file-excel-box:before{content:"\f2d5"}.mdi-file-find:before{content:"\f2d6"}.mdi-file-image:before{content:"\f2d7"}.mdi-file-image-box:before{content:"\f2d8"}.mdi-file-multiple:before{content:"\f2d9"}.mdi-file-music:before{content:"\f2da"}.mdi-file-outline:before{content:"\f2db"}.mdi-file-pdf:before{content:"\f2dc"}.mdi-file-pdf-box:before{content:"\f2dd"}.mdi-file-powerpoint:before{content:"\f2de"}.mdi-file-powerpoint-box:before{content:"\f2df"}.mdi-file-presentation-box:before{content:"\f2e0"}.mdi-file-video:before{content:"\f2e1"}.mdi-file-word:before{content:"\f2e2"}.mdi-file-word-box:before{content:"\f2e3"}.mdi-file-xml:before{content:"\f2e4"}.mdi-film:before{content:"\f2e5"}.mdi-filmstrip:before{content:"\f2e6"}.mdi-filmstrip-off:before{content:"\f2e7"}.mdi-filter:before{content:"\f2e8"}.mdi-filter-outline:before{content:"\f2e9"}.mdi-filter-remove:before{content:"\f2ea"}.mdi-filter-remove-outline:before{content:"\f2eb"}.mdi-filter-variant:before{content:"\f2ec"}.mdi-fire:before{content:"\f2ed"}.mdi-firefox:before{content:"\f2ee"}.mdi-fish:before{content:"\f2ef"}.mdi-flag:before{content:"\f2f0"}.mdi-flag-checkered:before{content:"\f2f1"}.mdi-flag-outline:before{content:"\f2f2"}.mdi-flag-outline-variant:before{content:"\f2f3"}.mdi-flag-triangle:before{content:"\f2f4"}.mdi-flag-variant:before{content:"\f2f5"}.mdi-flash:before{content:"\f2f6"}.mdi-flash-auto:before{content:"\f2f7"}.mdi-flash-off:before{content:"\f2f8"}.mdi-flashlight:before{content:"\f2f9"}.mdi-flashlight-off:before{content:"\f2fa"}.mdi-flattr:before{content:"\f2fb"}.mdi-flip-to-back:before{content:"\f2fc"}.mdi-flip-to-front:before{content:"\f2fd"}.mdi-floppy:before{content:"\f2fe"}.mdi-flower:before{content:"\f2ff"}.mdi-folder:before{content:"\f300"}.mdi-folder-account:before{content:"\f301"}.mdi-folder-download:before{content:"\f302"}.mdi-folder-google-drive:before{content:"\f303"}.mdi-folder-image:before{content:"\f304"}.mdi-folder-lock:before{content:"\f305"}.mdi-folder-lock-open:before{content:"\f306"}.mdi-folder-move:before{content:"\f307"}.mdi-folder-multiple:before{content:"\f308"}.mdi-folder-multiple-image:before{content:"\f309"}.mdi-folder-multiple-outline:before{content:"\f30a"}.mdi-folder-outline:before{content:"\f30b"}.mdi-folder-plus:before{content:"\f30c"}.mdi-folder-remove:before{content:"\f30d"}.mdi-folder-upload:before{content:"\f30e"}.mdi-food:before{content:"\f30f"}.mdi-food-apple:before{content:"\f310"}.mdi-food-variant:before{content:"\f311"}.mdi-football:before{content:"\f312"}.mdi-football-helmet:before{content:"\f313"}.mdi-format-align-center:before{content:"\f314"}.mdi-format-align-justify:before{content:"\f315"}.mdi-format-align-left:before{content:"\f316"}.mdi-format-align-right:before{content:"\f317"}.mdi-format-bold:before{content:"\f318"}.mdi-format-clear:before{content:"\f319"}.mdi-format-color-fill:before{content:"\f31a"}.mdi-format-float-center:before{content:"\f31b"}.mdi-format-float-left:before{content:"\f31c"}.mdi-format-float-none:before{content:"\f31d"}.mdi-format-float-right:before{content:"\f31e"}.mdi-format-header-1:before{content:"\f31f"}.mdi-format-header-2:before{content:"\f320"}.mdi-format-header-3:before{content:"\f321"}.mdi-format-header-4:before{content:"\f322"}.mdi-format-header-5:before{content:"\f323"}.mdi-format-header-6:before{content:"\f324"}.mdi-format-header-decrease:before{content:"\f325"}.mdi-format-header-equal:before{content:"\f326"}.mdi-format-header-increase:before{content:"\f327"}.mdi-format-header-pound:before{content:"\f328"}.mdi-format-indent-decrease:before{content:"\f329"}.mdi-format-indent-increase:before{content:"\f32a"}.mdi-format-italic:before{content:"\f32b"}.mdi-format-line-spacing:before{content:"\f32c"}.mdi-format-list-bulleted:before{content:"\f32d"}.mdi-format-list-numbers:before{content:"\f32e"}.mdi-format-paint:before{content:"\f32f"}.mdi-format-paragraph:before{content:"\f330"}.mdi-format-quote:before{content:"\f331"}.mdi-format-size:before{content:"\f332"}.mdi-format-strikethrough:before{content:"\f333"}.mdi-format-subscript:before{content:"\f334"}.mdi-format-superscript:before{content:"\f335"}.mdi-format-text:before{content:"\f336"}.mdi-format-textdirection-l-to-r:before{content:"\f337"}.mdi-format-textdirection-r-to-l:before{content:"\f338"}.mdi-format-underline:before{content:"\f339"}.mdi-format-wrap-inline:before{content:"\f33a"}.mdi-format-wrap-square:before{content:"\f33b"}.mdi-format-wrap-tight:before{content:"\f33c"}.mdi-format-wrap-top-bottom:before{content:"\f33d"}.mdi-forum:before{content:"\f33e"}.mdi-forward:before{content:"\f33f"}.mdi-foursquare:before{content:"\f340"}.mdi-fridge:before{content:"\f341"}.mdi-fullscreen:before{content:"\f342"}.mdi-fullscreen-exit:before{content:"\f343"}.mdi-function:before{content:"\f344"}.mdi-gamepad:before{content:"\f345"}.mdi-gamepad-variant:before{content:"\f346"}.mdi-gas-station:before{content:"\f347"}.mdi-gavel:before{content:"\f348"}.mdi-gender-female:before{content:"\f349"}.mdi-gender-male:before{content:"\f34a"}.mdi-gender-male-female:before{content:"\f34b"}.mdi-gender-transgender:before{content:"\f34c"}.mdi-gift:before{content:"\f34d"}.mdi-git:before{content:"\f34e"}.mdi-github-box:before{content:"\f34f"}.mdi-github-circle:before{content:"\f350"}.mdi-glass-flute:before{content:"\f351"}.mdi-glass-mug:before{content:"\f352"}.mdi-glass-stange:before{content:"\f353"}.mdi-glass-tulip:before{content:"\f354"}.mdi-glasses:before{content:"\f355"}.mdi-gmail:before{content:"\f356"}.mdi-google:before{content:"\f357"}.mdi-google-chrome:before{content:"\f358"}.mdi-google-circles:before{content:"\f359"}.mdi-google-circles-communities:before{content:"\f35a"}.mdi-google-circles-extended:before{content:"\f35b"}.mdi-google-circles-group:before{content:"\f35c"}.mdi-google-controller:before{content:"\f35d"}.mdi-google-controller-off:before{content:"\f35e"}.mdi-google-drive:before{content:"\f35f"}.mdi-google-earth:before{content:"\f360"}.mdi-google-glass:before{content:"\f361"}.mdi-google-maps:before{content:"\f362"}.mdi-google-pages:before{content:"\f363"}.mdi-google-play:before{content:"\f364"}.mdi-google-plus:before{content:"\f365"}.mdi-google-plus-box:before{content:"\f366"}.mdi-grid:before{content:"\f367"}.mdi-grid-off:before{content:"\f368"}.mdi-group:before{content:"\f369"}.mdi-guitar:before{content:"\f36a"}.mdi-guitar-pick:before{content:"\f36b"}.mdi-guitar-pick-outline:before{content:"\f36c"}.mdi-hand-pointing-right:before{content:"\f36d"}.mdi-hanger:before{content:"\f36e"}.mdi-hangouts:before{content:"\f36f"}.mdi-harddisk:before{content:"\f370"}.mdi-headphones:before{content:"\f371"}.mdi-headphones-box:before{content:"\f372"}.mdi-headphones-settings:before{content:"\f373"}.mdi-headset:before{content:"\f374"}.mdi-headset-dock:before{content:"\f375"}.mdi-headset-off:before{content:"\f376"}.mdi-heart:before{content:"\f377"}.mdi-heart-box:before{content:"\f378"}.mdi-heart-box-outline:before{content:"\f379"}.mdi-heart-broken:before{content:"\f37a"}.mdi-heart-outline:before{content:"\f37b"}.mdi-help:before{content:"\f37c"}.mdi-help-circle:before{content:"\f37d"}.mdi-hexagon:before{content:"\f37e"}.mdi-hexagon-outline:before{content:"\f37f"}.mdi-history:before{content:"\f380"}.mdi-hololens:before{content:"\f381"}.mdi-home:before{content:"\f382"}.mdi-home-modern:before{content:"\f383"}.mdi-home-variant:before{content:"\f384"}.mdi-hops:before{content:"\f385"}.mdi-hospital:before{content:"\f386"}.mdi-hospital-building:before{content:"\f387"}.mdi-hospital-marker:before{content:"\f388"}.mdi-hotel:before{content:"\f389"}.mdi-houzz:before{content:"\f38a"}.mdi-houzz-box:before{content:"\f38b"}.mdi-human:before{content:"\f38c"}.mdi-human-child:before{content:"\f38d"}.mdi-human-male-female:before{content:"\f38e"}.mdi-image-album:before{content:"\f38f"}.mdi-image-area:before{content:"\f390"}.mdi-image-area-close:before{content:"\f391"}.mdi-image-broken:before{content:"\f392"}.mdi-image-filter:before{content:"\f393"}.mdi-image-filter-black-white:before{content:"\f394"}.mdi-image-filter-center-focus:before{content:"\f395"}.mdi-image-filter-drama:before{content:"\f396"}.mdi-image-filter-frames:before{content:"\f397"}.mdi-image-filter-hdr:before{content:"\f398"}.mdi-image-filter-none:before{content:"\f399"}.mdi-image-filter-tilt-shift:before{content:"\f39a"}.mdi-image-filter-vintage:before{content:"\f39b"}.mdi-import:before{content:"\f39c"}.mdi-inbox:before{content:"\f39d"}.mdi-information:before{content:"\f39e"}.mdi-information-outline:before{content:"\f39f"}.mdi-instagram:before{content:"\f3a0"}.mdi-instapaper:before{content:"\f3a1"}.mdi-internet-explorer:before{content:"\f3a2"}.mdi-invert-colors:before{content:"\f3a3"}.mdi-jira:before{content:"\f3a4"}.mdi-jsfiddle:before{content:"\f3a5"}.mdi-keg:before{content:"\f3a6"}.mdi-key:before{content:"\f3a7"}.mdi-key-change:before{content:"\f3a8"}.mdi-key-minus:before{content:"\f3a9"}.mdi-key-plus:before{content:"\f3aa"}.mdi-key-remove:before{content:"\f3ab"}.mdi-key-variant:before{content:"\f3ac"}.mdi-keyboard:before{content:"\f3ad"}.mdi-keyboard-backspace:before{content:"\f3ae"}.mdi-keyboard-caps:before{content:"\f3af"}.mdi-keyboard-close:before{content:"\f3b0"}.mdi-keyboard-off:before{content:"\f3b1"}.mdi-keyboard-return:before{content:"\f3b2"}.mdi-keyboard-tab:before{content:"\f3b3"}.mdi-keyboard-variant:before{content:"\f3b4"}.mdi-label:before{content:"\f3b5"}.mdi-label-outline:before{content:"\f3b6"}.mdi-language-csharp:before{content:"\f3b7"}.mdi-language-css3:before{content:"\f3b8"}.mdi-language-html5:before{content:"\f3b9"}.mdi-language-javascript:before{content:"\f3ba"}.mdi-language-python:before{content:"\f3bb"}.mdi-language-python-text:before{content:"\f3bc"}.mdi-laptop:before{content:"\f3bd"}.mdi-laptop-chromebook:before{content:"\f3be"}.mdi-laptop-mac:before{content:"\f3bf"}.mdi-laptop-windows:before{content:"\f3c0"}.mdi-lastfm:before{content:"\f3c1"}.mdi-launch:before{content:"\f3c2"}.mdi-layers:before{content:"\f3c3"}.mdi-layers-off:before{content:"\f3c4"}.mdi-leaf:before{content:"\f3c5"}.mdi-library:before{content:"\f3c6"}.mdi-library-books:before{content:"\f3c7"}.mdi-library-music:before{content:"\f3c8"}.mdi-library-plus:before{content:"\f3c9"}.mdi-lightbulb:before{content:"\f3ca"}.mdi-lightbulb-outline:before{content:"\f3cb"}.mdi-link:before{content:"\f3cc"}.mdi-link-off:before{content:"\f3cd"}.mdi-link-variant:before{content:"\f3ce"}.mdi-link-variant-off:before{content:"\f3cf"}.mdi-linkedin:before{content:"\f3d0"}.mdi-linkedin-box:before{content:"\f3d1"}.mdi-linux:before{content:"\f3d2"}.mdi-lock:before{content:"\f3d3"}.mdi-lock-open:before{content:"\f3d4"}.mdi-lock-open-outline:before{content:"\f3d5"}.mdi-lock-outline:before{content:"\f3d6"}.mdi-login:before{content:"\f3d7"}.mdi-logout:before{content:"\f3d8"}.mdi-looks:before{content:"\f3d9"}.mdi-loupe:before{content:"\f3da"}.mdi-lumx:before{content:"\f3db"}.mdi-magnet:before{content:"\f3dc"}.mdi-magnet-on:before{content:"\f3dd"}.mdi-magnify:before{content:"\f3de"}.mdi-magnify-minus:before{content:"\f3df"}.mdi-magnify-plus:before{content:"\f3e0"}.mdi-mail-ru:before{content:"\f3e1"}.mdi-map:before{content:"\f3e2"}.mdi-map-marker:before{content:"\f3e3"}.mdi-map-marker-circle:before{content:"\f3e4"}.mdi-map-marker-multiple:before{content:"\f3e5"}.mdi-map-marker-off:before{content:"\f3e6"}.mdi-map-marker-radius:before{content:"\f3e7"}.mdi-margin:before{content:"\f3e8"}.mdi-markdown:before{content:"\f3e9"}.mdi-marker-check:before{content:"\f3ea"}.mdi-martini:before{content:"\f3eb"}.mdi-material-ui:before{content:"\f3ec"}.mdi-math-compass:before{content:"\f3ed"}.mdi-maxcdn:before{content:"\f3ee"}.mdi-medium:before{content:"\f3ef"}.mdi-memory:before{content:"\f3f0"}.mdi-menu:before{content:"\f3f1"}.mdi-menu-down:before{content:"\f3f2"}.mdi-menu-left:before{content:"\f3f3"}.mdi-menu-right:before{content:"\f3f4"}.mdi-menu-up:before{content:"\f3f5"}.mdi-message:before{content:"\f3f6"}.mdi-message-alert:before{content:"\f3f7"}.mdi-message-draw:before{content:"\f3f8"}.mdi-message-image:before{content:"\f3f9"}.mdi-message-processing:before{content:"\f3fa"}.mdi-message-reply:before{content:"\f3fb"}.mdi-message-text:before{content:"\f3fc"}.mdi-message-text-outline:before{content:"\f3fd"}.mdi-message-video:before{content:"\f3fe"}.mdi-microphone:before{content:"\f3ff"}.mdi-microphone-off:before{content:"\f400"}.mdi-microphone-outline:before{content:"\f401"}.mdi-microphone-settings:before{content:"\f402"}.mdi-microphone-variant:before{content:"\f403"}.mdi-microphone-variant-off:before{content:"\f404"}.mdi-minus:before{content:"\f405"}.mdi-minus-box:before{content:"\f406"}.mdi-minus-circle:before{content:"\f407"}.mdi-minus-circle-outline:before{content:"\f408"}.mdi-minus-network:before{content:"\f409"}.mdi-monitor:before{content:"\f40a"}.mdi-monitor-multiple:before{content:"\f40b"}.mdi-more:before{content:"\f40c"}.mdi-motorbike:before{content:"\f40d"}.mdi-mouse:before{content:"\f40e"}.mdi-mouse-off:before{content:"\f40f"}.mdi-mouse-variant:before{content:"\f410"}.mdi-mouse-variant-off:before{content:"\f411"}.mdi-movie:before{content:"\f412"}.mdi-multiplication:before{content:"\f413"}.mdi-multiplication-box:before{content:"\f414"}.mdi-music-box:before{content:"\f415"}.mdi-music-box-outline:before{content:"\f416"}.mdi-music-circle:before{content:"\f417"}.mdi-music-note:before{content:"\f418"}.mdi-music-note-eighth:before{content:"\f419"}.mdi-music-note-half:before{content:"\f41a"}.mdi-music-note-off:before{content:"\f41b"}.mdi-music-note-quarter:before{content:"\f41c"}.mdi-music-note-sixteenth:before{content:"\f41d"}.mdi-music-note-whole:before{content:"\f41e"}.mdi-nature:before{content:"\f41f"}.mdi-nature-people:before{content:"\f420"}.mdi-navigation:before{content:"\f421"}.mdi-needle:before{content:"\f422"}.mdi-nest-protect:before{content:"\f423"}.mdi-nest-thermostat:before{content:"\f424"}.mdi-newspaper:before{content:"\f425"}.mdi-nfc:before{content:"\f426"}.mdi-nfc-tap:before{content:"\f427"}.mdi-nfc-variant:before{content:"\f428"}.mdi-note:before{content:"\f429"}.mdi-note-outline:before{content:"\f42a"}.mdi-note-text:before{content:"\f42b"}.mdi-numeric:before{content:"\f42c"}.mdi-numeric-0-box:before{content:"\f42d"}.mdi-numeric-0-box-multiple-outline:before{content:"\f42e"}.mdi-numeric-0-box-outline:before{content:"\f42f"}.mdi-numeric-1-box:before{content:"\f430"}.mdi-numeric-1-box-multiple-outline:before{content:"\f431"}.mdi-numeric-1-box-outline:before{content:"\f432"}.mdi-numeric-2-box:before{content:"\f433"}.mdi-numeric-2-box-multiple-outline:before{content:"\f434"}.mdi-numeric-2-box-outline:before{content:"\f435"}.mdi-numeric-3-box:before{content:"\f436"}.mdi-numeric-3-box-multiple-outline:before{content:"\f437"}.mdi-numeric-3-box-outline:before{content:"\f438"}.mdi-numeric-4-box:before{content:"\f439"}.mdi-numeric-4-box-multiple-outline:before{content:"\f43a"}.mdi-numeric-4-box-outline:before{content:"\f43b"}.mdi-numeric-5-box:before{content:"\f43c"}.mdi-numeric-5-box-multiple-outline:before{content:"\f43d"}.mdi-numeric-5-box-outline:before{content:"\f43e"}.mdi-numeric-6-box:before{content:"\f43f"}.mdi-numeric-6-box-multiple-outline:before{content:"\f440"}.mdi-numeric-6-box-outline:before{content:"\f441"}.mdi-numeric-7-box:before{content:"\f442"}.mdi-numeric-7-box-multiple-outline:before{content:"\f443"}.mdi-numeric-7-box-outline:before{content:"\f444"}.mdi-numeric-8-box:before{content:"\f445"}.mdi-numeric-8-box-multiple-outline:before{content:"\f446"}.mdi-numeric-8-box-outline:before{content:"\f447"}.mdi-numeric-9-box:before{content:"\f448"}.mdi-numeric-9-box-multiple-outline:before{content:"\f449"}.mdi-numeric-9-box-outline:before{content:"\f44a"}.mdi-numeric-9-plus-box:before{content:"\f44b"}.mdi-numeric-9-plus-box-multiple-outline:before{content:"\f44c"}.mdi-numeric-9-plus-box-outline:before{content:"\f44d"}.mdi-nutriton:before{content:"\f44e"}.mdi-odnoklassniki:before{content:"\f44f"}.mdi-office:before{content:"\f450"}.mdi-oil:before{content:"\f451"}.mdi-omega:before{content:"\f452"}.mdi-onedrive:before{content:"\f453"}.mdi-open-in-app:before{content:"\f454"}.mdi-open-in-new:before{content:"\f455"}.mdi-ornament:before{content:"\f456"}.mdi-ornament-variant:before{content:"\f457"}.mdi-outbox:before{content:"\f458"}.mdi-owl:before{content:"\f459"}.mdi-package:before{content:"\f45a"}.mdi-package-down:before{content:"\f45b"}.mdi-package-up:before{content:"\f45c"}.mdi-package-variant:before{content:"\f45d"}.mdi-package-variant-closed:before{content:"\f45e"}.mdi-palette:before{content:"\f45f"}.mdi-palette-advanced:before{content:"\f460"}.mdi-panda:before{content:"\f461"}.mdi-pandora:before{content:"\f462"}.mdi-panorama:before{content:"\f463"}.mdi-panorama-fisheye:before{content:"\f464"}.mdi-panorama-horizontal:before{content:"\f465"}.mdi-panorama-vertical:before{content:"\f466"}.mdi-panorama-wide-angle:before{content:"\f467"}.mdi-paper-cut-vertical:before{content:"\f468"}.mdi-paperclip:before{content:"\f469"}.mdi-parking:before{content:"\f46a"}.mdi-pause:before{content:"\f46b"}.mdi-pause-circle:before{content:"\f46c"}.mdi-pause-circle-outline:before{content:"\f46d"}.mdi-pause-octagon:before{content:"\f46e"}.mdi-pause-octagon-outline:before{content:"\f46f"}.mdi-paw:before{content:"\f470"}.mdi-pen:before{content:"\f471"}.mdi-pencil:before{content:"\f472"}.mdi-pencil-box:before{content:"\f473"}.mdi-pencil-box-outline:before{content:"\f474"}.mdi-percent:before{content:"\f475"}.mdi-pharmacy:before{content:"\f476"}.mdi-phone:before{content:"\f477"}.mdi-phone-bluetooth:before{content:"\f478"}.mdi-phone-forward:before{content:"\f479"}.mdi-phone-hangup:before{content:"\f47a"}.mdi-phone-in-talk:before{content:"\f47b"}.mdi-phone-incoming:before{content:"\f47c"}.mdi-phone-locked:before{content:"\f47d"}.mdi-phone-log:before{content:"\f47e"}.mdi-phone-missed:before{content:"\f47f"}.mdi-phone-outgoing:before{content:"\f480"}.mdi-phone-paused:before{content:"\f481"}.mdi-phone-settings:before{content:"\f482"}.mdi-pig:before{content:"\f483"}.mdi-pill:before{content:"\f484"}.mdi-pin:before{content:"\f485"}.mdi-pin-off:before{content:"\f486"}.mdi-pine-tree:before{content:"\f487"}.mdi-pine-tree-box:before{content:"\f488"}.mdi-pinterest:before{content:"\f489"}.mdi-pinterest-box:before{content:"\f48a"}.mdi-pizza:before{content:"\f48b"}.mdi-play:before{content:"\f48c"}.mdi-play-box-outline:before{content:"\f48d"}.mdi-play-circle:before{content:"\f48e"}.mdi-play-circle-outline:before{content:"\f48f"}.mdi-playlist-minus:before{content:"\f490"}.mdi-playlist-plus:before{content:"\f491"}.mdi-playstation:before{content:"\f492"}.mdi-plus:before{content:"\f493"}.mdi-plus-box:before{content:"\f494"}.mdi-plus-circle:before{content:"\f495"}.mdi-plus-circle-outline:before{content:"\f496"}.mdi-plus-network:before{content:"\f497"}.mdi-plus-one:before{content:"\f498"}.mdi-pocket:before{content:"\f499"}.mdi-poll:before{content:"\f49a"}.mdi-poll-box:before{content:"\f49b"}.mdi-polymer:before{content:"\f49c"}.mdi-popcorn:before{content:"\f49d"}.mdi-pound:before{content:"\f49e"}.mdi-pound-box:before{content:"\f49f"}.mdi-power:before{content:"\f4a0"}.mdi-power-settings:before{content:"\f4a1"}.mdi-power-socket:before{content:"\f4a2"}.mdi-presentation:before{content:"\f4a3"}.mdi-presentation-play:before{content:"\f4a4"}.mdi-printer:before{content:"\f4a5"}.mdi-printer-3d:before{content:"\f4a6"}.mdi-pulse:before{content:"\f4a7"}.mdi-puzzle:before{content:"\f4a8"}.mdi-qrcode:before{content:"\f4a9"}.mdi-quadcopter:before{content:"\f4aa"}.mdi-quality-high:before{content:"\f4ab"}.mdi-quicktime:before{content:"\f4ac"}.mdi-radiator:before{content:"\f4ad"}.mdi-radio:before{content:"\f4ae"}.mdi-radio-tower:before{content:"\f4af"}.mdi-radioactive:before{content:"\f4b0"}.mdi-radiobox-blank:before{content:"\f4b1"}.mdi-radiobox-marked:before{content:"\f4b2"}.mdi-raspberrypi:before{content:"\f4b3"}.mdi-rdio:before{content:"\f4b4"}.mdi-read:before{content:"\f4b5"}.mdi-readability:before{content:"\f4b6"}.mdi-receipt:before{content:"\f4b7"}.mdi-recycle:before{content:"\f4b8"}.mdi-redo:before{content:"\f4b9"}.mdi-redo-variant:before{content:"\f4ba"}.mdi-refresh:before{content:"\f4bb"}.mdi-relative-scale:before{content:"\f4bc"}.mdi-reload:before{content:"\f4bd"}.mdi-remote:before{content:"\f4be"}.mdi-rename-box:before{content:"\f4bf"}.mdi-repeat:before{content:"\f4c0"}.mdi-repeat-off:before{content:"\f4c1"}.mdi-repeat-once:before{content:"\f4c2"}.mdi-replay:before{content:"\f4c3"}.mdi-reply:before{content:"\f4c4"}.mdi-reply-all:before{content:"\f4c5"}.mdi-reproduction:before{content:"\f4c6"}.mdi-resize-bottom-right:before{content:"\f4c7"}.mdi-responsive:before{content:"\f4c8"}.mdi-rewind:before{content:"\f4c9"}.mdi-ribbon:before{content:"\f4ca"}.mdi-road:before{content:"\f4cb"}.mdi-rocket:before{content:"\f4cc"}.mdi-rotate-3d:before{content:"\f4cd"}.mdi-rotate-left:before{content:"\f4ce"}.mdi-rotate-left-variant:before{content:"\f4cf"}.mdi-rotate-right:before{content:"\f4d0"}.mdi-rotate-right-variant:before{content:"\f4d1"}.mdi-routes:before{content:"\f4d2"}.mdi-rss:before{content:"\f4d3"}.mdi-rss-box:before{content:"\f4d4"}.mdi-ruler:before{content:"\f4d5"}.mdi-run:before{content:"\f4d6"}.mdi-sale:before{content:"\f4d7"}.mdi-satellite:before{content:"\f4d8"}.mdi-satellite-variant:before{content:"\f4d9"}.mdi-scale:before{content:"\f4da"}.mdi-scale-bathroom:before{content:"\f4db"}.mdi-school:before{content:"\f4dc"}.mdi-screen-rotation:before{content:"\f4dd"}.mdi-screen-rotation-lock:before{content:"\f4de"}.mdi-script:before{content:"\f4df"}.mdi-sd:before{content:"\f4e0"}.mdi-security:before{content:"\f4e1"}.mdi-security-network:before{content:"\f4e2"}.mdi-select:before{content:"\f4e3"}.mdi-select-all:before{content:"\f4e4"}.mdi-select-inverse:before{content:"\f4e5"}.mdi-select-off:before{content:"\f4e6"}.mdi-send:before{content:"\f4e7"}.mdi-server:before{content:"\f4e8"}.mdi-server-minus:before{content:"\f4e9"}.mdi-server-network:before{content:"\f4ea"}.mdi-server-network-off:before{content:"\f4eb"}.mdi-server-off:before{content:"\f4ec"}.mdi-server-plus:before{content:"\f4ed"}.mdi-server-remove:before{content:"\f4ee"}.mdi-server-security:before{content:"\f4ef"}.mdi-settings:before{content:"\f4f0"}.mdi-settings-box:before{content:"\f4f1"}.mdi-shape-plus:before{content:"\f4f2"}.mdi-share:before{content:"\f4f3"}.mdi-share-variant:before{content:"\f4f4"}.mdi-shield:before{content:"\f4f5"}.mdi-shield-outline:before{content:"\f4f6"}.mdi-shopping:before{content:"\f4f7"}.mdi-shopping-music:before{content:"\f4f8"}.mdi-shuffle:before{content:"\f4f9"}.mdi-sigma:before{content:"\f4fa"}.mdi-sign-caution:before{content:"\f4fb"}.mdi-signal:before{content:"\f4fc"}.mdi-silverware:before{content:"\f4fd"}.mdi-silverware-fork:before{content:"\f4fe"}.mdi-silverware-spoon:before{content:"\f4ff"}.mdi-silverware-variant:before{content:"\f500"}.mdi-sim-alert:before{content:"\f501"}.mdi-sitemap:before{content:"\f502"}.mdi-skip-next:before{content:"\f503"}.mdi-skip-previous:before{content:"\f504"}.mdi-skype:before{content:"\f505"}.mdi-skype-business:before{content:"\f506"}.mdi-sleep:before{content:"\f507"}.mdi-sleep-off:before{content:"\f508"}.mdi-smoking:before{content:"\f509"}.mdi-smoking-off:before{content:"\f50a"}.mdi-snapchat:before{content:"\f50b"}.mdi-snowman:before{content:"\f50c"}.mdi-sofa:before{content:"\f50d"}.mdi-sort:before{content:"\f50e"}.mdi-sort-alphabetical:before{content:"\f50f"}.mdi-sort-ascending:before{content:"\f510"}.mdi-sort-descending:before{content:"\f511"}.mdi-sort-numeric:before{content:"\f512"}.mdi-sort-variant:before{content:"\f513"}.mdi-soundcloud:before{content:"\f514"}.mdi-source-fork:before{content:"\f515"}.mdi-source-pull:before{content:"\f516"}.mdi-speaker:before{content:"\f517"}.mdi-speaker-off:before{content:"\f518"}.mdi-speedometer:before{content:"\f519"}.mdi-spellcheck:before{content:"\f51a"}.mdi-spotify:before{content:"\f51b"}.mdi-spotlight:before{content:"\f51c"}.mdi-spotlight-beam:before{content:"\f51d"}.mdi-square-inc:before{content:"\f51e"}.mdi-square-inc-cash:before{content:"\f51f"}.mdi-stackoverflow:before{content:"\f520"}.mdi-star:before{content:"\f521"}.mdi-star-circle:before{content:"\f522"}.mdi-star-half:before{content:"\f523"}.mdi-star-outline:before{content:"\f524"}.mdi-steam:before{content:"\f525"}.mdi-stethoscope:before{content:"\f526"}.mdi-stocking:before{content:"\f527"}.mdi-stop:before{content:"\f528"}.mdi-store:before{content:"\f529"}.mdi-store-24-hour:before{content:"\f52a"}.mdi-stove:before{content:"\f52b"}.mdi-subway:before{content:"\f52c"}.mdi-sunglasses:before{content:"\f52d"}.mdi-swap-horizontal:before{content:"\f52e"}.mdi-swap-vertical:before{content:"\f52f"}.mdi-swim:before{content:"\f530"}.mdi-sword:before{content:"\f531"}.mdi-sync:before{content:"\f532"}.mdi-sync-alert:before{content:"\f533"}.mdi-sync-off:before{content:"\f534"}.mdi-tab:before{content:"\f535"}.mdi-tab-unselected:before{content:"\f536"}.mdi-table:before{content:"\f537"}.mdi-table-column-plus-after:before{content:"\f538"}.mdi-table-column-plus-before:before{content:"\f539"}.mdi-table-column-remove:before{content:"\f53a"}.mdi-table-column-width:before{content:"\f53b"}.mdi-table-edit:before{content:"\f53c"}.mdi-table-large:before{content:"\f53d"}.mdi-table-row-height:before{content:"\f53e"}.mdi-table-row-plus-after:before{content:"\f53f"}.mdi-table-row-plus-before:before{content:"\f540"}.mdi-table-row-remove:before{content:"\f541"}.mdi-tablet:before{content:"\f542"}.mdi-tablet-android:before{content:"\f543"}.mdi-tablet-ipad:before{content:"\f544"}.mdi-tag:before{content:"\f545"}.mdi-tag-faces:before{content:"\f546"}.mdi-tag-multiple:before{content:"\f547"}.mdi-tag-outline:before{content:"\f548"}.mdi-tag-text-outline:before{content:"\f549"}.mdi-taxi:before{content:"\f54a"}.mdi-teamviewer:before{content:"\f54b"}.mdi-telegram:before{content:"\f54c"}.mdi-television:before{content:"\f54d"}.mdi-television-guide:before{content:"\f54e"}.mdi-temperature-celsius:before{content:"\f54f"}.mdi-temperature-fahrenheit:before{content:"\f550"}.mdi-temperature-kelvin:before{content:"\f551"}.mdi-tennis:before{content:"\f552"}.mdi-tent:before{content:"\f553"}.mdi-terrain:before{content:"\f554"}.mdi-text-to-speech:before{content:"\f555"}.mdi-text-to-speech-off:before{content:"\f556"}.mdi-texture:before{content:"\f557"}.mdi-theater:before{content:"\f558"}.mdi-theme-light-dark:before{content:"\f559"}.mdi-thermometer:before{content:"\f55a"}.mdi-thermometer-lines:before{content:"\f55b"}.mdi-thumb-down:before{content:"\f55c"}.mdi-thumb-down-outline:before{content:"\f55d"}.mdi-thumb-up:before{content:"\f55e"}.mdi-thumb-up-outline:before{content:"\f55f"}.mdi-thumbs-up-down:before{content:"\f560"}.mdi-ticket:before{content:"\f561"}.mdi-ticket-account:before{content:"\f562"}.mdi-tie:before{content:"\f563"}.mdi-timelapse:before{content:"\f564"}.mdi-timer:before{content:"\f565"}.mdi-timer-10:before{content:"\f566"}.mdi-timer-3:before{content:"\f567"}.mdi-timer-off:before{content:"\f568"}.mdi-timer-sand:before{content:"\f569"}.mdi-timetable:before{content:"\f56a"}.mdi-toggle-switch:before{content:"\f56b"}.mdi-toggle-switch-off:before{content:"\f56c"}.mdi-tooltip:before{content:"\f56d"}.mdi-tooltip-edit:before{content:"\f56e"}.mdi-tooltip-image:before{content:"\f56f"}.mdi-tooltip-outline:before{content:"\f570"}.mdi-tooltip-outline-plus:before{content:"\f571"}.mdi-tooltip-text:before{content:"\f572"}.mdi-tor:before{content:"\f573"}.mdi-traffic-light:before{content:"\f574"}.mdi-train:before{content:"\f575"}.mdi-tram:before{content:"\f576"}.mdi-transcribe:before{content:"\f577"}.mdi-transcribe-close:before{content:"\f578"}.mdi-transfer:before{content:"\f579"}.mdi-tree:before{content:"\f57a"}.mdi-trello:before{content:"\f57b"}.mdi-trending-down:before{content:"\f57c"}.mdi-trending-neutral:before{content:"\f57d"}.mdi-trending-up:before{content:"\f57e"}.mdi-trophy:before{content:"\f57f"}.mdi-trophy-award:before{content:"\f580"}.mdi-trophy-variant:before{content:"\f581"}.mdi-truck:before{content:"\f582"}.mdi-tshirt-crew:before{content:"\f583"}.mdi-tshirt-v:before{content:"\f584"}.mdi-tumblr:before{content:"\f585"}.mdi-tumblr-reblog:before{content:"\f586"}.mdi-twitch:before{content:"\f587"}.mdi-twitter:before{content:"\f588"}.mdi-twitter-box:before{content:"\f589"}.mdi-twitter-circle:before{content:"\f58a"}.mdi-twitter-retweet:before{content:"\f58b"}.mdi-ubuntu:before{content:"\f58c"}.mdi-umbrella:before{content:"\f58d"}.mdi-umbrella-outline:before{content:"\f58e"}.mdi-undo:before{content:"\f58f"}.mdi-undo-variant:before{content:"\f590"}.mdi-unfold-less:before{content:"\f591"}.mdi-unfold-more:before{content:"\f592"}.mdi-ungroup:before{content:"\f593"}.mdi-untappd:before{content:"\f594"}.mdi-upload:before{content:"\f595"}.mdi-usb:before{content:"\f596"}.mdi-vector-curve:before{content:"\f597"}.mdi-vector-point:before{content:"\f598"}.mdi-vector-square:before{content:"\f599"}.mdi-verified:before{content:"\f59a"}.mdi-vibrate:before{content:"\f59b"}.mdi-video:before{content:"\f59c"}.mdi-video-off:before{content:"\f59d"}.mdi-video-switch:before{content:"\f59e"}.mdi-view-agenda:before{content:"\f59f"}.mdi-view-array:before{content:"\f5a0"}.mdi-view-carousel:before{content:"\f5a1"}.mdi-view-column:before{content:"\f5a2"}.mdi-view-dashboard:before{content:"\f5a3"}.mdi-view-day:before{content:"\f5a4"}.mdi-view-grid:before{content:"\f5a5"}.mdi-view-headline:before{content:"\f5a6"}.mdi-view-list:before{content:"\f5a7"}.mdi-view-module:before{content:"\f5a8"}.mdi-view-quilt:before{content:"\f5a9"}.mdi-view-stream:before{content:"\f5aa"}.mdi-view-week:before{content:"\f5ab"}.mdi-vimeo:before{content:"\f5ac"}.mdi-vine:before{content:"\f5ad"}.mdi-vk:before{content:"\f5ae"}.mdi-vk-box:before{content:"\f5af"}.mdi-vk-circle:before{content:"\f5b0"}.mdi-voicemail:before{content:"\f5b1"}.mdi-volume-high:before{content:"\f5b2"}.mdi-volume-low:before{content:"\f5b3"}.mdi-volume-medium:before{content:"\f5b4"}.mdi-volume-off:before{content:"\f5b5"}.mdi-vpn:before{content:"\f5b6"}.mdi-walk:before{content:"\f5b7"}.mdi-wallet:before{content:"\f5b8"}.mdi-wallet-giftcard:before{content:"\f5b9"}.mdi-wallet-membership:before{content:"\f5ba"}.mdi-wallet-travel:before{content:"\f5bb"}.mdi-watch:before{content:"\f5bc"}.mdi-watch-export:before{content:"\f5bd"}.mdi-watch-import:before{content:"\f5be"}.mdi-water:before{content:"\f5bf"}.mdi-water-off:before{content:"\f5c0"}.mdi-water-pump:before{content:"\f5c1"}.mdi-weather-cloudy:before{content:"\f5c2"}.mdi-weather-fog:before{content:"\f5c3"}.mdi-weather-hail:before{content:"\f5c4"}.mdi-weather-lightning:before{content:"\f5c5"}.mdi-weather-night:before{content:"\f5c6"}.mdi-weather-partlycloudy:before{content:"\f5c7"}.mdi-weather-pouring:before{content:"\f5c8"}.mdi-weather-rainy:before{content:"\f5c9"}.mdi-weather-snowy:before{content:"\f5ca"}.mdi-weather-sunny:before{content:"\f5cb"}.mdi-weather-sunset:before{content:"\f5cc"}.mdi-weather-sunset-down:before{content:"\f5cd"}.mdi-weather-sunset-up:before{content:"\f5ce"}.mdi-weather-windy:before{content:"\f5cf"}.mdi-weather-windy-variant:before{content:"\f5d0"}.mdi-web:before{content:"\f5d1"}.mdi-webcam:before{content:"\f5d2"}.mdi-weight:before{content:"\f5d3"}.mdi-weight-kilogram:before{content:"\f5d4"}.mdi-whatsapp:before{content:"\f5d5"}.mdi-wheelchair-accessibility:before{content:"\f5d6"}.mdi-white-balance-auto:before{content:"\f5d7"}.mdi-white-balance-incandescent:before{content:"\f5d8"}.mdi-white-balance-irradescent:before{content:"\f5d9"}.mdi-white-balance-sunny:before{content:"\f5da"}.mdi-wifi:before{content:"\f5db"}.mdi-wii:before{content:"\f5dc"}.mdi-wikipedia:before{content:"\f5dd"}.mdi-window-close:before{content:"\f5de"}.mdi-window-closed:before{content:"\f5df"}.mdi-window-maximize:before{content:"\f5e0"}.mdi-window-minimize:before{content:"\f5e1"}.mdi-window-open:before{content:"\f5e2"}.mdi-window-restore:before{content:"\f5e3"}.mdi-windows:before{content:"\f5e4"}.mdi-wordpress:before{content:"\f5e5"}.mdi-worker:before{content:"\f5e6"}.mdi-wunderlist:before{content:"\f5e7"}.mdi-xbox:before{content:"\f5e8"}.mdi-xbox-controller:before{content:"\f5e9"}.mdi-xbox-controller-off:before{content:"\f5ea"}.mdi-xda:before{content:"\f5eb"}.mdi-xml:before{content:"\f5ec"}.mdi-yeast:before{content:"\f5ed"}.mdi-yelp:before{content:"\f5ee"}.mdi-youtube-play:before{content:"\f5ef"}.mdi-zip-box:before{content:"\f5f0"}.mdi-18px{font-size:18px}.mdi-24px{font-size:24px}.mdi-36px{font-size:36px}.mdi-48px{font-size:48px}.mdi-dark{color:rgba(0,0,0,.54)}.mdi-dark.mdi-inactive{color:rgba(0,0,0,.26)}.mdi-light{color:#fff}.mdi-light.mdi-inactive{color:rgba(255,255,255,.3)}
assets/css/modula-cpt.min.css ADDED
@@ -0,0 +1 @@
1
+ #modula-settings .inside{padding:0;margin:0}.modula-settings-container{display:flex}.modula-settings-container .modula-tabs{background-color:#f8f8f8}.modula-settings-container .modula-tabs .modula-tab{margin:0 10px 0 0;padding:15px 0;color:#9c9c9c;cursor:pointer;width:161px;position:relative}.modula-settings-container .modula-tabs .modula-tab sup{margin-left:5px;padding:2px 5px;border-radius:5px;color:#fff;font-size:8px;background:#9c9c9c;display:inline-block;line-height:1;position:relative;top:-2px}.modula-settings-container .modula-tabs .modula-tab.active-tab sup,.modula-settings-container .modula-tabs .modula-tab:hover sup{background-color:#57a7c9}.modula-settings-container .modula-tabs .modula-tab.modula-responsive.active-tab sup,.modula-settings-container .modula-tabs .modula-tab.modula-responsive:hover sup{background:#dc3232}.modula-settings-container .modula-tabs .modula-tab>i{margin-right:10px;margin-left:15px}.modula-settings-container .modula-tabs .modula-tab:after{position:absolute;content:"";width:1px;height:100%;background-color:transparent;top:0;right:-1px}.modula-settings-container .modula-tabs .modula-tab.active-tab:first-child{border-top:0 none}.modula-settings-container .modula-tabs .modula-tab:hover{color:#333}.modula-settings-container .modula-tabs .modula-tab.active-tab{margin:0;padding:15px 10px 15px 0;background-color:#fff;border-bottom:1px solid #ddd;border-top:1px solid #ddd;color:#333}.modula-settings-container .modula-tabs .modula-tab.active-tab:before{content:"";position:absolute;left:0;top:0;width:3px;height:100%;background-color:#57a7c9}.modula-settings-container .modula-tabs .modula-tab.active-tab:after{background-color:#fff}tr label.th-label{color:#23282d;font-weight:600;margin-bottom:10px}.postbox .modula-settings-container table.form-table{margin:0}.postbox .modula-settings-container .form-table-wrapper{padding:0 0 0 20px;box-sizing:border-box}.modula-settings-container .modula-tabs-content{padding:10px 20px;border-left:1px solid #eee;flex-grow:1}.modula-tabs-content>div:not( .active-tab ){display:none}.modula-settings-container .modula-tabs-content .tab-content-header{width:100%;padding-bottom:12px;margin-bottom:10px;border-bottom:1px solid #eee;padding-left:20px;padding-right:0;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between}.modula-settings-container .modula-tabs-content .tab-content-header .tab-content-header-actions{display:flex;align-items:center}.modula-settings-container .modula-tabs-content .tab-content-header .tab-content-header-actions>span{margin:0 10px;font-style:italic}.modula-settings-container .modula-tabs-content .tab-content-header .tab-content-header-actions a.button>span{height:auto;line-height:26px;margin-right:10px}#poststuff .modula-settings-container .modula-tabs-content .tab-content-header .tab-content-header-title>h2{font-weight:700;padding:0;display:inline-block}#poststuff .modula-settings-container .modula-tabs-content .tab-content-header .tab-header-description p{margin:0}.modula-settings-container .form-table td p.description{font-size:13px}.modula-settings-container .slider-container{position:relative;height:2px;padding:10px 0 10px 46px;width:25em;box-sizing:border-box;margin-bottom:10px}.modula-settings-container .slider-container input[type=text]{border:none;text-align:center;padding:2px;margin:0;font-size:12px;color:#333;border-radius:10px;background-color:#fff;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.16);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.16);box-shadow:inset 0 1px 1px rgba(0,0,0,.16);width:40px;height:22px;position:absolute;left:0;top:0}.modula-settings-container .slider-container .ui-slider{position:relative;text-align:left;height:2px;border-radius:3px;border:none;display:block;width:100%;background:#d6d6d6;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.modula-settings-container .slider-container .ui-slider .ui-slider-handle{position:absolute;z-index:2;top:-10px;cursor:default;-ms-touch-action:none;touch-action:none;width:18px;height:18px;-webkit-border-radius:9px;-moz-border-radius:9px;border-radius:9px;background-color:#fff;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.1);-moz-box-shadow:0 1px 1px rgba(0,0,0,.1);box-shadow:0 1px 1px rgba(0,0,0,.1);border:1px solid #d7d7d7;transform:translateX(-50%)}.modula-settings-container .slider-container .ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background:#57a7c9;top:0;bottom:0}.modula-effects-preview{margin-top:20px}.modula-effects-preview .item{width:400px;height:267px;overflow:hidden;position:relative}.modula-effects-preview .item img{position:absolute}.modula-effects-preview .item .figc{display:flex;align-items:center;justify-content:center;color:#fff;font-size:11px;text-align:center;position:absolute;left:0;width:100%;height:100%;padding:0}.modula-effects-preview .item .figc h2{font-size:21px!important;color:#fff}.modula-effects-preview .item .figc p{color:#fff;font-size:15px;font-style:normal}.modula .items .item h2{margin:0}.modula .items .item p{margin:0;padding:0}.modula .figc{color:#000;text-align:center;position:absolute;left:0;width:100%;padding:2em}.modula .item .jtg-social a{text-decoration:none;color:#fff;display:inline-block;margin:0 10px 0 0;width:20px;padding:6px 4px;border:0;opacity:0;transition:opacity .3s}.modula .item .jtg-social svg{width:20px;height:16px}.modula .item:hover .jtg-social a{opacity:1}.modula .items .jtg-social{right:30px;position:absolute;bottom:20px;text-align:right;transition:all .3s;opacity:1}.modula .items .jtg-social a:last-of-type{margin-right:0}.modula .item.effect-pufrobo p.description{margin-bottom:2em}.modula .item.effect-pufrobo .figc{text-align:right}.modula .item.effect-pufrobo h2,.modula .item.effect-pufrobo p{position:absolute;right:30px;left:30px;padding:10px 0}.modula .item:hover img{opacity:.8}.modula .item{background-color:#000}.modula .item.effect-pufrobo p{bottom:20%;line-height:1.5;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);letter-spacing:1px}.modula .item.effect-pufrobo h2{top:10%;-webkit-transition:-webkit-transform .35s;transition:transform .35s;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}.modula .item.effect-pufrobo:hover h2{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.modula .item.effect-pufrobo h2::after{position:absolute;top:80%;left:0;width:100%;height:4px;background:#fff;content:'';-webkit-transform:translate3d(0,40px,0);transform:translate3d(0,40px,0)}.modula .item.effect-pufrobo h2::after,.modula .item.effect-pufrobo p{opacity:0;-webkit-transition:opacity .35s,-webkit-transform .35s;transition:opacity .35s,transform .35s}.modula .item.effect-pufrobo:hover h2::after,.modula .item.effect-pufrobo:hover p{margin-top:10px;margin-bottom:5px;opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.modula-upsell{background:#e5f3e2;border:1px solid #a8d69c;padding:20px;margin-top:30px}#poststuff .modula-upsell h2{margin:0 0 20px;font-size:16px;font-weight:700;padding:0}.modula-upsell p{margin:0}.modula-upsell p.modula-upsell-description{font-size:13px;line-height:1.5;color:#333;opacity:.8;margin-top:0;margin-bottom:10px}.modula-upsell .button{height:31px;line-height:31px;font-weight:700}.modula-upsell .button:first-child{margin-right:10px}.modula-upsell .button.button-primary{background-color:#52ad3a;border-color:#378c21;box-shadow:0 1px 0 #378c21;text-shadow:0 -1px 1px #378c21,1px 0 1px #378c21,0 1px 1px #378c21,-1px 0 1px #378c21}.modula-upsell .action-link,.modula-upsell .action-link:hover{background:#51AD31;border-color:#51AD31;color:#fff;font-weight:700}#modula-uploader-container{position:relative;padding-left:10px;padding-right:10px}#modula-uploader-container.modula-resizer-enabled{margin-bottom:20px}.modula-upload-actions{padding:15px 20px;background-color:#f8fcfd;border-bottom:1px solid #ecf6f9;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;width:100%;box-sizing:border-box}.modula-upload-actions .buttons{flex-shrink:0;width:275px;display:flex}.modula-sources-dropdown{position:relative;border-top:1px solid rgba(255,255,255,0);border-right:1px solid rgba(255,255,255,0);border-left:1px solid rgba(255,255,255,0)}.modula-sources-dropdown:hover{border-color:#ddd;background:#f5f5f5}.modula-sources-dropdown>span{width:28px;height:32px;text-align:center;line-height:28px;cursor:pointer;display:inline-block;font-size:25px;font-weight:700}.modula-sources-dropdown .modula-sources-dropdown-content{position:absolute;right:-1px;bottom:0;transform:translateY(100%);display:none;padding:15px;background-color:#f5f5f5;box-shadow:0 1px 1px rgba(0,0,0,.04);box-sizing:border-box;border:1px solid #ddd}.modula-sources-dropdown:hover .modula-sources-dropdown-content{display:block}.modula-sources-dropdown:hover .modula-sources-dropdown-content:before{content:"";height:1px;width:28px;background-color:#f5f5f5;position:absolute;top:-1px;right:0}.segrip.ui-resizable-se{width:20px;height:20px;background-image:url(../images/modula-resize-icon.png);display:none}.modula-resizer-enabled .segrip.ui-resizable-se{display:block}.modula-upload-actions #modula-uploader-browser{border-bottom-right-radius:0;border-top-right-radius:0}.modula-upload-actions #modula-wp-gallery{border-bottom-left-radius:0;border-top-left-radius:0}.wp-core-ui .modula-upload-actions>a{margin:0 5px}#modula-dropzone-container{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,86,132,.9);z-index:250000;display:none;text-align:center;opacity:0;transition:opacity 250ms}#modula-dropzone-container .modula-uploader-window-content{position:absolute;top:10px;left:10px;right:10px;bottom:10px;border:1px dashed #fff}#poststuff #modula-dropzone-container .modula-uploader-window-content h1{margin:-.5em 0 0;position:absolute;top:50%;left:0;right:0;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:20px;line-height:28px;font-weight:400;color:#fff;padding:0}.modula-uploader-inline-content{position:relative;min-height:300px;width:100%}.modula-resizer-enabled .modula-uploader-inline-content{min-height:initial}.modula-uploader-inline-content h2{text-align:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}#poststuff .modula-upload-message{font-size:43px;line-height:1;font-weight:400;margin:0;display:none;color:#ebebeb}#poststuff .modula-upload-message .dashicons,#poststuff .modula-upload-message .dashicons-before:before{font-size:43px;width:43px;height:43px}.modula-uploader-inline p{font-size:12px;margin:.5em 0}#poststuff .modula-uploader-inline .modula-upload-instructions{font-size:14px;color:#444;font-weight:400;padding:0}.modula-uploader-footer .max-upload-size{float:left}.modula-uploader-footer .modula-upload-numbers{float:right;opacity:0}.modula-uploader-footer:after{display:block;content:"";clear:both}.upload-progress .modula-upload-numbers{margin:0;line-height:1.4em}.modula-progress-bar{width:100%;max-width:400px;position:relative;height:2px;margin:8px 0 0;border-radius:10px;background:#e5e5e5}.upload-info-container{position:relative;overflow:hidden;flex-grow:1}.upload-info-container .upload-info{padding:5px 0}.upload-info-container .upload-progress{position:absolute;background-color:#f8fcfd;height:100%;display:flex;top:0;left:0;width:100%;flex-direction:column;transition:transform .5s;transform:translateY(100%)}.modula-upload-actions.show-progress .upload-info-container .upload-progress{transform:translateY(0)}.modula-progress-bar .modula-progress-bar-inner{height:2px;min-width:20px;width:0;background:#0085ba;-webkit-transition:width .3s;-moz-transition:width .3s;-ms-transition:width .3s;-o-transition:width .3s;transition:width .3s;border-radius:5px}.modula-uploader-footer.show-progress .modula-progress-bar,.modula-uploader-footer.show-progress .modula-upload-numbers{opacity:1}.modula-uploader-inline-content .modula-single-image,.modula-uploader-inline-content .modula-single-image-placeholder{cursor:move;display:inline-block;padding:0 10px 20px 0;box-sizing:border-box;width:16.66%}.modula-uploader-inline-content .modula-single-image-placeholder:after{width:100%;height:100%;display:inline-block;content:"";position:relative;border:3px dashed #444;padding-top:calc(100% - 6px);box-sizing:border-box}.modula-uploader-inline-content .modula-single-image .modula-single-image-content{position:relative;border:1px solid #d6d6d6;box-sizing:border-box;background-position:center;background-size:cover}.modula-uploader-inline-content .modula-single-image .modula-single-image-content img{display:block;width:100%}#poststuff .modula-uploader-inline-content>.modula-upload-message:only-child{display:block}.modula-uploader-inline-content .modula-single-image .actions{position:absolute;bottom:0;right:50%;transform:translateX(50%);z-index:99;font-size:0}.modula-uploader-inline-content .modula-single-image .actions a{text-decoration:none;color:#fff;padding:5px;display:inline-block;text-shadow:0 -1px 1px #006799,1px 0 1px #006799,0 1px 1px #006799,-1px 0 1px #006799;background:#0085ba;border:1px solid #006799;border-bottom-width:2px}.modula-uploader-inline-content .modula-single-image .actions a:first-child{border-top-left-radius:5px}.modula-uploader-inline-content .modula-single-image .actions a:last-child{border-left-width:0;border-top-right-radius:5px}.modula-uploader-inline-content .modula-single-image .actions a span{font-size:18px}.modula-uploader-inline-content .modula-single-image .actions a.modula-delete-image:hover{text-shadow:0 -1px 1px #ba281e,1px 0 1px #ba281e,0 1px 1px #ba281e,-1px 0 1px #ba281e;background:#e14d43;border-color:#d02c21 #ba281e}.modula-uploader-inline-content:after{content:"";display:block;clear:both}.media-modal .modula-edit-popup.edit-attachment-frame .edit-media-header button.right{border-right:1px solid #ddd}.media-modal .modula-edit-popup .attachment-details .attachment-info .settings .setting{margin:0 0 20px;padding:0 0 20px;border-bottom:1px solid #ddd}.media-modal .modula-edit-popup .attachment-details .attachment-info .settings .setting span.name{display:block;width:100%;min-width:100%;margin:0;padding:0;text-align:left;font-weight:700;font-size:14px}.media-modal .modula-edit-popup .attachment-details .attachment-info .settings .setting input[type=text],.media-modal .modula-edit-popup .attachment-details .attachment-info .settings .setting textarea{display:block;width:100%;min-width:100%;margin:0}.media-modal .modula-edit-popup .attachment-details .attachment-info .settings .setting div.description{clear:both;float:left;margin:5px 0 0;text-align:left;font-size:13px;font-style:italic;color:#666}.media-modal .modula-edit-popup .attachment-details .attachment-info .settings{margin:0;padding:0;border:none}.media-modal .attachment-info .actions a{display:inline-block}.inline-input{display:inline}.ui-draggable.ui-resizable>.segrip{width:10px;height:10px;background:red;position:absolute;bottom:0;right:0}.ui-draggable.ui-resizable .modula-single-image-content img{display:none}.ui-draggable.ui-resizable .modula-single-image-content{width:100%;height:100%}.ui-draggable.ui-resizable.modula-single-image{padding:0}.packery-drop-placeholder{outline:#444 dashed 3px;outline-offset:-6px;-webkit-transition:-webkit-transform .2s;transition:transform .2s}.ui-resizable-helper{border:3px dashed #444;box-sizing:border-box}#poststuff #modula-preview-gallery h2.hndle,#poststuff #modula-settings h2.hndle{padding-left:20px}#poststuff #modula-preview-gallery .inside{margin-top:0;padding:0}.modula-edit-popup .attachment-details .setting span.description>span{display:inline-block;float:none;width:auto;min-width:unset;line-height:16px;min-height:16px;margin-top:8px;padding:0;vertical-align:middle;margin-right:0}.modula-edit-popup .attachment-details .setting span.description{text-align:left;vertical-align:middle}.modula-media-modal .attachments-browser .media-toolbar .media-toolbar-secondary{width:100%}.modula-error-container{display:block}.modula-error-container.hide{display:none}.modula-error-container .modula-error{padding:12px;margin-bottom:12px;background:#dc3232;border-left:4px solid #dc3232;box-shadow:0 0 4px 0 rgba(0,0,0,.1);font-weight:600;margin-top:5px;position:relative;color:#fff}.modula-error-container .modula-error a{color:#fff}.modula-error-container .modula-error .upload-dismiss-errors{position:absolute;top:50%;right:-5px;padding:10px;transition:none;display:block;text-decoration:none;margin-top:-18px}.modula-error-container .modula-error .upload-dismiss-errors:before{content:"\f153";display:block;font:400 16px/1 dashicons;color:#fff}a.modula-tab-link{text-decoration:none}.modula-tab-link span.dashicons{width:16px;height:16px;line-height:16px;margin-right:3px;vertical-align:text-bottom;font-size:16px;text-decoration:none}#modula-grid{height:100%;position:absolute;overflow:hidden;top:0;left:0;width:100%}#modula-grid .modula-grid-item{background-color:#FAFAFA;float:left}#modula-grid .modula-grid-item:nth-child( 12n ){margin-right:0!important}#modula-grid:after{content:"";display:block;clear:both}.modula-tooltip{position:relative;display:inline-block}.modula-tooltip>span{cursor:pointer;color:#0073aa;text-decoration:underline;margin-left:5px}.modula-tooltip .modula-tooltip-content{display:none;position:absolute;top:50%;right:-10px;transform:translate(100% ,-50%);width:300px;background:#000;color:#fff;padding:10px;box-sizing:border-box;z-index:99}.modula-tooltip .modula-tooltip-content:before{content:'';width:0;height:0;border-style:solid;border-width:8px 8px 8px 0;border-color:transparent #000 transparent transparent;display:block;position:absolute;top:50%;left:-8px;transform:translateY(-50%)}.modula-tooltip:hover .modula-tooltip-content{display:block}.modula-helper-guidelines-container{padding:15px 20px;background-color:#f8fcfd;display:flex;align-items:center;border-top:1px solid #ecf6f9}.modula-helper-guidelines-container .onoffswitch{margin-top:0}.modula-helper-guidelines-wrapper .modula-helper-guidelines-label{margin-left:5px}.modula-creative-gallery.modula-uploader-inline-content .modula-single-image .modula-single-image-content{background:#eee!important;position:relative;overflow:hidden}.modula-creative-gallery.modula-uploader-inline-content .modula-single-image-content:before{content:"";display:block;padding-top:100%}.modula-creative-gallery.modula-uploader-inline-content .modula-single-image-content img{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.modula-toggle,.modula-toggle__items{position:relative;display:inline-block}.modula-creative-gallery.modula-uploader-inline-content .modula-single-image-content.landscape img{max-height:100%}.modula-creative-gallery.modula-uploader-inline-content .modula-single-image-content.portrait img{max-width:100%}.modula-toggle{user-select:none}.modula-toggle__items{box-sizing:border-box}.modula-toggle__items>*{box-sizing:inherit}.modula-toggle__input[type=checkbox]{border-radius:2px;border:2px solid #6c7781;transition:none;height:100%;left:0;top:0;margin:0;padding:0;opacity:0;position:absolute;width:100%;z-index:1}.modula-toggle__track{background-color:#fff;border:2px solid #6c7781;border-radius:9px;display:inline-block;height:18px;width:36px;vertical-align:top;transition:background .2s ease}.modula-toggle__thumb{background-color:#6c7781;border:5px solid #6c7781;border-radius:50%;display:block;height:10px;width:10px;position:absolute;left:4px;top:4px;transition:transform .2s ease}.modula-toggle__off{position:absolute;right:6px;top:6px;color:#6c7781;fill:currentColor}.modula-toggle__on{position:absolute;top:6px;left:8px;border:1px solid #fff;outline:transparent solid 1px;outline-offset:-1px;display:none}.modula-toggle__input[type=checkbox]:checked+.modula-toggle__items .modula-toggle__track{background-color:#11a0d2;border:9px solid transparent}.modula-toggle__input[type=checkbox]:checked+.modula-toggle__items .modula-toggle__thumb{background-color:#fff;border-width:0;transform:translateX(18px)}.modula-toggle__input[type=checkbox]:checked+.modula-toggle__items .modula-toggle__off{display:none}.modula-toggle__input[type=checkbox]:checked+.modula-toggle__items .modula-toggle__on{display:inline-block}
assets/css/modula-gutenberg.min.css ADDED
@@ -0,0 +1 @@
1
+ .modula-block-preview{background:#f3f3f5;border-radius:6px;position:relative;overflow:hidden}.modula-block-preview .components-spinner{display:block;float:none;margin:0 auto}.modula-block-preview__logo{width:100%;height:60px;background:url(../images/block-preview-bg.svg) 50% 0 no-repeat;background-size:75%}.modula-block-preview__content{width:100%;max-width:400px;margin:40px auto;text-align:center}.modula-block-preview--images{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-1%;margin-right:-1%}.modula-preview-image-wrap{width:23%;height:0;padding-bottom:23%;position:relative;margin:1%}.modula-preview-image-wrap img{position:absolute;left:0;top:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}
assets/css/modula.css CHANGED
@@ -89,20 +89,201 @@
89
font-size:14px;
90
font-weight: bold;
91
}
92
.modula .filters {
93
- margin:0 0 20px 0;
94
}
95
.modula .filters a {
96
text-decoration: none;
97
display: inline-block;
98
- margin:0 10px 0 0;
99
color: #333;
100
border-bottom: 2px solid transparent;
101
}
102
- .modula .filters a:hover,
103
- .modula .filters a.selected {
104
border-bottom-color: #333;
105
}
106
.modula .jtg-social a {
107
box-shadow: none;
108
}
@@ -253,4 +434,5 @@
253
.modula .items .item.effect-comodo .figc h2.jtg-title:before,
254
.modula .items .item.effect-pufrobo .figc h2.jtg-title:before {
255
display: none;
256
- }
89
font-size:14px;
90
font-weight: bold;
91
}
92
+ /**
93
+ Modula Filters
94
+ */
95
.modula .filters {
96
+ margin:20px 0 20px 0;
97
}
98
+
99
+ .modula .filters.vertical-filters {
100
+ margin-top:0;
101
+ }
102
+
103
.modula .filters a {
104
text-decoration: none;
105
display: inline-block;
106
+ /*margin:0 10px 0 0;*/
107
color: #333;
108
+ outline:none;
109
+ transition:350ms ease-in;
110
+ }
111
+
112
+ .modula .filters.menu--dfefault a {
113
border-bottom: 2px solid transparent;
114
}
115
+
116
+ .modula .filters.colored a {
117
+ border:0;
118
+ color:#fff;
119
+ }
120
+
121
+ .modula .filters:not(.styled-menu) a:hover,
122
+ .modula .filters:not(.styled-menu) a.selected {
123
border-bottom-color: #333;
124
+ border-bottom:1px solid;
125
+ }
126
+
127
+ .modula.vertical-filters .items {
128
+ width:80% !important;
129
+ float:left;
130
+ }
131
+
132
+ .modula.vertical-filters .filters {
133
+ width:20%;
134
+ float:left;
135
+ }
136
+
137
+ .modula .filters.vertical-filters.both-vertical + .items {
138
+ width:60% !important;
139
+ }
140
+
141
+ .modula .filters.vertical-filters a {
142
+ display:block;
143
+ margin-bottom:15px;
144
+ padding:0 15px;
145
+
146
+ }
147
+
148
+ .modula .filters.vertical-filters.colored a {
149
+ border-radius:5px;
150
+ text-align:center;
151
+ background:#fff;
152
+ border:1px solid #3498db;
153
+ color:#3498db;
154
+ }
155
+
156
+ .modula .filters.vertical-filters.colored a:hover,
157
+ .modula .filters.vertical-filters.colored a.selected {
158
+ background:#fff;
159
+ color:#8e44ad;
160
+ border-color:#8e44ad;
161
+ }
162
+
163
+ .modula .filters.horizontal-filters.colored a {
164
+ display:inline-block;
165
+ padding:0 30px;
166
+ margin-right:2px;
167
+ background:#3498db;
168
+ position: relative;
169
+ border:0px;
170
+ }
171
+
172
+ .modula .filters.horizontal-filters.colored a:hover,
173
+ .modula .filters.horizontal-filters.colored a.selected {
174
+ background:#8e44ad;
175
+ }
176
+
177
+ .modula .filters.horizontal-filters.colored a:before {
178
+ position: absolute;
179
+ content: '';
180
+ left: 0;
181
+ top: 0;
182
+ width: 0;
183
+ height: 0;
184
+ border: none;
185
+ border-bottom-color: currentcolor;
186
+ border-bottom-style: none;
187
+ border-bottom-width: medium;
188
+ border-left-color: currentcolor;
189
+ border-left-style: none;
190
+ border-left-width: medium;
191
+ border-left: solid 17px white;
192
+ border-bottom: solid 41px transparent;
193
+ z-index: 1;
194
+ transition: .4s;
195
+ }
196
+
197
+ .modula .filters.horizontal-filters.colored a:after {
198
+ position: absolute;
199
+ content: '';
200
+ right: 0;
201
+ top: 0;
202
+ width: 0;
203
+ height: 0;
204
+ border: none;
205
+ border-bottom-color: currentcolor;
206
+ border-bottom-style: none;
207
+ border-bottom-width: medium;
208
+ border-left-color: currentcolor;
209
+ border-left-style: none;
210
+ border-left-width: medium;
211
+ border-left: solid 17px transparent;
212
+ border-bottom: solid 41px white;
213
+ z-index: 1;
214
+ transition: .4s;
215
+ }
216
+
217
+ .filter-by-wrapper {
218
+ text-align:center;
219
+ margin-bottom:25px;
220
+ text-transform: uppercase;
221
+ }
222
+
223
+ .filter-by-wrapper span {
224
+ cursor:pointer;
225
+ }
226
+
227
+ .filter-by-wrapper span:after {
228
+ content:"";
229
+ margin-left:15px;
230
+ width: 0;
231
+ height: 0;
232
+ border-style: solid;
233
+ border-width: 15px 10px 0 10px;
234
+ border-color: #0470e3 transparent transparent transparent;
235
+ display:inline-block;
236
+ }
237
+
238
+ .filter-by-wrapper.opened span:after {
239
+ content:"";
240
+ width: 0;
241
+ height: 0;
242
+ border-style: solid;
243
+ border-width: 0 10px 15px 10px;
244
+ border-color: transparent transparent #d500ff transparent;
245
+ display:inline-block;
246
}
247
+
248
+ .modula .filters.vertical-filters a {
249
+ margin-bottom:0;
250
+ }
251
+
252
+ .menu__list li.menu__item {
253
+ margin:15px;
254
+ }
255
+
256
+ @media all and (min-width:1025px){
257
+ .filter-by-wrapper {
258
+ display:none !important;
259
+ }
260
+
261
+ .modula-gallery .filters {
262
+ display:block !important;
263
+ }
264
+ }
265
+
266
+ @media all and (max-width:1024px){
267
+
268
+ .modula.vertical-filters .filters,
269
+ .modula.vertical-filters .items,
270
+ .modula .filters.vertical-filters.both-vertical + .items{
271
+ width:100% !important;
272
+ float:none;
273
+ }
274
+
275
+ .menu__list {
276
+ padding:0px;
277
+ }
278
+ .menu__list li.menu__item {
279
+ margin:0;
280
+ }
281
+
282
+
283
+ }
284
+ /**
285
+ End Modula Filters
286
+ */
287
.modula .jtg-social a {
288
box-shadow: none;
289
}
434
.modula .items .item.effect-comodo .figc h2.jtg-title:before,
435
.modula .items .item.effect-pufrobo .figc h2.jtg-title:before {
436
display: none;
437
+ }
438
+
assets/css/modula.min.css ADDED
@@ -0,0 +1 @@
1
+ .modula .items .item{position:absolute;overflow:hidden;transition:transform .3s ease-out,opacity .2s linear,top .3s,left .6s;opacity:0;box-sizing:border-box}.modula .items .item>a{display:block;position:absolute;top:0;left:0;width:100%;height:100%;z-index:10}.modula .items .item .jtg-social{z-index:10}.modula .items .item.tg-loaded{transform:scale(1) translate(0,0) rotate(0)!important;opacity:1}.modula .items .item.tg-loaded img.pic{display:block;opacity:1}.modula .items .item img.pic{font-size:12px;position:absolute;display:none;opacity:0;max-width:999em!important;transition:width .3s,height .3s,transform .3s linear,opacity .2s linear}.modula .items .item img.pic.lazyload,.modula .items .item img.pic.lazyloaded{display:block}.modula .items .item .description{font-size:14px}.modula .items .item .caption .icon{font-size:14px;position:absolute;left:50%;top:50%;margin:-12px 0 0 -8px}.modula .items .item .figc{color:#fff;font-size:11px;text-align:center;position:absolute;left:0;width:100%;padding:0}.modula .items .hidden .figc{display:none}.modula .items .always-visible .figc,.modula .items .hidden:hover .figc,.modula .items .visible .figc{display:block}.modula .items .item.effect-appear .figc h2.jtg-title:before,.modula .items .item.effect-comodo .figc h2.jtg-title:before,.modula .items .item.effect-crafty .figc h2.jtg-title:before,.modula .items .item.effect-curtain .figc h2.jtg-title:before,.modula .items .item.effect-fluid-up .figc h2.jtg-title:before,.modula .items .item.effect-hide .figc h2.jtg-title:before,.modula .items .item.effect-lens .figc h2.jtg-title:before,.modula .items .item.effect-pufrobo .figc h2.jtg-title:before,.modula .items .item.effect-pufrobo .figc.no-title.no-description h2.jtg-title:after,.modula .items .item.effect-quiet .figc h2.jtg-title:before,.modula .items .item.effect-reflex .figc h2.jtg-title:before,.modula .items .item.effect-seemo .figc h2.jtg-title:before,.modula .items .visible:hover .figc{display:none}.modula .items .caption span.text{display:block;padding:10px}.modula .items .caption span.title{font-size:14px;font-weight:700}.modula .filters{margin:0 0 20px}.modula .filters a{text-decoration:none;display:inline-block;margin:0 10px 0 0;color:#333;border-bottom:2px solid transparent}.modula .filters a.selected,.modula .filters a:hover{border-bottom-color:#333}.modula .jtg-social a{box-shadow:none}.lightbox .lb-image{max-width:999em}.modula .jtg-social svg{width:20px;height:16px}.modula .items .item h2{margin:0}.modula .items .item p{margin:0;padding:0}.modula .figc{color:#000;text-align:center;position:absolute;left:0;width:100%;padding:2em}.modula .item .jtg-social a{text-decoration:none;color:#fff;display:inline-block;margin:0 10px 0 0;width:20px;padding:6px 4px;border:0;opacity:0;transition:opacity .3s}.modula .item:hover .jtg-social a{opacity:1}.modula .items .jtg-social{right:30px;position:absolute;bottom:20px;text-align:right;transition:all .3s;opacity:1}.modula .items .jtg-social a:last-of-type{margin-right:0}.modula .item.effect-pufrobo p.description{margin-bottom:2em}.modula .item.effect-pufrobo .figc{text-align:right}.modula .item.effect-pufrobo h2,.modula .item.effect-pufrobo p{position:absolute;right:30px;left:30px;padding:10px 0}.modula .item:hover img{opacity:.8}.modula .item{background-color:#000}.modula .item.effect-pufrobo p{bottom:20%;line-height:1.5;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);letter-spacing:1px}.modula .item.effect-pufrobo h2{top:10%;-webkit-transition:-webkit-transform .35s;transition:transform .35s;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}.modula .item.effect-pufrobo:hover h2{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.modula .item.effect-pufrobo h2::after{position:absolute;top:80%;left:0;width:100%;height:4px;background:#fff;content:'';-webkit-transform:translate3d(0,40px,0);transform:translate3d(0,40px,0)}.modula .item.effect-pufrobo h2::after,.modula .item.effect-pufrobo p{opacity:0;-webkit-transition:opacity .35s,-webkit-transform .35s;transition:opacity .35s,transform .35s}.modula .item.effect-pufrobo:hover h2::after,.modula .item.effect-pufrobo:hover p{margin-top:10px;margin-bottom:5px;opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}
assets/css/welcome.min.css ADDED
@@ -0,0 +1 @@
1
+ .modula .wp-badge{background-color:#2f946a;background-image:url(../images/modula-logo.jpg)}.featured-section.features .row{display:inline-block;width:97%;padding:15px;border-bottom:1px solid rgba(0,0,0,.06)}.featured-section.features .row .dashicons-yes{color:#2cbe4e}.featured-section.features .row .dashicons-no-alt{color:#FF3D2E}.featured-section.features .row>div{display:inline-block;float:left;width:15%;text-align:center}.featured-section.features .row>.feature{width:70%;text-align:left}.featured-section .free-pro-table{border-spacing:0;width:100%;margin-top:40px}.featured-section .free-pro-table th{padding-bottom:20px}.featured-section .free-pro-table td{border-top:1px solid #ccc;padding:20px 0 25px}.featured-section .free-pro-table h3,.featured-section .free-pro-table td p{margin:0}.featured-section .free-pro-table .lite-feature,.featured-section .free-pro-table .pro-feature{text-align:center;width:15%}.featured-section .free-pro-table .dashicons-yes{color:#00A878}.featured-section .free-pro-table .dashicons-no-alt{color:#ff3439}.featured-section .free-pro-table .dashicons-before:before{font-size:35px;height:35px;width:35px}.featured-section .button-hero .dashicons{font-size:16px;vertical-align:middle}.featured-section .ti-about-page-text-center{text-align:center}.free-pro-table .text-right{text-align:right}.modula-license-label{display:block}
assets/js/jquery-modula.js CHANGED
@@ -296,6 +296,7 @@ jQuery(document).on( 'vc-full-width-row-single vc-full-width-row', function( eve
296
enableFacebook: false,
297
enableGplus: false,
298
enablePinterest: false,
299
lazyLoad: 0,
300
};
301
@@ -354,9 +355,9 @@ jQuery(document).on( 'vc-full-width-row-single vc-full-width-row', function( eve
354
}
355
356
if ( this.options.gutter > 0 ) {
357
- size = plugin.trunc( ( containerWidth - this.options.gutter * columns ) / columns );
358
}else{
359
- size = plugin.trunc( containerWidth / columns );
360
}
361
362
this.$items.not(".jtg-hidden").each(function (i, item) {
@@ -380,12 +381,10 @@ jQuery(document).on( 'vc-full-width-row-single vc-full-width-row', function( eve
380
381
}else{
382
383
- // widthColumns = Math.trunc( columns * auxWidth / 12 );
384
widthColumns = Math.round( columns * auxWidth / 12 );
385
if ( widthColumns < 1 ) { widthColumns = 1; }
386
387
heightColumns = Math.round( widthColumns * auxHeight / auxWidth );
388
- // heightColumns = widthColumns * auxHeight / auxWidth;
389
if ( heightColumns < 1 ) { heightColumns = 1; }
390
391
}
@@ -725,14 +724,18 @@ jQuery(document).on( 'vc-full-width-row-single vc-full-width-row', function( eve
725
};
726
727
Plugin.prototype.setupSocial = function () {
728
- if (this.options.enableTwitter)
729
setupTwitter(this.$items, this);
730
- if (this.options.enableFacebook)
731
setupFacebook(this.$items, this);
732
- if (this.options.enableGplus)
733
- setupGplus(this.$items, this);
734
- if (this.options.enablePinterest)
735
setupPinterest(this.$items, this);
736
}
737
738
//credits James Padolsey http://james.padolsey.com/
@@ -801,11 +804,11 @@ jQuery(document).on( 'vc-full-width-row-single vc-full-width-row', function( eve
801
});
802
}
803
804
- var setupGplus = function ($tiles, plugin) {
805
- $tiles.find(".modula-icon-google-plus").click(function (e) {
806
e.preventDefault();
807
808
- var url = "https://plus.google.com/share?url=" + encodeURI(location.href);
809
810
var w = window.open(url, "ftgw", "location=1,status=1,scrollbars=1,width=600,height=400");
811
w.moveTo((screen.width / 2) - (300), (screen.height / 2) - (200));
296
enableFacebook: false,
297
enableGplus: false,
298
enablePinterest: false,
299
+ enableLinkedin: false,
300
lazyLoad: 0,
301
};
302
355
}
356
357
if ( this.options.gutter > 0 ) {
358
+ size = ( containerWidth - this.options.gutter * ( columns - 1 ) ) / columns;
359
}else{
360
+ size = Math.floor( containerWidth / columns );
361
}
362
363
this.$items.not(".jtg-hidden").each(function (i, item) {
381
382
}else{
383
384
widthColumns = Math.round( columns * auxWidth / 12 );
385
if ( widthColumns < 1 ) { widthColumns = 1; }
386
387
heightColumns = Math.round( widthColumns * auxHeight / auxWidth );
388
if ( heightColumns < 1 ) { heightColumns = 1; }
389
390
}
724
};
725
726
Plugin.prototype.setupSocial = function () {
727
+ if (this.options.enableTwitter){
728
setupTwitter(this.$items, this);
729
+ }
730
+ if (this.options.enableFacebook){
731
setupFacebook(this.$items, this);
732
+ }
733
+ if (this.options.enablePinterest){
734
setupPinterest(this.$items, this);
735
+ }
736
+ if (this.options.enableLinkedin){
737
+ setupLinkedIN(this.$items, this);
738
+ }
739
}
740
741
//credits James Padolsey http://james.padolsey.com/
804
});
805
}
806
807
+ var setupLinkedIN = function ($tiles, plugin) {
808
+ $tiles.find(".modula-icon-linkedin").click(function (e) {
809
e.preventDefault();
810
811
+ var url = "//linkedin.com/shareArticle?mini=true&url=" + + encodeURI(location.href);
812
813
var w = window.open(url, "ftgw", "location=1,status=1,scrollbars=1,width=600,height=400");
814
w.moveTo((screen.width / 2) - (300), (screen.height / 2) - (200));
assets/js/jquery-modula.min.js CHANGED
@@ -1 +1 @@
1
- function tg_getURLParameter(t){return decodeURIComponent((new RegExp("[?|&]"+t+"=([^&;]+?)(&|#|;|$)").exec(location.search)||[,""])[1].replace(/\+/g,"%20"))||null}!function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.ResizeSensor=e()}("undefined"!=typeof window?window:this,function(){if("undefined"==typeof window)return null;var v=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(t){return window.setTimeout(t,20)};function n(t,e){var i=Object.prototype.toString.call(t),n="[object Array]"===i||"[object NodeList]"===i||"[object HTMLCollection]"===i||"[object Object]"===i||"undefined"!=typeof jQuery&&t instanceof jQuery||"undefined"!=typeof Elements&&t instanceof Elements,s=0,o=t.length;if(n)for(;s<o;s++)e(t[s]);else e(t)}function y(t){if(!t.getBoundingClientRect)return{width:t.offsetWidth,height:t.offsetHeight};var e=t.getBoundingClientRect();return{width:Math.round(e.width),height:Math.round(e.height)}}var s=function(e,i){function w(){var i,n,s=[];this.add=function(t){s.push(t)},this.call=function(){for(i=0,n=s.length;i<n;i++)s[i].call()},this.remove=function(t){var e=[];for(i=0,n=s.length;i<n;i++)s[i]!==t&&e.push(s[i]);s=e},this.length=function(){return s.length}}n(e,function(t){!function(n,t){if(n)if(n.resizedAttached)n.resizedAttached.add(t);else{n.resizedAttached=new w,n.resizedAttached.add(t),n.resizeSensor=document.createElement("div"),n.resizeSensor.dir="ltr",n.resizeSensor.className="resize-sensor";var e="position: absolute; left: -10px; top: -10px; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;",i="position: absolute; left: 0; top: 0; transition: 0s;";n.resizeSensor.style.cssText=e,n.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="'+e+'"><div style="'+i+'"></div></div><div class="resize-sensor-shrink" style="'+e+'"><div style="'+i+' width: 200%; height: 200%"></div></div>',n.appendChild(n.resizeSensor);var s=window.getComputedStyle(n).getPropertyPriority("position");"absolute"!==s&&"relative"!==s&&"fixed"!==s&&(n.style.position="relative");var o,h,r=n.resizeSensor.childNodes[0],a=r.childNodes[0],d=n.resizeSensor.childNodes[1],l=y(n),c=l.width,u=l.height,p=function(){var t=0===n.offsetWidth&&0===n.offsetHeight;if(t){var e=n.style.display;n.style.display="block"}a.style.width="100000px",a.style.height="100000px",r.scrollLeft=1e5,r.scrollTop=1e5,d.scrollLeft=1e5,d.scrollTop=1e5,t&&(n.style.display=e)};n.resizeSensor.resetSensor=p;var f=function(){h=0,o&&(u=c=void 0,n.resizedAttached&&n.resizedAttached.call())},g=function(){var t=y(n),e=t.width,i=t.height;(o=e!=c||i!=u)&&!h&&(h=v(f)),p()},m=function(t,e,i){t.attachEvent?t.attachEvent("on"+e,i):t.addEventListener(e,i)};m(r,"scroll",g),m(d,"scroll",g),v(p)}}(t,i)}),this.detach=function(t){s.detach(e,t)},this.reset=function(){e.resizeSensor.resetSensor()}};return s.reset=function(t,e){n(t,function(t){t.resizeSensor.resetSensor()})},s.detach=function(t,e){n(t,function(t){t&&(t.resizedAttached&&"function"==typeof e&&(t.resizedAttached.remove(e),t.resizedAttached.length())||t.resizeSensor&&(t.contains(t.resizeSensor)&&t.removeChild(t.resizeSensor),delete t.resizeSensor,delete t.resizedAttached))})},s}),jQuery(document).on("vc-full-width-row-single vc-full-width-row",function(t,e){0<jQuery("body").find(".modula").length&&jQuery(window).trigger("modula-update")}),function(l,h,c,t){var s="modulaGallery",i={resizer:"/",margin:10,keepArea:!0,type:"creative-gallery",columns:12,gutter:10,enableTwitter:!1,enableFacebook:!1,enableGplus:!1,enablePinterest:!1,lazyLoad:0};function o(t,e){this.element=t,this.$element=l(t),this.$itemsCnt=this.$element.find(".items"),this.$items=this.$itemsCnt.find(".item"),this.options=l.extend({},i,e),this._defaults=i,this._name=s,this.tiles=[],this.$tilesCnt=null,this.completed=!1,this.lastWidth=0,this.resizeTO=0,this.isPackeryActive=!1,this.init()}o.prototype.trunc=function(t){return Math.trunc?Math.trunc(t):(t=+t,isFinite(t)?t-t%1||(t<0?-0:0===t?t:0):t)},o.prototype.createCustomGallery=function(){var r,t=this.$element.width(),a=this,d=this.options.columns,e=c.documentElement.clientWidth;"1"==this.options.enableResponsive&&(e<=568?d=this.options.mobileColumns:e<=768&&(d=this.options.tabletColumns)),r=0<this.options.gutter?a.trunc((t-this.options.gutter*d)/d):a.trunc(t/d),this.$items.not(".jtg-hidden").each(function(t,e){var i,n,s,o,h={};i=l(e).data("width"),n=l(e).data("height"),12<i&&(i=12),"1"==a.options.enableResponsive&&(s=i,o=n,1==d?n=(i=1)*o/s:((i=Math.round(d*s/12))<1&&(i=1),(n=Math.round(i*o/s))<1&&(n=1))),h.width=r*i+a.options.gutter*(i-1),h.height=r*n+a.options.gutter*(n-1),l(e).data("size",h).addClass("tiled").addClass(h.width>h.height?"tile-h":"tile-v").data("position"),l(e).css(l(e).data("size")),l(e).find(".figc").css({width:l(e).data("size").width,height:l(e).data("size").height})}),this.isPackeryActive&&this.$itemsCnt.packery("destroy"),this.$itemsCnt.packery({itemSelector:".item",gutter:parseInt(a.options.gutter),columnWidth:r,resize:!1}),this.isPackeryActive=!0},o.prototype.createGrid=function(){var n=this;this.options.width&&this.$itemsCnt.width(this.options.width),this.options.height&&this.$itemsCnt.height(this.options.height),this.$itemsCnt.data("area",this.$itemsCnt.width()*this.$itemsCnt.height()),this.lastWidth=this.$itemsCnt.width();for(var t=0;t<this.$items.not(".jtg-hidden").length;t++)this.tiles.push(n.getSlot());this.tiles.sort(function(t,e){return t.position-e.position}),this.$items.not(".jtg-hidden").each(function(t,e){var i=n.tiles[t];l(e).data("size",i).addClass("tiled").addClass(i.width>i.height?"tile-h":"tile-v").data("position")}),this.$items.each(function(t,e){l(e).css(l(e).data("size")),l(e).find(".figc").css({width:l(e).data("size").width,height:l(e).data("size").height})}),this.completed=!0},o.prototype.getSlot=function(){if(0==this.tiles.length)return i={top:0,left:0,width:this.$itemsCnt.width(),height:this.$itemsCnt.height(),area:this.$itemsCnt.width()*this.$itemsCnt.height(),position:0};for(var t=0,e=0;e<this.tiles.length;e++){(i=this.tiles[e]).area>this.tiles[t].area&&(t=e)}var i={},n=this.tiles[t];if(n.width>n.height){var s=n.width/2*this.options.randomFactor;n.prevWidth=n.width,n.width=Math.floor(n.width/2+s*(Math.random()-.5)),i={top:n.top,left:n.left+n.width+this.options.margin,width:n.prevWidth-n.width-this.options.margin,height:n.height}}else{s=n.height/2*this.options.randomFactor;n.prevHeight=n.height,n.height=Math.floor(n.height/2+s*(Math.random()-.5)),i={left:n.left,top:n.top+n.height+this.options.margin,width:n.width,height:n.prevHeight-n.height-this.options.margin}}return i.area=i.width*i.height,i.position=1e3*i.top+i.left,n.position=1e3*n.top+n.left,this.tiles[t]=n,this.tiles[t].area=n.width*n.height,i},o.prototype.reset=function(){var i=this;i.tiles=[],"custom-grid"===i.options.type?(i.createCustomGallery(),i.$itemsCnt.packery()):i.createGrid(),i.$itemsCnt.find(".pic").each(function(t,e){i.placeImage(t)}),i.lastWidth=i.$itemsCnt.width()},o.prototype.onResize=function(e){e.lastWidth!=e.$itemsCnt.width()&&(clearTimeout(e.resizeTO),e.resizeTO=setTimeout(function(){if(e.options.keepArea){var t=e.$itemsCnt.data("area");e.$itemsCnt.height(t/e.$itemsCnt.width())}e.reset()},100))},o.prototype.placeImage=function(t){var e=this.$items.eq(t),i=e.find(".pic"),n=e.data("size"),s=i.data("size"),o=n.width/n.height,h=s.width/s.height,r=i.data("valign")?i.data("valign"):"middle",a=i.data("halign")?i.data("halign"):"center",d={top:"auto",bottom:"auto",left:"auto",right:"auto",width:"auto",height:"auto",margin:"0",maxWidth:"999em"};if(h<o)switch(d.width=n.width,d.left=0,r){case"top":d.top=0;break;case"middle":d.top=0-(n.width*(1/h)-n.height)/2;break;case"bottom":d.bottom=0}else switch(d.height=n.height,d.top=0,a){case"left":d.left=0;break;case"center":d.left=0-(n.height*h-n.width)/2;break;case"right":d.right=0}i.css(d)},o.prototype.loadImage=function(t){var e=this,i=e.$items.eq(t).find(".pic"),n=new Image;n.onerror=function(){console.log("error loading image ["+t+"] : "+this.src),t+1<e.$items.length&&e.loadImage(t+1)},n.onload=function(){i.data("size",{width:this.width,height:this.height}),e.placeImage(t),e.$items.eq(t).addClass("tg-loaded"),t+1<e.$items.length&&e.loadImage(t+1)};var s=i.data("src");n.src=s,i.attr("src",s)},o.prototype.init=function(){var s=this;l(c).trigger("modula_api_before_init",[s]),this.$itemsCnt.css({position:"relative",zIndex:1}),this.$items.addClass("tile"),this.$items.find(".pic").removeAttr("src"),"custom-grid"===this.options.type?this.createCustomGallery():this.createGrid(),"1"!=s.options.lazyLoad&&this.loadImage(0),l(h).resize(function(){s.onResize(s)}),l(h).on("modula-update",function(){s.onResize(s)}),l(c).on("lazyloaded",function(t){var e,i,n=l(t.target);"modula"==n.data("source")&&(n.data("size",{width:n.width(),height:n.height()}),(e=n.parents(".item")).addClass("tg-loaded"),i=s.$items.index(e),s.placeImage(i))}),new ResizeSensor(s.$element,function(){s.onResize(s)}),this.setupSocial(),this.options.onComplete&&this.options.onComplete(),l(c).trigger("modula_api_after_init",[s])},o.prototype.setupSocial=function(){this.options.enableTwitter&&e(this.$items,this),this.options.enableFacebook&&n(this.$items,this),this.options.enableGplus&&a(this.$items,this),this.options.enablePinterest&&r(this.$items,this)};var e=function(t,n){t.find(".modula-icon-twitter").click(function(t){t.preventDefault();var e=l(this).parents(".tile:first").find(".caption"),i=n.options.twitterText||c.title;return!n.options.twitterText&&1==e.length&&0<e.text().length&&(i=l.trim(e.text())),h.open("https://twitter.com/intent/tweet?url="+encodeURI(location.href.split("#")[0])+"&text="+encodeURI(i),"ftgw","location=1,status=1,scrollbars=1,width=600,height=400").moveTo(screen.width/2-300,screen.height/2-200),!1})},n=function(t,s){t.find(".modula-icon-facebook").click(function(t){t.preventDefault();var e=l(this).parents(".tile:first").find(".pic"),i=l(this).parents(".tile:first").find(".caption");s.options.facebookText||c.title;!s.options.facebookText&&1==i.length&&0<i.text().length&&l.trim(i.text());e.attr("src");var n="//www.facebook.com/sharer.php?u="+location.href;return h.open(n,"ftgw","location=1,status=1,scrollbars=1,width=600,height=400").moveTo(screen.width/2-300,screen.height/2-200),!1})},r=function(t,o){t.find(".modula-icon-pinterest").click(function(t){t.preventDefault();var e=l(this).parents(".tile:first").find(".pic"),i=l(this).parents(".tile:first").find(".caption"),n=o.options.facebookText||c.title;!o.options.facebookText&&1==i.length&&0<i.text().length&&(n=l.trim(i.text()));var s="http://pinterest.com/pin/create/button/?url="+encodeURI(location.href)+"&description="+encodeURI(n);1==e.length&&(s+="&media="+function(t){var e=c.createElement("img");return e.src=t,t=e.src,e.src=null,t}(e.attr("src")));return h.open(s,"ftgw","location=1,status=1,scrollbars=1,width=600,height=400").moveTo(screen.width/2-300,screen.height/2-200),!1})},a=function(t,e){t.find(".modula-icon-google-plus").click(function(t){t.preventDefault();var e="https://plus.google.com/share?url="+encodeURI(location.href);return h.open(e,"ftgw","location=1,status=1,scrollbars=1,width=600,height=400").moveTo(screen.width/2-300,screen.height/2-200),!1})};l.fn[s]=function(e){var i,n=arguments;return void 0===e||"object"==typeof e?this.each(function(){l.data(this,"plugin_"+s)||l.data(this,"plugin_"+s,new o(this,e))}):"string"==typeof e&&"_"!==e[0]&&"init"!==e?(this.each(function(){var t=l.data(this,"plugin_"+s);t instanceof o&&"function"==typeof t[e]&&(i=t[e].apply(t,Array.prototype.slice.call(n,1))),"destroy"===e&&l.data(this,"plugin_"+s,null)}),void 0!==i?i:this):void 0}}(jQuery,window,document),jQuery(document).ready(function(i){var t=i(".modula-gallery");i.each(t,function(){var t=i(this).attr("id"),e=i(this).data("config");i("#"+t).modulaGallery(e)})});
1
+ function tg_getURLParameter(t){return decodeURIComponent((new RegExp("[?|&]"+t+"=([^&;]+?)(&|#|;|$)").exec(location.search)||[,""])[1].replace(/\+/g,"%20"))||null}!function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.ResizeSensor=e()}("undefined"!=typeof window?window:this,function(){if("undefined"==typeof window)return null;var v=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(t){return window.setTimeout(t,20)};function n(t,e){var i=Object.prototype.toString.call(t),n="[object Array]"===i||"[object NodeList]"===i||"[object HTMLCollection]"===i||"[object Object]"===i||"undefined"!=typeof jQuery&&t instanceof jQuery||"undefined"!=typeof Elements&&t instanceof Elements,o=0,s=t.length;if(n)for(;o<s;o++)e(t[o]);else e(t)}function y(t){if(!t.getBoundingClientRect)return{width:t.offsetWidth,height:t.offsetHeight};var e=t.getBoundingClientRect();return{width:Math.round(e.width),height:Math.round(e.height)}}var o=function(e,i){function w(){var i,n,o=[];this.add=function(t){o.push(t)},this.call=function(){for(i=0,n=o.length;i<n;i++)o[i].call()},this.remove=function(t){var e=[];for(i=0,n=o.length;i<n;i++)o[i]!==t&&e.push(o[i]);o=e},this.length=function(){return o.length}}n(e,function(t){!function(n,t){if(n)if(n.resizedAttached)n.resizedAttached.add(t);else{n.resizedAttached=new w,n.resizedAttached.add(t),n.resizeSensor=document.createElement("div"),n.resizeSensor.dir="ltr",n.resizeSensor.className="resize-sensor";var e="position: absolute; left: -10px; top: -10px; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;",i="position: absolute; left: 0; top: 0; transition: 0s;";n.resizeSensor.style.cssText=e,n.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="'+e+'"><div style="'+i+'"></div></div><div class="resize-sensor-shrink" style="'+e+'"><div style="'+i+' width: 200%; height: 200%"></div></div>',n.appendChild(n.resizeSensor);var o=window.getComputedStyle(n).getPropertyPriority("position");"absolute"!==o&&"relative"!==o&&"fixed"!==o&&(n.style.position="relative");var s,h,r=n.resizeSensor.childNodes[0],a=r.childNodes[0],d=n.resizeSensor.childNodes[1],l=y(n),c=l.width,u=l.height,p=function(){var t=0===n.offsetWidth&&0===n.offsetHeight;if(t){var e=n.style.display;n.style.display="block"}a.style.width="100000px",a.style.height="100000px",r.scrollLeft=1e5,r.scrollTop=1e5,d.scrollLeft=1e5,d.scrollTop=1e5,t&&(n.style.display=e)};n.resizeSensor.resetSensor=p;var f=function(){h=0,s&&(u=c=void 0,n.resizedAttached&&n.resizedAttached.call())},g=function(){var t=y(n),e=t.width,i=t.height;(s=e!=c||i!=u)&&!h&&(h=v(f)),p()},m=function(t,e,i){t.attachEvent?t.attachEvent("on"+e,i):t.addEventListener(e,i)};m(r,"scroll",g),m(d,"scroll",g),v(p)}}(t,i)}),this.detach=function(t){o.detach(e,t)},this.reset=function(){e.resizeSensor.resetSensor()}};return o.reset=function(t,e){n(t,function(t){t.resizeSensor.resetSensor()})},o.detach=function(t,e){n(t,function(t){t&&(t.resizedAttached&&"function"==typeof e&&(t.resizedAttached.remove(e),t.resizedAttached.length())||t.resizeSensor&&(t.contains(t.resizeSensor)&&t.removeChild(t.resizeSensor),delete t.resizeSensor,delete t.resizedAttached))})},o}),jQuery(document).on("vc-full-width-row-single vc-full-width-row",function(t,e){0<jQuery("body").find(".modula").length&&jQuery(window).trigger("modula-update")}),function(l,h,c,t){var o="modulaGallery",i={resizer:"/",margin:10,keepArea:!0,type:"creative-gallery",columns:12,gutter:10,enableTwitter:!1,enableFacebook:!1,enableGplus:!1,enablePinterest:!1,enableLinkedin:!1,lazyLoad:0};function s(t,e){this.element=t,this.$element=l(t),this.$itemsCnt=this.$element.find(".items"),this.$items=this.$itemsCnt.find(".item"),this.options=l.extend({},i,e),this._defaults=i,this._name=o,this.tiles=[],this.$tilesCnt=null,this.completed=!1,this.lastWidth=0,this.resizeTO=0,this.isPackeryActive=!1,this.init()}s.prototype.trunc=function(t){return Math.trunc?Math.trunc(t):(t=+t,isFinite(t)?t-t%1||(t<0?-0:0===t?t:0):t)},s.prototype.createCustomGallery=function(){var r,t=this.$element.width(),a=this,d=this.options.columns,e=c.documentElement.clientWidth;"1"==this.options.enableResponsive&&(e<=568?d=this.options.mobileColumns:e<=768&&(d=this.options.tabletColumns)),r=0<this.options.gutter?(t-this.options.gutter*(d-1))/d:Math.floor(t/d),this.$items.not(".jtg-hidden").each(function(t,e){var i,n,o,s,h={};i=l(e).data("width"),n=l(e).data("height"),12<i&&(i=12),"1"==a.options.enableResponsive&&(o=i,s=n,1==d?n=(i=1)*s/o:((i=Math.round(d*o/12))<1&&(i=1),(n=Math.round(i*s/o))<1&&(n=1))),h.width=r*i+a.options.gutter*(i-1),h.height=r*n+a.options.gutter*(n-1),l(e).data("size",h).addClass("tiled").addClass(h.width>h.height?"tile-h":"tile-v").data("position"),l(e).css(l(e).data("size")),l(e).find(".figc").css({width:l(e).data("size").width,height:l(e).data("size").height})}),this.isPackeryActive&&this.$itemsCnt.packery("destroy"),this.$itemsCnt.packery({itemSelector:".item",gutter:parseInt(a.options.gutter),columnWidth:r,resize:!1}),this.isPackeryActive=!0},s.prototype.createGrid=function(){var n=this;this.options.width&&this.$itemsCnt.width(this.options.width),this.options.height&&this.$itemsCnt.height(this.options.height),this.$itemsCnt.data("area",this.$itemsCnt.width()*this.$itemsCnt.height()),this.lastWidth=this.$itemsCnt.width();for(var t=0;t<this.$items.not(".jtg-hidden").length;t++)this.tiles.push(n.getSlot());this.tiles.sort(function(t,e){return t.position-e.position}),this.$items.not(".jtg-hidden").each(function(t,e){var i=n.tiles[t];l(e).data("size",i).addClass("tiled").addClass(i.width>i.height?"tile-h":"tile-v").data("position")}),this.$items.each(function(t,e){l(e).css(l(e).data("size")),l(e).find(".figc").css({width:l(e).data("size").width,height:l(e).data("size").height})}),this.completed=!0},s.prototype.getSlot=function(){if(0==this.tiles.length)return i={top:0,left:0,width:this.$itemsCnt.width(),height:this.$itemsCnt.height(),area:this.$itemsCnt.width()*this.$itemsCnt.height(),position:0};for(var t=0,e=0;e<this.tiles.length;e++){(i=this.tiles[e]).area>this.tiles[t].area&&(t=e)}var i={},n=this.tiles[t];if(n.width>n.height){var o=n.width/2*this.options.randomFactor;n.prevWidth=n.width,n.width=Math.floor(n.width/2+o*(Math.random()-.5)),i={top:n.top,left:n.left+n.width+this.options.margin,width:n.prevWidth-n.width-this.options.margin,height:n.height}}else{o=n.height/2*this.options.randomFactor;n.prevHeight=n.height,n.height=Math.floor(n.height/2+o*(Math.random()-.5)),i={left:n.left,top:n.top+n.height+this.options.margin,width:n.width,height:n.prevHeight-n.height-this.options.margin}}return i.area=i.width*i.height,i.position=1e3*i.top+i.left,n.position=1e3*n.top+n.left,this.tiles[t]=n,this.tiles[t].area=n.width*n.height,i},s.prototype.reset=function(){var i=this;i.tiles=[],"custom-grid"===i.options.type?(i.createCustomGallery(),i.$itemsCnt.packery()):i.createGrid(),i.$itemsCnt.find(".pic").each(function(t,e){i.placeImage(t)}),i.lastWidth=i.$itemsCnt.width()},s.prototype.onResize=function(e){e.lastWidth!=e.$itemsCnt.width()&&(clearTimeout(e.resizeTO),e.resizeTO=setTimeout(function(){if(e.options.keepArea){var t=e.$itemsCnt.data("area");e.$itemsCnt.height(t/e.$itemsCnt.width())}e.reset()},100))},s.prototype.placeImage=function(t){var e=this.$items.eq(t),i=e.find(".pic"),n=e.data("size"),o=i.data("size"),s=n.width/n.height,h=o.width/o.height,r=i.data("valign")?i.data("valign"):"middle",a=i.data("halign")?i.data("halign"):"center",d={top:"auto",bottom:"auto",left:"auto",right:"auto",width:"auto",height:"auto",margin:"0",maxWidth:"999em"};if(h<s)switch(d.width=n.width,d.left=0,r){case"top":d.top=0;break;case"middle":d.top=0-(n.width*(1/h)-n.height)/2;break;case"bottom":d.bottom=0}else switch(d.height=n.height,d.top=0,a){case"left":d.left=0;break;case"center":d.left=0-(n.height*h-n.width)/2;break;case"right":d.right=0}i.css(d)},s.prototype.loadImage=function(t){var e=this,i=e.$items.eq(t).find(".pic"),n=new Image;n.onerror=function(){console.log("error loading image ["+t+"] : "+this.src),t+1<e.$items.length&&e.loadImage(t+1)},n.onload=function(){i.data("size",{width:this.width,height:this.height}),e.placeImage(t),e.$items.eq(t).addClass("tg-loaded"),t+1<e.$items.length&&e.loadImage(t+1)};var o=i.data("src");n.src=o,i.attr("src",o)},s.prototype.init=function(){var o=this;l(c).trigger("modula_api_before_init",[o]),this.$itemsCnt.css({position:"relative",zIndex:1}),this.$items.addClass("tile"),this.$items.find(".pic").removeAttr("src"),"custom-grid"===this.options.type?this.createCustomGallery():this.createGrid(),"1"!=o.options.lazyLoad&&this.loadImage(0),l(h).resize(function(){o.onResize(o)}),l(h).on("modula-update",function(){o.onResize(o)}),l(c).on("lazyloaded",function(t){var e,i,n=l(t.target);"modula"==n.data("source")&&(n.data("size",{width:n.width(),height:n.height()}),(e=n.parents(".item")).addClass("tg-loaded"),i=o.$items.index(e),o.placeImage(i))}),new ResizeSensor(o.$element,function(){o.onResize(o)}),this.setupSocial(),this.options.onComplete&&this.options.onComplete(),l(c).trigger("modula_api_after_init",[o])},s.prototype.setupSocial=function(){this.options.enableTwitter&&e(this.$items,this),this.options.enableFacebook&&n(this.$items,this),this.options.enablePinterest&&r(this.$items,this),this.options.enableLinkedin&&a(this.$items,this)};var e=function(t,n){t.find(".modula-icon-twitter").click(function(t){t.preventDefault();var e=l(this).parents(".tile:first").find(".caption"),i=n.options.twitterText||c.title;return!n.options.twitterText&&1==e.length&&0<e.text().length&&(i=l.trim(e.text())),h.open("https://twitter.com/intent/tweet?url="+encodeURI(location.href.split("#")[0])+"&text="+encodeURI(i),"ftgw","location=1,status=1,scrollbars=1,width=600,height=400").moveTo(screen.width/2-300,screen.height/2-200),!1})},n=function(t,o){t.find(".modula-icon-facebook").click(function(t){t.preventDefault();var e=l(this).parents(".tile:first").find(".pic"),i=l(this).parents(".tile:first").find(".caption");o.options.facebookText||c.title;!o.options.facebookText&&1==i.length&&0<i.text().length&&l.trim(i.text());e.attr("src");var n="//www.facebook.com/sharer.php?u="+location.href;return h.open(n,"ftgw","location=1,status=1,scrollbars=1,width=600,height=400").moveTo(screen.width/2-300,screen.height/2-200),!1})},r=function(t,s){t.find(".modula-icon-pinterest").click(function(t){t.preventDefault();var e=l(this).parents(".tile:first").find(".pic"),i=l(this).parents(".tile:first").find(".caption"),n=s.options.facebookText||c.title;!s.options.facebookText&&1==i.length&&0<i.text().length&&(n=l.trim(i.text()));var o="http://pinterest.com/pin/create/button/?url="+encodeURI(location.href)+"&description="+encodeURI(n);1==e.length&&(o+="&media="+function(t){var e=c.createElement("img");return e.src=t,t=e.src,e.src=null,t}(e.attr("src")));return h.open(o,"ftgw","location=1,status=1,scrollbars=1,width=600,height=400").moveTo(screen.width/2-300,screen.height/2-200),!1})},a=function(t,e){t.find(".modula-icon-linkedin").click(function(t){t.preventDefault();var e="//linkedin.com/shareArticle?mini=true&url="+ +encodeURI(location.href);return h.open(e,"ftgw","location=1,status=1,scrollbars=1,width=600,height=400").moveTo(screen.width/2-300,screen.height/2-200),!1})};l.fn[o]=function(e){var i,n=arguments;return void 0===e||"object"==typeof e?this.each(function(){l.data(this,"plugin_"+o)||l.data(this,"plugin_"+o,new s(this,e))}):"string"==typeof e&&"_"!==e[0]&&"init"!==e?(this.each(function(){var t=l.data(this,"plugin_"+o);t instanceof s&&"function"==typeof t[e]&&(i=t[e].apply(t,Array.prototype.slice.call(n,1))),"destroy"===e&&l.data(this,"plugin_"+o,null)}),void 0!==i?i:this):void 0}}(jQuery,window,document),jQuery(document).ready(function(i){var t=i(".modula-gallery");i.each(t,function(){var t=i(this).attr("id"),e=i(this).data("config");i("#"+t).modulaGallery(e)})});
assets/js/lightbox.js CHANGED
@@ -28,588 +28,665 @@
28
}
29
}(this, function ($) {
30
31
- function Lightbox(options) {
32
- this.album = [];
33
- this.currentImageIndex = void 0;
34
- this.init();
35
-
36
- // options
37
- this.options = $.extend({}, this.constructor.defaults);
38
- this.option(options);
39
- }
40
-
41
- // Descriptions of all options available on the demo site:
42
- // http://lokeshdhakar.com/projects/lightbox2/index.html#options
43
- Lightbox.defaults = {
44
- albumLabel: 'Image %1 of %2',
45
- showNavigation: true,
46
- showNavigationOnMobile: false,
47
- fadeDuration: 600,
48
- fitImagesInViewport: true,
49
- imageFadeDuration: 600,
50
- // maxWidth: 800,
51
- // maxHeight: 600,
52
- positionFromTop: 50,
53
- resizeDuration: 700,
54
- showImageNumberLabel: true,
55
- wrapAround: false,
56
- disableScrolling: false,
57
- enableSwipeOnTouchDevices: true,
58
- /*
59
- Sanitize Title
60
- If the caption data is trusted, for example you are hardcoding it in, then leave this to false.
61
- This will free you to add html tags, such as links, in the caption.
62
-
63
- If the caption data is user submitted or from some other untrusted source, then set this to true
64
- to prevent xss and other injection attacks.
65
- */
66
- sanitizeTitle: false
67
- };
68
-
69
- Lightbox.prototype.option = function(options) {
70
- $.extend(this.options, options);
71
- };
72
-
73
- Lightbox.prototype.imageCountLabel = function(currentImageNum, totalImages) {
74
- return this.options.albumLabel.replace(/%1/g, currentImageNum).replace(/%2/g, totalImages);
75
- };
76
-
77
- Lightbox.prototype.mobilecheck = function() {
78
- var check = false;
79
- (function(a){if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4))) check = true;})(navigator.userAgent||navigator.vendor||window.opera);
80
- return check;
81
- };
82
-
83
- Lightbox.prototype.init = function() {
84
- var self = this;
85
- // Both enable and build methods require the body tag to be in the DOM.
86
- $(document).ready(function() {
87
- self.enable();
88
- self.build();
89
- });
90
- };
91
-
92
- // Loop through anchors and areamaps looking for either data-lightbox attributes or rel attributes
93
- // that contain 'lightbox'. When these are clicked, start lightbox.
94
- Lightbox.prototype.enable = function() {
95
- var self = this;
96
- $('body').on('click', 'a[rel^=lightbox], area[rel^=lightbox], a[data-lightbox], area[data-lightbox]', function(event) {
97
- self.start($(event.currentTarget));
98
- return false;
99
- });
100
- };
101
-
102
- Lightbox.prototype.swipedetect = function(el, callback){
103
-
104
- var touchsurface = el,
105
- swipedir,
106
- startX,
107
- startY,
108
- distX,
109
- distY,
110
- threshold = 1, //required min distance traveled to be considered swipe
111
- restraint = 100, // maximum distance allowed at the same time in perpendicular direction
112
- allowedTime = 300, // maximum time allowed to travel that distance
113
- elapsedTime,
114
- startTime,
115
- handleswipe = callback || function(swipedir){}
116
-
117
- touchsurface.addEventListener('touchstart', function(e){
118
- var touchobj = e.changedTouches[0]
119
- swipedir = 'none'
120
- dist = 0
121
- startX = touchobj.pageX
122
- startY = touchobj.pageY
123
- startTime = new Date().getTime() // record time when finger first makes contact with surface
124
- e.preventDefault();
125
- }, false)
126
-
127
- touchsurface.addEventListener('touchmove', function(e){
128
- e.preventDefault() // prevent scrolling when inside DIV
129
- }, false)
130
-
131
- touchsurface.addEventListener('touchend', function(e){
132
- var touchobj = e.changedTouches[0]
133
- distX = touchobj.pageX - startX // get horizontal dist traveled by finger while in contact with surface
134
- distY = touchobj.pageY - startY // get vertical dist traveled by finger while in contact with surface
135
- elapsedTime = new Date().getTime() - startTime // get time elapsed
136
- if (elapsedTime <= allowedTime){ // first condition for awipe met
137
- if (Math.abs(distX) >= threshold && Math.abs(distY) <= restraint){ // 2nd condition for horizontal swipe met
138
- swipedir = (distX < 0)? 'left' : 'right' // if dist traveled is negative, it indicates left swipe
139
- }
140
- else if (Math.abs(distY) >= threshold && Math.abs(distX) <= restraint){ // 2nd condition for vertical swipe met
141
- swipedir = (distY < 0)? 'up' : 'down' // if dist traveled is negative, it indicates up swipe
142
- }
143
- }
144
-
145
- if ( 'none' == swipedir ) {
146
- var el = $( e.target );
147
- if ( el.hasClass( 'lb-prev' ) ) {
148
- swipedir = 'left';
149
- }else if ( el.hasClass( 'lb-next' ) ) {
150
- swipedir = 'right';
151
- }
152
- }
153
- handleswipe(swipedir);
154
- e.preventDefault()
155
- }, false)
156
- };
157
-
158
- // Build html for the lightbox and the overlay.
159
- // Attach event handlers to the new DOM elements. click click click
160
- Lightbox.prototype.build = function() {
161
- if ($('#lightbox').length > 0) {
162
- return;
163
}
164
165
- var self = this;
166
- $('<div id="lightboxOverlay" class="lightboxOverlay"></div><div id="lightbox" class="lightbox"><div class="lb-outerContainer"><div class="lb-container"><img class="lb-image" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" /><div class="lb-nav"><a class="lb-prev" href="" ></a><a class="lb-next" href="" ></a></div><div class="lb-loader"><a class="lb-cancel"></a></div></div></div><div class="lb-dataContainer"><div class="lb-data"><div class="lb-details"><span class="lb-caption"></span><span class="lb-number"></span></div><div class="lb-closeContainer"><a class="lb-close"></a></div></div></div></div>').appendTo($('body'));
167
-
168
- // Cache jQuery objects
169
- this.$lightbox = $('#lightbox');
170
- this.$overlay = $('#lightboxOverlay');
171
- this.$outerContainer = this.$lightbox.find('.lb-outerContainer');
172
- this.$container = this.$lightbox.find('.lb-container');
173
- this.$image = this.$lightbox.find('.lb-image');
174
- this.$nav = this.$lightbox.find('.lb-nav');
175
-
176
- // Store css values for future lookup
177
- this.containerPadding = {
178
- top: parseInt(this.$container.css('padding-top'), 10),
179
- right: parseInt(this.$container.css('padding-right'), 10),
180
- bottom: parseInt(this.$container.css('padding-bottom'), 10),
181
- left: parseInt(this.$container.css('padding-left'), 10)
182
};
183
184
- this.imageBorderWidth = {
185
- top: parseInt(this.$image.css('border-top-width'), 10),
186
- right: parseInt(this.$image.css('border-right-width'), 10),
187
- bottom: parseInt(this.$image.css('border-bottom-width'), 10),
188
- left: parseInt(this.$image.css('border-left-width'), 10)
189
};
190
191
- // Attach event handlers to the newly minted DOM elements
192
- this.$overlay.hide().on('click', function() {
193
- self.end();
194
- return false;
195
- });
196
-
197
- this.$lightbox.hide().on('click', function(event) {
198
- if ($(event.target).attr('id') === 'lightbox') {
199
- self.end();
200
- }
201
- return false;
202
- });
203
-
204
- this.$outerContainer.on('click', function(event) {
205
- if ($(event.target).attr('id') === 'lightbox') {
206
- self.end();
207
- }
208
- return false;
209
- });
210
-
211
- this.$lightbox.find('.lb-prev').on('click', function() {
212
- if (self.currentImageIndex === 0) {
213
- self.changeImage(self.album.length - 1);
214
- } else {
215
- self.changeImage(self.currentImageIndex - 1);
216
- }
217
- return false;
218
- });
219
-
220
- this.$lightbox.find('.lb-next').on('click', function() {
221
- if (self.currentImageIndex === self.album.length - 1) {
222
- self.changeImage(0);
223
- } else {
224
- self.changeImage(self.currentImageIndex + 1);
225
- }
226
- return false;
227
- });
228
-
229
- var lightboxContainer = this.$lightbox.find('.lb-container')[0];
230
- self.swipedetect( lightboxContainer, function( swipedir ){
231
- // swipedir contains either "none", "left", "right", "top", or "down"
232
- if ( 'left' == swipedir ) {
233
-
234
- if (self.currentImageIndex === 0) {
235
- self.changeImage(self.album.length - 1);
236
- } else {
237
- self.changeImage(self.currentImageIndex - 1);
238
- }
239
-
240
- }else if ( 'right' == swipedir ) {
241
- if (self.currentImageIndex === self.album.length - 1) {
242
- self.changeImage(0);
243
- } else {
244
- self.changeImage(self.currentImageIndex + 1);
245
- }
246
- }
247
248
- });
249
-
250
- /*
251
- Show context menu for image on right-click
252
-
253
- There is a div containing the navigation that spans the entire image and lives above of it. If
254
- you right-click, you are right clicking this div and not the image. This prevents users from
255
- saving the image or using other context menu actions with the image.
256
-
257
- To fix this, when we detect the right mouse button is pressed down, but not yet clicked, we
258
- set pointer-events to none on the nav div. This is so that the upcoming right-click event on
259
- the next mouseup will bubble down to the image. Once the right-click/contextmenu event occurs
260
- we set the pointer events back to auto for the nav div so it can capture hover and left-click
261
- events as usual.
262
- */
263
- this.$nav.on('mousedown', function(event) {
264
- if (event.which === 3) {
265
- self.$nav.css('pointer-events', 'none');
266
-
267
- self.$lightbox.one('contextmenu', function() {
268
- setTimeout(function() {
269
- this.$nav.css('pointer-events', 'auto');
270
- }.bind(self), 0);
271
});
272
- }
273
- });
274
275
276
- this.$lightbox.find('.lb-loader, .lb-close').on('click', function() {
277
- self.end();
278
- return false;
279
- });
280
- };
281
282
- // Show overlay and lightbox. If the image is part of a set, add siblings to album array.
283
- Lightbox.prototype.start = function($link) {
284
- var self = this;
285
- var $window = $(window);
286
287
- $window.on('resize', $.proxy(this.sizeOverlay, this));
288
289
- $('select, object, embed').css({
290
- visibility: 'hidden'
291
- });
292
293
- this.sizeOverlay();
294
295
- this.album = [];
296
- var imageNumber = 0;
297
298
- function addToAlbum($link) {
299
- self.album.push({
300
- alt: $link.attr('data-alt'),
301
- link: $link.attr('href'),
302
- title: $link.attr('data-title') || $link.attr('title')
303
- });
304
- }
305
306
- // Support both data-lightbox attribute and rel attribute implementations
307
- var dataLightboxValue = $link.attr('data-lightbox');
308
- var $links;
309
310
- if (dataLightboxValue) {
311
- $links = $($link.prop('tagName') + '[data-lightbox="' + dataLightboxValue + '"]');
312
- for (var i = 0; i < $links.length; i = ++i) {
313
- addToAlbum($($links[i]));
314
- if ($links[i] === $link[0]) {
315
- imageNumber = i;
316
- }
317
- }
318
- } else {
319
- if ($link.attr('rel') === 'lightbox') {
320
- // If image is not part of a set
321
- addToAlbum($link);
322
- } else {
323
- // If image is part of a set
324
- $links = $($link.prop('tagName') + '[rel="' + $link.attr('rel') + '"]');
325
- for (var j = 0; j < $links.length; j = ++j) {
326
- addToAlbum($($links[j]));
327
- if ($links[j] === $link[0]) {
328
- imageNumber = j;
329
- }
330
- }
331
- }
332
- }
333
334
- // Position Lightbox
335
- var top = $window.scrollTop() + this.options.positionFromTop;
336
- var left = $window.scrollLeft();
337
- this.$lightbox.css({
338
- top: top + 'px',
339
- left: left + 'px'
340
- }).fadeIn(this.options.fadeDuration);
341
-
342
- // Disable scrolling of the page while open
343
- if (this.options.disableScrolling) {
344
- $('html').addClass('lb-disable-scrolling');
345
- }
346
347
- this.changeImage(imageNumber);
348
- };
349
350
- // Hide most UI elements in preparation for the animated resizing of the lightbox.
351
- Lightbox.prototype.changeImage = function(imageNumber) {
352
- var self = this;
353
354
- this.disableKeyboardNav();
355
- var $image = this.$lightbox.find('.lb-image');
356
357
- this.$overlay.fadeIn(this.options.fadeDuration);
358
359
- $('.lb-loader').fadeIn('slow');
360
- this.$lightbox.find('.lb-image, .lb-nav, .lb-prev, .lb-next, .lb-dataContainer, .lb-numbers, .lb-caption').hide();
361
362
- this.$outerContainer.addClass('animating');
363
364
- // When image to show is preloaded, we send the width and height to sizeContainer()
365
- var preloader = new Image();
366
- preloader.onload = function() {
367
- var $preloader;
368
- var imageHeight;
369
- var imageWidth;
370
- var maxImageHeight;
371
- var maxImageWidth;
372
- var windowHeight;
373
- var windowWidth;
374
375
- $image.attr({
376
- 'alt': self.album[imageNumber].alt,
377
- 'src': self.album[imageNumber].link
378
- });
379
380
- $preloader = $(preloader);
381
382
- $image.width(preloader.width);
383
- $image.height(preloader.height);
384
385
- if (self.options.fitImagesInViewport) {
386
- // Fit image inside the viewport.
387
- // Take into account the border around the image and an additional 10px gutter on each side.
388
389
- windowWidth = $(window).width();
390
- windowHeight = $(window).height();
391
- maxImageWidth = windowWidth - self.containerPadding.left - self.containerPadding.right - self.imageBorderWidth.left - self.imageBorderWidth.right - 20;
392
- maxImageHeight = windowHeight - self.containerPadding.top - self.containerPadding.bottom - self.imageBorderWidth.top - self.imageBorderWidth.bottom - 120;
393
394
- // Check if image size is larger then maxWidth|maxHeight in settings
395
- if (self.options.maxWidth && self.options.maxWidth < maxImageWidth) {
396
- maxImageWidth = self.options.maxWidth;
397
}
398
- if (self.options.maxHeight && self.options.maxHeight < maxImageWidth) {
399
- maxImageHeight = self.options.maxHeight;
400
}
401
402
- // Is the current image's width or height is greater than the maxImageWidth or maxImageHeight
403
- // option than we need to size down while maintaining the aspect ratio.
404
- if ((preloader.width > maxImageWidth) || (preloader.height > maxImageHeight)) {
405
- if ((preloader.width / maxImageWidth) > (preloader.height / maxImageHeight)) {
406
- imageWidth = maxImageWidth;
407
- imageHeight = parseInt(preloader.height / (preloader.width / imageWidth), 10);
408
- $image.width(imageWidth);
409
- $image.height(imageHeight);
410
- } else {
411
- imageHeight = maxImageHeight;
412
- imageWidth = parseInt(preloader.width / (preloader.height / imageHeight), 10);
413
- $image.width(imageWidth);
414
- $image.height(imageHeight);
415
- }
416
}
417
- }
418
- self.sizeContainer($image.width(), $image.height());
419
};
420
421
- preloader.src = this.album[imageNumber].link;
422
- this.currentImageIndex = imageNumber;
423
- };
424
-
425
- // Stretch overlay to fit the viewport
426
- Lightbox.prototype.sizeOverlay = function() {
427
- this.$overlay
428
- .width($(document).width())
429
- .height($(document).height());
430
- };
431
-
432
- // Animate the size of the lightbox to fit the image we are showing
433
- Lightbox.prototype.sizeContainer = function(imageWidth, imageHeight) {
434
- var self = this;
435
-
436
- var oldWidth = this.$outerContainer.outerWidth();
437
- var oldHeight = this.$outerContainer.outerHeight();
438
- var newWidth = imageWidth + this.containerPadding.left + this.containerPadding.right + this.imageBorderWidth.left + this.imageBorderWidth.right;
439
- var newHeight = imageHeight + this.containerPadding.top + this.containerPadding.bottom + this.imageBorderWidth.top + this.imageBorderWidth.bottom;
440
-
441
- function postResize() {
442
- self.$lightbox.find('.lb-dataContainer').width(newWidth);
443
- self.$lightbox.find('.lb-prevLink').height(newHeight);
444
- self.$lightbox.find('.lb-nextLink').height(newHeight);
445
- self.showImage();
446
- }
447
448
- if (oldWidth !== newWidth || oldHeight !== newHeight) {
449
- this.$outerContainer.animate({
450
- width: newWidth,
451
- height: newHeight
452
- }, this.options.resizeDuration, 'swing', function() {
453
- postResize();
454
- });
455
- } else {
456
- postResize();
457
- }
458
- };
459
-
460
- // Display the image and its details and begin preload neighboring images.
461
- Lightbox.prototype.showImage = function() {
462
- this.$lightbox.find('.lb-loader').stop(true).hide();
463
- this.$lightbox.find('.lb-image').fadeIn(this.options.imageFadeDuration);
464
-
465
- this.updateNav();
466
- this.updateDetails();
467
- this.preloadNeighboringImages();
468
- this.enableKeyboardNav();
469
- };
470
-
471
- // Display previous and next navigation if appropriate.
472
- Lightbox.prototype.updateNav = function() {
473
- // Check to see if the browser supports touch events. If so, we take the conservative approach
474
- // and assume that mouse hover events are not supported and always show prev/next navigation
475
- // arrows in image sets.
476
- var showNav = (this.options.showNavigation) ? true : false,
477
- alwaysShowNav = false,
478
- enableSwipe = false;
479
- try {
480
- document.createEvent('TouchEvent');
481
- enableSwipe = (this.options.enableSwipeOnTouchDevices)? true: false;
482
- alwaysShowNav = true;
483
- } catch (e) {}
484
-
485
- if ( this.mobilecheck() ) {
486
- showNav = (this.options.showNavigationOnMobile) ? true : false;
487
- }
488
489
- if ( showNav ) {
490
- this.$lightbox.find('.lb-nav').show();
491
492
- if (this.album.length > 1) {
493
- if (this.options.wrapAround) {
494
- if (alwaysShowNav) {
495
- this.$lightbox.find('.lb-prev, .lb-next').css('opacity', '1');
496
- }
497
- this.$lightbox.find('.lb-prev, .lb-next').show();
498
} else {
499
- if (this.currentImageIndex > 0) {
500
- this.$lightbox.find('.lb-prev').show();
501
- if (alwaysShowNav) {
502
- this.$lightbox.find('.lb-prev').css('opacity', '1');
503
}
504
- }
505
- if (this.currentImageIndex < this.album.length - 1) {
506
- this.$lightbox.find('.lb-next').show();
507
- if (alwaysShowNav) {
508
- this.$lightbox.find('.lb-next').css('opacity', '1');
509
}
510
- }
511
}
512
- }
513
- }else{
514
- this.$lightbox.find('.lb-nav').hide();
515
- }
516
- };
517
-
518
- // Display caption, image number, and closing button.
519
- Lightbox.prototype.updateDetails = function() {
520
- var self = this;
521
-
522
- // Enable anchor clicks in the injected caption html.
523
- // Thanks Nate Wright for the fix. @https://github.com/NateWr
524
- if (typeof this.album[this.currentImageIndex].title !== 'undefined' &&
525
- this.album[this.currentImageIndex].title !== '') {
526
- var $caption = this.$lightbox.find('.lb-caption');
527
- if (this.options.sanitizeTitle) {
528
- $caption.text(this.album[this.currentImageIndex].title);
529
- } else {
530
- $caption.html(this.album[this.currentImageIndex].title);
531
- }
532
- $caption.fadeIn('fast')
533
- .find('a').on('click', function(event) {
534
- if ($(this).attr('target') !== undefined) {
535
- window.open($(this).attr('href'), $(this).attr('target'));
536
- } else {
537
- location.href = $(this).attr('href');
538
- }
539
});
540
- }
541
542
- if (this.album.length > 1 && this.options.showImageNumberLabel) {
543
- var labelText = this.imageCountLabel(this.currentImageIndex + 1, this.album.length);
544
- this.$lightbox.find('.lb-number').text(labelText).fadeIn('fast');
545
- } else {
546
- this.$lightbox.find('.lb-number').hide();
547
- }
548
549
- this.$outerContainer.removeClass('animating');
550
551
- this.$lightbox.find('.lb-dataContainer').fadeIn(this.options.resizeDuration, function() {
552
- return self.sizeOverlay();
553
- });
554
- };
555
556
- // Preload previous and next images in set.
557
- Lightbox.prototype.preloadNeighboringImages = function() {
558
- if (this.album.length > this.currentImageIndex + 1) {
559
- var preloadNext = new Image();
560
- preloadNext.src = this.album[this.currentImageIndex + 1].link;
561
- }
562
- if (this.currentImageIndex > 0) {
563
- var preloadPrev = new Image();
564
- preloadPrev.src = this.album[this.currentImageIndex - 1].link;
565
- }
566
- };
567
-
568
- Lightbox.prototype.enableKeyboardNav = function() {
569
- $(document).on('keyup.keyboard', $.proxy(this.keyboardAction, this));
570
- };
571
-
572
- Lightbox.prototype.disableKeyboardNav = function() {
573
- $(document).off('.keyboard');
574
- };
575
-
576
- Lightbox.prototype.keyboardAction = function(event) {
577
- var KEYCODE_ESC = 27;
578
- var KEYCODE_LEFTARROW = 37;
579
- var KEYCODE_RIGHTARROW = 39;
580
-
581
- var keycode = event.keyCode;
582
- var key = String.fromCharCode(keycode).toLowerCase();
583
- if (keycode === KEYCODE_ESC || key.match(/x|o|c/)) {
584
- this.end();
585
- } else if (key === 'p' || keycode === KEYCODE_LEFTARROW) {
586
- if (this.currentImageIndex !== 0) {
587
- this.changeImage(this.currentImageIndex - 1);
588
- } else if (this.options.wrapAround && this.album.length > 1) {
589
- this.changeImage(this.album.length - 1);
590
- }
591
- } else if (key === 'n' || keycode === KEYCODE_RIGHTARROW) {
592
- if (this.currentImageIndex !== this.album.length - 1) {
593
- this.changeImage(this.currentImageIndex + 1);
594
- } else if (this.options.wrapAround && this.album.length > 1) {
595
- this.changeImage(0);
596
- }
597
- }
598
- };
599
-
600
- // Closing time. :-(
601
- Lightbox.prototype.end = function() {
602
- this.disableKeyboardNav();
603
- $(window).off('resize', this.sizeOverlay);
604
- this.$lightbox.fadeOut(this.options.fadeDuration);
605
- this.$overlay.fadeOut(this.options.fadeDuration);
606
- $('select, object, embed').css({
607
- visibility: 'visible'
608
- });
609
- if (this.options.disableScrolling) {
610
- $('html').removeClass('lb-disable-scrolling');
611
- }
612
- };
613
614
- return new Lightbox();
615
}));
28
}
29
}(this, function ($) {
30
31
+ function Lightbox(options) {
32
+ this.album = [];
33
+ this.currentImageIndex = void 0;
34
+ this.init();
35
+
36
+ // options
37
+ this.options = $.extend({}, this.constructor.defaults);
38
+ this.option(options);
39
}
40
41
+ // Descriptions of all options available on the demo site:
42
+ // http://lokeshdhakar.com/projects/lightbox2/index.html#options
43
+ Lightbox.defaults = {
44
+ albumLabel: 'Image %1 of %2',
45
+ showNavigation: true,
46
+ showNavigationOnMobile: false,
47
+ fadeDuration: 600,
48
+ fitImagesInViewport: true,
49
+ imageFadeDuration: 600,
50
+ // maxWidth: 800,
51
+ // maxHeight: 600,
52
+ positionFromTop: 50,
53
+ resizeDuration: 700,
54
+ showImageNumberLabel: true,
55
+ wrapAround: false,
56
+ disableScrolling: false,
57
+ enableSwipeOnTouchDevices: true,
58
+ /*
59
+ Sanitize Title
60
+ If the caption data is trusted, for example you are hardcoding it in, then leave this to false.
61
+ This will free you to add html tags, such as links, in the caption.
62
+
63
+ If the caption data is user submitted or from some other untrusted source, then set this to true
64
+ to prevent xss and other injection attacks.
65
+ */
66
+ sanitizeTitle: false
67
};
68
69
+ Lightbox.prototype.option = function (options) {
70
+ $.extend(this.options, options);
71
};
72
73
+ Lightbox.prototype.imageCountLabel = function (currentImageNum, totalImages) {
74
+ return this.options.albumLabel.replace(/%1/g, currentImageNum).replace(/%2/g, totalImages);
75
+ };
76
77
+ Lightbox.prototype.mobilecheck = function () {
78
+ var check = false;
79
+ (function (a) {
80
+ if (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(a) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0, 4))) check = true;
81
+ })(navigator.userAgent || navigator.vendor || window.opera);
82
+ return check;
83
+ };
84
+
85
+ Lightbox.prototype.init = function () {
86
+ var self = this;
87
+ // Both enable and build methods require the body tag to be in the DOM.
88
+ $(document).ready(function () {
89
+ self.enable();
90
+ self.build();
91
});
92
+ };
93
94
+ // Loop through anchors and areamaps looking for either data-lightbox attributes or rel attributes
95
+ // that contain 'lightbox'. When these are clicked, start lightbox.
96
+ Lightbox.prototype.enable = function () {
97
+ var self = this;
98
+ $('body').on('click', 'a[rel^=lightbox], area[rel^=lightbox], a[data-lightbox], area[data-lightbox]', function (event) {
99
+ self.start($(event.currentTarget));
100
+ return false;
101
+ });
102
+ };
103
104
+ Lightbox.prototype.swipedetect = function (el, callback) {
105
+
106
+ var touchsurface = el,
107
+ swipedir,
108
+ startX,
109
+ startY,
110
+ distX,
111
+ distY,
112
+ threshold = 1, //required min distance traveled to be considered swipe
113
+ restraint = 100, // maximum distance allowed at the same time in perpendicular direction
114
+ allowedTime = 300, // maximum time allowed to travel that distance
115
+ elapsedTime,
116
+ startTime,
117
+ handleswipe = callback || function (swipedir) {
118
+ }
119
120
+ touchsurface.addEventListener('touchstart', function (e) {
121
+ var touchobj = e.changedTouches[0]
122
+ swipedir = 'none'
123
+ dist = 0
124
+ startX = touchobj.pageX
125
+ startY = touchobj.pageY
126
+ startTime = new Date().getTime() // record time when finger first makes contact with surface
127
+ e.preventDefault();
128
+ }, false)
129
+
130
+ touchsurface.addEventListener('touchmove', function (e) {
131
+ e.preventDefault() // prevent scrolling when inside DIV
132
+ }, false)
133
+
134
+ touchsurface.addEventListener('touchend', function (e) {
135
+ var touchobj = e.changedTouches[0]
136
+ distX = touchobj.pageX - startX // get horizontal dist traveled by finger while in contact with surface
137
+ distY = touchobj.pageY - startY // get vertical dist traveled by finger while in contact with surface
138
+ elapsedTime = new Date().getTime() - startTime // get time elapsed
139
+ if (elapsedTime <= allowedTime) { // first condition for awipe met
140
+ if (Math.abs(distX) >= threshold && Math.abs(distY) <= restraint) { // 2nd condition for horizontal swipe met
141
+ swipedir = (distX < 0) ? 'left' : 'right' // if dist traveled is negative, it indicates left swipe
142
+ } else if (Math.abs(distY) >= threshold && Math.abs(distX) <= restraint) { // 2nd condition for vertical swipe met
143
+ swipedir = (distY < 0) ? 'up' : 'down' // if dist traveled is negative, it indicates up swipe
144
+ }
145
+ }
146
147
+ if ('none' == swipedir) {
148
+ var el = $(e.target);
149
+ if (el.hasClass('lb-prev')) {
150
+ swipedir = 'left';
151
+ } else if (el.hasClass('lb-next')) {
152
+ swipedir = 'right';
153
+ }
154
+ }
155
+ handleswipe(swipedir);
156
+ e.preventDefault()
157
+ }, false)
158
+ };
159
160
+ // Build html for the lightbox and the overlay.
161
+ // Attach event handlers to the new DOM elements. click click click
162
+ Lightbox.prototype.build = function () {
163
+ if ($('#lightbox').length > 0) {
164
+ return;
165
+ }
166
167
+ var self = this;
168
+ $('<div id="lightboxOverlay" class="lightboxOverlay"></div><div id="lightbox" class="lightbox"><div class="lb-outerContainer"><div class="lb-container"><img class="lb-image" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" /><div class="lb-nav"><a class="lb-prev" href="" ></a><a class="lb-next" href="" ></a></div><div class="lb-loader"><a class="lb-cancel"></a></div></div></div><div class="lb-dataContainer"><div class="lb-data"><div class="lb-details"><span class="lb-caption"></span><span class="lb-number"></span></div><div class="lb-closeContainer"><a class="lb-close"></a></div></div></div></div>').appendTo($('body'));
169
+
170
+ // Cache jQuery objects
171
+ this.$lightbox = $('#lightbox');
172
+ this.$overlay = $('#lightboxOverlay');
173
+ this.$outerContainer = this.$lightbox.find('.lb-outerContainer');
174
+ this.$container = this.$lightbox.find('.lb-container');
175
+ this.$image = this.$lightbox.find('.lb-image');
176
+ this.$nav = this.$lightbox.find('.lb-nav');
177
+
178
+ // Store css values for future lookup
179
+ this.containerPadding = {
180
+ top: parseInt(this.$container.css('padding-top'), 10),
181
+ right: parseInt(this.$container.css('padding-right'), 10),
182
+ bottom: parseInt(this.$container.css('padding-bottom'), 10),
183
+ left: parseInt(this.$container.css('padding-left'), 10)
184
+ };
185
+
186
+ this.imageBorderWidth = {
187
+ top: parseInt(this.$image.css('border-top-width'), 10),
188
+ right: parseInt(this.$image.css('border-right-width'), 10),
189
+ bottom: parseInt(this.$image.css('border-bottom-width'), 10),
190
+ left: parseInt(this.$image.css('border-left-width'), 10)
191
+ };
192
+
193
+ // Attach event handlers to the newly minted DOM elements
194
+ this.$overlay.hide().on('click', function () {
195
+ self.end();
196
+ return false;
197
+ });
198
199
+ this.$lightbox.hide().on('click', function (event) {
200
+ if ($(event.target).attr('id') === 'lightbox') {
201
+ self.end();
202
+ }
203
+ return false;
204
+ });
205
206
+ this.$outerContainer.on('click', function (event) {
207
+ if ($(event.target).attr('id') === 'lightbox') {
208
+ self.end();
209
+ }
210
+ return false;
211
+ });
212
213
+ this.$lightbox.find('.lb-prev').on('click', function () {
214
+ /**
215
+ * @TODO for George, part that was modified by Razvan. Please compare to original
216
+ */
217
+ var cycle_filter = self.album[self.currentImageIndex].cycleFilter;
218
+
219
+ if (cycle_filter == 'default') {
220
+ if (self.currentImageIndex === 0) {
221
+ self.changeImage(self.album.length - 1);
222
+ } else {
223
+ self.changeImage(self.currentImageIndex - 1);
224
+ }
225
+ } else if (cycle_filter == 'show' && self.currentImageIndex <= self.album.length - 1) {
226
+ // group shown items in array
227
+ var items = self.album;
228
+ var show_cycle_filter = [];
229
+ $.each(items,function(key,value){
230
+ if ('show' == value.cycleFilter) {
231
+ show_cycle_filter.push(key);
232
+ }
233
+ });
234
+
235
+ // invert the array so that we can compare values from large to small
236
+ show_cycle_filter.sort(function(a, b){return b-a});
237
+
238
+ if (self.currentImageIndex === 0) {
239
+ //in our case show_cycle_filter[0] being the larges value
240
+ self.changeImage(show_cycle_filter[0]);
241
+ } else {
242
+
243
+ var i = self.currentImageIndex;
244
+
245
+ // cycle only the images that are shown
246
+ $.each(show_cycle_filter, function (key,value) {
247
+ if (i > value) {
248
+ self.changeImage(value);
249
+ return false;
250
+ } else {
251
+ self.changeImage(show_cycle_filter[show_cycle_filter.length-1]);
252
+ }
253
+ });
254
+ }
255
256
+ }
257
258
+ return false;
259
+ });
260
+
261
+ this.$lightbox.find('.lb-next').on('click', function () {
262
+ /**
263
+ * @TODO for George, part that was modified by Razvan. Please compare to original
264
+ */
265
+ var cycle_filter = self.album[self.currentImageIndex].cycleFilter;
266
+
267
+ if (undefined == cycle_filter || cycle_filter == 'default') {
268
+ if (self.currentImageIndex === self.album.length - 1) {
269
+ self.changeImage(0);
270
+ } else {
271
+ self.changeImage(self.currentImageIndex + 1);
272
+ }
273
+ } else if (cycle_filter == 'show' && self.currentImageIndex <= self.album.length - 1) {
274
+ // group shown items in array
275
+ var items = self.album;
276
+ var show_cycle_filter = [];
277
+ $.each(items,function(key,value){
278
+ if ('show' == value.cycleFilter) {
279
+ show_cycle_filter.push(key);
280
+ }
281
+ });
282
+ if (self.currentImageIndex === self.album.length - 1) {
283
+ self.changeImage(show_cycle_filter[0]);
284
+ } else {
285
+ var i = self.currentImageIndex;
286
+
287
+
288
+ // cycle only the images that are shown
289
+ $.each(show_cycle_filter, function (key,value) {
290
+ if (i < value) {
291
+ self.changeImage(value);
292
+ return false;
293
+ } else {
294
+ self.changeImage(show_cycle_filter[0]);
295
+ }
296
+ });
297
+ }
298
299
+ }
300
301
+ return false;
302
+ });
303
304
+ var lightboxContainer = this.$lightbox.find('.lb-container')[0];
305
+ self.swipedetect(lightboxContainer, function (swipedir) {
306
+ // swipedir contains either "none", "left", "right", "top", or "down"
307
+ if ('left' == swipedir) {
308
+
309
+ if (self.currentImageIndex === 0) {
310
+ self.changeImage(self.album.length - 1);
311
+ } else {
312
+ self.changeImage(self.currentImageIndex - 1);
313
+ }
314
+
315
+ } else if ('right' == swipedir) {
316
+ if (self.currentImageIndex === self.album.length - 1) {
317
+ self.changeImage(0);
318
+ } else {
319
+ self.changeImage(self.currentImageIndex + 1);
320
+ }
321
+ }
322
323
+ });
324
325
+ /*
326
+ Show context menu for image on right-click
327
+
328
+ There is a div containing the navigation that spans the entire image and lives above of it. If
329
+ you right-click, you are right clicking this div and not the image. This prevents users from
330
+ saving the image or using other context menu actions with the image.
331
+
332
+ To fix this, when we detect the right mouse button is pressed down, but not yet clicked, we
333
+ set pointer-events to none on the nav div. This is so that the upcoming right-click event on
334
+ the next mouseup will bubble down to the image. Once the right-click/contextmenu event occurs
335
+ we set the pointer events back to auto for the nav div so it can capture hover and left-click
336
+ events as usual.
337
+ */
338
+ this.$nav.on('mousedown', function (event) {
339
+ if (event.which === 3) {
340
+ self.$nav.css('pointer-events', 'none');
341
+
342
+ self.$lightbox.one('contextmenu', function () {
343
+ setTimeout(function () {
344
+ this.$nav.css('pointer-events', 'auto');
345
+ }.bind(self), 0);
346
+ });
347
+ }
348
+ });
349
350
351
+ this.$lightbox.find('.lb-loader, .lb-close').on('click', function () {
352
+ self.end();
353
+ return false;
354
+ });
355
+ };
356
357
+ // Show overlay and lightbox. If the image is part of a set, add siblings to album array.
358
+ Lightbox.prototype.start = function ($link) {
359
+ var self = this;
360
+ var $window = $(window);
361
362
+ $window.on('resize', $.proxy(this.sizeOverlay, this));
363
364
+ $('select, object, embed').css({
365
+ visibility: 'hidden'
366
+ });
367
368
+ this.sizeOverlay();
369
370
+ this.album = [];
371
+ var imageNumber = 0;
372
373
+ function addToAlbum($link) {
374
+ self.album.push({
375
+ alt: $link.attr('data-alt'),
376
+ link: $link.attr('href'),
377
+ title: $link.attr('data-title') || $link.attr('title'),
378
+ cycleFilter: $link.attr('data-cyclefilter')
379
+ });
380
}
381
+
382
+ // Support both data-lightbox attribute and rel attribute implementations
383
+ var dataLightboxValue = $link.attr('data-lightbox');
384
+ var $links;
385
+
386
+ if (dataLightboxValue) {
387
+ $links = $($link.prop('tagName') + '[data-lightbox="' + dataLightboxValue + '"]');
388
+ for (var i = 0; i < $links.length; i = ++i) {
389
+ addToAlbum($($links[i]));
390
+ if ($links[i] === $link[0]) {
391
+ imageNumber = i;
392
+ }
393
+ }
394
+ } else {
395
+ if ($link.attr('rel') === 'lightbox') {
396
+ // If image is not part of a set
397
+ addToAlbum($link);
398
+ } else {
399
+ // If image is part of a set
400
+ $links = $($link.prop('tagName') + '[rel="' + $link.attr('rel') + '"]');
401
+ for (var j = 0; j < $links.length; j = ++j) {
402
+ addToAlbum($($links[j]));
403
+ if ($links[j] === $link[0]) {
404
+ imageNumber = j;
405
+ }
406
+ }
407
+ }
408
}
409
410
+ // Position Lightbox
411
+ var top = $window.scrollTop() + this.options.positionFromTop;
412
+ var left = $window.scrollLeft();
413
+ this.$lightbox.css({
414
+ top: top + 'px',
415
+ left: left + 'px'
416
+ }).fadeIn(this.options.fadeDuration);
417
+
418
+ // Disable scrolling of the page while open
419
+ if (this.options.disableScrolling) {
420
+ $('html').addClass('lb-disable-scrolling');
421
}
422
+
423
+ this.changeImage(imageNumber);
424
};
425
426
+ // Hide most UI elements in preparation for the animated resizing of the lightbox.
427
+ Lightbox.prototype.changeImage = function (imageNumber) {
428
+ var self = this;
429
+
430
+ this.disableKeyboardNav();
431
+ var $image = this.$lightbox.find('.lb-image');
432
+
433
+ this.$overlay.fadeIn(this.options.fadeDuration);
434
+
435
+ $('.lb-loader').fadeIn('slow');
436
+ this.$lightbox.find('.lb-image, .lb-nav, .lb-prev, .lb-next, .lb-dataContainer, .lb-numbers, .lb-caption').hide();
437
+
438
+ this.$outerContainer.addClass('animating');
439
+
440
+ // When image to show is preloaded, we send the width and height to sizeContainer()
441
+ var preloader = new Image();
442
+ preloader.onload = function () {
443
+ var $preloader;
444
+ var imageHeight;
445
+ var imageWidth;
446
+ var maxImageHeight;
447
+ var maxImageWidth;
448
+ var windowHeight;
449
+ var windowWidth;
450
+
451
+ $image.attr({
452
+ 'alt': self.album[imageNumber].alt,
453
+ 'src': self.album[imageNumber].link
454
+ });
455
+
456
+ $preloader = $(preloader);
457
+
458
+ $image.width(preloader.width);
459
+ $image.height(preloader.height);
460
+
461
+ if (self.options.fitImagesInViewport) {
462
+ // Fit image inside the viewport.
463
+ // Take into account the border around the image and an additional 10px gutter on each side.
464
+
465
+ windowWidth = $(window).width();
466
+ windowHeight = $(window).height();
467
+ maxImageWidth = windowWidth - self.containerPadding.left - self.containerPadding.right - self.imageBorderWidth.left - self.imageBorderWidth.right - 20;
468
+ maxImageHeight = windowHeight - self.containerPadding.top - self.containerPadding.bottom - self.imageBorderWidth.top - self.imageBorderWidth.bottom - 120;
469
+
470
+ // Check if image size is larger then maxWidth|maxHeight in settings
471
+ if (self.options.maxWidth && self.options.maxWidth < maxImageWidth) {
472
+ maxImageWidth = self.options.maxWidth;
473
+ }
474
+ if (self.options.maxHeight && self.options.maxHeight < maxImageWidth) {
475
+ maxImageHeight = self.options.maxHeight;
476
+ }
477
+
478
+ // Is the current image's width or height is greater than the maxImageWidth or maxImageHeight
479
+ // option than we need to size down while maintaining the aspect ratio.
480
+ if ((preloader.width > maxImageWidth) || (preloader.height > maxImageHeight)) {
481
+ if ((preloader.width / maxImageWidth) > (preloader.height / maxImageHeight)) {
482
+ imageWidth = maxImageWidth;
483
+ imageHeight = parseInt(preloader.height / (preloader.width / imageWidth), 10);
484
+ $image.width(imageWidth);
485
+ $image.height(imageHeight);
486
+ } else {
487
+ imageHeight = maxImageHeight;
488
+ imageWidth = parseInt(preloader.width / (preloader.height / imageHeight), 10);
489
+ $image.width(imageWidth);
490
+ $image.height(imageHeight);
491
+ }
492
+ }
493
+ }
494
+ self.sizeContainer($image.width(), $image.height());
495
+ };
496
497
+ preloader.src = this.album[imageNumber].link;
498
+ this.currentImageIndex = imageNumber;
499
+ };
500
501
+ // Stretch overlay to fit the viewport
502
+ Lightbox.prototype.sizeOverlay = function () {
503
+ this.$overlay
504
+ .width($(document).width())
505
+ .height($(document).height());
506
+ };
507
+
508
+ // Animate the size of the lightbox to fit the image we are showing
509
+ Lightbox.prototype.sizeContainer = function (imageWidth, imageHeight) {
510
+ var self = this;
511
+
512
+ var oldWidth = this.$outerContainer.outerWidth();
513
+ var oldHeight = this.$outerContainer.outerHeight();
514
+ var newWidth = imageWidth + this.containerPadding.left + this.containerPadding.right + this.imageBorderWidth.left + this.imageBorderWidth.right;
515
+ var newHeight = imageHeight + this.containerPadding.top + this.containerPadding.bottom + this.imageBorderWidth.top + this.imageBorderWidth.bottom;
516
517
+ function postResize() {
518
+ self.$lightbox.find('.lb-dataContainer').width(newWidth);
519
+ self.$lightbox.find('.lb-prevLink').height(newHeight);
520
+ self.$lightbox.find('.lb-nextLink').height(newHeight);
521
+ self.showImage();
522
+ }
523
+
524
+ if (oldWidth !== newWidth || oldHeight !== newHeight) {
525
+ this.$outerContainer.animate({
526
+ width: newWidth,
527
+ height: newHeight
528
+ }, this.options.resizeDuration, 'swing', function () {
529
+ postResize();
530
+ });
531
} else {
532
+ postResize();
533
+ }
534
+ };
535
+
536
+ // Display the image and its details and begin preload neighboring images.
537
+ Lightbox.prototype.showImage = function () {
538
+ this.$lightbox.find('.lb-loader').stop(true).hide();
539
+ this.$lightbox.find('.lb-image').fadeIn(this.options.imageFadeDuration);
540
+
541
+ this.updateNav();
542
+ this.updateDetails();
543
+ this.preloadNeighboringImages();
544
+ this.enableKeyboardNav();
545
+ };
546
+
547
+ // Display previous and next navigation if appropriate.
548
+ Lightbox.prototype.updateNav = function () {
549
+ // Check to see if the browser supports touch events. If so, we take the conservative approach
550
+ // and assume that mouse hover events are not supported and always show prev/next navigation
551
+ // arrows in image sets.
552
+ var showNav = (this.options.showNavigation) ? true : false,
553
+ alwaysShowNav = false,
554
+ enableSwipe = false;
555
+ try {
556
+ document.createEvent('TouchEvent');
557
+ enableSwipe = (this.options.enableSwipeOnTouchDevices) ? true : false;
558
+ alwaysShowNav = true;
559
+ } catch (e) {
560
+ }
561
+
562
+ if (this.mobilecheck()) {
563
+ showNav = (this.options.showNavigationOnMobile) ? true : false;
564
+ }
565
+
566
+ if (showNav) {
567
+ this.$lightbox.find('.lb-nav').show();
568
+
569
+ if (this.album.length > 1) {
570
+ if (this.options.wrapAround) {
571
+ if (alwaysShowNav) {
572
+ this.$lightbox.find('.lb-prev, .lb-next').css('opacity', '1');
573
+ }
574
+ this.$lightbox.find('.lb-prev, .lb-next').show();
575
+ } else {
576
+ if (this.currentImageIndex > 0) {
577
+ this.$lightbox.find('.lb-prev').show();
578
+ if (alwaysShowNav) {
579
+ this.$lightbox.find('.lb-prev').css('opacity', '1');
580
+ }
581
+ }
582
+ if (this.currentImageIndex < this.album.length - 1) {
583
+ this.$lightbox.find('.lb-next').show();
584
+ if (alwaysShowNav) {
585
+ this.$lightbox.find('.lb-next').css('opacity', '1');
586
+ }
587
+ }
588
+ }
589
}
590
+ } else {
591
+ this.$lightbox.find('.lb-nav').hide();
592
+ }
593
+ };
594
+
595
+ // Display caption, image number, and closing button.
596
+ Lightbox.prototype.updateDetails = function () {
597
+ var self = this;
598
+
599
+ // Enable anchor clicks in the injected caption html.
600
+ // Thanks Nate Wright for the fix. @https://github.com/NateWr
601
+ if (typeof this.album[this.currentImageIndex].title !== 'undefined' &&
602
+ this.album[this.currentImageIndex].title !== '') {
603
+ var $caption = this.$lightbox.find('.lb-caption');
604
+ if (this.options.sanitizeTitle) {
605
+ $caption.text(this.album[this.currentImageIndex].title);
606
+ } else {
607
+ $caption.html(this.album[this.currentImageIndex].title);
608
}
609
+ $caption.fadeIn('fast')
610
+ .find('a').on('click', function (event) {
611
+ if ($(this).attr('target') !== undefined) {
612
+ window.open($(this).attr('href'), $(this).attr('target'));
613
+ } else {
614
+ location.href = $(this).attr('href');
615
+ }
616
+ });
617
}
618
+
619
+ if (this.album.length > 1 && this.options.showImageNumberLabel) {
620
+ var labelText = this.imageCountLabel(this.currentImageIndex + 1, this.album.length);
621
+ this.$lightbox.find('.lb-number').text(labelText).fadeIn('fast');
622
+ } else {
623
+ this.$lightbox.find('.lb-number').hide();
624
+ }
625
+
626
+ this.$outerContainer.removeClass('animating');
627
+
628
+ this.$lightbox.find('.lb-dataContainer').fadeIn(this.options.resizeDuration, function () {
629
+ return self.sizeOverlay();
630
});
631
+ };
632
633
+ // Preload previous and next images in set.
634
+ Lightbox.prototype.preloadNeighboringImages = function () {
635
+ if (this.album.length > this.currentImageIndex + 1) {
636
+ var preloadNext = new Image();
637
+ preloadNext.src = this.album[this.currentImageIndex + 1].link;
638
+ }
639
+ if (this.currentImageIndex > 0) {
640
+ var preloadPrev = new Image();
641
+ preloadPrev.src = this.album[this.currentImageIndex - 1].link;
642
+ }
643
+ };
644
645
+ Lightbox.prototype.enableKeyboardNav = function () {
646
+ $(document).on('keyup.keyboard', $.proxy(this.keyboardAction, this));
647
+ };
648
649
+ Lightbox.prototype.disableKeyboardNav = function () {
650
+ $(document).off('.keyboard');
651
+ };
652
653
+ Lightbox.prototype.keyboardAction = function (event) {
654
+ var KEYCODE_ESC = 27;
655
+ var KEYCODE_LEFTARROW = 37;
656
+ var KEYCODE_RIGHTARROW = 39;
657
+
658
+ var keycode = event.keyCode;
659
+ var key = String.fromCharCode(keycode).toLowerCase();
660
+ if (keycode === KEYCODE_ESC || key.match(/x|o|c/)) {
661
+ this.end();
662
+ } else if (key === 'p' || keycode === KEYCODE_LEFTARROW) {
663
+ if (this.currentImageIndex !== 0) {
664
+ this.changeImage(this.currentImageIndex - 1);
665
+ } else if (this.options.wrapAround && this.album.length > 1) {
666
+ this.changeImage(this.album.length - 1);
667
+ }
668
+ } else if (key === 'n' || keycode === KEYCODE_RIGHTARROW) {
669
+ if (this.currentImageIndex !== this.album.length - 1) {
670
+ this.changeImage(this.currentImageIndex + 1);
671
+ } else if (this.options.wrapAround && this.album.length > 1) {
672
+ this.changeImage(0);
673
+ }
674
+ }
675
+ };
676
+
677
+ // Closing time. :-(
678
+ Lightbox.prototype.end = function () {
679
+ this.disableKeyboardNav();
680
+ $(window).off('resize', this.sizeOverlay);
681
+ this.$lightbox.fadeOut(this.options.fadeDuration);
682
+ this.$overlay.fadeOut(this.options.fadeDuration);
683
+ $('select, object, embed').css({
684
+ visibility: 'visible'
685
+ });
686
+ if (this.options.disableScrolling) {
687
+ $('html').removeClass('lb-disable-scrolling');
688
+ }
689
+ };
690
691
+ return new Lightbox();
692
}));
assets/js/lightbox.min.js CHANGED
@@ -1 +1 @@
1
- !function(t,i){"function"==typeof define&&define.amd?define(["jquery"],i):"object"==typeof exports?module.exports=i(require("jquery")):t.lightbox=i(t.jQuery)}(this,function(c){function t(t){this.album=[],this.currentImageIndex=void 0,this.init(),this.options=c.extend({},this.constructor.defaults),this.option(t)}return t.defaults={albumLabel:"Image %1 of %2",showNavigation:!0,showNavigationOnMobile:!1,fadeDuration:600,fitImagesInViewport:!0,imageFadeDuration:600,positionFromTop:50,resizeDuration:700,showImageNumberLabel:!0,wrapAround:!1,disableScrolling:!1,enableSwipeOnTouchDevices:!0,sanitizeTitle:!1},t.prototype.option=function(t){c.extend(this.options,t)},t.prototype.imageCountLabel=function(t,i){return this.options.albumLabel.replace(/%1/g,t).replace(/%2/g,i)},t.prototype.mobilecheck=function(){var t,i=!1;return t=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))&&(i=!0),i},t.prototype.init=function(){var t=this;c(document).ready(function(){t.enable(),t.build()})},t.prototype.enable=function(){var i=this;c("body").on("click","a[rel^=lightbox], area[rel^=lightbox], a[data-lightbox], area[data-lightbox]",function(t){return i.start(c(t.currentTarget)),!1})},t.prototype.swipedetect=function(t,i){var n,a,o,s,r,h,e=t,l=i||function(t){};e.addEventListener("touchstart",function(t){var i=t.changedTouches[0];n="none",dist=0,a=i.pageX,o=i.pageY,h=(new Date).getTime(),t.preventDefault()},!1),e.addEventListener("touchmove",function(t){t.preventDefault()},!1),e.addEventListener("touchend",function(t){var i=t.changedTouches[0];if(s=i.pageX-a,r=i.pageY-o,(new Date).getTime()-h<=300&&(1<=Math.abs(s)&&Math.abs(r)<=100?n=s<0?"left":"right":1<=Math.abs(r)&&Math.abs(s)<=100&&(n=r<0?"up":"down")),"none"==n){var e=c(t.target);e.hasClass("lb-prev")?n="left":e.hasClass("lb-next")&&(n="right")}l(n),t.preventDefault()},!1)},t.prototype.build=function(){if(!(0<c("#lightbox").length)){var i=this;c('<div id="lightboxOverlay" class="lightboxOverlay"></div><div id="lightbox" class="lightbox"><div class="lb-outerContainer"><div class="lb-container"><img class="lb-image" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" /><div class="lb-nav"><a class="lb-prev" href="" ></a><a class="lb-next" href="" ></a></div><div class="lb-loader"><a class="lb-cancel"></a></div></div></div><div class="lb-dataContainer"><div class="lb-data"><div class="lb-details"><span class="lb-caption"></span><span class="lb-number"></span></div><div class="lb-closeContainer"><a class="lb-close"></a></div></div></div></div>').appendTo(c("body")),this.$lightbox=c("#lightbox"),this.$overlay=c("#lightboxOverlay"),this.$outerContainer=this.$lightbox.find(".lb-outerContainer"),this.$container=this.$lightbox.find(".lb-container"),this.$image=this.$lightbox.find(".lb-image"),this.$nav=this.$lightbox.find(".lb-nav"),this.containerPadding={top:parseInt(this.$container.css("padding-top"),10),right:parseInt(this.$container.css("padding-right"),10),bottom:parseInt(this.$container.css("padding-bottom"),10),left:parseInt(this.$container.css("padding-left"),10)},this.imageBorderWidth={top:parseInt(this.$image.css("border-top-width"),10),right:parseInt(this.$image.css("border-right-width"),10),bottom:parseInt(this.$image.css("border-bottom-width"),10),left:parseInt(this.$image.css("border-left-width"),10)},this.$overlay.hide().on("click",function(){return i.end(),!1}),this.$lightbox.hide().on("click",function(t){return"lightbox"===c(t.target).attr("id")&&i.end(),!1}),this.$outerContainer.on("click",function(t){return"lightbox"===c(t.target).attr("id")&&i.end(),!1}),this.$lightbox.find(".lb-prev").on("click",function(){return 0===i.currentImageIndex?i.changeImage(i.album.length-1):i.changeImage(i.currentImageIndex-1),!1}),this.$lightbox.find(".lb-next").on("click",function(){return i.currentImageIndex===i.album.length-1?i.changeImage(0):i.changeImage(i.currentImageIndex+1),!1});var t=this.$lightbox.find(".lb-container")[0];i.swipedetect(t,function(t){"left"==t?0===i.currentImageIndex?i.changeImage(i.album.length-1):i.changeImage(i.currentImageIndex-1):"right"==t&&(i.currentImageIndex===i.album.length-1?i.changeImage(0):i.changeImage(i.currentImageIndex+1))}),this.$nav.on("mousedown",function(t){3===t.which&&(i.$nav.css("pointer-events","none"),i.$lightbox.one("contextmenu",function(){setTimeout(function(){this.$nav.css("pointer-events","auto")}.bind(i),0)}))}),this.$lightbox.find(".lb-loader, .lb-close").on("click",function(){return i.end(),!1})}},t.prototype.start=function(t){var i=this,e=c(window);e.on("resize",c.proxy(this.sizeOverlay,this)),c("select, object, embed").css({visibility:"hidden"}),this.sizeOverlay(),this.album=[];var n=0;function a(t){i.album.push({alt:t.attr("data-alt"),link:t.attr("href"),title:t.attr("data-title")||t.attr("title")})}var o,s=t.attr("data-lightbox");if(s){o=c(t.prop("tagName")+'[data-lightbox="'+s+'"]');for(var r=0;r<o.length;r=++r)a(c(o[r])),o[r]===t[0]&&(n=r)}else if("lightbox"===t.attr("rel"))a(t);else{o=c(t.prop("tagName")+'[rel="'+t.attr("rel")+'"]');for(var h=0;h<o.length;h=++h)a(c(o[h])),o[h]===t[0]&&(n=h)}var l=e.scrollTop()+this.options.positionFromTop,d=e.scrollLeft();this.$lightbox.css({top:l+"px",left:d+"px"}).fadeIn(this.options.fadeDuration),this.options.disableScrolling&&c("html").addClass("lb-disable-scrolling"),this.changeImage(n)},t.prototype.changeImage=function(s){var r=this;this.disableKeyboardNav();var h=this.$lightbox.find(".lb-image");this.$overlay.fadeIn(this.options.fadeDuration),c(".lb-loader").fadeIn("slow"),this.$lightbox.find(".lb-image, .lb-nav, .lb-prev, .lb-next, .lb-dataContainer, .lb-numbers, .lb-caption").hide(),this.$outerContainer.addClass("animating");var l=new Image;l.onload=function(){var t,i,e,n,a,o;h.attr({alt:r.album[s].alt,src:r.album[s].link}),c(l),h.width(l.width),h.height(l.height),r.options.fitImagesInViewport&&(o=c(window).width(),a=c(window).height(),n=o-r.containerPadding.left-r.containerPadding.right-r.imageBorderWidth.left-r.imageBorderWidth.right-20,e=a-r.containerPadding.top-r.containerPadding.bottom-r.imageBorderWidth.top-r.imageBorderWidth.bottom-120,r.options.maxWidth&&r.options.maxWidth<n&&(n=r.options.maxWidth),r.options.maxHeight&&r.options.maxHeight<n&&(e=r.options.maxHeight),(l.width>n||l.height>e)&&(l.width/n>l.height/e?(i=n,t=parseInt(l.height/(l.width/i),10)):(t=e,i=parseInt(l.width/(l.height/t),10)),h.width(i),h.height(t))),r.sizeContainer(h.width(),h.height())},l.src=this.album[s].link,this.currentImageIndex=s},t.prototype.sizeOverlay=function(){this.$overlay.width(c(document).width()).height(c(document).height())},t.prototype.sizeContainer=function(t,i){var e=this,n=this.$outerContainer.outerWidth(),a=this.$outerContainer.outerHeight(),o=t+this.containerPadding.left+this.containerPadding.right+this.imageBorderWidth.left+this.imageBorderWidth.right,s=i+this.containerPadding.top+this.containerPadding.bottom+this.imageBorderWidth.top+this.imageBorderWidth.bottom;function r(){e.$lightbox.find(".lb-dataContainer").width(o),e.$lightbox.find(".lb-prevLink").height(s),e.$lightbox.find(".lb-nextLink").height(s),e.showImage()}n!==o||a!==s?this.$outerContainer.animate({width:o,height:s},this.options.resizeDuration,"swing",function(){r()}):r()},t.prototype.showImage=function(){this.$lightbox.find(".lb-loader").stop(!0).hide(),this.$lightbox.find(".lb-image").fadeIn(this.options.imageFadeDuration),this.updateNav(),this.updateDetails(),this.preloadNeighboringImages(),this.enableKeyboardNav()},t.prototype.updateNav=function(){var t=!!this.options.showNavigation,i=!1;try{document.createEvent("TouchEvent"),!!this.options.enableSwipeOnTouchDevices,i=!0}catch(t){}this.mobilecheck()&&(t=!!this.options.showNavigationOnMobile),t?(this.$lightbox.find(".lb-nav").show(),1<this.album.length&&(this.options.wrapAround?(i&&this.$lightbox.find(".lb-prev, .lb-next").css("opacity","1"),this.$lightbox.find(".lb-prev, .lb-next").show()):(0<this.currentImageIndex&&(this.$lightbox.find(".lb-prev").show(),i&&this.$lightbox.find(".lb-prev").css("opacity","1")),this.currentImageIndex<this.album.length-1&&(this.$lightbox.find(".lb-next").show(),i&&this.$lightbox.find(".lb-next").css("opacity","1"))))):this.$lightbox.find(".lb-nav").hide()},t.prototype.updateDetails=function(){var t=this;if(void 0!==this.album[this.currentImageIndex].title&&""!==this.album[this.currentImageIndex].title){var i=this.$lightbox.find(".lb-caption");this.options.sanitizeTitle?i.text(this.album[this.currentImageIndex].title):i.html(this.album[this.currentImageIndex].title),i.fadeIn("fast").find("a").on("click",function(t){void 0!==c(this).attr("target")?window.open(c(this).attr("href"),c(this).attr("target")):location.href=c(this).attr("href")})}if(1<this.album.length&&this.options.showImageNumberLabel){var e=this.imageCountLabel(this.currentImageIndex+1,this.album.length);this.$lightbox.find(".lb-number").text(e).fadeIn("fast")}else this.$lightbox.find(".lb-number").hide();this.$outerContainer.removeClass("animating"),this.$lightbox.find(".lb-dataContainer").fadeIn(this.options.resizeDuration,function(){return t.sizeOverlay()})},t.prototype.preloadNeighboringImages=function(){this.album.length>this.currentImageIndex+1&&((new Image).src=this.album[this.currentImageIndex+1].link);0<this.currentImageIndex&&((new Image).src=this.album[this.currentImageIndex-1].link)},t.prototype.enableKeyboardNav=function(){c(document).on("keyup.keyboard",c.proxy(this.keyboardAction,this))},t.prototype.disableKeyboardNav=function(){c(document).off(".keyboard")},t.prototype.keyboardAction=function(t){var i=t.keyCode,e=String.fromCharCode(i).toLowerCase();27===i||e.match(/x|o|c/)?this.end():"p"===e||37===i?0!==this.currentImageIndex?this.changeImage(this.currentImageIndex-1):this.options.wrapAround&&1<this.album.length&&this.changeImage(this.album.length-1):"n"!==e&&39!==i||(this.currentImageIndex!==this.album.length-1?this.changeImage(this.currentImageIndex+1):this.options.wrapAround&&1<this.album.length&&this.changeImage(0))},t.prototype.end=function(){this.disableKeyboardNav(),c(window).off("resize",this.sizeOverlay),this.$lightbox.fadeOut(this.options.fadeDuration),this.$overlay.fadeOut(this.options.fadeDuration),c("select, object, embed").css({visibility:"visible"}),this.options.disableScrolling&&c("html").removeClass("lb-disable-scrolling")},new t});
1
+ !function(t,e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):t.lightbox=e(t.jQuery)}(this,function(c){function t(t){this.album=[],this.currentImageIndex=void 0,this.init(),this.options=c.extend({},this.constructor.defaults),this.option(t)}return t.defaults={albumLabel:"Image %1 of %2",showNavigation:!0,showNavigationOnMobile:!1,fadeDuration:600,fitImagesInViewport:!0,imageFadeDuration:600,positionFromTop:50,resizeDuration:700,showImageNumberLabel:!0,wrapAround:!1,disableScrolling:!1,enableSwipeOnTouchDevices:!0,sanitizeTitle:!1},t.prototype.option=function(t){c.extend(this.options,t)},t.prototype.imageCountLabel=function(t,e){return this.options.albumLabel.replace(/%1/g,t).replace(/%2/g,e)},t.prototype.mobilecheck=function(){var t,e=!1;return t=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))&&(e=!0),e},t.prototype.init=function(){var t=this;c(document).ready(function(){t.enable(),t.build()})},t.prototype.enable=function(){var e=this;c("body").on("click","a[rel^=lightbox], area[rel^=lightbox], a[data-lightbox], area[data-lightbox]",function(t){return e.start(c(t.currentTarget)),!1})},t.prototype.swipedetect=function(t,e){var n,a,o,r,s,h,i=t,l=e||function(t){};i.addEventListener("touchstart",function(t){var e=t.changedTouches[0];n="none",dist=0,a=e.pageX,o=e.pageY,h=(new Date).getTime(),t.preventDefault()},!1),i.addEventListener("touchmove",function(t){t.preventDefault()},!1),i.addEventListener("touchend",function(t){var e=t.changedTouches[0];if(r=e.pageX-a,s=e.pageY-o,(new Date).getTime()-h<=300&&(1<=Math.abs(r)&&Math.abs(s)<=100?n=r<0?"left":"right":1<=Math.abs(s)&&Math.abs(r)<=100&&(n=s<0?"up":"down")),"none"==n){var i=c(t.target);i.hasClass("lb-prev")?n="left":i.hasClass("lb-next")&&(n="right")}l(n),t.preventDefault()},!1)},t.prototype.build=function(){if(!(0<c("#lightbox").length)){var a=this;c('<div id="lightboxOverlay" class="lightboxOverlay"></div><div id="lightbox" class="lightbox"><div class="lb-outerContainer"><div class="lb-container"><img class="lb-image" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" /><div class="lb-nav"><a class="lb-prev" href="" ></a><a class="lb-next" href="" ></a></div><div class="lb-loader"><a class="lb-cancel"></a></div></div></div><div class="lb-dataContainer"><div class="lb-data"><div class="lb-details"><span class="lb-caption"></span><span class="lb-number"></span></div><div class="lb-closeContainer"><a class="lb-close"></a></div></div></div></div>').appendTo(c("body")),this.$lightbox=c("#lightbox"),this.$overlay=c("#lightboxOverlay"),this.$outerContainer=this.$lightbox.find(".lb-outerContainer"),this.$container=this.$lightbox.find(".lb-container"),this.$image=this.$lightbox.find(".lb-image"),this.$nav=this.$lightbox.find(".lb-nav"),this.containerPadding={top:parseInt(this.$container.css("padding-top"),10),right:parseInt(this.$container.css("padding-right"),10),bottom:parseInt(this.$container.css("padding-bottom"),10),left:parseInt(this.$container.css("padding-left"),10)},this.imageBorderWidth={top:parseInt(this.$image.css("border-top-width"),10),right:parseInt(this.$image.css("border-right-width"),10),bottom:parseInt(this.$image.css("border-bottom-width"),10),left:parseInt(this.$image.css("border-left-width"),10)},this.$overlay.hide().on("click",function(){return a.end(),!1}),this.$lightbox.hide().on("click",function(t){return"lightbox"===c(t.target).attr("id")&&a.end(),!1}),this.$outerContainer.on("click",function(t){return"lightbox"===c(t.target).attr("id")&&a.end(),!1}),this.$lightbox.find(".lb-prev").on("click",function(){var t=a.album[a.currentImageIndex].cycleFilter;if("default"==t)0===a.currentImageIndex?a.changeImage(a.album.length-1):a.changeImage(a.currentImageIndex-1);else if("show"==t&&a.currentImageIndex<=a.album.length-1){var e=a.album,i=[];if(c.each(e,function(t,e){"show"==e.cycleFilter&&i.push(t)}),i.sort(function(t,e){return e-t}),0===a.currentImageIndex)a.changeImage(i[0]);else{var n=a.currentImageIndex;c.each(i,function(t,e){if(e<n)return a.changeImage(e),!1;a.changeImage(i[i.length-1])})}}return!1}),this.$lightbox.find(".lb-next").on("click",function(){var t=a.album[a.currentImageIndex].cycleFilter;if(null==t||"default"==t)a.currentImageIndex===a.album.length-1?a.changeImage(0):a.changeImage(a.currentImageIndex+1);else if("show"==t&&a.currentImageIndex<=a.album.length-1){var e=a.album,i=[];if(c.each(e,function(t,e){"show"==e.cycleFilter&&i.push(t)}),a.currentImageIndex===a.album.length-1)a.changeImage(i[0]);else{var n=a.currentImageIndex;c.each(i,function(t,e){if(n<e)return a.changeImage(e),!1;a.changeImage(i[0])})}}return!1});var t=this.$lightbox.find(".lb-container")[0];a.swipedetect(t,function(t){"left"==t?0===a.currentImageIndex?a.changeImage(a.album.length-1):a.changeImage(a.currentImageIndex-1):"right"==t&&(a.currentImageIndex===a.album.length-1?a.changeImage(0):a.changeImage(a.currentImageIndex+1))}),this.$nav.on("mousedown",function(t){3===t.which&&(a.$nav.css("pointer-events","none"),a.$lightbox.one("contextmenu",function(){setTimeout(function(){this.$nav.css("pointer-events","auto")}.bind(a),0)}))}),this.$lightbox.find(".lb-loader, .lb-close").on("click",function(){return a.end(),!1})}},t.prototype.start=function(t){var e=this,i=c(window);i.on("resize",c.proxy(this.sizeOverlay,this)),c("select, object, embed").css({visibility:"hidden"}),this.sizeOverlay(),this.album=[];var n=0;function a(t){e.album.push({alt:t.attr("data-alt"),link:t.attr("href"),title:t.attr("data-title")||t.attr("title"),cycleFilter:t.attr("data-cyclefilter")})}var o,r=t.attr("data-lightbox");if(r){o=c(t.prop("tagName")+'[data-lightbox="'+r+'"]');for(var s=0;s<o.length;s=++s)a(c(o[s])),o[s]===t[0]&&(n=s)}else if("lightbox"===t.attr("rel"))a(t);else{o=c(t.prop("tagName")+'[rel="'+t.attr("rel")+'"]');for(var h=0;h<o.length;h=++h)a(c(o[h])),o[h]===t[0]&&(n=h)}var l=i.scrollTop()+this.options.positionFromTop,d=i.scrollLeft();this.$lightbox.css({top:l+"px",left:d+"px"}).fadeIn(this.options.fadeDuration),this.options.disableScrolling&&c("html").addClass("lb-disable-scrolling"),this.changeImage(n)},t.prototype.changeImage=function(r){var s=this;this.disableKeyboardNav();var h=this.$lightbox.find(".lb-image");this.$overlay.fadeIn(this.options.fadeDuration),c(".lb-loader").fadeIn("slow"),this.$lightbox.find(".lb-image, .lb-nav, .lb-prev, .lb-next, .lb-dataContainer, .lb-numbers, .lb-caption").hide(),this.$outerContainer.addClass("animating");var l=new Image;l.onload=function(){var t,e,i,n,a,o;h.attr({alt:s.album[r].alt,src:s.album[r].link}),c(l),h.width(l.width),h.height(l.height),s.options.fitImagesInViewport&&(o=c(window).width(),a=c(window).height(),n=o-s.containerPadding.left-s.containerPadding.right-s.imageBorderWidth.left-s.imageBorderWidth.right-20,i=a-s.containerPadding.top-s.containerPadding.bottom-s.imageBorderWidth.top-s.imageBorderWidth.bottom-120,s.options.maxWidth&&s.options.maxWidth<n&&(n=s.options.maxWidth),s.options.maxHeight&&s.options.maxHeight<n&&(i=s.options.maxHeight),(l.width>n||l.height>i)&&(l.width/n>l.height/i?(e=n,t=parseInt(l.height/(l.width/e),10)):(t=i,e=parseInt(l.width/(l.height/t),10)),h.width(e),h.height(t))),s.sizeContainer(h.width(),h.height())},l.src=this.album[r].link,this.currentImageIndex=r},t.prototype.sizeOverlay=function(){this.$overlay.width(c(document).width()).height(c(document).height())},t.prototype.sizeContainer=function(t,e){var i=this,n=this.$outerContainer.outerWidth(),a=this.$outerContainer.outerHeight(),o=t+this.containerPadding.left+this.containerPadding.right+this.imageBorderWidth.left+this.imageBorderWidth.right,r=e+this.containerPadding.top+this.containerPadding.bottom+this.imageBorderWidth.top+this.imageBorderWidth.bottom;function s(){i.$lightbox.find(".lb-dataContainer").width(o),i.$lightbox.find(".lb-prevLink").height(r),i.$lightbox.find(".lb-nextLink").height(r),i.showImage()}n!==o||a!==r?this.$outerContainer.animate({width:o,height:r},this.options.resizeDuration,"swing",function(){s()}):s()},t.prototype.showImage=function(){this.$lightbox.find(".lb-loader").stop(!0).hide(),this.$lightbox.find(".lb-image").fadeIn(this.options.imageFadeDuration),this.updateNav(),this.updateDetails(),this.preloadNeighboringImages(),this.enableKeyboardNav()},t.prototype.updateNav=function(){var t=!!this.options.showNavigation,e=!1;try{document.createEvent("TouchEvent"),!!this.options.enableSwipeOnTouchDevices,e=!0}catch(t){}this.mobilecheck()&&(t=!!this.options.showNavigationOnMobile),t?(this.$lightbox.find(".lb-nav").show(),1<this.album.length&&(this.options.wrapAround?(e&&this.$lightbox.find(".lb-prev, .lb-next").css("opacity","1"),this.$lightbox.find(".lb-prev, .lb-next").show()):(0<this.currentImageIndex&&(this.$lightbox.find(".lb-prev").show(),e&&this.$lightbox.find(".lb-prev").css("opacity","1")),this.currentImageIndex<this.album.length-1&&(this.$lightbox.find(".lb-next").show(),e&&this.$lightbox.find(".lb-next").css("opacity","1"))))):this.$lightbox.find(".lb-nav").hide()},t.prototype.updateDetails=function(){var t=this;if(void 0!==this.album[this.currentImageIndex].title&&""!==this.album[this.currentImageIndex].title){var e=this.$lightbox.find(".lb-caption");this.options.sanitizeTitle?e.text(this.album[this.currentImageIndex].title):e.html(this.album[this.currentImageIndex].title),e.fadeIn("fast").find("a").on("click",function(t){void 0!==c(this).attr("target")?window.open(c(this).attr("href"),c(this).attr("target")):location.href=c(this).attr("href")})}if(1<this.album.length&&this.options.showImageNumberLabel){var i=this.imageCountLabel(this.currentImageIndex+1,this.album.length);this.$lightbox.find(".lb-number").text(i).fadeIn("fast")}else this.$lightbox.find(".lb-number").hide();this.$outerContainer.removeClass("animating"),this.$lightbox.find(".lb-dataContainer").fadeIn(this.options.resizeDuration,function(){return t.sizeOverlay()})},t.prototype.preloadNeighboringImages=function(){this.album.length>this.currentImageIndex+1&&((new Image).src=this.album[this.currentImageIndex+1].link);0<this.currentImageIndex&&((new Image).src=this.album[this.currentImageIndex-1].link)},t.prototype.enableKeyboardNav=function(){c(document).on("keyup.keyboard",c.proxy(this.keyboardAction,this))},t.prototype.disableKeyboardNav=function(){c(document).off(".keyboard")},t.prototype.keyboardAction=function(t){var e=t.keyCode,i=String.fromCharCode(e).toLowerCase();27===e||i.match(/x|o|c/)?this.end():"p"===i||37===e?0!==this.currentImageIndex?this.changeImage(this.currentImageIndex-1):this.options.wrapAround&&1<this.album.length&&this.changeImage(this.album.length-1):"n"!==i&&39!==e||(this.currentImageIndex!==this.album.length-1?this.changeImage(this.currentImageIndex+1):this.options.wrapAround&&1<this.album.length&&this.changeImage(0))},t.prototype.end=function(){this.disableKeyboardNav(),c(window).off("resize",this.sizeOverlay),this.$lightbox.fadeOut(this.options.fadeDuration),this.$overlay.fadeOut(this.options.fadeDuration),c("select, object, embed").css({visibility:"visible"}),this.options.disableScrolling&&c("html").removeClass("lb-disable-scrolling")},new t});
assets/js/modula-edit.js ADDED
@@ -0,0 +1,20 @@
1
+ (function( $ ){
2
+ "use strict";
3
+
4
+ $( document ).ready(function(){
5
+ $( '.modula-feedback-notice .notice-dismiss' ).click(function(evt){
6
+ evt.preventDefault();
7
+
8
+ var notice = $(this).parent();
9
+ $.ajax({
10
+ method: "POST",
11
+ url: ajaxurl,
12
+ data: { action: "modula-edit-notice" }
13
+ }).done(function( msg ) {
14
+ notice.remove();
15
+ });
16
+
17
+ });
18
+ });
19
+
20
+ })(jQuery);
assets/js/modula-edit.min.js ADDED
@@ -0,0 +1 @@
1
+ !function(n){"use strict";n(document).ready(function(){n(".modula-feedback-notice .notice-dismiss").click(function(e){e.preventDefault();var t=n(this).parent();n.ajax({method:"POST",url:ajaxurl,data:{action:"modula-edit-notice"}}).done(function(e){t.remove()})})})}(jQuery);
assets/js/wp-modula-settings.js CHANGED
@@ -23,7 +23,8 @@ wp.Modula = 'undefined' === typeof( wp.Modula ) ? {} : wp.Modula;
23
24
events: {
25
// Tabs specific events
26
- 'click .modula-tab': 'changeTab',
27
28
// Settings specific events
29
'keyup input': 'updateModel',
@@ -84,6 +85,21 @@ wp.Modula = 'undefined' === typeof( wp.Modula ) ? {} : wp.Modula;
84
85
},
86
87
initSliders: function() {
88
89
if ( this.sliders.length > 0 ) {
23
24
events: {
25
// Tabs specific events
26
+ 'click .modula-tab': 'changeTab',
27
+ 'click .modula-tab > *': 'changeTabFromChild',
28
29
// Settings specific events
30
'keyup input': 'updateModel',
85
86
},
87
88
+ changeTabFromChild: function ( event ) {
89
+
90
+ var currentTab = jQuery( event.target ).parent().data( 'tab' );
91
+
92
+ if ( this.tabContainers.filter( '#' + currentTab ).length < 1 ) {
93
+ return;
94
+ }
95
+
96
+ this.tabs.removeClass( 'active-tab' );
97
+ this.tabContainers.removeClass( 'active-tab' );
98
+ jQuery( event.target ).parent().addClass( 'active-tab' );
99
+ this.tabContainers.filter( '#' + currentTab ).addClass( 'active-tab' );
100
+
101
+ },
102
+
103
initSliders: function() {
104
105
if ( this.sliders.length > 0 ) {
changelog.txt CHANGED
@@ -1,4 +1,18 @@
1
- = 2.0.6 - 13.03.2019 =
2
* Improved save sistem
3
* Added Lazy Load function
4
* Fixed XSS issue
1
+ = 2.0.8 - 24.05.2019 =
2
+ * Added more options to the gutter's settings
3
+ * Fixed galleries import/export
4
+ * Added option to change the color of an image’s title
5
+ * Removed Google+
6
+ * Added LinkedIn
7
+ * Fixed the issue when the gutter was big and the gallery not centered
8
+ * Added compatibility with Flatsome
9
+ * Fixed title and caption showing html
10
+ * Minor css backend improvements
11
+ * Added the option to dismiss feedback form
12
+
13
+ For more information : https://github.com/MachoThemes/modula-lite/milestone/9
14
+ <