Bug 1384504 - [Photon] Update sidebar tree styling on Windows. r=dao draft
authorNihanth Subramanya <nhnt11@gmail.com>
Wed, 26 Jul 2017 15:39:34 +0530
changeset 615796 6c81afc1abe06ca58d3ebe7fd838ac24325f4d65
parent 615783 94fdcdbe5d87e894c16646b784d46de65454cccb
child 639280 01fef19662ec559f23b2f9fb64e39a168895da74
push id70475
push usernhnt11@gmail.com
push dateWed, 26 Jul 2017 10:10:06 +0000
reviewersdao
bugs1384504
milestone56.0a1
Bug 1384504 - [Photon] Update sidebar tree styling on Windows. r=dao MozReview-Commit-ID: 1UWPpah2rRm
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
@@ -10,17 +10,17 @@
     margin-top: 1px;
   }
 }
 
 @media (-moz-windows-default-theme) {
   .sidebar-header,
   #sidebar-header {
     -moz-appearance: none;
-    border-bottom: none;
+    border-bottom: 1px solid hsla(240, 5%, 5%, .1);
   }
 
   .menu-accel,
   .menu-iconic-accel {
     color: graytext;
   }
 %ifndef MOZ_PHOTON_THEME
   @media (-moz-os-version: windows-win7) {
--- a/browser/themes/windows/places/places.css
+++ b/browser/themes/windows/places/places.css
@@ -1,18 +1,27 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /* Sidebars */
+
+#sidebar-search-container {
+  padding: 4px;
+}
+
 .sidebar-placesTree {
   -moz-appearance: none;
   border: 0;
   margin: 0;
-  border-top: 1px solid ThreeDShadow;
+}
+
+.sidebar-placesTreechildren::-moz-tree-cell,
+.sidebar-placesTreechildren::-moz-tree-twisty {
+  padding: 0 4px;
 }
 
 .sidebar-placesTreechildren::-moz-tree-cell(leaf) ,
 .sidebar-placesTreechildren::-moz-tree-image(leaf) {
   cursor: pointer;
 }
 
 .sidebar-placesTreechildren::-moz-tree-cell-text(leaf, hover) {