aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-08-04 22:30:09 -0700
committerMark Otto <[email protected]>2013-08-04 22:30:09 -0700
commit2641fed73f51cdd2a77698c538403cc892e183a5 (patch)
treee13e2cab3779ed4da3e1474ddc09026829c57132 /less
parent5e637313b7e1f1f5f967ea2c334972a23db6912d (diff)
downloadbootstrap-2641fed73f51cdd2a77698c538403cc892e183a5.tar.xz
bootstrap-2641fed73f51cdd2a77698c538403cc892e183a5.zip
Fixes #8723: allow modals to not need the .fade class /cc @fat
Diffstat (limited to 'less')
-rw-r--r--less/modals.less4
1 files changed, 2 insertions, 2 deletions
diff --git a/less/modals.less b/less/modals.less
index 996db6c7f..2e574535e 100644
--- a/less/modals.less
+++ b/less/modals.less
@@ -29,7 +29,7 @@
.translate(0, -25%);
.transition-transform(~"0.3s ease-out");
}
- &.fade.in .modal-dialog { .translate(0, 0)}
+ &.in .modal-dialog { .translate(0, 0)}
}
// Shell div to position the modal with bottom padding
@@ -65,7 +65,7 @@
background-color: @modal-backdrop-bg;
// Fade for backdrop
&.fade { .opacity(0); }
- &.fade.in { .opacity(.5); }
+ &.in { .opacity(.5); }
}
// Modal header