fixing lightbox
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
<div id="posts"></div>
|
<div id="posts"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<script type="text/javascript" src="script/lightbox.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
oSpot.pageInit = function(asHash)
|
oSpot.pageInit = function(asHash)
|
||||||
{
|
{
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
453
script/lightbox.js
Normal file
453
script/lightbox.js
Normal file
@@ -0,0 +1,453 @@
|
|||||||
|
/*!
|
||||||
|
* Lightbox v2.8.2
|
||||||
|
* by Lokesh Dhakar
|
||||||
|
*
|
||||||
|
* More info:
|
||||||
|
* http://lokeshdhakar.com/projects/lightbox2/
|
||||||
|
*
|
||||||
|
* Copyright 2007, 2015 Lokesh Dhakar
|
||||||
|
* Released under the MIT license
|
||||||
|
* https://github.com/lokesh/lightbox2/blob/master/LICENSE
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Uses Node, AMD or browser globals to create a module.
|
||||||
|
(function (root, factory) {
|
||||||
|
if (typeof define === 'function' && define.amd) {
|
||||||
|
// AMD. Register as an anonymous module.
|
||||||
|
define(['jquery'], factory);
|
||||||
|
} else if (typeof exports === 'object') {
|
||||||
|
// Node. Does not work with strict CommonJS, but
|
||||||
|
// only CommonJS-like environments that support module.exports,
|
||||||
|
// like Node.
|
||||||
|
module.exports = factory(require('jquery'));
|
||||||
|
} else {
|
||||||
|
// Browser globals (root is window)
|
||||||
|
root.lightbox = factory(root.jQuery);
|
||||||
|
}
|
||||||
|
}(this, function ($) {
|
||||||
|
|
||||||
|
function Lightbox(options) {
|
||||||
|
this.album = [];
|
||||||
|
this.currentImageIndex = void 0;
|
||||||
|
this.init();
|
||||||
|
|
||||||
|
// options
|
||||||
|
this.options = $.extend({}, this.constructor.defaults);
|
||||||
|
this.option(options);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Descriptions of all options available on the demo site:
|
||||||
|
// http://lokeshdhakar.com/projects/lightbox2/index.html#options
|
||||||
|
Lightbox.defaults = {
|
||||||
|
albumLabel: 'Image %1 of %2',
|
||||||
|
alwaysShowNavOnTouchDevices: false,
|
||||||
|
fadeDuration: 500,
|
||||||
|
fitImagesInViewport: true,
|
||||||
|
// maxWidth: 800,
|
||||||
|
// maxHeight: 600,
|
||||||
|
positionFromTop: 50,
|
||||||
|
resizeDuration: 700,
|
||||||
|
showImageNumberLabel: true,
|
||||||
|
wrapAround: false,
|
||||||
|
disableScrolling: false
|
||||||
|
};
|
||||||
|
|
||||||
|
Lightbox.prototype.option = function(options) {
|
||||||
|
$.extend(this.options, options);
|
||||||
|
};
|
||||||
|
|
||||||
|
Lightbox.prototype.imageCountLabel = function(currentImageNum, totalImages) {
|
||||||
|
return this.options.albumLabel.replace(/%1/g, currentImageNum).replace(/%2/g, totalImages);
|
||||||
|
};
|
||||||
|
|
||||||
|
Lightbox.prototype.init = function() {
|
||||||
|
this.enable();
|
||||||
|
this.build();
|
||||||
|
};
|
||||||
|
|
||||||
|
// Loop through anchors and areamaps looking for either data-lightbox attributes or rel attributes
|
||||||
|
// that contain 'lightbox'. When these are clicked, start lightbox.
|
||||||
|
Lightbox.prototype.enable = function() {
|
||||||
|
var self = this;
|
||||||
|
$('body').on('click', 'a[rel^=lightbox], area[rel^=lightbox], a[data-lightbox], area[data-lightbox]', function(event) {
|
||||||
|
self.start($(event.currentTarget));
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
// Build html for the lightbox and the overlay.
|
||||||
|
// Attach event handlers to the new DOM elements. click click click
|
||||||
|
Lightbox.prototype.build = function() {
|
||||||
|
var self = this;
|
||||||
|
$('<div id="lightboxOverlay" class="lightboxOverlay"></div><div id="lightbox" class="lightbox"><div class="lb-outerContainer"><div class="lb-container"><img class="lb-image" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" /><div class="lb-nav"><a class="lb-prev" href="" ></a><a class="lb-next" href="" ></a></div><div class="lb-loader"><a class="lb-cancel"></a></div></div></div><div class="lb-dataContainer"><div class="lb-data"><div class="lb-details"><span class="lb-caption"></span><span class="lb-number"></span></div><div class="lb-closeContainer"><a class="lb-close"></a></div></div></div></div>').appendTo($('body'));
|
||||||
|
|
||||||
|
// Cache jQuery objects
|
||||||
|
this.$lightbox = $('#lightbox');
|
||||||
|
this.$overlay = $('#lightboxOverlay');
|
||||||
|
this.$outerContainer = this.$lightbox.find('.lb-outerContainer');
|
||||||
|
this.$container = this.$lightbox.find('.lb-container');
|
||||||
|
|
||||||
|
// Store css values for future lookup
|
||||||
|
this.containerTopPadding = parseInt(this.$container.css('padding-top'), 10);
|
||||||
|
this.containerRightPadding = parseInt(this.$container.css('padding-right'), 10);
|
||||||
|
this.containerBottomPadding = parseInt(this.$container.css('padding-bottom'), 10);
|
||||||
|
this.containerLeftPadding = parseInt(this.$container.css('padding-left'), 10);
|
||||||
|
|
||||||
|
// Attach event handlers to the newly minted DOM elements
|
||||||
|
this.$overlay.hide().on('click', function() {
|
||||||
|
self.end();
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
|
||||||
|
this.$lightbox.hide().on('click', function(event) {
|
||||||
|
if ($(event.target).attr('id') === 'lightbox') {
|
||||||
|
self.end();
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
|
||||||
|
this.$outerContainer.on('click', function(event) {
|
||||||
|
if ($(event.target).attr('id') === 'lightbox') {
|
||||||
|
self.end();
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
|
||||||
|
this.$lightbox.find('.lb-prev').on('click', function() {
|
||||||
|
if (self.currentImageIndex === 0) {
|
||||||
|
self.changeImage(self.album.length - 1);
|
||||||
|
} else {
|
||||||
|
self.changeImage(self.currentImageIndex - 1);
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
|
||||||
|
this.$lightbox.find('.lb-next').on('click', function() {
|
||||||
|
if (self.currentImageIndex === self.album.length - 1) {
|
||||||
|
self.changeImage(0);
|
||||||
|
} else {
|
||||||
|
self.changeImage(self.currentImageIndex + 1);
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
|
||||||
|
this.$lightbox.find('.lb-loader, .lb-close').on('click', function() {
|
||||||
|
self.end();
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
// Show overlay and lightbox. If the image is part of a set, add siblings to album array.
|
||||||
|
Lightbox.prototype.start = function($link) {
|
||||||
|
var self = this;
|
||||||
|
var $window = $(window);
|
||||||
|
|
||||||
|
$window.on('resize', $.proxy(this.sizeOverlay, this));
|
||||||
|
|
||||||
|
$('select, object, embed').css({
|
||||||
|
visibility: 'hidden'
|
||||||
|
});
|
||||||
|
|
||||||
|
this.sizeOverlay();
|
||||||
|
|
||||||
|
this.album = [];
|
||||||
|
var imageNumber = 0;
|
||||||
|
|
||||||
|
function addToAlbum($link) {
|
||||||
|
self.album.push({
|
||||||
|
link: $link.attr('href'),
|
||||||
|
title: $link.attr('data-title') || $link.attr('title')
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// Support both data-lightbox attribute and rel attribute implementations
|
||||||
|
var dataLightboxValue = $link.attr('data-lightbox');
|
||||||
|
var $links;
|
||||||
|
|
||||||
|
if (dataLightboxValue) {
|
||||||
|
$links = $($link.prop('tagName') + '[data-lightbox="' + dataLightboxValue + '"]');
|
||||||
|
for (var i = 0; i < $links.length; i = ++i) {
|
||||||
|
addToAlbum($($links[i]));
|
||||||
|
if ($links[i] === $link[0]) {
|
||||||
|
imageNumber = i;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if ($link.attr('rel') === 'lightbox') {
|
||||||
|
// If image is not part of a set
|
||||||
|
addToAlbum($link);
|
||||||
|
} else {
|
||||||
|
// If image is part of a set
|
||||||
|
$links = $($link.prop('tagName') + '[rel="' + $link.attr('rel') + '"]');
|
||||||
|
for (var j = 0; j < $links.length; j = ++j) {
|
||||||
|
addToAlbum($($links[j]));
|
||||||
|
if ($links[j] === $link[0]) {
|
||||||
|
imageNumber = j;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Position Lightbox
|
||||||
|
var top = $window.scrollTop() + this.options.positionFromTop;
|
||||||
|
var left = $window.scrollLeft();
|
||||||
|
this.$lightbox.css({
|
||||||
|
top: top + 'px',
|
||||||
|
left: left + 'px'
|
||||||
|
}).fadeIn(this.options.fadeDuration);
|
||||||
|
|
||||||
|
// Disable scrolling of the page while open
|
||||||
|
if (this.options.disableScrolling) {
|
||||||
|
$('body').addClass('lb-disable-scrolling');
|
||||||
|
}
|
||||||
|
|
||||||
|
this.changeImage(imageNumber);
|
||||||
|
};
|
||||||
|
|
||||||
|
// Hide most UI elements in preparation for the animated resizing of the lightbox.
|
||||||
|
Lightbox.prototype.changeImage = function(imageNumber) {
|
||||||
|
var self = this;
|
||||||
|
|
||||||
|
this.disableKeyboardNav();
|
||||||
|
var $image = this.$lightbox.find('.lb-image');
|
||||||
|
|
||||||
|
this.$overlay.fadeIn(this.options.fadeDuration);
|
||||||
|
|
||||||
|
$('.lb-loader').fadeIn('slow');
|
||||||
|
this.$lightbox.find('.lb-image, .lb-nav, .lb-prev, .lb-next, .lb-dataContainer, .lb-numbers, .lb-caption').hide();
|
||||||
|
|
||||||
|
this.$outerContainer.addClass('animating');
|
||||||
|
|
||||||
|
// When image to show is preloaded, we send the width and height to sizeContainer()
|
||||||
|
var preloader = new Image();
|
||||||
|
preloader.onload = function() {
|
||||||
|
var $preloader;
|
||||||
|
var imageHeight;
|
||||||
|
var imageWidth;
|
||||||
|
var maxImageHeight;
|
||||||
|
var maxImageWidth;
|
||||||
|
var windowHeight;
|
||||||
|
var windowWidth;
|
||||||
|
|
||||||
|
$image.attr('src', self.album[imageNumber].link);
|
||||||
|
|
||||||
|
$preloader = $(preloader);
|
||||||
|
|
||||||
|
$image.width(preloader.width);
|
||||||
|
$image.height(preloader.height);
|
||||||
|
|
||||||
|
if (self.options.fitImagesInViewport) {
|
||||||
|
// Fit image inside the viewport.
|
||||||
|
// Take into account the border around the image and an additional 10px gutter on each side.
|
||||||
|
|
||||||
|
windowWidth = $(window).width();
|
||||||
|
windowHeight = $(window).height();
|
||||||
|
maxImageWidth = windowWidth - self.containerLeftPadding - self.containerRightPadding - 20;
|
||||||
|
maxImageHeight = windowHeight - self.containerTopPadding - self.containerBottomPadding - 120;
|
||||||
|
|
||||||
|
// 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 < maxImageWidth) {
|
||||||
|
maxImageHeight = self.options.maxHeight;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Is there a fitting issue?
|
||||||
|
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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
self.sizeContainer($image.width(), $image.height());
|
||||||
|
};
|
||||||
|
|
||||||
|
preloader.src = this.album[imageNumber].link;
|
||||||
|
this.currentImageIndex = imageNumber;
|
||||||
|
};
|
||||||
|
|
||||||
|
// Stretch overlay to fit the viewport
|
||||||
|
Lightbox.prototype.sizeOverlay = function() {
|
||||||
|
this.$overlay
|
||||||
|
.width($(document).width())
|
||||||
|
.height($(document).height());
|
||||||
|
};
|
||||||
|
|
||||||
|
// Animate the size of the lightbox to fit the image we are showing
|
||||||
|
Lightbox.prototype.sizeContainer = function(imageWidth, imageHeight) {
|
||||||
|
var self = this;
|
||||||
|
|
||||||
|
var oldWidth = this.$outerContainer.outerWidth();
|
||||||
|
var oldHeight = this.$outerContainer.outerHeight();
|
||||||
|
var newWidth = imageWidth + this.containerLeftPadding + this.containerRightPadding;
|
||||||
|
var newHeight = imageHeight + this.containerTopPadding + this.containerBottomPadding;
|
||||||
|
|
||||||
|
function postResize() {
|
||||||
|
self.$lightbox.find('.lb-dataContainer').width(newWidth);
|
||||||
|
self.$lightbox.find('.lb-prevLink').height(newHeight);
|
||||||
|
self.$lightbox.find('.lb-nextLink').height(newHeight);
|
||||||
|
self.showImage();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (oldWidth !== newWidth || oldHeight !== newHeight) {
|
||||||
|
this.$outerContainer.animate({
|
||||||
|
width: newWidth,
|
||||||
|
height: newHeight
|
||||||
|
}, this.options.resizeDuration, 'swing', function() {
|
||||||
|
postResize();
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
postResize();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// Display the image and its details and begin preload neighboring images.
|
||||||
|
Lightbox.prototype.showImage = function() {
|
||||||
|
this.$lightbox.find('.lb-loader').stop(true).hide();
|
||||||
|
this.$lightbox.find('.lb-image').fadeIn('slow');
|
||||||
|
|
||||||
|
this.updateNav();
|
||||||
|
this.updateDetails();
|
||||||
|
this.preloadNeighboringImages();
|
||||||
|
this.enableKeyboardNav();
|
||||||
|
};
|
||||||
|
|
||||||
|
// Display previous and next navigation if appropriate.
|
||||||
|
Lightbox.prototype.updateNav = function() {
|
||||||
|
// Check to see if the browser supports touch events. If so, we take the conservative approach
|
||||||
|
// and assume that mouse hover events are not supported and always show prev/next navigation
|
||||||
|
// arrows in image sets.
|
||||||
|
var alwaysShowNav = false;
|
||||||
|
try {
|
||||||
|
document.createEvent('TouchEvent');
|
||||||
|
alwaysShowNav = (this.options.alwaysShowNavOnTouchDevices) ? true : false;
|
||||||
|
} catch (e) {}
|
||||||
|
|
||||||
|
this.$lightbox.find('.lb-nav').show();
|
||||||
|
|
||||||
|
if (this.album.length > 1) {
|
||||||
|
if (this.options.wrapAround) {
|
||||||
|
if (alwaysShowNav) {
|
||||||
|
this.$lightbox.find('.lb-prev, .lb-next').css('opacity', '1');
|
||||||
|
}
|
||||||
|
this.$lightbox.find('.lb-prev, .lb-next').show();
|
||||||
|
} else {
|
||||||
|
if (this.currentImageIndex > 0) {
|
||||||
|
this.$lightbox.find('.lb-prev').show();
|
||||||
|
if (alwaysShowNav) {
|
||||||
|
this.$lightbox.find('.lb-prev').css('opacity', '1');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (this.currentImageIndex < this.album.length - 1) {
|
||||||
|
this.$lightbox.find('.lb-next').show();
|
||||||
|
if (alwaysShowNav) {
|
||||||
|
this.$lightbox.find('.lb-next').css('opacity', '1');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// Display caption, image number, and closing button.
|
||||||
|
Lightbox.prototype.updateDetails = function() {
|
||||||
|
var self = this;
|
||||||
|
|
||||||
|
// Enable anchor clicks in the injected caption html.
|
||||||
|
// Thanks Nate Wright for the fix. @https://github.com/NateWr
|
||||||
|
if (typeof this.album[this.currentImageIndex].title !== 'undefined' &&
|
||||||
|
this.album[this.currentImageIndex].title !== '') {
|
||||||
|
this.$lightbox.find('.lb-caption')
|
||||||
|
.html(this.album[this.currentImageIndex].title)
|
||||||
|
.fadeIn('fast')
|
||||||
|
.find('a').on('click', function(event) {
|
||||||
|
if ($(this).attr('target') !== undefined) {
|
||||||
|
window.open($(this).attr('href'), $(this).attr('target'));
|
||||||
|
} else {
|
||||||
|
location.href = $(this).attr('href');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this.album.length > 1 && this.options.showImageNumberLabel) {
|
||||||
|
var labelText = this.imageCountLabel(this.currentImageIndex + 1, this.album.length);
|
||||||
|
this.$lightbox.find('.lb-number').text(labelText).fadeIn('fast');
|
||||||
|
} else {
|
||||||
|
this.$lightbox.find('.lb-number').hide();
|
||||||
|
}
|
||||||
|
|
||||||
|
this.$outerContainer.removeClass('animating');
|
||||||
|
|
||||||
|
this.$lightbox.find('.lb-dataContainer').fadeIn(this.options.resizeDuration, function() {
|
||||||
|
return self.sizeOverlay();
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
// Preload previous and next images in set.
|
||||||
|
Lightbox.prototype.preloadNeighboringImages = function() {
|
||||||
|
if (this.album.length > this.currentImageIndex + 1) {
|
||||||
|
var preloadNext = new Image();
|
||||||
|
preloadNext.src = this.album[this.currentImageIndex + 1].link;
|
||||||
|
}
|
||||||
|
if (this.currentImageIndex > 0) {
|
||||||
|
var preloadPrev = new Image();
|
||||||
|
preloadPrev.src = this.album[this.currentImageIndex - 1].link;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
Lightbox.prototype.enableKeyboardNav = function() {
|
||||||
|
$(document).on('keyup.keyboard', $.proxy(this.keyboardAction, this));
|
||||||
|
};
|
||||||
|
|
||||||
|
Lightbox.prototype.disableKeyboardNav = function() {
|
||||||
|
$(document).off('.keyboard');
|
||||||
|
};
|
||||||
|
|
||||||
|
Lightbox.prototype.keyboardAction = function(event) {
|
||||||
|
var KEYCODE_ESC = 27;
|
||||||
|
var KEYCODE_LEFTARROW = 37;
|
||||||
|
var KEYCODE_RIGHTARROW = 39;
|
||||||
|
|
||||||
|
var keycode = event.keyCode;
|
||||||
|
var key = String.fromCharCode(keycode).toLowerCase();
|
||||||
|
if (keycode === KEYCODE_ESC || key.match(/x|o|c/)) {
|
||||||
|
this.end();
|
||||||
|
} else if (key === 'p' || keycode === KEYCODE_LEFTARROW) {
|
||||||
|
if (this.currentImageIndex !== 0) {
|
||||||
|
this.changeImage(this.currentImageIndex - 1);
|
||||||
|
} else if (this.options.wrapAround && this.album.length > 1) {
|
||||||
|
this.changeImage(this.album.length - 1);
|
||||||
|
}
|
||||||
|
} else if (key === 'n' || keycode === KEYCODE_RIGHTARROW) {
|
||||||
|
if (this.currentImageIndex !== this.album.length - 1) {
|
||||||
|
this.changeImage(this.currentImageIndex + 1);
|
||||||
|
} else if (this.options.wrapAround && this.album.length > 1) {
|
||||||
|
this.changeImage(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// Closing time. :-(
|
||||||
|
Lightbox.prototype.end = function() {
|
||||||
|
this.disableKeyboardNav();
|
||||||
|
$(window).off('resize', this.sizeOverlay);
|
||||||
|
this.$lightbox.fadeOut(this.options.fadeDuration);
|
||||||
|
this.$overlay.fadeOut(this.options.fadeDuration);
|
||||||
|
$('select, object, embed').css({
|
||||||
|
visibility: 'visible'
|
||||||
|
});
|
||||||
|
if (this.options.disableScrolling) {
|
||||||
|
$('body').removeClass('lb-disable-scrolling');
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
return new Lightbox();
|
||||||
|
}));
|
||||||
@@ -1,206 +1,206 @@
|
|||||||
/* Preload images */
|
/* Preload images */
|
||||||
body:after {
|
body:after {
|
||||||
content: url(../images/close.png) url(../images/loading.gif) url(../images/prev.png) url(../images/next.png);
|
content: url(../images/close.png) url(../images/loading.gif) url(../images/prev.png) url(../images/next.png);
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.lb-disable-scrolling {
|
body.lb-disable-scrolling {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lightboxOverlay {
|
.lightboxOverlay {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
background-color: black;
|
background-color: black;
|
||||||
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
|
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lightbox {
|
.lightbox {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 10000;
|
z-index: 10000;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 0;
|
line-height: 0;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lightbox .lb-image {
|
.lightbox .lb-image {
|
||||||
display: block;
|
display: block;
|
||||||
height: auto;
|
height: auto;
|
||||||
max-width: inherit;
|
max-width: inherit;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lightbox a img {
|
.lightbox a img {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-outerContainer {
|
.lb-outerContainer {
|
||||||
position: relative;
|
position: relative;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
*zoom: 1;
|
*zoom: 1;
|
||||||
width: 250px;
|
width: 250px;
|
||||||
height: 250px;
|
height: 250px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-outerContainer:after {
|
.lb-outerContainer:after {
|
||||||
content: "";
|
content: "";
|
||||||
display: table;
|
display: table;
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-container {
|
.lb-container {
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-loader {
|
.lb-loader {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 43%;
|
top: 43%;
|
||||||
left: 0;
|
left: 0;
|
||||||
height: 25%;
|
height: 25%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 0;
|
line-height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-cancel {
|
.lb-cancel {
|
||||||
display: block;
|
display: block;
|
||||||
width: 32px;
|
width: 32px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
background: url(../images/loading.gif) no-repeat;
|
background: url(../images/loading.gif) no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-nav {
|
.lb-nav {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-container > .nav {
|
.lb-container > .nav {
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-nav a {
|
.lb-nav a {
|
||||||
outline: none;
|
outline: none;
|
||||||
background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
|
background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-prev, .lb-next {
|
.lb-prev, .lb-next {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-nav a.lb-prev {
|
.lb-nav a.lb-prev {
|
||||||
width: 34%;
|
width: 34%;
|
||||||
left: 0;
|
left: 0;
|
||||||
float: left;
|
float: left;
|
||||||
background: url(../images/prev.png) left 48% no-repeat;
|
background: url(../images/prev.png) left 48% no-repeat;
|
||||||
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
|
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
-webkit-transition: opacity 0.6s;
|
-webkit-transition: opacity 0.6s;
|
||||||
-moz-transition: opacity 0.6s;
|
-moz-transition: opacity 0.6s;
|
||||||
-o-transition: opacity 0.6s;
|
-o-transition: opacity 0.6s;
|
||||||
transition: opacity 0.6s;
|
transition: opacity 0.6s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-nav a.lb-prev:hover {
|
.lb-nav a.lb-prev:hover {
|
||||||
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
|
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-nav a.lb-next {
|
.lb-nav a.lb-next {
|
||||||
width: 64%;
|
width: 64%;
|
||||||
right: 0;
|
right: 0;
|
||||||
float: right;
|
float: right;
|
||||||
background: url(../images/next.png) right 48% no-repeat;
|
background: url(../images/next.png) right 48% no-repeat;
|
||||||
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
|
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
-webkit-transition: opacity 0.6s;
|
-webkit-transition: opacity 0.6s;
|
||||||
-moz-transition: opacity 0.6s;
|
-moz-transition: opacity 0.6s;
|
||||||
-o-transition: opacity 0.6s;
|
-o-transition: opacity 0.6s;
|
||||||
transition: opacity 0.6s;
|
transition: opacity 0.6s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-nav a.lb-next:hover {
|
.lb-nav a.lb-next:hover {
|
||||||
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
|
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-dataContainer {
|
.lb-dataContainer {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
*zoom: 1;
|
*zoom: 1;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
-moz-border-radius-bottomleft: 4px;
|
-moz-border-radius-bottomleft: 4px;
|
||||||
-webkit-border-bottom-left-radius: 4px;
|
-webkit-border-bottom-left-radius: 4px;
|
||||||
border-bottom-left-radius: 4px;
|
border-bottom-left-radius: 4px;
|
||||||
-moz-border-radius-bottomright: 4px;
|
-moz-border-radius-bottomright: 4px;
|
||||||
-webkit-border-bottom-right-radius: 4px;
|
-webkit-border-bottom-right-radius: 4px;
|
||||||
border-bottom-right-radius: 4px;
|
border-bottom-right-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-dataContainer:after {
|
.lb-dataContainer:after {
|
||||||
content: "";
|
content: "";
|
||||||
display: table;
|
display: table;
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-data {
|
.lb-data {
|
||||||
padding: 0 4px;
|
padding: 0 4px;
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-data .lb-details {
|
.lb-data .lb-details {
|
||||||
width: 85%;
|
width: 85%;
|
||||||
float: left;
|
float: left;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
line-height: 1.1em;
|
line-height: 1.1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-data .lb-caption {
|
.lb-data .lb-caption {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-data .lb-number {
|
.lb-data .lb-number {
|
||||||
display: block;
|
display: block;
|
||||||
clear: left;
|
clear: left;
|
||||||
padding-bottom: 1em;
|
padding-bottom: 1em;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #999999;
|
color: #999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-data .lb-close {
|
.lb-data .lb-close {
|
||||||
display: block;
|
display: block;
|
||||||
float: right;
|
float: right;
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: url(../images/close.png) top right no-repeat;
|
background: url(../images/close.png) top right no-repeat;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
outline: none;
|
outline: none;
|
||||||
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
|
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
|
||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
-webkit-transition: opacity 0.2s;
|
-webkit-transition: opacity 0.2s;
|
||||||
-moz-transition: opacity 0.2s;
|
-moz-transition: opacity 0.2s;
|
||||||
-o-transition: opacity 0.2s;
|
-o-transition: opacity 0.2s;
|
||||||
transition: opacity 0.2s;
|
transition: opacity 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lb-data .lb-close:hover {
|
.lb-data .lb-close:hover {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
|
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
261
style/spot.css
261
style/spot.css
@@ -2716,6 +2716,213 @@
|
|||||||
.fa-percent:before {
|
.fa-percent:before {
|
||||||
content: "\f295"; }
|
content: "\f295"; }
|
||||||
|
|
||||||
|
/* Preload images */
|
||||||
|
/* line 2, _lightbox.scss */
|
||||||
|
body:after {
|
||||||
|
content: url(../images/close.png) url(../images/loading.gif) url(../images/prev.png) url(../images/next.png);
|
||||||
|
display: none; }
|
||||||
|
|
||||||
|
/* line 7, _lightbox.scss */
|
||||||
|
body.lb-disable-scrolling {
|
||||||
|
overflow: hidden; }
|
||||||
|
|
||||||
|
/* line 11, _lightbox.scss */
|
||||||
|
.lightboxOverlay {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
z-index: 9999;
|
||||||
|
background-color: black;
|
||||||
|
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
|
||||||
|
opacity: 0.8;
|
||||||
|
display: none; }
|
||||||
|
|
||||||
|
/* line 22, _lightbox.scss */
|
||||||
|
.lightbox {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
z-index: 10000;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 0;
|
||||||
|
font-weight: normal; }
|
||||||
|
|
||||||
|
/* line 32, _lightbox.scss */
|
||||||
|
.lightbox .lb-image {
|
||||||
|
display: block;
|
||||||
|
height: auto;
|
||||||
|
max-width: inherit;
|
||||||
|
border-radius: 3px; }
|
||||||
|
|
||||||
|
/* line 39, _lightbox.scss */
|
||||||
|
.lightbox a img {
|
||||||
|
border: none; }
|
||||||
|
|
||||||
|
/* line 43, _lightbox.scss */
|
||||||
|
.lb-outerContainer {
|
||||||
|
position: relative;
|
||||||
|
background-color: white;
|
||||||
|
*zoom: 1;
|
||||||
|
width: 250px;
|
||||||
|
height: 250px;
|
||||||
|
margin: 0 auto;
|
||||||
|
border-radius: 4px; }
|
||||||
|
|
||||||
|
/* line 53, _lightbox.scss */
|
||||||
|
.lb-outerContainer:after {
|
||||||
|
content: "";
|
||||||
|
display: table;
|
||||||
|
clear: both; }
|
||||||
|
|
||||||
|
/* line 59, _lightbox.scss */
|
||||||
|
.lb-container {
|
||||||
|
padding: 4px; }
|
||||||
|
|
||||||
|
/* line 63, _lightbox.scss */
|
||||||
|
.lb-loader {
|
||||||
|
position: absolute;
|
||||||
|
top: 43%;
|
||||||
|
left: 0;
|
||||||
|
height: 25%;
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 0; }
|
||||||
|
|
||||||
|
/* line 73, _lightbox.scss */
|
||||||
|
.lb-cancel {
|
||||||
|
display: block;
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
margin: 0 auto;
|
||||||
|
background: url(../images/loading.gif) no-repeat; }
|
||||||
|
|
||||||
|
/* line 81, _lightbox.scss */
|
||||||
|
.lb-nav {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
z-index: 10; }
|
||||||
|
|
||||||
|
/* line 90, _lightbox.scss */
|
||||||
|
.lb-container > .nav {
|
||||||
|
left: 0; }
|
||||||
|
|
||||||
|
/* line 94, _lightbox.scss */
|
||||||
|
.lb-nav a {
|
||||||
|
outline: none;
|
||||||
|
background-image: url("data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="); }
|
||||||
|
|
||||||
|
/* line 99, _lightbox.scss */
|
||||||
|
.lb-prev, .lb-next {
|
||||||
|
height: 100%;
|
||||||
|
cursor: pointer;
|
||||||
|
display: block; }
|
||||||
|
|
||||||
|
/* line 105, _lightbox.scss */
|
||||||
|
.lb-nav a.lb-prev {
|
||||||
|
width: 34%;
|
||||||
|
left: 0;
|
||||||
|
float: left;
|
||||||
|
background: url(../images/prev.png) left 48% no-repeat;
|
||||||
|
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
|
||||||
|
opacity: 0;
|
||||||
|
-webkit-transition: opacity 0.6s;
|
||||||
|
-moz-transition: opacity 0.6s;
|
||||||
|
-o-transition: opacity 0.6s;
|
||||||
|
transition: opacity 0.6s; }
|
||||||
|
|
||||||
|
/* line 118, _lightbox.scss */
|
||||||
|
.lb-nav a.lb-prev:hover {
|
||||||
|
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
|
||||||
|
opacity: 1; }
|
||||||
|
|
||||||
|
/* line 123, _lightbox.scss */
|
||||||
|
.lb-nav a.lb-next {
|
||||||
|
width: 64%;
|
||||||
|
right: 0;
|
||||||
|
float: right;
|
||||||
|
background: url(../images/next.png) right 48% no-repeat;
|
||||||
|
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
|
||||||
|
opacity: 0;
|
||||||
|
-webkit-transition: opacity 0.6s;
|
||||||
|
-moz-transition: opacity 0.6s;
|
||||||
|
-o-transition: opacity 0.6s;
|
||||||
|
transition: opacity 0.6s; }
|
||||||
|
|
||||||
|
/* line 136, _lightbox.scss */
|
||||||
|
.lb-nav a.lb-next:hover {
|
||||||
|
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
|
||||||
|
opacity: 1; }
|
||||||
|
|
||||||
|
/* line 141, _lightbox.scss */
|
||||||
|
.lb-dataContainer {
|
||||||
|
margin: 0 auto;
|
||||||
|
padding-top: 5px;
|
||||||
|
*zoom: 1;
|
||||||
|
width: 100%;
|
||||||
|
-moz-border-radius-bottomleft: 4px;
|
||||||
|
-webkit-border-bottom-left-radius: 4px;
|
||||||
|
border-bottom-left-radius: 4px;
|
||||||
|
-moz-border-radius-bottomright: 4px;
|
||||||
|
-webkit-border-bottom-right-radius: 4px;
|
||||||
|
border-bottom-right-radius: 4px; }
|
||||||
|
|
||||||
|
/* line 154, _lightbox.scss */
|
||||||
|
.lb-dataContainer:after {
|
||||||
|
content: "";
|
||||||
|
display: table;
|
||||||
|
clear: both; }
|
||||||
|
|
||||||
|
/* line 160, _lightbox.scss */
|
||||||
|
.lb-data {
|
||||||
|
padding: 0 4px;
|
||||||
|
color: #ccc; }
|
||||||
|
|
||||||
|
/* line 165, _lightbox.scss */
|
||||||
|
.lb-data .lb-details {
|
||||||
|
width: 85%;
|
||||||
|
float: left;
|
||||||
|
text-align: left;
|
||||||
|
line-height: 1.1em; }
|
||||||
|
|
||||||
|
/* line 172, _lightbox.scss */
|
||||||
|
.lb-data .lb-caption {
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: bold;
|
||||||
|
line-height: 1em; }
|
||||||
|
|
||||||
|
/* line 178, _lightbox.scss */
|
||||||
|
.lb-data .lb-number {
|
||||||
|
display: block;
|
||||||
|
clear: left;
|
||||||
|
padding-bottom: 1em;
|
||||||
|
font-size: 12px;
|
||||||
|
color: #999999; }
|
||||||
|
|
||||||
|
/* line 186, _lightbox.scss */
|
||||||
|
.lb-data .lb-close {
|
||||||
|
display: block;
|
||||||
|
float: right;
|
||||||
|
width: 30px;
|
||||||
|
height: 30px;
|
||||||
|
background: url(../images/close.png) top right no-repeat;
|
||||||
|
text-align: right;
|
||||||
|
outline: none;
|
||||||
|
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
|
||||||
|
opacity: 0.7;
|
||||||
|
-webkit-transition: opacity 0.2s;
|
||||||
|
-moz-transition: opacity 0.2s;
|
||||||
|
-o-transition: opacity 0.2s;
|
||||||
|
transition: opacity 0.2s; }
|
||||||
|
|
||||||
|
/* line 202, _lightbox.scss */
|
||||||
|
.lb-data .lb-close:hover {
|
||||||
|
cursor: pointer;
|
||||||
|
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
|
||||||
|
opacity: 1; }
|
||||||
|
|
||||||
/* Animations */
|
/* Animations */
|
||||||
@-webkit-keyframes fadeIn {
|
@-webkit-keyframes fadeIn {
|
||||||
from {
|
from {
|
||||||
@@ -2740,7 +2947,7 @@
|
|||||||
-o-animation: fadeIn 0.8s infinite alternate;
|
-o-animation: fadeIn 0.8s infinite alternate;
|
||||||
animation: fadeIn 0.8s infinite alternate; }
|
animation: fadeIn 0.8s infinite alternate; }
|
||||||
|
|
||||||
/* line 6, spot.scss */
|
/* line 7, spot.scss */
|
||||||
#map {
|
#map {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
@@ -2749,7 +2956,7 @@
|
|||||||
width: 70%;
|
width: 70%;
|
||||||
background: #EEE; }
|
background: #EEE; }
|
||||||
|
|
||||||
/* line 15, spot.scss */
|
/* line 16, spot.scss */
|
||||||
#map .loader {
|
#map .loader {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
font-size: 3em;
|
font-size: 3em;
|
||||||
@@ -2759,7 +2966,7 @@
|
|||||||
left: calc(50% - 0.5em);
|
left: calc(50% - 0.5em);
|
||||||
color: #666; }
|
color: #666; }
|
||||||
|
|
||||||
/* line 26, spot.scss */
|
/* line 27, spot.scss */
|
||||||
#feed {
|
#feed {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
@@ -2767,109 +2974,109 @@
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
width: 30%;
|
width: 30%;
|
||||||
overflow: auto; }
|
overflow: auto; }
|
||||||
/* line 34, spot.scss */
|
/* line 35, spot.scss */
|
||||||
#feed #poster {
|
#feed #poster {
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
background: #EEE;
|
background: #EEE;
|
||||||
border-bottom: 1px solid #DDD; }
|
border-bottom: 1px solid #DDD; }
|
||||||
/* line 39, spot.scss */
|
/* line 40, spot.scss */
|
||||||
#feed #poster #post, #feed #poster #name, #feed #poster #submit {
|
#feed #poster #post, #feed #poster #name, #feed #poster #submit {
|
||||||
width: calc(100% - 2em);
|
width: calc(100% - 2em);
|
||||||
border: none;
|
border: none;
|
||||||
padding: 0.5em 1em; }
|
padding: 0.5em 1em; }
|
||||||
/* line 45, spot.scss */
|
/* line 46, spot.scss */
|
||||||
#feed #poster #post {
|
#feed #poster #post {
|
||||||
margin-bottom: 1em; }
|
margin-bottom: 1em; }
|
||||||
/* line 49, spot.scss */
|
/* line 50, spot.scss */
|
||||||
#feed #poster #name {
|
#feed #poster #name {
|
||||||
width: calc(100% - 5.5em); }
|
width: calc(100% - 5.5em); }
|
||||||
/* line 53, spot.scss */
|
/* line 54, spot.scss */
|
||||||
#feed #poster #submit {
|
#feed #poster #submit {
|
||||||
width: 3em;
|
width: 3em;
|
||||||
background: #CCC;
|
background: #CCC;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-weight: bold; }
|
font-weight: bold; }
|
||||||
/* line 61, spot.scss */
|
/* line 62, spot.scss */
|
||||||
#feed #posts {
|
#feed #posts {
|
||||||
font-family: Arial; }
|
font-family: Arial; }
|
||||||
/* line 64, spot.scss */
|
/* line 65, spot.scss */
|
||||||
#feed #posts .post {
|
#feed #posts .post {
|
||||||
margin: 1em;
|
margin: 1em;
|
||||||
background: #B4BDFF;
|
background: #B4BDFF;
|
||||||
color: #323268;
|
color: #323268;
|
||||||
border-radius: 0.5em; }
|
border-radius: 0.5em; }
|
||||||
/* line 70, spot.scss */
|
/* line 71, spot.scss */
|
||||||
#feed #posts .post .message {
|
#feed #posts .post .message {
|
||||||
margin: 0.3em 0 0 0; }
|
margin: 0.3em 0 0 0; }
|
||||||
/* line 73, spot.scss */
|
/* line 74, spot.scss */
|
||||||
#feed #posts .post .signature {
|
#feed #posts .post .signature {
|
||||||
margin: 0.5em 0 0 0;
|
margin: 0.5em 0 0 0;
|
||||||
text-align: right; }
|
text-align: right; }
|
||||||
/* line 79, spot.scss */
|
/* line 80, spot.scss */
|
||||||
#feed #posts .header {
|
#feed #posts .header {
|
||||||
padding: 0.5em 1em;
|
padding: 0.5em 1em;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
text-align: right; }
|
text-align: right; }
|
||||||
/* line 85, spot.scss */
|
/* line 86, spot.scss */
|
||||||
#feed #posts .header .index {
|
#feed #posts .header .index {
|
||||||
float: left;
|
float: left;
|
||||||
font-style: normal; }
|
font-style: normal; }
|
||||||
/* line 91, spot.scss */
|
/* line 92, spot.scss */
|
||||||
#feed #posts .body {
|
#feed #posts .body {
|
||||||
padding: 0em 1em 0.5em; }
|
padding: 0em 1em 0.5em; }
|
||||||
/* line 95, spot.scss */
|
/* line 96, spot.scss */
|
||||||
#feed #posts .post.picture {
|
#feed #posts .post.picture {
|
||||||
background: #F3EC9F;
|
background: #F3EC9F;
|
||||||
color: #635C28; }
|
color: #635C28; }
|
||||||
/* line 99, spot.scss */
|
/* line 100, spot.scss */
|
||||||
#feed #posts .post.picture a {
|
#feed #posts .post.picture a {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
line-height: 0;
|
line-height: 0;
|
||||||
margin: 0; }
|
margin: 0; }
|
||||||
/* line 105, spot.scss */
|
/* line 106, spot.scss */
|
||||||
#feed #posts .post.picture img {
|
#feed #posts .post.picture img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
image-orientation: from-image;
|
image-orientation: from-image;
|
||||||
border: 1px solid white;
|
border: 1px solid white;
|
||||||
outline: none; }
|
outline: none; }
|
||||||
/* line 113, spot.scss */
|
/* line 114, spot.scss */
|
||||||
#feed #posts .post.message {
|
#feed #posts .post.message {
|
||||||
background: #6DFF58;
|
background: #6DFF58;
|
||||||
color: #326526; }
|
color: #326526; }
|
||||||
/* line 117, spot.scss */
|
/* line 118, spot.scss */
|
||||||
#feed #posts .post.message p {
|
#feed #posts .post.message p {
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
margin: 0.5em 0; }
|
margin: 0.5em 0; }
|
||||||
/* line 122, spot.scss */
|
/* line 123, spot.scss */
|
||||||
#feed #posts .post.message p:first-child {
|
#feed #posts .post.message p:first-child {
|
||||||
margin-top: 1em; }
|
margin-top: 1em; }
|
||||||
/* line 127, spot.scss */
|
/* line 128, spot.scss */
|
||||||
#feed #posts .fa.push {
|
#feed #posts .fa.push {
|
||||||
margin-right: 0.5em; }
|
margin-right: 0.5em; }
|
||||||
|
|
||||||
/* Info Window */
|
/* Info Window */
|
||||||
/* line 135, spot.scss */
|
/* line 136, spot.scss */
|
||||||
.info-window h1 {
|
.info-window h1 {
|
||||||
font-size: 1.2em; }
|
font-size: 1.2em; }
|
||||||
|
|
||||||
/* line 138, spot.scss */
|
/* line 139, spot.scss */
|
||||||
.info-window p {
|
.info-window p {
|
||||||
font-size: 1.0em; }
|
font-size: 1.0em; }
|
||||||
|
|
||||||
/* line 142, spot.scss */
|
/* line 143, spot.scss */
|
||||||
.info-window i {
|
.info-window i {
|
||||||
padding-right: 0.5em;
|
padding-right: 0.5em;
|
||||||
font-size: 1.33333333em;
|
font-size: 1.33333333em;
|
||||||
line-height: 0.75em;
|
line-height: 0.75em;
|
||||||
vertical-align: -15%; }
|
vertical-align: -15%; }
|
||||||
|
|
||||||
/* line 150, spot.scss */
|
/* line 151, spot.scss */
|
||||||
.info-window .battery {
|
.info-window .battery {
|
||||||
text-transform: capitalize; }
|
text-transform: capitalize; }
|
||||||
|
|
||||||
/* Upload */
|
/* Upload */
|
||||||
/* line 156, spot.scss */
|
/* line 157, spot.scss */
|
||||||
.bar {
|
.bar {
|
||||||
height: 18px;
|
height: 18px;
|
||||||
background: green; }
|
background: green; }
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -1,6 +1,7 @@
|
|||||||
@CHARSET "UTF-8";
|
@CHARSET "UTF-8";
|
||||||
|
|
||||||
@import 'fa';
|
@import 'fa';
|
||||||
|
@import 'lightbox';
|
||||||
@import 'common';
|
@import 'common';
|
||||||
|
|
||||||
#map {
|
#map {
|
||||||
|
|||||||
Reference in New Issue
Block a user