app/frameworks/twitter/bootstrap/modals.less in less-rails-bootstrap-3.2.0 vs app/frameworks/twitter/bootstrap/modals.less in less-rails-bootstrap-3.3.0.0
- 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;
}
@@ -65,10 +65,9 @@
position: fixed;
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); }
}