Skip to content

Commit f8c7bd1

Browse files
committed
Upgrade fullcalendar to version 6.1.17
1 parent ba560a8 commit f8c7bd1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+15097
-36386
lines changed

assets/static/css/calendar.css

Lines changed: 41 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -18,44 +18,34 @@ main {
1818
padding-bottom: 1em;
1919
}
2020

21-
#calendar {
22-
overflow: visible;
23-
}
24-
2521
/* Calendar header */
26-
#calendar .fc-center {
22+
#calendar .fc-toolbar-title {
2723
color: #FF9900;
2824
}
2925

3026
/* Calendar table border */
31-
#calendar table td, #calendar table th {
27+
#calendar table, #calendar table td, #calendar table th {
3228
border-color: #46b6ee;
3329
}
3430

3531
/* Calender header row */
36-
#calendar .ui-widget-header th {
32+
#calendar table.fc-col-header th {
3733
color: #FF9900;
3834
font-weight: normal;
3935
padding: 0.15em 0;
4036
background-color: #22374C;
4137
}
4238

4339
/* Regular calendar cells */
44-
#calendar .ui-widget-content {
45-
background-color: rgba(34, 55, 76, 0.2);
46-
font-size: 0.95em;
47-
}
48-
49-
/* All-day/event with time divider in week and day views */
50-
#calendar hr.fc-divider {
51-
border-color: #46b6ee;
52-
background-color: #22374C;
40+
#calendar td.fc-day {
41+
background-color: rgba(34, 55, 76, 0.5);
42+
font-size: 0.9em;
5343
}
5444

5545
/* Day number in month view */
56-
#calendar .fc-day-number {
46+
#calendar .fc-daygrid-day-number {
5747
padding: 3px !important;
58-
min-width: 1.1em;
48+
min-width: 1.8em;
5949
font-weight: bold;
6050
font-size: 0.85em;
6151
border-left: 1px solid #46b6ee;
@@ -66,35 +56,60 @@ main {
6656
}
6757

6858
/* Time column in week and day views */
69-
#calendar .fc-axis {
70-
font-size: 0.8em;
59+
#calendar .fc-timegrid-axis, #calendar .fc-timegrid-slot {
60+
font-size: 0.75em;
7161
color: #fff;
7262
}
7363

7464
/* Calendar event */
75-
#calendar .fc-content {
65+
#calendar .fc-event {
7666
color: #fff;
7767
cursor: pointer;
78-
white-space: pre-line !important;
68+
white-space: pre-line;
7969
padding: 0.2em;
70+
overflow: hidden;
71+
}
72+
73+
/* Container for event time and title */
74+
#calendar .fc-event .fc-event-main-frame {
75+
display: block;
76+
}
77+
78+
/* Event time and title placement */
79+
#calendar .fc-event .fc-event-time, #calendar .fc-event .fc-event-title-container, #calendar .fc-event .fc-event-title {
80+
display: inline;
81+
}
82+
83+
/* Event time */
84+
#calendar .fc-event .fc-event-time {
85+
font-weight: bold;
86+
}
87+
/*
88+
#calendar .fc-event .fc-event-time::after {
89+
content: " ";
90+
}*/
91+
92+
/* Event title */
93+
#calendar .fc-event .fc-event-title {
94+
font-weight: normal;
8095
}
8196

8297
/* Today */
83-
#calendar .ui-widget-content.fc-today {
98+
#calendar td.fc-day-today {
8499
background-color: #46b6ee66;
85100
}
86101

87102
/* Calendar buttons, dialog buttons */
88-
#calendar .ui-button, .ui-dialog .ui-button {
103+
#calendar .fc-header-toolbar button {
89104
border: 1px solid #46b6ee;
90105
background-color: #22374C;
91106
color: #FF9900;
92107
}
93108

94109
/* Hover states for calendar buttons and dialog buttons */
95-
#calendar .ui-button:hover, .ui-dialog .ui-button:hover,
110+
#calendar .fc-header-toolbar button:hover,
96111
/* Active state for monat, week, day buttons */
97-
#calendar .ui-button.ui-state-active {
112+
#calendar .fc-header-toolbar button.fc-button-active {
98113
background-color: #0c1c2a;
99114
border: 1px solid #FF9900;
100115
color: #FF9900;

assets/static/css/home.css

Lines changed: 31 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -150,44 +150,58 @@ main {
150150
}
151151
}
152152

153-
#upcoming table {
154-
width: 100%;
153+
#upcoming a:hover {
154+
text-decoration: none;
155155
}
156156

157-
#upcoming .fc-list-heading .ui-widget-header {
158-
padding-top: 1em;
159-
font-weight: bold;
160-
border-bottom: 1px solid var(--default-text-color);
157+
#upcoming .fc-upcoming-view, #upcoming th, #upcoming td {
158+
border: none;
159+
background: none;
161160
}
162161

163-
#upcoming td {
162+
#upcoming table {
163+
border-collapse: separate;
164+
}
165+
166+
#upcoming th, #upcoming td {
164167
vertical-align: top;
165-
padding-top: 0.3em;
166-
padding-bottom: 0.3em;
168+
padding: 0.3em 0;
167169
}
168170

169-
#upcoming td.fc-list-item-time {
170-
padding-right: 0.6em;
171+
#upcoming .fc-list-day th {
172+
padding-top: 1em;
173+
border-bottom: 1px solid var(--default-text-color);
171174
}
172175

173-
#upcoming .fc-list-heading-main {
176+
#upcoming .fc-list-day-cushion {
177+
font-weight: bold;
174178
color: var(--highlight-color);
179+
padding: 0;
180+
background: none;
181+
}
182+
183+
#upcoming td.fc-list-event-time {
184+
padding-right: 1em;
175185
}
176186

177-
#upcoming .fc-list-heading-alt {
178-
color: var(--highlight-color);
179-
float: right;
187+
#upcoming td.fc-list-event-graphic {
188+
display: none;
180189
}
181190

182-
#upcoming td.fc-list-item-title {
191+
#upcoming td.fc-list-event-title {
183192
width: 90%;
184193
}
185194

186-
#upcoming .fc-list-item-title a {
195+
#upcoming .fc-list-event-title a {
187196
color: var(--highlight-color);
188197
cursor: pointer;
189198
}
190199

200+
#upcoming .fc-list-event-title a:hover {
201+
text-decoration: underline;
202+
}
203+
191204
#upcoming .fc-list-empty {
192205
margin-top: 1em;
206+
background: none;
193207
}

0 commit comments

Comments
 (0)