summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Steiner <jimmac@gmail.com>2021-11-03 12:44:59 +0100
committerJakub Steiner <jimmac@gmail.com>2021-11-03 13:08:01 +0100
commit96f63a6bf343d1f2fbdbcbdaca9835fa675351dc (patch)
tree11e349defd703a2d6b61406f7559cc33de29fe61
parent37cbd0662e3cbbb7abff7bfc765884fb19eba71d (diff)
downloadgtk+-96f63a6bf343d1f2fbdbcbdaca9835fa675351dc.tar.gz
styling: Have unfocused selections
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/4393
-rw-r--r--gtk/theme/Default/_common.scss6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/theme/Default/_common.scss b/gtk/theme/Default/_common.scss
index ebef2a800c..2725291cfd 100644
--- a/gtk/theme/Default/_common.scss
+++ b/gtk/theme/Default/_common.scss
@@ -4127,7 +4127,11 @@ tooltip.csd {
// catch all extend :)
%selected_items {
- background-color: $selected_bg_color;
+ background-color: desaturate($selected_bg_color,100%);
+
+ &:focus-within {
+ background-color: $selected_bg_color;
+ }
@at-root %nobg_selected_items, & {
color: $selected_fg_color;