1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 23:47:32 +02:00

Tweak user card UI

This commit is contained in:
Toby Zerner
2015-05-06 11:24:42 +09:30
parent 92c1ee26c8
commit 707c60d3ab
2 changed files with 8 additions and 4 deletions

View File

@@ -203,12 +203,15 @@
& .user-card {
position: absolute;
top: 100%;
top: -10px;
left: -100px;
z-index: @zindex-popover;
.transition(~"opacity 0.2s, margin-top 0.2s");
.transition(~"opacity 0.2s, transform 0.2s");
transform: scale(0.95);
transform-origin: left top;
&.in {
margin-top: 5px;
transform: scale(1);
}
}
}