summaryrefslogtreecommitdiffstats
path: root/webapp/utils/utils.jsx
diff options
context:
space:
mode:
authorsamogot <samogot@gmail.com>2016-07-30 03:54:42 +0900
committerChristopher Speller <crspeller@gmail.com>2016-07-29 14:54:42 -0400
commit748fdef1fbded624a786533e8f065b91a047b91c (patch)
treeb329aeeed4d5cf5a1e357ddfd3bdc38c3f7ad11a /webapp/utils/utils.jsx
parentc084c4ae4d12ad92941b54cbbda623320e93be22 (diff)
downloadchat-748fdef1fbded624a786533e8f065b91a047b91c.tar.gz
chat-748fdef1fbded624a786533e8f065b91a047b91c.tar.bz2
chat-748fdef1fbded624a786533e8f065b91a047b91c.zip
Online status in all modals (#3617)
* add wrapper to modal avatar image which show small round indicator of online/away status of member in all modals * add offline indicator * the color of the status indicators follow the theme
Diffstat (limited to 'webapp/utils/utils.jsx')
-rw-r--r--webapp/utils/utils.jsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/webapp/utils/utils.jsx b/webapp/utils/utils.jsx
index 613995200..c4cee3235 100644
--- a/webapp/utils/utils.jsx
+++ b/webapp/utils/utils.jsx
@@ -575,12 +575,14 @@ export function applyTheme(theme) {
changeCss('.app__body .sidebar--left .status .online--icon', 'fill:' + theme.onlineIndicator, 1);
changeCss('.app__body .channel-header__info .status .online--icon', 'fill:' + theme.onlineIndicator, 1);
changeCss('.app__body .navbar .status .online--icon', 'fill:' + theme.onlineIndicator, 1);
+ changeCss('.more-modal__list .more-modal__image-wrapper.status-online:after', 'background:' + theme.onlineIndicator, 1);
}
if (theme.awayIndicator) {
changeCss('.app__body .sidebar--left .status .away--icon', 'fill:' + theme.awayIndicator, 1);
changeCss('.app__body .channel-header__info .status .away--icon', 'fill:' + theme.awayIndicator, 1);
changeCss('.app__body .navbar .status .away--icon', 'fill:' + theme.awayIndicator, 1);
+ changeCss('.more-modal__list .more-modal__image-wrapper.status-away:after', 'background:' + theme.awayIndicator, 1);
}
if (theme.mentionBj) {