summaryrefslogtreecommitdiffstats
path: root/webapp/utils/utils.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <asaadmahmoodspin@users.noreply.github.com>2016-05-09 17:14:43 +0500
committerJoram Wilander <jwawilander@gmail.com>2016-05-09 08:14:43 -0400
commit64b6d8cde5cff996d1c14eecb082e1fe4caced5d (patch)
tree19c306548d9b6c11f89f3801bd6a50ebf71dce5d /webapp/utils/utils.jsx
parentb4d28fe205e9bfb8d2d67526855f105eec4dfe4e (diff)
downloadchat-64b6d8cde5cff996d1c14eecb082e1fe4caced5d.tar.gz
chat-64b6d8cde5cff996d1c14eecb082e1fe4caced5d.tar.bz2
chat-64b6d8cde5cff996d1c14eecb082e1fe4caced5d.zip
DM and Modal changes (#2927)
* DM and Modal changes * Fixing image previews
Diffstat (limited to 'webapp/utils/utils.jsx')
-rw-r--r--webapp/utils/utils.jsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/webapp/utils/utils.jsx b/webapp/utils/utils.jsx
index 9d4ddee53..2f728226c 100644
--- a/webapp/utils/utils.jsx
+++ b/webapp/utils/utils.jsx
@@ -590,7 +590,7 @@ export function toTitleCase(str) {
export function applyTheme(theme) {
if (theme.sidebarBg) {
- changeCss('.app__body .sidebar--left, .app__body .modal .settings-modal .settings-table .settings-links, .app__body .sidebar--menu', 'background:' + theme.sidebarBg, 1);
+ changeCss('.app__body .sidebar--left, .app__body .sidebar--left .sidebar__divider .sidebar__divider__text, .app__body .modal .settings-modal .settings-table .settings-links, .app__body .sidebar--menu', 'background:' + theme.sidebarBg, 1);
changeCss('body.app__body', 'scrollbar-face-color:' + theme.sidebarBg, 3);
}
@@ -614,6 +614,8 @@ export function applyTheme(theme) {
if (theme.sidebarTextActiveBorder) {
changeCss('.app__body .sidebar--left .nav li.active a:before, .app__body .modal .settings-modal .nav-pills>li.active a:before', 'background:' + theme.sidebarTextActiveBorder, 1);
+ changeCss('.app__body .sidebar--left .sidebar__divider:before', 'background:' + changeOpacity(theme.sidebarTextActiveBorder, 0.5), 1);
+ changeCss('.app__body .sidebar--left .sidebar__divider', 'color:' + theme.sidebarTextActiveBorder, 1);
}
if (theme.sidebarTextActiveColor) {