Added Amateur Allure.

This commit is contained in:
2020-03-01 05:28:08 +01:00
parent 3290a5f686
commit e57f440665
17 changed files with 227 additions and 21 deletions

View File

@@ -219,6 +219,17 @@ export default {
}
}
.networks {
display: grid;
grid-gap: 0 1rem;
flex-grow: 1;
padding: 1rem;
grid-template-columns: 1fr;
grid-template-rows: min-content;
overflow-y: auto;
scrollbar-color: $highlight-weak $profile;
}
.logo {
width: 100%;
max-height: 8rem;

View File

@@ -26,6 +26,8 @@
:alt="release.title"
class="item trailer-video"
controls
@playing="playing = true"
@pause="playing = false"
>Sorry, the tailer cannot be played in your browser</video>
<video
@@ -35,6 +37,8 @@
:alt="release.title"
class="item trailer-video"
controls
@playing="playing = true"
@pause="playing = false"
>Sorry, the tailer cannot be played in your browser</video>
<img
@@ -43,6 +47,15 @@
:alt="release.title"
class="item trailer-video"
>
<a
v-if="release.poster"
:href="`/media/${release.poster.path}`"
:class="{ playing }"
target="_blank"
rel="noopener noreferrer"
class="poster-link"
><Icon icon="image" /></a>
</div>
<a
@@ -86,6 +99,11 @@ export default {
default: null,
},
},
data() {
return {
playing: false,
};
},
computed: {
photos,
},
@@ -114,6 +132,7 @@ export default {
.trailer {
display: inline-block;
position: relative;
max-width: 100vw;
}
@@ -122,6 +141,32 @@ export default {
object-fit: cover;
}
.poster-link {
position: absolute;
top: .5rem;
right: .5rem;
transition: opacity .1s ease;
.icon {
width: 1.5rem;
height: 1.5rem;
fill: $highlight;
}
&.playing {
opacity: 0;
}
&:hover {
cursor: pointer;
opacity: 1;
.icon {
fill: $highlight-strong;
}
}
}
.item {
height: 18rem;
vertical-align: middle;

View File

@@ -71,6 +71,7 @@ export default {
flex-grow: 1;
padding: 1rem;
grid-template-columns: 1fr;
grid-template-rows: min-content;
overflow-y: auto;
scrollbar-color: $highlight-weak $profile;
}