.el-calendar,
.yoocalendar-wrapper {
--yc-text-color: #333;
--yc-text-muted: #767676;
--yc-border-color: rgba(0, 0, 0, 0.1);
--yc-background: transparent;
--yc-muted-bg: #f8f8f8;
--yc-primary: #1e87f0;
--yc-secondary: #222;
--fc-border-color: var(--yc-border-color);
--fc-button-bg-color: transparent;
--fc-button-border-color: var(--yc-border-color);
--fc-button-text-color: var(--yc-text-color);
--fc-button-hover-bg-color: var(--yc-muted-bg);
--fc-button-hover-border-color: var(--yc-border-color);
--fc-button-active-bg-color: var(--yc-primary);
--fc-button-active-border-color: var(--yc-primary);
--fc-today-bg-color: rgba(30, 135, 240, 0.08);
--fc-page-bg-color: transparent;
--fc-neutral-bg-color: var(--yc-muted-bg);
}
.el-calendar .yoocalendar,
.yoocalendar {
font-family: inherit;
color: var(--yc-text-color);
}
.el-calendar .fc-toolbar,
.yoocalendar .fc-toolbar {
flex-wrap: wrap;
gap: 10px;
}
.el-calendar .fc-toolbar-title,
.yoocalendar .fc-toolbar-title {
font-size: 1.25em;
font-weight: 600;
color: var(--yc-text-color);
}
.el-calendar .fc-button,
.yoocalendar .fc-button {
padding: 0.4em 0.65em;
font-size: 0.875rem;
font-weight: 500;
border-radius: 4px;
transition: all 0.15s ease;
}
.el-calendar .fc-button:focus,
.yoocalendar .fc-button:focus {
box-shadow: 0 0 0 3px rgba(30, 135, 240, 0.25);
}
.el-calendar .fc-button-group .fc-button,
.yoocalendar .fc-button-group .fc-button {
border-radius: 0;
}
.el-calendar .fc-button-group .fc-button:first-child,
.yoocalendar .fc-button-group .fc-button:first-child {
border-radius: 4px 0 0 4px;
}
.el-calendar .fc-button-group .fc-button:last-child,
.yoocalendar .fc-button-group .fc-button:last-child {
border-radius: 0 4px 4px 0;
}
.el-calendar .fc-scrollgrid,
.yoocalendar .fc-scrollgrid {
border-radius: 4px;
overflow: hidden;
}
.el-calendar .fc-col-header-cell,
.yoocalendar .fc-col-header-cell {
padding: 10px 0;
font-weight: 600;
font-size: 0.8em;
text-transform: uppercase;
letter-spacing: 0.03em;
}
.el-calendar .fc-col-header-cell-cushion,
.yoocalendar .fc-col-header-cell-cushion {
color: var(--yc-text-muted);
}
.el-calendar .fc-daygrid-day-number,
.yoocalendar .fc-daygrid-day-number {
padding: 8px;
font-size: 0.9em;
color: var(--yc-text-color);
}
.el-calendar .fc-daygrid-day.fc-day-today,
.yoocalendar .fc-daygrid-day.fc-day-today {
background-color: var(--fc-today-bg-color);
}
.el-calendar .fc-day-other .fc-daygrid-day-number,
.yoocalendar .fc-day-other .fc-daygrid-day-number {
color: var(--yc-text-muted);
opacity: 0.6;
}
.el-calendar .fc-event,
.yoocalendar .fc-event {
border-radius: 4px;
padding: 2px 6px;
font-size: 0.85em;
cursor: pointer;
transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.el-calendar .fc-event:hover,
.yoocalendar .fc-event:hover {
transform: translateY(-1px);
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}
.el-calendar .fc-timegrid-slot,
.yoocalendar .fc-timegrid-slot {
height: 3em;
}
.el-calendar .fc-timegrid-slot-label,
.yoocalendar .fc-timegrid-slot-label {
font-size: 0.8em;
color: var(--yc-text-muted);
}
.el-calendar .fc-timegrid-now-indicator-line,
.yoocalendar .fc-timegrid-now-indicator-line {
border-color: #f0506e;
border-width: 2px;
}
.el-calendar .fc-list,
.yoocalendar .fc-list {
border-radius: 4px;
}
.el-calendar .fc-list-day-cushion,
.yoocalendar .fc-list-day-cushion {
font-weight: 600;
padding: 10px 14px;
background: var(--yc-muted-bg);
color: var(--yc-text-color);
}
.el-calendar .fc-list-event:hover td,
.yoocalendar .fc-list-event:hover td {
background-color: rgba(30, 135, 240, 0.05);
}
.el-calendar .fc-list-event-title a,
.yoocalendar .fc-list-event-title a {
text-decoration: none;
color: inherit;
}
.el-calendar .fc-list-event-time,
.yoocalendar .fc-list-event-time {
color: var(--yc-text-muted);
}
@media (max-width: 768px) {
.el-calendar .fc-toolbar,
.yoocalendar .fc-toolbar {
flex-direction: column;
align-items: stretch;
}
.el-calendar .fc-toolbar-chunk,
.yoocalendar .fc-toolbar-chunk {
display: flex;
justify-content: center;
}
.el-calendar .fc-toolbar-title,
.yoocalendar .fc-toolbar-title {
font-size: 1.1em;
text-align: center;
order: -1;
margin-bottom: 10px;
}
}
.uk-light .el-calendar,
.uk-light .yoocalendar-wrapper,
.uk-section-primary .el-calendar,
.uk-section-primary .yoocalendar-wrapper,
.uk-section-secondary .el-calendar,
.uk-section-secondary .yoocalendar-wrapper,
.tm-section-dark .el-calendar,
.tm-section-dark .yoocalendar-wrapper,
[class*="uk-card-primary"] .el-calendar,
[class*="uk-card-primary"] .yoocalendar-wrapper,
[class*="uk-card-secondary"] .el-calendar,
[class*="uk-card-secondary"] .yoocalendar-wrapper {
--yc-text-color: rgba(255, 255, 255, 0.9);
--yc-text-muted: rgba(255, 255, 255, 0.5);
--yc-border-color: rgba(255, 255, 255, 0.15);
--yc-muted-bg: rgba(255, 255, 255, 0.08);
--fc-border-color: var(--yc-border-color);
--fc-button-bg-color: rgba(255, 255, 255, 0.12);
--fc-button-border-color: transparent;
--fc-button-hover-bg-color: rgba(255, 255, 255, 0.2);
--fc-button-text-color: #fff;
--fc-today-bg-color: rgba(255, 255, 255, 0.1);
--fc-neutral-bg-color: rgba(255, 255, 255, 0.05);
--fc-page-bg-color: transparent;
}
.uk-light .fc-col-header-cell-cushion,
.uk-light .fc-daygrid-day-number,
.uk-light .fc-list-day-cushion,
.uk-light .fc-toolbar-title,
.uk-section-primary .fc-col-header-cell-cushion,
.uk-section-primary .fc-daygrid-day-number,
.uk-section-primary .fc-list-day-cushion,
.uk-section-primary .fc-toolbar-title,
.uk-section-secondary .fc-col-header-cell-cushion,
.uk-section-secondary .fc-daygrid-day-number,
.uk-section-secondary .fc-list-day-cushion,
.uk-section-secondary .fc-toolbar-title {
color: var(--yc-text-color);
}
.uk-light .fc-day-other .fc-daygrid-day-number,
.uk-section-primary .fc-day-other .fc-daygrid-day-number,
.uk-section-secondary .fc-day-other .fc-daygrid-day-number {
color: var(--yc-text-muted);
}
.el-calendar.yc-text-default {
--yc-text-color: #333;
--yc-text-muted: #767676;
}
.el-calendar.yc-text-muted {
--yc-text-color: #999;
--yc-text-muted: #bbb;
}
.el-calendar.yc-text-muted .fc-toolbar-title,
.el-calendar.yc-text-muted .fc-daygrid-day-number {
color: var(--yc-text-color);
}
.el-calendar.uk-light,
.el-calendar.yc-text-light {
--yc-text-color: rgba(255, 255, 255, 0.9);
--yc-text-muted: rgba(255, 255, 255, 0.5);
--yc-border-color: rgba(255, 255, 255, 0.15);
--yc-muted-bg: rgba(255, 255, 255, 0.08);
--fc-border-color: var(--yc-border-color);
--fc-button-bg-color: rgba(255, 255, 255, 0.12);
--fc-button-border-color: transparent;
--fc-button-text-color: #fff;
--fc-today-bg-color: rgba(255, 255, 255, 0.1);
}
.el-calendar .fc-button.fc-button-active,
.yoocalendar .fc-button.fc-button-active {
color: #fff;
}
.el-calendar.yc-button-primary {
--fc-button-bg-color: var(--yc-primary);
--fc-button-border-color: var(--yc-primary);
--fc-button-text-color: #fff;
--fc-button-hover-bg-color: var(--yc-primary);
--fc-button-hover-border-color: var(--yc-primary);
--fc-button-active-bg-color: var(--yc-primary);
--fc-button-active-border-color: var(--yc-primary);
}
.el-calendar.yc-button-secondary {
--fc-button-bg-color: var(--yc-secondary);
--fc-button-border-color: var(--yc-secondary);
--fc-button-text-color: #fff;
--fc-button-hover-bg-color: var(--yc-secondary);
--fc-button-hover-border-color: var(--yc-secondary);
--fc-button-active-bg-color: var(--yc-secondary);
--fc-button-active-border-color: var(--yc-secondary);
}
.el-calendar.yc-button-text .fc-button {
background: transparent !important;
border-color: transparent !important;
color: var(--yc-text-color);
}
.el-calendar.yc-button-text .fc-button:hover {
background: rgba(0, 0, 0, 0.05) !important;
}
.el-calendar.yc-button-text .fc-button.fc-button-active {
background: rgba(0, 0, 0, 0.1) !important;
}
.yoocalendar-tooltip {
font-family: inherit;
}
.el-calendar .yoocalendar:empty::before,
.yoocalendar:empty::before {
content: "";
display: block;
min-height: 300px;
background: linear-gradient(90deg, var(--yc-muted-bg) 25%, transparent 50%, var(--yc-muted-bg) 75%);
background-size: 200% 100%;
animation: yc-loading 1.5s infinite;
border-radius: 4px;
}
@keyframes yc-loading {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}
.el-calendar .fc-scroller,
.yoocalendar .fc-scroller {
overflow: hidden !important;
}
.el-calendar .fc-scroller-liquid,
.yoocalendar .fc-scroller-liquid,
.el-calendar .fc-scroller-liquid-absolute,
.yoocalendar .fc-scroller-liquid-absolute {
overflow: hidden !important;
}
.el-calendar .fc-timegrid-body .fc-scroller,
.yoocalendar .fc-timegrid-body .fc-scroller,
.el-calendar .fc-scroller-harness-liquid .fc-scroller,
.yoocalendar .fc-scroller-harness-liquid .fc-scroller {
overflow-y: auto !important;
overflow-x: hidden !important;
}
.el-calendar .fc-scroller::-webkit-scrollbar,
.yoocalendar .fc-scroller::-webkit-scrollbar {
width: 6px;
}
.el-calendar .fc-scroller::-webkit-scrollbar-button,
.yoocalendar .fc-scroller::-webkit-scrollbar-button {
display: none;
}
