diff options
| author | Mark Otto <[email protected]> | 2012-06-19 13:52:07 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-06-19 13:52:07 -0700 |
| commit | 64ba423b6d06c98e95e23d8c34df62a47a421a03 (patch) | |
| tree | 1b9a2ea94ec7a59c6c87db0791b9aa0b59acd6bf /less/dropdowns.less | |
| parent | d14f06fc4ed3f4753de9ae5ef247c48629714935 (diff) | |
| download | bootstrap-64ba423b6d06c98e95e23d8c34df62a47a421a03.tar.xz bootstrap-64ba423b6d06c98e95e23d8c34df62a47a421a03.zip | |
#2764: add disabled styles to navs and dropdowns
Diffstat (limited to 'less/dropdowns.less')
| -rw-r--r-- | less/dropdowns.less | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/less/dropdowns.less b/less/dropdowns.less index f965d292d..648a9f246 100644 --- a/less/dropdowns.less +++ b/less/dropdowns.less @@ -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 { |
