fullcalendar.css 30.2 KB
Newer Older
A
Anthony Mutisya 已提交
1
/*!
N
#321  
Nicolae Gabriel 已提交
2
 * FullCalendar v3.1.0 Stylesheet
A
Aigars Silkalns 已提交
3
 * Docs & License: http://fullcalendar.io/
C
christianesperar 已提交
4
 * (c) 2016 Adam Shaw
A
Anthony Mutisya 已提交
5 6 7 8
 */


.fc {
A
Aigars Silkalns 已提交
9 10
	direction: ltr;
	text-align: left;
A
Anthony Mutisya 已提交
11 12 13
}

.fc-rtl {
A
Aigars Silkalns 已提交
14 15 16 17 18
	text-align: right;
}

body .fc { /* extra precedence to overcome jqui */
	font-size: 1em;
A
Anthony Mutisya 已提交
19 20 21 22 23
}


/* Colors
--------------------------------------------------------------------------------------------------*/
A
Aigars Silkalns 已提交
24

N
#266  
Nicolae Gabriel 已提交
25 26
/* for gutter border */

A
Anthony Mutisya 已提交
27 28 29 30
.fc-unthemed th,
.fc-unthemed td,
.fc-unthemed thead,
.fc-unthemed tbody,
A
Aigars Silkalns 已提交
31
.fc-unthemed .fc-divider,
A
Anthony Mutisya 已提交
32
.fc-unthemed .fc-row,
N
#266  
Nicolae Gabriel 已提交
33
.fc-unthemed .fc-content, 
N
#321  
Nicolae Gabriel 已提交
34 35 36
.fc-unthemed .fc-popover,
.fc-unthemed .fc-list-view,
.fc-unthemed .fc-list-heading td {
A
Aigars Silkalns 已提交
37
	border-color: #ddd;
A
Anthony Mutisya 已提交
38 39 40
}

.fc-unthemed .fc-popover {
A
Aigars Silkalns 已提交
41
	background-color: #fff;
A
Anthony Mutisya 已提交
42 43
}

A
Aigars Silkalns 已提交
44
.fc-unthemed .fc-divider,
N
#321  
Nicolae Gabriel 已提交
45 46
.fc-unthemed .fc-popover .fc-header,
.fc-unthemed .fc-list-heading td {
A
Aigars Silkalns 已提交
47
	background: #eee;
A
Anthony Mutisya 已提交
48 49 50
}

.fc-unthemed .fc-popover .fc-header .fc-close {
A
Aigars Silkalns 已提交
51
	color: #666;
A
Anthony Mutisya 已提交
52 53
}

N
#321  
Nicolae Gabriel 已提交
54
.fc-unthemed td.fc-today {
A
Aigars Silkalns 已提交
55
	background: #fcf8e3;
A
Anthony Mutisya 已提交
56 57 58
}

.fc-highlight { /* when user is selecting cells */
A
Aigars Silkalns 已提交
59 60
	background: #bce8f1;
	opacity: .3;
A
Anthony Mutisya 已提交
61 62 63
}

.fc-bgevent { /* default look for background events */
A
Aigars Silkalns 已提交
64 65
	background: rgb(143, 223, 130);
	opacity: .3;
A
Anthony Mutisya 已提交
66 67 68
}

.fc-nonbusiness { /* default look for non-business-hours areas */
A
Aigars Silkalns 已提交
69 70
	/* will inherit .fc-bgevent's styles */
	background: #d7d7d7;
A
Anthony Mutisya 已提交
71 72 73 74 75 76 77
}


/* Icons (inline elements with styled text that mock arrow icons)
--------------------------------------------------------------------------------------------------*/

.fc-icon {
A
Aigars Silkalns 已提交
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
	display: inline-block;
	height: 1em;
	line-height: 1em;
	font-size: 1em;
	text-align: center;
	overflow: hidden;
	font-family: "Courier New", Courier, monospace;

	/* don't allow browser text-selection */
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	}

/*
Acceptable font-family overrides for individual icons:
	"Arial", sans-serif
	"Times New Roman", serif

NOTE: use percentage font sizes or else old IE chokes
*/

.fc-icon:after {
	position: relative;
A
Anthony Mutisya 已提交
105 106 107
}

.fc-icon-left-single-arrow:after {
A
Aigars Silkalns 已提交
108 109 110 111
	content: "\02039";
	font-weight: bold;
	font-size: 200%;
	top: -7%;
A
Anthony Mutisya 已提交
112 113 114
}

.fc-icon-right-single-arrow:after {
A
Aigars Silkalns 已提交
115 116 117 118
	content: "\0203A";
	font-weight: bold;
	font-size: 200%;
	top: -7%;
A
Anthony Mutisya 已提交
119 120 121
}

.fc-icon-left-double-arrow:after {
A
Aigars Silkalns 已提交
122 123 124
	content: "\000AB";
	font-size: 160%;
	top: -7%;
A
Anthony Mutisya 已提交
125 126 127
}

.fc-icon-right-double-arrow:after {
A
Aigars Silkalns 已提交
128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
	content: "\000BB";
	font-size: 160%;
	top: -7%;
}

.fc-icon-left-triangle:after {
	content: "\25C4";
	font-size: 125%;
	top: 3%;
}

.fc-icon-right-triangle:after {
	content: "\25BA";
	font-size: 125%;
	top: 3%;
}

.fc-icon-down-triangle:after {
	content: "\25BC";
	font-size: 125%;
	top: 2%;
A
Anthony Mutisya 已提交
149 150 151
}

.fc-icon-x:after {
A
Aigars Silkalns 已提交
152 153 154
	content: "\000D7";
	font-size: 200%;
	top: 6%;
A
Anthony Mutisya 已提交
155 156 157 158 159 160 161
}


/* Buttons (styled <button> tags, normalized to work cross-browser)
--------------------------------------------------------------------------------------------------*/

.fc button {
A
Aigars Silkalns 已提交
162 163 164 165 166 167 168 169 170 171 172 173 174 175
	/* force height to include the border and padding */
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;

	/* dimensions */
	margin: 0;
	height: 2.1em;
	padding: 0 .6em;

	/* text & cursor */
	font-size: 1em; /* normalize */
	white-space: nowrap;
	cursor: pointer;
A
Anthony Mutisya 已提交
176 177 178 179
}

/* Firefox has an annoying inner border */
.fc button::-moz-focus-inner { margin: 0; padding: 0; }
180
	
A
Anthony Mutisya 已提交
181
.fc-state-default { /* non-theme */
A
Aigars Silkalns 已提交
182
	border: 1px solid;
A
Anthony Mutisya 已提交
183 184 185
}

