aboutsummaryrefslogtreecommitdiff
path: root/dist/css/bootstrap.css
diff options
context:
space:
mode:
authorfat <[email protected]>2013-07-26 22:09:31 -0700
committerfat <[email protected]>2013-07-26 22:09:31 -0700
commit2cf1851d9f9ea73a9c2e446db88f5c2179ea2f40 (patch)
treeb1ac2d0239a92718c3997062647c91840a19594f /dist/css/bootstrap.css
parentfff2854c5eab79de987aeeeb97356b0c1ca4be97 (diff)
downloadbootstrap-2cf1851d9f9ea73a9c2e446db88f5c2179ea2f40.tar.xz
bootstrap-2cf1851d9f9ea73a9c2e446db88f5c2179ea2f40.zip
use transforms to make the dialog smooooth
Diffstat (limited to 'dist/css/bootstrap.css')
-rw-r--r--dist/css/bootstrap.css22
1 files changed, 14 insertions, 8 deletions
diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css
index de08356f6..53e6c2b77 100644
--- a/dist/css/bootstrap.css
+++ b/dist/css/bootstrap.css
@@ -3344,14 +3344,20 @@ button.close {
overflow-y: scroll;
}
-.modal.fade {
- top: -25%;
- -webkit-transition: opacity 0.3s linear, top 0.3s ease-out;
- transition: opacity 0.3s linear, top 0.3s ease-out;
-}
-
-.modal.fade.in {
- top: 0;
+.modal.fade .modal-dialog {
+ -webkit-transform: translate(0, -25%);
+ -ms-transform: translate(0, -25%);
+ transform: translate(0, -25%);
+ -webkit-transition: -webkit-transform 0.3s ease-out;
+ -moz-transition: -moz-transform 0.3s ease-out;
+ -o-transition: -o-transform 0.3s ease-out;
+ transition: transform 0.3s ease-out;
+}
+
+.modal.fade.in .modal-dialog {
+ -webkit-transform: translate(0, 0);
+ -ms-transform: translate(0, 0);
+ transform: translate(0, 0);
}
.modal-dialog {