[gtk/wip/jimmac/adwaita-3-32: 52/67] Adwaita: headerbar radius
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/jimmac/adwaita-3-32: 52/67] Adwaita: headerbar radius
- Date: Mon, 21 Jan 2019 18:21:06 +0000 (UTC)
commit 2badd5f45a11268274765f7f6980a5535c57cee3
Author: Jakub Steiner <jimmac gmail com>
Date: Wed Dec 12 10:53:08 2018 +0100
Adwaita: headerbar radius
- last occurence of window border radius, I swear :)
https://gitlab.gnome.org/GNOME/gtk/issues/1510
gtk/theme/Adwaita/_common.scss | 4 ++--
gtk/theme/Adwaita/gtk-contained-dark.css | 2 +-
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 ef86a5f3f3..35680e477b 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -1721,8 +1721,8 @@ headerbar {
.background .titlebar {
&:backdrop, & {
- border-top-left-radius: 7px;
- border-top-right-radius: 7px;
+ border-top-left-radius: $window_radius;
+ border-top-right-radius: $window_radius;
}
}
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 572bce6edf..99e6ce47ac 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -678,7 +678,7 @@ headerbar switch { margin-top: 9px; margin-bottom: 9px; }
headerbar.titlebar headerbar:not(.titlebar) { background: none; box-shadow: none; }
-.background .titlebar:backdrop, .background .titlebar { border-top-left-radius: 7px;
border-top-right-radius: 7px; }
+.background .titlebar:backdrop, .background .titlebar { border-top-left-radius: 10px;
border-top-right-radius: 10px; }
.background.tiled .titlebar:backdrop, .background.tiled .titlebar, .background.tiled-top .titlebar:backdrop,
.background.tiled-top .titlebar, .background.tiled-right .titlebar:backdrop, .background.tiled-right
.titlebar, .background.tiled-bottom .titlebar:backdrop, .background.tiled-bottom .titlebar,
.background.tiled-left .titlebar:backdrop, .background.tiled-left .titlebar, .background.maximized
.titlebar:backdrop, .background.maximized .titlebar, .background.solid-csd .titlebar:backdrop,
.background.solid-csd .titlebar { border-top-left-radius: 0; border-top-right-radius: 0; }
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index b226d1c87e..33d82f78f4 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -686,7 +686,7 @@ headerbar switch { margin-top: 9px; margin-bottom: 9px; }
headerbar.titlebar headerbar:not(.titlebar) { background: none; box-shadow: none; }
-.background .titlebar:backdrop, .background .titlebar { border-top-left-radius: 7px;
border-top-right-radius: 7px; }
+.background .titlebar:backdrop, .background .titlebar { border-top-left-radius: 10px;
border-top-right-radius: 10px; }
.background.tiled .titlebar:backdrop, .background.tiled .titlebar, .background.tiled-top .titlebar:backdrop,
.background.tiled-top .titlebar, .background.tiled-right .titlebar:backdrop, .background.tiled-right
.titlebar, .background.tiled-bottom .titlebar:backdrop, .background.tiled-bottom .titlebar,
.background.tiled-left .titlebar:backdrop, .background.tiled-left .titlebar, .background.maximized
.titlebar:backdrop, .background.maximized .titlebar, .background.solid-csd .titlebar:backdrop,
.background.solid-csd .titlebar { border-top-left-radius: 0; border-top-right-radius: 0; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]