From 64a9c6f354b086e78ccf2fcefeadec43b6021c59 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Mon, 4 May 2015 13:42:01 -0400 Subject: [PATCH] Updates for defaults defaults for ninja forms and the next gen gallery --- root/nggallery/album-glmalbums.php | 44 ++++++++++++++---------------- root/scss/_defaults.scss | 29 ++++++++++++++++++++ root/scss/app.scss | 1 + 3 files changed, 50 insertions(+), 24 deletions(-) diff --git a/root/nggallery/album-glmalbums.php b/root/nggallery/album-glmalbums.php index b971e71..9ebf91f 100644 --- a/root/nggallery/album-glmalbums.php +++ b/root/nggallery/album-glmalbums.php @@ -4,10 +4,10 @@ Template Page for the album overview Follow variables are useable : - $album : Contain information about the first album - $albums : Contain information about all albums - $galleries : Contain all galleries inside this album - $pagination : Contain the pagination content + $album : Contain information about the first album + $albums : Contain information about all albums + $galleries : Contain all galleries inside this album + $pagination : Contain the pagination content You can check the content when you insert the tag If you would like to show the timestamp of the image ,you can use @@ -17,25 +17,23 @@ Follow variables are useable :
- - + + -
-
- -
+
+
+ +
- - - +

- -

- - - - + +
+ +
- +
diff --git a/root/scss/_defaults.scss b/root/scss/_defaults.scss index 260dcd5..ff8311b 100644 --- a/root/scss/_defaults.scss +++ b/root/scss/_defaults.scss @@ -10,6 +10,35 @@ display: block; width: 100%; } +.ngg-gallery-thumbnail, .ngg-gallery-thumbnail-box { + float: none !important; +} +.ngg-album-compact h4 .ngg-album-desc { + height: auto !important; + font-family: $font-family-serif; + font-weight: 400; +} +.ngg-album-compact .album-meta-wrapper h4 a { + font-style: normal; +} +.album-meta-wrapper { + display: block; + height: 54px; + margin-bottom: 20px; +} +.ngg-glmalbums { + margin: 10px 0; +} +/* Ninja Forms */ +.ninja-forms-form-wrap { + max-width: 600px; + margin: 0 auto; + input[type=submit] { + @include button(); + display: block; + margin: 0 auto; + } +} /* For fixing cellphones not showing phone numbers because of /helpful/ auto-coloring */ a[href^=tel]{ color:inherit; diff --git a/root/scss/app.scss b/root/scss/app.scss index 41e913f..622bad6 100644 --- a/root/scss/app.scss +++ b/root/scss/app.scss @@ -2,6 +2,7 @@ @import "foundation"; @import "mixins"; @import "wordpress"; +@import "defaults"; @import "body"; @import "page.header"; @import "topbar"; -- 2.17.1