[gnome-themes-standard] Be specific about the style for suggested-action



commit 9d80d64e36e09b8e3a555a10382fd33eab25701b
Author: William Jon McCann <william jon mccann gmail com>
Date:   Thu Feb 27 09:25:51 2014 -0500

    Be specific about the style for suggested-action
    
    Add use the existing style only in .header-bar.

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 34fe1be..4270ddf 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -3274,7 +3274,7 @@ GtkProgressBar.osd.progressbar {
  * Suggested action buttons *
  ****************************/
 .toolbar .suggested-action.button,
-.suggested-action.button {
+.header-bar .suggested-action.button {
     background-image: linear-gradient(to bottom,
                                       @suggested_action_button_a,
                                       @suggested_action_button_b);
@@ -3283,7 +3283,7 @@ GtkProgressBar.osd.progressbar {
 }
 
 .toolbar .suggested-action.button:hover,
-.suggested-action.button:hover {
+.header-bar .suggested-action.button:hover {
     background-image: linear-gradient(to bottom,
                                       shade(@suggested_action_button_a, 1.10),
                                       shade(@suggested_action_button_b, 1.05));
@@ -3291,8 +3291,8 @@ GtkProgressBar.osd.progressbar {
 
 .toolbar .suggested-action.button:active,
 .toolbar .suggested-action.button:hover:active,
-.suggested-action.button:active,
-.suggested-action.button:hover:active {
+.header-bar .suggested-action.button:active,
+.header-bar .suggested-action.button:hover:active {
     background-image: linear-gradient(to bottom,
                                       @suggested_action_button_b,
                                       @suggested_action_button_a);
@@ -3301,41 +3301,41 @@ GtkProgressBar.osd.progressbar {
 }
 
 .toolbar .suggested-action.button:backdrop,
-.suggested-action.button:backdrop {
+.header-bar .suggested-action.button:backdrop {
     background-image: none;
 }
 
 .toolbar .suggested-action.button,
-.suggested-action.button {
+.header-bar .suggested-action.button {
     text-shadow: 0 1px @suggested_action_button_shadow;
     icon-shadow: 0 1px @suggested_action_button_shadow;
 }
 
 .toolbar .suggested-action.button:active,
 .toolbar .suggested-action.button:hover:active,
-.suggested-action.button:active,
-.suggested-action.button:hover:active {
+.header-bar .suggested-action.button:active,
+.header-bar .suggested-action.button:hover:active {
     text-shadow: 0 1px shade(@suggested_action_button_shadow, 1.15);
     icon-shadow: 0 1px shade(@suggested_action_button_shadow, 1.15);
 }
 
 
-.suggested-action.button:insensitive,
-.suggested-action.button:active *:insensitive {
+.header-bar .suggested-action.button:insensitive,
+.header-bar .suggested-action.button:active *:insensitive {
     icon-shadow: none;
     background-image: none;
     background-color: @insentitive_bg_color;
     border: 1px solid @insensitive_borders;
 }
 
-.suggested-action.button GtkLabel:insensitive,
-.suggested-action.button GtkLabel:backdrop,
-.suggested-action.button GtkLabel:backdrop:insensitive {
+.header-bar .suggested-action.button GtkLabel:insensitive,
+.header-bar .suggested-action.button GtkLabel:backdrop,
+.header-bar .suggested-action.button GtkLabel:backdrop:insensitive {
     color: @insensitive_fg_color;
     text-shadow: none;
 }
 
-.suggested-action.button:insensitive:backdrop {
+.header-bar .suggested-action.button:insensitive:backdrop {
     background-color: alpha(@insentitive_bg_color,0.7);
     border: 1px solid alpha(@insensitive_border_color,0.7);
 }


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