From 433b2b2db9c405eea2714dc3cf11093059427ae1 Mon Sep 17 00:00:00 2001 From: Simon Grim Date: Tue, 2 Oct 2018 00:14:35 +0500 Subject: [PATCH] tune .modal-blackout and .modal-content SASS --- sass/layout/_modal.sass | 11 +++++++++++ sass/layout/_prompt.sass | 1 + 2 files changed, 12 insertions(+) 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