From 53ba8ec9c2bbaee510c2b1c9b5b59f9fdf44f365 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Thu, 29 Sep 2016 10:58:30 -0400 Subject: Renamed NavbarDropdown to SidebarHeaderDropdown and switched it to react-bootstrap (#4109) --- webapp/utils/constants.jsx | 14 ++++++++------ webapp/utils/utils.jsx | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) (limited to 'webapp/utils') diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx index 9e3eac5c0..039d48aaa 100644 --- a/webapp/utils/constants.jsx +++ b/webapp/utils/constants.jsx @@ -197,12 +197,20 @@ export const SocketEvents = { WEBRTC: 'webrtc' }; +export const TutorialSteps = { + INTRO_SCREENS: 0, + POST_POPOVER: 1, + CHANNEL_POPOVER: 2, + MENU_POPOVER: 3 +}; + export const Constants = { Preferences, SocketEvents, ActionTypes, WebrtcActionTypes, UserStatuses, + TutorialSteps, PayloadSources: keyMirror({ SERVER_ACTION: null, @@ -614,12 +622,6 @@ export const Constants = { Ubuntu: 'font--ubuntu' }, DEFAULT_FONT: 'Open Sans', - TutorialSteps: { - INTRO_SCREENS: 0, - POST_POPOVER: 1, - CHANNEL_POPOVER: 2, - MENU_POPOVER: 3 - }, KeyCodes: { BACKSPACE: 8, TAB: 9, diff --git a/webapp/utils/utils.jsx b/webapp/utils/utils.jsx index d59687606..ffc676e63 100644 --- a/webapp/utils/utils.jsx +++ b/webapp/utils/utils.jsx @@ -522,7 +522,7 @@ export function applyTheme(theme) { if (theme.sidebarHeaderTextColor) { changeCss('.app__body .sidebar--left .team__header .header__info, .app__body .sidebar--menu .team__header .header__info, .app__body .post-list__timestamp > div', 'color:' + theme.sidebarHeaderTextColor, 1); - changeCss('.app__body .sidebar--left .team__header .navbar-right .dropdown__icon, .app__body .sidebar--menu .team__header .navbar-right .dropdown__icon', 'fill:' + theme.sidebarHeaderTextColor, 1); + changeCss('.app__body .sidebar-header-dropdown__icon', 'fill:' + theme.sidebarHeaderTextColor, 1); changeCss('.app__body .sidebar--left .team__header .user__name, .app__body .sidebar--menu .team__header .user__name', 'color:' + changeOpacity(theme.sidebarHeaderTextColor, 0.8), 1); changeCss('.app__body .sidebar--left .team__header:hover .user__name, .app__body .sidebar--menu .team__header:hover .user__name', 'color:' + theme.sidebarHeaderTextColor, 1); changeCss('.app__body .modal .modal-header .modal-title, .app__body .modal .modal-header .modal-title .name, .app__body .modal .modal-header button.close', 'color:' + theme.sidebarHeaderTextColor, 1); -- cgit v1.2.3-1-g7c22