[gnome-themes-standard] insensitive state fix - use proper $color for insensitive button background



commit 261d5c8e46b06b49a511c719f12c5df0b3db7283
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Tue Jun 3 21:46:26 2014 +0200

    insensitive state fix
      - use proper $color for insensitive button background

 themes/Adwaita/gtk-3.0/_drawing.scss          |    5 +++--
 themes/Adwaita/gtk-3.0/gtk-contained-dark.css |   14 +++++++-------
 themes/Adwaita/gtk-3.0/gtk-contained.css      |   14 +++++++-------
 3 files changed, 17 insertions(+), 16 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_drawing.scss b/themes/Adwaita/gtk-3.0/_drawing.scss
index 5757064..1ddfdf6 100644
--- a/themes/Adwaita/gtk-3.0/_drawing.scss
+++ b/themes/Adwaita/gtk-3.0/_drawing.scss
@@ -193,7 +193,7 @@ $widget_edge: 0 1px $borders_edge; //outer hilight "used" on
   //
     color: $insensitive_fg_color;
     border-color: $insensitive_borders_color;
-    background-image: linear-gradient(to bottom, $c);
+    background-image: linear-gradient(to bottom, $insensitive_bg_color);
     text-shadow: none;
     icon-shadow: none;
     @if $noedge {
@@ -213,7 +213,8 @@ $widget_edge: 0 1px $borders_edge; //outer hilight "used" on
     color: $insensitive_fg_color;
     border-color: $insensitive_borders_color;
     background-image: linear-gradient(to bottom,
-                        mix($insensitive_borders_color, $bg_color, 10%));
+                        mix($insensitive_borders_color,
+                            $insensitive_bg_color, 10%));
     @if $noedge {
       // white with 0 alpha to avoid an ugly transition, since no color means
       // black with 0 alpha
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index 9f078b6..5df2485 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -227,7 +227,7 @@
     border-style: solid;
     color: #939695;
     border-color: #1c1f1f;
-    background-image: linear-gradient(to bottom, #393f3f);
+    background-image: linear-gradient(to bottom, red);
     text-shadow: none;
     icon-shadow: none;
     box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(238, 238, 236, 0.1); }
@@ -236,7 +236,7 @@
       border-style: solid;
       color: #939695;
       border-color: #1c1f1f;
-      background-image: linear-gradient(to bottom, #363b3b);
+      background-image: linear-gradient(to bottom, #e80303);
       box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(238, 238, 236, 0.1); }
   .button.suggested-action {
     border-width: 1px;
@@ -285,7 +285,7 @@
       border-style: solid;
       color: #939695;
       border-color: #1c1f1f;
-      background-image: linear-gradient(to bottom, #393f3f);
+      background-image: linear-gradient(to bottom, red);
       text-shadow: none;
       icon-shadow: none;
       box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(238, 238, 236, 0.1); }
@@ -336,7 +336,7 @@
       border-style: solid;
       color: #939695;
       border-color: #1c1f1f;
-      background-image: linear-gradient(to bottom, #393f3f);
+      background-image: linear-gradient(to bottom, red);
       text-shadow: none;
       icon-shadow: none;
       box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(238, 238, 236, 0.1); }
@@ -438,7 +438,7 @@ GtkColorButton.button {
     border-style: solid;
     color: #939695;
     border-color: #1c1f1f;
-    background-image: linear-gradient(to bottom, #393f3f);
+    background-image: linear-gradient(to bottom, red);
     text-shadow: none;
     icon-shadow: none;
     box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
@@ -474,7 +474,7 @@ GtkColorButton.button {
     border-style: solid;
     color: #939695;
     border-color: #1c1f1f;
-    background-image: linear-gradient(to bottom, #393f3f);
+    background-image: linear-gradient(to bottom, red);
     text-shadow: none;
     icon-shadow: none;
     box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(238, 238, 236, 0.1); }
@@ -927,7 +927,7 @@ GtkSwitch {
       border-style: solid;
       color: #939695;
       border-color: #1c1f1f;
-      background-image: linear-gradient(to bottom, #393f3f);
+      background-image: linear-gradient(to bottom, red);
       text-shadow: none;
       icon-shadow: none;
       box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index 72a44e6..8a19a89 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -227,7 +227,7 @@
     border-style: solid;
     color: #8d9091;
     border-color: #a1a1a1;
-    background-image: linear-gradient(to bottom, #ededed);
+    background-image: linear-gradient(to bottom, red);
     text-shadow: none;
     icon-shadow: none;
     box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px white; }
@@ -236,7 +236,7 @@
       border-style: solid;
       color: #8d9091;
       border-color: #a1a1a1;
-      background-image: linear-gradient(to bottom, #e5e5e5);
+      background-image: linear-gradient(to bottom, #f51010);
       box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px white; }
   .button.suggested-action {
     border-width: 1px;
@@ -285,7 +285,7 @@
       border-style: solid;
       color: #8d9091;
       border-color: #a1a1a1;
-      background-image: linear-gradient(to bottom, #ededed);
+      background-image: linear-gradient(to bottom, red);
       text-shadow: none;
       icon-shadow: none;
       box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px white; }
@@ -336,7 +336,7 @@
       border-style: solid;
       color: #8d9091;
       border-color: #a1a1a1;
-      background-image: linear-gradient(to bottom, #ededed);
+      background-image: linear-gradient(to bottom, red);
       text-shadow: none;
       icon-shadow: none;
       box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px white; }
@@ -438,7 +438,7 @@ GtkColorButton.button {
     border-style: solid;
     color: #8d9091;
     border-color: #a1a1a1;
-    background-image: linear-gradient(to bottom, #ededed);
+    background-image: linear-gradient(to bottom, red);
     text-shadow: none;
     icon-shadow: none;
     box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
@@ -474,7 +474,7 @@ GtkColorButton.button {
     border-style: solid;
     color: #8d9091;
     border-color: #a1a1a1;
-    background-image: linear-gradient(to bottom, #ededed);
+    background-image: linear-gradient(to bottom, red);
     text-shadow: none;
     icon-shadow: none;
     box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px white; }
@@ -927,7 +927,7 @@ GtkSwitch {
       border-style: solid;
       color: #8d9091;
       border-color: #a1a1a1;
-      background-image: linear-gradient(to bottom, #ededed);
+      background-image: linear-gradient(to bottom, red);
       text-shadow: none;
       icon-shadow: none;
       box-shadow: inset 0 1px rgba(255, 255, 255, 0); }


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