react-weekly-schedule
Version:
 
295 lines (264 loc) • 10.1 kB
CSS
@charset "UTF-8";
.styles-module_no-scroll__3IUv5 {
touch-action: none; }
.styles-module_theme__1FIRA {
--color-cell-border: hsl(204, 11%, 83%);
--color-drag-box-border: hsla(209, 97%, 50%, 0.5);
--color-drag-box-background: hsla(209, 97%, 65%, 0.5);
--color-handle-wrapper-text: hsla(209, 100%, 80%, 0.5);
--color-timeline-text: hsl(0, 0%, 48%);
--color-header-background: hsla(0, 0%, 97%, 1);
--color-event-text: hsl(207, 65%, 93%);
--color-event-background: hsl(202, 100%, 20%);
--color-event-active-background: hsl(202, 100%, 40%);
--color-event-hover-background: hsl(202, 100%, 30%);
--color-event-shadow-1: hsla(202, 100%, 16%, 0.5);
--color-event-shadow-2: rgba(217, 217, 217, 0.5);
--color-header-shadow-1: hsla(0, 0%, 50%, 0.2);
--color-header-shadow-2: hsla(0, 0%, 85%, 0.239);
--color-timeline-background: white;
--color-grid-background: white; }
.styles-module_root__2iNXQ {
--z-index-handle-wrapper: 1;
--z-index-layer-container: 1;
--z-index-event: 2;
--z-index-event-is-pending-creation: 1;
--z-index-event-active: 3;
--z-index-draggable: 2;
--z-index-dragging: 3;
--z-index-day-header-row: 2;
--z-index-header: 1;
--z-index-timeline: 2;
--z-index-timeline-header: 1;
contain: strict;
overflow: auto;
background: var(--color-grid-background, white);
border: 1px solid var(--color-cell-border); }
.styles-module_root__2iNXQ,
.styles-module_root__2iNXQ * {
box-sizing: border-box; }
.styles-module_grid-root__2ktzS {
position: relative;
display: table;
overflow: auto;
width: 100%; }
.styles-module_debug__2eCNx:not(.styles-module_debug-active__QqNIZ) {
display: none; }
.styles-module_calendar__tGgRK {
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
text-align: center;
display: flex;
position: relative;
border-collapse: collapse; }
.styles-module_react-draggable__3LVqd {
position: absolute; }
.styles-module_handle-wrapper__26Eew {
z-index: var(--z-index-handle-wrapper);
position: absolute;
left: 0;
bottom: 0;
right: 0;
top: 0;
background-position: center;
padding: 0 3px 3px 0;
background-repeat: no-repeat;
background-size: auto 100%;
box-sizing: border-box;
color: var(--color-handle-wrapper-text);
vertical-align: middle; }
.styles-module_handle-wrapper__26Eew .styles-module_handle__LTyBN.styles-module_top__3D7og {
top: -5px ;
cursor: n-resize ; }
.styles-module_handle-wrapper__26Eew .styles-module_handle__LTyBN.styles-module_bottom__daw_j {
bottom: 8px ;
cursor: s-resize ; }
.styles-module_handle-wrapper__26Eew .styles-module_handle__LTyBN.styles-module_top__3D7og::after,
.styles-module_handle-wrapper__26Eew .styles-module_handle__LTyBN.styles-module_bottom__daw_j::after {
display: block;
text-align: center;
content: '\2550'; }
.styles-module_layer-container__1wxVL {
position: relative;
height: 100%;
z-index: var(--z-index-layer-container); }
.styles-module_layer-container__1wxVL .styles-module_calendar__tGgRK {
top: 0;
left: 0;
right: 0;
bottom: 0; }
.styles-module_layer-container__1wxVL .styles-module_event__1PixZ {
z-index: var(--z-index-event); }
.styles-module_layer-container__1wxVL .styles-module_calendar__tGgRK {
position: absolute;
z-index: var(--z-index-calendar); }
.styles-module_layer-container__1wxVL .styles-module_drag-box__3w784 {
will-change: transform;
contain: strict;
position: absolute;
overflow: hidden;
text-overflow: ellipsis;
left: 0;
top: 0;
z-index: var(--z-index-drag-box);
border: 3px dashed var(--color-drag-box-border);
background: var(--color-drag-box-background);
width: 100px;
height: 100px; }
.styles-module_draggable__1Z1sE {
z-index: var(--z-index-draggable); }
.styles-module_button-reset__1EwGq {
outline: none;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background: none;
border: none;
border-radius: 0;
all: unset;
text-align: initial;
color: inherit; }
.styles-module_is-draggable__176XM {
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: grab; }
.styles-module_is-draggable__176XM.react-draggable-dragging {
cursor: grabbing;
z-index: var(--z-index-dragging) ; }
.styles-module_event__1PixZ {
will-change: height;
contain: content;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
display: block;
z-index: var(--z-index-event);
margin: 0;
position: absolute;
font-size: 1rem;
background: var(--background, var(--color-event-background));
color: var(--color-event-text);
left: 0;
right: 0;
width: 100px;
height: 50px;
overflow: hidden;
text-overflow: ellipsis; }
.styles-module_event__1PixZ:not(.styles-module_is-pending-creation__3Qr4x):not([disabled]):not(.styles-module_is-disabled__2JPDR):focus, .styles-module_event__1PixZ:not(.styles-module_is-pending-creation__3Qr4x):not([disabled]):not(.styles-module_is-disabled__2JPDR):hover {
box-shadow: 0 1px 5px 1px var(--color-event-shadow-1), 0 5px 10px 1px var(--color-event-shadow-2); }
.styles-module_event__1PixZ:not(.styles-module_is-pending-creation__3Qr4x):not([disabled]):not(.styles-module_is-disabled__2JPDR):focus-within {
box-shadow: 0 1px 5px 1px var(--color-event-shadow-1), 0 5px 10px 1px var(--color-event-shadow-2); }
.styles-module_event__1PixZ:not(.styles-module_is-pending-creation__3Qr4x):not([disabled]):not(.styles-module_is-disabled__2JPDR):hover {
--background: var(--color-event-hover-background); }
.styles-module_event__1PixZ:not(.styles-module_is-pending-creation__3Qr4x):not([disabled]):not(.styles-module_is-disabled__2JPDR):focus {
--background: var(--color-event-active-background);
z-index: var(--z-index-event-active); }
.styles-module_event__1PixZ:not(.styles-module_is-pending-creation__3Qr4x):not([disabled]):not(.styles-module_is-disabled__2JPDR):focus-within {
--background: var(--color-event-active-background);
z-index: var(--z-index-event-active); }
.styles-module_event__1PixZ.styles-module_is-pending-creation__3Qr4x {
z-index: var(--z-index-event-is-pending-creation);
opacity: 0.75; }
.styles-module_hours-container__2srEU {
display: flex; }
.styles-module_day-column__30McI {
flex: 1 1 var(--cell-width, 250px);
min-width: var(--cell-min-width, 150px); }
.styles-module_day-column__30McI .styles-module_day-hours__1E9lT {
display: flex;
flex-direction: column;
position: relative; }
.styles-module_day-column__30McI .styles-module_cell__sVJZY {
flex: 1 1 var(--cell-height, 40px);
display: flex;
justify-content: flex-start;
align-items: flex-start; }
.styles-module_day-column__30McI .styles-module_cell__sVJZY .styles-module_time__LJQW4 {
color: var(--color-timeline-text);
font-size: 0.75em;
text-transform: uppercase; }
.styles-module_day-column__30McI .styles-module_title__2VBFp {
padding: 10px 10px;
font-size: 20px;
justify-content: center;
align-items: center; }
.styles-module_cell__sVJZY:first-child,
.styles-module_cell__sVJZY + .styles-module_cell__sVJZY {
border: 1px solid var(--color-cell-border);
border-bottom: 0;
border-left: 0; }
.styles-module_cell__sVJZY:not(.styles-module_is-hour-start__1_0Zo) {
border-top-width: 1px;
border-top-style: dashed; }
.styles-module_header__10uIZ .styles-module_cell__sVJZY {
border-top-width: 0; }
.styles-module_day-header-row__27lss {
z-index: var(--z-index-day-header-row); }
.styles-module_sticky-top__2dSgb {
position: -webkit-sticky;
position: sticky;
top: 0; }
.styles-module_sticky-left__3tNLK {
position: -webkit-sticky;
position: sticky;
left: 0; }
.styles-module_header__10uIZ {
will-change: transform;
z-index: var(--z-index-header);
background: var(--color-header-background);
box-shadow: 0 1px 5px var(--color-header-shadow-1), 0 1px 10px var(--color-header-shadow-2); }
.styles-module_day-column__30McI.styles-module_first__IeNvS {
width: 100px;
max-width: 100px;
min-width: 0;
flex-grow: 0;
flex-shrink: 0; }
.styles-module_popup__2iu0Y {
position: absolute;
top: 0;
left: 0; }
.styles-module_range-boxes__ib1Nb .styles-module_event-content__3sakH {
padding: 5px 10px;
font-weight: bold;
font-size: 13px;
width: 100%;
height: 100%;
white-space: pre-wrap; }
.styles-module_range-boxes__ib1Nb .styles-module_event-content__3sakH > * {
width: 100%; }
.styles-module_range-boxes__ib1Nb .styles-module_start__3CzHL {
display: inline; }
.styles-module_range-boxes__ib1Nb .styles-module_start__3CzHL:after {
content: ' \2013 ';
display: inline; }
.styles-module_range-boxes__ib1Nb .styles-module_end__2L7Oy {
display: inline; }
.styles-module_timeline__1hCLT {
display: table-cell;
text-align: end;
z-index: var(--z-index-timeline); }
.styles-module_timeline__1hCLT .styles-module_day-column__30McI {
background: var(--color-timeline-background);
min-width: auto;
flex: 0 0 auto; }
.styles-module_timeline__1hCLT .styles-module_header__10uIZ {
z-index: var(--z-index-timeline-header);
box-shadow: none;
background: var(--color-timeline-background); }
.styles-module_timeline__1hCLT .styles-module_header__10uIZ .styles-module_cell__sVJZY {
visibility: hidden; }
.styles-module_timeline__1hCLT > *:not(.styles-module_header__10uIZ) .styles-module_cell__sVJZY {
position: relative;
top: -8px;
border: none;
border-color: transparent;
text-align: end;
justify-content: flex-end; }
.styles-module_timeline__1hCLT > *:not(.styles-module_header__10uIZ) .styles-module_cell__sVJZY:first-child {
visibility: hidden; }
.styles-module_timeline__1hCLT > *:not(.styles-module_header__10uIZ) .styles-module_cell__sVJZY .styles-module_time__LJQW4 {
background: inherit;
padding-right: 1rem; }
/*# sourceMappingURL=index.css.map */