691 lines
21 KiB
CSS
691 lines
21 KiB
CSS
|
|
||
|
/* classes attached to <body> */
|
||
|
/* TODO: make fc-event selector work when calender in shadow DOM */
|
||
|
.fc-not-allowed,
|
||
|
.fc-not-allowed .fc-event { /* override events' custom cursors */
|
||
|
cursor: not-allowed;
|
||
|
}
|
||
|
|
||
|
/* TODO: not attached to body. attached to specific els. move */
|
||
|
.fc-unselectable {
|
||
|
-webkit-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);
|
||
|
}
|
||
|
.fc {
|
||
|
/* layout of immediate children */
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
|
||
|
font-size: 1em
|
||
|
}
|
||
|
.fc,
|
||
|
.fc *,
|
||
|
.fc *:before,
|
||
|
.fc *:after {
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
.fc table {
|
||
|
border-collapse: collapse;
|
||
|
border-spacing: 0;
|
||
|
font-size: 1em; /* normalize cross-browser */
|
||
|
}
|
||
|
.fc th {
|
||
|
text-align: center;
|
||
|
}
|
||
|
.fc th,
|
||
|
.fc td {
|
||
|
vertical-align: top;
|
||
|
padding: 0;
|
||
|
}
|
||
|
.fc a[data-navlink] {
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
.fc a[data-navlink]:hover {
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
.fc-direction-ltr {
|
||
|
direction: ltr;
|
||
|
text-align: left;
|
||
|
}
|
||
|
.fc-direction-rtl {
|
||
|
direction: rtl;
|
||
|
text-align: right;
|
||
|
}
|
||
|
.fc-theme-standard td,
|
||
|
.fc-theme-standard th {
|
||
|
border: 1px solid #ddd;
|
||
|
border: 1px solid var(--fc-border-color, #ddd);
|
||
|
}
|
||
|
/* for FF, which doesn't expand a 100% div within a table cell. use absolute positioning */
|
||
|
/* inner-wrappers are responsible for being absolute */
|
||
|
/* TODO: best place for this? */
|
||
|
.fc-liquid-hack td,
|
||
|
.fc-liquid-hack th {
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
@font-face {
|
||
|
font-family: 'fcicons';
|
||
|
src: url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUN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wBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format('truetype');
|
||
|
font-weight: normal;
|
||
|
font-style: normal;
|
||
|
}
|
||
|
|
||
|
.fc-icon {
|
||
|
/* added for fc */
|
||
|
display: inline-block;
|
||
|
width: 1em;
|
||
|
height: 1em;
|
||
|
text-align: center;
|
||
|
-webkit-user-select: none;
|
||
|
-moz-user-select: none;
|
||
|
-ms-user-select: none;
|
||
|
user-select: none;
|
||
|
|
||
|
/* use !important to prevent issues with browser extensions that change fonts */
|
||
|
font-family: 'fcicons' !important;
|
||
|
speak: none;
|
||
|
font-style: normal;
|
||
|
font-weight: normal;
|
||
|
font-variant: normal;
|
||
|
text-transform: none;
|
||
|
line-height: 1;
|
||
|
|
||
|
/* Better Font Rendering =========== */
|
||
|
-webkit-font-smoothing: antialiased;
|
||
|
-moz-osx-font-smoothing: grayscale;
|
||
|
}
|
||
|
|
||
|
.fc-icon-chevron-left:before {
|
||
|
content: "\e900";
|
||
|
}
|
||
|
|
||
|
.fc-icon-chevron-right:before {
|
||
|
content: "\e901";
|
||
|
}
|
||
|
|
||
|
.fc-icon-chevrons-left:before {
|
||
|
content: "\e902";
|
||
|
}
|
||
|
|
||
|
.fc-icon-chevrons-right:before {
|
||
|
content: "\e903";
|
||
|
}
|
||
|
|
||
|
.fc-icon-minus-square:before {
|
||
|
content: "\e904";
|
||
|
}
|
||
|
|
||
|
.fc-icon-plus-square:before {
|
||
|
content: "\e905";
|
||
|
}
|
||
|
|
||
|
.fc-icon-x:before {
|
||
|
content: "\e906";
|
||
|
}
|
||
|
/*
|
||
|
Lots taken from Flatly (MIT): https://bootswatch.com/4/flatly/bootstrap.css
|
||
|
|
||
|
These styles only apply when the standard-theme is activated.
|
||
|
When it's NOT activated, the fc-button classes won't even be in the DOM.
|
||
|
*/
|
||
|
.fc {
|
||
|
|
||
|
/* reset */
|
||
|
|
||
|
}
|
||
|
.fc .fc-button {
|
||
|
border-radius: 0;
|
||
|
overflow: visible;
|
||
|
text-transform: none;
|
||
|
margin: 0;
|
||
|
font-family: inherit;
|
||
|
font-size: inherit;
|
||
|
line-height: inherit;
|
||
|
}
|
||
|
.fc .fc-button:focus {
|
||
|
outline: 1px dotted;
|
||
|
outline: 5px auto -webkit-focus-ring-color;
|
||
|
}
|
||
|
.fc .fc-button {
|
||
|
-webkit-appearance: button;
|
||
|
}
|
||
|
.fc .fc-button:not(:disabled) {
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
.fc .fc-button::-moz-focus-inner {
|
||
|
padding: 0;
|
||
|
border-style: none;
|
||
|
}
|
||
|
.fc {
|
||
|
|
||
|
/* theme */
|
||
|
|
||
|
}
|
||
|
.fc .fc-button {
|
||
|
display: inline-block;
|
||
|
font-weight: 400;
|
||
|
text-align: center;
|
||
|
vertical-align: middle;
|
||
|
-webkit-user-select: none;
|
||
|
-moz-user-select: none;
|
||
|
-ms-user-select: none;
|
||
|
user-select: none;
|
||
|
background-color: transparent;
|
||
|
border: 1px solid transparent;
|
||
|
padding: 0.4em 0.65em;
|
||
|
font-size: 1em;
|
||
|
line-height: 1.5;
|
||
|
border-radius: 0.25em;
|
||
|
}
|
||
|
.fc .fc-button:hover {
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
.fc .fc-button:focus {
|
||
|
outline: 0;
|
||
|
box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
|
||
|
}
|
||
|
.fc .fc-button:disabled {
|
||
|
opacity: 0.65;
|
||
|
}
|
||
|
.fc {
|
||
|
|
||
|
/* "primary" coloring */
|
||
|
|
||
|
}
|
||
|
.fc .fc-button-primary {
|
||
|
color: #fff;
|
||
|
color: var(--fc-button-text-color, #fff);
|
||
|
background-color: #2C3E50;
|
||
|
background-color: var(--fc-button-bg-color, #2C3E50);
|
||
|
border-color: #2C3E50;
|
||
|
border-color: var(--fc-button-border-color, #2C3E50);
|
||
|
}
|
||
|
.fc .fc-button-primary:hover {
|
||
|
color: #fff;
|
||
|
color: var(--fc-button-text-color, #fff);
|
||
|
background-color: #1e2b37;
|
||
|
background-color: var(--fc-button-hover-bg-color, #1e2b37);
|
||
|
border-color: #1a252f;
|
||
|
border-color: var(--fc-button-hover-border-color, #1a252f);
|
||
|
}
|
||
|
.fc .fc-button-primary:disabled { /* not DRY */
|
||
|
color: #fff;
|
||
|
color: var(--fc-button-text-color, #fff);
|
||
|
background-color: #2C3E50;
|
||
|
background-color: var(--fc-button-bg-color, #2C3E50);
|
||
|
border-color: #2C3E50;
|
||
|
border-color: var(--fc-button-border-color, #2C3E50); /* overrides :hover */
|
||
|
}
|
||
|
.fc .fc-button-primary:focus {
|
||
|
box-shadow: 0 0 0 0.2rem rgba(76, 91, 106, 0.5);
|
||
|
}
|
||
|
.fc .fc-button-primary:not(:disabled):active,
|
||
|
.fc .fc-button-primary:not(:disabled).fc-button-active {
|
||
|
color: #fff;
|
||
|
color: var(--fc-button-text-color, #fff);
|
||
|
background-color: #1a252f;
|
||
|
background-color: var(--fc-button-active-bg-color, #1a252f);
|
||
|
border-color: #151e27;
|
||
|
border-color: var(--fc-button-active-border-color, #151e27);
|
||
|
}
|
||
|
.fc .fc-button-primary:not(:disabled):active:focus,
|
||
|
.fc .fc-button-primary:not(:disabled).fc-button-active:focus {
|
||
|
box-shadow: 0 0 0 0.2rem rgba(76, 91, 106, 0.5);
|
||
|
}
|
||
|
.fc {
|
||
|
|
||
|
/* icons within buttons */
|
||
|
|
||
|
}
|
||
|
.fc .fc-button .fc-icon {
|
||
|
vertical-align: middle;
|
||
|
font-size: 1.5em; /* bump up the size (but don't make it bigger than line-height of button, which is 1.5em also) */
|
||
|
}
|
||
|
.fc .fc-button-group {
|
||
|
position: relative;
|
||
|
display: inline-flex;
|
||
|
vertical-align: middle;
|
||
|
}
|
||
|
.fc .fc-button-group > .fc-button {
|
||
|
position: relative;
|
||
|
flex: 1 1 auto;
|
||
|
}
|
||
|
.fc .fc-button-group > .fc-button:hover {
|
||
|
z-index: 1;
|
||
|
}
|
||
|
.fc .fc-button-group > .fc-button:focus,
|
||
|
.fc .fc-button-group > .fc-button:active,
|
||
|
.fc .fc-button-group > .fc-button.fc-button-active {
|
||
|
z-index: 1;
|
||
|
}
|
||
|
.fc-direction-ltr .fc-button-group > .fc-button:not(:first-child) {
|
||
|
margin-left: -1px;
|
||
|
border-top-left-radius: 0;
|
||
|
border-bottom-left-radius: 0;
|
||
|
}
|
||
|
.fc-direction-ltr .fc-button-group > .fc-button:not(:last-child) {
|
||
|
border-top-right-radius: 0;
|
||
|
border-bottom-right-radius: 0;
|
||
|
}
|
||
|
.fc-direction-rtl .fc-button-group > .fc-button:not(:first-child) {
|
||
|
margin-right: -1px;
|
||
|
border-top-right-radius: 0;
|
||
|
border-bottom-right-radius: 0;
|
||
|
}
|
||
|
.fc-direction-rtl .fc-button-group > .fc-button:not(:last-child) {
|
||
|
border-top-left-radius: 0;
|
||
|
border-bottom-left-radius: 0;
|
||
|
}
|
||
|
.fc .fc-toolbar {
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
align-items: center;
|
||
|
}
|
||
|
.fc .fc-toolbar.fc-header-toolbar {
|
||
|
margin-bottom: 1.5em;
|
||
|
}
|
||
|
.fc .fc-toolbar.fc-footer-toolbar {
|
||
|
margin-top: 1.5em;
|
||
|
}
|
||
|
.fc .fc-toolbar-title {
|
||
|
font-size: 1.75em;
|
||
|
margin: 0;
|
||
|
}
|
||
|
.fc-direction-ltr .fc-toolbar > * > :not(:first-child) {
|
||
|
margin-left: .75em; /* space between */
|
||
|
}
|
||
|
.fc-direction-rtl .fc-toolbar > * > :not(:first-child) {
|
||
|
margin-right: .75em; /* space between */
|
||
|
}
|
||
|
.fc-direction-rtl .fc-toolbar-ltr { /* when the toolbar-chunk positioning system is explicitly left-to-right */
|
||
|
flex-direction: row-reverse;
|
||
|
}
|
||
|
.fc .fc-scroller {
|
||
|
-webkit-overflow-scrolling: touch;
|
||
|
position: relative; /* for abs-positioned elements within */
|
||
|
}
|
||
|
.fc .fc-scroller-liquid {
|
||
|
height: 100%;
|
||
|
}
|
||
|
.fc .fc-scroller-liquid-absolute {
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
right: 0;
|
||
|
left: 0;
|
||
|
bottom: 0;
|
||
|
}
|
||
|
.fc .fc-scroller-harness {
|
||
|
position: relative;
|
||
|
overflow: hidden;
|
||
|
direction: ltr;
|
||
|
/* hack for chrome computing the scroller's right/left wrong for rtl. undone below... */
|
||
|
/* TODO: demonstrate in codepen */
|
||
|
}
|
||
|
.fc .fc-scroller-harness-liquid {
|
||
|
height: 100%;
|
||
|
}
|
||
|
.fc-direction-rtl .fc-scroller-harness > .fc-scroller { /* undo above hack */
|
||
|
direction: rtl;
|
||
|
}
|
||
|
.fc-theme-standard .fc-scrollgrid {
|
||
|
border: 1px solid #ddd;
|
||
|
border: 1px solid var(--fc-border-color, #ddd); /* bootstrap does this. match */
|
||
|
}
|
||
|
.fc .fc-scrollgrid,
|
||
|
.fc .fc-scrollgrid table { /* all tables (self included) */
|
||
|
width: 100%; /* because tables don't normally do this */
|
||
|
table-layout: fixed;
|
||
|
}
|
||
|
.fc .fc-scrollgrid table { /* inner tables */
|
||
|
border-top-style: hidden;
|
||
|
border-left-style: hidden;
|
||
|
border-right-style: hidden;
|
||
|
}
|
||
|
.fc .fc-scrollgrid {
|
||
|
|
||
|
border-collapse: separate;
|
||
|
border-right-width: 0;
|
||
|
border-bottom-width: 0;
|
||
|
|
||
|
}
|
||
|
.fc .fc-scrollgrid-liquid {
|
||
|
height: 100%;
|
||
|
}
|
||
|
.fc .fc-scrollgrid-section { /* a <tr> */
|
||
|
height: 1px /* better than 0, for firefox */
|
||
|
|
||
|
}
|
||
|
.fc .fc-scrollgrid-section > td {
|
||
|
height: 1px; /* needs a height so inner div within grow. better than 0, for firefox */
|
||
|
}
|
||
|
.fc .fc-scrollgrid-section table {
|
||
|
height: 1px;
|
||
|
/* for most browsers, if a height isn't set on the table, can't do liquid-height within cells */
|
||
|
/* serves as a min-height. harmless */
|
||
|
}
|
||
|
.fc .fc-scrollgrid-section-liquid > td {
|
||
|
height: 100%; /* better than `auto`, for firefox */
|
||
|
}
|
||
|
.fc .fc-scrollgrid-section > * {
|
||
|
border-top-width: 0;
|
||
|
border-left-width: 0;
|
||
|
}
|
||
|
.fc .fc-scrollgrid-section-header > *,
|
||
|
.fc .fc-scrollgrid-section-footer > * {
|
||
|
border-bottom-width: 0;
|
||
|
}
|
||
|
.fc .fc-scrollgrid-section-body table,
|
||
|
.fc .fc-scrollgrid-section-footer table {
|
||
|
border-bottom-style: hidden; /* head keeps its bottom border tho */
|
||
|
}
|
||
|
.fc {
|
||
|
|
||
|
/* stickiness */
|
||
|
|
||
|
}
|
||
|
.fc .fc-scrollgrid-section-sticky > * {
|
||
|
background: #fff;
|
||
|
background: var(--fc-page-bg-color, #fff);
|
||
|
position: sticky;
|
||
|
z-index: 3; /* TODO: var */
|
||
|
/* TODO: box-shadow when sticking */
|
||
|
}
|
||
|
.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky > * {
|
||
|
top: 0; /* because border-sharing causes a gap at the top */
|
||
|
/* TODO: give safari -1. has bug */
|
||
|
}
|
||
|
.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky > * {
|
||
|
bottom: 0; /* known bug: bottom-stickiness doesn't work in safari */
|
||
|
}
|
||
|
.fc .fc-scrollgrid-sticky-shim { /* for horizontal scrollbar */
|
||
|
height: 1px; /* needs height to create scrollbars */
|
||
|
margin-bottom: -1px;
|
||
|
}
|
||
|
.fc-sticky { /* no .fc wrap because used as child of body */
|
||
|
position: sticky;
|
||
|
}
|
||
|
.fc .fc-view-harness {
|
||
|
flex-grow: 1; /* because this harness is WITHIN the .fc's flexbox */
|
||
|
position: relative;
|
||
|
}
|
||
|
.fc {
|
||
|
|
||
|
/* when the harness controls the height, make the view liquid */
|
||
|
|
||
|
}
|
||
|
.fc .fc-view-harness-active > .fc-view {
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
right: 0;
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
}
|
||
|
.fc .fc-col-header-cell-cushion {
|
||
|
display: inline-block; /* x-browser for when sticky (when multi-tier header) */
|
||
|
padding: 2px 4px;
|
||
|
}
|
||
|
.fc .fc-bg-event,
|
||
|
.fc .fc-non-business,
|
||
|
.fc .fc-highlight {
|
||
|
/* will always have a harness with position:relative/absolute, so absolutely expand */
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
bottom: 0;
|
||
|
}
|
||
|
.fc .fc-non-business {
|
||
|
background: rgba(215, 215, 215, 0.3);
|
||
|
background: var(--fc-non-business-color, rgba(215, 215, 215, 0.3));
|
||
|
}
|
||
|
.fc .fc-bg-event {
|
||
|
background: rgb(143, 223, 130);
|
||
|
background: var(--fc-bg-event-color, rgb(143, 223, 130));
|
||
|
opacity: 0.3;
|
||
|
opacity: var(--fc-bg-event-opacity, 0.3)
|
||
|
}
|
||
|
.fc .fc-bg-event .fc-event-title {
|
||
|
margin: .5em;
|
||
|
font-size: .85em;
|
||
|
font-size: var(--fc-small-font-size, .85em);
|
||
|
font-style: italic;
|
||
|
}
|
||
|
.fc .fc-highlight {
|
||
|
background: rgba(188, 232, 241, 0.3);
|
||
|
background: var(--fc-highlight-color, rgba(188, 232, 241, 0.3));
|
||
|
}
|
||
|
.fc .fc-cell-shaded,
|
||
|
.fc .fc-day-disabled {
|
||
|
background: rgba(208, 208, 208, 0.3);
|
||
|
background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));
|
||
|
}
|
||
|
/* link resets */
|
||
|
/* ---------------------------------------------------------------------------------------------------- */
|
||
|
a.fc-event,
|
||
|
a.fc-event:hover {
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
/* cursor */
|
||
|
.fc-event[href],
|
||
|
.fc-event.fc-event-draggable {
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
/* event text content */
|
||
|
/* ---------------------------------------------------------------------------------------------------- */
|
||
|
.fc-event .fc-event-main {
|
||
|
position: relative;
|
||
|
z-index: 2;
|
||
|
}
|
||
|
/* dragging */
|
||
|
/* ---------------------------------------------------------------------------------------------------- */
|
||
|
.fc-event-dragging:not(.fc-event-selected) { /* MOUSE */
|
||
|
opacity: 0.75;
|
||
|
}
|
||
|
.fc-event-dragging.fc-event-selected { /* TOUCH */
|
||
|
box-shadow: 0 2px 7px rgba(0, 0, 0, 0.3);
|
||
|
}
|
||
|
/* resizing */
|
||
|
/* ---------------------------------------------------------------------------------------------------- */
|
||
|
/* (subclasses should hone positioning for touch and non-touch) */
|
||
|
.fc-event .fc-event-resizer {
|
||
|
display: none;
|
||
|
position: absolute;
|
||
|
z-index: 4;
|
||
|
}
|
||
|
.fc-event:hover, /* MOUSE */
|
||
|
.fc-event-selected { /* TOUCH */
|
||
|
|
||
|
}
|
||
|
.fc-event:hover .fc-event-resizer, .fc-event-selected .fc-event-resizer {
|
||
|
display: block;
|
||
|
}
|
||
|
.fc-event-selected .fc-event-resizer {
|
||
|
border-radius: 4px;
|
||
|
border-radius: calc(var(--fc-event-resizer-dot-total-width, 8px) / 2);
|
||
|
border-width: 1px;
|
||
|
border-width: var(--fc-event-resizer-dot-border-width, 1px);
|
||
|
width: 8px;
|
||
|
width: var(--fc-event-resizer-dot-total-width, 8px);
|
||
|
height: 8px;
|
||
|
height: var(--fc-event-resizer-dot-total-width, 8px);
|
||
|
border-style: solid;
|
||
|
border-color: inherit;
|
||
|
background: #fff;
|
||
|
background: var(--fc-page-bg-color, #fff)
|
||
|
|
||
|
/* expand hit area */
|
||
|
|
||
|
}
|
||
|
.fc-event-selected .fc-event-resizer:before {
|
||
|
content: '';
|
||
|
position: absolute;
|
||
|
top: -20px;
|
||
|
left: -20px;
|
||
|
right: -20px;
|
||
|
bottom: -20px;
|
||
|
}
|
||
|
/* selecting (always TOUCH) */
|
||
|
/* OR, focused by tab-index */
|
||
|
/* (TODO: maybe not the best focus-styling for .fc-daygrid-dot-event) */
|
||
|
/* ---------------------------------------------------------------------------------------------------- */
|
||
|
.fc-event-selected,
|
||
|
.fc-event:focus {
|
||
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2)
|
||
|
|
||
|
/* expand hit area (subclasses should expand) */
|
||
|
|
||
|
}
|
||
|
.fc-event-selected:before, .fc-event:focus:before {
|
||
|
content: "";
|
||
|
position: absolute;
|
||
|
z-index: 3;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
bottom: 0;
|
||
|
}
|
||
|
.fc-event-selected,
|
||
|
.fc-event:focus {
|
||
|
|
||
|
/* dimmer effect */
|
||
|
|
||
|
}
|
||
|
.fc-event-selected:after, .fc-event:focus:after {
|
||
|
content: "";
|
||
|
background: rgba(0, 0, 0, 0.25);
|
||
|
background: var(--fc-event-selected-overlay-color, rgba(0, 0, 0, 0.25));
|
||
|
position: absolute;
|
||
|
z-index: 1;
|
||
|
|
||
|
/* assume there's a border on all sides. overcome it. */
|
||
|
/* sometimes there's NOT a border, in which case the dimmer will go over */
|
||
|
/* an adjacent border, which looks fine. */
|
||
|
top: -1px;
|
||
|
left: -1px;
|
||
|
right: -1px;
|
||
|
bottom: -1px;
|
||
|
}
|
||
|
/*
|
||
|
A HORIZONTAL event
|
||
|
*/
|
||
|
.fc-h-event { /* allowed to be top-level */
|
||
|
display: block;
|
||
|
border: 1px solid #3788d8;
|
||
|
border: 1px solid var(--fc-event-border-color, #3788d8);
|
||
|
background-color: #3788d8;
|
||
|
background-color: var(--fc-event-bg-color, #3788d8)
|
||
|
|
||
|
}
|
||
|
.fc-h-event .fc-event-main {
|
||
|
color: #fff;
|
||
|
color: var(--fc-event-text-color, #fff);
|
||
|
}
|
||
|
.fc-h-event .fc-event-main-frame {
|
||
|
display: flex; /* for make fc-event-title-container expand */
|
||
|
}
|
||
|
.fc-h-event .fc-event-time {
|
||
|
max-width: 100%; /* clip overflow on this element */
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
.fc-h-event .fc-event-title-container { /* serves as a container for the sticky cushion */
|
||
|
flex-grow: 1;
|
||
|
flex-shrink: 1;
|
||
|
min-width: 0; /* important for allowing to shrink all the way */
|
||
|
}
|
||
|
.fc-h-event .fc-event-title {
|
||
|
display: inline-block; /* need this to be sticky cross-browser */
|
||
|
vertical-align: top; /* for not messing up line-height */
|
||
|
left: 0; /* for sticky */
|
||
|
right: 0; /* for sticky */
|
||
|
max-width: 100%; /* clip overflow on this element */
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
.fc-h-event.fc-event-selected:before {
|
||
|
/* expand hit area */
|
||
|
top: -10px;
|
||
|
bottom: -10px;
|
||
|
}
|
||
|
/* adjust border and border-radius (if there is any) for non-start/end */
|
||
|
.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),
|
||
|
.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end) {
|
||
|
border-top-left-radius: 0;
|
||
|
border-bottom-left-radius: 0;
|
||
|
border-left-width: 0;
|
||
|
}
|
||
|
.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),
|
||
|
.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start) {
|
||
|
border-top-right-radius: 0;
|
||
|
border-bottom-right-radius: 0;
|
||
|
border-right-width: 0;
|
||
|
}
|
||
|
/* resizers */
|
||
|
.fc-h-event:not(.fc-event-selected) .fc-event-resizer {
|
||
|
top: 0;
|
||
|
bottom: 0;
|
||
|
width: 8px;
|
||
|
width: var(--fc-event-resizer-thickness, 8px);
|
||
|
}
|
||
|
.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,
|
||
|
.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end {
|
||
|
cursor: w-resize;
|
||
|
left: -4px;
|
||
|
left: calc(-0.5 * var(--fc-event-resizer-thickness, 8px));
|
||
|
}
|
||
|
.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,
|
||
|
.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start {
|
||
|
cursor: e-resize;
|
||
|
right: -4px;
|
||
|
right: calc(-0.5 * var(--fc-event-resizer-thickness, 8px));
|
||
|
}
|
||
|
/* resizers for TOUCH */
|
||
|
.fc-h-event.fc-event-selected .fc-event-resizer {
|
||
|
top: 50%;
|
||
|
margin-top: -4px;
|
||
|
margin-top: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));
|
||
|
}
|
||
|
.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,
|
||
|
.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end {
|
||
|
left: -4px;
|
||
|
left: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));
|
||
|
}
|
||
|
.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,
|
||
|
.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start {
|
||
|
right: -4px;
|
||
|
right: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));
|
||
|
}
|
||
|
.fc .fc-popover {
|
||
|
position: absolute;
|
||
|
z-index: 9999;
|
||
|
box-shadow: 0 2px 6px rgba(0,0,0,.15);
|
||
|
}
|
||
|
.fc .fc-popover-header {
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
justify-content: space-between;
|
||
|
align-items: center;
|
||
|
padding: 3px 4px;
|
||
|
}
|
||
|
.fc .fc-popover-title {
|
||
|
margin: 0 2px;
|
||
|
}
|
||
|
.fc .fc-popover-close {
|
||
|
cursor: pointer;
|
||
|
opacity: 0.65;
|
||
|
font-size: 1.1em;
|
||
|
}
|
||
|
.fc-theme-standard .fc-popover {
|
||
|
border: 1px solid #ddd;
|
||
|
border: 1px solid var(--fc-border-color, #ddd);
|
||
|
background: #fff;
|
||
|
background: var(--fc-page-bg-color, #fff);
|
||
|
}
|
||
|
.fc-theme-standard .fc-popover-header {
|
||
|
background: rgba(208, 208, 208, 0.3);
|
||
|
background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));
|
||
|
}
|