[libadwaita/wip/exalm/style: 1/4] stylesheet: Round window corners




commit f25ead0d12cec1675d31806b0a6344db19655585
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 | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/stylesheet/_common.scss b/src/stylesheet/_common.scss
index 4005060..a4d21d2 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.
@@ -4065,13 +4065,11 @@ window {
     }
 
     &.popup {
-      border-radius: $menu_radius;
       box-shadow: 0 1px 2px transparentize(black, 0.8),
                   0 0 0 1px transparentize($_wm_border, 0.1);
     }
 
     &.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]