Added fade animation for focus message

This commit is contained in:
Igor Zhukov 2015-07-09 11:44:50 +03:00
parent dedd9d9c7c
commit 47e4124cb0

View File

@ -1794,11 +1794,25 @@ a.im_panel_peer_photo .peer_initials {
max-width: 362px;
display: inline-block;
}
.im_message_selected .im_message_outer_wrap,
.im_message_focus .im_message_outer_wrap {
.im_message_selected .im_message_outer_wrap {
background: #f2f6fa;
}
.im_message_focus .im_message_outer_wrap {
background-color: rgba(242, 246, 250, 1.0);
animation-name: im_message_focus_fade;
animation-duration: 5s;
}
@keyframes im_message_focus_fade {
from {
background-color: rgba(242, 246, 250, 1.0);
}
to {
background-color: rgba(242, 246, 250, 0);
}
}
.im_history_selectable .im_message_outer_wrap {
cursor: pointer;
}