Bug 986529 - invert tab close icons on windows classic, r=jaws, a=sledru.
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Wed, 26 Mar 2014 12:14:00 -0400
changeset 183517 476831b2be87
parent 183516 ad7b3066aa84
child 183518 b94841fb87d0
push id3381
push usermconley@mozilla.com
push dateWed, 26 Mar 2014 16:17:53 +0000
treeherdermozilla-beta@59923d6db125 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws, sledru
bugs986529
milestone29.0
Bug 986529 - invert tab close icons on windows classic, r=jaws, a=sledru.
browser/themes/windows/browser.css
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -172,16 +172,20 @@
 
   #main-window[tabsintitlebar]:not([sizemode=fullscreen]) #TabsToolbar .toolbarbutton-1,
   #main-window[tabsintitlebar]:not([sizemode=fullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up,
   #main-window[tabsintitlebar]:not([sizemode=fullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down {
     position: relative;
     z-index: 1;
   }
 
+  #main-window[tabsintitlebar]:not([inFullscreen]) .tab-close-button:not(:-moz-any(:hover,:-moz-lwtheme,[selected="true"])) {
+    -moz-image-region: rect(0, 64px, 16px, 48px);
+  }
+
   #main-window[tabsintitlebar][sizemode="normal"] #titlebar-content:-moz-lwtheme {
     /* Render a window top border: */
     background-image: linear-gradient(to bottom,
           ThreeDLightShadow 0, ThreeDLightShadow 1px,
           ThreeDHighlight 1px, ThreeDHighlight 2px,
           ActiveBorder 2px, ActiveBorder 4px, transparent 4px);
   }
 }