diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index b5889f45d5..dc1b3fdf19 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -427,6 +427,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 7f9d327b35..5d9a1208ad 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 bf26e5d2f7..5314278f4e 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;