.fc-state-default.fc-corner-left { /* non-theme */
A
Aigars Silkalns 已提交
186 187
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
A
Anthony Mutisya 已提交
188 189 190
}

.fc-state-default.fc-corner-right { /* non-theme */
A
Aigars Silkalns 已提交
191 192
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
A
Anthony Mutisya 已提交
193 194 195 196 197
}

/* icons in buttons */

.fc button .fc-icon { /* non-theme */
A
Aigars Silkalns 已提交
198 199 200 201
	position: relative;
	top: -0.05em; /* seems to be a good adjustment across browsers */
	margin: 0 .2em;
	vertical-align: middle;
A
Anthony Mutisya 已提交
202
}
203
	
A
Anthony Mutisya 已提交
204 205 206 207 208
/*
  button states
  borrowed from twitter bootstrap (http://twitter.github.com/bootstrap/)
*/

A
Aigars Silkalns 已提交
209 210
.fc-state-default {
	background-color: #f5f5f5;
211 212 213
	background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
	background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
A
Aigars Silkalns 已提交
214
	background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
215 216
	background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
	background-repeat: repeat-x;
A
Aigars Silkalns 已提交
217 218
	border-color: #e6e6e6 #e6e6e6 #bfbfbf;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
219 220 221
	color: #333;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
A
Aigars Silkalns 已提交
222
}
A
Anthony Mutisya 已提交
223 224 225 226 227

.fc-state-hover,
.fc-state-down,
.fc-state-active,
.fc-state-disabled {
A
Aigars Silkalns 已提交
228 229
	color: #333333;
	background-color: #e6e6e6;
A
Anthony Mutisya 已提交
230 231 232
}

.fc-state-hover {
A
Aigars Silkalns 已提交
233 234 235 236
	color: #333333;
	text-decoration: none;
	background-position: 0 -15px;
	-webkit-transition: background-position 0.1s linear;
N
#266  
Nicolae Gabriel 已提交
237 238 239
	-moz-transition: background-position 0.1s linear;
	-o-transition: background-position 0.1s linear;
	 transition: background-position 0.1s linear;
A
Anthony Mutisya 已提交
240 241
}

A
Aigars Silkalns 已提交
242 243 244 245 246 247
.fc-state-down,
.fc-state-active {
	background-color: #cccccc;
	background-image: none;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}
A
Anthony Mutisya 已提交
248 249

.fc-state-disabled {
A
Aigars Silkalns 已提交
250 251 252 253
	cursor: default;
	background-image: none;
	opacity: 0.65;
	box-shadow: none;
A
Anthony Mutisya 已提交
254 255 256 257 258 259 260
}


/* Buttons Groups
--------------------------------------------------------------------------------------------------*/

.fc-button-group {
A
Aigars Silkalns 已提交
261
	display: inline-block;
A
Anthony Mutisya 已提交
262 263 264 265 266 267 268 269
}

/*
every button that is not first in a button group should scootch over one pixel and cover the
previous button's border...
*/

.fc .fc-button-group > * { /* extra precedence b/c buttons have margin set to zero */
A
Aigars Silkalns 已提交
270 271
	float: left;
	margin: 0 0 0 -1px;
A
Anthony Mutisya 已提交
272 273 274
}

.fc .fc-button-group > :first-child { /* same */
A
Aigars Silkalns 已提交
275
	margin-left: 0;
A
Anthony Mutisya 已提交
276 277 278 279 280 281 282
}


/* Popover
--------------------------------------------------------------------------------------------------*/

.fc-popover {
A
Aigars Silkalns 已提交
283 284
	position: absolute;
	box-shadow: 0 2px 6px rgba(0,0,0,.15);
A
Anthony Mutisya 已提交
285 286
}

A
Aigars Silkalns 已提交
287 288
.fc-popover .fc-header { /* TODO: be more consistent with fc-head/fc-body */
	padding: 2px 4px;
A
Anthony Mutisya 已提交
289 290 291
}

.fc-popover .fc-header .fc-title {
A
Aigars Silkalns 已提交
292
	margin: 0 2px;
A
Anthony Mutisya 已提交
293 294 295
}

.fc-popover .fc-header .fc-close {
A
Aigars Silkalns 已提交
296
	cursor: pointer;
A
Anthony Mutisya 已提交
297 298 299 300
}

.fc-ltr .fc-popover .fc-header .fc-title,
.fc-rtl .fc-popover .fc-header .fc-close {
A
Aigars Silkalns 已提交
301
	float: left;
A
Anthony Mutisya 已提交
302 303 304 305
}

.fc-rtl .fc-popover .fc-header .fc-title,
.fc-ltr .fc-popover .fc-header .fc-close {
A
Aigars Silkalns 已提交
306
	float: right;
A
Anthony Mutisya 已提交
307 308 309 310 311
}

/* unthemed */

.fc-unthemed .fc-popover {
A
Aigars Silkalns 已提交
312 313
	border-width: 1px;
	border-style: solid;
A
Anthony Mutisya 已提交
314 315 316
}

.fc-unthemed .fc-popover .fc-header .fc-close {
A
Aigars Silkalns 已提交
317 318
	font-size: .9em;
	margin-top: 2px;
A
Anthony Mutisya 已提交
319 320 321 322 323
}

/* jqui themed */

.fc-popover > .ui-widget-header + .ui-widget-content {
A
Aigars Silkalns 已提交
324
	border-top: 0; /* where they meet, let the header have the border */
A
Anthony Mutisya 已提交
325 326 327 328 329 330
}


/* Misc Reusable Components
--------------------------------------------------------------------------------------------------*/

A
Aigars Silkalns 已提交
331 332 333 334 335 336 337 338 339 340
.fc-divider {
	border-style: solid;
	border-width: 1px;
}

hr.fc-divider {
	height: 0;
	margin: 0;
	padding: 0 0 2px; /* height is unreliable across browsers, so use padding */
	border-width: 1px 0;
A
Anthony Mutisya 已提交
341 342 343
}

.fc-clear {
A
Aigars Silkalns 已提交
344
	clear: both;
A
Anthony Mutisya 已提交
345 346 347 348 349 350
}

.fc-bg,
.fc-bgevent-skeleton,
.fc-highlight-skeleton,
.fc-helper-skeleton {
A
Aigars Silkalns 已提交
351 352 353 354 355
	/* these element should always cling to top-left/right corners */
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
A
Anthony Mutisya 已提交
356 357 358
}

.fc-bg {
A
Aigars Silkalns 已提交
359
	bottom: 0; /* strech bg to bottom edge */
A
Anthony Mutisya 已提交
360 361 362
}

