mirror of
https://github.com/vector-im/element-call.git
synced 2026-01-30 03:15:55 +00:00
* Fix the interactivity of buttons while reconnecting or in earpiece mode When we're in one of these modes, we need to ensure that everything above the overlay (the header and footer buttons) is interactive, while everything obscured by the overlay (the media tiles) is non-interactive and removed from the accessibility tree. It's not a very easy task to trap focus *outside* an element, so the best solution I could come up with is to set tabindex="-1" manually on all interactive elements belonging to the media tiles. * Write a Playwright test for reconnecting * fix lints Signed-off-by: Timo K <toger5@hotmail.de> * fix test Signed-off-by: Timo K <toger5@hotmail.de> * enable http2 for matrx-rtc host to allow the jwt service to talk to the SFU * remove rate limit for delayed events * more time to connect to livekit SFU * Due to a Firefox issue we set the start anchor for the tab test to the Mute microphone button * adapt to most recent Element Web version * Use the "End call" button as proofe for a started call * Currrenty disabled due to recent Element Web - not indicating the number of participants - bypassing Lobby * linting * disable 'can only interact with header and footer while reconnecting' for firefox --------- Signed-off-by: Timo K <toger5@hotmail.de> Co-authored-by: Timo <16718859+toger5@users.noreply.github.com> Co-authored-by: Timo K <toger5@hotmail.de> Co-authored-by: fkwp <github-fkwp@w4ve.de>
92 lines
1.4 KiB
CSS
92 lines
1.4 KiB
CSS
/*
|
|
Copyright 2023, 2024 New Vector Ltd.
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|
Please see LICENSE in the repository root for full details.
|
|
*/
|
|
|
|
.bg {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(3, 12, 27, 0.528);
|
|
}
|
|
|
|
@keyframes fade-in {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.bg.animate[data-state="open"] {
|
|
animation: fade-in 200ms;
|
|
}
|
|
|
|
@keyframes fade-out {
|
|
from {
|
|
opacity: 1;
|
|
}
|
|
to {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.bg.animate[data-state="closed"] {
|
|
animation: fade-out 130ms;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.overlay {
|
|
position: fixed;
|
|
}
|
|
|
|
.overlay.animate {
|
|
--overlay-top: 50%;
|
|
left: 50%;
|
|
top: var(--overlay-top);
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
@keyframes zoom-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translate(-50%, -50%) scale(80%);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translate(-50%, -50%) scale(100%);
|
|
}
|
|
}
|
|
|
|
@keyframes zoom-out {
|
|
from {
|
|
opacity: 1;
|
|
transform: translate(-50%, -50%) scale(100%);
|
|
}
|
|
to {
|
|
opacity: 0;
|
|
transform: translate(-50%, -50%) scale(80%);
|
|
}
|
|
}
|
|
|
|
.overlay.animate[data-state="open"] {
|
|
animation: zoom-in 200ms;
|
|
}
|
|
|
|
.overlay.animate[data-state="closed"] {
|
|
animation: zoom-out 130ms;
|
|
}
|
|
|
|
@media (prefers-reduced-motion) {
|
|
.overlay.animate[data-state="open"] {
|
|
animation-name: fade-in;
|
|
}
|
|
|
|
.overlay.animate[data-state="closed"] {
|
|
animation-name: fade-out;
|
|
}
|
|
}
|