[baobab/reroot-view: 30/31] Use a subtler prelight effect on hover



commit b6dfbcc23e3790cb2c797c23060d64ec48811fee
Author: Stefano Facchini <stefano facchini gmail com>
Date:   Sun Jun 21 16:44:37 2020 +0200

    Use a subtler prelight effect on hover

 data/baobab.css               | 6 ++++--
 data/ui/baobab-main-window.ui | 1 -
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/data/baobab.css b/data/baobab.css
index fdfe055..d5356ae 100644
--- a/data/baobab.css
+++ b/data/baobab.css
@@ -79,8 +79,7 @@ folder-display {
 }
 
 folder-display:hover {
-    color: @theme_selected_fg_color;
-    background: @theme_selected_bg_color;
+    background: @theme_bg_color;
 }
 
 folder-display label {
@@ -91,6 +90,9 @@ folder-display label {
     font-weight: bold;
 }
 
+treeview:hover:not(:selected) {
+    background: @theme_bg_color;
+}
 
 window infobar.warning,
 window infobar.error {
diff --git a/data/ui/baobab-main-window.ui b/data/ui/baobab-main-window.ui
index d679ed4..bd819d7 100644
--- a/data/ui/baobab-main-window.ui
+++ b/data/ui/baobab-main-window.ui
@@ -265,7 +265,6 @@
                           <property name="visible">True</property>
                           <property name="can_focus">True</property>
                           <property name="activate_on_single_click">True</property>
-                          <property name="hover_selection">True</property>
                           <child internal-child="selection">
                             <object class="GtkTreeSelection" id="treeview_selection1"/>
                           </child>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]