[gnome-themes-standard] adwaita gtk3: first stab at toolbars padding tweak.
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] adwaita gtk3: first stab at toolbars padding tweak.
- Date: Mon, 29 Oct 2012 10:04:52 +0000 (UTC)
commit b81d42b7e0c5d7638c25f59bdb8685db7dd5adce
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Mon Oct 29 11:04:31 2012 +0100
adwaita gtk3: first stab at toolbars padding tweak.
themes/Adwaita/gtk-3.0/gnome-applications.css | 4 ++--
themes/Adwaita/gtk-3.0/gtk-widgets.css | 11 +++++++----
2 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gnome-applications.css b/themes/Adwaita/gtk-3.0/gnome-applications.css
index ef2a78b..e6b85a6 100644
--- a/themes/Adwaita/gtk-3.0/gnome-applications.css
+++ b/themes/Adwaita/gtk-3.0/gnome-applications.css
@@ -110,11 +110,11 @@ NautilusToolbar .button *:active:insensitive {
NautilusQueryEditor .primary-toolbar.toolbar {
border-bottom-width: 0;
- padding: 3px;
}
NautilusQueryEditor .toolbar {
- padding: 4px 4px 3px 4px;
+ padding-top: 3px;
+ padding-bottom: 2px;
border-width: 1px 0 0 0;
border-style: solid;
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 41d2d4c..5b67dff 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -2441,7 +2441,7 @@ GtkCheckButton:selected:focus {
.toolbar {
border-style: none;
border-color: darker (@theme_bg_color);
- padding: 3px;
+ padding: 6px;
background-color: @theme_bg_color;
}
@@ -2460,7 +2460,7 @@ GtkCheckButton:selected:focus {
.toolbar.menubar {
-GtkToolbar-button-relief: normal;
- padding: 4px 4px 2px 4px; /* weird padding to compensate border-images
+ padding: 6px 6px 4px 6px; /* weird padding to compensate border-images
and eventual top border presence,
see selection mode toolbars */
@@ -2484,6 +2484,8 @@ GtkCheckButton:selected:focus {
-GtkToolbar-button-relief: normal;
box-shadow: inset 0 3px alpha(black, 0.02), inset 0 2px alpha(black, 0.02), inset 0 1px alpha(black, 0.02);
text-shadow: 0 1px @primary_toolbar_button_text_shadow;
+ padding-top: 3px;
+ padding-bottom: 3px;
}
.primary-toolbar .toolbar:insensitive,
@@ -2529,6 +2531,7 @@ GtkCheckButton:selected:focus {
-GtkToolbar-button-relief: normal;
box-shadow: inset 0 3px alpha(black, 0.02), inset 0 2px alpha(black, 0.02), inset 0 1px alpha(black, 0.02);
+ padding: 2px;
}
.inline-toolbar.toolbar:backdrop {
@@ -2538,14 +2541,14 @@ GtkCheckButton:selected:focus {
.inline-toolbar.toolbar:last-child {
border-top-width: 0;
- padding-top: 4px;
+ /*padding-top: 4px; FIXME: why a specific padding here? */
border-radius: 0 0 3px 3px;
}
.inline-toolbar.toolbar.vertical:last-child {
border-left-width: 0;
- padding-left: 4px;
+ /*padding-left: 4px; FIXME: why a specific padding here? */
border-radius: 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]