mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Merge pull request #1046 from kevva/dropdown-menus
Scalable dropdown menus
This commit is contained in:
commit
f7b5e0f6b5
4 changed files with 5 additions and 5 deletions
|
@ -88,7 +88,7 @@
|
|||
// Reposition menu on open and round all corners
|
||||
.btn-group.open .dropdown-menu {
|
||||
display: block;
|
||||
top: 30px;
|
||||
margin-top: 1px;
|
||||
.border-radius(5px);
|
||||
&.large { top: 40px; }
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
// The dropdown menu (ul)
|
||||
.dropdown-menu {
|
||||
position: absolute;
|
||||
top: 40px;
|
||||
top: 100%;
|
||||
z-index: @zindexDropdown;
|
||||
float: left;
|
||||
display: none; // none by default, but block on "open" of the menu
|
||||
|
|
|
@ -191,7 +191,7 @@
|
|||
|
||||
// Menu position and menu carets
|
||||
.navbar .dropdown-menu {
|
||||
top: 41px;
|
||||
margin-top: 1px;
|
||||
.border-radius(4px);
|
||||
&:before {
|
||||
content: '';
|
||||
|
|
|
@ -177,7 +177,7 @@
|
|||
// Position the menu
|
||||
.pills .dropdown-menu,
|
||||
.tabs .dropdown-menu {
|
||||
top: 33px;
|
||||
margin-top: 1px;
|
||||
border-width: 1px;
|
||||
}
|
||||
.pills .dropdown-menu {
|
||||
|
@ -239,7 +239,7 @@
|
|||
|
||||
|
||||
// COMMON STYLES
|
||||
// -------------
|
||||
// -------------
|
||||
|
||||
// Clear any floats
|
||||
.tabbable {
|
||||
|
|
Loading…
Add table
Reference in a new issue