mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Fixed publish button pulsating when running
No ref
This commit is contained in:
parent
473831ac2b
commit
2835d0a6a4
2 changed files with 10 additions and 0 deletions
|
@ -67,6 +67,7 @@
|
||||||
@successText="Scheduled"
|
@successText="Scheduled"
|
||||||
@class="gh-btn gh-btn-large"
|
@class="gh-btn gh-btn-large"
|
||||||
@idleClass="gh-btn-pulse"
|
@idleClass="gh-btn-pulse"
|
||||||
|
@runningClass="gh-btn-green"
|
||||||
@showIcon={{false}}
|
@showIcon={{false}}
|
||||||
/>
|
/>
|
||||||
{{else if @publishOptions.willOnlyEmail}}
|
{{else if @publishOptions.willOnlyEmail}}
|
||||||
|
@ -77,6 +78,7 @@
|
||||||
@successText="Sent"
|
@successText="Sent"
|
||||||
@class="gh-btn gh-btn-large"
|
@class="gh-btn gh-btn-large"
|
||||||
@idleClass="gh-btn-pulse"
|
@idleClass="gh-btn-pulse"
|
||||||
|
@runningClass="gh-btn-green"
|
||||||
@showIcon={{false}}
|
@showIcon={{false}}
|
||||||
/>
|
/>
|
||||||
{{else if this.willEmail}}
|
{{else if this.willEmail}}
|
||||||
|
@ -87,6 +89,7 @@
|
||||||
@successText="Published & sent"
|
@successText="Published & sent"
|
||||||
@class="gh-btn gh-btn-large"
|
@class="gh-btn gh-btn-large"
|
||||||
@idleClass="gh-btn-pulse"
|
@idleClass="gh-btn-pulse"
|
||||||
|
@runningClass="gh-btn-green"
|
||||||
@showIcon={{false}}
|
@showIcon={{false}}
|
||||||
/>
|
/>
|
||||||
{{else}}
|
{{else}}
|
||||||
|
@ -97,6 +100,7 @@
|
||||||
@successText="Published"
|
@successText="Published"
|
||||||
@class="gh-btn gh-btn-large"
|
@class="gh-btn gh-btn-large"
|
||||||
@idleClass="gh-btn-pulse"
|
@idleClass="gh-btn-pulse"
|
||||||
|
@runningClass="gh-btn-green"
|
||||||
@showIcon={{false}}
|
@showIcon={{false}}
|
||||||
/>
|
/>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -591,6 +591,12 @@
|
||||||
animation: pulse-green 2s infinite;
|
animation: pulse-green 2s infinite;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gh-publish-cta .gh-btn-green,
|
||||||
|
.gh-publish-cta .gh-btn-green:hover,
|
||||||
|
.gh-publish-cta .gh-btn-green:active {
|
||||||
|
background: linear-gradient(90deg,#4dd831,#1DC32E) !important;
|
||||||
|
}
|
||||||
|
|
||||||
@keyframes pulse-green {
|
@keyframes pulse-green {
|
||||||
0% {
|
0% {
|
||||||
transform: scale(0.98);
|
transform: scale(0.98);
|
||||||
|
|
Loading…
Add table
Reference in a new issue