mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
Change variable for modal backdrop zindex, rearrange to be ordered from lowest to highest
This commit is contained in:
parent
3cc0239903
commit
115a37db1a
@ -166,12 +166,12 @@ We don't encourage customization of these values; should you change one, you lik
|
|||||||
$zindex-dropdown-backdrop: 990 !default;
|
$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-tooltip: 1070 !default;
|
|
||||||
$zindex-navbar-fixed: 1030 !default;
|
$zindex-navbar-fixed: 1030 !default;
|
||||||
$zindex-navbar-sticky: 1030 !default;
|
$zindex-navbar-sticky: 1030 !default;
|
||||||
$zindex-modal-bg: 1040 !default;
|
$zindex-modal-backdrop: 1040 !default;
|
||||||
$zindex-modal: 1050 !default;
|
$zindex-modal: 1050 !default;
|
||||||
|
$zindex-popover: 1060 !default;
|
||||||
|
$zindex-tooltip: 1070 !default;
|
||||||
```
|
```
|
||||||
|
|
||||||
Background elements—like the backdrops that allow click-dismissing—tend to reside on a lower `z-index`s, while navigation and popovers utilize higher `z-index`s to ensure they overlay surrounding content.
|
Background elements—like the backdrops that allow click-dismissing—tend to reside on a lower `z-index`s, while navigation and popovers utilize higher `z-index`s to ensure they overlay surrounding content.
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: $zindex-modal-bg;
|
z-index: $zindex-modal-backdrop;
|
||||||
background-color: $modal-backdrop-bg;
|
background-color: $modal-backdrop-bg;
|
||||||
|
|
||||||
// Fade for backdrop
|
// Fade for backdrop
|
||||||
|
@ -526,12 +526,12 @@ $dropdown-header-color: $gray-light !default;
|
|||||||
$zindex-dropdown-backdrop: 990 !default;
|
$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-tooltip: 1070 !default;
|
|
||||||
$zindex-navbar-fixed: 1030 !default;
|
$zindex-navbar-fixed: 1030 !default;
|
||||||
$zindex-navbar-sticky: 1030 !default;
|
$zindex-navbar-sticky: 1030 !default;
|
||||||
$zindex-modal-bg: 1040 !default;
|
$zindex-modal-backdrop: 1040 !default;
|
||||||
$zindex-modal: 1050 !default;
|
$zindex-modal: 1050 !default;
|
||||||
|
$zindex-popover: 1060 !default;
|
||||||
|
$zindex-tooltip: 1070 !default;
|
||||||
|
|
||||||
|
|
||||||
// 16. Navbar
|
// 16. Navbar
|
||||||
|
Loading…
Reference in New Issue
Block a user