Move around some CSS

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-07-24 18:59:54 +02:00
parent dd800549d7
commit a6f10a4aaa
No known key found for this signature in database
GPG Key ID: 55C211A1226CB17D

View File

@ -45,47 +45,47 @@ limitations under the License.
h1 { h1 {
font-weight: bold; font-weight: bold;
} }
}
.mx_IncomingCallToast_buttons { .mx_IncomingCallToast_buttons {
margin-top: 8px; margin-top: 8px;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
gap: 12px; gap: 12px;
> * { > * {
height: 24px; height: 24px;
padding: 0px 12px; padding: 0px 12px;
flex-shrink: 0; flex-shrink: 0;
flex-grow: 1; flex-grow: 1;
margin-right: 0; margin-right: 0;
font-size: $font-15px; font-size: $font-15px;
line-height: $font-24px; line-height: $font-24px;
}
} }
}
.mx_IncomingCallToast_iconButton { .mx_IncomingCallToast_iconButton {
display: flex; display: flex;
position: absolute; position: absolute;
right: 8px; right: 8px;
&::before { &::before {
content: ''; content: '';
height: 20px; height: 20px;
width: 20px; width: 20px;
background-color: $secondary-fg-color; background-color: $secondary-fg-color;
mask-repeat: no-repeat; mask-repeat: no-repeat;
mask-size: contain; mask-size: contain;
mask-position: center; mask-position: center;
}
} }
}
.mx_IncomingCallToast_silence::before { .mx_IncomingCallToast_silence::before {
mask-image: url('$(res)/img/voip/silence.svg'); mask-image: url('$(res)/img/voip/silence.svg');
} }
.mx_IncomingCallToast_unSilence::before { .mx_IncomingCallToast_unSilence::before {
mask-image: url('$(res)/img/voip/un-silence.svg'); mask-image: url('$(res)/img/voip/un-silence.svg');
}
} }
} }