accurator/commit
Added padding on init form.
author | Chris Dijkshoorn |
---|---|
Sun Apr 3 21:39:52 2016 +0200 | |
committer | Chris Dijkshoorn |
Sun Apr 3 21:39:52 2016 +0200 | |
commit | 6b1575a3829244c7b7848610e43bd6501ea6090c |
tree | 77a0a236c8efba768cbc1669819dcf5a4ad31e6f |
parent | caf1e78ade662714a016783146360dcb73b85a11 |
Diff style: patch stat
diff --git a/web/css/accurator.css b/web/css/accurator.css index d57a1df..7c1055c 100644 --- a/web/css/accurator.css +++ b/web/css/accurator.css @@ -434,20 +434,6 @@ span.twitter-typeahead { top: 46px !important; } -/******************************************************************************* -End page -*******************************************************************************/ -.endScreen { - overflow-x: hidden; - overflow-y: hidden; - background-color: #333; -} - -.endDiv { - position: absolute; - top: 75px; -} - /******************************************************************************* Sliders *******************************************************************************/ diff --git a/web/js/components/form.js b/web/js/components/form.js index e596c95..4f58525 100644 --- a/web/js/components/form.js +++ b/web/js/components/form.js @@ -20,6 +20,7 @@ function Form(id, groupIds, locale) { Form.prototype.init = function() { this.node = this.html(); this.removeFormEvents(); + $(this.node).css("margin-top", "20px"); } Form.prototype.html = function() { @@ -198,12 +199,14 @@ Form.prototype.addButtonEvents = function() { $(this.node).find("#formBtnAdd").click(function() { _form.processFormFields() .then(function() { - // $(_form.node).hide(); + $(_form.node).hide(); + $(_form.node).css("margin-top", "0px"); }); }); $(this.node).find("#formBtnSkip").click(function() { $(_form.node).hide(); + $(_form.node).css("margin-top", "0px"); }); }