懒羊羊
2023-08-30 71e81ed1d12e4d69f53c8ad9e066650ad4186293
提交 | 用户 | 时间
71e81e 1 @charset "UTF-8";
2 /* TimeGridView all-day area
3 --------------------------------------------------------------------------------------------------*/
4 .fc-timeGrid-view .fc-day-grid {
5   position: relative;
6   z-index: 2;
7   /* so the "more.." popover will be over the time grid */
8 }
9
10 .fc-timeGrid-view .fc-day-grid .fc-row {
11   min-height: 3em;
12   /* all-day section will never get shorter than this */
13 }
14
15 .fc-timeGrid-view .fc-day-grid .fc-row .fc-content-skeleton {
16   padding-bottom: 1em;
17   /* give space underneath events for clicking/selecting days */
18 }
19
20 /* TimeGrid axis running down the side (for both the all-day area and the slot area)
21 --------------------------------------------------------------------------------------------------*/
22 .fc .fc-axis {
23   /* .fc to overcome default cell styles */
24   vertical-align: middle;
25   padding: 0 4px;
26   white-space: nowrap;
27 }
28
29 .fc-ltr .fc-axis {
30   text-align: right;
31 }
32
33 .fc-rtl .fc-axis {
34   text-align: left;
35 }
36
37 /* TimeGrid Structure
38 --------------------------------------------------------------------------------------------------*/
39 .fc-time-grid-container,
40 .fc-time-grid {
41   /* so slats/bg/content/etc positions get scoped within here */
42   position: relative;
43   z-index: 1;
44 }
45
46 .fc-time-grid {
47   min-height: 100%;
48   /* so if height setting is 'auto', .fc-bg stretches to fill height */
49 }
50
51 .fc-time-grid table {
52   /* don't put outer borders on slats/bg/content/etc */
53   border: 0 hidden transparent;
54 }
55
56 .fc-time-grid > .fc-bg {
57   z-index: 1;
58 }
59
60 .fc-time-grid .fc-slats,
61 .fc-time-grid > hr {
62   /* the <hr> TimeGridView injects when grid is shorter than scroller */
63   position: relative;
64   z-index: 2;
65 }
66
67 .fc-time-grid .fc-content-col {
68   position: relative;
69   /* because now-indicator lives directly inside */
70 }
71
72 .fc-time-grid .fc-content-skeleton {
73   position: absolute;
74   z-index: 3;
75   top: 0;
76   left: 0;
77   right: 0;
78 }
79
80 /* divs within a cell within the fc-content-skeleton */
81 .fc-time-grid .fc-business-container {
82   position: relative;
83   z-index: 1;
84 }
85
86 .fc-time-grid .fc-bgevent-container {
87   position: relative;
88   z-index: 2;
89 }
90
91 .fc-time-grid .fc-highlight-container {
92   position: relative;
93   z-index: 3;
94 }
95
96 .fc-time-grid .fc-event-container {
97   position: relative;
98   z-index: 4;
99 }
100
101 .fc-time-grid .fc-now-indicator-line {
102   z-index: 5;
103 }
104
105 .fc-time-grid .fc-mirror-container {
106   /* also is fc-event-container */
107   position: relative;
108   z-index: 6;
109 }
110
111 /* TimeGrid Slats (lines that run horizontally)
112 --------------------------------------------------------------------------------------------------*/
113 .fc-time-grid .fc-slats td {
114   height: 1.5em;
115   border-bottom: 0;
116   /* each cell is responsible for its top border */
117 }
118
119 .fc-time-grid .fc-slats .fc-minor td {
120   border-top-style: dotted;
121 }
122
123 /* TimeGrid Highlighting Slots
124 --------------------------------------------------------------------------------------------------*/
125 .fc-time-grid .fc-highlight-container {
126   /* a div within a cell within the fc-highlight-skeleton */
127   position: relative;
128   /* scopes the left/right of the fc-highlight to be in the column */
129 }
130
131 .fc-time-grid .fc-highlight {
132   position: absolute;
133   left: 0;
134   right: 0;
135   /* top and bottom will be in by JS */
136 }
137
138 /* TimeGrid Event Containment
139 --------------------------------------------------------------------------------------------------*/
140 .fc-ltr .fc-time-grid .fc-event-container {
141   /* space on the sides of events for LTR (default) */
142   margin: 0 2.5% 0 2px;
143 }
144
145 .fc-rtl .fc-time-grid .fc-event-container {
146   /* space on the sides of events for RTL */
147   margin: 0 2px 0 2.5%;
148 }
149
150 .fc-time-grid .fc-event,
151 .fc-time-grid .fc-bgevent {
152   position: absolute;
153   z-index: 1;
154   /* scope inner z-index's */
155 }
156
157 .fc-time-grid .fc-bgevent {
158   /* background events always span full width */
159   left: 0;
160   right: 0;
161 }
162
163 /* TimeGrid Event Styling
164 ----------------------------------------------------------------------------------------------------
165 We use the full "fc-time-grid-event" class instead of using descendants because the event won't
166 be a descendant of the grid when it is being dragged.
167 */
168 .fc-time-grid-event {
169   margin-bottom: 1px;
170 }
171
172 .fc-time-grid-event-inset {
173   -webkit-box-shadow: 0px 0px 0px 1px #fff;
174   box-shadow: 0px 0px 0px 1px #fff;
175 }
176
177 .fc-time-grid-event.fc-not-start {
178   /* events that are continuing from another day */
179   /* replace space made by the top border with padding */
180   border-top-width: 0;
181   padding-top: 1px;
182   /* remove top rounded corners */
183   border-top-left-radius: 0;
184   border-top-right-radius: 0;
185 }
186
187 .fc-time-grid-event.fc-not-end {
188   /* replace space made by the top border with padding */
189   border-bottom-width: 0;
190   padding-bottom: 1px;
191   /* remove bottom rounded corners */
192   border-bottom-left-radius: 0;
193   border-bottom-right-radius: 0;
194 }
195
196 .fc-time-grid-event .fc-content {
197   overflow: hidden;
198   max-height: 100%;
199 }
200
201 .fc-time-grid-event .fc-time,
202 .fc-time-grid-event .fc-title {
203   padding: 0 1px;
204 }
205
206 .fc-time-grid-event .fc-time {
207   font-size: 0.85em;
208   white-space: nowrap;
209 }
210
211 /* short mode, where time and title are on the same line */
212 .fc-time-grid-event.fc-short .fc-content {
213   /* don't wrap to second line (now that contents will be inline) */
214   white-space: nowrap;
215 }
216
217 .fc-time-grid-event.fc-short .fc-time,
218 .fc-time-grid-event.fc-short .fc-title {
219   /* put the time and title on the same line */
220   display: inline-block;
221   vertical-align: top;
222 }
223
224 .fc-time-grid-event.fc-short .fc-time span {
225   display: none;
226   /* don't display the full time text... */
227 }
228
229 .fc-time-grid-event.fc-short .fc-time:before {
230   content: attr(data-start);
231   /* ...instead, display only the start time */
232 }
233
234 .fc-time-grid-event.fc-short .fc-time:after {
235   content: " - ";
236   /* seperate with a dash, wrapped in nbsp's */
237 }
238
239 .fc-time-grid-event.fc-short .fc-title {
240   font-size: 0.85em;
241   /* make the title text the same size as the time */
242   padding: 0;
243   /* undo padding from above */
244 }
245
246 /* resizer (cursor device) */
247 .fc-time-grid-event.fc-allow-mouse-resize .fc-resizer {
248   left: 0;
249   right: 0;
250   bottom: 0;
251   height: 8px;
252   overflow: hidden;
253   line-height: 8px;
254   font-size: 11px;
255   font-family: monospace;
256   text-align: center;
257   cursor: s-resize;
258 }
259
260 .fc-time-grid-event.fc-allow-mouse-resize .fc-resizer:after {
261   content: "=";
262 }
263
264 /* resizer (touch device) */
265 .fc-time-grid-event.fc-selected .fc-resizer {
266   /* 10x10 dot */
267   border-radius: 5px;
268   border-width: 1px;
269   width: 8px;
270   height: 8px;
271   border-style: solid;
272   border-color: inherit;
273   background: #fff;
274   /* horizontally center */
275   left: 50%;
276   margin-left: -5px;
277   /* center on the bottom edge */
278   bottom: -5px;
279 }
280
281 /* Now Indicator
282 --------------------------------------------------------------------------------------------------*/
283 .fc-time-grid .fc-now-indicator-line {
284   border-top-width: 1px;
285   left: 0;
286   right: 0;
287 }
288
289 /* arrow on axis */
290 .fc-time-grid .fc-now-indicator-arrow {
291   margin-top: -5px;
292   /* vertically center on top coordinate */
293 }
294
295 .fc-ltr .fc-time-grid .fc-now-indicator-arrow {
296   left: 0;
297   /* triangle pointing right... */
298   border-width: 5px 0 5px 6px;
299   border-top-color: transparent;
300   border-bottom-color: transparent;
301 }
302
303 .fc-rtl .fc-time-grid .fc-now-indicator-arrow {
304   right: 0;
305   /* triangle pointing left... */
306   border-width: 5px 6px 5px 0;
307   border-top-color: transparent;
308   border-bottom-color: transparent;
309 }