From 8e702e420e291000b898c451eeb87d0eb69033f4 Mon Sep 17 00:00:00 2001 From: Sanne de Vries Date: Fri, 5 Feb 2021 10:17:58 +0100 Subject: [PATCH] Improved nav buttons in launch-site wizard Refs https://github.com/TryGhost/Team/issues/460 --- .../components/gh-launch-wizard/connect-stripe.hbs | 4 ++-- .../components/gh-launch-wizard/customise-design.hbs | 2 +- .../app/components/gh-launch-wizard/finalise.hbs | 4 ++-- .../app/components/gh-launch-wizard/set-pricing.hbs | 11 ++++++----- ghost/admin/app/styles/patterns/buttons.css | 9 +++++++-- ghost/admin/public/assets/icons/arrow-left-tail.svg | 4 ++++ ghost/admin/public/assets/icons/arrow-right-tail.svg | 4 ++++ 7 files changed, 26 insertions(+), 12 deletions(-) create mode 100644 ghost/admin/public/assets/icons/arrow-left-tail.svg create mode 100644 ghost/admin/public/assets/icons/arrow-right-tail.svg diff --git a/ghost/admin/app/components/gh-launch-wizard/connect-stripe.hbs b/ghost/admin/app/components/gh-launch-wizard/connect-stripe.hbs index 94e7f29027..6f1f525331 100644 --- a/ghost/admin/app/components/gh-launch-wizard/connect-stripe.hbs +++ b/ghost/admin/app/components/gh-launch-wizard/connect-stripe.hbs @@ -93,13 +93,13 @@ {{/if}}
- +
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 bac59cbf20..5ef1c265e9 100644 --- a/ghost/admin/app/components/gh-launch-wizard/customise-design.hbs +++ b/ghost/admin/app/components/gh-launch-wizard/customise-design.hbs @@ -156,7 +156,7 @@
- +
\ No newline at end of file diff --git a/ghost/admin/app/components/gh-launch-wizard/finalise.hbs b/ghost/admin/app/components/gh-launch-wizard/finalise.hbs index e3bae8b5ea..05781adf44 100644 --- a/ghost/admin/app/components/gh-launch-wizard/finalise.hbs +++ b/ghost/admin/app/components/gh-launch-wizard/finalise.hbs @@ -5,12 +5,12 @@

You can further customise your site in Settings.

- +
diff --git a/ghost/admin/app/components/gh-launch-wizard/set-pricing.hbs b/ghost/admin/app/components/gh-launch-wizard/set-pricing.hbs index 292c4eee60..f47ed90c67 100644 --- a/ghost/admin/app/components/gh-launch-wizard/set-pricing.hbs +++ b/ghost/admin/app/components/gh-launch-wizard/set-pricing.hbs @@ -117,15 +117,16 @@
- + {{!-- TODO: reset "failed" state automatically --}} + > + Save and continue{{svg-jar "arrow-right-tail"}} +
\ No newline at end of file diff --git a/ghost/admin/app/styles/patterns/buttons.css b/ghost/admin/app/styles/patterns/buttons.css index 69229c28b1..ca624c4eb0 100644 --- a/ghost/admin/app/styles/patterns/buttons.css +++ b/ghost/admin/app/styles/patterns/buttons.css @@ -36,11 +36,11 @@ } .gh-btn-large span { - height: 45px; + height: 48px; padding: 0 24px; font-size: 1.5rem; font-weight: 500; - line-height: 44px; + line-height: 46px; letter-spacing: .4px; } @@ -62,6 +62,7 @@ fieldset[disabled] .gh-btn { .gh-btn svg { display: inline-block; + vertical-align: middle; } /* Button highlights @@ -303,6 +304,8 @@ fieldset[disabled] .gh-btn { svg.gh-btn-icon-right { margin-left: 0.5em; margin-right: 0; + width: 16px; + height: auto; } .gh-btn-icon svg path { @@ -314,6 +317,8 @@ svg.gh-btn-icon-right { } .gh-btn-icon-grey svg { + width: 16px; + height: auto; fill: var(--midgrey); } diff --git a/ghost/admin/public/assets/icons/arrow-left-tail.svg b/ghost/admin/public/assets/icons/arrow-left-tail.svg new file mode 100644 index 0000000000..c9b0b43e19 --- /dev/null +++ b/ghost/admin/public/assets/icons/arrow-left-tail.svg @@ -0,0 +1,4 @@ + + + + diff --git a/ghost/admin/public/assets/icons/arrow-right-tail.svg b/ghost/admin/public/assets/icons/arrow-right-tail.svg new file mode 100644 index 0000000000..821e4bf739 --- /dev/null +++ b/ghost/admin/public/assets/icons/arrow-right-tail.svg @@ -0,0 +1,4 @@ + + + +