From c867b17cc8c133fa60fc822925dc5fba2ac604ed Mon Sep 17 00:00:00 2001 From: Lapo Calamandrei Date: Sun, 20 Mar 2016 23:18:49 +0100 Subject: [PATCH] Adwaita: fix treeview entry style Fixes https://bugzilla.gnome.org/show_bug.cgi?id=763955 --- gtk/theme/Adwaita/_common.scss | 10 ++++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 7 +++++++ gtk/theme/Adwaita/gtk-contained.css | 7 +++++++ 3 files changed, 24 insertions(+) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 36f4d6de12..53be3001ab 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -400,6 +400,16 @@ entry { } } +treeview entry { + &.flat, & { + border-radius: 0; + background-image: none; + background-color: $base_color; + + &:focus { border-color: $selected_bg_color; } + } +} + /*********** * Buttons * diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index bc8ddc26c6..28544b752a 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -387,6 +387,13 @@ entry:drop(active):not(:only-child) + button, entry:drop(active):not(:only-child) + combobox > box > button.combo { border-top-color: #4e9a06; } +treeview entry.flat, treeview entry { + border-radius: 0; + background-image: none; + background-color: #292929; } + treeview entry.flat:focus, treeview entry:focus { + border-color: #215d9c; } + /*********** * Buttons * ***********/ diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 2d6d4cdaf0..85de7b97f8 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -387,6 +387,13 @@ entry:drop(active):not(:only-child) + button, entry:drop(active):not(:only-child) + combobox > box > button.combo { border-top-color: #4e9a06; } +treeview entry.flat, treeview entry { + border-radius: 0; + background-image: none; + background-color: #ffffff; } + treeview entry.flat:focus, treeview entry:focus { + border-color: #4a90d9; } + /*********** * Buttons * ***********/