Skip to content

Instantly share code, notes, and snippets.

@jdlich
Created August 17, 2011 20:48
Show Gist options
  • Save jdlich/1152575 to your computer and use it in GitHub Desktop.
Save jdlich/1152575 to your computer and use it in GitHub Desktop.
@mixin button-hover($type) {
@if $type == 'dark' {
@include button-style(
$darkButtonHoverBorder,
$darkButtonHoverBackground,
$darkButtonHoverText,
$darkButtonHoverTextShadow,
$darkButtonHoverGradient1,
$darkButtonHoverGradient2
);
} @else if $type == 'light' {
@include button-style(
$lightButtonHoverBorder,
$lightButtonHoverBackground,
$lightButtonHoverText,
$lightButtonHoverTextShadow,
$lightButtonHoverGradient1,
$lightButtonHoverGradient2
);
} @else if $type == 'login' {
@include button-style(
$loginButtonHoverBorder,
$loginButtonHoverBackground,
$loginButtonHoverText,
$loginButtonHoverTextShadow,
$loginButtonHoverGradient1,
$loginButtonHoverGradient2
);
} @else if $type == 'utility' {
@include button-style(
$utilityButtonHoverBorder,
$utilityButtonHoverBackground,
$utilityButtonHoverText,
$utilityButtonHoverTextShadow,
$utilityButtonHoverGradient1,
$utilityButtonHoverGradient2
);
} @else if $type == 'search' {
@include button-style(
$searchButtonHoverBorder,
$searchButtonHoverBackground,
$searchButtonHoverText,
$searchButtonHoverTextShadow,
$searchButtonHoverGradient1,
$searchButtonHoverGradient2
);
} @else if $type == 'websearch' {
@include button-style(
$websearchButtonHoverBorder,
$websearchButtonHoverBackground,
$websearchButtonHoverText,
$websearchButtonHoverTextShadow,
$websearchButtonHoverGradient1,
$websearchButtonHoverGradient2
);
} @else {
@include button-style(
$buttonHoverBorder,
$buttonHoverBackground,
$buttonHoverText,
$buttonHoverTextShadow,
$buttonHoverGradient1,
$buttonHoverGradient2
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment