Bug 1377003 - [Photon] Update sidebar tree styling on Linux. r=dao draft
authorNihanth Subramanya <nhnt11@gmail.com>
Tue, 18 Jul 2017 19:06:10 +0530
changeset 643201 2c03e85a4d967c97a2c44f782e8d13eab657eb25
parent 642916 1d042bcb2632ea6a38fa08dbe21a6e8a0ee46961
child 725229 74d3b406c0c68ff4ec3a43a8bb36af613b389f6f
push id73015
push usernhnt11@gmail.com
push dateWed, 09 Aug 2017 11:02:34 +0000
reviewersdao
bugs1377003
milestone57.0a1
Bug 1377003 - [Photon] Update sidebar tree styling on Linux. r=dao MozReview-Commit-ID: 3ZUJZsIc7Zq
browser/themes/linux/places/places.css
--- a/browser/themes/linux/places/places.css
+++ b/browser/themes/linux/places/places.css
@@ -1,15 +1,47 @@
 /* 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;
+}
+
+#viewButton {
+  -moz-appearance: none;
+  border-radius: 4px;
+  padding: 6px 5px 7px;
+  color: inherit;
+}
+
+#viewButton:-moz-focusring:not(:hover):not([open]) {
+  outline: 1px dotted -moz-DialogText;
+}
+
+#viewButton:hover {
+  background: hsla(240, 5%, 5%, 0.1);
+}
+
+#viewButton[open] {
+  background: hsla(240, 5%, 5%, 0.15);
+}
+
 .sidebar-placesTree {
   margin: 0;
+  color: inherit;
+  -moz-appearance: none;
+  border: 0;
+  background: transparent;
+}
+
+.sidebar-placesTreechildren::-moz-tree-row {
+  min-height: 24px;
 }
 
 .sidebar-placesTreechildren::-moz-tree-cell(leaf) ,
 .sidebar-placesTreechildren::-moz-tree-image(leaf) {
   cursor: pointer;
 }
 
 .sidebar-placesTreechildren::-moz-tree-cell-text(leaf, hover) {