[gnome-software] Add a throbbing highlight style



commit 0fdd4a3eb00e6e78a72f5a45f71ac2150d9ab606
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Aug 29 19:41:26 2013 -0400

    Add a throbbing highlight style
    
    This will be used to put emphasis on the updates button when
    updates are available.

 src/gtk-style.css |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/src/gtk-style.css b/src/gtk-style.css
index 4a7bfac..db73949 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -38,3 +38,12 @@ GtkNotebook.main-notebook-software > GtkScrolledWindow {
        border-left-width: 0px;
        border-right-width: 0px;
 }
+
+ keyframes throbbing {
+        0% { background-image: linear-gradient(to bottom, transparent, transparent); }
+}
+
+.needs-attention {
+        background-image: linear-gradient(to bottom, @theme_selected_bg_color, @theme_selected_bg_color);
+        animation: throbbing linear 1s infinite alternate;
+}


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