为明亮主题优化Footer组件的背景色透明度

This commit is contained in:
jxxghp
2025-07-13 13:31:23 +08:00
parent 17a206e0f4
commit f0317e1d74

View File

@@ -252,6 +252,10 @@ const showDynamicButton = computed(() => {
pointer-events: auto;
transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
.v-theme--light & {
background-color: rgba(var(--v-theme-surface), 0.6);
}
&.shift-left {
transform: translateX(0);
}
@@ -314,6 +318,16 @@ const showDynamicButton = computed(() => {
inline-size: auto;
min-block-size: 0;
// 明亮主题下降低透明度,提高文字可读性
.v-theme--light & {
background-color: rgba(var(--v-theme-surface), 0.8);
}
// 暗色主题保持原有透明度
.v-theme--dark & {
background-color: rgba(var(--v-theme-surface), 0.3);
}
.footer-card-content {
padding: 3px;
}