Browse Source

Added fade animation for focus message

master
Igor Zhukov 10 years ago
parent
commit
47e4124cb0
  1. 18
      app/less/desktop.less

18
app/less/desktop.less

@ -1794,11 +1794,25 @@ a.im_panel_peer_photo .peer_initials {
max-width: 362px; max-width: 362px;
display: inline-block; display: inline-block;
} }
.im_message_selected .im_message_outer_wrap, .im_message_selected .im_message_outer_wrap {
.im_message_focus .im_message_outer_wrap {
background: #f2f6fa; 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 { .im_history_selectable .im_message_outer_wrap {
cursor: pointer; cursor: pointer;
} }

Loading…
Cancel
Save