[gtk+] Adwaita: notebook tab sizing fix
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: notebook tab sizing fix
- Date: Fri, 26 Feb 2016 18:02:03 +0000 (UTC)
commit 4fd5ad2f07645363ecf80a0036b5b76c98d13ff8
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Fri Feb 26 19:01:19 2016 +0100
Adwaita: notebook tab sizing fix
gtk/theme/Adwaita/_common.scss | 3 +++
gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++
gtk/theme/Adwaita/gtk-contained.css | 4 ++++
3 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 162508c..5691a48 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -1988,6 +1988,9 @@ notebook {
}
}
}
+
+ &.top tab { padding-bottom: 4px; }
+ &.bottom tab { padding-top: 4px; }
}
> stack:not(:only-child) { // the :not(:only-child) is for "hidden" notebooks
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 8df37ad..5282bb2 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -2206,6 +2206,10 @@ notebook > header {
margin-bottom: 4px; }
notebook > header.left tabs tab.reorderable-page, notebook > header.right tabs tab.reorderable-page {
border-style: solid none; }
+ notebook > header.top tab {
+ padding-bottom: 4px; }
+ notebook > header.bottom tab {
+ padding-top: 4px; }
notebook > stack:not(:only-child) {
background-color: #292929; }
notebook > stack:not(:only-child):backdrop {
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 887248c..d8de88c 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -2216,6 +2216,10 @@ notebook > header {
margin-bottom: 4px; }
notebook > header.left tabs tab.reorderable-page, notebook > header.right tabs tab.reorderable-page {
border-style: solid none; }
+ notebook > header.top tab {
+ padding-bottom: 4px; }
+ notebook > header.bottom tab {
+ padding-top: 4px; }
notebook > stack:not(:only-child) {
background-color: #ffffff; }
notebook > stack:not(:only-child):backdrop {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]