Bug 1379173 - Don't drop the custom titlebar color in inactive windows. r?johannh
MozReview-Commit-ID: f2uRvzhoYQ
--- a/browser/themes/windows/browser-aero.css
+++ b/browser/themes/windows/browser-aero.css
@@ -46,19 +46,21 @@
#browser {
-moz-appearance: -moz-win-exclude-glass;
}
@media not all and (-moz-os-version: windows-win7) {
@media not all and (-moz-os-version: windows-win8) {
@media (-moz-windows-default-theme) {
%ifdef MOZ_PHOTON_THEME
- :root:not(:-moz-window-inactive):not(:-moz-lwtheme) {
- background-color: hsl(235,33%,19%);
- --titlebar-text-color: hsl(240,9%,98%);
+ @media (-moz-windows-accent-color-applies: 0) {
+ :root:not(:-moz-lwtheme) {
+ background-color: hsl(235,33%,19%);
+ --titlebar-text-color: hsl(240,9%,98%);
+ }
}
@media (-moz-windows-accent-color-applies) {
:root:not(:-moz-window-inactive):not(:-moz-lwtheme) {
background-color: -moz-win-accentcolor;
--titlebar-text-color: -moz-win-accentcolortext;
}
}