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
Expand Up @@ -113,15 +113,13 @@ $fb-line-height: 1.2em !default
&, &:visited &, &:visited
color: $fb-dark-text 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 &, &:visited
color: $color color: $color
@if $hover != $color &:hover, &:focus
&:hover, &:focus color: $hover
color: $hover &:active
@if $active != $color color: $active
&:active
color: $active
@if $allow-disabled @if $allow-disabled
&.disabled, &[disabled] &.disabled, &[disabled]
color: $color color: $color
Expand Down

0 comments on commit ba78abe

Please sign in to comment.