diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-02-22 16:32:38 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-02-22 16:32:38 +0900 |
| commit | db40d766904994a8b2db24892fbadc11e138333b (patch) | |
| tree | 551557ec2181782f6a0cf1daa0d6d07d4f9f25b3 /src/web | |
| parent | [Client] Fix bug (diff) | |
| download | sharkey-db40d766904994a8b2db24892fbadc11e138333b.tar.gz sharkey-db40d766904994a8b2db24892fbadc11e138333b.tar.bz2 sharkey-db40d766904994a8b2db24892fbadc11e138333b.zip | |
[Client] Update design
Diffstat (limited to 'src/web')
| -rw-r--r-- | src/web/app/desktop/tags/user-preview.tag | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/web/app/desktop/tags/user-preview.tag b/src/web/app/desktop/tags/user-preview.tag index be5501ede3..4285f15ef8 100644 --- a/src/web/app/desktop/tags/user-preview.tag +++ b/src/web/app/desktop/tags/user-preview.tag @@ -24,12 +24,14 @@ display block position absolute z-index 2048 + margin-top -8px width 250px background #fff background-clip content-box border solid 1px rgba(0, 0, 0, 0.1) border-radius 4px overflow hidden + opacity 0 > .banner height 84px @@ -117,12 +119,11 @@ this.update({ user: user }); + this.open(); }); + }); - Velocity(this.root, { - opacity: 0, - 'margin-top': '-8px' - }, 0); + this.open = () => { Velocity(this.root, { opacity: 1, 'margin-top': 0 @@ -130,7 +131,7 @@ duration: 200, easing: 'ease-out' }); - }); + }; this.close = () => { Velocity(this.root, { |