first commit
This commit is contained in:
commit
b4e8cbe182
10213 files changed
+3125839
No files matched your search
@@ -0,0 +1,105 @@
|
||||
/*! E-Gallery v1.2.0 by Elementor */
|
||||
.e-gallery-container {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-wrap: wrap; }
|
||||
.e-gallery-container:not(.e-gallery-grid) {
|
||||
transition: padding-bottom var(--animation-duration); }
|
||||
|
||||
.e-gallery-item {
|
||||
position: relative;
|
||||
flex-grow: 0;
|
||||
flex-shrink: 0;
|
||||
transition-property: all;
|
||||
transition-duration: var(--animation-duration); }
|
||||
.e-gallery-item:not(:hover) .e-gallery-overlay {
|
||||
display: none; }
|
||||
.e-gallery-item.e-gallery-item--hidden {
|
||||
transform: scale3d(0, 0, 0);
|
||||
opacity: 0; }
|
||||
|
||||
.e-gallery-image {
|
||||
background-position: center center;
|
||||
background-size: cover;
|
||||
width: 100%;
|
||||
transform-origin: center top;
|
||||
transition: var(--animation-duration); }
|
||||
|
||||
.e-gallery-overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-evenly;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: column;
|
||||
color: #fff;
|
||||
background-color: rgba(0, 0, 0, 0.5); }
|
||||
.e-gallery-overlay__title {
|
||||
font-size: 24px; }
|
||||
|
||||
.e-gallery-grid:not(.e-gallery--animated) {
|
||||
display: grid;
|
||||
grid-gap: var(--vgap) var(--hgap);
|
||||
grid-template-columns: repeat(var(--columns), 1fr); }
|
||||
.e-gallery-grid:not(.e-gallery--animated) .e-gallery-item--hidden {
|
||||
position: absolute; }
|
||||
|
||||
.e-gallery-grid.e-gallery--animated {
|
||||
padding-bottom: var(--container-aspect-ratio); }
|
||||
.e-gallery-grid.e-gallery--animated .e-gallery-item {
|
||||
--item-width: calc((100% - ((var(--columns) - 1) * var(--hgap))) / var(--columns));
|
||||
position: absolute;
|
||||
top: calc(((100% / var(--rows)) + (var(--vgap) / var(--rows))) * var(--row));
|
||||
width: var(--item-width); }
|
||||
|
||||
.e-gallery-grid .e-gallery-image {
|
||||
padding-bottom: var(--aspect-ratio); }
|
||||
|
||||
.e-gallery-justified {
|
||||
padding-bottom: calc(var(--container-aspect-ratio) * 100%); }
|
||||
.e-gallery-justified .e-gallery-item {
|
||||
position: absolute;
|
||||
width: calc(var(--item-width) * (100% - var(--hgap) * var(--gap-count)));
|
||||
height: var(--item-height);
|
||||
top: calc(var(--item-top) + (var(--row) * var(--vgap))); }
|
||||
.e-gallery-justified .e-gallery-image {
|
||||
height: 100%; }
|
||||
|
||||
.e-gallery-masonry {
|
||||
height: 0;
|
||||
margin-bottom: calc(var(--highest-column-gap-count) * var(--vgap)); }
|
||||
.e-gallery-masonry .e-gallery-item {
|
||||
position: absolute;
|
||||
width: calc(100% / var(--columns) - (var(--hgap) * (var(--columns) - 1) / var(--columns)));
|
||||
top: calc(var(--percent-height) + (var(--items-in-column) * var(--vgap))); }
|
||||
.e-gallery-masonry .e-gallery-image {
|
||||
padding-bottom: var(--item-height); }
|
||||
|
||||
.e-gallery--ltr.e-gallery-grid.e-gallery--animated .e-gallery-item {
|
||||
left: calc(var(--item-width) * var(--column) + (var(--hgap) * var(--column))); }
|
||||
|
||||
.e-gallery--ltr.e-gallery-justified .e-gallery-item {
|
||||
left: calc(var(--item-start) * (100% - var(--hgap) * var(--gap-count)) + var(--hgap) * var(--item-row-index)); }
|
||||
|
||||
.e-gallery--ltr.e-gallery-masonry .e-gallery-item {
|
||||
left: calc((100% / var(--columns) - (var(--hgap) * (var(--columns) - 1) / var(--columns))) * var(--column) + (var(--hgap) * var(--column))); }
|
||||
|
||||
.e-gallery--rtl.e-gallery-grid.e-gallery--animated .e-gallery-item {
|
||||
right: calc(var(--item-width) * var(--column) + (var(--hgap) * var(--column))); }
|
||||
|
||||
.e-gallery--rtl.e-gallery-justified .e-gallery-item {
|
||||
right: calc(var(--item-start) * (100% - var(--hgap) * var(--gap-count)) + var(--hgap) * var(--item-row-index)); }
|
||||
|
||||
.e-gallery--rtl.e-gallery-masonry .e-gallery-item {
|
||||
right: calc((100% / var(--columns) - (var(--hgap) * (var(--columns) - 1) / var(--columns))) * var(--column) + (var(--hgap) * var(--column))); }
|
||||
|
||||
.e-gallery--lazyload .e-gallery-image:not(.e-gallery-image-loaded) {
|
||||
filter: opacity(0);
|
||||
transform: scale(0.5); }
|
||||
|
||||
|
||||
/*# sourceMappingURL=e-gallery.css.map*/
|
||||
@@ -0,0 +1,3 @@
|
||||
/*! E-Gallery v1.2.0 by Elementor */
|
||||
.e-gallery-container{position:relative;display:flex;flex-wrap:wrap}.e-gallery-container:not(.e-gallery-grid){transition:padding-bottom var(--animation-duration)}.e-gallery-item{position:relative;flex-grow:0;flex-shrink:0;transition-property:all;transition-duration:var(--animation-duration)}.e-gallery-item:not(:hover) .e-gallery-overlay{display:none}.e-gallery-item.e-gallery-item--hidden{transform:scale3d(0, 0, 0);opacity:0}.e-gallery-image{background-position:center center;background-size:cover;width:100%;transform-origin:center top;transition:var(--animation-duration)}.e-gallery-overlay{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-evenly;flex-wrap:wrap;flex-direction:column;color:#fff;background-color:rgba(0,0,0,0.5)}.e-gallery-overlay__title{font-size:24px}.e-gallery-grid:not(.e-gallery--animated){display:grid;grid-gap:var(--vgap) var(--hgap);grid-template-columns:repeat(var(--columns), 1fr)}.e-gallery-grid:not(.e-gallery--animated) .e-gallery-item--hidden{position:absolute}.e-gallery-grid.e-gallery--animated{padding-bottom:var(--container-aspect-ratio)}.e-gallery-grid.e-gallery--animated .e-gallery-item{--item-width: calc((100% - ((var(--columns) - 1) * var(--hgap))) / var(--columns));position:absolute;top:calc(((100% / var(--rows)) + (var(--vgap) / var(--rows))) * var(--row));width:var(--item-width)}.e-gallery-grid .e-gallery-image{padding-bottom:var(--aspect-ratio)}.e-gallery-justified{padding-bottom:calc(var(--container-aspect-ratio) * 100%)}.e-gallery-justified .e-gallery-item{position:absolute;width:calc(var(--item-width) * (100% - var(--hgap) * var(--gap-count)));height:var(--item-height);top:calc(var(--item-top) + (var(--row) * var(--vgap)))}.e-gallery-justified .e-gallery-image{height:100%}.e-gallery-masonry{height:0;margin-bottom:calc(var(--highest-column-gap-count) * var(--vgap))}.e-gallery-masonry .e-gallery-item{position:absolute;width:calc(100% / var(--columns) - (var(--hgap) * (var(--columns) - 1) / var(--columns)));top:calc(var(--percent-height) + (var(--items-in-column) * var(--vgap)))}.e-gallery-masonry .e-gallery-image{padding-bottom:var(--item-height)}.e-gallery--ltr.e-gallery-grid.e-gallery--animated .e-gallery-item{left:calc(var(--item-width) * var(--column) + (var(--hgap) * var(--column)))}.e-gallery--ltr.e-gallery-justified .e-gallery-item{left:calc(var(--item-start) * (100% - var(--hgap) * var(--gap-count)) + var(--hgap) * var(--item-row-index))}.e-gallery--ltr.e-gallery-masonry .e-gallery-item{left:calc((100% / var(--columns) - (var(--hgap) * (var(--columns) - 1) / var(--columns))) * var(--column) + (var(--hgap) * var(--column)))}.e-gallery--rtl.e-gallery-grid.e-gallery--animated .e-gallery-item{right:calc(var(--item-width) * var(--column) + (var(--hgap) * var(--column)))}.e-gallery--rtl.e-gallery-justified .e-gallery-item{right:calc(var(--item-start) * (100% - var(--hgap) * var(--gap-count)) + var(--hgap) * var(--item-row-index))}.e-gallery--rtl.e-gallery-masonry .e-gallery-item{right:calc((100% / var(--columns) - (var(--hgap) * (var(--columns) - 1) / var(--columns))) * var(--column) + (var(--hgap) * var(--column)))}.e-gallery--lazyload .e-gallery-image:not(.e-gallery-image-loaded){filter:opacity(0);transform:scale(0.5)}
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,2 @@
|
||||
/*! E-Gallery v1.2.0 by Elementor */
|
||||
var EGallery=function(t){var e={};function i(n){if(e[n])return e[n].exports;var s=e[n]={i:n,l:!1,exports:{}};return t[n].call(s.exports,s,s.exports,i),s.l=!0,s.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)i.d(n,s,function(e){return t[e]}.bind(null,s));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=9)}([function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function i(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}t.exports=function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}},function(t,e,i){var n=i(5),s=i(6);t.exports=function(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?s(t):e}},function(t,e){function i(e){return t.exports=i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},i(e)}t.exports=i},function(t,e,i){var n=i(7);t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n(t,e)}},function(t,e){function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t){return(n="function"==typeof Symbol&&"symbol"===i(Symbol.iterator)?function(t){return i(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":i(t)})(t)}function s(e){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?t.exports=s=function(t){return n(t)}:t.exports=s=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":n(t)},s(e)}t.exports=s},function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},function(t,e){function i(e,n){return t.exports=i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},i(e,n)}t.exports=i},function(t,e,i){},function(t,e,i){"use strict";i.r(e);var n=i(0),s=i.n(n),r=i(1),a=i.n(r),o=i(2),l=i.n(o),u=i(3),c=i.n(u),h=i(4),y=i.n(h);var g=function(){function t(e){var i=this;s()(this,t),this.settings=jQuery.extend(!0,this.getDefaultSettings(),e),this.$container=jQuery(this.settings.container),this.timeouts=[],this.initElements(),this.prepareGallery();var n=this.runGallery.bind(this);this.runGallery=this.debounce(function(){for(var t=arguments.length,e=new Array(t),s=0;s<t;s++)e[s]=arguments[s];i.settings.lazyLoad?n.apply(void 0,e):i.allImagesPromise.then(function(){return n.apply(void 0,e)})},300),this.settings.lazyLoad&&(this.handleScroll=this.debounce(function(){return i.lazyLoadImages()},16)),this.bindEvents(),this.runGallery()}return a()(t,[{key:"getDefaultSettings",value:function(){return{}}},{key:"getItemClass",value:function(t){return this.settings.classesPrefix+t}},{key:"initElements",value:function(){this.elements={$window:jQuery(window)};var t="-"+(this.settings.rtl?"rtl":"ltr"),e=this.getItemClass(this.settings.classes.container)+" "+this.getItemClass(this.settings.type)+" "+this.getItemClass(t);this.settings.lazyLoad&&(e+=" "+this.getItemClass(this.settings.classes.lazyLoad)),this.$container.addClass(e)}},{key:"bindEvents",value:function(){this.elements.$window.on("resize",this.runGallery),this.settings.lazyLoad&&this.elements.$window.on("scroll",this.handleScroll)}},{key:"getNestedObjectData",value:function(t,e){var i=e.split("."),n=i.splice(0,1);return i.length?this.getNestedObjectData(t[n],i.join(".")):{object:t,key:e}}},{key:"getTemplateArgs",value:function(t,e){var i=this.getNestedObjectData(t,e);return i.object[i.key]||""}},{key:"getCurrentBreakpoint",value:function(){var t=Object.keys(this.settings.breakpoints).map(Number).sort(function(t,e){return t-e}),e=0;return t.some(function(t){return innerWidth<t&&(e=t,!0)}),e}},{key:"getCurrentDeviceSetting",value:function(t){var e=this.getCurrentBreakpoint();return e?this.settings.breakpoints[e][t]:this.settings[t]}},{key:"getActiveItems",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.settings.tags,i=[];if(!e.length)returnLine truncated
|
||||
Reference in new issue
Block a user