diff --git a/src/db.sqlite3 b/src/db.sqlite3 index 3d808a1ec..f69c1149e 100644 Binary files a/src/db.sqlite3 and b/src/db.sqlite3 differ diff --git a/src/front/src/components/UI/event-calendar.vue b/src/front/src/components/UI/event-calendar.vue index 55b1fda30..ad3eac71e 100644 --- a/src/front/src/components/UI/event-calendar.vue +++ b/src/front/src/components/UI/event-calendar.vue @@ -1,6 +1,9 @@ + + @@ -120,25 +142,7 @@ export default { const selectedDate = ref(null) - - // { - // start: '2023-11-20 14:00', - // end: '2023-11-20 18:00', - // title: 'Need to go shopping', - // icon: 'shopping_cart', // Custom attribute. - // content: 'Click to see my shopping list', - // contentFull: 'My shopping list is rather long:
', // Custom attribute. - // class: 'leisure' - // }, - // { - // start: '2023-10-10 14:00', - // end: '2023-10-20 14:00', - // title: 'Golf with John', - // icon: 'golf_course', // Custom attribute. - // content: 'Do I need to tell how many holes?', - // contentFull: 'Okay.
It will be a 18 hole golf course.', // Custom attribute. - // class: 'sport' - // } + return { events, selectedDate, f_generalvacation } } @@ -160,5 +164,52 @@ export default { color: transparent; } +.vuecal { + border-radius: 6px; +} + +.vuecal__title-bar { +border-top-left-radius: 3px; +border-top-right-radius: 3px; +} + +.vuecal__title-bar { + background: var(--cards) + /* background: linear-gradient(to top right, rgba(19,84,122,.8), rgba(128,208,199,.8)); */ +} +.vuecal__flex .vuecal__title { + font-family: sans-serif; +} +.vuecal__cell-events-count { + position: absolute; + left: 50%; + top: 65%; + transform: translate(-50%); + min-width: 15px; + height: 15px; + line-height: 15px; + padding: 0; + background: linear-gradient(to top right, rgba(19,84,122,.8), rgba(128,208,199,.8)); + color: #f8fff9!important; + border-radius: 12px; + font-size: 10px; + box-sizing: border-box; +} + +.vuecal--rounded-theme .vuecal__cell-content { + width: 30px; + height: 30px; + flex-grow: 0; + border: 1px solid #00a5bc00; + background: #c2e9d78c; + border-radius: 30px; + color: #333; +} + +.vuecal--no-time .vuecal__event { + min-height: 20px; +} + +.vuecal__cell--selected:before {border-color: rgba(30, 65, 49, 0.5);} \ No newline at end of file