Compare commits
3 Commits
980f66fb33
...
647e9bb186
Author | SHA1 | Date |
---|---|---|
|
647e9bb186 | |
|
28a68aa721 | |
|
e0e584658e |
|
@ -286,4 +286,10 @@ export default {
|
|||
.age-then {
|
||||
color: var(--lighten);
|
||||
}
|
||||
|
||||
@media(max-width: $breakpoint) {
|
||||
.name {
|
||||
font-size: .9rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -154,6 +154,7 @@ export default {
|
|||
.site {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
max-width: 50%;
|
||||
padding: .25rem 0;
|
||||
font-size: 0;
|
||||
}
|
||||
|
@ -167,7 +168,7 @@ export default {
|
|||
}
|
||||
|
||||
.logo-site {
|
||||
height: 2.5rem;
|
||||
height: 2.25rem;
|
||||
max-width: 15rem;
|
||||
margin: .25rem 0;
|
||||
object-fit: contain;
|
||||
|
@ -205,6 +206,10 @@ export default {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.logo-site {
|
||||
height: 1.5rem;
|
||||
}
|
||||
|
||||
.logo-site {
|
||||
width: 100%;
|
||||
}
|
||||
|
|
|
@ -51,11 +51,6 @@
|
|||
</h2>
|
||||
</div>
|
||||
|
||||
<Tags
|
||||
v-if="release.tags.length > 0"
|
||||
:tags="release.tags"
|
||||
/>
|
||||
|
||||
<div class="row associations">
|
||||
<ul class="actors nolist">
|
||||
<li
|
||||
|
@ -67,6 +62,11 @@
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
<Tags
|
||||
v-if="release.tags.length > 0"
|
||||
:tags="release.tags"
|
||||
/>
|
||||
|
||||
<div
|
||||
v-if="release.movies && release.movies.length > 0"
|
||||
class="row"
|
||||
|
@ -457,7 +457,7 @@ export default {
|
|||
}
|
||||
|
||||
.actors {
|
||||
grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
|
||||
grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -24,25 +24,29 @@
|
|||
v-if="overflowing && !expanded"
|
||||
class="tags-more"
|
||||
@click="expanded = true"
|
||||
>More tags</button>
|
||||
>more tags</button>
|
||||
|
||||
<button
|
||||
v-if="expanded"
|
||||
class="tags-more"
|
||||
@click="expanded = false"
|
||||
>Fewer tags</button>
|
||||
>fewer tags</button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { nextTick } from 'vue';
|
||||
|
||||
function updateOverflowing() {
|
||||
const containerBoundaries = this.$refs.tags.getBoundingClientRect();
|
||||
const containerBottom = containerBoundaries.top + containerBoundaries.height;
|
||||
nextTick(() => {
|
||||
const containerBoundaries = this.$refs.tags.getBoundingClientRect();
|
||||
const containerBottom = containerBoundaries.top + containerBoundaries.height;
|
||||
|
||||
this.overflowing = Array.from(this.$refs.tags.querySelectorAll('.tag')).some((tag) => {
|
||||
const tagBoundaries = tag.getBoundingClientRect();
|
||||
this.overflowing = Array.from(this.$refs.tags.querySelectorAll('.tag')).some((tag) => {
|
||||
const tagBoundaries = tag.getBoundingClientRect();
|
||||
|
||||
return tagBoundaries.top > containerBottom;
|
||||
return tagBoundaries.top > containerBottom;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -68,6 +72,9 @@ export default {
|
|||
expanded: false,
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
expanded: updateOverflowing,
|
||||
},
|
||||
mounted,
|
||||
beforeUnmount,
|
||||
methods: {
|
||||
|
@ -88,6 +95,7 @@ export default {
|
|||
.tags {
|
||||
max-height: 4.6rem;
|
||||
padding: 2px 1rem 0 1rem;
|
||||
text-align: left;
|
||||
overflow: hidden;
|
||||
|
||||
&.expanded {
|
||||
|
@ -111,19 +119,18 @@ export default {
|
|||
}
|
||||
|
||||
.tags-more {
|
||||
width: 100%;
|
||||
background: none;
|
||||
background: var(--shadow-touch);
|
||||
padding: .5rem 1rem;
|
||||
border: solid 1px var(--shadow-hint);
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
margin: .25rem 0 .5rem 0;
|
||||
border: none;
|
||||
margin: .25rem 0 .5rem 1rem;
|
||||
color: var(--shadow);
|
||||
font-size: .9rem;
|
||||
font-size: .8rem;
|
||||
font-weight: bold;
|
||||
|
||||
&:hover {
|
||||
cursor: pointer;
|
||||
background: var(--shadow-hint);
|
||||
color: var(--shadow-strong);
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -61,6 +61,7 @@ $breakpoint4: 1500px;
|
|||
--shadow-modest: rgba(0, 0, 0, .3);
|
||||
--shadow-weak: rgba(0, 0, 0, .2);
|
||||
--shadow-hint: rgba(0, 0, 0, .1);
|
||||
--shadow-touch: rgba(0, 0, 0, .05);
|
||||
|
||||
--highlight: rgba(255, 255, 255, .5);
|
||||
--highlight-extreme: rgba(255, 255, 255, .9);
|
||||
|
@ -92,6 +93,7 @@ $breakpoint4: 1500px;
|
|||
--shadow-modest: rgba(255, 255, 255, .3);
|
||||
--shadow-weak: rgba(255, 255, 255, .2);
|
||||
--shadow-hint: rgba(255, 255, 255, .075);
|
||||
--shadow-touch: rgba(255, 255, 255, .05);
|
||||
|
||||
--highlight: rgba(0, 0, 0, .5);
|
||||
--highlight-extreme: rgba(0, 0, 0, .9);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "traxxx",
|
||||
"version": "1.167.7",
|
||||
"version": "1.167.8",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "traxxx",
|
||||
"version": "1.167.7",
|
||||
"version": "1.167.8",
|
||||
"description": "All the latest porn releases in one place",
|
||||
"main": "src/app.js",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in New Issue