aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2016-01-13 16:21:52 -0800
committerChris Rebert <[email protected]>2016-01-13 16:21:52 -0800
commit27a7fff0fb325cfa9a272c34f1cdf4ea02847060 (patch)
tree914a4787eb46c05f9120b0b7c9b5099139e636a5
parent5e9b365b2533d245bc992caaad2beca4bc3d701e (diff)
downloadbootstrap-27a7fff0fb325cfa9a272c34f1cdf4ea02847060.tar.xz
bootstrap-27a7fff0fb325cfa9a272c34f1cdf4ea02847060.zip
Use proper variable for .dropdown-backdrop's z-index
-rw-r--r--scss/_dropdown.scss2
-rw-r--r--scss/_variables.scss1
2 files changed, 2 insertions, 1 deletions
diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss
index d9776d59c..a21989779 100644
--- a/scss/_dropdown.scss
+++ b/scss/_dropdown.scss
@@ -161,7 +161,7 @@
right: 0;
bottom: 0;
left: 0;
- z-index: ($zindex-dropdown - 10);
+ z-index: $zindex-dropdown-backdrop;
}
// Right aligned dropdowns
diff --git a/scss/_variables.scss b/scss/_variables.scss
index cb478d76a..da987b937 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -359,6 +359,7 @@ $dropdown-header-color: $gray-light !default;
// Warning: Avoid customizing these values. They're used for a bird's eye view
// of components dependent on the z-axis and are designed to all work together.
+$zindex-dropdown-backdrop: 990 !default;
$zindex-navbar: 1000 !default;
$zindex-dropdown: 1000 !default;
$zindex-popover: 1060 !default;