1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
From: =?utf-8?b?Ik1hcmNvIFRyZXZpc2FuIChUcmV2acOxbyki?= <mail@3v1n0.net>
Date: Tue, 21 Mar 2023 00:46:05 +0100
Subject: stylesheet/common: Use disabled opacity for disabled pictures
To mimic https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5689
Origin: https://gitlab.gnome.org/GNOME/libadwaita/-/merge_requests/814
---
src/stylesheet/_common.scss | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/stylesheet/_common.scss b/src/stylesheet/_common.scss
index 86133d3..6e60409 100644
--- a/src/stylesheet/_common.scss
+++ b/src/stylesheet/_common.scss
@@ -34,6 +34,10 @@ dnd {
-gtk-icon-size: 32px;
}
+picture:disabled {
+ opacity: $disabled_opacity;
+}
+
%osd,
.osd:not(progressbar):not(button):not(menubutton):not(splitbutton):not(inline-view-switcher) {
--accent-bg-color: RGB(255 255 255 / 75%);
|