[libadwaita] stylesheet: Softer popover shadow



commit 785e52d716da4e1b749493da361d1a8ecfb257cb
Author: Tobias Bernard <tbernard gnome org>
Date:   Fri Nov 26 10:00:43 2021 +0000

    stylesheet: Softer popover shadow
    
    Slightly larger, softer shadow on popovers with less prominent borders,
    reflecting their higher elevation compared to e.g. lists and bringing
    them more in line with the rest of the style.

 src/stylesheet/widgets/_popovers.scss | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/stylesheet/widgets/_popovers.scss b/src/stylesheet/widgets/_popovers.scss
index 030e600a..f5025398 100644
--- a/src/stylesheet/widgets/_popovers.scss
+++ b/src/stylesheet/widgets/_popovers.scss
@@ -9,9 +9,9 @@ popover {
     background-color: $popover_bg_color;
     color: $popover_fg_color;
     background-clip: padding-box;
-    border: 1px solid $window_border_color;
-    box-shadow: 0 1px 3px 1px transparentize(black, .93),
-                0 2px 6px 2px transparentize(black, .97);
+    border: 1px solid if($contrast == 'high', $border_color, transparentize(black, .86));
+    box-shadow: 0 1px 5px 1px transparentize(black, .91),
+                0 2px 14px 3px transparentize(black, .95);
   }
 
   > contents {


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