[Pkg-sugar-commit] [sugar-artwork] 02/05: Fix style in Radio and Check for old states names
Jonas Smedegaard
dr at jones.dk
Mon Jun 15 00:01:14 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag v0.105.2
in repository sugar-artwork.
commit 69267a7368eb79389b14677e2cecfae3c422caba
Author: Martin Abente Lahaye <tch at sugarlabs.org>
Date: Wed May 27 10:02:45 2015 -0400
Fix style in Radio and Check for old states names
Radio buttons and Check boxes were not displating the selected
images on Ubuntu 14.04 LTS.
This patch separates both styles for the older active state and
the newer checked state, to make sure both use the images.
Signed-off-by: Martin Abente Lahaye <tch at sugarlabs.org>
---
gtk3/theme/gtk-widgets.css.em | 24 ++++++++++++++++++++----
1 file changed, 20 insertions(+), 4 deletions(-)
diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
index 4d535f6..55c3995 100644
--- a/gtk3/theme/gtk-widgets.css.em
+++ b/gtk3/theme/gtk-widgets.css.em
@@ -736,7 +736,11 @@ SugarPaletteWindowWidget .check {
.radio:active,
.radio row:selected:active,
-.radio row:selected:focused:active,
+.radio row:selected:focused:active {
+ background-image: url("assets/radio-active.svg");
+ -gtk-icon-source: url("assets/radio-active.svg");
+}
+
.radio:checked,
.radio row:selected:checked,
.radio row:selected:focused:checked {
@@ -746,7 +750,11 @@ SugarPaletteWindowWidget .check {
.radio:active:selected,
.radio:selected row:selected:active,
-.radio:selected row:selected:focused:active,
+.radio:selected row:selected:focused:active {
+ background-image: url("assets/radio-active-selected.svg");
+ -gtk-icon-source: url("assets/radio-active-selected.svg");
+}
+
.radio:checked:selected,
.radio:selected row:selected:checked,
.radio:selected row:selected:focused:checked {
@@ -771,7 +779,11 @@ SugarPaletteWindowWidget .check {
.check:active,
.check row:selected:active,
-.check row:selected:focused:active,
+.check row:selected:focused:active {
+ background-image: url("assets/checkbox-checked.svg");
+ -gtk-icon-source: url("assets/checkbox-checked.svg");
+}
+
.check:checked,
.check row:selected:checked,
.check row:selected:focused:checked {
@@ -781,7 +793,11 @@ SugarPaletteWindowWidget .check {
.check:active:selected,
.check:selected row:selected:active,
-.check:selected row:selected:focused:active,
+.check:selected row:selected:focused:active {
+ background-image: url("assets/checkbox-checked-selected.svg");
+ -gtk-icon-source: url("assets/checkbox-checked-selected.svg");
+}
+
.check:checked:selected,
.check:selected row:selected:checked,
.check:selected row:selected:focused:checked {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sugar/sugar-artwork.git
More information about the pkg-sugar-commit
mailing list