From 83ead5cac7bb0d274c84d20d443c125ea0391f37 Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Mon, 30 Jan 2017 19:38:06 +0500 Subject: PLT-5122 - Switching to circular status icons (#5049) * PLT-5122 - Switching to circular status icons * Adding profile pic crop for status indicators * Updating status indicators in LHS * Updating else statements --- webapp/utils/utils.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'webapp/utils/utils.jsx') diff --git a/webapp/utils/utils.jsx b/webapp/utils/utils.jsx index a0aecbdb3..b70c98b11 100644 --- a/webapp/utils/utils.jsx +++ b/webapp/utils/utils.jsx @@ -533,14 +533,12 @@ export function applyTheme(theme) { changeCss('.app__body .status .online--icon', 'fill:' + theme.onlineIndicator); changeCss('.app__body .channel-header__info .status .online--icon', 'fill:' + theme.onlineIndicator); changeCss('.app__body .navbar .status .online--icon', 'fill:' + theme.onlineIndicator); - changeCss('.status-wrapper.status-online:after', 'background:' + theme.onlineIndicator); } if (theme.awayIndicator) { changeCss('.app__body .status .away--icon', 'fill:' + theme.awayIndicator); changeCss('.app__body .channel-header__info .status .away--icon', 'fill:' + theme.awayIndicator); changeCss('.app__body .navbar .status .away--icon', 'fill:' + theme.awayIndicator); - changeCss('.status-wrapper.status-away:after', 'background:' + theme.awayIndicator); } if (theme.mentionBj) { @@ -557,7 +555,7 @@ export function applyTheme(theme) { if (theme.centerChannelBg) { changeCss('@media(min-width: 768px){.app__body .post:hover .post__header .col__reply, .app__body .post.post--hovered .post__header .col__reply', 'background:' + theme.centerChannelBg); - changeCss('.app__body .app__content, .app__body .markdown__table, .app__body .markdown__table tbody tr, .app__body .suggestion-list__content, .app__body .modal .modal-content, .app__body .modal .modal-footer, .app__body .post.post--compact .post-image__column, .app__body .suggestion-list__divider > span', 'background:' + theme.centerChannelBg); + changeCss('.app__body .app__content, .app__body .markdown__table, .app__body .markdown__table tbody tr, .app__body .suggestion-list__content, .app__body .modal .modal-content, .app__body .modal .modal-footer, .app__body .post.post--compact .post-image__column, .app__body .suggestion-list__divider > span, .app__body .status-wrapper .status', 'background:' + theme.centerChannelBg); changeCss('#post-list .post-list-holder-by-time, .app__body .post .dropdown-menu a', 'background:' + theme.centerChannelBg); changeCss('#post-create', 'background:' + theme.centerChannelBg); changeCss('.app__body .date-separator .separator__text, .app__body .new-separator .separator__text', 'background:' + theme.centerChannelBg); -- cgit v1.2.3-1-g7c22