From 64b6d8cde5cff996d1c14eecb082e1fe4caced5d Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Mon, 9 May 2016 17:14:43 +0500 Subject: DM and Modal changes (#2927) * DM and Modal changes * Fixing image previews --- webapp/utils/utils.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'webapp/utils/utils.jsx') 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) { -- cgit v1.2.3-1-g7c22