[nautilus/gnome-3-20] theme: avoid dnd hint drawing



commit 3836ba11d766f0a301b100645d53e6990befbbb5
Author: Carlos Soriano <csoriano gnome org>
Date:   Thu Mar 17 13:12:24 2016 +0100

    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.

 src/resources/css/Adwaita.css |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/resources/css/Adwaita.css b/src/resources/css/Adwaita.css
index 0d20f21..c09ac4e 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
  */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]