[libadwaita/wip/exalm/leaflet-shadow: 4/5] stylesheet: Remove border from the leaflet/flap transition




commit ee5a22183d62f2b4a53cf6b7266f2a827a5b2359
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Mar 29 23:51:27 2022 +0400

    stylesheet: Remove border from the leaflet/flap transition
    
    Fixes https://gitlab.gnome.org/GNOME/libadwaita/-/issues/449

 src/stylesheet/widgets/_transition-shadow.scss | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/src/stylesheet/widgets/_transition-shadow.scss b/src/stylesheet/widgets/_transition-shadow.scss
index f150b900..1cd13d17 100644
--- a/src/stylesheet/widgets/_transition-shadow.scss
+++ b/src/stylesheet/widgets/_transition-shadow.scss
@@ -16,10 +16,12 @@ leaflet {
     background: $shade_color;
   }
 
-  > border {
-    min-width: 1px;
-    min-height: 1px;
-    background: gtkalpha(currentColor, if($contrast == 'high', .5, .1));
+  @if $contrast == 'high' {
+    > border {
+      min-width: 1px;
+      min-height: 1px;
+      background: $border_color ;
+    }
   }
 
   > shadow {


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