From: Geremia Taglialatela Date: Tue, 15 Oct 2013 18:53:56 +0000 (+0200) Subject: Customizable backdrop opacity X-Git-Tag: v3.1.0~145^2^2~16^2^2~1^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=160ed8561672c4d59eff839d3e8bacd8ff1fb100;p=thirdparty%2Fbootstrap.git Customizable backdrop opacity --- diff --git a/less/modals.less b/less/modals.less index 776073d572..8adfd3ad2d 100644 --- a/less/modals.less +++ b/less/modals.less @@ -65,7 +65,7 @@ background-color: @modal-backdrop-bg; // Fade for backdrop &.fade { .opacity(0); } - &.in { .opacity(.5); } + &.in { .opacity(@modal-backdrop-opacity); } } // Modal header diff --git a/less/variables.less b/less/variables.less index e596215d06..0e58b31957 100644 --- a/less/variables.less +++ b/less/variables.less @@ -445,6 +445,7 @@ @modal-content-fallback-border-color: #999; @modal-backdrop-bg: #000; +@modal-backdrop-opacity: .5; @modal-header-border-color: #e5e5e5; @modal-footer-border-color: @modal-header-border-color;