[gnome-themes-standard/wip/sass] popover buttons: don't lighten up, use $bg_color



commit 2bc5b3afa16244d9c5d62b17ca98fbe6440e104d
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Jun 5 15:51:42 2014 +0200

    popover buttons: don't lighten up, use $bg_color

 themes/Adwaita/gtk-3.0/_common.scss           |    9 ++++++---
 themes/Adwaita/gtk-3.0/gtk-contained-dark.css |    9 ++++++---
 themes/Adwaita/gtk-3.0/gtk-contained.css      |    9 ++++++---
 3 files changed, 18 insertions(+), 9 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 177f35c..9333b2c 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -295,11 +295,15 @@
   border-image: none;
   border-style: none;
   box-shadow: none;
-  &:active,
   &:insensitive,
   &:active:insensitive {
     @extend .menuitem.button; // override generic .button:*
   }
+  &:active {
+    color: $selected_fg_color;
+    text-shadow: none;
+    icon-shadow: none;
+  }
   &:backdrop,
   &:hover:backdrop,
   &:insensitive:backdrop,
@@ -310,8 +314,7 @@
       text-shadow: none;
       icon-shadow: none;
       color: $insensitive_fg_color;
-      background-color: $insensitive_bg_color;
-      background-image: none;
+      background-image: linear-gradient(to bottom, $bg_color);
       border: none;
       box-shadow: none;
   }
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index 490a19f..cc8452e 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -389,7 +389,7 @@
     icon-shadow: none; }
 
 /* menu/popover buttons */
-.menuitem.button, .menuitem.button:active, .menuitem.button:insensitive, .menuitem.button:active:insensitive 
{
+.menuitem.button, .menuitem.button:insensitive, .menuitem.button:active:insensitive {
   color: #eeeeec;
   background-color: transparent;
   background-image: none;
@@ -397,12 +397,15 @@
   border-image: none;
   border-style: none;
   box-shadow: none; }
+  .menuitem.button:active {
+    color: white;
+    text-shadow: none;
+    icon-shadow: none; }
   .menuitem.button:backdrop, .menuitem.button:backdrop:active:insensitive, .menuitem.button:hover:backdrop, 
.menuitem.button:insensitive:backdrop, .menuitem.button:active:insensitive:backdrop, 
.menuitem.button:active:backdrop, .menuitem.button:active:hover:backdrop, 
.menuitem.button:active:selected:backdrop {
     text-shadow: none;
     icon-shadow: none;
     color: #939695;
-    background-color: #363a3a;
-    background-image: none;
+    background-image: linear-gradient(to bottom, #393f3f);
     border: none;
     box-shadow: none; }
 
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index c8dd41c..73ec14f 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -389,7 +389,7 @@
     icon-shadow: none; }
 
 /* menu/popover buttons */
-.menuitem.button, .menuitem.button:active, .menuitem.button:insensitive, .menuitem.button:active:insensitive 
{
+.menuitem.button, .menuitem.button:insensitive, .menuitem.button:active:insensitive {
   color: #2e3436;
   background-color: transparent;
   background-image: none;
@@ -397,12 +397,15 @@
   border-image: none;
   border-style: none;
   box-shadow: none; }
+  .menuitem.button:active {
+    color: white;
+    text-shadow: none;
+    icon-shadow: none; }
   .menuitem.button:backdrop, .menuitem.button:backdrop:active:insensitive, .menuitem.button:hover:backdrop, 
.menuitem.button:insensitive:backdrop, .menuitem.button:active:insensitive:backdrop, 
.menuitem.button:active:backdrop, .menuitem.button:active:hover:backdrop, 
.menuitem.button:active:selected:backdrop {
     text-shadow: none;
     icon-shadow: none;
     color: #8d9091;
-    background-color: #f4f4f4;
-    background-image: none;
+    background-image: linear-gradient(to bottom, #ededed);
     border: none;
     box-shadow: none; }
 


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