From af6739af720ff2b59eeee793bc1ea6df06e572dd Mon Sep 17 00:00:00 2001 From: Peter Zimon Date: Mon, 8 Feb 2021 19:54:16 +0100 Subject: [PATCH] Updated built-in integrations --- ghost/admin/app/styles/layouts/main.css | 20 ++- ghost/admin/app/styles/layouts/settings.css | 3 +- ghost/admin/app/styles/patterns/buttons.css | 2 +- ghost/admin/app/styles/patterns/forms.css | 2 +- ghost/admin/app/templates/integrations.hbs | 4 +- .../admin/app/templates/integrations/amp.hbs | 100 +++++++------- .../templates/integrations/firstpromoter.hbs | 100 +++++++------- .../app/templates/integrations/slack.hbs | 126 +++++++++--------- .../app/templates/integrations/unsplash.hbs | 64 ++++----- 9 files changed, 221 insertions(+), 200 deletions(-) diff --git a/ghost/admin/app/styles/layouts/main.css b/ghost/admin/app/styles/layouts/main.css index a0f4d1dbba..743a1868df 100644 --- a/ghost/admin/app/styles/layouts/main.css +++ b/ghost/admin/app/styles/layouts/main.css @@ -967,10 +967,13 @@ grid-column-gap: 3vw; } -.gh-main-section.no-heading { +.gh-main-section.no-heading, +.gh-main-section.bt { border-top: 1px solid var(--whitegrey); } +.gh-main-section.bb { border-bottom: 1px solid var(--whitegrey); } + .gh-main-section .heading, .gh-main-section-block .heading { font-size: 1.7rem; @@ -981,17 +984,26 @@ margin: 0; } +.gh-main-section .heading.list, +.gh-main-section .heading { + font-size: 1.1rem; + text-transform: uppercase; + letter-spacing: 0.2px; + font-weight: 500; + padding: 12px 0; +} + .gh-main-section .heading.bn { border: none; } .gh-main-section .description, .gh-main-section-block .description { - font-size: 1.4rem; + font-size: 1.2rem; font-weight: 400; - color: var(--darkgrey); + color: var(--middarkgrey); border-bottom: 1px solid var(--whitegrey); - padding: 2px 0 8px; + padding: 0 0 8px; margin: 0; } diff --git a/ghost/admin/app/styles/layouts/settings.css b/ghost/admin/app/styles/layouts/settings.css index a46c34e82f..5fe09d1ad7 100644 --- a/ghost/admin/app/styles/layouts/settings.css +++ b/ghost/admin/app/styles/layouts/settings.css @@ -202,10 +202,11 @@ } .gh-setting-desc { - line-height: 1.3em; + line-height: 1.4em; color: var(--middarkgrey); letter-spacing: 0.3px; font-size: 1.3rem; + font-weight: 400; } .gh-setting-error { diff --git a/ghost/admin/app/styles/patterns/buttons.css b/ghost/admin/app/styles/patterns/buttons.css index c191cef4ae..4aa7b33fcb 100644 --- a/ghost/admin/app/styles/patterns/buttons.css +++ b/ghost/admin/app/styles/patterns/buttons.css @@ -65,7 +65,7 @@ .gh-btn.disabled, .gh-btn[disabled], fieldset[disabled] .gh-btn { - opacity: 0.8; + opacity: 0.5; cursor: not-allowed; pointer-events: none; } diff --git a/ghost/admin/app/styles/patterns/forms.css b/ghost/admin/app/styles/patterns/forms.css index acd94e9d86..4fc7253f1f 100644 --- a/ghost/admin/app/styles/patterns/forms.css +++ b/ghost/admin/app/styles/patterns/forms.css @@ -69,7 +69,7 @@ input { margin: 4px 0 0 0; color: var(--middarkgrey); font-size: 1.3rem; - font-weight: 300; + font-weight: 400; } .form-group p.green { diff --git a/ghost/admin/app/templates/integrations.hbs b/ghost/admin/app/templates/integrations.hbs index bffe1ebc82..104f7d55e7 100644 --- a/ghost/admin/app/templates/integrations.hbs +++ b/ghost/admin/app/templates/integrations.hbs @@ -60,7 +60,7 @@
-

Built-in integrations

+

Built-in integrations

@@ -181,7 +181,7 @@
-

Custom integrations

+

Custom integrations

{{#each this.integrations as |integration|}}
diff --git a/ghost/admin/app/templates/integrations/amp.hbs b/ghost/admin/app/templates/integrations/amp.hbs index 24d71df21d..d2cee07ade 100644 --- a/ghost/admin/app/templates/integrations/amp.hbs +++ b/ghost/admin/app/templates/integrations/amp.hbs @@ -6,7 +6,7 @@ AMP
- +
@@ -17,63 +17,65 @@ @modifier="action wide" /> {{/if}} -
-
-
-
+
+
+
+
-
-
-

AMP

-

Accelerated Mobile Pages

+
+

AMP

+

Accelerated Mobile Pages

+
-
AMP configuration
-
-
-
-
Enable AMP
-
Enable Google Accelerated Mobile Pages for your posts
-
-
-
- +
+

AMP configuration

+
+
+
+
Enable AMP
+
Enable Google Accelerated Mobile Pages for your posts
+
+
+
+ +
-
- {{#liquid-if this.settings.amp class="nl5 nr5"}} -
-
-
Google Analytics Tracking ID
-
Tracks AMP traffic in Google Analytics, find your ID here
-
- - - - + {{#liquid-if this.settings.amp class="nl5 nr5"}} +
+
+
Google Analytics Tracking ID
+
Tracks AMP traffic in Google Analytics, find your ID here
+
+ + + + +
+ {{/liquid-if}}
- {{/liquid-if}} -
+
diff --git a/ghost/admin/app/templates/integrations/firstpromoter.hbs b/ghost/admin/app/templates/integrations/firstpromoter.hbs index fa718cac11..afc6f0beae 100644 --- a/ghost/admin/app/templates/integrations/firstpromoter.hbs +++ b/ghost/admin/app/templates/integrations/firstpromoter.hbs @@ -6,7 +6,7 @@ FirstPromoter
- +
@@ -17,63 +17,65 @@ @modifier="action wide" /> {{/if}} -
-
-
-
+
+
+
+
-
-
-

FirstPromoter

-

Launch your own member referral program

+
+

FirstPromoter

+

Launch your own member referral program

+
-
FirstPromoter configuration
-
-
-
-
Enable FirstPromoter
-
Enable FirstPromoter for tracking referrals
-
-
-
- +
+

FirstPromoter configuration

+
+
+
+
Enable FirstPromoter
+
Enable FirstPromoter for tracking referrals
+
+
+
+ +
-
- {{#liquid-if this.settings.firstpromoter class="nl5 nr5"}} -
-
-
FirstPromoter Account ID
-
Affiliate and referral tracking, find your ID here
-
- - - - + {{#liquid-if this.settings.firstpromoter class="nl5 nr5"}} +
+
+
FirstPromoter Account ID
+
Affiliate and referral tracking, find your ID here
+
+ + + + +
+ {{/liquid-if}}
- {{/liquid-if}} -
+
diff --git a/ghost/admin/app/templates/integrations/slack.hbs b/ghost/admin/app/templates/integrations/slack.hbs index ef476d579d..2209c45e8a 100644 --- a/ghost/admin/app/templates/integrations/slack.hbs +++ b/ghost/admin/app/templates/integrations/slack.hbs @@ -6,7 +6,7 @@ Slack
- +
@@ -17,75 +17,77 @@ @modifier="action wide" /> {{/if}} -
-
-
-
+
+
+
+
-
-
-

Slack

-

A messaging app for teams

+
+

Slack

+

A messaging app for teams

+
-
-
Slack configuration
+
+

Slack configuration

+ -
-
-
-
Webhook URL
-
Automatically send newly published posts to a channel in Slack or any Slack-compatible service like Discord or Mattermost.
-
- - - {{#unless this.slackSettings.errors.url}} -

Set up a new incoming webhook here, and grab the URL.

- {{else}} - - {{/unless}} -
+
+
+
+
Webhook URL
+
Automatically send newly published posts to a channel in Slack or any Slack-compatible service like Discord or Mattermost.
+
+ + + {{#unless this.slackSettings.errors.url}} +

Set up a new incoming webhook here, and grab the URL.

+ {{else}} + + {{/unless}} +
+
+
+
+
+
+
Username
+
The username to display messages from
+
+ + + {{#if this.slackSettings.errors.username}} + + {{/if}} + +
+
-
-
-
Username
-
The username to display messages from
-
- - - {{#if this.slackSettings.errors.username}} - - {{/if}} - -
- -
-
-
- + +
diff --git a/ghost/admin/app/templates/integrations/unsplash.hbs b/ghost/admin/app/templates/integrations/unsplash.hbs index dde853de46..b605699f34 100644 --- a/ghost/admin/app/templates/integrations/unsplash.hbs +++ b/ghost/admin/app/templates/integrations/unsplash.hbs @@ -6,7 +6,7 @@ Unsplash
- +
@@ -17,44 +17,46 @@ @modifier="action wide" /> {{/if}} -
-
-
-
+
+
+
+
-
-
-

Unsplash

-

Beautiful, free photos

+
+

Unsplash

+

Beautiful, free photos

+
-
Unsplash configuration
-
-
-
-
Enable Unsplash
-
Enable Unsplash image integration for your posts
-
-
-
-
- +
+

Unsplash configuration

+
+
+
+
Enable Unsplash
+
Enable Unsplash image integration for your posts
+
+
+
+
+ +
-
+