diff options
author | Manuel Quiñones <manuq@laptop.org> | 2012-06-23 03:55:03 (GMT) |
---|---|---|
committer | Manuel Quiñones <manuq@laptop.org> | 2012-06-25 14:09:20 (GMT) |
commit | 62b5595a27621fd2e2ab9bbbed066e2f686c1e45 (patch) | |
tree | 2545089f2cf70a14c117b9485a72b5c4fdab54bf /gtk3/theme/gtk-widgets.css.em | |
parent | 9d35682839f7839dda5805baab3eace1822c43d8 (diff) |
Set background color for GtkTreeView rows with odd-even flags SL #3726
This is only applied if the GtkTreeView has the "rules-hint" property
set to True.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Reviewed-by: Benjamin Berg <benzea@sugarlabs.org>
Tested-by: Manuel Kaufmann <humitos@gmail.com>
Acked-by: Simon Schampijer <simon@laptop.org>
Diffstat (limited to 'gtk3/theme/gtk-widgets.css.em')
-rw-r--r-- | gtk3/theme/gtk-widgets.css.em | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em index 91c998c..f3e4fde 100644 --- a/gtk3/theme/gtk-widgets.css.em +++ b/gtk3/theme/gtk-widgets.css.em @@ -215,6 +215,13 @@ GtkToggleButton.button:active GtkLabel { background-color: @white; } +GtkTreeView row:nth-child(even) { + background-color: @row_even; +} +GtkTreeView row:nth-child(odd) { + background-color: @row_odd; +} + .entry { border-radius: $(2 * subcell_size)px; border-width: $(thickness)px; |