You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1468 lines
40KB

  1. /* classes attached to <body> */
  2. /* TODO: make fc-event selector work when calender in shadow DOM */
  3. .fc-not-allowed,
  4. .fc-not-allowed .fc-event { /* override events' custom cursors */
  5. cursor: not-allowed;
  6. }
  7. /* TODO: not attached to body. attached to specific els. move */
  8. .fc-unselectable {
  9. -webkit-user-select: none;
  10. -moz-user-select: none;
  11. -ms-user-select: none;
  12. user-select: none;
  13. -webkit-touch-callout: none;
  14. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  15. }
  16. .fc {
  17. /* layout of immediate children */
  18. display: flex;
  19. flex-direction: column;
  20. font-size: 1em
  21. }
  22. .fc,
  23. .fc *,
  24. .fc *:before,
  25. .fc *:after {
  26. box-sizing: border-box;
  27. }
  28. .fc table {
  29. border-collapse: collapse;
  30. border-spacing: 0;
  31. font-size: 1em; /* normalize cross-browser */
  32. }
  33. .fc th {
  34. text-align: center;
  35. }
  36. .fc th,
  37. .fc td {
  38. vertical-align: top;
  39. padding: 0;
  40. }
  41. .fc a[data-navlink] {
  42. cursor: pointer;
  43. }
  44. .fc a[data-navlink]:hover {
  45. text-decoration: underline;
  46. }
  47. .fc-direction-ltr {
  48. direction: ltr;
  49. text-align: left;
  50. }
  51. .fc-direction-rtl {
  52. direction: rtl;
  53. text-align: right;
  54. }
  55. .fc-theme-standard td,
  56. .fc-theme-standard th {
  57. border: 1px solid #ddd;
  58. border: 1px solid var(--fc-border-color, #ddd);
  59. }
  60. /* for FF, which doesn't expand a 100% div within a table cell. use absolute positioning */
  61. /* inner-wrappers are responsible for being absolute */
  62. /* TODO: best place for this? */
  63. .fc-liquid-hack td,
  64. .fc-liquid-hack th {
  65. position: relative;
  66. }
  67. @font-face {
  68. font-family: 'fcicons';
  69. src: url("data:application/x-font-ttf;charset=utf-8;base64,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") format('truetype');
  70. font-weight: normal;
  71. font-style: normal;
  72. }
  73. .fc-icon {
  74. /* added for fc */
  75. display: inline-block;
  76. width: 1em;
  77. height: 1em;
  78. text-align: center;
  79. -webkit-user-select: none;
  80. -moz-user-select: none;
  81. -ms-user-select: none;
  82. user-select: none;
  83. /* use !important to prevent issues with browser extensions that change fonts */
  84. font-family: 'fcicons' !important;
  85. speak: none;
  86. font-style: normal;
  87. font-weight: normal;
  88. font-variant: normal;
  89. text-transform: none;
  90. line-height: 1;
  91. /* Better Font Rendering =========== */
  92. -webkit-font-smoothing: antialiased;
  93. -moz-osx-font-smoothing: grayscale;
  94. }
  95. .fc-icon-chevron-left:before {
  96. content: "\e900";
  97. }
  98. .fc-icon-chevron-right:before {
  99. content: "\e901";
  100. }
  101. .fc-icon-chevrons-left:before {
  102. content: "\e902";
  103. }
  104. .fc-icon-chevrons-right:before {
  105. content: "\e903";
  106. }
  107. .fc-icon-minus-square:before {
  108. content: "\e904";
  109. }
  110. .fc-icon-plus-square:before {
  111. content: "\e905";
  112. }
  113. .fc-icon-x:before {
  114. content: "\e906";
  115. }
  116. /*
  117. Lots taken from Flatly (MIT): https://bootswatch.com/4/flatly/bootstrap.css
  118. These styles only apply when the standard-theme is activated.
  119. When it's NOT activated, the fc-button classes won't even be in the DOM.
  120. */
  121. .fc {
  122. /* reset */
  123. }
  124. .fc .fc-button {
  125. border-radius: 0;
  126. overflow: visible;
  127. text-transform: none;
  128. margin: 0;
  129. font-family: inherit;
  130. font-size: inherit;
  131. line-height: inherit;
  132. }
  133. .fc .fc-button:focus {
  134. outline: 1px dotted;
  135. outline: 5px auto -webkit-focus-ring-color;
  136. }
  137. .fc .fc-button {
  138. -webkit-appearance: button;
  139. }
  140. .fc .fc-button:not(:disabled) {
  141. cursor: pointer;
  142. }
  143. .fc .fc-button::-moz-focus-inner {
  144. padding: 0;
  145. border-style: none;
  146. }
  147. .fc {
  148. /* theme */
  149. }
  150. .fc .fc-button {
  151. display: inline-block;
  152. font-weight: 400;
  153. text-align: center;
  154. vertical-align: middle;
  155. -webkit-user-select: none;
  156. -moz-user-select: none;
  157. -ms-user-select: none;
  158. user-select: none;
  159. background-color: transparent;
  160. border: 1px solid transparent;
  161. padding: 0.4em 0.65em;
  162. font-size: 1em;
  163. line-height: 1.5;
  164. border-radius: 0.25em;
  165. }
  166. .fc .fc-button:hover {
  167. text-decoration: none;
  168. }
  169. .fc .fc-button:focus {
  170. outline: 0;
  171. box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
  172. }
  173. .fc .fc-button:disabled {
  174. opacity: 0.65;
  175. }
  176. .fc {
  177. /* "primary" coloring */
  178. }
  179. .fc .fc-button-primary {
  180. color: #fff;
  181. color: var(--fc-button-text-color, #fff);
  182. background-color: #2C3E50;
  183. background-color: var(--fc-button-bg-color, #2C3E50);
  184. border-color: #2C3E50;
  185. border-color: var(--fc-button-border-color, #2C3E50);
  186. }
  187. .fc .fc-button-primary:hover {
  188. color: #fff;
  189. color: var(--fc-button-text-color, #fff);
  190. background-color: #1e2b37;
  191. background-color: var(--fc-button-hover-bg-color, #1e2b37);
  192. border-color: #1a252f;
  193. border-color: var(--fc-button-hover-border-color, #1a252f);
  194. }
  195. .fc .fc-button-primary:disabled { /* not DRY */
  196. color: #fff;
  197. color: var(--fc-button-text-color, #fff);
  198. background-color: #2C3E50;
  199. background-color: var(--fc-button-bg-color, #2C3E50);
  200. border-color: #2C3E50;
  201. border-color: var(--fc-button-border-color, #2C3E50); /* overrides :hover */
  202. }
  203. .fc .fc-button-primary:focus {
  204. box-shadow: 0 0 0 0.2rem rgba(76, 91, 106, 0.5);
  205. }
  206. .fc .fc-button-primary:not(:disabled):active,
  207. .fc .fc-button-primary:not(:disabled).fc-button-active {
  208. color: #fff;
  209. color: var(--fc-button-text-color, #fff);
  210. background-color: #1a252f;
  211. background-color: var(--fc-button-active-bg-color, #1a252f);
  212. border-color: #151e27;
  213. border-color: var(--fc-button-active-border-color, #151e27);
  214. }
  215. .fc .fc-button-primary:not(:disabled):active:focus,
  216. .fc .fc-button-primary:not(:disabled).fc-button-active:focus {
  217. box-shadow: 0 0 0 0.2rem rgba(76, 91, 106, 0.5);
  218. }
  219. .fc {
  220. /* icons within buttons */
  221. }
  222. .fc .fc-button .fc-icon {
  223. vertical-align: middle;
  224. font-size: 1.5em; /* bump up the size (but don't make it bigger than line-height of button, which is 1.5em also) */
  225. }
  226. .fc .fc-button-group {
  227. position: relative;
  228. display: inline-flex;
  229. vertical-align: middle;
  230. }
  231. .fc .fc-button-group > .fc-button {
  232. position: relative;
  233. flex: 1 1 auto;
  234. }
  235. .fc .fc-button-group > .fc-button:hover {
  236. z-index: 1;
  237. }
  238. .fc .fc-button-group > .fc-button:focus,
  239. .fc .fc-button-group > .fc-button:active,
  240. .fc .fc-button-group > .fc-button.fc-button-active {
  241. z-index: 1;
  242. }
  243. .fc-direction-ltr .fc-button-group > .fc-button:not(:first-child) {
  244. margin-left: -1px;
  245. border-top-left-radius: 0;
  246. border-bottom-left-radius: 0;
  247. }
  248. .fc-direction-ltr .fc-button-group > .fc-button:not(:last-child) {
  249. border-top-right-radius: 0;
  250. border-bottom-right-radius: 0;
  251. }
  252. .fc-direction-rtl .fc-button-group > .fc-button:not(:first-child) {
  253. margin-right: -1px;
  254. border-top-right-radius: 0;
  255. border-bottom-right-radius: 0;
  256. }
  257. .fc-direction-rtl .fc-button-group > .fc-button:not(:last-child) {
  258. border-top-left-radius: 0;
  259. border-bottom-left-radius: 0;
  260. }
  261. .fc .fc-toolbar {
  262. display: flex;
  263. justify-content: space-between;
  264. align-items: center;
  265. }
  266. .fc .fc-toolbar.fc-header-toolbar {
  267. margin-bottom: 1.5em;
  268. }
  269. .fc .fc-toolbar.fc-footer-toolbar {
  270. margin-top: 1.5em;
  271. }
  272. .fc .fc-toolbar-title {
  273. font-size: 1.75em;
  274. margin: 0;
  275. }
  276. .fc-direction-ltr .fc-toolbar > * > :not(:first-child) {
  277. margin-left: .75em; /* space between */
  278. }
  279. .fc-direction-rtl .fc-toolbar > * > :not(:first-child) {
  280. margin-right: .75em; /* space between */
  281. }
  282. .fc-direction-rtl .fc-toolbar-ltr { /* when the toolbar-chunk positioning system is explicitly left-to-right */
  283. flex-direction: row-reverse;
  284. }
  285. .fc .fc-scroller {
  286. -webkit-overflow-scrolling: touch;
  287. position: relative; /* for abs-positioned elements within */
  288. }
  289. .fc .fc-scroller-liquid {
  290. height: 100%;
  291. }
  292. .fc .fc-scroller-liquid-absolute {
  293. position: absolute;
  294. top: 0;
  295. right: 0;
  296. left: 0;
  297. bottom: 0;
  298. }
  299. .fc .fc-scroller-harness {
  300. position: relative;
  301. overflow: hidden;
  302. direction: ltr;
  303. /* hack for chrome computing the scroller's right/left wrong for rtl. undone below... */
  304. /* TODO: demonstrate in codepen */
  305. }
  306. .fc .fc-scroller-harness-liquid {
  307. height: 100%;
  308. }
  309. .fc-direction-rtl .fc-scroller-harness > .fc-scroller { /* undo above hack */
  310. direction: rtl;
  311. }
  312. .fc-theme-standard .fc-scrollgrid {
  313. border: 1px solid #ddd;
  314. border: 1px solid var(--fc-border-color, #ddd); /* bootstrap does this. match */
  315. }
  316. .fc .fc-scrollgrid,
  317. .fc .fc-scrollgrid table { /* all tables (self included) */
  318. width: 100%; /* because tables don't normally do this */
  319. table-layout: fixed;
  320. }
  321. .fc .fc-scrollgrid table { /* inner tables */
  322. border-top-style: hidden;
  323. border-left-style: hidden;
  324. border-right-style: hidden;
  325. }
  326. .fc .fc-scrollgrid {
  327. border-collapse: separate;
  328. border-right-width: 0;
  329. border-bottom-width: 0;
  330. }
  331. .fc .fc-scrollgrid-liquid {
  332. height: 100%;
  333. }
  334. .fc .fc-scrollgrid-section { /* a <tr> */
  335. height: 1px /* better than 0, for firefox */
  336. }
  337. .fc .fc-scrollgrid-section > td {
  338. height: 1px; /* needs a height so inner div within grow. better than 0, for firefox */
  339. }
  340. .fc .fc-scrollgrid-section table {
  341. height: 1px;
  342. /* for most browsers, if a height isn't set on the table, can't do liquid-height within cells */
  343. /* serves as a min-height. harmless */
  344. }
  345. .fc .fc-scrollgrid-section-liquid > td {
  346. height: 100%; /* better than `auto`, for firefox */
  347. }
  348. .fc .fc-scrollgrid-section > * {
  349. border-top-width: 0;
  350. border-left-width: 0;
  351. }
  352. .fc .fc-scrollgrid-section-header > *,
  353. .fc .fc-scrollgrid-section-footer > * {
  354. border-bottom-width: 0;
  355. }
  356. .fc .fc-scrollgrid-section-body table,
  357. .fc .fc-scrollgrid-section-footer table {
  358. border-bottom-style: hidden; /* head keeps its bottom border tho */
  359. }
  360. .fc {
  361. /* stickiness */
  362. }
  363. .fc .fc-scrollgrid-section-sticky > * {
  364. background: #fff;
  365. background: var(--fc-page-bg-color, #fff);
  366. position: sticky;
  367. z-index: 3; /* TODO: var */
  368. /* TODO: box-shadow when sticking */
  369. }
  370. .fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky > * {
  371. top: 0; /* because border-sharing causes a gap at the top */
  372. /* TODO: give safari -1. has bug */
  373. }
  374. .fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky > * {
  375. bottom: 0; /* known bug: bottom-stickiness doesn't work in safari */
  376. }
  377. .fc .fc-scrollgrid-sticky-shim { /* for horizontal scrollbar */
  378. height: 1px; /* needs height to create scrollbars */
  379. margin-bottom: -1px;
  380. }
  381. .fc-sticky { /* no .fc wrap because used as child of body */
  382. position: sticky;
  383. }
  384. .fc .fc-view-harness {
  385. flex-grow: 1; /* because this harness is WITHIN the .fc's flexbox */
  386. position: relative;
  387. }
  388. .fc {
  389. /* when the harness controls the height, make the view liquid */
  390. }
  391. .fc .fc-view-harness-active > .fc-view {
  392. position: absolute;
  393. top: 0;
  394. right: 0;
  395. bottom: 0;
  396. left: 0;
  397. }
  398. .fc .fc-col-header-cell-cushion {
  399. display: inline-block; /* x-browser for when sticky (when multi-tier header) */
  400. padding: 2px 4px;
  401. }
  402. .fc .fc-bg-event,
  403. .fc .fc-non-business,
  404. .fc .fc-highlight {
  405. /* will always have a harness with position:relative/absolute, so absolutely expand */
  406. position: absolute;
  407. top: 0;
  408. left: 0;
  409. right: 0;
  410. bottom: 0;
  411. }
  412. .fc .fc-non-business {
  413. background: rgba(215, 215, 215, 0.3);
  414. background: var(--fc-non-business-color, rgba(215, 215, 215, 0.3));
  415. }
  416. .fc .fc-bg-event {
  417. background: rgb(143, 223, 130);
  418. background: var(--fc-bg-event-color, rgb(143, 223, 130));
  419. opacity: 0.3;
  420. opacity: var(--fc-bg-event-opacity, 0.3)
  421. }
  422. .fc .fc-bg-event .fc-event-title {
  423. margin: .5em;
  424. font-size: .85em;
  425. font-size: var(--fc-small-font-size, .85em);
  426. font-style: italic;
  427. }
  428. .fc .fc-highlight {
  429. background: rgba(188, 232, 241, 0.3);
  430. background: var(--fc-highlight-color, rgba(188, 232, 241, 0.3));
  431. }
  432. .fc .fc-cell-shaded,
  433. .fc .fc-day-disabled {
  434. background: rgba(208, 208, 208, 0.3);
  435. background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));
  436. }
  437. /* link resets */
  438. /* ---------------------------------------------------------------------------------------------------- */
  439. a.fc-event,
  440. a.fc-event:hover {
  441. text-decoration: none;
  442. }
  443. /* cursor */
  444. .fc-event[href],
  445. .fc-event.fc-event-draggable {
  446. cursor: pointer;
  447. }
  448. /* event text content */
  449. /* ---------------------------------------------------------------------------------------------------- */
  450. .fc-event .fc-event-main {
  451. position: relative;
  452. z-index: 2;
  453. }
  454. /* dragging */
  455. /* ---------------------------------------------------------------------------------------------------- */
  456. .fc-event-dragging:not(.fc-event-selected) { /* MOUSE */
  457. opacity: 0.75;
  458. }
  459. .fc-event-dragging.fc-event-selected { /* TOUCH */
  460. box-shadow: 0 2px 7px rgba(0, 0, 0, 0.3);
  461. }
  462. /* resizing */
  463. /* ---------------------------------------------------------------------------------------------------- */
  464. /* (subclasses should hone positioning for touch and non-touch) */
  465. .fc-event .fc-event-resizer {
  466. display: none;
  467. position: absolute;
  468. z-index: 4;
  469. }
  470. .fc-event:hover, /* MOUSE */
  471. .fc-event-selected { /* TOUCH */
  472. }
  473. .fc-event:hover .fc-event-resizer, .fc-event-selected .fc-event-resizer {
  474. display: block;
  475. }
  476. .fc-event-selected .fc-event-resizer {
  477. border-radius: 4px;
  478. border-radius: calc(var(--fc-event-resizer-dot-total-width, 8px) / 2);
  479. border-width: 1px;
  480. border-width: var(--fc-event-resizer-dot-border-width, 1px);
  481. width: 8px;
  482. width: var(--fc-event-resizer-dot-total-width, 8px);
  483. height: 8px;
  484. height: var(--fc-event-resizer-dot-total-width, 8px);
  485. border-style: solid;
  486. border-color: inherit;
  487. background: #fff;
  488. background: var(--fc-page-bg-color, #fff)
  489. /* expand hit area */
  490. }
  491. .fc-event-selected .fc-event-resizer:before {
  492. content: '';
  493. position: absolute;
  494. top: -20px;
  495. left: -20px;
  496. right: -20px;
  497. bottom: -20px;
  498. }
  499. /* selecting (always TOUCH) */
  500. /* OR, focused by tab-index */
  501. /* (TODO: maybe not the best focus-styling for .fc-daygrid-dot-event) */
  502. /* ---------------------------------------------------------------------------------------------------- */
  503. .fc-event-selected,
  504. .fc-event:focus {
  505. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2)
  506. /* expand hit area (subclasses should expand) */
  507. }
  508. .fc-event-selected:before, .fc-event:focus:before {
  509. content: "";
  510. position: absolute;
  511. z-index: 3;
  512. top: 0;
  513. left: 0;
  514. right: 0;
  515. bottom: 0;
  516. }
  517. .fc-event-selected,
  518. .fc-event:focus {
  519. /* dimmer effect */
  520. }
  521. .fc-event-selected:after, .fc-event:focus:after {
  522. content: "";
  523. background: rgba(0, 0, 0, 0.25);
  524. background: var(--fc-event-selected-overlay-color, rgba(0, 0, 0, 0.25));
  525. position: absolute;
  526. z-index: 1;
  527. /* assume there's a border on all sides. overcome it. */
  528. /* sometimes there's NOT a border, in which case the dimmer will go over */
  529. /* an adjacent border, which looks fine. */
  530. top: -1px;
  531. left: -1px;
  532. right: -1px;
  533. bottom: -1px;
  534. }
  535. /*
  536. A HORIZONTAL event
  537. */
  538. .fc-h-event { /* allowed to be top-level */
  539. display: block;
  540. border: 1px solid #3788d8;
  541. border: 1px solid var(--fc-event-border-color, #3788d8);
  542. background-color: #3788d8;
  543. background-color: var(--fc-event-bg-color, #3788d8)
  544. }
  545. .fc-h-event .fc-event-main {
  546. color: #fff;
  547. color: var(--fc-event-text-color, #fff);
  548. }
  549. .fc-h-event .fc-event-main-frame {
  550. display: flex; /* for make fc-event-title-container expand */
  551. }
  552. .fc-h-event .fc-event-time {
  553. max-width: 100%; /* clip overflow on this element */
  554. overflow: hidden;
  555. }
  556. .fc-h-event .fc-event-title-container { /* serves as a container for the sticky cushion */
  557. flex-grow: 1;
  558. flex-shrink: 1;
  559. min-width: 0; /* important for allowing to shrink all the way */
  560. }
  561. .fc-h-event .fc-event-title {
  562. display: inline-block; /* need this to be sticky cross-browser */
  563. vertical-align: top; /* for not messing up line-height */
  564. left: 0; /* for sticky */
  565. right: 0; /* for sticky */
  566. max-width: 100%; /* clip overflow on this element */
  567. overflow: hidden;
  568. }
  569. .fc-h-event.fc-event-selected:before {
  570. /* expand hit area */
  571. top: -10px;
  572. bottom: -10px;
  573. }
  574. /* adjust border and border-radius (if there is any) for non-start/end */
  575. .fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),
  576. .fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end) {
  577. border-top-left-radius: 0;
  578. border-bottom-left-radius: 0;
  579. border-left-width: 0;
  580. }
  581. .fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),
  582. .fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start) {
  583. border-top-right-radius: 0;
  584. border-bottom-right-radius: 0;
  585. border-right-width: 0;
  586. }
  587. /* resizers */
  588. .fc-h-event:not(.fc-event-selected) .fc-event-resizer {
  589. top: 0;
  590. bottom: 0;
  591. width: 8px;
  592. width: var(--fc-event-resizer-thickness, 8px);
  593. }
  594. .fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,
  595. .fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end {
  596. cursor: w-resize;
  597. left: -4px;
  598. left: calc(-0.5 * var(--fc-event-resizer-thickness, 8px));
  599. }
  600. .fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,
  601. .fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start {
  602. cursor: e-resize;
  603. right: -4px;
  604. right: calc(-0.5 * var(--fc-event-resizer-thickness, 8px));
  605. }
  606. /* resizers for TOUCH */
  607. .fc-h-event.fc-event-selected .fc-event-resizer {
  608. top: 50%;
  609. margin-top: -4px;
  610. margin-top: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));
  611. }
  612. .fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,
  613. .fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end {
  614. left: -4px;
  615. left: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));
  616. }
  617. .fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,
  618. .fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start {
  619. right: -4px;
  620. right: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));
  621. }
  622. .fc .fc-popover {
  623. position: absolute;
  624. z-index: 9999;
  625. box-shadow: 0 2px 6px rgba(0,0,0,.15);
  626. }
  627. .fc .fc-popover-header {
  628. display: flex;
  629. flex-direction: row;
  630. justify-content: space-between;
  631. align-items: center;
  632. padding: 3px 4px;
  633. }
  634. .fc .fc-popover-title {
  635. margin: 0 2px;
  636. }
  637. .fc .fc-popover-close {
  638. cursor: pointer;
  639. opacity: 0.65;
  640. font-size: 1.1em;
  641. }
  642. .fc-theme-standard .fc-popover {
  643. border: 1px solid #ddd;
  644. border: 1px solid var(--fc-border-color, #ddd);
  645. background: #fff;
  646. background: var(--fc-page-bg-color, #fff);
  647. }
  648. .fc-theme-standard .fc-popover-header {
  649. background: rgba(208, 208, 208, 0.3);
  650. background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));
  651. }
  652. :root {
  653. --fc-daygrid-event-dot-width: 8px;
  654. }
  655. /* help things clear margins of inner content */
  656. .fc-daygrid-day-frame,
  657. .fc-daygrid-day-events,
  658. .fc-daygrid-event-harness { /* for event top/bottom margins */
  659. }
  660. .fc-daygrid-day-frame:before, .fc-daygrid-day-events:before, .fc-daygrid-event-harness:before {
  661. content: "";
  662. clear: both;
  663. display: table; }
  664. .fc-daygrid-day-frame:after, .fc-daygrid-day-events:after, .fc-daygrid-event-harness:after {
  665. content: "";
  666. clear: both;
  667. display: table; }
  668. .fc .fc-daygrid-body { /* a <div> that wraps the table */
  669. position: relative;
  670. z-index: 1; /* container inner z-index's because <tr>s can't do it */
  671. }
  672. .fc .fc-daygrid-day.fc-day-today {
  673. background-color: rgba(255, 220, 40, 0.15);
  674. background-color: var(--fc-today-bg-color, rgba(255, 220, 40, 0.15));
  675. }
  676. .fc .fc-daygrid-day-frame {
  677. position: relative;
  678. min-height: 100%; /* seems to work better than `height` because sets height after rows/cells naturally do it */
  679. }
  680. .fc {
  681. /* cell top */
  682. }
  683. .fc .fc-daygrid-day-top {
  684. display: flex;
  685. flex-direction: row-reverse;
  686. }
  687. .fc .fc-day-other .fc-daygrid-day-top {
  688. opacity: 0.3;
  689. }
  690. .fc {
  691. /* day number (within cell top) */
  692. }
  693. .fc .fc-daygrid-day-number {
  694. position: relative;
  695. z-index: 4;
  696. padding: 4px;
  697. }
  698. .fc {
  699. /* event container */
  700. }
  701. .fc .fc-daygrid-day-events {
  702. margin-top: 1px; /* needs to be margin, not padding, so that available cell height can be computed */
  703. }
  704. .fc {
  705. /* positioning for balanced vs natural */
  706. }
  707. .fc .fc-daygrid-body-balanced .fc-daygrid-day-events {
  708. position: absolute;
  709. left: 0;
  710. right: 0;
  711. }
  712. .fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events {
  713. position: relative; /* for containing abs positioned event harnesses */
  714. min-height: 2em; /* in addition to being a min-height during natural height, equalizes the heights a little bit */
  715. }
  716. .fc .fc-daygrid-body-natural { /* can coexist with -unbalanced */
  717. }
  718. .fc .fc-daygrid-body-natural .fc-daygrid-day-events {
  719. margin-bottom: 1em;
  720. }
  721. .fc {
  722. /* event harness */
  723. }
  724. .fc .fc-daygrid-event-harness {
  725. position: relative;
  726. }
  727. .fc .fc-daygrid-event-harness-abs {
  728. position: absolute;
  729. top: 0; /* fallback coords for when cannot yet be computed */
  730. left: 0; /* */
  731. right: 0; /* */
  732. }
  733. .fc .fc-daygrid-bg-harness {
  734. position: absolute;
  735. top: 0;
  736. bottom: 0;
  737. }
  738. .fc {
  739. /* bg content */
  740. }
  741. .fc .fc-daygrid-day-bg .fc-non-business { z-index: 1 }
  742. .fc .fc-daygrid-day-bg .fc-bg-event { z-index: 2 }
  743. .fc .fc-daygrid-day-bg .fc-highlight { z-index: 3 }
  744. .fc {
  745. /* events */
  746. }
  747. .fc .fc-daygrid-event {
  748. z-index: 6;
  749. margin-top: 1px;
  750. }
  751. .fc .fc-daygrid-event.fc-event-mirror {
  752. z-index: 7;
  753. }
  754. .fc {
  755. /* cell bottom (within day-events) */
  756. }
  757. .fc .fc-daygrid-day-bottom {
  758. font-size: .85em;
  759. padding: 2px 3px 0
  760. }
  761. .fc .fc-daygrid-day-bottom:before {
  762. content: "";
  763. clear: both;
  764. display: table; }
  765. .fc .fc-daygrid-more-link {
  766. position: relative;
  767. z-index: 4;
  768. cursor: pointer;
  769. }
  770. .fc {
  771. /* week number (within frame) */
  772. }
  773. .fc .fc-daygrid-week-number {
  774. position: absolute;
  775. z-index: 5;
  776. top: 0;
  777. padding: 2px;
  778. min-width: 1.5em;
  779. text-align: center;
  780. background-color: rgba(208, 208, 208, 0.3);
  781. background-color: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));
  782. color: #808080;
  783. color: var(--fc-neutral-text-color, #808080);
  784. }
  785. .fc {
  786. /* popover */
  787. }
  788. .fc .fc-more-popover .fc-popover-body {
  789. min-width: 220px;
  790. padding: 10px;
  791. }
  792. .fc-direction-ltr .fc-daygrid-event.fc-event-start,
  793. .fc-direction-rtl .fc-daygrid-event.fc-event-end {
  794. margin-left: 2px;
  795. }
  796. .fc-direction-ltr .fc-daygrid-event.fc-event-end,
  797. .fc-direction-rtl .fc-daygrid-event.fc-event-start {
  798. margin-right: 2px;
  799. }
  800. .fc-direction-ltr .fc-daygrid-week-number {
  801. left: 0;
  802. border-radius: 0 0 3px 0;
  803. }
  804. .fc-direction-rtl .fc-daygrid-week-number {
  805. right: 0;
  806. border-radius: 0 0 0 3px;
  807. }
  808. .fc-liquid-hack .fc-daygrid-day-frame {
  809. position: static; /* will cause inner absolute stuff to expand to <td> */
  810. }
  811. .fc-daygrid-event { /* make root-level, because will be dragged-and-dropped outside of a component root */
  812. position: relative; /* for z-indexes assigned later */
  813. white-space: nowrap;
  814. border-radius: 3px; /* dot event needs this to when selected */
  815. font-size: .85em;
  816. font-size: var(--fc-small-font-size, .85em);
  817. }
  818. /* --- the rectangle ("block") style of event --- */
  819. .fc-daygrid-block-event .fc-event-time {
  820. font-weight: bold;
  821. }
  822. .fc-daygrid-block-event .fc-event-time,
  823. .fc-daygrid-block-event .fc-event-title {
  824. padding: 1px;
  825. }
  826. /* --- the dot style of event --- */
  827. .fc-daygrid-dot-event {
  828. display: flex;
  829. align-items: center;
  830. padding: 2px 0
  831. }
  832. .fc-daygrid-dot-event .fc-event-title {
  833. flex-grow: 1;
  834. flex-shrink: 1;
  835. min-width: 0; /* important for allowing to shrink all the way */
  836. overflow: hidden;
  837. font-weight: bold;
  838. }
  839. .fc-daygrid-dot-event:hover,
  840. .fc-daygrid-dot-event.fc-event-mirror {
  841. background: rgba(0, 0, 0, 0.1);
  842. }
  843. .fc-daygrid-dot-event.fc-event-selected:before {
  844. /* expand hit area */
  845. top: -10px;
  846. bottom: -10px;
  847. }
  848. .fc-daygrid-event-dot { /* the actual dot */
  849. margin: 0 4px;
  850. box-sizing: content-box;
  851. width: 0;
  852. height: 0;
  853. border: 4px solid #3788d8;
  854. border: calc(var(--fc-daygrid-event-dot-width, 8px) / 2) solid var(--fc-event-border-color, #3788d8);
  855. border-radius: 4px;
  856. border-radius: calc(var(--fc-daygrid-event-dot-width, 8px) / 2);
  857. }
  858. /* --- spacing between time and title --- */
  859. .fc-direction-ltr .fc-daygrid-event .fc-event-time {
  860. margin-right: 3px;
  861. }
  862. .fc-direction-rtl .fc-daygrid-event .fc-event-time {
  863. margin-left: 3px;
  864. }
  865. /*
  866. A VERTICAL event
  867. */
  868. .fc-v-event { /* allowed to be top-level */
  869. display: block;
  870. border: 1px solid #3788d8;
  871. border: 1px solid var(--fc-event-border-color, #3788d8);
  872. background-color: #3788d8;
  873. background-color: var(--fc-event-bg-color, #3788d8)
  874. }
  875. .fc-v-event .fc-event-main {
  876. color: #fff;
  877. color: var(--fc-event-text-color, #fff);
  878. height: 100%;
  879. }
  880. .fc-v-event .fc-event-main-frame {
  881. height: 100%;
  882. display: flex;
  883. flex-direction: column;
  884. }
  885. .fc-v-event .fc-event-time {
  886. flex-grow: 0;
  887. flex-shrink: 0;
  888. max-height: 100%;
  889. overflow: hidden;
  890. }
  891. .fc-v-event .fc-event-title-container { /* a container for the sticky cushion */
  892. flex-grow: 1;
  893. flex-shrink: 1;
  894. min-height: 0; /* important for allowing to shrink all the way */
  895. }
  896. .fc-v-event .fc-event-title { /* will have fc-sticky on it */
  897. top: 0;
  898. bottom: 0;
  899. max-height: 100%; /* clip overflow */
  900. overflow: hidden;
  901. }
  902. .fc-v-event:not(.fc-event-start) {
  903. border-top-width: 0;
  904. border-top-left-radius: 0;
  905. border-top-right-radius: 0;
  906. }
  907. .fc-v-event:not(.fc-event-end) {
  908. border-bottom-width: 0;
  909. border-bottom-left-radius: 0;
  910. border-bottom-right-radius: 0;
  911. }
  912. .fc-v-event.fc-event-selected:before {
  913. /* expand hit area */
  914. left: -10px;
  915. right: -10px;
  916. }
  917. .fc-v-event {
  918. /* resizer (mouse AND touch) */
  919. }
  920. .fc-v-event .fc-event-resizer-start {
  921. cursor: n-resize;
  922. }
  923. .fc-v-event .fc-event-resizer-end {
  924. cursor: s-resize;
  925. }
  926. .fc-v-event {
  927. /* resizer for MOUSE */
  928. }
  929. .fc-v-event:not(.fc-event-selected) .fc-event-resizer {
  930. height: 8px;
  931. height: var(--fc-event-resizer-thickness, 8px);
  932. left: 0;
  933. right: 0;
  934. }
  935. .fc-v-event:not(.fc-event-selected) .fc-event-resizer-start {
  936. top: -4px;
  937. top: calc(var(--fc-event-resizer-thickness, 8px) / -2);
  938. }
  939. .fc-v-event:not(.fc-event-selected) .fc-event-resizer-end {
  940. bottom: -4px;
  941. bottom: calc(var(--fc-event-resizer-thickness, 8px) / -2);
  942. }
  943. .fc-v-event {
  944. /* resizer for TOUCH (when event is "selected") */
  945. }
  946. .fc-v-event.fc-event-selected .fc-event-resizer {
  947. left: 50%;
  948. margin-left: -4px;
  949. margin-left: calc(var(--fc-event-resizer-dot-total-width, 8px) / -2);
  950. }
  951. .fc-v-event.fc-event-selected .fc-event-resizer-start {
  952. top: -4px;
  953. top: calc(var(--fc-event-resizer-dot-total-width, 8px) / -2);
  954. }
  955. .fc-v-event.fc-event-selected .fc-event-resizer-end {
  956. bottom: -4px;
  957. bottom: calc(var(--fc-event-resizer-dot-total-width, 8px) / -2);
  958. }
  959. .fc .fc-timegrid .fc-daygrid-body { /* the all-day daygrid within the timegrid view */
  960. z-index: 2; /* put above the timegrid-body so that more-popover is above everything. TODO: better solution */
  961. }
  962. .fc .fc-timegrid-divider {
  963. padding: 0 0 2px; /* browsers get confused when you set height. use padding instead */
  964. }
  965. .fc .fc-timegrid-body {
  966. position: relative;
  967. z-index: 1; /* scope the z-indexes of slots and cols */
  968. min-height: 100%; /* fill height always, even when slat table doesn't grow */
  969. }
  970. .fc .fc-timegrid-axis-chunk { /* for advanced ScrollGrid */
  971. position: relative /* offset parent for now-indicator-container */
  972. }
  973. .fc .fc-timegrid-axis-chunk > table {
  974. position: relative;
  975. z-index: 1; /* above the now-indicator-container */
  976. }
  977. .fc .fc-timegrid-slots {
  978. position: relative;
  979. z-index: 1;
  980. }
  981. .fc .fc-timegrid-slot { /* a <td> */
  982. height: 1.5em;
  983. border-bottom: 0 /* each cell owns its top border */
  984. }
  985. .fc .fc-timegrid-slot:empty:before {
  986. content: '\00a0'; /* make sure there's at least an empty space to create height for height syncing */
  987. }
  988. .fc .fc-timegrid-slot-minor {
  989. border-top-style: dotted;
  990. }
  991. .fc .fc-timegrid-slot-label-cushion {
  992. display: inline-block;
  993. white-space: nowrap;
  994. }
  995. .fc .fc-timegrid-slot-label {
  996. vertical-align: middle; /* vertical align the slots */
  997. }
  998. .fc {
  999. /* slots AND axis cells (top-left corner of view including the "all-day" text) */
  1000. }
  1001. .fc .fc-timegrid-axis-cushion,
  1002. .fc .fc-timegrid-slot-label-cushion {
  1003. padding: 0 4px;
  1004. }
  1005. .fc {
  1006. /* axis cells (top-left corner of view including the "all-day" text) */
  1007. /* vertical align is more complicated, uses flexbox */
  1008. }
  1009. .fc .fc-timegrid-axis-frame-liquid {
  1010. height: 100%; /* will need liquid-hack in FF */
  1011. }
  1012. .fc .fc-timegrid-axis-frame {
  1013. overflow: hidden;
  1014. display: flex;
  1015. align-items: center; /* vertical align */
  1016. justify-content: flex-end; /* horizontal align. matches text-align below */
  1017. }
  1018. .fc .fc-timegrid-axis-cushion {
  1019. max-width: 60px; /* limits the width of the "all-day" text */
  1020. flex-shrink: 0; /* allows text to expand how it normally would, regardless of constrained width */
  1021. }
  1022. .fc-direction-ltr .fc-timegrid-slot-label-frame {
  1023. text-align: right;
  1024. }
  1025. .fc-direction-rtl .fc-timegrid-slot-label-frame {
  1026. text-align: left;
  1027. }
  1028. .fc-liquid-hack .fc-timegrid-axis-frame-liquid {
  1029. height: auto;
  1030. position: absolute;
  1031. top: 0;
  1032. right: 0;
  1033. bottom: 0;
  1034. left: 0;
  1035. }
  1036. .fc .fc-timegrid-col.fc-day-today {
  1037. background-color: rgba(255, 220, 40, 0.15);
  1038. background-color: var(--fc-today-bg-color, rgba(255, 220, 40, 0.15));
  1039. }
  1040. .fc .fc-timegrid-col-frame {
  1041. min-height: 100%; /* liquid-hack is below */
  1042. position: relative;
  1043. }
  1044. .fc-media-screen.fc-liquid-hack .fc-timegrid-col-frame {
  1045. height: auto;
  1046. position: absolute;
  1047. top: 0;
  1048. right: 0;
  1049. bottom: 0;
  1050. left: 0;
  1051. }
  1052. .fc-media-screen .fc-timegrid-cols {
  1053. position: absolute; /* no z-index. children will decide and go above slots */
  1054. top: 0;
  1055. left: 0;
  1056. right: 0;
  1057. bottom: 0
  1058. }
  1059. .fc-media-screen .fc-timegrid-cols > table {
  1060. height: 100%;
  1061. }
  1062. .fc-media-screen .fc-timegrid-col-bg,
  1063. .fc-media-screen .fc-timegrid-col-events,
  1064. .fc-media-screen .fc-timegrid-now-indicator-container {
  1065. position: absolute;
  1066. top: 0;
  1067. left: 0;
  1068. right: 0;
  1069. }
  1070. .fc {
  1071. /* bg */
  1072. }
  1073. .fc .fc-timegrid-col-bg {
  1074. z-index: 2; /* TODO: kill */
  1075. }
  1076. .fc .fc-timegrid-col-bg .fc-non-business { z-index: 1 }
  1077. .fc .fc-timegrid-col-bg .fc-bg-event { z-index: 2 }
  1078. .fc .fc-timegrid-col-bg .fc-highlight { z-index: 3 }
  1079. .fc .fc-timegrid-bg-harness {
  1080. position: absolute; /* top/bottom will be set by JS */
  1081. left: 0;
  1082. right: 0;
  1083. }
  1084. .fc {
  1085. /* fg events */
  1086. /* (the mirror segs are put into a separate container with same classname, */
  1087. /* and they must be after the normal seg container to appear at a higher z-index) */
  1088. }
  1089. .fc .fc-timegrid-col-events {
  1090. z-index: 3;
  1091. /* child event segs have z-indexes that are scoped within this div */
  1092. }
  1093. .fc {
  1094. /* now indicator */
  1095. }
  1096. .fc .fc-timegrid-now-indicator-container {
  1097. bottom: 0;
  1098. overflow: hidden; /* don't let overflow of lines/arrows cause unnecessary scrolling */
  1099. /* z-index is set on the individual elements */
  1100. }
  1101. .fc-direction-ltr .fc-timegrid-col-events {
  1102. margin: 0 2.5% 0 2px;
  1103. }
  1104. .fc-direction-rtl .fc-timegrid-col-events {
  1105. margin: 0 2px 0 2.5%;
  1106. }
  1107. .fc-timegrid-event-harness {
  1108. position: absolute /* top/left/right/bottom will all be set by JS */
  1109. }
  1110. .fc-timegrid-event-harness > .fc-timegrid-event {
  1111. position: absolute; /* absolute WITHIN the harness */
  1112. top: 0; /* for when not yet positioned */
  1113. bottom: 0; /* " */
  1114. left: 0;
  1115. right: 0;
  1116. }
  1117. .fc-timegrid-event-harness-inset .fc-timegrid-event,
  1118. .fc-timegrid-event.fc-event-mirror,
  1119. .fc-timegrid-more-link {
  1120. box-shadow: 0px 0px 0px 1px #fff;
  1121. box-shadow: 0px 0px 0px 1px var(--fc-page-bg-color, #fff);
  1122. }
  1123. .fc-timegrid-event,
  1124. .fc-timegrid-more-link { /* events need to be root */
  1125. font-size: .85em;
  1126. font-size: var(--fc-small-font-size, .85em);
  1127. border-radius: 3px;
  1128. }
  1129. .fc-timegrid-event { /* events need to be root */
  1130. margin-bottom: 1px /* give some space from bottom */
  1131. }
  1132. .fc-timegrid-event .fc-event-main {
  1133. padding: 1px 1px 0;
  1134. }
  1135. .fc-timegrid-event .fc-event-time {
  1136. white-space: nowrap;
  1137. font-size: .85em;
  1138. font-size: var(--fc-small-font-size, .85em);
  1139. margin-bottom: 1px;
  1140. }
  1141. .fc-timegrid-event-short .fc-event-main-frame {
  1142. flex-direction: row;
  1143. overflow: hidden;
  1144. }
  1145. .fc-timegrid-event-short .fc-event-time:after {
  1146. content: '\00a0-\00a0'; /* dash surrounded by non-breaking spaces */
  1147. }
  1148. .fc-timegrid-event-short .fc-event-title {
  1149. font-size: .85em;
  1150. font-size: var(--fc-small-font-size, .85em)
  1151. }
  1152. .fc-timegrid-more-link { /* does NOT inherit from fc-timegrid-event */
  1153. position: absolute;
  1154. z-index: 9999; /* hack */
  1155. color: inherit;
  1156. color: var(--fc-more-link-text-color, inherit);
  1157. background: #d0d0d0;
  1158. background: var(--fc-more-link-bg-color, #d0d0d0);
  1159. cursor: pointer;
  1160. margin-bottom: 1px; /* match space below fc-timegrid-event */
  1161. }
  1162. .fc-timegrid-more-link-inner { /* has fc-sticky */
  1163. padding: 3px 2px;
  1164. top: 0;
  1165. }
  1166. .fc-direction-ltr .fc-timegrid-more-link {
  1167. right: 0;
  1168. }
  1169. .fc-direction-rtl .fc-timegrid-more-link {
  1170. left: 0;
  1171. }
  1172. .fc {
  1173. /* line */
  1174. }
  1175. .fc .fc-timegrid-now-indicator-line {
  1176. position: absolute;
  1177. z-index: 4;
  1178. left: 0;
  1179. right: 0;
  1180. border-style: solid;
  1181. border-color: red;
  1182. border-color: var(--fc-now-indicator-color, red);
  1183. border-width: 1px 0 0;
  1184. }
  1185. .fc {
  1186. /* arrow */
  1187. }
  1188. .fc .fc-timegrid-now-indicator-arrow {
  1189. position: absolute;
  1190. z-index: 4;
  1191. margin-top: -5px; /* vertically center on top coordinate */
  1192. border-style: solid;
  1193. border-color: red;
  1194. border-color: var(--fc-now-indicator-color, red);
  1195. }
  1196. .fc-direction-ltr .fc-timegrid-now-indicator-arrow {
  1197. left: 0;
  1198. /* triangle pointing right. TODO: mixin */
  1199. border-width: 5px 0 5px 6px;
  1200. border-top-color: transparent;
  1201. border-bottom-color: transparent;
  1202. }
  1203. .fc-direction-rtl .fc-timegrid-now-indicator-arrow {
  1204. right: 0;
  1205. /* triangle pointing left. TODO: mixin */
  1206. border-width: 5px 6px 5px 0;
  1207. border-top-color: transparent;
  1208. border-bottom-color: transparent;
  1209. }
  1210. :root {
  1211. --fc-list-event-dot-width: 10px;
  1212. --fc-list-event-hover-bg-color: #f5f5f5;
  1213. }
  1214. .fc-theme-standard .fc-list {
  1215. border: 1px solid #ddd;
  1216. border: 1px solid var(--fc-border-color, #ddd);
  1217. }
  1218. .fc {
  1219. /* message when no events */
  1220. }
  1221. .fc .fc-list-empty {
  1222. background-color: rgba(208, 208, 208, 0.3);
  1223. background-color: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));
  1224. height: 100%;
  1225. display: flex;
  1226. justify-content: center;
  1227. align-items: center; /* vertically aligns fc-list-empty-inner */
  1228. }
  1229. .fc .fc-list-empty-cushion {
  1230. margin: 5em 0;
  1231. }
  1232. .fc {
  1233. /* table within the scroller */
  1234. /* ---------------------------------------------------------------------------------------------------- */
  1235. }
  1236. .fc .fc-list-table {
  1237. width: 100%;
  1238. border-style: hidden; /* kill outer border on theme */
  1239. }
  1240. .fc .fc-list-table tr > * {
  1241. border-left: 0;
  1242. border-right: 0;
  1243. }
  1244. .fc .fc-list-sticky .fc-list-day > * { /* the cells */
  1245. position: sticky;
  1246. top: 0;
  1247. background: #fff;
  1248. background: var(--fc-page-bg-color, #fff); /* for when headers are styled to be transparent and sticky */
  1249. }
  1250. .fc {
  1251. /* only exists for aria reasons, hide for non-screen-readers */
  1252. }
  1253. .fc .fc-list-table thead {
  1254. position: absolute;
  1255. left: -10000px;
  1256. }
  1257. .fc {
  1258. /* the table's border-style:hidden gets confused by hidden thead. force-hide top border of first cell */
  1259. }
  1260. .fc .fc-list-table tbody > tr:first-child th {
  1261. border-top: 0;
  1262. }
  1263. .fc .fc-list-table th {
  1264. padding: 0; /* uses an inner-wrapper instead... */
  1265. }
  1266. .fc .fc-list-table td,
  1267. .fc .fc-list-day-cushion {
  1268. padding: 8px 14px;
  1269. }
  1270. .fc {
  1271. /* date heading rows */
  1272. /* ---------------------------------------------------------------------------------------------------- */
  1273. }
  1274. .fc .fc-list-day-cushion:after {
  1275. content: "";
  1276. clear: both;
  1277. display: table; /* clear floating */
  1278. }
  1279. .fc-theme-standard .fc-list-day-cushion {
  1280. background-color: rgba(208, 208, 208, 0.3);
  1281. background-color: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));
  1282. }
  1283. .fc-direction-ltr .fc-list-day-text,
  1284. .fc-direction-rtl .fc-list-day-side-text {
  1285. float: left;
  1286. }
  1287. .fc-direction-ltr .fc-list-day-side-text,
  1288. .fc-direction-rtl .fc-list-day-text {
  1289. float: right;
  1290. }
  1291. /* make the dot closer to the event title */
  1292. .fc-direction-ltr .fc-list-table .fc-list-event-graphic { padding-right: 0 }
  1293. .fc-direction-rtl .fc-list-table .fc-list-event-graphic { padding-left: 0 }
  1294. .fc .fc-list-event.fc-event-forced-url {
  1295. cursor: pointer; /* whole row will seem clickable */
  1296. }
  1297. .fc .fc-list-event:hover td {
  1298. background-color: #f5f5f5;
  1299. background-color: var(--fc-list-event-hover-bg-color, #f5f5f5);
  1300. }
  1301. .fc {
  1302. /* shrink certain cols */
  1303. }
  1304. .fc .fc-list-event-graphic,
  1305. .fc .fc-list-event-time {
  1306. white-space: nowrap;
  1307. width: 1px;
  1308. }
  1309. .fc .fc-list-event-dot {
  1310. display: inline-block;
  1311. box-sizing: content-box;
  1312. width: 0;
  1313. height: 0;
  1314. border: 5px solid #3788d8;
  1315. border: calc(var(--fc-list-event-dot-width, 10px) / 2) solid var(--fc-event-border-color, #3788d8);
  1316. border-radius: 5px;
  1317. border-radius: calc(var(--fc-list-event-dot-width, 10px) / 2);
  1318. }
  1319. .fc {
  1320. /* reset <a> styling */
  1321. }
  1322. .fc .fc-list-event-title a {
  1323. color: inherit;
  1324. text-decoration: none;
  1325. }
  1326. .fc {
  1327. /* underline link when hovering over any part of row */
  1328. }
  1329. .fc .fc-list-event.fc-event-forced-url:hover a {
  1330. text-decoration: underline;
  1331. }
  1332. .fc-theme-bootstrap a:not([href]) {
  1333. color: inherit; /* natural color for navlinks */
  1334. }