[PATCH 3 of 4] paper: add simple animation to the loading indicator
Alexander Plavin
alexander at plav.in
Thu Sep 19 13:31:52 CDT 2013
# HG changeset patch
# User Alexander Plavin <alexander at plav.in>
# Date 1378459858 -14400
# Fri Sep 06 13:30:58 2013 +0400
# Node ID 35b8522d22eabecbbf2dce93f91442a67c6c3de8
# Parent b8c8651efe951b7eeca002946352d2965e1b9b7d
paper: add simple animation to the loading indicator
diff -r b8c8651efe95 -r 35b8522d22ea mercurial/templates/static/style-paper.css
--- a/mercurial/templates/static/style-paper.css Fri Sep 06 13:30:58 2013 +0400
+++ b/mercurial/templates/static/style-paper.css Fri Sep 06 13:30:58 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