From b6cfe7ed7c98bc3d548622579416e1fb29aac355 Mon Sep 17 00:00:00 2001 From: Sanne de Vries Date: Fri, 7 May 2021 15:59:26 +0200 Subject: [PATCH] Updated publishmenu styles Refs https://github.com/TryGhost/Team/issues/581 --- .../components/gh-members-segment-count.hbs | 2 +- .../components/gh-members-segment-select.hbs | 1 + .../components/gh-members-segment-select.js | 4 +- .../app/components/gh-publishmenu-draft.hbs | 2 +- ghost/admin/app/styles/app-dark.css | 22 +++++++ .../app/styles/components/power-select.css | 58 +++++++++---------- .../app/styles/components/publishmenu.css | 14 ++++- 7 files changed, 68 insertions(+), 35 deletions(-) diff --git a/ghost/admin/app/components/gh-members-segment-count.hbs b/ghost/admin/app/components/gh-members-segment-count.hbs index 3a9aad3acd..0f39086866 100644 --- a/ghost/admin/app/components/gh-members-segment-count.hbs +++ b/ghost/admin/app/components/gh-members-segment-count.hbs @@ -4,6 +4,6 @@ {{did-insert (perform this.fetchTotalsTask)}} {{did-update (perform this.fetchSegmentTotalTask) @segment}} > - {{format-number this.segmentTotal}} / {{format-number this.total}} members + {{format-number this.segmentTotal}} members {{/if}} \ No newline at end of file diff --git a/ghost/admin/app/components/gh-members-segment-select.hbs b/ghost/admin/app/components/gh-members-segment-select.hbs index 7fe953bad7..ed40842117 100644 --- a/ghost/admin/app/components/gh-members-segment-select.hbs +++ b/ghost/admin/app/components/gh-members-segment-select.hbs @@ -7,6 +7,7 @@ @renderInPlace={{this.renderInPlace}} @onChange={{this.setSegment}} @disabled={{@disabled}} + @class="select-members" as |option| > {{option.name}} diff --git a/ghost/admin/app/components/gh-members-segment-select.js b/ghost/admin/app/components/gh-members-segment-select.js index 33aa777b18..93106f8c47 100644 --- a/ghost/admin/app/components/gh-members-segment-select.js +++ b/ghost/admin/app/components/gh-members-segment-select.js @@ -50,11 +50,11 @@ export default class GhMembersSegmentSelect extends Component { const options = yield [{ name: 'Free members', segment: 'status:free', - class: 'segment-status' + class: 'segment-status-free' }, { name: 'Paid members', segment: 'status:-free', // paid & comped - class: 'segment-status' + class: 'segment-status-paid' }]; // fetch all labels w̶i̶t̶h̶ c̶o̶u̶n̶t̶s̶ diff --git a/ghost/admin/app/components/gh-publishmenu-draft.hbs b/ghost/admin/app/components/gh-publishmenu-draft.hbs index 1818cd2df7..4923e0b799 100644 --- a/ghost/admin/app/components/gh-publishmenu-draft.hbs +++ b/ghost/admin/app/components/gh-publishmenu-draft.hbs @@ -36,7 +36,7 @@

{{html-safe this.sendingEmailLimitError}}

{{else}}
- +