mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 10:26:28 +00:00
Change the layout of the message boxes in the message pane and make other message-related adjustments.
Specifically: * Leave the avatar image as inline and round it. * Move timestamp to the left column. * Replace the "Info" link with a permanent info sign. * Move the pointer bar to the left. * Remove borders * Change selection background colors, and PM colors. * Introduce the "narrowing" icon into our FontAwesome set. * Modify the tests to account for the new "narrowing" icon and fixed a bug in star-finding. * Clean up CSS and add a more prominent color to private messages (imported from commit 8a8d6de8acccc52c0d16f5d1ce31aabdc72c88c8)
This commit is contained in:
committed by
Leo Franchi
parent
dc738d01a4
commit
93a2e23e96
@@ -90,7 +90,7 @@ exports.decorate_stream_bar = function (stream_name) {
|
||||
};
|
||||
|
||||
function messages_to_fade() {
|
||||
var all_elts = rows.get_table(current_msg_list.table_name).find(".recipient_row, .messagebox");
|
||||
var all_elts = rows.get_table(current_msg_list.table_name).find(".recipient_row, .message_row");
|
||||
var i, elts_to_fade = [];
|
||||
var different_recipient = false;
|
||||
// Note: The below algorithm relies on the fact that all_elts is
|
||||
@@ -117,7 +117,7 @@ exports.unfade_messages = function (clear_state) {
|
||||
}
|
||||
|
||||
var fade_class = narrow.active() ? "message_reply_fade_narrowed" : "message_reply_fade";
|
||||
rows.get_table(current_msg_list.table_name).find(".recipient_row, .messagebox").removeClass(fade_class);
|
||||
rows.get_table(current_msg_list.table_name).find(".recipient_row, .message_row").removeClass(fade_class);
|
||||
if (clear_state === true) {
|
||||
faded_to = undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user