updated protocols

This commit is contained in:
Andrew Gundersen 2021-07-11 11:54:39 -05:00
commit 531a32a5a5
37 changed files with 682 additions and 650 deletions

View file

@ -1,6 +1,7 @@
<template>
<div :class="`bubble ${modifier}-bubble ${modifier}-${child}`">
{{ content }}
<div v-show="!seen" class="notify"></div>
{{ text }}
</div>
</template>
@ -11,7 +12,7 @@
export default defineComponent({
name: "Bubble",
props: ["modifier", "content", "child"],
props: ["modifier", "text", "child", "seen"],
})
@ -70,4 +71,28 @@
border-top-right-radius: 9px;
}
.notify {
position: absolute;
width: 12px;
height: 12px;
border-radius: 50%;
background-color: #58D9FF;
top: -5px;
left: -5px;
border: 2px solid #EBEBEB;
// transform: scale(0);
// animation-name: notify-anim;
// animation-duration: 5s;
}
@keyframes notify-anim {
0%, 90% {
transform: scale(1);
}
100% {
transform: scale(0);
}
}
</style>