DM and Modal changes (#2927)
* DM and Modal changes * Fixing image previews
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
b4d28fe205
Коммит
64b6d8cde5
@@ -327,7 +327,7 @@ export default {
|
||||
sidebarText: '#fff',
|
||||
sidebarUnreadText: '#fff',
|
||||
sidebarTextHoverBg: '#4A5664',
|
||||
sidebarTextActiveBorder: '#39769C',
|
||||
sidebarTextActiveBorder: '#66B9A7',
|
||||
sidebarTextActiveColor: '#FFFFFF',
|
||||
sidebarHeaderBg: '#1B2C3E',
|
||||
sidebarHeaderTextColor: '#FFFFFF',
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Ссылка в новой задаче
Block a user