[PATCH 8 of 9 V2] paper: add simple animation to the loading indicator

Alexander Plavin alexander at plav.in
Sat Aug 17 17:33:13 CDT 2013


# HG changeset patch
# User Alexander Plavin <alexander at plav.in>
# Date 1376071479 -14400
#      Fri Aug 09 22:04:39 2013 +0400
# Node ID 8569c8bc8bbfb5227e0406b481b8dc07b05857cc
# Parent  e6b1960fa4ade7351e695b00b40c4f5bb5e36e73
paper: add simple animation to the loading indicator

diff -r e6b1960fa4ad -r 8569c8bc8bbf mercurial/templates/static/style-paper.css
--- a/mercurial/templates/static/style-paper.css	Fri Aug 09 22:02:32 2013 +0400
+++ b/mercurial/templates/static/style-paper.css	Fri Aug 09 22:04:39 2013 +0400
@@ -383,6 +383,26 @@
     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;
+}
+
+ at -webkit-keyframes change_color {
+  from { background-color: #A0CEFF; } to {  }
+}
+ at -moz-keyframes change_color {
+  from { background-color: #A0CEFF; } to {  }
+}
+ at -o-keyframes change_color {
+  from { background-color: #A0CEFF; } to {  }
+}
+ at keyframes change_color {
+  from { background-color: #A0CEFF; } to {  }
+}
+
 .scroll-separator {
     border-bottom: 1px solid #444 !important;
 }


More information about the Mercurial-devel mailing list