Bug 1046693 - Make cog on newtab page less blurry. r=Unfocused a=sylvestre
authorManish Goregaokar <manishearth@gmail.com>
Mon, 11 Aug 2014 09:27:00 -0400
changeset 217671 24b8334087d662ba45ddcb89706864d9ff1f9c2f
parent 217670 ec043dac15daa5d070e843865b5eb17f4c2f6dc3
child 217672 cd0f797c10cae0bc6504b3df158c855c65473f0d
push id515
push userraliiev@mozilla.com
push dateMon, 06 Oct 2014 12:51:51 +0000
treeherdermozilla-release@267c7a481bef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersUnfocused, sylvestre
bugs1046693
milestone33.0a2
Bug 1046693 - Make cog on newtab page less blurry. r=Unfocused a=sylvestre
browser/themes/shared/newtab/controls.svg
--- a/browser/themes/shared/newtab/controls.svg
+++ b/browser/themes/shared/newtab/controls.svg
@@ -14,26 +14,21 @@
     <style type="text/css"><![CDATA[
       /* Glyph Styles */
 
       .glyphShape-style {
         fill: #7a7a7a;
       }
 
       .glyphShape-style-hover-gear {
-        fill: url(#gradient-linear-hover-gear);
-      }
-      .glyphShape-style-hover-gear-dropshadow {
-        fill: #000;
-        fill-opacity: .5;
-        filter: url(#filter-shadow-drop);
+        fill: #4a90e2;
       }
 
       .glyphShape-style-hover-pin {
-        fill: #0092e5;
+        fill: #4a90e2;
       }
 
       .glyphShape-style-hover-delete {
         fill: #ea0000;
       }
 
       .glyphShape-style-hover-active {
         fill: #231f20;
@@ -52,39 +47,30 @@
       }
       ]]></style>
 
     <filter id="filter-shadow-drop" x="-10%" y="-10%" width="120%" height="120%">
       <feOffset in="SourceAlpha" dx="0" dy=".75" result="filter-shadow-drop-offset" />
       <feGaussianBlur in="filter-shadow-drop-offset" stdDeviation="1" result="filter-shadow-drop-blur"/>
     </filter>
 
-    <linearGradient id="gradient-linear-hover-gear"
-                    x1="0%" y1="0%"
-                    x2="0%" y2="100%"
-                    spreadMethod="pad">
-      <stop offset="0%"   stop-color="#a1a0a0" stop-opacity="1"/>
-      <stop offset="100%" stop-color="#676767" stop-opacity="1"/>
-    </linearGradient>
-
     <path    id="glyphShape-gear" d="M28,16c0-1.7,0.9-3.1,2-3.3c-0.4-1.5-0.9-2.9-1.7-4.2c-0.9,0.7-2.6,0.3-3.8-0.9c-1.2-1.2-1.6-2.8-0.9-3.8 c-1.3-0.8-2.7-1.4-4.2-1.7c-0.2,1.1-1.6,2-3.3,2S13,3.1,12.8,2c-1.5,0.4-2.9,0.9-4.2,1.7c0.7,0.9,0.3,2.6-0.9,3.8 c-1.4,1.1-3,1.5-4,0.9C2.9,9.7,2.4,11.2,2,12.7c1.1,0.2,2,1.6,2,3.3s-0.9,3.1-2,3.3c0.4,1.5,0.9,2.9,1.7,4.2 c0.9-0.7,2.6-0.3,3.8,0.9c1.2,1.2,1.6,2.8,0.9,3.8c1.3,0.8,2.7,1.4,4.2,1.7c0.2-1.1,1.6-2,3.3-2s3.1,0.9,3.3,2 c1.5-0.4,2.9-0.9,4.2-1.7c-0.7-0.9-0.3-2.6,0.9-3.8c1.3-1.2,2.8-1.6,3.8-0.9c0.8-1.3,1.4-2.7,1.7-4.2C28.9,19.1,28,17.7,28,16z M16,24c-4.4,0-8-3.6-8-8s3.6-8,8-8s8,3.6,8,8S20.4,24,16,24z" />
 
     <circle  id="glyphShape-circle" cx="16" cy="16" r="14" />
 
     <path    id="glyphShape-pin" d="M19,15v-5h2V7H11v3h2v5l-3,2v2h5c0,4.5,0.4,8,1,8s1-3.5,1-8h5v-2L19,15z" />
     <polygon id="glyphShape-delete" points="23,11 21,9 16,14 11,9 9,11 14,16 9,21 11,23 16,18 21,23 23,21 18,16" />
 
   </defs>
 
   <g id="icon-gear-default">
     <use xlink:href="#glyphShape-gear"   class="glyphShape-style" />
   </g>
 
   <g id="icon-gear-default" transform="translate(32)">
-    <use xlink:href="#glyphShape-gear"   class="glyphShape-style-hover-gear-dropshadow" />
     <use xlink:href="#glyphShape-gear"   class="glyphShape-style-hover-gear" />
   </g>
 
   <g id="icon-pin-default" transform="translate(64)">
     <use xlink:href="#glyphShape-circle" class="glyphShape-style-circle-dropshadow" />
     <use xlink:href="#glyphShape-circle" class="glyphShape-style-circle" />
     <use xlink:href="#glyphShape-pin"    class="glyphShape-style" />
   </g>