"admin"
Bootstrap 4.1.1 Snippet by ganazius

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/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 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 ----------> <!-- awal Menu --> <div id="topo"> <div class="container"> <div class="row"> <div class="col-md-6 col-ms-6 col-xs-6" id="logo-topo"> <a href="index.php"><h2>LOGO</h2></a> </div> <div class="col-md-6 col-ms-6 col-xs-6" id="abre-menu-topo"> <a href="#" class="btn-collapse"> <div class="lista-collapse"></div> <div class="lista-collapse"></div> <div class="lista-collapse"></div> </a> </div> </div><!--Fim da Row1 --> <div class="row"> <ul id="menu-topo"> <li><a href="index.php">INÍCIO</a></li> <li><a href="portfolio.php">PORTFÓLIO DE PROJETOS</a></li> <li><a href="como-feito.php">ETAPAS DO PROCESSOS</a></li> <li><a href="#contato" class="dentro">FALE CONOSCO</a></li> </ul> </div> </div><!--Fim da coontainer --> </div><!--Fim do topo --> <!-- Akhir Menu --> <!-- awal dropdown--> <div class="container" style="width:100%; padding-top:6%"> <div class="well col-xs-8 col-sm-8 col-md-8 col-lg-8 col-xs-offset-2 col-sm-offset-2 col-md-offset-2 col-lg-offset-2"> <div class="row user-row"> <div class="col-xs-3 col-sm-2 col-md-1 col-lg-1"> <img class="img" src="https://lh5.googleusercontent.com/-b0-k99FZlyE/AAAAAAAAAAI/AAAAAAAAAAA/eu7opA4byxI/photo.jpg?sz=50" alt="User Pic"> </div> <div class="col-xs-8 col-sm-9 col-md-10 col-lg-10"> <strong>Cyruxx</strong><br> <span class="text-muted">User level: Administrator</span> </div> <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 dropdown-user" data-for=".cyruxx"> <i class="glyphicon glyphicon-chevron-down text-muted"></i> </div> </div> <div class="row user-infos cyruxx"> <div class="col-xs-12 col-sm-12 col-md-10 col-lg-10 col-xs-offset-0 col-sm-offset-0 col-md-offset-1 col-lg-offset-1"> <div class="panel panel-primary"> <div class="panel-heading"> <h3 class="panel-title">User information</h3> </div> <div class="panel-body"> <div class="row"> <div class="col-md-3 col-lg-3 hidden-xs hidden-sm"> <img class="img" src="https://lh5.googleusercontent.com/-b0-k99FZlyE/AAAAAAAAAAI/AAAAAAAAAAA/eu7opA4byxI/photo.jpg?sz=100" alt="User Pic"> </div> <div class="col-xs-2 col-sm-2 hidden-md hidden-lg"> <img class="img" src="https://lh5.googleusercontent.com/-b0-k99FZlyE/AAAAAAAAAAI/AAAAAAAAAAA/eu7opA4byxI/photo.jpg?sz=50" alt="User Pic"> </div> <div class="col-xs-10 col-sm-10 hidden-md hidden-lg"> <strong>Cyruxx</strong><br> <dl> <dt>User level:</dt> <dd>Administrator</dd> <dt>Registered since:</dt> <dd>11/12/2013</dd> <dt>Topics</dt> <dd>15</dd> <dt>Warnings</dt> <dd>0</dd> </dl> </div> <div class=" col-md-9 col-lg-9 hidden-xs hidden-sm"> <strong>Cyruxx</strong><br> <table class="table table-user-information"> <tbody> <tr> <td>User level:</td> <td>Administrator</td> </tr> <tr> <td>Registered since:</td> <td>11/12/2013</td> </tr> <tr> <td>Topics</td> <td>15</td> </tr> <tr> <td>Warnings</td> <td>0</td> </tr> </tbody> </table> </div> </div> </div> <div class="panel-footer"> <button class="btn btn-sm btn-primary" type="button" data-toggle="tooltip" data-original-title="Send message to user"><i class="glyphicon glyphicon-envelope"></i></button> <span class="pull-right"> <button class="btn btn-sm btn-warning" type="button" data-toggle="tooltip" data-original-title="Edit this user"><i class="glyphicon glyphicon-edit"></i></button> <button class="btn btn-sm btn-danger" type="button" data-toggle="tooltip" data-original-title="Remove this user"><i class="glyphicon glyphicon-remove"></i></button> </span> </div> </div> </div> </div> <div class="row user-row"> <div class="col-xs-3 col-sm-2 col-md-1 col-lg-1"> <img class="img" src="https://lh5.googleusercontent.com/-b0-k99FZlyE/AAAAAAAAAAI/AAAAAAAAAAA/eu7opA4byxI/photo.jpg?sz=50" alt="User Pic"> </div> <div class="col-xs-8 col-sm-9 col-md-10 col-lg-10"> <strong>User 2</strong><br> <span class="text-muted">User level: Registered</span> </div> <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 dropdown-user" data-for=".user2"> <i class="glyphicon glyphicon-chevron-down text-muted"></i> </div> </div> <div class="row user-infos user2"> <div class="col-xs-12 col-sm-12 col-md-10 col-lg-10 col-xs-offset-0 col-sm-offset-0 col-md-offset-1 col-lg-offset-1"> <div class="panel panel-primary"> <div class="panel-heading"> <h3 class="panel-title">User information</h3> </div> <div class="panel-body"> <div class="row"> <div class="col-md-3 col-lg-3 hidden-xs hidden-sm"> <img class="img" src="https://lh5.googleusercontent.com/-b0-k99FZlyE/AAAAAAAAAAI/AAAAAAAAAAA/eu7opA4byxI/photo.jpg?sz=100" alt="User Pic"> </div> <div class="col-xs-2 col-sm-2 hidden-md hidden-lg"> <img class="img" src="https://lh5.googleusercontent.com/-b0-k99FZlyE/AAAAAAAAAAI/AAAAAAAAAAA/eu7opA4byxI/photo.jpg?sz=50" alt="User Pic"> </div> <div class="col-xs-10 col-sm-10 hidden-md hidden-lg"> <strong>Cyruxx</strong><br> <dl> <dt>User level:</dt> <dd>Administrator</dd> <dt>Registered since:</dt> <dd>11/12/2013</dd> <dt>Topics</dt> <dd>15</dd> <dt>Warnings</dt> <dd>0</dd> </dl> </div> <div class=" col-md-9 col-lg-9 hidden-xs hidden-sm"> <strong>Cyruxx</strong><br> <table class="table table-user-information"> <tbody> <tr> <td>User level:</td> <td>Administrator</td> </tr> <tr> <td>Registered since:</td> <td>11/12/2013</td> </tr> <tr> <td>Topics</td> <td>15</td> </tr> <tr> <td>Warnings</td> <td>0</td> </tr> </tbody> </table> </div> </div> </div> <div class="panel-footer"> <button class="btn btn-sm btn-primary" type="button" data-toggle="tooltip" data-original-title="Send message to user"><i class="glyphicon glyphicon-envelope"></i></button> <span class="pull-right"> <button class="btn btn-sm btn-warning" type="button" data-toggle="tooltip" data-original-title="Edit this user"><i class="glyphicon glyphicon-edit"></i></button> <button class="btn btn-sm btn-danger" type="button" data-toggle="tooltip" data-original-title="Remove this user"><i class="glyphicon glyphicon-remove"></i></button> </span> </div> </div> </div> </div> <div class="row user-row"> <div class="col-xs-3 col-sm-2 col-md-1 col-lg-1"> <img class="img" src="https://lh5.googleusercontent.com/-b0-k99FZlyE/AAAAAAAAAAI/AAAAAAAAAAA/eu7opA4byxI/photo.jpg?sz=50" alt="User Pic"> </div> <div class="col-xs-8 col-sm-9 col-md-10 col-lg-10"> <strong>Cyruxx</strong><br> <span class="text-muted">User level: Administrator</span> </div> <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 dropdown-user" data-for=".user3"> <i class="glyphicon glyphicon-chevron-down text-muted"></i> </div> </div> <div class="row user-infos user3"> <div class="col-xs-12 col-sm-12 col-md-10 col-lg-10 col-xs-offset-0 col-sm-offset-0 col-md-offset-1 col-lg-offset-1"> <div class="panel panel-primary"> <div class="panel-heading"> <h3 class="panel-title">User information</h3> </div> <div class="panel-body"> <div class="row"> <div class="col-md-3 col-lg-3 hidden-xs hidden-sm"> <img class="img" src="https://lh5.googleusercontent.com/-b0-k99FZlyE/AAAAAAAAAAI/AAAAAAAAAAA/eu7opA4byxI/photo.jpg?sz=100" alt="User Pic"> </div> <div class="col-xs-2 col-sm-2 hidden-md hidden-lg"> <img class="img" src="https://lh5.googleusercontent.com/-b0-k99FZlyE/AAAAAAAAAAI/AAAAAAAAAAA/eu7opA4byxI/photo.jpg?sz=50" alt="User Pic"> </div> <div class="col-xs-10 col-sm-10 hidden-md hidden-lg"> <strong>Cyruxx</strong><br> <dl> <dt>User level:</dt> <dd>Administrator</dd> <dt>Registered since:</dt> <dd>11/12/2013</dd> <dt>Topics</dt> <dd>15</dd> <dt>Warnings</dt> <dd>0</dd> </dl> </div> <div class=" col-md-9 col-lg-9 hidden-xs hidden-sm"> <strong>Cyruxx</strong><br> <table class="table table-user-information"> <tbody> <tr> <td>User level:</td> <td>Administrator</td> </tr> <tr> <td>Registered since:</td> <td>11/12/2013</td> </tr> <tr> <td>Topics</td> <td>15</td> </tr> <tr> <td>Warnings</td> <td>0</td> </tr> </tbody> </table> </div> </div> </div> <div class="panel-footer"> <button class="btn btn-sm btn-primary" type="button" data-toggle="tooltip" data-original-title="Send message to user"><i class="glyphicon glyphicon-envelope"></i></button> <span class="pull-right"> <button class="btn btn-sm btn-warning" type="button" data-toggle="tooltip" data-original-title="Edit this user"><i class="glyphicon glyphicon-edit"></i></button> <button class="btn btn-sm btn-danger" type="button" data-toggle="tooltip" data-original-title="Remove this user"><i class="glyphicon glyphicon-remove"></i></button> </span> </div> </div> </div> </div> </div> </div> <!-- akhir dropdown-->
#topo { z-index: 15; background-color: #FFF; width: 100%; position: fixed; border-bottom: 2px solid #16618D; opacity: 0.9; }#logo-topo img { margin: 2.8% 0 4% 0; }#menu-topo{ border-top: 1px solid #1C79AD; text-align: center; padding: 0; }#menu-topo li{ width: 100%; list-style: none; }#menu-topo li:hover{ }#menu-topo li a{ display: block !important; width: 100%; font-size: 1.5em; padding:1% 0; font-weight: bold; color: #2a6496; }#menu-topo li a:hover{ background-color:#D6D6DC; text-decoration: none; }.btn-collapse { width: 30px; height: 30px; position: relative; padding:0.5% 1%; float: right; margin-top: 3.5%; }.lista-collapse { width: 100%; height: 5px; background-color: #1C79AD; -ms-transition: all 0.5s; -webkit-transition: all 0.5s; -moz-transition: all 0.5s; transition: all 0.5s; position: absolute; }.lista-collapse:nth-child(1){top:0;} .lista-collapse:nth-child(2){top:14px;} .lista-collapse:nth-child(1){top:25px;} .botao-lista-cima { -ms-transform: rotate(-50deg) -webkit-transform: rotate(-50deg); -moz-transform: rotate(-50deg); transform: rotate(-50deg); }.botao-lista-baixo { -ms-transform: rotate(50deg); -webkit-transform: rotate(50deg); -moz-transform: rotate(50deg); transform: rotate(50deg); }.hidden { visibility: hidden; }.lista-collapse.botao-lista-cima { top: 5px; }.lista-collapse.botao-lista-baixo { top: 5px; } <!-- awal dropdown--> .user-row { margin-bottom: 14px; padding-top: 100px; } .user-row:last-child { margin-bottom: 0; } .dropdown-user { margin: 13px 0; padding: 5px; height: 100%; } .dropdown-user:hover { cursor: pointer; } .table-user-information > tbody > tr { border-top: 1px solid rgb(221, 221, 221); } .table-user-information > tbody > tr:first-child { border-top: 0; } .table-user-information > tbody > tr > td { border-top: 0; }
$(document).ready(function(e) { $('#menu-topo').hide(); var menuaberto = false; $('.btn-collapse').click(function(event) { event.preventDefault(); $('#menu-topo').toggle(''); if(menuaberto == true){ menuaberto = false; $(".lista-collapse:nth-child(1)").removeClass('botao-lista-cima'); $(".lista-collapse:nth-child(2)").removeClass('hidden'); $(".lista-collapse:nth-child(3)").removeClass('botao-lista-baixo'); }else { menuaberto = true; $(".lista-collapse:nth-child(1)").addClass('botao-lista-cima'); $(".lista-collapse:nth-child(2)").addClass('hidden'); $(".lista-collapse:nth-child(3)").addClass('botao-lista-baixo'); } }); }); $(document).ready(function() { var panels = $('.user-infos'); var panelsButton = $('.dropdown-user'); panels.hide(); //Click dropdown panelsButton.click(function() { //get data-for attribute var dataFor = $(this).attr('data-for'); var idFor = $(dataFor); //current button var currentButton = $(this); idFor.slideToggle(400, function() { //Completed slidetoggle if(idFor.is(':visible')) { currentButton.html('<i class="glyphicon glyphicon-chevron-up text-muted"></i>'); } else { currentButton.html('<i class="glyphicon glyphicon-chevron-down text-muted"></i>'); } }) }); $('[data-toggle="tooltip"]').tooltip(); $('button').click(function(e) { e.preventDefault(); alert("This is a demo.\n :-)"); }); });

Related: See More


Questions / Comments: