added classes to the menubar sidebar
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 18 Feb 2016 14:05:05 +0000 (09:05 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 18 Feb 2016 14:05:05 +0000 (09:05 -0500)
css/app.css
js/app.js
js/custom/pageSetup.js
scss/_sidebar.scss

index 2cc49ef..1db6b1b 100644 (file)
@@ -7204,6 +7204,8 @@ article {
   #side-links #menu-side h2 {
     color: #FFFFFF;
     margin-left: 30px; }
+    #side-links #menu-side h2 a {
+      color: #FFFFFF !important; }
   #side-links #menu-side ul.sidebar {
     list-style: none;
     margin-left: 30px; }
index a19c658..9e2b39e 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -70,4 +70,12 @@ $(document).ready(function () {
     $("#block-2, #block-3").wrapAll(' <div id="small-blocks" class="row collapse">');
     $("#block-4").wrap('<div id="med-block" class="row collapse">');
     $("#small-blocks, #med-block").wrapAll('<div class="small-12 large-6 columns">');
+    
+    $("#menu-side").children("h1").replaceWith(function () {
+        return $('<h2/>', {
+            html: $(this).html()
+        });
+    });
+    $("#menu-side").children("ul").addClass("sidebar");
+    
 });
index 2f0e52c..a066316 100644 (file)
@@ -61,4 +61,12 @@ $(document).ready(function () {
     $("#block-2, #block-3").wrapAll(' <div id="small-blocks" class="row collapse">');
     $("#block-4").wrap('<div id="med-block" class="row collapse">');
     $("#small-blocks, #med-block").wrapAll('<div class="small-12 large-6 columns">');
+    
+    $("#menu-side").children("h1").replaceWith(function () {
+        return $('<h2/>', {
+            html: $(this).html()
+        });
+    });
+    $("#menu-side").children("ul").addClass("sidebar");
+    
 });
index 9eaef07..1e589ec 100644 (file)
         h2 {
             color: $white;
             margin-left: 30px;
+            & a{
+                color: $white !important;
+            }
         }
         ul.sidebar {
             list-style: none;