aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/scss/_modal.scss
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/twbs/bootstrap/scss/_modal.scss')
-rw-r--r--vendor/twbs/bootstrap/scss/_modal.scss12
1 files changed, 11 insertions, 1 deletions
diff --git a/vendor/twbs/bootstrap/scss/_modal.scss b/vendor/twbs/bootstrap/scss/_modal.scss
index 21e1258f5..77473085c 100644
--- a/vendor/twbs/bootstrap/scss/_modal.scss
+++ b/vendor/twbs/bootstrap/scss/_modal.scss
@@ -85,7 +85,17 @@
// Modal background
.modal-backdrop {
- @include overlay-backdrop($zindex-modal-backdrop, $modal-backdrop-bg, $modal-backdrop-opacity);
+ position: fixed;
+ top: 0;
+ left: 0;
+ z-index: $zindex-modal-backdrop;
+ width: 100vw;
+ height: 100vh;
+ background-color: $modal-backdrop-bg;
+
+ // Fade for backdrop
+ &.fade { opacity: 0; }
+ &.show { opacity: $modal-backdrop-opacity; }
}
// Modal header