Add disabled states to navs and dropdowns
Created by: cnicodeme
Hey, I didn't find any style for disabled state of links in a nav, so here it is :
.nav-list>.disabled>a {
color: #999;
cursor: default;
}
.nav-list>.disabled>a:hover {
background-color: transparent;
}
(update: changing .nav
to .nav-list
).
This also works for .nav-tabs
& .nav-pills
:
.nav-tabs>.disabled>a, .nav-pills>.disabled>a {
color: #999;
cursor: default;
border: none; /** add this for tabs/pills **/
}
.nav-tabs>.disabled>a:hover, .nav-pills>.disabled>a:hover {
background-color: transparent;
}