[libadwaita/wip/exalm/stylesheet2: 55/103] stylesheet: Group dnd wildcards together




commit e92d45720105f1c99bf49be356e805a9453a46a5
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Apr 8 23:26:56 2021 +0500

    stylesheet: Group dnd wildcards together
    
    Remove a redundant rule as well, decoration node doesn't exist anymore.

 src/stylesheet/_common.scss | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/src/stylesheet/_common.scss b/src/stylesheet/_common.scss
index 60bd12b..5e130d6 100644
--- a/src/stylesheet/_common.scss
+++ b/src/stylesheet/_common.scss
@@ -3291,16 +3291,6 @@ expander-widget {
   }
 }
 
-.navigation-sidebar,
-placessidebar,
-stackswitcher,
-expander-widget {
-  &:not(decoration):not(window):drop(active):focus,
-  &:not(decoration):not(window):drop(active) {
-    box-shadow: none;
-  }
-}
-
 
 /************
  * Calendar *
@@ -4079,13 +4069,23 @@ shortcut > .keycap {
 
 }
 
-:not(decoration):not(window):drop(active):focus,
-:not(decoration):not(window):drop(active) { // FIXME needs to be done widget by widget, this wildcard should 
really die
+:not(window):drop(active):focus,
+:not(window):drop(active) { // FIXME needs to be done widget by widget, this wildcard should really die
   border-color: $drop_target_color;
   box-shadow: inset 0 0 0 1px $drop_target_color;
   caret-color: $drop_target_color;
 }
 
+.navigation-sidebar,
+placessidebar,
+stackswitcher,
+expander-widget {
+  :not(window):drop(active):focus,
+  :not(window):drop(active) {
+    box-shadow: none;
+  }
+}
+
 stackswitcher > button.text-button { min-width: 100px; } // FIXME aggregate with buttons
 
 stackswitcher.circular {


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