Use compound Mic icons everywhere (#9849)

This commit is contained in:
Michael Weimann 2023-01-02 14:36:58 +01:00 committed by GitHub
parent 0f7a2ce6df
commit ecb3e7a197
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 22 additions and 29 deletions

View file

@ -254,7 +254,7 @@ limitations under the License.
}
.mx_MessageComposer_voiceMessage::before {
mask-image: url("$(res)/img/voip/mic-on-mask.svg");
mask-image: url("$(res)/img/element-icons/mic.svg");
}
.mx_MessageComposer_voiceBroadcast::before {

View file

@ -94,7 +94,9 @@ limitations under the License.
}
&.mx_LegacyCallViewButtons_button_mic::before {
mask-image: url("$(res)/img/voip/call-view/mic-on.svg");
height: 20px;
mask-image: url("$(res)/img/element-icons/mic.svg");
width: 20px;
}
&.mx_LegacyCallViewButtons_button_vid::before {
@ -123,7 +125,9 @@ limitations under the License.
}
&.mx_LegacyCallViewButtons_button_mic::before {
mask-image: url("$(res)/img/voip/call-view/mic-off.svg");
height: 20px;
mask-image: url("$(res)/img/element-icons/Mic-off.svg");
width: 20px;
}
&.mx_LegacyCallViewButtons_button_vid::before {

View file

@ -135,7 +135,8 @@ limitations under the License.
}
&.mx_CallView_deviceButton_audio::before {
mask-image: url("$(res)/img/voip/call-view/mic-on.svg");
mask-image: url("$(res)/img/element-icons/mic.svg");
mask-size: 14px;
}
&.mx_CallView_deviceButton_video::before {
@ -179,7 +180,8 @@ limitations under the License.
.mx_CallView_deviceButton {
&.mx_CallView_deviceButton_audio::before {
mask-image: url("$(res)/img/voip/call-view/mic-off.svg");
mask-image: url("$(res)/img/element-icons/Mic-off.svg");
mask-size: 14px;
}
&.mx_CallView_deviceButton_video::before {

View file

@ -70,8 +70,8 @@ limitations under the License.
&::before {
position: absolute;
content: "";
width: 16px;
height: 16px;
width: 17px;
height: 17px;
mask-repeat: no-repeat;
mask-size: contain;
mask-position: center;
@ -80,11 +80,11 @@ limitations under the License.
}
&.mx_VideoFeed_mic_muted::before {
mask-image: url("$(res)/img/voip/mic-muted.svg");
mask-image: url("$(res)/img/element-icons/Mic-off.svg");
}
&.mx_VideoFeed_mic_unmuted::before {
mask-image: url("$(res)/img/voip/mic-unmuted.svg");
mask-image: url("$(res)/img/element-icons/mic.svg");
}
}
}