Bug 1401933 - Make Windows 8 light/dark theme background show up as tab background. r=dao
authorJohann Hofmann <jhofmann@mozilla.com>
Fri, 22 Sep 2017 09:59:59 +0200
changeset 382407 824ab640450f90672bddbfc80b7f4984b975a1a2
parent 382406 0916366739b8bec395ded258ec7e4fe0a9e54b81
child 382408 d0a767cd83839f412919448f526fe255389e05c9
push id32558
push userkwierso@gmail.com
push dateFri, 22 Sep 2017 21:29:46 +0000
treeherdermozilla-central@61e58a7d800b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1401933
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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;
   }