diff options
author | Corey Hulen <corey@hulen.com> | 2016-01-13 09:03:01 -0600 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2016-01-13 09:03:01 -0600 |
commit | 1e1864d78fb1ccb0d93e418f2eaa9f438838bd76 (patch) | |
tree | 032bf6fb6a3dc4d521933be9c1c5afbc30561c47 /web/react/utils/utils.jsx | |
parent | 75ae098dfe57c3350861e633b680e6489900d884 (diff) | |
parent | e9c2fd7cbb0fd35531096af89345d400125809f0 (diff) | |
download | chat-1e1864d78fb1ccb0d93e418f2eaa9f438838bd76.tar.gz chat-1e1864d78fb1ccb0d93e418f2eaa9f438838bd76.tar.bz2 chat-1e1864d78fb1ccb0d93e418f2eaa9f438838bd76.zip |
Merge pull request #1853 from asaadmahmoodspin/ui-improvements
Adding away icon and changing online and offline icons
Diffstat (limited to 'web/react/utils/utils.jsx')
-rw-r--r-- | web/react/utils/utils.jsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx index 2ddd0e5e3..31bb2ba0b 100644 --- a/web/react/utils/utils.jsx +++ b/web/react/utils/utils.jsx @@ -572,7 +572,7 @@ export function applyTheme(theme) { changeCss('@media(max-width: 768px){.settings-modal .settings-table .nav>li>a', 'color:' + theme.sidebarText, 1); changeCss('.sidebar--left .nav-pills__container li>h4, .sidebar--left .add-channel-btn', 'color:' + changeOpacity(theme.sidebarText, 0.6), 1); changeCss('.sidebar--left .add-channel-btn:hover, .sidebar--left .add-channel-btn:focus', 'color:' + theme.sidebarText, 1); - changeCss('.sidebar--left .status path', 'fill:' + theme.sidebarText, 1); + changeCss('.sidebar--left .status .offline--icon, .sidebar--left .status .offline--icon', 'fill:' + theme.sidebarText, 1); changeCss('@media(max-width: 768px){.settings-modal .settings-table .nav>li>a', 'border-color:' + changeOpacity(theme.sidebarText, 0.2), 2); } @@ -617,6 +617,10 @@ export function applyTheme(theme) { changeCss('.sidebar--left .status .online--icon', 'fill:' + theme.onlineIndicator, 1); } + if (theme.awayIndicator) { + changeCss('.sidebar--left .status .away--icon', 'fill:' + theme.awayIndicator, 1); + } + if (theme.mentionBj) { changeCss('.sidebar--left .nav-pills__unread-indicator', 'background:' + theme.mentionBj, 1); changeCss('.sidebar--left .badge', 'background:' + theme.mentionBj, 1); |