diff options
| author | Mark Otto <[email protected]> | 2013-08-12 21:43:59 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-08-12 21:43:59 -0700 |
| commit | 48e7468e3acc70ace27ed37cfbadfc54d88a689f (patch) | |
| tree | 7d7080efdc7931492caa6ea0d6d513c9b4a040ae /less | |
| parent | 80eb09cc1b1db0e7899039f67adf78f0b14ac9a5 (diff) | |
| download | bootstrap-48e7468e3acc70ace27ed37cfbadfc54d88a689f.tar.xz bootstrap-48e7468e3acc70ace27ed37cfbadfc54d88a689f.zip | |
invert dropdown styles in navbar for inverse variation
Diffstat (limited to 'less')
| -rw-r--r-- | less/navbar.less | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/less/navbar.less b/less/navbar.less index 99bc4858c..71eacfb93 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -419,7 +419,38 @@ } } } + + @media (max-width: @screen-phone-max) { + // Dropdowns get custom display + .open .dropdown-menu { + > li > a { + color: @navbar-inverse-link-color; + &:hover, + &:focus { + color: @navbar-inverse-link-hover-color; + background-color: @navbar-inverse-link-hover-bg; + } + } + > .active > a { + &, + &:hover, + &:focus { + color: @navbar-inverse-link-active-color; + background-color: @navbar-inverse-link-active-bg; + } + } + > .disabled > a { + &, + &:hover, + &:focus { + color: @navbar-inverse-link-disabled-color; + background-color: @navbar-inverse-link-disabled-bg; + } + } + } + } } + } |
