From 76419917bfd7223c368845cd8be29a87d31f84a6 Mon Sep 17 00:00:00 2001 From: Sanne de Vries Date: Tue, 26 Jan 2021 16:40:14 +0100 Subject: [PATCH] Changed design for first step of the launch wizard --- .../gh-launch-wizard/customise-design.hbs | 47 ++++++++++--------- .../app/styles/layouts/fullscreen-wizard.css | 23 ++++++++- ghost/admin/app/styles/layouts/settings.css | 2 +- ghost/admin/app/templates/launch.hbs | 10 ++-- .../app/templates/launch/customise-design.hbs | 2 +- ghost/admin/app/templates/settings/design.hbs | 4 +- 6 files changed, 58 insertions(+), 30 deletions(-) diff --git a/ghost/admin/app/components/gh-launch-wizard/customise-design.hbs b/ghost/admin/app/components/gh-launch-wizard/customise-design.hbs index 89795263b7..6ba87d3875 100644 --- a/ghost/admin/app/components/gh-launch-wizard/customise-design.hbs +++ b/ghost/admin/app/components/gh-launch-wizard/customise-design.hbs @@ -1,15 +1,15 @@
-
-

Customise

+
+

Customise your site

-
+
-
+
Publication icon
A square, social icon used in the UI of your publication, at least 60x60px
{{#each uploader.errors as |error|}} @@ -21,10 +21,12 @@ {{#if uploader.isUploading}} {{uploader.progressBar}} {{else if this.settings.icon}} - icon - +
+ icon + +
{{else}}
-
+
-
+
Publication logo
The primary logo for your brand displayed across your theme, should be transparent and at least 600px x 72px
{{#each uploader.errors as |error|}} @@ -54,10 +56,12 @@ {{#if uploader.isUploading}} {{uploader.progressBar}} {{else if this.settings.logo}} - - +
+ + +
{{else}}
-
+
-
+
Publication cover
An optional large background image for your site
{{#each uploader.errors as |error|}} @@ -102,11 +106,12 @@
+ + +
-
- +
+
-
- - \ No newline at end of file +
\ No newline at end of file diff --git a/ghost/admin/app/styles/layouts/fullscreen-wizard.css b/ghost/admin/app/styles/layouts/fullscreen-wizard.css index 5c3c096f82..8b636bc279 100644 --- a/ghost/admin/app/styles/layouts/fullscreen-wizard.css +++ b/ghost/admin/app/styles/layouts/fullscreen-wizard.css @@ -6,6 +6,27 @@ left: 0; z-index: 1000; height: 100vh; - background: var(--whitegrey); + background: var(--white); overflow: auto; } + +.gh-launch-wizard-step-indicator { + font-size: 1.2rem; + font-weight: 500; + letter-spacing: 0.1px; + color: var(--midgrey); + text-transform: uppercase; +} + +.gh-launch-wizard-preview { + border-radius: 6px; + box-shadow: + 0 0 0 1px rgba(0,0,0,0.02), + 0 2.8px 2.2px rgba(0, 0, 0, 0.02), + 0 6.7px 5.3px rgba(0, 0, 0, 0.028), + 0 12.5px 10px rgba(0, 0, 0, 0.035), + 0 22.3px 17.9px rgba(0, 0, 0, 0.042), + 0 41.8px 33.4px rgba(0, 0, 0, 0.05), + 0 100px 80px rgba(0, 0, 0, 0.07); + ; +} \ No newline at end of file diff --git a/ghost/admin/app/styles/layouts/settings.css b/ghost/admin/app/styles/layouts/settings.css index 5555bcdfff..e099ab201d 100644 --- a/ghost/admin/app/styles/layouts/settings.css +++ b/ghost/admin/app/styles/layouts/settings.css @@ -227,8 +227,8 @@ display: flex; flex-direction: column; align-items: center; - width: 100%; color: var(--midgrey); + margin-top: 8px; text-decoration: none; font-size: 13px; line-height: 10px; diff --git a/ghost/admin/app/templates/launch.hbs b/ghost/admin/app/templates/launch.hbs index 5b18746d2b..9fb1268a16 100644 --- a/ghost/admin/app/templates/launch.hbs +++ b/ghost/admin/app/templates/launch.hbs @@ -1,8 +1,10 @@
- +
+
Step 1
+ +
{{outlet}}
\ No newline at end of file diff --git a/ghost/admin/app/templates/launch/customise-design.hbs b/ghost/admin/app/templates/launch/customise-design.hbs index cdbc952e63..6e8f1254c4 100644 --- a/ghost/admin/app/templates/launch/customise-design.hbs +++ b/ghost/admin/app/templates/launch/customise-design.hbs @@ -1,4 +1,4 @@ -
+
diff --git a/ghost/admin/app/templates/settings/design.hbs b/ghost/admin/app/templates/settings/design.hbs index 52bcd5736b..ba8418004c 100644 --- a/ghost/admin/app/templates/settings/design.hbs +++ b/ghost/admin/app/templates/settings/design.hbs @@ -34,7 +34,7 @@
{{or error.context error.message}}
{{/each}}
-
+
{{#if uploader.isUploading}} {{uploader.progressBar}} {{else if this.settings.icon}} @@ -66,7 +66,7 @@
{{or error.context error.message}}
{{/each}}
-
+
{{#if uploader.isUploading}} {{uploader.progressBar}} {{else if this.settings.logo}}