From: Tobias Lindig Date: Fri, 13 Dec 2013 11:24:20 +0000 (+0100) Subject: use @zindex-modal for .modal and @zindex-modal-background for .modal-backdrop. X-Git-Tag: v3.1.0~145^2^2~16^2^2~1^2^2~3^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7bf212995b63d303281023e02777963b265b976;p=thirdparty%2Fbootstrap.git 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. --- diff --git a/less/modals.less b/less/modals.less index 292b5bd9c0..717c7b3552 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); }