From: chillmania Date: Tue, 23 Sep 2014 21:03:45 +0000 (-0500) Subject: there is $topbar-arrows boolean switch, but no $topbar-dropdown-arrows switch to... X-Git-Tag: v5.4.6~10^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5856%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git 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 --- 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; + } } } }