Compare commits

..

No commits in common. "5642185dc15de6eecb36a76e4eadc6512e534f96" and "acf4e27f2cbaf2548b3502004d79fc96aa0ee59a" have entirely different histories.

7 changed files with 15 additions and 26 deletions

View File

@ -9,7 +9,7 @@
<input
v-model="search"
type="search"
:placeholder="`Filter ${availableActors.length} actors`"
:placeholder="`Filter ${actors.length} actors`"
class="input input-inline filters-search"
>
@ -51,7 +51,7 @@
</div>
<div
v-if="availableActors.length === 0 && selectedActors.length === 0"
v-if="availableActors.length === 0"
class="filter-empty"
>No actors</div>

View File

@ -26,7 +26,7 @@
</div>
<div
v-if="entities.length === 0 && !filters.entity"
v-if="entities.length === 0"
class="filter-empty"
>No channels</div>

View File

@ -9,7 +9,6 @@
<div class="filters-sidebar">
<form
class="filters"
:class="{ loading }"
@submit.prevent
@click.stop
>
@ -55,10 +54,6 @@ defineProps({
type: Number,
default: null,
},
loading: {
type: Boolean,
default: false,
},
});
// desktop defaults to open, compact defaults to closed
@ -320,7 +315,6 @@ function toggleFilters(state) {
height: 100%;
display: flex;
flex-direction: column;
background: var(--background);
}
.filters {
@ -338,15 +332,15 @@ function toggleFilters(state) {
}
.filters-toggle {
min-width: 2rem;
height: 2.5rem;
min-width: 1.5rem;
height: 2rem;
display: none;
justify-content: center;
align-items: center;
padding: 0 .25rem;
position: absolute;
top: .35rem;
right: -2.5rem;
top: .5rem;
right: -2rem;
border-radius: 0 .5rem .5rem 0;
background: var(--background);
color: var(--shadow);
@ -387,11 +381,6 @@ function toggleFilters(state) {
border-radius: 0;
}
.loading {
opacity: .3;
pointer-events: none;
}
@media (max-width: 1200px) {
.filters-container {
display: none;
@ -400,7 +389,7 @@ function toggleFilters(state) {
position: fixed;
top: 0;
left: 0;
z-index: 500;
z-index: 1000;
background: var(--background-dim);
&.show {

View File

@ -4,7 +4,7 @@
<input
v-model="search"
type="search"
:placeholder="`Filter ${groupedTags.available.length} tags`"
:placeholder="`Filter ${tags.length} tags`"
class="input input-inline filters-search"
>
@ -40,7 +40,7 @@
</div>
<div
v-if="groupedTags.available.length === 0 && groupedTags.selected.length === 0"
v-if="groupedTags.available.length === 0"
class="filter-empty"
>No tags</div>

View File

@ -5,7 +5,7 @@
<transition name="sidebar">
<Filters
v-if="showFilters"
:loading="loading"
:class="{ loading }"
>
<div class="filter">
<input
@ -324,7 +324,7 @@ function updateFilter(prop, value, reload = true) {
}
}
.scenes-container.loading:not(.ellipsis) {
.loading:not(.ellipsis) {
opacity: .3;
pointer-events: none;
}

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{
"name": "traxxx-web",
"version": "0.10.4",
"version": "0.10.3",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"version": "0.10.4",
"version": "0.10.3",
"dependencies": {
"@brillout/json-serializer": "^0.5.8",
"@dicebear/collection": "^7.0.5",

View File

@ -70,5 +70,5 @@
"postcss-custom-media": "^10.0.2",
"postcss-nesting": "^12.0.2"
},
"version": "0.10.4"
"version": "0.10.3"
}