Fix lightbox on resize event
This commit is contained in:
1 parent
89d352cb1f
commit
3be01ab479
7 files changed
+168
-214
No files matched your search
@@ -79,7 +79,6 @@ class User extends PhpObject {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if($bSuccess) {
|
if($bSuccess) {
|
||||||
$this->setUserId($iUserId);
|
$this->setUserId($iUserId);
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -973,9 +973,9 @@ function getMediaLink(asData, sType) {
|
|||||||
var bTimeDiff = (asData.posted_on_formatted && asData.posted_on_formatted_local != asData.posted_on_formatted);
|
var bTimeDiff = (asData.posted_on_formatted && asData.posted_on_formatted_local != asData.posted_on_formatted);
|
||||||
|
|
||||||
var $Comment = (!asData.comment || asData.comment == '')?'':
|
var $Comment = (!asData.comment || asData.comment == '')?'':
|
||||||
$('<span>', {'class': 'lb-caption-line comment', 'title': asData.comment})
|
$('<span>', {'class': 'lb-caption-line comment desktop', 'title': asData.comment})
|
||||||
.addIcon('fa-post fa-lg fa-fw', true)
|
.addIcon('fa-post fa-lg fa-fw', true)
|
||||||
.append(asData.comment);
|
.append($('<span>', {'class':'comment-text'}).text(asData.comment));
|
||||||
|
|
||||||
var $PostedOn =
|
var $PostedOn =
|
||||||
$('<span>', {'class': 'lb-caption-line', title: bTimeDiff?oSpot.lang('local_time', asData.posted_on_formatted_local):''})
|
$('<span>', {'class': 'lb-caption-line', title: bTimeDiff?oSpot.lang('local_time', asData.posted_on_formatted_local):''})
|
||||||
|
|||||||
+147
-198
@@ -114,7 +114,7 @@
|
|||||||
// on the page below.
|
// on the page below.
|
||||||
//
|
//
|
||||||
// Github issue: https://github.com/lokesh/lightbox2/issues/663
|
// Github issue: https://github.com/lokesh/lightbox2/issues/663
|
||||||
$('<div id="lightboxOverlay" tabindex="-1" class="lightboxOverlay"></div><div id="lightbox" tabindex="-1" class="lightbox"><div class="lb-outerContainer"><div class="lb-container"><img class="lb-image" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" alt=""/><div class="lb-nav"><a class="lb-prev" aria-label="Previous image" href="" ></a><a class="lb-next" aria-label="Next image" href="" ></a></div><div class="lb-loader"><a class="lb-cancel" href="#"></a></div></div></div><div class="lb-dataContainer"><div class="lb-data"><div class="lb-details"><span class="lb-caption"></span><span class="lb-number"></span></div><div class="lb-closeContainer"><a class="lb-close"></a></div></div></div></div>').appendTo($('body'));
|
$('<div id="lightboxOverlay" tabindex="-1" class="lightboxOverlay"></div><div id="lightbox" tabindex="-1" class="lightbox"><div class="lb-outerContainer"><div class="lb-container"><img class="lb-image" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" alt=""/><div class="lb-nav"><a class="lb-prev" aria-label="Previous image" href="" ></a><a class="lb-next" aria-label="Next image" href="" ></a></div><div class="lb-loader"><a class="lb-cancel" href="#"></a></div></div></div><div class="lb-dataContainer desktop"><div class="lb-data"><div class="lb-details"><span class="lb-caption"></span><span class="lb-number"></span></div><div class="lb-closeContainer"><a class="lb-close"></a></div></div></div></div>').appendTo($('body'));
|
||||||
|
|
||||||
// Cache jQuery objects
|
// Cache jQuery objects
|
||||||
this.$lightbox = $('#lightbox');
|
this.$lightbox = $('#lightbox');
|
||||||
@@ -271,6 +271,7 @@
|
|||||||
, orientation: $link.attr('data-orientation')
|
, orientation: $link.attr('data-orientation')
|
||||||
, type: $link.attr('data-type')
|
, type: $link.attr('data-type')
|
||||||
, id: $link.attr('data-id')
|
, id: $link.attr('data-id')
|
||||||
|
, $Media: $link.attr('data-type')=='video'?self.$video:self.$image
|
||||||
//ADDED-END
|
//ADDED-END
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -321,219 +322,160 @@
|
|||||||
this.changeImage(imageNumber);
|
this.changeImage(imageNumber);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//ADDED-START
|
||||||
|
Lightbox.prototype.getMaxSizes = function(iMediaWidth, iMediaHeight, sMediaType) {
|
||||||
|
var iWindowWidth = $(window).width();
|
||||||
|
var iWindowHeight = $(window).height();
|
||||||
|
var oBorder = (sMediaType=='image')?this.imageBorderWidth:this.videoBorderWidth;
|
||||||
|
var iMaxMediaWidth = iWindowWidth - this.containerPadding.left - this.containerPadding.right - oBorder.left - oBorder.right;
|
||||||
|
var iMaxMediaHeight = iWindowHeight - this.containerPadding.top - this.containerPadding.bottom - oBorder.top - oBorder.bottom - this.options.positionFromTop;
|
||||||
|
|
||||||
|
var iDataMaxWidth = this.$lightbox.find('.lb-dataContainer').width(), iDataMaxHeight = this.$lightbox.find('.lb-dataContainer').height();
|
||||||
|
var iImageRatio = iMediaWidth / iMediaHeight;
|
||||||
|
|
||||||
|
//Case horizontal
|
||||||
|
var iHeightH = Math.min(iMaxMediaHeight, iMediaHeight);
|
||||||
|
var iWidthH = Math.min(iHeightH * iImageRatio, iMaxMediaWidth - iDataMaxWidth);
|
||||||
|
var iSurfaceH = Math.min(iHeightH, iWidthH / iImageRatio) * iWidthH;
|
||||||
|
|
||||||
|
//Case vertical
|
||||||
|
var iWidthV = Math.min(iMaxMediaWidth, iMediaWidth);
|
||||||
|
var iHeightV = Math.min(iWidthV / iImageRatio, iMaxMediaHeight - iDataMaxHeight);
|
||||||
|
var iSurfaceV = Math.min(iWidthV, iHeightV * iImageRatio) * iHeightV;
|
||||||
|
|
||||||
|
var sDirection = (iSurfaceV > iSurfaceH)?'vertical':'horizontal';
|
||||||
|
|
||||||
|
if(sDirection == 'vertical') iMaxMediaHeight -= iDataMaxHeight;
|
||||||
|
else iMaxMediaWidth -= iDataMaxWidth;
|
||||||
|
|
||||||
|
return {maxWidth: iMaxMediaWidth, maxHeight: iMaxMediaHeight, direction: sDirection};
|
||||||
|
};
|
||||||
|
|
||||||
|
Lightbox.prototype.updateSize = function(iMediaNumber) {
|
||||||
|
var oMedia = this.album[iMediaNumber];
|
||||||
|
var sFileType = oMedia.link.split('.').slice(-1)[0];
|
||||||
|
var oMaxSizes = this.getMaxSizes(oMedia.width, oMedia.height, oMedia.type);
|
||||||
|
var iMaxMediaWidth = oMaxSizes.maxWidth;
|
||||||
|
var iMaxMediaHeight = oMaxSizes.maxHeight;
|
||||||
|
this.$lightbox.removeClass('vertical horizontal').addClass(oMaxSizes.direction);
|
||||||
|
|
||||||
|
/*
|
||||||
|
Since many SVGs have small intrinsic dimensions, but they support scaling
|
||||||
|
up without quality loss because of their vector format, max out their
|
||||||
|
size.
|
||||||
|
*/
|
||||||
|
if(sFileType === 'svg') {
|
||||||
|
oMedia.$Media.width(iMaxMediaWidth);
|
||||||
|
oMedia.$Media.height(iMaxMediaHeight);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(this.options.fitImagesInViewport) {
|
||||||
|
//Check if image size is larger than maxWidth|maxHeight in settings
|
||||||
|
if(this.options.maxWidth && this.options.maxWidth < iMaxMediaWidth) iMaxMediaWidth = this.options.maxWidth;
|
||||||
|
if(this.options.maxHeight && this.options.maxHeight < iMaxMediaHeight) iMaxMediaHeight = this.options.maxHeight;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
iMaxMediaWidth = this.options.maxWidth || oMedia.width || iMaxMediaWidth;
|
||||||
|
iMaxMediaHeight = this.options.maxHeight || oMedia.height || iMaxMediaHeight;
|
||||||
|
}
|
||||||
|
|
||||||
|
//Is the current image's width or height is greater than the maxImageWidth or maxImageHeight
|
||||||
|
//option than we need to size down while maintaining the aspect ratio.
|
||||||
|
var iMediaFinalWidth, iMediaFinalHeight;
|
||||||
|
if((oMedia.width > iMaxMediaWidth) || (oMedia.height > iMaxMediaHeight)) {
|
||||||
|
if ((oMedia.width / iMaxMediaWidth) > (oMedia.height / iMaxMediaHeight)) {
|
||||||
|
iMediaFinalWidth = iMaxMediaWidth;
|
||||||
|
iMediaFinalHeight = Math.round(oMedia.height / (oMedia.width / iMaxMediaWidth));
|
||||||
|
} else {
|
||||||
|
iMediaFinalWidth = Math.round(oMedia.width / (oMedia.height / iMaxMediaHeight));
|
||||||
|
iMediaFinalHeight = iMaxMediaHeight;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
iMediaFinalWidth = oMedia.width;
|
||||||
|
iMediaFinalHeight = oMedia.height;
|
||||||
|
}
|
||||||
|
|
||||||
|
oMedia.$Media.width(iMediaFinalWidth);
|
||||||
|
oMedia.$Media.height(iMediaFinalHeight);
|
||||||
|
this.sizeContainer(iMediaFinalWidth, iMediaFinalHeight, oMedia.type);
|
||||||
|
};
|
||||||
|
|
||||||
// Hide most UI elements in preparation for the animated resizing of the lightbox.
|
// Hide most UI elements in preparation for the animated resizing of the lightbox.
|
||||||
Lightbox.prototype.changeImage = function(imageNumber) {
|
Lightbox.prototype.changeImage = function(imageNumber) {
|
||||||
var self = this;
|
var self = this;
|
||||||
var filename = this.album[imageNumber].link;
|
var filename = this.album[imageNumber].link;
|
||||||
var filetype = filename.split('.').slice(-1)[0];
|
|
||||||
var $image = this.$lightbox.find('.lb-image');
|
|
||||||
|
|
||||||
// Disable keyboard nav during transitions
|
// Disable keyboard nav during transitions
|
||||||
this.disableKeyboardNav();
|
this.disableKeyboardNav();
|
||||||
|
|
||||||
// Show loading state
|
// Show loading state
|
||||||
this.$overlay.fadeIn(this.options.fadeDuration);
|
this.$overlay.fadeIn(this.options.fadeDuration);
|
||||||
$('.lb-loader').fadeIn('slow');
|
$('.lb-loader').fadeIn('slow');
|
||||||
//ADDED-START
|
|
||||||
//this.$lightbox.find('.lb-image, .lb-nav, .lb-prev, .lb-next, .lb-dataContainer, .lb-numbers, .lb-caption').hide();
|
this.$lightbox.find('.lb-image, .lb-video, .lb-nav, .lb-prev, .lb-next, .lb-number, .lb-caption, .lb-close').hide();
|
||||||
this.$lightbox.find('.lb-image, .lb-video, .lb-nav, .lb-prev, .lb-next, .lb-number, .lb-caption, .lb-close').hide();
|
|
||||||
this.$image.css({'--scale': '1', '--translate-x': '0', '--translate-y': '0'});
|
this.$image.css({'--scale': '1', '--translate-x': '0', '--translate-y': '0'});
|
||||||
self.$lightbox.find('.lb-dataContainer').css({width:'200px', height:'30px'});
|
self.$lightbox.find('.lb-dataContainer').css({width:'200px', height:'30px'});
|
||||||
//ADDED-END
|
this.$outerContainer.addClass('animating');
|
||||||
|
|
||||||
this.$outerContainer.addClass('animating');
|
oSpot.updateHash('media', self.album[imageNumber].id);
|
||||||
|
|
||||||
//ADDED-START
|
var $hasVideoNav = this.$container.hasClass('lb-video-nav');
|
||||||
var getMaxSizes = function(iMediaWidth, iMediaHeight, sMediaType) {
|
switch(self.album[imageNumber].type) {
|
||||||
var iWindowWidth = $(window).width();
|
case 'video':
|
||||||
var iWindowHeight = $(window).height();
|
|
||||||
var oBorder = (sMediaType=='image')?self.imageBorderWidth:self.videoBorderWidth;
|
|
||||||
var iMaxMediaWidth = iWindowWidth - self.containerPadding.left - self.containerPadding.right - oBorder.left - oBorder.right;
|
|
||||||
var iMaxMediaHeight = iWindowHeight - self.containerPadding.top - self.containerPadding.bottom - oBorder.top - oBorder.bottom - self.options.positionFromTop;
|
|
||||||
|
|
||||||
var iDataMaxWidth = self.$lightbox.find('.lb-dataContainer').width(), iDataMaxHeight = self.$lightbox.find('.lb-dataContainer').height();
|
|
||||||
var iImageRatio = iMediaWidth / iMediaHeight;
|
|
||||||
|
|
||||||
//Case horizontal
|
|
||||||
var iHeightH = Math.min(iMaxMediaHeight, iMediaHeight);
|
|
||||||
var iWidthH = Math.min(iHeightH * iImageRatio, iMaxMediaWidth - iDataMaxWidth);
|
|
||||||
var iSurfaceH = Math.min(iHeightH, iWidthH / iImageRatio) * iWidthH;
|
|
||||||
|
|
||||||
//Case vertical
|
|
||||||
var iWidthV = Math.min(iMaxMediaWidth, iMediaWidth);
|
|
||||||
var iHeightV = Math.min(iWidthV / iImageRatio, iMaxMediaHeight - iDataMaxHeight);
|
|
||||||
var iSurfaceV = Math.min(iWidthV, iHeightV * iImageRatio) * iHeightV;
|
|
||||||
|
|
||||||
var sDirection = (iSurfaceV > iSurfaceH)?'vertical':'horizontal';
|
|
||||||
|
|
||||||
if(sDirection == 'vertical') iMaxMediaHeight -= iDataMaxHeight;
|
|
||||||
else iMaxMediaWidth -= iDataMaxWidth;
|
|
||||||
|
|
||||||
return {maxWidth: iMaxMediaWidth, maxHeight: iMaxMediaHeight, direction: sDirection};
|
|
||||||
};
|
|
||||||
|
|
||||||
oSpot.updateHash('media', self.album[imageNumber].id);
|
|
||||||
|
|
||||||
if(self.options.hasVideo) {
|
|
||||||
var $lbContainer = this.$lightbox.find('.lb-container');
|
|
||||||
var $hasVideoNav = $lbContainer.hasClass('lb-video-nav');
|
|
||||||
|
|
||||||
if(self.album[imageNumber].type == 'video') {
|
|
||||||
this.$video.on('loadedmetadata', function(){
|
this.$video.on('loadedmetadata', function(){
|
||||||
var $This = $(this);
|
self.album[imageNumber].width = this.videoWidth;
|
||||||
|
self.album[imageNumber].height = this.videoHeight;
|
||||||
var oMaxSizes = getMaxSizes(this.videoWidth, this.videoHeight, 'video');
|
self.updateSize(imageNumber);
|
||||||
maxVideoWidth = oMaxSizes.maxWidth;
|
$(this).off('loadedmetadata');
|
||||||
maxVideoHeight = oMaxSizes.maxHeight;
|
|
||||||
self.$lightbox.removeClass('vertical horizontal').addClass(oMaxSizes.direction);
|
|
||||||
|
|
||||||
//TODO merge with image
|
|
||||||
if(self.options.fitImagesInViewport) {
|
|
||||||
//Check if image size is larger than maxWidth|maxHeight in settings
|
|
||||||
if(self.options.maxWidth && self.options.maxWidth < maxVideoWidth) maxVideoWidth = self.options.maxWidth;
|
|
||||||
if(self.options.maxHeight && self.options.maxHeight < maxVideoHeight) maxVideoHeight = self.options.maxHeight;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
maxVideoWidth = self.options.maxWidth || this.videoWidth || maxVideoWidth;
|
|
||||||
maxVideoHeight = self.options.maxHeight || this.videoHeight || maxVideoHeight;
|
|
||||||
}
|
|
||||||
|
|
||||||
//Is the current image's width or height is greater than the maxImageWidth or maxImageHeight
|
|
||||||
//option than we need to size down while maintaining the aspect ratio.
|
|
||||||
if((this.videoWidth > maxVideoWidth) || (this.videoHeight > maxVideoHeight)) {
|
|
||||||
if ((this.videoWidth / maxVideoWidth) > (this.videoHeight / maxVideoHeight)) {
|
|
||||||
videoWidth = maxVideoWidth;
|
|
||||||
videoHeight = Math.round(this.videoHeight / (this.videoWidth / videoWidth));
|
|
||||||
} else {
|
|
||||||
videoHeight = maxVideoHeight;
|
|
||||||
videoWidth = Math.round(this.videoWidth / (this.videoHeight / videoHeight));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
videoWidth = this.videoWidth;
|
|
||||||
videoHeight = this.videoHeight;
|
|
||||||
}
|
|
||||||
$This.width(videoWidth);
|
|
||||||
$This.height(videoHeight);
|
|
||||||
|
|
||||||
self.sizeContainer($This.width(), $This.height(), 'video');
|
|
||||||
$This.off('loadedmetadata');
|
|
||||||
});
|
});
|
||||||
|
|
||||||
this.currentImageIndex = imageNumber;
|
this.$video.attr('src', filename);
|
||||||
this.$video.attr('src', self.album[imageNumber].link);
|
|
||||||
|
|
||||||
if(!$hasVideoNav) $lbContainer.addClass('lb-video-nav');
|
if(!$hasVideoNav) this.$container.addClass('lb-video-nav');
|
||||||
return;
|
break;
|
||||||
}
|
case 'image':
|
||||||
else {
|
|
||||||
this.$video.attr('src', '');
|
this.$video.attr('src', '');
|
||||||
if($hasVideoNav) $lbContainer.removeClass('lb-video-nav');
|
if($hasVideoNav) this.$container.removeClass('lb-video-nav');
|
||||||
}
|
|
||||||
|
// When image to show is preloaded, we send the width and height to sizeContainer()
|
||||||
|
var preloader = new Image();
|
||||||
|
preloader.onload = function(){
|
||||||
|
var $preloader;
|
||||||
|
|
||||||
|
self.$image.attr({
|
||||||
|
'alt': self.album[imageNumber].alt,
|
||||||
|
'src': filename
|
||||||
|
});
|
||||||
|
|
||||||
|
$preloader = $(preloader);
|
||||||
|
|
||||||
|
//Orientation management
|
||||||
|
if(Math.abs(self.album[imageNumber].orientation) == 90 && preloader.width > preloader.height) {
|
||||||
|
var sWidth = preloader.width;
|
||||||
|
preloader.width = preloader.height;
|
||||||
|
preloader.height = sWidth;
|
||||||
|
}
|
||||||
|
self.album[imageNumber].width = preloader.width;
|
||||||
|
self.album[imageNumber].height = preloader.height;
|
||||||
|
|
||||||
|
self.updateSize(imageNumber);
|
||||||
|
};
|
||||||
|
|
||||||
|
// Preload image before showing
|
||||||
|
preloader.src = this.album[imageNumber].link;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
//ADDED-END
|
|
||||||
|
|
||||||
// When image to show is preloaded, we send the width and height to sizeContainer()
|
this.currentImageIndex = imageNumber;
|
||||||
var preloader = new Image();
|
|
||||||
preloader.onload = function() {
|
|
||||||
var $preloader;
|
|
||||||
var imageHeight;
|
|
||||||
var imageWidth;
|
|
||||||
var maxImageHeight;
|
|
||||||
var maxImageWidth;
|
|
||||||
var windowHeight;
|
|
||||||
var windowWidth;
|
|
||||||
|
|
||||||
$image.attr({
|
|
||||||
'alt': self.album[imageNumber].alt,
|
|
||||||
'src': filename
|
|
||||||
});
|
|
||||||
|
|
||||||
$preloader = $(preloader);
|
|
||||||
|
|
||||||
//ADDED-START
|
|
||||||
if(Math.abs(self.album[imageNumber].orientation) == 90 && preloader.width > preloader.height) {
|
|
||||||
var sWidth = preloader.width;
|
|
||||||
preloader.width = preloader.height;
|
|
||||||
preloader.height = sWidth;
|
|
||||||
}
|
|
||||||
self.album[imageNumber].width = preloader.width;
|
|
||||||
self.album[imageNumber].height = preloader.height;
|
|
||||||
//ADDED-END
|
|
||||||
|
|
||||||
$image.width(preloader.width);
|
|
||||||
$image.height(preloader.height);
|
|
||||||
windowWidth = $(window).width();
|
|
||||||
windowHeight = $(window).height();
|
|
||||||
|
|
||||||
// Calculate the max image dimensions for the current viewport.
|
|
||||||
// Take into account the border around the image and an additional 10px gutter on each side.
|
|
||||||
//ADDED-START
|
|
||||||
//maxImageWidth = windowWidth - self.containerPadding.left - self.containerPadding.right - self.imageBorderWidth.left - self.imageBorderWidth.right - 20;
|
|
||||||
//maxImageHeight = windowHeight - self.containerPadding.top - self.containerPadding.bottom - self.imageBorderWidth.top - self.imageBorderWidth.bottom - self.options.positionFromTop - 70;
|
|
||||||
var oMaxSizes = getMaxSizes(preloader.width, preloader.height, 'image');
|
|
||||||
maxImageWidth = oMaxSizes.maxWidth;
|
|
||||||
maxImageHeight = oMaxSizes.maxHeight;
|
|
||||||
self.$lightbox.removeClass('vertical horizontal').addClass(oMaxSizes.direction);
|
|
||||||
//ADDED-END
|
|
||||||
|
|
||||||
/*
|
|
||||||
Since many SVGs have small intrinsic dimensions, but they support scaling
|
|
||||||
up without quality loss because of their vector format, max out their
|
|
||||||
size.
|
|
||||||
*/
|
|
||||||
if (filetype === 'svg') {
|
|
||||||
$image.width(maxImageWidth);
|
|
||||||
$image.height(maxImageHeight);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Fit image inside the viewport.
|
|
||||||
if (self.options.fitImagesInViewport) {
|
|
||||||
|
|
||||||
// Check if image size is larger then maxWidth|maxHeight in settings
|
|
||||||
if (self.options.maxWidth && self.options.maxWidth < maxImageWidth) {
|
|
||||||
maxImageWidth = self.options.maxWidth;
|
|
||||||
}
|
|
||||||
if (self.options.maxHeight && self.options.maxHeight < maxImageHeight) {
|
|
||||||
maxImageHeight = self.options.maxHeight;
|
|
||||||
}
|
|
||||||
|
|
||||||
} else {
|
|
||||||
maxImageWidth = self.options.maxWidth || preloader.width || maxImageWidth;
|
|
||||||
maxImageHeight = self.options.maxHeight || preloader.height || maxImageHeight;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Is the current image's width or height is greater than the maxImageWidth or maxImageHeight
|
|
||||||
// option than we need to size down while maintaining the aspect ratio.
|
|
||||||
if ((preloader.width > maxImageWidth) || (preloader.height > maxImageHeight)) {
|
|
||||||
if ((preloader.width / maxImageWidth) > (preloader.height / maxImageHeight)) {
|
|
||||||
imageWidth = maxImageWidth;
|
|
||||||
imageHeight = parseInt(preloader.height / (preloader.width / imageWidth), 10);
|
|
||||||
$image.width(imageWidth);
|
|
||||||
$image.height(imageHeight);
|
|
||||||
} else {
|
|
||||||
imageHeight = maxImageHeight;
|
|
||||||
imageWidth = parseInt(preloader.width / (preloader.height / imageHeight), 10);
|
|
||||||
$image.width(imageWidth);
|
|
||||||
$image.height(imageHeight);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//ADDED-START
|
|
||||||
//self.sizeContainer($image.width(), $image.height());
|
|
||||||
self.sizeContainer($image.width(), $image.height(), 'image');
|
|
||||||
//ADDED-END
|
|
||||||
};
|
|
||||||
|
|
||||||
// Preload image before showing
|
|
||||||
preloader.src = this.album[imageNumber].link;
|
|
||||||
this.currentImageIndex = imageNumber;
|
|
||||||
};
|
};
|
||||||
|
//ADDED-END
|
||||||
|
|
||||||
// Stretch overlay to fit the viewport
|
// Stretch overlay to fit the viewport
|
||||||
Lightbox.prototype.sizeOverlay = function(e) {
|
Lightbox.prototype.sizeOverlay = function(e) {
|
||||||
var self = this;
|
//var self = this;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
We use a setTimeout 0 to pause JS execution and let the rendering catch-up.
|
We use a setTimeout 0 to pause JS execution and let the rendering catch-up.
|
||||||
Why do this? If the `disableScrolling` option is set to true, a class is added to the body
|
Why do this? If the `disableScrolling` option is set to true, a class is added to the body
|
||||||
tag that disables scrolling and hides the scrollbar. We want to make sure the scrollbar is
|
tag that disables scrolling and hides the scrollbar. We want to make sure the scrollbar is
|
||||||
@@ -541,17 +483,24 @@
|
|||||||
number.
|
number.
|
||||||
*/
|
*/
|
||||||
//ADDED-START
|
//ADDED-START
|
||||||
/*
|
/*
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
self.$overlay
|
self.$overlay
|
||||||
.width($(document).width())
|
.width($(document).width())
|
||||||
.height($(document).height());
|
.height($(document).height());
|
||||||
|
|
||||||
}, 0);
|
}, 0);
|
||||||
*/
|
*/
|
||||||
if(e) {
|
if(e) {
|
||||||
if(typeof oResizeTimer != 'undefined') clearTimeout(oResizeTimer);
|
var oMedia = this.album[this.currentImageIndex];
|
||||||
oResizeTimer = setTimeout(function(){self.changeImage(self.currentImageIndex);}, 200);
|
if(oMedia.type == 'image') {
|
||||||
|
if(typeof oResizeTimer != 'undefined') clearTimeout(oResizeTimer);
|
||||||
|
oResizeTimer = setTimeout(()=>{this.changeImage(this.currentImageIndex);}, 200);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
//var $Media = oMedia.$Media;
|
||||||
|
//this.updateSize($($Media), $Media.videoWidth, $Media.videoHeight, oMedia.type);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
//ADDED-END
|
//ADDED-END
|
||||||
};
|
};
|
||||||
|
|||||||
+17
-7
@@ -19,6 +19,7 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
&.vertical {
|
&.vertical {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -41,6 +42,7 @@
|
|||||||
|
|
||||||
&.comment {
|
&.comment {
|
||||||
max-width: 50%;
|
max-width: 50%;
|
||||||
|
@include no-text-overflow();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -66,6 +68,18 @@
|
|||||||
display: block;
|
display: block;
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
line-height: 1.33333333em;
|
line-height: 1.33333333em;
|
||||||
|
|
||||||
|
&.comment {
|
||||||
|
.fa {
|
||||||
|
vertical-align: text-bottom;
|
||||||
|
}
|
||||||
|
|
||||||
|
.comment-text {
|
||||||
|
display: inline-block;
|
||||||
|
width: calc(100% - 1.25em*1.33333333333 - 0.5rem);
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-closeContainer .lb-close {
|
.lb-closeContainer .lb-close {
|
||||||
@@ -105,8 +119,8 @@
|
|||||||
box-sizing: content-box;
|
box-sizing: content-box;
|
||||||
}
|
}
|
||||||
&.lb-video-nav .lb-nav {
|
&.lb-video-nav .lb-nav {
|
||||||
top: 0;
|
top: 100px;
|
||||||
height: calc(100% - 100px); //Leave space for video progress bar
|
height: calc(100% - 200px); //Leave space for video progress bar
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-nav {
|
.lb-nav {
|
||||||
@@ -117,7 +131,7 @@
|
|||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: calc(50% - 1em + 50px);
|
top: calc(50% - 1em);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -158,10 +172,6 @@
|
|||||||
&:first-child {
|
&:first-child {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.comment {
|
|
||||||
@include no-text-overflow();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-number {
|
.lb-number {
|
||||||
|
|||||||
@@ -63,10 +63,6 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.lightbox.vertical .lb-dataContainer .lb-data .lb-details .lb-caption-line.comment {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (min-width: 801px) {
|
@media only screen and (min-width: 801px) {
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
@font-face{font-family:"Ubuntu";font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/ubuntu/v15/4iCs6KVjbNBYlgoKcg72j00.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:"Ubuntu";font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/ubuntu/v15/4iCs6KVjbNBYlgoKew72j00.woff2) format("woff2");unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:"Ubuntu";font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/ubuntu/v15/4iCs6KVjbNBYlgoKcw72j00.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:"Ubuntu";font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/ubuntu/v15/4iCs6KVjbNBYlgoKfA72j00.woff2) format("woff2");unicode-range:U+0370-03FF}@font-face{font-family:"Ubuntu";font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/ubuntu/v15/4iCs6KVjbNBYlgoKcQ72j00.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Ubuntu";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/4iCs6KVjbNBYlgoKfw72.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"Ubuntu";font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/ubuntu/v15/4iCv6KVjbNBYlgoCxCvjvWyNL4U.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:"Ubuntu";font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/ubuntu/v15/4iCv6KVjbNBYlgoCxCvjtGyNL4U.woff2) format("woff2");unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:"Ubuntu";font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/ubuntu/v15/4iCv6KVjbNBYlgoCxCvjvGyNL4U.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:"Ubuntu";font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/ubuntu/v15/4iCv6KVjbNBYlgoCxCvjs2yNL4U.woff2) format("woff2");unicode-range:U+0370-03FF}@font-face{font-family:"Ubuntu";font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/ubuntu/v15/4iCv6KVjbNBYlgoCxCvjvmyNL4U.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Ubuntu";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/4iCv6KVjbNBYlgoCxCvjsGyN.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@-webkit-keyframes fadeIn{from{opacity:.3}}@-moz-keyframes fadeIn{from{opacity:.3}}@-ms-keyframes fadeIn{from{opacity:.3}}@-o-keyframes fadeIn{from{opacity:.3}}@keyframes fadeIn{from{opacity:.3}}.flicker,#projects #settings #settings-panel .settings-sections .settings-section.newsletter button#nl_btn.loading span,.lightbox .lb-cancel{-webkit-animation:fadeIn .5s infinite alternate;-moz-animation:fadeIn .5s infinite alternate;-ms-animation:fadeIn .5s infinite alternate;-o-animation:fadeIn .5s infinite alternate;animation:fadeIn .5s infinite alternate}@keyframes spotlogo{0%{transform:scale(1)}1.25%{transform:scale(1.2)}2.5%{transform:scale(1);transform:rotate(0deg)}5%{transform:rotate(360deg)}100%{transform:rotate(360deg)}}*:focus{outline:0px none transparent}textarea:focus,input:focus{outline:1px solid #ccc}body,textarea,input,button,a.button{font-size:14px;font-family:"Ubuntu",sans-serif;margin:0}textarea{resize:none}a.button{text-decoration:none;display:inline-block}button,a.button{cursor:pointer;font-weight:bold;color:#000;background:#eee}button:hover,a.button:hover{color:#eee;background:#000}input,textarea,button,a.button{border:none;padding:.5em 1em;border-radius:3px}h1{font-size:2em;font-weight:bold;margin:1em 0 .5em}.feedback p{margin:0 0 1em 0}.feedback p.error{color:red}.feedback p.warning{color:orange}.feedback p.success{color:green}@font-face{font-family:"Font Awesome 5 Pro";font-style:normal;font-weight:900;font-display:block;src:url("fa/fonts/fa-solid-900.eot");src:url("fa/fonts/fa-solid-900.eot?#iefix") format("embedded-opentype"),url("fa/fonts/fa-solid-900.woff2") format("woff2"),url("fa/fonts/fa-solid-900.woff") format("woff"),url("fa/fonts/fa-solid-900.ttf") format("truetype"),url("fa/fonts/fa-solid-900.svg#fontawesome") format("svg")}.fa,.lightbox .lb-cancel,.lightbox .lb-dataContainer .lb-data .lb-closeContainer .lb-close,.lightbox .lb-outerContainer .lb-container .lb-nav a.lb-next,.lightbox .lb-outerContainer .lb-container .lb-nav a.lb-prev,.control-icon,Line truncated
|
@font-face{font-family:"Ubuntu";font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/ubuntu/v15/4iCs6KVjbNBYlgoKcg72j00.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:"Ubuntu";font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/ubuntu/v15/4iCs6KVjbNBYlgoKew72j00.woff2) format("woff2");unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:"Ubuntu";font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/ubuntu/v15/4iCs6KVjbNBYlgoKcw72j00.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:"Ubuntu";font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/ubuntu/v15/4iCs6KVjbNBYlgoKfA72j00.woff2) format("woff2");unicode-range:U+0370-03FF}@font-face{font-family:"Ubuntu";font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/ubuntu/v15/4iCs6KVjbNBYlgoKcQ72j00.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Ubuntu";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/4iCs6KVjbNBYlgoKfw72.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"Ubuntu";font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/ubuntu/v15/4iCv6KVjbNBYlgoCxCvjvWyNL4U.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:"Ubuntu";font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/ubuntu/v15/4iCv6KVjbNBYlgoCxCvjtGyNL4U.woff2) format("woff2");unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:"Ubuntu";font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/ubuntu/v15/4iCv6KVjbNBYlgoCxCvjvGyNL4U.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:"Ubuntu";font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/ubuntu/v15/4iCv6KVjbNBYlgoCxCvjs2yNL4U.woff2) format("woff2");unicode-range:U+0370-03FF}@font-face{font-family:"Ubuntu";font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/ubuntu/v15/4iCv6KVjbNBYlgoCxCvjvmyNL4U.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Ubuntu";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/4iCv6KVjbNBYlgoCxCvjsGyN.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@-webkit-keyframes fadeIn{from{opacity:.3}}@-moz-keyframes fadeIn{from{opacity:.3}}@-ms-keyframes fadeIn{from{opacity:.3}}@-o-keyframes fadeIn{from{opacity:.3}}@keyframes fadeIn{from{opacity:.3}}.flicker,#projects #settings #settings-panel .settings-sections .settings-section.newsletter button#nl_btn.loading span,.lightbox .lb-cancel{-webkit-animation:fadeIn .5s infinite alternate;-moz-animation:fadeIn .5s infinite alternate;-ms-animation:fadeIn .5s infinite alternate;-o-animation:fadeIn .5s infinite alternate;animation:fadeIn .5s infinite alternate}@keyframes spotlogo{0%{transform:scale(1)}1.25%{transform:scale(1.2)}2.5%{transform:scale(1);transform:rotate(0deg)}5%{transform:rotate(360deg)}100%{transform:rotate(360deg)}}*:focus{outline:0px none transparent}textarea:focus,input:focus{outline:1px solid #ccc}body,textarea,input,button,a.button{font-size:14px;font-family:"Ubuntu",sans-serif;margin:0}textarea{resize:none}a.button{text-decoration:none;display:inline-block}button,a.button{cursor:pointer;font-weight:bold;color:#000;background:#eee}button:hover,a.button:hover{color:#eee;background:#000}input,textarea,button,a.button{border:none;padding:.5em 1em;border-radius:3px}h1{font-size:2em;font-weight:bold;margin:1em 0 .5em}.feedback p{margin:0 0 1em 0}.feedback p.error{color:red}.feedback p.warning{color:orange}.feedback p.success{color:green}@font-face{font-family:"Font Awesome 5 Pro";font-style:normal;font-weight:900;font-display:block;src:url("fa/fonts/fa-solid-900.eot");src:url("fa/fonts/fa-solid-900.eot?#iefix") format("embedded-opentype"),url("fa/fonts/fa-solid-900.woff2") format("woff2"),url("fa/fonts/fa-solid-900.woff") format("woff"),url("fa/fonts/fa-solid-900.ttf") format("truetype"),url("fa/fonts/fa-solid-900.svg#fontawesome") format("svg")}.fa,.lightbox .lb-cancel,.lightbox .lb-dataContainer .lb-data .lb-closeContainer .lb-close,.lightbox .lb-outerContainer .lb-container .lb-nav a.lb-next,.lightbox .lb-outerContainer .lb-container .lb-nav a.lb-prev,.control-icon,Line truncated
|
||||||
+1
-1
@@ -1 +1 @@
|
|||||||
{"version":3,"sourceRoot":"","sources":["_fonts.scss","_common.scss","fa/solid.scss","fa/_variables.scss","fa/_core.scss","fa/_larger.scss","fa/_fixed-width.scss","fa/_list.scss","fa/_bordered-pulled.scss","fa/_animated.scss","fa/_rotated-flipped.scss","fa/_mixins.scss","fa/_stacked.scss","_fa.scss","lightbox/_lightbox.scss","_lightbox.scss","_simplebar.scss","leaflet/_leaflet.scss","leaflet/_leaflet_heightgraph.scss","_leaflet.scss","_mask_project.scss","_mask_upload.scss","_mask_admin.scss","_mobile.scss"],"names":[],"mappings":"CAGA,WACC,qBACA,kBACA,gBACA,kBACA,8FACA,iFAGC,WACD,qBACA,kBACA,gBACA,kBACA,8FACA,yDAGC,WACD,qBACA,kBACA,gBACA,kBACA,8FACA,0BAGC,WACD,qBACA,kBACA,gBACA,kBACA,8FACA,0BAGC,WACD,qBACA,kBACA,gBACA,kBACA,8FACA,2GAGC,WACD,qBACA,kBACA,gBACA,kBACA,0DACA,yJAGC,WACD,qBACA,kBACA,gBACA,kBACA,kGACA,iFAGC,WACD,qBACA,kBACA,gBACA,kBACA,kGACA,yDAGC,WACD,qBACA,kBACA,gBACA,kBACA,kGACA,0BAGC,WACD,qBACA,kBACA,gBACA,kBACA,kGACA,0BAGC,WACD,qBACA,kBACA,gBACA,kBACA,kGACA,2GAGC,WACD,qBACA,kBACA,gBACA,kBACA,8DACA,yJC1GD,0BACE,iBAEF,uBACE,iBAEF,sBACE,iBAEF,qBACE,iBAEF,kBACE,iBAWF,6IAPC,kBAQoB,8BAPpB,eAOoB,8BANpB,cAMoB,8BALpB,aAKoB,8BAJpB,UAIoB,8BAsBrB,oBACI,GACI,mBAEJ,MACI,qBAEJ,KACI,mBACA,uBAEJ,GACI,yBAEJ,KACI,0BAMR,QACC,6BAGD,2BACC,uBAGD,oCACC,eACA,gCACA,SAGD,SACC,YAGD,SACC,qBACA,qBAGD,gBACC,eACA,iBACA,WACA,gBAEA,4BACC,WACA,gBAIF,+BACC,YACA,iBACA,kBAGD,GACC,cACA,iBACA,kBAMA,YACC,iBACA,kBACC,UAED,oBACC,aAED,oBACC,YC3HH,WACE,iCACA,kBACA,gBACA,aCLqB,MDMrB,qCACA,2RAOF,wgEAEE,iCACA,gBEnBF,4hEAME,kCACA,mCACA,qBACA,kBACA,oBACA,oBACA,cCXF,yEACE,yBACA,kBACA,yBAGF,OACE,gBAGF,OACE,iBAIA,OACE,cADF,OACE,cADF,OACE,cADF,OACE,cADF,OACE,cADF,OACE,cADF,OACE,cADF,OACE,cADF,OACE,cADF,QACE,eClBJ,OACE,kBACA,MHOqB,OIRvB,OACE,qBACA,kBACA,eAEA,4BAGF,OACE,UACA,kBACA,kBACA,MJLqB,IIMrB,oBCbF,WACE,wBACA,mBACA,yBAGF,yBACA,2BAOE,gkCACA,mlCCfF,SACE,qCAGF,UACE,uCAGF,mBACE,GACE,uBAGF,KACE,0BCdJ,cCWE,sEACA,wBDXF,eCUE,sEACA,yBDVF,eCSE,sEACA,yBDRF,oBCYE,gFACA,uBDZF,kBCWE,gFACA,uBDXF,mDCUE,gFACA,wBDLA,oIAME,YElBJ,UACE,qBACA,WACA,gBACA,kBACA,sBACA,YAGF,0BAEE,OACA,kBACA,kBACA,WAGF,aACE,oBAGF,aACE,cAGF,YACE,MTpBqB,KUQtB,s2BACC,mBAED,s7BACC,kBAIF,klFACC,eACA,kBACA,iBACA,qBACA,WACA,gBACA,uCAGA,q5DACC,WAGD,grEACC,cACA,WACA,YAKF,8zDACA,6BACA,+BACA,+BACA,2BACA,+BACA,+BACA,0DACA,s7CACiC,YACjC,k0CACA,sGAGA,2BACA,uCACA,kCACA,yCACA,mCACA,iCACA,8BACA,mHACA,gCACA,iCACA,iCACA,gCAGA,kCACA,+BACA,u3EACA,+BACA,6BACA,8BACA,8BAGA,suDACA,6BACA,6BACA,6BACA,+BACA,kCACA,4BACA,8BACA,mCACA,mCACA,qHACA,8BACA,kCACA,kCACA,4BACA,mCAIA,8BACA,wxEAGA,gCAGA,mCACA,iCACA,mCACA,8BACA,2BACA,4BACA,yCACA,2CACA,6CACA,+CACA,iCACA,4BACA,mCACA,qCACA,6BACA,wCACA,0CACA,4BACA,oCACA,2CACA,6CACA,+BACA,4BCpIA,0BACE,gBAGF,iBACE,kBACA,MACA,OACA,aACA,sBACA,2DACA,WACA,aAGF,UACE,kBACA,OACA,WACA,cACA,kBACA,cACA,mBACA,aAGF,oBACE,cACA,YACA,kBACA,gBACA,kBAGA,sBAGF,gBACE,YAGF,mBACE,kBACA,QACA,YACA,aACA,cACA,kBAIA,sBAGF,yBACE,WACA,cACA,WAGF,WACE,kBACA,QACA,OACA,WACA,WACA,kBACA,cAGF,WACE,cACA,WACA,YACA,cACA,gDAGF,QACE,kBACA,MACA,OACA,YACA,WACA,WAGF,mBACE,OAGF,UACE,aACA,2GAGF,kBACE,YACA,eACA,cAGF,kBACE,UACA,OACA,WACA,sDACA,0DACA,UACA,+BACA,4BACA,0BACA,uBAGF,wBACE,4DACA,UAGF,kBACE,UACA,QACA,YACA,uDACA,0DACA,UACA,+BACA,4BACA,0BACA,uBAGF,wBACE,4DACA,UAGF,kBACE,cACA,gBACA,QACA,WACA,8BACA,+BAGF,wBACE,WACA,cACA,WAGF,SACE,cACA,WAGF,qBACE,UACA,WACA,gBACA,kBAGF,qBACE,eACA,iBACA,gBAGF,uBACE,WAGF,oBACE,cACA,WACA,mBACA,eACA,WAGF,mBACE,cACA,YACA,WACA,YACA,wDACA,iBACA,aACA,2DACA,WACA,+BACA,4BACA,0BACA,uBAGF,yBACE,eACA,4DACA,UCjMF,iBACC,SACA,QACA,aAGD,UACC,aACA,mBACA,uBACA,WACA,YAEA,mBACC,sBAEA,qCACC,WACA,YAGC,0DACC,qBACA,2BAGC,uFACC,qBACA,kBACA,2BACA,gBAEA,+FACC,cAOH,2EACC,iBAML,qBACC,mBAEA,uCACC,YACA,YAGC,iEACC,cACA,eACA,yBAGD,6EACC,yBACA,WACA,kBAQJ,6BACC,SACA,gBACA,sCAEA,2CACC,gBAEA,qDACC,6BACA,gBACA,YACA,iBACA,iBACA,WAEA,UACC,2FAKF,qDACC,uBAED,gEACC,MACA,0BAIA,0HACC,WACA,qBACA,uCAEA,wIACC,kBACA,2BAIF,6DAxHH,gBACA,cAyHI,oEACC,SAIF,6DA/HH,gBACA,cAgII,oEACC,UAQL,4BACC,SACA,UACA,cACA,gBAEA,qCACC,gBACA,4BAEA,iDACC,WAEA,kEACC,eAEA,8EACC,aAGD,0EdrHJ,uBACA,gBACA,mBcwHG,4DACC,wBAGF,wDACC,WACA,cACA,gBACA,aACA,mBACA,qBAEA,kEA/KH,gBACA,cAiLI,aACA,YACA,yBACA,gBAMJ,qBA3LA,gBACA,cA6LC,WCjMF,iBACE,kBACA,sBACA,eACA,2BACA,yBACA,uBAGF,mBACE,gBACA,cACA,eACA,kBACA,mBAGF,gBACE,kBACA,kBACA,gBACA,UACA,SACA,OACA,MACA,SACA,QACA,sBACA,uBACA,UAGF,kBACE,6BACA,8BACA,uBACA,kBACA,MACA,OACA,SACA,QACA,UACA,SACA,iCAGF,2BACE,kBACA,iCACA,kBACA,cACA,YACA,WACA,eACA,gBACA,qBACA,wBAGF,2FAEE,QACA,SAGF,mDAEE,YACA,cAGF,uBACE,gBACA,eACA,WACA,oBAGF,wCACE,8BACA,YACA,WACA,cACA,kBACA,WACA,eACA,gBACA,WACA,UACA,SACA,oBACA,kBACA,cACA,aAGF,gCACE,mBACA,cACA,UACA,kBACA,MACA,OACA,aACA,YACA,eACA,cACA,gBACA,oBACA,WAGF,iBACE,UACA,kBACA,QACA,SACA,oBACA,gBAGF,uDACE,oBACA,iBACA,yBAGF,qDACE,mBAGF,qBACE,kBACA,OACA,QACA,gBAGF,4BACE,kBACA,WACA,gBACA,kBACA,SACA,UACA,UACA,8BAGF,8CAEE,WACA,6BAGF,oCACE,MACA,WAGF,gEACE,QACA,WAGF,sCACE,OACA,YAGF,kEACE,YACA,SACA,UAGF,2DACE,WACA,OACA,QACA,WACA,aACA,eACA,WAIF,mEACE,WACA,OAGF,yBACE,cACA,eACA,UACA,kBACA,aACA,YACA,kBACA,kBAGF,0BACE,eACA,OACA,kLine truncated
|
{"version":3,"sourceRoot":"","sources":["_fonts.scss","_common.scss","fa/solid.scss","fa/_variables.scss","fa/_core.scss","fa/_larger.scss","fa/_fixed-width.scss","fa/_list.scss","fa/_bordered-pulled.scss","fa/_animated.scss","fa/_rotated-flipped.scss","fa/_mixins.scss","fa/_stacked.scss","_fa.scss","lightbox/_lightbox.scss","_lightbox.scss","_simplebar.scss","leaflet/_leaflet.scss","leaflet/_leaflet_heightgraph.scss","_leaflet.scss","_mask_project.scss","_mask_upload.scss","_mask_admin.scss","_mobile.scss"],"names":[],"mappings":"CAGA,WACC,qBACA,kBACA,gBACA,kBACA,8FACA,iFAGC,WACD,qBACA,kBACA,gBACA,kBACA,8FACA,yDAGC,WACD,qBACA,kBACA,gBACA,kBACA,8FACA,0BAGC,WACD,qBACA,kBACA,gBACA,kBACA,8FACA,0BAGC,WACD,qBACA,kBACA,gBACA,kBACA,8FACA,2GAGC,WACD,qBACA,kBACA,gBACA,kBACA,0DACA,yJAGC,WACD,qBACA,kBACA,gBACA,kBACA,kGACA,iFAGC,WACD,qBACA,kBACA,gBACA,kBACA,kGACA,yDAGC,WACD,qBACA,kBACA,gBACA,kBACA,kGACA,0BAGC,WACD,qBACA,kBACA,gBACA,kBACA,kGACA,0BAGC,WACD,qBACA,kBACA,gBACA,kBACA,kGACA,2GAGC,WACD,qBACA,kBACA,gBACA,kBACA,8DACA,yJC1GD,0BACE,iBAEF,uBACE,iBAEF,sBACE,iBAEF,qBACE,iBAEF,kBACE,iBAWF,6IAPC,kBAQoB,8BAPpB,eAOoB,8BANpB,cAMoB,8BALpB,aAKoB,8BAJpB,UAIoB,8BAsBrB,oBACI,GACI,mBAEJ,MACI,qBAEJ,KACI,mBACA,uBAEJ,GACI,yBAEJ,KACI,0BAMR,QACC,6BAGD,2BACC,uBAGD,oCACC,eACA,gCACA,SAGD,SACC,YAGD,SACC,qBACA,qBAGD,gBACC,eACA,iBACA,WACA,gBAEA,4BACC,WACA,gBAIF,+BACC,YACA,iBACA,kBAGD,GACC,cACA,iBACA,kBAMA,YACC,iBACA,kBACC,UAED,oBACC,aAED,oBACC,YC3HH,WACE,iCACA,kBACA,gBACA,aCLqB,MDMrB,qCACA,2RAOF,wgEAEE,iCACA,gBEnBF,4hEAME,kCACA,mCACA,qBACA,kBACA,oBACA,oBACA,cCXF,yEACE,yBACA,kBACA,yBAGF,OACE,gBAGF,OACE,iBAIA,OACE,cADF,OACE,cADF,OACE,cADF,OACE,cADF,OACE,cADF,OACE,cADF,OACE,cADF,OACE,cADF,OACE,cADF,QACE,eClBJ,OACE,kBACA,MHOqB,OIRvB,OACE,qBACA,kBACA,eAEA,4BAGF,OACE,UACA,kBACA,kBACA,MJLqB,IIMrB,oBCbF,WACE,wBACA,mBACA,yBAGF,yBACA,2BAOE,gkCACA,mlCCfF,SACE,qCAGF,UACE,uCAGF,mBACE,GACE,uBAGF,KACE,0BCdJ,cCWE,sEACA,wBDXF,eCUE,sEACA,yBDVF,eCSE,sEACA,yBDRF,oBCYE,gFACA,uBDZF,kBCWE,gFACA,uBDXF,mDCUE,gFACA,wBDLA,oIAME,YElBJ,UACE,qBACA,WACA,gBACA,kBACA,sBACA,YAGF,0BAEE,OACA,kBACA,kBACA,WAGF,aACE,oBAGF,aACE,cAGF,YACE,MTpBqB,KUQtB,s2BACC,mBAED,s7BACC,kBAIF,klFACC,eACA,kBACA,iBACA,qBACA,WACA,gBACA,uCAGA,q5DACC,WAGD,grEACC,cACA,WACA,YAKF,8zDACA,6BACA,+BACA,+BACA,2BACA,+BACA,+BACA,0DACA,s7CACiC,YACjC,k0CACA,sGAGA,2BACA,uCACA,kCACA,yCACA,mCACA,iCACA,8BACA,mHACA,gCACA,iCACA,iCACA,gCAGA,kCACA,+BACA,u3EACA,+BACA,6BACA,8BACA,8BAGA,suDACA,6BACA,6BACA,6BACA,+BACA,kCACA,4BACA,8BACA,mCACA,mCACA,qHACA,8BACA,kCACA,kCACA,4BACA,mCAIA,8BACA,wxEAGA,gCAGA,mCACA,iCACA,mCACA,8BACA,2BACA,4BACA,yCACA,2CACA,6CACA,+CACA,iCACA,4BACA,mCACA,qCACA,6BACA,wCACA,0CACA,4BACA,oCACA,2CACA,6CACA,+BACA,4BCpIA,0BACE,gBAGF,iBACE,kBACA,MACA,OACA,aACA,sBACA,2DACA,WACA,aAGF,UACE,kBACA,OACA,WACA,cACA,kBACA,cACA,mBACA,aAGF,oBACE,cACA,YACA,kBACA,gBACA,kBAGA,sBAGF,gBACE,YAGF,mBACE,kBACA,QACA,YACA,aACA,cACA,kBAIA,sBAGF,yBACE,WACA,cACA,WAGF,WACE,kBACA,QACA,OACA,WACA,WACA,kBACA,cAGF,WACE,cACA,WACA,YACA,cACA,gDAGF,QACE,kBACA,MACA,OACA,YACA,WACA,WAGF,mBACE,OAGF,UACE,aACA,2GAGF,kBACE,YACA,eACA,cAGF,kBACE,UACA,OACA,WACA,sDACA,0DACA,UACA,+BACA,4BACA,0BACA,uBAGF,wBACE,4DACA,UAGF,kBACE,UACA,QACA,YACA,uDACA,0DACA,UACA,+BACA,4BACA,0BACA,uBAGF,wBACE,4DACA,UAGF,kBACE,cACA,gBACA,QACA,WACA,8BACA,+BAGF,wBACE,WACA,cACA,WAGF,SACE,cACA,WAGF,qBACE,UACA,WACA,gBACA,kBAGF,qBACE,eACA,iBACA,gBAGF,uBACE,WAGF,oBACE,cACA,WACA,mBACA,eACA,WAGF,mBACE,cACA,YACA,WACA,YACA,wDACA,iBACA,aACA,2DACA,WACA,+BACA,4BACA,0BACA,uBAGF,yBACE,eACA,4DACA,UCjMF,iBACC,SACA,QACA,aAGD,UACC,aACA,mBACA,uBACA,WACA,YACA,gBAEA,mBACC,sBAEA,qCACC,WACA,YAGC,0DACC,qBACA,2BAGC,uFACC,qBACA,kBACA,2BACA,gBAEA,+FACC,cdCP,uBACA,gBACA,mBcKI,2EACC,iBAML,qBACC,mBAEA,uCACC,YACA,YAGC,iEACC,cACA,eACA,yBAGC,0+0CACC,2BAGD,uFACC,qBACA,0CACA,mBAKH,6EACC,yBACA,WACA,kBAQJ,6BACC,SACA,gBACA,sCAEA,2CACC,gBAEA,qDACC,6BACA,gBACA,YACA,iBACA,iBACA,WAEA,UACC,2FAKF,qDACC,uBAED,gEACC,UACA,0BAIA,0HACC,WACA,qBACA,uCAEA,wIACC,kBACA,oBAIF,6DAtIH,gBACA,cAuII,oEACC,SAIF,6DA7IH,gBACA,cA8II,oEACC,UAQL,4BACC,SACA,UACA,cACA,gBAEA,qCACC,gBACA,4BAEA,iDACC,WAEA,kEACC,eAEA,8EACC,aAIF,4DACC,wBAGF,wDACC,WACA,cACA,gBACA,aACA,mBACA,qBAEA,kEAzLH,gBACA,cA2LI,aACA,YACA,yBACA,gBAMJ,qBArMA,gBACA,cAuMC,WC3MF,iBACE,kBACA,sBACA,eACA,2BACA,yBACA,uBAGF,mBACE,gBACA,cACA,eACA,kBACA,mBAGF,gBACE,kBACA,kBACA,gBACA,UACA,SACA,OACA,MACA,SACA,QACA,sBACA,uBACA,UAGF,kBACE,6BACA,8BACA,uBACA,kBACA,MACA,OACA,SACA,QACA,UACA,SACA,iCAGF,2BACE,kBACA,iCACA,kBACA,cACA,YACA,WACA,eACA,gBACA,qBACA,wBAGF,2FAEE,QACA,SAGF,mDAEE,YACA,cAGF,uBACE,gBACA,eACA,WACA,oBAGF,wCACE,8BACA,YACA,WACA,cACA,kBACA,WACA,eACA,gBACA,WACA,UACA,SACA,oBACA,kBACA,cACA,aAGF,gCACE,mBACA,cACA,UACA,kBACA,MACA,OACA,aACA,YACA,eACA,cACA,gBACA,oBACA,WAGF,iBACE,UACA,kBACA,QACA,SACA,oBACA,gBAGF,uDACE,oBACA,iBACA,yBAGF,qDACE,mBAGF,qBACE,kBACA,OACA,QACA,gBAGF,4BACE,kBACA,WACA,gBACA,kBACA,SACA,UACA,UACA,8BAGF,8CAEE,WACA,6BAGF,oCACE,MACA,WAGF,gEACE,QACA,WAGF,sCACE,OACA,YAGF,kEACE,YACA,SACA,UAGF,2DACE,WACA,OACA,QACA,WACA,aACA,eACA,WAIF,mEACE,WACA,OAGF,yBACE,cACA,eACA,UACA,kBACA,aACLine truncated
|
||||||
Reference in new issue
Block a user