2023-12-30 05:29:53 +00:00
|
|
|
<template>
|
|
|
|
<div class="page">
|
|
|
|
<div class="content">
|
2024-03-19 01:19:23 +00:00
|
|
|
<div
|
|
|
|
class="banner-container"
|
2024-03-25 01:08:09 +00:00
|
|
|
:style="{ 'background-image': `url(${getPath(scene.poster, 'thumbnail')})` }"
|
2024-03-19 01:19:23 +00:00
|
|
|
>
|
|
|
|
<div class="banner">
|
2024-03-24 03:22:37 +00:00
|
|
|
<div
|
2024-06-03 22:44:28 +00:00
|
|
|
v-if="scene.trailer || scene.teaser"
|
2024-03-24 03:22:37 +00:00
|
|
|
class="trailer"
|
|
|
|
>
|
|
|
|
<Player
|
2024-06-03 22:44:28 +00:00
|
|
|
:video="scene.trailer || scene.teaser"
|
2024-03-24 03:22:37 +00:00
|
|
|
:poster="poster"
|
|
|
|
class="item"
|
|
|
|
:class="{ playing }"
|
|
|
|
@play="playing = true; paused = false;"
|
|
|
|
@pause="playing = false; paused = true;"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div
|
|
|
|
v-else-if="scene.poster"
|
|
|
|
class="poster-container"
|
|
|
|
>
|
2024-04-02 03:55:53 +00:00
|
|
|
<div class="poster-link">
|
2024-02-22 04:08:06 +00:00
|
|
|
<img
|
2024-03-24 03:22:37 +00:00
|
|
|
:src="getPath(scene.poster, 'thumbnail')"
|
2024-05-31 01:48:17 +00:00
|
|
|
:style="{ 'background-image': `url(${getPath(scene.poster, 'lazy')}` }"
|
2024-03-19 01:19:23 +00:00
|
|
|
:width="scene.poster.width"
|
|
|
|
:height="scene.poster.height"
|
|
|
|
class="poster"
|
2024-02-22 04:08:06 +00:00
|
|
|
>
|
2024-04-02 03:55:53 +00:00
|
|
|
</div>
|
2023-12-30 05:29:53 +00:00
|
|
|
</div>
|
2024-03-19 01:19:23 +00:00
|
|
|
|
|
|
|
<div
|
|
|
|
v-if="scene.photos.length > 0"
|
|
|
|
class="album"
|
2024-03-21 01:54:05 +00:00
|
|
|
:class="{ single: scene.photos.length === 1 }"
|
2024-03-19 01:19:23 +00:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
v-for="photo in scene.photos"
|
|
|
|
:key="`photo-${photo.id}`"
|
|
|
|
class="photo-container"
|
|
|
|
>
|
2024-04-02 03:55:53 +00:00
|
|
|
<div class="photo-link">
|
2024-03-19 01:19:23 +00:00
|
|
|
<img
|
2024-03-24 03:22:37 +00:00
|
|
|
:src="getPath(photo, 'thumbnail')"
|
|
|
|
:style="{ 'background-image': getPath(photo, 'lazy') }"
|
2024-03-19 01:19:23 +00:00
|
|
|
:width="photo.width"
|
|
|
|
:height="photo.height"
|
|
|
|
class="photo"
|
|
|
|
>
|
2024-04-02 03:55:53 +00:00
|
|
|
</div>
|
2024-03-19 01:19:23 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-12-30 05:29:53 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="meta">
|
|
|
|
<div class="entity">
|
|
|
|
<Link
|
|
|
|
v-if="scene.channel"
|
|
|
|
:href="`/${scene.channel.type}/${scene.channel.slug}`"
|
|
|
|
class="channel-link entity-link"
|
|
|
|
>
|
|
|
|
<img
|
|
|
|
v-if="scene.channel.hasLogo"
|
2024-04-02 00:50:24 +00:00
|
|
|
:src="scene.channel.isIndependent || !scene.network ? `/logos/${scene.channel.slug}/thumbs/network.png` : `/logos/${scene.network.slug}/thumbs/${scene.channel.slug}.png`"
|
2023-12-30 05:29:53 +00:00
|
|
|
class="channel-logo entity-logo"
|
|
|
|
>
|
|
|
|
</Link>
|
|
|
|
|
2024-03-24 03:22:37 +00:00
|
|
|
<span
|
|
|
|
v-if="!scene.channel.isIndependent && scene.network"
|
|
|
|
class="network-container"
|
|
|
|
>
|
2023-12-30 05:29:53 +00:00
|
|
|
by
|
|
|
|
<Link
|
2024-05-01 01:57:12 +00:00
|
|
|
:href="`/${scene.network.type}/${scene.network.slug}`"
|
2023-12-30 05:29:53 +00:00
|
|
|
class="network-link entity-link"
|
|
|
|
>
|
|
|
|
<img
|
|
|
|
v-if="scene.network.hasLogo"
|
2024-04-02 00:50:24 +00:00
|
|
|
:src="`/logos/${scene.network.slug}/thumbs/network.png`"
|
2023-12-30 05:29:53 +00:00
|
|
|
class="network-logo entity-logo"
|
|
|
|
>
|
|
|
|
</Link>
|
2024-03-24 03:22:37 +00:00
|
|
|
</span>
|
2023-12-30 05:29:53 +00:00
|
|
|
</div>
|
|
|
|
|
2024-04-02 03:55:53 +00:00
|
|
|
<Link
|
|
|
|
:href="scene.url"
|
|
|
|
target="_blank"
|
|
|
|
class="date nolink"
|
|
|
|
>
|
|
|
|
<time
|
|
|
|
:datetime="scene.effectiveDate.toISOString()"
|
|
|
|
class="ellipsis compact-hide"
|
|
|
|
>{{ formatDate(scene.effectiveDate, 'MMMM d, y') }}</time>
|
|
|
|
|
|
|
|
<time
|
|
|
|
:datetime="scene.effectiveDate.toISOString()"
|
|
|
|
class="ellipsis compact-show"
|
|
|
|
>{{ formatDate(scene.effectiveDate, 'MMM d, y') }}</time>
|
|
|
|
</Link>
|
2023-12-30 05:29:53 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="header">
|
|
|
|
<h2
|
2024-03-24 03:22:37 +00:00
|
|
|
v-if="scene.title"
|
2023-12-30 05:29:53 +00:00
|
|
|
:title="scene.title"
|
|
|
|
class="title"
|
|
|
|
>{{ scene.title }}</h2>
|
|
|
|
|
2024-03-24 03:22:37 +00:00
|
|
|
<h2
|
|
|
|
v-else-if="scene.actors.length > 0"
|
|
|
|
class="title notitle"
|
|
|
|
>Scene featuring {{ scene.actors.map((actor) => actor.name).join(', ') }}</h2>
|
|
|
|
|
|
|
|
<h2
|
|
|
|
v-else
|
|
|
|
class="title notitle"
|
|
|
|
>No title</h2>
|
|
|
|
|
2023-12-30 05:29:53 +00:00
|
|
|
<div class="actions">
|
2024-03-27 01:28:21 +00:00
|
|
|
<Heart
|
|
|
|
domain="scenes"
|
|
|
|
:item="scene"
|
|
|
|
/>
|
2024-03-19 01:19:23 +00:00
|
|
|
|
2023-12-30 05:29:53 +00:00
|
|
|
<div class="view">
|
|
|
|
<button
|
|
|
|
v-if="scene.photos.length > 0"
|
|
|
|
class="button view nolink"
|
|
|
|
>View photos</button>
|
|
|
|
|
|
|
|
<Link
|
|
|
|
v-if="scene.url"
|
|
|
|
:href="scene.url"
|
|
|
|
target="_blank"
|
2024-03-27 15:37:02 +00:00
|
|
|
class="button button-primary watch nolink"
|
2023-12-30 05:29:53 +00:00
|
|
|
>Watch scene</Link>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="info">
|
|
|
|
<ul class="actors nolist">
|
|
|
|
<li
|
|
|
|
v-for="actor in scene.actors"
|
|
|
|
:key="`actor-${actor.id}`"
|
|
|
|
class="actor"
|
|
|
|
>
|
|
|
|
<ActorTile :actor="actor" />
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<ul class="tags nolist">
|
|
|
|
<li
|
|
|
|
v-for="tag in scene.tags"
|
|
|
|
:key="`tag-${tag.id}`"
|
|
|
|
>
|
|
|
|
<Link
|
|
|
|
:href="`/tag/${tag.slug}`"
|
|
|
|
class="tag nolink"
|
|
|
|
>{{ tag.name }}</Link>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
2024-05-31 01:48:17 +00:00
|
|
|
<div
|
2024-06-01 22:30:56 +00:00
|
|
|
v-if="scene.movies.length > 0 || scene.series.length > 0"
|
2024-05-31 01:48:17 +00:00
|
|
|
class="section"
|
|
|
|
>
|
|
|
|
<h3 class="heading">Part of</h3>
|
|
|
|
|
|
|
|
<div class="movies">
|
|
|
|
<MovieTile
|
|
|
|
v-for="movie in scene.movies"
|
|
|
|
:key="`movie-${movie.id}`"
|
|
|
|
:movie="movie"
|
2024-06-02 03:22:08 +00:00
|
|
|
:show-details="false"
|
2024-05-31 01:48:17 +00:00
|
|
|
/>
|
|
|
|
</div>
|
2024-06-01 22:30:56 +00:00
|
|
|
|
|
|
|
<div class="series">
|
|
|
|
<SerieTile
|
|
|
|
v-for="serie in scene.series"
|
|
|
|
:key="`serie-${serie.id}`"
|
|
|
|
:serie="serie"
|
|
|
|
:details="false"
|
|
|
|
/>
|
|
|
|
</div>
|
2024-05-31 01:48:17 +00:00
|
|
|
</div>
|
|
|
|
|
2024-03-19 19:50:50 +00:00
|
|
|
<div
|
|
|
|
v-if="scene.description"
|
|
|
|
class="section"
|
|
|
|
>
|
2023-12-30 05:29:53 +00:00
|
|
|
<h3 class="heading">Description</h3>
|
|
|
|
|
2024-03-19 19:50:50 +00:00
|
|
|
<p class="description">{{ scene.description }}</p>
|
2023-12-30 05:29:53 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="section details">
|
|
|
|
<div
|
|
|
|
v-if="scene.duration"
|
|
|
|
class="detail"
|
|
|
|
>
|
|
|
|
<h3 class="heading">Duration</h3>
|
|
|
|
{{ formatDuration(scene.duration) }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div
|
|
|
|
v-if="scene.directors.length > 0"
|
|
|
|
class="detail"
|
|
|
|
>
|
|
|
|
<h3 class="heading">Director</h3>
|
|
|
|
{{ scene.directors.map((director) => director.name).join(', ') }}
|
|
|
|
</div>
|
2024-03-24 03:22:37 +00:00
|
|
|
|
|
|
|
<div
|
|
|
|
v-if="scene.shootId"
|
|
|
|
class="detail"
|
|
|
|
>
|
|
|
|
<h3 class="heading">Shoot</h3>
|
|
|
|
{{ scene.shootId }}
|
|
|
|
</div>
|
2023-12-30 05:29:53 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="section details">
|
|
|
|
<div class="detail">
|
|
|
|
<h3 class="heading">Added</h3>
|
2024-03-21 01:54:05 +00:00
|
|
|
<span class="added-date">{{ formatDate(scene.createdAt, 'yyyy-MM-dd') }}</span>
|
|
|
|
<span
|
|
|
|
:title="`Batch ${scene.createdBatchId}`"
|
|
|
|
class="added-batch"
|
|
|
|
>#{{ scene.createdBatchId }}</span>
|
2023-12-30 05:29:53 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div
|
|
|
|
v-if="scene.comment"
|
|
|
|
class="detail"
|
|
|
|
>
|
|
|
|
<h3 class="heading">Comment</h3>
|
|
|
|
{{ scene.comment }}
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-05-31 01:48:17 +00:00
|
|
|
|
|
|
|
<div
|
|
|
|
v-if="summary"
|
|
|
|
class="section summary"
|
|
|
|
>
|
|
|
|
<h3 class="heading">Summary</h3>
|
|
|
|
|
|
|
|
<div class="detail">
|
|
|
|
<input
|
|
|
|
class="input"
|
|
|
|
:value="summary"
|
|
|
|
@focus="$event.target.select()"
|
|
|
|
>
|
|
|
|
|
|
|
|
<Icon
|
|
|
|
v-tooltip="'Copy to clipboard'"
|
|
|
|
icon="copy"
|
|
|
|
class="copy"
|
|
|
|
@click="copySummary"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-12-30 05:29:53 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
2024-03-24 03:22:37 +00:00
|
|
|
import { ref, computed, inject } from 'vue';
|
2023-12-30 05:29:53 +00:00
|
|
|
|
2024-01-10 01:00:38 +00:00
|
|
|
import { formatDate, formatDuration } from '#/utils/format.js';
|
2024-03-24 03:22:37 +00:00
|
|
|
import getPath from '#/src/get-path.js';
|
2023-12-30 05:29:53 +00:00
|
|
|
|
2024-03-24 03:22:37 +00:00
|
|
|
import ActorTile from '#/components/actors/tile.vue';
|
2024-05-31 01:48:17 +00:00
|
|
|
import MovieTile from '#/components/movies/tile.vue';
|
2024-06-01 22:30:56 +00:00
|
|
|
import SerieTile from '#/components/series/tile.vue';
|
2024-03-24 03:22:37 +00:00
|
|
|
import Player from '#/components/video/player.vue';
|
2024-03-27 01:28:21 +00:00
|
|
|
import Heart from '#/components/stashes/heart.vue';
|
2023-12-30 05:29:53 +00:00
|
|
|
|
2024-05-31 01:48:17 +00:00
|
|
|
import summaryTemplate from '#/assets/summary.yaml';
|
|
|
|
|
2024-03-27 01:28:21 +00:00
|
|
|
const { pageProps } = inject('pageContext');
|
2023-12-30 05:29:53 +00:00
|
|
|
const { scene } = pageProps;
|
2024-03-19 01:19:23 +00:00
|
|
|
|
2024-03-24 03:22:37 +00:00
|
|
|
const playing = ref(false);
|
|
|
|
const paused = ref(false);
|
|
|
|
|
|
|
|
const poster = computed(() => {
|
|
|
|
if (scene.poster) {
|
|
|
|
return getPath(scene.poster, 'thumbnail');
|
|
|
|
}
|
|
|
|
|
|
|
|
if (scene.covers?.length > 0) {
|
|
|
|
return getPath(scene.covers[0], 'thumbnail');
|
|
|
|
}
|
|
|
|
|
|
|
|
if (scene.photos?.length > 0) {
|
|
|
|
return getPath(scene.photos[0], 'thumbnail');
|
|
|
|
}
|
|
|
|
|
|
|
|
return null;
|
|
|
|
});
|
2024-05-31 01:48:17 +00:00
|
|
|
|
|
|
|
const propProcessors = {
|
|
|
|
channel: (sceneInfo) => sceneInfo.channel?.name || sceneInfo.network?.name,
|
|
|
|
network: (sceneInfo) => sceneInfo.network?.name || sceneInfo.channel?.name,
|
|
|
|
actors: (sceneInfo) => sceneInfo.actors.map((actor) => actor.name),
|
2024-05-31 01:49:23 +00:00
|
|
|
movie: (sceneInfo) => sceneInfo.movies[0]?.title,
|
2024-05-31 01:48:17 +00:00
|
|
|
date: (sceneInfo, format) => formatDate(sceneInfo.effectiveDate, format),
|
|
|
|
};
|
|
|
|
|
|
|
|
function processTemplate(chain, delimit = ' ', wrapOpen = '', wrapClose = '') {
|
|
|
|
const results = chain.reduce((result, item) => {
|
|
|
|
if (typeof item === 'string') {
|
|
|
|
const [prop, format] = item.split('|');
|
|
|
|
const value = propProcessors[prop]?.(scene, format) || scene[prop];
|
|
|
|
|
|
|
|
if (Array.isArray(value)) {
|
|
|
|
return result.concat(value.join(format || ', '));
|
|
|
|
}
|
|
|
|
|
|
|
|
return result.concat(value);
|
|
|
|
}
|
|
|
|
|
|
|
|
if (Array.isArray(item)) {
|
|
|
|
const values = processTemplate(item, ', ');
|
|
|
|
|
|
|
|
return result.concat(values);
|
|
|
|
}
|
|
|
|
|
|
|
|
if (typeof item === 'object') {
|
|
|
|
const [meta, items] = Object.entries(item)[0];
|
|
|
|
const [delimiter, wrapStart, wrapEnd] = meta.split('|');
|
|
|
|
const values = processTemplate(items, delimiter, wrapStart, wrapEnd);
|
|
|
|
|
|
|
|
return result.concat(values);
|
|
|
|
}
|
|
|
|
|
|
|
|
return [];
|
|
|
|
}, []);
|
|
|
|
|
|
|
|
if (results.length > 0) {
|
|
|
|
return `${wrapOpen}${results.filter(Boolean).join(delimit)}${wrapClose}`;
|
|
|
|
}
|
|
|
|
|
|
|
|
return '';
|
|
|
|
}
|
|
|
|
|
|
|
|
const summary = (() => {
|
|
|
|
try {
|
|
|
|
return processTemplate(summaryTemplate);
|
|
|
|
} catch (error) {
|
|
|
|
console.error(`Failed to process template: ${error.message}`);
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
})();
|
|
|
|
|
|
|
|
function copySummary() {
|
|
|
|
navigator.clipboard.writeText(summary);
|
|
|
|
}
|
2023-12-30 05:29:53 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
.page {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
background: var(--background-base-10);
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 1200px;
|
2024-06-01 22:30:56 +00:00
|
|
|
margin: 0 1rem;
|
2023-12-30 05:29:53 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2024-03-19 01:19:23 +00:00
|
|
|
.banner-container {
|
|
|
|
background-position: center;
|
|
|
|
background-size: cover;
|
2024-03-21 01:54:05 +00:00
|
|
|
border-radius: .5rem .5rem 0 0;
|
2024-03-19 01:19:23 +00:00
|
|
|
margin-top: .5rem;
|
2024-03-21 01:54:05 +00:00
|
|
|
box-shadow: 0 0 3px var(--shadow-weak-30);
|
2024-03-19 01:19:23 +00:00
|
|
|
}
|
|
|
|
|
2023-12-30 05:29:53 +00:00
|
|
|
.banner {
|
2024-03-19 20:38:08 +00:00
|
|
|
max-height: 21rem;
|
2024-03-21 01:54:05 +00:00
|
|
|
border-radius: .5rem 0 0 0;
|
2023-12-30 05:29:53 +00:00
|
|
|
display: flex;
|
2024-03-19 01:19:23 +00:00
|
|
|
font-size: 0;
|
2024-03-21 01:54:05 +00:00
|
|
|
backdrop-filter: brightness(150%) blur(1rem);
|
2024-03-19 19:50:50 +00:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.poster-container {
|
2024-03-19 20:38:08 +00:00
|
|
|
flex-shrink: 0;
|
2024-03-21 01:54:05 +00:00
|
|
|
margin-right: .5rem;
|
2023-12-30 05:29:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.poster {
|
2024-03-19 20:38:08 +00:00
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2024-03-21 01:54:05 +00:00
|
|
|
border-radius: .25rem 0 0 0;
|
2023-12-30 05:29:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.poster,
|
|
|
|
.photo {
|
|
|
|
object-fit: cover;
|
|
|
|
background-size: cover;
|
|
|
|
background-position: center;
|
|
|
|
box-shadow: 0 0 3px var(--shadow-weak-10);
|
|
|
|
}
|
|
|
|
|
2024-03-24 03:22:37 +00:00
|
|
|
.trailer {
|
|
|
|
max-width: 100%;
|
|
|
|
width: calc(21/9 * 16rem);
|
|
|
|
margin-right: .5rem;
|
|
|
|
flex-shrink: 0;
|
|
|
|
aspect-ratio: 16/9;
|
|
|
|
}
|
|
|
|
|
|
|
|
:deep(.player) {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
&:not(.playing) {
|
|
|
|
&[poster],
|
|
|
|
.vjs-tech[poster],
|
|
|
|
.vjs-poster img {
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-30 05:29:53 +00:00
|
|
|
.album {
|
2024-03-19 19:50:50 +00:00
|
|
|
height: auto;
|
2023-12-30 05:29:53 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
display: grid;
|
2024-03-21 01:54:05 +00:00
|
|
|
grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
|
|
|
|
gap: .25rem;
|
|
|
|
box-sizing: border-box;
|
2024-03-19 19:50:50 +00:00
|
|
|
padding: .5rem .5rem .5rem 0;
|
2023-12-30 05:29:53 +00:00
|
|
|
overflow-y: auto;
|
2024-03-21 01:54:05 +00:00
|
|
|
scrollbar-width: 0;
|
|
|
|
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.single .photo {
|
|
|
|
max-height: calc(100% - 1.5rem);
|
|
|
|
}
|
2023-12-30 05:29:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.photo-container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2024-03-21 02:27:01 +00:00
|
|
|
flex-grow: 1;
|
2023-12-30 05:29:53 +00:00
|
|
|
}
|
|
|
|
|
2024-03-21 01:54:05 +00:00
|
|
|
.photo-link {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2023-12-30 05:29:53 +00:00
|
|
|
.photo {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border-radius: .25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.meta {
|
|
|
|
display: flex;
|
2024-04-02 00:50:24 +00:00
|
|
|
height: 3.25rem;
|
2023-12-30 05:29:53 +00:00
|
|
|
justify-content: space-between;
|
2024-04-02 00:50:24 +00:00
|
|
|
align-items: stretch;
|
2023-12-30 05:29:53 +00:00
|
|
|
background: var(--grey-dark-40);
|
2024-03-19 19:50:50 +00:00
|
|
|
border-radius: 0 0 .5rem .5rem;
|
2023-12-30 05:29:53 +00:00
|
|
|
color: var(--text-light);
|
2024-04-02 00:50:24 +00:00
|
|
|
overflow: hidden;
|
2023-12-30 05:29:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.entity {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
font-weight: bold;
|
|
|
|
color: var(--highlight);
|
|
|
|
}
|
|
|
|
|
|
|
|
.entity-link {
|
2024-04-02 00:50:24 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
box-sizing: border-box;
|
2023-12-30 05:29:53 +00:00
|
|
|
padding: .5rem 1rem;
|
2024-04-02 00:50:24 +00:00
|
|
|
height: 100%;
|
2023-12-30 05:29:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.entity-logo {
|
2024-04-02 00:50:24 +00:00
|
|
|
max-width: 15rem;
|
2024-03-24 03:22:37 +00:00
|
|
|
max-height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.network-container {
|
2024-04-02 00:50:24 +00:00
|
|
|
height: 100%;
|
2024-03-24 03:22:37 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2024-04-02 00:50:24 +00:00
|
|
|
overflow: hidden;
|
2023-12-30 05:29:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.date {
|
|
|
|
padding: 1rem;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.info,
|
|
|
|
.header {
|
|
|
|
border-top: none;
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
2024-03-24 03:22:37 +00:00
|
|
|
.info {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2023-12-30 05:29:53 +00:00
|
|
|
.header {
|
|
|
|
display: flex;
|
2024-03-24 03:22:37 +00:00
|
|
|
align-items: flex-start;
|
2023-12-30 05:29:53 +00:00
|
|
|
justify-content: space-between;
|
2024-03-24 03:22:37 +00:00
|
|
|
padding: 1rem .5rem .5rem .5rem;
|
2023-12-30 05:29:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
2024-03-24 17:16:10 +00:00
|
|
|
margin: 0 .5rem 1rem 0;
|
2024-03-24 03:22:37 +00:00
|
|
|
line-height: 1.25;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-line-clamp: 2;
|
2023-12-30 05:29:53 +00:00
|
|
|
overflow: hidden;
|
2024-03-24 03:22:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.notitle {
|
|
|
|
color: var(--grey-dark-10);
|
2023-12-30 05:29:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.actions {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
2024-03-19 01:19:23 +00:00
|
|
|
flex-shrink: 0;
|
2023-12-30 05:29:53 +00:00
|
|
|
|
|
|
|
.button {
|
|
|
|
flex-shrink: 0;
|
|
|
|
padding: .75rem;
|
2024-03-24 03:22:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.button:not(:last-child) {
|
2023-12-30 05:29:53 +00:00
|
|
|
margin-right: .5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmarks {
|
2024-03-19 01:19:23 +00:00
|
|
|
margin-right: .75rem;
|
2023-12-30 05:29:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.view {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2024-03-27 15:37:02 +00:00
|
|
|
/*
|
2023-12-30 05:29:53 +00:00
|
|
|
.watch {
|
|
|
|
background: var(--primary);
|
|
|
|
color: var(--text-light);
|
|
|
|
}
|
2024-03-27 15:37:02 +00:00
|
|
|
*/
|
2023-12-30 05:29:53 +00:00
|
|
|
|
|
|
|
.actors,
|
|
|
|
.tags {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actors {
|
2024-01-10 01:00:38 +00:00
|
|
|
display: grid;
|
|
|
|
flex-grow: 1;
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
|
|
|
|
gap: .25rem;
|
2023-12-30 05:29:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tag {
|
|
|
|
padding: .5rem;
|
|
|
|
border-radius: .25rem;
|
|
|
|
margin: 0 .25rem .25rem 0;
|
|
|
|
background: var(--background);
|
|
|
|
box-shadow: 0 0 3px var(--shadow-weak-30);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--primary);
|
|
|
|
box-shadow: 0 0 3px var(--shadow-weak-20);
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-01 22:30:56 +00:00
|
|
|
.movies,
|
|
|
|
.series {
|
2024-05-31 01:48:17 +00:00
|
|
|
display: grid;
|
|
|
|
flex-grow: 1;
|
|
|
|
gap: .25rem;
|
|
|
|
}
|
|
|
|
|
2024-06-01 22:30:56 +00:00
|
|
|
.movies {
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
|
|
|
|
}
|
|
|
|
|
|
|
|
.series {
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
|
|
|
|
}
|
|
|
|
|
2023-12-30 05:29:53 +00:00
|
|
|
.section {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.heading {
|
|
|
|
color: var(--primary);
|
|
|
|
margin: 0 0 .5rem 0;
|
|
|
|
font-size: .9rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.details {
|
|
|
|
display: flex;
|
|
|
|
gap: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.description {
|
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1.5;
|
|
|
|
text-align: justify;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.added-batch {
|
2024-03-21 01:54:05 +00:00
|
|
|
color: var(--shadow-weak-10);
|
|
|
|
margin-left: .25rem;
|
2023-12-30 05:29:53 +00:00
|
|
|
}
|
|
|
|
|
2024-05-31 01:48:17 +00:00
|
|
|
.summary {
|
|
|
|
.detail {
|
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
height: auto;
|
|
|
|
padding: 0 .5rem 0 .75rem;
|
|
|
|
fill: var(--shadow);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
fill: var(--primary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-04-02 03:55:53 +00:00
|
|
|
.compact-show {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2024-03-24 03:22:37 +00:00
|
|
|
@media(--small) {
|
|
|
|
.content {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.info {
|
|
|
|
margin: 0 .5rem;
|
|
|
|
}
|
|
|
|
|
2024-03-19 19:50:50 +00:00
|
|
|
.banner-container {
|
|
|
|
border-radius: 0;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2024-03-24 03:22:37 +00:00
|
|
|
.network-container {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions {
|
|
|
|
width: 100%;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
width: 100%;
|
|
|
|
margin-left: .5rem;
|
|
|
|
white-space: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.meta {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entity-logo {
|
|
|
|
width: 7.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media(--small-10) {
|
2024-03-19 19:50:50 +00:00
|
|
|
.banner {
|
|
|
|
justify-content: center;
|
2024-03-24 03:22:37 +00:00
|
|
|
border-radius: 0;
|
2024-03-19 19:50:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.poster-container {
|
2024-03-24 03:22:37 +00:00
|
|
|
margin: 0;
|
|
|
|
flex-shrink: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.trailer {
|
|
|
|
margin: 0;
|
2024-03-19 20:38:08 +00:00
|
|
|
flex-shrink: 1;
|
2024-03-19 19:50:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.poster {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.album {
|
|
|
|
display: none;
|
|
|
|
}
|
2024-03-21 01:54:05 +00:00
|
|
|
|
|
|
|
.header {
|
|
|
|
padding: 1rem .5rem 1.5rem .5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.info {
|
|
|
|
padding: 0 .5rem;
|
|
|
|
}
|
2023-12-30 05:29:53 +00:00
|
|
|
|
2024-03-24 03:22:37 +00:00
|
|
|
.actors {
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
|
2023-12-30 05:29:53 +00:00
|
|
|
}
|
2024-06-01 22:30:56 +00:00
|
|
|
|
|
|
|
.series {
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
|
|
|
|
}
|
2024-03-24 03:22:37 +00:00
|
|
|
}
|
2023-12-30 05:29:53 +00:00
|
|
|
|
2024-04-02 03:55:53 +00:00
|
|
|
@media(--small-50) {
|
|
|
|
.compact-show {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.compact-hide {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.date {
|
|
|
|
font-size: .9rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-03-24 03:22:37 +00:00
|
|
|
@media(--small-60) {
|
|
|
|
.actors {
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
|
2023-12-30 05:29:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|