mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-10 17:42:50 +08:00
设置每周一为第一天,当天背景突显
This commit is contained in:
@@ -20,6 +20,7 @@ const calendarOptions: Ref<CalendarOptions> = ref({
|
||||
],
|
||||
initialView: 'dayGridMonth',
|
||||
weekends: true,
|
||||
firstDay: 1,
|
||||
headerToolbar: {
|
||||
left: 'prev',
|
||||
center: 'title',
|
||||
@@ -197,6 +198,11 @@ onMounted(() => {
|
||||
--fc-event-border-color: currentcolor;
|
||||
}
|
||||
|
||||
// 当天背景渐变
|
||||
.fc-day-today {
|
||||
background-image: linear-gradient(to bottom, #AF85FD ,rgba(var(--v-theme-on-surface), 0.04));
|
||||
}
|
||||
|
||||
.v-application .fc a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user