:)-x Recipe plugin making me use jquery to change INLINE IMPORTANT css, pffffft....
authorLaury GvR <laury@gaslightmedia.com>
Wed, 3 Jun 2015 19:21:10 +0000 (15:21 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 3 Jun 2015 19:22:21 +0000 (15:22 -0400)
js/app.js
js/custom/pageSetup.js
scss/_plugins.scss
scss/plugins/_recipe.scss [new file with mode: 0644]

index 501680c..c371494 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -17,4 +17,6 @@ $(document).ready(function () {
         $(this).toggleClass('open');
         $(this).siblings('ul').toggleClass('open');
     });
-});
+    $('.wpurp-recipe-ingredient-name a:hover').attr('pointer-events','none');
+    $('.wpurp-recipe-ingredient').attr('list-style','none !important'); 
+});
\ No newline at end of file
index 741d565..d5692bd 100644 (file)
@@ -8,4 +8,6 @@ $(document).ready(function () {
         $(this).toggleClass('open');
         $(this).siblings('ul').toggleClass('open');
     });
-});
+    $('.wpurp-recipe-ingredient-name a:hover').attr('pointer-events','none');
+    $('.wpurp-recipe-ingredient').attr('list-style','none !important'); 
+});
\ No newline at end of file
index 3b99231..9a28983 100644 (file)
@@ -1 +1,2 @@
-  @import "plugins/nextgen";
\ No newline at end of file
+  @import "plugins/nextgen";
+  @import "plugins/recipe";
\ No newline at end of file
diff --git a/scss/plugins/_recipe.scss b/scss/plugins/_recipe.scss
new file mode 100644 (file)
index 0000000..5e3ba02
--- /dev/null
@@ -0,0 +1,49 @@
+/* NextGen Gallery */
+.ngg-gallery-thumbnail, 
+.ngg-gallery-thumbnail-box {
+    float: none !important;
+}
+.gallery li a img { // without this images will overlap each other at certain widths
+    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;
+}
+/* End NextGen Gallery */
+
+/* Ninja Forms */
+.ninja-forms-form-wrap {
+    max-width: 600px;
+    margin: 0 auto;
+    input[type=submit] {
+        @include button();
+        display: block;
+        margin: 0 auto;
+    }
+}
+/* End Ninja Forms */
+
+
+.wpurp-recipe-ingredient-name a:hover {
+    pointer-events: none;
+}
+.wpurp-recipe-ingredient {
+    list-style: outside none none !important
+}