Compare commits

..

No commits in common. "647e9bb186db3f0b07dce6ed89bf5316457336e8" and "980f66fb33229807b4405e3c255be504d70e1d29" have entirely different histories.

7 changed files with 24 additions and 44 deletions

View File

@ -286,10 +286,4 @@ export default {
.age-then { .age-then {
color: var(--lighten); color: var(--lighten);
} }
@media(max-width: $breakpoint) {
.name {
font-size: .9rem;
}
}
</style> </style>

View File

@ -154,7 +154,6 @@ export default {
.site { .site {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
max-width: 50%;
padding: .25rem 0; padding: .25rem 0;
font-size: 0; font-size: 0;
} }
@ -168,7 +167,7 @@ export default {
} }
.logo-site { .logo-site {
height: 2.25rem; height: 2.5rem;
max-width: 15rem; max-width: 15rem;
margin: .25rem 0; margin: .25rem 0;
object-fit: contain; object-fit: contain;
@ -206,10 +205,6 @@ export default {
display: none; display: none;
} }
.logo-site {
height: 1.5rem;
}
.logo-site { .logo-site {
width: 100%; width: 100%;
} }

View File

@ -51,6 +51,11 @@
</h2> </h2>
</div> </div>
<Tags
v-if="release.tags.length > 0"
:tags="release.tags"
/>
<div class="row associations"> <div class="row associations">
<ul class="actors nolist"> <ul class="actors nolist">
<li <li
@ -62,11 +67,6 @@
</ul> </ul>
</div> </div>
<Tags
v-if="release.tags.length > 0"
:tags="release.tags"
/>
<div <div
v-if="release.movies && release.movies.length > 0" v-if="release.movies && release.movies.length > 0"
class="row" class="row"
@ -457,7 +457,7 @@ export default {
} }
.actors { .actors {
grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr)); grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
} }
} }
</style> </style>

View File

@ -24,29 +24,25 @@
v-if="overflowing && !expanded" v-if="overflowing && !expanded"
class="tags-more" class="tags-more"
@click="expanded = true" @click="expanded = true"
>more tags</button> >More tags</button>
<button <button
v-if="expanded" v-if="expanded"
class="tags-more" class="tags-more"
@click="expanded = false" @click="expanded = false"
>fewer tags</button> >Fewer tags</button>
</div> </div>
</template> </template>
<script> <script>
import { nextTick } from 'vue';
function updateOverflowing() { function updateOverflowing() {
nextTick(() => { const containerBoundaries = this.$refs.tags.getBoundingClientRect();
const containerBoundaries = this.$refs.tags.getBoundingClientRect(); const containerBottom = containerBoundaries.top + containerBoundaries.height;
const containerBottom = containerBoundaries.top + containerBoundaries.height;
this.overflowing = Array.from(this.$refs.tags.querySelectorAll('.tag')).some((tag) => { this.overflowing = Array.from(this.$refs.tags.querySelectorAll('.tag')).some((tag) => {
const tagBoundaries = tag.getBoundingClientRect(); const tagBoundaries = tag.getBoundingClientRect();
return tagBoundaries.top > containerBottom; return tagBoundaries.top > containerBottom;
});
}); });
} }
@ -72,9 +68,6 @@ export default {
expanded: false, expanded: false,
}; };
}, },
watch: {
expanded: updateOverflowing,
},
mounted, mounted,
beforeUnmount, beforeUnmount,
methods: { methods: {
@ -95,7 +88,6 @@ export default {
.tags { .tags {
max-height: 4.6rem; max-height: 4.6rem;
padding: 2px 1rem 0 1rem; padding: 2px 1rem 0 1rem;
text-align: left;
overflow: hidden; overflow: hidden;
&.expanded { &.expanded {
@ -119,18 +111,19 @@ export default {
} }
.tags-more { .tags-more {
background: var(--shadow-touch); width: 100%;
background: none;
padding: .5rem 1rem; padding: .5rem 1rem;
border: none; border: solid 1px var(--shadow-hint);
margin: .25rem 0 .5rem 1rem; border-left: none;
border-right: none;
margin: .25rem 0 .5rem 0;
color: var(--shadow); color: var(--shadow);
font-size: .8rem; font-size: .9rem;
font-weight: bold;
&:hover { &:hover {
background: var(--shadow-hint);
color: var(--shadow-strong);
cursor: pointer; cursor: pointer;
color: var(--shadow-strong);
} }
} }
</style> </style>

View File

@ -61,7 +61,6 @@ $breakpoint4: 1500px;
--shadow-modest: rgba(0, 0, 0, .3); --shadow-modest: rgba(0, 0, 0, .3);
--shadow-weak: rgba(0, 0, 0, .2); --shadow-weak: rgba(0, 0, 0, .2);
--shadow-hint: rgba(0, 0, 0, .1); --shadow-hint: rgba(0, 0, 0, .1);
--shadow-touch: rgba(0, 0, 0, .05);
--highlight: rgba(255, 255, 255, .5); --highlight: rgba(255, 255, 255, .5);
--highlight-extreme: rgba(255, 255, 255, .9); --highlight-extreme: rgba(255, 255, 255, .9);
@ -93,7 +92,6 @@ $breakpoint4: 1500px;
--shadow-modest: rgba(255, 255, 255, .3); --shadow-modest: rgba(255, 255, 255, .3);
--shadow-weak: rgba(255, 255, 255, .2); --shadow-weak: rgba(255, 255, 255, .2);
--shadow-hint: rgba(255, 255, 255, .075); --shadow-hint: rgba(255, 255, 255, .075);
--shadow-touch: rgba(255, 255, 255, .05);
--highlight: rgba(0, 0, 0, .5); --highlight: rgba(0, 0, 0, .5);
--highlight-extreme: rgba(0, 0, 0, .9); --highlight-extreme: rgba(0, 0, 0, .9);

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.167.8", "version": "1.167.7",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.167.8", "version": "1.167.7",
"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": {