From 07a6c77ce2819f60c62248370d3ce2e10532a07a Mon Sep 17 00:00:00 2001 From: Niels Simenon Date: Sun, 15 Dec 2019 22:16:55 +0100 Subject: [PATCH] Improvements, GrapQL experiments. Fixed Babel dependencies. --- assets/js/api.js | 3 +- assets/js/releases/actions.js | 137 ++- migrations/20190325001339_releases.js | 16 +- package-lock.json | 459 +------- package.json | 4 +- public/css/style.css | 1403 +------------------------ src/media.js | 3 + src/releases.js | 54 +- src/scrapers/pornhub.js | 2 +- 9 files changed, 183 insertions(+), 1898 deletions(-) diff --git a/assets/js/api.js b/assets/js/api.js index 4ef876be..5fd6a041 100644 --- a/assets/js/api.js +++ b/assets/js/api.js @@ -39,7 +39,7 @@ async function post(endpoint, data) { throw new Error(errorMsg); } -async function graphql(operationName, query, variables = null) { +async function graphql(query, variables = null) { const res = await fetch('/graphql', { method: 'POST', mode: 'cors', @@ -48,7 +48,6 @@ async function graphql(operationName, query, variables = null) { }, credentials: 'same-origin', body: JSON.stringify({ - operationName, query, variables, }), diff --git a/assets/js/releases/actions.js b/assets/js/releases/actions.js index 5eaad52b..8a6b5bb7 100644 --- a/assets/js/releases/actions.js +++ b/assets/js/releases/actions.js @@ -1,4 +1,24 @@ -import { get, graphql } from '../api'; +import { graphql } from '../api'; + +function curateRelease(release) { + const curatedRelease = { + ...release, + actors: release.actors.map(({ actor }) => ({ + ...actor, + avatar: actor.avatar[0], + origin: { + country: actor.originCountry, + }, + })), + poster: release.poster[0], + network: release.site.network, + tags: release.tags.map(({ tag }) => tag), + }; + + if (release.trailer) [curatedRelease.trailer] = release.trailer; + + return curatedRelease; +} function initReleasesActions(_store, _router) { async function fetchReleases({ _commit }) { @@ -10,8 +30,8 @@ function initReleasesActions(_store, _router) { }); */ - const { releases } = await graphql('MyQuery', ` - query MyQuery { + const { releases } = await graphql(` + query Releases { releases(orderBy: DATE_DESC) { id title @@ -26,9 +46,11 @@ function initReleasesActions(_store, _router) { id name slug - origin: countryByBirthCountryAlpha2 { + birthdate + originCountry: countryByBirthCountryAlpha2 { alpha2 name + alias } avatar: actorsMediasByTargetId(condition: { role: "avatar" }) { id @@ -46,14 +68,6 @@ function initReleasesActions(_store, _router) { thumbnail role } - photos: releasesMediasByTargetId(condition: { role: "photos" }) { - mime - id - index - path - thumbnail - role - } tags: releasesTagsByTargetId { tag { name @@ -78,26 +92,93 @@ function initReleasesActions(_store, _router) { } `); - const curatedReleases = releases.map(release => ({ - ...release, - actors: release.actors.map(({ actor }) => ({ - ...actor, - avatar: actor.avatar[0], - })), - poster: release.poster[0], - network: release.site.network, - tags: release.tags.map(({ tag }) => tag), - })); - - console.log(curatedReleases); - - return curatedReleases; + return releases.map(release => curateRelease(release)); } async function fetchReleaseById({ _commit }, releaseId) { - const release = await get(`/releases/${releaseId}`); + // const release = await get(`/releases/${releaseId}`); - return release; + const { release } = await graphql(` + query Release($releaseId:Int!) { + release(id: $releaseId) { + id + title + description + date + duration + createdAt + shootId + url + actors: actorsAssociateds { + actor { + id + name + slug + birthdate + originCountry: countryByBirthCountryAlpha2 { + alpha2 + name + alias + } + avatar: actorsMediasByTargetId(condition: { role: "avatar" }) { + id + thumbnail + path + mime + } + } + } + poster: releasesMediasByTargetId(condition: { role: "poster" }) { + mime + id + index + path + thumbnail + role + } + photos: releasesMediasByTargetId(condition: { role: "photo" }) { + mime + id + index + path + thumbnail + role + } + trailer: releasesMediasByTargetId(condition: { role: "trailer" }) { + mime + id + index + path + thumbnail + role + } + tags: releasesTagsByTargetId { + tag { + name + priority + slug + id + } + } + site { + id + name + slug + url + network { + id + name + slug + url + } + } + } + } + `, { + releaseId: Number(releaseId), + }); + + return curateRelease(release); } return { diff --git a/migrations/20190325001339_releases.js b/migrations/20190325001339_releases.js index 00464024..172ae9ca 100644 --- a/migrations/20190325001339_releases.js +++ b/migrations/20190325001339_releases.js @@ -290,17 +290,17 @@ exports.up = knex => Promise.resolve() table.unique(['domain', 'tag_id', 'target_id']); })) .then(() => knex.raw(` - CREATE VIEW releases_media AS SELECT * FROM public.media WHERE domain = 'releases'; - CREATE VIEW actors_media AS SELECT * FROM public.media WHERE domain = 'actors'; - CREATE VIEW tags_media AS SELECT * FROM public.media WHERE domain = 'media'; + CREATE VIEW releases_media AS SELECT * FROM media WHERE domain = 'releases'; + CREATE VIEW actors_media AS SELECT * FROM media WHERE domain = 'actors'; + CREATE VIEW tags_media AS SELECT * FROM media WHERE domain = 'media'; - CREATE VIEW releases_tags AS SELECT * FROM public.tags_associated WHERE domain = 'releases'; + CREATE VIEW releases_tags AS SELECT * FROM tags_associated WHERE domain = 'releases'; - COMMENT ON VIEW releases_media IS E'@foreignKey (target_id) references releases (id)|@fieldName releaseId'; - COMMENT ON VIEW actors_media IS E'@foreignKey (target_id) references actors (id)|@fieldName actorId'; - COMMENT ON VIEW tags_media IS E'@foreignKey (target_id) references tags (id)|@fieldName tagMediaId'; + COMMENT ON VIEW releases_media IS E'@foreignKey (target_id) references releases (id)|@fieldName releaseMedia'; + COMMENT ON VIEW actors_media IS E'@foreignKey (target_id) references actors (id)|@fieldName actorMedia'; + COMMENT ON VIEW tags_media IS E'@foreignKey (target_id) references tags (id)|@fieldName tagMedia'; - COMMENT ON VIEW releases_tags IS E'@foreignKey (target_id) references releases (id)\n@foreignKey (tag_id) references tags (id)'; + COMMENT ON VIEW releases_tags IS E'@foreignKey (target_id) references releases (id)\n@foreignKey (tag_id) references tags (id)|@fieldName releaseTags'; `)); exports.down = knex => Promise.resolve() diff --git a/package-lock.json b/package-lock.json index 492b2f41..24fcf144 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1277,22 +1277,21 @@ } }, "@babel/register": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.4.0.tgz", - "integrity": "sha512-ekziebXBnS/7V6xk8sBfLSSD6YZuy6P29igBtR6OL/tswKdxOV+Yqq0nzICMguVYtGRZYUCGpfGV8J9Za2iBdw==", + "version": "7.7.4", + "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.7.4.tgz", + "integrity": "sha512-/fmONZqL6ZMl9KJUYajetCrID6m0xmL4odX7v+Xvoxcv0DdbP/oO0TWIeLUCHqczQ6L6njDMqmqHFy2cp3FFsA==", "requires": { - "core-js": "^3.0.0", "find-cache-dir": "^2.0.0", - "lodash": "^4.17.11", - "mkdirp": "^0.5.1", + "lodash": "^4.17.13", + "make-dir": "^2.1.0", "pirates": "^4.0.0", - "source-map-support": "^0.5.9" + "source-map-support": "^0.5.16" }, "dependencies": { - "core-js": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.0.1.tgz", - "integrity": "sha512-sco40rF+2KlE0ROMvydjkrVMMG1vYilP2ALoRXcYR4obqbYIuV3Bg+51GEDW+HF8n7NRA+iaA4qD0nD9lo9mew==" + "lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" } } }, @@ -2317,204 +2316,6 @@ "@babel/runtime-corejs3": "^7.7.4" } }, - "babel-cli": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-cli/-/babel-cli-6.26.0.tgz", - "integrity": "sha1-UCq1SHTX24itALiHoGODzgPQAvE=", - "dev": true, - "requires": { - "babel-core": "^6.26.0", - "babel-polyfill": "^6.26.0", - "babel-register": "^6.26.0", - "babel-runtime": "^6.26.0", - "chokidar": "^1.6.1", - "commander": "^2.11.0", - "convert-source-map": "^1.5.0", - "fs-readdir-recursive": "^1.0.0", - "glob": "^7.1.2", - "lodash": "^4.17.4", - "output-file-sync": "^1.1.2", - "path-is-absolute": "^1.0.1", - "slash": "^1.0.0", - "source-map": "^0.5.6", - "v8flags": "^2.1.1" - }, - "dependencies": { - "anymatch": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-1.3.2.tgz", - "integrity": "sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==", - "dev": true, - "optional": true, - "requires": { - "micromatch": "^2.1.5", - "normalize-path": "^2.0.0" - } - }, - "arr-diff": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", - "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", - "dev": true, - "optional": true, - "requires": { - "arr-flatten": "^1.0.1" - } - }, - "array-unique": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", - "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", - "dev": true, - "optional": true - }, - "braces": { - "version": "1.8.5", - "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", - "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", - "dev": true, - "optional": true, - "requires": { - "expand-range": "^1.8.1", - "preserve": "^0.2.0", - "repeat-element": "^1.1.2" - } - }, - "chokidar": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.7.0.tgz", - "integrity": "sha1-eY5ol3gVHIB2tLNg5e3SjNortGg=", - "dev": true, - "optional": true, - "requires": { - "anymatch": "^1.3.0", - "async-each": "^1.0.0", - "fsevents": "^1.0.0", - "glob-parent": "^2.0.0", - "inherits": "^2.0.1", - "is-binary-path": "^1.0.0", - "is-glob": "^2.0.0", - "path-is-absolute": "^1.0.0", - "readdirp": "^2.0.0" - } - }, - "expand-brackets": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", - "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", - "dev": true, - "optional": true, - "requires": { - "is-posix-bracket": "^0.1.0" - } - }, - "extglob": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", - "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", - "dev": true, - "optional": true, - "requires": { - "is-extglob": "^1.0.0" - } - }, - "glob-parent": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", - "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", - "dev": true, - "optional": true, - "requires": { - "is-glob": "^2.0.0" - } - }, - "is-extglob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", - "dev": true, - "optional": true - }, - "is-glob": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", - "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", - "dev": true, - "optional": true, - "requires": { - "is-extglob": "^1.0.0" - } - }, - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "optional": true, - "requires": { - "is-buffer": "^1.1.5" - } - }, - "micromatch": { - "version": "2.3.11", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", - "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", - "dev": true, - "optional": true, - "requires": { - "arr-diff": "^2.0.0", - "array-unique": "^0.2.1", - "braces": "^1.8.2", - "expand-brackets": "^0.1.4", - "extglob": "^0.3.1", - "filename-regex": "^2.0.0", - "is-extglob": "^1.0.0", - "is-glob": "^2.0.1", - "kind-of": "^3.0.2", - "normalize-path": "^2.0.1", - "object.omit": "^2.0.0", - "parse-glob": "^3.0.4", - "regex-cache": "^0.4.2" - } - }, - "normalize-path": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", - "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", - "dev": true, - "optional": true, - "requires": { - "remove-trailing-separator": "^1.0.1" - } - }, - "output-file-sync": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/output-file-sync/-/output-file-sync-1.1.2.tgz", - "integrity": "sha1-0KM+7+YaIF+suQCS6CZZjVJFznY=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.4", - "mkdirp": "^0.5.1", - "object-assign": "^4.1.0" - } - }, - "slash": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", - "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=", - "dev": true - }, - "v8flags": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-2.1.1.tgz", - "integrity": "sha1-qrGh+jDUX4jdMhFIh1rALAtV5bQ=", - "dev": true, - "requires": { - "user-home": "^1.1.1" - } - } - } - }, "babel-code-frame": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", @@ -4976,62 +4777,6 @@ } } }, - "expand-range": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", - "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=", - "dev": true, - "optional": true, - "requires": { - "fill-range": "^2.1.0" - }, - "dependencies": { - "fill-range": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.4.tgz", - "integrity": "sha512-cnrcCbj01+j2gTG921VZPnHbjmdAf8oQV/iGeV2kZxGSyfYjjTyY79ErsK1WJWMpw6DaApEX72binqJE+/d+5Q==", - "dev": true, - "optional": true, - "requires": { - "is-number": "^2.1.0", - "isobject": "^2.0.0", - "randomatic": "^3.0.0", - "repeat-element": "^1.1.2", - "repeat-string": "^1.5.2" - } - }, - "is-number": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz", - "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=", - "dev": true, - "optional": true, - "requires": { - "kind-of": "^3.0.2" - } - }, - "isobject": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", - "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", - "dev": true, - "optional": true, - "requires": { - "isarray": "1.0.0" - } - }, - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "optional": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, "expand-template": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz", @@ -5275,13 +5020,6 @@ "flat-cache": "^2.0.1" } }, - "filename-regex": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz", - "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=", - "dev": true, - "optional": true - }, "fill-range": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", @@ -6272,46 +6010,6 @@ "path-is-absolute": "^1.0.0" } }, - "glob-base": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz", - "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=", - "dev": true, - "optional": true, - "requires": { - "glob-parent": "^2.0.0", - "is-glob": "^2.0.0" - }, - "dependencies": { - "glob-parent": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", - "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", - "dev": true, - "optional": true, - "requires": { - "is-glob": "^2.0.0" - } - }, - "is-extglob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", - "dev": true, - "optional": true - }, - "is-glob": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", - "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", - "dev": true, - "optional": true, - "requires": { - "is-extglob": "^1.0.0" - } - } - } - }, "glob-parent": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", @@ -7133,23 +6831,6 @@ "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=", "dev": true }, - "is-dotfile": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz", - "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=", - "dev": true, - "optional": true - }, - "is-equal-shallow": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz", - "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=", - "dev": true, - "optional": true, - "requires": { - "is-primitive": "^2.0.0" - } - }, "is-extendable": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", @@ -7214,20 +6895,6 @@ "isobject": "^3.0.1" } }, - "is-posix-bracket": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz", - "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=", - "dev": true, - "optional": true - }, - "is-primitive": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz", - "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=", - "dev": true, - "optional": true - }, "is-promise": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", @@ -7889,13 +7556,6 @@ "object-visit": "^1.0.0" } }, - "math-random": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/math-random/-/math-random-1.0.4.tgz", - "integrity": "sha512-rUxjysqif/BZQH2yhd5Aaq7vXMSx9NdEsQcyA07uEzIvxgI7zIr33gGsh+RU0/XjmQpCW7RsVof1vlkvQVCK5A==", - "dev": true, - "optional": true - }, "md5.js": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", @@ -8870,29 +8530,6 @@ "make-iterator": "^1.0.0" } }, - "object.omit": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", - "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=", - "dev": true, - "optional": true, - "requires": { - "for-own": "^0.1.4", - "is-extendable": "^0.1.1" - }, - "dependencies": { - "for-own": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz", - "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=", - "dev": true, - "optional": true, - "requires": { - "for-in": "^1.0.1" - } - } - } - }, "object.pick": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", @@ -9090,38 +8727,6 @@ "path-root": "^0.1.1" } }, - "parse-glob": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", - "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=", - "dev": true, - "optional": true, - "requires": { - "glob-base": "^0.3.0", - "is-dotfile": "^1.0.0", - "is-extglob": "^1.0.0", - "is-glob": "^2.0.0" - }, - "dependencies": { - "is-extglob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", - "dev": true, - "optional": true - }, - "is-glob": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", - "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", - "dev": true, - "optional": true, - "requires": { - "is-extglob": "^1.0.0" - } - } - } - }, "parse-json": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", @@ -9674,13 +9279,6 @@ "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=", "dev": true }, - "preserve": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz", - "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=", - "dev": true, - "optional": true - }, "prettier": { "version": "1.19.1", "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.19.1.tgz", @@ -9838,27 +9436,6 @@ "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=", "dev": true }, - "randomatic": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-3.1.1.tgz", - "integrity": "sha512-TuDE5KxZ0J461RVjrJZCJc+J+zCkTb1MbH9AQUq68sMhOMcy9jLcb3BrZKgp9q9Ncltdg4QVqWrH02W2EFFVYw==", - "dev": true, - "optional": true, - "requires": { - "is-number": "^4.0.0", - "kind-of": "^6.0.0", - "math-random": "^1.0.1" - }, - "dependencies": { - "is-number": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz", - "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==", - "dev": true, - "optional": true - } - } - }, "randombytes": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", @@ -10074,16 +9651,6 @@ "private": "^0.1.6" } }, - "regex-cache": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz", - "integrity": "sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==", - "dev": true, - "optional": true, - "requires": { - "is-equal-shallow": "^0.1.3" - } - }, "regex-not": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", @@ -12204,12 +11771,6 @@ "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==" }, - "user-home": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/user-home/-/user-home-1.1.1.tgz", - "integrity": "sha1-K1viOjK2Onyd640PKNSFcko98ZA=", - "dev": true - }, "util": { "version": "0.11.1", "resolved": "https://registry.npmjs.org/util/-/util-0.11.1.tgz", diff --git a/package.json b/package.json index 0a7a2098..463db59f 100644 --- a/package.json +++ b/package.json @@ -39,12 +39,12 @@ "@babel/core": "^7.7.5", "@babel/plugin-proposal-optional-chaining": "^7.7.5", "@babel/preset-env": "^7.7.6", + "@babel/register": "^7.7.4", "autoprefixer": "^9.7.3", - "babel-cli": "^6.26.0", + "babel-core": "^6.26.3", "babel-eslint": "^10.0.3", "babel-loader": "^8.0.6", "babel-preset-airbnb": "^3.3.2", - "babel-register": "^6.26.0", "css-loader": "^2.1.1", "eslint": "^5.16.0", "eslint-config-airbnb": "^17.1.1", diff --git a/public/css/style.css b/public/css/style.css index 770d34a6..80ce38d3 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -1,1403 +1,48 @@ -/* $primary: #ff886c; */ -.filters[data-v-e35db0d8] { - display: inline-block; - list-style: none; - padding: .5rem; - margin: 0; -} -.filters[data-v-e35db0d8]:not(:last-child) { - border-right: solid 1px rgba(0, 0, 0, 0.1); -} -.filter[data-v-e35db0d8] { - display: inline-block; -} -.compact .filters[data-v-e35db0d8] { - padding: 0; - border: none; -} -.compact .filter[data-v-e35db0d8] { - margin: 0 0 1.5rem 0; -} -.toggle[data-v-e35db0d8] { - color: rgba(0, 0, 0, 0.2); - box-sizing: border-box; - padding: .5rem; - margin: 0 .25rem; - border: solid 1px transparent; - font-size: .9rem; - font-weight: bold; - cursor: pointer; -} -.toggle .check[data-v-e35db0d8] { - display: none; -} -.toggle[data-v-e35db0d8]:hover { - color: rgba(0, 0, 0, 0.5); -} -.toggle.active[data-v-e35db0d8] { - color: #ff6c88; - box-shadow: 0 0 2px rgba(0, 0, 0, 0.2); -} +.filters[data-v-e35db0d8]{display:inline-block;list-style:none;padding:.5rem;margin:0}.filters[data-v-e35db0d8]:not(:last-child){border-right:solid 1px rgba(0,0,0,0.1)}.filter[data-v-e35db0d8]{display:inline-block}.compact .filters[data-v-e35db0d8]{padding:0;border:none}.compact .filter[data-v-e35db0d8]{margin:0 0 1.5rem 0}.toggle[data-v-e35db0d8]{color:rgba(0,0,0,0.2);box-sizing:border-box;padding:.5rem;margin:0 .25rem;border:solid 1px transparent;font-size:.9rem;font-weight:bold;cursor:pointer}.toggle .check[data-v-e35db0d8]{display:none}.toggle[data-v-e35db0d8]:hover{color:rgba(0,0,0,0.5)}.toggle.active[data-v-e35db0d8]{color:#ff6c88;box-shadow:0 0 2px rgba(0,0,0,0.2)} -/* $primary: #ff886c; */ -.filter-bar[data-v-6db17c96] { - background: #fff; - display: -webkit-box; - display: flex; - -webkit-box-pack: justify; - justify-content: space-between; - padding: .5rem 1rem; - z-index: 1; - font-size: 0; - box-shadow: 0 0 3px rgba(0, 0, 0, 0.5); -} -.filter-bar .icon[data-v-6db17c96] { - fill: rgba(0, 0, 0, 0.5); -} -.filters-container[data-v-6db17c96] { - display: inline-block; -} -.filters-compact[data-v-6db17c96] { - font-size: 1rem; - font-weight: bold; - display: none; - margin: 0 0 0 .5rem; -} -.range-button[data-v-6db17c96] { - color: rgba(0, 0, 0, 0.5); - background: #fff; - display: inline-block; - padding: .5rem 1rem; - border: none; - box-shadow: 0 0 2px rgba(0, 0, 0, 0.2); - font-size: .8rem; - font-weight: bold; -} -.range-button[data-v-6db17c96]:hover { - color: #222; - cursor: pointer; -} -.range-input[data-v-6db17c96] { - display: none; -} -.range-input:checked + .range-button[data-v-6db17c96] { - color: #ff6c88; -} -@media (max-width: 720px) { -.filters-container[data-v-6db17c96] { - display: none; -} -.filters-compact[data-v-6db17c96] { - display: inline-block; -} -} +.filter-bar[data-v-6db17c96]{background:#fff;display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between;padding:.5rem 1rem;z-index:1;font-size:0;box-shadow:0 0 3px rgba(0,0,0,0.5)}.filter-bar .icon[data-v-6db17c96]{fill:rgba(0,0,0,0.5)}.filters-container[data-v-6db17c96]{display:inline-block}.filters-compact[data-v-6db17c96]{font-size:1rem;font-weight:bold;display:none;margin:0 0 0 .5rem}.range-button[data-v-6db17c96]{color:rgba(0,0,0,0.5);background:#fff;display:inline-block;padding:.5rem 1rem;border:none;box-shadow:0 0 2px rgba(0,0,0,0.2);font-size:.8rem;font-weight:bold}.range-button[data-v-6db17c96]:hover{color:#222;cursor:pointer}.range-input[data-v-6db17c96]{display:none}.range-input:checked+.range-button[data-v-6db17c96]{color:#ff6c88}@media (max-width: 720px){.filters-container[data-v-6db17c96]{display:none}.filters-compact[data-v-6db17c96]{display:inline-block}} -/* $primary: #ff886c; */ -.tile[data-v-3abcf101] { - background: #fff; - display: -webkit-box; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - flex-direction: column; - box-sizing: border-box; - padding: 0 0 .5rem 0; - overflow: hidden; - box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); - height: 100%; -} -.banner[data-v-3abcf101] { - position: relative; - margin: 0 0 .5rem 0; -} -.thumbnail[data-v-3abcf101] { - width: 100%; - height: 12rem; - display: -webkit-box; - display: flex; - -webkit-box-pack: center; - justify-content: center; - -webkit-box-align: center; - align-items: center; - -o-object-fit: cover; - object-fit: cover; - background-position: center; - background-size: cover; - background-color: rgba(0, 0, 0, 0.1); - color: rgba(0, 0, 0, 0.5); - text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5); -} -.row[data-v-3abcf101] { - display: -webkit-box; - display: flex; - -webkit-box-pack: justify; - justify-content: space-between; - -webkit-box-align: center; - align-items: center; - box-sizing: border-box; - padding: 0 .5rem; - margin: 0 0 .25rem 0; -} -.details[data-v-3abcf101] { - width: 100%; - display: -webkit-box; - display: flex; - -webkit-box-align: center; - align-items: center; - -webkit-box-pack: justify; - justify-content: space-between; - position: absolute; - font-size: 0; -} -.site[data-v-3abcf101], -.date[data-v-3abcf101] { - color: #fff; - background: rgba(0, 0, 0, 0.5); - position: relative; - font-size: .8rem; - padding: .25rem; - text-decoration: none; -} -.date.upcoming[data-v-3abcf101]:before { - content: ''; - color: #fff; - background: #ff6c88; - width: .25rem; - display: inline-block; - position: absolute; - top: 0; - bottom: 0; - left: -.75rem; - padding: .25rem; - font-size: .8rem; - font-weight: bold; -} -.site[data-v-3abcf101] { - font-weight: bold; -} -.info[data-v-3abcf101] { - display: -webkit-box; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - flex-direction: column; - -webkit-box-flex: 1; - flex-grow: 1; -} -.link[data-v-3abcf101] { - text-decoration: none; -} -.title[data-v-3abcf101] { - display: -webkit-box; - display: flex; - -webkit-box-align: center; - align-items: center; - margin: 0 .25rem .25rem 0; - color: #222; - font-size: 1rem; - max-height: 3rem; - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; -} -.title .icon[data-v-3abcf101] { - margin: 0 .25rem 0 0; -} -.network[data-v-3abcf101] { - color: #555; - margin: 0 .25rem 0 0; - font-size: .8rem; -} -.actors[data-v-3abcf101] { - word-wrap: break-word; - overflow: hidden; - max-height: 2.75rem; - line-height: 1.5rem; -} -.tags[data-v-3abcf101] { - max-height: 2.5rem; - padding: .25rem .5rem 1rem .5rem; - line-height: 1.5rem; - word-wrap: break-word; - overflow-y: hidden; -} -.actor[data-v-3abcf101] { - margin: 0 .25rem 0 0; -} -.tag[data-v-3abcf101] { - margin: 0 .25rem .25rem 0; -} -.actor[data-v-3abcf101]:not(:last-of-type)::after { - content: ","; -} -.actor-link[data-v-3abcf101] { - text-decoration: none; -} -.actor-link[data-v-3abcf101]:hover { - color: #ff6c88; -} -.actor-link[data-v-3abcf101] { - color: #cc4466; -} -.tag-link[data-v-3abcf101] { - color: rgba(0, 0, 0, 0.5); - display: inline-block; - padding: .25rem; - font-size: .75rem; - font-weight: bold; - text-decoration: none; - line-height: 1; - border: solid 1px rgba(0, 0, 0, 0.1); -} -.tag-link[data-v-3abcf101]:hover { - color: #ff6c88; -} +.tile[data-v-3abcf101]{background:#fff;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;box-sizing:border-box;padding:0 0 .5rem 0;overflow:hidden;box-shadow:0 0 3px rgba(0,0,0,0.2);height:100%}.banner[data-v-3abcf101]{position:relative;margin:0 0 .5rem 0}.thumbnail[data-v-3abcf101]{width:100%;height:12rem;display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;-o-object-fit:cover;object-fit:cover;background-position:center;background-size:cover;background-color:rgba(0,0,0,0.1);color:rgba(0,0,0,0.5);text-shadow:1px 1px 0 rgba(255,255,255,0.5)}.row[data-v-3abcf101]{display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-align:center;align-items:center;box-sizing:border-box;padding:0 .5rem;margin:0 0 .25rem 0}.details[data-v-3abcf101]{width:100%;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:justify;justify-content:space-between;position:absolute;font-size:0}.site[data-v-3abcf101],.date[data-v-3abcf101]{color:#fff;background:rgba(0,0,0,0.5);position:relative;font-size:.8rem;padding:.25rem;text-decoration:none}.date.upcoming[data-v-3abcf101]:before{content:'';color:#fff;background:#ff6c88;width:.25rem;display:inline-block;position:absolute;top:0;bottom:0;left:-.75rem;padding:.25rem;font-size:.8rem;font-weight:bold}.site[data-v-3abcf101]{font-weight:bold}.info[data-v-3abcf101]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-flex:1;flex-grow:1}.link[data-v-3abcf101]{text-decoration:none}.title[data-v-3abcf101]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;margin:0 .25rem .25rem 0;color:#222;font-size:1rem;max-height:3rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.title .icon[data-v-3abcf101]{margin:0 .25rem 0 0}.network[data-v-3abcf101]{color:#555;margin:0 .25rem 0 0;font-size:.8rem}.actors[data-v-3abcf101]{word-wrap:break-word;overflow:hidden;max-height:2.75rem;line-height:1.5rem}.tags[data-v-3abcf101]{max-height:2.5rem;padding:.25rem .5rem 1rem .5rem;line-height:1.5rem;word-wrap:break-word;overflow-y:hidden}.actor[data-v-3abcf101]{margin:0 .25rem 0 0}.tag[data-v-3abcf101]{margin:0 .25rem .25rem 0}.actor[data-v-3abcf101]:not(:last-of-type)::after{content:","}.actor-link[data-v-3abcf101]{text-decoration:none}.actor-link[data-v-3abcf101]:hover{color:#ff6c88}.actor-link[data-v-3abcf101]{color:#c46}.tag-link[data-v-3abcf101]{color:rgba(0,0,0,0.5);display:inline-block;padding:.25rem;font-size:.75rem;font-weight:bold;text-decoration:none;line-height:1;border:solid 1px rgba(0,0,0,0.1)}.tag-link[data-v-3abcf101]:hover{color:#ff6c88} -/* $primary: #ff886c; */ -.heading[data-v-22ffe3e4] { - padding: 0; - margin: 0 0 1rem 0; -} -.heading .range[data-v-22ffe3e4] { - text-transform: capitalize; -} -.tiles[data-v-22ffe3e4] { - width: 100%; - display: grid; - grid-template-columns: repeat(auto-fit, minmax(20rem, 0.33fr)); - grid-gap: 1rem; -} -@media (max-width: 1500px) { -.tiles[data-v-22ffe3e4] { - grid-template-columns: repeat(auto-fit, minmax(20rem, 0.5fr)); -} -} -@media (max-width: 720px) { -.tiles[data-v-22ffe3e4] { - grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); -} -} +.heading[data-v-22ffe3e4]{padding:0;margin:0 0 1rem 0}.heading .range[data-v-22ffe3e4]{text-transform:capitalize}.tiles[data-v-22ffe3e4]{width:100%;display:grid;grid-template-columns:repeat(auto-fit, minmax(20rem, 0.33fr));grid-gap:1rem}@media (max-width: 1500px){.tiles[data-v-22ffe3e4]{grid-template-columns:repeat(auto-fit, minmax(20rem, 0.5fr))}}@media (max-width: 720px){.tiles[data-v-22ffe3e4]{grid-template-columns:repeat(auto-fit, minmax(20rem, 1fr))}} -/* $primary: #ff886c; */ -.banner[data-v-42bb19c4] { - background: #222; - flex-shrink: 0; - white-space: nowrap; - overflow-x: auto; - scrollbar-width: none; - box-shadow: 0 0 3px rgba(0, 0, 0, 0.5); - font-size: 0; -} -.banner[data-v-42bb19c4]::-webkit-scrollbar { - display: none; -} -.trailer[data-v-42bb19c4] { - display: inline-block; - max-width: 100vw; -} -.trailer-video[data-v-42bb19c4] { - max-width: 100%; -} -.item[data-v-42bb19c4] { - height: 18rem; - vertical-align: middle; -} +.banner[data-v-42bb19c4]{background:#222;flex-shrink:0;white-space:nowrap;overflow-x:auto;scrollbar-width:none;box-shadow:0 0 3px rgba(0,0,0,0.5);font-size:0}.banner[data-v-42bb19c4]::-webkit-scrollbar{display:none}.trailer[data-v-42bb19c4]{display:inline-block;max-width:100vw}.trailer-video[data-v-42bb19c4]{max-width:100%}.item[data-v-42bb19c4]{height:18rem;vertical-align:middle} -/* $primary: #ff886c; */ -.actor[data-v-6989dc6f] { - width: 10rem; - background: #fff; - display: inline-block; - margin: 0 .5rem .5rem 0; - position: relative; - box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); -} -.link[data-v-6989dc6f] { - color: #cc4466; - text-decoration: none; - text-align: center; -} -.link[data-v-6989dc6f]:hover { - color: #ff6c88; -} -.name[data-v-6989dc6f] { - display: block; - padding: .5rem; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - font-weight: bold; -} -.avatar[data-v-6989dc6f] { - color: rgba(0, 0, 0, 0.2); - background: rgba(0, 0, 0, 0.1); - height: 12rem; - width: 100%; - display: -webkit-box; - display: flex; - -webkit-box-align: center; - align-items: center; - -webkit-box-pack: center; - justify-content: center; - -o-object-fit: cover; - object-fit: cover; - -o-object-position: 50% 0; - object-position: 50% 0; -} -.details[data-v-6989dc6f] { - background: rgba(0, 0, 0, 0.5); - color: #fff; - width: 100%; - display: -webkit-box; - display: flex; - -webkit-box-align: center; - align-items: center; - -webkit-box-pack: justify; - justify-content: space-between; - box-sizing: border-box; - padding: .5rem; - position: absolute; - bottom: 0; - font-size: .8rem; - font-weight: bold; -} -.age-then[data-v-6989dc6f] { - color: rgba(255, 255, 255, 0.5); -} +.actor[data-v-6989dc6f]{width:10rem;background:#fff;display:inline-block;margin:0 .5rem .5rem 0;position:relative;box-shadow:0 0 3px rgba(0,0,0,0.2)}.link[data-v-6989dc6f]{color:#c46;text-decoration:none;text-align:center}.link[data-v-6989dc6f]:hover{color:#ff6c88}.name[data-v-6989dc6f]{display:block;padding:.5rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:bold}.avatar[data-v-6989dc6f]{color:rgba(0,0,0,0.2);background:rgba(0,0,0,0.1);height:12rem;width:100%;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;-o-object-fit:cover;object-fit:cover;-o-object-position:50% 0;object-position:50% 0}.details[data-v-6989dc6f]{background:rgba(0,0,0,0.5);color:#fff;width:100%;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:justify;justify-content:space-between;box-sizing:border-box;padding:.5rem;position:absolute;bottom:0;font-size:.8rem;font-weight:bold}.age-then[data-v-6989dc6f]{color:rgba(255,255,255,0.5)} -/* $primary: #ff886c; */ -.column[data-v-d4b03dc2] { - width: 1200px; - max-width: 100%; - padding: 0 1rem; - margin: 0 auto; - box-sizing: border-box; -} -.row[data-v-d4b03dc2] { - display: -webkit-box; - display: flex; - -webkit-box-align: center; - align-items: center; - margin: 0 0 1rem 0; -} -.row .icon[data-v-d4b03dc2] { - display: inline-block; - width: 1rem; - fill: rgba(0, 0, 0, 0.7); - margin: 0 1rem 0 0; -} -.info[data-v-d4b03dc2] { - background: #fff; - margin: 0 0 1.5rem 0; - box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); - cursor: default; -} -.info .column[data-v-d4b03dc2] { - display: -webkit-box; - display: flex; - -webkit-box-align: center; - align-items: center; - padding: 0 1rem; -} -.tidbit[data-v-d4b03dc2] { - display: inline-block; - height: 100%; -} -.tidbit[data-v-d4b03dc2]:not(:last-child) { - border-right: solid 1px rgba(0, 0, 0, 0.1); -} -.tidbit .icon[data-v-d4b03dc2] { - fill: rgba(0, 0, 0, 0.7); - margin: 0 .25rem 0 0; -} -.tidbit.date[data-v-d4b03dc2], .tidbit.duration[data-v-d4b03dc2], .tidbit.shoot[data-v-d4b03dc2] { - flex-shrink: 0; - padding: 1.25rem 1rem 1.25rem 0; - margin: 0 1rem 0 0; -} -.site[data-v-d4b03dc2] { - display: -webkit-inline-box; - display: inline-flex; - -webkit-box-flex: 1; - flex-grow: 1; - -webkit-box-align: center; - align-items: center; - -webkit-box-pack: end; - justify-content: flex-end; - padding: .25rem 0; - font-size: 0; -} -.logo[data-v-d4b03dc2] { - display: inline-block; - -webkit-filter: drop-shadow(1px 0 0 rgba(0, 0, 0, 0.2)) drop-shadow(-1px 0 0 rgba(0, 0, 0, 0.2)) drop-shadow(0 1px 0 rgba(0, 0, 0, 0.2)) drop-shadow(0 -1px 0 rgba(0, 0, 0, 0.2)); - filter: drop-shadow(1px 0 0 rgba(0, 0, 0, 0.2)) drop-shadow(-1px 0 0 rgba(0, 0, 0, 0.2)) drop-shadow(0 1px 0 rgba(0, 0, 0, 0.2)) drop-shadow(0 -1px 0 rgba(0, 0, 0, 0.2)); -} -.logo-site[data-v-d4b03dc2] { - height: 3rem; - max-width: 15rem; - -o-object-fit: contain; - object-fit: contain; - -o-object-position: 100% 50%; - object-position: 100% 50%; -} -.logo-network[data-v-d4b03dc2] { - height: 1.5rem; - max-width: 10rem; - -o-object-fit: contain; - object-fit: contain; - -o-object-position: 100% 50%; - object-position: 100% 50%; -} -.chain[data-v-d4b03dc2] { - color: rgba(0, 0, 0, 0.5); - padding: 0 .5rem; - font-weight: bold; - font-size: .8rem; -} -.title[data-v-d4b03dc2] { - margin: 0 0 1.5rem 0; -} -.description[data-v-d4b03dc2] { - line-height: 1.25; -} -.duration[data-v-d4b03dc2] { - font-size: 0; -} -.duration-segment[data-v-d4b03dc2] { - font-size: 1rem; -} -.actors[data-v-d4b03dc2] { - display: -webkit-box; - display: flex; - flex-wrap: wrap; -} -.link[data-v-d4b03dc2] { - display: inline-block; - color: #cc4466; - text-decoration: none; -} -.link[data-v-d4b03dc2]:hover { - color: #ff6c88; -} -.link:hover .icon[data-v-d4b03dc2] { - fill: #ff6c88; -} -.tag .link[data-v-d4b03dc2] { - background: #fff; - display: inline-block; - padding: .5rem; - margin: 0 .25rem .25rem 0; - box-shadow: 0 0 2px rgba(0, 0, 0, 0.2); - text-decoration: none; - text-transform: capitalize; -} -.tag .link[data-v-d4b03dc2]:hover { - color: #ff6c88; -} -.showable[data-v-d4b03dc2] { - display: none; -} -@media (max-width: 1200px) { -.logo-network[data-v-d4b03dc2], - .chain[data-v-d4b03dc2] { - display: none; -} -} -@media (max-width: 720px) { -.hideable[data-v-d4b03dc2] { - display: none; -} -.row .showable[data-v-d4b03dc2] { - display: block; -} -.tidbit .showable[data-v-d4b03dc2] { - display: inline-block; -} -.logo-site[data-v-d4b03dc2] { - width: 15rem; - max-width: 100%; -} -} +.column[data-v-d4b03dc2]{width:1200px;max-width:100%;padding:0 1rem;margin:0 auto;box-sizing:border-box}.row[data-v-d4b03dc2]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;margin:0 0 1rem 0}.row .icon[data-v-d4b03dc2]{display:inline-block;width:1rem;fill:rgba(0,0,0,0.7);margin:0 1rem 0 0}.info[data-v-d4b03dc2]{background:#fff;margin:0 0 1.5rem 0;box-shadow:0 0 3px rgba(0,0,0,0.2);cursor:default}.info .column[data-v-d4b03dc2]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;padding:0 1rem}.tidbit[data-v-d4b03dc2]{display:inline-block;height:100%}.tidbit[data-v-d4b03dc2]:not(:last-child){border-right:solid 1px rgba(0,0,0,0.1)}.tidbit .icon[data-v-d4b03dc2]{fill:rgba(0,0,0,0.7);margin:0 .25rem 0 0}.tidbit.date[data-v-d4b03dc2],.tidbit.duration[data-v-d4b03dc2],.tidbit.shoot[data-v-d4b03dc2]{flex-shrink:0;padding:1.25rem 1rem 1.25rem 0;margin:0 1rem 0 0}.site[data-v-d4b03dc2]{display:-webkit-inline-box;display:inline-flex;-webkit-box-flex:1;flex-grow:1;-webkit-box-align:center;align-items:center;-webkit-box-pack:end;justify-content:flex-end;padding:.25rem 0;font-size:0}.logo[data-v-d4b03dc2]{display:inline-block;-webkit-filter:drop-shadow(1px 0 0 rgba(0,0,0,0.2)) drop-shadow(-1px 0 0 rgba(0,0,0,0.2)) drop-shadow(0 1px 0 rgba(0,0,0,0.2)) drop-shadow(0 -1px 0 rgba(0,0,0,0.2));filter:drop-shadow(1px 0 0 rgba(0,0,0,0.2)) drop-shadow(-1px 0 0 rgba(0,0,0,0.2)) drop-shadow(0 1px 0 rgba(0,0,0,0.2)) drop-shadow(0 -1px 0 rgba(0,0,0,0.2))}.logo-site[data-v-d4b03dc2]{height:3rem;max-width:15rem;-o-object-fit:contain;object-fit:contain;-o-object-position:100% 50%;object-position:100% 50%}.logo-network[data-v-d4b03dc2]{height:1.5rem;max-width:10rem;-o-object-fit:contain;object-fit:contain;-o-object-position:100% 50%;object-position:100% 50%}.chain[data-v-d4b03dc2]{color:rgba(0,0,0,0.5);padding:0 .5rem;font-weight:bold;font-size:.8rem}.title[data-v-d4b03dc2]{margin:0 0 1.5rem 0}.description[data-v-d4b03dc2]{line-height:1.25}.duration[data-v-d4b03dc2]{font-size:0}.duration-segment[data-v-d4b03dc2]{font-size:1rem}.actors[data-v-d4b03dc2]{display:-webkit-box;display:flex;flex-wrap:wrap}.link[data-v-d4b03dc2]{display:inline-block;color:#c46;text-decoration:none}.link[data-v-d4b03dc2]:hover{color:#ff6c88}.link:hover .icon[data-v-d4b03dc2]{fill:#ff6c88}.tag .link[data-v-d4b03dc2]{background:#fff;display:inline-block;padding:.5rem;margin:0 .25rem .25rem 0;box-shadow:0 0 2px rgba(0,0,0,0.2);text-decoration:none;text-transform:capitalize}.tag .link[data-v-d4b03dc2]:hover{color:#ff6c88}.showable[data-v-d4b03dc2]{display:none}@media (max-width: 1200px){.logo-network[data-v-d4b03dc2],.chain[data-v-d4b03dc2]{display:none}}@media (max-width: 720px){.hideable[data-v-d4b03dc2]{display:none}.row .showable[data-v-d4b03dc2]{display:block}.tidbit .showable[data-v-d4b03dc2]{display:inline-block}.logo-site[data-v-d4b03dc2]{width:15rem;max-width:100%}} -/* $primary: #ff886c; */ -.header[data-v-3e57cf44] { - display: -webkit-box; - display: flex; - flex-wrap: wrap; - -webkit-box-pack: justify; - justify-content: space-between; -} -.title[data-v-3e57cf44] { - display: -webkit-inline-box; - display: inline-flex; - -webkit-box-align: top; - align-items: top; - margin: 0 1rem 0 0; -} -.title:hover .icon[data-v-3e57cf44] { - fill: #ff6c88; -} -.heading[data-v-3e57cf44] { - padding: 0; - margin: 0 0 1rem 0; -} -.link[data-v-3e57cf44] { - display: -webkit-box; - display: flex; - flex-shrink: 0; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - flex-direction: column; - -webkit-box-align: end; - align-items: flex-end; -} -.logo[data-v-3e57cf44] { - width: 20rem; - max-height: 8rem; - -o-object-fit: contain; - object-fit: contain; - margin: 0 .5rem 1rem 0; -} -.networklogo-container[data-v-3e57cf44] { - display: -webkit-box; - display: flex; - -webkit-box-align: center; - align-items: center; -} -.networklogo[data-v-3e57cf44] { - color: #222; - width: 15rem; - max-height: 6rem; - font-weight: bold; - -o-object-fit: contain; - object-fit: contain; - -o-object-position: 100% 0; - object-position: 100% 0; - margin: 0 0 0 .5rem; -} -.sites[data-v-3e57cf44], -.scenes[data-v-3e57cf44] { - display: grid; - grid-gap: 1rem; - margin: 0 0 1rem 0; -} -.sites[data-v-3e57cf44] { - grid-template-columns: repeat(auto-fit, 15rem); -} +.header[data-v-3e57cf44]{display:-webkit-box;display:flex;flex-wrap:wrap;-webkit-box-pack:justify;justify-content:space-between}.title[data-v-3e57cf44]{display:-webkit-inline-box;display:inline-flex;-webkit-box-align:top;align-items:top;margin:0 1rem 0 0}.title:hover .icon[data-v-3e57cf44]{fill:#ff6c88}.heading[data-v-3e57cf44]{padding:0;margin:0 0 1rem 0}.link[data-v-3e57cf44]{display:-webkit-box;display:flex;flex-shrink:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:end;align-items:flex-end}.logo[data-v-3e57cf44]{width:20rem;max-height:8rem;-o-object-fit:contain;object-fit:contain;margin:0 .5rem 1rem 0}.networklogo-container[data-v-3e57cf44]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}.networklogo[data-v-3e57cf44]{color:#222;width:15rem;max-height:6rem;font-weight:bold;-o-object-fit:contain;object-fit:contain;-o-object-position:100% 0;object-position:100% 0;margin:0 0 0 .5rem}.sites[data-v-3e57cf44],.scenes[data-v-3e57cf44]{display:grid;grid-gap:1rem;margin:0 0 1rem 0}.sites[data-v-3e57cf44]{grid-template-columns:repeat(auto-fit, 15rem)} -/* $primary: #ff886c; */ -.tile[data-v-f4958086] { - background: #fff; - display: -webkit-box; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - flex-direction: column; - -webkit-box-align: center; - align-items: center; - box-sizing: border-box; - padding: .5rem 1rem; - border-radius: .25rem; - box-shadow: 0 0 3px rgba(0, 0, 0, 0.25); - height: 100%; - text-align: center; -} -.link[data-v-f4958086] { - text-decoration: none; -} -.logo[data-v-f4958086] { - width: 100%; - height: 5rem; - color: #222; - display: -webkit-box; - display: flex; - -webkit-box-align: center; - align-items: center; - -webkit-box-pack: center; - justify-content: center; - -o-object-fit: contain; - object-fit: contain; - font-size: 1rem; - font-weight: bold; - -webkit-filter: drop-shadow(1px 0 0 rgba(0, 0, 0, 0.2)) drop-shadow(-1px 0 0 rgba(0, 0, 0, 0.2)) drop-shadow(0 1px 0 rgba(0, 0, 0, 0.2)) drop-shadow(0 -1px 0 rgba(0, 0, 0, 0.2)); - filter: drop-shadow(1px 0 0 rgba(0, 0, 0, 0.2)) drop-shadow(-1px 0 0 rgba(0, 0, 0, 0.2)) drop-shadow(0 1px 0 rgba(0, 0, 0, 0.2)) drop-shadow(0 -1px 0 rgba(0, 0, 0, 0.2)); -} -.title[data-v-f4958086] { - color: #222; - height: 100%; - display: -webkit-box; - display: flex; - -webkit-box-align: center; - align-items: center; - margin: 0; -} +.tile[data-v-f4958086]{background:#fff;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:center;align-items:center;box-sizing:border-box;padding:.5rem 1rem;border-radius:.25rem;box-shadow:0 0 3px rgba(0,0,0,0.25);height:100%;text-align:center}.link[data-v-f4958086]{text-decoration:none}.logo[data-v-f4958086]{width:100%;height:5rem;color:#222;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;-o-object-fit:contain;object-fit:contain;font-size:1rem;font-weight:bold;-webkit-filter:drop-shadow(1px 0 0 rgba(0,0,0,0.2)) drop-shadow(-1px 0 0 rgba(0,0,0,0.2)) drop-shadow(0 1px 0 rgba(0,0,0,0.2)) drop-shadow(0 -1px 0 rgba(0,0,0,0.2));filter:drop-shadow(1px 0 0 rgba(0,0,0,0.2)) drop-shadow(-1px 0 0 rgba(0,0,0,0.2)) drop-shadow(0 1px 0 rgba(0,0,0,0.2)) drop-shadow(0 -1px 0 rgba(0,0,0,0.2))}.title[data-v-f4958086]{color:#222;height:100%;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;margin:0} -/* $primary: #ff886c; */ -.header[data-v-e2e12602] { - display: -webkit-box; - display: flex; - flex-wrap: wrap; - -webkit-box-pack: justify; - justify-content: space-between; - -webkit-box-align: top; - align-items: top; - margin: 0 0 2rem 0; -} -.title[data-v-e2e12602] { - display: -webkit-inline-box; - display: inline-flex; - -webkit-box-align: top; - align-items: top; - margin: 0 1rem 0 0; -} -.title:hover .icon[data-v-e2e12602] { - fill: #ff6c88; -} -.logo[data-v-e2e12602] { - width: 20rem; - max-height: 8rem; - -o-object-fit: contain; - object-fit: contain; - margin: 0 .5rem 0 0; -} -.sites[data-v-e2e12602] { - display: grid; - grid-gap: 1rem; - margin: 0 0 2rem 0; -} -.sites[data-v-e2e12602] { - grid-template-columns: repeat(auto-fit, 15rem); -} -@media (max-width: 720px) { -.sites[data-v-e2e12602] { - grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); -} -} +.header[data-v-e2e12602]{display:-webkit-box;display:flex;flex-wrap:wrap;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-align:top;align-items:top;margin:0 0 2rem 0}.title[data-v-e2e12602]{display:-webkit-inline-box;display:inline-flex;-webkit-box-align:top;align-items:top;margin:0 1rem 0 0}.title:hover .icon[data-v-e2e12602]{fill:#ff6c88}.logo[data-v-e2e12602]{width:20rem;max-height:8rem;-o-object-fit:contain;object-fit:contain;margin:0 .5rem 0 0}.sites[data-v-e2e12602]{display:grid;grid-gap:1rem;margin:0 0 2rem 0}.sites[data-v-e2e12602]{grid-template-columns:repeat(auto-fit, 15rem)}@media (max-width: 720px){.sites[data-v-e2e12602]{grid-template-columns:repeat(auto-fit, minmax(15rem, 1fr))}} -/* $primary: #ff886c; */ -.tile[data-v-8b4c90b0] { - background: #fff; - display: -webkit-box; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - flex-direction: column; - -webkit-box-align: center; - align-items: center; - box-sizing: border-box; - padding: .5rem 1rem; - box-shadow: 0 0 3px rgba(0, 0, 0, 0.25); - height: 100%; - text-align: center; -} -.link[data-v-8b4c90b0] { - text-decoration: none; -} -.logo[data-v-8b4c90b0] { - width: 100%; - height: 5rem; - color: #222; - display: -webkit-box; - display: flex; - -webkit-box-align: center; - align-items: center; - -webkit-box-pack: center; - justify-content: center; - -o-object-fit: contain; - object-fit: contain; - font-size: 1rem; - font-weight: bold; - -webkit-filter: drop-shadow(1px 0 0 rgba(0, 0, 0, 0.2)) drop-shadow(-1px 0 0 rgba(0, 0, 0, 0.2)) drop-shadow(0 1px 0 rgba(0, 0, 0, 0.2)) drop-shadow(0 -1px 0 rgba(0, 0, 0, 0.2)); - filter: drop-shadow(1px 0 0 rgba(0, 0, 0, 0.2)) drop-shadow(-1px 0 0 rgba(0, 0, 0, 0.2)) drop-shadow(0 1px 0 rgba(0, 0, 0, 0.2)) drop-shadow(0 -1px 0 rgba(0, 0, 0, 0.2)); -} -.title[data-v-8b4c90b0] { - color: #222; - height: 100%; - display: -webkit-box; - display: flex; - -webkit-box-align: center; - align-items: center; - margin: 0; -} +.tile[data-v-8b4c90b0]{background:#fff;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:center;align-items:center;box-sizing:border-box;padding:.5rem 1rem;box-shadow:0 0 3px rgba(0,0,0,0.25);height:100%;text-align:center}.link[data-v-8b4c90b0]{text-decoration:none}.logo[data-v-8b4c90b0]{width:100%;height:5rem;color:#222;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;-o-object-fit:contain;object-fit:contain;font-size:1rem;font-weight:bold;-webkit-filter:drop-shadow(1px 0 0 rgba(0,0,0,0.2)) drop-shadow(-1px 0 0 rgba(0,0,0,0.2)) drop-shadow(0 1px 0 rgba(0,0,0,0.2)) drop-shadow(0 -1px 0 rgba(0,0,0,0.2));filter:drop-shadow(1px 0 0 rgba(0,0,0,0.2)) drop-shadow(-1px 0 0 rgba(0,0,0,0.2)) drop-shadow(0 1px 0 rgba(0,0,0,0.2)) drop-shadow(0 -1px 0 rgba(0,0,0,0.2))}.title[data-v-8b4c90b0]{color:#222;height:100%;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;margin:0} -.networks[data-v-4709d404] { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); - grid-gap: 1rem; - padding: 1rem; -} +.networks[data-v-4709d404]{display:grid;grid-template-columns:repeat(auto-fit, minmax(15rem, 1fr));grid-gap:1rem;padding:1rem} -/* $primary: #ff886c; */ -.photos[data-v-0a0430c7] { - display: inline-grid; - grid-template-columns: repeat(auto-fit, 12rem); - grid-gap: .5rem; - font-size: 0; -} -.photos .avatar-link[data-v-0a0430c7] { - display: none; -} -.photo[data-v-0a0430c7] { - width: 100%; - height: 100%; - -o-object-fit: cover; - object-fit: cover; - box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); -} -@media (min-width: 1200px) { -.photos.wide[data-v-0a0430c7] { - max-width: 30vw; -} -} -@media (max-width: 1200px) { -.photos[data-v-0a0430c7] { - width: 100%; - max-width: 100%; - display: -webkit-box; - display: flex; - overflow-x: scroll; - scrollbar-width: none; -} -.photos .avatar-link[data-v-0a0430c7] { - display: inline-block; -} -.photos[data-v-0a0430c7]::-webkit-scrollbar { - display: none; -} -.photo-link[data-v-0a0430c7] { - height: 15rem; - flex-shrink: 0; - margin: 0 .5rem 0 0; -} -} +.photos[data-v-0a0430c7]{display:inline-grid;grid-template-columns:repeat(auto-fit, 12rem);grid-gap:.5rem;font-size:0}.photos .avatar-link[data-v-0a0430c7]{display:none}.photo[data-v-0a0430c7]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;box-shadow:0 0 3px rgba(0,0,0,0.2)}@media (min-width: 1200px){.photos.wide[data-v-0a0430c7]{max-width:30vw}}@media (max-width: 1200px){.photos[data-v-0a0430c7]{width:100%;max-width:100%;display:-webkit-box;display:flex;overflow-x:scroll;scrollbar-width:none}.photos .avatar-link[data-v-0a0430c7]{display:inline-block}.photos[data-v-0a0430c7]::-webkit-scrollbar{display:none}.photo-link[data-v-0a0430c7]{height:15rem;flex-shrink:0;margin:0 .5rem 0 0}} -/* $primary: #ff886c; */ -.actor-inner[data-v-ea0483c2] { - height: 100%; - display: -webkit-box; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - flex-direction: column; - padding: 0; - overflow-x: auto; -} -.profile[data-v-ea0483c2] { - background: #222; - color: rgba(255, 255, 255, 0.9); - width: 100%; - display: -webkit-box; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - flex-direction: row; - flex-shrink: 0; -} -.profile .avatar-link[data-v-ea0483c2] { - font-size: 0; - padding: 1rem 0 1rem 1rem; -} -.profile .avatar[data-v-ea0483c2] { - height: 15rem; - width: 12rem; - flex-shrink: 0; - margin: 0 1rem 0 0; - -o-object-fit: cover; - object-fit: cover; - -o-object-position: 50% 0; - object-position: 50% 0; -} -.bio[data-v-ea0483c2] { - -webkit-box-flex: 1; - flex-grow: 1; - min-width: 20rem; - box-sizing: border-box; - padding: 1rem; - margin: 0 2rem 0 0; -} -.bio-header[data-v-ea0483c2] { - display: -webkit-box; - display: flex; - -webkit-box-pack: justify; - justify-content: space-between; - -webkit-box-align: center; - align-items: center; - margin: 0 0 1rem 0; -} -.bio-item[data-v-ea0483c2] { - display: -webkit-box; - display: flex; - -webkit-box-pack: justify; - justify-content: space-between; - padding: 0 0 .25rem 0; - margin: 0 0 .25rem 0; - line-height: 1.75; - text-align: right; - font-size: .9rem; - font-weight: 600; -} -.bio-item[data-v-ea0483c2]:not(:last-of-type) { - border-bottom: solid 1px rgba(255, 255, 255, 0.075); -} -.bio-label[data-v-ea0483c2] { - color: rgba(255, 255, 255, 0.5); - margin: 0 1rem 0 0; - flex-shrink: 0; - font-style: normal; - font-weight: 400; -} -.bio-label .icon[data-v-ea0483c2] { - fill: rgba(255, 255, 255, 0.5); - margin: 0 .5rem 0 0; -} -.bio-value[data-v-ea0483c2] { - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; -} -.flag[data-v-ea0483c2] { - margin: 0 .25rem 0 0; -} -.bio-name[data-v-ea0483c2] { - display: inline-block; - padding: 0; - margin: 0; -} -.bio-gender[data-v-ea0483c2] { - display: inline-block; - font-weight: bold; - text-transform: capitalize; - font-weight: normal; -} -.bio-gender .icon[data-v-ea0483c2] { - width: 1.25rem; - height: 1.25rem; -} -.bio-gender.female .icon[data-v-ea0483c2] { - fill: #f0a; -} -.bio-gender.male .icon[data-v-ea0483c2] { - fill: #0af; -} -.birthdate[data-v-ea0483c2] { - display: block; -} -.age[data-v-ea0483c2] { - font-weight: bold; - padding: 0 0 0 .5rem; - border-left: solid 1px rgba(255, 255, 255, 0.2); - margin: 0 0 0 .5rem; -} -.country[data-v-ea0483c2] { - display: block; -} -.height-imperial[data-v-ea0483c2], -.weight-imperial[data-v-ea0483c2] { - padding: 0 0 0 .5rem; - border-left: solid 1px rgba(255, 255, 255, 0.2); - margin: 0 0 0 .5rem; -} -.enhanced.icon[data-v-ea0483c2] { - fill: #ff6c88; - padding: 0 .5rem; -} -.scraped[data-v-ea0483c2] { - color: rgba(255, 255, 255, 0.2); - margin: 1rem 0 0 0; - font-size: .8rem; -} -.extra[data-v-ea0483c2] { - -webkit-box-flex: 1; - flex-grow: 1; -} -.description[data-v-ea0483c2] { - max-height: 12rem; - position: relative; - display: block; - box-sizing: border-box; - padding: 1rem 0 0 0; - margin: 0 2rem 0 0; - line-height: 1.5; - text-overflow: ellipsis; - font-size: .9rem; - overflow: auto; - scrollbar-width: none; -} -.description[data-v-ea0483c2]::-webkit-scrollbar { - display: none; -} -.social[data-v-ea0483c2] { - display: block; - margin: 1rem 0; -} -.social-link[data-v-ea0483c2] { - display: inline-block; - padding: 0 1rem 0 0; -} -.social-link .icon[data-v-ea0483c2] { - color: rgba(255, 255, 255, 0.5); - fill: rgba(255, 255, 255, 0.5); - width: 1.5rem; - height: 1.5rem; -} -.social-link:hover .icon[data-v-ea0483c2] { - fill: #ff6c88; -} -.actor-content[data-v-ea0483c2] { - display: -webkit-box; - display: flex; - -webkit-box-flex: 1; - flex-grow: 1; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - flex-direction: row; -} -.heading[data-v-ea0483c2] { - padding: 0; - margin: 0 0 1rem 0; -} -.photos-container[data-v-ea0483c2] { - min-width: 15rem; - box-sizing: border-box; - border-right: solid 1px rgba(0, 0, 0, 0.1); - padding: 1rem 1.5rem 1rem 1rem; - margin: 0 .5rem 0 0; -} -.photos.compact[data-v-ea0483c2] { - display: none; -} -.releases[data-v-ea0483c2] { - -webkit-box-flex: 1; - flex-grow: 1; - padding: 1rem; -} -@media (max-width: 1500px) { -.description[data-v-ea0483c2] { - display: none; -} -} -@media (max-width: 1200px) { -.profile .avatar-link[data-v-ea0483c2], - .extra[data-v-ea0483c2] { - display: none; -} -.actor-content[data-v-ea0483c2] { - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - flex-direction: column; -} -.photos-container[data-v-ea0483c2] { - border: none; - border-bottom: solid 1px rgba(0, 0, 0, 0.1); - padding: 1rem 1rem 1.5rem 1rem; - margin: 0 0 .5rem 0; -} -.photos[data-v-ea0483c2] { - display: none; -} -.photos.compact[data-v-ea0483c2] { - display: -webkit-box; - display: flex; -} -} -@media (max-width: 720px) { -.profile[data-v-ea0483c2] { - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - flex-direction: column; - padding: 0 0 .5rem 0; -} -.bio[data-v-ea0483c2] { - width: 100%; - padding: 0 1rem; - margin: 0; -} -.bio-header[data-v-ea0483c2] { - margin: 1rem 0; -} -.city[data-v-ea0483c2], - .state[data-v-ea0483c2], - .ethnicity[data-v-ea0483c2], - .residence[data-v-ea0483c2], - .weight[data-v-ea0483c2], - .tattoos[data-v-ea0483c2], - .piercings[data-v-ea0483c2], - .scraped[data-v-ea0483c2] { - display: none; -} -.social[data-v-ea0483c2] { - padding: 0 1rem; -} -} +.actor-inner[data-v-ea0483c2]{height:100%;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;padding:0;overflow-x:auto}.profile[data-v-ea0483c2]{background:#222;color:rgba(255,255,255,0.9);width:100%;display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;flex-shrink:0}.profile .avatar-link[data-v-ea0483c2]{font-size:0;padding:1rem 0 1rem 1rem}.profile .avatar[data-v-ea0483c2]{height:15rem;width:12rem;flex-shrink:0;margin:0 1rem 0 0;-o-object-fit:cover;object-fit:cover;-o-object-position:50% 0;object-position:50% 0}.bio[data-v-ea0483c2]{-webkit-box-flex:1;flex-grow:1;min-width:20rem;box-sizing:border-box;padding:1rem;margin:0 2rem 0 0}.bio-header[data-v-ea0483c2]{display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-align:center;align-items:center;margin:0 0 1rem 0}.bio-item[data-v-ea0483c2]{display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between;padding:0 0 .25rem 0;margin:0 0 .25rem 0;line-height:1.75;text-align:right;font-size:.9rem;font-weight:600}.bio-item[data-v-ea0483c2]:not(:last-of-type){border-bottom:solid 1px rgba(255,255,255,0.075)}.bio-label[data-v-ea0483c2]{color:rgba(255,255,255,0.5);margin:0 1rem 0 0;flex-shrink:0;font-style:normal;font-weight:400}.bio-label .icon[data-v-ea0483c2]{fill:rgba(255,255,255,0.5);margin:0 .5rem 0 0}.bio-value[data-v-ea0483c2]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.flag[data-v-ea0483c2]{margin:0 .25rem 0 0}.bio-name[data-v-ea0483c2]{display:inline-block;padding:0;margin:0}.bio-gender[data-v-ea0483c2]{display:inline-block;font-weight:bold;text-transform:capitalize;font-weight:normal}.bio-gender .icon[data-v-ea0483c2]{width:1.25rem;height:1.25rem}.bio-gender.female .icon[data-v-ea0483c2]{fill:#f0a}.bio-gender.male .icon[data-v-ea0483c2]{fill:#0af}.birthdate[data-v-ea0483c2]{display:block}.age[data-v-ea0483c2]{font-weight:bold;padding:0 0 0 .5rem;border-left:solid 1px rgba(255,255,255,0.2);margin:0 0 0 .5rem}.country[data-v-ea0483c2]{display:block}.height-imperial[data-v-ea0483c2],.weight-imperial[data-v-ea0483c2]{padding:0 0 0 .5rem;border-left:solid 1px rgba(255,255,255,0.2);margin:0 0 0 .5rem}.enhanced.icon[data-v-ea0483c2]{fill:#ff6c88;padding:0 .5rem}.scraped[data-v-ea0483c2]{color:rgba(255,255,255,0.2);margin:1rem 0 0 0;font-size:.8rem}.extra[data-v-ea0483c2]{-webkit-box-flex:1;flex-grow:1}.description[data-v-ea0483c2]{max-height:12rem;position:relative;display:block;box-sizing:border-box;padding:1rem 0 0 0;margin:0 2rem 0 0;line-height:1.5;text-overflow:ellipsis;font-size:.9rem;overflow:auto;scrollbar-width:none}.description[data-v-ea0483c2]::-webkit-scrollbar{display:none}.social[data-v-ea0483c2]{display:block;margin:1rem 0}.social-link[data-v-ea0483c2]{display:inline-block;padding:0 1rem 0 0}.social-link .icon[data-v-ea0483c2]{color:rgba(255,255,255,0.5);fill:rgba(255,255,255,0.5);width:1.5rem;height:1.5rem}.social-link:hover .icon[data-v-ea0483c2]{fill:#ff6c88}.actor-content[data-v-ea0483c2]{display:-webkit-box;display:flex;-webkit-box-flex:1;flex-grow:1;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row}.heading[data-v-ea0483c2]{padding:0;margin:0 0 1rem 0}.photos-container[data-v-ea0483c2]{min-width:15rem;box-sizing:border-box;border-right:solid 1px rgba(0,0,0,0.1);padding:1rem 1.5rem 1rem 1rem;margin:0 .5rem 0 0}.photos.compact[data-v-ea0483c2]{display:none}.releases[data-v-ea0483c2]{-webkit-box-flex:1;flex-grow:1;padding:1rem}@media (max-width: 1500px){.description[data-v-ea0483c2]{display:none}}@media (max-width: 1200px){.profile .avatar-link[data-v-ea0483c2],.extra[data-v-ea0483c2]{display:none}.actor-content[data-v-ea0483c2]{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.photos-container[data-v-ea0483c2]{border:none;border-bottom:solid 1px rgba(0,0,0,0.1);padding:1rem 1rem 1.5rem 1rem;margin:0 0 .5rem 0}.photos[data-v-ea0483c2]{display:none}.photos.compact[data-v-ea0483c2]{display:-webkit-box;display:flex}}@media (max-width: 720px){.profile[data-v-ea0483c2]{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;padding:0 0 .5rem 0}.bio[data-v-ea0483c2]{width:100%;padding:0 1rem;margin:0}.bio-header[data-v-ea0483c2]{margin:1rem 0}.city[data-v-ea0483c2],.state[data-v-ea0483c2],.ethnicity[data-v-ea0483c2],.residence[data-v-ea0483c2],.weight[data-v-ea0483c2],.tattoos[data-v-ea0483c2],.piercings[data-v-ea0483c2],.scraped[data-v-ea0483c2]{display:none}.social[data-v-ea0483c2]{padding:0 1rem}} -.actors[data-v-4f34b238] { - display: grid; - grid-template-columns: repeat(auto-fit, 10rem); - grid-gap: 0 .5rem; - padding: 1rem; -} +.actors[data-v-4f34b238]{display:grid;grid-template-columns:repeat(auto-fit, 10rem);grid-gap:0 .5rem;padding:1rem} -/* $primary: #ff886c; */ -.description a { - color: #cc4466; - text-decoration: inherit; -} -.description a:hover { - color: #ff6c88; -} +.description a{color:#c46;text-decoration:inherit}.description a:hover{color:#ff6c88} -/* $primary: #ff886c; */ -.tag[data-v-7f130e7f] { - display: -webkit-box; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - flex-direction: row; - -webkit-box-flex: 1; - flex-grow: 1; - -webkit-box-pack: stretch; - justify-content: stretch; -} -.sidebar[data-v-7f130e7f] { - background: #222; - color: #fff; - width: 25rem; - box-sizing: border-box; - padding: 1rem; -} -.poster[data-v-7f130e7f] { - width: 100%; - height: 15rem; - -o-object-fit: cover; - object-fit: cover; -} -.title[data-v-7f130e7f] { - padding: 0; - margin: 1rem 0; - text-transform: capitalize; -} -.title .icon[data-v-7f130e7f] { - fill: #fff; - width: 1.25rem; - height: 1.25rem; -} -.description[data-v-7f130e7f] { - padding: 0; - margin: 0 0 1rem 0; - line-height: 1.5; -} -.photo[data-v-7f130e7f] { - width: 100%; -} +.tag[data-v-7f130e7f]{display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-box-flex:1;flex-grow:1;-webkit-box-pack:stretch;justify-content:stretch}.sidebar[data-v-7f130e7f]{background:#222;color:#fff;width:25rem;box-sizing:border-box;padding:1rem}.poster[data-v-7f130e7f]{width:100%;height:15rem;-o-object-fit:cover;object-fit:cover}.title[data-v-7f130e7f]{padding:0;margin:1rem 0;text-transform:capitalize}.title .icon[data-v-7f130e7f]{fill:#fff;width:1.25rem;height:1.25rem}.description[data-v-7f130e7f]{padding:0;margin:0 0 1rem 0;line-height:1.5}.photo[data-v-7f130e7f]{width:100%} -/* $primary: #ff886c; */ -.tile[data-v-602c6fd8] { - color: #222; - background: #fff; - display: -webkit-box; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - flex-direction: column; - -webkit-box-align: center; - align-items: center; - box-sizing: border-box; - box-shadow: 0 0 3px rgba(0, 0, 0, 0.25); - text-align: center; - text-decoration: none; -} -.poster[data-v-602c6fd8] { - width: 100%; - height: 14rem; - -o-object-fit: cover; - object-fit: cover; -} -.title[data-v-602c6fd8] { - height: 100%; - display: -webkit-box; - display: flex; - -webkit-box-align: center; - align-items: center; - -webkit-box-pack: center; - justify-content: center; - font-size: 1rem; - padding: .5rem 1rem; - font-weight: bold; - text-transform: capitalize; -} +.tile[data-v-602c6fd8]{color:#222;background:#fff;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:center;align-items:center;box-sizing:border-box;box-shadow:0 0 3px rgba(0,0,0,0.25);text-align:center;text-decoration:none}.poster[data-v-602c6fd8]{width:100%;height:14rem;-o-object-fit:cover;object-fit:cover}.title[data-v-602c6fd8]{height:100%;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;font-size:1rem;padding:.5rem 1rem;font-weight:bold;text-transform:capitalize} -/* $primary: #ff886c; */ -.tags[data-v-66fa6284] { - padding: 1rem; -} -.tiles[data-v-66fa6284] { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); - grid-gap: .5rem; -} +.tags[data-v-66fa6284]{padding:1rem}.tiles[data-v-66fa6284]{display:grid;grid-template-columns:repeat(auto-fit, minmax(20rem, 1fr));grid-gap:.5rem} -/* $primary: #ff886c; */ -.errorpage[data-v-29109daf] { - background: #fff; - color: #ff6c88; - height: 100%; - display: -webkit-box; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - flex-direction: column; - -webkit-box-align: center; - align-items: center; - -webkit-box-pack: center; - justify-content: center; - font-size: 2rem; -} -.error[data-v-29109daf] { - margin: 0; -} -.home[data-v-29109daf] { - color: rgba(0, 0, 0, 0.5); - margin: 3rem 0; -} +.errorpage[data-v-29109daf]{background:#fff;color:#ff6c88;height:100%;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;font-size:2rem}.error[data-v-29109daf]{margin:0}.home[data-v-29109daf]{color:rgba(0,0,0,0.5);margin:3rem 0} -/* $primary: #ff886c; */ -.noselect { - user-select: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - -webkit-tap-highlight-color: transparent; } +.noselect{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-tap-highlight-color:transparent}.nolist{list-style:none;padding:0;margin:0}.nolist li{display:inline-block;padding:0;margin:0}.tooltip{display:block !important;z-index:10000}.tooltip .tooltip-inner{max-width:20rem;background:#222;color:white;border-radius:16px;padding:5px 10px 4px}.tooltip .tooltip-arrow{width:0;height:0;border-style:solid;position:absolute;margin:5px;border-color:#222;z-index:1}.tooltip[x-placement^="top"]{margin-bottom:5px}.tooltip[x-placement^="top"] .tooltip-arrow{border-width:5px 5px 0 5px;border-left-color:transparent !important;border-right-color:transparent !important;border-bottom-color:transparent !important;bottom:-5px;left:calc(50% - 5px);margin-top:0;margin-bottom:0}.tooltip[x-placement^="bottom"]{margin-top:5px}.tooltip[x-placement^="bottom"] .tooltip-arrow{border-width:0 5px 5px 5px;border-left-color:transparent !important;border-right-color:transparent !important;border-top-color:transparent !important;top:-5px;left:calc(50% - 5px);margin-top:0;margin-bottom:0}.tooltip[x-placement^="right"]{margin-left:5px}.tooltip[x-placement^="right"] .tooltip-arrow{border-width:5px 5px 5px 0;border-left-color:transparent !important;border-top-color:transparent !important;border-bottom-color:transparent !important;left:-5px;top:calc(50% - 5px);margin-left:0;margin-right:0}.tooltip[x-placement^="left"]{margin-right:5px}.tooltip[x-placement^="left"] .tooltip-arrow{border-width:5px 0 5px 5px;border-top-color:transparent !important;border-right-color:transparent !important;border-bottom-color:transparent !important;right:-5px;top:calc(50% - 5px);margin-left:0;margin-right:0}.tooltip.popover .popover-inner{background:#f9f9f9;color:black;padding:24px;border-radius:5px;box-shadow:0 5px 30px rgba(0,0,0,0.1)}.tooltip.popover .popover-arrow{border-color:#f9f9f9}.tooltip[aria-hidden='true']{visibility:hidden;opacity:0}.tooltip[aria-hidden='false']{visibility:visible;opacity:1}html,body{height:100%}body{color:#222;margin:0;font-family:Verdana, sans-serif}.nolist{list-style:none;padding:0;margin:0}.nolist li{display:inline-block}.heading{color:rgba(0,0,0,0.5);padding:0;margin:0 0 1rem 0;font-size:1.5rem}.icon.icon-href{fill:rgba(0,0,0,0.5)}.icon.icon-href :hover{fill:#ff6c88} -.nolist { - list-style: none; - padding: 0; - margin: 0; } - .nolist li { - display: inline-block; - padding: 0; - margin: 0; } +.header[data-v-10b7ec04]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;background:#fff;color:#ff6c88;border-bottom:solid 1px rgba(0,0,0,0.1);font-size:0}.logo-link[data-v-10b7ec04]{color:inherit;display:inline-block;text-decoration:none}.logo[data-v-10b7ec04]{display:inline-block;padding:.5rem 1rem;margin:0 1rem 0 0;font-size:2rem}.nav[data-v-10b7ec04]{display:inline-block}.nav-link[data-v-10b7ec04]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;padding:1rem;border-bottom:solid 5px transparent;color:rgba(0,0,0,0.5);text-decoration:none;font-size:.9rem;font-weight:bold}.nav-link .icon[data-v-10b7ec04]{fill:rgba(0,0,0,0.5);margin:0 .5rem 0 0}.nav-link.active[data-v-10b7ec04]{color:#ff6c88;border-bottom:solid 5px #ff6c88}.nav-link.active .icon[data-v-10b7ec04]{fill:#ff6c88}.nav-link[data-v-10b7ec04]:hover:not(.active){color:#ff6c88}.nav-link:hover:not(.active) .icon[data-v-10b7ec04]{fill:#ff6c88}@media (max-width: 540px){.nav-label[data-v-10b7ec04]{display:none}.nav .nolist[data-v-10b7ec04]{display:-webkit-box;display:flex}.nav[data-v-10b7ec04],.nav-item[data-v-10b7ec04]{-webkit-box-flex:1;flex-grow:1}} -.tooltip { - display: block !important; - z-index: 10000; } - .tooltip .tooltip-inner { - max-width: 20rem; - background: #222; - color: white; - border-radius: 16px; - padding: 5px 10px 4px; } - .tooltip .tooltip-arrow { - width: 0; - height: 0; - border-style: solid; - position: absolute; - margin: 5px; - border-color: #222; - z-index: 1; } - .tooltip[x-placement^="top"] { - margin-bottom: 5px; } - .tooltip[x-placement^="top"] .tooltip-arrow { - border-width: 5px 5px 0 5px; - border-left-color: transparent !important; - border-right-color: transparent !important; - border-bottom-color: transparent !important; - bottom: -5px; - left: calc(50% - 5px); - margin-top: 0; - margin-bottom: 0; } - .tooltip[x-placement^="bottom"] { - margin-top: 5px; } - .tooltip[x-placement^="bottom"] .tooltip-arrow { - border-width: 0 5px 5px 5px; - border-left-color: transparent !important; - border-right-color: transparent !important; - border-top-color: transparent !important; - top: -5px; - left: calc(50% - 5px); - margin-top: 0; - margin-bottom: 0; } - .tooltip[x-placement^="right"] { - margin-left: 5px; } - .tooltip[x-placement^="right"] .tooltip-arrow { - border-width: 5px 5px 5px 0; - border-left-color: transparent !important; - border-top-color: transparent !important; - border-bottom-color: transparent !important; - left: -5px; - top: calc(50% - 5px); - margin-left: 0; - margin-right: 0; } - .tooltip[x-placement^="left"] { - margin-right: 5px; } - .tooltip[x-placement^="left"] .tooltip-arrow { - border-width: 5px 0 5px 5px; - border-top-color: transparent !important; - border-right-color: transparent !important; - border-bottom-color: transparent !important; - right: -5px; - top: calc(50% - 5px); - margin-left: 0; - margin-right: 0; } - .tooltip.popover .popover-inner { - background: #f9f9f9; - color: black; - padding: 24px; - border-radius: 5px; - box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1); } - .tooltip.popover .popover-arrow { - border-color: #f9f9f9; } - .tooltip[aria-hidden='true'] { - visibility: hidden; - opacity: 0; - /* transition: opacity .15s, visibility .15s; */ } - .tooltip[aria-hidden='false'] { - visibility: visible; - opacity: 1; - /* transition: opacity .15s; */ } +.container{background:#fafafa;height:100%;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;overflow:hidden}.content{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-flex:1;flex-grow:1;overflow-y:auto}.content-inner{-webkit-box-flex:1;flex-grow:1;padding:1rem;overflow-y:auto} -html, -body { - height: 100%; } - -body { - color: #222; - margin: 0; - font-family: Verdana, sans-serif; } - -.nolist { - list-style: none; - padding: 0; - margin: 0; } - .nolist li { - display: inline-block; } - -.heading { - color: rgba(0, 0, 0, 0.5); - padding: 0; - margin: 0 0 1rem 0; - font-size: 1.5rem; } - -.icon.icon-href { - fill: rgba(0, 0, 0, 0.5); } - .icon.icon-href :hover { - fill: #ff6c88; } - -/* $primary: #ff886c; */ -.header[data-v-10b7ec04] { - display: -webkit-box; - display: flex; - -webkit-box-align: center; - align-items: center; - background: #fff; - color: #ff6c88; - border-bottom: solid 1px rgba(0, 0, 0, 0.1); - font-size: 0; -} -.logo-link[data-v-10b7ec04] { - color: inherit; - display: inline-block; - text-decoration: none; -} -.logo[data-v-10b7ec04] { - display: inline-block; - padding: .5rem 1rem; - margin: 0 1rem 0 0; - font-size: 2rem; -} -.nav[data-v-10b7ec04] { - display: inline-block; -} -.nav-link[data-v-10b7ec04] { - display: -webkit-box; - display: flex; - -webkit-box-align: center; - align-items: center; - -webkit-box-pack: center; - justify-content: center; - padding: 1rem; - border-bottom: solid 5px transparent; - color: rgba(0, 0, 0, 0.5); - text-decoration: none; - font-size: .9rem; - font-weight: bold; -} -.nav-link .icon[data-v-10b7ec04] { - fill: rgba(0, 0, 0, 0.5); - margin: 0 .5rem 0 0; -} -.nav-link.active[data-v-10b7ec04] { - color: #ff6c88; - border-bottom: solid 5px #ff6c88; -} -.nav-link.active .icon[data-v-10b7ec04] { - fill: #ff6c88; -} -.nav-link[data-v-10b7ec04]:hover:not(.active) { - color: #ff6c88; -} -.nav-link:hover:not(.active) .icon[data-v-10b7ec04] { - fill: #ff6c88; -} -@media (max-width: 540px) { -.nav-label[data-v-10b7ec04] { - display: none; -} -.nav .nolist[data-v-10b7ec04] { - display: -webkit-box; - display: flex; -} -.nav[data-v-10b7ec04], - .nav-item[data-v-10b7ec04] { - -webkit-box-flex: 1; - flex-grow: 1; -} -} - -/* $primary: #ff886c; */ -.container { - background: #fafafa; - height: 100%; - display: -webkit-box; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - flex-direction: column; - overflow: hidden; -} -.content { - display: -webkit-box; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - flex-direction: column; - -webkit-box-flex: 1; - flex-grow: 1; - overflow-y: auto; -} -.content-inner { - -webkit-box-flex: 1; - flex-grow: 1; - padding: 1rem; - overflow-y: auto; -} - -/* $primary: #ff886c; */ -.icon { - fill: #222; - display: inline-block; - flex-shrink: 0; - width: 1rem; - height: 1rem; -} -.icon svg { - width: 100%; - height: 100%; -} -.icon.active { - fill: rgba(0, 0, 0, 0.5); -} -.icon.active:hover { - fill: #222; - cursor: pointer; -} +.icon{fill:#222;display:inline-block;flex-shrink:0;width:1rem;height:1rem}.icon svg{width:100%;height:100%}.icon.active{fill:rgba(0,0,0,0.5)}.icon.active:hover{fill:#222;cursor:pointer} diff --git a/src/media.js b/src/media.js index b5bd6312..c4ab36e7 100644 --- a/src/media.js +++ b/src/media.js @@ -40,6 +40,9 @@ async function createThumbnail(buffer) { height: config.media.thumbnailSize, withoutEnlargement: true, }) + .jpeg({ + quality: 50, + }) .toBuffer(); } diff --git a/src/releases.js b/src/releases.js index 1e50e234..7ac96d77 100644 --- a/src/releases.js +++ b/src/releases.js @@ -272,19 +272,29 @@ function curateReleases(releases) { return Promise.all(releases.map(async release => curateRelease(release))); } -async function getChannelSite(release) { - try { - const site = await findSiteByUrl(release.channel); - - return site || null; - } catch (error) { - const [site] = await fetchSites({ - name: release.channel, - slug: release.channel, - }); - - return site || null; +async function attachChannelSite(release) { + if (!release.site.isFallback || !release.channel) { + throw new Error(`Unable to derive channel site from generic URL: ${release.url}.`); } + + const [site] = await fetchSites({ + name: release.channel, + slug: release.channel, + }); + + if (site) { + return { + ...release, + site, + }; + } + + const urlSite = await findSiteByUrl(release.channel); + + return { + ...release, + site: urlSite, + }; } async function curateReleaseEntry(release) { @@ -307,15 +317,6 @@ async function curateReleaseEntry(release) { deep: typeof release.deep === 'boolean' ? release.deep : false, }; - if (release.site.isFallback && release.channel) { - const site = await getChannelSite(release); - - if (site) { - curatedRelease.site_id = site.id; - return curatedRelease; - } - } - return curatedRelease; } @@ -477,18 +478,13 @@ async function storeRelease(release) { async function storeReleases(releases) { const storedReleases = await Promise.map(releases, async (release) => { - if (release.site.isFallback && !release.channel) { - console.error(`Unable to derive channel site from generic URL: ${release.url}.`); - - return null; - } - try { - const releaseId = await storeRelease(release); + const releaseWithChannelSite = await attachChannelSite(release); + const releaseId = await storeRelease(releaseWithChannelSite); return { id: releaseId, - ...release, + ...releaseWithChannelSite, }; } catch (error) { console.error(error); diff --git a/src/scrapers/pornhub.js b/src/scrapers/pornhub.js index 27cdc4bb..73be1ada 100644 --- a/src/scrapers/pornhub.js +++ b/src/scrapers/pornhub.js @@ -16,7 +16,7 @@ async function scrapeProfile(html, _url, actorName) { const { document } = new JSDOM(html).window; const entries = Array.from(document.querySelectorAll('.infoPiece'), el => el.textContent.replace(/\n|\t/g, '').split(':')); - const bio = entries.reduce((acc, [key, value]) => ({ ...acc, [key.trim()]: value.trim() }), {}); + const bio = entries.reduce((acc, [key, value]) => (key ? { ...acc, [key.trim()]: value.trim() } : acc), {}); const profile = { name: actorName,