[PATCH 5 of 5] hgweb: infinite scroll support for coal style

Takumi IINO trot.thunder at gmail.com
Tue Jan 7 09:52:18 CST 2014


# HG changeset patch
# User Takumi IINO <trot.thunder at gmail.com>
# Date 1389109665 -32400
#      Wed Jan 08 00:47:45 2014 +0900
# Node ID f69911e6d25d7a5e51d4b7ce804a18761500cb60
# Parent  3b2950c2b851b7a06f51fc58fec410b7deb6ff80
hgweb: infinite scroll support for coal style

diff --git a/mercurial/templates/static/style-coal.css b/mercurial/templates/static/style-coal.css
--- a/mercurial/templates/static/style-coal.css
+++ b/mercurial/templates/static/style-coal.css
@@ -329,5 +329,29 @@ ul#graphnodes li .info {
 }
 
 .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;
+}
+
+ 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-loading-error {
+    background-color: #FFCCCC !important;
+}


More information about the Mercurial-devel mailing list