rename file to mod, for all theme modifications
This commit is contained in:
parent
dad47148ae
commit
ae0bb2a2aa
2 changed files with 4 additions and 3 deletions
22
res/themes/element/css/_mods.scss
Normal file
22
res/themes/element/css/_mods.scss
Normal file
|
@ -0,0 +1,22 @@
|
|||
// 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);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue