From 71cfb8e077870f3778e0f7182758c8ea2dbf7eef Mon Sep 17 00:00:00 2001 From: Jakub Steiner Date: Wed, 12 Dec 2018 19:45:39 +0100 Subject: [PATCH] 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 b6a8560df6..021c49193e 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -2235,7 +2235,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; }