0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Change class for editor PSM closing transparent div

No issue

- Changes the class used by the transparent div used to close the PSM

Without this change, when in the editor and the nav is open, the transparent div here is above the div the nav is looking for. So, the div for the PSM is clicked, rather than the nav div.
This commit is contained in:
Paul Adam Davis 2014-09-11 16:38:57 +01:00
parent 2a7967e4d4
commit 0cb495d4a0
3 changed files with 15 additions and 18 deletions

View file

@ -162,23 +162,6 @@
}//.user-menu
body.right-outlet-expanded & {
.global-nav {
z-index: 700;
}
.nav-cover {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 700;
transition: transform $side-outlet-transition-duration cubic-bezier(0.1, 0.7, 0.1, 1);
transform: translate3d(-350px, 0px, 0px);
}
}
//
// Mobile

View file

@ -669,6 +669,20 @@ body.zen {
// Post Settings Menu
// --------------------------------------------------
body.right-outlet-expanded {
.editor-cover {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 600;
transition: transform $side-outlet-transition-duration cubic-bezier(0.1, 0.7, 0.1, 1);
transform: translate3d(-350px, 0px, 0px); // Not off the screen, to give a parallax effect
}//.editor-cover
}//body.right-outlet-expanded
.post-settings {
@include icon($i-settings, 14px);
display: inline-block;

View file

@ -1,4 +1,4 @@
<div class="nav-cover" {{action "closePostSettings"}}></div>
<div class="editor-cover" {{action "closePostSettings"}}></div>
<div id="entry-controls" {{bind-attr class=":right-outlet isNew:unsaved"}}>
<div class="post-settings-menu outlet-pane outlet-pane-in">
<div class="post-settings-header">