summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2016-02-15 11:10:40 +0100
committerCarlos Soriano <csoriano@gnome.org>2016-02-15 11:52:00 +0100
commit78f9e7a6413cbb50dab60a64ce2d16031d85eb4c (patch)
tree1a0b0d072a6f5802bf667a002830dfa3500065e1
parent70df7f19732e1aa41dbbd54287ed747ceed71afb (diff)
downloadnautilus-78f9e7a6413cbb50dab60a64ce2d16031d85eb4c.tar.gz
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
-rw-r--r--src/resources/css/Adwaita.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/resources/css/Adwaita.css b/src/resources/css/Adwaita.css
index 5ddae5c56..87d950125 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;
}