diff options
author | Joas Schilling <coding@schilljs.com> | 2022-07-12 12:49:29 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-07-12 15:50:34 +0200 |
commit | 757b10f69c574eec932ea7116df7aa353233f09b (patch) | |
tree | 9873876267e565763e6d2de774f94686ed6552b7 | |
parent | a5868a906070bcc9a4039003e86a336b6ca4b744 (diff) |
Translate icon in mentions of chat input and messages
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | css/icons.scss | 17 | ||||
-rw-r--r-- | img/icon-user-white.svg | 1 |
2 files changed, 9 insertions, 9 deletions
diff --git a/css/icons.scss b/css/icons.scss index b8d2b0147..8e3c311a3 100644 --- a/css/icons.scss +++ b/css/icons.scss @@ -11,6 +11,14 @@ @include icon-black-white('grid-view', 'spreed', 1); @include icon-black-white('folder-multiple-image', 'spreed', 1); +// Mention bubbles in the chat input and messages +.avatar-class-icon.icon-group-forced-white { + background-image: url(../img/icon-contacts-white.svg); +} +.avatar-class-icon.icon-user-forced-white { + background-image: url(../img/icon-contacts-white.svg); +} + .app-talk, .talk-modal, .talk-sidebar-callview, @@ -38,15 +46,6 @@ background-image: url('../img/changelog.svg'); } - // "forced-white" needs to be included in the class name as the UserBubble - // does not accept several classes. - .icon-group-forced-white { - background-image: url(icon-color-path('group', 'actions', 'fff', 1, true)); - } - .icon-user-forced-white { - background-image: url(icon-color-path('user', 'actions', 'fff', 1, true)); - } - &.in-call { .app-navigation-toggle, .app-content .action-item__menutoggle { diff --git a/img/icon-user-white.svg b/img/icon-user-white.svg new file mode 100644 index 000000000..44377c591 --- /dev/null +++ b/img/icon-user-white.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" height="16" width="16" version="1.1"><path fill="#fff" d="m5 3.8c0 1.4 0.1 2.4 0.8 3.5 0.2 0.286 0.5 0.35 0.7 0.6 0.135 0.5 0.24 0.98 0.1 1.5-1.275 0.45-2.49 1-3.6 1.6-0.85 0.6-0.785 0.31-1 2.3-0.16 1.59 3.5 1.7 6 1.7s6.163-0.1 6-1.7c-0.215-2-0.23-1.71-1-2.3-1.1-0.654-2.45-1.167-3.6-1.6-0.15-0.56-0.04-0.973 0.1-1.5 0.235-0.25 0.5-0.363 0.7-0.6 0.69-0.885 0.8-2.425 0.8-3.5 0-1.59-1.43-2.8-3-2.8-1.75 0-3 1.43-3 2.8z"/></svg> |