2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

try using tricker opacity thingy

This commit is contained in:
Jacob Thornton
2011-08-28 17:40:25 -07:00
parent d8d6e40097
commit 9059a72bf8
4 changed files with 16 additions and 10 deletions
+8 -3
View File
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Sun Aug 28 16:34:52 PDT 2011
* Date: Sun Aug 28 17:40:04 PDT 2011
*/
/* Reset.less
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
@@ -1679,8 +1679,10 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}
.modal-backdrop {
background-color: rgba(0, 0, 0, 0.5);
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#aa000000',endColorstr='#aa000000');
/* background-color: rgba(0,0,0,.5);
filter: e(%("progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=%d,endColorstr=%d)", '#aa000000', '#aa000000'));*/
background-color: #000;
position: fixed;
top: 0;
left: 0;
@@ -1688,6 +1690,9 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
bottom: 0;
z-index: 1000;
}
.modal-backdrop.fade.in {
opacity: .5;
}
.modal {
position: fixed;
top: 50%;