react-big-schedule
Version:
React Big Schedule is a powerful and intuitive scheduler and resource planning solution built with React. Seamlessly integrate this modern browser-compatible component into your applications to effectively manage time, appointments, and resources. With d
267 lines (223 loc) • 5.49 kB
CSS
.react-big-schedule *,
.react-big-schedule *::before,
.react-big-schedule *::after {
box-sizing: border-box;
}
/* Text Styles */
.react-big-schedule .header1-text {
font-size: 25px;
color: #90cdf9;
font-weight: 500;
}
.react-big-schedule .header2-text,
.react-big-schedule .header3-text,
.react-big-schedule .base-text,
.react-big-schedule .help-text,
.react-big-schedule .disabled-text {
font-size: 12px;
font-weight: 500;
}
.react-big-schedule .header2-text {
font-size: 14px;
}
.react-big-schedule .help-text {
color: #999;
}
.react-big-schedule .disabled-text {
color: #ccc;
}
/* Scheduler Components */
.react-big-schedule {
margin: 20px auto;
border-spacing: 0;
}
.react-big-schedule td {
padding: 0;
}
.react-big-schedule .resource-view {
border: 1px solid #e9e9e9;
overflow: hidden;
}
.react-big-schedule .scheduler-view {
border: 1px solid #e9e9e9;
margin: 0 0 0 -1px;
padding: 0;
}
/* Positioning */
.react-big-schedule .scheduler-content {
position: relative;
z-index: 2;
}
.react-big-schedule .scheduler-bg {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 1;
}
.react-big-schedule .expander-space {
overflow: hidden;
display: inline-block;
width: 1em;
height: 1em;
line-height: 1em;
font-size: 0.9em;
vertical-align: middle;
margin-top: -1%;
}
/* Tables */
.react-big-schedule table.resource-table,
.react-big-schedule table.scheduler-bg-table,
.react-big-schedule table.scheduler-table,
.react-big-schedule table.scheduler-content-table {
width: 100%;
margin: 0;
padding: 0;
border-spacing: 0;
}
.react-big-schedule table.resource-table,
.react-big-schedule table.scheduler-bg-table,
.react-big-schedule table.scheduler-table {
text-align: center;
}
.react-big-schedule table.scheduler-table {
border: 1px solid #e9e9e9;
}
.react-big-schedule table.scheduler-content-table {
border: 0 solid #e9e9e9;
}
/* Table Borders */
.react-big-schedule table.resource-table tr,
.react-big-schedule table.scheduler-bg-table tr,
.react-big-schedule table.scheduler-table tr {
border-bottom: 1px solid #e9e9e9;
}
.react-big-schedule table.resource-table th,
.react-big-schedule table.scheduler-table th,
.react-big-schedule table.resource-table td,
.react-big-schedule table.scheduler-bg-table td,
.react-big-schedule table.scheduler-table td,
.react-big-schedule table.scheduler-bg-table th {
border-right: 1px solid #e9e9e9;
border-bottom: 1px solid #e9e9e9;
}
.react-big-schedule table.resource-table tr th:last-child,
.react-big-schedule table.scheduler-table tr th:last-child,
.react-big-schedule table.resource-table tr td:last-child,
.react-big-schedule table.scheduler-table tr td:last-child {
border-right: 0;
}
.react-big-schedule table.scheduler-table tr:last-child td {
border-bottom: 0;
}
/* Events */
.react-big-schedule .timeline-event {
position: absolute;
cursor: pointer;
}
.react-big-schedule .day-event {
position: relative;
display: inline-block;
margin: 0 5px;
}
.react-big-schedule .day-event-container {
text-align: left;
padding: 5px 5px 0;
}
.react-big-schedule .event-container {
position: relative;
}
.react-big-schedule .event-item {
margin: 1px 0;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #fff;
padding-right: 20px ;
}
/* Rounded Borders */
.react-big-schedule .round-all {
border-radius: 14px;
}
.react-big-schedule .round-head {
border-radius: 14px 0 0 14px;
}
.react-big-schedule .round-tail {
border-radius: 0 14px 14px 0;
}
.react-big-schedule .round-none {
border-radius: 0;
}
/* Utilities */
.react-big-schedule .overflow-text {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding-right: 5px ;
}
.react-big-schedule .status-dot {
width: 14px;
height: 14px;
border-radius: 7px;
}
.react-big-schedule .selected-area {
position: absolute;
}
/* Slots and Cells */
.react-big-schedule .slot-cell,
.react-big-schedule .slot-text {
padding-left: 4px;
padding-right: 4px;
}
.react-big-schedule .slot-text {
display: inline-block;
}
/* ANT Design Components */
.react-big-schedule .ant-radio-button-wrapper-checked {
background-color: #108ee9;
color: #ffffff;
}
.react-big-schedule .icon-nav:hover {
color: #1e90ff ;
box-shadow: 0 0 0 ;
cursor: pointer;
}
/* Popover and Overlay */
.react-big-schedule .add-more-popover-overlay {
position: absolute;
z-index: 5;
border: 1px solid #e5e5e5;
background-color: #fff;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
padding: 10px;
}
.react-big-schedule .popover-calendar {
width: 300px;
}
.react-big-schedule .popover-calendar .ant-calendar {
box-shadow: 0 1px 6px rgba(0, 0, 0, 0) ;
}
/* Resizable Elements */
.react-big-schedule .event-resizer {
position: absolute;
z-index: 4;
display: block;
width: 7px;
top: -1px;
bottom: -1px;
}
.react-big-schedule .event-start-resizer {
cursor: w-resize;
left: -1px;
}
.react-big-schedule .event-end-resizer {
cursor: e-resize;
right: -1px;
}
/* Buttons */
.react-big-schedule .txt-btn-dis {
border: none;
background-color: transparent;
}