Update user color style in online user list to make it super obvious
This commit is contained in:
parent
d4804f7aa5
commit
a8c12d0d21
1 changed files with 2 additions and 1 deletions
|
@ -2663,9 +2663,10 @@ function renderUserStatusList(list) {
|
||||||
var usericon = $(item.elm).find('.ui-user-icon');
|
var usericon = $(item.elm).find('.ui-user-icon');
|
||||||
if (item.values().login && item.values().photo) {
|
if (item.values().login && item.values().photo) {
|
||||||
usericon.css('background-image', 'url(' + item.values().photo + ')');
|
usericon.css('background-image', 'url(' + item.values().photo + ')');
|
||||||
usericon.css('box-shadow', '0px 0px 2px ' + item.values().color);
|
|
||||||
//add 1px more to right, make it feel aligned
|
//add 1px more to right, make it feel aligned
|
||||||
usericon.css('margin-right', '6px');
|
usericon.css('margin-right', '6px');
|
||||||
|
$(item.elm).css('border-left', '4px solid ' + item.values().color);
|
||||||
|
usericon.css('margin-left', '-4px');
|
||||||
} else {
|
} else {
|
||||||
usericon.css('background-color', item.values().color);
|
usericon.css('background-color', item.values().color);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue