Bug 879616 - adjust close icons for OS X to deal with bright lightweight themes, r=MattN, a=sylvestre
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Tue, 18 Mar 2014 22:51:24 +0000
changeset 192178 f56bd3754408add7d05c23395e41a21ed8ad4061
parent 192177 9b482d6994fdf7f0d085f09a6847e36298525476
child 192179 14833d153e6a26386884b05fb6bb1b74101723d8
push id474
push userasasaki@mozilla.com
push dateMon, 02 Jun 2014 21:01:02 +0000
treeherdermozilla-release@967f4cf1b31c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMattN, sylvestre
bugs879616
milestone30.0a2
Bug 879616 - adjust close icons for OS X to deal with bright lightweight themes, r=MattN, a=sylvestre
browser/themes/osx/browser.css
toolkit/themes/osx/global/icons/close.png
toolkit/themes/osx/global/icons/close@2x.png
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -2820,20 +2820,28 @@ toolbarbutton.chevron > .toolbarbutton-m
 
 .tab-close-button {
   -moz-appearance: none;
   border: none !important;
   background: none;
   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);
   margin: 0;
   padding: 0 4px;
   border: none;
index d58f23bac1f29a8efc2047633e9edeacc59ed25b..9bba044ce5de824ebcdd12e4e2c4b3e96cfa0448
GIT binary patch
literal 1240
zc$@*)1Sk86P)<h;3K|Lk000e1NJLTq002M$000mO1^@s6rssJn000D^Nkl<Zc-rlj
zdq`V%6vutXh_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