.fc-bg table {
A
Aigars Silkalns 已提交
363
	height: 100%; /* strech bg to bottom edge */
A
Anthony Mutisya 已提交
364 365 366 367 368 369 370
}


/* Tables
--------------------------------------------------------------------------------------------------*/

.fc table {
A
Aigars Silkalns 已提交
371
	width: 100%;
N
#321  
Nicolae Gabriel 已提交
372
	box-sizing: border-box; /* fix scrollbar issue in firefox */
A
Aigars Silkalns 已提交
373 374 375 376
	table-layout: fixed;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 1em; /* normalize cross-browser */
A
Anthony Mutisya 已提交
377 378 379
}

.fc th {
A
Aigars Silkalns 已提交
380
	text-align: center;
A
Anthony Mutisya 已提交
381 382 383 384
}

.fc th,
.fc td {
A
Aigars Silkalns 已提交
385 386 387 388
	border-style: solid;
	border-width: 1px;
	padding: 0;
	vertical-align: top;
A
Anthony Mutisya 已提交
389 390 391
}

.fc td.fc-today {
A
Aigars Silkalns 已提交
392
	border-style: double; /* overcome neighboring borders */
A
Anthony Mutisya 已提交
393 394 395
}


N
#321  
Nicolae Gabriel 已提交
396 397 398 399 400 401 402 403 404 405 406 407
/* Internal Nav Links
--------------------------------------------------------------------------------------------------*/

a[data-goto] {
	cursor: pointer;
}

a[data-goto]:hover {
	text-decoration: underline;
}


A
Anthony Mutisya 已提交
408 409 410 411
/* Fake Table Rows
--------------------------------------------------------------------------------------------------*/

.fc .fc-row { /* extra precedence to overcome themes w/ .ui-widget-content forcing a 1px border */
A
Aigars Silkalns 已提交
412 413 414
	/* no visible border by default. but make available if need be (scrollbar width compensation) */
	border-style: solid;
	border-width: 0;
A
Anthony Mutisya 已提交
415 416 417
}

.fc-row table {
A
Aigars Silkalns 已提交
418 419 420 421
	/* don't put left/right border on anything within a fake row.
	   the outer tbody will worry about this */
	border-left: 0 hidden transparent;
	border-right: 0 hidden transparent;
A
Anthony Mutisya 已提交
422

A
Aigars Silkalns 已提交
423
	/* no bottom borders on rows */
424
	border-bottom: 0 hidden transparent; 
A
Anthony Mutisya 已提交
425 426 427
}

.fc-row:first-child table {
A
Aigars Silkalns 已提交
428
	border-top: 0 hidden transparent; /* no top border on first row */
A
Anthony Mutisya 已提交
429 430 431 432 433 434 435
}


/* Day Row (used within the header and the DayGrid)
--------------------------------------------------------------------------------------------------*/

.fc-row {
A
Aigars Silkalns 已提交
436
	position: relative;
A
Anthony Mutisya 已提交
437 438 439
}

.fc-row .fc-bg {
A
Aigars Silkalns 已提交
440
	z-index: 1;
A
Anthony Mutisya 已提交
441 442 443 444 445 446
}

/* highlighting cells & background event skeleton */

.fc-row .fc-bgevent-skeleton,
.fc-row .fc-highlight-skeleton {
A
Aigars Silkalns 已提交
447
	bottom: 0; /* stretch skeleton to bottom of row */
A
Anthony Mutisya 已提交
448 449 450 451
}

.fc-row .fc-bgevent-skeleton table,
.fc-row .fc-highlight-skeleton table {
A
Aigars Silkalns 已提交
452
	height: 100%; /* stretch skeleton to bottom of row */
A
Anthony Mutisya 已提交
453 454 455 456
}

.fc-row .fc-highlight-skeleton td,
.fc-row .fc-bgevent-skeleton td {
A
Aigars Silkalns 已提交
457
	border-color: transparent;
A
Anthony Mutisya 已提交
458 459 460
}

.fc-row .fc-bgevent-skeleton {
A
Aigars Silkalns 已提交
461
	z-index: 2;
A
Anthony Mutisya 已提交
462 463 464 465

}

.fc-row .fc-highlight-skeleton {
A
Aigars Silkalns 已提交
466
	z-index: 3;
A
Anthony Mutisya 已提交
467 468 469 470 471 472 473 474
}

/*
row content (which contains day/week numbers and events) as well as "helper" (which contains
temporary rendered events).
*/

.fc-row .fc-content-skeleton {
A
Aigars Silkalns 已提交
475 476 477
	position: relative;
	z-index: 4;
	padding-bottom: 2px; /* matches the space above the events */
A
Anthony Mutisya 已提交
478 479 480
}

.fc-row .fc-helper-skeleton {
A
Aigars Silkalns 已提交
481
	z-index: 5;
A
Anthony Mutisya 已提交
482 483 484 485
}

.fc-row .fc-content-skeleton td,
.fc-row .fc-helper-skeleton td {
A
Aigars Silkalns 已提交
486 487 488
	/* see-through to the background below */
	background: none; /* in case <td>s are globally styled */
	border-color: transparent;
A
Anthony Mutisya 已提交
489

A
Aigars Silkalns 已提交
490 491
	/* don't put a border between events and/or the day number */
	border-bottom: 0;
A
Anthony Mutisya 已提交
492 493 494 495
}

.fc-row .fc-content-skeleton tbody td, /* cells with events inside (so NOT the day number cell) */
.fc-row .fc-helper-skeleton tbody td {
A
Aigars Silkalns 已提交
496 497
	/* don't put a border between event cells */
	border-top: 0;
A
Anthony Mutisya 已提交
498 499 500 501 502 503
}


/* Scrolling Container
--------------------------------------------------------------------------------------------------*/

504 505
.fc-scroller {
	-webkit-overflow-scrolling: touch;
A
Anthony Mutisya 已提交
506 507
}

508 509 510
/* TODO: move to agenda/basic */
.fc-scroller > .fc-day-grid,
.fc-scroller > .fc-time-grid {
A
Aigars Silkalns 已提交
511 512
	position: relative; /* re-scope all positions */
	width: 100%; /* hack to force re-sizing this inner element when scrollbars appear/disappear */
A
Anthony Mutisya 已提交
513 514 515 516 517 518 519
}


/* Global Event Styles
--------------------------------------------------------------------------------------------------*/

.fc-event {
A
Aigars Silkalns 已提交
520 521 522 523 524 525 526
	position: relative; /* for resize handle and other inner positioning */
	display: block; /* make the <a> tag block */
	font-size: .85em;
	line-height: 1.3;
	border-radius: 3px;
	border: 1px solid #3a87ad; /* default BORDER color */
	font-weight: normal; /* undo jqui's ui-widget-header bold */
A
Anthony Mutisya 已提交
527 528
}

