diff options
| author | Mark Otto <[email protected]> | 2013-05-12 15:47:18 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-05-12 15:47:18 -0700 |
| commit | 92adcfabb58cc5a8ce41c34bec0ec36a642e5610 (patch) | |
| tree | bd5dfa17374ce19d76e0729792c3d4b169c8517b /docs/assets/css/bootstrap.css | |
| parent | 184018837b07c216d8667003ac0bd9958eb07cee (diff) | |
| download | bootstrap-92adcfabb58cc5a8ce41c34bec0ec36a642e5610.tar.xz bootstrap-92adcfabb58cc5a8ce41c34bec0ec36a642e5610.zip | |
Start some nav and dropdown cleanup
* Remove border-radii on top of tab dropdown menus
* Remove the .dropdown and .dropup styles and instead place on all
* Use on dropdown carets intead of separately applying margin with a top alignment
* Some other misc cleanup
Diffstat (limited to 'docs/assets/css/bootstrap.css')
| -rw-r--r-- | docs/assets/css/bootstrap.css | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 7e47655b5..249645d9c 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -2693,13 +2693,7 @@ input[type="button"].btn-block { content: "\e160"; } -.dropup, -.dropdown { - position: relative; -} - -.dropdown-toggle:active, -.open .dropdown-toggle { +.open > a { outline: 0; } @@ -2707,18 +2701,15 @@ input[type="button"].btn-block { display: inline-block; width: 0; height: 0; - vertical-align: top; + margin-top: 8px; + margin-left: 2px; + vertical-align: middle; border-top: 4px solid #000; border-right: 4px solid transparent; border-left: 4px solid transparent; content: ""; } -.dropdown .caret { - margin-top: 8px; - margin-left: 2px; -} - .dropdown-menu { position: absolute; top: 100%; @@ -3140,6 +3131,7 @@ button.close { } .nav > li { + position: relative; display: block; } @@ -3320,6 +3312,11 @@ button.close { display: block; } +.nav-tabs .dropdown-menu { + border-top-right-radius: 0; + border-top-left-radius: 0; +} + /* // Prevent IE8 from misplacing imgs // See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989 |
