aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--library/justifiedGallery/dist/js/jquery.justifiedGallery.js5
-rw-r--r--view/css/mod_photos.css49
-rw-r--r--view/theme/redbasic/css/style.css13
3 files changed, 4 insertions, 63 deletions
diff --git a/library/justifiedGallery/dist/js/jquery.justifiedGallery.js b/library/justifiedGallery/dist/js/jquery.justifiedGallery.js
index 2c3eee11b..9b5c66081 100644
--- a/library/justifiedGallery/dist/js/jquery.justifiedGallery.js
+++ b/library/justifiedGallery/dist/js/jquery.justifiedGallery.js
@@ -444,6 +444,7 @@
}
return this.each(function (index, gallery) {
+
var $gallery = $(gallery);
$gallery.addClass('justified-gallery');
@@ -492,14 +493,13 @@
} else if (arg === 'norewind') {
// In this case we don't rewind, and analyze all the images
} else {
- //redmatrix - this makes the gallery jump back to top after new content is loaded
context.settings = $.extend({}, context.settings, arg);
rewind(context);
}
checkSettings(context);
- context.entries = $gallery.find('> a').toArray();
+ context.entries = $gallery.find('> a, > div').toArray();
if (context.entries.length === 0) return;
// Randomize
@@ -533,6 +533,7 @@
//DEBUG// console.log('listed ' + $image.attr('alt'));
imagesToLoad = true;
+
// Spinner start
if (context.spinner.active === false) {
context.spinner.active = true;
diff --git a/view/css/mod_photos.css b/view/css/mod_photos.css
index b81145cd5..0c4c25bae 100644
--- a/view/css/mod_photos.css
+++ b/view/css/mod_photos.css
@@ -1,11 +1,3 @@
-
-
-.photo-top-photo, .photo-album-photo {
- padding: 10px;
- max-width: 300px;
-}
-
-
.photos-end {
clear: both;
margin-bottom: 25px;
@@ -30,51 +22,11 @@
clear: both;
}
-.photo-album-image-wrapper {
- float: left;
- margin-top: 15px;
- margin-right: 15px;
- margin-left: 15px;
-}
-.photo-album-image-wrapper .caption {
- display: none;
- width: 100%;
- bottom: 0px;
- padding: 0.5em 0.5em 0px 0.5em;
- margin: 0px;
-}
-.photo-album-image-wrapper a:hover .caption {
- display:block;
-}
-
#photo-album-end {
clear: both;
margin-bottom: 25px;
}
-.photo-top-image-wrapper {
- float: left;
- margin-top: 15px;
- margin-right: 15px;
- margin-left: 15px;
- margin-bottom: 15px;
-}
-.photo-top-album-name {
- width: 100%;
- min-height: 2em;
- bottom: 0px;
- padding: 0px 3px;
- padding-top: 0.5em;
-}
-#photo-top-end {
- clear: both;
-}
-
-#photo-top-links {
- margin-bottom: 30px;
- margin-left: 30px;
-}
-
#photos-upload-newalbum-div {
float: left;
width: 175px;
@@ -83,6 +35,7 @@
#photos-upload-noshare {
margin-bottom: 10px;
}
+
#photos-upload-existing-album-text {
float: left;
width: 175px;
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index df95e48b8..bb11ddbb9 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -675,10 +675,6 @@ aside li {
margin: auto;
}
-.photo-top-image-wrapper, .photo-album-image-wrapper {
- width: 240px;
-}
-
.photo-top-photo-link, .photo-album-photo-link {
display: block;
width: 100%;
@@ -688,15 +684,6 @@ aside li {
overflow: hidden;
}
-.photo-album-image-wrapper .caption {
- background-color: $acpopup_bgcolour;
- border-bottom: 2px solid $acpopup_bordercolour;
-}
-
-.photo-top-album-name {
- background-color: $acpopup_bgcolour;
-}
-
#photos-upload-perms-menu, #photos-upload-perms-menu:visited, #photos-upload-perms-menu:link {
color: #8888FF;
text-decoration: none;