diff options
author | raveit65 <[email protected]> | 2015-05-05 22:10:38 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2015-05-05 22:13:38 +0200 |
commit | 3a7798221346a76d0820f9bc28b295b8a16d9d1f (patch) | |
tree | 0d54e6d9672f353552a54fd37971f62a4fa54320 /desktop-themes/TraditionalOkTest | |
parent | d8fbeb77e9dbb8abb9d93d1428452e8d7a62d1fe (diff) | |
download | mate-themes-3a7798221346a76d0820f9bc28b295b8a16d9d1f.tar.bz2 mate-themes-3a7798221346a76d0820f9bc28b295b8a16d9d1f.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/TraditionalOkTest')
-rw-r--r-- | desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css index 49103f54..9fbec644 100644 --- a/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css @@ -97,34 +97,37 @@ GtkGrid:insensitive { background-color: transparent; } -/***************** - * Miscellaneous * - *****************/ +/********************* + * Spinner Animation * + *********************/ +/* This is could be CPU-intensive */ -/* This is CPU-intensive, no animation */ -/* @keyframes spin { to { -gtk-icon-transform: rotate(1turn); } } -*/ -@keyframes spin { - to { -gtk-icon-transform: rotate(0turn); } -} .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; -} + animation: spin 1s linear infinite; } .spinner:active:insensitive { opacity: 0.5; } +.button .spinner:active { + color: @theme_fg_color; +} + +/***************** + * Miscellaneous * + *****************/ + .floating-bar { background-image: linear-gradient( to bottom, |