[gnome-music/wip/jfelder/headerbar-smooth-transition: 12/12] headerbar: Smooth selection-mode transition



commit f7026b93ab9f54b1625f8eeff14eedfee88924e7
Author: Jean Felder <jfelder src gnome org>
Date:   Tue Jun 19 17:43:07 2018 +0200

    headerbar: Smooth selection-mode transition
    
    Add a smooth transition to and from blue in the HeaderBar, while switching
    selection mode.
    Transition duration is equal to the SelectionToolbar reveal.
    
    Closes: #27

 data/application.css | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/data/application.css b/data/application.css
index 910aa353..4b496ecf 100644
--- a/data/application.css
+++ b/data/application.css
@@ -106,3 +106,8 @@ box#ArtistAlbumsWidget .artist-label {
                                                 alpha(@theme_selected_bg_color, 0.27) 2px,
                                                 alpha(@theme_selected_bg_color, 0.20) 3px);
 }
+
+/* headerbar - smooth selection-mode transition */
+headerbar {
+    transition: 250ms ease-in-out;
+}


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