[gnome-builder/wip/gtk4-port: 395/1774] libide/gui: fix style for check image
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 395/1774] libide/gui: fix style for check image
- Date: Mon, 11 Jul 2022 22:31:10 +0000 (UTC)
commit 0623dc4f6cee56019a4503cd856fd0225445adee
Author: Christian Hergert <chergert redhat com>
Date: Tue Apr 5 16:15:16 2022 -0700
libide/gui: fix style for check image
We only want the icon set when it is checked.
src/libide/gui/style.css | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/src/libide/gui/style.css b/src/libide/gui/style.css
index 510f69c3a..84ed3752c 100644
--- a/src/libide/gui/style.css
+++ b/src/libide/gui/style.css
@@ -14,9 +14,13 @@ window.preferences list check {
outline: none;
box-shadow: none;
border: none;
- -gtk-icon-source: -gtk-icontheme('object-select-symbolic');
+ color: @window_fg_color;
+ -gtk-icon-source: none;
-gtk-icon-size: 18px;
}
+window.preferences list check:checked {
+ -gtk-icon-source: -gtk-icontheme('object-select-symbolic');
+}
stylevariantpreview widget.wallpaper {
border-radius: 6px;
box-shadow: 0 0 9px 1px rgba(0,0,0,.2);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]