element-web/res/themes/element/css/_mods.scss
2020-07-01 15:02:20 +02:00

22 lines
567 B
SCSS

// sidebar blurred avatar background
//
// if backdrop-filter is supported,
// set the user avatar (if any) as a background so
// it can be blurred by the tag panel and room list
@supports (backdrop-filter: blur(100px)) {
.mx_LeftPanel2 {
background-image: var(--avatar-url);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
.mx_TagPanel {
backdrop-filter: blur(100px);
}
.mx_LeftPanel2 .mx_LeftPanel2_roomListContainer {
backdrop-filter: blur(175px);
}
}