"User profile settings"
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"> <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="user-settings"> <h1>Edit Profile</h1> <!-- edit form column --> <div class="col-md-9 personal-info"> <h3>Personal info</h3> <form class="form-horizontal" role="form"> <div class="form-group"> <label for="first_name" class="col-lg-3 control-label">First name:</label> <div class="col-lg-8"> <input id="first_name" class="form-control" type="text" value="Jane"> </div> </div> <div class="form-group"> <label for="last_name" class="col-lg-3 control-label">Last name:</label> <div class="col-lg-8"> <input id="last_name" class="form-control" type="text" value="Bishop"> </div> </div> <div class="form-group"> <label for="company" class="col-lg-3 control-label">Company:</label> <div class="col-lg-8"> <input id="company" class="form-control" type="text" value=""> </div> </div> <div class="form-group"> <label for="position" class="col-lg-3 control-label">Position:</label> <div class="col-lg-8"> <input id="position" class="form-control" type="text" value=""> </div> </div> <div class="form-group"> <label for="user_email" class="col-lg-3 control-label">Email:</label> <div class="col-lg-8"> <input id="user_email" class="form-control" type="text" value="janesemail@gmail.com"> </div> </div> <div class="form-group"> <label for="pass" class="col-md-3 control-label">New Password:</label> <div class="col-md-8"> <input id="pass" class="form-control" type="password" value="11111122333"> </div> </div> <div class="form-group"> <label for="pass_repet" class="col-md-3 control-label">Confirm password:</label> <div class="col-md-8"> <input id="pass_repet" class="form-control" type="password" value="11111122333"> </div> </div> <div class="form-group"> <label class="col-md-3 control-label"></label> <div class="col-md-8"> <input type="button" class="btn btn-primary" value="Save Changes"> </div> </form> </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: