Customizable backdrop opacity

This commit is contained in:
Geremia Taglialatela 2013-10-15 20:53:56 +02:00
parent 2380b6be99
commit 160ed85616
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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;