aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-01-28 12:08:41 -0800
committerJacob Thornton <[email protected]>2012-01-28 12:08:41 -0800
commit12d3c2fe74bbe2570e47a2c8d7154a3011bd0770 (patch)
tree8805a449345adbee6ac434a45bc8b4c2882c959b /less
parentc2c02d104c5e5a96330cf00a727d62687d863e02 (diff)
downloadbootstrap-12d3c2fe74bbe2570e47a2c8d7154a3011bd0770.tar.xz
bootstrap-12d3c2fe74bbe2570e47a2c8d7154a3011bd0770.zip
fix z-index issue with modals for popovers,tooltips,and dropdowns
Diffstat (limited to 'less')
-rw-r--r--less/modals.less7
1 files changed, 7 insertions, 0 deletions
diff --git a/less/modals.less b/less/modals.less
index 7f07d11e4..3e74f4227 100644
--- a/less/modals.less
+++ b/less/modals.less
@@ -1,6 +1,13 @@
// MODALS
// ------
+.modal-open {
+ .dropdown-menu { z-index: @zindexDropdown + @zindexModal }
+ .dropdown.open { *z-index: @zindexDropdown + @zindexModal }
+ .popover { z-index: @zindexPopover + @zindexModal }
+ .tooltip { z-index: @zindexTooltip + @zindexModal }
+}
+
.modal-backdrop {
position: fixed;
top: 0;