Author: humbedooh
Date: Fri Mar 20 11:53:07 2015
New Revision: 1667989

URL: http://svn.apache.org/r1667989
Log:
animation tweaks

Modified:
    steve/trunk/pytest/www/htdocs/css/steve_interactive.css
    steve/trunk/pytest/www/htdocs/images/steve_spinner.gif
    steve/trunk/pytest/www/htdocs/js/steve_rest.js

Modified: steve/trunk/pytest/www/htdocs/css/steve_interactive.css
URL: 
http://svn.apache.org/viewvc/steve/trunk/pytest/www/htdocs/css/steve_interactive.css?rev=1667989&r1=1667988&r2=1667989&view=diff
==============================================================================
--- steve/trunk/pytest/www/htdocs/css/steve_interactive.css (original)
+++ steve/trunk/pytest/www/htdocs/css/steve_interactive.css Fri Mar 20 11:53:07 
2015
@@ -389,6 +389,12 @@ fieldset legend {
     font-size: 16px;
     background: linear-gradient(to bottom, #f8f8f8 0%,#dddddd 100%);
     -khtml-user-drag: element;
+    animation: fadein 1s
+}
+
+@keyframes fadein {
+    from { opacity: 0; }
+    to   { opacity: 1; }
 }
 
 .issueNumber {

Modified: steve/trunk/pytest/www/htdocs/images/steve_spinner.gif
URL: 
http://svn.apache.org/viewvc/steve/trunk/pytest/www/htdocs/images/steve_spinner.gif?rev=1667989&r1=1667988&r2=1667989&view=diff
==============================================================================
Binary files - no diff available.

Modified: steve/trunk/pytest/www/htdocs/js/steve_rest.js
URL: 
http://svn.apache.org/viewvc/steve/trunk/pytest/www/htdocs/js/steve_rest.js?rev=1667989&r1=1667988&r2=1667989&view=diff
==============================================================================
--- steve/trunk/pytest/www/htdocs/js/steve_rest.js (original)
+++ steve/trunk/pytest/www/htdocs/js/steve_rest.js Fri Mar 20 11:53:07 2015
@@ -242,6 +242,7 @@ function renderElectionFrontpage(respons
                outer.appendChild(no)
                outer.appendChild(inner)
                outer.setAttribute("onclick", "location.href='ballot.html?" + 
el[0] + "/" + issue.id + "/" + el[1] + "';")
+               outer.style.animation = "fadein " + (0.5 +  (s/6)) + "s"
                issueList.appendChild(outer)
        }
        par.appendChild(issueList)


Reply via email to