style: add hover effect to VideoCard

This commit is contained in:
Hakadao
2023-08-15 00:34:15 +08:00
parent 08308716cd
commit 1a5f771d36

View File

@@ -155,7 +155,13 @@ function toggleWatchLater() {
</div>
<div>
<div w="full" relative bg="$bew-fill-4" rounded="$bew-radius" cursor-pointer @click.stop="openLinkToNewTab(videoUrl)">
<div
w="full" relative bg="$bew-fill-4" rounded="$bew-radius" cursor-pointer group-hover:shadow
group-hover:transform="translate--4px"
style="--un-shadow: 6px 6px 0 0 var(--bew-theme-color-60), 12px 12px 0 0 var(--bew-theme-color-40)"
transition="all ease-in-out 300" group-hover:z-2
@click.stop="openLinkToNewTab(videoUrl)"
>
<!-- Video duration -->
<div
v-if="duration"