diff options
author | Asaad Mahmood <asaadmahmoodspin@users.noreply.github.com> | 2016-05-09 17:14:43 +0500 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-05-09 08:14:43 -0400 |
commit | 64b6d8cde5cff996d1c14eecb082e1fe4caced5d (patch) | |
tree | 19c306548d9b6c11f89f3801bd6a50ebf71dce5d /webapp/utils | |
parent | b4d28fe205e9bfb8d2d67526855f105eec4dfe4e (diff) | |
download | chat-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')
-rw-r--r-- | webapp/utils/constants.jsx | 2 | ||||
-rw-r--r-- | webapp/utils/utils.jsx | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx index 7a900dca5..109291d1f 100644 --- a/webapp/utils/constants.jsx +++ b/webapp/utils/constants.jsx @@ -327,7 +327,7 @@ export default { sidebarText: '#fff', sidebarUnreadText: '#fff', sidebarTextHoverBg: '#4A5664', - sidebarTextActiveBorder: '#39769C', + sidebarTextActiveBorder: '#66B9A7', sidebarTextActiveColor: '#FFFFFF', sidebarHeaderBg: '#1B2C3E', sidebarHeaderTextColor: '#FFFFFF', 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) { |