mirror of
https://github.com/koel/koel
synced 2024-11-10 14:44:13 +00:00
Fix styles
This commit is contained in:
parent
dc7c6bec45
commit
cb170ab5b8
1 changed files with 25 additions and 23 deletions
|
@ -1,11 +1,12 @@
|
|||
<template>
|
||||
<div id="app">
|
||||
<div id="remoteController" v-if="authenticated">
|
||||
<div class="translucent" v-if="song" :style="{ backgroundImage: 'url('+song.album.cover+')' }">
|
||||
</div>
|
||||
<div id="main" v-if="authenticated">
|
||||
<p class="collapse">
|
||||
<i class="fa fa-angle-down"></i>
|
||||
</p>
|
||||
<div class="details" v-if="song">
|
||||
<div class="translucent" :style="{ backgroundImage: 'url('+song.album.cover+')' }"></div>
|
||||
<div class="cover">
|
||||
<img :src="song.album.cover" alt="song.album.cover">
|
||||
</div>
|
||||
|
@ -167,14 +168,34 @@
|
|||
|
||||
@include vertical-center();
|
||||
}
|
||||
|
||||
.translucent {
|
||||
position: absolute;
|
||||
top: -20px;
|
||||
left: -20px;
|
||||
right: -20px;
|
||||
bottom: -20px;
|
||||
filter: blur(20px);
|
||||
opacity: .3;
|
||||
z-index: 0;
|
||||
overflow: hidden;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
transform: translateZ(0);
|
||||
backface-visibility: hidden;
|
||||
perspective: 1000;
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
#remoteController {
|
||||
#main {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
text-align: center;
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
|
||||
.collapse {
|
||||
height: 12vmin;
|
||||
|
@ -187,11 +208,10 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
justify-content: space-around;
|
||||
|
||||
.info {
|
||||
width: 100%;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-around;
|
||||
|
@ -240,24 +260,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
.translucent {
|
||||
position: absolute;
|
||||
top: -20px;
|
||||
left: -20px;
|
||||
right: -20px;
|
||||
bottom: -20px;
|
||||
filter: blur(20px);
|
||||
opacity: .3;
|
||||
z-index: -1;
|
||||
overflow: hidden;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
transform: translateZ(0);
|
||||
backface-visibility: hidden;
|
||||
perspective: 1000;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
footer {
|
||||
height: 18vh;
|
||||
display: flex;
|
||||
|
|
Loading…
Reference in a new issue