Bug 1198547 - Update sidebar background color for Win10. r=dolske, a=ritu
authorDão Gottwald <dao@mozilla.com>
Wed, 26 Aug 2015 19:34:10 +0200
changeset 289002 835be6d79b43f6ddf8ac420ead13beb4810d4742
parent 289001 6714dfb68afbc997ba0eeb5c6c83e86e672bc58d
child 289003 d2d041aa5782d13569d9ba53ff16b7b8ab00fa81
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdolske, ritu
bugs1198547
milestone42.0a2
Bug 1198547 - Update sidebar background color for Win10. r=dolske, a=ritu
browser/themes/windows/browser-aero.css
browser/themes/windows/places/places.css
--- a/browser/themes/windows/browser-aero.css
+++ b/browser/themes/windows/browser-aero.css
@@ -14,56 +14,61 @@
     font-style: italic;
   }
 }
 
 @media (-moz-windows-default-theme) {
   .sidebar-header,
   #sidebar-header {
     -moz-appearance: none;
-    color: black;
-    background-color: #EEF3FA;
     border-bottom: none;
     text-shadow: none;
   }
 
   .sidebar-title,
   #sidebar-title {
     font-weight: bold;
   }
 
   .sidebar-splitter {
     border: 0;
-    -moz-border-end: 1px solid #A9B7C9;
+    -moz-border-end: 1px solid ThreeDLightShadow;
     min-width: 0;
     width: 3px;
     background-color: transparent;
     -moz-margin-start: -3px;
     position: relative;
   }
 
   #appcontent ~ .sidebar-splitter {
-    -moz-border-start: 1px solid #A9B7C9;
+    -moz-border-start: 1px solid ThreeDLightShadow;
     -moz-border-end: none;
     -moz-margin-start: 0;
     -moz-margin-end: -3px;
   }
 
   .menu-accel,
   .menu-iconic-accel {
     color: graytext;
   }
 
-  .chatbar-button,
-  chatbar > chatbox {
-    border-color: #A9B7C9;
-  }
-
   @media (-moz-os-version: windows-vista),
          (-moz-os-version: windows-win7) {
+    .sidebar-header,
+    #sidebar-header {
+      background-color: #EEF3FA;
+    }
+
+    .sidebar-splitter,
+    #appcontent ~ .sidebar-splitter,
+    .chatbar-button,
+    chatbar > chatbox {
+      border-color: #A9B7C9;
+    }
+
     #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(:-moz-lwtheme),
     #browser-bottombox:not(:-moz-lwtheme),
     .browserContainer > findbar {
       background-color: @customToolbarColor@;
     }
 
     .tab-background-middle[visuallyselected=true]:not(:-moz-lwtheme) {
       background-color: @customToolbarColor@;
--- a/browser/themes/windows/places/places.css
+++ b/browser/themes/windows/places/places.css
@@ -20,32 +20,35 @@
   text-decoration: underline;
 }
 
 .sidebar-placesTreechildren::-moz-tree-cell(separator) {
   cursor: default;
 }
 
 /* Style Places sidebars as Vista media collection */
-@media not all and (-moz-os-version: windows-xp) {
-  @media (-moz-windows-default-theme) {
-    #bookmarksPanel,
-    #history-panel {
-      background-color: #EEF3FA;
-    }
-
+@media (-moz-windows-default-theme) {
+  @media not all and (-moz-os-version: windows-xp) {
     .sidebar-placesTree {
       background-color: transparent;
       border-top: none;
     }
 
     .sidebar-placesTreechildren::-moz-tree-cell-text(leaf, hover) {
       text-decoration: none;
     }
   }
+
+  @media (-moz-os-version: windows-vista),
+         (-moz-os-version: windows-win7) {
+    #bookmarksPanel,
+    #history-panel {
+      background-color: #EEF3FA;
+    }
+  }
 }
 
 /* Trees */
 treechildren::-moz-tree-image(title) {
   list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
   padding-right: 2px;
   margin: 0px 2px;
   width: 16px;