diff options
author | Wu Cheng-Han | 2016-07-30 11:30:12 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-07-30 11:30:12 +0800 |
commit | a8c12d0d216276015d5bc57f17cf7306191fd125 (patch) | |
tree | 079b40b637ce11b9342cedb5e6cde09d466fada8 | |
parent | d4804f7aa579ac90776c6c544dd8c1b29beefdc8 (diff) |
Update user color style in online user list to make it super obvious
Diffstat (limited to '')
-rw-r--r-- | public/js/index.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/public/js/index.js b/public/js/index.js index ac45d220..67ef45b3 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -2663,9 +2663,10 @@ function renderUserStatusList(list) { var usericon = $(item.elm).find('.ui-user-icon'); if (item.values().login && 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 usericon.css('margin-right', '6px'); + $(item.elm).css('border-left', '4px solid ' + item.values().color); + usericon.css('margin-left', '-4px'); } else { usericon.css('background-color', item.values().color); } |