Optimize and rewrite backdrop rendering
This commit is contained in:
parent
51b5b0145b
commit
ca92101c72
6 changed files with 45 additions and 71 deletions
|
@ -27,8 +27,37 @@ $roomListCollapsedWidth: 68px;
|
|||
.mx_LeftPanel_wrapper {
|
||||
display: flex;
|
||||
max-width: 50%;
|
||||
|
||||
.mx_LeftPanel_background {
|
||||
|
||||
&::before {
|
||||
content: " ";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 100vh;
|
||||
width: 100%;
|
||||
background-color: var(--lp-background-overlay);
|
||||
}
|
||||
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: $roomlist-bg-color;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.mx_LeftPanel_wrapper--user {
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
.mx_LeftPanel {
|
||||
background-color: $roomlist-bg-color;
|
||||
// TODO decrease this once Spaces launches as it'll no longer need to include the 56px Community Panel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue