From: Marco Trevisan (TreviƱo) Date: Mon, 20 Mar 2023 22:38:35 +0000 (+0100) Subject: theme: Use 0.5 opacity for disabled pictures X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~4^2~10^2~71 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b4d33c0810857ad821418f3bbfc3709353dfdd7e;p=gtk4.git 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 --- 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;