mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Merge pull request #4014 from PaulAdamDavis/fix-mobile-nav-click
Change class for editor PSM closing transparent div
This commit is contained in:
commit
bd163ada46
3 changed files with 15 additions and 18 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Add table
Reference in a new issue