[gtk+] Adwaita: bright spinbutton button hover effect in the dark variant.



commit 1345735caba089fb7285a6c7ede53de20f00e874
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Mon Jul 14 18:37:31 2014 +0200

    Adwaita: bright spinbutton button hover effect in the dark variant.
    
    In line with what we do for hovered list rows.

 gtk/resources/theme/Adwaita/_common.scss           |    2 +-
 gtk/resources/theme/Adwaita/gtk-contained-dark.css |    2 +-
 gtk/resources/theme/Adwaita/gtk-contained.css      |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index bceb842..0f922a6 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -515,7 +515,7 @@ GtkColorButton.button { padding: 4px; } // Uniform padding on the
     &:dir(rtl) { border-width: 0 1px 0 0; }
     &:hover {
       color: $fg_color;
-      background-color: transparentize(black,0.95);
+      background-color: transparentize($fg_color,0.93);
     }
     &:insensitive {
       color: transparentize($insensitive_fg_color,0.7);
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css 
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index feaaf2c..6b2532a 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -653,7 +653,7 @@ GtkColorButton.button {
       border-width: 0 1px 0 0; }
     .spinbutton .button:hover {
       color: #eeeeec;
-      background-color: rgba(0, 0, 0, 0.05); }
+      background-color: rgba(238, 238, 236, 0.07); }
     .spinbutton .button:insensitive {
       color: rgba(147, 150, 149, 0.3); }
     .spinbutton .button:active {
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index 8644774..aa9a60e 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -645,7 +645,7 @@ GtkColorButton.button {
       border-width: 0 1px 0 0; }
     .spinbutton .button:hover {
       color: #2e3436;
-      background-color: rgba(0, 0, 0, 0.05); }
+      background-color: rgba(46, 52, 54, 0.07); }
     .spinbutton .button:insensitive {
       color: rgba(141, 144, 145, 0.3); }
     .spinbutton .button:active {


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