Renamed NavbarDropdown to SidebarHeaderDropdown and switched it to react-bootstrap (#4109)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
ac6ae23c8e
Коммит
53ba8ec9c2
@@ -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,
|
||||
|
||||
@@ -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);
|
||||
|
||||
Ссылка в новой задаче
Block a user