feat: add background transition

This commit is contained in:
Methapon2001 2024-07-30 17:15:01 +07:00
parent 2da8a54789
commit 4cdcd248f2

View file

@ -19,10 +19,12 @@
<style scoped> <style scoped>
.color-btn { .color-btn {
color: white; color: white;
background: hsla(var(--blue-10-hsl) / 0.7); background: hsla(var(--blue-10-hsl) / 0.5);
transition: background 0.3s ease-in-out;
} }
:deep(.q-hoverable:hover) { :deep(:where(.q-hoverable:hover, .q-fab--opened)) {
transition: background 0.3s ease-in-out;
background: hsla(var(--blue-10-hsl) / 1) !important; background: hsla(var(--blue-10-hsl) / 1) !important;
} }
</style> </style>