This commit is contained in:
syuilo 2021-02-14 22:52:45 +09:00
parent 1eda7c8565
commit f1a861d1c1
1 changed files with 13 additions and 2 deletions

View File

@ -10,7 +10,7 @@
</button> </button>
</div> </div>
<div class="right"> <div class="right">
<MkA class="item" to="/my/notifications"><Fa :icon="faBell"/></MkA> <MkA class="item" to="/my/notifications"><Fa :icon="faBell"/><i v-if="$i.hasUnreadNotification"><Fa :icon="faCircle"/></i></MkA>
</div> </div>
</header> </header>
<div class="body"> <div class="body">
@ -283,7 +283,18 @@ export default defineComponent({
padding: 10px; padding: 10px;
box-sizing: border-box; box-sizing: border-box;
margin-right: 4px; margin-right: 4px;
opacity: 0.6; //opacity: 0.6;
position: relative;
> i {
position: absolute;
top: 8px;
right: 8px;
color: var(--indicator);
font-size: 8px;
line-height: 8px;
animation: blink 1s infinite;
}
} }
} }
} }