Fixed showcased filter not adhered. Improved filter settings UI.
This commit is contained in:
parent
26546bea33
commit
8947288e76
|
@ -46,6 +46,19 @@ onMounted(() => emit('open'));
|
||||||
border-radius: 0 0 .25rem .25rem;
|
border-radius: 0 0 .25rem .25rem;
|
||||||
background: var(--background);
|
background: var(--background);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dialog-heading {
|
||||||
|
color: var(--primary);
|
||||||
|
margin: 0 0 .5rem 0;
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dialog-description {
|
||||||
|
margin: 0 0 .5rem 0;
|
||||||
|
color: var(--shadow-strong-10);
|
||||||
|
font-size: .9rem;
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
|
@ -71,6 +71,11 @@ defineEmits(['change']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.check-container.minus .check::after {
|
||||||
|
border-left: none;
|
||||||
|
transform: scaleX(0);
|
||||||
|
}
|
||||||
|
|
||||||
.check-cross .check::before {
|
.check-cross .check::before {
|
||||||
content: '';
|
content: '';
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -93,6 +98,14 @@ defineEmits(['change']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.check-container.minus .check-checkbox:checked + .check {
|
||||||
|
background: var(--error);
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
transform: scaleX(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.check-label {
|
.check-label {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
<Dialog title="Settings">
|
<Dialog title="Settings">
|
||||||
<div class="dialog-body">
|
<div class="dialog-body">
|
||||||
<div class="dialog-section">
|
<div class="dialog-section">
|
||||||
|
<h3 class="dialog-heading">Filter</h3>
|
||||||
|
|
||||||
|
<p class="dialog-description">Check the tags that you prefer to be <strong>excluded</strong> from the results. The filter is a courtesy, and provides no guarantees.</p>
|
||||||
|
|
||||||
<ul class="tags nolist">
|
<ul class="tags nolist">
|
||||||
<li
|
<li
|
||||||
v-for="tag in tags"
|
v-for="tag in tags"
|
||||||
|
@ -11,6 +15,7 @@
|
||||||
<label class="tag noselect">
|
<label class="tag noselect">
|
||||||
<Checkbox
|
<Checkbox
|
||||||
:checked="checkedTags.has(tag)"
|
:checked="checkedTags.has(tag)"
|
||||||
|
class="minus"
|
||||||
@change="(checked) => toggleTag(tag, checked)"
|
@change="(checked) => toggleTag(tag, checked)"
|
||||||
/>{{ tag }}
|
/>{{ tag }}
|
||||||
</label>
|
</label>
|
||||||
|
|
|
@ -35,6 +35,7 @@ export async function curateScenesQuery(query) {
|
||||||
notEntityIds,
|
notEntityIds,
|
||||||
movieId: Number(query.movieId) || null,
|
movieId: Number(query.movieId) || null,
|
||||||
stashId: Number(query.stashId) || null,
|
stashId: Number(query.stashId) || null,
|
||||||
|
isShowcased: query.isShowcased ?? true,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue