"Tree menu with accordion "
Bootstrap 3.1.0 Snippet by iwebgraph

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.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"> <div class="col-md-12"> <div class="menu"> <div class="accordion"> <!-- Áreas --> <div class="accordion-group"> <!-- Área --> <div class="accordion-heading area"> <a class="accordion-toggle" data-toggle="collapse" href="#area1">Área #1</a> </div><!-- /Área --> <div class="accordion-body collapse" id="area1"> <div class="accordion-inner"> <div class="accordion" id="equipamento1"> <!-- Equipamentos --> <div class="accordion-group"> <div class="accordion-heading equipamento"> <a class="accordion-toggle" data-parent="#equipamento1-1" data-toggle="collapse" href="#ponto1-1">Equipamento #1-1</a> </div><!-- Pontos --> <div class="accordion-body collapse" id="ponto1-1"> <div class="accordion-inner"> <div class="accordion" id="servico1"> <div class="accordion-group"> <div class="accordion-heading ponto"> <a class="accordion-toggle" data-parent="#servico1-1-1" data-toggle="collapse" href="#servico1-1-1">Ponto #1-1-1</a> </div><!-- Serviços --> <div class="accordion-body collapse" id="servico1-1-1"> <div class="accordion-inner"> <ul class="nav nav-list"> <li><a href="#"><i class="icon-chevron-right"></i> Serviço #1-1-1-1</a></li> <li><a href="#"><i class="icon-chevron-right"></i> Serviço #1-1-1-2</a></li> <li><a href="#"><i class="icon-chevron-right"></i> Serviço #1-1-1-3</a></li> </ul> </div> </div><!-- /Serviços --> </div> </div> </div> </div><!-- /Pontos --> </div><!-- /Equipamentos --> </div> </div> </div> </div> </div><!-- /accordion --> <div class="accordion"> <!-- Áreas --> <div class="accordion-group"> <!-- Área --> <div class="accordion-heading area"> <a class="accordion-toggle" data-toggle="collapse" href="#area2">Área #1</a> </div><!-- /Área --> <div class="accordion-body collapse" id="area2"> <div class="accordion-inner"> <div class="accordion" id="equipamento1"> <!-- Equipamentos --> <div class="accordion-group"> <div class="accordion-heading equipamento"> <a class="accordion-toggle" data-toggle="collapse" href="#ponto2-1">Equipamento #1-1</a> </div><!-- Pontos --> <div class="accordion-body collapse" id="ponto2-1"> <div class="accordion-inner"> <div class="accordion" id="servico1"> <div class="accordion-group"> <div class="accordion-heading ponto"> <a class="accordion-toggle" data-toggle="collapse" href="#servico1-2-1">Ponto #1-1-1</a> </div><!-- Serviços --> <div class="accordion-body collapse" id="servico1-2-1"> <div class="accordion-inner"> <ul class="nav nav-list"> <li><a href="#"><i class="icon-chevron-right"></i> Serviço #1-1-1-1</a></li> <li><a href="#"><i class="icon-chevron-right"></i> Serviço #1-1-1-2</a></li> <li><a href="#"><i class="icon-chevron-right"></i> Serviço #1-1-1-3</a></li> </ul> </div> </div><!-- /Serviços --> </div> </div> <div class="accordion" id="servico2"> <div class="accordion-group"> <div class="accordion-heading ponto"> <a class="accordion-toggle" data-toggle="collapse" href="#servico2-2-2">Ponto #1-1-1</a> </div><!-- Serviços --> <div class="accordion-body collapse" id="servico2-2-2"> <div class="accordion-inner"> <ul class="nav nav-list"> <li><a href="#"><i class="icon-chevron-right"></i> Serviço #1-1-1-1</a></li> <li><a href="#"><i class="icon-chevron-right"></i> Serviço #1-1-1-2</a></li> <li><a href="#"><i class="icon-chevron-right"></i> Serviço #1-1-1-3</a></li> </ul> </div> </div><!-- /Serviços --> </div> </div> </div> </div><!-- /Pontos --> </div><!-- /Equipamentos --> </div> </div> </div> </div> </div><!-- /accordion --> <div class="accordion"> <!-- Áreas --> <div class="accordion-group"> <!-- Área --> <div class="accordion-heading area"> <a class="accordion-toggle" data-toggle="collapse" href="#area3">Área #1</a> </div><!-- /Área --> <div class="accordion-body collapse" id="area3"> <div class="accordion-inner"> <div class="accordion" id="equipamento1"> <!-- Equipamentos --> <div class="accordion-group"> <div class="accordion-heading equipamento"> <a class="accordion-toggle" data-toggle="collapse" href="#servico3-1-1">Ponto #1-1-1</a> </div><!-- Serviços --> <div class="accordion-body collapse" id="servico3-1-1"> <div class="accordion-inner"> <ul class="nav nav-list"> <li><a href="#"><i class="icon-chevron-right"></i> Serviço #1-1-1-1</a></li> <li><a href="#"><i class="icon-chevron-right"></i> Serviço #1-1-1-2</a></li> <li><a href="#"><i class="icon-chevron-right"></i> Serviço #1-1-1-3</a></li> </ul> </div> </div><!-- /Serviços --> </div> </div> </div> </div> </div> </div><!-- /accordion --> </div> </div> </div> </div>
.menu .accordion-heading { position: relative; } .menu .accordion-heading .edit { position: absolute; top: 8px; right: 30px; } .menu .area { border-left: 4px solid #f38787; } .menu .equipamento { border-left: 4px solid #65c465; } .menu .ponto { border-left: 4px solid #98b3fa; } .menu .collapse.in { overflow: visible; } .accordion{margin-bottom:20px;} .accordion-group{margin-bottom:2px;border:1px solid #e5e5e5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;} .accordion-heading{border-bottom:0;} .accordion-heading .accordion-toggle{display:block;padding:8px 15px;} .accordion-toggle{cursor:pointer;} .accordion-inner{padding:9px 15px;border-top:1px solid #e5e5e5;}

Related: See More


Questions / Comments: