diff options
| author | Mark Otto <[email protected]> | 2012-01-07 04:40:32 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-01-07 04:41:51 -0800 |
| commit | 95c88a2953d6493050192f9c99c8e5597e591ac3 (patch) | |
| tree | 15ba9a41b419bff13614421161c47b13a6d9f5a5 | |
| parent | 6dee40f46990b39bb33b4c42aa003df784cff8fc (diff) | |
| download | bootstrap-95c88a2953d6493050192f9c99c8e5597e591ac3.tar.xz bootstrap-95c88a2953d6493050192f9c99c8e5597e591ac3.zip | |
scratch that, tweaking dropdowns in tabs
| -rw-r--r-- | docs/components.html | 2 | ||||
| -rw-r--r-- | lib/tabs-pills.less | 19 |
2 files changed, 4 insertions, 17 deletions
diff --git a/docs/components.html b/docs/components.html index 5bafc5a60..baeccd6ed 100644 --- a/docs/components.html +++ b/docs/components.html @@ -427,7 +427,7 @@ <li><a href="#">Settings</a></li> <li><a href="#">Contact</a></li> <li class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown</a> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a> <ul class="dropdown-menu"> <li><a href="#">Secondary link</a></li> <li><a href="#">Something else here</a></li> diff --git a/lib/tabs-pills.less b/lib/tabs-pills.less index 23ba9ccfa..8e8856a56 100644 --- a/lib/tabs-pills.less +++ b/lib/tabs-pills.less @@ -154,30 +154,17 @@ // Dropdowns in tabs .tabs { - // first one for backwards compatibility - .menu-dropdown, .dropdown-menu { - top: 35px; + top: 36px; border-width: 1px; - .border-radius(0 6px 6px 6px); } - // first one for backwards compatibility - a.menu:after, - .dropdown-toggle:after { - border-top-color: #999; + .dropdown-toggle .caret { margin-top: 15px; margin-left: 5px; } - // first one for backwards compatibility - li.open.menu .menu, - .open.dropdown .dropdown-toggle { + .open .dropdown-toggle { border-color: #999; } - // first one for backwards compatibility - li.open a.menu:after, - .dropdown.open .dropdown-toggle:after { - border-top-color: #555; - } } // Pills |
