Bug 986529 - invert tab close icons on windows classic, r=jaws, a=sledru.
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Wed, 26 Mar 2014 12:07:30 -0400
changeset 185105 cec221286be2
parent 185104 46f788fb37c4
child 185106 88e7ab08a67e
push id5512
push usermconley@mozilla.com
push dateWed, 26 Mar 2014 16:17:17 +0000
treeherdermozilla-aurora@4dc29f81607e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws, sledru
bugs986529
milestone30.0a2
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
@@ -173,16 +173,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);
   }
 }