Browse files

added fix for text-colors

  • Loading branch information...
1 parent 9e78e4f commit ba78abeef278f029b2c4c94df370bc45f43eab75 @imathis committed Oct 28, 2010
Showing with 5 additions and 7 deletions.
  1. +5 −7 lib/stylesheets/_fancy-buttons.sass
View
12 lib/stylesheets/_fancy-buttons.sass
@@ -113,15 +113,13 @@ $fb-line-height: 1.2em !default
&, &:visited
color: $fb-dark-text
-=fancy-button-text-colors($color, $hover, $active, $allow-disabled : $fb-allow-disabled)
+=fancy-button-text-colors($color, $hover: $color, $active: $color, $allow-disabled : $fb-allow-disabled)
&, &:visited
color: $color
- @if $hover != $color
- &:hover, &:focus
- color: $hover
- @if $active != $color
- &:active
- color: $active
+ &:hover, &:focus
+ color: $hover
+ &:active
+ color: $active
@if $allow-disabled
&.disabled, &[disabled]
color: $color

0 comments on commit ba78abe

Please sign in to comment.