Skip to content
This repository was archived by the owner on Oct 25, 2023. It is now read-only.

Commit 47e4124

Browse files
committed
Added fade animation for focus message
1 parent dedd9d9 commit 47e4124

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

app/less/desktop.less

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1794,11 +1794,25 @@ a.im_panel_peer_photo .peer_initials {
17941794
max-width: 362px;
17951795
display: inline-block;
17961796
}
1797-
.im_message_selected .im_message_outer_wrap,
1798-
.im_message_focus .im_message_outer_wrap {
1797+
.im_message_selected .im_message_outer_wrap {
17991798
background: #f2f6fa;
18001799
}
18011800

1801+
.im_message_focus .im_message_outer_wrap {
1802+
background-color: rgba(242, 246, 250, 1.0);
1803+
animation-name: im_message_focus_fade;
1804+
animation-duration: 5s;
1805+
}
1806+
1807+
@keyframes im_message_focus_fade {
1808+
from {
1809+
background-color: rgba(242, 246, 250, 1.0);
1810+
}
1811+
to {
1812+
background-color: rgba(242, 246, 250, 0);
1813+
}
1814+
}
1815+
18021816
.im_history_selectable .im_message_outer_wrap {
18031817
cursor: pointer;
18041818
}

0 commit comments

Comments
 (0)