mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Applied green color to publish button in preview
This commit is contained in:
parent
f1984f617d
commit
ce43df193f
4 changed files with 4 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
<GhBasicDropdown @verticalPosition="below" @onOpen={{action "open"}} @onClose={{action "close"}} as |dd|>
|
||||
<dd.Trigger class="gh-btn gh-btn-editor {{if (or (eq this.displayState "published") (eq this.displayState "scheduled")) "green"}} gh-publishmenu-trigger">
|
||||
<dd.Trigger class="gh-btn gh-btn-editor {{if (or (eq this.displayState "published") (eq this.displayState "scheduled") (eq this.uiContext "preview")) "green"}} gh-publishmenu-trigger">
|
||||
<span data-test-publishmenu-trigger>{{this.triggerText}} {{svg-jar "arrow-down"}}</span>
|
||||
</dd.Trigger>
|
||||
|
||||
|
|
|
@ -21,7 +21,8 @@
|
|||
@postStatus={{@model.post.status}}
|
||||
@saveTask={{@model.saveTask}}
|
||||
@setSaveType={{@model.setEditorSaveType}}
|
||||
@memberCount={{@model.memberCount}} />
|
||||
@memberCount={{@model.memberCount}}
|
||||
@uiContext="preview" />
|
||||
</header>
|
||||
|
||||
{{#if (eq this.tab "browser")}}
|
||||
|
|
|
@ -451,13 +451,9 @@
|
|||
font-size: 1.35rem;
|
||||
font-weight: 500;
|
||||
color: var(--green-d1);
|
||||
letter-spacing: 0.2px;
|
||||
height: 33px;
|
||||
padding: 5px 12px 6px;
|
||||
margin-right: 8px;
|
||||
outline: none;
|
||||
border: none;
|
||||
border-radius: 3px;
|
||||
white-space: nowrap;
|
||||
transition: all 0.25s ease;
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
{{#unless this.post.isNew}}
|
||||
{{#if this.post.isDraft}}
|
||||
<div>
|
||||
<button type="button" class="gh-editor-preview-trigger" {{on "click" (action "togglePostPreviewModal")}}>
|
||||
<button type="button" class="gh-btn gh-editor-preview-trigger" {{on "click" (action "togglePostPreviewModal")}}>
|
||||
<span>Preview</span>
|
||||
</button>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue