floating-bar: don't use a yellow color for the floating bar

Make it also a bit shorter.
This commit is contained in:
Cosimo Cecchi 2011-03-15 10:13:00 -04:00
parent 00a9b3ae50
commit 275744644c
2 changed files with 11 additions and 6 deletions

View file

@ -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 {

View file

@ -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);