diff options
author | Asaad Mahmood <asaadmahmood@users.noreply.github.com> | 2016-12-12 20:17:20 +0500 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-12-12 10:17:20 -0500 |
commit | 32842be3094237d6dffe41b52b24b2d04f85576e (patch) | |
tree | 0125c99465fa4b6b73dbac6d4e25a9467ff3a142 /webapp/utils | |
parent | 30a10d35a8406f4af96fcc8200c4e2173856837d (diff) | |
download | chat-32842be3094237d6dffe41b52b24b2d04f85576e.tar.gz chat-32842be3094237d6dffe41b52b24b2d04f85576e.tar.bz2 chat-32842be3094237d6dffe41b52b24b2d04f85576e.zip |
Multiple Ui improvements (#4767)
* PLT-4911 - Adding new target for OAuth help links
* PLT-4953 - Fixing styles for the unread messages indicator
* PLT-4901 - Fixing header modal overlap on mobile
* PLT-4916 - Swapping position of edit and delete
Diffstat (limited to 'webapp/utils')
-rw-r--r-- | webapp/utils/utils.jsx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/webapp/utils/utils.jsx b/webapp/utils/utils.jsx index b0eca9d55..6988225a1 100644 --- a/webapp/utils/utils.jsx +++ b/webapp/utils/utils.jsx @@ -532,12 +532,12 @@ export function applyTheme(theme) { } if (theme.mentionBj) { - changeCss('.sidebar--left .nav-pills__unread-indicator', 'background:' + theme.mentionBj); + changeCss('.sidebar--left .nav-pills__unread-indicator, .app__body .new-messages__button div', 'background:' + theme.mentionBj); changeCss('.sidebar--left .badge', 'background:' + theme.mentionBj + '!important;'); } if (theme.mentionColor) { - changeCss('.sidebar--left .nav-pills__unread-indicator', 'color:' + theme.mentionColor); + changeCss('.sidebar--left .nav-pills__unread-indicator, .app__body .new-messages__button div', 'color:' + theme.mentionColor); changeCss('.sidebar--left .badge', 'color:' + theme.mentionColor + '!important;'); changeCss('.app__body .post-reaction--current-user', 'background-color:' + changeOpacity(theme.mentionColor, 0.4)); } @@ -560,7 +560,6 @@ export function applyTheme(theme) { changeCss('body.app__body', 'scrollbar-face-color:' + theme.centerChannelBg); changeCss('body.app__body', 'scrollbar-track-color:' + theme.centerChannelBg); changeCss('.app__body .post-list__new-messages-below', 'color:' + theme.centerChannelBg); - changeCss('.app__body .nav-pills__unread-indicator-bottom', 'color:' + theme.centerChannelBg); } if (theme.centerChannelColor) { @@ -645,8 +644,6 @@ export function applyTheme(theme) { changeCss('.app__body a, .app__body a:focus, .app__body a:hover, .app__body .btn, .app__body .btn:focus, .app__body .btn:hover', 'color:' + theme.linkColor); changeCss('.app__body .attachment .attachment__container', 'border-left-color:' + changeOpacity(theme.linkColor, 0.5)); changeCss('.app__body .channel-header__links .icon:hover, .app__body .post .flag-icon__container.visible, .app__body .post .comment-icon__container, .app__body .post .post__reply', 'fill:' + theme.linkColor); - changeCss('.app__body .nav-pills__unread-indicator-bottom', 'background:' + theme.linkColor); - changeCss('.app__body .nav-pills__unread-indicator-bottom:hover', 'background:' + changeColor(theme.linkColor, 0.1)); } if (theme.buttonBg) { |