diff --git a/css/icons.css b/css/icons.css index 3530810f198..e149ff6fc0a 100644 --- a/css/icons.css +++ b/css/icons.css @@ -106,12 +106,15 @@ * "forced-white" needs to be included in the class name as the Avatar does * not accept several classes. */ .user-bubble__avatar .icon-group-forced-white.avatar-class-icon, +.user-bubble__avatar .icon-team-forced-white.avatar-class-icon, .user-bubble__avatar .icon-user-forced-white.avatar-class-icon, .user-bubble__avatar .icon-mail-forced-white.avatar-class-icon, .autocomplete-result .icon-group-forced-white.autocomplete-result__icon--, +.autocomplete-result .icon-team-forced-white.autocomplete-result__icon--, .autocomplete-result .icon-user-forced-white.autocomplete-result__icon--, .autocomplete-result .icon-mail-forced-white.autocomplete-result__icon--, .mention-bubble .icon-group-forced-white.mention-bubble__icon--, +.mention-bubble .icon-team-forced-white.mention-bubble__icon--, .mention-bubble .icon-user-forced-white.mention-bubble__icon--, .mention-bubble .icon-mail-forced-white.mention-bubble__icon-- { background-color: #6B6B6B; @@ -120,12 +123,15 @@ /* System default: dark theme */ @media (prefers-color-scheme: dark) { body[data-theme-default] .user-bubble__avatar .icon-group-forced-white.avatar-class-icon, + body[data-theme-default] .user-bubble__avatar .icon-team-forced-white.avatar-class-icon, body[data-theme-default] .user-bubble__avatar .icon-user-forced-white.avatar-class-icon, body[data-theme-default] .user-bubble__avatar .icon-mail-forced-white.avatar-class-icon, body[data-theme-default] .autocomplete-result .icon-group-forced-white.autocomplete-result__icon--, + body[data-theme-default] .autocomplete-result .icon-team-forced-white.autocomplete-result__icon--, body[data-theme-default] .autocomplete-result .icon-user-forced-white.autocomplete-result__icon--, body[data-theme-default] .autocomplete-result .icon-mail-forced-white.autocomplete-result__icon--, body[data-theme-default] .mention-bubble .icon-group-forced-white.mention-bubble__icon--, + body[data-theme-default] .mention-bubble .icon-team-forced-white.mention-bubble__icon--, body[data-theme-default] .mention-bubble .icon-user-forced-white.mention-bubble__icon--, body[data-theme-default] .mention-bubble .icon-mail-forced-white.mention-bubble__icon-- { background-color: #3B3B3B; @@ -134,12 +140,15 @@ /* Manually set dark theme */ body[data-theme-dark] .user-bubble__avatar .icon-group-forced-white.avatar-class-icon, +body[data-theme-dark] .user-bubble__avatar .icon-team-forced-white.avatar-class-icon, body[data-theme-dark] .user-bubble__avatar .icon-user-forced-white.avatar-class-icon, body[data-theme-dark] .user-bubble__avatar .icon-mail-forced-white.avatar-class-icon, body[data-theme-dark] .autocomplete-result .icon-group-forced-white.autocomplete-result__icon--, +body[data-theme-dark] .autocomplete-result .icon-team-forced-white.autocomplete-result__icon--, body[data-theme-dark] .autocomplete-result .icon-user-forced-white.autocomplete-result__icon--, body[data-theme-dark] .autocomplete-result .icon-mail-forced-white.autocomplete-result__icon--, body[data-theme-dark] .mention-bubble .icon-group-forced-white.mention-bubble__icon--, +body[data-theme-dark] .mention-bubble .icon-team-forced-white.mention-bubble__icon--, body[data-theme-dark] .mention-bubble .icon-user-forced-white.mention-bubble__icon--, body[data-theme-dark] .mention-bubble .icon-mail-forced-white.mention-bubble__icon-- { background-color: #3B3B3B; @@ -151,15 +160,18 @@ body[dir="rtl"] .bidirectional-icon { } .user-bubble__avatar .icon-group-forced-white.avatar-class-icon, +.user-bubble__avatar .icon-team-forced-white.avatar-class-icon, .user-bubble__avatar .icon-user-forced-white.avatar-class-icon, .user-bubble__avatar .icon-mail-forced-white.avatar-class-icon, .mention-bubble .icon-group-forced-white.mention-bubble__icon--, +.mention-bubble .icon-team-forced-white.mention-bubble__icon--, .mention-bubble .icon-user-forced-white.mention-bubble__icon--, .mention-bubble .icon-mail-forced-white.mention-bubble__icon-- { background-size: 75%; } .autocomplete-result .icon-group-forced-white.autocomplete-result__icon--, +.autocomplete-result .icon-team-forced-white.autocomplete-result__icon--, .autocomplete-result .icon-user-forced-white.autocomplete-result__icon--, .autocomplete-result .icon-mail-forced-white.autocomplete-result__icon-- { background-size: 50% !important; @@ -183,6 +195,12 @@ body[dir="rtl"] .bidirectional-icon { background-image: url(../img/icon-contacts-white.svg); } +.user-bubble__avatar .icon-team-forced-white, +.autocomplete-result .icon-team-forced-white.autocomplete-result__icon--, +.mention-bubble .icon-team-forced-white.mention-bubble__icon-- { + background-image: url(../img/icon-team-white.svg); +} + /* Needed to use white color also in dark mode. */ .app-files .app-sidebar__close.forced-white { color: #ffffff; diff --git a/src/components/LeftSidebar/LeftSidebar.vue b/src/components/LeftSidebar/LeftSidebar.vue index 55fad015a4f..2268375d7f2 100644 --- a/src/components/LeftSidebar/LeftSidebar.vue +++ b/src/components/LeftSidebar/LeftSidebar.vue @@ -229,7 +229,7 @@ :compact="isCompact" @click="createAndJoinConversation(item)">