[gnome-photos] theme: Make the favorite button's icon retain the active colour



commit 38dd9934916d2607d1a29f8492a96c9c4f8cca5f
Author: Alessandro Bono <shadow openaliasbox org>
Date:   Mon Oct 12 20:48:42 2015 +0200

    theme: Make the favorite button's icon retain the active colour
    
    The button's icon was supposed to change colour when activated.
    However, this broke recently, presumably after some changes to
    Adwaita, and the icon won't retain the colour. Instead, it would
    flicker for a bit and go back to the inactive colour.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=751106

 data/Adwaita.css |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/data/Adwaita.css b/data/Adwaita.css
index bcafa60..b539dd0 100644
--- a/data/Adwaita.css
+++ b/data/Adwaita.css
@@ -104,8 +104,7 @@ GdMainIconView.content-view.cell:active {
     background-image: url("sidebar-radio-selected-prelight.svg");
 }
 
-.photos-favorite.button:active,
-.photos-favorite.button:active:hover {
+.photos-favorite.button {
     color: shade(@theme_selected_bg_color, 1.20);
 }
 


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