Compare commits

..

No commits in common. "b64c7ddc967bd94b5111ec4c97235eb90f8c8bef" and "357b0287b20f5918399c2ea620599baff39f7e1f" have entirely different histories.

7 changed files with 28 additions and 32 deletions

View File

@ -123,6 +123,12 @@
</ul> </ul>
</nav> </nav>
<Pagination
ref="pagination"
:items-total="totalCount"
:items-per-page="limit"
/>
<div class="tiles"> <div class="tiles">
<Actor <Actor
v-for="actor in actors" v-for="actor in actors"
@ -377,7 +383,9 @@ export default {
} }
.filter-section { .filter-section {
margin: 0 0 .5rem 0; &:not(:last-child) {
margin: 0 0 .5rem 0;
}
} }
.filter-label { .filter-label {
@ -404,12 +412,8 @@ export default {
color: var(--enabled); color: var(--enabled);
} }
.range-toggle { .range-toggle::-webkit-slider-thumb {
background: radial-gradient(circle, var(--shadow-hint) .75rem, var(--enabled-background) calc(.75rem + 1px)); background: var(--enabled);
&::-webkit-slider-thumb {
background: var(--enabled);
}
} }
} }
@ -418,12 +422,8 @@ export default {
color: var(--disabled); color: var(--disabled);
} }
.range-toggle { .range-toggle::-webkit-slider-thumb {
background: radial-gradient(circle, var(--shadow-hint) .75rem, var(--disabled-background) calc(.75rem + 1px)); background: var(--disabled);
&::-webkit-slider-thumb {
background: var(--disabled);
}
} }
} }
@ -465,27 +465,26 @@ export default {
.range, .range,
.range-toggle { .range-toggle {
flex-grow: 1; flex-grow: 1;
height: 1.5rem; height: 1rem;
appearance: none; appearance: none;
padding: 2px; border-radius: .5rem;
border-radius: .75rem;
background: var(--shadow-hint); background: var(--shadow-hint);
cursor: pointer; cursor: pointer;
&::-webkit-slider-thumb { &::-webkit-slider-thumb {
appearance: none; appearance: none;
background: var(--primary); background: var(--primary);
width: 1.5rem; width: 1rem;
height: 1.5rem; height: 1rem;
border-radius: .75rem; border-radius: .5rem;
} }
} }
.range-toggle { .range-toggle {
background: radial-gradient(circle, var(--shadow-hint) .75rem, var(--shadow-hint) calc(.75rem + 1px)); background: radial-gradient(circle at center, var(--shadow-weak) 0, var(--shadow-weak) .5rem, var(--shadow-hint) .5rem);
&::-webkit-slider-thumb { &::-webkit-slider-thumb {
background: var(--shadow-hint); background: #aaa;
} }
} }

View File

@ -3,7 +3,6 @@
<div <div
ref="trigger" ref="trigger"
class="trigger noselect" class="trigger noselect"
@mouseenter="toggle"
@click.stop="toggle" @click.stop="toggle"
> >
<slot /> <slot />

View File

@ -39,9 +39,7 @@ $breakpoint4: 1500px;
--success: #5c2; --success: #5c2;
--enabled: #5c2; --enabled: #5c2;
--enabled-background: rgba(0, 255, 0, .1);
--disabled: #c20; --disabled: #c20;
--disabled-background: rgba(255, 0, 0, .1);
} }
.light { .light {

View File

@ -272,12 +272,15 @@ function initActorActions(store, router) {
|| (gender === 'all' && ' ') || (gender === 'all' && ' ')
|| `gender: { equalTo: "${gender}" }`; || `gender: { equalTo: "${gender}" }`;
const naturalBoobsFilter = (naturalBoobs && 'naturalBoobs: { equalTo: true }')
|| (naturalBoobs === false && 'naturalBoobs: { equalTo: false }')
|| '';
const { connection: { actors, totalCount } } = await graphql(` const { connection: { actors, totalCount } } = await graphql(`
query Actors( query Actors(
$limit: Int, $limit: Int,
$offset: Int = 0, $offset: Int = 0,
$letter: String! = "", $letter: String! = "",
$naturalBoobs: Boolean,
) { ) {
connection: actorsConnection( connection: actorsConnection(
first: $limit, first: $limit,
@ -290,10 +293,8 @@ function initActorActions(store, router) {
name: { name: {
startsWith: $letter startsWith: $letter
} }
naturalBoobs: {
equalTo: $naturalBoobs
}
${genderFilter} ${genderFilter}
${naturalBoobsFilter}
} }
) { ) {
totalCount totalCount

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.179.0", "version": "1.178.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"version": "1.179.0", "version": "1.178.0",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@graphile-contrib/pg-order-by-related": "^1.0.0-beta.6", "@graphile-contrib/pg-order-by-related": "^1.0.0-beta.6",

View File

@ -1,6 +1,6 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.179.0", "version": "1.178.0",
"description": "All the latest porn releases in one place", "description": "All the latest porn releases in one place",
"main": "src/app.js", "main": "src/app.js",
"scripts": { "scripts": {

View File

@ -26,7 +26,6 @@ module.exports = postgraphile(
graphileBuildOptions: { graphileBuildOptions: {
pgOmitListSuffix: true, pgOmitListSuffix: true,
connectionFilterRelations: true, connectionFilterRelations: true,
connectionFilterAllowNullInput: true,
}, },
appendPlugins: [ appendPlugins: [
PgSimplifyInflectorPlugin, PgSimplifyInflectorPlugin,