[libadwaita/wip/exalm/style: 2/6] stylesheet: Round window corners




commit acb6be8f0a78ae5d454b3a1fe0a00d663c862aba
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Apr 7 12:09:19 2021 +0500

    stylesheet: Round window corners
    
    Fixes https://gitlab.gnome.org/GNOME/libadwaita/-/issues/94

 src/stylesheet/_common.scss | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/stylesheet/_common.scss b/src/stylesheet/_common.scss
index 4005060..51d150e 100644
--- a/src/stylesheet/_common.scss
+++ b/src/stylesheet/_common.scss
@@ -4052,7 +4052,7 @@ window {
     box-shadow: 0 3px 9px 1px transparentize(black, 0.5),
                 0 0 0 1px $_wm_border; //doing borders with box-shadow
     margin: 0px;
-    border-radius: $window_radius $window_radius 0 0;
+    border-radius: $window_radius;
     &:backdrop {
       // the transparent shadow here is to enforce that the shadow extents don't
       // change when we go to backdrop, to prevent jumping windows.
@@ -4071,7 +4071,6 @@ window {
     }
 
     &.dialog.message {
-      border-radius: $window_radius;
       box-shadow: 0 1px 2px transparentize(black, 0.8),
                   0 0 0 1px transparentize($_wm_border, 0.1);
     }


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