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

login
register
mail settings
Submitter Takumi IINO
Date Jan. 7, 2014, 3:52 p.m.
Message ID <f69911e6d25d7a5e51d4.1389109938@iinotakken-no-MacBook-Air.local>
Download mbox | patch
Permalink /patch/3270/
State Accepted
Headers show

Comments

Takumi IINO - Jan. 7, 2014, 3:52 p.m.
# HG changeset patch
# User Takumi IINO <trot.thunder@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
Augie Fackler - Jan. 15, 2014, 7:58 p.m.
On Wed, Jan 08, 2014 at 12:52:18AM +0900, Takumi IINO wrote:
> # HG changeset patch
> # User Takumi IINO <trot.thunder@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

queued this series, many thanks

(spot-checked in my local browser, worked, etc)


>
> 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;
> +}
> +
> +@-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;
> +}
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel

Patch

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;
+}
+
+@-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;
+}