summaryrefslogtreecommitdiff
path: root/desktop-themes/BlackMATE/gtk-3.0
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-05-05 22:10:38 +0200
committerraveit65 <[email protected]>2015-05-05 22:15:14 +0200
commit43a858f9746515db3a97f7b6577bbf0b4ab490a6 (patch)
tree4eb923e45e6039b36f16dc8606d8cf9855aa43df /desktop-themes/BlackMATE/gtk-3.0
parent13f9fb34cf859cd8f7890105303c058d71364bee (diff)
downloadmate-themes-43a858f9746515db3a97f7b6577bbf0b4ab490a6.tar.bz2
mate-themes-43a858f9746515db3a97f7b6577bbf0b4ab490a6.tar.xz
All themes themes GTK3: enable spinner animation to use mate logo with latest commits from mate-icon-theme
Diffstat (limited to 'desktop-themes/BlackMATE/gtk-3.0')
-rw-r--r--desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css29
1 files changed, 25 insertions, 4 deletions
diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
index 3b979ecc..d5e17d59 100644
--- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
@@ -290,11 +290,32 @@ GtkTreeView .separator,
border-radius: 0;
}
-/************
- * Spinners *
- ************/
+/*********************
+ * Spinner Animation *
+ *********************/
+/* This is could be CPU-intensive */
-/* This could be CPU-intensive. */
+@keyframes spin {
+ to { -gtk-icon-transform: rotate(1turn); }
+}
+
+.spinner {
+ background-image: none;
+ background-color: blue;
+ opacity: 0;
+ -gtk-icon-source: -gtk-icontheme("process-working-symbolic");
+}
+
+.spinner:active {
+ opacity: 1;
+ animation: spin 1s linear infinite; }
+.spinner:active:insensitive {
+ opacity: 0.5;
+}
+
+.button .spinner:active {
+ color: @theme_fg_color;
+}
/****************
* Text Entries *