"lef-nav-testing"
Bootstrap 3.0.0 Snippet by kim523

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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 href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <div class="nav-side-menu"> <div class="parent-title">About Us</div> <i class="fa fa-bars fa-2x toggle-btn" data-toggle="collapse" data-target="#menu-content"></i> <div class="menu-list"> <ul id="menu-content" class="menu-content collapse out"> <li data-toggle="collapse" data-target="#strategic" class="collapsed active"> <a href="#">Strategic Directions<span class="arrow"></span></a> </li> <ul class="sub-menu collapse" id="strategic"> <li class="active"><a href="#">Programs and Initiatives</a></li> </ul> <li data-toggle="collapse" data-target="#jobs" class="collapsed"> <a href="#">Library Jobs</a> </li> <li data-toggle="collapse" data-target="#divisions" class="collapsed"> <a href="#">Divisions and Departments<span class="arrow"></span></a> </li> <ul class="sub-menu collapse" id="divisions"> <li><a href="#">Office of Director</a></li> <li><a href="#">Content and Access</a></li> <li><a href="#">Information Technology</a></li> <li><a href="#">Planning and Administration</a></li> <li><a href="#">Research and Education</a></li> <li><a href="#">Special Collections and Area Studies</a></li> </ul> </ul> </div> </div>
.nav-side-menu { overflow: auto; font-family: "proxima nova", verdana, sans-serif; font-size: 18px; font-weight: 200; background-color: #ffffff; position: fixed; top: 0px; width: 260px; height: 100%; color: #444444; } .nav-side-menu .parent-title { background-color: #ffffff; line-height: 50px; display: block; text-align: left; font-size: 24px; margin-left: 0px; padding-left: 20px; border-bottom: 1px solid #ccc; } .nav-side-menu .toggle-btn { display: none; } .nav-side-menu ul, .nav-side-menu li { list-style: none; padding: 8px 0px; margin: 0; line-height: 22px; cursor: pointer; /* .collapsed{ .arrow:before{ font-family: FontAwesome; content: "\f053"; display: inline-block; padding-left:10px; padding-right: 10px; vertical-align: middle; float:right; } } */ } .nav-side-menu ul :not(collapsed) .arrow:before, .nav-side-menu li :not(collapsed) .arrow:before { font-family: FontAwesome; content: "\f078"; display: inline-block; padding-left: 10px; padding-right: 0; vertical-align: middle; float: right; } .nav-side-menu ul .active, .nav-side-menu li .active { background-color: #ffffff; } .nav-side-menu ul .sub-menu li.active, .nav-side-menu li .sub-menu li.active { color: #bb0000; } .nav-side-menu ul .sub-menu li.active a, .nav-side-menu li .sub-menu li.active a { color: #bb0000; border: none; } .nav-side-menu ul .sub-menu li, .nav-side-menu li .sub-menu li { background-color: #ffffff; border: none; line-height: 18px; margin-top:0; padding-top:0; margin-left: 20px; font-size: 14px; } .nav-side-menu ul .sub-menu li:hover, .nav-side-menu li .sub-menu li:hover { background-color: #ffffff; color: #bb0000; } .nav-side-menu ul .sub-menu li:before, .nav-side-menu li .sub-menu li:before { display: inline-block; padding-left: 10px; padding-right: 10px; vertical-align: middle; } .nav-side-menu ul .sub-menu li:last-child, .nav-side-menu li .sub-menu li:last-child { border-bottom: 1px solid #ccc; margin-left: 0px; padding-left: 40px; } .nav-side-menu li { margin-left:0px; padding-left: 20px; border-bottom: 1px solid #cccccc; } .nav-side-menu li a { text-decoration: none; color: #444444; } .nav-side-menu li a i { padding-left: 10px; width: 20px; padding-right: 20px; } .nav-side-menu li:hover { background-color: #fff; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; -ms-transition: all 1s ease; transition: all 1s ease; } .nav-side-menu li a:hover { color: #bb0000; } .nav-side-menu li a:active { color: #bb0000; } @media (max-width: 767px) { .nav-side-menu { position: relative; width: 100%; margin-bottom: 10px; } .nav-side-menu .toggle-btn { display: block; cursor: pointer; position: absolute; right: 10px; top: 10px; z-index: 10 !important; padding: 3px; background-color: #ffffff; color: #000; width: 40px; text-align: center; } .parent-title { text-align: left !important; font-size: 22px; padding-left: 20px; line-height: 50px !important; } } @media (min-width: 767px) { .nav-side-menu .menu-list .menu-content { display: block; } } body { margin: 0px; padding: 0px; }

Related: See More


Questions / Comments: