[gnome-boxes] Make fullscreen toolbar transparent
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] Make fullscreen toolbar transparent
- Date: Wed, 23 Jan 2013 11:09:53 +0000 (UTC)
commit 71951c4ca05a8d4dd7bcb3cd94adc8b27e28158f
Author: Alexander Larsson <alexl redhat com>
Date: Wed Jan 23 11:23:19 2013 +0100
Make fullscreen toolbar transparent
This picks a background color and alpha like in the mockups:
https://github.com/gnome-design-team/gnome-mockups/blob/master/boxes/boxes-fullscreen.png
https://bugzilla.gnome.org/show_bug.cgi?id=674663
data/gtk-style.css | 4 ++++
src/display-page.vala | 1 +
2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/data/gtk-style.css b/data/gtk-style.css
index 02b3201..88da889 100644
--- a/data/gtk-style.css
+++ b/data/gtk-style.css
@@ -48,6 +48,10 @@ BoxesMiniGraph {
background-image: none;
}
+.boxes-overlay-toolbar {
+ background-color: rgba(20,20,20,0.85);
+}
+
.boxes-property-name-label {
color: #bebebe;
}
diff --git a/src/display-page.vala b/src/display-page.vala
index 9863494..b1f5ac7 100644
--- a/src/display-page.vala
+++ b/src/display-page.vala
@@ -114,6 +114,7 @@ private class Boxes.DisplayPage: GLib.Object {
overlay_toolbar_box.add (overlay_toolbar);
overlay_toolbar_box.valign = Gtk.Align.START;
overlay_toolbar_box.vexpand = false;
+ overlay_toolbar.get_style_context ().add_class ("boxes-overlay-toolbar");
notification_grid = new Grid ();
notification_grid.valign = Gtk.Align.START;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]