diff options
author | Mark Otto <markdotto@gmail.com> | 2021-06-25 23:41:15 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2021-06-25 23:41:15 +0300 |
commit | 45d26de72817b295c5f94c8426354fd5b7d0a1f9 (patch) | |
tree | 78ef421227b893a2f8c7ea0b45693ccae58e68e4 /scss/_modal.scss | |
parent | 088ef6298203255d28c3eb058709cbb501d07c2c (diff) |
Variablize backdrop for modal and offcanvas
Diffstat (limited to 'scss/_modal.scss')
-rw-r--r-- | scss/_modal.scss | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/scss/_modal.scss b/scss/_modal.scss index 77473085ce..21e1258f55 100644 --- a/scss/_modal.scss +++ b/scss/_modal.scss @@ -85,17 +85,7 @@ // Modal background .modal-backdrop { - 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; } + @include overlay-backdrop($zindex-modal-backdrop, $modal-backdrop-bg, $modal-backdrop-opacity); } // Modal header |