]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
change `background` to `background-color` in tabs to allow styling of theis other... 5604/head
authorДаниил Пронин <mail@grawl.ru>
Mon, 11 Aug 2014 05:32:01 +0000 (16:32 +1100)
committerДаниил Пронин <mail@grawl.ru>
Mon, 11 Aug 2014 05:45:34 +0000 (16:45 +1100)
scss/foundation/components/_tabs.scss

index 734818d42e11be515aefa37cb0606d65523c7b0f..818c1bd7857952f9c636fb61cf342e56274093f0 100755 (executable)
@@ -39,14 +39,25 @@ $tabs-vertical-navigation-margin-bottom: 1.25rem !default;
         float: $default-float;
         > a {
           display: block;
-          background: $tabs-navigation-bg-color;
+          background: {
+            color: $tabs-navigation-bg-color;
+          }
           color: $tabs-navigation-font-color;
           padding: $tabs-navigation-padding $tabs-navigation-padding * 2;
           font-family: $tabs-navigation-font-family;
           font-size: $tabs-navigation-font-size;
-          &:hover { background: $tabs-navigation-hover-bg-color; }
+          &:hover {
+            background: {
+              color: $tabs-navigation-hover-bg-color;
+            }
+          }
         }
-        &.active a { background: $tabs-navigation-active-bg-color; color:$tabs-navigation-active-font-color; }
+        &.active a {
+          background: {
+            color: $tabs-navigation-active-bg-color;
+          }
+          color:$tabs-navigation-active-font-color;
+          }
       }
       &.radius {
         dd:first-child, .tab:first-child {