N
#321  
Nicolae Gabriel 已提交
529 530 531 532 533
.fc-event,
.fc-event-dot {
	background-color: #3a87ad; /* default BACKGROUND color */
}

A
Anthony Mutisya 已提交
534 535 536 537
/* overpower some of bootstrap's and jqui's styles on <a> tags */
.fc-event,
.fc-event:hover,
.ui-widget .fc-event {
A
Aigars Silkalns 已提交
538 539
	color: #fff; /* default TEXT color */
	text-decoration: none; /* if <a> has an href */
A
Anthony Mutisya 已提交
540 541 542 543
}

.fc-event[href],
.fc-event.fc-draggable {
A
Aigars Silkalns 已提交
544
	cursor: pointer; /* give events with links and draggable events a hand mouse pointer */
A
Anthony Mutisya 已提交
545 546 547 548
}

.fc-not-allowed, /* causes a "warning" cursor. applied on body */
.fc-not-allowed .fc-event { /* to override an event's custom cursor */
A
Aigars Silkalns 已提交
549
	cursor: not-allowed;
A
Anthony Mutisya 已提交
550 551
}

A
Aigars Silkalns 已提交
552 553 554 555 556
.fc-event .fc-bg { /* the generic .fc-bg already does position */
	z-index: 1;
	background: #fff;
	opacity: .25;
}
A
Anthony Mutisya 已提交
557

A
Aigars Silkalns 已提交
558 559 560 561
.fc-event .fc-content {
	position: relative;
	z-index: 2;
}
A
Anthony Mutisya 已提交
562

563 564
/* resizer (cursor AND touch devices) */

A
Aigars Silkalns 已提交
565 566
.fc-event .fc-resizer {
	position: absolute;
567 568 569 570 571
	z-index: 4;
}

/* resizer (touch devices) */

C
christianesperar 已提交
572 573
.fc-event .fc-resizer {
	display: none;
574 575
}

C
christianesperar 已提交
576 577 578
.fc-event.fc-allow-mouse-resize .fc-resizer,
.fc-event.fc-selected .fc-resizer {
	/* only show when hovering or selected (with touch) */
579 580 581
	display: block;
}

C
christianesperar 已提交
582
/* hit area */
583

C
christianesperar 已提交
584
.fc-event.fc-selected .fc-resizer:before {
585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607
	/* 40x40 touch area */
	content: "";
	position: absolute;
	z-index: 9999; /* user of this util can scope within a lower z-index */
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin-left: -20px;
	margin-top: -20px;
}


/* Event Selection (only for touch devices)
--------------------------------------------------------------------------------------------------*/

