Photo gallery updates
authorLaury GvR <laury@gaslightmedia.com>
Thu, 20 Nov 2014 13:47:46 +0000 (08:47 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Thu, 20 Nov 2014 13:47:46 +0000 (08:47 -0500)
css/app.css
nggallery/gallery-glmphotos.php
scss/site/_structure.scss

index 4b6b03e..1a965a3 100644 (file)
@@ -6114,7 +6114,7 @@ article h2 {
 .homepage_testimonials_text p {
   font-size: 16px; }
 
-.ngg-gallery-thumbnail .ngg-fancybox .image_overlay {
+.ngg-fancybox .image_overlay {
   cursor: pointer;
   -webkit-transition: background 0.3s linear;
   -moz-transition: background 0.3s linear;
@@ -6125,7 +6125,7 @@ article h2 {
   background-repeat: no-repeat;
   background-position: center; }
 
-.ngg-gallery-thumbnail .ngg-fancybox:hover img {
+.ngg-fancybox:hover img {
   opacity: 0.3; }
 
 .ngg-fancybox .photoTitle {
@@ -6155,6 +6155,9 @@ article h2 {
 .ngg-galleryoverview {
   padding: 20px; }
 
+.ngg-gallery-thumbnail img {
+  margin: 0 !important; }
+
 .ngg-gallery-thumbnail-box {
   margin: 5px 0 !important;
   border: 1px solid black;
@@ -6179,11 +6182,11 @@ article h2 {
     color: white;
     font-style: italic; }
 
-.ngg-gallery-thumbnail {
+.ngg-fancybox {
   /*        float: none !important;*/
   margin: 0 !important; }
 
-.ngg-gallery-thumbnail img {
+.ngg-fancybox img {
   padding: 0 !important;
   margin: none auto !important;
   width: 100%;
@@ -6214,7 +6217,7 @@ article h2 {
 .top-bar-menu > li.menu-item > ul li ul li:last-child {
   background-color: transparent; }
 
-.ngg-gallery-thumbnail img:hover {
+.ngg-fancybox img:hover {
   color: white; }
 
 #fancybox-title {
index f868b95..cbd12ff 100644 (file)
@@ -14,7 +14,7 @@ Follow variables are useable :
 ?>
 <?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?><?php if (!empty ($gallery)) : ?>
 
-<ul id='gallery' class='gallery row small-block-grid-1 medium-block-grid-3 large-block-grid-4'>
+<ul id='gallery' class='gallery row small-block-grid-2 medium-block-grid-3 large-block-grid-4'>
 <?php if ($gallery->show_slideshow) { ?>
        <!-- Slideshow link -->
        <div class="slideshowlink">
index 293d413..5801afb 100644 (file)
@@ -618,7 +618,7 @@ article h2 {
     .homepage_testimonials_text p {
         font-size: 16px;
     }
-    .ngg-gallery-thumbnail .ngg-fancybox .image_overlay {
+    .ngg-fancybox .image_overlay {
         cursor: pointer;
         -webkit-transition: background 0.3s linear;
         -moz-transition: background 0.3s linear;
@@ -630,7 +630,7 @@ article h2 {
         background-repeat: no-repeat;
         background-position: center;
     }
-    .ngg-gallery-thumbnail .ngg-fancybox:hover img {
+    .ngg-fancybox:hover img {
         opacity: 0.3;
     }
     .ngg-fancybox .photoTitle {
@@ -661,6 +661,9 @@ article h2 {
     .ngg-galleryoverview {
         padding: 20px;
     }
+    .ngg-gallery-thumbnail img {
+        margin: 0 !important;
+    }
     .ngg-gallery-thumbnail-box {
         margin: 5px 0 !important;
         border: 1px solid black;
@@ -687,11 +690,11 @@ article h2 {
             font-style: italic;
         }
     }
-    .ngg-gallery-thumbnail {
+    .ngg-fancybox {
 /*        float: none !important;*/
     margin: 0 !important;
     }
-    .ngg-gallery-thumbnail img {
+    .ngg-fancybox img {
         padding: 0 !important;
         margin: none auto !important;
         width: 100%;
@@ -741,7 +744,7 @@ article h2 {
 /*            border-bottom-right-radius: 15px;*/
         }
     }
-    .ngg-gallery-thumbnail img:hover {
+    .ngg-fancybox img:hover {
         color: white;
     }