2020-07-01 16:02:20 +03:00
|
|
|
// sidebar blurred avatar background
|
|
|
|
//
|
2020-06-30 14:02:52 +03:00
|
|
|
// 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;
|
2020-07-03 17:56:10 +03:00
|
|
|
background-position: left top;
|
2020-06-30 14:02:52 +03:00
|
|
|
}
|
|
|
|
|
2020-07-01 16:02:20 +03:00
|
|
|
.mx_TagPanel {
|
2020-06-30 14:02:52 +03:00
|
|
|
backdrop-filter: blur(100px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_LeftPanel2 .mx_LeftPanel2_roomListContainer {
|
|
|
|
backdrop-filter: blur(175px);
|
|
|
|
}
|
2020-07-03 17:50:01 +03:00
|
|
|
|
|
|
|
// sticky headers need their own blur
|
|
|
|
|
|
|
|
.mx_RoomSublist2_headerContainer_sticky {
|
|
|
|
background-size: cover;
|
|
|
|
background-image: var(--avatar-url);
|
|
|
|
background-position: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_RoomSublist2_headerContainer_sticky .mx_RoomSublist2_stickyHeaderBlur {
|
|
|
|
backdrop-filter: blur(100px);
|
|
|
|
background-color: $roomlist2-bg-color;
|
|
|
|
}
|
|
|
|
}
|
2020-07-03 17:53:06 +03:00
|
|
|
|
|
|
|
.mx_RoomSublist2_showNButton {
|
|
|
|
background-color: transparent !important;
|
2020-06-30 14:02:52 +03:00
|
|
|
}
|