2024-06-13 14:55:49 +07:00
|
|
|
<script setup lang="ts"></script>
|
|
|
|
|
|
|
|
|
|
<template>
|
2024-07-05 11:29:51 +07:00
|
|
|
<q-page-sticky position="bottom-right" :offset="[8, 8]">
|
2024-06-14 13:41:32 +07:00
|
|
|
<q-fab
|
|
|
|
|
id="btn-add"
|
2024-07-26 16:22:31 +07:00
|
|
|
padding="sm"
|
2024-06-14 13:41:32 +07:00
|
|
|
icon="mdi-plus"
|
|
|
|
|
direction="up"
|
2024-07-30 14:53:05 +07:00
|
|
|
class="color-btn"
|
2024-06-14 13:41:32 +07:00
|
|
|
>
|
2024-07-05 11:29:51 +07:00
|
|
|
<slot>
|
|
|
|
|
<q-fab-action padding="xs" color="primary" icon="mdi-account-plus" />
|
|
|
|
|
</slot>
|
2024-06-13 14:55:49 +07:00
|
|
|
</q-fab>
|
|
|
|
|
</q-page-sticky>
|
|
|
|
|
</template>
|
|
|
|
|
|
2024-07-30 14:53:05 +07:00
|
|
|
<style scoped>
|
|
|
|
|
.color-btn {
|
|
|
|
|
color: white;
|
|
|
|
|
background: hsla(var(--blue-10-hsl) / 0.7);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:deep(.q-hoverable:hover) {
|
|
|
|
|
background: hsla(var(--blue-10-hsl) / 1) !important;
|
|
|
|
|
}
|
|
|
|
|
</style>
|