From f2a09a0166b20cd0bc452028dfc24a40678e957d Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 6 Mar 2014 07:50:38 +0200 Subject: [PATCH] Make the gradient mixin more explicit. --- sass/mixins.scss | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sass/mixins.scss b/sass/mixins.scss index d7faca8..49fe803 100644 --- a/sass/mixins.scss +++ b/sass/mixins.scss @@ -38,14 +38,14 @@ // Gradients @mixin gradient($color-form, $color-to) { - background: $color-form; // Old browsers - background: -moz-linear-gradient(top, $color-form 0%, $color-to 100%); // FF3.6+ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$color-form), color-stop(100%,$color-to)); // Chrome,Safari4+ - background: -webkit-linear-gradient(top, $color-form 0%, $color-to 100%); // Chrome10+,Safari5.1+ - background: -o-linear-gradient(top, $color-form 0%, $color-to 100%); // Opera 11.10+ - background: -ms-linear-gradient(top, $color-form 0%, $color-to 100%); // IE10+ - background: linear-gradient(to bottom, $color-form 0%, $color-to 100%); // W3C - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='$color-form', endColorstr='$color-to',GradientType=0 ); // IE6-9 + background-color: $color-form; // Old browsers + background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$color-form), color-stop(100%,$color-to)); // Chrome,Safari4+ + background-image: -webkit-linear-gradient(top, $color-form 0%, $color-to 100%); // Chrome10+,Safari5.1+ + background-image: -moz-linear-gradient(top, $color-form 0%, $color-to 100%); // FF3.6+ + background-image: -ms-linear-gradient(top, $color-form 0%, $color-to 100%); // IE10+ + background-image: -o-linear-gradient(top, $color-form 0%, $color-to 100%); // Opera 11.10+ + background-image: linear-gradient(to bottom, $color-form 0%, $color-to 100%); // W3C + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='$color-form', endColorstr='$color-to', GradientType=0 ); // IE6-9 }