Difference between revisions of "Template:British Columbia Navbar"

m
m
Line 173: Line 173:
 
     top:0;
 
     top:0;
 
     left:100%;
 
     left:100%;
    margin-top:-6px;
 
 
     margin-left:-1px;
 
     margin-left:-1px;
 
     width: 100%;
 
     width: 100%;
Line 206: Line 205:
 
     top: 0;
 
     top: 0;
 
     left:-100%;
 
     left:-100%;
    margin-top: -6px;
 
 
     margin-left:-1px;
 
     margin-left:-1px;
 
     width: 100%;
 
     width: 100%;
 
}
 
}
 
@media (max-width: 767px) {
 
@media (max-width: 767px) {
.dropdown-submenu>.dropdown-menu {margin-left: 10px;}
+
.dropdown-submenu>.dropdown-menu {margin-left: 15px;}
.dropdown-submenu.pull-left>.dropdown-menu {margin-left: 10px;}
+
.dropdown-submenu.pull-left>.dropdown-menu {margin-left: 15px;}
 
}
 
}
  
.green-bg{
 
  background-color: #0f9347;
 
}
 
  
 
</style>
 
</style>
Line 236: Line 231:
 
$(this).parent().siblings().removeClass('open');
 
$(this).parent().siblings().removeClass('open');
 
$(this).parent().toggleClass('open');
 
$(this).parent().toggleClass('open');
                        $(this).parent().addClass('.green-bg');
 
 
});
 
});
  

Revision as of 11:20, 16 October 2016

Navbar CSS