[gtk/wip/jimmac/dialog-buttons-fix] Adwaita: dialog button rounding



commit c25d305ce1358d83a58738e6b150e3530586775b
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Jul 16 13:50:44 2020 +0200

    Adwaita: dialog button rounding
    
    - fix :active corner rounding
    
    Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/2935

 gtk/theme/Adwaita/_common.scss | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index a7646eade7..9808222aa1 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3213,8 +3213,8 @@ window.dialog.message { // Message Dialog styling
     background-image: none;
     background-color: $bg_color;
     border-style: none;
-    border-top-left-radius: 7px;
-    border-top-right-radius: 7px;
+    border-top-left-radius: $window_radius - 1;
+    border-top-right-radius: $window_radius - 1;
   }
 
   box.dialog-vbox.vertical {
@@ -3240,13 +3240,13 @@ window.dialog.message { // Message Dialog styling
       border-right-style: none;
       border-bottom-style: none;
 
-      &:first-child{
+      &:first-child{ //seems to be ignored
         border-left-style: none;
-        border-bottom-left-radius: 7px;
+        border-radius: 0 0 0 #{$window_radius - 1};
       }
 
       &:last-child {
-        border-bottom-right-radius: 7px;
+        border-radius: 0 0 #{$window_radius - 1} 0;
       }
     }
   }


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