"menu2"
Bootstrap 3.3.0 Snippet by Burny0205

<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 row-fluid"> <div class="col-xs-offset-3 menu col-md-0 col-sm-offset-0 col-md-offset-0"> <div class="item " id="Cab" onclick="location.href='/Cabinet/';"> <span class="glyphicon glyphicon-th-large"></span> <span class="hidden-xs">Кабинет</span> </div> <div class="item" id="Add" onclick="location.href = '/Cabinet/AddAdvert/';"> <span class="glyphicon glyphicon-plus"></span> <span class="hidden-xs">Разместить</span> </div> <div class="item" id="ListAds" onclick="location.href = '/Cabinet/Adverts/';"> <span class="glyphicon glyphicon-th-list"></span> <span class="hidden-xs">Список объявлений</span> </div> <div class="item" id="ListDevs" onclick="location.href = '/Cabinet/Devices/';"> <span class="glyphicon glyphicon-list-alt"></span> <span class="hidden-xs">Список устройств</span> </div> <div class="item" onclick="location.href = '/Cabinet/Stats/';"> <span class="glyphicon glyphicon-dashboard"></span> <span class="hidden-xs">Статистика</span> </div> </div> </div>
@media (max-width: 768px) { .item { display:inline-block; } .left { height: 50px !important; width: 100% !important; } .menu{ margin-left:25% auto; text-align:center; width: 50%; } } .cabinet{ position: absolute; left: 0; height: 100%; z-index: 500; } .left { position: relative; background: #337ab7; display: inline-block; white-space: nowrap; width: 50px; transition: width 1s ; } td, th { vertical-align: middle !important; } .left, .right { float:left; height:100%; } .right { background: #fff; width: 350px; transition: width 1s; border-style:solid; border-color:#ccc; border-width:1px; } .left:hover { width: 250px; } .item, .item-menu { height:50px; overflow:hidden; color:#fff; cursor: pointer; } .item:hover { background-color:#ccc; color: #000000; } .left .glyphicon { margin:15px; width:20px; color:#fff; } .right .glyphicon { color:#a9a9a9; } span.glyphicon.glyphicon-refresh{ font-size:17px; vertical-align: middle !important; } .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: