]> git.openstreetmap.org Git - rails.git/commitdiff
Add sprite and geolocate alternate color
authorTom MacWright <tom@macwright.org>
Thu, 13 Jun 2013 21:56:01 +0000 (17:56 -0400)
committerJohn Firebaugh <john.firebaugh@gmail.com>
Thu, 18 Jul 2013 17:45:16 +0000 (10:45 -0700)
app/assets/images/sprite.png
app/assets/images/sprite.svg
app/assets/stylesheets/common.css.scss

index baac9b835fdf9a5209ed63fac075bf26cce9fa67..9f857f852b8a5c783b4d256474a14a46d5ab68d7 100644 (file)
Binary files a/app/assets/images/sprite.png and b/app/assets/images/sprite.png differ
index 570c5802645d448b2b105741f4a3cb8b30362a6a..2e1d309e4b60acf7759f946b9103d7210f1874ce 100644 (file)
@@ -14,7 +14,7 @@
    id="svg2"
    version="1.1"
    inkscape:version="0.48.2 r9819"
    id="svg2"
    version="1.1"
    inkscape:version="0.48.2 r9819"
-   inkscape:export-filename="/Users/saman/work_repos/openstreetmap-website/app/assets/images/sprite.png"
+   inkscape:export-filename="/Users/tmcw/src/openstreetmap-website/app/assets/images/sprite.png"
    inkscape:export-xdpi="90"
    inkscape:export-ydpi="90"
    sodipodi:docname="sprite.svg">
    inkscape:export-xdpi="90"
    inkscape:export-ydpi="90"
    sodipodi:docname="sprite.svg">
      borderopacity="1.0"
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
      borderopacity="1.0"
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
-     inkscape:zoom="4"
-     inkscape:cx="220.09965"
-     inkscape:cy="184.12173"
+     inkscape:zoom="5"
+     inkscape:cx="159.62972"
+     inkscape:cy="181.16738"
      inkscape:document-units="px"
      inkscape:current-layer="layer1"
      inkscape:document-units="px"
      inkscape:current-layer="layer1"
-     showgrid="false"
+     showgrid="true"
      inkscape:window-width="1280"
      inkscape:window-height="756"
      inkscape:window-x="0"
      inkscape:window-width="1280"
      inkscape:window-height="756"
      inkscape:window-x="0"
        id="path11741"
        inkscape:connector-curvature="0"
        sodipodi:nodetypes="cccccccccccc" />
        id="path11741"
        inkscape:connector-curvature="0"
        sodipodi:nodetypes="cccccccccccc" />
+    <path
+       inkscape:export-ydpi="90"
+       inkscape:export-xdpi="90"
+       inkscape:export-filename="/Users/saman/work_repos/osm-redesign/renders/share-1.png"
+       sodipodi:nodetypes="ccccccccc"
+       inkscape:connector-curvature="0"
+       id="path6918-2"
+       d="m 84,882.36218 0,-2.00001 10,-3.99999 2,1e-5 0,1.99998 -4,10 -2,10e-6 0,-6 z"
+       style="color:#000000;fill:#70cd8f;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:5;marker:none;visibility:visible;display:inline;overflow:visible;filter:url(#filter6591-2);enable-background:accumulate" />
   </g>
 </svg>
   </g>
 </svg>
index dba6205fb926db87bbe8f06d82c4bf3555b08753..484d5661e0ef16427b2a9ca5b398d5dd20e3e718 100644 (file)
@@ -162,6 +162,7 @@ h6:first-child {
 .icon.zoomin      { background-position: -40px 0; }
 .icon.zoomout     { background-position: -60px 0; }
 .icon.geolocate   { background-position: -80px 0; }
 .icon.zoomin      { background-position: -40px 0; }
 .icon.zoomout     { background-position: -60px 0; }
 .icon.geolocate   { background-position: -80px 0; }
+.active .icon.geolocate   { background-position: -80px -20px; }
 .icon.layers      { background-position: -100px 0; }
 .icon.key         { background-position: -120px 0; }
 .icon.share       { background-position: -140px 0; }
 .icon.layers      { background-position: -100px 0; }
 .icon.key         { background-position: -120px 0; }
 .icon.share       { background-position: -140px 0; }