mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 11:57:34 -07:00
[Client] 🎨
This commit is contained in:
parent
d07c6fcfe4
commit
b784c67634
3 changed files with 11 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "misskey",
|
"name": "misskey",
|
||||||
"author": "syuilo <i@syuilo.com>",
|
"author": "syuilo <i@syuilo.com>",
|
||||||
"version": "0.0.1414",
|
"version": "0.0.1419",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"description": "A miniblog-based SNS",
|
"description": "A miniblog-based SNS",
|
||||||
"bugs": "https://github.com/syuilo/misskey/issues",
|
"bugs": "https://github.com/syuilo/misskey/issues",
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
width 100%
|
width 100%
|
||||||
height 100%
|
height 100%
|
||||||
background rgba(0, 0, 0, 0.1)
|
background rgba(0, 0, 0, 0.1)
|
||||||
|
opacity 0
|
||||||
|
|
||||||
> .popover
|
> .popover
|
||||||
position absolute
|
position absolute
|
||||||
|
@ -130,9 +131,16 @@
|
||||||
this.refs.popover.style.top = y + 'px';
|
this.refs.popover.style.top = y + 'px';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
anime({
|
||||||
|
targets: this.refs.backdrop,
|
||||||
|
opacity: 1,
|
||||||
|
duration: 100,
|
||||||
|
easing: 'linear'
|
||||||
|
});
|
||||||
|
|
||||||
anime({
|
anime({
|
||||||
targets: this.refs.popover,
|
targets: this.refs.popover,
|
||||||
opacity: [0, 1],
|
opacity: 1,
|
||||||
scale: [0.5, 1],
|
scale: [0.5, 1],
|
||||||
duration: 500
|
duration: 500
|
||||||
});
|
});
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
targets: this.root,
|
targets: this.root,
|
||||||
opacity: 1,
|
opacity: 1,
|
||||||
easing: 'linear',
|
easing: 'linear',
|
||||||
duration: 50
|
duration: 100
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue