"User profile followed objects"
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="right-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="#">MY COMPANIES<span class="pull-right showopacity fa fa-building fa-2x"></span></a></li> </ul> </div> </div> </nav> </div> </div> <div id="right-block" class="col-md-8 col-md-offset-2"> <div class="followed-objects"> <div class="row"> <div class="col-md-12"> <h3>Followed Objects</h3> <div class="tabbable-panel"> <div class="tabbable-line"> <ul class="nav nav-tabs "> <li class="active"> <a href="#ufi" data-toggle="tab"> Industries </a> </li> <li> <a href="#ufc" data-toggle="tab"> Companies </a> </li> <li> <a href="#ufs" data-toggle="tab"> Shocks</a> </li> </ul> <div class="tab-content"> <div class="tab-pane active" id="ufi"> <div class="row"> <div class="col-md-6"> <table class="table table-striped table-bordered"> <thead> <tr class="success"> <th>Title<br></th> <th>Code</th> <th>Country<br></th> <th>Follow<br></th> </tr> </thead> <tbody id="supplier" class="inputs-holder"> <tr> <td id="iotable-industry"> <span data-id="431"> <a>Food and beverage and tobacco products</a> </span> </td> <td>339992</td> <td>Canada</td> <td class="follow-container"> <div id="follow_checkr"> <input type="checkbox" /> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div class="tab-pane" id="ufc"> </div> <div class="tab-pane" id="ufs"> </div> </div> </div> </div> </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 { margin-top: 50px; }
$('ul.user-controls > li').click(function (e) { e.preventDefault(); $('ul.user-controls > li').removeClass('green'); $(this).addClass('green'); });

Related: See More


Questions / Comments: