fullcalendar.css 27.9 KB
Newer Older
A
Anthony Mutisya 已提交
1
/*!
C
christianesperar 已提交
2
 * FullCalendar v2.7.3 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

A
Anthony Mutisya 已提交
25 26 27 28
.fc-unthemed th,
.fc-unthemed td,
.fc-unthemed thead,
.fc-unthemed tbody,
A
Aigars Silkalns 已提交
29
.fc-unthemed .fc-divider,
A
Anthony Mutisya 已提交
30
.fc-unthemed .fc-row,
31
.fc-unthemed .fc-content, /* for gutter border */
A
Anthony Mutisya 已提交
32
.fc-unthemed .fc-popover {
A
Aigars Silkalns 已提交
33
	border-color: #ddd;
A
Anthony Mutisya 已提交
34 35 36
}

.fc-unthemed .fc-popover {
A
Aigars Silkalns 已提交
37
	background-color: #fff;
A
Anthony Mutisya 已提交
38 39
}

A
Aigars Silkalns 已提交
40
.fc-unthemed .fc-divider,
A
Anthony Mutisya 已提交
41
.fc-unthemed .fc-popover .fc-header {
A
Aigars Silkalns 已提交
42
	background: #eee;
A
Anthony Mutisya 已提交
43 44 45
}

.fc-unthemed .fc-popover .fc-header .fc-close {
A
Aigars Silkalns 已提交
46
	color: #666;
A
Anthony Mutisya 已提交
47 48 49
}

.fc-unthemed .fc-today {
A
Aigars Silkalns 已提交
50
	background: #fcf8e3;
A
Anthony Mutisya 已提交
51 52 53
}

.fc-highlight { /* when user is selecting cells */
A
Aigars Silkalns 已提交
54 55 56
	background: #bce8f1;
	opacity: .3;
	filter: alpha(opacity=30); /* for IE */
A
Anthony Mutisya 已提交
57 58 59
}

.fc-bgevent { /* default look for background events */
A
Aigars Silkalns 已提交
60 61 62
	background: rgb(143, 223, 130);
	opacity: .3;
	filter: alpha(opacity=30); /* for IE */
A
Anthony Mutisya 已提交
63 64 65
}

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


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

.fc-icon {
A
Aigars Silkalns 已提交
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
	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 已提交
102 103 104
}

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

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

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

.fc-icon-right-double-arrow:after {
A
Aigars Silkalns 已提交
125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145
	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 已提交
146 147 148
}

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


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

.fc button {
A
Aigars Silkalns 已提交
159 160 161 162 163 164 165 166 167 168 169 170 171 172
	/* 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 已提交
173 174 175 176
}

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

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

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

/* icons in buttons */

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

A
Aigars Silkalns 已提交
206 207
.fc-state-default {
	background-color: #f5f5f5;
208 209 210
	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 已提交
211
	background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
212 213
	background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
	background-repeat: repeat-x;
A
Aigars Silkalns 已提交
214 215
	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);
216 217 218
	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 已提交
219
}
A
Anthony Mutisya 已提交
220 221 222 223 224

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

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

A
Aigars Silkalns 已提交
239 240 241 242 243 244
.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 已提交
245 246

.fc-state-disabled {
A
Aigars Silkalns 已提交
247 248 249 250 251
	cursor: default;
	background-image: none;
	opacity: 0.65;
	filter: alpha(opacity=65);
	box-shadow: none;
A
Anthony Mutisya 已提交
252 253 254 255 256 257 258
}


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

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

/*
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 已提交
268 269
	float: left;
	margin: 0 0 0 -1px;
A
Anthony Mutisya 已提交
270 271 272
}

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


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

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

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

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

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

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

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

/* unthemed */

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

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

/* jqui themed */

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


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

A
Aigars Silkalns 已提交
329 330 331 332 333 334 335 336 337 338
.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 已提交
339 340 341
}

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

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

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

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


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

.fc table {
A
Aigars Silkalns 已提交
369 370 371 372 373
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 1em; /* normalize cross-browser */
A
Anthony Mutisya 已提交
374 375 376
}

.fc th {
A
Aigars Silkalns 已提交
377
	text-align: center;
A
Anthony Mutisya 已提交
378 379 380 381
}

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

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


/* Fake Table Rows
--------------------------------------------------------------------------------------------------*/

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

.fc-row table {
A
Aigars Silkalns 已提交
403 404 405 406
	/* 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 已提交
407

A
Aigars Silkalns 已提交
408
	/* no bottom borders on rows */
409
	border-bottom: 0 hidden transparent; 
A
Anthony Mutisya 已提交
410 411 412
}

.fc-row:first-child table {
A
Aigars Silkalns 已提交
413
	border-top: 0 hidden transparent; /* no top border on first row */
A
Anthony Mutisya 已提交
414 415 416 417 418 419 420
}


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

.fc-row {
A
Aigars Silkalns 已提交
421
	position: relative;
A
Anthony Mutisya 已提交
422 423 424
}

.fc-row .fc-bg {
A
Aigars Silkalns 已提交
425
	z-index: 1;
A
Anthony Mutisya 已提交
426 427 428 429 430 431
}

/* highlighting cells & background event skeleton */

.fc-row .fc-bgevent-skeleton,
.fc-row .fc-highlight-skeleton {
A
Aigars Silkalns 已提交
432
	bottom: 0; /* stretch skeleton to bottom of row */
A
Anthony Mutisya 已提交
433 434 435 436
}

.fc-row .fc-bgevent-skeleton table,
.fc-row .fc-highlight-skeleton table {
A
Aigars Silkalns 已提交
437
	height: 100%; /* stretch skeleton to bottom of row */
A
Anthony Mutisya 已提交
438 439 440 441
}

.fc-row .fc-highlight-skeleton td,
.fc-row .fc-bgevent-skeleton td {
A
Aigars Silkalns 已提交
442
	border-color: transparent;
A
Anthony Mutisya 已提交
443 444 445
}

.fc-row .fc-bgevent-skeleton {
A
Aigars Silkalns 已提交
446
	z-index: 2;
A
Anthony Mutisya 已提交
447 448 449 450

}

.fc-row .fc-highlight-skeleton {
A
Aigars Silkalns 已提交
451
	z-index: 3;
A
Anthony Mutisya 已提交
452 453 454 455 456 457 458 459
}

/*
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 已提交
460 461 462
	position: relative;
	z-index: 4;
	padding-bottom: 2px; /* matches the space above the events */
A
Anthony Mutisya 已提交
463 464 465
}

.fc-row .fc-helper-skeleton {
A
Aigars Silkalns 已提交
466
	z-index: 5;
A
Anthony Mutisya 已提交
467 468 469 470
}

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

A
Aigars Silkalns 已提交
475 476
	/* don't put a border between events and/or the day number */
	border-bottom: 0;
A
Anthony Mutisya 已提交
477 478 479 480
}

.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 已提交
481 482
	/* don't put a border between event cells */
	border-top: 0;
A
Anthony Mutisya 已提交
483 484 485 486 487 488
}


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

489 490
.fc-scroller {
	-webkit-overflow-scrolling: touch;
A
Anthony Mutisya 已提交
491 492
}

493 494 495
/* TODO: move to agenda/basic */
.fc-scroller > .fc-day-grid,
.fc-scroller > .fc-time-grid {
A
Aigars Silkalns 已提交
496 497
	position: relative; /* re-scope all positions */
	width: 100%; /* hack to force re-sizing this inner element when scrollbars appear/disappear */
A
Anthony Mutisya 已提交
498 499 500 501 502 503 504
}


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

.fc-event {
A
Aigars Silkalns 已提交
505 506 507 508 509 510 511 512
	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 */
	background-color: #3a87ad; /* default BACKGROUND color */
	font-weight: normal; /* undo jqui's ui-widget-header bold */
A
Anthony Mutisya 已提交
513 514 515 516 517 518
}

/* overpower some of bootstrap's and jqui's styles on <a> tags */
.fc-event,
.fc-event:hover,
.ui-widget .fc-event {
A
Aigars Silkalns 已提交
519 520
	color: #fff; /* default TEXT color */
	text-decoration: none; /* if <a> has an href */
A
Anthony Mutisya 已提交
521 522 523 524
}

.fc-event[href],
.fc-event.fc-draggable {
A
Aigars Silkalns 已提交
525
	cursor: pointer; /* give events with links and draggable events a hand mouse pointer */
A
Anthony Mutisya 已提交
526 527 528 529
}

.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 已提交
530
	cursor: not-allowed;
A
Anthony Mutisya 已提交
531 532
}

A
Aigars Silkalns 已提交
533 534 535 536 537 538
.fc-event .fc-bg { /* the generic .fc-bg already does position */
	z-index: 1;
	background: #fff;
	opacity: .25;
	filter: alpha(opacity=25); /* for IE */
}
A
Anthony Mutisya 已提交
539

A
Aigars Silkalns 已提交
540 541 542 543
.fc-event .fc-content {
	position: relative;
	z-index: 2;
}
A
Anthony Mutisya 已提交
544

545 546
/* resizer (cursor AND touch devices) */

A
Aigars Silkalns 已提交
547 548
.fc-event .fc-resizer {
	position: absolute;
549 550 551 552 553
	z-index: 4;
}

/* resizer (touch devices) */

C
christianesperar 已提交
554 555
.fc-event .fc-resizer {
	display: none;
556 557
}

C
christianesperar 已提交
558 559 560
.fc-event.fc-allow-mouse-resize .fc-resizer,
.fc-event.fc-selected .fc-resizer {
	/* only show when hovering or selected (with touch) */
561 562 563
	display: block;
}

C
christianesperar 已提交
564
/* hit area */
565

C
christianesperar 已提交
566
.fc-event.fc-selected .fc-resizer:before {
567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589
	/* 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 已提交
590 591
}

A
Aigars Silkalns 已提交
592 593 594 595

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

596 597 598 599 600 601 602 603 604 605 606
/* 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 已提交
607 608
/* events that are continuing to/from another week. kill rounded corners and butt up against edge */

A
Aigars Silkalns 已提交
609 610 611 612 613 614 615
.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 已提交
616 617
}

A
Aigars Silkalns 已提交
618 619 620 621 622 623 624
.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 已提交
625 626
}

627
/* resizer (cursor AND touch devices) */
A
Anthony Mutisya 已提交
628

A
Aigars Silkalns 已提交
629 630
/* left resizer  */
.fc-ltr .fc-h-event .fc-start-resizer,
631
.fc-rtl .fc-h-event .fc-end-resizer {
A
Aigars Silkalns 已提交
632
	cursor: w-resize;
633
	left: -1px; /* overcome border */
A
Aigars Silkalns 已提交
634 635 636 637
}

/* right resizer */
.fc-ltr .fc-h-event .fc-end-resizer,
638
.fc-rtl .fc-h-event .fc-start-resizer {
A
Aigars Silkalns 已提交
639
	cursor: e-resize;
640 641 642
	right: -1px; /* overcome border */
}

C
christianesperar 已提交
643
/* resizer (mouse devices) */
644

C
christianesperar 已提交
645
.fc-h-event.fc-allow-mouse-resize .fc-resizer {
646 647 648 649 650 651 652
	width: 7px;
	top: -1px; /* overcome top border */
	bottom: -1px; /* overcome bottom border */
}

/* resizer (touch devices) */

C
christianesperar 已提交
653
.fc-h-event.fc-selected .fc-resizer {
654 655 656 657 658 659 660 661 662 663 664 665 666 667
	/* 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 已提交
668 669
.fc-ltr .fc-h-event.fc-selected .fc-start-resizer,
.fc-rtl .fc-h-event.fc-selected .fc-end-resizer {
670 671 672 673
	margin-left: -4px; /* centers the 8x8 dot on the left edge */
}

/* right resizer */
C
christianesperar 已提交
674 675
.fc-ltr .fc-h-event.fc-selected .fc-end-resizer,
.fc-rtl .fc-h-event.fc-selected .fc-start-resizer {
676
	margin-right: -4px; /* centers the 8x8 dot on the right edge */
A
Anthony Mutisya 已提交
677 678 679
}


A
Aigars Silkalns 已提交
680 681 682 683 684 685 686 687 688
/* 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 已提交
689 690
}

691 692 693 694 695 696 697 698 699 700 701 702 703 704
.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;
	filter: alpha(opacity=25); /* for IE */
}
A
Aigars Silkalns 已提交
705 706 707 708

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

A
Aigars Silkalns 已提交
711 712 713 714
.fc-day-grid-event .fc-time {
	font-weight: bold;
}

715 716 717
/* resizer (cursor devices) */

/* left resizer  */
C
christianesperar 已提交
718 719
.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 {
720 721 722 723
	margin-left: -2px; /* to the day cell's edge */
}

/* right resizer */
C
christianesperar 已提交
724 725
.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 {
726
	margin-right: -2px; /* to the day cell's edge */
A
Anthony Mutisya 已提交
727 728 729 730 731 732 733 734 735
}


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

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

a.fc-more {
A
Aigars Silkalns 已提交
736 737 738 739
	margin: 1px 3px;
	font-size: .85em;
	cursor: pointer;
	text-decoration: none;
A
Anthony Mutisya 已提交
740 741 742
}

a.fc-more:hover {
A
Aigars Silkalns 已提交
743
	text-decoration: underline;
A
Anthony Mutisya 已提交
744 745 746
}

.fc-limited { /* rows and cells that are hidden because of a "more" link */
A
Aigars Silkalns 已提交
747
	display: none;
A
Anthony Mutisya 已提交
748 749 750 751 752
}

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

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

.fc-more-popover {
A
Aigars Silkalns 已提交
757 758
	z-index: 2;
	width: 220px;
A
Anthony Mutisya 已提交
759 760 761
}

.fc-more-popover .fc-event-container {
A
Aigars Silkalns 已提交
762 763 764 765 766 767 768 769 770 771
	padding: 10px;
}


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

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

774 775 776 777 778 779 780 781 782 783 784 785 786 787

/* 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);
}

A
Anthony Mutisya 已提交
788 789 790 791
/* Toolbar
--------------------------------------------------------------------------------------------------*/

.fc-toolbar {
A
Aigars Silkalns 已提交
792 793
	text-align: center;
	margin-bottom: 1em;
A
Anthony Mutisya 已提交
794 795 796
}

.fc-toolbar .fc-left {
A
Aigars Silkalns 已提交
797
	float: left;
A
Anthony Mutisya 已提交
798 799 800
}

.fc-toolbar .fc-right {
A
Aigars Silkalns 已提交
801
	float: right;
A
Anthony Mutisya 已提交
802 803 804
}

.fc-toolbar .fc-center {
A
Aigars Silkalns 已提交
805
	display: inline-block;
A
Anthony Mutisya 已提交
806 807 808 809
}

/* the things within each left/right/center section */
.fc .fc-toolbar > * > * { /* extra precedence to override button border margins */
A
Aigars Silkalns 已提交
810 811
	float: left;
	margin-left: .75em;
A
Anthony Mutisya 已提交
812 813 814 815
}

/* the first thing within each left/center/right section */
.fc .fc-toolbar > * > :first-child { /* extra precedence to override button border margins */
A
Aigars Silkalns 已提交
816
	margin-left: 0;
A
Anthony Mutisya 已提交
817
}
818
	
A
Anthony Mutisya 已提交
819 820 821
/* title text */

.fc-toolbar h2 {
A
Aigars Silkalns 已提交
822
	margin: 0;
A
Anthony Mutisya 已提交
823 824 825 826 827
}

/* button layering (for border precedence) */

.fc-toolbar button {
A
Aigars Silkalns 已提交
828
	position: relative;
A
Anthony Mutisya 已提交
829 830 831 832
}

.fc-toolbar .fc-state-hover,
.fc-toolbar .ui-state-hover {
A
Aigars Silkalns 已提交
833
	z-index: 2;
A
Anthony Mutisya 已提交
834
}
835
	
A
Anthony Mutisya 已提交
836
.fc-toolbar .fc-state-down {
A
Aigars Silkalns 已提交
837
	z-index: 3;
A
Anthony Mutisya 已提交
838 839 840 841
}

.fc-toolbar .fc-state-active,
.fc-toolbar .ui-state-active {
A
Aigars Silkalns 已提交
842
	z-index: 4;
A
Anthony Mutisya 已提交
843 844 845
}

.fc-toolbar button:focus {
A
Aigars Silkalns 已提交
846
	z-index: 5;
A
Anthony Mutisya 已提交
847 848 849 850 851 852 853 854 855 856 857
}


/* 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 已提交
858 859 860
	-webkit-box-sizing: content-box;
	   -moz-box-sizing: content-box;
	        box-sizing: content-box;
A
Anthony Mutisya 已提交
861 862 863 864
}

.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 已提交
865 866
	position: relative;
	z-index: 1;
A
Anthony Mutisya 已提交
867 868 869 870 871 872 873 874 875
}

/* BasicView
--------------------------------------------------------------------------------------------------*/

/* day row structure */

.fc-basicWeek-view .fc-content-skeleton,
.fc-basicDay-view .fc-content-skeleton {
A
Aigars Silkalns 已提交
876 877 878
	/* we are sure there are no day numbers in these views, so... */
	padding-top: 1px; /* add a pixel to make sure there are 2px padding above events */
	padding-bottom: 1em; /* ensure a space at bottom of cell for user selecting/clicking */
A
Anthony Mutisya 已提交
879 880
}

A
Aigars Silkalns 已提交
881 882
.fc-basic-view .fc-body .fc-row {
	min-height: 4em; /* ensure that all rows are at least this tall */
A
Anthony Mutisya 已提交
883 884 885 886 887
}

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

.fc-row.fc-rigid {
A
Aigars Silkalns 已提交
888
	overflow: hidden;
A
Anthony Mutisya 已提交
889 890 891
}

.fc-row.fc-rigid .fc-content-skeleton {
A
Aigars Silkalns 已提交
892 893 894 895
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
A
Anthony Mutisya 已提交
896 897 898 899 900 901
}

/* week and day number styling */

.fc-basic-view .fc-week-number,
.fc-basic-view .fc-day-number {
A
Aigars Silkalns 已提交
902
	padding: 0 2px;
A
Anthony Mutisya 已提交
903 904 905 906
}

.fc-basic-view td.fc-week-number span,
.fc-basic-view td.fc-day-number {
A
Aigars Silkalns 已提交
907 908
	padding-top: 2px;
	padding-bottom: 2px;
A
Anthony Mutisya 已提交
909 910 911
}

.fc-basic-view .fc-week-number {
A
Aigars Silkalns 已提交
912
	text-align: center;
A
Anthony Mutisya 已提交
913 914 915
}

.fc-basic-view .fc-week-number span {
A
Aigars Silkalns 已提交
916 917 918
	/* work around the way we do column resizing and ensure a minimum width */
	display: inline-block;
	min-width: 1.25em;
A
Anthony Mutisya 已提交
919 920 921
}

.fc-ltr .fc-basic-view .fc-day-number {
A
Aigars Silkalns 已提交
922
	text-align: right;
A
Anthony Mutisya 已提交
923 924 925
}

.fc-rtl .fc-basic-view .fc-day-number {
A
Aigars Silkalns 已提交
926
	text-align: left;
A
Anthony Mutisya 已提交
927 928 929
}

