[gtk/wip/jimmac/adwaita-3-32: 16/38] Adwaita: rounding of popovers
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/jimmac/adwaita-3-32: 16/38] Adwaita: rounding of popovers
- Date: Mon, 28 Jan 2019 10:57:21 +0000 (UTC)
commit c529de1765cdb270782824bfb5e95b0452281120
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 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; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]