[gnome-contacts] Make sidebar more in line with mockup
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Make sidebar more in line with mockup
- Date: Wed, 11 May 2011 14:25:24 +0000 (UTC)
commit 7f52e088a5be5c624b41a53c40f1c4f76e93701b
Author: Alexander Larsson <alexl redhat com>
Date: Wed May 11 14:29:42 2011 +0200
Make sidebar more in line with mockup
data/gnome-contacts.css | 6 ++++++
src/contacts-app.vala | 1 +
2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/data/gnome-contacts.css b/data/gnome-contacts.css
index 2883a40..7a11fcb 100644
--- a/data/gnome-contacts.css
+++ b/data/gnome-contacts.css
@@ -3,3 +3,9 @@ ContactsApp GtkFrame.frame {
border-width: 0 1 1 1;
padding: 0 1 1 1;
}
+
+.sidebar row:selected,
+.sidebar row:selected:focused {
+ background-image: none;
+ background-color: #555753;
+}
diff --git a/src/contacts-app.vala b/src/contacts-app.vala
index 44098ea..f4741af 100644
--- a/src/contacts-app.vala
+++ b/src/contacts-app.vala
@@ -339,6 +339,7 @@ public class Contacts.App : Window {
var scrolled = new ScrolledWindow(null, null);
scrolled.set_vexpand (true);
+ scrolled.set_border_width (8);
grid.attach (scrolled, 0, 0, 1, 2);
scrolled.get_style_context ().add_class (STYLE_CLASS_SIDEBAR);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]