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:
parent
287c98c707
commit
16883b41a5
2 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
||||||
<dropdown.Trigger class="outline-0 pointer">
|
<dropdown.Trigger class="outline-0 pointer">
|
||||||
<div class="flex-auto flex items-center">
|
<div class="flex-auto flex items-center">
|
||||||
<div class="gh-user-avatar relative" style={{background-image-style this.session.user.profileImageUrl}}>
|
<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>
|
</div>
|
||||||
{{svg-jar "arrow-down" class="w3 mr1 fill-darkgrey"}}
|
{{svg-jar "arrow-down" class="w3 mr1 fill-darkgrey"}}
|
||||||
</div>
|
</div>
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
<button class="dropdown-item" role="menuitem" tabindex="-1" {{on "click" this.whatsNew.showModal}}>
|
<button class="dropdown-item" role="menuitem" tabindex="-1" {{on "click" this.whatsNew.showModal}}>
|
||||||
What's new?
|
What's new?
|
||||||
{{#if this.whatsNew.hasNew}}
|
{{#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}}
|
{{/if}}
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -1319,6 +1319,7 @@
|
||||||
border: 1px solid #fff;
|
border: 1px solid #fff;
|
||||||
width: 12px;
|
width: 12px;
|
||||||
height: 12px;
|
height: 12px;
|
||||||
|
background-color: var(--green);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue