[gtk/wip/jimmac/adwaita-3-32-noshadow: 97/106] Adwaita: rounding of popovers



commit dd40cad85c9944ea6cb0aa2f4fdcefe962641910
Author: Jakub Steiner <jimmac gmail com>
Date:   Wed Dec 12 19:45:39 2018 +0100

    Adwaita: rounding of popovers
    
    - you give Tobias a finger and he grbs the whole arm
    
    https://gitlab.gnome.org/GNOME/gtk/issues/1510

 gtk/theme/Adwaita/_common.scss           | 2 +-
 gtk/theme/Adwaita/gtk-contained-dark.css | 2 +-
 gtk/theme/Adwaita/gtk-contained.css      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 072715573e..874c022c1f 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2234,7 +2234,7 @@ menuitem {
 
 popover.background {
   padding: 2px;
-  border-radius: 5px;
+  border-radius: $menu_radius + 4;
   background-color: $popover_bg_color;
 
   .csd &, & { border: 1px solid $borders_color; }
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index fab8a6a605..7abb0b659f 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -852,7 +852,7 @@ menuitem check:dir(ltr), menuitem radio:dir(ltr) { margin-right: 7px; }
 menuitem check:dir(rtl), menuitem radio:dir(rtl) { margin-left: 7px; }
 
 /*************** Popovers   * */
-popover.background { padding: 2px; border-radius: 5px; background-color: #3f3e40; box-shadow: 0 1px 2px 
rgba(0, 0, 0, 0.3); }
+popover.background { padding: 2px; border-radius: 9px; background-color: #3f3e40; box-shadow: 0 1px 2px 
rgba(0, 0, 0, 0.3); }
 
 .csd popover.background, popover.background { border: 1px solid #252526; }
 
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index efa8ae8c7c..406acd872a 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -860,7 +860,7 @@ menuitem check:dir(ltr), menuitem radio:dir(ltr) { margin-right: 7px; }
 menuitem check:dir(rtl), menuitem radio:dir(rtl) { margin-left: 7px; }
 
 /*************** Popovers   * */
-popover.background { padding: 2px; border-radius: 5px; background-color: #f6f5f4; box-shadow: 0 1px 2px 
rgba(0, 0, 0, 0.3); }
+popover.background { padding: 2px; border-radius: 9px; background-color: #f6f5f4; box-shadow: 0 1px 2px 
rgba(0, 0, 0, 0.3); }
 
 .csd popover.background, popover.background { border: 1px solid #cdc7c2; }
 


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