[nautilus/gnome-3-20] css: draw a background for the notebook
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/gnome-3-20] css: draw a background for the notebook
- Date: Mon, 15 Feb 2016 10:52:44 +0000 (UTC)
commit 78f9e7a6413cbb50dab60a64ce2d16031d85eb4c
Author: Carlos Soriano <csoriano gnome org>
Date: Mon Feb 15 11:10:40 2016 +0100
css: draw a background for the notebook
With recent gtk+ changes, the notebook style and drawing was
changed somehow.
Nautilus had a white background by "luck", and the canvas view
needs to apply it's own background style in order to have a background
at all.
This commit follows what we were doing with the desktop window where we
apply a style class to have a transparent background, but in this case
a white one to fix this issue.
https://bugzilla.gnome.org/show_bug.cgi?id=761965
src/resources/css/Adwaita.css | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/resources/css/Adwaita.css b/src/resources/css/Adwaita.css
index 5ddae5c..87d9501 100644
--- a/src/resources/css/Adwaita.css
+++ b/src/resources/css/Adwaita.css
@@ -1,3 +1,9 @@
+.nautilus-window,
+.nautilus-window notebook,
+.nautilus-window notebook > stack {
+ background: white;
+}
+
.nautilus-canvas-item {
border-radius: 5px;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]