From 65064494b94d098ba1edfef65b9dfd6c89f7a935 Mon Sep 17 00:00:00 2001 From: snogcel Date: Wed, 25 Jan 2017 15:44:29 -0700 Subject: [PATCH] various design / label improvements --- css/master.css | 9 +++++++-- index.html | 21 +++++++++++++++------ 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/css/master.css b/css/master.css index a46c180..675281b 100644 --- a/css/master.css +++ b/css/master.css @@ -25,6 +25,7 @@ i.fa { .header_description { margin: 1% 0% 5% 0%; font-weight: 600; + line-height:1.5em; } .input-spacing { @@ -32,11 +33,15 @@ i.fa { } .progress { - margin-top: 2%; + margin-top: 10px; +} + +.tab-content { + margin-top:40px; } .proposalBlock { - padding: 7%; + padding: 5% 5% 2% 5%; background-color: #ffffff; box-shadow: 0px 17px 24px 0px rgba(0, 0, 0, 0.16); } diff --git a/index.html b/index.html index b8e0f18..d9a42ae 100755 --- a/index.html +++ b/index.html @@ -131,6 +131,7 @@ if (validProposal) { document.getElementById('step_two').click(); + $('#step_two').removeClass('hidden'); document.getElementsByClassName('progress-bar')[0].style.width = "50%"; document.getElementsByClassName('progress-bar')[0].innerText = "Generated wallet commands"; $('#network_toggle').addClass('hidden'); @@ -146,6 +147,12 @@ $('#btnNew').click(function() { proposal.resetProposal(); $('#network_toggle').removeClass('hidden'); + + $('#step_two').addClass('hidden'); + $('#step_three').addClass('hidden'); + $('#step_four').addClass('hidden'); + document.getElementsByClassName('progress-bar')[0].style.width = "25%"; + document.getElementsByClassName('progress-bar')[0].innerText = "Create Proposal"; }); } }); @@ -179,6 +186,7 @@ // transaction exists, proceed to step three document.getElementById('step_three').click(); + $('#step_three').removeClass('hidden'); document.getElementsByClassName('progress-bar')[0].style.width = "75%"; document.getElementsByClassName('progress-bar')[0].innerText = "Awaiting transaction confirmation"; @@ -191,6 +199,7 @@ txListener.initSocket(function() { $('#walletCommandsSubmit').removeClass('hidden'); document.getElementById('step_four').click(); + $('#step_four').removeClass('hidden'); document.getElementsByClassName('progress-bar')[0].style.width = "100%"; document.getElementsByClassName('progress-bar')[0].innerText = "Proposal ready for submission"; console.log($('#feeTxid').val()); @@ -258,14 +267,14 @@
- Create proposal + Create Proposal
@@ -305,7 +314,7 @@

Create a Proposal

-
Enter details for your proposal and click 'Create Proposal'. This will generate a command you can run in your local wallet to prepare the proposal at a cost of 0.33 DASH
+
Enter details for your proposal and click 'Create Proposal'. This will generate a command you can run in your local wallet to prepare the proposal at a cost of 0.33 DASH.
@@ -326,7 +335,7 @@
- +