портал

This commit is contained in:
iriska-gri committed 2023-11-17 13:46:39 +03:00
1 parent 95a2ce6bf9
commit a8c6cf8b89
2 files changed
+43 -3

No files matched your search

+43 -3
View File
@@ -22,7 +22,7 @@
events-count-on-year-view
active-view="month"
:events="events"
todayButton
@cell-focus="selectedDate = $event"
>
<template #arrow-prev>
@@ -31,6 +31,22 @@
<template #arrow-next>
<v-icon icon="mdi-menu-right"></v-icon>
</template>
<template #today-button>
<v-tooltip text="Сегодня" location="bottom">
<template v-slot:activator="{ props }">
<v-icon v-bind="props" icon="mdi-crosshairs-gps" size="x-small" class="pt-1 pr-3" color="more_details_btn"/>
</template>
</v-tooltip>
</template>
</vue-cal>
</v-card>
@@ -44,7 +60,7 @@
hide-view-selector
todayButton
split
hideTitleBar
:events="events"
active-view="day"
:disable-views="['years', 'year', 'month', 'week']"
@@ -59,7 +75,7 @@
<v-icon icon="mdi-menu-right"></v-icon>
</template>
<template #today-button>
<!-- Using Vuetify (but we prefer Wave UI 🤘) -->
@@ -196,6 +212,20 @@ border-top-right-radius: 3px;
box-sizing: border-box;
}
.vuecal__event {
color: #666;
background-color: transparent;
padding: 10px;
position: relative;
box-sizing: border-box;
left: 0;
width: 100%;
z-index: 1;
transition: box-shadow .3s,left .3s,width .3s;
overflow: hidden;
text-align: justify;
}
.vuecal--rounded-theme .vuecal__cell-content {
width: 30px;
height: 30px;
@@ -206,6 +236,12 @@ border-top-right-radius: 3px;
color: #333;
}
.vuecal__body {
position: relative;
overflow: auto;
height: 0;
}
.vuecal--no-time .vuecal__event {
min-height: 20px;
}
@@ -217,4 +253,8 @@ border-top-right-radius: 3px;
}
.vuecal__cell--selected:before {
border-color: rgba(30, 65, 49, 0);
}
</style>