2019-12-13 04:04:04 +00:00
|
|
|
<template>
|
2020-05-21 01:44:44 +00:00
|
|
|
<div
|
|
|
|
v-if="release"
|
2021-02-02 21:45:10 +00:00
|
|
|
ref="content"
|
2020-05-21 01:44:44 +00:00
|
|
|
class="content"
|
2021-03-21 02:46:59 +00:00
|
|
|
@scroll="events.emit('scroll', $event)"
|
2020-05-21 01:44:44 +00:00
|
|
|
>
|
2020-06-30 22:25:27 +00:00
|
|
|
<Scroll
|
2020-12-26 22:51:27 +00:00
|
|
|
v-slot="slotProps"
|
2021-01-23 22:26:56 +00:00
|
|
|
class="scroll-light banner"
|
2021-02-02 03:08:52 +00:00
|
|
|
:style="{ 'background-image': bannerBackground }"
|
2020-06-30 22:25:27 +00:00
|
|
|
:expandable="false"
|
|
|
|
>
|
2021-01-23 22:03:21 +00:00
|
|
|
<Banner
|
2020-07-01 02:47:05 +00:00
|
|
|
:release="release"
|
2021-01-23 22:03:21 +00:00
|
|
|
class="media"
|
2020-12-26 22:51:27 +00:00
|
|
|
@load="slotProps.loaded"
|
2020-07-01 02:47:05 +00:00
|
|
|
/>
|
2020-06-30 22:25:27 +00:00
|
|
|
</Scroll>
|
|
|
|
|
2020-08-12 01:30:20 +00:00
|
|
|
<Details :release="release" />
|
2020-05-21 01:44:44 +00:00
|
|
|
|
2021-01-23 00:18:20 +00:00
|
|
|
<button
|
2022-03-27 22:22:57 +00:00
|
|
|
v-if="release.photos?.length > 0 || release.scenesPhotos?.length > 0"
|
2021-01-23 00:18:20 +00:00
|
|
|
class="album-toggle"
|
2021-02-03 18:21:47 +00:00
|
|
|
@click="$router.push({ hash: '#album' })"
|
2021-01-23 00:18:20 +00:00
|
|
|
><Icon icon="grid3" />View album</button>
|
|
|
|
|
|
|
|
<Album
|
|
|
|
v-if="showAlbum"
|
2022-03-28 18:05:25 +00:00
|
|
|
:items="[release.poster, ...(release.photos || []), ...(release.scenesPhotos || [])]"
|
2021-01-23 00:18:20 +00:00
|
|
|
:title="release.title"
|
2021-02-22 01:33:39 +00:00
|
|
|
:path="config.media.mediaPath"
|
2021-03-07 15:54:20 +00:00
|
|
|
@close="$router.replace({ hash: undefined })"
|
2021-01-23 00:18:20 +00:00
|
|
|
/>
|
|
|
|
|
2020-05-21 01:44:44 +00:00
|
|
|
<div class="info column">
|
2021-01-23 00:18:20 +00:00
|
|
|
<div class="row row-title">
|
2020-07-03 02:12:56 +00:00
|
|
|
<h2
|
|
|
|
v-if="release.title"
|
|
|
|
class="title"
|
2021-08-29 23:37:19 +00:00
|
|
|
>
|
|
|
|
{{ release.title }}
|
|
|
|
<template v-if="release.movies?.[0]?.title && /^scene \d+$/i.test(release.title)"><span class="title-composed"> from </span>{{ release.movies[0].title }}</template>
|
|
|
|
</h2>
|
2020-07-03 02:12:56 +00:00
|
|
|
|
|
|
|
<h2
|
2020-07-03 02:42:20 +00:00
|
|
|
v-else-if="release.actors.length > 0"
|
2020-07-03 02:12:56 +00:00
|
|
|
class="title title-composed"
|
|
|
|
>
|
|
|
|
{{ release.actors.map(actor => actor.name).join(', ') }} for {{ release.entity.name }}
|
|
|
|
<Icon
|
|
|
|
v-tooltip="`This scene has no known official title`"
|
|
|
|
icon="question2"
|
|
|
|
/>
|
|
|
|
</h2>
|
2021-03-17 01:09:34 +00:00
|
|
|
|
2021-03-21 02:46:59 +00:00
|
|
|
<StashButton
|
|
|
|
:stashed-by="stashedBy"
|
|
|
|
@stash="(stash) => stashScene(stash)"
|
|
|
|
@unstash="(stash) => unstashScene(stash)"
|
|
|
|
/>
|
2020-07-01 03:04:02 +00:00
|
|
|
</div>
|
2020-06-29 23:07:48 +00:00
|
|
|
|
2020-05-21 01:44:44 +00:00
|
|
|
<div class="row associations">
|
2020-12-26 22:51:27 +00:00
|
|
|
<ul class="actors nolist">
|
2020-05-21 01:44:44 +00:00
|
|
|
<li
|
|
|
|
v-for="actor in release.actors"
|
|
|
|
:key="actor.id"
|
|
|
|
>
|
|
|
|
<Actor :actor="actor" />
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
2021-02-05 02:03:57 +00:00
|
|
|
<Tags
|
|
|
|
v-if="release.tags.length > 0"
|
|
|
|
:tags="release.tags"
|
|
|
|
/>
|
|
|
|
|
2020-05-21 01:44:44 +00:00
|
|
|
<div
|
2022-03-26 16:40:20 +00:00
|
|
|
v-if="release.movies?.length > 0 || release.series?.length > 0"
|
2020-08-12 01:30:20 +00:00
|
|
|
class="row"
|
2020-05-21 01:44:44 +00:00
|
|
|
>
|
2020-08-12 01:30:20 +00:00
|
|
|
<span class="row-label">Part of</span>
|
|
|
|
|
|
|
|
<div class="movies">
|
|
|
|
<router-link
|
2022-03-26 16:40:20 +00:00
|
|
|
v-for="movie in [...release.movies, ...release.series]"
|
2020-08-12 01:30:20 +00:00
|
|
|
:key="`movie-${movie.id}`"
|
2022-03-26 16:40:20 +00:00
|
|
|
:to="{ name: movie.type || 'movie', params: { releaseId: movie.id, releaseSlug: movie.slug } }"
|
2020-08-12 01:30:20 +00:00
|
|
|
class="movie"
|
|
|
|
>
|
|
|
|
<span class="movie-title">{{ movie.title }}</span>
|
2022-03-26 16:40:20 +00:00
|
|
|
|
2020-08-12 01:30:20 +00:00
|
|
|
<img
|
2022-03-26 16:40:20 +00:00
|
|
|
v-if="movie.covers.length > 0 || movie.poster"
|
|
|
|
:src="getPath(movie.covers[0] || movie.poster, 'thumbnail')"
|
2020-08-12 01:30:20 +00:00
|
|
|
class="movie-cover"
|
|
|
|
>
|
|
|
|
</router-link>
|
|
|
|
</div>
|
2020-05-21 01:44:44 +00:00
|
|
|
</div>
|
|
|
|
|
2020-09-08 00:20:15 +00:00
|
|
|
<Releases
|
|
|
|
v-if="release.scenes && release.scenes.length > 0"
|
|
|
|
:releases="release.scenes"
|
|
|
|
/>
|
|
|
|
|
2021-03-24 16:17:51 +00:00
|
|
|
<div
|
|
|
|
v-if="release.directors && release.directors.length > 0"
|
|
|
|
class="row"
|
|
|
|
>
|
|
|
|
<span class="row-label">Director</span>
|
|
|
|
|
|
|
|
<router-link
|
|
|
|
v-for="director in release.directors"
|
|
|
|
:key="`director-${director.id}`"
|
|
|
|
class="link director"
|
|
|
|
:to="`/director/${director.id}/${director.slug}`"
|
|
|
|
>{{ director.name }}</router-link>
|
|
|
|
</div>
|
|
|
|
|
2020-05-21 01:44:44 +00:00
|
|
|
<div
|
2020-07-02 02:04:28 +00:00
|
|
|
v-if="release.description"
|
2020-07-01 02:47:05 +00:00
|
|
|
class="row"
|
2020-05-21 01:44:44 +00:00
|
|
|
>
|
2020-07-02 02:04:28 +00:00
|
|
|
<span class="row-label">Description</span>
|
|
|
|
<p class="description">{{ release.description }}</p>
|
2020-05-21 01:44:44 +00:00
|
|
|
</div>
|
|
|
|
|
2021-02-26 23:37:22 +00:00
|
|
|
<div
|
|
|
|
v-if="release.chapters?.length > 0"
|
|
|
|
class="row nolist"
|
|
|
|
>
|
|
|
|
<span class="row-label">Chapters</span>
|
|
|
|
|
|
|
|
<Chapters :chapters="release.chapters" />
|
|
|
|
</div>
|
|
|
|
|
2020-07-02 02:04:28 +00:00
|
|
|
<div class="row row-tidbits">
|
|
|
|
<div
|
|
|
|
v-if="release.duration"
|
|
|
|
class="row-tidbit"
|
|
|
|
>
|
|
|
|
<span class="row-label">Duration</span>
|
|
|
|
|
2020-08-20 17:52:02 +00:00
|
|
|
<div class="duration">{{ formatDuration(release.duration) }}</div>
|
2020-07-02 02:04:28 +00:00
|
|
|
</div>
|
2020-07-01 02:47:05 +00:00
|
|
|
|
2020-07-02 02:04:28 +00:00
|
|
|
<div
|
|
|
|
v-if="release.shootId"
|
|
|
|
class="row-tidbit"
|
|
|
|
>
|
|
|
|
<span class="row-label">Shoot #</span>
|
|
|
|
{{ release.shootId }}
|
|
|
|
</div>
|
2020-05-21 01:44:44 +00:00
|
|
|
|
2020-07-02 02:04:28 +00:00
|
|
|
<div
|
|
|
|
v-if="release.studio"
|
|
|
|
class="row-tidbit"
|
|
|
|
>
|
|
|
|
<span class="row-label">Studio</span>
|
|
|
|
|
|
|
|
<router-link
|
|
|
|
:to="`/studio/${release.studio.slug}`"
|
|
|
|
class="link studio"
|
|
|
|
>{{ release.studio.name }}</router-link>
|
|
|
|
</div>
|
2020-07-02 23:28:22 +00:00
|
|
|
|
|
|
|
<div
|
|
|
|
v-if="release.productionDate"
|
|
|
|
class="row-tidbit"
|
|
|
|
>
|
2020-07-16 01:47:07 +00:00
|
|
|
<span class="row-label">Shoot date</span>
|
2020-07-02 23:28:22 +00:00
|
|
|
{{ formatDate(release.productionDate, 'MMMM D, YYYY') }}
|
|
|
|
</div>
|
2020-08-20 02:57:38 +00:00
|
|
|
|
|
|
|
<div
|
|
|
|
v-if="release.productionLocation"
|
|
|
|
class="row-tidbit"
|
|
|
|
>
|
|
|
|
<span class="row-label">Location</span>
|
|
|
|
<span class="location">
|
|
|
|
<span
|
|
|
|
v-if="release.productionLocation.city"
|
|
|
|
class="location-segment"
|
|
|
|
>{{ release.productionLocation.city }}, </span>
|
|
|
|
<span
|
|
|
|
v-if="release.productionLocation.state"
|
|
|
|
class="location-segment"
|
|
|
|
>{{ release.productionLocation.state }}, </span>
|
|
|
|
<span
|
|
|
|
v-if="release.productionLocation.country"
|
|
|
|
class="location-segment"
|
|
|
|
>{{ release.productionLocation.country.alias || release.productionLocation.country.name }}
|
|
|
|
<img
|
|
|
|
class="flag"
|
|
|
|
:src="`/img/flags/${release.productionLocation.country.alpha2.toLowerCase()}.svg`"
|
|
|
|
>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
2020-05-21 01:44:44 +00:00
|
|
|
</div>
|
|
|
|
|
2022-03-31 12:11:13 +00:00
|
|
|
<div
|
|
|
|
v-if="release.qualities"
|
|
|
|
class="row"
|
|
|
|
>
|
|
|
|
<span class="row-label">Available qualities</span>
|
|
|
|
|
|
|
|
<span
|
|
|
|
v-for="quality in release.qualities"
|
|
|
|
:key="quality"
|
|
|
|
class="quality"
|
|
|
|
>{{ quality }}</span>
|
|
|
|
</div>
|
|
|
|
|
2020-07-08 00:53:46 +00:00
|
|
|
<div
|
|
|
|
v-if="release.comment"
|
|
|
|
class="row"
|
|
|
|
>
|
|
|
|
<span class="row-label">Comment</span>
|
|
|
|
<span>{{ release.comment }}</span>
|
|
|
|
</div>
|
|
|
|
|
2020-07-02 02:04:28 +00:00
|
|
|
<div class="row">
|
2020-07-05 02:10:35 +00:00
|
|
|
<span class="row-label">Added</span>
|
2020-07-01 02:47:05 +00:00
|
|
|
|
2020-07-01 03:04:02 +00:00
|
|
|
<router-link
|
2020-07-02 23:28:22 +00:00
|
|
|
:to="`/added/${formatDate(release.createdAt, 'YYYY/MM/DD')}`"
|
|
|
|
:title="`Added on ${formatDate(release.createdAt, 'MMMM D, YYYY HH:mm')}`"
|
2020-05-21 01:44:44 +00:00
|
|
|
class="link added"
|
2020-10-24 22:52:40 +00:00
|
|
|
>{{ release.createdBatchId }}: {{ formatDate(release.createdAt, 'MMMM D, YYYY HH:mm') }}</router-link>
|
2020-07-02 02:04:28 +00:00
|
|
|
</div>
|
2020-05-21 01:44:44 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-12-13 04:04:04 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2020-08-12 01:30:20 +00:00
|
|
|
import Details from './details.vue';
|
2021-01-23 22:03:21 +00:00
|
|
|
import Banner from './banner.vue';
|
2021-03-21 02:46:59 +00:00
|
|
|
import StashButton from '../stashes/button.vue';
|
2021-01-23 00:18:20 +00:00
|
|
|
import Album from '../album/album.vue';
|
2020-08-12 01:30:20 +00:00
|
|
|
import Tags from './tags.vue';
|
2021-02-26 23:37:22 +00:00
|
|
|
import Chapters from './chapters.vue';
|
2020-06-29 23:07:48 +00:00
|
|
|
import Actor from '../actors/tile.vue';
|
2020-09-08 00:20:15 +00:00
|
|
|
import Releases from './releases.vue';
|
2020-06-29 02:43:39 +00:00
|
|
|
import Scroll from '../scroll/scroll.vue';
|
2019-12-13 04:04:04 +00:00
|
|
|
|
2021-03-17 01:09:34 +00:00
|
|
|
async function fetchRelease(scroll = true) {
|
2020-09-08 00:20:15 +00:00
|
|
|
if (this.$route.name === 'scene') {
|
|
|
|
this.release = await this.$store.dispatch('fetchReleaseById', this.$route.params.releaseId);
|
|
|
|
}
|
|
|
|
|
|
|
|
if (this.$route.name === 'movie') {
|
|
|
|
this.release = await this.$store.dispatch('fetchMovieById', this.$route.params.releaseId);
|
|
|
|
}
|
2021-02-02 21:45:10 +00:00
|
|
|
|
2022-03-26 16:40:20 +00:00
|
|
|
if (this.$route.name === 'serie') {
|
|
|
|
this.release = await this.$store.dispatch('fetchSerieById', this.$route.params.releaseId);
|
|
|
|
}
|
|
|
|
|
2021-03-17 01:09:34 +00:00
|
|
|
if (scroll && this.$refs.content) {
|
2021-03-04 01:35:43 +00:00
|
|
|
this.$refs.content.scrollTop = 0;
|
|
|
|
}
|
2021-03-20 17:12:06 +00:00
|
|
|
|
2021-03-21 02:23:58 +00:00
|
|
|
this.stashedBy = this.release.stashes;
|
2019-12-13 04:04:04 +00:00
|
|
|
}
|
|
|
|
|
2021-03-21 02:46:59 +00:00
|
|
|
async function stashScene(stashId) {
|
2021-03-21 02:23:58 +00:00
|
|
|
this.stashedBy = await this.$store.dispatch(this.$route.name === 'movie' ? 'stashMovie' : 'stashScene', {
|
|
|
|
sceneId: this.release.id,
|
|
|
|
movieId: this.release.id,
|
2021-03-21 02:46:59 +00:00
|
|
|
stashId,
|
2021-03-21 02:23:58 +00:00
|
|
|
});
|
2021-03-17 01:09:34 +00:00
|
|
|
}
|
|
|
|
|
2021-03-21 02:46:59 +00:00
|
|
|
async function unstashScene(stashId) {
|
2021-03-21 02:23:58 +00:00
|
|
|
this.stashedBy = await this.$store.dispatch(this.$route.name === 'movie' ? 'unstashMovie' : 'unstashScene', {
|
|
|
|
sceneId: this.release.id,
|
|
|
|
movieId: this.release.id,
|
2021-03-21 02:46:59 +00:00
|
|
|
stashId,
|
2021-03-21 02:23:58 +00:00
|
|
|
});
|
2021-03-17 01:09:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
function me() {
|
|
|
|
return this.$store.state.auth.user;
|
|
|
|
}
|
|
|
|
|
2021-02-02 03:08:52 +00:00
|
|
|
function bannerBackground() {
|
2021-02-24 02:23:03 +00:00
|
|
|
return (this.release.poster && this.getBgPath(this.release.poster, 'thumbnail'))
|
|
|
|
|| (this.release.covers.length > 0 && this.getBgPath(this.release.covers[0], 'thumbnail'));
|
2021-02-02 03:08:52 +00:00
|
|
|
}
|
|
|
|
|
2020-09-10 21:49:24 +00:00
|
|
|
function pageTitle() {
|
|
|
|
return this.release
|
|
|
|
&& (this.release.title
|
2022-01-29 22:39:12 +00:00
|
|
|
|| (this.release.actors.length > 0 ? `${this.release.actors.map((actor) => actor.name).join(', ')} for ${this.release.entity.name}` : null));
|
2020-09-10 21:49:24 +00:00
|
|
|
}
|
|
|
|
|
2021-02-03 18:21:47 +00:00
|
|
|
function showAlbum() {
|
2022-03-27 22:22:57 +00:00
|
|
|
return (this.release.photos?.length > 0 || this.release.scenesPhotos?.length > 0) && this.$route.hash === '#album';
|
2021-02-03 18:21:47 +00:00
|
|
|
}
|
|
|
|
|
2019-12-13 04:04:04 +00:00
|
|
|
export default {
|
2020-05-21 01:44:44 +00:00
|
|
|
components: {
|
|
|
|
Actor,
|
2021-01-23 00:18:20 +00:00
|
|
|
Album,
|
2021-01-23 22:03:21 +00:00
|
|
|
Banner,
|
2021-02-26 23:37:22 +00:00
|
|
|
Chapters,
|
2021-03-21 02:23:58 +00:00
|
|
|
Details,
|
|
|
|
Releases,
|
|
|
|
Scroll,
|
2021-03-21 02:46:59 +00:00
|
|
|
StashButton,
|
2020-08-12 01:30:20 +00:00
|
|
|
Tags,
|
2020-05-21 01:44:44 +00:00
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
release: null,
|
2021-03-21 02:23:58 +00:00
|
|
|
stashedBy: [],
|
2020-05-21 01:44:44 +00:00
|
|
|
};
|
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
pageTitle,
|
2021-02-02 03:08:52 +00:00
|
|
|
bannerBackground,
|
2021-03-17 01:09:34 +00:00
|
|
|
me,
|
2021-02-03 18:21:47 +00:00
|
|
|
showAlbum,
|
2020-05-21 01:44:44 +00:00
|
|
|
},
|
2020-09-10 21:49:24 +00:00
|
|
|
watch: {
|
|
|
|
$route: fetchRelease,
|
|
|
|
},
|
|
|
|
mounted: fetchRelease,
|
|
|
|
methods: {
|
|
|
|
fetchRelease,
|
2021-03-19 01:36:31 +00:00
|
|
|
stashScene,
|
|
|
|
unstashScene,
|
2020-09-10 21:49:24 +00:00
|
|
|
},
|
2019-12-13 04:04:04 +00:00
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
2020-08-12 01:30:20 +00:00
|
|
|
@import 'breakpoints';
|
2020-07-01 02:47:05 +00:00
|
|
|
.expand-bottom {
|
|
|
|
border-bottom: solid 1px var(--shadow-hint);
|
|
|
|
}
|
|
|
|
|
2021-01-23 22:26:56 +00:00
|
|
|
.banner {
|
|
|
|
background-position: center;
|
|
|
|
background-size: cover;
|
2021-05-15 00:51:52 +00:00
|
|
|
|
2021-05-15 00:55:24 +00:00
|
|
|
:deep(.scrollable) {
|
2021-05-15 00:51:52 +00:00
|
|
|
backdrop-filter: blur(1rem);
|
|
|
|
}
|
2021-01-23 22:26:56 +00:00
|
|
|
}
|
|
|
|
|
2020-06-29 23:07:48 +00:00
|
|
|
.info {
|
2021-02-02 03:00:01 +00:00
|
|
|
padding: 1rem 0;
|
2020-06-29 23:07:48 +00:00
|
|
|
border-left: solid 1px var(--shadow-hint);
|
|
|
|
border-right: solid 1px var(--shadow-hint);
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.row {
|
2021-02-02 03:00:01 +00:00
|
|
|
padding: 0 1rem;
|
|
|
|
margin: 0 0 1rem 0;
|
2020-06-29 23:07:48 +00:00
|
|
|
|
|
|
|
&.associations {
|
|
|
|
align-items: start;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.row-label {
|
|
|
|
display: block;
|
|
|
|
margin: 0 0 .5rem 0;
|
|
|
|
color: var(--shadow);
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
margin: 0 .5rem 0 0;
|
|
|
|
fill: var(--shadow);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-02 02:04:28 +00:00
|
|
|
.row-tidbit {
|
|
|
|
display: inline-block;
|
2020-07-02 23:28:22 +00:00
|
|
|
margin: 0 2rem 0 0;
|
2020-07-02 02:04:28 +00:00
|
|
|
}
|
|
|
|
|
2021-01-23 00:18:20 +00:00
|
|
|
.row-title {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
2019-12-13 04:04:04 +00:00
|
|
|
.title {
|
2021-01-23 00:18:20 +00:00
|
|
|
display: inline-flex;
|
2020-06-29 23:07:48 +00:00
|
|
|
margin: 0;
|
2021-02-05 01:35:00 +00:00
|
|
|
font-size: 1.5rem;
|
|
|
|
line-height: 1.25;
|
2020-07-03 02:12:56 +00:00
|
|
|
|
|
|
|
.icon {
|
|
|
|
fill: var(--shadow);
|
|
|
|
padding: .25rem;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
fill: var(--primary);
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.title-composed {
|
|
|
|
color: var(--shadow);
|
2020-06-29 23:07:48 +00:00
|
|
|
}
|
|
|
|
|
2021-01-23 00:18:20 +00:00
|
|
|
.album-toggle {
|
|
|
|
height: fit-content;
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
padding: .5rem 1rem;
|
|
|
|
border: none;
|
|
|
|
border-bottom: solid 1px var(--shadow-hint);
|
2020-06-29 23:07:48 +00:00
|
|
|
color: var(--shadow);
|
2021-01-23 00:18:20 +00:00
|
|
|
background: none;
|
|
|
|
font-size: 1rem;
|
2020-06-29 23:07:48 +00:00
|
|
|
font-weight: bold;
|
2021-01-23 00:18:20 +00:00
|
|
|
|
|
|
|
.icon {
|
|
|
|
fill: var(--shadow);
|
|
|
|
margin: -.1rem .5rem 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: var(--shadow-hint);
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2019-12-13 04:04:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.description {
|
2020-03-27 03:39:13 +00:00
|
|
|
line-height: 1.5;
|
2020-07-01 02:47:05 +00:00
|
|
|
margin: -.25rem 0 0 0;
|
2019-12-13 04:04:04 +00:00
|
|
|
}
|
|
|
|
|
2020-01-09 01:52:20 +00:00
|
|
|
.actors {
|
2020-04-27 00:37:30 +00:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
|
2020-06-29 23:07:48 +00:00
|
|
|
grid-gap: .5rem;
|
2020-03-09 04:06:37 +00:00
|
|
|
flex-grow: 1;
|
2020-01-09 01:52:20 +00:00
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
2020-08-12 01:30:20 +00:00
|
|
|
.movies {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
|
|
|
|
grid-gap: .5rem;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.movie {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
background: var(--background);
|
|
|
|
box-shadow: 0 0 3px var(--shadow-weak);
|
|
|
|
color: var(--text);
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover .movie-title {
|
|
|
|
color: var(--primary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.movie-cover {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.movie-title {
|
|
|
|
padding: .5rem;
|
|
|
|
font-weight: bold;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2022-03-31 12:11:13 +00:00
|
|
|
.quality {
|
|
|
|
&::after {
|
|
|
|
content: 'p, ';
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child::after {
|
|
|
|
content: 'p',
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-02 03:00:01 +00:00
|
|
|
.releases {
|
|
|
|
margin: 0 0 .5rem 0;
|
|
|
|
}
|
|
|
|
|
2020-08-20 02:57:38 +00:00
|
|
|
.flag {
|
|
|
|
height: 1rem;
|
|
|
|
margin: 0 0 -.15rem .1rem;
|
|
|
|
}
|
|
|
|
|
2019-12-13 04:04:04 +00:00
|
|
|
.link {
|
2020-06-30 22:25:27 +00:00
|
|
|
display: inline-flex;
|
2020-03-27 03:39:13 +00:00
|
|
|
color: var(--link);
|
2019-12-13 04:04:04 +00:00
|
|
|
text-decoration: none;
|
|
|
|
|
2021-03-06 23:01:02 +00:00
|
|
|
&.director:not(:last-child)::after {
|
|
|
|
content: ', ';
|
|
|
|
}
|
|
|
|
|
2019-12-13 04:04:04 +00:00
|
|
|
&:hover {
|
2020-03-27 03:39:13 +00:00
|
|
|
color: var(--primary);
|
2019-12-13 04:04:04 +00:00
|
|
|
|
|
|
|
.icon {
|
2020-03-27 03:39:13 +00:00
|
|
|
fill: var(--primary);
|
2019-12-13 04:04:04 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.showable {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-02-02 03:00:01 +00:00
|
|
|
@media(max-width: $breakpoint-kilo) {
|
|
|
|
.releases {
|
|
|
|
padding: .5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-13 04:04:04 +00:00
|
|
|
@media(max-width: $breakpoint) {
|
|
|
|
.hideable {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-02-02 03:00:01 +00:00
|
|
|
.row .showable {
|
|
|
|
display: block;
|
2019-12-13 04:04:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tidbit .showable {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2021-02-05 01:35:00 +00:00
|
|
|
.title {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
}
|
|
|
|
|
2020-04-27 00:37:30 +00:00
|
|
|
.actors {
|
2021-02-05 02:03:57 +00:00
|
|
|
grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
|
2020-04-27 00:37:30 +00:00
|
|
|
}
|
2019-12-13 04:04:04 +00:00
|
|
|
}
|
|
|
|
</style>
|