mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
style: adjust video card hover effect
This commit is contained in:
@@ -24,7 +24,7 @@ defineProps<{
|
||||
}"
|
||||
gap-4
|
||||
class="group"
|
||||
hover:bg="$bew-theme-color-20" hover:ring="8 $bew-theme-color-20"
|
||||
hover:bg="$bew-theme-color-10" hover:ring="8 $bew-theme-color-10"
|
||||
transition="all ease-in-out 300"
|
||||
rounded="$bew-radius"
|
||||
>
|
||||
|
||||
@@ -155,9 +155,9 @@ function handelMouseLeave() {
|
||||
:class="isDislike ? 'is-dislike' : ''"
|
||||
w="full" pos="absolute top-0 left-0"
|
||||
rounded="$bew-radius" duration-300 ease-in-out
|
||||
hover:bg="$bew-theme-color-20" hover:shadow
|
||||
hover:bg="$bew-theme-color-10" hover:shadow
|
||||
:style="{ contentVisibility }"
|
||||
style="--un-shadow: 0 0 0 8px var(--bew-theme-color-20);"
|
||||
style="--un-shadow: 0 0 0 8px var(--bew-theme-color-10);"
|
||||
@mouseenter="handleMouseEnter"
|
||||
@mouseleave="handelMouseLeave"
|
||||
>
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
}
|
||||
|
||||
.bili-video-card:hover .bili-video-card__wrap {
|
||||
background-color: var(--bew-theme-color-20);
|
||||
box-shadow: 0 0 0 8px var(--bew-theme-color-20);
|
||||
background-color: var(--bew-theme-color-10);
|
||||
box-shadow: 0 0 0 8px var(--bew-theme-color-10);
|
||||
}
|
||||
|
||||
.bili-video-card:hover .bili-video-card__info--tit {
|
||||
|
||||
Reference in New Issue
Block a user