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

login
register
mail settings
Submitter Alexander Plavin
Date Aug. 17, 2013, 10:33 p.m.
Message ID <8569c8bc8bbfb5227e04.1376778793@debian-alexander.dolgopa>
Download mbox | patch
Permalink /patch/2218/
State Superseded
Commit b5c6010350058ee7d83f6e3753c9d9ca5245802a
Headers show

Comments

Alexander Plavin - Aug. 17, 2013, 10:33 p.m.
# HG changeset patch
# User Alexander Plavin <alexander@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

Patch

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;
+}
+
+@-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 {  }
+}
+
 .scroll-separator {
     border-bottom: 1px solid #444 !important;
 }