1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-12 08:34:08 +02:00

Merge pull request #18883 from twbs/zindex-dropdown-backdrop

Use proper variable for .dropdown-backdrop's z-index
This commit is contained in:
Mark Otto
2016-01-17 15:25:58 -08:00
2 changed files with 2 additions and 1 deletions

View File

@@ -161,7 +161,7 @@
right: 0; right: 0;
bottom: 0; bottom: 0;
left: 0; left: 0;
z-index: ($zindex-dropdown - 10); z-index: $zindex-dropdown-backdrop;
} }
// Right aligned dropdowns // Right aligned dropdowns

View File

@@ -362,6 +362,7 @@ $dropdown-header-color: $gray-light !default;
// Warning: Avoid customizing these values. They're used for a bird's eye view // 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. // of components dependent on the z-axis and are designed to all work together.
$zindex-dropdown-backdrop: 990 !default;
$zindex-navbar: 1000 !default; $zindex-navbar: 1000 !default;
$zindex-dropdown: 1000 !default; $zindex-dropdown: 1000 !default;
$zindex-popover: 1060 !default; $zindex-popover: 1060 !default;