From 563add132573d8e93faa351eca6f91e1aaa8f60e Mon Sep 17 00:00:00 2001 From: Lapo Calamandrei Date: Wed, 27 Apr 2016 20:04:39 +0200 Subject: Adwaita: add a background to cellrendertext --- gtk/theme/Adwaita/_common.scss | 7 +++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 13 insertions(+) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index b4a59946a8..9c1e667299 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -430,6 +430,13 @@ treeview acceleditor > label { } treeview entry { + &:focus { + &:dir(rtl), &:dir(ltr) { // specificity bump hack + background-color: $base_color; + transition-property: color, background; + } + } + &.flat, & { border-radius: 0; background-image: none; diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 36c393c286..d91f4a4098 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -405,6 +405,9 @@ entry:drop(active):not(:only-child) + combobox > box > button.combo { treeview acceleditor > label { background-color: #215d9c; } +treeview entry:focus:dir(rtl), treeview entry:focus:dir(ltr) { + background-color: #232729; + transition-property: color, background; } treeview entry.flat, treeview entry { border-radius: 0; background-image: none; diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 28c4487d0b..21d596a917 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -405,6 +405,9 @@ entry:drop(active):not(:only-child) + combobox > box > button.combo { treeview acceleditor > label { background-color: #4a90d9; } +treeview entry:focus:dir(rtl), treeview entry:focus:dir(ltr) { + background-color: #ffffff; + transition-property: color, background; } treeview entry.flat, treeview entry { border-radius: 0; background-image: none; -- cgit v1.2.1