mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-16 18:44:01 +02:00
scratch that, tweaking dropdowns in tabs
This commit is contained in:
@@ -427,7 +427,7 @@
|
|||||||
<li><a href="#">Settings</a></li>
|
<li><a href="#">Settings</a></li>
|
||||||
<li><a href="#">Contact</a></li>
|
<li><a href="#">Contact</a></li>
|
||||||
<li class="dropdown">
|
<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">
|
<ul class="dropdown-menu">
|
||||||
<li><a href="#">Secondary link</a></li>
|
<li><a href="#">Secondary link</a></li>
|
||||||
<li><a href="#">Something else here</a></li>
|
<li><a href="#">Something else here</a></li>
|
||||||
|
@@ -154,30 +154,17 @@
|
|||||||
|
|
||||||
// Dropdowns in tabs
|
// Dropdowns in tabs
|
||||||
.tabs {
|
.tabs {
|
||||||
// first one for backwards compatibility
|
|
||||||
.menu-dropdown,
|
|
||||||
.dropdown-menu {
|
.dropdown-menu {
|
||||||
top: 35px;
|
top: 36px;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
.border-radius(0 6px 6px 6px);
|
|
||||||
}
|
}
|
||||||
// first one for backwards compatibility
|
.dropdown-toggle .caret {
|
||||||
a.menu:after,
|
|
||||||
.dropdown-toggle:after {
|
|
||||||
border-top-color: #999;
|
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
}
|
}
|
||||||
// first one for backwards compatibility
|
.open .dropdown-toggle {
|
||||||
li.open.menu .menu,
|
|
||||||
.open.dropdown .dropdown-toggle {
|
|
||||||
border-color: #999;
|
border-color: #999;
|
||||||
}
|
}
|
||||||
// first one for backwards compatibility
|
|
||||||
li.open a.menu:after,
|
|
||||||
.dropdown.open .dropdown-toggle:after {
|
|
||||||
border-top-color: #555;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Pills
|
// Pills
|
||||||
|
Reference in New Issue
Block a user