2022-09-08 15:06:44 -04:00

228 lines
3.1 KiB
SCSS

/* ==============
Calendar
===================*/
@import "~@fullcalendar/daygrid/main.css";
@import "~@fullcalendar/timegrid/main.css";
@import "~@fullcalendar/bootstrap/main.css";
@import "~@fullcalendar/list/main.css";
.calendar {
float: left;
margin-bottom: 0;
}
.app-calendar {
.btn {
text-transform: capitalize;
}
}
.fc-view {
margin-top: 30px;
}
.none-border {
.modal-footer {
border-top: none;
}
}
.fc-toolbar {
margin: 15px 0 5px 0;
h2 {
font-size: 1.25rem !important;
line-height: 1.875rem;
text-transform: uppercase;
}
}
.fc-day-grid-event {
.fc-time {
font-weight: 500;
}
}
.fc-toolbar {
.fc-state-active,
.ui-state-active,
button:focus,
button:hover,
.ui-state-hover {
z-index: 0;
}
}
.fc {
th.fc-widget-header {
background: $gray-100;
font-size: 13px;
line-height: 20px;
padding: 10px 0;
text-transform: uppercase;
}
}
.fc-unthemed {
th,
td,
thead,
tbody,
.fc-divider,
.fc-row,
.fc-popover {
border-color: $gray-300;
}
}
.fc-ltr {
.fc-basic-view {
.fc-day-top {
.fc-day-number {
float: right;
height: 20px;
width: 20px;
text-align: center;
line-height: 20px;
background-color: $gray-100;
border-radius: 50%;
margin: 5px;
font-size: 12px;
}
}
}
}
.fc-button {
background: $gray-100;
border: none;
color: $gray-700;
text-transform: capitalize;
box-shadow: none;
border-radius: 3px;
margin: 0 3px;
padding: 6px 12px;
height: auto;
}
.fc-text-arrow {
font-family: inherit;
font-size: 1rem;
}
.fc-state-hover {
background: $gray-100;
}
.fc-state-highlight {
background: $gray-300;
}
.fc-state-down,
.fc-state-active,
.fc-state-disabled {
background-color: $primary;
color: $white;
text-shadow: none;
}
.fc-cell-overlay {
background: $gray-300;
}
.fc-unthemed {
.fc-today {
background: $white;
}
}
.fc-event {
border-radius: 2px !important;
border: none !important;
cursor: move !important;
font-size: 0.8125rem !important;
margin: 5px 7px !important;
padding: 5px 5px !important;
text-align: center !important;
color: white !important;
}
.external-event {
cursor: move;
margin: 10px 0;
padding: 8px 10px;
color: $white;
}
.fc-basic-view {
td.fc-week-number {
span {
padding-right: 8px;
}
}
td.fc-day-number {
padding-right: 8px;
}
.fc-content {
color: $white;
}
}
.fc-time-grid-event {
.fc-content {
color: $white;
}
}
.fc-timeGridDay-view {
.fc-content {
.fc-time {
display: inline-block;
}
.fc-title {
display: inline-block;
margin-left: 5px;
}
}
}
@include media-breakpoint-down(sm) {
.fc-toolbar {
display: block !important;
text-align: center;
.fc-left,
.fc-right,
.fc-center {
float: none;
display: block;
clear: both;
margin: 10px 0;
}
}
.fc {
.fc-toolbar {
>* {
>* {
float: none;
}
}
}
}
.fc-today-button {
display: none;
}
}