summaryrefslogtreecommitdiffstats
path: root/webapp/utils/utils.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <asaadmahmood@users.noreply.github.com>2017-01-30 19:38:06 +0500
committerCorey Hulen <corey@hulen.com>2017-01-30 09:38:06 -0500
commit83ead5cac7bb0d274c84d20d443c125ea0391f37 (patch)
treea241019c84272e07ffb37d09447f3ea71cf934bd /webapp/utils/utils.jsx
parentc01d9ad6cf3f8bb2ad4145441816598d8ffa2d9e (diff)
downloadchat-83ead5cac7bb0d274c84d20d443c125ea0391f37.tar.gz
chat-83ead5cac7bb0d274c84d20d443c125ea0391f37.tar.bz2
chat-83ead5cac7bb0d274c84d20d443c125ea0391f37.zip
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
Diffstat (limited to 'webapp/utils/utils.jsx')
-rw-r--r--webapp/utils/utils.jsx4
1 files changed, 1 insertions, 3 deletions
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);