"Company Links"
Bootstrap 3.3.0 Snippet by samvel33651

<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 ----------> <link rel='stylesheet prefetch' href='http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css'> <div id="left-block" class="col-md-2 col-lg-1"> <div class="row"> <div class="text-center avatar"> <img src="http://placehold.it/150" alt="" class="img-circle img-responsive center-block" /> <h6 >Some name</h6> </div> </div> <div class="row"> <nav class="navbar navbar-default sidebar" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-sidebar-navbar-collapse-1"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <div class="collapse navbar-collapse" id="bs-sidebar-navbar-collapse-1"> <ul class="nav navbar-nav user-controls"> <li ><a href="#">SETTINGS<span style="margin-left:3px;" class="pull-right showopacity fa fa-cog fa-2x"></span></a></li> <li> <a href="#">FOLLOWINGS<span class="pull-right showopacity fa fa-rss fa-2x"></span></a> </li> <li ><a href="#">EDIT RULS<span class="pull-right showopacity fa fa-pencil-square-o fa-2x"></span></a></li> <li ><a href="#">JOBS<span class="pull-right showopacity fa fa-briefcase fa-2x"></span></a></li> <li ><a href="#">Company Links<span class="pull-right showopacity fa fa-link fa-2x"></span></a></li> </ul> </div> </div> </nav> </div> </div> <div id="right-block" class="col-md-8 col-md-offset-2"> <div id="Company-Links-Add"> <div class="row"> <div class="col-md-6"> <input id="choose-company1" type="search"/> </div> <div class="col-md-6"> <input id="choose-company2" type="search"/> </div> </div> <div id="choose-division" class="row"> <div class="col-md-3"> <ul class="list-group"> <li class="list-group-item">Division 1</li> <li class="list-group-item">Division 2</li> <li class="list-group-item">Division 3</li> <li class="list-group-item">Division 4</li> <li class="list-group-item">Division 5</li> </ul> </div> <div class="col-md-6"></div> <div class="col-md-3"> <ul class="list-group"> <li class="list-group-item">Division 6</li> <li class="list-group-item">Division 7</li> <li class="list-group-item">Division 8</li> <li class="list-group-item">Division 9</li> <li class="list-group-item">Division 10</li> </ul> </div> </div> </div> </div>
#follow_checkr { text-align: center } main { margin-right: 50px; } .avatar img { padding: 15px; width: 150px; height: 150px; } .avatar { text-align: center; } nav.sidebar, .main{ -webkit-transition: margin 200ms ease-out; -moz-transition: margin 200ms ease-out; -o-transition: margin 200ms ease-out; transition: margin 200ms ease-out; } .main{ padding: 10px 10px 0 10px; } @media (min-width: 765px) { .main{ position: absolute; width: calc(100% - 40px); margin-left: 40px; float: right; } nav.sidebar:hover + .main{ margin-left: 200px; } nav.sidebar.navbar.sidebar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand { margin-left: 0px; } nav.sidebar .navbar-brand, nav.sidebar .navbar-header{ text-align: center; width: 100%; margin-left: 0px; } nav.sidebar a{ padding-right: 6px; } nav.sidebar .navbar-nav > li:first-child{ border-top: 1px #e5e5e5 solid; } nav.sidebar .navbar-nav > li{ border-bottom: 1px #e5e5e5 solid; } nav.sidebar .navbar-nav .open .dropdown-menu { position: static; float: none; width: auto; margin-top: 0; background-color: transparent; border: 0; -webkit-box-shadow: none; box-shadow: none; } nav.sidebar .navbar-collapse, nav.sidebar .container-fluid{ padding: 0 0px 0 0px; } .navbar-inverse .navbar-nav .open .dropdown-menu>li>a { color: #777; } nav.sidebar{ width: 200px; height: 100%; margin-left: -160px; float: left; margin-bottom: 0px; } nav.sidebar li { width: 100%; font-size:16px; } nav.sidebar li:hover { background-color: green; border-radius:5px; } nav.sidebar:hover{ margin-left: 0px; } .forAnimate{ opacity: 0; } } @media (min-width: 1930px) { .main{ width: calc(100% - 200px); margin-left: 200px; } nav.sidebar{ margin-left: 0px; float: left; } nav.sidebar .forAnimate{ opacity: 1; } } nav.sidebar .navbar-nav .open .dropdown-menu>li>a:hover, nav.sidebar .navbar-nav .open .dropdown-menu>li>a:focus { color: #CCC; background-color: transparent; } nav:hover .forAnimate{ opacity: 1; } section{ padding-left: 15px; } /* Tabs panel */ .tabbable-panel { border:1px solid #eee; padding: 10px; } /* Default mode */ .tabbable-line > .nav-tabs { border: none; margin: 0px; } .tabbable-line > .nav-tabs > li { margin-right: 2px; } .tabbable-line > .nav-tabs > li > a { border: 0; margin-right: 0; color: #737373; } .tabbable-line > .nav-tabs > li > a > i { color: #a6a6a6; } .tabbable-line > .nav-tabs > li.open, .tabbable-line > .nav-tabs > li:hover { border-bottom: 4px solid #fbcdcf; } .tabbable-line > .nav-tabs > li.open > a, .tabbable-line > .nav-tabs > li:hover > a { border: 0; background: none !important; color: #333333; } .tabbable-line > .nav-tabs > li.open > a > i, .tabbable-line > .nav-tabs > li:hover > a > i { color: #a6a6a6; } .tabbable-line > .nav-tabs > li.open .dropdown-menu, .tabbable-line > .nav-tabs > li:hover .dropdown-menu { margin-top: 0px; } .tabbable-line > .nav-tabs > li.active { border-bottom: 4px solid #f3565d; position: relative; } .tabbable-line > .nav-tabs > li.active > a { border: 0; color: #333333; } .tabbable-line > .nav-tabs > li.active > a > i { color: #404040; } .tabbable-line > .tab-content { margin-top: -3px; background-color: #fff; border: 0; border-top: 1px solid #eee; padding: 15px 0; } .portlet .tabbable-line > .tab-content { padding-bottom: 0; } /* Below tabs mode */ .tabbable-line.tabs-below > .nav-tabs > li { border-top: 4px solid transparent; } .tabbable-line.tabs-below > .nav-tabs > li > a { margin-top: 0; } .tabbable-line.tabs-below > .nav-tabs > li:hover { border-bottom: 0; border-top: 4px solid #fbcdcf; } .tabbable-line.tabs-below > .nav-tabs > li.active { margin-bottom: -2px; border-bottom: 0; border-top: 4px solid #f3565d; } .tabbable-line.tabs-below > .tab-content { margin-top: -10px; border-top: 0; border-bottom: 1px solid #eee; padding-bottom: 15px; } .followed-objects, .business-rules { margin-top: 50px; } .industry-row, .rules-row { margin-bottom: 20px; } #add-rules { margin: 15px 0px; padding: 15px; border-radius: 5px; } .glyphicon-large { min-height: 260px; line-height: 260px; font-size: 35px; color: #10AA10; width: 1em; display: block; margin: -0.5em auto 0px; } .chose-industry, .industry-accepted { border: 1px solid #eee; border-radius: 5px; padding: 15px; } .industry-accepted ul { margin: 0px; } .industry-accepted a{ cursor: pointer; color: black; } .industry-accepted a:hover { cursor: pointer; color: red; } fieldset { border: 1px solid #ddd !important; margin: 0; xmin-width: 0; padding: 10px; position: relative; border-radius:4px; background-color:#f5f5f5; padding-left:10px!important; } legend { color: rgba(202, 11, 11, 0.89) !important; font-size:14px; font-weight:bold; margin-bottom: 0px; width: 35%; border: 1px solid #ddd; border-radius: 4px; padding: 5px 5px 5px 10px; background-color: #ffffff; } .industry-search::after{ position: absolute; left: 50%; content: 'or'; color: #afafaf; font-size: 17px; margin-right: -6px; background-color: #fff; z-index: 1; } .glyph-Column a{ cursor: pointer; text-decoration: none; } #ind-tree { margin-top: 30px; } .center { margin: 0px auto; } .browse-button i{ margin-top: 5px; } .browse-button { width: 50%; } /**Company Links***/ #Company-Links-Add{ margin-top: 120px; } #choose-company1,#choose-company2 { width: 70%; } #choose-division { margin-top: 25px; }
$('ul.user-controls > li').click(function (e) { e.preventDefault(); $('ul.user-controls > li').removeClass('green'); $(this).addClass('green'); });

Related: See More


Questions / Comments: