[gtk+] Adwaita: fix treeview entry style
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: fix treeview entry style
- Date: Sun, 20 Mar 2016 22:20:19 +0000 (UTC)
commit c867b17cc8c133fa60fc822925dc5fba2ac604ed
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Sun Mar 20 23:18:49 2016 +0100
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(+), 0 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 36f4d6d..53be300 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 bc8ddc2..28544b7 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 2d6d4cd..85de7b9 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 *
***********/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]