Sha256: 2d6dc94d63dd8e02010895f33037be8597e6b943e08eb40dc6a3b5e0160ec51d

Contents?: true

Size: 1.12 KB

Versions: 10

Compression:

Stored size: 1.12 KB

Contents

// Code is depricated!
// ALERT!!!!!!!!!!!
// In future releases of Stipe, all references to this document will be deleted and all gradient support moved over to Compass

// ----------------------------------------------------------------------

@mixin linear_gradient_w3c ($default_color, $color_values, $prefixes: $prefix_defaults) {
	background: $default_color; // default fallback
	background: -webkit-linear-gradient(top, $color_values);
	background: -moz-linear-gradient(top, $color_values);
	background: -ms-linear-gradient(top, $color_values);
	background: -o-linear-gradient(top, $color_values);
}

@mixin linear_gradient_legacy_safari ($color_values) {
	background: -webkit-gradient(linear, left top, left bottom, #{$color_values});
}

@mixin linear_gradient_legacy_ie ($start_color, $end_color) {
	// IE6 & 7 //
    filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#{ie_hex_str($start_color)}', endColorstr='#{ie_hex_str($end_color)}');
	// IE8 & 9 //
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie_hex_str($start_color)}', endColorstr='#{ie_hex_str($end_color)}')";
}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
stipe-0.0.6.4 stylesheets/stipe/gradients/mixins/_area_51.scss
stipe-0.0.6.3 stylesheets/stipe/gradients/mixins/_area_51.scss
stipe-0.0.6.2 stylesheets/stipe/gradients/mixins/_area_51.scss
stipe-0.0.6.1 stylesheets/stipe/gradients/mixins/_area_51.scss
stipe-0.0.6.0 stylesheets/stipe/gradients/mixins/_area_51.scss
stipe-0.0.5.9 stylesheets/stipe/gradients/mixins/_area_51.scss
stipe-0.0.5.8 stylesheets/stipe/gradients/mixins/_area_51.scss
stipe-0.0.5.7.9 stylesheets/stipe/gradients/mixins/_area_51.scss
stipe-0.0.5.7.8 stylesheets/stipe/gradients/mixins/_area_51.scss
stipe-0.0.5.7.7 stylesheets/stipe/gradients/mixins/_area_51.scss