Add hover gradient

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2022-08-02 13:51:05 +02:00
parent 005622800d
commit cd885e3b3a
No known key found for this signature in database
GPG Key ID: D1D45825D60C24D2

View File

@ -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;
}