diff options
author | Corey Hulen <corey@hulen.com> | 2015-12-21 09:04:42 -0800 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-12-21 09:04:42 -0800 |
commit | a960cf5244ed930d694a4ddafb561d6d7e7a0a02 (patch) | |
tree | bfe64eb190efef860c944e7a65208259967c5028 /web/react/utils | |
parent | 840335911f613d478047eebcc1461f62b9c59612 (diff) | |
parent | 9ab31d0a2b83e8f44282fa346b7c000c325c033c (diff) | |
download | chat-a960cf5244ed930d694a4ddafb561d6d7e7a0a02.tar.gz chat-a960cf5244ed930d694a4ddafb561d6d7e7a0a02.tar.bz2 chat-a960cf5244ed930d694a4ddafb561d6d7e7a0a02.zip |
Merge pull request #1760 from asaadmahmoodspin/ui-improvements
Multiple UI Improvements
Diffstat (limited to 'web/react/utils')
-rw-r--r-- | web/react/utils/utils.jsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx index c2b2ce15a..52d88c5b9 100644 --- a/web/react/utils/utils.jsx +++ b/web/react/utils/utils.jsx @@ -617,6 +617,7 @@ export function applyTheme(theme) { if (theme.centerChannelColor) { changeCss('.sidebar--left, .sidebar--right .sidebar--right__header', 'border-color:' + changeOpacity(theme.centerChannelColor, 0.2), 1); changeCss('.app__content, .post-create__container .post-create-body .btn-file, .post-create__container .post-create-footer .msg-typing, .command-name, .modal .modal-content, .dropdown-menu, .popover, .mentions-name, .tip-overlay', 'color:' + theme.centerChannelColor, 1); + changeCss('#archive-link-home', 'background:' + changeOpacity(theme.centerChannelColor, 0.15), 1); changeCss('#post-create', 'color:' + theme.centerChannelColor, 2); changeCss('.mentions--top, .suggestion-list', 'box-shadow:' + changeOpacity(theme.centerChannelColor, 0.2) + ' 1px -3px 12px', 3); changeCss('.mentions--top, .suggestion-list', '-webkit-box-shadow:' + changeOpacity(theme.centerChannelColor, 0.2) + ' 1px -3px 12px', 2); @@ -685,11 +686,11 @@ export function applyTheme(theme) { } if (theme.mentionHighlightBg) { - changeCss('.mention-highlight, .search-highlight, #archive-link-home', 'background:' + theme.mentionHighlightBg, 1); + changeCss('.mention-highlight, .search-highlight', 'background:' + theme.mentionHighlightBg, 1); } if (theme.mentionHighlightBg) { - changeCss('.post.post--highlight, #archive-link-home', 'background:' + changeOpacity(theme.mentionHighlightBg, 0.5), 1); + changeCss('.post.post--highlight', 'background:' + changeOpacity(theme.mentionHighlightBg, 0.5), 1); } if (theme.mentionHighlightLink) { |