[gtk/wip/jimmac/unfocused-selections: 3/3] styling: Have unfocused selections
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/jimmac/unfocused-selections: 3/3] styling: Have unfocused selections
- Date: Wed, 3 Nov 2021 12:08:12 +0000 (UTC)
commit 96f63a6bf343d1f2fbdbcbdaca9835fa675351dc
Author: Jakub Steiner <jimmac gmail com>
Date: Wed Nov 3 12:44:59 2021 +0100
styling: Have unfocused selections
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/4393
gtk/theme/Default/_common.scss | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]