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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
@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);
@include icon-black-white('text', 'filetypes', 1, true);
.app-talk,
.talk-modal,
#talk-panel,
#talk-sidebar,
#call-container,
.talkChatTab {
// 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));
}
&.in-call {
.app-navigation-toggle,
.app-content .action-item__menutoggle {
color: #ffffff;
filter: drop-shadow(1px 1px 4px var(--color-box-shadow));
}
}
.forced-white {
filter: drop-shadow(1px 1px 4px var(--color-box-shadow));
&.icon-menu-people {
background-image: url(icon-color-path('menu-people', 'spreed', 'fff', 1));
}
&.icon-promoted-view {
background-image: url(icon-color-path('promoted-view', 'spreed', 'fff', 1));
}
&.icon-grid-view {
background-image: url(icon-color-path('toggle-pictures', 'actions', 'fff', 1, true));
}
&.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);
}
.icon-active-call {
/* Show red camera icon for ongoing calls. */
@include icon-color('video', 'actions', 'E9322D', 1, true);
}
.icon-start-call {
background-image: url(icon-color-path('video', 'actions', $color-primary-text, 1, true));
}
.icon-incoming-call {
background-image: url(icon-color-path('video', 'actions', 'fff', 1, true));
}
.icon-leave-call {
background-image: url(icon-color-path('video-off', 'actions', 'fff', 1, true));
}
.icon-delete-critical {
@include icon-color('delete', 'actions', $color-error, 1, true);
&:hover,
&:focus {
filter: initial;
}
}
}
// 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));
}
}
|