summaryrefslogtreecommitdiff
path: root/desktop-themes/GreenLaguna
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-05-05 22:10:38 +0200
committerraveit65 <[email protected]>2015-05-05 22:10:38 +0200
commit1696994fffd4e4eedfb42a28a9dd4d7581f5a63f (patch)
tree51f002d3672228e323370ba8c46ae093d44d6767 /desktop-themes/GreenLaguna
parent8ded647f6c1dc223efdace1c656651b1d955506e (diff)
downloadmate-themes-1696994fffd4e4eedfb42a28a9dd4d7581f5a63f.tar.bz2
mate-themes-1696994fffd4e4eedfb42a28a9dd4d7581f5a63f.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/GreenLaguna')
-rw-r--r--desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css29
1 files changed, 25 insertions, 4 deletions
diff --git a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css
index a1d1f454..e8b58ee2 100644
--- a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css
@@ -435,11 +435,32 @@ GtkTreeView .separator,
border-radius: 0px;
}
-/************
- * 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 *