Skip to content

Commit

Permalink
added fix for text-colors
Browse files Browse the repository at this point in the history
  • Loading branch information
imathis committed Oct 28, 2010
1 parent 9e78e4f commit ba78abe
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions lib/stylesheets/_fancy-buttons.sass
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ba78abe

Please sign in to comment.