Use neutral badge for drafts
This commit is contained in:
parent
5206609812
commit
b27f696d77
5 changed files with 24 additions and 1 deletions
|
|
@ -20,6 +20,7 @@
|
|||
<div
|
||||
v-if="item.badgeGetter && getters[item.badgeGetter]"
|
||||
class="badge -dot -notification"
|
||||
:class="[`alert-dot-${item.badgeStyle}`]"
|
||||
/>
|
||||
</router-link>
|
||||
</span>
|
||||
|
|
@ -34,6 +35,16 @@
|
|||
overflow: hidden;
|
||||
height: 100%;
|
||||
|
||||
&.alert-dot-notification {
|
||||
background-color: $fallback--cRed;
|
||||
background-color: var(--badgeNotification, $fallback--cRed);
|
||||
}
|
||||
|
||||
&.alert-dot-neutral {
|
||||
background-color: $fallback--cGreen;
|
||||
background-color: var(--badgeNeutral, $fallback--cGreen);
|
||||
}
|
||||
|
||||
.pinned-item {
|
||||
position: relative;
|
||||
flex: 1 0 3em;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue