Merge lp:~fitojb/light-themes/fix-945430 into lp:~ubuntu-art-pkg/light-themes/trunk

Proposed by Adolfo Jayme Barrientos
Status: Merged
Merge reported by: Andrea Cimitan
Merged at revision: not available
Proposed branch: lp:~fitojb/light-themes/fix-945430
Merge into: lp:~ubuntu-art-pkg/light-themes/trunk
Diff against target: 65 lines (+22/-0)
4 files modified
Ambiance/gtk-3.0/gtk-widgets.css (+10/-0)
Ambiance/gtk-3.0/gtk.css (+1/-0)
Radiance/gtk-3.0/gtk-widgets.css (+10/-0)
Radiance/gtk-3.0/gtk.css (+1/-0)
To merge this branch: bzr merge lp:~fitojb/light-themes/fix-945430
Reviewer Review Type Date Requested Status
Ubuntu Artwork Packagers Pending
Andrea Cimitan Pending
Review via email: mp+97808@code.launchpad.net

Commit message

Add zebra-stripping to GtkTreeView

Description of the change

Add back zebra-stripping to lists in GTK3 apps, present in GTK2 apps like Synaptic.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Ambiance/gtk-3.0/gtk-widgets.css'
2--- Ambiance/gtk-3.0/gtk-widgets.css 2012-03-14 17:24:44 +0000
3+++ Ambiance/gtk-3.0/gtk-widgets.css 2012-03-16 08:06:19 +0000
4@@ -2218,6 +2218,16 @@
5 -unico-inner-stroke-width: 1px;
6 }
7
8+GtkTreeView row:nthchild(even),
9+GtkTreeView row:nth-child(even):hover {
10+ background-color: @base_color;
11+}
12+
13+GtkTreeView row:nth-child(odd),
14+GtkTreeView row:nth-child(odd):hover {
15+ background-color: @treeview_odd;
16+}
17+
18 /************
19 * viewport *
20 ************/
21
22=== modified file 'Ambiance/gtk-3.0/gtk.css'
23--- Ambiance/gtk-3.0/gtk.css 2012-03-06 16:40:09 +0000
24+++ Ambiance/gtk-3.0/gtk.css 2012-03-16 08:06:19 +0000
25@@ -19,6 +19,7 @@
26 @define-color error_bg_color rgb (237, 54, 54);
27 @define-color link_color #4a90d9;
28 @define-color error_color #cc0000;
29+@define-color treeview_odd #eeeeee;
30
31 /* theme common colors */
32 @define-color button_bg_color shade (#cdcdcd, 1.06);
33
34=== modified file 'Radiance/gtk-3.0/gtk-widgets.css'
35--- Radiance/gtk-3.0/gtk-widgets.css 2012-03-14 17:24:44 +0000
36+++ Radiance/gtk-3.0/gtk-widgets.css 2012-03-16 08:06:19 +0000
37@@ -2210,6 +2210,16 @@
38 -unico-inner-stroke-width: 1px;
39 }
40
41+GtkTreeView row:nthchild(even),
42+GtkTreeView row:nth-child(even):hover {
43+ background-color: @base_color;
44+}
45+
46+GtkTreeView row:nth-child(odd),
47+GtkTreeView row:nth-child(odd):hover {
48+ background-color: @treeview_odd;
49+}
50+
51 /************
52 * viewport *
53 ************/
54
55=== modified file 'Radiance/gtk-3.0/gtk.css'
56--- Radiance/gtk-3.0/gtk.css 2012-03-06 16:40:09 +0000
57+++ Radiance/gtk-3.0/gtk.css 2012-03-16 08:06:19 +0000
58@@ -19,6 +19,7 @@
59 @define-color error_bg_color rgb (237, 54, 54);
60 @define-color link_color #4a90d9;
61 @define-color error_color #cc0000;
62+@define-color treeview_odd #eeeeee;
63
64 /* theme common colors */
65 @define-color button_bg_color shade (mix (#dfd7cf, #cdcdcd, 0.6), 1.06);

Subscribers

People subscribed via source and target branches