[gnome-themes-standard] toolbars: add icon-shadow for raised and inline toolbar buttons



commit 353acbd24eaf43d26d0acbf354975aa569469a6e
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Jun 6 10:53:00 2011 -0400

    toolbars: add icon-shadow for raised and inline toolbar buttons

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index b723ac8..9115def 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -906,6 +906,19 @@ GtkTreeMenu .menuitem * {
     border-width: 1;
 }
 
+/* setup shadows */
+.primary-toolbar.toolbar .raised .button,
+.primary-toolbar .toolbar .raised .button {
+    icon-shadow: 0 1 @theme_base_color;
+}
+
+.primary-toolbar.toolbar .raised .button *:active,
+.primary-toolbar .toolbar .raised .button *:active,
+.primary-toolbar.toolbar .raised .button *:insensitive,
+.primary-toolbar .toolbar .raised .button *:insensitive {
+    icon-shadow: none;
+}
+
 /* progressbars on primary toolbar entries are special */
 .primary-toolbar .toolbar .entry.progressbar,
 .primary-toolbar.toolbar .entry.progressbar {
@@ -950,6 +963,16 @@ GtkTreeMenu .menuitem * {
     border-radius: 0 0 3 3;
 }
 
+/* setup shadows */
+.inline-toolbar.toolbar .button {
+    icon-shadow: 0 1 red;
+}
+
+.inline-toolbar.toolbar .button *:active,
+.inline-toolbar.toolbar .button *:insensitive {
+    icon-shadow: none;
+}
+
 /***********
  * Sidebar *
  ***********/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]