Bug 624292 - Don't completely override titlebar backgrounds (missing gradient when Firefox is maximized). r=felipe a=beltzner
authorDão Gottwald <dao@mozilla.com>
Thu, 17 Feb 2011 07:43:33 +0100
changeset 62727 6387a9f398f42cb1a68aeda318444b867528c314
parent 62726 19731df33d98b9b8fa12820f344eb4c80278cdf5
child 62728 311b7d07893dddc88b06c6b66c1f5b0003a9541e
push id1
push userroot
push dateTue, 10 Dec 2013 15:46:25 +0000
reviewersfelipe, beltzner
bugs624292
milestone2.0b12pre
Bug 624292 - Don't completely override titlebar backgrounds (missing gradient when Firefox is maximized). r=felipe a=beltzner
browser/themes/winstripe/browser/browser.css
--- a/browser/themes/winstripe/browser/browser.css
+++ b/browser/themes/winstripe/browser/browser.css
@@ -88,24 +88,24 @@
   -moz-appearance: none;
   border-style: none;
   background-color: -moz-Dialog;
 }
 
 %ifdef WINSTRIPE_AERO
 @media not all and (-moz-windows-compositor) {
 %endif
-  #main-window[tabsintitlebar] #titlebar-content:not(:-moz-lwtheme),
-  #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) {
-    background-color: ActiveCaption;
+  #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) {
+    background: -moz-linear-gradient(bottom, @toolbarShadowColor@ 1px, transparent 1px),
+                -moz-linear-gradient(rgba(50%,50%,50%,0), ActiveCaption 85%);
     color: CaptionText;
   }
-  #main-window[tabsintitlebar] #titlebar-content:not(:-moz-lwtheme):-moz-window-inactive,
-  #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
-    background-color: InactiveCaption;
+  #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
+    background: -moz-linear-gradient(bottom, @toolbarShadowColor@ 1px, transparent 1px),
+                -moz-linear-gradient(rgba(50%,50%,50%,0), InactiveCaption 85%);
     color: InactiveCaptionText;
   }
 
   #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
     visibility: hidden;
   }
   #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
     -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");