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



commit 6bd0431a1b1144eface7a03b51b4dd6d54dda577
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 80b17c4..865a0ce 100644
--- a/data/Adwaita.css
+++ b/data/Adwaita.css
@@ -103,8 +103,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]