Merge lp:~ken-vandine/light-themes/gnome-contacts into lp:~ubuntu-art-pkg/light-themes/trunk

Proposed by Ken VanDine
Status: Needs review
Proposed branch: lp:~ken-vandine/light-themes/gnome-contacts
Merge into: lp:~ubuntu-art-pkg/light-themes/trunk
Diff against target: 261 lines (+219/-0)
4 files modified
Ambiance/gtk-3.0/apps/gnome-contacts.css (+107/-0)
Ambiance/gtk-3.0/gtk.css (+3/-0)
Radiance/gtk-3.0/apps/gnome-contacts.css (+107/-0)
Radiance/gtk-3.0/gtk.css (+2/-0)
To merge this branch: bzr merge lp:~ken-vandine/light-themes/gnome-contacts
Reviewer Review Type Date Requested Status
Andrea Cimitan Needs Information
Review via email: mp+114237@code.launchpad.net

Description of the change

Added custom styling for gnome-contacts, based on custom styles in the Ambiance theme

To post a comment you must log in.
Revision history for this message
Andrea Cimitan (cimi) wrote :

Still valid?

Revision history for this message
Andrea Cimitan (cimi) :
review: Needs Information

Unmerged revisions

229. By Ken VanDine

Added custom styling for gnome-contacts, based on custom styles in the Ambiance theme

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file 'Ambiance/gtk-3.0/apps/gnome-contacts.css'
--- Ambiance/gtk-3.0/apps/gnome-contacts.css 1970-01-01 00:00:00 +0000
+++ Ambiance/gtk-3.0/apps/gnome-contacts.css 2012-07-10 17:44:18 +0000
@@ -0,0 +1,107 @@
1/* Gnome Contacts */
2
3/* Line at top in contacts pane, similar to .documents-scrolledwin.frame */
4.contacts-content.frame {
5 border-width: 1px 0 0 0;
6 border-radius: 0;
7}
8
9/* Background color in contacts pane, similar to .documents-main-view.view */
10.contacts-main-view.view {
11 background-color: @bg_color;
12 color: @fg_color;
13}
14
15.contacts-suggestion {
16 background-color: @dark_bg_color;
17 color: @dark_fg_color;
18 border-radius: 4px;
19}
20
21/* Border on the right in the left menu toolbar */
22.contacts-left-toolbar.toolbar.menubar {
23 border-image: linear-gradient(to bottom, @bg_color, shade(@borders, 1.2));
24 border-image-width: 0 1px 0 0;
25 border-image-slice: 1;
26}
27
28/* Sidebar with line at top and the left */
29ContactsWindow .sidebar.frame {
30 border-width: 1px 1px 0 0;
31 border-style: solid;
32 border-color: @borders;
33 border-image: none;
34 border-radius: 0;
35 padding: 0;
36}
37
38.contacts-avatar-frame.frame {
39 border-width: 1px 1px 0 1px;
40 border-style: solid;
41 border-color: @borders;
42 border-image: none;
43 border-radius: 0;
44 padding: 0;
45}
46
47/* Primary toolbar with no line at top to avoid conflicts with frame border */
48ContactsWindow .primary-toolbar.toolbar {
49 border-width: 0 0 1px 0;
50}
51
52ContactsWindow .sidebar .view {
53 background-color: #ebebeb; /* KEN: super light grey */
54}
55ContactsWindow .sidebar .view:selected,
56ContactsWindow .sidebar .view:selected:focus {
57 background-color: @selected_bg_color;
58}
59
60.contacts-button:active {
61 border-color: #000000;
62 border-image: none;
63}
64
65.contacts-entry {
66 box-shadow: none;
67 border-image: none;
68 border-width: 1px;
69 border-radius: 4px;
70 border-style: solid;
71 background-image: none;
72}
73
74.contacts-entry:selected,
75.contacts-entry:selected:focus {
76 background-color: @selected_bg_color;
77 color: @selected_fg_color;
78}
79
80.contacts-entry.contacts-postal-entry {
81 border-radius: 0 0 0 0;
82 border-width: 1px 1px 0 1px;
83}
84
85.contacts-entry.contacts-postal-entry:nth-child(first) {
86 border-radius: 4px 4px 0 0;
87}
88
89.contacts-entry.contacts-postal-entry:nth-child(last) {
90 border-radius: 0 0 4px 4px;
91 border-width: 1px;
92}
93
94.button.contacts-square {
95 padding: 0px;
96}
97
98.contacts-notification {
99 border-style: solid;
100 border-color: @borders;
101 border-width: 0 1px 1px 1px;
102 border-radius: 0 0 5px 5px;
103 background-color: @dark_bg_color;
104 color: @dark_fg_color;
105}
106
107
0108
=== modified file 'Ambiance/gtk-3.0/gtk.css'
--- Ambiance/gtk-3.0/gtk.css 2012-03-30 16:29:46 +0000
+++ Ambiance/gtk-3.0/gtk.css 2012-07-10 17:44:18 +0000
@@ -29,12 +29,15 @@
2929
30@define-color backdrop_selected_bg_color shade (@bg_color, 0.92);30@define-color backdrop_selected_bg_color shade (@bg_color, 0.92);
31@define-color backdrop_selected_fg_color @fg_color;31@define-color backdrop_selected_fg_color @fg_color;
32@define-color borders @bg_color;
33
3234
33@import url("gtk-widgets.css");35@import url("gtk-widgets.css");
34@import url("gtk-widgets-backdrop.css");36@import url("gtk-widgets-backdrop.css");
35@import url("apps/gedit.css");37@import url("apps/gedit.css");
36@import url("apps/gnome-panel.css");38@import url("apps/gnome-panel.css");
37@import url("apps/gnome-terminal.css");39@import url("apps/gnome-terminal.css");
40@import url("apps/gnome-contacts.css");
38@import url("apps/nautilus.css");41@import url("apps/nautilus.css");
39@import url("apps/unity.css");42@import url("apps/unity.css");
40@import url("apps/unity-greeter.css");43@import url("apps/unity-greeter.css");
4144
=== added file 'Radiance/gtk-3.0/apps/gnome-contacts.css'
--- Radiance/gtk-3.0/apps/gnome-contacts.css 1970-01-01 00:00:00 +0000
+++ Radiance/gtk-3.0/apps/gnome-contacts.css 2012-07-10 17:44:18 +0000
@@ -0,0 +1,107 @@
1/* Gnome Contacts */
2
3/* Line at top in contacts pane, similar to .documents-scrolledwin.frame */
4.contacts-content.frame {
5 border-width: 1px 0 0 0;
6 border-radius: 0;
7}
8
9/* Background color in contacts pane, similar to .documents-main-view.view */
10.contacts-main-view.view {
11 background-color: @bg_color;
12 color: @fg_color;
13}
14
15.contacts-suggestion {
16 background-color: @dark_bg_color;
17 color: @dark_fg_color;
18 border-radius: 4px;
19}
20
21/* Border on the right in the left menu toolbar */
22.contacts-left-toolbar.toolbar.menubar {
23 border-image: linear-gradient(to bottom, @bg_color, shade(@borders, 1.2));
24 border-image-width: 0 1px 0 0;
25 border-image-slice: 1;
26}
27
28/* Sidebar with line at top and the left */
29ContactsWindow .sidebar.frame {
30 border-width: 1px 1px 0 0;
31 border-style: solid;
32 border-color: @borders;
33 border-image: none;
34 border-radius: 0;
35 padding: 0;
36}
37
38.contacts-avatar-frame.frame {
39 border-width: 1px 1px 0 1px;
40 border-style: solid;
41 border-color: @borders;
42 border-image: none;
43 border-radius: 0;
44 padding: 0;
45}
46
47/* Primary toolbar with no line at top to avoid conflicts with frame border */
48ContactsWindow .primary-toolbar.toolbar {
49 border-width: 0 0 1px 0;
50}
51
52ContactsWindow .sidebar .view {
53 background-color: #ebebeb; /* KEN: super light grey */
54}
55ContactsWindow .sidebar .view:selected,
56ContactsWindow .sidebar .view:selected:focus {
57 background-color: @selected_bg_color;
58}
59
60.contacts-button:active {
61 border-color: #000000;
62 border-image: none;
63}
64
65.contacts-entry {
66 box-shadow: none;
67 border-image: none;
68 border-width: 1px;
69 border-radius: 4px;
70 border-style: solid;
71 background-image: none;
72}
73
74.contacts-entry:selected,
75.contacts-entry:selected:focus {
76 background-color: @selected_bg_color;
77 color: @selected_fg_color;
78}
79
80.contacts-entry.contacts-postal-entry {
81 border-radius: 0 0 0 0;
82 border-width: 1px 1px 0 1px;
83}
84
85.contacts-entry.contacts-postal-entry:nth-child(first) {
86 border-radius: 4px 4px 0 0;
87}
88
89.contacts-entry.contacts-postal-entry:nth-child(last) {
90 border-radius: 0 0 4px 4px;
91 border-width: 1px;
92}
93
94.button.contacts-square {
95 padding: 0px;
96}
97
98.contacts-notification {
99 border-style: solid;
100 border-color: @borders;
101 border-width: 0 1px 1px 1px;
102 border-radius: 0 0 5px 5px;
103 background-color: @dark_bg_color;
104 color: @dark_fg_color;
105}
106
107
0108
=== modified file 'Radiance/gtk-3.0/gtk.css'
--- Radiance/gtk-3.0/gtk.css 2012-03-30 16:29:46 +0000
+++ Radiance/gtk-3.0/gtk.css 2012-07-10 17:44:18 +0000
@@ -28,11 +28,13 @@
28@define-color transparent rgba (0, 0, 0, 0);28@define-color transparent rgba (0, 0, 0, 0);
29@define-color backdrop_selected_bg_color shade (@bg_color, 0.92);29@define-color backdrop_selected_bg_color shade (@bg_color, 0.92);
30@define-color backdrop_selected_fg_color @fg_color;30@define-color backdrop_selected_fg_color @fg_color;
31@define-color borders @bg_color;
3132
32@import url("gtk-widgets.css");33@import url("gtk-widgets.css");
33@import url("gtk-widgets-backdrop.css");34@import url("gtk-widgets-backdrop.css");
34@import url("apps/gedit.css");35@import url("apps/gedit.css");
35@import url("apps/gnome-panel.css");36@import url("apps/gnome-panel.css");
36@import url("apps/gnome-terminal.css");37@import url("apps/gnome-terminal.css");
38@import url("apps/gnome-contacts.css");
37@import url("apps/nautilus.css");39@import url("apps/nautilus.css");
38@import url("apps/unity.css");40@import url("apps/unity.css");

Subscribers

People subscribed via source and target branches