body {
font-family: 'Inter', sans-serif;
background-color: #f8f9fa;
}
main.container-fluid {
padding-top: 1rem;
padding-bottom: 2rem;
}
.min-vh-100 {
min-height: 100vh;
}
.navbar {
box-shadow: 0 2px 4px rgba(0,0,0,.1);
}
.card {
border: none;
border-radius: 0.5rem;
}
.btn {
border-radius: 0.375rem;
font-weight: 500;
}
.input-group-text {
background-color: #e9ecef;
border: 1px solid #ced4da;
}
.schedule-table {
border-collapse: separate;
border-spacing: 0;
table-layout: fixed;
min-width: 1090px;
}
.schedule-table th, .schedule-table td {
vertical-align: middle;
}
.schedule-table th.day-col {
width: 100px;
min-width: 100px;
text-align: center;
border-right: 1px solid #dee2e6;
border-bottom: 1px solid #dee2e6;
}
.schedule-table th.hour-col {
text-align: center;
font-weight: 600;
color: #495057;
font-size: 0.9rem;
border-left: 1px dashed #e9ecef;
white-space: nowrap;
min-width: 90px;
width: 90px;
padding: 0.5rem 0.5rem;
vertical-align: middle;
}
.schedule-table .day-label {
font-weight: 600;
text-align: center;
border-right: 1px solid #dee2e6;
}
.schedule-table .weekend-day > .day-label,
.schedule-table .weekend-day > .timeline-cell {
background-color: #f1f3f5;
}
.timeline-cell {
position: relative;
padding: 0 !important;
height: 60px;
border-left: 1px solid #dee2e6;
}
.timeline-background-grid {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
z-index: 1;
}
.hour-slot {
flex: 1 1 0px;
height: 100%;
border-left: 1px dashed #e9ecef;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: background-color 0.2s ease-in-out;
}
.hour-slot .add-icon {
color: #adb5bd;
font-size: 1rem;
opacity: 0;
transition: opacity 0.2s ease-in-out;
}
.hour-slot:hover {
background-color: rgba(0, 123, 255, 0.05);
}
.hour-slot:hover .add-icon {
opacity: 1;
}
.timeline-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 2;
}
.timeline-event {
position: absolute;
color: white;
border-radius: 4px;
padding: 4px 8px;
font-size: 0.7rem;
font-weight: 500;
line-height: 1.3;
white-space: normal;
overflow: hidden;
text-overflow: ellipsis;
border: 1px solid;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
display: flex;
flex-direction: column;
justify-content: center;
}
.timeline-event small {
font-size: 0.9em;
opacity: 0.85;
}
.timeline-event.editable {
cursor: pointer;
}
.timeline-event.editable:hover {
filter: brightness(110%);
}
.schedule-table thead th {
position: -webkit-sticky;
position: sticky;
top: 0;
background-color: #f8f9fa;
}
.schedule-table .day-col,
.schedule-table .day-label {
position: -webkit-sticky;
position: sticky;
left: 0;
background-color: #f8f9fa;
}
.schedule-table thead .hour-col {
z-index: 5;
}
.schedule-table tbody .day-label {
z-index: 6;
}
.schedule-table thead .day-col {
z-index: 7;
}
@media (max-width: 767.98px) {
.schedule-table .timeline-cell {
height: 70px;
}
.timeline-event {
font-size: 0.65rem;
padding: 2px 4px;
line-height: 1.2;
word-break: break-word;
}
.schedule-table th.day-col {
width: 60px;
min-width: 60px;
font-size: 0.8rem;
}
.schedule-table .day-label {
font-size: 0.9rem;
}
.schedule-table {
min-width: 1050px;
}
}
@media (max-width: 991.98px) {
.navbar-brand {
font-size: 1rem;
max-width: calc(100% - 70px);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.table th,
.table td {
white-space: nowrap;
vertical-align: middle;
}
.accordion-header.d-flex .accordion-button {
border-radius: var(--bs-accordion-border-radius);
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-right: none;
}
.accordion-header.d-flex .btn {
border-radius: var(--bs-accordion-border-radius);
border-top-left-radius: 0;
border-bottom-left-radius: 0;
border-color: var(--bs-accordion-border-color);
}
.accordion-header.d-flex .accordion-button:focus {
box-shadow: none;
z-index: 4;
}
.accordion-header.d-flex .btn:focus {
box-shadow: inset 0 0 0 1px var(--bs-accordion-border-color);
}