j1-template 2021.1.8 → 2021.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/layouts/layout_metadata_generator.html +4 -4
- data/_includes/themes/j1/modules/connectors/ads +18 -7
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +6 -6
- data/_includes/themes/j1/modules/connectors/analytics +17 -3
- data/_includes/themes/j1/modules/connectors/comments +22 -8
- data/_includes/themes/j1/modules/connectors/translator +20 -6
- data/_includes/themes/j1/procedures/global/select_location.proc +3 -3
- data/assets/error_pages/HTTP204.html +33 -10
- data/assets/error_pages/HTTP400.html +32 -8
- data/assets/error_pages/HTTP401.html +32 -9
- data/assets/error_pages/HTTP403.html +32 -8
- data/assets/error_pages/HTTP404.html +32 -8
- data/assets/error_pages/HTTP500.html +32 -8
- data/assets/error_pages/HTTP501.html +32 -8
- data/assets/error_pages/HTTP502.html +32 -8
- data/assets/error_pages/HTTP503.html +33 -8
- data/assets/themes/j1/adapter/js/cookieConsent.js +64 -59
- data/assets/themes/j1/adapter/js/fam.js +2 -1
- data/assets/themes/j1/adapter/js/j1.js +315 -128
- data/assets/themes/j1/adapter/js/navigator.js +5 -2
- data/assets/themes/j1/adapter/js/themer.js +137 -90
- data/assets/themes/j1/core/js/template.js +24 -4
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +24 -4
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +36 -16
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +2 -3
- data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +1 -2
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +18 -10
- data/lib/starter_web/_data/_defaults/private.default.yml +119 -0
- data/lib/starter_web/_data/j1_config.yml +1 -1
- data/lib/starter_web/_data/modules/cookieconsent.yml +1 -0
- data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +11 -9
- data/lib/starter_web/_data/resources.yml +0 -4
- data/lib/starter_web/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/dot.gitignore +1 -1
- data/lib/starter_web/index.html +3 -3
- data/lib/starter_web/package.json +2 -2
- data/lib/starter_web/pages/public/blog/navigator/archive.html +2 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +3 -2
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +20 -3
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +9 -6
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +3 -65
- data/assets/error_pages/HTTP520.html +0 -68
- data/assets/error_pages/HTTP521.html +0 -68
- data/assets/error_pages/HTTP533.html +0 -68
- data/assets/themes/j1/adapter/js/navigator.1.js +0 -896
- data/assets/themes/j1/adapter/js/navigator.2.js +0 -928
- data/assets/themes/j1/adapter/js/themer.1.js +0 -326
- data/assets/themes/j1/modules/_lightGallery/css/core/lg-fb-comment-box.css +0 -58
- data/assets/themes/j1/modules/_lightGallery/css/core/lg-fb-comment-box.min.css +0 -5
- data/assets/themes/j1/modules/_lightGallery/css/core/lg-transitions.css +0 -778
- data/assets/themes/j1/modules/_lightGallery/css/core/lg-transitions.min.css +0 -5
- data/assets/themes/j1/modules/_lightGallery/css/core/lightgallery.css +0 -981
- data/assets/themes/j1/modules/_lightGallery/css/core/lightgallery.min.css +0 -5
- data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.eot +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.svg +0 -47
- data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.ttf +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.woff +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/img/loading.gif +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/img/video-play.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/img/vimeo-play.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/img/youtube-play.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/animation-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/customize-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/dynamic-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/facebook-icon.svg +0 -10
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/googleplus-icon.svg +0 -30
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/html5-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/linked-in.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/module-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/play-button.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/responsive-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/thumb-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/touch-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/twitter-icon.svg +0 -15
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/twitter.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/video1-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/zoom-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/zoom.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/uno.css +0 -262
- data/assets/themes/j1/modules/_lightGallery/css/themes/uno.min.css +0 -15
- data/assets/themes/j1/modules/_lightGallery/js/core/lightgallery.js +0 -1362
- data/assets/themes/j1/modules/_lightGallery/js/core/lightgallery.min.js +0 -4
- data/assets/themes/j1/modules/_lightGallery/js/modules/j1/j1-video.js +0 -402
- data/assets/themes/j1/modules/_lightGallery/js/modules/j1/j1-video.min.js +0 -8
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-autoplay.js +0 -206
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-autoplay.min.js +0 -5
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-fullscreen.js +0 -126
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-fullscreen.min.js +0 -5
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-hash.js +0 -101
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-hash.min.js +0 -5
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-pager.js +0 -105
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-pager.min.js +0 -5
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-share.js +0 -107
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-share.min.js +0 -5
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-thumbnail.js +0 -478
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-thumbnail.min.js +0 -5
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-video.js +0 -342
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-video.min.js +0 -5
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-zoom.js +0 -527
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-zoom.min.js +0 -5
- data/assets/themes/j1/modules/util/js/js.cookie.js +0 -163
- data/assets/themes/j1/modules/util/js/lite-url.js +0 -203
- data/assets/themes/j1/modules/util/js/lite-url.min.js +0 -7
- data/assets/themes/j1/modules/util/js/platform.js +0 -1260
@@ -1,5 +0,0 @@
|
|
1
|
-
/*! lightgallery - v1.6.12 - 2019-02-19
|
2
|
-
* http://sachinchoolur.github.io/lightGallery/
|
3
|
-
* Copyright (c) 2019 Sachin N; Licensed GPLv3 */
|
4
|
-
|
5
|
-
.lg-sub-html,.lg-toolbar{background-color:rgba(0,0,0,.45)}@font-face{font-family:lg;src:url(../fonts/lg.eot?n1z373);src:url(../fonts/lg.eot?#iefixn1z373) format("embedded-opentype"),url(../fonts/lg.woff?n1z373) format("woff"),url(../fonts/lg.ttf?n1z373) format("truetype"),url(../fonts/lg.svg?n1z373#lg) format("svg");font-weight:400;font-style:normal}.lg-icon{font-family:lg;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.lg-actions .lg-next,.lg-actions .lg-prev{background-color:rgba(0,0,0,.45);border-radius:2px;color:#999;cursor:pointer;display:block;font-size:22px;margin-top:-10px;padding:8px 10px 9px;position:absolute;top:50%;z-index:1080;border:none;outline:0}.lg-actions .lg-next.disabled,.lg-actions .lg-prev.disabled{pointer-events:none;opacity:.5}.lg-actions .lg-next:hover,.lg-actions .lg-prev:hover{color:#FFF}.lg-actions .lg-next{right:20px}.lg-actions .lg-next:before{content:"\e095"}.lg-actions .lg-prev{left:20px}.lg-actions .lg-prev:after{content:"\e094"}@-webkit-keyframes lg-right-end{0%,100%{left:0}50%{left:-30px}}@-moz-keyframes lg-right-end{0%,100%{left:0}50%{left:-30px}}@-ms-keyframes lg-right-end{0%,100%{left:0}50%{left:-30px}}@keyframes lg-right-end{0%,100%{left:0}50%{left:-30px}}@-webkit-keyframes lg-left-end{0%,100%{left:0}50%{left:30px}}@-moz-keyframes lg-left-end{0%,100%{left:0}50%{left:30px}}@-ms-keyframes lg-left-end{0%,100%{left:0}50%{left:30px}}@keyframes lg-left-end{0%,100%{left:0}50%{left:30px}}.lg-outer.lg-right-end .lg-object{-webkit-animation:lg-right-end .3s;-o-animation:lg-right-end .3s;animation:lg-right-end .3s;position:relative}.lg-outer.lg-left-end .lg-object{-webkit-animation:lg-left-end .3s;-o-animation:lg-left-end .3s;animation:lg-left-end .3s;position:relative}.lg-toolbar{z-index:1082;left:0;position:absolute;top:0;width:100%}.lg-toolbar .lg-icon{color:#999;cursor:pointer;float:right;font-size:24px;height:47px;line-height:27px;padding:10px 0;text-align:center;width:50px;text-decoration:none!important;outline:0;-webkit-transition:color .2s linear;-o-transition:color .2s linear;transition:color .2s linear}.lg-toolbar .lg-icon:hover{color:#FFF}.lg-toolbar .lg-close:after{content:"\e070"}.lg-toolbar .lg-download:after{content:"\e0f2"}.lg-sub-html{bottom:0;color:#EEE;font-size:16px;left:0;padding:10px 40px;position:fixed;right:0;text-align:center;z-index:1080}.lg-sub-html h4{margin:0;font-size:13px;font-weight:700}.lg-sub-html p{font-size:12px;margin:5px 0 0}#lg-counter{color:#999;display:inline-block;font-size:16px;padding-left:20px;padding-top:12px;vertical-align:middle}.lg-next,.lg-prev,.lg-toolbar{opacity:1;-webkit-transition:-webkit-transform .35s cubic-bezier(0,0,.25,1) 0s,opacity .35s cubic-bezier(0,0,.25,1) 0s,color .2s linear;-moz-transition:-moz-transform .35s cubic-bezier(0,0,.25,1) 0s,opacity .35s cubic-bezier(0,0,.25,1) 0s,color .2s linear;-o-transition:-o-transform .35s cubic-bezier(0,0,.25,1) 0s,opacity .35s cubic-bezier(0,0,.25,1) 0s,color .2s linear;transition:transform .35s cubic-bezier(0,0,.25,1) 0s,opacity .35s cubic-bezier(0,0,.25,1) 0s,color .2s linear}.lg-hide-items .lg-prev{opacity:0;-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}.lg-hide-items .lg-next{opacity:0;-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}.lg-hide-items .lg-toolbar{opacity:0;-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}body:not(.lg-from-hash) .lg-outer.lg-start-zoom .lg-object{-webkit-transform:scale3d(.5,.5,.5);transform:scale3d(.5,.5,.5);opacity:0;-webkit-transition:-webkit-transform 250ms cubic-bezier(0,0,.25,1) 0s,opacity 250ms cubic-bezier(0,0,.25,1)!important;-moz-transition:-moz-transform 250ms cubic-bezier(0,0,.25,1) 0s,opacity 250ms cubic-bezier(0,0,.25,1)!important;-o-transition:-o-transform 250ms cubic-bezier(0,0,.25,1) 0s,opacity 250ms cubic-bezier(0,0,.25,1)!important;transition:transform 250ms cubic-bezier(0,0,.25,1) 0s,opacity 250ms cubic-bezier(0,0,.25,1)!important;-webkit-transform-origin:50% 50%;-moz-transform-origin:50% 50%;-ms-transform-origin:50% 50%;transform-origin:50% 50%}body:not(.lg-from-hash) .lg-outer.lg-start-zoom .lg-item.lg-complete .lg-object{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1);opacity:1}.lg-outer .lg-thumb-outer{background-color:#0D0A0A;bottom:0;position:absolute;width:100%;z-index:1080;max-height:350px;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1) 0s;-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1) 0s;-o-transition:-o-transform .25s cubic-bezier(0,0,.25,1) 0s;transition:transform .25s cubic-bezier(0,0,.25,1) 0s}.lg-outer .lg-thumb-outer.lg-grab .lg-thumb-item{cursor:-webkit-grab;cursor:-moz-grab;cursor:-o-grab;cursor:-ms-grab;cursor:grab}.lg-outer .lg-thumb-outer.lg-grabbing .lg-thumb-item{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:-o-grabbing;cursor:-ms-grabbing;cursor:grabbing}.lg-outer .lg-thumb-outer.lg-dragging .lg-thumb{-webkit-transition-duration:0s!important;transition-duration:0s!important}.lg-outer.lg-thumb-open .lg-thumb-outer{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.lg-outer .lg-thumb{padding:10px 0;height:100%;margin-bottom:-5px}.lg-outer .lg-thumb-item{cursor:pointer;float:left;overflow:hidden;height:100%;border:2px solid #FFF;border-radius:4px;margin-bottom:5px}@media (min-width:1025px){.lg-outer .lg-thumb-item{-webkit-transition:border-color .25s ease;-o-transition:border-color .25s ease;transition:border-color .25s ease}}.lg-outer .lg-thumb-item.active,.lg-outer .lg-thumb-item:hover{border-color:#a90707}.lg-outer .lg-thumb-item img{width:100%;height:100%;object-fit:cover}.lg-outer.lg-has-thumb .lg-item{padding-bottom:120px}.lg-outer.lg-can-toggle .lg-item{padding-bottom:0}.lg-outer.lg-pull-caption-up .lg-sub-html{-webkit-transition:bottom .25s ease;-o-transition:bottom .25s ease;transition:bottom .25s ease}.lg-outer.lg-pull-caption-up.lg-thumb-open .lg-sub-html{bottom:100px}.lg-outer .lg-toogle-thumb{background-color:#0D0A0A;border-radius:2px 2px 0 0;color:#999;cursor:pointer;font-size:24px;height:39px;line-height:27px;padding:5px 0;position:absolute;right:20px;text-align:center;top:-39px;width:50px}.lg-outer .lg-toogle-thumb:hover,.lg-outer.lg-dropdown-active #lg-share{color:#FFF}.lg-outer .lg-toogle-thumb:after{content:"\e1ff"}.lg-outer .lg-video-cont{display:inline-block;vertical-align:middle;max-width:1140px;max-height:100%;width:100%;padding:0 5px}.lg-outer .lg-video{width:100%;height:0;padding-bottom:56.25%;overflow:hidden;position:relative}.lg-outer .lg-video .lg-object{display:inline-block;position:absolute;top:0;left:0;width:100%!important;height:100%!important}.lg-outer .lg-video .lg-video-play{width:84px;height:59px;position:absolute;left:50%;top:50%;margin-left:-42px;margin-top:-30px;z-index:1080;cursor:pointer}.lg-outer .lg-has-iframe .lg-video{-webkit-overflow-scrolling:touch;overflow:auto}.lg-outer .lg-has-vimeo .lg-video-play{background:url(../img/vimeo-play.png) no-repeat}.lg-outer .lg-has-vimeo:hover .lg-video-play{background:url(../img/vimeo-play.png) 0 -58px no-repeat}.lg-outer .lg-has-html5 .lg-video-play{background:url(../img/video-play.png) no-repeat;height:64px;margin-left:-32px;margin-top:-32px;width:64px;opacity:.8}.lg-outer .lg-has-html5:hover .lg-video-play{opacity:1}.lg-outer .lg-has-youtube .lg-video-play{background:url(../img/youtube-play.png) no-repeat}.lg-outer .lg-has-youtube:hover .lg-video-play{background:url(../img/youtube-play.png) 0 -60px no-repeat}.lg-outer .lg-video-object{width:100%!important;height:100%!important;position:absolute;top:0;left:0}.lg-outer .lg-has-video .lg-video-object{visibility:hidden}.lg-outer .lg-has-video.lg-video-playing .lg-object,.lg-outer .lg-has-video.lg-video-playing .lg-video-play{display:none}.lg-outer .lg-has-video.lg-video-playing .lg-video-object{visibility:visible}.lg-progress-bar{background-color:#333;height:5px;left:0;position:absolute;top:0;width:100%;z-index:1083;opacity:0;-webkit-transition:opacity 80ms ease 0s;-moz-transition:opacity 80ms ease 0s;-o-transition:opacity 80ms ease 0s;transition:opacity 80ms ease 0s}.lg-progress-bar .lg-progress{background-color:#a90707;height:5px;width:0}.lg-progress-bar.lg-start .lg-progress{width:100%}.lg-show-autoplay .lg-progress-bar{opacity:1}.lg-autoplay-button:after{content:"\e01d"}.lg-show-autoplay .lg-autoplay-button:after{content:"\e01a"}.lg-outer.lg-css3.lg-zoom-dragging .lg-item.lg-complete.lg-zoomable .lg-image,.lg-outer.lg-css3.lg-zoom-dragging .lg-item.lg-complete.lg-zoomable .lg-img-wrap{-webkit-transition-duration:0s;transition-duration:0s}.lg-outer.lg-use-transition-for-zoom .lg-item.lg-complete.lg-zoomable .lg-img-wrap{-webkit-transition:-webkit-transform .3s cubic-bezier(0,0,.25,1) 0s;-moz-transition:-moz-transform .3s cubic-bezier(0,0,.25,1) 0s;-o-transition:-o-transform .3s cubic-bezier(0,0,.25,1) 0s;transition:transform .3s cubic-bezier(0,0,.25,1) 0s}.lg-outer.lg-use-left-for-zoom .lg-item.lg-complete.lg-zoomable .lg-img-wrap{-webkit-transition:left .3s cubic-bezier(0,0,.25,1) 0s,top .3s cubic-bezier(0,0,.25,1) 0s;-moz-transition:left .3s cubic-bezier(0,0,.25,1) 0s,top .3s cubic-bezier(0,0,.25,1) 0s;-o-transition:left .3s cubic-bezier(0,0,.25,1) 0s,top .3s cubic-bezier(0,0,.25,1) 0s;transition:left .3s cubic-bezier(0,0,.25,1) 0s,top .3s cubic-bezier(0,0,.25,1) 0s}.lg-outer .lg-item.lg-complete.lg-zoomable .lg-img-wrap{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}.lg-outer .lg-item.lg-complete.lg-zoomable .lg-image{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1);-webkit-transition:-webkit-transform .3s cubic-bezier(0,0,.25,1) 0s,opacity .15s!important;-moz-transition:-moz-transform .3s cubic-bezier(0,0,.25,1) 0s,opacity .15s!important;-o-transition:-o-transform .3s cubic-bezier(0,0,.25,1) 0s,opacity .15s!important;transition:transform .3s cubic-bezier(0,0,.25,1) 0s,opacity .15s!important;-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}#lg-zoom-in:after{content:"\e311"}#lg-actual-size{font-size:20px}#lg-actual-size:after{content:"\e033"}#lg-zoom-out{opacity:.5;pointer-events:none}#lg-zoom-out:after{content:"\e312"}.lg-zoomed #lg-zoom-out{opacity:1;pointer-events:auto}.lg-outer .lg-pager-outer{bottom:60px;left:0;position:absolute;right:0;text-align:center;z-index:1080;height:10px}.lg-outer .lg-pager-outer.lg-pager-hover .lg-pager-cont{overflow:visible}.lg-outer .lg-pager-cont{cursor:pointer;display:inline-block;overflow:hidden;position:relative;vertical-align:top;margin:0 5px}.lg-outer .lg-pager-cont:hover .lg-pager-thumb-cont{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.lg-outer .lg-pager-cont.lg-pager-active .lg-pager{box-shadow:0 0 0 2px #fff inset}.lg-outer .lg-pager-thumb-cont{background-color:#fff;color:#FFF;bottom:100%;height:83px;left:0;margin-bottom:20px;margin-left:-60px;opacity:0;padding:5px;position:absolute;width:120px;border-radius:3px;-webkit-transition:opacity .15s ease 0s,-webkit-transform .15s ease 0s;-moz-transition:opacity .15s ease 0s,-moz-transform .15s ease 0s;-o-transition:opacity .15s ease 0s,-o-transform .15s ease 0s;transition:opacity .15s ease 0s,transform .15s ease 0s;-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}.lg-outer .lg-pager-thumb-cont img{width:100%;height:100%}.lg-outer .lg-pager{background-color:rgba(255,255,255,.5);border-radius:50%;box-shadow:0 0 0 8px rgba(255,255,255,.7) inset;display:block;height:12px;-webkit-transition:box-shadow .3s ease 0s;-o-transition:box-shadow .3s ease 0s;transition:box-shadow .3s ease 0s;width:12px}.lg-outer .lg-pager:focus,.lg-outer .lg-pager:hover{box-shadow:0 0 0 8px #fff inset}.lg-outer .lg-caret{border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px dashed;bottom:-10px;display:inline-block;height:0;left:50%;margin-left:-5px;position:absolute;vertical-align:middle;width:0}.lg-fullscreen:after{content:"\e20c"}.lg-fullscreen-on .lg-fullscreen:after{content:"\e20d"}.lg-outer #lg-dropdown-overlay{background-color:rgba(0,0,0,.25);bottom:0;cursor:default;left:0;position:fixed;right:0;top:0;z-index:1081;opacity:0;visibility:hidden;-webkit-transition:visibility 0s linear .18s,opacity .18s linear 0s;-o-transition:visibility 0s linear .18s,opacity .18s linear 0s;transition:visibility 0s linear .18s,opacity .18s linear 0s}.lg-outer.lg-dropdown-active #lg-dropdown-overlay,.lg-outer.lg-dropdown-active .lg-dropdown{-webkit-transition-delay:0s;transition-delay:0s;-moz-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1;visibility:visible}.lg-outer .lg-dropdown{background-color:#fff;border-radius:2px;font-size:14px;list-style-type:none;margin:0;padding:10px 0;position:absolute;right:0;text-align:left;top:50px;opacity:0;visibility:hidden;-moz-transform:translate3d(0,5px,0);-o-transform:translate3d(0,5px,0);-ms-transform:translate3d(0,5px,0);-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0);-webkit-transition:-webkit-transform .18s linear 0s,visibility 0s linear .5s,opacity .18s linear 0s;-moz-transition:-moz-transform .18s linear 0s,visibility 0s linear .5s,opacity .18s linear 0s;-o-transition:-o-transform .18s linear 0s,visibility 0s linear .5s,opacity .18s linear 0s;transition:transform .18s linear 0s,visibility 0s linear .5s,opacity .18s linear 0s}.lg-outer .lg-dropdown:after{content:"";display:block;height:0;width:0;position:absolute;border:8px solid transparent;border-bottom-color:#FFF;right:16px;top:-16px}.lg-outer .lg-dropdown>li:last-child{margin-bottom:0}.lg-outer .lg-dropdown>li:hover .lg-icon,.lg-outer .lg-dropdown>li:hover a{color:#333}.lg-outer .lg-dropdown a{color:#333;display:block;white-space:pre;padding:4px 12px;font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px}.lg-outer .lg-dropdown a:hover{background-color:rgba(0,0,0,.07)}.lg-outer .lg-dropdown .lg-dropdown-text{display:inline-block;line-height:1;margin-top:-3px;vertical-align:middle}.lg-outer .lg-dropdown .lg-icon{color:#333;display:inline-block;float:none;font-size:20px;height:auto;line-height:1;margin-right:8px;padding:0;vertical-align:middle;width:auto}.lg-outer,.lg-outer .lg,.lg-outer .lg-inner{width:100%;height:100%}.lg-outer #lg-share{position:relative}.lg-outer #lg-share:after{content:"\e80d"}.lg-outer #lg-share-facebook .lg-icon{color:#3b5998}.lg-outer #lg-share-facebook .lg-icon:after{content:"\e901"}.lg-outer #lg-share-twitter .lg-icon{color:#00aced}.lg-outer #lg-share-twitter .lg-icon:after{content:"\e904"}.lg-outer #lg-share-googleplus .lg-icon{color:#dd4b39}.lg-outer #lg-share-googleplus .lg-icon:after{content:"\e902"}.lg-outer #lg-share-pinterest .lg-icon{color:#cb2027}.lg-outer #lg-share-pinterest .lg-icon:after{content:"\e903"}.lg-group:after{content:"";display:table;clear:both}.lg-outer{position:fixed;top:0;left:0;z-index:1050;text-align:left;opacity:0;-webkit-transition:opacity .15s ease 0s;-o-transition:opacity .15s ease 0s;transition:opacity .15s ease 0s}.lg-outer *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.lg-outer.lg-visible{opacity:1}.lg-outer.lg-css3 .lg-item.lg-current,.lg-outer.lg-css3 .lg-item.lg-next-slide,.lg-outer.lg-css3 .lg-item.lg-prev-slide{-webkit-transition-duration:inherit!important;transition-duration:inherit!important;-webkit-transition-timing-function:inherit!important;transition-timing-function:inherit!important}.lg-outer.lg-css3.lg-dragging .lg-item.lg-current,.lg-outer.lg-css3.lg-dragging .lg-item.lg-next-slide,.lg-outer.lg-css3.lg-dragging .lg-item.lg-prev-slide{-webkit-transition-duration:0s!important;transition-duration:0s!important;opacity:1}.lg-outer.lg-grab img.lg-object{cursor:-webkit-grab;cursor:-moz-grab;cursor:-o-grab;cursor:-ms-grab;cursor:grab}.lg-outer.lg-grabbing img.lg-object{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:-o-grabbing;cursor:-ms-grabbing;cursor:grabbing}.lg-outer .lg{position:relative;overflow:hidden;margin-left:auto;margin-right:auto;max-width:100%;max-height:100%}.lg-outer .lg-inner{position:absolute;left:0;top:0;white-space:nowrap}.lg-outer .lg-item{background:url(../img/loading.gif) center center no-repeat;display:none!important}.lg-outer.lg-css .lg-current,.lg-outer.lg-css3 .lg-current,.lg-outer.lg-css3 .lg-next-slide,.lg-outer.lg-css3 .lg-prev-slide{display:inline-block!important}.lg-outer .lg-img-wrap,.lg-outer .lg-item{display:inline-block;text-align:center;position:absolute;width:100%;height:100%}.lg-outer .lg-img-wrap:before,.lg-outer .lg-item:before{content:"";display:inline-block;height:50%;width:1px;margin-right:-1px}.lg-outer .lg-img-wrap{position:absolute;padding:0 5px;left:0;right:0;top:0;bottom:0}.lg-outer .lg-item.lg-complete{background-image:none}.lg-outer .lg-item.lg-current{z-index:1060}.lg-outer .lg-image{display:inline-block;vertical-align:middle;max-width:100%;max-height:100%;width:auto!important;height:auto!important}.lg-outer.lg-show-after-load .lg-item .lg-object,.lg-outer.lg-show-after-load .lg-item .lg-video-play{opacity:0;-webkit-transition:opacity .15s ease 0s;-o-transition:opacity .15s ease 0s;transition:opacity .15s ease 0s}.lg-outer.lg-show-after-load .lg-item.lg-complete .lg-object,.lg-outer.lg-show-after-load .lg-item.lg-complete .lg-video-play{opacity:1}.lg-outer .lg-empty-html,.lg-outer.lg-hide-download #lg-download{display:none}.lg-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1040;background-color:#000;opacity:0;-webkit-transition:opacity .15s ease 0s;-o-transition:opacity .15s ease 0s;transition:opacity .15s ease 0s}.lg-backdrop.in{opacity:1}.lg-css3.lg-no-trans .lg-current,.lg-css3.lg-no-trans .lg-next-slide,.lg-css3.lg-no-trans .lg-prev-slide{-webkit-transition:none 0s ease 0s!important;-moz-transition:none 0s ease 0s!important;-o-transition:none 0s ease 0s!important;transition:none 0s ease 0s!important}.lg-css3.lg-use-css3 .lg-item,.lg-css3.lg-use-left .lg-item{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}.lg-css3.lg-fade .lg-item{opacity:0}.lg-css3.lg-fade .lg-item.lg-current{opacity:1}.lg-css3.lg-fade .lg-item.lg-current,.lg-css3.lg-fade .lg-item.lg-next-slide,.lg-css3.lg-fade .lg-item.lg-prev-slide{-webkit-transition:opacity .1s ease 0s;-moz-transition:opacity .1s ease 0s;-o-transition:opacity .1s ease 0s;transition:opacity .1s ease 0s}.lg-css3.lg-slide.lg-use-css3 .lg-item{opacity:0}.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-prev-slide{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-next-slide{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-current{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-current,.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-next-slide,.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-prev-slide{-webkit-transition:-webkit-transform 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;-moz-transition:-moz-transform 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;-o-transition:-o-transform 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;transition:transform 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s}.lg-css3.lg-slide.lg-use-left .lg-item{opacity:0;position:absolute;left:0}.lg-css3.lg-slide.lg-use-left .lg-item.lg-prev-slide{left:-100%}.lg-css3.lg-slide.lg-use-left .lg-item.lg-next-slide{left:100%}.lg-css3.lg-slide.lg-use-left .lg-item.lg-current{left:0;opacity:1}.lg-css3.lg-slide.lg-use-left .lg-item.lg-current,.lg-css3.lg-slide.lg-use-left .lg-item.lg-next-slide,.lg-css3.lg-slide.lg-use-left .lg-item.lg-prev-slide{-webkit-transition:left 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;-moz-transition:left 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;-o-transition:left 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;transition:left 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s}
|
Binary file
|
@@ -1,47 +0,0 @@
|
|
1
|
-
<?xml version="1.0" standalone="no"?>
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
3
|
-
<svg xmlns="http://www.w3.org/2000/svg">
|
4
|
-
<metadata>
|
5
|
-
<json>
|
6
|
-
<![CDATA[
|
7
|
-
{
|
8
|
-
"fontFamily": "lg",
|
9
|
-
"majorVersion": 1,
|
10
|
-
"minorVersion": 0,
|
11
|
-
"fontURL": "https://github.com/sachinchoolur/lightGallery",
|
12
|
-
"copyright": "sachin",
|
13
|
-
"license": "MLT",
|
14
|
-
"licenseURL": "http://opensource.org/licenses/MIT",
|
15
|
-
"version": "Version 1.0",
|
16
|
-
"fontId": "lg",
|
17
|
-
"psName": "lg",
|
18
|
-
"subFamily": "Regular",
|
19
|
-
"fullName": "lg",
|
20
|
-
"description": "Font generated by IcoMoon."
|
21
|
-
}
|
22
|
-
]]>
|
23
|
-
</json>
|
24
|
-
</metadata>
|
25
|
-
<defs>
|
26
|
-
<font id="lg" horiz-adv-x="1024">
|
27
|
-
<font-face units-per-em="1024" ascent="960" descent="-64" />
|
28
|
-
<missing-glyph horiz-adv-x="1024" />
|
29
|
-
<glyph unicode=" " horiz-adv-x="512" d="" />
|
30
|
-
<glyph unicode="" glyph-name="pause_circle_outline" data-tags="pause_circle_outline" d="M554 256.667v340h86v-340h-86zM512 84.667q140 0 241 101t101 241-101 241-241 101-241-101-101-241 101-241 241-101zM512 852.667q176 0 301-125t125-301-125-301-301-125-301 125-125 301 125 301 301 125zM384 256.667v340h86v-340h-86z" />
|
31
|
-
<glyph unicode="" glyph-name="play_circle_outline" data-tags="play_circle_outline" d="M512 84.667q140 0 241 101t101 241-101 241-241 101-241-101-101-241 101-241 241-101zM512 852.667q176 0 301-125t125-301-125-301-301-125-301 125-125 301 125 301 301 125zM426 234.667v384l256-192z" />
|
32
|
-
<glyph unicode="" glyph-name="stack-2" data-tags="stack-2" d="M384 853.334h426.667q53 0 90.5-37.5t37.5-90.5v-426.667q0-53-37.5-90.5t-90.5-37.5h-426.667q-53 0-90.5 37.5t-37.5 90.5v426.667q0 53 37.5 90.5t90.5 37.5zM170.667 675.334v-547.333q0-17.667 12.5-30.167t30.167-12.5h547.333q-13.333-37.667-46.333-61.5t-74.333-23.833h-426.667q-53 0-90.5 37.5t-37.5 90.5v426.667q0 41.333 23.833 74.333t61.5 46.333zM810.667 768h-426.667q-17.667 0-30.167-12.5t-12.5-30.167v-426.667q0-17.667 12.5-30.167t30.167-12.5h426.667q17.667 0 30.167 12.5t12.5 30.167v426.667q0 17.667-12.5 30.167t-30.167 12.5z" />
|
33
|
-
<glyph unicode="" glyph-name="clear" data-tags="clear" d="M810 664.667l-238-238 238-238-60-60-238 238-238-238-60 60 238 238-238 238 60 60 238-238 238 238z" />
|
34
|
-
<glyph unicode="" glyph-name="arrow-left" data-tags="arrow-left" d="M426.667 768q17.667 0 30.167-12.5t12.5-30.167q0-18-12.667-30.333l-225.667-225.667h665q17.667 0 30.167-12.5t12.5-30.167-12.5-30.167-30.167-12.5h-665l225.667-225.667q12.667-12.333 12.667-30.333 0-17.667-12.5-30.167t-30.167-12.5q-18 0-30.333 12.333l-298.667 298.667q-12.333 13-12.333 30.333t12.333 30.333l298.667 298.667q12.667 12.333 30.333 12.333z" />
|
35
|
-
<glyph unicode="" glyph-name="arrow-right" data-tags="arrow-right" d="M597.333 768q18 0 30.333-12.333l298.667-298.667q12.333-12.333 12.333-30.333t-12.333-30.333l-298.667-298.667q-12.333-12.333-30.333-12.333-18.333 0-30.5 12.167t-12.167 30.5q0 18 12.333 30.333l226 225.667h-665q-17.667 0-30.167 12.5t-12.5 30.167 12.5 30.167 30.167 12.5h665l-226 225.667q-12.333 12.333-12.333 30.333 0 18.333 12.167 30.5t30.5 12.167z" />
|
36
|
-
<glyph unicode="" glyph-name="vertical_align_bottom" data-tags="vertical_align_bottom" d="M170 128.667h684v-86h-684v86zM682 384.667l-170-172-170 172h128v426h84v-426h128z" />
|
37
|
-
<glyph unicode="" glyph-name="apps" data-tags="apps" d="M682 84.667v172h172v-172h-172zM682 340.667v172h172v-172h-172zM426 596.667v172h172v-172h-172zM682 768.667h172v-172h-172v172zM426 340.667v172h172v-172h-172zM170 340.667v172h172v-172h-172zM170 84.667v172h172v-172h-172zM426 84.667v172h172v-172h-172zM170 596.667v172h172v-172h-172z" />
|
38
|
-
<glyph unicode="" glyph-name="fullscreen" data-tags="fullscreen" d="M598 724.667h212v-212h-84v128h-128v84zM726 212.667v128h84v-212h-212v84h128zM214 512.667v212h212v-84h-128v-128h-84zM298 340.667v-128h128v-84h-212v212h84z" />
|
39
|
-
<glyph unicode="" glyph-name="fullscreen_exit" data-tags="fullscreen_exit" d="M682 596.667h128v-84h-212v212h84v-128zM598 128.667v212h212v-84h-128v-128h-84zM342 596.667v128h84v-212h-212v84h128zM214 256.667v84h212v-212h-84v128h-128z" />
|
40
|
-
<glyph unicode="" glyph-name="zoom_in" data-tags="zoom_in" d="M512 512.667h-86v-86h-42v86h-86v42h86v86h42v-86h86v-42zM406 340.667q80 0 136 56t56 136-56 136-136 56-136-56-56-136 56-136 136-56zM662 340.667l212-212-64-64-212 212v34l-12 12q-76-66-180-66-116 0-197 80t-81 196 81 197 197 81 196-81 80-197q0-104-66-180l12-12h34z" />
|
41
|
-
<glyph unicode="" glyph-name="zoom_out" data-tags="zoom_out" d="M298 554.667h214v-42h-214v42zM406 340.667q80 0 136 56t56 136-56 136-136 56-136-56-56-136 56-136 136-56zM662 340.667l212-212-64-64-212 212v34l-12 12q-76-66-180-66-116 0-197 80t-81 196 81 197 197 81 196-81 80-197q0-104-66-180l12-12h34z" />
|
42
|
-
<glyph unicode="" glyph-name="share" data-tags="share" d="M768 252.667c68 0 124-56 124-124s-56-126-124-126-124 58-124 126c0 10 0 20 2 28l-302 176c-24-22-54-34-88-34-70 0-128 58-128 128s58 128 128 128c34 0 64-12 88-34l300 174c-2 10-4 20-4 30 0 70 58 128 128 128s128-58 128-128-58-128-128-128c-34 0-64 14-88 36l-300-176c2-10 4-20 4-30s-2-20-4-30l304-176c22 20 52 32 84 32z" />
|
43
|
-
<glyph unicode="" glyph-name="facebook-with-circle" data-tags="facebook-with-circle" d="M512 952.32c-271.462 0-491.52-220.058-491.52-491.52s220.058-491.52 491.52-491.52 491.52 220.058 491.52 491.52-220.058 491.52-491.52 491.52zM628.429 612.659h-73.882c-8.755 0-18.483-11.52-18.483-26.829v-53.35h92.416l-13.978-76.083h-78.438v-228.403h-87.194v228.403h-79.104v76.083h79.104v44.749c0 64.205 44.544 116.378 105.677 116.378h73.882v-80.947z" />
|
44
|
-
<glyph unicode="" glyph-name="google-with-circle" data-tags="google+-with-circle" d="M512 952.32c-271.462 0-491.52-220.058-491.52-491.52s220.058-491.52 491.52-491.52 491.52 220.058 491.52 491.52-220.058 491.52-491.52 491.52zM483.686 249.805c-30.874-15.002-64.102-16.589-76.954-16.589-2.458 0-3.84 0-3.84 0s-1.178 0-2.765 0c-20.070 0-119.962 4.608-119.962 95.59 0 89.395 108.8 96.41 142.131 96.41h0.87c-19.251 25.702-15.258 51.61-15.258 51.61-1.69-0.102-4.147-0.205-7.168-0.205-12.544 0-36.762 1.997-57.549 15.411-25.498 16.384-38.4 44.288-38.4 82.893 0 109.107 119.142 113.51 120.32 113.613h118.989v-2.611c0-13.312-23.91-15.923-40.192-18.125-5.53-0.819-16.64-1.894-19.763-3.482 30.157-16.128 35.021-41.421 35.021-79.104 0-42.906-16.794-65.587-34.611-81.51-11.059-9.882-19.712-17.613-19.712-28.006 0-10.189 11.878-20.582 25.702-32.717 22.579-19.917 53.555-47.002 53.555-92.723 0-47.258-20.326-81.050-60.416-100.454zM742.4 460.8h-76.8v-76.8h-51.2v76.8h-76.8v51.2h76.8v76.8h51.2v-76.8h76.8v-51.2zM421.018 401.92c-2.662 0-5.325-0.102-8.038-0.307-22.733-1.69-43.725-10.189-58.88-24.013-15.053-13.619-22.733-30.822-21.658-48.179 2.304-36.403 41.37-57.702 88.832-54.323 46.694 3.379 77.824 30.31 75.571 66.714-2.15 34.202-31.898 60.109-75.827 60.109zM465.766 599.808c-12.39 43.52-32.358 56.422-63.386 56.422-3.328 0-6.707-0.512-9.933-1.382-13.466-3.84-24.166-15.053-30.106-31.744-6.093-16.896-6.451-34.509-1.229-54.579 9.472-35.891 34.97-61.901 60.672-61.901 3.379 0 6.758 0.41 9.933 1.382 28.109 7.885 45.722 50.79 34.048 91.802z" />
|
45
|
-
<glyph unicode="" glyph-name="pinterest-with-circle" data-tags="pinterest-with-circle" d="M512 952.32c-271.462 0-491.52-220.058-491.52-491.52s220.058-491.52 491.52-491.52 491.52 220.058 491.52 491.52-220.058 491.52-491.52 491.52zM545.638 344.32c-31.539 2.406-44.749 18.022-69.427 32.973-13.568-71.219-30.157-139.52-79.309-175.206-15.206 107.725 22.221 188.518 39.629 274.381-29.645 49.92 3.533 150.323 66.099 125.645 76.954-30.515-66.662-185.6 29.747-205.005 100.659-20.173 141.773 174.694 79.36 237.978-90.214 91.494-262.502 2.099-241.306-128.87 5.12-32 38.246-41.728 13.21-85.914-57.702 12.8-74.957 58.317-72.704 118.989 3.533 99.328 89.242 168.909 175.155 178.483 108.698 12.083 210.688-39.885 224.819-142.182 15.821-115.405-49.101-240.282-165.274-231.27z" />
|
46
|
-
<glyph unicode="" glyph-name="twitter-with-circle" data-tags="twitter-with-circle" d="M512 952.32c-271.462 0-491.52-220.058-491.52-491.52s220.058-491.52 491.52-491.52 491.52 220.058 491.52 491.52-220.058 491.52-491.52 491.52zM711.936 549.683c0.205-4.198 0.256-8.397 0.256-12.493 0-128-97.331-275.507-275.405-275.507-54.682 0-105.574 15.974-148.378 43.52 7.526-0.922 15.258-1.28 23.091-1.28 45.363 0 87.091 15.411 120.218 41.421-42.342 0.819-78.080 28.774-90.419 67.174 5.888-1.075 11.93-1.69 18.176-1.69 8.806 0 17.408 1.178 25.498 3.379-44.288 8.909-77.67 48.026-77.67 94.925v1.178c13.056-7.219 28.006-11.622 43.878-12.134-26.010 17.408-43.059 47.002-43.059 80.64 0 17.715 4.762 34.406 13.107 48.691 47.77-58.573 119.040-97.075 199.526-101.222-1.69 7.117-2.509 14.49-2.509 22.118 0 53.402 43.315 96.819 96.819 96.819 27.802 0 52.992-11.776 70.656-30.618 22.067 4.403 42.752 12.39 61.44 23.501-7.219-22.579-22.528-41.574-42.547-53.606 19.61 2.406 38.246 7.578 55.603 15.309-12.954-19.405-29.389-36.506-48.282-50.125z" />
|
47
|
-
</font></defs></svg>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,10 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<!-- Generator: Adobe Illustrator 16.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
-
<svg version="1.1" id="Icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
-
width="481.71px" height="481.71px" viewBox="158.164 48.026 481.71 481.71" enable-background="new 158.164 48.026 481.71 481.71"
|
6
|
-
xml:space="preserve">
|
7
|
-
<path fill="#FFFFFF" d="M512.162,48.038c0,0-46.337,0-77.074,0c-45.775,0-96.65,19.188-96.65,85.438c0.237,23.062,0,45.163,0,70.038
|
8
|
-
h-52.925v84.1h54.575v242.125H440.35V286h66.188l5.988-82.725h-73.913c0,0,0.2-36.825,0-47.5c0-26.163,27.3-24.675,28.9-24.675
|
9
|
-
c13.024,0,38.237,0.038,44.725,0V48.025h-0.075V48.038z"/>
|
10
|
-
</svg>
|
@@ -1,30 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<!-- Generator: Adobe Illustrator 16.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
-
<svg version="1.1" id="Icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
-
width="326.74px" height="326.74px" viewBox="255.567 130.749 326.74 326.74"
|
6
|
-
enable-background="new 255.567 130.749 326.74 326.74" xml:space="preserve">
|
7
|
-
<path fill="#FFFFFF" d="M433.713,322.8c-6.95-2.987-13.851-4.638-20.726-4.938c-4.787-0.149-12.888-0.6-24.312-1.337
|
8
|
-
c-11.438-0.75-20.425-1.2-27-1.338c-6.125-0.15-12.062-0.375-17.812-0.688c-5.75-0.287-10.8-1.037-15.125-2.237
|
9
|
-
c-4.487-1.05-8.3-3.025-11.438-5.95c-3.137-2.9-4.7-7.125-4.7-12.663c0-5.375,1.862-9.637,5.6-12.762
|
10
|
-
c3.737-3.125,7.312-5.3,10.75-6.5h27.112c20.913,0,39.25-6.725,55.013-20.163c15.763-13.45,23.638-29.875,23.638-49.3
|
11
|
-
c0-7.462-1.338-15.087-4.025-22.862c-2.688-7.763-6.8-14.862-12.325-21.288v-1.337h51.987v-21.513h-77.087
|
12
|
-
c-6.875-2.087-13.638-3.812-20.288-5.15s-13.337-2.025-20.05-2.025c-24.35,0-44.338,6.725-59.938,20.175
|
13
|
-
c-15.613,13.45-23.425,30.625-23.425,51.538c0,13.9,3.95,26.113,11.875,36.638c7.913,10.538,19.038,19.163,33.388,25.887v3.363
|
14
|
-
c-11.35,4.775-19.825,10.5-25.438,17.137c-5.6,6.65-8.4,13.925-8.4,21.851c0,6.274,1.2,11.537,3.587,15.8
|
15
|
-
c2.387,4.263,5.525,7.962,9.413,11.1c3.438,2.688,7.537,5.038,12.325,7.05c4.775,2.013,9.413,3.7,13.888,5.038v3.138
|
16
|
-
c-18.525,0.762-33.763,5.524-45.712,14.337c-11.95,8.812-17.925,20.838-17.925,36.088c0,18.824,8.3,33.112,24.875,42.912
|
17
|
-
c16.575,9.8,41.6,14.688,75.062,14.688c20.462,0,37.65-1.95,51.55-5.838c13.9-3.887,25.838-9.337,35.851-16.362
|
18
|
-
c9.412-6.875,16.425-14.975,21.075-24.312c4.625-9.337,6.949-19.3,6.949-29.912s-1.725-19.5-5.149-26.675
|
19
|
-
c-3.438-7.163-8.15-13.588-14.125-19.275C446.975,329.9,440.662,325.787,433.713,322.8z M381.725,243.362
|
20
|
-
c-6.95,10.388-16.85,15.575-29.688,15.575c-11.5,0-20.875-5.225-28.125-15.688c-7.25-10.45-10.863-23.975-10.863-40.562
|
21
|
-
c0-7.312,0.638-14.45,1.9-21.4c1.262-6.95,3.387-12.888,6.387-17.812c3.138-5.375,7.212-9.525,12.212-12.438
|
22
|
-
s11.013-4.375,18.038-4.375c12.837,0,22.812,5.2,29.913,15.575c7.087,10.388,10.65,24.312,10.65,41.788
|
23
|
-
C392.15,219.862,388.675,232.975,381.725,243.362z M416.237,427.787c-12.625,8.45-29.925,12.663-51.875,12.663
|
24
|
-
c-12.7,0-23.45-1.237-32.275-3.688c-8.812-2.463-15.837-5.638-21.062-9.538c-5.525-4.024-9.413-8.438-11.65-13.225
|
25
|
-
c-2.237-4.775-3.362-9.775-3.362-15.013c0-11.649,3.4-21.162,10.2-28.562c6.788-7.399,18.263-12.675,34.4-15.812
|
26
|
-
c17.175,0,32.275,0.375,45.263,1.125c13,0.763,21.588,1.425,25.775,2.013c7.912,1.938,13.812,5.6,17.712,10.987
|
27
|
-
c3.888,5.388,5.825,12.237,5.825,20.612C435.162,406.525,428.862,419.35,416.237,427.787z"/>
|
28
|
-
<path fill="#FFFFFF" d="M520.6,203.85v43.812H537.7V203.85h43.612v-16.812H537.7v-43.913H520.6v43.913h-43.612v16.812H520.6
|
29
|
-
L520.6,203.85z"/>
|
30
|
-
</svg>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<!-- Generator: Adobe Illustrator 16.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
-
<svg version="1.1" id="Icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
-
width="380.65px" height="380.65px" viewBox="222.237 95.394 380.65 380.65" enable-background="new 222.237 95.394 380.65 380.65"
|
6
|
-
xml:space="preserve">
|
7
|
-
<path fill="#FFFFFF" d="M602.888,167.663c-14,6.212-29.038,10.413-44.851,12.3c16.138-9.675,28.5-24.975,34.338-43.212
|
8
|
-
c-15.075,8.95-31.787,15.45-49.6,18.95c-14.238-15.175-34.538-24.65-57-24.65c-43.113,0-78.075,34.95-78.075,78.088
|
9
|
-
c0,6.125,0.688,12.075,2.013,17.8c-64.9-3.263-122.438-34.362-160.95-81.6c-6.725,11.538-10.575,24.95-10.575,39.263
|
10
|
-
c0,27.087,13.788,51,34.737,64.987c-12.8-0.4-24.837-3.913-35.375-9.762c0,0.325,0,0.662,0,0.987
|
11
|
-
c0,37.825,26.913,69.388,62.638,76.562c-6.562,1.787-13.45,2.737-20.575,2.737c-5.037,0-9.925-0.475-14.7-1.375
|
12
|
-
c9.938,31,38.775,53.588,72.938,54.226c-26.725,20.938-60.4,33.438-96.975,33.438c-6.3,0-12.525-0.375-18.638-1.113
|
13
|
-
c34.562,22.163,75.6,35.101,119.7,35.101c143.625,0,222.175-118.987,222.175-222.175c0-3.387-0.075-6.75-0.237-10.112
|
14
|
-
C579.175,197.075,592.425,183.325,602.888,167.663z"/>
|
15
|
-
</svg>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,262 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
# -----------------------------------------------------------------------------
|
3
|
-
# ~/assets/themes/j1/modules/lightGallery/themes/uno.css
|
4
|
-
# Provides LightGallery styles for Theme Uno
|
5
|
-
#
|
6
|
-
# Product/Info:
|
7
|
-
# https://jekyll.one
|
8
|
-
#
|
9
|
-
# Copyright (C) 2021 Juergen Adams
|
10
|
-
#
|
11
|
-
# J1 Template is licensed under the MIT License.
|
12
|
-
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
13
|
-
# -----------------------------------------------------------------------------
|
14
|
-
*/
|
15
|
-
|
16
|
-
|
17
|
-
/*
|
18
|
-
---------------------------------------
|
19
|
-
LG caption
|
20
|
-
---------------------------------------
|
21
|
-
*/
|
22
|
-
.lg-sub-html h1,
|
23
|
-
.lg-sub-html h2,
|
24
|
-
.lg-sub-html h3,
|
25
|
-
.lg-sub-html h4,
|
26
|
-
.lg-sub-html h5 {
|
27
|
-
font-size: 24px;
|
28
|
-
font-weight: 400;
|
29
|
-
line-height: 1.1;
|
30
|
-
color: #E5E5E5;
|
31
|
-
margin-top: 10px;
|
32
|
-
margin-bottom: 10px;
|
33
|
-
}
|
34
|
-
|
35
|
-
/*
|
36
|
-
.lg-sub-html > .title {
|
37
|
-
font-size: 24px;
|
38
|
-
font-weight: 400;
|
39
|
-
line-height: 1.1;
|
40
|
-
color: #E5E5E5;
|
41
|
-
margin-top: 10px;
|
42
|
-
margin-bottom: 10px;
|
43
|
-
}
|
44
|
-
|
45
|
-
.lg-sub-html > .tagline {
|
46
|
-
font-size: 18px;
|
47
|
-
font-weight: 400;
|
48
|
-
line-height: 1.1;
|
49
|
-
color: #E5E5E5;
|
50
|
-
margin-top: 10px;
|
51
|
-
margin-bottom: 10px;
|
52
|
-
}
|
53
|
-
*/
|
54
|
-
|
55
|
-
/*
|
56
|
-
---------------------------------------
|
57
|
-
lg-thumbnail
|
58
|
-
---------------------------------------
|
59
|
-
*/
|
60
|
-
|
61
|
-
.lg-thumbnail {
|
62
|
-
display: block;
|
63
|
-
/* padding: 4px;
|
64
|
-
margin-bottom: 20px;
|
65
|
-
line-height: 1.42857143;
|
66
|
-
background-color: #ffffff;
|
67
|
-
border: 1px solid #dddddd;
|
68
|
-
border-radius: 2px;
|
69
|
-
-webkit-transition: border 0.2s ease-in-out;
|
70
|
-
-o-transition: border 0.2s ease-in-out;
|
71
|
-
transition: border 0.2s ease-in-out;
|
72
|
-
*/
|
73
|
-
}
|
74
|
-
|
75
|
-
.lg-thumbnail > img,
|
76
|
-
.lg-thumbnail a > img {
|
77
|
-
display: block;
|
78
|
-
max-width: 100%;
|
79
|
-
height: auto;
|
80
|
-
}
|
81
|
-
|
82
|
-
a.lg-thumbnail {
|
83
|
-
margin-left: 1px;
|
84
|
-
margin-bottom: 1px;
|
85
|
-
}
|
86
|
-
|
87
|
-
/*
|
88
|
-
.img-lg-thumbnail {
|
89
|
-
padding: 4px;
|
90
|
-
line-height: 1.42857143;
|
91
|
-
background-color: #ffffff;
|
92
|
-
border: 1px solid #dddddd;
|
93
|
-
border-radius: 2px;
|
94
|
-
-webkit-transition: all 0.2s ease-in-out;
|
95
|
-
-o-transition: all 0.2s ease-in-out;
|
96
|
-
transition: all 0.2s ease-in-out;
|
97
|
-
display: inline-block;
|
98
|
-
max-width: 100%;
|
99
|
-
height: auto;
|
100
|
-
}
|
101
|
-
*/
|
102
|
-
|
103
|
-
|
104
|
-
/*
|
105
|
-
.lg-thumbnail > img,
|
106
|
-
.lg-thumbnail a > img {
|
107
|
-
margin-left: auto;
|
108
|
-
margin-right: auto;
|
109
|
-
}
|
110
|
-
*/
|
111
|
-
|
112
|
-
/*
|
113
|
-
a.lg-thumbnail:hover,
|
114
|
-
a.lg-thumbnail:focus,
|
115
|
-
a.lg-thumbnail.active {
|
116
|
-
border-color: #204a87;
|
117
|
-
}
|
118
|
-
*/
|
119
|
-
|
120
|
-
/*
|
121
|
-
---------------------------------------
|
122
|
-
lg-thumbnail animation
|
123
|
-
---------------------------------------
|
124
|
-
*/
|
125
|
-
|
126
|
-
.lg-animate > ul > li a {
|
127
|
-
/* border: 1px solid #DDD; */
|
128
|
-
display: block;
|
129
|
-
overflow: hidden;
|
130
|
-
position: relative;
|
131
|
-
float: left;
|
132
|
-
}
|
133
|
-
|
134
|
-
.lg-animate > ul > li a > img {
|
135
|
-
-webkit-transition: -webkit-transform 0.15s ease 0s;
|
136
|
-
-moz-transition: -moz-transform 0.15s ease 0s;
|
137
|
-
-o-transition: -o-transform 0.15s ease 0s;
|
138
|
-
transition: transform 0.15s ease 0s;
|
139
|
-
-webkit-transform: scale3d(1, 1, 1);
|
140
|
-
transform: scale3d(1, 1, 1);
|
141
|
-
width: 100%;
|
142
|
-
}
|
143
|
-
|
144
|
-
/*
|
145
|
-
.lg-animate > ul > li a:hover > img {
|
146
|
-
-webkit-transform: scale3d(1.1, 1.1, 1.1);
|
147
|
-
transform: scale3d(1.1, 1.1, 1.1);
|
148
|
-
}
|
149
|
-
*/
|
150
|
-
|
151
|
-
/*
|
152
|
-
---------------------------------------
|
153
|
-
Unused
|
154
|
-
---------------------------------------
|
155
|
-
*/
|
156
|
-
|
157
|
-
|
158
|
-
/* image overlay classes
|
159
|
-
------------------------------------------------------------------ */
|
160
|
-
|
161
|
-
/*
|
162
|
-
.lightgallery > ul > li a > img {
|
163
|
-
-webkit-transition: -webkit-transform 0.15s ease 0s;
|
164
|
-
-moz-transition: -moz-transform 0.15s ease 0s;
|
165
|
-
-o-transition: -o-transform 0.15s ease 0s;
|
166
|
-
transition: transform 0.15s ease 0s;
|
167
|
-
-webkit-transform: scale3d(1, 1, 1);
|
168
|
-
transform: scale3d(1, 1, 1);
|
169
|
-
width: 100%;
|
170
|
-
}
|
171
|
-
*/
|
172
|
-
|
173
|
-
.lightgallery > ul > li a:hover > img {
|
174
|
-
-webkit-transform: scale3d(1.1, 1.1, 1.1);
|
175
|
-
transform: scale3d(1.1, 1.1, 1.1);
|
176
|
-
}
|
177
|
-
.lightgallery > ul > li a:hover .img-overlay > img {
|
178
|
-
opacity: 1;
|
179
|
-
}
|
180
|
-
|
181
|
-
/*
|
182
|
-
.lightgallery > ul > li a .img-overlay {
|
183
|
-
background-color: rgba(0, 0, 0, 0.1);
|
184
|
-
bottom: 0;
|
185
|
-
left: 0;
|
186
|
-
position: absolute;
|
187
|
-
right: 0;
|
188
|
-
top: 0;
|
189
|
-
-webkit-transition: background-color 0.15s ease 0s;
|
190
|
-
-o-transition: background-color 0.15s ease 0s;
|
191
|
-
transition: background-color 0.15s ease 0s;
|
192
|
-
}
|
193
|
-
*/
|
194
|
-
|
195
|
-
.lightgallery > ul > li a .img-overlay {
|
196
|
-
height: 64px;
|
197
|
-
width: 64px;
|
198
|
-
bottom: 0;
|
199
|
-
left: 50%;
|
200
|
-
margin-left: -35px;
|
201
|
-
margin-top: -35px;
|
202
|
-
position: absolute;
|
203
|
-
right: 0;
|
204
|
-
top: 50%;
|
205
|
-
-webkit-transition: background-color 0.15s ease 0s;
|
206
|
-
-o-transition: background-color 0.15s ease 0s;
|
207
|
-
transition: background-color 0.15s ease 0s;
|
208
|
-
}
|
209
|
-
|
210
|
-
|
211
|
-
.lightgallery.col-lg-1,
|
212
|
-
.lightgallery.col-lg-10,
|
213
|
-
.lightgallery.col-lg-11,
|
214
|
-
.lightgallery.col-lg-12,
|
215
|
-
.lightgallery.col-lg-2,
|
216
|
-
.lightgallery.col-lg-3,
|
217
|
-
.lightgallery.col-lg-4,
|
218
|
-
.lightgallery.col-lg-5,
|
219
|
-
.lightgallery.col-lg-6,
|
220
|
-
.lightgallery.col-lg-7,
|
221
|
-
.lightgallery.col-lg-8,
|
222
|
-
.lightgallery.col-lg-9,
|
223
|
-
.lightgallery.col-md-1,
|
224
|
-
.lightgallery.col-md-10,
|
225
|
-
.lightgallery.col-md-11,
|
226
|
-
.lightgallery.col-md-12,
|
227
|
-
.lightgallery.col-md-2,
|
228
|
-
.lightgallery.col-md-3,
|
229
|
-
.lightgallery.col-md-4,
|
230
|
-
.lightgallery.col-md-5,
|
231
|
-
.lightgallery.col-md-6,
|
232
|
-
.lightgallery.col-md-7,
|
233
|
-
.lightgallery.col-md-8,
|
234
|
-
.lightgallery.col-md-9,
|
235
|
-
.lightgallery.col-sm-1,
|
236
|
-
.lightgallery.col-sm-10,
|
237
|
-
.lightgallery.col-sm-11,
|
238
|
-
.lightgallery.col-sm-12,
|
239
|
-
.lightgallery.col-sm-2,
|
240
|
-
.lightgallery.col-sm-3,
|
241
|
-
.lightgallery.col-sm-4,
|
242
|
-
.lightgallery.col-sm-5,
|
243
|
-
.lightgallery.col-sm-6,
|
244
|
-
.lightgallery.col-sm-7,
|
245
|
-
.lightgallery.col-sm-8,
|
246
|
-
.lightgallery.col-sm-9,
|
247
|
-
.lightgallery.col-xs-1,
|
248
|
-
.lightgallery.col-xs-10,
|
249
|
-
.lightgallery.col-xs-11,
|
250
|
-
.lightgallery.col-xs-12,
|
251
|
-
.lightgallery.col-xs-2,
|
252
|
-
.lightgallery.col-xs-3,
|
253
|
-
.lightgallery.col-xs-4,
|
254
|
-
.lightgallery.col-xs-5,
|
255
|
-
.lightgallery.col-xs-6,
|
256
|
-
.lightgallery.col-xs-7,
|
257
|
-
.lightgallery.col-xs-8,
|
258
|
-
.lightgallery.col-xs-9 {
|
259
|
-
padding-left: 0;
|
260
|
-
padding-right: 1px;
|
261
|
-
padding-bottom: 1px;
|
262
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
# -----------------------------------------------------------------------------
|
3
|
-
# ~/assets/themes/j1/modules/lightGallery/themes/uno.mincss
|
4
|
-
# Provides LightGallery styles for Theme Uno
|
5
|
-
#
|
6
|
-
# Product/Info:
|
7
|
-
# https://jekyll.one
|
8
|
-
#
|
9
|
-
# Copyright (C) 2021 Juergen Adams
|
10
|
-
#
|
11
|
-
# J1 Template is licensed under the MIT License.
|
12
|
-
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
13
|
-
# -----------------------------------------------------------------------------
|
14
|
-
*/
|
15
|
-
.lg-sub-html h1,.lg-sub-html h2,.lg-sub-html h3,.lg-sub-html h4,.lg-sub-html h5{font-size:24px;font-weight:400;line-height:1.1;color:#e5e5e5;margin-top:10px;margin-bottom:10px}.lg-thumbnail{display:block}.lg-thumbnail>img,.lg-thumbnail a>img{display:block;max-width:100%;height:auto}a.lg-thumbnail{margin-left:1px;margin-bottom:1px}.lg-animate>ul>li a{display:block;overflow:hidden;position:relative;float:left}.lg-animate>ul>li a>img{-webkit-transition:-webkit-transform .15s ease 0s;-moz-transition:-moz-transform .15s ease 0s;-o-transition:-o-transform .15s ease 0s;transition:transform .15s ease 0s;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1);width:100%}.lg-animate>ul>li a:hover>img{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}.lightgallery>ul>li a:hover>img{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}.lightgallery>ul>li a:hover .img-overlay>img{opacity:1}.lightgallery>ul>li a .img-overlay{height:64px;width:64px;bottom:0;left:50%;margin-left:-35px;margin-top:-35px;position:absolute;right:0;top:50%;-webkit-transition:background-color .15s ease 0s;-o-transition:background-color .15s ease 0s;transition:background-color .15s ease 0s}.lightgallery>ul>li a .img-overlay>img.img-overlay{left:50%;margin-left:-10px;margin-top:-10px;opacity:0;position:absolute;top:50%;-webkit-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s}.lightgallery>ul>li a:hover .img-overlay{-webkit-transition:background-color .15s ease 0s;-o-transition:background-color .15s ease 0s;transition:background-color .15s ease 0s}.lightgallery .justified-gallery>a>img{-webkit-transition:-webkit-transform .15s ease 0s;-moz-transition:-moz-transform .15s ease 0s;-o-transition:-o-transform .15s ease 0s;transition:transform .15s ease 0s;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1);height:100%;width:100%}.lightgallery .justified-gallery>a:hover>img{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}.lightgallery .justified-gallery>a:hover .img-overlay>img{opacity:1}.lightgallery .justified-gallery>a .img-overlay{background-color:rgba(0,0,0,0.1);bottom:0;left:0;position:absolute;right:0;top:0;-webkit-transition:background-color .15s ease 0s;-o-transition:background-color .15s ease 0s;transition:background-color .15s ease 0s}.lightgallery .justified-gallery>a .img-overlay>img{left:50%;margin-left:-10px;margin-top:-10px;opacity:0;position:absolute;top:50%;-webkit-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s}.lightgallery .justified-gallery>a:hover .img-overlay{background-color:rgba(0,0,0,0.5)}.lightgallery .video .img-overlay img{height:48px;margin-left:-24px;margin-top:-24px;opacity:.8;width:48px}.lightgallery.col-lg-1,.lightgallery.col-lg-10,.lightgallery.col-lg-11,.lightgallery.col-lg-12,.lightgallery.col-lg-2,.lightgallery.col-lg-3,.lightgallery.col-lg-4,.lightgallery.col-lg-5,.lightgallery.col-lg-6,.lightgallery.col-lg-7,.lightgallery.col-lg-8,.lightgallery.col-lg-9,.lightgallery.col-md-1,.lightgallery.col-md-10,.lightgallery.col-md-11,.lightgallery.col-md-12,.lightgallery.col-md-2,.lightgallery.col-md-3,.lightgallery.col-md-4,.lightgallery.col-md-5,.lightgallery.col-md-6,.lightgallery.col-md-7,.lightgallery.col-md-8,.lightgallery.col-md-9,.lightgallery.col-sm-1,.lightgallery.col-sm-10,.lightgallery.col-sm-11,.lightgallery.col-sm-12,.lightgallery.col-sm-2,.lightgallery.col-sm-3,.lightgallery.col-sm-4,.lightgallery.col-sm-5,.lightgallery.col-sm-6,.lightgallery.col-sm-7,.lightgallery.col-sm-8,.lightgallery.col-sm-9,.lightgallery.col-xs-1,.lightgallery.col-xs-10,.lightgallery.col-xs-11,.lightgallery.col-xs-12,.lightgallery.col-xs-2,.lightgallery.col-xs-3,.lightgallery.col-xs-4,.lightgallery.col-xs-5,.lightgallery.col-xs-6,.lightgallery.col-xs-7,.lightgallery.col-xs-8,.lightgallery.col-xs-9{padding-left:0;padding-right:1px;padding-bottom:1px}
|
@@ -1,1362 +0,0 @@
|
|
1
|
-
/*! lightgallery - v1.6.12 - 2019-02-19
|
2
|
-
* http://sachinchoolur.github.io/lightGallery/
|
3
|
-
* Copyright (c) 2019 Sachin N; Licensed GPLv3 */
|
4
|
-
|
5
|
-
(function (root, factory) {
|
6
|
-
if (typeof define === 'function' && define.amd) {
|
7
|
-
// AMD. Register as an anonymous module unless amdModuleId is set
|
8
|
-
define(['jquery'], function (a0) {
|
9
|
-
return (factory(a0));
|
10
|
-
});
|
11
|
-
} else if (typeof module === 'object' && module.exports) {
|
12
|
-
// Node. Does not work with strict CommonJS, but
|
13
|
-
// only CommonJS-like environments that support module.exports,
|
14
|
-
// like Node.
|
15
|
-
module.exports = factory(require('jquery'));
|
16
|
-
} else {
|
17
|
-
factory(root["jQuery"]);
|
18
|
-
}
|
19
|
-
}(this, function ($) {
|
20
|
-
|
21
|
-
(function() {
|
22
|
-
'use strict';
|
23
|
-
|
24
|
-
var defaults = {
|
25
|
-
|
26
|
-
mode: 'lg-slide',
|
27
|
-
|
28
|
-
// Ex : 'ease'
|
29
|
-
cssEasing: 'ease',
|
30
|
-
|
31
|
-
//'for jquery animation'
|
32
|
-
easing: 'linear',
|
33
|
-
speed: 600,
|
34
|
-
height: '100%',
|
35
|
-
width: '100%',
|
36
|
-
addClass: '',
|
37
|
-
startClass: 'lg-start-zoom',
|
38
|
-
backdropDuration: 150,
|
39
|
-
hideBarsDelay: 6000,
|
40
|
-
|
41
|
-
useLeft: false,
|
42
|
-
|
43
|
-
closable: true,
|
44
|
-
loop: true,
|
45
|
-
escKey: true,
|
46
|
-
keyPress: true,
|
47
|
-
controls: true,
|
48
|
-
slideEndAnimatoin: true,
|
49
|
-
hideControlOnEnd: false,
|
50
|
-
mousewheel: true,
|
51
|
-
|
52
|
-
getCaptionFromTitleOrAlt: true,
|
53
|
-
|
54
|
-
// .lg-item || '.lg-sub-html'
|
55
|
-
appendSubHtmlTo: '.lg-sub-html',
|
56
|
-
|
57
|
-
subHtmlSelectorRelative: false,
|
58
|
-
|
59
|
-
/**
|
60
|
-
* @desc number of preload slides
|
61
|
-
* will exicute only after the current slide is fully loaded.
|
62
|
-
*
|
63
|
-
* @ex you clicked on 4th image and if preload = 1 then 3rd slide and 5th
|
64
|
-
* slide will be loaded in the background after the 4th slide is fully loaded..
|
65
|
-
* if preload is 2 then 2nd 3rd 5th 6th slides will be preloaded.. ... ...
|
66
|
-
*
|
67
|
-
*/
|
68
|
-
preload: 1,
|
69
|
-
showAfterLoad: true,
|
70
|
-
selector: '',
|
71
|
-
selectWithin: '',
|
72
|
-
nextHtml: '',
|
73
|
-
prevHtml: '',
|
74
|
-
|
75
|
-
// 0, 1
|
76
|
-
index: false,
|
77
|
-
|
78
|
-
iframeMaxWidth: '100%',
|
79
|
-
|
80
|
-
download: true,
|
81
|
-
counter: true,
|
82
|
-
appendCounterTo: '.lg-toolbar',
|
83
|
-
|
84
|
-
swipeThreshold: 50,
|
85
|
-
enableSwipe: true,
|
86
|
-
enableDrag: true,
|
87
|
-
|
88
|
-
dynamic: false,
|
89
|
-
dynamicEl: [],
|
90
|
-
galleryId: 1
|
91
|
-
};
|
92
|
-
|
93
|
-
function Plugin(element, options) {
|
94
|
-
|
95
|
-
// Current lightGallery element
|
96
|
-
this.el = element;
|
97
|
-
|
98
|
-
// Current jquery element
|
99
|
-
this.$el = $(element);
|
100
|
-
|
101
|
-
// lightGallery settings
|
102
|
-
this.s = $.extend({}, defaults, options);
|
103
|
-
|
104
|
-
// When using dynamic mode, ensure dynamicEl is an array
|
105
|
-
if (this.s.dynamic && this.s.dynamicEl !== 'undefined' && this.s.dynamicEl.constructor === Array && !this.s.dynamicEl.length) {
|
106
|
-
throw ('When using dynamic mode, you must also define dynamicEl as an Array.');
|
107
|
-
}
|
108
|
-
|
109
|
-
// lightGallery modules
|
110
|
-
this.modules = {};
|
111
|
-
|
112
|
-
// false when lightgallery complete first slide;
|
113
|
-
this.lGalleryOn = false;
|
114
|
-
|
115
|
-
this.lgBusy = false;
|
116
|
-
|
117
|
-
// Timeout function for hiding controls;
|
118
|
-
this.hideBartimeout = false;
|
119
|
-
|
120
|
-
// To determine browser supports for touch events;
|
121
|
-
this.isTouch = ('ontouchstart' in document.documentElement);
|
122
|
-
|
123
|
-
// Disable hideControlOnEnd if sildeEndAnimation is true
|
124
|
-
if (this.s.slideEndAnimatoin) {
|
125
|
-
this.s.hideControlOnEnd = false;
|
126
|
-
}
|
127
|
-
|
128
|
-
// Gallery items
|
129
|
-
if (this.s.dynamic) {
|
130
|
-
this.$items = this.s.dynamicEl;
|
131
|
-
} else {
|
132
|
-
if (this.s.selector === 'this') {
|
133
|
-
this.$items = this.$el;
|
134
|
-
} else if (this.s.selector !== '') {
|
135
|
-
if (this.s.selectWithin) {
|
136
|
-
this.$items = $(this.s.selectWithin).find(this.s.selector);
|
137
|
-
} else {
|
138
|
-
this.$items = this.$el.find($(this.s.selector));
|
139
|
-
}
|
140
|
-
} else {
|
141
|
-
this.$items = this.$el.children();
|
142
|
-
}
|
143
|
-
}
|
144
|
-
|
145
|
-
// .lg-item
|
146
|
-
this.$slide = '';
|
147
|
-
|
148
|
-
// .lg-outer
|
149
|
-
this.$outer = '';
|
150
|
-
|
151
|
-
this.init();
|
152
|
-
|
153
|
-
return this;
|
154
|
-
}
|
155
|
-
|
156
|
-
Plugin.prototype.init = function() {
|
157
|
-
|
158
|
-
var _this = this;
|
159
|
-
|
160
|
-
// s.preload should not be more than $item.length
|
161
|
-
if (_this.s.preload > _this.$items.length) {
|
162
|
-
_this.s.preload = _this.$items.length;
|
163
|
-
}
|
164
|
-
|
165
|
-
// if dynamic option is enabled execute immediately
|
166
|
-
var _hash = window.location.hash;
|
167
|
-
if (_hash.indexOf('lg=' + this.s.galleryId) > 0) {
|
168
|
-
|
169
|
-
_this.index = parseInt(_hash.split('&slide=')[1], 10);
|
170
|
-
|
171
|
-
$('body').addClass('lg-from-hash');
|
172
|
-
if (!$('body').hasClass('lg-on')) {
|
173
|
-
setTimeout(function() {
|
174
|
-
_this.build(_this.index);
|
175
|
-
});
|
176
|
-
|
177
|
-
$('body').addClass('lg-on');
|
178
|
-
}
|
179
|
-
}
|
180
|
-
|
181
|
-
if (_this.s.dynamic) {
|
182
|
-
|
183
|
-
_this.$el.trigger('onBeforeOpen.lg');
|
184
|
-
|
185
|
-
_this.index = _this.s.index || 0;
|
186
|
-
|
187
|
-
// prevent accidental double execution
|
188
|
-
if (!$('body').hasClass('lg-on')) {
|
189
|
-
setTimeout(function() {
|
190
|
-
_this.build(_this.index);
|
191
|
-
$('body').addClass('lg-on');
|
192
|
-
});
|
193
|
-
}
|
194
|
-
} else {
|
195
|
-
|
196
|
-
// Using different namespace for click because click event should not unbind if selector is same object('this')
|
197
|
-
_this.$items.on('click.lgcustom', function(event) {
|
198
|
-
|
199
|
-
// For IE8
|
200
|
-
try {
|
201
|
-
event.preventDefault();
|
202
|
-
event.preventDefault();
|
203
|
-
} catch (er) {
|
204
|
-
event.returnValue = false;
|
205
|
-
}
|
206
|
-
|
207
|
-
_this.$el.trigger('onBeforeOpen.lg');
|
208
|
-
|
209
|
-
_this.index = _this.s.index || _this.$items.index(this);
|
210
|
-
|
211
|
-
// prevent accidental double execution
|
212
|
-
if (!$('body').hasClass('lg-on')) {
|
213
|
-
_this.build(_this.index);
|
214
|
-
$('body').addClass('lg-on');
|
215
|
-
}
|
216
|
-
});
|
217
|
-
}
|
218
|
-
|
219
|
-
};
|
220
|
-
|
221
|
-
Plugin.prototype.build = function(index) {
|
222
|
-
|
223
|
-
var _this = this;
|
224
|
-
|
225
|
-
_this.structure();
|
226
|
-
|
227
|
-
// module constructor
|
228
|
-
$.each($.fn.lightGallery.modules, function(key) {
|
229
|
-
_this.modules[key] = new $.fn.lightGallery.modules[key](_this.el);
|
230
|
-
});
|
231
|
-
|
232
|
-
// initiate slide function
|
233
|
-
_this.slide(index, false, false, false);
|
234
|
-
|
235
|
-
if (_this.s.keyPress) {
|
236
|
-
_this.keyPress();
|
237
|
-
}
|
238
|
-
|
239
|
-
if (_this.$items.length > 1) {
|
240
|
-
|
241
|
-
_this.arrow();
|
242
|
-
|
243
|
-
setTimeout(function() {
|
244
|
-
_this.enableDrag();
|
245
|
-
_this.enableSwipe();
|
246
|
-
}, 50);
|
247
|
-
|
248
|
-
if (_this.s.mousewheel) {
|
249
|
-
_this.mousewheel();
|
250
|
-
}
|
251
|
-
} else {
|
252
|
-
_this.$slide.on('click.lg', function() {
|
253
|
-
_this.$el.trigger('onSlideClick.lg');
|
254
|
-
});
|
255
|
-
}
|
256
|
-
|
257
|
-
_this.counter();
|
258
|
-
|
259
|
-
_this.closeGallery();
|
260
|
-
|
261
|
-
_this.$el.trigger('onAfterOpen.lg');
|
262
|
-
|
263
|
-
// Hide controllers if mouse doesn't move for some period
|
264
|
-
_this.$outer.on('mousemove.lg click.lg touchstart.lg', function() {
|
265
|
-
|
266
|
-
_this.$outer.removeClass('lg-hide-items');
|
267
|
-
|
268
|
-
clearTimeout(_this.hideBartimeout);
|
269
|
-
|
270
|
-
// Timeout will be cleared on each slide movement also
|
271
|
-
_this.hideBartimeout = setTimeout(function() {
|
272
|
-
_this.$outer.addClass('lg-hide-items');
|
273
|
-
}, _this.s.hideBarsDelay);
|
274
|
-
|
275
|
-
});
|
276
|
-
|
277
|
-
_this.$outer.trigger('mousemove.lg');
|
278
|
-
|
279
|
-
};
|
280
|
-
|
281
|
-
Plugin.prototype.structure = function() {
|
282
|
-
var list = '';
|
283
|
-
var controls = '';
|
284
|
-
var i = 0;
|
285
|
-
var subHtmlCont = '';
|
286
|
-
var template;
|
287
|
-
var _this = this;
|
288
|
-
|
289
|
-
$('body').append('<div class="lg-backdrop"></div>');
|
290
|
-
$('.lg-backdrop').css('transition-duration', this.s.backdropDuration + 'ms');
|
291
|
-
|
292
|
-
// Create gallery items
|
293
|
-
for (i = 0; i < this.$items.length; i++) {
|
294
|
-
list += '<div class="lg-item"></div>';
|
295
|
-
}
|
296
|
-
|
297
|
-
// Create controlls
|
298
|
-
if (this.s.controls && this.$items.length > 1) {
|
299
|
-
controls = '<div class="lg-actions">' +
|
300
|
-
'<button class="lg-prev lg-icon">' + this.s.prevHtml + '</button>' +
|
301
|
-
'<button class="lg-next lg-icon">' + this.s.nextHtml + '</button>' +
|
302
|
-
'</div>';
|
303
|
-
}
|
304
|
-
|
305
|
-
if (this.s.appendSubHtmlTo === '.lg-sub-html') {
|
306
|
-
subHtmlCont = '<div class="lg-sub-html"></div>';
|
307
|
-
}
|
308
|
-
|
309
|
-
template = '<div class="lg-outer ' + this.s.addClass + ' ' + this.s.startClass + '">' +
|
310
|
-
'<div class="lg" style="width:' + this.s.width + '; height:' + this.s.height + '">' +
|
311
|
-
'<div class="lg-inner">' + list + '</div>' +
|
312
|
-
'<div class="lg-toolbar lg-group">' +
|
313
|
-
'<span class="lg-close lg-icon"></span>' +
|
314
|
-
'</div>' +
|
315
|
-
controls +
|
316
|
-
subHtmlCont +
|
317
|
-
'</div>' +
|
318
|
-
'</div>';
|
319
|
-
|
320
|
-
$('body').append(template);
|
321
|
-
this.$outer = $('.lg-outer');
|
322
|
-
this.$slide = this.$outer.find('.lg-item');
|
323
|
-
|
324
|
-
if (this.s.useLeft) {
|
325
|
-
this.$outer.addClass('lg-use-left');
|
326
|
-
|
327
|
-
// Set mode lg-slide if use left is true;
|
328
|
-
this.s.mode = 'lg-slide';
|
329
|
-
} else {
|
330
|
-
this.$outer.addClass('lg-use-css3');
|
331
|
-
}
|
332
|
-
|
333
|
-
// For fixed height gallery
|
334
|
-
_this.setTop();
|
335
|
-
$(window).on('resize.lg orientationchange.lg', function() {
|
336
|
-
setTimeout(function() {
|
337
|
-
_this.setTop();
|
338
|
-
}, 100);
|
339
|
-
});
|
340
|
-
|
341
|
-
// add class lg-current to remove initial transition
|
342
|
-
this.$slide.eq(this.index).addClass('lg-current');
|
343
|
-
|
344
|
-
// add Class for css support and transition mode
|
345
|
-
if (this.doCss()) {
|
346
|
-
this.$outer.addClass('lg-css3');
|
347
|
-
} else {
|
348
|
-
this.$outer.addClass('lg-css');
|
349
|
-
|
350
|
-
// Set speed 0 because no animation will happen if browser doesn't support css3
|
351
|
-
this.s.speed = 0;
|
352
|
-
}
|
353
|
-
|
354
|
-
this.$outer.addClass(this.s.mode);
|
355
|
-
|
356
|
-
if (this.s.enableDrag && this.$items.length > 1) {
|
357
|
-
this.$outer.addClass('lg-grab');
|
358
|
-
}
|
359
|
-
|
360
|
-
if (this.s.showAfterLoad) {
|
361
|
-
this.$outer.addClass('lg-show-after-load');
|
362
|
-
}
|
363
|
-
|
364
|
-
if (this.doCss()) {
|
365
|
-
var $inner = this.$outer.find('.lg-inner');
|
366
|
-
$inner.css('transition-timing-function', this.s.cssEasing);
|
367
|
-
$inner.css('transition-duration', this.s.speed + 'ms');
|
368
|
-
}
|
369
|
-
|
370
|
-
setTimeout(function() {
|
371
|
-
$('.lg-backdrop').addClass('in');
|
372
|
-
});
|
373
|
-
|
374
|
-
setTimeout(function() {
|
375
|
-
_this.$outer.addClass('lg-visible');
|
376
|
-
}, this.s.backdropDuration);
|
377
|
-
|
378
|
-
if (this.s.download) {
|
379
|
-
this.$outer.find('.lg-toolbar').append('<a id="lg-download" target="_blank" download class="lg-download lg-icon"></a>');
|
380
|
-
}
|
381
|
-
|
382
|
-
// Store the current scroll top value to scroll back after closing the gallery..
|
383
|
-
this.prevScrollTop = $(window).scrollTop();
|
384
|
-
|
385
|
-
};
|
386
|
-
|
387
|
-
// For fixed height gallery
|
388
|
-
Plugin.prototype.setTop = function() {
|
389
|
-
if (this.s.height !== '100%') {
|
390
|
-
var wH = $(window).height();
|
391
|
-
var top = (wH - parseInt(this.s.height, 10)) / 2;
|
392
|
-
var $lGallery = this.$outer.find('.lg');
|
393
|
-
if (wH >= parseInt(this.s.height, 10)) {
|
394
|
-
$lGallery.css('top', top + 'px');
|
395
|
-
} else {
|
396
|
-
$lGallery.css('top', '0px');
|
397
|
-
}
|
398
|
-
}
|
399
|
-
};
|
400
|
-
|
401
|
-
// Find css3 support
|
402
|
-
Plugin.prototype.doCss = function() {
|
403
|
-
// check for css animation support
|
404
|
-
var support = function() {
|
405
|
-
var transition = ['transition', 'MozTransition', 'WebkitTransition', 'OTransition', 'msTransition', 'KhtmlTransition'];
|
406
|
-
var root = document.documentElement;
|
407
|
-
var i = 0;
|
408
|
-
for (i = 0; i < transition.length; i++) {
|
409
|
-
if (transition[i] in root.style) {
|
410
|
-
return true;
|
411
|
-
}
|
412
|
-
}
|
413
|
-
};
|
414
|
-
|
415
|
-
if (support()) {
|
416
|
-
return true;
|
417
|
-
}
|
418
|
-
|
419
|
-
return false;
|
420
|
-
};
|
421
|
-
|
422
|
-
/**
|
423
|
-
* @desc Check the given src is video
|
424
|
-
* @param {String} src
|
425
|
-
* @return {Object} video type
|
426
|
-
* Ex:{ youtube : ["//www.youtube.com/watch?v=c0asJgSyxcY", "c0asJgSyxcY"] }
|
427
|
-
*/
|
428
|
-
Plugin.prototype.isVideo = function(src, index) {
|
429
|
-
|
430
|
-
var html;
|
431
|
-
if (this.s.dynamic) {
|
432
|
-
html = this.s.dynamicEl[index].html;
|
433
|
-
} else {
|
434
|
-
html = this.$items.eq(index).attr('data-html');
|
435
|
-
}
|
436
|
-
|
437
|
-
if (!src) {
|
438
|
-
if(html) {
|
439
|
-
return {
|
440
|
-
html5: true
|
441
|
-
};
|
442
|
-
} else {
|
443
|
-
console.error('lightGallery :- data-src is not pvovided on slide item ' + (index + 1) + '. Please make sure the selector property is properly configured. More info - http://sachinchoolur.github.io/lightGallery/demos/html-markup.html');
|
444
|
-
return false;
|
445
|
-
}
|
446
|
-
}
|
447
|
-
|
448
|
-
var youtube = src.match(/\/\/(?:www\.)?youtu(?:\.be|be\.com|be-nocookie\.com)\/(?:watch\?v=|embed\/)?([a-z0-9\-\_\%]+)/i);
|
449
|
-
var vimeo = src.match(/\/\/(?:www\.)?vimeo.com\/([0-9a-z\-_]+)/i);
|
450
|
-
var dailymotion = src.match(/\/\/(?:www\.)?dai.ly\/([0-9a-z\-_]+)/i);
|
451
|
-
var vk = src.match(/\/\/(?:www\.)?(?:vk\.com|vkontakte\.ru)\/(?:video_ext\.php\?)(.*)/i);
|
452
|
-
|
453
|
-
if (youtube) {
|
454
|
-
return {
|
455
|
-
youtube: youtube
|
456
|
-
};
|
457
|
-
} else if (vimeo) {
|
458
|
-
return {
|
459
|
-
vimeo: vimeo
|
460
|
-
};
|
461
|
-
} else if (dailymotion) {
|
462
|
-
return {
|
463
|
-
dailymotion: dailymotion
|
464
|
-
};
|
465
|
-
} else if (vk) {
|
466
|
-
return {
|
467
|
-
vk: vk
|
468
|
-
};
|
469
|
-
}
|
470
|
-
};
|
471
|
-
|
472
|
-
/**
|
473
|
-
* @desc Create image counter
|
474
|
-
* Ex: 1/10
|
475
|
-
*/
|
476
|
-
Plugin.prototype.counter = function() {
|
477
|
-
if (this.s.counter) {
|
478
|
-
$(this.s.appendCounterTo).append('<div id="lg-counter"><span id="lg-counter-current">' + (parseInt(this.index, 10) + 1) + '</span> / <span id="lg-counter-all">' + this.$items.length + '</span></div>');
|
479
|
-
}
|
480
|
-
};
|
481
|
-
|
482
|
-
/**
|
483
|
-
* @desc add sub-html into the slide
|
484
|
-
* @param {Number} index - index of the slide
|
485
|
-
*/
|
486
|
-
Plugin.prototype.addHtml = function(index) {
|
487
|
-
var subHtml = null;
|
488
|
-
var subHtmlUrl;
|
489
|
-
var $currentEle;
|
490
|
-
if (this.s.dynamic) {
|
491
|
-
if (this.s.dynamicEl[index].subHtmlUrl) {
|
492
|
-
subHtmlUrl = this.s.dynamicEl[index].subHtmlUrl;
|
493
|
-
} else {
|
494
|
-
subHtml = this.s.dynamicEl[index].subHtml;
|
495
|
-
}
|
496
|
-
} else {
|
497
|
-
$currentEle = this.$items.eq(index);
|
498
|
-
if ($currentEle.attr('data-sub-html-url')) {
|
499
|
-
subHtmlUrl = $currentEle.attr('data-sub-html-url');
|
500
|
-
} else {
|
501
|
-
subHtml = $currentEle.attr('data-sub-html');
|
502
|
-
if (this.s.getCaptionFromTitleOrAlt && !subHtml) {
|
503
|
-
subHtml = $currentEle.attr('title') || $currentEle.find('img').first().attr('alt');
|
504
|
-
}
|
505
|
-
}
|
506
|
-
}
|
507
|
-
|
508
|
-
if (!subHtmlUrl) {
|
509
|
-
if (typeof subHtml !== 'undefined' && subHtml !== null) {
|
510
|
-
|
511
|
-
// get first letter of subhtml
|
512
|
-
// if first letter starts with . or # get the html form the jQuery object
|
513
|
-
var fL = subHtml.substring(0, 1);
|
514
|
-
if (fL === '.' || fL === '#') {
|
515
|
-
if (this.s.subHtmlSelectorRelative && !this.s.dynamic) {
|
516
|
-
subHtml = $currentEle.find(subHtml).html();
|
517
|
-
} else {
|
518
|
-
subHtml = $(subHtml).html();
|
519
|
-
}
|
520
|
-
}
|
521
|
-
} else {
|
522
|
-
subHtml = '';
|
523
|
-
}
|
524
|
-
}
|
525
|
-
|
526
|
-
if (this.s.appendSubHtmlTo === '.lg-sub-html') {
|
527
|
-
|
528
|
-
if (subHtmlUrl) {
|
529
|
-
this.$outer.find(this.s.appendSubHtmlTo).load(subHtmlUrl);
|
530
|
-
} else {
|
531
|
-
this.$outer.find(this.s.appendSubHtmlTo).html(subHtml);
|
532
|
-
}
|
533
|
-
|
534
|
-
} else {
|
535
|
-
|
536
|
-
if (subHtmlUrl) {
|
537
|
-
this.$slide.eq(index).load(subHtmlUrl);
|
538
|
-
} else {
|
539
|
-
this.$slide.eq(index).append(subHtml);
|
540
|
-
}
|
541
|
-
}
|
542
|
-
|
543
|
-
// Add lg-empty-html class if title doesn't exist
|
544
|
-
if (typeof subHtml !== 'undefined' && subHtml !== null) {
|
545
|
-
if (subHtml === '') {
|
546
|
-
this.$outer.find(this.s.appendSubHtmlTo).addClass('lg-empty-html');
|
547
|
-
} else {
|
548
|
-
this.$outer.find(this.s.appendSubHtmlTo).removeClass('lg-empty-html');
|
549
|
-
}
|
550
|
-
}
|
551
|
-
|
552
|
-
this.$el.trigger('onAfterAppendSubHtml.lg', [index]);
|
553
|
-
};
|
554
|
-
|
555
|
-
/**
|
556
|
-
* @desc Preload slides
|
557
|
-
* @param {Number} index - index of the slide
|
558
|
-
*/
|
559
|
-
Plugin.prototype.preload = function(index) {
|
560
|
-
var i = 1;
|
561
|
-
var j = 1;
|
562
|
-
for (i = 1; i <= this.s.preload; i++) {
|
563
|
-
if (i >= this.$items.length - index) {
|
564
|
-
break;
|
565
|
-
}
|
566
|
-
|
567
|
-
this.loadContent(index + i, false, 0);
|
568
|
-
}
|
569
|
-
|
570
|
-
for (j = 1; j <= this.s.preload; j++) {
|
571
|
-
if (index - j < 0) {
|
572
|
-
break;
|
573
|
-
}
|
574
|
-
|
575
|
-
this.loadContent(index - j, false, 0);
|
576
|
-
}
|
577
|
-
};
|
578
|
-
|
579
|
-
/**
|
580
|
-
* @desc Load slide content into slide.
|
581
|
-
* @param {Number} index - index of the slide.
|
582
|
-
* @param {Boolean} rec - if true call loadcontent() function again.
|
583
|
-
* @param {Boolean} delay - delay for adding complete class. it is 0 except first time.
|
584
|
-
*/
|
585
|
-
Plugin.prototype.loadContent = function(index, rec, delay) {
|
586
|
-
|
587
|
-
var _this = this;
|
588
|
-
var _hasPoster = false;
|
589
|
-
var _$img;
|
590
|
-
var _src;
|
591
|
-
var _poster;
|
592
|
-
var _srcset;
|
593
|
-
var _sizes;
|
594
|
-
var _html;
|
595
|
-
var getResponsiveSrc = function(srcItms) {
|
596
|
-
var rsWidth = [];
|
597
|
-
var rsSrc = [];
|
598
|
-
for (var i = 0; i < srcItms.length; i++) {
|
599
|
-
var __src = srcItms[i].split(' ');
|
600
|
-
|
601
|
-
// Manage empty space
|
602
|
-
if (__src[0] === '') {
|
603
|
-
__src.splice(0, 1);
|
604
|
-
}
|
605
|
-
|
606
|
-
rsSrc.push(__src[0]);
|
607
|
-
rsWidth.push(__src[1]);
|
608
|
-
}
|
609
|
-
|
610
|
-
var wWidth = $(window).width();
|
611
|
-
for (var j = 0; j < rsWidth.length; j++) {
|
612
|
-
if (parseInt(rsWidth[j], 10) > wWidth) {
|
613
|
-
_src = rsSrc[j];
|
614
|
-
break;
|
615
|
-
}
|
616
|
-
}
|
617
|
-
};
|
618
|
-
|
619
|
-
if (_this.s.dynamic) {
|
620
|
-
|
621
|
-
if (_this.s.dynamicEl[index].poster) {
|
622
|
-
_hasPoster = true;
|
623
|
-
_poster = _this.s.dynamicEl[index].poster;
|
624
|
-
}
|
625
|
-
|
626
|
-
_html = _this.s.dynamicEl[index].html;
|
627
|
-
_src = _this.s.dynamicEl[index].src;
|
628
|
-
|
629
|
-
if (_this.s.dynamicEl[index].responsive) {
|
630
|
-
var srcDyItms = _this.s.dynamicEl[index].responsive.split(',');
|
631
|
-
getResponsiveSrc(srcDyItms);
|
632
|
-
}
|
633
|
-
|
634
|
-
_srcset = _this.s.dynamicEl[index].srcset;
|
635
|
-
_sizes = _this.s.dynamicEl[index].sizes;
|
636
|
-
|
637
|
-
} else {
|
638
|
-
|
639
|
-
if (_this.$items.eq(index).attr('data-poster')) {
|
640
|
-
_hasPoster = true;
|
641
|
-
_poster = _this.$items.eq(index).attr('data-poster');
|
642
|
-
}
|
643
|
-
|
644
|
-
_html = _this.$items.eq(index).attr('data-html');
|
645
|
-
_src = _this.$items.eq(index).attr('href') || _this.$items.eq(index).attr('data-src');
|
646
|
-
|
647
|
-
if (_this.$items.eq(index).attr('data-responsive')) {
|
648
|
-
var srcItms = _this.$items.eq(index).attr('data-responsive').split(',');
|
649
|
-
getResponsiveSrc(srcItms);
|
650
|
-
}
|
651
|
-
|
652
|
-
_srcset = _this.$items.eq(index).attr('data-srcset');
|
653
|
-
_sizes = _this.$items.eq(index).attr('data-sizes');
|
654
|
-
|
655
|
-
}
|
656
|
-
|
657
|
-
//if (_src || _srcset || _sizes || _poster) {
|
658
|
-
|
659
|
-
var iframe = false;
|
660
|
-
if (_this.s.dynamic) {
|
661
|
-
if (_this.s.dynamicEl[index].iframe) {
|
662
|
-
iframe = true;
|
663
|
-
}
|
664
|
-
} else {
|
665
|
-
if (_this.$items.eq(index).attr('data-iframe') === 'true') {
|
666
|
-
iframe = true;
|
667
|
-
}
|
668
|
-
}
|
669
|
-
|
670
|
-
var _isVideo = _this.isVideo(_src, index);
|
671
|
-
if (!_this.$slide.eq(index).hasClass('lg-loaded')) {
|
672
|
-
if (iframe) {
|
673
|
-
_this.$slide.eq(index).prepend('<div class="lg-video-cont lg-has-iframe" style="max-width:' + _this.s.iframeMaxWidth + '"><div class="lg-video"><iframe class="lg-object" frameborder="0" src="' + _src + '" allowfullscreen="true"></iframe></div></div>');
|
674
|
-
} else if (_hasPoster) {
|
675
|
-
var videoClass = '';
|
676
|
-
if (_isVideo && _isVideo.youtube) {
|
677
|
-
videoClass = 'lg-has-youtube';
|
678
|
-
} else if (_isVideo && _isVideo.vimeo) {
|
679
|
-
videoClass = 'lg-has-vimeo';
|
680
|
-
} else {
|
681
|
-
videoClass = 'lg-has-html5';
|
682
|
-
}
|
683
|
-
|
684
|
-
_this.$slide.eq(index).prepend('<div class="lg-video-cont ' + videoClass + ' "><div class="lg-video"><span class="lg-video-play"></span><img class="lg-object lg-has-poster" src="' + _poster + '" /></div></div>');
|
685
|
-
|
686
|
-
} else if (_isVideo) {
|
687
|
-
_this.$slide.eq(index).prepend('<div class="lg-video-cont "><div class="lg-video"></div></div>');
|
688
|
-
_this.$el.trigger('hasVideo.lg', [index, _src, _html]);
|
689
|
-
} else {
|
690
|
-
_this.$slide.eq(index).prepend('<div class="lg-img-wrap"><img class="lg-object lg-image" src="' + _src + '" /></div>');
|
691
|
-
}
|
692
|
-
|
693
|
-
_this.$el.trigger('onAferAppendSlide.lg', [index]);
|
694
|
-
|
695
|
-
_$img = _this.$slide.eq(index).find('.lg-object');
|
696
|
-
if (_sizes) {
|
697
|
-
_$img.attr('sizes', _sizes);
|
698
|
-
}
|
699
|
-
|
700
|
-
if (_srcset) {
|
701
|
-
_$img.attr('srcset', _srcset);
|
702
|
-
try {
|
703
|
-
picturefill({
|
704
|
-
elements: [_$img[0]]
|
705
|
-
});
|
706
|
-
} catch (e) {
|
707
|
-
console.warn('lightGallery :- If you want srcset to be supported for older browser please include picturefil version 2 javascript library in your document.');
|
708
|
-
}
|
709
|
-
}
|
710
|
-
|
711
|
-
if (this.s.appendSubHtmlTo !== '.lg-sub-html') {
|
712
|
-
_this.addHtml(index);
|
713
|
-
}
|
714
|
-
|
715
|
-
_this.$slide.eq(index).addClass('lg-loaded');
|
716
|
-
}
|
717
|
-
|
718
|
-
_this.$slide.eq(index).find('.lg-object').on('load.lg error.lg', function() {
|
719
|
-
|
720
|
-
// For first time add some delay for displaying the start animation.
|
721
|
-
var _speed = 0;
|
722
|
-
|
723
|
-
// Do not change the delay value because it is required for zoom plugin.
|
724
|
-
// If gallery opened from direct url (hash) speed value should be 0
|
725
|
-
if (delay && !$('body').hasClass('lg-from-hash')) {
|
726
|
-
_speed = delay;
|
727
|
-
}
|
728
|
-
|
729
|
-
setTimeout(function() {
|
730
|
-
_this.$slide.eq(index).addClass('lg-complete');
|
731
|
-
_this.$el.trigger('onSlideItemLoad.lg', [index, delay || 0]);
|
732
|
-
}, _speed);
|
733
|
-
|
734
|
-
});
|
735
|
-
|
736
|
-
// @todo check load state for html5 videos
|
737
|
-
if (_isVideo && _isVideo.html5 && !_hasPoster) {
|
738
|
-
_this.$slide.eq(index).addClass('lg-complete');
|
739
|
-
}
|
740
|
-
|
741
|
-
if (rec === true) {
|
742
|
-
if (!_this.$slide.eq(index).hasClass('lg-complete')) {
|
743
|
-
_this.$slide.eq(index).find('.lg-object').on('load.lg error.lg', function() {
|
744
|
-
_this.preload(index);
|
745
|
-
});
|
746
|
-
} else {
|
747
|
-
_this.preload(index);
|
748
|
-
}
|
749
|
-
}
|
750
|
-
|
751
|
-
//}
|
752
|
-
};
|
753
|
-
|
754
|
-
/**
|
755
|
-
* @desc slide function for lightgallery
|
756
|
-
** Slide() gets call on start
|
757
|
-
** ** Set lg.on true once slide() function gets called.
|
758
|
-
** Call loadContent() on slide() function inside setTimeout
|
759
|
-
** ** On first slide we do not want any animation like slide of fade
|
760
|
-
** ** So on first slide( if lg.on if false that is first slide) loadContent() should start loading immediately
|
761
|
-
** ** Else loadContent() should wait for the transition to complete.
|
762
|
-
** ** So set timeout s.speed + 50
|
763
|
-
<=> ** loadContent() will load slide content in to the particular slide
|
764
|
-
** ** It has recursion (rec) parameter. if rec === true loadContent() will call preload() function.
|
765
|
-
** ** preload will execute only when the previous slide is fully loaded (images iframe)
|
766
|
-
** ** avoid simultaneous image load
|
767
|
-
<=> ** Preload() will check for s.preload value and call loadContent() again accoring to preload value
|
768
|
-
** loadContent() <====> Preload();
|
769
|
-
|
770
|
-
* @param {Number} index - index of the slide
|
771
|
-
* @param {Boolean} fromTouch - true if slide function called via touch event or mouse drag
|
772
|
-
* @param {Boolean} fromThumb - true if slide function called via thumbnail click
|
773
|
-
* @param {String} direction - Direction of the slide(next/prev)
|
774
|
-
*/
|
775
|
-
Plugin.prototype.slide = function(index, fromTouch, fromThumb, direction) {
|
776
|
-
|
777
|
-
var _prevIndex = this.$outer.find('.lg-current').index();
|
778
|
-
var _this = this;
|
779
|
-
|
780
|
-
// Prevent if multiple call
|
781
|
-
// Required for hsh plugin
|
782
|
-
if (_this.lGalleryOn && (_prevIndex === index)) {
|
783
|
-
return;
|
784
|
-
}
|
785
|
-
|
786
|
-
var _length = this.$slide.length;
|
787
|
-
var _time = _this.lGalleryOn ? this.s.speed : 0;
|
788
|
-
|
789
|
-
if (!_this.lgBusy) {
|
790
|
-
|
791
|
-
if (this.s.download) {
|
792
|
-
var _src;
|
793
|
-
if (_this.s.dynamic) {
|
794
|
-
_src = _this.s.dynamicEl[index].downloadUrl !== false && (_this.s.dynamicEl[index].downloadUrl || _this.s.dynamicEl[index].src);
|
795
|
-
} else {
|
796
|
-
_src = _this.$items.eq(index).attr('data-download-url') !== 'false' && (_this.$items.eq(index).attr('data-download-url') || _this.$items.eq(index).attr('href') || _this.$items.eq(index).attr('data-src'));
|
797
|
-
|
798
|
-
}
|
799
|
-
|
800
|
-
if (_src) {
|
801
|
-
$('#lg-download').attr('href', _src);
|
802
|
-
_this.$outer.removeClass('lg-hide-download');
|
803
|
-
} else {
|
804
|
-
_this.$outer.addClass('lg-hide-download');
|
805
|
-
}
|
806
|
-
}
|
807
|
-
|
808
|
-
this.$el.trigger('onBeforeSlide.lg', [_prevIndex, index, fromTouch, fromThumb]);
|
809
|
-
|
810
|
-
_this.lgBusy = true;
|
811
|
-
|
812
|
-
clearTimeout(_this.hideBartimeout);
|
813
|
-
|
814
|
-
// Add title if this.s.appendSubHtmlTo === lg-sub-html
|
815
|
-
if (this.s.appendSubHtmlTo === '.lg-sub-html') {
|
816
|
-
|
817
|
-
// wait for slide animation to complete
|
818
|
-
setTimeout(function() {
|
819
|
-
_this.addHtml(index);
|
820
|
-
}, _time);
|
821
|
-
}
|
822
|
-
|
823
|
-
this.arrowDisable(index);
|
824
|
-
|
825
|
-
if (!direction) {
|
826
|
-
if (index < _prevIndex) {
|
827
|
-
direction = 'prev';
|
828
|
-
} else if (index > _prevIndex) {
|
829
|
-
direction = 'next';
|
830
|
-
}
|
831
|
-
}
|
832
|
-
|
833
|
-
if (!fromTouch) {
|
834
|
-
|
835
|
-
// remove all transitions
|
836
|
-
_this.$outer.addClass('lg-no-trans');
|
837
|
-
|
838
|
-
this.$slide.removeClass('lg-prev-slide lg-next-slide');
|
839
|
-
|
840
|
-
if (direction === 'prev') {
|
841
|
-
|
842
|
-
//prevslide
|
843
|
-
this.$slide.eq(index).addClass('lg-prev-slide');
|
844
|
-
this.$slide.eq(_prevIndex).addClass('lg-next-slide');
|
845
|
-
} else {
|
846
|
-
|
847
|
-
// next slide
|
848
|
-
this.$slide.eq(index).addClass('lg-next-slide');
|
849
|
-
this.$slide.eq(_prevIndex).addClass('lg-prev-slide');
|
850
|
-
}
|
851
|
-
|
852
|
-
// give 50 ms for browser to add/remove class
|
853
|
-
setTimeout(function() {
|
854
|
-
_this.$slide.removeClass('lg-current');
|
855
|
-
|
856
|
-
//_this.$slide.eq(_prevIndex).removeClass('lg-current');
|
857
|
-
_this.$slide.eq(index).addClass('lg-current');
|
858
|
-
|
859
|
-
// reset all transitions
|
860
|
-
_this.$outer.removeClass('lg-no-trans');
|
861
|
-
}, 50);
|
862
|
-
} else {
|
863
|
-
|
864
|
-
this.$slide.removeClass('lg-prev-slide lg-current lg-next-slide');
|
865
|
-
var touchPrev;
|
866
|
-
var touchNext;
|
867
|
-
if (_length > 2) {
|
868
|
-
touchPrev = index - 1;
|
869
|
-
touchNext = index + 1;
|
870
|
-
|
871
|
-
if ((index === 0) && (_prevIndex === _length - 1)) {
|
872
|
-
|
873
|
-
// next slide
|
874
|
-
touchNext = 0;
|
875
|
-
touchPrev = _length - 1;
|
876
|
-
} else if ((index === _length - 1) && (_prevIndex === 0)) {
|
877
|
-
|
878
|
-
// prev slide
|
879
|
-
touchNext = 0;
|
880
|
-
touchPrev = _length - 1;
|
881
|
-
}
|
882
|
-
|
883
|
-
} else {
|
884
|
-
touchPrev = 0;
|
885
|
-
touchNext = 1;
|
886
|
-
}
|
887
|
-
|
888
|
-
if (direction === 'prev') {
|
889
|
-
_this.$slide.eq(touchNext).addClass('lg-next-slide');
|
890
|
-
} else {
|
891
|
-
_this.$slide.eq(touchPrev).addClass('lg-prev-slide');
|
892
|
-
}
|
893
|
-
|
894
|
-
_this.$slide.eq(index).addClass('lg-current');
|
895
|
-
}
|
896
|
-
|
897
|
-
if (_this.lGalleryOn) {
|
898
|
-
setTimeout(function() {
|
899
|
-
_this.loadContent(index, true, 0);
|
900
|
-
}, this.s.speed + 50);
|
901
|
-
|
902
|
-
setTimeout(function() {
|
903
|
-
_this.lgBusy = false;
|
904
|
-
_this.$el.trigger('onAfterSlide.lg', [_prevIndex, index, fromTouch, fromThumb]);
|
905
|
-
}, this.s.speed);
|
906
|
-
|
907
|
-
} else {
|
908
|
-
_this.loadContent(index, true, _this.s.backdropDuration);
|
909
|
-
|
910
|
-
_this.lgBusy = false;
|
911
|
-
_this.$el.trigger('onAfterSlide.lg', [_prevIndex, index, fromTouch, fromThumb]);
|
912
|
-
}
|
913
|
-
|
914
|
-
_this.lGalleryOn = true;
|
915
|
-
|
916
|
-
if (this.s.counter) {
|
917
|
-
$('#lg-counter-current').text(index + 1);
|
918
|
-
}
|
919
|
-
|
920
|
-
}
|
921
|
-
_this.index = index;
|
922
|
-
|
923
|
-
};
|
924
|
-
|
925
|
-
/**
|
926
|
-
* @desc Go to next slide
|
927
|
-
* @param {Boolean} fromTouch - true if slide function called via touch event
|
928
|
-
*/
|
929
|
-
Plugin.prototype.goToNextSlide = function(fromTouch) {
|
930
|
-
var _this = this;
|
931
|
-
var _loop = _this.s.loop;
|
932
|
-
if (fromTouch && _this.$slide.length < 3) {
|
933
|
-
_loop = false;
|
934
|
-
}
|
935
|
-
|
936
|
-
if (!_this.lgBusy) {
|
937
|
-
if ((_this.index + 1) < _this.$slide.length) {
|
938
|
-
_this.index++;
|
939
|
-
_this.$el.trigger('onBeforeNextSlide.lg', [_this.index]);
|
940
|
-
_this.slide(_this.index, fromTouch, false, 'next');
|
941
|
-
} else {
|
942
|
-
if (_loop) {
|
943
|
-
_this.index = 0;
|
944
|
-
_this.$el.trigger('onBeforeNextSlide.lg', [_this.index]);
|
945
|
-
_this.slide(_this.index, fromTouch, false, 'next');
|
946
|
-
} else if (_this.s.slideEndAnimatoin && !fromTouch) {
|
947
|
-
_this.$outer.addClass('lg-right-end');
|
948
|
-
setTimeout(function() {
|
949
|
-
_this.$outer.removeClass('lg-right-end');
|
950
|
-
}, 400);
|
951
|
-
}
|
952
|
-
}
|
953
|
-
}
|
954
|
-
};
|
955
|
-
|
956
|
-
/**
|
957
|
-
* @desc Go to previous slide
|
958
|
-
* @param {Boolean} fromTouch - true if slide function called via touch event
|
959
|
-
*/
|
960
|
-
Plugin.prototype.goToPrevSlide = function(fromTouch) {
|
961
|
-
var _this = this;
|
962
|
-
var _loop = _this.s.loop;
|
963
|
-
if (fromTouch && _this.$slide.length < 3) {
|
964
|
-
_loop = false;
|
965
|
-
}
|
966
|
-
|
967
|
-
if (!_this.lgBusy) {
|
968
|
-
if (_this.index > 0) {
|
969
|
-
_this.index--;
|
970
|
-
_this.$el.trigger('onBeforePrevSlide.lg', [_this.index, fromTouch]);
|
971
|
-
_this.slide(_this.index, fromTouch, false, 'prev');
|
972
|
-
} else {
|
973
|
-
if (_loop) {
|
974
|
-
_this.index = _this.$items.length - 1;
|
975
|
-
_this.$el.trigger('onBeforePrevSlide.lg', [_this.index, fromTouch]);
|
976
|
-
_this.slide(_this.index, fromTouch, false, 'prev');
|
977
|
-
} else if (_this.s.slideEndAnimatoin && !fromTouch) {
|
978
|
-
_this.$outer.addClass('lg-left-end');
|
979
|
-
setTimeout(function() {
|
980
|
-
_this.$outer.removeClass('lg-left-end');
|
981
|
-
}, 400);
|
982
|
-
}
|
983
|
-
}
|
984
|
-
}
|
985
|
-
};
|
986
|
-
|
987
|
-
Plugin.prototype.keyPress = function() {
|
988
|
-
var _this = this;
|
989
|
-
if (this.$items.length > 1) {
|
990
|
-
$(window).on('keyup.lg', function(e) {
|
991
|
-
if (_this.$items.length > 1) {
|
992
|
-
if (e.keyCode === 37) {
|
993
|
-
e.preventDefault();
|
994
|
-
_this.goToPrevSlide();
|
995
|
-
}
|
996
|
-
|
997
|
-
if (e.keyCode === 39) {
|
998
|
-
e.preventDefault();
|
999
|
-
_this.goToNextSlide();
|
1000
|
-
}
|
1001
|
-
}
|
1002
|
-
});
|
1003
|
-
}
|
1004
|
-
|
1005
|
-
$(window).on('keydown.lg', function(e) {
|
1006
|
-
if (_this.s.escKey === true && e.keyCode === 27) {
|
1007
|
-
e.preventDefault();
|
1008
|
-
if (!_this.$outer.hasClass('lg-thumb-open')) {
|
1009
|
-
_this.destroy();
|
1010
|
-
} else {
|
1011
|
-
_this.$outer.removeClass('lg-thumb-open');
|
1012
|
-
}
|
1013
|
-
}
|
1014
|
-
});
|
1015
|
-
};
|
1016
|
-
|
1017
|
-
Plugin.prototype.arrow = function() {
|
1018
|
-
var _this = this;
|
1019
|
-
this.$outer.find('.lg-prev').on('click.lg', function() {
|
1020
|
-
_this.goToPrevSlide();
|
1021
|
-
});
|
1022
|
-
|
1023
|
-
this.$outer.find('.lg-next').on('click.lg', function() {
|
1024
|
-
_this.goToNextSlide();
|
1025
|
-
});
|
1026
|
-
};
|
1027
|
-
|
1028
|
-
Plugin.prototype.arrowDisable = function(index) {
|
1029
|
-
|
1030
|
-
// Disable arrows if s.hideControlOnEnd is true
|
1031
|
-
if (!this.s.loop && this.s.hideControlOnEnd) {
|
1032
|
-
if ((index + 1) < this.$slide.length) {
|
1033
|
-
this.$outer.find('.lg-next').removeAttr('disabled').removeClass('disabled');
|
1034
|
-
} else {
|
1035
|
-
this.$outer.find('.lg-next').attr('disabled', 'disabled').addClass('disabled');
|
1036
|
-
}
|
1037
|
-
|
1038
|
-
if (index > 0) {
|
1039
|
-
this.$outer.find('.lg-prev').removeAttr('disabled').removeClass('disabled');
|
1040
|
-
} else {
|
1041
|
-
this.$outer.find('.lg-prev').attr('disabled', 'disabled').addClass('disabled');
|
1042
|
-
}
|
1043
|
-
}
|
1044
|
-
};
|
1045
|
-
|
1046
|
-
Plugin.prototype.setTranslate = function($el, xValue, yValue) {
|
1047
|
-
// jQuery supports Automatic CSS prefixing since jQuery 1.8.0
|
1048
|
-
if (this.s.useLeft) {
|
1049
|
-
$el.css('left', xValue);
|
1050
|
-
} else {
|
1051
|
-
$el.css({
|
1052
|
-
transform: 'translate3d(' + (xValue) + 'px, ' + yValue + 'px, 0px)'
|
1053
|
-
});
|
1054
|
-
}
|
1055
|
-
};
|
1056
|
-
|
1057
|
-
Plugin.prototype.touchMove = function(startCoords, endCoords) {
|
1058
|
-
|
1059
|
-
var distance = endCoords - startCoords;
|
1060
|
-
|
1061
|
-
if (Math.abs(distance) > 15) {
|
1062
|
-
// reset opacity and transition duration
|
1063
|
-
this.$outer.addClass('lg-dragging');
|
1064
|
-
|
1065
|
-
// move current slide
|
1066
|
-
this.setTranslate(this.$slide.eq(this.index), distance, 0);
|
1067
|
-
|
1068
|
-
// move next and prev slide with current slide
|
1069
|
-
this.setTranslate($('.lg-prev-slide'), -this.$slide.eq(this.index).width() + distance, 0);
|
1070
|
-
this.setTranslate($('.lg-next-slide'), this.$slide.eq(this.index).width() + distance, 0);
|
1071
|
-
}
|
1072
|
-
};
|
1073
|
-
|
1074
|
-
Plugin.prototype.touchEnd = function(distance) {
|
1075
|
-
var _this = this;
|
1076
|
-
|
1077
|
-
// keep slide animation for any mode while dragg/swipe
|
1078
|
-
if (_this.s.mode !== 'lg-slide') {
|
1079
|
-
_this.$outer.addClass('lg-slide');
|
1080
|
-
}
|
1081
|
-
|
1082
|
-
this.$slide.not('.lg-current, .lg-prev-slide, .lg-next-slide').css('opacity', '0');
|
1083
|
-
|
1084
|
-
// set transition duration
|
1085
|
-
setTimeout(function() {
|
1086
|
-
_this.$outer.removeClass('lg-dragging');
|
1087
|
-
if ((distance < 0) && (Math.abs(distance) > _this.s.swipeThreshold)) {
|
1088
|
-
_this.goToNextSlide(true);
|
1089
|
-
} else if ((distance > 0) && (Math.abs(distance) > _this.s.swipeThreshold)) {
|
1090
|
-
_this.goToPrevSlide(true);
|
1091
|
-
} else if (Math.abs(distance) < 5) {
|
1092
|
-
|
1093
|
-
// Trigger click if distance is less than 5 pix
|
1094
|
-
_this.$el.trigger('onSlideClick.lg');
|
1095
|
-
}
|
1096
|
-
|
1097
|
-
_this.$slide.removeAttr('style');
|
1098
|
-
});
|
1099
|
-
|
1100
|
-
// remove slide class once drag/swipe is completed if mode is not slide
|
1101
|
-
setTimeout(function() {
|
1102
|
-
if (!_this.$outer.hasClass('lg-dragging') && _this.s.mode !== 'lg-slide') {
|
1103
|
-
_this.$outer.removeClass('lg-slide');
|
1104
|
-
}
|
1105
|
-
}, _this.s.speed + 100);
|
1106
|
-
|
1107
|
-
};
|
1108
|
-
|
1109
|
-
Plugin.prototype.enableSwipe = function() {
|
1110
|
-
var _this = this;
|
1111
|
-
var startCoords = 0;
|
1112
|
-
var endCoords = 0;
|
1113
|
-
var isMoved = false;
|
1114
|
-
|
1115
|
-
if (_this.s.enableSwipe && _this.doCss()) {
|
1116
|
-
|
1117
|
-
_this.$slide.on('touchstart.lg', function(e) {
|
1118
|
-
if (!_this.$outer.hasClass('lg-zoomed') && !_this.lgBusy) {
|
1119
|
-
e.preventDefault();
|
1120
|
-
_this.manageSwipeClass();
|
1121
|
-
startCoords = e.originalEvent.targetTouches[0].pageX;
|
1122
|
-
}
|
1123
|
-
});
|
1124
|
-
|
1125
|
-
_this.$slide.on('touchmove.lg', function(e) {
|
1126
|
-
if (!_this.$outer.hasClass('lg-zoomed')) {
|
1127
|
-
e.preventDefault();
|
1128
|
-
endCoords = e.originalEvent.targetTouches[0].pageX;
|
1129
|
-
_this.touchMove(startCoords, endCoords);
|
1130
|
-
isMoved = true;
|
1131
|
-
}
|
1132
|
-
});
|
1133
|
-
|
1134
|
-
_this.$slide.on('touchend.lg', function() {
|
1135
|
-
if (!_this.$outer.hasClass('lg-zoomed')) {
|
1136
|
-
if (isMoved) {
|
1137
|
-
isMoved = false;
|
1138
|
-
_this.touchEnd(endCoords - startCoords);
|
1139
|
-
} else {
|
1140
|
-
_this.$el.trigger('onSlideClick.lg');
|
1141
|
-
}
|
1142
|
-
}
|
1143
|
-
});
|
1144
|
-
}
|
1145
|
-
|
1146
|
-
};
|
1147
|
-
|
1148
|
-
Plugin.prototype.enableDrag = function() {
|
1149
|
-
var _this = this;
|
1150
|
-
var startCoords = 0;
|
1151
|
-
var endCoords = 0;
|
1152
|
-
var isDraging = false;
|
1153
|
-
var isMoved = false;
|
1154
|
-
if (_this.s.enableDrag && _this.doCss()) {
|
1155
|
-
_this.$slide.on('mousedown.lg', function(e) {
|
1156
|
-
if (!_this.$outer.hasClass('lg-zoomed') && !_this.lgBusy && !$(e.target).text().trim()) {
|
1157
|
-
e.preventDefault();
|
1158
|
-
_this.manageSwipeClass();
|
1159
|
-
startCoords = e.pageX;
|
1160
|
-
isDraging = true;
|
1161
|
-
|
1162
|
-
// ** Fix for webkit cursor issue https://code.google.com/p/chromium/issues/detail?id=26723
|
1163
|
-
_this.$outer.scrollLeft += 1;
|
1164
|
-
_this.$outer.scrollLeft -= 1;
|
1165
|
-
|
1166
|
-
// *
|
1167
|
-
|
1168
|
-
_this.$outer.removeClass('lg-grab').addClass('lg-grabbing');
|
1169
|
-
|
1170
|
-
_this.$el.trigger('onDragstart.lg');
|
1171
|
-
}
|
1172
|
-
});
|
1173
|
-
|
1174
|
-
$(window).on('mousemove.lg', function(e) {
|
1175
|
-
if (isDraging) {
|
1176
|
-
isMoved = true;
|
1177
|
-
endCoords = e.pageX;
|
1178
|
-
_this.touchMove(startCoords, endCoords);
|
1179
|
-
_this.$el.trigger('onDragmove.lg');
|
1180
|
-
}
|
1181
|
-
});
|
1182
|
-
|
1183
|
-
$(window).on('mouseup.lg', function(e) {
|
1184
|
-
if (isMoved) {
|
1185
|
-
isMoved = false;
|
1186
|
-
_this.touchEnd(endCoords - startCoords);
|
1187
|
-
_this.$el.trigger('onDragend.lg');
|
1188
|
-
} else if ($(e.target).hasClass('lg-object') || $(e.target).hasClass('lg-video-play')) {
|
1189
|
-
_this.$el.trigger('onSlideClick.lg');
|
1190
|
-
}
|
1191
|
-
|
1192
|
-
// Prevent execution on click
|
1193
|
-
if (isDraging) {
|
1194
|
-
isDraging = false;
|
1195
|
-
_this.$outer.removeClass('lg-grabbing').addClass('lg-grab');
|
1196
|
-
}
|
1197
|
-
});
|
1198
|
-
|
1199
|
-
}
|
1200
|
-
};
|
1201
|
-
|
1202
|
-
Plugin.prototype.manageSwipeClass = function() {
|
1203
|
-
var _touchNext = this.index + 1;
|
1204
|
-
var _touchPrev = this.index - 1;
|
1205
|
-
if (this.s.loop && this.$slide.length > 2) {
|
1206
|
-
if (this.index === 0) {
|
1207
|
-
_touchPrev = this.$slide.length - 1;
|
1208
|
-
} else if (this.index === this.$slide.length - 1) {
|
1209
|
-
_touchNext = 0;
|
1210
|
-
}
|
1211
|
-
}
|
1212
|
-
|
1213
|
-
this.$slide.removeClass('lg-next-slide lg-prev-slide');
|
1214
|
-
if (_touchPrev > -1) {
|
1215
|
-
this.$slide.eq(_touchPrev).addClass('lg-prev-slide');
|
1216
|
-
}
|
1217
|
-
|
1218
|
-
this.$slide.eq(_touchNext).addClass('lg-next-slide');
|
1219
|
-
};
|
1220
|
-
|
1221
|
-
Plugin.prototype.mousewheel = function() {
|
1222
|
-
var _this = this;
|
1223
|
-
_this.$outer.on('mousewheel.lg', function(e) {
|
1224
|
-
|
1225
|
-
if (!e.deltaY) {
|
1226
|
-
return;
|
1227
|
-
}
|
1228
|
-
|
1229
|
-
if (e.deltaY > 0) {
|
1230
|
-
_this.goToPrevSlide();
|
1231
|
-
} else {
|
1232
|
-
_this.goToNextSlide();
|
1233
|
-
}
|
1234
|
-
|
1235
|
-
e.preventDefault();
|
1236
|
-
});
|
1237
|
-
|
1238
|
-
};
|
1239
|
-
|
1240
|
-
Plugin.prototype.closeGallery = function() {
|
1241
|
-
|
1242
|
-
var _this = this;
|
1243
|
-
var mousedown = false;
|
1244
|
-
this.$outer.find('.lg-close').on('click.lg', function() {
|
1245
|
-
_this.destroy();
|
1246
|
-
});
|
1247
|
-
|
1248
|
-
if (_this.s.closable) {
|
1249
|
-
|
1250
|
-
// If you drag the slide and release outside gallery gets close on chrome
|
1251
|
-
// for preventing this check mousedown and mouseup happened on .lg-item or lg-outer
|
1252
|
-
_this.$outer.on('mousedown.lg', function(e) {
|
1253
|
-
|
1254
|
-
if ($(e.target).is('.lg-outer') || $(e.target).is('.lg-item ') || $(e.target).is('.lg-img-wrap')) {
|
1255
|
-
mousedown = true;
|
1256
|
-
} else {
|
1257
|
-
mousedown = false;
|
1258
|
-
}
|
1259
|
-
|
1260
|
-
});
|
1261
|
-
|
1262
|
-
_this.$outer.on('mousemove.lg', function() {
|
1263
|
-
mousedown = false;
|
1264
|
-
});
|
1265
|
-
|
1266
|
-
_this.$outer.on('mouseup.lg', function(e) {
|
1267
|
-
|
1268
|
-
if ($(e.target).is('.lg-outer') || $(e.target).is('.lg-item ') || $(e.target).is('.lg-img-wrap') && mousedown) {
|
1269
|
-
if (!_this.$outer.hasClass('lg-dragging')) {
|
1270
|
-
_this.destroy();
|
1271
|
-
}
|
1272
|
-
}
|
1273
|
-
|
1274
|
-
});
|
1275
|
-
|
1276
|
-
}
|
1277
|
-
|
1278
|
-
};
|
1279
|
-
|
1280
|
-
Plugin.prototype.destroy = function(d) {
|
1281
|
-
|
1282
|
-
var _this = this;
|
1283
|
-
|
1284
|
-
if (!d) {
|
1285
|
-
_this.$el.trigger('onBeforeClose.lg');
|
1286
|
-
$(window).scrollTop(_this.prevScrollTop);
|
1287
|
-
}
|
1288
|
-
|
1289
|
-
|
1290
|
-
/**
|
1291
|
-
* if d is false or undefined destroy will only close the gallery
|
1292
|
-
* plugins instance remains with the element
|
1293
|
-
*
|
1294
|
-
* if d is true destroy will completely remove the plugin
|
1295
|
-
*/
|
1296
|
-
|
1297
|
-
if (d) {
|
1298
|
-
if (!_this.s.dynamic) {
|
1299
|
-
// only when not using dynamic mode is $items a jquery collection
|
1300
|
-
this.$items.off('click.lg click.lgcustom');
|
1301
|
-
}
|
1302
|
-
|
1303
|
-
$.removeData(_this.el, 'lightGallery');
|
1304
|
-
}
|
1305
|
-
|
1306
|
-
// Unbind all events added by lightGallery
|
1307
|
-
this.$el.off('.lg.tm');
|
1308
|
-
|
1309
|
-
// Distroy all lightGallery modules
|
1310
|
-
$.each($.fn.lightGallery.modules, function(key) {
|
1311
|
-
if (_this.modules[key]) {
|
1312
|
-
_this.modules[key].destroy();
|
1313
|
-
}
|
1314
|
-
});
|
1315
|
-
|
1316
|
-
this.lGalleryOn = false;
|
1317
|
-
|
1318
|
-
clearTimeout(_this.hideBartimeout);
|
1319
|
-
this.hideBartimeout = false;
|
1320
|
-
$(window).off('.lg');
|
1321
|
-
$('body').removeClass('lg-on lg-from-hash');
|
1322
|
-
|
1323
|
-
if (_this.$outer) {
|
1324
|
-
_this.$outer.removeClass('lg-visible');
|
1325
|
-
}
|
1326
|
-
|
1327
|
-
$('.lg-backdrop').removeClass('in');
|
1328
|
-
|
1329
|
-
setTimeout(function() {
|
1330
|
-
if (_this.$outer) {
|
1331
|
-
_this.$outer.remove();
|
1332
|
-
}
|
1333
|
-
|
1334
|
-
$('.lg-backdrop').remove();
|
1335
|
-
|
1336
|
-
if (!d) {
|
1337
|
-
_this.$el.trigger('onCloseAfter.lg');
|
1338
|
-
}
|
1339
|
-
|
1340
|
-
}, _this.s.backdropDuration + 50);
|
1341
|
-
};
|
1342
|
-
|
1343
|
-
$.fn.lightGallery = function(options) {
|
1344
|
-
return this.each(function() {
|
1345
|
-
if (!$.data(this, 'lightGallery')) {
|
1346
|
-
$.data(this, 'lightGallery', new Plugin(this, options));
|
1347
|
-
} else {
|
1348
|
-
try {
|
1349
|
-
$(this).data('lightGallery').init();
|
1350
|
-
} catch (err) {
|
1351
|
-
console.error('lightGallery has not initiated properly');
|
1352
|
-
}
|
1353
|
-
}
|
1354
|
-
});
|
1355
|
-
};
|
1356
|
-
|
1357
|
-
$.fn.lightGallery.modules = {};
|
1358
|
-
|
1359
|
-
})();
|
1360
|
-
|
1361
|
-
|
1362
|
-
}));
|