2023-12-30 05:29:53 +00:00
|
|
|
<template>
|
|
|
|
<div class="page">
|
|
|
|
<div class="content">
|
2024-08-28 23:53:26 +00:00
|
|
|
<Banner
|
|
|
|
:release="scene"
|
|
|
|
/>
|
2023-12-30 05:29:53 +00:00
|
|
|
|
|
|
|
<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}`"
|
2024-07-08 03:01:13 +00:00
|
|
|
class="network-link entity-link nolink"
|
2023-12-30 05:29:53 +00:00
|
|
|
>
|
|
|
|
<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"
|
|
|
|
>
|
2024-07-08 03:01:13 +00:00
|
|
|
|
|
|
|
<span
|
|
|
|
v-else
|
|
|
|
class="name"
|
|
|
|
>{{ scene.network.name }}</span>
|
2023-12-30 05:29:53 +00:00
|
|
|
</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
|
2024-06-22 20:51:57 +00:00
|
|
|
:href="scene.watchUrl"
|
2024-06-04 02:46:38 +00:00
|
|
|
:title="scene.date ? formatDate(scene.date.toISOString(), 'y-MM-dd hh:mm') : `Release date unknown, added ${formatDate(scene.createdAt, 'y-MM-dd')}`"
|
2024-04-02 03:55:53 +00:00
|
|
|
target="_blank"
|
|
|
|
class="date nolink"
|
2024-06-04 02:46:38 +00:00
|
|
|
:class="{ nodate: !scene.date }"
|
2024-06-22 20:55:55 +00:00
|
|
|
:data-umami-event="scene.affiliate ? 'scene-date-click-aff' : 'scene-date-click'"
|
|
|
|
:data-umami-event-aff-id="scene.affiliate?.id"
|
|
|
|
:data-umami-event-scene-id="scene.id"
|
2024-04-02 03:55:53 +00:00
|
|
|
>
|
|
|
|
<time
|
|
|
|
:datetime="scene.effectiveDate.toISOString()"
|
|
|
|
class="ellipsis compact-hide"
|
2024-08-19 21:31:28 +00:00
|
|
|
>{{ formatDate(scene.effectiveDate, {
|
|
|
|
month: 'MMMM y',
|
|
|
|
year: 'y',
|
2024-08-20 00:43:23 +00:00
|
|
|
}[scene.datePrecision] || 'MMMM d, y') }}</time>
|
2024-04-02 03:55:53 +00:00
|
|
|
|
|
|
|
<time
|
|
|
|
:datetime="scene.effectiveDate.toISOString()"
|
|
|
|
class="ellipsis compact-show"
|
2024-08-19 21:31:28 +00:00
|
|
|
>{{ formatDate(scene.effectiveDate, {
|
|
|
|
month: 'MMM y',
|
|
|
|
year: 'y',
|
2024-08-23 15:46:53 +00:00
|
|
|
}[scene.datePrecision] || 'MMM d, y') }}</time>
|
2024-04-02 03:55:53 +00:00
|
|
|
</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">
|
2024-06-07 03:46:31 +00:00
|
|
|
<!--
|
2023-12-30 05:29:53 +00:00
|
|
|
<button
|
|
|
|
v-if="scene.photos.length > 0"
|
|
|
|
class="button view nolink"
|
|
|
|
>View photos</button>
|
2024-06-07 03:46:31 +00:00
|
|
|
-->
|
2023-12-30 05:29:53 +00:00
|
|
|
|
|
|
|
<Link
|
2024-06-22 20:51:57 +00:00
|
|
|
v-if="scene.watchUrl"
|
|
|
|
:href="scene.watchUrl"
|
2023-12-30 05:29:53 +00:00
|
|
|
target="_blank"
|
2024-03-27 15:37:02 +00:00
|
|
|
class="button button-primary watch nolink"
|
2024-06-22 20:51:57 +00:00
|
|
|
:data-umami-event="scene.affiliate ? 'watch-click-aff' : 'watch-click'"
|
|
|
|
:data-umami-event-aff-id="scene.affiliate?.id"
|
|
|
|
:data-umami-event-scene-id="scene.id"
|
2024-06-07 03:46:31 +00:00
|
|
|
>Watch full video</Link>
|
2023-12-30 05:29:53 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="info">
|
2024-06-04 01:27:54 +00:00
|
|
|
<ul
|
|
|
|
v-if="scene.actors.length > 0"
|
2024-06-10 01:24:48 +00:00
|
|
|
class="actors nolist nobar"
|
2024-06-04 01:27:54 +00:00
|
|
|
>
|
2023-12-30 05:29:53 +00:00
|
|
|
<li
|
|
|
|
v-for="actor in scene.actors"
|
|
|
|
:key="`actor-${actor.id}`"
|
|
|
|
class="actor"
|
|
|
|
>
|
|
|
|
<ActorTile :actor="actor" />
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
2024-06-04 01:27:54 +00:00
|
|
|
<ul
|
|
|
|
v-if="scene.tags.length > 0"
|
|
|
|
class="tags nolist"
|
|
|
|
>
|
2023-12-30 05:29:53 +00:00
|
|
|
<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-10-15 00:58:46 +00:00
|
|
|
<Chapters
|
|
|
|
v-if="scene.chapters.length > 0"
|
|
|
|
:chapters="scene.chapters"
|
|
|
|
class="section"
|
|
|
|
/>
|
|
|
|
|
2024-06-04 01:27:54 +00:00
|
|
|
<div
|
2024-06-04 02:46:38 +00:00
|
|
|
v-if="scene.duration || scene.directors.length > 0 || scene.shootId || scene.qualities.length > 0"
|
2024-06-04 01:27:54 +00:00
|
|
|
class="section details"
|
|
|
|
>
|
2023-12-30 05:29:53 +00:00
|
|
|
<div
|
2024-06-04 02:46:38 +00:00
|
|
|
v-if="scene.directors.length > 0"
|
2023-12-30 05:29:53 +00:00
|
|
|
class="detail"
|
|
|
|
>
|
2024-06-04 02:46:38 +00:00
|
|
|
<h3 class="heading">Director</h3>
|
|
|
|
{{ scene.directors.map((director) => director.name).join(', ') }}
|
2023-12-30 05:29:53 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div
|
2024-06-04 02:46:38 +00:00
|
|
|
v-if="scene.duration"
|
2023-12-30 05:29:53 +00:00
|
|
|
class="detail"
|
|
|
|
>
|
2024-06-04 02:46:38 +00:00
|
|
|
<h3 class="heading">Duration</h3>
|
|
|
|
{{ formatDuration(scene.duration) }}
|
2023-12-30 05:29:53 +00:00
|
|
|
</div>
|
2024-03-24 03:22:37 +00:00
|
|
|
|
|
|
|
<div
|
|
|
|
v-if="scene.shootId"
|
|
|
|
class="detail"
|
|
|
|
>
|
|
|
|
<h3 class="heading">Shoot</h3>
|
|
|
|
{{ scene.shootId }}
|
|
|
|
</div>
|
2024-06-04 02:46:38 +00:00
|
|
|
|
2024-09-10 00:47:03 +00:00
|
|
|
<time
|
|
|
|
v-if="scene.productionDate"
|
|
|
|
:datetime="formatDate(scene.productionDate, 'yyyy-MM-dd')"
|
|
|
|
:title="formatDate(scene.productionDate, 'yyyy-MM-dd')"
|
|
|
|
class="detail"
|
|
|
|
>
|
|
|
|
<h3 class="heading">Shoot date</h3>
|
|
|
|
{{ formatDate(scene.productionDate, 'MMMM d, yyyy') }}
|
|
|
|
</time>
|
|
|
|
|
2024-09-03 03:56:14 +00:00
|
|
|
<div
|
|
|
|
v-if="scene.studio"
|
|
|
|
class="detail"
|
|
|
|
>
|
|
|
|
<h3 class="heading">Studio</h3>
|
|
|
|
|
|
|
|
<a
|
|
|
|
:href="`/studio/${scene.studio.slug}`"
|
|
|
|
class="link"
|
|
|
|
>{{ scene.studio.name }}</a>
|
|
|
|
</div>
|
|
|
|
|
2024-06-04 02:46:38 +00:00
|
|
|
<div
|
|
|
|
v-if="scene.qualities.length > 0"
|
|
|
|
class="detail"
|
|
|
|
>
|
|
|
|
<h3 class="heading">Quality</h3>
|
2024-06-07 03:46:31 +00:00
|
|
|
|
|
|
|
<template v-if="qualities[scene.qualities[0]]">{{ qualities[scene.qualities[0]] }} ({{ scene.qualities[0] }}p)</template>
|
|
|
|
<template v-else>{{ scene.qualities[0] }}p</template>
|
2024-06-04 02:46:38 +00:00
|
|
|
</div>
|
2024-10-08 19:30:55 +00:00
|
|
|
|
|
|
|
<div
|
|
|
|
v-if="scene.photoCount"
|
|
|
|
class="detail"
|
|
|
|
>
|
|
|
|
<h3 class="heading">Photos</h3>
|
|
|
|
{{ scene.photoCount }}
|
|
|
|
</div>
|
2023-12-30 05:29:53 +00:00
|
|
|
</div>
|
|
|
|
|
2024-09-04 00:05:56 +00:00
|
|
|
<div
|
|
|
|
v-if="scene.description"
|
|
|
|
class="section"
|
|
|
|
>
|
|
|
|
<h3 class="heading">Description</h3>
|
|
|
|
|
|
|
|
<p class="description">{{ scene.description }}</p>
|
|
|
|
</div>
|
|
|
|
|
2024-07-07 19:01:44 +00:00
|
|
|
<div
|
|
|
|
v-if="campaigns?.scene"
|
|
|
|
class="section"
|
|
|
|
>
|
|
|
|
<Campaign
|
|
|
|
:campaign="campaigns.scene"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
|
2023-12-30 05:29:53 +00:00
|
|
|
<div class="section details">
|
|
|
|
<div class="detail">
|
|
|
|
<h3 class="heading">Added</h3>
|
2024-06-07 03:46:31 +00:00
|
|
|
|
|
|
|
<span>
|
|
|
|
<span class="added-date">{{ formatDate(scene.createdAt, 'yyyy-MM-dd') }}</span>
|
|
|
|
<span
|
|
|
|
:title="`Batch ${scene.createdBatchId}`"
|
|
|
|
class="added-batch"
|
|
|
|
>#{{ scene.createdBatchId }}</span>
|
|
|
|
</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()"
|
|
|
|
>
|
|
|
|
|
2024-09-01 00:54:03 +00:00
|
|
|
<a
|
2024-08-26 04:15:22 +00:00
|
|
|
v-if="user"
|
2024-09-01 00:54:03 +00:00
|
|
|
class="icon-link"
|
|
|
|
target="_blank"
|
2024-10-06 00:45:56 +00:00
|
|
|
:href="`/user/${user.username}/templates?t=${selectedTemplate}`"
|
2024-09-01 00:54:03 +00:00
|
|
|
>
|
|
|
|
<Icon
|
|
|
|
v-tooltip="'Edit templates'"
|
|
|
|
icon="pencil5"
|
|
|
|
class="edit"
|
|
|
|
@click="showSummaryDialog = true"
|
|
|
|
/>
|
|
|
|
</a>
|
2024-08-25 00:51:16 +00:00
|
|
|
|
2024-05-31 01:48:17 +00:00
|
|
|
<Icon
|
|
|
|
v-tooltip="'Copy to clipboard'"
|
|
|
|
icon="copy"
|
|
|
|
class="copy"
|
|
|
|
@click="copySummary"
|
|
|
|
/>
|
|
|
|
</div>
|
2024-08-26 04:15:22 +00:00
|
|
|
|
|
|
|
<ul
|
|
|
|
v-if="user && assets.templates.length > 0"
|
|
|
|
class="nolist templates"
|
|
|
|
>
|
|
|
|
<Icon icon="markup" />
|
|
|
|
|
|
|
|
<li
|
|
|
|
v-for="userTemplate in templates"
|
|
|
|
:key="`template-${userTemplate.id}`"
|
|
|
|
class="template"
|
|
|
|
:class="{ selected: userTemplate.id === selectedTemplate }"
|
|
|
|
@click="selectTemplate(userTemplate.id)"
|
|
|
|
>{{ userTemplate.name }}</li>
|
|
|
|
</ul>
|
2024-05-31 01:48:17 +00:00
|
|
|
</div>
|
2024-10-06 00:45:56 +00:00
|
|
|
|
|
|
|
<div
|
|
|
|
class="scene-actions section"
|
|
|
|
>
|
|
|
|
<a
|
2024-10-08 19:30:55 +00:00
|
|
|
v-if="user && user.role !== 'user'"
|
|
|
|
:href="`/scene/edit/${scene.id}/${scene.slug}`"
|
2024-10-06 00:45:56 +00:00
|
|
|
target="_blank"
|
|
|
|
class="link"
|
|
|
|
>Edit scene</a>
|
|
|
|
|
|
|
|
<a
|
2024-10-22 23:28:54 +00:00
|
|
|
:href="`/scene/revs/${scene.id}/${scene.slug}`"
|
2024-10-06 00:45:56 +00:00
|
|
|
target="_blank"
|
|
|
|
class="link"
|
|
|
|
>Revisions</a>
|
|
|
|
</div>
|
2023-12-30 05:29:53 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
2024-08-28 23:53:26 +00:00
|
|
|
import { ref, inject } from 'vue';
|
2024-08-26 04:15:22 +00:00
|
|
|
import Cookies from 'js-cookie';
|
2023-12-30 05:29:53 +00:00
|
|
|
|
2024-01-10 01:00:38 +00:00
|
|
|
import { formatDate, formatDuration } from '#/utils/format.js';
|
2024-08-25 00:51:16 +00:00
|
|
|
import events from '#/src/events.js';
|
|
|
|
import processSummaryTemplate from '#/utils/process-summary-template.js';
|
2023-12-30 05:29:53 +00:00
|
|
|
|
2024-08-28 23:53:26 +00:00
|
|
|
import Banner from '#/components/media/banner.vue';
|
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-10-15 00:58:46 +00:00
|
|
|
import Chapters from '#/components/scenes/chapters.vue';
|
2024-03-27 01:28:21 +00:00
|
|
|
import Heart from '#/components/stashes/heart.vue';
|
2024-07-07 19:01:44 +00:00
|
|
|
import Campaign from '#/components/campaigns/campaign.vue';
|
2024-05-31 01:48:17 +00:00
|
|
|
|
2024-08-26 04:15:22 +00:00
|
|
|
import defaultTemplate from '#/assets/summary.yaml?raw'; // eslint-disable-line import/no-unresolved
|
|
|
|
|
|
|
|
const cookies = Cookies.withConverter({
|
|
|
|
write: (value) => value,
|
|
|
|
});
|
|
|
|
|
|
|
|
const {
|
|
|
|
pageProps,
|
|
|
|
campaigns,
|
|
|
|
user,
|
|
|
|
assets,
|
|
|
|
env,
|
|
|
|
} = inject('pageContext');
|
|
|
|
|
2023-12-30 05:29:53 +00:00
|
|
|
const { scene } = pageProps;
|
2024-03-19 01:19:23 +00:00
|
|
|
|
2024-08-25 00:51:16 +00:00
|
|
|
const showSummaryDialog = ref(false);
|
|
|
|
|
2024-06-07 03:46:31 +00:00
|
|
|
const qualities = {
|
|
|
|
2160: '4K',
|
|
|
|
1440: 'Quad HD',
|
|
|
|
1080: 'Full HD',
|
|
|
|
720: 'HD',
|
|
|
|
576: 'PAL VHS',
|
|
|
|
540: 'qHD',
|
|
|
|
480: 'VGA',
|
|
|
|
360: 'nHD',
|
|
|
|
};
|
|
|
|
|
2024-08-26 04:15:22 +00:00
|
|
|
const summary = ref(null);
|
|
|
|
const selectedTemplate = ref(null);
|
|
|
|
|
|
|
|
const templates = [
|
|
|
|
{
|
|
|
|
id: 0,
|
|
|
|
name: 'traxxx',
|
|
|
|
template: defaultTemplate,
|
|
|
|
},
|
|
|
|
...(assets?.templates || []),
|
|
|
|
];
|
|
|
|
|
|
|
|
function selectTemplate(templateId, allowFallback = true) {
|
2024-05-31 01:48:17 +00:00
|
|
|
try {
|
2024-08-26 04:15:22 +00:00
|
|
|
const targetTemplate = templates.find((userTemplate) => userTemplate.id === templateId);
|
2024-08-25 00:51:16 +00:00
|
|
|
|
2024-08-26 04:15:22 +00:00
|
|
|
if (!targetTemplate && !allowFallback) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
const template = targetTemplate || templates[0];
|
|
|
|
|
|
|
|
summary.value = processSummaryTemplate(template.template, scene);
|
|
|
|
selectedTemplate.value = template.id;
|
|
|
|
|
|
|
|
cookies.set('selectedTemplate', String(templateId));
|
2024-05-31 01:48:17 +00:00
|
|
|
} catch (error) {
|
2024-08-25 00:51:16 +00:00
|
|
|
console.error(`Failed to process summary template: ${error.message}`);
|
2024-08-26 04:15:22 +00:00
|
|
|
summary.value = null;
|
2024-05-31 01:48:17 +00:00
|
|
|
}
|
2024-08-26 04:15:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
selectTemplate(env.selectedTemplate);
|
2024-05-31 01:48:17 +00:00
|
|
|
|
|
|
|
function copySummary() {
|
2024-08-28 00:06:01 +00:00
|
|
|
navigator.clipboard.writeText(summary.value);
|
2024-08-25 00:51:16 +00:00
|
|
|
|
|
|
|
events.emit('feedback', {
|
|
|
|
type: 'success',
|
|
|
|
message: 'Summary copied to clipboard',
|
|
|
|
});
|
2024-05-31 01:48:17 +00:00
|
|
|
}
|
2023-12-30 05:29:53 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
.page {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2024-08-04 21:40:25 +00:00
|
|
|
flex-grow: 1;
|
2023-12-30 05:29:53 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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%;
|
2024-07-08 03:01:13 +00:00
|
|
|
color: var(--text-light);
|
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;
|
|
|
|
}
|
|
|
|
|
2024-06-04 02:46:38 +00:00
|
|
|
.nodate {
|
|
|
|
color: var(--highlight);
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2023-12-30 05:29:53 +00:00
|
|
|
.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-06-07 03:46:31 +00:00
|
|
|
align-items: center;
|
2023-12-30 05:29:53 +00:00
|
|
|
justify-content: space-between;
|
2024-06-07 03:46:31 +00:00
|
|
|
padding: 1rem .5rem 1rem .5rem;
|
2023-12-30 05:29:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
2024-06-07 03:46:31 +00:00
|
|
|
margin: .25rem .5rem .5rem 0;
|
2024-03-24 03:22:37 +00:00
|
|
|
line-height: 1.25;
|
|
|
|
display: -webkit-box;
|
2024-09-05 14:58:36 +00:00
|
|
|
|
|
|
|
&:not(:active) {
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
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-06-07 03:46:31 +00:00
|
|
|
.watch.button {
|
|
|
|
padding: .75rem 2rem;
|
|
|
|
margin-left: .25rem;
|
|
|
|
font-size: 1rem;
|
2023-12-30 05:29:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.actors,
|
|
|
|
.tags {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actors {
|
2024-06-10 01:24:48 +00:00
|
|
|
display: flex;
|
2024-01-10 01:00:38 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
gap: .25rem;
|
2024-06-10 01:24:48 +00:00
|
|
|
overflow-x: auto;
|
|
|
|
|
|
|
|
.actor {
|
2024-06-12 15:09:53 +00:00
|
|
|
width: 10rem;
|
2024-06-10 01:24:48 +00:00
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
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;
|
2024-06-04 02:46:38 +00:00
|
|
|
gap: 1rem 1.5rem;
|
2024-06-07 03:46:31 +00:00
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.detail {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-12-30 05:29:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.description {
|
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1.5;
|
|
|
|
text-align: justify;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.added-batch {
|
2024-06-10 01:24:48 +00:00
|
|
|
color: var(--glass-weak-10);
|
2024-03-21 01:54:05 +00:00
|
|
|
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;
|
2024-06-12 00:34:13 +00:00
|
|
|
flex-direction: row;
|
2024-05-31 01:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.input {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
2024-08-26 04:15:22 +00:00
|
|
|
.detail .icon {
|
2024-05-31 01:48:17 +00:00
|
|
|
height: auto;
|
|
|
|
padding: 0 .5rem 0 .75rem;
|
2024-06-10 01:24:48 +00:00
|
|
|
fill: var(--glass);
|
2024-05-31 01:48:17 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
fill: var(--primary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-08-26 04:15:22 +00:00
|
|
|
.templates {
|
|
|
|
display: flex;
|
2024-10-22 01:12:42 +00:00
|
|
|
flex-wrap: wrap;
|
2024-08-26 04:15:22 +00:00
|
|
|
align-items: center;
|
2024-10-22 01:12:42 +00:00
|
|
|
gap: .25rem 0;
|
2024-08-26 04:15:22 +00:00
|
|
|
margin-top: .5rem;
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
width: 1.2rem;
|
|
|
|
height: 1.2rem;
|
|
|
|
margin-right: .5rem;
|
|
|
|
fill: var(--glass-weak-10);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.template {
|
|
|
|
padding: .25rem .5rem;
|
|
|
|
border-radius: .25rem;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--primary);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.selected {
|
|
|
|
background: var(--primary);
|
|
|
|
color: var(--text-light);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-06 00:45:56 +00:00
|
|
|
.scene-actions {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
gap: 2rem;
|
|
|
|
margin-top: 1rem;
|
|
|
|
}
|
|
|
|
|
2024-09-01 00:54:03 +00:00
|
|
|
.icon-link {
|
|
|
|
display: flex;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
2024-04-02 03:55:53 +00:00
|
|
|
.compact-show {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2024-06-10 01:24:48 +00:00
|
|
|
@media(--compact) {
|
2024-03-24 03:22:37 +00:00
|
|
|
.content {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.info {
|
2024-06-10 01:24:48 +00:00
|
|
|
margin: 0 .75rem;
|
2024-03-24 03:22:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.network-container {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions {
|
|
|
|
width: 100%;
|
|
|
|
justify-content: space-between;
|
2024-06-07 03:46:31 +00:00
|
|
|
margin-bottom: 1.25rem;
|
2024-03-24 03:22:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
width: 100%;
|
2024-06-10 01:24:48 +00:00
|
|
|
margin-left: 1rem;
|
2024-03-24 03:22:37 +00:00
|
|
|
white-space: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.meta {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entity-logo {
|
|
|
|
width: 7.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media(--small-10) {
|
2024-03-21 01:54:05 +00:00
|
|
|
.header {
|
2024-06-07 03:46:31 +00:00
|
|
|
padding: 1rem .5rem .5rem .5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
margin-left: 1.5rem;
|
2024-03-21 01:54:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.info {
|
|
|
|
padding: 0 .5rem;
|
|
|
|
}
|
2023-12-30 05:29:53 +00:00
|
|
|
|
2024-03-24 03:22:37 +00:00
|
|
|
.actors {
|
2024-06-12 15:09:53 +00:00
|
|
|
.actor {
|
|
|
|
width: 9rem;
|
|
|
|
}
|
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) {
|
2024-08-29 15:53:54 +00:00
|
|
|
.date {
|
|
|
|
font-size: .9rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media(--small-60) {
|
2024-04-02 03:55:53 +00:00
|
|
|
.compact-show {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.compact-hide {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2023-12-30 05:29:53 +00:00
|
|
|
</style>
|