2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

display none for inactive modals

This commit is contained in:
Jacob Thornton
2011-08-27 00:03:11 -07:00
parent c26eb016fb
commit 24c4ca0391
3 changed files with 7 additions and 3 deletions
+3 -1
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: Fri Aug 26 22:42:50 PDT 2011
* Date: Sat Aug 27 00:02:34 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).
@@ -1790,6 +1790,7 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
opacity: 0;
}
.modal-backdrop.open, .modal.open {
display: block;
opacity: 1;
}
.modal-backdrop {
@@ -1802,6 +1803,7 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
z-index: 1000;
}
.modal {
display: none;
position: fixed;
top: 50%;
left: 50%;