mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
fix for open elements under modal when .modal-open
This commit is contained in:
Vendored
+4
-4
@@ -4815,19 +4815,19 @@ input[type="submit"].btn.btn-mini {
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-open .dropdown-menu {
|
.modal-open .modal .dropdown-menu {
|
||||||
z-index: 2050;
|
z-index: 2050;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-open .dropdown.open {
|
.modal-open .modal .dropdown.open {
|
||||||
*z-index: 2050;
|
*z-index: 2050;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-open .popover {
|
.modal-open .modal .popover {
|
||||||
z-index: 2060;
|
z-index: 2060;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-open .tooltip {
|
.modal-open .modal .tooltip {
|
||||||
z-index: 2080;
|
z-index: 2080;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+3
-2
@@ -3,8 +3,9 @@
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// Recalculate z-index where appropriate
|
// Recalculate z-index where appropriate,
|
||||||
.modal-open {
|
// but only apply to elements within modal
|
||||||
|
.modal-open .modal {
|
||||||
.dropdown-menu { z-index: @zindexDropdown + @zindexModal; }
|
.dropdown-menu { z-index: @zindexDropdown + @zindexModal; }
|
||||||
.dropdown.open { *z-index: @zindexDropdown + @zindexModal; }
|
.dropdown.open { *z-index: @zindexDropdown + @zindexModal; }
|
||||||
.popover { z-index: @zindexPopover + @zindexModal; }
|
.popover { z-index: @zindexPopover + @zindexModal; }
|
||||||
|
|||||||
Reference in New Issue
Block a user