From 531947e80279d9eda02468729fd0a5bd0960600e Mon Sep 17 00:00:00 2001 From: "Smriti.Singh" Date: Wed, 27 May 2015 13:41:50 +0300 Subject: [PATCH] mmv.mixins.less: Remove '-ms-linear-gradient' No stable versions of IE have an '-ms-linear-gradient'. Any lines using the same have been removed. Bug: T100285 Change-Id: I9fccb3f2208433d2759949a39b86b46d5b71eac1 --- resources/mmv/mmv.mixins.less | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/resources/mmv/mmv.mixins.less b/resources/mmv/mmv.mixins.less index fa037a11e..602774391 100644 --- a/resources/mmv/mmv.mixins.less +++ b/resources/mmv/mmv.mixins.less @@ -25,25 +25,23 @@ // from http://stackoverflow.com/a/12178019/323407 .fade-out-vertical(@backgroundColor: white) { @invisible: fadeout(@backgroundColor, 100%); - background-image: linear-gradient(to bottom, @invisible 0%, @backgroundColor 100%); // W3C background-image: -moz-linear-gradient(top, @invisible 0%, @backgroundColor 100%); // FF3.6+ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, @invisible), color-stop(100%, @backgroundColor)); // Chrome,Safari4+ background-image: -webkit-linear-gradient(top, @invisible 0%, @backgroundColor 100%); // Chrome10+,Safari5.1+ background-image: -o-linear-gradient(top, @invisible 0%, @backgroundColor 100%); // Opera 11.10+ - background-image: -ms-linear-gradient(top, @invisible 0%, @backgroundColor 100%); // IE10+ + background-image: linear-gradient(to bottom, @invisible 0%, @backgroundColor 100%); // W3C filter: e(%("progid:DXImageTransform.Microsoft.gradient( startColorstr='#%s', endColorstr='#%s',GradientType=0 )", rgbahex(@invisible), rgbahex(@backgroundColor))); // IE6-9 } .fade-out-horizontal(@backgroundColor: white) { @invisible: fadeout(@backgroundColor, 100%); - background-image: linear-gradient(to right, @invisible 0%, @backgroundColor 100%); // W3C background-image: -moz-linear-gradient(left, @invisible 0%, @backgroundColor 100%); // FF3.6+ background-image: -webkit-gradient(linear, left top, right top, color-stop(0%, @invisible), color-stop(100%, @backgroundColor)); // Chrome,Safari4+ background-image: -webkit-linear-gradient(left, @invisible 0%, @backgroundColor 100%); // Chrome10+,Safari5.1+ background-image: -o-linear-gradient(left, @invisible 0%, @backgroundColor 100%); // Opera 11.10+ - background-image: -ms-linear-gradient(left, @invisible 0%, @backgroundColor 100%); // IE10+ + background-image: linear-gradient(to right, @invisible 0%, @backgroundColor 100%); // W3C filter: e(%("progid:DXImageTransform.Microsoft.gradient( startColorstr='#%s', endColorstr='#%s',GradientType=1 )", rgbahex(@invisible), rgbahex(@backgroundColor))); // IE6-9 }