Bug 986529 - invert tab close icons on windows classic, r=jaws
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Tue, 25 Mar 2014 14:16:51 +0000
changeset 175054 3c45dcaa5b4f
parent 175053 8f0786e1655c
child 175055 77802de7e213
push id5876
push usergijskruitbosch@gmail.com
push dateMon, 24 Mar 2014 16:39:13 +0000
treeherderfx-team@77802de7e213 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs986529
milestone31.0a1
Bug 986529 - invert tab close icons on windows classic, r=jaws
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);
   }
 }