summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2016-03-17 13:12:24 +0100
committerCarlos Soriano <csoriano@gnome.org>2016-03-17 14:13:25 +0100
commit3836ba11d766f0a301b100645d53e6990befbbb5 (patch)
tree5fc7f4e1489edd0ce6617c841fddadd1e629bed4
parent27f846ee5d00ddf3aa23ed2528c6978e66669fcc (diff)
downloadnautilus-3836ba11d766f0a301b100645d53e6990befbbb5.tar.gz
theme: avoid dnd hint drawing
We were overriding the css border, but only the bottom one, so the top one was drawn as black by gtk+ when dnd. Since we already modify the icon to hint about dnd, we don't need that. Therefore, hide this styling. Patch by Lapo.
-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 0d20f2147..c09ac4e63 100644
--- a/src/resources/css/Adwaita.css
+++ b/src/resources/css/Adwaita.css
@@ -122,6 +122,11 @@
border-bottom: 1px solid @theme_bg_color;
}
+/* Hide superfluous treeview drop target indication */
+.nautilus-list-view .view.dnd {
+ border-style: none;
+}
+
/* Libgd tag entries in the search. Sadly it requires this copy pasted css style.
* https://git.gnome.org/browse/libgd/tree/libgd/gd-tagged-entry-default.css
*/