summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-12-04 11:13:26 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-12-04 11:13:26 -0500
commit0dff89d9fb25aea74bd68eb317dbaf2644860325 (patch)
treed55cccfaa20769eb23ded88fe5f4dd3b661cb22d
parentd278afc85b3355ab8e5e4fd14705e0685f05a9c6 (diff)
downloadgtk+-revert-round-windows.tar.gz
Revert "theme: Round all window corners"revert-round-windows
This reverts commit e46522e4b522aa163ca757436dc948b1d989530d.
-rw-r--r--gtk/theme/Adwaita/_common.scss3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 19812ded36..5ad1236b49 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -4035,7 +4035,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;
+ border-radius: $window_radius $window_radius 0 0;
&:backdrop {
// the transparent shadow here is to enforce that the shadow extents don't
// change when we go to backdrop, to prevent jumping windows.
@@ -4054,6 +4054,7 @@ window {
}
&.dialog.message {
+ border-radius: $window_radius;
box-shadow: 0 1px 2px transparentize(black, 0.8),
0 0 0 1px transparentize($_wm_border, 0.1);
}