r105217 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105216‎ | r105217 | r105218 >
Date:20:29, 5 December 2011
Author:preilly
Status:deferred
Tags:
Comment:
1.18wmf1: MFT r105121
Modified paths:
  • /branches/wmf/1.18wmf1/extensions/MobileFrontend/stylesheets/android.css (modified) (history)
  • /branches/wmf/1.18wmf1/extensions/MobileFrontend/stylesheets/default.css (modified) (history)
  • /branches/wmf/1.18wmf1/extensions/MobileFrontend/stylesheets/images/s-hdpi.png (added) (history)
  • /branches/wmf/1.18wmf1/extensions/MobileFrontend/stylesheets/images/s-xhdpi.png (added) (history)
  • /branches/wmf/1.18wmf1/extensions/MobileFrontend/stylesheets/images/s.svg (added) (history)
  • /branches/wmf/1.18wmf1/extensions/MobileFrontend/stylesheets/iphone.css (modified) (history)
  • /branches/wmf/1.18wmf1/extensions/MobileFrontend/stylesheets/webkit.css (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/extensions/MobileFrontend/stylesheets/images/s-xhdpi.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/wmf/1.18wmf1/extensions/MobileFrontend/stylesheets/images/s-xhdpi.png
___________________________________________________________________
Added: svn:mime-type
11 + application/octet-stream
Index: branches/wmf/1.18wmf1/extensions/MobileFrontend/stylesheets/images/s.svg
@@ -0,0 +1,94 @@
 2+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
 3+<!-- Created with Inkscape (http://www.inkscape.org/) -->
 4+
 5+<svg
 6+ xmlns:dc="http://purl.org/dc/elements/1.1/"
 7+ xmlns:cc="http://creativecommons.org/ns#"
 8+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 9+ xmlns:svg="http://www.w3.org/2000/svg"
 10+ xmlns="http://www.w3.org/2000/svg"
 11+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
 12+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
 13+ width="27"
 14+ height="25"
 15+ id="svg2"
 16+ version="1.1"
 17+ inkscape:version="0.48.1 r9760"
 18+ sodipodi:docname="New document 1">
 19+ <defs
 20+ id="defs4" />
 21+ <sodipodi:namedview
 22+ id="base"
 23+ pagecolor="#ffffff"
 24+ bordercolor="#666666"
 25+ borderopacity="1.0"
 26+ inkscape:pageopacity="0.0"
 27+ inkscape:pageshadow="2"
 28+ inkscape:zoom="9.1930139"
 29+ inkscape:cx="-5.0466922"
 30+ inkscape:cy="11.152767"
 31+ inkscape:document-units="px"
 32+ inkscape:current-layer="layer1"
 33+ showgrid="false"
 34+ inkscape:snap-global="false"
 35+ inkscape:window-width="1920"
 36+ inkscape:window-height="1032"
 37+ inkscape:window-x="0"
 38+ inkscape:window-y="0"
 39+ inkscape:window-maximized="0" />
 40+ <metadata
 41+ id="metadata7">
 42+ <rdf:RDF>
 43+ <cc:Work
 44+ rdf:about="">
 45+ <dc:format>image/svg+xml</dc:format>
 46+ <dc:type
 47+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
 48+ <dc:title></dc:title>
 49+ </cc:Work>
 50+ </rdf:RDF>
 51+ </metadata>
 52+ <g
 53+ inkscape:label="Layer 1"
 54+ inkscape:groupmode="layer"
 55+ id="layer1"
 56+ transform="translate(0,-1027.3622)">
 57+ <rect
 58+ style="fill:#a2a2a2;fill-opacity:1;stroke:none"
 59+ id="rect3074"
 60+ width="24.692663"
 61+ height="23.169767"
 62+ x="1.9580075"
 63+ y="1028.8661"
 64+ rx="2"
 65+ ry="2" />
 66+ <rect
 67+ style="fill:#e3e3e3;fill-opacity:1;stroke:none"
 68+ id="rect3078"
 69+ width="24.692663"
 70+ height="23.169767"
 71+ x="0.4351117"
 72+ y="1027.6694"
 73+ rx="2"
 74+ ry="2" />
 75+ <g
 76+ id="g3089"
 77+ transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,752.03149,313.73167)">
 78+ <path
 79+ inkscape:connector-curvature="0"
 80+ id="path3080"
 81+ d="m -13.28125,1027.5554 c -4.475705,0 -8.09375,3.6493 -8.09375,8.125 0,4.4757 3.618045,8.0937 8.09375,8.0937 4.4757046,0 8.125,-3.618 8.125,-8.0937 0,-4.4757 -3.6492954,-8.125 -8.125,-8.125 z m 0,2.25 c 3.244135,0 5.875,2.6308 5.875,5.875 0,3.2441 -2.630865,5.875 -5.875,5.875 -3.244135,0 -5.875,-2.6309 -5.875,-5.875 0,-3.2442 2.630865,-5.875 5.875,-5.875 z"
 82+ style="fill:#595959;fill-opacity:1;stroke:none" />
 83+ <rect
 84+ ry="2"
 85+ rx="2"
 86+ transform="translate(0,1027.3622)"
 87+ y="6.1813622"
 88+ x="-5.5476909"
 89+ height="4.242352"
 90+ width="10.660269"
 91+ id="rect3087"
 92+ style="fill:#595959;fill-opacity:1;stroke:none" />
 93+ </g>
 94+ </g>
 95+</svg>
Index: branches/wmf/1.18wmf1/extensions/MobileFrontend/stylesheets/images/s-hdpi.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/wmf/1.18wmf1/extensions/MobileFrontend/stylesheets/images/s-hdpi.png
___________________________________________________________________
Added: svn:mime-type
196 + application/octet-stream
Index: branches/wmf/1.18wmf1/extensions/MobileFrontend/stylesheets/android.css
@@ -217,9 +217,20 @@
218218 #searchbox #goButton {
219219 border: 0;
220220 background: url(images/s.gif) no-repeat top left;
 221+ background-size: 27px 25px;
221222 height: 25px;
222223 width: 27px;
223224 }
 225+@media screen and (-webkit-device-pixel-ratio: 1.5) {
 226+ #searchbox #goButton {
 227+ background-image: url(images/s-hdpi.png) !important;
 228+ }
 229+}
 230+@media screen and (-webkit-device-pixel-ratio: 2.0) {
 231+ #searchbox #goButton {
 232+ background-image: url(images/s-xhdpi.png) !important;
 233+ }
 234+}
