"Sidebar"
Bootstrap 3.3.0 Snippet by adriano3429

<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> <div class="right"> <table class="table"> <tr> <td class="title search col-md-9"> <div class="inner-addon right-addon"> <input class="col-md-12" type="search" placeholder="Поиск"> <i class="glyphicon glyphicon-search"></i> </div> </td> <th valign="middle" colspan="2" class="title text-center"> <span class="glyphicon glyphicon-refresh"></span> </th> </tr> <tr> <td colspan="2" class="type">Приходные накладные</td> </tr> <tr> <td colspan="2" class="date">Сегодня</td> </tr> <tr> <td class="docs"> <p class="ndoc">Р-1725207</p> <p class="distr">Катрен</p> <p class="storage">Светофор</p> </td> <td class="docdate">Вт, 9:56</td> </tr> <tr> <td class="docs"> <p class="ndoc">Рн-Ас00000506407</p> <p class="distr">Сиа-Интернейшнл</p> <p class="storage">Светофор</p> </td> <td class="docdate">Вт, 11:10</td> </tr> <tr> <td class="docs"> <p class="ndoc">Т120МТ62/07756</p> <p class="distr">Протек</p> <p class="storage">Светофор</p> </td> <td class="docdate">Вт, 14:16</td> </tr> </table> </div>
td, th { vertical-align: middle !important; } .left, .right { float:left; 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: