diff options
| author | Tobias Lindig <[email protected]> | 2013-12-13 12:24:20 +0100 |
|---|---|---|
| committer | Tobias Lindig <[email protected]> | 2013-12-13 12:24:20 +0100 |
| commit | b7bf212995b63d303281023e02777963b265b976 (patch) | |
| tree | 2fc06fe0c2b7e63ebe51a0636b545ec08c523b9d | |
| parent | 5f9ecc7351df9bc45117ffe7c8ab51d3571ef878 (diff) | |
| download | bootstrap-b7bf212995b63d303281023e02777963b265b976.tar.xz bootstrap-b7bf212995b63d303281023e02777963b265b976.zip | |
use @zindex-modal for .modal and @zindex-modal-background for .modal-backdrop.
removed z-index for .modal-dialog, it was not necessary because the parent element (.modal) already has a z-index.
| -rw-r--r-- | less/modals.less | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/less/modals.less b/less/modals.less index 292b5bd9c..717c7b355 100644 --- a/less/modals.less +++ b/less/modals.less @@ -22,7 +22,7 @@ right: 0; bottom: 0; left: 0; - z-index: @zindex-modal-background; + z-index: @zindex-modal; // When fading in the modal, animate it to slide down &.fade .modal-dialog { @@ -37,7 +37,6 @@ position: relative; width: auto; margin: 10px; - z-index: (@zindex-modal-background + 10); } // Actual modal @@ -60,7 +59,7 @@ right: 0; bottom: 0; left: 0; - z-index: (@zindex-modal-background - 10); + z-index: @zindex-modal-background; background-color: @modal-backdrop-bg; // Fade for backdrop &.fade { .opacity(0); } |
