JGonera has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/72223


Change subject: Remove -ms-linear-gradient from .vertical-gradient LESS mixin
......................................................................

Remove -ms-linear-gradient from .vertical-gradient LESS mixin

Comment claims that it's for IE 10, but it's not the case. IE 10 supports
it without a vendor prefix, and IE < 10 doesn't support it at all
(tested on Windows Phone 8). Possibly a non-final version of IE 10 needed
it.

https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient
http://caniuse.com/css-gradients

Change-Id: I09add76ef5db3a990a8769ea8771bfa7931ebc29
---
M less/mf-mixins.less
M stylesheets/common/ui.css
M stylesheets/specials/mobileoptions.css
3 files changed, 0 insertions(+), 10 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/23/72223/1

diff --git a/less/mf-mixins.less b/less/mf-mixins.less
index e496a8f..9b08f43 100644
--- a/less/mf-mixins.less
+++ b/less/mf-mixins.less
@@ -73,7 +73,6 @@
 .vertical-gradient ( @startColor: gray, @endColor: white, @startPos: 0, 
@endPos: 100% ) {
        background-color: @endColor;
        background-image: -moz-linear-gradient( top, @startColor @startPos, 
@endColor @endPos ); // Firefox 3.6+
-       background-image: -ms-linear-gradient( top, @startColor @startPos, 
@endColor @endPos );  // IE10
        background-image: -webkit-gradient( linear, left top, left bottom, 
color-stop( @startPos, @startColor ), color-stop( @endPos, @endColor ) ); // 
Safari 4+, Chrome 2+
        background-image: -webkit-linear-gradient( top, @startColor @startPos, 
@endColor @endPos ); // Safari 5.1+, Chrome 10+
        background-image: linear-gradient( @startColor @startPos, @endColor 
@endPos ); // Standard
diff --git a/stylesheets/common/ui.css b/stylesheets/common/ui.css
index 0cfe9d7..8a513c3 100644
--- a/stylesheets/common/ui.css
+++ b/stylesheets/common/ui.css
@@ -31,7 +31,6 @@
   text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
   background-color: #3366bb;
   background-image: -moz-linear-gradient(top, #3670c8 0, #3366bb 100%);
-  background-image: -ms-linear-gradient(top, #3670c8 0, #3366bb 100%);
   background-image: -webkit-gradient(linear, left top, left bottom, 
color-stop(0, #3670c8), color-stop(100%, #3366bb));
   background-image: -webkit-linear-gradient(top, #3670c8 0, #3366bb 100%);
   background-image: linear-gradient(#3670c8 0, #3366bb 100%);
@@ -47,7 +46,6 @@
 .drawer input[type=submit]:hover {
   background-color: #3f77d7;
   background-image: -moz-linear-gradient(top, #4c84da 0, #3f77d7 100%);
-  background-image: -ms-linear-gradient(top, #4c84da 0, #3f77d7 100%);
   background-image: -webkit-gradient(linear, left top, left bottom, 
color-stop(0, #4c84da), color-stop(100%, #3f77d7));
   background-image: -webkit-linear-gradient(top, #4c84da 0, #3f77d7 100%);
   background-image: linear-gradient(#4c84da 0, #3f77d7 100%);
@@ -63,7 +61,6 @@
 .drawer input[type=submit]:active {
   background-color: #2a549c;
   background-image: -moz-linear-gradient(top, #2d5ea9 0, #2a549c 100%);
-  background-image: -ms-linear-gradient(top, #2d5ea9 0, #2a549c 100%);
   background-image: -webkit-gradient(linear, left top, left bottom, 
color-stop(0, #2d5ea9), color-stop(100%, #2a549c));
   background-image: -webkit-linear-gradient(top, #2d5ea9 0, #2a549c 100%);
   background-image: linear-gradient(#2d5ea9 0, #2a549c 100%);
@@ -91,7 +88,6 @@
   color: #bed1f1;
   background-color: #7798d2;
   background-image: -moz-linear-gradient(top, #7798d2 0, #7798d2 100%);
-  background-image: -ms-linear-gradient(top, #7798d2 0, #7798d2 100%);
   background-image: -webkit-gradient(linear, left top, left bottom, 
color-stop(0, #7798d2), color-stop(100%, #7798d2));
   background-image: -webkit-linear-gradient(top, #7798d2 0, #7798d2 100%);
   background-image: linear-gradient(#7798d2 0, #7798d2 100%);
@@ -144,7 +140,6 @@
   text-decoration: none;
   background-color: #e9e9ea;
   background-image: -moz-linear-gradient(top, #ffffff 45%, #e9e9ea 100%);
-  background-image: -ms-linear-gradient(top, #ffffff 45%, #e9e9ea 100%);
   background-image: -webkit-gradient(linear, left top, left bottom, 
color-stop(45%, #ffffff), color-stop(100%, #e9e9ea));
   background-image: -webkit-linear-gradient(top, #ffffff 45%, #e9e9ea 100%);
   background-image: linear-gradient(#ffffff 45%, #e9e9ea 100%);
@@ -172,7 +167,6 @@
 .header .button-bar li:active button {
   background-color: #e9e9ea;
   background-image: -moz-linear-gradient(top, #c8cacb 0, #e9e9ea 100%);
-  background-image: -ms-linear-gradient(top, #c8cacb 0, #e9e9ea 100%);
   background-image: -webkit-gradient(linear, left top, left bottom, 
color-stop(0, #c8cacb), color-stop(100%, #e9e9ea));
   background-image: -webkit-linear-gradient(top, #c8cacb 0, #e9e9ea 100%);
   background-image: linear-gradient(#c8cacb 0, #e9e9ea 100%);
@@ -355,7 +349,6 @@
   color: black;
   background-color: #f3f3f3;
   background-image: -moz-linear-gradient(top, #fafafa 0, #f3f3f3 100%);
-  background-image: -ms-linear-gradient(top, #fafafa 0, #f3f3f3 100%);
   background-image: -webkit-gradient(linear, left top, left bottom, 
color-stop(0, #fafafa), color-stop(100%, #f3f3f3));
   background-image: -webkit-linear-gradient(top, #fafafa 0, #f3f3f3 100%);
   background-image: linear-gradient(#fafafa 0, #f3f3f3 100%);
diff --git a/stylesheets/specials/mobileoptions.css 
b/stylesheets/specials/mobileoptions.css
index f41c800..fe62c56 100644
--- a/stylesheets/specials/mobileoptions.css
+++ b/stylesheets/specials/mobileoptions.css
@@ -52,7 +52,6 @@
   color: white;
   background-color: #818181;
   background-image: -moz-linear-gradient(top, #aeaeae 0, #818181 100%);
-  background-image: -ms-linear-gradient(top, #aeaeae 0, #818181 100%);
   background-image: -webkit-gradient(linear, left top, left bottom, 
color-stop(0, #aeaeae), color-stop(100%, #818181));
   background-image: -webkit-linear-gradient(top, #aeaeae 0, #818181 100%);
   background-image: linear-gradient(#aeaeae 0, #818181 100%);
@@ -102,7 +101,6 @@
   border-bottom: solid 1px #aaa;
   background-color: #ebebeb;
   background-image: -moz-linear-gradient(top, #eeeeee 0, #ebebeb 100%);
-  background-image: -ms-linear-gradient(top, #eeeeee 0, #ebebeb 100%);
   background-image: -webkit-gradient(linear, left top, left bottom, 
color-stop(0, #eeeeee), color-stop(100%, #ebebeb));
   background-image: -webkit-linear-gradient(top, #eeeeee 0, #ebebeb 100%);
   background-image: linear-gradient(#eeeeee 0, #ebebeb 100%);

-- 
To view, visit https://gerrit.wikimedia.org/r/72223
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I09add76ef5db3a990a8769ea8771bfa7931ebc29
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: JGonera <jgon...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to