mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 13:14:58 +08:00
Add proper glass-like look
This commit is contained in:
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
Block a user