UNPKG

scheduler-react

Version:

A scheduler and resource planning component built for React

300 lines (299 loc) 5.34 kB
.header1-text { font-size: 25px; color: #90CDF9; font-weight: 500; } .header2-text { padding-left: 1vw; font-size: 14px; font-weight: 500; margin-left: 500; } .header4-text { padding-left: 1vw; font-size: 14px; font-weight: 500; } .testing { width: 200px; } .header3-text { font-size: 12px; font-weight: bold; } .headerDate-text { color: #F08421; } .header3-issues { background-color: #F1F1F1; font-size: 16px; font-style: normal; font-weight: 700; line-height: 32px; color: rgba(0, 0, 0, 0.8); text-align: left; padding-left: 24px; } .base-text { font-size: 12px; } .help-text { font-size: 12px; color: #999; } .disabled-text { font-size: 12px; color: #ccc; } .scheduler { margin: 0px 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 { white-space: initial; border: 1px solid #e9e9e9; overflow: hidden; } .author-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-right: 1px 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.resource-table tr:last-child td, table.scheduler-bg-table tr:last-child td, */ table.scheduler-table tr:last-child td { border-bottom: 0; } .timeline-event { position: absolute; } .day-event { position: relative; display: inline-block; margin: 0px 5px; } .day-event-container { text-align: left; padding: 5px 5px 0 5px; } .round-all { border-radius: 14px; } .round-head { border-radius: 14px 0px 0px 14px; } .round-tail { border-radius: 0px 14px 14px 0px; } .round-none { border-radius: 0px; } .event-container { position: relative; } .event-item { margin: 1px 0; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; padding-right: 20px !important; } .overflow-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 5px !important; } .overflow2-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 400px; 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; } .container-grid { display: grid; grid-template-columns: repeat(0.3fr 0.8fr 0.1fr); grid-auto-flow: column; overflow-wrap: break-word; } .wrapper-header { display: grid; margin-top: 15px; grid-template-columns: 1fr; grid-template-rows: 30px 30px 30px; padding-left: 30px; justify-self: start; } .text-header { font-weight: 700; font-style: normal; font-size: 16px; line-height: 16px; color: #263742; } .text-header2 { font-weight: 500; font-style: normal; font-size: 12px; line-height: 16px; color: #8B9096; } .text-header-link { font-weight: 700; font-style: normal; font-size: 12px; line-height: 16px; color: #F08421; } .image-header { display: grid; align-items: center; justify-items: center; height: 80px; width: 80px; margin-top: 12px; margin-left: 40px; border-radius: 7em; background-size: cover; } .icon-header { padding-top: 20px; } .circle { border-radius: 50%; width: 20px; height: 20px; object-fit: contain; } @media (max-width: 1400px) { .image-header { display: none !important; } }