diff --git a/src/components/VideoCard-Perf.vue.bak b/src/components/VideoCard-Perf.vue.bak
new file mode 100644
index 00000000..8dc62f5f
--- /dev/null
+++ b/src/components/VideoCard-Perf.vue.bak
@@ -0,0 +1,367 @@
+
+
+
+
+
+
+
+
+ {{ $t('home.video_removed') }}
+
+
+
+
+
+
+
+
+ {{ calcCurrentTime(duration) }}
+
+
+
+
+
+
+
+
+
+
![]()
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/VideoCard.vue b/src/components/VideoCard.vue
index f65d7479..c5d789c4 100644
--- a/src/components/VideoCard.vue
+++ b/src/components/VideoCard.vue
@@ -117,7 +117,7 @@ function toggleWatchLater() {
class="video-card group"
:class="isDislike ? 'is-dislike' : ''"
m="b-8"
- rounded="“$bew-radius"
+ rounded="$bew-radius"
>
@@ -136,22 +136,22 @@ function toggleWatchLater() {
>
{{ $t('home.video_removed') }}
+ text="$bew-theme-color base"
+ font="bold"
+ m="t-4"
+ @click="
+ undoDislike(
+ dislikeReasonId ? dislikeReasonId : 0,
+ goto,
+ param,
+ mid,
+ tid,
+ tag.tag_id,
+ )
+ "
+ >
+ {{ $t('common.undo') }}
+ -->
@@ -160,9 +160,9 @@ function toggleWatchLater() {
w="full" relative bg="$bew-fill-4" rounded="$bew-radius" cursor-pointer group-hover:shadow
group-hover:transform="translate--4px"
style="--un-shadow:
- 0 0 0 4px var(--bew-theme-color),
- 8px 8px 0 2px var(--bew-theme-color-60),
- 14px 14px 0 2px var(--bew-theme-color-40)"
+ 0 0 0 4px var(--bew-theme-color),
+ 8px 8px 0 2px var(--bew-theme-color-60),
+ 14px 14px 0 2px var(--bew-theme-color-40)"
transition="all ease-in-out 300" group-hover:z-2
@click.stop="openLinkToNewTab(videoUrl)"
>
@@ -208,7 +208,7 @@ function toggleWatchLater() {
loading="lazy"
w="full" max-w-full align-middle aspect-video
bg="cover center"
- rounded="$bew-radius" content-visibility-auto
+ rounded="$bew-radius"
>
@@ -226,7 +226,7 @@ function toggleWatchLater() {
:src="`${removeHttpFromUrl(authorFace)}@50w_50h_1c`"
width="40"
height="40"
- loading="lazy" content-visibility-auto
+ loading="lazy"
>
@@ -234,7 +234,7 @@ function toggleWatchLater() {
+ id="dislike-control-btn"
+ class="icon-btn"
+ p="t-0.15rem x-2"
+ pointer="auto"
+ display="invisible"
+ group-hover:display="visible"
+ @click.stop="showPopCtrl = !showPopCtrl"
+ >
+
+
-->
@@ -266,52 +266,52 @@ function toggleWatchLater() {
+ pos="absolute top-9 right-0"
+ p="2"
+ z="30"
+ w="180px"
+ bg="$bew-content-1"
+ rounded="$bew-radius"
+ style="
+ box-shadow: var(--bew-shadow-2);
+ backdrop-filter: var(--bew-filter-glass);
+ "
+ >
+
+ {{ $t('home.not_interested_in') }}
+
+
+ -
+ {{ reason.reason_name }}
+
+
+ -->
{{ author }}
diff --git a/src/contentScripts/views/App.vue b/src/contentScripts/views/App.vue
index a1177e0c..4e3481a6 100644
--- a/src/contentScripts/views/App.vue
+++ b/src/contentScripts/views/App.vue
@@ -228,9 +228,9 @@ function setAppThemeColor() {
bewlyElement.style.setProperty(`--bew-theme-color-${i + 1}0`, hexToRGBA(settings.value.themeColor, i * 0.1 + 0.1))
}
- document.body.style.setProperty('--bew-theme-color', settings.value.themeColor)
+ document.documentElement.style.setProperty('--bew-theme-color', settings.value.themeColor)
for (let i = 0; i < 9; i++)
- document.body.style.setProperty(`--bew-theme-color-${i + 1}0`, hexToRGBA(settings.value.themeColor, i * 0.1 + 0.1))
+ document.documentElement.style.setProperty(`--bew-theme-color-${i + 1}0`, hexToRGBA(settings.value.themeColor, i * 0.1 + 0.1))
}
function setAppWallpaperMaskingOpacity() {
@@ -411,8 +411,8 @@ function handleBackToTop() {
-