"Sidebar Menu Group Tree"
Bootstrap 2.3.2 Snippet by nqloivn

<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/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="container"> <div class="row"> <div id="left" class="span3"> <ul id="menu-group-1" class="nav menu"> <li class="item-8 deeper parent active"> <a > <span data-toggle="collapse" data-parent="#menu-group-1" href="#sub-item-1" class="sign"><i class="icon-plus icon-white"></i></span> <span class="lbl">Phòng trọ</span> </a> <ul class="children nav-child unstyled small collapse" id="sub-item-1"> <li class="item-2 deeper parent active"> <a class="" href="http://google.com.vn"> <span data-toggle="collapse" data-parent="#menu-group-1" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 1</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-1" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 2</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-1" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 3</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-1" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 4</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-1" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 5</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-1" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 6</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-1" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 7</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-1" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 8</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-1" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 9</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-1" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 10</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-1" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 11</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-1" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 12</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-1" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Thủ Đức</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-1" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Tân Phú</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-1" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Tân Bình</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-1" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Phú Nhuận</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-1" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Gò Vấp</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-1" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Bình Thạnh</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-1" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Bình Tân</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-1" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Bình Chánh</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-1" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Củ Chi</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-1" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Cần Giờ</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-1" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Hóc Môn</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-1" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Nhà Bè</span> </a> </li> </ul> </li> </ul> <ul id="menu-group-2" class="nav menu"> <li class="item-1 deeper parent active"> <a > <span data-toggle="collapse" data-parent="#menu-group-2" href="#sub-item-2" class="sign"><i class="icon-plus icon-white"></i></span> <span class="lbl">Nhà Nguyên căn</span> </a> <ul class="children nav-child unstyled small collapse" id="sub-item-2"> <li class="item-2 deeper parent active"> <a class="" href="http://google.com.vn"> <span data-toggle="collapse" data-parent="#menu-group-2" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 1</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-2" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 2</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-2" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 3</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-2" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 4</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-2" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 5</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-2" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 6</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-2" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 7</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-2" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 8</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-2" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 9</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-2" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 10</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-2" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 11</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-2" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 12</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-2" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Thủ Đức</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-2" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Tân Phú</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-2" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Tân Bình</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-2" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Phú Nhuận</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-2" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Gò Vấp</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-2" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Bình Thạnh</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-2" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Bình Tân</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-2" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Bình Chánh</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-2" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Củ Chi</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-2" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Cần Giờ</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-2" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Hóc Môn</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-2" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Nhà Bè</span> </a> </li> </ul> </li> </ul> <ul id="menu-group-3" class="nav menu"> <li class="item-15 deeper parent active"> <a > <span data-toggle="collapse" data-parent="#menu-group-3" href="#sub-item-3" class="sign"><i class="icon-plus icon-white"></i></span> <span class="lbl">nam ở ghép</span> </a> <ul class="children nav-child unstyled small collapse" id="sub-item-3"> <li class="item-2 deeper parent active"> <a class="" href="http://google.com.vn"> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 1</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 2</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 3</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 4</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 5</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 6</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 7</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 8</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 9</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 10</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 11</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 12</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Thủ Đức</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Tân Phú</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Tân Bình</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Phú Nhuận</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Gò Vấp</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Bình Thạnh</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Bình Tân</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Bình Chánh</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Củ Chi</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Cần Giờ</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Hóc Môn</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Nhà Bè</span> </a> </li> </ul> </li> </ul> <ul id="menu-group-4" class="nav menu"> <li class="item-22 deeper parent active"> <a > <span data-toggle="collapse" data-parent="#menu-group-4" href="#sub-item-4" class="sign"><i class="icon-plus icon-white"></i></span> <span class="lbl">nữ ở ghép</span> </a> <ul class="children nav-child unstyled small collapse" id="sub-item-4"> <li class="item-2 deeper parent active"> <a class="" href="http://google.com.vn"> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 1</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 2</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 3</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 4</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 5</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 6</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 7</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 8</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 9</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 10</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 11</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Quận 12</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Thủ Đức</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Tân Phú</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Tân Bình</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Phú Nhuận</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Gò Vấp</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Bình Thạnh</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Bình Tân</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Bình Chánh</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Củ Chi</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Cần Giờ</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Hóc Môn</span> </a> </li> <li class="item-2 deeper parent"> <a class="" href=""> <span data-toggle="collapse" data-parent="#menu-group-3" class="sign"><i class="icon-play icon-white"></i></span> <span class="lbl">Nhà Bè</span> </a> </li> </ul> </li> </ul> </div> </div> </div>
/* MENU-LEFT -------------------------- */ /* layout */ #left ul.nav { margin-bottom: 2px; font-size: 12px; /* to change font-size, please change instead .lbl */ } #left ul.nav ul, #left ul.nav ul li { list-style: none!important; list-style-type: none!important; margin-top: 1px; margin-bottom: 1px; } #left ul.nav ul { padding-left: 0; width: auto; } #left ul.nav ul.children { padding-left: 12px; width: auto; } #left ul.nav ul.children li{ margin-left: 0px; } #left ul.nav li a:hover { text-decoration: none; } #left ul.nav li a:hover .lbl { color: #999!important; } #left ul.nav li.current>a .lbl { background-color: #999; color: #fff!important; } /* parent item */ #left ul.nav li.parent a { padding: 0px; color: #ccc; } #left ul.nav>li.parent>a { border: solid 1px #999; text-transform: uppercase; } #left ul.nav li.parent a:hover { background-color: #fff; -webkit-box-shadow:inset 0 3px 8px rgba(0,0,0,0.125); -moz-box-shadow:inset 0 3px 8px rgba(0,0,0,0.125); box-shadow:inset 0 3px 8px rgba(0,0,0,0.125); } /* link tag (a)*/ #left ul.nav li.parent ul li a { color: #222; border: none; display:block; padding-left: 5px; } #left ul.nav li.parent ul li a:hover { background-color: #fff; -webkit-box-shadow:none; -moz-box-shadow:none; box-shadow:none; } /* sign for parent item */ #left ul.nav li .sign { display: inline-block; width: 14px; padding: 5px 8px; background-color: transparent; color: #fff; } #left ul.nav li.parent>a>.sign{ margin-left: 0px; background-color: #999; } /* label */ #left ul.nav li .lbl { padding: 5px 12px; display: inline-block; } #left ul.nav li.current>a>.lbl { color: #fff; } #left ul.nav li a .lbl{ font-size: 12px; } /* THEMATIQUE ------------------------- */ /* theme 1 */ #left ul.nav>li.item-1.parent>a { border: solid 1px #ff6307; } #left ul.nav>li.item-1.parent>a>.sign, #left ul.nav>li.item-1 li.parent>a>.sign{ margin-left: 0px; background-color: #ff6307; } #left ul.nav>li.item-1 .lbl { color: #ff6307; } #left ul.nav>li.item-1 li.current>a .lbl { background-color: #ff6307; color: #fff!important; } /* theme 2 */ #left ul.nav>li.item-8.parent>a { border: solid 1px #14a651; } #left ul.nav>li.item-8.parent>a>.sign, #left ul.nav>li.item-8 li.parent>a>.sign{ margin-left: 0px; background-color: #14a651; } #left ul.nav>li.item-8 .lbl { color: #14a651; } #left ul.nav>li.item-8 li.current>a .lbl { background-color: #14a651; color: #fff!important; } /* theme 3 */ #left ul.nav>li.item-15.parent>a { border: solid 1px #00aeef; } #left ul.nav>li.item-15.parent>a>.sign, #left ul.nav>li.item-15 li.parent>a>.sign{ margin-left: 0px; background-color: #00aeef; } #left ul.nav>li.item-15 .lbl { color: #00aeef; } #left ul.nav>li.item-15 li.current>a .lbl { background-color: #00aeef; color: #fff!important; } /* theme 4 */ #left ul.nav>li.item-22.parent>a { border: solid 1px #ed145b; } #left ul.nav>li.item-22.parent>a>.sign, #left ul.nav>li.item-22 li.parent>a>.sign{ margin-left: 0px; background-color: #ed145b; } #left ul.nav>li.item-22 .lbl { color: #ed145b; } #left ul.nav>li.item-22 li.current>a .lbl { background-color: #ed145b; color: #fff!important; }
!function ($) { // Le left-menu sign /* for older jquery version $('#left ul.nav li.parent > a > span.sign').click(function () { $(this).find('i:first').toggleClass("icon-minus"); }); */ $(document).on("click","#left ul.nav li.parent > a > span.sign", function(){ $(this).find('i:first').toggleClass("icon-minus"); }); // Open Le current menu $("#left ul.nav li.parent.active > a > span.sign").find('i:first').addClass("icon-minus"); $("#left ul.nav li.current").parents('ul.children').addClass("in"); }(window.jQuery);

Related: See More


Questions / Comments: