Bug 1221174 - Define the HiDPI version of Share's add-share-button for all themes. r=dolske, a=sledru
authorJared Wein <jwein@mozilla.com>
Tue, 16 Aug 2016 15:44:15 -0400
changeset 340446 4169e451cbd0677090bdd648f010434b27599c94
parent 340445 314849c716d7027f555283d0370f5bf3d8261be0
child 340447 901d8d3d4597f8a437aaacc9d6bd999ef24fd6b9
push id6337
push userryanvm@gmail.com
push dateThu, 25 Aug 2016 03:33:50 +0000
treeherdermozilla-beta@901d8d3d4597 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdolske, sledru
bugs1221174
milestone49.0
Bug 1221174 - Define the HiDPI version of Share's add-share-button for all themes. r=dolske, a=sledru MozReview-Commit-ID: DgNcIVERdx1
browser/themes/osx/browser.css
browser/themes/shared/menupanel.inc.css
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -1059,21 +1059,16 @@ toolbar .toolbarbutton-1 > .toolbarbutto
 
   #sidebar-button@toolbarButtonPressed@ {
     -moz-image-region: rect(36px, 1368px, 72px, 1332px);
   }
 
   #panic-button@toolbarButtonPressed@ {
     -moz-image-region: rect(36px, 1404px, 72px, 1368px);
   }
-
-  #add-share-provider {
-    list-style-image: url(chrome://browser/skin/menuPanel-small@2x.png);
-    -moz-image-region: rect(0px, 192px, 32px, 160px);
-  }
 }
 
 toolbar .toolbarbutton-1:not([type="menu-button"]),
 toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
   min-width: 28px;
 }
 
 #main-window:not([customizing]) .toolbarbutton-1[disabled="true"] > .toolbarbutton-icon,
--- a/browser/themes/shared/menupanel.inc.css
+++ b/browser/themes/shared/menupanel.inc.css
@@ -388,16 +388,21 @@
   #panic-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
     -moz-image-region: rect(64px, 1792px, 128px, 1728px);
   }
 
   toolbaritem[sdkstylewidget="true"] > toolbarbutton {
     -moz-image-region: rect(0, 1664px, 64px, 1600px);
   }
 
+  #add-share-provider {
+    list-style-image: url(chrome://browser/skin/menuPanel-small@2x.png);
+    -moz-image-region: rect(0px, 192px, 32px, 160px);
+  }
+
   /* Footer and wide panel control icons */
   #edit-controls@inAnyPanel@ > toolbarbutton,
   #zoom-controls@inAnyPanel@ > toolbarbutton,
   toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
   toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
     list-style-image: var(--menupanel-small-list-style-image-2x);
   }