[gtk+] Adwaita: add vertical margins to headebar entries and separators
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: add vertical margins to headebar entries and separators
- Date: Sat, 9 Jan 2016 10:25:49 +0000 (UTC)
commit 4853303dd7f87b6932841895ad54d18531cae20e
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Sat Jan 9 11:25:08 2016 +0100
Adwaita: add vertical margins to headebar entries and separators
gtk/theme/Adwaita/_common.scss | 4 +++-
gtk/theme/Adwaita/gtk-contained-dark.css | 5 +++++
gtk/theme/Adwaita/gtk-contained.css | 5 +++++
3 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index b3093c6..bb22ace 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -1287,7 +1287,9 @@ headerbar {
}
}
- // add vertical margins to headerbar buttons to avoid them spanning the whole height
+ // add vertical margins to headerbar entries, buttons and separators to avoid them spanning the whole
height
+ entry,
+ separator,
button {
margin-top: 6px;
margin-bottom: 6px;
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 6ce7d46..039e063 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -1927,8 +1927,13 @@ headerbar {
.titlebar headerbar.default-decoration button.titlebutton {
min-height: 26px;
padding: 0 5px; }
+ .titlebar:not(headerbar) entry, .titlebar:not(headerbar) spinbutton,
+ .titlebar:not(headerbar) separator,
.titlebar:not(headerbar) button,
.titlebar:not(headerbar) button.titlebutton,
+ headerbar entry,
+ headerbar spinbutton,
+ headerbar separator,
headerbar button,
headerbar button.titlebutton,
headerbar .titlebar button.titlebutton,
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index d7538ff..f39a0b0 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -1931,8 +1931,13 @@ headerbar {
.titlebar headerbar.default-decoration button.titlebutton {
min-height: 26px;
padding: 0 5px; }
+ .titlebar:not(headerbar) entry, .titlebar:not(headerbar) spinbutton,
+ .titlebar:not(headerbar) separator,
.titlebar:not(headerbar) button,
.titlebar:not(headerbar) button.titlebutton,
+ headerbar entry,
+ headerbar spinbutton,
+ headerbar separator,
headerbar button,
headerbar button.titlebutton,
headerbar .titlebar button.titlebutton,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]