[Pkg-sugar-commit] [sugar-artwork] 02/07: Fix TreeView rows colors
Jonas Smedegaard
dr at jones.dk
Tue Jul 7 01:44:06 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository sugar-artwork.
commit 1cd50f19fa9935d2646bd953562dd4e2fe293447
Author: Martin Abente Lahaye <tch at sugarlabs.org>
Date: Thu Jul 2 10:36:33 2015 -0400
Fix TreeView rows colors
Add parallel rules for fixing rows colors alternation in TreeViews,
e.g, in Log activity side list, for Gtk 3.16+.
Note that parser will skip the previous rules if he fails to parse
the new rules. Therefore, when adding "parallel" rules for newer
gtk versions, these rules must be added separately. Otherwise, it
will break the previous rules for older gtk versions.
Signed-off-by: Martin Abente Lahaye <tch at sugarlabs.org>
---
gtk3/theme/gtk-widgets.css.em | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
index 67e4e48..84ad931 100644
--- a/gtk3/theme/gtk-widgets.css.em
+++ b/gtk3/theme/gtk-widgets.css.em
@@ -221,6 +221,13 @@ column-header .button:hover:active {
border-width: 0px;
}
+GtkTreeView row:even {
+ background-color: @row_even;
+}
+GtkTreeView row:odd {
+ background-color: @row_odd;
+}
+
GtkTreeView row:nth-child(even) {
background-color: @row_even;
}
--
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