aboutsummaryrefslogtreecommitdiff
path: root/lib/patterns.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-11-02 00:04:43 -0700
committerMark Otto <[email protected]>2011-11-02 00:04:43 -0700
commitd8118084948fd5315870c91bb543eef3cee357a2 (patch)
tree375c704d70c129b9cab8f1785c16d4d3ebe1400a /lib/patterns.less
parent0e91eddb66088a5dbab27c03139fede17614f1d2 (diff)
downloadbootstrap-d8118084948fd5315870c91bb543eef3cee357a2.tar.xz
bootstrap-d8118084948fd5315870c91bb543eef3cee357a2.zip
fix tipsies, modals, and popovers from overlaying topbar
Diffstat (limited to 'lib/patterns.less')
-rw-r--r--lib/patterns.less10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/patterns.less b/lib/patterns.less
index edbaf625d..1ba7fa3fd 100644
--- a/lib/patterns.less
+++ b/lib/patterns.less
@@ -872,6 +872,12 @@ input[type=submit].btn {
}
}
+// Fix the stacking of these components when in modals
+.modal .popover,
+.modal .twipsy {
+ z-index: 12000;
+}
+
// POPOVER ARROWS
// --------------
@@ -920,7 +926,7 @@ input[type=submit].btn {
visibility: visible;
padding: 5px;
font-size: 11px;
- z-index: 12000;
+ z-index: 1000;
.opacity(80);
&.fade.in {
.opacity(80);
@@ -953,7 +959,7 @@ input[type=submit].btn {
position: absolute;
top: 0;
left: 0;
- z-index: 12000;
+ z-index: 1000;
padding: 5px;
display: none;
&.above .arrow { #popoverArrow > .above(); }