element-web/apps/web/res/css/views/toasts/_IncomingCallToast.pcss
Robin 03b730db58
Update toast styles, improve incoming call notifications (#33043)
* Update design of incoming call notifications

* Make toast show avatars of group call participants

* Further expand test coverage for call notifications

* Update screenshots

* Update screenshots

* Delete unused variables

* Upgrade Element Call to v0.19.2

For the new group call intents.

* Consolidate some branches

* Apply Compound spacing variables a little more

* Fix lints

* Exclude Element Call assets from being re-minified to fix build
2026-04-27 14:37:42 +00:00

64 lines
1.6 KiB
Plaintext

/*
Copyright 2024 New Vector Ltd.
Copyright 2022 The Matrix.org Foundation C.I.C.
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE files in the repository root for full details.
*/
.mx_IncomingCallToast {
position: relative;
display: flex;
flex-direction: column;
pointer-events: initial; /* restore pointer events so the user can accept/decline */
.mx_IncomingCallToast_content {
display: flex;
flex-direction: column;
gap: var(--cpd-space-4x);
width: 100%;
overflow: hidden;
.mx_IncomingCallToast_title {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
gap: var(--cpd-space-2x);
h2 {
margin: 0;
}
.mx_IncomingCallToast_expandButton {
padding: var(--cpd-space-1x);
color: var(--cpd-color-icon-secondary);
transition: color 0.1s;
&:hover {
color: var(--cpd-color-icon-primary);
}
& > svg {
display: block;
}
}
}
.mx_IncomingCallToast_avatars {
display: inline-block;
vertical-align: top;
}
.mx_IncomingCallToast_buttons {
display: flex;
gap: var(--cpd-space-2x);
padding-block-start: var(--cpd-space-2x);
}
.mx_IncomingCallToast_actionButton {
box-sizing: border-box;
min-width: 131px;
}
}
}