diff --git a/ghost/admin/assets/sass/layouts/content.scss b/ghost/admin/assets/sass/layouts/content.scss index b75bfdab7c..4a15e1f844 100644 --- a/ghost/admin/assets/sass/layouts/content.scss +++ b/ghost/admin/assets/sass/layouts/content.scss @@ -200,6 +200,7 @@ @media (max-width: 900px) { width: 100%; border: none; + overflow: visible; } .unfeatured { @@ -217,7 +218,7 @@ .normal { text-transform: none; - margin:0 3px; + margin: 0 3px; } .content-preview-content { @@ -225,8 +226,14 @@ word-break: break-word; hyphens: auto; - @media (max-width:400px) { - padding: 0; + @media (max-width: 900px) { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + overflow: auto; + -webkit-overflow-scrolling: touch; } .wrapper { diff --git a/ghost/admin/assets/sass/layouts/default.scss b/ghost/admin/assets/sass/layouts/default.scss index b06b0fb7ae..fb5a565941 100644 --- a/ghost/admin/assets/sass/layouts/default.scss +++ b/ghost/admin/assets/sass/layouts/default.scss @@ -172,7 +172,6 @@ background: #fff; overflow-y: auto; overflow-x: hidden; - -webkit-overflow-scrolling: touch; @media (max-width: 900px) { top: 44px; diff --git a/ghost/admin/assets/sass/layouts/editor.scss b/ghost/admin/assets/sass/layouts/editor.scss index e5d875826f..2825bb7a32 100644 --- a/ghost/admin/assets/sass/layouts/editor.scss +++ b/ghost/admin/assets/sass/layouts/editor.scss @@ -176,7 +176,7 @@ top: 40px; } @media (max-height: 560px) { - height: calc(100% - 40px); + height: calc(100% - 5px); } &:focus { @@ -426,7 +426,7 @@ body.zen { padding: 0; color: $midgrey; background: darken($darkgrey, 4%); - position: fixed; + position: absolute; bottom: 0; left: 0; right: 0; @@ -701,7 +701,7 @@ body.zen { .post-settings { @include icon($i-settings, 14px); display: inline-block; - padding: 10px; + padding: 8px 10px; color: $midgrey; transition: all 0.15s ease-out 0s; position: relative; diff --git a/ghost/admin/assets/sass/layouts/settings.scss b/ghost/admin/assets/sass/layouts/settings.scss index 8bdba14b69..744da6ae25 100644 --- a/ghost/admin/assets/sass/layouts/settings.scss +++ b/ghost/admin/assets/sass/layouts/settings.scss @@ -138,7 +138,6 @@ // The main content panel on the right .settings-content { - margin-left: 25%; @media (max-width: 900px) { &.fade-in { @@ -146,6 +145,17 @@ } } + @media (min-width: 901px) { + position: absolute; + top: 0; + right: 0; + left: 25%; + bottom: 0; + + overflow: auto; + -webkit-overflow-scrolling: touch; + } + .settings-general img { max-width: 100%; max-height: 400px; @@ -162,6 +172,18 @@ @media (max-width: 550px) { padding-top: 15px; } + + @media (max-width: 900px) { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + overflow-x: hidden; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + } + } // .content .word-count { diff --git a/ghost/admin/assets/sass/layouts/user.scss b/ghost/admin/assets/sass/layouts/user.scss index 6fbdaee76c..a9c495621e 100644 --- a/ghost/admin/assets/sass/layouts/user.scss +++ b/ghost/admin/assets/sass/layouts/user.scss @@ -4,6 +4,14 @@ // Slug: /ghost/settings/users/username/ // -------------------------------------------------- +.content.settings-user { + padding: 0; + + @media (min-width: 901px) { + padding: 0 40px; + } +} + .user-actions-cog { padding: 9px 11px; } @@ -12,7 +20,7 @@ position: relative; width: auto; height: 300px; - margin: 0 40px; + margin: 0; background: #fafafa no-repeat center center; background-size: cover; overflow: hidden; @@ -65,7 +73,7 @@ left: 40px; } @media (min-width: 1001px) { - width: calc(100% - 221px); + width: calc(100% - 181px); } } @@ -77,7 +85,6 @@ } fieldset { - padding: 0 15px 0 40px; @media (max-width: 650px) { padding: 0 40px; } @@ -125,14 +132,6 @@ } -@media (max-width: 550px) { - .user-details-top, - .user-details-bottom { - padding-left: 15px; - padding-right: 15px; - } -} - .user-image { display: block; position: absolute; @@ -144,13 +143,13 @@ @media (max-width: 650px) { top: -159px; - left: -19px; + left: 21px; } width: 126px; height: 126px; float: left; - margin-left: 34px; + margin-left: -6px; margin-right: 20px; text-align: center; border-radius: 100%; diff --git a/ghost/admin/templates/debug.hbs b/ghost/admin/templates/debug.hbs index bec835bc0a..6578315369 100644 --- a/ghost/admin/templates/debug.hbs +++ b/ghost/admin/templates/debug.hbs @@ -1,49 +1,59 @@ -
- + -
-
+
+ +
+ +
+

Ugly Debug Tools

+
+ {{#link-to 'settings' class='btn btn-default btn-back'}}Back{{/link-to}} +
+
+ +
-
-
- - Export -

Export the blog settings and data.

-
-
-
- {{#gh-form id="settings-import" enctype="multipart/form-data"}} -
-
- - {{partial "import-errors"}} - {{gh-file-upload id="importfile" uploadButtonText=uploadButtonText}} -

Import from another Ghost installation. If you import a user, this will replace the current user & log you out.

-
-
- {{/gh-form}} -
-
-
- - Delete -

Delete all posts and tags from the database.

-
-
-
-
-
-
- - -

Sends a test email to your address.

-
-
-
+
+
+ + Export +

Export the blog settings and data.

+
+
+ + {{#gh-form id="settings-import" enctype="multipart/form-data"}} +
+
+ + {{partial "import-errors"}} + {{gh-file-upload id="importfile" uploadButtonText=uploadButtonText}} +

Import from another Ghost installation. If you import a user, this will replace the current user & log you out.

+
+
+ {{/gh-form}} +
+
+
+ + Delete +

Delete all posts and tags from the database.

+
+
+
+
+
+
+ + +

Sends a test email to your address.

+
+
+
-
-
+ + + + \ No newline at end of file diff --git a/ghost/admin/templates/settings/users/user.hbs b/ghost/admin/templates/settings/users/user.hbs index b7fe39ad78..f60dd5775a 100644 --- a/ghost/admin/templates/settings/users/user.hbs +++ b/ghost/admin/templates/settings/users/user.hbs @@ -20,99 +20,103 @@ -
- -
+
-
+
+ +
- {{!-- Horrible hack to prevent Chrome from incorrectly auto-filling inputs --}} - - + -
+ {{!-- Horrible hack to prevent Chrome from incorrectly auto-filling inputs --}} + + -
-
- -
+
-
- - {{input value=user.name id="user-name" class="user-name" placeholder="Full Name" autocorrect="off"}} -

Use your real name so people can recognise you

-
+
+
+ +
-
+
+ + {{input value=user.name id="user-name" class="user-name" placeholder="Full Name" autocorrect="off"}} +

Use your real name so people can recognise you

+
-
+
-
- - {{gh-input class="user-name" id="user-slug" value=slugValue name="user" focus-out="updateSlug" placeholder="Slug" selectOnClick="true" autocorrect="off"}} -

{{gh-blog-url}}/author/{{slugValue}}

-
+
-
- - {{input type="email" value=user.email id="user-email" placeholder="Email Address" autocapitalize="off" autocorrect="off" autocomplete="off"}} -

Used for notifications

-
- {{#if view.rolesDropdownIsVisible}} -
- - {{gh-role-selector - initialValue=role - onChange="changeRole" - selectId="user-role"}} -

What permissions should this user have?

-
- {{/if}} -
- - {{input type="text" value=user.location id="user-location"}} -

Where in the world do you live?

-
+
+ + {{gh-input class="user-name" id="user-slug" value=slugValue name="user" focus-out="updateSlug" placeholder="Slug" selectOnClick="true" autocorrect="off"}} +

{{gh-blog-url}}/author/{{slugValue}}

+
-
- - {{input type="url" value=user.website id="user-website" autocapitalize="off" autocorrect="off" autocomplete="off"}} -

Have a website or blog other than this one? Link it!

-
+
+ + {{input type="email" value=user.email id="user-email" placeholder="Email Address" autocapitalize="off" autocorrect="off" autocomplete="off"}} +

Used for notifications

+
+ {{#if view.rolesDropdownIsVisible}} +
+ + {{gh-role-selector + initialValue=role + onChange="changeRole" + selectId="user-role"}} +

What permissions should this user have?

+
+ {{/if}} +
+ + {{input type="text" value=user.location id="user-location"}} +

Where in the world do you live?

+
-
- - {{textarea id="user-bio" value=user.bio}} -

- Write about you, in 200 characters or less. - {{gh-count-characters user.bio}} -

-
+
+ + {{input type="url" value=user.website id="user-website" autocapitalize="off" autocorrect="off" autocomplete="off"}} +

Have a website or blog other than this one? Link it!

+
-
+
+ + {{textarea id="user-bio" value=user.bio}} +

+ Write about you, in 200 characters or less. + {{gh-count-characters user.bio}} +

+
-
+
-
+
-
- - {{input value=user.password type="password" id="user-password-old"}} -
+
-
- - {{input value=user.newPassword type="password" id="user-password-new"}} -
+
+ + {{input value=user.password type="password" id="user-password-old"}} +
-
- - {{input value=user.ne2Password type="password" id="user-new-password-verification"}} -
-
- -
+
+ + {{input value=user.newPassword type="password" id="user-password-new"}} +
-
+
+ + {{input value=user.ne2Password type="password" id="user-new-password-verification"}} +
+
+ +
- +
+ + + +
\ No newline at end of file