224235
225236 #searchbox #searchField {
226237 width: auto;
Index: branches/wmf/1.18wmf1/extensions/MobileFrontend/stylesheets/iphone.css
@@ -217,9 +217,15 @@
218218 #searchbox #goButton {
219219 border: 0;
220220 background: url(images/s.gif) no-repeat top left;
 221+ background-size: 27px 25px;
221222 height: 25px;
222223 width: 27px;
223224 }
 225+@media screen and (-webkit-device-pixel-ratio: 2.0) {
 226+ #searchbox #goButton {
 227+ background-image: url(images/s-xhdpi.png) !important;
 228+ }
 229+}
224230
225231 #searchbox #searchField {
226232 width: auto;
Index: branches/wmf/1.18wmf1/extensions/MobileFrontend/stylesheets/default.css
@@ -217,6 +217,7 @@
218218 #searchbox #goButton {
219219 border: 0;
220220 background: url(images/s.gif) no-repeat top left;
 221+ background-size: 27px 25px;
221222 height: 25px;
222223 width: 27px;
223224 }
Index: branches/wmf/1.18wmf1/extensions/MobileFrontend/stylesheets/webkit.css
@@ -217,9 +217,20 @@
218218 #searchbox #goButton {
219219 border: 0;
220220 background: url(images/s.gif) no-repeat top left;
 221+ background-size: 27px 25px;
221222 height: 25px;
222223 width: 27px;
223224 }
 225+@media screen and (-webkit-device-pixel-ratio: 1.5) {
 226+ #searchbox #goButton {
 227+ background-image: url(images/s-hdpi.png) !important;
 228+ }
 229+}
 230+@media screen and (-webkit-device-pixel-ratio: 2.0) {
 231+ #searchbox #goButton {
 232+ background-image: url(images/s-xhdpi.png) !important;
 233+ }
 234+}
224235
225236 #searchbox #searchField {
226237 width: auto;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r105121Followup r105120: add the high-res images and an SVG master for the search iconbrion17:56, 4 December 2011

Status & tagging log