[icinga-checkins] icinga.org: icingaweb2/feature/refresh-control-7968: Add own animation.less to provide own parameterized animate function

git at icinga.org git at icinga.org
Wed Feb 25 13:54:32 CET 2015


Module: icingaweb2
Branch: feature/refresh-control-7968
Commit: 7f883a47701dd4834258359ddeafff26b71846e9
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=7f883a47701dd4834258359ddeafff26b71846e9

Author: Alexander Fuhr <alexander.fuhr at netways.de>
Date:   Wed Feb 25 13:51:26 2015 +0100

Add own animation.less to provide own parameterized animate function

refs #7968

---

 library/Icinga/Web/StyleSheet.php |    1 +
 public/css/icinga/animation.less  |   82 +++++++++++++++++++++++++++++++++++++
 2 files changed, 83 insertions(+)

diff --git a/library/Icinga/Web/StyleSheet.php b/library/Icinga/Web/StyleSheet.php
index c4b61f1..b1bbba2 100644
--- a/library/Icinga/Web/StyleSheet.php
+++ b/library/Icinga/Web/StyleSheet.php
@@ -14,6 +14,7 @@ class StyleSheet
         '../application/fonts/fontello-ifont/css/ifont-embedded.css',
         'css/vendor/tipsy.css',
         'css/icinga/defaults.less',
+        'css/icinga/animation.less',
         'css/icinga/layout-colors.less',
         'css/icinga/layout-structure.less',
         'css/icinga/menu.less',
diff --git a/public/css/icinga/animation.less b/public/css/icinga/animation.less
new file mode 100644
index 0000000..928cdf5
--- /dev/null
+++ b/public/css/icinga/animation.less
@@ -0,0 +1,82 @@
+.animate(@animate) {
+  -moz-animation: @animate;
+  -o-animation: @animate;
+  -webkit-animation: @animate;
+  animation: @animate;
+}
+
+ at -moz-keyframes spin {
+  0% {
+    -moz-transform: rotate(0deg);
+    -o-transform: rotate(0deg);
+    -webkit-transform: rotate(0deg);
+    transform: rotate(0deg);
+  }
+
+  100% {
+    -moz-transform: rotate(359deg);
+    -o-transform: rotate(359deg);
+    -webkit-transform: rotate(359deg);
+    transform: rotate(359deg);
+  }
+}
+ at -webkit-keyframes spin {
+  0% {
+    -moz-transform: rotate(0deg);
+    -o-transform: rotate(0deg);
+    -webkit-transform: rotate(0deg);
+    transform: rotate(0deg);
+  }
+
+  100% {
+    -moz-transform: rotate(359deg);
+    -o-transform: rotate(359deg);
+    -webkit-transform: rotate(359deg);
+    transform: rotate(359deg);
+  }
+}
+ at -o-keyframes spin {
+  0% {
+    -moz-transform: rotate(0deg);
+    -o-transform: rotate(0deg);
+    -webkit-transform: rotate(0deg);
+    transform: rotate(0deg);
+  }
+
+  100% {
+    -moz-transform: rotate(359deg);
+    -o-transform: rotate(359deg);
+    -webkit-transform: rotate(359deg);
+    transform: rotate(359deg);
+  }
+}
+ at -ms-keyframes spin {
+  0% {
+    -moz-transform: rotate(0deg);
+    -o-transform: rotate(0deg);
+    -webkit-transform: rotate(0deg);
+    transform: rotate(0deg);
+  }
+
+  100% {
+    -moz-transform: rotate(359deg);
+    -o-transform: rotate(359deg);
+    -webkit-transform: rotate(359deg);
+    transform: rotate(359deg);
+  }
+}
+ at keyframes spin {
+  0% {
+    -moz-transform: rotate(0deg);
+    -o-transform: rotate(0deg);
+    -webkit-transform: rotate(0deg);
+    transform: rotate(0deg);
+  }
+
+  100% {
+    -moz-transform: rotate(359deg);
+    -o-transform: rotate(359deg);
+    -webkit-transform: rotate(359deg);
+    transform: rotate(359deg);
+  }
+}
\ No newline at end of file



More information about the icinga-checkins mailing list