mirror of https://github.com/vector-im/riot-web
				
				
				
			Add proper glass-like look
							parent
							
								
									bad37e65db
								
							
						
					
					
						commit
						a2797795b2
					
				| 
						 | 
				
			
			@ -20,6 +20,16 @@ limitations under the License.
 | 
			
		|||
  top: 0;
 | 
			
		||||
  height: 100vh;
 | 
			
		||||
  width: 100%;
 | 
			
		||||
 | 
			
		||||
  &:before {
 | 
			
		||||
    content: ' ';
 | 
			
		||||
    position: absolute;
 | 
			
		||||
    left: 0;
 | 
			
		||||
    top: 0;
 | 
			
		||||
    height: 100vh;
 | 
			
		||||
    width: 100%;
 | 
			
		||||
    background-color: rgba(255, 255, 255, .02);
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.mx_BackdropPanel--canvas {
 | 
			
		||||
| 
						 | 
				
			
			@ -30,4 +40,11 @@ limitations under the License.
 | 
			
		|||
    z-index: 0;
 | 
			
		||||
    pointer-events: none;
 | 
			
		||||
    overflow: hidden;
 | 
			
		||||
 | 
			
		||||
    &:first-of-type {
 | 
			
		||||
      opacity: 0.19;
 | 
			
		||||
    }
 | 
			
		||||
    &:last-of-type {
 | 
			
		||||
      opacity:0.12;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue