summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/theme/Adwaita/_common.scss7
-rw-r--r--gtk/theme/Adwaita/gtk-contained-dark.css3
-rw-r--r--gtk/theme/Adwaita/gtk-contained.css3
3 files changed, 13 insertions, 0 deletions
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;