"edit 006"
Bootstrap 3.2.0 Snippet by ths93

<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.2.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 ----------> <!DOCTYPE html> <html lang="en" class="no-js"> <head> <meta charset="UTF-8" /> <title>Blueprint: Slide and Push Menus</title> <link href="http://netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <style type="text/css"> .nav-tabs li a, .nav-tabs li a:active, .nav-tabs li a:focus { outline:0px !important; -webkit-appearance:none; text-decoration:none; color: #000000;} .panel {margin-top: 25px;} .panel .panel-heading { padding: 5px 5px 0 5px;} .panel .panel-body { min-height: 450px; } .panel .panel-heading .nav-tabs {border-bottom: none;} .panel .panel-heading .nav-tabs .icon-label {margin-left: 10px;} .panel .panel-heading .btn {line-height: 2;} </style> <style> .panel-edit { max-height: 0; overflow-y: hidden; top: -50px; border: 0px; -webkit-transition: max-height 0.8s cubic-bezier(0.17, 0.04, 0.03, 0.94); -moz-transition: max-height 0.8s cubic-bezier(0.17, 0.04, 0.03, 0.94); -o-transition: max-height 0.8s cubic-bezier(0.17, 0.04, 0.03, 0.94); transition: max-height 0.8s cubic-bezier(0.17, 0.04, 0.03, 0.94); } .open { max-height: 300px ; } #panel-content { padding: 10px; margin-top: 5px; border-top:1px solid #dddddd; border-bottom:1px solid #dddddd; height: 200px; background-color: #fcfcfc; } </style> <style> .switch { position: relative; display: inline-block; vertical-align: top; width: 102px; height: 31px; background-color: transparent; cursor: pointer; box-sizing: content-box; overflow: hidden; } .switch-input:checked ~ .switch-handle { left: 70px; } .switch-label { border-color: blue; border-width:2px; border-radius: 2px; position: relative; display: block; height: 30px; font-size: 15px; text-transform: uppercase; background: none repeat scroll 0% 0% white; transition: all 0.15s ease-out 0s; } .switch-handle { position: absolute; top: 2px; left: 2px; width: 30px; height: 26px; border-width:1px; border-color: r; border-radius: 1px; background: none repeat scroll 0% 0% white; transition: left 0.15s ease-out 0s; background-color: red; } .switch-input { position: absolute; top: 0px; left: 0px; opacity: 0; } .switch-label:before, .switch-label:after { position: absolute; top: 50%; margin-top: -0.5em; line-height: 1; transition: inherit; } .switch-label:before { content: attr(data-off); right: 11px; color: rgb(209, 212, 215); } .switch-label:after { content: attr(data-on); left: 11px; border-color: red; opacity: 0; } .switch-input:checked ~ .switch-label { background: none repeat scroll 0% 0% red; } .switch-input:checked ~ .switch-label:before { opacity: 0; } .switch-input:checked ~ .switch-label:after { opacity: 1; } .switch-default > .switch-input:checked ~ .switch-label { background: none repeat scroll 0% 0% rgb(209, 212, 215); } </style> <style> .form-control { background-color: #fff; background-image: none; border-radius: 4px; box-shadow: none; outline: none; border-width: 2px; color: #555; display: block; font-size: 14px; height: 34px; line-height: 1.42857; padding: 6px 12px; transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s; width: 100%; } .form-control:focus { border-color: #66afe9; box-shadow: none; outline: none; border-width: 2px; } </style> </head> <body> <div class="container" style="padding: 40px"> <div class="panel panel-default"> <div class="panel-heading"> <span class="panel-title"> <div class="pull-left"> <ul class="nav nav-tabs"> <li class="active"><a href="#tab1" data-toggle="tab"><i class="glyphicon glyphicon-print"></i>Letters</a></li> <li class=""><a href="#tab2" data-toggle="tab"><i class="glyphicon glyphicon-send"></i>Emails</a></li> <li class=""><a href="#tab3" data-toggle="tab"><i class="glyphicon glyphicon-list"></i>Logs</a></li> </ul> </div> <div class="btn-group pull-right"> <button class="btn btn-sm btn-default" id="showTop"><i class="glyphicon glyphicon-cog"></i><span class="icon-label"></span></button> </div> <div class="clearfix"></div> </span> </div> <div class="panel-edit" id="panel-edit"> <div id="panel-content"> <form class="form-horizontal" > <div class="col-sm-4"> <div class="form-group"> <label for="name" class="col-sm-5 control-label">Test Mode</label> <div class="col-sm-7"> <label class="switch switch-default pull right"> <input class="switch-input" checked="checked" type="checkbox"> <span class="switch-label" data-on="ON" data-off="OFF"></span> <span class="switch-handle"></span> </label> </div> </div> <div class="form-group"> <label for="name1" class="col-sm-5 control-label">Email Address</label> <div class="col-sm-7"> <input type="text" name="name1" class="form-control" placeholder="control1" /> </div> </div> </div> <div class="col-sm-4"> <div class="form-group"> <label for="name" class="col-xs-4 control-label">Label1</label> <div class="col-xs-8"> <input type="text" class="form-control" placeholder="control1" /> </div> </div> <div class="form-group"> <label for="name" class="col-xs-4 control-label">label2</label> <div class="col-xs-8"> <input type="text" class="form-control" placeholder="control2" /> </div> </div> </div> <div class="col-sm-4"> <div class="form-group"> <label for="name" class="col-xs-4 control-label">Label1</label> <div class="col-xs-8"> <input type="text" class="form-control" placeholder="control1" /> </div> </div> <div class="form-group"> <label for="name" class="col-xs-4 control-label">label2</label> <div class="col-xs-8"> <input type="text" class="form-control" placeholder="control2" /> </div> </div> </div> Select events and click below<BR> <BR> <INPUT TYPE="submit" CLASS="btn btn-outline btn-default" id="toggle" VALUE="Submit"> </form> </div> </div> <div class="panel-body"> <p>Panel Body</p> </div> </div> </div> <!-- Classie - class helper functions by @desandro https://github.com/desandro/classie --> <script src="https://raw.githubusercontent.com/desandro/classie/master/classie.js"></script> <script> var menuTop = document.getElementById( 'panel-edit' ), showTop = document.getElementById( 'showTop' ), body = document.body; showTop.onclick = function() { classie.toggle( menuTop, 'open' ); }; </script> </body> </html>

Related: See More


Questions / Comments: