From b4d33c0810857ad821418f3bbfc3709353dfdd7e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Mon, 20 Mar 2023 23:38:35 +0100 Subject: [PATCH] theme: Use 0.5 opacity for disabled pictures If a GtkImage is using an icon we use a gtk-icon-filter to se the icon opacity when in insensitive state, however when using other kinds of pictures we do not apply the same style leading to an inconsistent result. Closes: #5683 --- gtk/theme/Default/_common.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtk/theme/Default/_common.scss b/gtk/theme/Default/_common.scss index 6e8aa4e503..7135eba9ac 100644 --- a/gtk/theme/Default/_common.scss +++ b/gtk/theme/Default/_common.scss @@ -43,6 +43,10 @@ image:disabled { -gtk-icon-filter: opacity(0.5); } +picture:disabled { + opacity: 0.5; +} + .view, %view { color: $text_color; -- 2.30.2