[gnome-themes-standard] inline-toolbars: implement button relief style for inline toolbars
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] inline-toolbars: implement button relief style for inline toolbars
- Date: Fri, 8 Jul 2011 16:20:04 +0000 (UTC)
commit 0244677414c6897301682b2bbe3b74e22c391720
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Jul 8 12:18:39 2011 -0400
inline-toolbars: implement button relief style for inline toolbars
https://bugzilla.gnome.org/show_bug.cgi?id=643702
themes/Adwaita/gtk-3.0/gtk-widgets.css | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 50223ee..f762e4c 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -934,6 +934,8 @@ GtkTreeMenu .menuitem * {
border-radius: 0;
border-style: solid;
+ -GtkToolbar-button-relief: normal;
+
padding: 4;
background-image: -gtk-gradient (linear,
@@ -956,6 +958,19 @@ GtkTreeMenu .menuitem * {
.inline-toolbar.toolbar .button {
padding: 1;
icon-shadow: 0 1 @theme_base_color;
+
+ border-image: none;
+ border-color: shade(@button_border, 0.95);
+ border-radius: 0;
+ border-width: 1 0 1 1;
+ border-style: solid;
+
+ box-shadow: inset 1 1 alpha(@theme_base_color, 0.50);
+}
+
+.inline-toolbar.toolbar .button:insensitive {
+ border-color: shade(@button_border, 0.95);
+ box-shadow: none;
}
.inline-toolbar.toolbar .button *:active,
@@ -963,6 +978,17 @@ GtkTreeMenu .menuitem * {
icon-shadow: none;
}
+/* nth-child for inline toolbar button groups */
+.inline-toolbar.toolbar GtkToolButton:nth-child(first) .button {
+ border-radius: 3 0 0 3;
+ box-shadow: none;
+}
+
+.inline-toolbar.toolbar GtkToolButton:nth-child(last) .button {
+ border-radius: 0 3 3 0;
+ border-width: 1;
+}
+
/***********
* Sidebar *
***********/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]