element-web-Github/res/css/structures/_BackdropPanel.pcss

30 lines
641 B
Plaintext
Raw Normal View History

/*
Copyright 2021-2024 New Vector Ltd.
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
Please see LICENSE files in the repository root for full details.
*/
.mx_BackdropPanel {
2021-08-16 22:52:41 +08:00
position: absolute;
left: 0;
top: 0;
height: 100vh;
width: 100%;
2021-08-17 23:59:26 +08:00
overflow: hidden;
filter: blur(var(--lp-background-blur));
/* Force a new layer for the backdropPanel so it's better hardware supported */
2021-08-25 01:23:12 +08:00
transform: translateZ(0);
}
.mx_BackdropPanel--image {
position: absolute;
top: 0;
left: 0;
min-height: 100%;
z-index: 0;
pointer-events: none;
overflow: hidden;
user-select: none;
}