From abebe597be7612a9c9d59a4fa186678170871f06 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 18 Feb 2016 09:05:05 -0500 Subject: [PATCH] added classes to the menubar sidebar --- css/app.css | 2 ++ js/app.js | 8 ++++++++ js/custom/pageSetup.js | 8 ++++++++ scss/_sidebar.scss | 3 +++ 4 files changed, 21 insertions(+) diff --git a/css/app.css b/css/app.css index 2cc49ef..1db6b1b 100644 --- a/css/app.css +++ b/css/app.css @@ -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; } diff --git a/js/app.js b/js/app.js index a19c658..9e2b39e 100644 --- a/js/app.js +++ b/js/app.js @@ -70,4 +70,12 @@ $(document).ready(function () { $("#block-2, #block-3").wrapAll('
'); $("#block-4").wrap('
'); $("#small-blocks, #med-block").wrapAll('
'); + + $("#menu-side").children("h1").replaceWith(function () { + return $('

', { + html: $(this).html() + }); + }); + $("#menu-side").children("ul").addClass("sidebar"); + }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 2f0e52c..a066316 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -61,4 +61,12 @@ $(document).ready(function () { $("#block-2, #block-3").wrapAll('
'); $("#block-4").wrap('
'); $("#small-blocks, #med-block").wrapAll('
'); + + $("#menu-side").children("h1").replaceWith(function () { + return $('

', { + html: $(this).html() + }); + }); + $("#menu-side").children("ul").addClass("sidebar"); + }); diff --git a/scss/_sidebar.scss b/scss/_sidebar.scss index 9eaef07..1e589ec 100644 --- a/scss/_sidebar.scss +++ b/scss/_sidebar.scss @@ -117,6 +117,9 @@ h2 { color: $white; margin-left: 30px; + & a{ + color: $white !important; + } } ul.sidebar { list-style: none; -- 2.17.1