.fc-event.fc-selected {
	z-index: 9999 !important; /* overcomes inline z-index */
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.fc-event.fc-selected.fc-dragging {
	box-shadow: 0 2px 7px rgba(0, 0, 0, 0.3);
A
Anthony Mutisya 已提交
608 609
}

A
Aigars Silkalns 已提交
610 611 612 613

/* Horizontal Events
--------------------------------------------------------------------------------------------------*/

614 615 616 617 618 619 620 621 622 623 624
/* bigger touch area when selected */
.fc-h-event.fc-selected:before {
	content: "";
	position: absolute;
	z-index: 3; /* below resizers */
	top: -10px;
	bottom: -10px;
	left: 0;
	right: 0;
}

A
Anthony Mutisya 已提交
625 626
/* events that are continuing to/from another week. kill rounded corners and butt up against edge */

A
Aigars Silkalns 已提交
627 628 629 630 631 632 633
.fc-ltr .fc-h-event.fc-not-start,
.fc-rtl .fc-h-event.fc-not-end {
	margin-left: 0;
	border-left-width: 0;
	padding-left: 1px; /* replace the border with padding */
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
A
Anthony Mutisya 已提交
634 635
}

A
Aigars Silkalns 已提交
636 637 638 639 640 641 642
.fc-ltr .fc-h-event.fc-not-end,
.fc-rtl .fc-h-event.fc-not-start {
	margin-right: 0;
	border-right-width: 0;
	padding-right: 1px; /* replace the border with padding */
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
A
Anthony Mutisya 已提交
643 644
}

645
/* resizer (cursor AND touch devices) */
A
Anthony Mutisya 已提交
646

A
Aigars Silkalns 已提交
647 648
/* left resizer  */
.fc-ltr .fc-h-event .fc-start-resizer,
649
.fc-rtl .fc-h-event .fc-end-resizer {
A
Aigars Silkalns 已提交
650
	cursor: w-resize;
651
	left: -1px; /* overcome border */
A
Aigars Silkalns 已提交
652 653 654 655
}

/* right resizer */
.fc-ltr .fc-h-event .fc-end-resizer,
656
.fc-rtl .fc-h-event .fc-start-resizer {
A
Aigars Silkalns 已提交
657
	cursor: e-resize;
658 659 660
	right: -1px; /* overcome border */
}

C
christianesperar 已提交
661
/* resizer (mouse devices) */
662

C
christianesperar 已提交
663
.fc-h-event.fc-allow-mouse-resize .fc-resizer {
664 665 666 667 668 669 670
	width: 7px;
	top: -1px; /* overcome top border */
	bottom: -1px; /* overcome bottom border */
}

/* resizer (touch devices) */

C
christianesperar 已提交
671
.fc-h-event.fc-selected .fc-resizer {
672 673 674 675 676 677 678 679 680 681 682 683 684 685
	/* 8x8 little dot */
	border-radius: 4px;
	border-width: 1px;
	width: 6px;
	height: 6px;
	border-style: solid;
	border-color: inherit;
	background: #fff;
	/* vertically center */
	top: 50%;
	margin-top: -4px;
}

/* left resizer  */
C
christianesperar 已提交
686 687
.fc-ltr .fc-h-event.fc-selected .fc-start-resizer,
.fc-rtl .fc-h-event.fc-selected .fc-end-resizer {
688 689 690 691
	margin-left: -4px; /* centers the 8x8 dot on the left edge */
}

/* right resizer */
C
christianesperar 已提交
692 693
.fc-ltr .fc-h-event.fc-selected .fc-end-resizer,
.fc-rtl .fc-h-event.fc-selected .fc-start-resizer {
694
	margin-right: -4px; /* centers the 8x8 dot on the right edge */
A
Anthony Mutisya 已提交
695 696 697
}


A
Aigars Silkalns 已提交
698 699 700 701 702 703 704 705 706
/* DayGrid events
----------------------------------------------------------------------------------------------------
We use the full "fc-day-grid-event" class instead of using descendants because the event won't
be a descendant of the grid when it is being dragged.
*/

.fc-day-grid-event {
	margin: 1px 2px 0; /* spacing between events and edges */
	padding: 0 1px;
A
Anthony Mutisya 已提交
707 708
}

N
#321  
Nicolae Gabriel 已提交
709 710 711 712
tr:first-child > td > .fc-day-grid-event {
	margin-top: 2px; /* a little bit more space before the first event */
}

713 714 715 716 717 718 719 720 721 722 723 724 725
.fc-day-grid-event.fc-selected:after {
	content: "";
	position: absolute;
	z-index: 1; /* same z-index as fc-bg, behind text */
	/* overcome the borders */
	top: -1px;
	right: -1px;
	bottom: -1px;
	left: -1px;
	/* darkening effect */
	background: #000;
	opacity: .25;
}
A
Aigars Silkalns 已提交
726 727 728 729

.fc-day-grid-event .fc-content { /* force events to be one-line tall */
	white-space: nowrap;
	overflow: hidden;
A
Anthony Mutisya 已提交
730 731
}

A
Aigars Silkalns 已提交
732 733 734 735
.fc-day-grid-event .fc-time {
	font-weight: bold;
}

736 737 738
/* resizer (cursor devices) */

/* left resizer  */
C
christianesperar 已提交
739 740
.fc-ltr .fc-day-grid-event.fc-allow-mouse-resize .fc-start-resizer,
.fc-rtl .fc-day-grid-event.fc-allow-mouse-resize .fc-end-resizer {
741 742 743 744
	margin-left: -2px; /* to the day cell's edge */
}

/* right resizer */
C
christianesperar 已提交
745 746
.fc-ltr .fc-day-grid-event.fc-allow-mouse-resize .fc-end-resizer,
.fc-rtl .fc-day-grid-event.fc-allow-mouse-resize .fc-start-resizer {
747
	margin-right: -2px; /* to the day cell's edge */
A
Anthony Mutisya 已提交
748 749 750 751 752 753 754 755 756
}


/* Event Limiting
--------------------------------------------------------------------------------------------------*/

/* "more" link that represents hidden events */

a.fc-more {
A
Aigars Silkalns 已提交
757 758 759 760
	margin: 1px 3px;
	font-size: .85em;
	cursor: pointer;
	text-decoration: none;
A
Anthony Mutisya 已提交
761 762 763
}

a.fc-more:hover {
A
Aigars Silkalns 已提交
764
	text-decoration: underline;
A
Anthony Mutisya 已提交
765 766 767
}

.fc-limited { /* rows and cells that are hidden because of a "more" link */
A
Aigars Silkalns 已提交
768
	display: none;
A
Anthony Mutisya 已提交
769 770 771 772 773
}

/* popover that appears when "more" link is clicked */

.fc-day-grid .fc-row {
A
Aigars Silkalns 已提交
774
	z-index: 1; /* make the "more" popover one higher than this */
A
Anthony Mutisya 已提交
775 776 777
}

.fc-more-popover {
A
Aigars Silkalns 已提交
778 779
	z-index: 2;
	width: 220px;
A
Anthony Mutisya 已提交
780 781 782
}

.fc-more-popover .fc-event-container {
A
Aigars Silkalns 已提交
783 784 785 786 787 788 789 790 791 792
	padding: 10px;
}


/* Now Indicator
--------------------------------------------------------------------------------------------------*/

.fc-now-indicator {
	position: absolute;
	border: 0 solid red;
A
Anthony Mutisya 已提交
793 794
}

795 796 797 798 799 800 801 802 803 804 805 806 807 808

/* Utilities
--------------------------------------------------------------------------------------------------*/

.fc-unselectable {
	-webkit-user-select: none;
	 -khtml-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
	-webkit-touch-callout: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

N
#321  
Nicolae Gabriel 已提交
809 810


A
Anthony Mutisya 已提交
811 812 813 814
/* Toolbar
--------------------------------------------------------------------------------------------------*/

.fc-toolbar {
A
Aigars Silkalns 已提交
815
	text-align: center;
N
#321  
Nicolae Gabriel 已提交
816 817 818
}

.fc-toolbar.fc-header-toolbar {
A
Aigars Silkalns 已提交
819
	margin-bottom: 1em;
A
Anthony Mutisya 已提交
820 821
}

N
#321  
Nicolae Gabriel 已提交
822 823 824 825
.fc-toolbar.fc-footer-toolbar {
	margin-top: 1em;
}

A
Anthony Mutisya 已提交
826
.fc-toolbar .fc-left {
A
Aigars Silkalns 已提交
827
	float: left;
A
Anthony Mutisya 已提交
828 829 830
}

.fc-toolbar .fc-right {
A
Aigars Silkalns 已提交
831
	float: right;
A
Anthony Mutisya 已提交
832 833 834
}

.fc-toolbar .fc-center {
A
Aigars Silkalns 已提交
835
	display: inline-block;
A
Anthony Mutisya 已提交
836 837 838 839
}

/* the things within each left/right/center section */
.fc .fc-toolbar > * > * { /* extra precedence to override button border margins */
A
Aigars Silkalns 已提交
840 841
	float: left;
	margin-left: .75em;
A
Anthony Mutisya 已提交
842 843 844 845
}

/* the first thing within each left/center/right section */
.fc .fc-toolbar > * > :first-child { /* extra precedence to override button border margins */
A
Aigars Silkalns 已提交
846
	margin-left: 0;
A
Anthony Mutisya 已提交
847
}
848
	
A
Anthony Mutisya 已提交
849 850 851
/* title text */

.fc-toolbar h2 {
A
Aigars Silkalns 已提交
852
	margin: 0;
A
Anthony Mutisya 已提交
853 854 855 856 857
}

/* button layering (for border precedence) */

.fc-toolbar button {
A
Aigars Silkalns 已提交
858
	position: relative;
A
Anthony Mutisya 已提交
859 860 861 862
}

.fc-toolbar .fc-state-hover,
.fc-toolbar .ui-state-hover {
A
Aigars Silkalns 已提交
863
	z-index: 2;
A
Anthony Mutisya 已提交
864
}
865
	
A
Anthony Mutisya 已提交
866
.fc-toolbar .fc-state-down {
A
Aigars Silkalns 已提交
867
	z-index: 3;
A
Anthony Mutisya 已提交
868 869 870 871
}

.fc-toolbar .fc-state-active,
.fc-toolbar .ui-state-active {
A
Aigars Silkalns 已提交
872
	z-index: 4;
A
Anthony Mutisya 已提交
873 874 875
}

.fc-toolbar button:focus {
A
Aigars Silkalns 已提交
876
	z-index: 5;
A
Anthony Mutisya 已提交
877 878 879 880 881 882 883 884 885 886 887
}


/* View Structure
--------------------------------------------------------------------------------------------------*/

/* undo twitter bootstrap's box-sizing rules. normalizes positioning techniques */
/* don't do this for the toolbar because we'll want bootstrap to style those buttons as some pt */
.fc-view-container *,
.fc-view-container *:before,
.fc-view-container *:after {
A
Aigars Silkalns 已提交
888 889 890
	-webkit-box-sizing: content-box;
	   -moz-box-sizing: content-box;
	        box-sizing: content-box;
A
Anthony Mutisya 已提交
891 892 893 894
}

.fc-view, /* scope positioning and z-index's for everything within the view */
.fc-view > table { /* so dragged elements can be above the view's main element */
A
Aigars Silkalns 已提交
895 896
	position: relative;
	z-index: 1;
A
Anthony Mutisya 已提交
897 898
}

N
#321  
Nicolae Gabriel 已提交
899 900


A
Anthony Mutisya 已提交
901 902 903 904 905 906 907
/* BasicView
--------------------------------------------------------------------------------------------------*/

/* day row structure */

.fc-basicWeek-view .fc-content-skeleton,
.fc-basicDay-view .fc-content-skeleton {
N
#321  
Nicolae Gabriel 已提交
908
	/* there may be week numbers in these views, so no padding-top */
A
Aigars Silkalns 已提交
909
	padding-bottom: 1em; /* ensure a space at bottom of cell for user selecting/clicking */
A
Anthony Mutisya 已提交
910 911
}

A
Aigars Silkalns 已提交
912 913
.fc-basic-view .fc-body .fc-row {
	min-height: 4em; /* ensure that all rows are at least this tall */
A
Anthony Mutisya 已提交
914 915 916 917 918
}

/* a "rigid" row will take up a constant amount of height because content-skeleton is absolute */

.fc-row.fc-rigid {
A
Aigars Silkalns 已提交
919
	overflow: hidden;
A
Anthony Mutisya 已提交
920 921 922
}

.fc-row.fc-rigid .fc-content-skeleton {
A
Aigars Silkalns 已提交
923 924 925 926
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
A
Anthony Mutisya 已提交
927 928 929 930
}

/* week and day number styling */

N
#321  
Nicolae Gabriel 已提交
931 932 933 934
.fc-day-top.fc-other-month {
	opacity: 0.3;
}

A
Anthony Mutisya 已提交
935 936
.fc-basic-view .fc-week-number,
.fc-basic-view .fc-day-number {
N
#321  
Nicolae Gabriel 已提交
937
	padding: 2px;
A
Anthony Mutisya 已提交
938 939
}

N
#321  
Nicolae Gabriel 已提交
940 941 942
.fc-basic-view th.fc-week-number,
.fc-basic-view th.fc-day-number {
	padding: 0 2px; /* column headers can't have as much v space */
A
Anthony Mutisya 已提交
943 944
}

N
#321  
Nicolae Gabriel 已提交
945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960
.fc-ltr .fc-basic-view .fc-day-top .fc-day-number { float: right; }
.fc-rtl .fc-basic-view .fc-day-top .fc-day-number { float: left; }

.fc-ltr .fc-basic-view .fc-day-top .fc-week-number { float: left; border-radius: 0 0 3px 0; }
.fc-rtl .fc-basic-view .fc-day-top .fc-week-number { float: right; border-radius: 0 0 0 3px; }

.fc-basic-view .fc-day-top .fc-week-number {
	min-width: 1.5em;
	text-align: center;
	background-color: #f2f2f2;
	color: #808080;
}

/* when week/day number have own column */

.fc-basic-view td.fc-week-number {
A
Aigars Silkalns 已提交
961
	text-align: center;
A
Anthony Mutisya 已提交
962 963
}

N
#321  
Nicolae Gabriel 已提交
964
.fc-basic-view td.fc-week-number > * {
A
Aigars Silkalns 已提交
965 966 967
	/* work around the way we do column resizing and ensure a minimum width */
	display: inline-block;
	min-width: 1.25em;
A
Anthony Mutisya 已提交
968 969 970 971 972 973 974
}


/* AgendaView all-day area
--------------------------------------------------------------------------------------------------*/

.fc-agenda-view .fc-day-grid {
A
Aigars Silkalns 已提交
975 976
	position: relative;
	z-index: 2; /* so the "more.." popover will be over the time grid */
A
Anthony Mutisya 已提交
977 978 979
}

.fc-agenda-view .fc-day-grid .fc-row {
A
Aigars Silkalns 已提交
980
	min-height: 3em; /* all-day section will never get shorter than this */
A
Anthony Mutisya 已提交
981 982 983
}

.fc-agenda-view .fc-day-grid .fc-row .fc-content-skeleton {
A
Aigars Silkalns 已提交
984
	padding-bottom: 1em; /* give space underneath events for clicking/selecting days */
A
Anthony Mutisya 已提交
985 986 987 988 989 990 991
}


/* TimeGrid axis running down the side (for both the all-day area and the slot area)
--------------------------------------------------------------------------------------------------*/

.fc .fc-axis { /* .fc to overcome default cell styles */
A
Aigars Silkalns 已提交
992 993 994
	vertical-align: middle;
	padding: 0 4px;
	white-space: nowrap;
A
Anthony Mutisya 已提交
995 996 997
}

.fc-ltr .fc-axis {
A
Aigars Silkalns 已提交
998
	text-align: right;
A
Anthony Mutisya 已提交
999 1000 1001
}

.fc-rtl .fc-axis {
A
Aigars Silkalns 已提交
1002
	text-align: left;
A
Anthony Mutisya 已提交
1003 1004 1005
}

.ui-widget td.fc-axis {
A
Aigars Silkalns 已提交
1006
	font-weight: normal; /* overcome jqui theme making it bold */
A
Anthony Mutisya 已提交
1007 1008 1009 1010 1011 1012 1013 1014
}


/* TimeGrid Structure
--------------------------------------------------------------------------------------------------*/

.fc-time-grid-container, /* so scroll container's z-index is below all-day */
.fc-time-grid { /* so slats/bg/content/etc positions get scoped within here */
A
Aigars Silkalns 已提交
1015 1016
	position: relative;
	z-index: 1;
A
Anthony Mutisya 已提交
1017 1018 1019
}

.fc-time-grid {
A
Aigars Silkalns 已提交
1020
	min-height: 100%; /* so if height setting is 'auto', .fc-bg stretches to fill height */
A
Anthony Mutisya 已提交
1021 1022 1023
}

.fc-time-grid table { /* don't put outer borders on slats/bg/content/etc */
A
Aigars Silkalns 已提交
1024
	border: 0 hidden transparent;
A
Anthony Mutisya 已提交
1025 1026 1027
}

.fc-time-grid > .fc-bg {
A
Aigars Silkalns 已提交
1028
	z-index: 1;
A
Anthony Mutisya 已提交
1029 1030 1031 1032
}

.fc-time-grid .fc-slats,
.fc-time-grid > hr { /* the <hr> AgendaView injects when grid is shorter than scroller */
A
Aigars Silkalns 已提交
1033 1034 1035 1036 1037 1038
	position: relative;
	z-index: 2;
}

.fc-time-grid .fc-content-col {
	position: relative; /* because now-indicator lives directly inside */
A
Anthony Mutisya 已提交
1039 1040 1041
}

.fc-time-grid .fc-content-skeleton {
A
Aigars Silkalns 已提交
1042 1043 1044 1045 1046
	position: absolute;
	z-index: 3;
	top: 0;
	left: 0;
	right: 0;
A
Anthony Mutisya 已提交
1047 1048
}

A
Aigars Silkalns 已提交
1049 1050 1051 1052 1053
/* divs within a cell within the fc-content-skeleton */

.fc-time-grid .fc-business-container {
	position: relative;
	z-index: 1;
A
Anthony Mutisya 已提交
1054 1055
}

A
Aigars Silkalns 已提交
1056 1057 1058
.fc-time-grid .fc-bgevent-container {
	position: relative;
	z-index: 2;
A
Anthony Mutisya 已提交
1059 1060
}

A
Aigars Silkalns 已提交
1061 1062 1063 1064 1065 1066 1067 1068
.fc-time-grid .fc-highlight-container {
	position: relative;
	z-index: 3;
}

.fc-time-grid .fc-event-container {
	position: relative;
	z-index: 4;
A
Anthony Mutisya 已提交
1069 1070
}

A
Aigars Silkalns 已提交
1071 1072 1073 1074 1075 1076 1077
.fc-time-grid .fc-now-indicator-line {
	z-index: 5;
}

.fc-time-grid .fc-helper-container { /* also is fc-event-container */
	position: relative;
	z-index: 6;
A
Anthony Mutisya 已提交
1078 1079 1080 1081 1082 1083
}


/* TimeGrid Slats (lines that run horizontally)
--------------------------------------------------------------------------------------------------*/

A
Aigars Silkalns 已提交
1084 1085 1086
.fc-time-grid .fc-slats td {
	height: 1.5em;
	border-bottom: 0; /* each cell is responsible for its top border */
A
Anthony Mutisya 已提交
1087 1088
}

A
Aigars Silkalns 已提交
1089 1090
.fc-time-grid .fc-slats .fc-minor td {
	border-top-style: dotted;
A
Anthony Mutisya 已提交
1091 1092
}

A
Aigars Silkalns 已提交
1093 1094
.fc-time-grid .fc-slats .ui-widget-content { /* for jqui theme */
	background: none; /* see through to fc-bg */
A
Anthony Mutisya 已提交
1095 1096 1097 1098 1099 1100 1101
}


/* TimeGrid Highlighting Slots
--------------------------------------------------------------------------------------------------*/

.fc-time-grid .fc-highlight-container { /* a div within a cell within the fc-highlight-skeleton */
A
Aigars Silkalns 已提交
1102
	position: relative; /* scopes the left/right of the fc-highlight to be in the column */
A
Anthony Mutisya 已提交
1103 1104 1105
}

.fc-time-grid .fc-highlight {
A
Aigars Silkalns 已提交
1106 1107 1108 1109
	position: absolute;
	left: 0;
	right: 0;
	/* top and bottom will be in by JS */
A
Anthony Mutisya 已提交
1110 1111 1112 1113 1114 1115 1116
}


/* TimeGrid Event Containment
--------------------------------------------------------------------------------------------------*/

.fc-ltr .fc-time-grid .fc-event-container { /* space on the sides of events for LTR (default) */
A
Aigars Silkalns 已提交
1117
	margin: 0 2.5% 0 2px;
A
Anthony Mutisya 已提交
1118 1119 1120
}

.fc-rtl .fc-time-grid .fc-event-container { /* space on the sides of events for RTL */
A
Aigars Silkalns 已提交
1121
	margin: 0 2px 0 2.5%;
A
Anthony Mutisya 已提交
1122 1123 1124 1125
}

.fc-time-grid .fc-event,
.fc-time-grid .fc-bgevent {
A
Aigars Silkalns 已提交
1126 1127
	position: absolute;
	z-index: 1; /* scope inner z-index's */
A
Anthony Mutisya 已提交
1128 1129 1130
}

.fc-time-grid .fc-bgevent {
A
Aigars Silkalns 已提交
1131 1132 1133
	/* background events always span full width */
	left: 0;
	right: 0;
A
Anthony Mutisya 已提交
1134 1135 1136
}


A
Aigars Silkalns 已提交
1137 1138
/* Generic Vertical Event
--------------------------------------------------------------------------------------------------*/
A
Anthony Mutisya 已提交
1139

A
Aigars Silkalns 已提交
1140 1141 1142 1143
.fc-v-event.fc-not-start { /* events that are continuing from another day */
	/* replace space made by the top border with padding */
	border-top-width: 0;
	padding-top: 1px;
A
Anthony Mutisya 已提交
1144

A
Aigars Silkalns 已提交
1145 1146 1147
	/* remove top rounded corners */
	border-top-left-radius: 0;
	border-top-right-radius: 0;
A
Anthony Mutisya 已提交
1148 1149
}

A
Aigars Silkalns 已提交
1150 1151 1152 1153
.fc-v-event.fc-not-end {
	/* replace space made by the top border with padding */
	border-bottom-width: 0;
	padding-bottom: 1px;
A
Anthony Mutisya 已提交
1154

A
Aigars Silkalns 已提交
1155 1156 1157
	/* remove bottom rounded corners */
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
A
Anthony Mutisya 已提交
1158 1159 1160
}


A
Aigars Silkalns 已提交
1161 1162 1163 1164 1165 1166 1167 1168
/* TimeGrid Event Styling
----------------------------------------------------------------------------------------------------
We use the full "fc-time-grid-event" class instead of using descendants because the event won't
be a descendant of the grid when it is being dragged.
*/

.fc-time-grid-event {
	overflow: hidden; /* don't let the bg flow over rounded corners */
A
Anthony Mutisya 已提交
1169 1170
}

1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184
.fc-time-grid-event.fc-selected {
	/* need to allow touch resizers to extend outside event's bounding box */
	/* common fc-selected styles hide the fc-bg, so don't need this anyway */
	overflow: visible;
}

.fc-time-grid-event.fc-selected .fc-bg {
	display: none; /* hide semi-white background, to appear darker */
}

.fc-time-grid-event .fc-content {
	overflow: hidden; /* for when .fc-selected */
}

A
Anthony Mutisya 已提交
1185 1186
.fc-time-grid-event .fc-time,
.fc-time-grid-event .fc-title {
A
Aigars Silkalns 已提交
1187
	padding: 0 1px;
A
Anthony Mutisya 已提交
1188 1189 1190
}

.fc-time-grid-event .fc-time {
A
Aigars Silkalns 已提交
1191 1192
	font-size: .85em;
	white-space: nowrap;
A
Anthony Mutisya 已提交
1193 1194 1195 1196 1197
}

/* short mode, where time and title are on the same line */

.fc-time-grid-event.fc-short .fc-content {
A
Aigars Silkalns 已提交
1198 1199
	/* don't wrap to second line (now that contents will be inline) */
	white-space: nowrap;
A
Anthony Mutisya 已提交
1200 1201 1202 1203
}

.fc-time-grid-event.fc-short .fc-time,
.fc-time-grid-event.fc-short .fc-title {
A
Aigars Silkalns 已提交
1204 1205 1206
	/* put the time and title on the same line */
	display: inline-block;
	vertical-align: top;
A
Anthony Mutisya 已提交
1207 1208 1209
}

.fc-time-grid-event.fc-short .fc-time span {
A
Aigars Silkalns 已提交
1210
	display: none; /* don't display the full time text... */
A
Anthony Mutisya 已提交
1211 1212 1213
}

.fc-time-grid-event.fc-short .fc-time:before {
A
Aigars Silkalns 已提交
1214
	content: attr(data-start); /* ...instead, display only the start time */
A
Anthony Mutisya 已提交
1215 1216 1217
}

.fc-time-grid-event.fc-short .fc-time:after {
A
Aigars Silkalns 已提交
1218
	content: "\000A0-\000A0"; /* seperate with a dash, wrapped in nbsp's */
A
Anthony Mutisya 已提交
1219 1220 1221
}

.fc-time-grid-event.fc-short .fc-title {
A
Aigars Silkalns 已提交
1222 1223
	font-size: .85em; /* make the title text the same size as the time */
	padding: 0; /* undo padding from above */
A
Anthony Mutisya 已提交
1224 1225
}

1226
/* resizer (cursor device) */
A
Anthony Mutisya 已提交
1227

C
christianesperar 已提交
1228
.fc-time-grid-event.fc-allow-mouse-resize .fc-resizer {
A
Aigars Silkalns 已提交
1229 1230 1231 1232 1233 1234 1235 1236 1237 1238
	left: 0;
	right: 0;
	bottom: 0;
	height: 8px;
	overflow: hidden;
	line-height: 8px;
	font-size: 11px;
	font-family: monospace;
	text-align: center;
	cursor: s-resize;
A
Anthony Mutisya 已提交
1239 1240
}

C
christianesperar 已提交
1241
.fc-time-grid-event.fc-allow-mouse-resize .fc-resizer:after {
A
Aigars Silkalns 已提交
1242 1243 1244
	content: "=";
}

1245 1246
/* resizer (touch device) */

C
christianesperar 已提交
1247
.fc-time-grid-event.fc-selected .fc-resizer {
1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262
	/* 10x10 dot */
	border-radius: 5px;
	border-width: 1px;
	width: 8px;
	height: 8px;
	border-style: solid;
	border-color: inherit;
	background: #fff;
	/* horizontally center */
	left: 50%;
	margin-left: -5px;
	/* center on the bottom edge */
	bottom: -5px;
}

A
Aigars Silkalns 已提交
1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292

/* Now Indicator
--------------------------------------------------------------------------------------------------*/

.fc-time-grid .fc-now-indicator-line {
	border-top-width: 1px;
	left: 0;
	right: 0;
}

/* arrow on axis */

.fc-time-grid .fc-now-indicator-arrow {
	margin-top: -5px; /* vertically center on top coordinate */
}

.fc-ltr .fc-time-grid .fc-now-indicator-arrow {
	left: 0;
	/* triangle pointing right... */
	border-width: 5px 0 5px 6px;
	border-top-color: transparent;
	border-bottom-color: transparent;
}

.fc-rtl .fc-time-grid .fc-now-indicator-arrow {
	right: 0;
	/* triangle pointing left... */
	border-width: 5px 6px 5px 0;
	border-top-color: transparent;
	border-bottom-color: transparent;
A
Anthony Mutisya 已提交
1293
}
N
#321  
Nicolae Gabriel 已提交
1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406



/* List View
--------------------------------------------------------------------------------------------------*/

/* possibly reusable */

.fc-event-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 5px;
}

/* view wrapper */

.fc-rtl .fc-list-view {
	direction: rtl; /* unlike core views, leverage browser RTL */
}

.fc-list-view {
	border-width: 1px;
	border-style: solid;
}

/* table resets */

.fc .fc-list-table {
	table-layout: auto; /* for shrinkwrapping cell content */
}

.fc-list-table td {
	border-width: 1px 0 0;
	padding: 8px 14px;
}

.fc-list-table tr:first-child td {
	border-top-width: 0;
}

/* day headings with the list */

.fc-list-heading {
	border-bottom-width: 1px;
}

.fc-list-heading td {
	font-weight: bold;
}

.fc-ltr .fc-list-heading-main { float: left; }
.fc-ltr .fc-list-heading-alt { float: right; }

.fc-rtl .fc-list-heading-main { float: right; }
.fc-rtl .fc-list-heading-alt { float: left; }

/* event list items */

.fc-list-item.fc-has-url {
	cursor: pointer; /* whole row will be clickable */
}

.fc-list-item:hover td {
	background-color: #f5f5f5;
}

.fc-list-item-marker,
.fc-list-item-time {
	white-space: nowrap;
	width: 1px;
}

/* make the dot closer to the event title */
.fc-ltr .fc-list-item-marker { padding-right: 0; }
.fc-rtl .fc-list-item-marker { padding-left: 0; }

.fc-list-item-title a {
	/* every event title cell has an <a> tag */
	text-decoration: none;
	color: inherit;
}

.fc-list-item-title a[href]:hover {
	/* hover effect only on titles with hrefs */
	text-decoration: underline;
}

/* message when no events */

.fc-list-empty-wrap2 {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.fc-list-empty-wrap1 {
	width: 100%;
	height: 100%;
	display: table;
}

.fc-list-empty {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.fc-unthemed .fc-list-empty { /* theme will provide own background */
	background-color: #eee;
}