_calendar.scss 3.95 KB
Newer Older
Ooh-Ao committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
/* Start Calendar  Styles */
#external-events .fc-event {
  @apply rounded-sm my-1 py-2 px-3;
}
.fc-theme-standard td,
.fc-theme-standard th {
  @apply border-gray-200 dark:border-white/10 #{!important};
}
.fc .fc-button ,.fc-daygrid-event{
  @apply rounded-sm #{!important}
}

.fc .fc-button:focus {
  @apply shadow-md #{!important};
}

.fc .fc-button-primary:focus,
.fc .fc-button-primary:not(:disabled).fc-button-active:focus,
.fc .fc-button-primary:not(:disabled):active:focus {
  @apply shadow-md #{!important};
}

.fc-h-event {
  @apply text-white bg-primary border-primary;
}

.fc .fc-button-primary {
  @apply text-white bg-primary border-primary #{!important};
}

.fc .fc-button-primary:hover {
  @apply text-white bg-primary/80 border-primary/80 #{!important};
}

.fc .fc-button-primary:disabled {
  @apply text-white bg-primary/80 border-primary/80 #{!important};
}

.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active {
  @apply text-white bg-primary/80 border-primary/80 #{!important};
}

.fc-theme-standard .fc-scrollgrid {
  @apply border-gray-200 dark:border-white/10 #{!important};
}

.fc .fc-scrollgrid-section-sticky > * {
  @apply bg-gray-200 dark:bg-black/20 #{!important};
}

.fc-theme-standard .fc-list {
  @apply border-gray-200 dark:border-white/10 #{!important};
}

.fc .fc-non-business {
  @apply bg-gray-50 dark:bg-black/20 #{!important};
}

.fc .fc-scrollgrid {
  @apply rounded-sm overflow-hidden;
}

.fc .fc-bg-event,
.fc .fc-highlight,
.fc .fc-non-business,
.fc .fc-view-harness-active > .fc-view {
  @apply rounded-sm overflow-hidden;
}

.fc .fc-cell-shaded,
.fc .fc-day-disabled {
  @apply bg-gray-50 dark:bg-black/20 #{!important};
}

.fc .fc-daygrid-day.fc-day-today {
  @apply bg-primary/20 #{!important};
}

.fc .fc-timegrid-col.fc-day-today {
  @apply bg-primary/20 #{!important};
}

.fc-theme-standard .fc-list-day-cushion {
  @apply bg-gray-50 dark:bg-black/20 #{!important};
}

.fc .fc-list-event:hover td {
  @apply bg-primary/20 #{!important};
}
.fc-timegrid-event-harness-inset .fc-timegrid-event,
.fc-timegrid-event.fc-event-mirror,
.fc-timegrid-more-link {
  @apply shadow-md shadow-gray-200 dark:shadow-gray-800 #{!important};
}

//Activity
.fullcalendar-events-activity li {
  @apply mb-3 text-sm py-1 ltr:pl-8 rtl:pr-8 relative before:absolute before:w-3 before:h-3 before:border before:border-primary before:rounded-sm before:bg-transparent ltr:before:left-1 rtl:before:right-1 before:top-[0.563rem]
        after:absolute after:h-full after:bg-transparent ltr:after:border-l-2 rtl:after:border-r-2 after:border-dashed after:border-primary/10 ltr:after:left-[0.563rem] rtl:after:right-[0.563rem] after:top-5;
}
.fullcalendar-events-activity li:last-child {
  @apply mb-0;
}
.fullcalendar-events-activity li:last-child::after {
  @apply border-0;
}

#full-calendar-activity {
  @apply max-h-44;
}
.fc-col-header-cell .fc-scrollgrid-sync-inner {
  @apply p-2 flex justify-center;
}
.fc-direction-ltr .fc-daygrid-event.fc-event-start,
.fc-direction-rtl .fc-daygrid-event.fc-event-end {
  @apply px-2;
}
.fc .fc-day-other .fc-daygrid-day-top {
  @apply opacity-100 text-gray-500 dark:text-white/70 #{!important};
}
.fc-theme-standard .fc-popover {
  @apply border-gray-200 dark:border-white/10 bg-white dark:bg-bgdark2;
}
.fc-header-toolbar {
  @apply md:flex block md:space-y-0 space-y-2 #{!important};
}
.fc .fc-list-sticky .fc-list-day > * {
  @apply bg-gray-100 dark:bg-black/20;
}
.fc-event-dragging {
  @apply px-2 py-2;
}
.fc .fc-daygrid-day-bottom{
  @apply text-[0.44em] pt-0 #{!important};
}
.cal-month-view {
  .cal-cell-row {
    @apply hover:bg-bodybg #{!important};
  }
  .cal-cell {
    @apply hover:bg-bodybg #{!important};
  }
} 
.cal-month-view .cal-day-cell:not(:last-child) {
  @apply rtl:border-l-defaultborder dark:rtl:border-l-white/10 #{!important};
}
.cal-month-view .cal-open-day-events {
  @apply bg-primary/90 shadow-none text-white #{!important};
}
#external-events ul li {
  @apply text-start;
}
/* End Calendar  Styles */