]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Defined background and color again for hover and focus
authorharry <harmanmanchanda182@gmail.com>
Sat, 14 Jan 2017 20:48:02 +0000 (02:18 +0530)
committerharry <harmanmanchanda182@gmail.com>
Sat, 14 Jan 2017 20:48:02 +0000 (02:18 +0530)
scss/components/_button.scss

index fbf3687382d7f1f3c20eb65ad379127a1104abf1..9d38eb84418b10ceb992db4ee7a5e36e43381300 100644 (file)
@@ -169,6 +169,11 @@ $button-transition: background-color 0.25s ease-out, color 0.25s ease-out !defau
   $color: color-pick-contrast($background, ($button-color, $button-color-alt));
 
   color: $color;
+
+  &:hover, &:focus {
+    background-color: $background;
+    color: $color;
+  }
 }
 
 /// Adds a dropdown arrow to a button.