[gnome-themes-standard/wip/sass] spinner: use icon
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard/wip/sass] spinner: use icon
- Date: Thu, 29 May 2014 16:38:18 +0000 (UTC)
commit e886ebbf03e5acf10f3dc1bdfaaa99e6eda895e1
Author: Jakub Steiner <jimmac gmail com>
Date: Thu May 29 12:19:28 2014 +0200
spinner: use icon
- recolorable
- sadly cannot use gradients :(
themes/Adwaita/gtk-3.0/_common.scss | 2 +-
themes/Adwaita/gtk-3.0/gtk-contained-dark.css | 2 +-
themes/Adwaita/gtk-3.0/gtk-contained.css | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 22a8840..c8ba938 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -126,7 +126,7 @@
background-image: none;
background-color: blue;
opacity: 0; // non spinning spinner makes no sense
- -gtk-icon-source: url("assets/spinner.svg");
+ -gtk-icon-source: -gtk-icontheme('process-working-symbolic');
&:active {
opacity: 1;
animation: spin 1s linear infinite;
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index 6925a27..b455606 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -90,7 +90,7 @@
background-image: none;
background-color: blue;
opacity: 0;
- -gtk-icon-source: url("assets/spinner.svg"); }
+ -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); }
.spinner:active {
opacity: 1;
animation: spin 1s linear infinite; }
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index 4fe1c13..22298b3 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -90,7 +90,7 @@
background-image: none;
background-color: blue;
opacity: 0;
- -gtk-icon-source: url("assets/spinner.svg"); }
+ -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); }
.spinner:active {
opacity: 1;
animation: spin 1s linear infinite; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]