"Color Accordion Menu"
Bootstrap 3.0.3 Snippet by xrozix

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/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-sm-3 col-md-3"> <div class="panel-group" id="accordion"> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a href="http://google.com/"><span class="glyphicon glyphicon-home"> </span>Início</a> </h4> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne"><span class="glyphicon glyphicon-ok"> </span>Matrícula</a> </h4> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo"><span class="glyphicon glyphicon-list-alt"> </span>Cadastro</a> </h4> </div> <div id="collapseTwo" class="panel-collapse collapse"> <div class="panel-body"> <table class="table"> <tr> <td> <a href="http://www.jquery2dotnet.com">Alunos</a> </td> </tr> <tr> <td> <a href="http://www.jquery2dotnet.com">Professores</a> </td> </tr> <tr> <td> <a href="http://www.jquery2dotnet.com">Professores por Turma</a> </td> </tr> <tr> <td> <a href="http://www.jquery2dotnet.com">Usuários do Sistema</a> </td> </tr> </table> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseThree"><span class="glyphicon glyphicon-edit"> </span>Alterações</a> </h4> </div> <div id="collapseThree" class="panel-collapse collapse"> <div class="panel-body"> <table class="table"> <tr> <td> <a href="http://www.jquery2dotnet.com">Cadastro de Alunos</a> </td> </tr> <tr> <td> <a href="http://www.jquery2dotnet.com">Cadastro de Professores</a> </td> </tr> <tr> <td> <a href="http://www.jquery2dotnet.com">Redefinir Senha</a> </td> </tr> </table> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseFour"><span class="glyphicon glyphicon-print"> </span>Relatórios</a> </h4> </div> <div id="collapseFour" class="panel-collapse collapse"> <div class="panel-body"> <table class="table"> <tr> <td> <a href="http://www.jquery2dotnet.com">Declaração de Matrícula</a> </td> </tr> <tr> <td> <a href="http://www.jquery2dotnet.com">Declaração de Transferência</a> </td> </tr> <tr> <td> <a href="http://www.jquery2dotnet.com">Declaração de Quitação</a> </td> </tr> <tr> <td> <a href="http://www.jquery2dotnet.com">Declaração de Frequência</a> </td> </tr> <tr> <td> <a href="http://www.jquery2dotnet.com">Declaração de Imposto de Renda</a> </td> </tr> </table> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseFive"><span class="glyphicon glyphicon-search"> </span>Consultas</a> </h4> </div> <div id="collapseFive" class="panel-collapse collapse"> <div class="panel-body"> <table class="table"> <tr> <td> <a href="http://www.jquery2dotnet.com">Alunos</a> </td> </tr> <tr> <td> <a href="http://www.jquery2dotnet.com">Alunos Inativos</a> </td> </tr> <tr> <td> <a href="http://www.jquery2dotnet.com">Alunos por Turma</a> </td> </tr> <tr> <td> <a href="http://www.jquery2dotnet.com">Professores</a> </td> </tr> <tr> <td> <a href="http://www.jquery2dotnet.com">Professores por Turma</a> </td> </tr> </table> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne"><span class="glyphicon glyphicon-off"> </span>Sair</a> </h4> </div> </div> </div> </div> </div> </div>
.glyphicon { margin-right:10px; } .panel-body { padding:0px; background-color: #ABD9F4; } .panel-body table tr td { padding-left: 15px; } .panel-body .table { margin-bottom: 0px; } .panel-heading { background-color:#007CC3 !important; color: #FFFFFF !important; }

Related: See More


Questions / Comments: