Bug 1387750 - Make Windows 7 tabs use chrome background when inactive. r=dao draft
authorJohann Hofmann <jhofmann@mozilla.com>
Wed, 09 Aug 2017 20:58:41 +0200
changeset 644039 c618c83695de255bffcc9e5f07a2317ef9c90d23
parent 643612 a4a448ba7f187069fce916ee234a06cbb0d06f80
child 725471 2beaf2221bfd223d6fff59ee15365c5f48589857
push id73286
push userbmo:jhofmann@mozilla.com
push dateThu, 10 Aug 2017 10:24:41 +0000
reviewersdao
bugs1387750
milestone57.0a1
Bug 1387750 - Make Windows 7 tabs use chrome background when inactive. r=dao MozReview-Commit-ID: 2HNiHtox9wT
browser/themes/windows/compacttheme.css
--- a/browser/themes/windows/compacttheme.css
+++ b/browser/themes/windows/compacttheme.css
@@ -29,16 +29,22 @@
     background: transparent !important;
   }
 }
 
 #toolbar-menubar {
   text-shadow: none !important;
 }
 
+@media (-moz-windows-glass) {
+  .tabbrowser-tab {
+    background-color: var(--chrome-background-color);
+  }
+}
+
 @media (-moz-os-version: windows-win7),
        (-moz-os-version: windows-win8) {
   /* It'd be nice if there was an element in the scrollbox's inner content
      that collapsed to the current width of the tabs. Since there isn't we
      need to handle overflowing and non-overflowing tabs separately.
 
      In the case of overflowing tabs, set a border-top on the entire container,
      otherwise we need to set it on each element individually */