Bug 1377003 - [Photon] Update sidebar tree styling on Linux. r=dao draft
authorNihanth Subramanya <nhnt11@gmail.com>
Wed, 28 Jun 2017 17:16:05 -0700
changeset 602366 db6efcef3421df69e8d845ba59971b1b693d8617
parent 602051 f3483af8ecf997453064201c49c48a682c7f3c29
child 635576 2a4d33e95d8bf71e5d8fdd962eaa4c62c84f40f1
push id66407
push usernhnt11@gmail.com
push dateThu, 29 Jun 2017 23:24:05 +0000
reviewersdao
bugs1377003
milestone56.0a1
Bug 1377003 - [Photon] Update sidebar tree styling on Linux. r=dao MozReview-Commit-ID: Cuap1KLAiJ0
browser/themes/linux/places/places.css
--- a/browser/themes/linux/places/places.css
+++ b/browser/themes/linux/places/places.css
@@ -1,29 +1,36 @@
 /* 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 */
+
+#search-box {
+  padding: 0;
+}
+
 .sidebar-placesTree {
+  -moz-appearance: none;
+  border: 0;
   margin: 0;
+  background: transparent;
 }
 
-.sidebar-placesTreechildren::-moz-tree-cell(leaf) ,
-.sidebar-placesTreechildren::-moz-tree-image(leaf) {
-  cursor: pointer;
+.sidebar-placesTreechildren::-moz-tree-row {
+  min-height: 24px;
 }
 
-.sidebar-placesTreechildren::-moz-tree-cell-text(leaf, hover) {
-  cursor: pointer;
-  text-decoration: underline;
+.sidebar-placesTreechildren::-moz-tree-row(selected) {
+  background-color: rgba(0,0,0,.1);
+  border: none;
 }
 
-.sidebar-placesTreechildren::-moz-tree-cell(separator) {
-  cursor: default;
+.sidebar-placesTreechildren::-moz-tree-cell-text(selected) {
+  color: black;
 }
 
 /* Trees */
 treechildren::-moz-tree-image(title) {
   padding-right: 2px;
   margin: 0px 2px;
   width: 16px;
   height: 16px;