Commit 813fc488 by Kyle Fiedler

Spead up animation and added diferent wording

parent 6627153e
......@@ -810,7 +810,8 @@ li.calc-main div#calculator_wrapper form div.input-wrapper div.help-wrapper dl {
-o-transition-delay: 0;
transition-delay: 0; }
li.calc-main div#calculator_wrapper form div.input-wrapper div.help-wrapper dl.shown {
opacity: 1; }
opacity: 1;
top: -115px; }
li.calc-main div#calculator_wrapper form div.input-wrapper div.help-wrapper dl dt {
clear: both;
float: left;
......
......@@ -61,7 +61,7 @@
<input type="text" id="calculator_input" />
<div class="help-wrapper">
<a href="#">Help</a>
<a href="#">Hints</a>
<dl class="help">
<dt>Suffixes:</dt>
<dd> %kMGTcmunp</dd>
......@@ -134,7 +134,7 @@ $(function() {
$("#calculator_wrapper").hide();
$(".calc").click(function(){
$("#calculator_wrapper").slideToggle();
$("#calculator_wrapper").slideToggle("fast");
$("#calculator_wrapper #calculator_input").focus();
$(this).toggleClass("closed");
});
......
......@@ -117,6 +117,7 @@ li.calc-main {
&.shown {
opacity: 1;
top: -115px;
}
dt {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment