"Quero Morar Bem"
Bootstrap 3.3.0 Snippet by xrozix

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <section> <div class="wizard"> <div class="wizard-inner"> <div class="connecting-line"></div> <ul class="nav nav-tabs" role="tablist"> <li role="presentation" class="active"> <a href="#step1" data-toggle="tab" aria-controls="step1" role="tab" title="Step 1"> <span class="round-tab"> <i class="glyphicon glyphicon-folder-open"></i> </span> </a> </li> <li role="presentation" class="disabled"> <a href="#step2" data-toggle="tab" aria-controls="step2" role="tab" title="Step 2"> <span class="round-tab"> <i class="glyphicon glyphicon-pencil"></i> </span> </a> </li> <li role="presentation" class="disabled"> <a href="#step3" data-toggle="tab" aria-controls="step3" role="tab" title="Step 3"> <span class="round-tab"> <i class="glyphicon glyphicon-picture"></i> </span> </a> </li> <li role="presentation" class="disabled"> <a href="#complete" data-toggle="tab" aria-controls="complete" role="tab" title="Complete"> <span class="round-tab"> <i class="glyphicon glyphicon-ok"></i> </span> </a> </li> </ul> </div> <form class="form-horizontal"> <div class="tab-content"> <div class="tab-pane active" role="tabpanel" id="step1"> <h3>Step 1</h3> <fieldset> <!-- Form Name --> <legend>Vamos nos conhecer melhor</legend> <!-- Button (Double) --> <div class="form-group"> <label class="col-md-4 control-label" for="button1id">Como gostaria de ser atendido?</label> <div class="col-md-8"> <button id="button1id" name="button1id" class="btn btn-inverse">Quero um corretor insistente me ligando toda hora</button> <button id="button2id" name="button2id" class="btn btn-success">Quero orientações de como fazer uma compra segura</button> </div> </div> <div class="form-group"> <label class="col-md-4 control-label" for="button1id">Tem urgência em morar bem?</label> <div class="col-md-8"> <button id="button1id" name="button1id" class="btn btn-success">Sim</button> <button id="button2id" name="button2id" class="btn btn-warning">Não</button> </div> </div> <!-- Multiple Radios --> <div class="form-group"> <label class="col-md-4 control-label" for="radios">Há quanto tempo vem buscando pelo imóvel ideal?</label> <div class="col-md-4"> <div class="radio"> <label for="radios-0"> <input type="radio" name="radios" id="radios-0" value="A menos de 1 mês" checked="checked"> A menos de 1 mês </label> </div> <div class="radio"> <label for="radios-1"> <input type="radio" name="radios" id="radios-1" value="Entre 1 a 6 meses"> Entre 1 a 6 meses </label> </div> <div class="radio"> <label for="radios-2"> <input type="radio" name="radios" id="radios-2" value="Entre 6 a 12 meses"> Entre 6 a 12 meses </label> </div> <div class="radio"> <label for="radios-3"> <input type="radio" name="radios" id="radios-3" value="A mais de 12 meses"> A mais de 12 meses </label> </div> </div> </div> <!-- Button (Double) --> <div class="form-group"> <label class="col-md-4 control-label" for="button1id">Você procura um imóvel para morar ou para investir?</label> <div class="col-md-8"> <button id="button1id" name="button1id" class="btn btn-success">Morar</button> <button id="button2id" name="button2id" class="btn btn-warning">Investir</button> </div> </div> </fieldset> </form> <ul class="list-inline pull-right"> <li><button type="button" class="btn btn-primary next-step">Save and continue</button></li> </ul> </div> <div class="tab-pane" role="tabpanel" id="step2"> <h3>Step 2</h3> <fieldset> <!-- Form Name --> <legend>Como deseja morar bem?</legend> <!-- Multiple Checkboxes --> <div class="form-group"> <label class="col-md-4 control-label" for="checkboxes">Qual o valor aproximado que deseja investir?</label> <div class="col-md-4"> <div class="checkbox"> <label for="checkboxes-0"> <input type="checkbox" name="checkboxes" id="checkboxes-0" value="Até R$180mil (mcmv)"> Até R$180mil (mcmv) </label> </div> <div class="checkbox"> <label for="checkboxes-1"> <input type="checkbox" name="checkboxes" id="checkboxes-1" value="Entre R$200mil e R$350mil"> Entre R$200mil e R$350mil </label> </div> <div class="checkbox"> <label for="checkboxes-2"> <input type="checkbox" name="checkboxes" id="checkboxes-2" value="Entre R$350mil e R$450mil"> Entre R$350mil e R$450mil </label> </div> <div class="checkbox"> <label for="checkboxes-3"> <input type="checkbox" name="checkboxes" id="checkboxes-3" value="Entre R$450mil e R$650mil"> Entre R$450mil e R$650mil </label> </div> <div class="checkbox"> <label for="checkboxes-4"> <input type="checkbox" name="checkboxes" id="checkboxes-4" value="Entre R$650mil e R$850mil"> Entre R$650mil e R$850mil </label> </div> <div class="checkbox"> <label for="checkboxes-5"> <input type="checkbox" name="checkboxes" id="checkboxes-5" value="Acima de R$800mil"> Acima de R$800mil </label> </div> </div> </div> <!-- Multiple Checkboxes --> <div class="form-group"> <label class="col-md-4 control-label" for="checkboxes">Qual região mais agrada você</label> <div class="col-md-4"> <div class="checkbox"> <label for="checkboxes-0"> <input type="checkbox" name="checkboxes" id="checkboxes-0" value="Zona Norte"> Zona Norte </label> </div> <div class="checkbox"> <label for="checkboxes-1"> <input type="checkbox" name="checkboxes" id="checkboxes-1" value="Zona Sul"> Zona Sul </label> </div> <div class="checkbox"> <label for="checkboxes-2"> <input type="checkbox" name="checkboxes" id="checkboxes-2" value="Zona Leste"> Zona Leste </label> </div> <div class="checkbox"> <label for="checkboxes-3"> <input type="checkbox" name="checkboxes" id="checkboxes-3" value="Zona Oeste"> Zona Oeste </label> </div> <div class="checkbox"> <label for="checkboxes-4"> <input type="checkbox" name="checkboxes" id="checkboxes-4" value="Área industrial"> Área industrial </label> </div> <div class="checkbox"> <label for="checkboxes-5"> <input type="checkbox" name="checkboxes" id="checkboxes-5" value="Praia"> Praia </label> </div> </div> </div> <!-- Button (Double) --> <div class="form-group"> <label class="col-md-4 control-label" for="button1id">Pergunta: Você trocaria uma imóvel com maior qualidade por outro com menor preço?</label> <div class="col-md-8"> <button id="button1id" name="button1id" class="btn btn-success">Qualidade</button> <button id="button2id" name="button2id" class="btn btn-warning">Preço</button> </div> </div> </fieldset> </form> <ul class="list-inline pull-right"> <li><button type="button" class="btn btn-default prev-step">Previous</button></li> <li><button type="button" class="btn btn-primary next-step">Save and continue</button></li> </ul> </div> <div class="tab-pane" role="tabpanel" id="step3"> <h3>Step 3</h3> <fieldset> <!-- Form Name --> <legend>Como prefere manter contato?</legend> <!-- Multiple Checkboxes --> <div class="form-group"> <label class="col-md-4 control-label" for="checkboxes">Converse comigo através de:</label> <div class="col-md-4"> <div class="checkbox"> <label for="checkboxes-0"> <input type="checkbox" name="checkboxes" id="checkboxes-0" value="E-mail"> E-mail </label> </div> <div class="checkbox"> <label for="checkboxes-1"> <input type="checkbox" name="checkboxes" id="checkboxes-1" value="Telefone"> Telefone </label> </div> <div class="checkbox"> <label for="checkboxes-2"> <input type="checkbox" name="checkboxes" id="checkboxes-2" value="WhatsApp"> WhatsApp </label> </div> <div class="checkbox"> <label for="checkboxes-3"> <input type="checkbox" name="checkboxes" id="checkboxes-3" value="Skype"> Skype </label> </div> </div> </div> <!-- Text input--> <div class="form-group"> <label class="col-md-4 control-label" for="textinput">Seu nome</label> <div class="col-md-4"> <input id="textinput" name="textinput" type="text" placeholder="Informe seu nome completo" class="form-control input-md"> </div> </div> <!-- Prepended checkbox --> <div class="form-group"> <label class="col-md-4 control-label" for="prependedcheckbox">Fone</label> <div class="col-md-4"> <div class="input-group"> <span class="input-group-addon"> <input type="checkbox"> </span> <input id="prependedcheckbox" name="prependedcheckbox" class="form-control" type="text" placeholder="ex: xx xxxxx-xxxx"> </div> <p class="help-block">Marque se também for seu WhatsApp</p> </div> </div> <!-- Prepended text--> <div class="form-group"> <label class="col-md-4 control-label" for="prependedtext">Skype</label> <div class="col-md-4"> <div class="input-group"> <span class="input-group-addon">Usuário</span> <input id="prependedtext" name="prependedtext" class="form-control" placeholder="informe aqui" type="text"> </div> </div> </div> </fieldset> </form> <ul class="list-inline pull-right"> <li><button type="button" class="btn btn-default prev-step">Previous</button></li> <li><button type="button" class="btn btn-primary btn-info-full next-step">Save and continue</button></li> </ul> </div> <div class="tab-pane" role="tabpanel" id="complete"> <h3>Quais desses assuntos mais interessa você?</h3> <p>Você receberá informações de altíssima qualidade para orientar você em sua compra.</p> <fieldset> <!-- Form Name --> <legend>Como prefere ser informado?</legend> <!-- Multiple Checkboxes --> <div class="form-group"> <label class="col-md-4 control-label" for="checkboxes">Escolha os assuntos</label> <div class="col-md-4"> <div class="checkbox"> <label for="checkboxes-0"> <input type="checkbox" name="checkboxes" id="checkboxes-0" value="Formas de Financiamento"> Formas de Financiamento </label> </div> <div class="checkbox"> <label for="checkboxes-1"> <input type="checkbox" name="checkboxes" id="checkboxes-1" value="Dicas de compra segura"> Dicas de compra segura </label> </div> <div class="checkbox"> <label for="checkboxes-2"> <input type="checkbox" name="checkboxes" id="checkboxes-2" value="Decoração"> Decoração </label> </div> <div class="checkbox"> <label for="checkboxes-3"> <input type="checkbox" name="checkboxes" id="checkboxes-3" value="Arquitetura"> Arquitetura </label> </div> </div> </div> <!-- Button (Double) --> <div class="form-group"> <label class="col-md-4 control-label" for="button1id">Gostaria de fazer uma simulação?</label> <div class="col-md-8"> <button id="button1id" name="button1id" class="btn btn-success">Sim</button> <button id="button2id" name="button2id" class="btn btn-inverse">Não</button> </div> </div> <li><button type="button" class="btn btn-primary btn-info-full next-step">Finalizar Preferências</button></li> </fieldset> </form> </div> <div class="clearfix"></div> </div> </form> </div> </section> </div> </div>
.wizard { margin: 20px auto; background: #fff; } .wizard .nav-tabs { position: relative; margin: 40px auto; margin-bottom: 0; border-bottom-color: #e0e0e0; } .wizard > div.wizard-inner { position: relative; } .connecting-line { height: 2px; background: #e0e0e0; position: absolute; width: 80%; margin: 0 auto; left: 0; right: 0; top: 50%; z-index: 1; } .wizard .nav-tabs > li.active > a, .wizard .nav-tabs > li.active > a:hover, .wizard .nav-tabs > li.active > a:focus { color: #555555; cursor: default; border: 0; border-bottom-color: transparent; } span.round-tab { width: 70px; height: 70px; line-height: 70px; display: inline-block; border-radius: 100px; background: #fff; border: 2px solid #e0e0e0; z-index: 2; position: absolute; left: 0; text-align: center; font-size: 25px; } span.round-tab i{ color:#555555; } .wizard li.active span.round-tab { background: #fff; border: 2px solid #5bc0de; } .wizard li.active span.round-tab i{ color: #5bc0de; } span.round-tab:hover { color: #333; border: 2px solid #333; } .wizard .nav-tabs > li { width: 25%; } .wizard li:after { content: " "; position: absolute; left: 46%; opacity: 0; margin: 0 auto; bottom: 0px; border: 5px solid transparent; border-bottom-color: #5bc0de; transition: 0.1s ease-in-out; } .wizard li.active:after { content: " "; position: absolute; left: 46%; opacity: 1; margin: 0 auto; bottom: 0px; border: 10px solid transparent; border-bottom-color: #5bc0de; } .wizard .nav-tabs > li a { width: 70px; height: 70px; margin: 20px auto; border-radius: 100%; padding: 0; } .wizard .nav-tabs > li a:hover { background: transparent; } .wizard .tab-pane { position: relative; padding-top: 50px; } .wizard h3 { margin-top: 0; } @media( max-width : 585px ) { .wizard { width: 90%; height: auto !important; } span.round-tab { font-size: 16px; width: 50px; height: 50px; line-height: 50px; } .wizard .nav-tabs > li a { width: 50px; height: 50px; line-height: 50px; } .wizard li.active:after { content: " "; position: absolute; left: 35%; } }
$(document).ready(function () { //Initialize tooltips $('.nav-tabs > li a[title]').tooltip(); //Wizard $('a[data-toggle="tab"]').on('show.bs.tab', function (e) { var $target = $(e.target); if ($target.parent().hasClass('disabled')) { return false; } }); $(".next-step").click(function (e) { var $active = $('.wizard .nav-tabs li.active'); $active.next().removeClass('disabled'); nextTab($active); }); $(".prev-step").click(function (e) { var $active = $('.wizard .nav-tabs li.active'); prevTab($active); }); }); function nextTab(elem) { $(elem).next().find('a[data-toggle="tab"]').click(); } function prevTab(elem) { $(elem).prev().find('a[data-toggle="tab"]').click(); }

Related: See More


Questions / Comments: