"Wizard Tool for Scheduling App"
Bootstrap 3.3.0 Snippet by lildwitte

<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="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <div class="container"> <div class="row"> <div class="col-md-4 col-sm-12"> <div class="serviceBox green"> <div class="service-icon"> <span><i class="fa fa-car"></i></span> </div> <div class="service-content"> <h3 class="title">One-Way Miles</h3> <p class="description">4.6</p> <p>1611 meters in a mile.</p> </div> </div> </div> <div class="col-md-4 col-sm-12"> <div class="serviceBox orange"> <div class="service-icon"> <span><i class="fa fa-clock-o"></i></span> </div> <div class="service-content"> <h3 class="title">Est. Drive Time</h3> <p class="description">8 minutes</p> <p>60 seconds in a minute.</p> </div> </div> </div> <div class="col-md-4 col-sm-12"> <div class="serviceBox blue"> <div class="service-icon"> <span><i class="fa fa-money"></i></span> </div> <div class="service-content"> <h3 class="title">Base Price</h3> <p class="description">$50</p> </div> </div> </div> </div> <div class="stepwizard"> <div class="stepwizard-row setup-panel"> <div class="stepwizard-step col-xs-3"> <a href="#step-1" type="button" class="btn btn-success btn-circle">1</a> <p><small>Shipper</small></p> </div> <div class="stepwizard-step col-xs-3"> <a href="#step-2" type="button" class="btn btn-default btn-circle" disabled="disabled">2</a> <p><small>Destination</small></p> </div> <div class="stepwizard-step col-xs-3"> <a href="#step-3" type="button" class="btn btn-default btn-circle" disabled="disabled">3</a> <p><small>Schedule</small></p> </div> <div class="stepwizard-step col-xs-3"> <a href="#step-4" type="button" class="btn btn-default btn-circle" disabled="disabled">4</a> <p><small>Cargo</small></p> </div> </div> </div> <form role="form"> <div class="panel panel-primary setup-content" id="step-1"> <div class="panel-heading"> <h3 class="panel-title">Shipper</h3> </div> <div class="panel-body"> <div class="form-group"> <label class="control-label">First Name</label> <input maxlength="100" type="text" required="required" class="form-control" placeholder="Enter First Name" /> </div> <div class="form-group"> <label class="control-label">Last Name</label> <input maxlength="100" type="text" required="required" class="form-control" placeholder="Enter Last Name" /> </div> <button class="btn btn-primary nextBtn pull-right" type="button">Next</button> </div> </div> <div class="panel panel-primary setup-content" id="step-2"> <div class="panel-heading"> <h3 class="panel-title">Destination</h3> </div> <div class="panel-body"> <div class="form-group"> <label class="control-label">Company Name</label> <input maxlength="200" type="text" required="required" class="form-control" placeholder="Enter Company Name" /> </div> <div class="form-group"> <label class="control-label">Company Address</label> <input maxlength="200" type="text" required="required" class="form-control" placeholder="Enter Company Address" /> </div> <button class="btn btn-primary nextBtn pull-right" type="button">Next</button> </div> </div> <div class="panel panel-primary setup-content" id="step-3"> <div class="panel-heading"> <h3 class="panel-title">Schedule</h3> </div> <div class="panel-body"> <div class="form-group"> <label class="control-label">Company Name</label> <input maxlength="200" type="text" required="required" class="form-control" placeholder="Enter Company Name" /> </div> <div class="form-group"> <label class="control-label">Company Address</label> <input maxlength="200" type="text" required="required" class="form-control" placeholder="Enter Company Address" /> </div> <button class="btn btn-primary nextBtn pull-right" type="button">Next</button> </div> </div> <div class="panel panel-primary setup-content" id="step-4"> <div class="panel-heading"> <h3 class="panel-title">Cargo</h3> </div> <div class="panel-body"> <div class="form-group"> <label class="control-label">Company Name</label> <input maxlength="200" type="text" required="required" class="form-control" placeholder="Enter Company Name" /> </div> <div class="form-group"> <label class="control-label">Company Address</label> <input maxlength="200" type="text" required="required" class="form-control" placeholder="Enter Company Address" /> </div> <button class="btn btn-success pull-right" type="submit">Finish!</button> </div> </div> </form> </div>
/* Latest compiled and minified CSS included as External Resource*/ /* Optional theme */ /*@import url('//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-theme.min.css');*/ body { margin-top:30px; background-color: #525252; } .stepwizard { margin-top:60px; } .panel{ margin-top:60px; background: rgba(255, 255, 255, 0.8); box-shadow: rgba(0, 0, 0, 0.3) 20px 20px 20px; margin-bottom:60px; } .stepwizard-step p { margin-top: 0px; color:#999; } .stepwizard-row { display: table-row; } .stepwizard { display: table; width: 100%; position: relative; } .stepwizard-step button[disabled] { /*opacity: 1 !important; filter: alpha(opacity=100) !important;*/ } .stepwizard .btn.disabled, .stepwizard .btn[disabled], .stepwizard fieldset[disabled] .btn { opacity:1 !important; color:#bbb; } .stepwizard-row:before { top: 14px; bottom: 0; position: absolute; content:" "; width: 100%; height: 1px; background-color: #ccc; z-index: 0; } .stepwizard-step { display: table-cell; text-align: center; position: relative; } .btn-circle { width: 30px; height: 30px; text-align: center; padding: 6px 0; font-size: 12px; line-height: 1.428571429; border-radius: 15px; } .serviceBox{text-align: center;margin-top: 60px;position: relative;z-index: 1; margin-bottom: 21px;} .serviceBox .service-icon{width: 78px;height: 78px;border-radius:3px;background: #fff;margin: 0 auto;position: absolute;top: -34px;left: 0;right: 0;z-index: 1;transition: all 0.3s ease-out 0s;} .serviceBox:hover .service-icon{transform: rotate(45deg);} .serviceBox .service-icon span{display: inline-block;width: 60px;height: 60px;line-height: 60px;border-radius:3px;background: #727cb6;font-size: 30px;color: #fff;margin: auto;position: absolute;top: 0;left: 0;bottom: 0;right: 0;transition: all 0.3s ease-out 0s;} .serviceBox .service-icon span i{transition: all 0.3s ease-out 0s;} .serviceBox:hover .service-icon span i{transform: rotate(-45deg);} .serviceBox .service-content{background: #fff;border: 1px solid #e7e7e7;border-radius: 3px;padding: 55px 15px;position: relative;} .serviceBox .service-content:before{content: "";display: block;width: 80px;height: 80px;border: 1px solid #e7e7e7;border-radius: 3px;margin: 0 auto;position: absolute;top: -37px;left: 0;right: 0;z-index: -1;transition: all 0.3s ease-out 0s;} .serviceBox:hover .service-content:before{transform: rotate(45deg);} .serviceBox .title{font-size: 17px;font-weight: 500;color: #324545;text-transform: uppercase;margin: 0 0 25px 0;position: relative;transition: all 0.3s ease-out 0s;} .serviceBox:hover .title{color: #727cb6;} .serviceBox .description{font-size: 14px;font-weight: 500;line-height: 24px;margin-bottom: 0;} .serviceBox .read-more{display: block;width: 40px;height: 40px;line-height: 38px;border-radius: 50%;background: #fff;border: 1px solid #e7e7e7;font-size: 14px;color: #c4c2c2;margin: 0 auto;position: absolute;bottom: -17px;left: 0; right: 0;transition: all 0.3s ease-out 0s;} .serviceBox .read-more:hover{border: 1px solid #727cb6;color: #727cb6;text-decoration: none;} .serviceBox.green .service-icon span{ background: #008b8b; } .serviceBox.blue .service-icon span{ background: #3498db; } .serviceBox.orange .service-icon span{ background: #e67e22; } .serviceBox.green:hover .title{ color: #008b8b; } .serviceBox.blue:hover .title{ color: #3498db; } .serviceBox.orange:hover .title{ color: #e67e22; } .serviceBox:hover .read-more{border: 1px solid #727cb6;color: #727cb6;} .serviceBox.green:hover .read-more{border: 1px solid #008b8b;color: #008b8b;} .serviceBox.blue:hover .read-more{border: 1px solid #3498db;color: #3498db;} .serviceBox.orange:hover .read-more{border: 1px solid #e67e22;color: #e67e22;}
$(document).ready(function () { var navListItems = $('div.setup-panel div a'), allWells = $('.setup-content'), allNextBtn = $('.nextBtn'); allWells.hide(); navListItems.click(function (e) { e.preventDefault(); var $target = $($(this).attr('href')), $item = $(this); if (!$item.hasClass('disabled')) { navListItems.removeClass('btn-success').addClass('btn-default'); $item.addClass('btn-success'); allWells.hide(); $target.show(); $target.find('input:eq(0)').focus(); } }); allNextBtn.click(function () { var curStep = $(this).closest(".setup-content"), curStepBtn = curStep.attr("id"), nextStepWizard = $('div.setup-panel div a[href="#' + curStepBtn + '"]').parent().next().children("a"), curInputs = curStep.find("input[type='text'],input[type='url']"), isValid = true; $(".form-group").removeClass("has-error"); for (var i = 0; i < curInputs.length; i++) { if (!curInputs[i].validity.valid) { isValid = false; $(curInputs[i]).closest(".form-group").addClass("has-error"); } } if (isValid) nextStepWizard.removeAttr('disabled').trigger('click'); }); $('div.setup-panel div a.btn-success').trigger('click'); });

Related: See More


Questions / Comments: