diff options
author | Lapo Calamandrei <calamandrei@gmail.com> | 2016-04-16 14:42:13 +0200 |
---|---|---|
committer | Lapo Calamandrei <calamandrei@gmail.com> | 2016-04-16 14:44:58 +0200 |
commit | dfc26939cc4314e7c6f11bc83df25640944c0e31 (patch) | |
tree | a163bd5469d2d0b1881f43ae6129a464f2ae3198 /gtk | |
parent | c961962ce66cc5a2d3e25f6503017f3c3351b6fa (diff) | |
download | gtk+-dfc26939cc4314e7c6f11bc83df25640944c0e31.tar.gz |
Adwaita: ensure dialogs titlebar rounded corners
broken from my previous commit about rounded corners, dialogs
doesn't use the "window" node, but the "dialog" node, so use the
.background styleclass in the selectors which is more generic.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/theme/Adwaita/_common.scss | 4 | ||||
-rw-r--r-- | gtk/theme/Adwaita/gtk-contained-dark.css | 2 | ||||
-rw-r--r-- | gtk/theme/Adwaita/gtk-contained.css | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 8ae4d1e58f..e526210d03 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -1522,8 +1522,8 @@ headerbar { } } -window:not(.tiled):not(.maximized) .titlebar { - &, &:backdrop { +.background:not(.tiled):not(.maximized) .titlebar { + &:backdrop, & { border-top-left-radius: 7px; border-top-right-radius: 7px; } diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 27568f1503..9aa08172a2 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -1937,7 +1937,7 @@ headerbar button { margin-top: 6px; margin-bottom: 6px; } -window:not(.tiled):not(.maximized) .titlebar, window:not(.tiled):not(.maximized) .titlebar:backdrop { +.background:not(.tiled):not(.maximized) .titlebar:backdrop, .background:not(.tiled):not(.maximized) .titlebar { border-top-left-radius: 7px; border-top-right-radius: 7px; } diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 39069863f8..2f861248a9 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -1944,7 +1944,7 @@ headerbar button { margin-top: 6px; margin-bottom: 6px; } -window:not(.tiled):not(.maximized) .titlebar, window:not(.tiled):not(.maximized) .titlebar:backdrop { +.background:not(.tiled):not(.maximized) .titlebar:backdrop, .background:not(.tiled):not(.maximized) .titlebar { border-top-left-radius: 7px; border-top-right-radius: 7px; } |