SamanthaNguyen has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/347185 )

Change subject: Remove unnecessary vendor prefixes
......................................................................

Remove unnecessary vendor prefixes

- http://caniuse.com/#feat=border-radius
- http://caniuse.com/#feat=css-boxshadow

Change-Id: I0ddd8ad27caf3352ab1a291068ba05976ca52405
---
M resources/css/main.css
M skin.json
2 files changed, 8 insertions(+), 19 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/WPtouch 
refs/changes/85/347185/1

diff --git a/resources/css/main.css b/resources/css/main.css
index b701346..a428110 100644
--- a/resources/css/main.css
+++ b/resources/css/main.css
@@ -41,11 +41,11 @@
        /* @embed */
        background: #eee url(../images/quotes.png) no-repeat right -2px;
        border: 1px solid #ccc;
+       border-radius: 10px;
        font-size: 12px;
        margin: 5px 1px;
        padding: 10px;
        text-align: left;
-       webkit-border-radius: 10px;
 }
 
 /* ashley 16 June 2015: override 
/resources/src/mediawiki.skinning/elements.css */
@@ -284,10 +284,8 @@
 #wptouch-menu {
        box-shadow: #333 -6px 6px 6px;
        display: none;
-       moz-box-shadow: #333 -6px 6px 6px;
        position: absolute;
        top: 45px;
-       webkit-box-shadow: #333 -6px 6px 6px;
        z-index: 2;
 }
 #wptouch-menu-inner a:hover {
@@ -321,14 +319,13 @@
        background-color: #2c2c2c;
        border: 1px solid #1b1b1b;
        border-bottom: 1px solid #2c2c2c;
+       border-radius: 0 0 4px 4px;
+       box-shadow: #222 0px -2px 3px;
        color: #fff !important;
        margin-left: -1px;
        margin-right: -1px;
        position: relative;
        text-shadow: #000 0 -1px 1px;
-       webkit-border-top-left-radius: 4px;
-       webkit-border-top-right-radius: 4px;
-       webkit-box-shadow: #222 0px -2px 3px;
        z-index: 1;
 }
 #tabnav a:hover, #tabnav a:active {
@@ -356,7 +353,6 @@
        font-size: 13px;
        font-weight: bold;
        padding: 3px;
-       webkit-border-radius: 10px;
        border-radius: 10px;
        width: 120px;
 }
@@ -367,7 +363,6 @@
        font-weight: bold;
        margin-left: 5px;
        padding: 3px;
-       webkit-border-radius: 10px;
        border-radius: 10px;
        width: 120px;
 }
@@ -393,10 +388,8 @@
        font-size: 13px;
        font-weight: bold;
        margin-top: 6px;
-       moz-border-radius: 10px;
        padding: 4px;
        text-align: left;
-       webkit-border-radius: 10px;
        /* ashley: changed from 80 to 70 so that the "x" image fits on screen
         * when the device's screen res is 320x480px
         */
@@ -416,12 +409,8 @@
        margin-bottom: 12px;
        margin-left: 10px;
        margin-right: 10px;
-       moz-border-radius: 8px;
-       moz-box-shadow: rgba(255,255,255,.8) 0px 1px 0px;
        padding: 10px;
        position: relative;
-       webkit-border-radius: 8px;
-       webkit-box-shadow: rgba(255,255,255,.8) 0px 1px 0px;
        z-index: 0;
 }
 a.tt {
@@ -450,6 +439,8 @@
        /* ashley 15 June 2015: no such image, apparently...
        background: #0d0d0d url(../../images/saved.png) no-repeat center top;*/
        border: 3px solid #444;
+       border-radius: 15px;
+       box-shadow: #444 0px 0px 15px;
        color: #ddd;
        display: block;
        font: 14px Helvetica,Arial,sans-serif;
@@ -460,8 +451,6 @@
        padding-top: 110px;
        text-align: center;
        text-shadow: #000 -1px -1px 0;
-       webkit-border-radius: 15px;
-       webkit-box-shadow: #444 0px 0px 15px;
        width: auto;
 }
 
@@ -501,4 +490,4 @@
        background-color: #d0d0d0;
        font-weight: bold;
        padding: 0.3em;
-}
\ No newline at end of file
+}
diff --git a/skin.json b/skin.json
index 377b775..4a612e9 100644
--- a/skin.json
+++ b/skin.json
@@ -1,6 +1,6 @@
 {
        "name": "WPtouch",
-       "version": "1.0",
+       "version": "1.0.1",
        "author": [
                "Dale Mugford",
                "Duane Storey",
@@ -53,4 +53,4 @@
                }
        },
        "manifest_version": 1
-}
\ No newline at end of file
+}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0ddd8ad27caf3352ab1a291068ba05976ca52405
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/WPtouch
Gerrit-Branch: master
Gerrit-Owner: SamanthaNguyen <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to