2020-07-01 21:02:20 +08:00
|
|
|
// sidebar blurred avatar background
|
|
|
|
//
|
2020-06-30 19:02:52 +08: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
|
|
|
|
|
2020-07-07 19:22:13 +08:00
|
|
|
@supports (backdrop-filter: none) {
|
2020-07-18 05:22:18 +08:00
|
|
|
.mx_LeftPanel {
|
2020-06-30 19:02:52 +08:00
|
|
|
background-image: var(--avatar-url);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: cover;
|
2020-07-03 22:56:10 +08:00
|
|
|
background-position: left top;
|
2020-06-30 19:02:52 +08:00
|
|
|
}
|
|
|
|
|
2020-07-01 21:02:20 +08:00
|
|
|
.mx_TagPanel {
|
2020-07-14 20:24:35 +08:00
|
|
|
backdrop-filter: blur($tagpanel-background-blur-amount);
|
2020-06-30 19:02:52 +08:00
|
|
|
}
|
|
|
|
|
2020-07-18 05:22:18 +08:00
|
|
|
.mx_LeftPanel .mx_LeftPanel_roomListContainer {
|
2020-07-14 20:24:35 +08:00
|
|
|
backdrop-filter: blur($roomlist-background-blur-amount);
|
2020-06-30 19:02:52 +08:00
|
|
|
}
|
2020-07-03 22:50:01 +08:00
|
|
|
}
|
2020-07-03 22:53:06 +08:00
|
|
|
|
2020-07-18 05:46:46 +08:00
|
|
|
.mx_RoomSublist_showNButton {
|
2020-07-03 22:53:06 +08:00
|
|
|
background-color: transparent !important;
|
2020-06-30 19:02:52 +08:00
|
|
|
}
|
2020-07-14 18:52:28 +08:00
|
|
|
|
|
|
|
a:hover,
|
|
|
|
a:link,
|
|
|
|
a:visited {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|