Switched to Pinia, Added Save for Albums

This commit is contained in:
Shiny Nematoda 2022-07-17 08:06:17 +00:00
parent a43b0907e2
commit f303f91108
No known key found for this signature in database
GPG key ID: 6506D50F5613A42D
25 changed files with 945 additions and 799 deletions

View file

@ -1,13 +1,16 @@
<script setup>
defineProps(['ico']);
defineEmits(['click']);
</script>
<template>
<button class="bi bi-play" @click="$emit('click')"></button>
<button
:class="'bi bi-' + (ico ? ico : 'play')"
@click="$emit('click')"></button>
</template>
<style scoped>
button {
.bi {
height: 4rem;
width: 4rem;
font-size: 4rem;
@ -21,10 +24,14 @@ button {
transition: background 0.4s ease;
margin-right: auto;
}
button:before {
.bi-play:before {
padding-left: 0.2rem;
}
button:hover {
.bi:hover,
.bi:not(.bi-play) {
background: transparent;
}
.bi:not(.bi-play) {
font-size: 3rem;
}
</style>