[gtk+] Adwaita: Update color button styling



commit e148876dd4514675df5956230d2706b0998dc780
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Oct 30 01:16:26 2015 -0400

    Adwaita: Update color button styling
    
    Adapt to the previous commit.

 gtk/theme/Adwaita/_common.scss           |    2 +-
 gtk/theme/Adwaita/gtk-contained-dark.css |    7 ++++---
 gtk/theme/Adwaita/gtk-contained.css      |    7 ++++---
 3 files changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 25b3a87..05a0c05 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -730,7 +730,7 @@ modelbutton.flat,
 }
 
 
-GtkColorButton.button {
+button.color {
   padding: 5px; // Uniform padding on the GtkColorButton
 
   GtkColorSwatch:first-child:last-child { // :first-child:last-child for a specificity bump, it gets 
overridden by the
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index f214663..4ec0208 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -1233,12 +1233,13 @@ modelbutton.flat,
   .menuitem.button.flat:hover {
     background-color: #4b5150; }
 
-GtkColorButton.button {
+button.color, headerbar button.color.titlebutton,
+.titlebar button.color.titlebutton {
   padding: 5px; }
-  GtkColorButton.button GtkColorSwatch:first-child:last-child {
+  button.color GtkColorSwatch:first-child:last-child {
     border-radius: 0;
     box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px rgba(238, 238, 236, 0.1); }
-    GtkColorButton.button GtkColorSwatch:first-child:last-child:insensitive, GtkColorButton.button 
GtkColorSwatch:first-child:last-child:backdrop {
+    button.color GtkColorSwatch:first-child:last-child:insensitive, button.color 
GtkColorSwatch:first-child:last-child:backdrop {
       box-shadow: none; }
 
 /*********
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 977f032..641e295 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -1233,12 +1233,13 @@ modelbutton.flat,
   .menuitem.button.flat:hover {
     background-color: #dadbdb; }
 
-GtkColorButton.button {
+button.color, headerbar button.color.titlebutton,
+.titlebar button.color.titlebutton {
   padding: 5px; }
-  GtkColorButton.button GtkColorSwatch:first-child:last-child {
+  button.color GtkColorSwatch:first-child:last-child {
     border-radius: 0;
     box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px white; }
-    GtkColorButton.button GtkColorSwatch:first-child:last-child:insensitive, GtkColorButton.button 
GtkColorSwatch:first-child:last-child:backdrop {
+    button.color GtkColorSwatch:first-child:last-child:insensitive, button.color 
GtkColorSwatch:first-child:last-child:backdrop {
       box-shadow: none; }
 
 /*********


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