.fc-day-number.fc-other-month {
A
Aigars Silkalns 已提交
930 931 932 933 934
	opacity: 0.3;
	filter: alpha(opacity=30); /* for IE */
	/* opacity with small font can sometimes look too faded
	   might want to set the 'color' property instead
	   making day-numbers bold also fixes the problem */
A
Anthony Mutisya 已提交
935 936 937 938 939 940
}

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

.fc-agenda-view .fc-day-grid {
A
Aigars Silkalns 已提交
941 942
	position: relative;
	z-index: 2; /* so the "more.." popover will be over the time grid */
A
Anthony Mutisya 已提交
943 944 945
}

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

.fc-agenda-view .fc-day-grid .fc-row .fc-content-skeleton {
A
Aigars Silkalns 已提交
950 951
	padding-top: 1px; /* add a pixel to make sure there are 2px padding above events */
	padding-bottom: 1em; /* give space underneath events for clicking/selecting days */
A
Anthony Mutisya 已提交
952 953 954 955 956 957 958
}


/* 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 已提交
959 960 961
	vertical-align: middle;
	padding: 0 4px;
	white-space: nowrap;
A
Anthony Mutisya 已提交
962 963 964
}

.fc-ltr .fc-axis {
A
Aigars Silkalns 已提交
965
	text-align: right;
A
Anthony Mutisya 已提交
966 967 968
}

.fc-rtl .fc-axis {
A
Aigars Silkalns 已提交
969
	text-align: left;
A
Anthony Mutisya 已提交
970 971 972
}

.ui-widget td.fc-axis {
A
Aigars Silkalns 已提交
973
	font-weight: normal; /* overcome jqui theme making it bold */
A
Anthony Mutisya 已提交
974 975 976 977 978 979 980 981
}


/* 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 已提交
982 983
	position: relative;
	z-index: 1;
A
Anthony Mutisya 已提交
984 985 986
}

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

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

.fc-time-grid > .fc-bg {
A
Aigars Silkalns 已提交
995
	z-index: 1;
A
Anthony Mutisya 已提交
996 997 998 999
}

.fc-time-grid .fc-slats,
.fc-time-grid > hr { /* the <hr> AgendaView injects when grid is shorter than scroller */
A
Aigars Silkalns 已提交
1000 1001 1002 1003 1004 1005
	position: relative;
	z-index: 2;
}

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

.fc-time-grid .fc-content-skeleton {
A
Aigars Silkalns 已提交
1009 1010 1011 1012 1013
	position: absolute;
	z-index: 3;
	top: 0;
	left: 0;
	right: 0;
A
Anthony Mutisya 已提交
1014 1015
}

A
Aigars Silkalns 已提交
1016 1017 1018 1019 1020
/* divs within a cell within the fc-content-skeleton */

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

A
Aigars Silkalns 已提交
1023 1024 1025
.fc-time-grid .fc-bgevent-container {
	position: relative;
	z-index: 2;
A
Anthony Mutisya 已提交
1026 1027
}

A
Aigars Silkalns 已提交
1028 1029 1030 1031 1032 1033 1034 1035
.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 已提交
1036 1037
}

A
Aigars Silkalns 已提交
1038 1039 1040 1041 1042 1043 1044
.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 已提交
1045 1046 1047 1048 1049 1050
}


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

A
Aigars Silkalns 已提交
1051 1052 1053
.fc-time-grid .fc-slats td {
	height: 1.5em;
	border-bottom: 0; /* each cell is responsible for its top border */
A
Anthony Mutisya 已提交
1054 1055
}

A
Aigars Silkalns 已提交
1056 1057
.fc-time-grid .fc-slats .fc-minor td {
	border-top-style: dotted;
A
Anthony Mutisya 已提交
1058 1059
}

A
Aigars Silkalns 已提交
1060 1061
.fc-time-grid .fc-slats .ui-widget-content { /* for jqui theme */
	background: none; /* see through to fc-bg */
A
Anthony Mutisya 已提交
1062 1063 1064 1065 1066 1067 1068
}


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

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

