]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fixing recent merge pull causing $topbar-link-color to be ignored 1833/head
authorPrem Mariappan <prem@vitessewebdesign.com.au>
Mon, 11 Mar 2013 13:16:53 +0000 (00:16 +1100)
committerPrem Mariappan <prem@vitessewebdesign.com.au>
Mon, 11 Mar 2013 13:16:53 +0000 (00:16 +1100)
A recent merge pull (https://github.com/zurb/foundation/pull/1730)
causing $topbar-link-color to be ignored but
$topbar-dropdown-link-color to be used instead for the topbar link
color.  These changes honor the intention of $topbar-link-color and
$topbar-dropdown-link-color;

scss/foundation/components/_top-bar.scss

index 286efce128dcbf763ed0b4757f5654eb19812971..8f29e2907bc2ae36b4c3e194c0431d254c6bdaf3 100644 (file)
@@ -208,7 +208,7 @@ $topbar-media-query: "only screen and (min-width:"#{$topbar-breakpoint}")" !defa
     & > a {
       display: block;
       width: 100%;
-      color: $topbar-dropdown-link-color;
+      color: $topbar-link-color;
       padding: 12px 0 12px 0;
       padding-#{$default-float}: $topbar-height / 3;
       font-size: $topbar-link-font-size;
@@ -405,6 +405,7 @@ $topbar-media-query: "only screen and (min-width:"#{$topbar-breakpoint}")" !defa
 
       li {
         a {
+          color: $topbar-dropdown-link-color;
           line-height: 1;
           white-space: nowrap;
           padding: 7px $topbar-height / 3;