From c5bd9ae94bb5d3f36a3d667ecc2598ed3d706251 Mon Sep 17 00:00:00 2001 From: chillmania Date: Tue, 23 Sep 2014 16:03:45 -0500 Subject: [PATCH] there is $topbar-arrows boolean switch, but no $topbar-dropdown-arrows switch to turn off dropdown sub nav arrows. Added that with an if statement and var --- scss/foundation/components/_top-bar.scss | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/scss/foundation/components/_top-bar.scss b/scss/foundation/components/_top-bar.scss index 230549335..9e0b006b1 100644 --- a/scss/foundation/components/_top-bar.scss +++ b/scss/foundation/components/_top-bar.scss @@ -82,6 +82,7 @@ $topbar-divider-border-top: solid 1px scale-color($topbar-bg-color, $lightness: // Sticky Class $topbar-sticky-class: ".sticky" !default; $topbar-arrows: true !default; //Set false to remove the triangle icon from the menu item +$topbar-dropdown-arrows: true !default; //Set false to remove the \00bb >> text from dropdown subnavigation li // Accessibility mixins for hiding and showing the menu dropdown items @mixin topbar-hide-dropdown { @@ -552,13 +553,15 @@ $topbar-arrows: true !default; //Set false to remove the triangle icon from the .dropdown li.has-dropdown { & > a { - &:after { - border: none; - content: "\00bb"; - top: 1rem; - margin-top: -1px; - #{$opposite-direction}: 5px; - line-height: 1.2; + @if ($topbar-dropdown-arrows){ + &:after { + border: none; + content: "\00bb"; + top: 1rem; + margin-top: -1px; + #{$opposite-direction}: 5px; + line-height: 1.2; + } } } } -- 2.47.2