mirror of https://github.com/zulip/zulip.git
Add grey idle icon
(imported from commit f04d74a999a16d0118fdccccf8dcffe9d3da6bb0)
This commit is contained in:
parent
6efcfdf593
commit
a86599fc28
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
|
@ -949,6 +949,9 @@ exports.set_presence_list = function(users, presence_info) {
|
|||
case activity.user_away:
|
||||
user.addClass('away-icon');
|
||||
break;
|
||||
case activity.user_idle:
|
||||
user.addClass('idle-icon')
|
||||
break;
|
||||
}
|
||||
|
||||
$('#user_presences').append(user);
|
||||
|
|
|
@ -95,26 +95,21 @@ a:hover code {
|
|||
overflow-y: auto;
|
||||
}
|
||||
|
||||
#user_presences li {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
#user_presences li.active-icon {
|
||||
margin-left: 0px;
|
||||
}
|
||||
#user_presences li.active-icon:before {
|
||||
content: url(/static/images/presence/user-active.png);
|
||||
margin-right: 6px; /* +9px image = 15px */
|
||||
}
|
||||
|
||||
#user_presences li.away-icon {
|
||||
margin-left: 0px;
|
||||
}
|
||||
#user_presences li.away-icon:before {
|
||||
content: url(/static/images/presence/user-away.png);
|
||||
margin-right: 6px; /* +9px image = 15px */
|
||||
}
|
||||
|
||||
#user_presences li.idle-icon:before {
|
||||
content: url(/static/images/presence/user-idle.png);
|
||||
margin-right: 6px; /* +9px image = 15px */
|
||||
}
|
||||
|
||||
ul.filters {
|
||||
list-style-type: none;
|
||||
padding-right: 1em;
|
||||
|
|
Loading…
Reference in New Issue