From 72302c8e24b57e05dc2454a91bc8ba8f81432f4f Mon Sep 17 00:00:00 2001
From: Dan Stillman <dstillman@zotero.org>
Date: Sat, 20 Feb 2016 17:30:14 -0500
Subject: [PATCH] Make selected, onfocused tree row highlight color on Linux
 more distinct

By default it's very close to the alternating row color (even in Places)

https://forums.zotero.org/discussion/56942/
---
 chrome/content/zotero-platform/unix/overlay.css | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/chrome/content/zotero-platform/unix/overlay.css b/chrome/content/zotero-platform/unix/overlay.css
index d858ce096..a80928517 100644
--- a/chrome/content/zotero-platform/unix/overlay.css
+++ b/chrome/content/zotero-platform/unix/overlay.css
@@ -154,6 +154,21 @@ toolbar:not([id="nav-bar"]) #zotero-toolbar-buttons separator {
 /* End toolbar buttons */
 
 
+/*
+ Override selected, unfocused tree row highlight color, which is too similar to the alternating
+ row color by default
+*/
+#zotero-collections-tree treechildren::-moz-tree-row(selected),
+#zotero-items-tree treechildren::-moz-tree-row(selected) {
+	background-color: #D4D4D4;
+}
+
+#zotero-collections-tree treechildren::-moz-tree-row(selected, focus),
+#zotero-items-tree treechildren::-moz-tree-row(selected, focus) {
+	background-color: Highlight;
+}
+
+
 @media (min-resolution: 1.5dppx) {
 	#zotero-tb-sync > .toolbarbutton-icon {
 		width: 20px;