Add hover gradient
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
005622800d
commit
cd885e3b3a
1 changed files with 13 additions and 0 deletions
|
@ -67,6 +67,19 @@
|
||||||
display: none;
|
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 {
|
.videoTile:hover .button {
|
||||||
display: initial;
|
display: initial;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue