1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
@include icon-black-white('reply', 'spreed', 1);
@include icon-black-white('clip-add-file', 'spreed', 1);
@include icon-black-white('menu-people', 'spreed', 1);
@include icon-black-white('no-password', 'spreed', 1);
@include icon-black-white('share-window', 'spreed', 1);
@include icon-black-white('clip-add-file', 'spreed', 1);
@include icon-black-white('bell-outline', 'spreed', 1);
@include icon-black-white('emoji-smile', 'spreed', 1);
@include icon-black-white('lobby', 'spreed', 1);
.app-Talk,
#call-container {
// We always want to use the white icons, this is why we don't use var(--color-white) here.
.icon-public {
background-image: url(icon-color-path('public', 'actions', 'fff', 1, true));
}
.icon-contacts {
background-image: url(icon-color-path('contacts', 'places', 'fff', 1, true));
}
.icon-password {
background-image: url(icon-color-path('password', 'actions', 'fff', 1, true));
}
.icon-file {
background-image: url(icon-color-path('text', 'filetypes', 'fff', 1, true));
}
.icon-mail {
background-image: url(icon-color-path('mail', 'actions', 'fff', 1, true));
}
.icon-changelog {
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));
}
.forced-white {
&.icon-menu-people {
background-image: url(icon-color-path('menu-people', 'spreed', 'fff', 1));
}
&.icon-audio {
background-image: url(icon-color-path('audio', 'actions', 'fff', 1, true));
}
&.icon-audio-off {
background-image: url(icon-color-path('audio-off', 'actions', 'fff', 1, true));
}
&.icon-video {
background-image: url(icon-color-path('video', 'actions', 'fff', 1, true));
}
&.icon-video-off {
background-image: url(icon-color-path('video-off', 'actions', 'fff', 1, true));
}
&.icon-screen {
background-image: url(icon-color-path('screen', 'actions', 'fff', 1, true));
}
&.icon-screen-off {
background-image: url(icon-color-path('screen-off', 'actions', 'fff', 1, true));
}
}
.icon-favorite {
/* Show favorite icon in yellow instead of default black. */
@include icon-color('star-dark', 'actions', 'FC0', 1, true);
}
}
// The atwho panel is a direct child of the body, so it is not affected by
// .app-Talk rules above.
.talk.candidate-mentions.atwho-panel {
// "forced-white" needs to be included in the class name as the Avatar does
// not accept several classes.
.icon-group-forced-white {
background-image: url(icon-color-path('group', 'actions', 'fff', 1, true));
}
}
.app-files {
// Needed to use white color also in dark mode.
.app-sidebar__close.forced-white {
background-image: url(icon-color-path('close', 'actions', 'fff', 1, true));
}
}
|