"Sidebar"
Bootstrap 3.3.0 Snippet by neckish

<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 ----------> <div class="left"> <div class="item"> <span class="glyphicon glyphicon-th-large"></span> </div> <div class="item active"> <span class="glyphicon glyphicon-th-list"></span> Все документы</div> <div class="item"> <span class="glyphicon glyphicon-log-out"></span> Расходные накладные</div> <div class="item"> <span class="glyphicon glyphicon-log-in"></span> Приходные накладные</div> <div class="item"> <span class="glyphicon glyphicon-random"></span> Акты переоценки</div> <div class="item"> <span class="glyphicon glyphicon-remove"></span> Акты списания</div> </div>
td, th { vertical-align: middle !important; } .left, .right { float:right; height:100vh; } .left { background: #337ab7; display: inline-block; white-space: nowrap; width: 50px; transition: width 1s ; } .right { background: #fff; width: 350px; transition: width 1s; border-style:solid; border-color:#ccc; border-width:1px; } .left:hover { width: 250px; } .item:hover { background-color:#ccc; } .left .glyphicon { margin:15px; width:20px; color:#fff; } .right .glyphicon { color:#a9a9a9; } span.glyphicon.glyphicon-refresh{ font-size:17px; vertical-align: middle !important; } .item { height:50px; overflow:hidden; color:#fff; } .title { background-color:#eee; border-style:solid; border-color:#ccc; border-width:1px; box-sizing: border-box; } .search:hover { border-color:#4aa9fb; border-width:1px; } .search { padding:3px 8px 3px !important; } input[type=search] { padding: 10px 0px 10px; border: 0px solid #fff; background: #eee; -webkit-appearance: none; width:90%; float:none; } input[type=search]:focus { outline:none; } .type{ height: 47px;; } .date{ background-color:#f7f7f7 } .docdate { vertical-align:bottom !important; } .distr { margin: 0 0 5px; font-size: 12px; } .ndoc { margin: 0 0 5px; } .storage { margin: 0; color: #aaa !important; font-size: 12px; }

Related: See More


Questions / Comments: