mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-15 00:04:59 +08:00
Add hover gradient
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
005622800d
commit
cd885e3b3a
@ -67,6 +67,19 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
.videoTile:not(.isLocal):hover::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: calc(
|
||||
16px + 20px + 16px
|
||||
); /* top padding + button size + buttom padding */
|
||||
background-image: linear-gradient(to bottom, var(--background), transparent);
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.videoTile:hover .button {
|
||||
display: initial;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user