fix for open elements under modal when .modal-open

This commit is contained in:
Jacob Thornton 2012-08-27 20:43:12 -07:00
parent 438f745ea2
commit d797a5fbd7
3 changed files with 8 additions and 7 deletions

View File

@ -4815,19 +4815,19 @@ input[type="submit"].btn.btn-mini {
background-color: #fff;
}
.modal-open .dropdown-menu {
.modal-open .modal .dropdown-menu {
z-index: 2050;
}
.modal-open .dropdown.open {
.modal-open .modal .dropdown.open {
*z-index: 2050;
}
.modal-open .popover {
.modal-open .modal .popover {
z-index: 2060;
}
.modal-open .tooltip {
.modal-open .modal .tooltip {
z-index: 2080;
}

File diff suppressed because one or more lines are too long

View File

@ -3,8 +3,9 @@
// --------------------------------------------------
// Recalculate z-index where appropriate
.modal-open {
// Recalculate z-index where appropriate,
// but only apply to elements within modal
.modal-open .modal {
.dropdown-menu { z-index: @zindexDropdown + @zindexModal; }
.dropdown.open { *z-index: @zindexDropdown + @zindexModal; }
.popover { z-index: @zindexPopover + @zindexModal; }