# HG changeset patch # User Takumi IINO # Date 2014-01-07 15:47:44 # Node ID b1d65cb8c7597149bda4c42118dda7f5425f26bd # Parent 3896debf0a11fd476a445176f59b03428c358611 hgweb: infinite scroll support for monoblue style diff --git a/mercurial/templates/monoblue/graph.tmpl b/mercurial/templates/monoblue/graph.tmpl --- a/mercurial/templates/monoblue/graph.tmpl +++ b/mercurial/templates/monoblue/graph.tmpl @@ -104,4 +104,15 @@ | {changenav%navgraph} + + {footer} diff --git a/mercurial/templates/monoblue/shortlog.tmpl b/mercurial/templates/monoblue/shortlog.tmpl --- a/mercurial/templates/monoblue/shortlog.tmpl +++ b/mercurial/templates/monoblue/shortlog.tmpl @@ -33,7 +33,7 @@ - +
{entries%shortlogentry}
@@ -41,4 +41,19 @@ {changenav%navshort} + + {footer} diff --git a/mercurial/templates/spartan/header.tmpl b/mercurial/templates/spartan/header.tmpl --- a/mercurial/templates/spartan/header.tmpl +++ b/mercurial/templates/spartan/header.tmpl @@ -1,4 +1,4 @@ - + diff --git a/mercurial/templates/static/style-monoblue.css b/mercurial/templates/static/style-monoblue.css --- a/mercurial/templates/static/style-monoblue.css +++ b/mercurial/templates/static/style-monoblue.css @@ -528,3 +528,27 @@ ul#graphnodes li .info { .breadcrumb a:hover { text-decoration:underline; } + +.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-loading-error { + background-color: #FFCCCC !important; +}