vendor/twitter/bootstrap/less/modals.less in bootstrap-generators-3.2.0 vs vendor/twitter/bootstrap/less/modals.less in bootstrap-generators-3.3.1
- old
+ new
@@ -28,14 +28,14 @@
// https://github.com/twbs/bootstrap/pull/10951.
outline: 0;
// When fading in the modal, animate it to slide down
&.fade .modal-dialog {
- .translate3d(0, -25%, 0);
+ .translate(0, -25%);
.transition-transform(~"0.3s ease-out");
}
- &.in .modal-dialog { .translate3d(0, 0, 0) }
+ &.in .modal-dialog { .translate(0, 0) }
}
.modal-open .modal {
overflow-x: hidden;
overflow-y: auto;
}
@@ -60,15 +60,13 @@
outline: 0;
}
// Modal background
.modal-backdrop {
- position: fixed;
+ position: absolute;
top: 0;
right: 0;
- bottom: 0;
left: 0;
- z-index: @zindex-modal-background;
background-color: @modal-backdrop-bg;
// Fade for backdrop
&.fade { .opacity(0); }
&.in { .opacity(@modal-backdrop-opacity); }
}