.fc-time-grid .fc-highlight {
A
Aigars Silkalns 已提交
1073 1074 1075 1076
	position: absolute;
	left: 0;
	right: 0;
	/* top and bottom will be in by JS */
A
Anthony Mutisya 已提交
1077 1078 1079 1080 1081 1082 1083
}


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

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

.fc-rtl .fc-time-grid .fc-event-container { /* space on the sides of events for RTL */
A
Aigars Silkalns 已提交
1088
	margin: 0 2px 0 2.5%;
A
Anthony Mutisya 已提交
1089 1090 1091 1092
}

.fc-time-grid .fc-event,
.fc-time-grid .fc-bgevent {
A
Aigars Silkalns 已提交
1093 1094
	position: absolute;
	z-index: 1; /* scope inner z-index's */
A
Anthony Mutisya 已提交
1095 1096 1097
}

.fc-time-grid .fc-bgevent {
A
Aigars Silkalns 已提交
1098 1099 1100
	/* background events always span full width */
	left: 0;
	right: 0;
A
Anthony Mutisya 已提交
1101 1102 1103
}


A
Aigars Silkalns 已提交
1104 1105
/* Generic Vertical Event
--------------------------------------------------------------------------------------------------*/
A
Anthony Mutisya 已提交
1106

A
Aigars Silkalns 已提交
1107 1108 1109 1110
.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 已提交
1111

A
Aigars Silkalns 已提交
1112 1113 1114
	/* remove top rounded corners */
	border-top-left-radius: 0;
	border-top-right-radius: 0;
A
Anthony Mutisya 已提交
1115 1116
}

A
Aigars Silkalns 已提交
1117 1118 1119 1120
.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 已提交
1121

A
Aigars Silkalns 已提交
1122 1123 1124
	/* remove bottom rounded corners */
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
A
Anthony Mutisya 已提交
1125 1126 1127
}


A
Aigars Silkalns 已提交
1128 1129 1130 1131 1132 1133 1134 1135
/* 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 已提交
1136 1137
}

1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151
.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 已提交
1152 1153
.fc-time-grid-event .fc-time,
.fc-time-grid-event .fc-title {
A
Aigars Silkalns 已提交
1154
	padding: 0 1px;
A
Anthony Mutisya 已提交
1155 1156 1157
}

.fc-time-grid-event .fc-time {
A
Aigars Silkalns 已提交
1158 1159
	font-size: .85em;
	white-space: nowrap;
A
Anthony Mutisya 已提交
1160 1161 1162 1163 1164
}

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

.fc-time-grid-event.fc-short .fc-content {
A
Aigars Silkalns 已提交
1165 1166
	/* don't wrap to second line (now that contents will be inline) */
	white-space: nowrap;
A
Anthony Mutisya 已提交
1167 1168 1169 1170
}

.fc-time-grid-event.fc-short .fc-time,
.fc-time-grid-event.fc-short .fc-title {
A
Aigars Silkalns 已提交
1171 1172 1173
	/* put the time and title on the same line */
	display: inline-block;
	vertical-align: top;
A
Anthony Mutisya 已提交
1174 1175 1176
}

.fc-time-grid-event.fc-short .fc-time span {
A
Aigars Silkalns 已提交
1177
	display: none; /* don't display the full time text... */
A
Anthony Mutisya 已提交
1178 1179 1180
}

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

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

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

1193
/* resizer (cursor device) */
A
Anthony Mutisya 已提交
1194

C
christianesperar 已提交
1195
.fc-time-grid-event.fc-allow-mouse-resize .fc-resizer {
A
Aigars Silkalns 已提交
1196 1197 1198 1199 1200 1201 1202 1203 1204 1205
	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 已提交
1206 1207
}

C
christianesperar 已提交
1208
.fc-time-grid-event.fc-allow-mouse-resize .fc-resizer:after {
A
Aigars Silkalns 已提交
1209 1210 1211
	content: "=";
}

1212 1213
/* resizer (touch device) */

C
christianesperar 已提交
1214
.fc-time-grid-event.fc-selected .fc-resizer {
1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229
	/* 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 已提交
1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259

/* 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 已提交
1260
}