<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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 ---------->
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<div class="container" style="margin-top: 10px">
<div class="row">
<div class="col col-sm-4">
<ul class="nav nav-tabs nav-stacked text-center" role="tablist">
<li role="presentation" class="active">
<div class="line-wizard l1"></div>
<a href="#panel1" aria-controls="panel1" role="tab" data-toggle="tab">
<div class="row">
<div class="col-md-1"><div class="step s0">1</div></div>
<div class="col-md-11 step-text">Información Básica</div>
</div>
</a></li>
<li role="presentation"><a href="#panel2" aria-controls="panel2" role="tab" data-toggle="tab">
<div class="row">
<div class="col-md-1"><div class="step s0">2</div></div>
<div class="col-md-11 step-text">Personal Clave</div>
</div>
</a></li>
<li role="presentation"><a href="#panel3" aria-controls="panel3" role="tab" data-toggle="tab">
<div class="row">
<div class="col-md-1"><div class="step s0">3</div></div>
<div class="col-md-11 step-text">Representante Legal</div>
</div>
</a></li>
</ul>
</div>
<div class="col col-sm-8">
<div class="row tab-content">
<div role="tabpanel" class="tab-pane fade active in" id="panel1">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsu
</div>
<div role="tabpanel" class="tab-pane fade" id="panel2">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
</div>
<div role="tabpanel" class="tab-pane fade" id="panel3">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum
</div>
</div>
</div>
</div>
<div class="row">
<ul class="list-inline pull-right">
<li><button type="button" class="step-fll-prev step-prev prev-step"><i class="fa fa-angle-left" aria-hidden="true"></i></button></li>
<li><button type="button" class="step-fll-prev step-fll next-step"><i class="fa fa-angle-right" aria-hidden="true" ></i></button></li>
</ul>
</div>
</div>
.step {
width: 50px;
height: 50px;
border-radius: 50%;
font-family: 'SansaPro-SemiBold';
font-size: 25px;
color: #fff;
line-height: 50px;
text-align: center !important;
background: #FF0000;
transition: all 1s;
}
.step-ok {
width: 50px;
height: 50px;
border-radius: 50%;
font-family: 'SansaPro-SemiBold';
font-size: 25px;
color: #fff;
line-height: 50px;
text-align: center !important;
background: #39B54A;
}
.step-fll-prev {
width: 40px;
height: 40px;
border-radius: 50%;
font-family: 'SansaPro-Bold';
font-size: 30px !important;
text-align: center !important;
cursor: pointer;
}
.step-fll {
color: #fff;
background: #283897;
margin-left: 3px;
line-height: 38px;
}
.step-prev {
color: #283897;
background: #FFF;
border-width: 2px;
border-style: solid;
border-color: #283897;
margin-left: -5px;
line-height: 35px;
}
.step-fll-prev i {
font-size: 30px !important;
}
.step-text {
/*font-family: 'SansaPro-SemiBold';*/
font-size: 15px;
padding-left: 46px;
padding-top: 5px;
text-align: left !important;
vertical-align: middle;
}
.panel-default {
border-color: transparent;
}
.panel {
margin-bottom: 20px;
background-color: transparent;
border: 0px solid transparent;
border-radius: 4px;
-webkit-box-shadow: 0 0px 0px rgba(0,0,0,0.05);
box-shadow: 0 0px 0px rgba(0,0,0,0.05);
}
.panel-default>.panel-heading {
color: #333;
background-color: transparent;
border-color: transparent;
}
.panel-group .panel-heading+.panel-collapse .panel-body {
border-top: 0px solid #ddd;
}
.line-wizard {
position: absolute;
width: 2px;
background-color: #CCCCCC;
z-index: -1;
}
.l1 {
height: 214px;
margin-top: 44px;
margin-left: 25px;
}
.l2 {
height: 217px;
margin-top: -45px;
margin-left: 25px;
}
.l3 {
height: 131px;
margin-top: -199px;
margin-left: 25px;
}
/* old */
.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover { border-width: 0; }
.nav-stacked > li + li {
margin-top: 0px;
}
.nav-tabs > li > a {
padding: 15px 1px 15px 0px !important;
color: #AAAAAA;
background-color: transparent !important;
border: 0px;
border-radius: 0px;
margin: 0;
}
.nav-tabs > li > a .step{
background-color: #CCCCCC !important;
}
.nav-tabs > li.active > a .step{
background-color: #FF0000 !important;
}
.nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
/*background-color: transparent; */
color: #2A295C;
z-index: 99;
transition: all 0.5s ease 0s;
}
.nav-tabs > li.active > a {
color: #2A295C;
/*background-color: transparent;*/
/*box-shadow: 0 0px 5px rgba(0, 0, 0, .6);*/
z-index: 100;
}
.nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
color: #2A295C;
/*background-color: #2962FF; */
/*box-shadow: 0 0px 5px rgba(0, 0, 0, .6);*/
transition: all 0.5s ease 0s;
}
.btn {
display: inline-block;
padding: 6px 12px;
margin-bottom: 0;
font-size: 14px;
font-weight: normal;
line-height: 1.42857143;
text-align: center;
white-space: nowrap;
vertical-align: middle;
-ms-touch-action: manipulation;
touch-action: manipulation;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-image: none;
border: 1px solid transparent;
border-radius: 1px;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
transition: all 0.5s ease 0s;
}
.nav-tabs {
border-bottom: 0px solid #ddd;
}
.btn-primary {
background-color: #2962FF;
}
.btn-primary:hover, .btn-primary:focus {
background-color: #0D47A1;
}
$(document).ready(function () {
$(".next-step").click(function (e) {
var $active = $('.nav-tabs li.active');
$active.next().removeClass('disabled');
nextTab($active);
});
$(".prev-step").click(function (e) {
var $active = $('.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();
}