From 0d6b4c8ded857ed8b118d71cd4ecafd04a2e5ed0 Mon Sep 17 00:00:00 2001 From: Joel Barrios Date: Thu, 8 Apr 2021 01:25:26 -0500 Subject: [PATCH] Fix Thunar sidebar. Fix for issue #742 --- src/gtk-3.0/scss/_widgets.scss | 1 + src/gtk-3.0/scss/apps/_thunar.scss | 17 +++++++++++++++++ src/gtk-3.20/scss/_widgets.scss | 1 + src/gtk-3.20/scss/apps/_thunar.scss | 17 +++++++++++++++++ 4 files changed, 36 insertions(+) create mode 100644 src/gtk-3.0/scss/apps/_thunar.scss create mode 100644 src/gtk-3.20/scss/apps/_thunar.scss diff --git a/src/gtk-3.0/scss/_widgets.scss b/src/gtk-3.0/scss/_widgets.scss index d7e68e0..a8f07ac 100644 --- a/src/gtk-3.0/scss/_widgets.scss +++ b/src/gtk-3.0/scss/_widgets.scss @@ -31,6 +31,7 @@ @import "apps/nemo"; @import "apps/panel"; @import "apps/synaptic"; +@import "apps/thunar"; @import "apps/xfce"; @import "apps/unity"; @import "apps/lightdm"; diff --git a/src/gtk-3.0/scss/apps/_thunar.scss b/src/gtk-3.0/scss/apps/_thunar.scss new file mode 100644 index 0000000..bf91942 --- /dev/null +++ b/src/gtk-3.0/scss/apps/_thunar.scss @@ -0,0 +1,17 @@ +@include exports("thunar") { +.thunar { + scrolledwindow.sidebar treeview.view { + background: $bg_color; + color: $fg_color; + + &:selected, &:active { + background: $selected_bg_color; + color: $selected_fg_color; + } + } + + scrolledwindow.shortcuts-pane { + border-top-width: 1; + } + } +} diff --git a/src/gtk-3.20/scss/_widgets.scss b/src/gtk-3.20/scss/_widgets.scss index 514ead5..a5c1aff 100644 --- a/src/gtk-3.20/scss/_widgets.scss +++ b/src/gtk-3.20/scss/_widgets.scss @@ -34,6 +34,7 @@ @import "apps/nemo"; @import "apps/panel"; @import "apps/synaptic"; +@import "apps/thunar"; @import "apps/xfce"; @import "apps/unity"; @import "apps/lightdm"; diff --git a/src/gtk-3.20/scss/apps/_thunar.scss b/src/gtk-3.20/scss/apps/_thunar.scss new file mode 100644 index 0000000..bf91942 --- /dev/null +++ b/src/gtk-3.20/scss/apps/_thunar.scss @@ -0,0 +1,17 @@ +@include exports("thunar") { +.thunar { + scrolledwindow.sidebar treeview.view { + background: $bg_color; + color: $fg_color; + + &:selected, &:active { + background: $selected_bg_color; + color: $selected_fg_color; + } + } + + scrolledwindow.shortcuts-pane { + border-top-width: 1; + } + } +}