[baobab/reroot-view: 28/35] Use a subtler prelight effect on hover



commit d7440f31f904dace7f9ba136c564de3558da31dc
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               | 7 +++++--
 data/ui/baobab-main-window.ui | 1 -
 2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/data/baobab.css b/data/baobab.css
index fdfe055..d839bc9 100644
--- a/data/baobab.css
+++ b/data/baobab.css
@@ -11,6 +11,7 @@
 }
 
 .cell.baobab-level-cell.fill-block,
+.cell.baobab-level-cell.fill-block:hover,
 .cell.baobab-level-cell.fill-block:selected,
 .cell.baobab-level-cell.fill-block:selected:hover {
     background-color: #edd400;
@@ -79,8 +80,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 +91,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]