From 8f8e9f3c23fb0790b42768367a0c7abe5674ad73 Mon Sep 17 00:00:00 2001 From: EliverLara Date: Mon, 15 Feb 2021 13:43:55 -0600 Subject: [PATCH] Xfce: Fix missing hover effect on thunar sidebar --- gtk-3.0/apps/_xfce.scss | 14 ++++++++++---- gtk-3.0/gtk-dark.css | 3 +++ gtk-3.0/gtk.css | 3 +++ 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/gtk-3.0/apps/_xfce.scss b/gtk-3.0/apps/_xfce.scss index a5ba607..972a218 100644 --- a/gtk-3.0/apps/_xfce.scss +++ b/gtk-3.0/apps/_xfce.scss @@ -97,10 +97,16 @@ window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path- } /* thunar sidepane */ -window.thunar paned > scrolledwindow treeview.view:selected { - @include button(active-header); - border-radius: 0; - box-shadow: none; +window.thunar paned > scrolledwindow treeview.view { + + &:hover { + background: darken($_sidebar_color, 3%); + } + &:selected { + @include button(active-header); + border-radius: 0; + box-shadow: none; + } } window.thunar toolbar#location-toolbar entry { diff --git a/gtk-3.0/gtk-dark.css b/gtk-3.0/gtk-dark.css index f086f9d..d4adf95 100755 --- a/gtk-3.0/gtk-dark.css +++ b/gtk-3.0/gtk-dark.css @@ -5861,6 +5861,9 @@ window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path- box-shadow: none; } /* thunar sidepane */ +window.thunar paned > scrolledwindow treeview.view:hover { + background: #10131b; } + window.thunar paned > scrolledwindow treeview.view:selected { border-radius: 23px; background: linear-gradient(to right, #eee90a, #f7b922); diff --git a/gtk-3.0/gtk.css b/gtk-3.0/gtk.css index e36092e..8b73914 100755 --- a/gtk-3.0/gtk.css +++ b/gtk-3.0/gtk.css @@ -5886,6 +5886,9 @@ window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path- box-shadow: none; } /* thunar sidepane */ +window.thunar paned > scrolledwindow treeview.view:hover { + background: #10131b; } + window.thunar paned > scrolledwindow treeview.view:selected { border-radius: 23px; background: linear-gradient(to right, #eee90a, #f7b922);