Skip to content
Snippets Groups Projects
Commit f42665d4 authored by syuilo's avatar syuilo
Browse files

🎨

parent a5eb19c8
No related branches found
No related tags found
No related merge requests found
<template>
<div class="mk-notify">
<mk-notification-preview :notification="notification"/>
<div>
<mk-notification-preview :notification="notification"/>
</div>
</div>
</template>
......@@ -22,7 +24,7 @@ export default Vue.extend({
setTimeout(() => {
anime({
targets: this.$el,
bottom: '-64px',
bottom: '-72px',
duration: 500,
easing: 'easeOutQuad',
complete: () => this.$destroy()
......@@ -37,13 +39,22 @@ export default Vue.extend({
.mk-notify
position fixed
z-index 1024
bottom -64px
bottom -72px
left 0
right 0
width 100%
height 64px
max-width 500px
height 72px
margin 0 auto
padding 8px
pointer-events none
-webkit-backdrop-filter blur(2px)
backdrop-filter blur(2px)
background-color rgba(#000, 0.5)
font-size 80%
> div
height 100%
-webkit-backdrop-filter blur(2px)
backdrop-filter blur(2px)
background-color rgba(#000, 0.5)
border-radius 6px
</style>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment