From: LFeh Date: Mon, 21 Oct 2013 18:39:31 +0000 (-0200) Subject: Adjust in modal size rules X-Git-Tag: v3.1.0~145^2^2~16^2^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89e0f1669f2b4166051affa4eec819475660ed72;p=thirdparty%2Fbootstrap.git Adjust in modal size rules --- diff --git a/less/modals.less b/less/modals.less index c44b760944..accd4a9482 100644 --- a/less/modals.less +++ b/less/modals.less @@ -38,7 +38,14 @@ margin-right: auto; width: auto; padding: 10px; - z-index: (@zindex-modal-background + 10); + z-index: (@zindex-modal-background + 10); + + &.modal-lg { + width: @modal-lg; + } + &.modal-sm { + width: @modal-sm; + } } // Actual modal @@ -123,14 +130,6 @@ width: 600px; padding-top: 30px; padding-bottom: 30px; - // Define large size for the modal - &.modal-lg{ - width: @modal-lg; - } - // Define small size for the modal - &.modal-sm{ - width: @modal-sm; - } } .modal-content { .box-shadow(0 5px 15px rgba(0,0,0,.5)); diff --git a/less/variables.less b/less/variables.less index 5fb66b2254..44b49a43d7 100644 --- a/less/variables.less +++ b/less/variables.less @@ -449,7 +449,7 @@ @modal-footer-border-color: @modal-header-border-color; @modal-lg: 900px; -@modal-sm: 400px; +@modal-sm: 300px; // Alerts