0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Changed styling of what's-new indicator

This commit is contained in:
Sanne de Vries 2021-03-10 13:20:55 +01:00
parent 287c98c707
commit 16883b41a5
2 changed files with 3 additions and 2 deletions

View file

@ -5,7 +5,7 @@
<dropdown.Trigger class="outline-0 pointer">
<div class="flex-auto flex items-center">
<div class="gh-user-avatar relative" style={{background-image-style this.session.user.profileImageUrl}}>
{{#if this.whatsNew.hasNew}}<span class="absolute dib bg-blue ba b--white br-100 gh-whats-new-badge-account"></span>{{/if}}
{{#if this.whatsNew.hasNew}}<span class="absolute dib ba b--white br-100 gh-whats-new-badge-account"></span>{{/if}}
</div>
{{svg-jar "arrow-down" class="w3 mr1 fill-darkgrey"}}
</div>
@ -32,7 +32,7 @@
<button class="dropdown-item" role="menuitem" tabindex="-1" {{on "click" this.whatsNew.showModal}}>
What's new?
{{#if this.whatsNew.hasNew}}
<div class="flex-grow-1 flex justify-end"><span class="dib w2 h2 top-0 right-0 bg-blue br-100"></span></div>
<div class="flex-grow-1 flex justify-end"><span class="dib w2 h2 top-0 right-0 bg-green br-100"></span></div>
{{/if}}
</button>
</li>

View file

@ -1319,6 +1319,7 @@
border: 1px solid #fff;
width: 12px;
height: 12px;
background-color: var(--green);
}