Fix missing background tonality without avatar
							parent
							
								
									78d48b1d8b
								
							
						
					
					
						commit
						eb242041a5
					
				| 
						 | 
					@ -29,7 +29,7 @@ limitations under the License.
 | 
				
			||||||
        top: 0;
 | 
					        top: 0;
 | 
				
			||||||
        height: 100vh;
 | 
					        height: 100vh;
 | 
				
			||||||
        width: 100%;
 | 
					        width: 100%;
 | 
				
			||||||
        background-color: rgba(255, 255, 255, 0.055);
 | 
					        background-color: var(--lp-background-overlay)
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -17,7 +17,15 @@ limitations under the License.
 | 
				
			||||||
$groupFilterPanelWidth: 56px; // only applies in this file, used for calculations
 | 
					$groupFilterPanelWidth: 56px; // only applies in this file, used for calculations
 | 
				
			||||||
$roomListCollapsedWidth: 68px;
 | 
					$roomListCollapsedWidth: 68px;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.mx_MatrixChat--with-avatar {
 | 
				
			||||||
 | 
					    .mx_LeftPanel,
 | 
				
			||||||
 | 
					    .mx_LeftPanel .mx_LeftPanel_roomListContainer {
 | 
				
			||||||
 | 
					        background-color: transparent;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.mx_LeftPanel {
 | 
					.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
 | 
					    // TODO decrease this once Spaces launches as it'll no longer need to include the 56px Community Panel
 | 
				
			||||||
    min-width: 206px;
 | 
					    min-width: 206px;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -42,6 +50,7 @@ $roomListCollapsedWidth: 68px;
 | 
				
			||||||
    // Note: The 'room list' in this context is actually everything that isn't the tag
 | 
					    // Note: The 'room list' in this context is actually everything that isn't the tag
 | 
				
			||||||
    // panel, such as the menu options, breadcrumbs, filtering, etc
 | 
					    // panel, such as the menu options, breadcrumbs, filtering, etc
 | 
				
			||||||
    .mx_LeftPanel_roomListContainer {
 | 
					    .mx_LeftPanel_roomListContainer {
 | 
				
			||||||
 | 
					        background-color: $roomlist-bg-color;
 | 
				
			||||||
        flex: 1 0 0;
 | 
					        flex: 1 0 0;
 | 
				
			||||||
        min-width: 0;
 | 
					        min-width: 0;
 | 
				
			||||||
        // Create another flexbox (this time a column) for the room list components
 | 
					        // Create another flexbox (this time a column) for the room list components
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -22,7 +22,14 @@ $activeBorderTransparentGap: 1px;
 | 
				
			||||||
$activeBackgroundColor: $roomtile-selected-bg-color;
 | 
					$activeBackgroundColor: $roomtile-selected-bg-color;
 | 
				
			||||||
$activeBorderColor: $secondary-fg-color;
 | 
					$activeBorderColor: $secondary-fg-color;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.mx_MatrixChat--with-avatar {
 | 
				
			||||||
 | 
					    .mx_SpacePanel {
 | 
				
			||||||
 | 
					        background-color: transparent;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.mx_SpacePanel {
 | 
					.mx_SpacePanel {
 | 
				
			||||||
 | 
					    background-color: $groupFilterPanel-bg-color;
 | 
				
			||||||
    flex: 0 0 auto;
 | 
					    flex: 0 0 auto;
 | 
				
			||||||
    padding: 0;
 | 
					    padding: 0;
 | 
				
			||||||
    margin: 0;
 | 
					    margin: 0;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -242,6 +242,7 @@ $appearance-tab-border-color: $room-highlight-color;
 | 
				
			||||||
:root {
 | 
					:root {
 | 
				
			||||||
    --llp-background-blur: 60px;
 | 
					    --llp-background-blur: 60px;
 | 
				
			||||||
    --lp-background-blur: 30px;
 | 
					    --lp-background-blur: 30px;
 | 
				
			||||||
 | 
					    --lp-background-overlay: rgba(255, 255, 255, 0.055);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$composer-shadow-color: rgba(0, 0, 0, 0.28);
 | 
					$composer-shadow-color: rgba(0, 0, 0, 0.28);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -365,6 +365,7 @@ $appearance-tab-border-color: $input-darker-bg-color;
 | 
				
			||||||
:root {
 | 
					:root {
 | 
				
			||||||
    --llp-background-blur: 40px;
 | 
					    --llp-background-blur: 40px;
 | 
				
			||||||
    --lp-background-blur: 20px;
 | 
					    --lp-background-blur: 20px;
 | 
				
			||||||
 | 
					    --lp-background-overlay: rgba(0, 0, 0, 0.055);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
$composer-shadow-color: rgba(0, 0, 0, 0.04);
 | 
					$composer-shadow-color: rgba(0, 0, 0, 0.04);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -67,6 +67,7 @@ import UserView from "./UserView";
 | 
				
			||||||
import GroupView from "./GroupView";
 | 
					import GroupView from "./GroupView";
 | 
				
			||||||
import BackdropPanel from "./BackdropPanel";
 | 
					import BackdropPanel from "./BackdropPanel";
 | 
				
			||||||
import SpaceStore from "../../stores/SpaceStore";
 | 
					import SpaceStore from "../../stores/SpaceStore";
 | 
				
			||||||
 | 
					import classNames from 'classnames';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// We need to fetch each pinned message individually (if we don't already have it)
 | 
					// We need to fetch each pinned message individually (if we don't already have it)
 | 
				
			||||||
// so each pinned message may trigger a request. Limit the number per room for sanity.
 | 
					// so each pinned message may trigger a request. Limit the number per room for sanity.
 | 
				
			||||||
| 
						 | 
					@ -614,10 +615,11 @@ class LoggedInView extends React.Component<IProps, IState> {
 | 
				
			||||||
                break;
 | 
					                break;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        let bodyClasses = 'mx_MatrixChat';
 | 
					        const bodyClasses = classNames({
 | 
				
			||||||
        if (this.state.useCompactLayout) {
 | 
					            'mx_MatrixChat': true,
 | 
				
			||||||
            bodyClasses += ' mx_MatrixChat_useCompactLayout';
 | 
					            'mx_MatrixChat_useCompactLayout': this.state.useCompactLayout,
 | 
				
			||||||
        }
 | 
					            'mx_MatrixChat--with-avatar': this.state.backgroundImage,
 | 
				
			||||||
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        const audioFeedArraysForCalls = this.state.activeCalls.map((call) => {
 | 
					        const audioFeedArraysForCalls = this.state.activeCalls.map((call) => {
 | 
				
			||||||
            return (
 | 
					            return (
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue