element-web-Github/res/themes/light/css/_mods.scss

37 lines
875 B
SCSS
Raw Normal View History

// 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: none) {
2020-07-18 05:22:18 +08:00
.mx_LeftPanel {
background-image: var(--avatar-url, unset);
background-repeat: no-repeat;
background-size: cover;
background-position: left top;
}
2020-10-10 20:30:06 +08:00
.mx_GroupFilterPanel {
2020-10-15 06:30:38 +08:00
backdrop-filter: blur($groupFilterPanel-background-blur-amount);
}
.mx_SpacePanel {
backdrop-filter: blur($groupFilterPanel-background-blur-amount);
}
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-07-18 05:46:46 +08:00
.mx_RoomSublist_showNButton {
background-color: transparent !important;
}
a:hover,
a:link,
a:visited {
text-decoration: none;
}