Frontend: Change opacity of select buttons in albums and labels

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-04-20 23:22:46 +02:00
parent 5a50c36809
commit f0e9af64b4
2 changed files with 5 additions and 5 deletions

View file

@ -82,7 +82,7 @@
<v-btn v-if="hover || selection.length > 0" :flat="!hover" :ripple="false"
icon large absolute
class="p-album-select"
:class="selection.includes(album.AlbumUUID) ? 'p-album-select' : 'p-album-select opacity-50'"
@click.stop.prevent="toggleSelection(album.AlbumUUID)">
<v-icon v-if="selection.includes(album.AlbumUUID)" color="white">check_circle
</v-icon>

View file

@ -84,7 +84,7 @@
<v-btn v-if="hover || selection.length > 0" :flat="!hover" :ripple="false"
icon large absolute
class="p-label-select"
:class="selection.includes(label.LabelUUID) ? 'p-label-select' : 'p-label-select opacity-50'"
@click.stop.prevent="toggleSelection(label.LabelUUID)">
<v-icon v-if="selection.includes(label.LabelUUID)" color="white">check_circle
</v-icon>