diff --git a/sass/layout/_modal.sass b/sass/layout/_modal.sass index 60445b6..17f4f79 100644 --- a/sass/layout/_modal.sass +++ b/sass/layout/_modal.sass @@ -7,6 +7,16 @@ $header-modal-height : $menu-height // style +@mixin modal-blackout + display: block + background: rgba(0,0,0, 0.6) + z-index: -1 + position: fixed + left: 0 + top: 0 + width: 100% + height: 100% + .modal-blackout display: none @@ -110,6 +120,7 @@ $header-modal-height : $menu-height .modal-content + background: #fff width: 100% @extend .clear-fix overflow: hidden diff --git a/sass/layout/_prompt.sass b/sass/layout/_prompt.sass index 34cc7bb..3339208 100644 --- a/sass/layout/_prompt.sass +++ b/sass/layout/_prompt.sass @@ -13,6 +13,7 @@ padding: 0 20px 20px 0 float: right .modal-content + background: #fff padding: 20px .post-area textarea