changeset 19761:b5c601035005

paper: add simple animation to the loading indicator
author Alexander Plavin <alexander@plav.in>
date Fri, 06 Sep 2013 13:30:58 +0400
parents 2ac4e89ad769
children e0666aaa1382
files mercurial/templates/static/style-paper.css
diffstat 1 files changed, 21 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/templates/static/style-paper.css	Fri Sep 06 13:30:58 2013 +0400
+++ b/mercurial/templates/static/style-paper.css	Fri Sep 06 13:30:58 2013 +0400
@@ -382,3 +382,24 @@
 .breadcrumb a {
     color: blue;
 }
+
+.scroll-loading {
+  -webkit-animation: change_color 1s linear 0s infinite alternate;
+  -moz-animation: change_color 1s linear 0s infinite alternate;
+  -o-animation: change_color 1s linear 0s infinite alternate;
+  animation: change_color 1s linear 0s infinite alternate;
+}
+
+@-webkit-keyframes change_color {
+  from { background-color: #A0CEFF; } to {  }
+}
+@-moz-keyframes change_color {
+  from { background-color: #A0CEFF; } to {  }
+}
+@-o-keyframes change_color {
+  from { background-color: #A0CEFF; } to {  }
+}
+@keyframes change_color {
+  from { background-color: #A0CEFF; } to {  }
+}
+