aboutsummaryrefslogtreecommitdiff
path: root/bootstrap-1.3.0.css
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2011-09-10 18:13:37 -0700
committerJacob Thornton <[email protected]>2011-09-10 18:13:37 -0700
commit9c76070cbddfd02c034cba9e15960906844b76d0 (patch)
tree2555577c4ccf276f0a8187484b17563311908c73 /bootstrap-1.3.0.css
parent57a8672b77a219b99215b781740cc9cf5f7fc1a5 (diff)
downloadbootstrap-9c76070cbddfd02c034cba9e15960906844b76d0.tar.xz
bootstrap-9c76070cbddfd02c034cba9e15960906844b76d0.zip
rework the transitions for the modal a bit
Diffstat (limited to 'bootstrap-1.3.0.css')
-rw-r--r--bootstrap-1.3.0.css21
1 files changed, 16 insertions, 5 deletions
diff --git a/bootstrap-1.3.0.css b/bootstrap-1.3.0.css
index ee57571fb..1c16d405a 100644
--- a/bootstrap-1.3.0.css
+++ b/bootstrap-1.3.0.css
@@ -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: Sat Sep 10 15:29:50 PDT 2011
+ * Date: Sat Sep 10 18:12:41 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).
@@ -1977,10 +1977,10 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
opacity: 0;
}
.modal-backdrop, .modal-backdrop.fade.in {
- filter: alpha(opacity=50);
- -khtml-opacity: 0.5;
- -moz-opacity: 0.5;
- opacity: 0.5;
+ filter: alpha(opacity=70);
+ -khtml-opacity: 0.7;
+ -moz-opacity: 0.7;
+ opacity: 0.7;
}
.modal {
position: fixed;
@@ -2008,6 +2008,17 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
.modal .close {
margin-top: 7px;
}
+.modal.fade {
+ -webkit-transition: opacity .25s linear, top .25s ease-out;
+ -moz-transition: opacity .25s linear, top .25s ease-out;
+ -ms-transition: opacity .25s linear, top .25s ease-out;
+ -o-transition: opacity .25s linear, top .25s ease-out;
+ transition: opacity .25s linear, top .25s ease-out;
+ top: -50%;
+}
+.modal.fade.in {
+ top: 50%;
+}
.modal-header {
border-bottom: 1px solid #eee;
padding: 5px 15px;