refactor: edit hover btn-add
This commit is contained in:
parent
5ac705af0e
commit
5dfe615821
1 changed files with 11 additions and 2 deletions
|
|
@ -7,7 +7,7 @@
|
||||||
padding="sm"
|
padding="sm"
|
||||||
icon="mdi-plus"
|
icon="mdi-plus"
|
||||||
direction="up"
|
direction="up"
|
||||||
color="primary"
|
class="color-btn"
|
||||||
>
|
>
|
||||||
<slot>
|
<slot>
|
||||||
<q-fab-action padding="xs" color="primary" icon="mdi-account-plus" />
|
<q-fab-action padding="xs" color="primary" icon="mdi-account-plus" />
|
||||||
|
|
@ -16,4 +16,13 @@
|
||||||
</q-page-sticky>
|
</q-page-sticky>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped></style>
|
<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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue