From 275744644c95cc039efae7029a94814b47274ff7 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Tue, 15 Mar 2011 10:13:00 -0400 Subject: [PATCH] floating-bar: don't use a yellow color for the floating bar Make it also a bit shorter. --- data/nautilus.css | 13 +++++++++---- src/nautilus-floating-bar.c | 4 ++-- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/data/nautilus.css b/data/nautilus.css index 9d07c4b97..5e7ff4963 100644 --- a/data/nautilus.css +++ b/data/nautilus.css @@ -21,16 +21,21 @@ NautilusFloatingBar { - background-color: #fdf6bb; - border-color: #f4e564; - border-radius: 1; - border-width: 2; + background-color: shade (@theme_base_color, 0.95); + border-color: darker (shade (@theme_base_color, 0.95)); + border-radius: 2; + border-width: 1; + + padding: 0; } NautilusFloatingBar > GtkBox > GtkButton { background-color: alpha (@theme_base_color, 0.0); background-image: none; border-style: none; + + -GtkButton-image-spacing: 0; + -GtkButton-inner-border: 0; } NautilusPlacesSidebar { diff --git a/src/nautilus-floating-bar.c b/src/nautilus-floating-bar.c index 65c0afbcf..d0f4e54d6 100644 --- a/src/nautilus-floating-bar.c +++ b/src/nautilus-floating-bar.c @@ -199,8 +199,8 @@ nautilus_floating_bar_constructed (GObject *obj) gtk_label_set_ellipsize (GTK_LABEL (w), PANGO_ELLIPSIZE_END); gtk_box_pack_start (GTK_BOX (box), w, FALSE, FALSE, 0); g_object_set (w, - "margin-top", 6, - "margin-bottom", 6, + "margin-top", 2, + "margin-bottom", 2, "margin-left", 6, "margin-right", 6, NULL);