Skip to content

Instantly share code, notes, and snippets.

@quickredfox
Created August 2, 2011 16:36
Show Gist options
  • Save quickredfox/1120597 to your computer and use it in GitHub Desktop.
Save quickredfox/1120597 to your computer and use it in GitHub Desktop.
@import 'compass';
$include-default: true !default;
$include-default-uis: true !default;
@import 'ext4/default/functions';
@import 'ext4/default/variables';
@mixin background-gradient($bg-color, $type: $base-gradient, $direction: top) {
background-image: none;
background-color: $bg-color;
@if $base-gradient != null and $bg-color != transparent {
@if type-of($type) == "list" {}
@else{
@if $type == bevel { }
@if $type == glossy {}
@if $type == recessed {}
@if $type == matte {}
@if $type == matte-reverse {}
@if $type == glossy-toolbar {}
@if $type == panel-header {}
@if $type == tabbar {}
@if $type == tab {}
@if $type == tab-active {}
@if $type == tab-over {}
@if $type == tab-disabled {}
@if $type == grid-header {}
@if $type == grid-header-over {}
@if $type == grid-row-over {}
@if $type == grid-cell-special {}
@if $type == glossy-button or $type == glossy-button-disabled {}
@if $type == glossy-button-over {}
@if $type == glossy-button-pressed {}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment