Paladox has uploaded a new change for review.

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

Change subject: Add svg logo for wikimedia
......................................................................

Add svg logo for wikimedia

* Also temporailey disable x2 image until updated,
would be confusing to show desktop with the wikimedia logo and have phabricator 
on mobile.

* Svg should take care when x2 is being updated.

Change-Id: I39591d38d3c833b7d74f45a1481a4bd602a30018
---
M webroot/rsrc/css/sprite-menu.css
M webroot/rsrc/image/sprite-menu.png
A webroot/rsrc/image/sprite-menu.svg
3 files changed, 153 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/phabricator/phabricator 
refs/changes/54/222354/1

diff --git a/webroot/rsrc/css/sprite-menu.css b/webroot/rsrc/css/sprite-menu.css
index e016540..15ca13c 100644
--- a/webroot/rsrc/css/sprite-menu.css
+++ b/webroot/rsrc/css/sprite-menu.css
@@ -4,10 +4,14 @@
  */
 
 .sprite-menu {
-  background-image: url(/rsrc/image/sprite-menu.png);
+  background-image: url('/rsrc/image/sprite-menu.png');
+  /* @embed */
+  background-image: -webkit-linear-gradient(transparent, transparent), 
url('/rsrc/image/sprite-menu.svg');
+  /* @embed */
+  background-image: linear-gradient(transparent, transparent), 
url('/rsrc/image/sprite-menu.svg');
   background-repeat: no-repeat;
 }
-
+/* Temporarily disable this until the x2 image is updated
 @media
 only screen and (min-device-pixel-ratio: 1.5),
 only screen and (-webkit-min-device-pixel-ratio: 1.5) {
@@ -16,7 +20,7 @@
     background-size: 97px 123px;
   }
 }
-
+*/
 
 .dark-logo {
   background-position: 0px 0px;
@@ -31,5 +35,5 @@
 }
 
 .light-eye {
-  background-position: -41px -82px;
+  background-position: -62px -109px;
 }
diff --git a/webroot/rsrc/image/sprite-menu.png 
b/webroot/rsrc/image/sprite-menu.png
index 749951c..657d2e7 100644
--- a/webroot/rsrc/image/sprite-menu.png
+++ b/webroot/rsrc/image/sprite-menu.png
Binary files differ
diff --git a/webroot/rsrc/image/sprite-menu.svg 
b/webroot/rsrc/image/sprite-menu.svg
new file mode 100644
index 0000000..12c6388
--- /dev/null
+++ b/webroot/rsrc/image/sprite-menu.svg
@@ -0,0 +1,145 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:osb="http://www.openswatchbook.org/uri/2009/osb";
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="121.25"
+   height="153.75"
+   viewBox="0 0 744.09449 1052.3622"
+   id="svg2"
+   version="1.1"
+   inkscape:version="0.91 r13725"
+   sodipodi:docname="sprite-menu.svg">
+  <defs
+     id="defs4">
+    <linearGradient
+       id="linearGradient4552"
+       osb:paint="solid">
+      <stop
+         style="stop-color:#000000;stop-opacity:1;"
+         offset="0"
+         id="stop4554" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient4544"
+       osb:paint="solid">
+      <stop
+         style="stop-color:#3e485d;stop-opacity:1;"
+         offset="0"
+         id="stop4546" />
+    </linearGradient>
+    <clipPath
+       id="a">
+      <path
+         id="path3439"
+         d="m 178 176 v -364 l -165.8 165.8 l -0.01 132.2 h -24.38 v -132.2 l 
-165.8 -165.8 v 364" />
+    </clipPath>
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     bordercolor=""
+     borderopacity="1.0"
+     inkscape:zoom="1.54"
+     inkscape:cx="231.89805"
+     inkscape:cy="38.413628"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     inkscape:window-width="1366"
+     inkscape:window-height="705"
+     inkscape:window-x="-8"
+     inkscape:window-y="-8"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata7">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1">
+    <g
+       id="g3415"
+       transform="matrix(1.6043107,0,0,1.6057604,2.1033423,737.2283)"
+       style="fill-opacity:1;opacity:1;fill-rule:nonzero;fill:#3e485d">
+      <path
+         d="m 77.189,0 c 14.212,0 25.73,11.515 25.73,25.732 0,14.204 
-11.519,25.729 -25.73,25.729 C 62.978,51.461 51.46,39.937 51.46,25.732 
51.46,11.515 62.977,0 77.189,0 Z"
+         id="circle9_2_"
+         inkscape:connector-curvature="0"
+         style="fill-opacity:1;fill-rule:nonzero;fill:#3e485d" />
+      <path
+         d="M 129.139,20.094 114.55,34.681 c 11.796,10.375 19.252,25.576 
19.252,42.508 0,31.264 -25.353,56.604 -56.614,56.604 -31.262,0 -56.601,-25.341 
-56.601,-56.604 0,-16.929 7.437,-32.133 19.229,-42.508 L 25.251,20.094 C 
9.731,34.215 0,54.566 0,77.19 c 0,42.639 34.561,77.189 77.189,77.189 42.641,0 
77.191,-34.552 77.191,-77.189 0,-22.623 -9.736,-42.975 -25.241,-57.096 z"
+         id="path11_2_"
+         inkscape:connector-curvature="0"
+         style="fill-opacity:1;fill-rule:nonzero;fill:#3e485d" />
+      <g
+         id="g13_2_"
+         style="fill-opacity:1;fill-rule:nonzero;fill:#3e485d">
+        <path
+           d="m 107.255,41.979 -24.922,24.919 0,56.306 c 23.155,-2.559 
41.176,-22.177 41.176,-46.024 0,-14.09 -6.318,-26.708 -16.254,-35.201 z"
+           id="path15_2_"
+           inkscape:connector-curvature="0"
+           style="fill-opacity:1;fill-rule:nonzero;fill:#3e485d" />
+        <path
+           d="M 72.041,66.898 47.113,41.979 c -9.929,8.493 -16.241,21.111 
-16.241,35.202 0,23.847 18.011,43.475 41.169,46.024 l 0,-56.307 0,0 z"
+           id="path17_2_"
+           inkscape:connector-curvature="0"
+           style="fill-opacity:1;fill-rule:nonzero;fill:#3e485d" />
+      </g>
+    </g>
+    <path
+       id="path3441"
+       d="m 670.06072,71.877507 23.58909,0 34.68059,164.070973 -22.18308,0 
-6.24877,-30.72488 -36.08657,0 -6.24874,30.72488 -22.33933,0 z m 
-0.7811,104.157423 24.99505,0 -12.49751,-63.29329 z m -64.20596,-101.392212 
20.46467,0 0,161.305762 -20.46467,0 z m -97.01193,0 30.93132,0 c 16.71542,0 
29.5254,6.759486 37.80499,19.971182 8.43582,13.51898 12.49751,33.49016 
12.49751,60.22083 0,27.03793 -4.06169,47.31634 -12.02886,60.52809 
-8.12338,13.51892 -20.15225,20.89294 -36.2428,20.58566 l -32.96216,0 z m 
20.15224,131.502622 12.80992,0 c 9.06072,0 15.6219,-4.60876 20.15227,-12.90448 
4.53032,-8.29572 6.71739,-20.89294 6.71739,-38.09885 0,-16.89871 
-2.49949,-29.8032 -7.34228,-38.09893 -4.53036,-8.60294 -11.87264,-12.90444 
-21.55822,-12.90444 l -10.77908,0 z m -96.2309,29.80314 0,-161.305762 
60.45676,0 0,28.881442 -39.99206,0 0,34.71914 37.49254,0 0,28.88138 -37.49254,0 
0,39.32788 39.99206,0 0,29.49592 z m -85.92039,0 -20.46465,0 0,-161.305762 
18.43382,0 25.6199,58.070102 25.46369,-58.070102 18.43383,0 0,161.305762 
-20.62093,0 0,-99.24142 -21.55818,49.4671 -3.59307,0 -21.71441,-49.4671 z m 
-59.83186,-161.305762 20.62094,0 0,161.305762 -20.62094,0 z m 
-86.85772,161.305762 0,-161.305762 20.30845,0 0,76.505052 26.2448,-76.505052 
22.96416,0 -28.43182,77.119532 37.1801,84.18623 -26.08857,0 -31.86867,-77.11951 
0,77.11951 z m -39.21094,-161.305762 20.46468,0 0,161.305762 -20.46468,0 z M 
45.809904,238.40648 9.8795412,74.335496 l 22.4955308,0 18.590059,90.638454 
21.245773,-90.638454 15.934318,0 21.089548,90.638454 18.59007,-90.638454 
22.49553,0 -35.77414,164.070984 -8.90448,0 -25.463686,-102.0067 
-25.619908,102.0067 z"
+       inkscape:connector-curvature="0"
+       style="opacity:1;fill:#3e485d;fill-opacity:1;fill-rule:nonzero" />
+    <g
+       id="g3415-3"
+       transform="matrix(1.6043107,0,0,1.6057604,387.88947,736.63091)"
+       style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero">
+      <path
+         d="m 77.189,0 c 14.212,0 25.73,11.515 25.73,25.732 0,14.204 
-11.519,25.729 -25.73,25.729 C 62.978,51.461 51.46,39.937 51.46,25.732 
51.46,11.515 62.977,0 77.189,0 Z"
+         id="circle9_2_-4"
+         inkscape:connector-curvature="0"
+         style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero" />
+      <path
+         d="M 129.139,20.094 114.55,34.681 c 11.796,10.375 19.252,25.576 
19.252,42.508 0,31.264 -25.353,56.604 -56.614,56.604 -31.262,0 -56.601,-25.341 
-56.601,-56.604 0,-16.929 7.437,-32.133 19.229,-42.508 L 25.251,20.094 C 
9.731,34.215 0,54.566 0,77.19 c 0,42.639 34.561,77.189 77.189,77.189 42.641,0 
77.191,-34.552 77.191,-77.189 0,-22.623 -9.736,-42.975 -25.241,-57.096 z"
+         id="path11_2_-0"
+         inkscape:connector-curvature="0"
+         style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero" />
+      <g
+         id="g13_2_-5"
+         style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero">
+        <path
+           d="m 107.255,41.979 -24.922,24.919 0,56.306 c 23.155,-2.559 
41.176,-22.177 41.176,-46.024 0,-14.09 -6.318,-26.708 -16.254,-35.201 z"
+           id="path15_2_-3"
+           inkscape:connector-curvature="0"
+           style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero" />
+        <path
+           d="M 72.041,66.898 47.113,41.979 c -9.929,8.493 -16.241,21.111 
-16.241,35.202 0,23.847 18.011,43.475 41.169,46.024 l 0,-56.307 0,0 z"
+           id="path17_2_-5"
+           inkscape:connector-curvature="0"
+           style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero" />
+      </g>
+    </g>
+    <path
+       id="path3441-3"
+       d="m 669.89053,313.52415 23.29725,0 34.25143,172.8289 -21.90862,0 
-6.17136,-32.36495 -35.64015,0 -6.17145,32.36495 -22.06292,0 z m 
-0.77142,109.71723 24.68579,0 -12.3429,-66.67182 z m -63.41162,-106.80441 
20.21149,0 0,169.91608 -20.21149,0 z m -95.8116,0 30.54864,0 c 16.50859,0 
29.16009,7.1203 37.33719,21.03722 8.3315,14.2406 12.3429,35.27782 
12.3429,63.43535 0,28.48118 -4.0114,49.84202 -11.87999,63.75901 
-8.02289,14.24054 -19.90297,22.00818 -35.79445,21.6845 l -32.55429,0 z m 
19.90288,138.52208 12.65141,0 c 8.94861,0 15.42866,-4.85477 19.90297,-13.5933 
4.47431,-8.73854 6.63426,-22.00819 6.63426,-40.13253 0,-17.80075 
-2.46856,-31.39406 -7.25138,-40.13261 -4.47439,-9.06215 -11.72577,-13.59326 
-21.2915,-13.59326 l -10.64576,0 z m -95.04027,31.394 0,-169.91608 59.70873,0 
0,30.4231 -39.49725,0 0,36.5724 37.02869,0 0,30.42304 -37.02869,0 0,41.42716 
39.49725,0 0,31.07038 z m -84.85733,0 -20.2114,0 0,-169.91608 18.20574,0 
25.30291,61.16982 25.1486,-61.16982 18.20574,0 0,169.91608 -20.36578,0 
0,-104.53882 -21.29142,52.1076 -3.54859,0 -21.4458,-52.1076 z m 
-59.09153,-169.91608 20.36579,0 0,169.91608 -20.36579,0 z m -85.78305,169.91608 
0,-169.91608 20.05718,0 0,80.58879 25.92002,-80.58879 22.68005,0 
-28.08007,81.23608 36.72008,88.68 -25.76573,0 -31.47435,-81.23607 0,81.23607 z 
m -38.72583,-169.91608 20.21149,0 0,169.91608 -20.21149,0 z M 
53.363361,488.94225 17.877515,316.11335 l 22.217229,0 18.36004,95.47663 
20.982904,-95.47663 15.737177,0 20.828605,95.47663 18.36003,-95.47663 
22.21723,0 -35.33154,172.8289 -8.79431,0 -25.148604,-107.4517 
-25.302907,107.4517 z"
+       inkscape:connector-curvature="0"
+       style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero" />
+  </g>
+</svg>

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I39591d38d3c833b7d74f45a1481a4bd602a30018
Gerrit-PatchSet: 1
Gerrit-Project: phabricator/phabricator
Gerrit-Branch: master
Gerrit-Owner: Paladox <[email protected]>

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

Reply via email to