projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24f615c
)
theme: Use 0.5 opacity for disabled pictures
author
Marco Trevisan (Treviño)
<mail@3v1n0.net>
Mon, 20 Mar 2023 22:38:35 +0000
(23:38 +0100)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 21 Apr 2023 06:31:25 +0000
(08:31 +0200)
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
patch
|
blob
|
history
diff --git
a/gtk/theme/Default/_common.scss
b/gtk/theme/Default/_common.scss
index 6e8aa4e50339869d469cb2c8de19b249b9ce67f4..7135eba9ac4ef84ddb8f2ccc4018886398a34118 100644
(file)
--- 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;