fullcalendar
Version:
FullCalendar Vanilla JS package for rendering a calendar
498 lines (392 loc) • 8.29 kB
CSS
:root {
--fc-sticky-header-footer-z: 3;
--fc-popover-z: 4;
}
.fc-1U {
z-index: var(--fc-popover-z) ;
}
.fc-1q {
isolation: isolate;
}
/*
This will prevent all ancestors from customizing their box size unless they use .contentBox
*/
.fc-pp,
.fc-pp *,
.fc-pp *:before,
.fc-pp *:after {
box-sizing: border-box ;
}
/* classes attached to <body> */
.fc-gm,
.fc-gm * {
cursor: not-allowed ;
}
.fc-xp {
-ms-overflow-style: none ; /* IE and Edge */
scrollbar-width: none ; /* Firefox */
}
/* Hide scrollbar for Chrome, Safari and Opera */
.fc-xp::-webkit-scrollbar {
display: none ;
}
.fc-J9 {
flex-shrink: 0 ;
}
.fc-oi .fc-TV {
display: flex ;
flex-direction: row ;
flex-wrap: wrap ;
}
/* HACK for Safari. Can't do break-inside:avoid with flexbox items, likely b/c it's not standard:
https://stackoverflow.com/a/60256345 */
.fc-OY .fc-TV > * {
float: left ;
}
[dir=rtl] .fc-OY .fc-TV > *,
.fc-OY[dir=rtl] .fc-TV > * {
float: right ;
}
.fc-OY .fc-TV::after {
content: "" ;
display: block ;
clear: both ;
}
.fc-ky {
cursor: pointer ;
}
.fc-Wq {
cursor: n-resize ;
}
.fc-2H {
cursor: s-resize ;
}
.fc-lP {
cursor: w-resize ;
}
[dir=rtl] .fc-lP {
cursor: e-resize ;
}
.fc-pu {
cursor: e-resize ;
}
[dir=rtl] .fc-pu {
cursor: w-resize ;
}
.fc-Mo {
cursor: col-resize ;
}
.fc-Bx,
.fc-rT,
.fc-1e {
position: absolute ;
box-sizing: content-box ;
width: 100% ;
height: 100% ;
}
.fc-Bx {
padding: 10px ;
margin: -10px ;
}
.fc-rT {
padding-left: 10px ;
padding-right: 10px ;
margin-left: -10px ;
margin-right: -10px ;
}
.fc-1e {
padding-top: 10px ;
padding-bottom: 10px ;
margin-top: -10px ;
margin-bottom: -10px ;
}
/* QUESTION: why not use -left -right instead of negative margins/padding for ALL? */
.fc-7U {
position: absolute;
top: 0;
bottom: 0;
left: -5px;
right: -5px;
}
.fc-N6 {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
.fc-BW {
visibility: hidden;
}
/* Border Utils */
/* ------------------------------------------------------------------------------------------------- */
.fc-rf {
border: 0 ;
}
.fc-Nq {
border-left: 0 ;
border-right: 0 ;
}
.fc-zp {
border-top: 0 ;
border-bottom: 0 ;
}
.fc-1h {
border-top: 0 ;
}
.fc-cZ {
border-bottom: 0 ;
}
.fc-G8 {
border-inline-start: 0 ;
}
.fc-MA {
border-inline-end: 0 ;
}
/* Flexbox Utils */
/* ------------------------------------------------------------------------------------------------- */
.fc-Dh {
display: flex ;
flex-direction: row ;
}
.fc-vg {
display: flex ;
flex-direction: column ;
}
.fc-85 {
flex-grow: 1 ;
}
.fc-91 {
flex-grow: 1 ;
flex-basis: 0 ;
min-width: 0 ;
min-height: 0 ;
}
.fc-Da {
min-height: 0 ;
}
/*
TODO: use liquidX/Y elsewhere because frees up min other dimension; less collisions
*/
.fc-1v {
flex-grow: 1 ;
flex-basis: 0 ;
min-width: 0 ;
}
/* Semantic Print Table */
/* ------------------------------------------------------------------------------------------------- */
.fc-uR {
width: 100% ;
table-layout: fixed ;
border: 0 ;
border-collapse: separate ;
border-spacing: 0 ;
}
.fc-uR > thead {
/* Both properties are needed for cross-browser repeated headers across printed pages. */
-moz-column-break-inside: avoid ;
break-inside: avoid ;
page-break-inside: avoid ;
}
.fc-uR > tbody {
/* Timeline print-layout hack (resource and non-resource): lets shared absolute backgrounds show through. */
background: transparent ;
}
.fc-uR > thead > tr > th,
.fc-uR > tbody > tr > th,
.fc-uR > tbody > tr > td {
vertical-align: top ;
font-weight: inherit;
text-align: inherit;
}
/* Table Utils */
/* ------------------------------------------------------------------------------------------------- */
.fc-hF {
padding: 0 ;
}
.fc-Ds {
padding-top: 0 ;
padding-bottom: 0 ;
}
.fc-TA {
margin: 0 ;
}
.fc-rt {
margin-top: 0 ;
margin-bottom: 0 ;
}
.fc-wS {
margin-left: 0 ;
margin-right: 0 ;
}
.fc-mV {
white-space: nowrap ;
}
.fc-zJ {
white-space: pre ;
}
/* Misc Utils */
/* ------------------------------------------------------------------------------------------------- */
.fc-Fk {
overflow-anchor: none;
}
.fc-Ss {
pointer-events: none ;
}
.fc-D6 {
overflow: hidden ;
}
/*
TODO: eventually use this on daygrid/timegrid events' inner, time, and title, FOR PRINT
Needed to prevent wrapping to multiple lines, increasing height, throwing off print-positioning,
which can't rely on dynamic height detection after print-flag activated.
*/
.fc-5x {
white-space: nowrap ;
overflow: hidden ;
}
.fc-DP {
position: relative ;
}
.fc-P2 {
position: absolute ;
}
.fc-5a {
inset-inline-start: 0 ;
}
.fc-lb {
inset-inline-end: 0 ;
}
.fc-0X {
position: absolute ;
top: 0 ;
left: 0 ;
right: 0 ;
bottom: 0 ;
}
.fc-9s,
.fc-Gk {
position: absolute ;
left: 0 ;
right: 0 ;
}
.fc-xh,
.fc-XV {
position: absolute ;
top: 0 ;
bottom: 0 ;
}
.fc-9s {
top: 0 ;
}
.fc-XV {
left: 0 ;
right: 0 ;
width: 0 ;
}
@media not print {
.fc-XI {
position: sticky ;
}
.fc-7G {
position: sticky ;
top: 0 ;
}
/* Sticks to either left or right (the flex "start") depending on ltr/rtl */
.fc-Rw {
position: sticky ;
inset-inline-start: 0 ;
}
.fc-yg {
position: sticky ;
top: 0 ;
z-index: var(--fc-sticky-header-footer-z) ;
}
}
/* Only needed when padding/border must be separate from width/height */
.fc-2i {
box-sizing: content-box ;
}
.fc-o2 {
position: absolute ;
left: -10000px ;
}
.fc-ih {
align-items: center ;
}
.fc-HJ {
align-items: flex-start ;
}
.fc-El {
align-items: flex-end ;
}
/* Footer Scrollbar */
/* ------------------------------------------------------------------------------------------------- */
.fc-nF {
position: sticky ;
bottom: 0 ;
z-index: var(--fc-sticky-header-footer-z) ;
}
.fc-Or > * {
margin-top: -1px ;
}
.fc-Or > * > * {
height: 1px ;
}
/* Print Utils */
/* ------------------------------------------------------------------------------------------------- */
.fc-6w {
-moz-column-break-inside: avoid ;
break-inside: avoid ;
page-break-inside: avoid ;
}
.fc-9C {
min-height: 4em ;
}
.fc-GJ {
display: flow-root ;
}
/* Z-index */
/* ------------------------------------------------------------------------------------------------- */
.fc-d0 {
z-index: 0;
}
.fc-Og {
z-index: 1;
}
.fc-BT {
z-index: 2;
}
.fc-XO {
z-index: 3;
}
.fc-e8 {
z-index: 4;
}
.fc-sR {
z-index: 5;
}
.fc-W4 {
z-index: 1000;
}
.fc-eV {
z-index: 9999;
}
.fc-4U:focus-visible {
z-index: 2;
}
/* INTERNAL MARKER -- used to mark an element for internal significance */
/* ------------------------------------------------------------------------------------------------- */
.fc-YC {}
.fc-M0 {}
.fc-N9 {}
.fc-41 {}
.fc-vO {}
.fc-i0 {}
.fc-Nc {}
.fc-hg {}
.fc-dk {}
.fc-aw {}
.fc-kw {}
.fc-Zy {}
.fc-ox {}
.fc-Q3 {}
.fc-P4 {}