UNPKG

big-scheduler

Version:

Big scheduler 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 drag-a

394 lines (333 loc) 6.62 kB
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } .header1-text { font-size: 25px; color: #90cdf9; font-weight: 500; } .header2-text { font-size: 14px; font-weight: 500; } .header3-text { font-size: 10px; font-weight: 500; } .base-text { font-size: 10px; } .help-text { font-size: 13px; color: #666666; margin: -3px; } .disabled-text { font-size: 12px; color: #ccc; } .scheduler { /* margin: 20px auto; */ border-spacing: 0; } .scheduler td { padding: 0px; } .expander-space { overflow: hidden; display: inline-block; width: 1em; height: 1em; line-height: 1em; font-size: 0.9em; vertical-align: middle; margin-top: -1%; } .resource-view { border: 1px solid #e9e9e9; overflow: hidden; } .scheduler-view { border: 1px solid #e9e9e9; margin: 0 0 0 -1px; padding: 0; } .scheduler-content { position: relative; z-index: 2; } .scheduler-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1; } table.resource-table, table.scheduler-bg-table, table.scheduler-table { width: 100%; margin: 0; padding: 0; border-spacing: 0; text-align: center; } table.scheduler-table { border: 1px solid #e9e9e9; } table.scheduler-content-table { margin: 0; padding: 0; border: 0 solid #e9e9e9; border-spacing: 0; } table.resource-table tr, table.scheduler-bg-table tr, table.scheduler-table tr { border-bottom: 1px solid #e9e9e9; } table.resource-table th, table.scheduler-table th, table.resource-table td, table.scheduler-bg-table td, table.scheduler-table td { border-right: 1px solid #e9e9e9; border-bottom: 1px solid #e9e9e9; } /* table.scheduler-bg-table th { border: 0px solid #e9e9e9; } */ table.resource-table tr th:last-child, table.scheduler-table tr th:last-child, table.resource-table tr td:last-child, table.scheduler-table tr td:last-child { border-right: 0; } table.scheduler-table tr:last-child td { border-bottom: 0; } .timeline-event { position: absolute; cursor: pointer; } .day-event { position: relative; display: inline-block; margin: 0px 5px; } .day-event-container { text-align: left; padding: 5px 5px 0; } .round-all { border-radius: 5px; } .round-head { border-radius: 5px; } .round-tail { border-radius: 5px; } .round-none { border-radius: 0px; } .event-container { position: relative; } .event-item { margin: 1px 0; width: 100%; overflow: hidden; text-overflow: unset; white-space: nowrap; color: #fff; padding-right: 20px !important; } .overflow-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 5px !important; } .status-dot { width: 14px; height: 14px; border-radius: 7px; } .ant-radio-button-wrapper-checked { background-color: #108ee9; color: #ffffff; } .icon-nav:hover { color: #1e90ff !important; box-shadow: 0 0 0px !important; cursor: pointer; } .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; } .popover-calendar { width: 300px; } .popover-calendar .ant-calendar { box-shadow: 0 1px 6px rgba(0, 0, 0, 0) !important; } .event-resizer { position: absolute; z-index: 4; display: block; width: 7px; top: -1px; bottom: -1px; } .event-start-resizer { cursor: w-resize; left: -1px; } .event-end-resizer { cursor: e-resize; right: -1px; } .selected-area { position: absolute; } .slot-cell { padding-left: 4px; padding-right: 4px; } .slot-text { display: inline-block; padding-left: 4px; padding-right: 4px; } .txt-btn-dis { border: none; background-color: transparent; color: #ffffff; } .header-month { text-align: center; font-weight: 300; font-size: 12px; color: #ffffff; background: #646464; border-left: 1px solid #e9e9e9; border-bottom: 1px solid #e9e9e9; } .header-week { text-align: center; background-color: #ddd; font-size: 9px; padding: 0px; margin: 0px; color: #ffffff; background: #646464; font-weight: 300; border-left: 1px solid #e9e9e9; border-bottom: 1px solid #e9e9e9; } .header-date { text-align: center; background-color: #f5f5f5; font-size: 9px; color: #ffffff; background: #646464; font-weight: 300; border-left: 1px solid #e9e9e9; } .context-menu li:hover { background-color: rgb(243, 243, 243); } .weekend { position: relative; border: 0px solid transparent; /* Transparent border to allow the pseudo-elements to show */ padding: 4px; /* width: 100%; height: 100%; */ } .weekend::before, .weekend::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: repeating-linear-gradient( 45deg, #c78d8d, #c78d8d 1px, transparent 0px, transparent 2px ); } .weekend::after { background: repeating-linear-gradient( -45deg, #c78d8d, #c78d8d 1px, transparent 0px, transparent 2px ); } .resource-scrollbar::-webkit-scrollbar { display: none; } .resource-scrollbar { -ms-overflow-style: thin; scrollbar-width: thin; } .event_float_inner:after { content: ""; border-color: transparent #fff transparent transparent; border-style: solid; border-width: 5px; width: 0; height: 0; position: absolute; top: 10px; left: -4px; } .item-popover { left: 180px !important; } /* Scoped inside your custom dropdown */ .custom-dropdown .ant-dropdown-menu-item.ant-dropdown-menu-item-only-child { height: 25px; color: #333; cursor: pointer; white-space: nowrap; } /* For disabled styling if needed */ .custom-dropdown .ant-dropdown-menu-item.ant-dropdown-menu-item-only-child[aria-disabled="true"] { color: #999; cursor: not-allowed; pointer-events: none; } .custom-dropdown .ant-dropdown-menu-item-group-title { padding: 0 !important; color: rgba(0, 0, 0, 0.6); /* optional override */ font-weight: bold; /* optional override */ } .custom-dropdown .ant-dropdown-menu { border-radius: 0 !important; } .menu_disabled_sc { color: #869099 !important; cursor: not-allowed !important; pointer-events: none !important; }