Bug 1401933 - Make Windows 8 light/dark theme background show up as tab background. r=dao draft
authorJohann Hofmann <jhofmann@mozilla.com>
Fri, 22 Sep 2017 09:59:59 +0200
changeset 668951 e951d7047012eb6cce62dbf182264d45316f18ef
parent 668407 835a92b19e3d7666890153a84bc635bc43a44cb2
child 732813 e2ecca9574b4f3c469034e831250c7eb60d73997
push id81165
push userbmo:jhofmann@mozilla.com
push dateFri, 22 Sep 2017 08:00:44 +0000
reviewersdao
bugs1401933
milestone58.0a1
Bug 1401933 - Make Windows 8 light/dark theme background show up as tab background. r=dao MozReview-Commit-ID: BZFLvzmvTic
browser/themes/windows/compacttheme.css
--- a/browser/themes/windows/compacttheme.css
+++ b/browser/themes/windows/compacttheme.css
@@ -48,37 +48,33 @@
 
   #main-menubar:not(:-moz-window-inactive) {
     background-color: rgba(255,255,255,.5);
     color: black;
     border-radius: 4px;
   }
 }
 
-/* Windows 7 specific tab styles that apply to default, dark and light themes
- * (the default theme counterpart lives in browser.css) */
-@media (-moz-os-version: windows-win7) {
+@media (-moz-os-version: windows-win7),
+       (-moz-os-version: windows-win8) {
   /* Always show full-height tab separators on tabs with borders. */
   .tabbrowser-tab::before {
     border-image: none !important;
   }
 
   /* Show the tabs toolbar background color inside tabs on Win 7. */
   .tab-background:not([selected=true]) {
     background-color: var(--chrome-background-color) !important;
   }
 
   /* Show border on tabs with background colors in Windows 7. */
   .tab-background {
     border-top: 1px solid var(--tabs-border);
   }
-}
 
-@media (-moz-os-version: windows-win7),
-       (-moz-os-version: windows-win8) {
   /* Use default window colors when in non-maximized mode */
   #tabbrowser-tabs,
   #TabsToolbar,
   #browser-panel,
   #titlebar-content {
     background: transparent;
   }