summaryrefslogtreecommitdiff
path: root/src/resources/css
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2016-03-03 18:05:40 +0100
committerCarlos Soriano <csoriano@gnome.org>2016-03-03 18:07:53 +0100
commita9af5c60ad4b55d0808b06e61ed26ddb15dcf09f (patch)
tree4e0a0258f3ad576f1b4d942003cee4d1ebfdde05 /src/resources/css
parent4b2753d33a402762f6607f4c1b8626679c77a4bf (diff)
downloadnautilus-a9af5c60ad4b55d0808b06e61ed26ddb15dcf09f.tar.gz
window-slot: workaround search bar double border
We currently have a double border in the view due to the search bar using a revealer, which always allocates 1 px and therefore shows the bottom border. Since to fix it we would need widgets able to allocate 0 px, which is current impossible, we workaround it with a CSS style that moves the content 1 px upward.
Diffstat (limited to 'src/resources/css')
-rw-r--r--src/resources/css/Adwaita.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/css/Adwaita.css b/src/resources/css/Adwaita.css
index c2ba62d23..8c7967799 100644
--- a/src/resources/css/Adwaita.css
+++ b/src/resources/css/Adwaita.css
@@ -159,3 +159,8 @@
.documents-entry-tag.button:hover {
color: shade(@entry_tag_bg, 2.10);
}
+
+/* Workaround for the double border of the searchbar since we use a revealer which
+ * always allocates at least 1 pixel */
+searchbar { border-top: 1px solid @borders; }
+.searchbar-container { margin-top: -1px; }