[gtk/dnd-gestures-2: 161/175] Adwaita: No dnd highlight for iconviews



commit 873ab17d0b6c3b2e27dffd11e8866cefb93fee4c
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jan 7 17:30:08 2020 -0500

    Adwaita: No dnd highlight for iconviews
    
    We only want to highlight the drop location
    that is rendered with a separate css node now.

 gtk/theme/Adwaita/_common.scss | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 850ec994a9..8879a75bba 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -146,6 +146,10 @@ iconview {
   @extend .view;
 
   &:drop(active) {
+    box-shadow: none;
+  }
+
+  dndtarget:drop(active) {
     border-style: solid;
     border-width: 1px;
     border-color: $selected_borders_color;


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