diff --git a/public/css/main.css b/public/css/main.css index b83d59d..0d97972 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -79,6 +79,7 @@ textarea { } .modal .modal-footer { text-align: left; + text-align: center; } body { background-color: #f1f1f1; @@ -1059,10 +1060,16 @@ textarea::-webkit-input-placeholder { text-align: center; } .profile-delegation { - width: 240px; + width: 200px; border-radius: 1000px; margin-bottom: 30px; } +input.input-delegate-another { + font-size: 20px; + padding: 20px; + width: 64%; + text-align: center; +} .deletagation-item { border-bottom: 1px solid #f1f1f1; padding: 20px 0; diff --git a/public/css/main.styl b/public/css/main.styl index 6b214fd..d1d3194 100644 --- a/public/css/main.styl +++ b/public/css/main.styl @@ -63,6 +63,7 @@ input,textarea{font-family: 'proxima-nova'} padding: 20px 0 0 0; .modal-footer text-align: left; + text-align: center; body{background-color: #f1f1f1} @@ -609,9 +610,17 @@ textarea::-webkit-input-placeholder{color: #333;} text-align: center; .profile-delegation - width: 240px; border-radius: 1000px; + width: 200px; border-radius: 1000px; margin-bottom: 30px; +input.input-delegate-another + font-size: 20px; + padding: 20px; + width: 64%; + text-align: center; + + + .deletagation-item border-bottom: 1px solid #f1f1f1; padding: 20px 0; label diff --git a/views/element/delegation_form.jade b/views/element/delegation_form.jade index 0757085..f58d7bf 100644 --- a/views/element/delegation_form.jade +++ b/views/element/delegation_form.jade @@ -1,16 +1,20 @@ #delegation.modal(role="dialog", style="display:none;") .modal-header button.close(type="button", data-dismiss="modal", aria-hidden="true") x - h2 Formulario de delegaciĆ³n + h2 Delegacion de voto .modal-body form().form-delegation - h4 Ustes esta delegando su voto en Ricardo Rauch para el topico Ciencia y Tecnologia - + h5 Usted esta delegando su voto en Ricardo Rauch (@gravityonmars) img.profile-delegation(src="https://twimg0-a.akamaihd.net/profile_images/2583335118/yts2np89ifncbi0j3vgm.jpeg") p - a(href="") Prefiero delegar mi poder de voto en otra persona + a(href="") Prefiero delegar mi voto en otra persona + + //- on click muestra este input + p + input(type="text", class="input-delegate-another", placeholder="Usuario al que le quiere delegar su voto") + //- p //- input(type="text", name="delegation[citizen]", placeholder="Empieze a escribir el nombre")