Revert "Implement new toast UI (#10467)" (#10740)

This reverts commit 7632f36624.
This commit is contained in:
Michael Weimann 2023-04-28 16:56:26 +02:00 committed by GitHub
parent f819853cad
commit 35376996b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 70 additions and 90 deletions

View file

@ -84,19 +84,20 @@ limitations under the License.
}
.mx_IncomingLegacyCallToast_buttons {
.mx_IncomingLegacyCallToast_button {
span {
align-items: center;
display: flex;
margin-top: 8px;
display: flex;
flex-direction: row;
gap: 12px;
&::before {
background-color: $button-fg-color;
content: "";
display: inline-block;
margin-right: 8px;
mask-position: center;
mask-repeat: no-repeat;
}
.mx_IncomingLegacyCallToast_button {
@mixin LegacyCallButton;
padding: 0px 8px;
flex-shrink: 0;
flex-grow: 1;
font-size: $font-15px;
span {
padding: 8px 0;
}
&.mx_IncomingLegacyCallToast_button_accept span::before {
@ -132,13 +133,6 @@ limitations under the License.
}
}
.mx_IncomingLegacyCallToast_silence,
.mx_IncomingLegacyCallToast_unSilence {
position: absolute;
right: 0;
top: 0;
}
.mx_IncomingLegacyCallToast_silence::before {
mask-image: url("$(res)/img/voip/silence.svg");
}