fix(lyrics): fix style (#606)

master
Map1en_ 4 years ago committed by GitHub
parent 9351f6bc89
commit fa98085dcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6,12 +6,12 @@
class="dynamic-background" class="dynamic-background"
> >
<div <div
v-show="this.$store.state.showLyrics" v-show="showLyrics"
class="top-right" class="top-right"
:style="{ backgroundImage: `url(${bgImageUrl})` }" :style="{ backgroundImage: `url(${bgImageUrl})` }"
/> />
<div <div
v-show="this.$store.state.showLyrics" v-show="showLyrics"
class="bottom-left" class="bottom-left"
:style="{ backgroundImage: `url(${bgImageUrl})` }" :style="{ backgroundImage: `url(${bgImageUrl})` }"
/> />
@ -387,13 +387,17 @@ export default {
} }
.dynamic-background { .dynamic-background {
filter: blur(50px) opacity(0.6) contrast(var(--contrast-dynamic-background)) filter: blur(50px) contrast(var(--contrast-dynamic-background))
brightness(var(--brightness-dynamic-background)); brightness(var(--brightness-dynamic-background));
position: absolute;
height: 100vh;
width: 100vw;
.top-right, .top-right,
.bottom-left { .bottom-left {
z-index: 0; z-index: 0;
width: 14vw; width: 140vw;
height: 14vw; height: 140vw;
opacity: 0.6;
position: absolute; position: absolute;
background-size: cover; background-size: cover;
animation: rotate 150s linear infinite; animation: rotate 150s linear infinite;
@ -415,10 +419,10 @@ export default {
@keyframes rotate { @keyframes rotate {
0% { 0% {
transform: rotate(0deg) scale(10); transform: rotate(0deg);
} }
100% { 100% {
transform: rotate(360deg) scale(10); transform: rotate(360deg);
} }
} }

Loading…
Cancel
Save