fix [P-292]: изменение стиля кнопки "создать календарь"

This commit is contained in:
Inna committed 2025-11-06 09:05:01 +03:00
1 parent cf78e48fc3
commit 17de69cb38
1 file changed
+19 -5
@@ -7,14 +7,16 @@
</div>
<v-btn
v-if="title == 'Мои календари'"
size="x-small"
v-if="title === 'Мои календари'"
size="x-regular"
icon="mdi-plus"
variant="text"
class="pa-0"
variant="outlined"
color="btn_text"
class="pa-1 ml-2 simple-hover"
@click.stop="editCreatedCalendar()"
></v-btn>
</v-expansion-panel-title>
<v-expansion-panel-text flat tile static>
<template v-if="Object.keys(calendars).length > 0">
<v-list-item
@@ -60,7 +62,7 @@
</v-list-item>
</template>
<template v-else>
<div class="text-caption text-grey text-center">Календарей нет</div>
<div class="text-caption text-grey text-center pa-3">Календарей нет</div>
</template>
</v-expansion-panel-text>
</v-expansion-panel>
@@ -160,6 +162,18 @@ export default {
</script>
<style>
.simple-hover {
opacity: 0.6;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
min-width: 30px !important;
height: 30px !important;
}
.simple-hover:hover {
opacity: 1;
background-color: rgba(0, 137, 123, 0.1) !important;
transform: scale(1.1);
}
.fade-enter-active,
.fade-leave-active {
transition: opacity 0.1s;