Bug 1000051 - Fix hidpi close icon size. r=dao, a=lsblakk
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Mon, 12 May 2014 16:57:43 +0100
changeset 192281 504c3281b663
parent 192280 1c2c267a019f
child 192282 b927870d378d
push id3557
push userryanvm@gmail.com
push date2014-05-14 16:23 +0000
Treeherderresults
reviewersdao, lsblakk
bugs1000051
milestone30.0
Bug 1000051 - Fix hidpi close icon size. r=dao, a=lsblakk
browser/themes/osx/browser.css
toolkit/themes/osx/global/global.css
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -2896,20 +2896,16 @@ toolbarbutton.chevron > .toolbarbutton-m
   cursor: default;
 }
 
 .tab-close-button.close-icon:not([selected=true]):not(:hover):-moz-lwtheme-brighttext {
   -moz-image-region: rect(0, 64px, 16px, 48px);
 }
 
 @media (min-resolution: 2dppx) {
-  .tab-close-button > .toolbarbutton-icon {
-    width: 16px;
-  }
-
   .tab-close-button.close-icon:not([selected=true]):not(:hover):-moz-lwtheme-brighttext {
     -moz-image-region: rect(0, 128px, 32px, 96px);
   }
 }
 
 .tabbrowser-arrowscrollbox > .scrollbutton-up,
 .tabbrowser-arrowscrollbox > .scrollbutton-down {
   -moz-image-region: rect(0, 13px, 20px, 0);
@@ -4322,20 +4318,16 @@ window > chatbox {
   #customization-titlebar-visibility-button[checked] {
     -moz-image-region: rect(0, 96px, 48px, 48px);
   }
 
   #customization-titlebar-visibility-button > .button-box > .button-icon {
     width: 24px;
   }
 
-  .customization-tipPanel-closeBox > .close-icon > .toolbarbutton-icon {
-    width: 16px;
-  }
-
   .customization-tipPanel-infoBox {
     background-image: url(chrome://browser/skin/customizableui/info-icon-customizeTip@2x.png);
     background-size: 25px 25px;
   }
 
   .customization-tipPanel-contentImage {
     list-style-image: url(chrome://browser/skin/customizableui/customize-illustration@2x.png);
   }
--- a/toolkit/themes/osx/global/global.css
+++ b/toolkit/themes/osx/global/global.css
@@ -347,16 +347,21 @@ notification > button > .button-box > .b
   -moz-image-region: rect(0, 32px, 16px, 16px);
 }
 
 .close-icon:hover:active {
   -moz-image-region: rect(0, 48px, 16px, 32px);
 }
 
 @media (min-resolution: 2dppx) {
+  .close-icon > .button-icon,
+  .close-icon > .toolbarbutton-icon {
+    width: 16px;
+  }
+
   .close-icon {
     list-style-image: url("chrome://global/skin/icons/close@2x.png");
     -moz-image-region: rect(0, 32px, 32px, 0);
   }
 
   .close-icon:hover {
     -moz-image-region: rect(0, 64px, 32px, 32px);
   }