2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

#2764: add disabled styles to navs and dropdowns

This commit is contained in:
Mark Otto
2012-06-19 13:52:07 -07:00
parent d14f06fc4e
commit 64ba423b6d
5 changed files with 87 additions and 2 deletions
+14
View File
@@ -103,6 +103,20 @@
outline: 0;
}
// Disabled state
// --------------
// Gray out text and ensure the hover state remains gray
.dropdown-menu .disabled > a,
.dropdown-menu .disabled > a:hover {
color: @grayLight;
}
// Nuke hover effects
.dropdown-menu .disabled > a:hover {
text-decoration: none;
background-color: transparent;
cursor: default;
}
// Open state for the dropdown
// ---------------------------
.open {