PLT-5122 - Switching to circular status icons (#5049)
* PLT-5122 - Switching to circular status icons * Adding profile pic crop for status indicators * Updating status indicators in LHS * Updating else statements
Этот коммит содержится в:
коммит произвёл
Corey Hulen
родитель
c01d9ad6cf
Коммит
83ead5cac7
@@ -533,14 +533,12 @@ export function applyTheme(theme) {
|
||||
changeCss('.app__body .status .online--icon', 'fill:' + theme.onlineIndicator);
|
||||
changeCss('.app__body .channel-header__info .status .online--icon', 'fill:' + theme.onlineIndicator);
|
||||
changeCss('.app__body .navbar .status .online--icon', 'fill:' + theme.onlineIndicator);
|
||||
changeCss('.status-wrapper.status-online:after', 'background:' + theme.onlineIndicator);
|
||||
}
|
||||
|
||||
if (theme.awayIndicator) {
|
||||
changeCss('.app__body .status .away--icon', 'fill:' + theme.awayIndicator);
|
||||
changeCss('.app__body .channel-header__info .status .away--icon', 'fill:' + theme.awayIndicator);
|
||||
changeCss('.app__body .navbar .status .away--icon', 'fill:' + theme.awayIndicator);
|
||||
changeCss('.status-wrapper.status-away:after', 'background:' + theme.awayIndicator);
|
||||
}
|
||||
|
||||
if (theme.mentionBj) {
|
||||
@@ -557,7 +555,7 @@ export function applyTheme(theme) {
|
||||
|
||||
if (theme.centerChannelBg) {
|
||||
changeCss('@media(min-width: 768px){.app__body .post:hover .post__header .col__reply, .app__body .post.post--hovered .post__header .col__reply', 'background:' + theme.centerChannelBg);
|
||||
changeCss('.app__body .app__content, .app__body .markdown__table, .app__body .markdown__table tbody tr, .app__body .suggestion-list__content, .app__body .modal .modal-content, .app__body .modal .modal-footer, .app__body .post.post--compact .post-image__column, .app__body .suggestion-list__divider > span', 'background:' + theme.centerChannelBg);
|
||||
changeCss('.app__body .app__content, .app__body .markdown__table, .app__body .markdown__table tbody tr, .app__body .suggestion-list__content, .app__body .modal .modal-content, .app__body .modal .modal-footer, .app__body .post.post--compact .post-image__column, .app__body .suggestion-list__divider > span, .app__body .status-wrapper .status', 'background:' + theme.centerChannelBg);
|
||||
changeCss('#post-list .post-list-holder-by-time, .app__body .post .dropdown-menu a', 'background:' + theme.centerChannelBg);
|
||||
changeCss('#post-create', 'background:' + theme.centerChannelBg);
|
||||
changeCss('.app__body .date-separator .separator__text, .app__body .new-separator .separator__text', 'background:' + theme.centerChannelBg);
|
||||
|
||||
Ссылка в новой задаче
Block a user