Bug 1365705 - Remove Windows compact theme specific styling for sidebar;r=dao
authorBrian Grinstead <bgrinstead@mozilla.com>
Thu, 25 May 2017 10:34:50 -0700
changeset 360778 a7c7fd053fa3fc0933bb5e0472a2af0683fe0cde
parent 360777 f40289fb94a73eee4bfdb89744c2e905e4577981
child 360779 653150c581ff7f954f2f766ef2171b3e21415b1a
push id43472
push userdgottwald@mozilla.com
push dateFri, 26 May 2017 08:57:48 +0000
treeherderautoland@a7c7fd053fa3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1365705
milestone55.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 1365705 - Remove Windows compact theme specific styling for sidebar;r=dao MozReview-Commit-ID: CC2GsnvMtwA
browser/themes/windows/compacttheme.css
--- a/browser/themes/windows/compacttheme.css
+++ b/browser/themes/windows/compacttheme.css
@@ -38,26 +38,24 @@
   background-color: var(--tab-background-color);
 }
 
 #toolbar-menubar {
   text-shadow: none !important;
 }
 
 .findbar-closebutton:-moz-lwtheme-brighttext,
-#sidebar-header > .close-icon:-moz-lwtheme-brighttext,
 /* Tab styling - make sure to use an inverted icon for the selected tab
    (brighttext only covers the unselected tabs) */
 .tab-close-button[selected=true] {
   list-style-image: url("chrome://global/skin/icons/close-inverted.png");
 }
 
 @media (min-resolution: 1.1dppx) {
   .findbar-closebutton:-moz-lwtheme-brighttext,
-  #sidebar-header > .close-icon:-moz-lwtheme-brighttext,
   .tab-close-button[selected=true] {
     list-style-image: url("chrome://global/skin/icons/close-inverted@2x.png");
   }
 }
 
 /* Override tab close icon (to disable inversion) for better contrast with
    light theme on Windows 7 Classic theme. */
 @media not all and (min-resolution: 1.1dppx) {
@@ -204,24 +202,16 @@
   border-right: none !important;
 }
 
 /* Disable dragging like in the default theme: */
 #main-window[tabsintitlebar] #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):-moz-lwtheme {
   -moz-window-dragging: no-drag;
 }
 
-/* The sidebar header has no background now that the background of the #browser-panel
- * has no image and is transparent. Fix: */
-.sidebar-header:-moz-lwtheme,
-#sidebar-header {
-  background-color: var(--chrome-background-color);
-  color: var(--chrome-color);
-}
-
 @media (-moz-os-version: windows-win7),
        (-moz-os-version: windows-win8) {
   /* And then we add them back on toolbars so that they don't look borderless: */
   #main-window:not([customizing])[sizemode=normal] #navigator-toolbox::after,
   #main-window:not([customizing])[sizemode=normal] #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar) {
     border-left: 1px solid hsla(209,67%,12%,0.35);
     border-right: 1px solid hsla(209,67%,12%,0.35);
   }