diff --git a/ghost/admin/assets/sass/components/navigation.scss b/ghost/admin/assets/sass/components/navigation.scss index b974267d34..22eb0e26b6 100644 --- a/ghost/admin/assets/sass/components/navigation.scss +++ b/ghost/admin/assets/sass/components/navigation.scss @@ -12,12 +12,17 @@ left: 0; z-index: 800; background: $darkgrey; + transition: transform $side-outlet-transition-duration cubic-bezier(0.1, 0.7, 0.1, 1); i:before { display: inline-block; width: 16px; } + &.right-outlet-expanded { + transform: translate3d(-350px, 0px, 0px); + } + .thing, .thing2 { display: none; // hide until mobile @@ -175,7 +180,7 @@ -webkit-overflow-scrolling: touch; transform: translate3d(-60px, 0px, 0px); // Not off the screen, to give a parallax effect - transition: transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1); + transition: transform $side-outlet-transition-duration cubic-bezier(0.1, 0.7, 0.1, 1); .thing, .thing2 { display: block; diff --git a/ghost/admin/assets/sass/helpers/variables.scss b/ghost/admin/assets/sass/helpers/variables.scss index 0640e32d8f..105f5a67d9 100644 --- a/ghost/admin/assets/sass/helpers/variables.scss +++ b/ghost/admin/assets/sass/helpers/variables.scss @@ -36,6 +36,7 @@ $list-colours: $rounded: 3px; $shadow: rgba(0,0,0,0.05) 0 1px 5px; $default-transition-duration: 0.3s; +$side-outlet-transition-duration: 0.4s; $font-family: 'Open Sans', sans-serif; $font-family-mono: Inconsolata, monospace; diff --git a/ghost/admin/assets/sass/layouts/default.scss b/ghost/admin/assets/sass/layouts/default.scss index 4c008bd47f..e09198493e 100644 --- a/ghost/admin/assets/sass/layouts/default.scss +++ b/ghost/admin/assets/sass/layouts/default.scss @@ -24,6 +24,7 @@ left: 0; overflow: hidden; z-index: 500; // Above the .global-nav when collapsed + transition: transform $side-outlet-transition-duration cubic-bezier(0.1, 0.7, 0.1, 1); @media (max-width: 900px) { transition: transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1); @@ -32,6 +33,63 @@ &.global-nav-expanded { transform: translate3d(260px, 0px, 0px); } + + &.right-outlet-expanded { + @media (max-width: 350px) { + transform: translate3d(-100%, 0px, 0px); + } + @media (min-width: 351px) { + &:before { + content: ''; + position: absolute; + top: 0; + right: 0; + bottom: 0; + z-index: 1000; + width: 1px; + background: #EDECE4; + } + transform: translate3d(-350px, 0px, 0px); + } + } +} + +.right-outlet { + background: $lightestgrey; + width: 100%; + max-width: 350px; + position: fixed; + top: 0; + right: 0; + bottom: 0; + overflow: auto; + -webkit-overflow-scrolling: touch; + transition: transform $side-outlet-transition-duration cubic-bezier(0.1, 0.7, 0.1, 1); + transform: translate3d(60px, 0px, 0px); + &.right-outlet-expanded { + transform: translate3d(0, 0px, 0px); + } + .outlet-pane { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + transform: translate3d(0, 0px, 0px); + opacity: 1; + + transition: transform $side-outlet-transition-duration cubic-bezier(0.1, 0.7, 0.1, 1); + + &.outlet-pane-out-left { + transform: translate3d(-100%, 0px, 0px); + } + &.outlet-pane-out-right { + transform: translate3d(100%, 0px, 0px); + } + &.outlet-pane-in { + transform: translate3d(0, 0px, 0px); + } + } } // diff --git a/ghost/admin/assets/sass/layouts/post-settings-menu.scss b/ghost/admin/assets/sass/layouts/post-settings-menu.scss index 2ae27b3b90..e1750bcff3 100644 --- a/ghost/admin/assets/sass/layouts/post-settings-menu.scss +++ b/ghost/admin/assets/sass/layouts/post-settings-menu.scss @@ -3,11 +3,7 @@ // -------------------------------------------------- // Wrapper -.post-settings-menu { - background: $lightestgrey; - width: 100%; - max-width: 350px; -} +.post-settings-menu {} // Header .post-settings-header { @@ -26,7 +22,8 @@ } } } -.subview .post-settings-header { + +.post-settings-header.subview { h4 { text-align: center; } diff --git a/ghost/admin/html/psm.html b/ghost/admin/html/psm.html new file mode 100644 index 0000000000..a120d5df4b --- /dev/null +++ b/ghost/admin/html/psm.html @@ -0,0 +1,202 @@ + + + + + New PSM + + + + + + + + + +
+ +
+ +
+ +
+
+

Post Settings

+ +
+
+ +
+ + + + +
Add image of
+
+ +
+ + + + +
+ +
+ + + + +
+ +
+ + + + + + +
+ +
+ +
+ + + + + +
+
+ +
+ +
+ +

Meta Data

+
+ +
+
+ + +

Recommended: 70 characters. You’ve used 43

+
+ +
+ + +

Recommended: 156 characters. You’ve used 133

+
+ +
+ +
+
My Post is Super SEO Friendly
+ +
In this fascinating posts I explore the value of SEO meta descriptions and their impact on blogging. Don’t miss my stunning insights!
+
+
+ +
+ +
+ +
+ + + + + + + \ No newline at end of file