@tamagutchi/gantt-task-react
Version:
607 lines (533 loc) • 11.3 kB
CSS
._ganttTable_Header_ksu9q_1 {
display: table;
border-bottom: #ece7e2 1px solid;
box-sizing: content-box;
}
._ganttTable_HeaderSeparator_ksu9q_7 {
border-right: 1px solid #d3c7ba;
opacity: 1;
margin-left: -2px;
}
._ganttTable_HeaderContent_ksu9q_13 {
display: flex;
justify-content: space-between;
align-items: center;
}
._ganttTable_HeaderTitle_ksu9q_19 {
}
._ganttTable_HeaderItem_ksu9q_22 {
position: relative;
box-sizing: border-box;
overflow: hidden;
padding-left: 5px;
padding-right: 5px;
display: table-cell;
vertical-align: -webkit-baseline-middle;
vertical-align: middle;
}
._resizer_ksu9q_33 {
position: absolute;
top: 0;
right: -5px;
height: 100%;
width: 10px;
cursor: ew-resize;
user-select: none;
}
._ganttTable_HeaderItem_ksu9q_22:last-child ._resizer_ksu9q_33 {
width: 5px;
right: 5px;
}
._resizer_ksu9q_33:hover {
background-color: grey;
}
._taskListHeaderAction_j1iwy_1 {
}
._taskListTableRow_w35p0_1 {
position: relative;
display: table-row;
text-overflow: ellipsis;
cursor:grab
}
._taskListTableRowGrabbing_w35p0_7 {
cursor:grabbing
}
._cut_w35p0_11 {
opacity: 0.3;
}
._taskListCell_w35p0_15 {
box-sizing: border-box;
display: table-cell;
vertical-align: middle;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding-left: 5px;
}
._taskListCellInner_w35p0_24 {
display: flex;
align-items: center;
}
._dropAfter_w35p0_29 {
position: absolute;
z-index: 1;
display: flex;
align-items: center;
bottom: 0px;
left: 0;
width: 100%;
height: 8px;
color: transparent;
}
._dropAfterLighten_w35p0_41 {
border-radius: 6px;
}
._dropAfter_w35p0_29::before {
content: "";
width: 12px;
height: 12px;
border-radius: 6px;
background-color: currentColor;
}
._dropBefore_w35p0_53 {
position: absolute;
z-index: 1;
display: flex;
align-items: center;
top:0px;
width: 100%;
height: 8px;
color: transparent;
}
._dropBeforeLighten_w35p0_64 {
border-radius: 6px;
}
._dropBefore_w35p0_53::before {
content: "";
width: 12px;
height: 12px;
border-radius: 6px;
background-color: currentColor;
}
._taskListWrapper_yx1w7_1 {
display: table;
}
._tooltipDefaultContainer_juje4_1 {
background: #fff;
padding: 12px;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}
._tooltipDefaultContainerParagraph_juje4_7 {
font-size: 12px;
margin-bottom: 6px;
color: #666;
}
._tooltipDetailsContainer_juje4_13 {
position: absolute;
display: flex;
flex-shrink: 0;
pointer-events: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
._tooltipDetailsContainerHidden_juje4_25 {
visibility: hidden;
position: absolute;
display: flex;
pointer-events: none;
}
._ganttTableRoot_6d2lq_1 {
display: flex;
position: relative;
overflow: hidden;
border-right: 1px solid #d3c7ba;
}
._ganttTableWrapper_6d2lq_8 {
display: grid;
overflow: hidden;
grid-template-rows: min-content;
overflow-x: auto;
scrollbar-width: thin;
}
._ganttTableWrapper_6d2lq_8::-webkit-scrollbar {
width: 1.1rem;
height: 1.1rem;
}
._ganttTableWrapper_6d2lq_8::-webkit-scrollbar-corner {
background: transparent;
}
._ganttTableWrapper_6d2lq_8::-webkit-scrollbar-thumb {
border: 6px solid transparent;
background: rgba(0, 0, 0, 0.2);
background: var(--palette-black-alpha-20, rgba(0, 0, 0, 0.2));
border-radius: 10px;
background-clip: padding-box;
}
._ganttTableWrapper_6d2lq_8::-webkit-scrollbar-thumb:hover {
border: 4px solid transparent;
background: rgba(0, 0, 0, 0.3);
background: var(--palette-black-alpha-30, rgba(0, 0, 0, 0.3));
background-clip: padding-box;
}
._taskListResizer_6d2lq_40 {
position: absolute;
top: 0;
right: -5px;
height: 100%;
width: 10px;
cursor: ew-resize;
user-select: none;
}
._taskListResizer_6d2lq_40:hover {
background-color: #ece7e2;
}
._taskListResizer_6d2lq_40::before {
content: "";
position: absolute;
top: 0;
left: 4px;
height: 100%;
width: 2px;
}
._taskListContent_6d2lq_63 {
overflow-x: hidden;
overflow-y: auto;
position: relative;
/* scrollbar-width: thin; */
}
._taskListContent_6d2lq_63::-webkit-scrollbar {
display: none;
}
._hidden_6d2lq_73 {
display: none;
}
._button_ts3e8_1 {
margin: 0;
padding: 5px;
border: none;
outline: none;
background: transparent;
cursor: pointer;
font-size: 20px;
font-weight: bold;
}
._taskListNameWrapper_1tpd9_1 {
display: flex;
align-items: center;
}
._dragging_1tpd9_6 {
opacity: 0.5;
}
._taskListExpander_1tpd9_10 {
opacity: 0.9;
font-size: 18px;
user-select: none;
cursor: pointer;
display: flex;
}
._taskListEmptyExpander_1tpd9_18 {
user-select: none;
cursor: default;
}
._taskName_1tpd9_23 {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-weight: 700;
}
._button_ts3e8_1 {
margin: 0;
padding: 5px;
border: none;
outline: none;
background: transparent;
cursor: pointer;
font-size: 20px;
font-weight: bold;
}
._button_5sg45_1 {
margin: 0;
padding: 5px;
border: none;
outline: none;
background: transparent;
cursor: pointer;
font-size: 20px;
}
._calendarMain_15ta8_1 {
border-bottom: #ece7e2 1px solid;
border-left: 2px solid #ece7e2;
box-sizing: content-box;
}
._calendarBottomText_15ta8_7 {
text-anchor: middle;
fill: #222;
font-weight: 900;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
._calendarTopTick_15ta8_19 {
stroke: #e6e4e4;
}
._calendarTopText_15ta8_23 {
text-anchor: middle;
fill: #717680;
font-weight: 900;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
._calendarHeader_15ta8_35 {
fill: #ffffff;
stroke: #e0e0e0;
stroke-width: 1.4;
}
._hoverVisibleWrapper_19ebs_1:hover ._wrapper_19ebs_1 {
display: initial;
}
._wrapper_19ebs_1 {
cursor: pointer;
}
._wrapper_19ebs_1:hover ._mainPath_19ebs_9 {
filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, .7));
}
._mainPath_19ebs_9 {
fill: none;
stroke-width: 1.5px;
}
._clickZone_19ebs_18 {
fill: transparent;
stroke: transparent;
}
._arrow_clickable_16evi_1 {
cursor: pointer;
}
._arrow_clickable_16evi_1:hover ._mainPath_16evi_5 {
filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, .7));
}
._mainPath_16evi_5 {
fill: none;
stroke-width: 1.5px;
}
._clickZone_16evi_14 {
fill: none;
stroke: transparent;
stroke-width: 8px;
}
._relationLine_1nqzz_1 {
stroke: grey;
stroke-width: 2;
stroke-dasharray: 4;
}
._barWrapper_1it16_1 {
cursor: pointer;
outline: none;
}
._barWrapper_1it16_1:hover ._barHandle_1it16_6 {
visibility: visible;
opacity: 1;
}
._barHandle_1it16_6 {
fill: rgba(0, 0, 0, 0.2);
cursor: ew-resize;
opacity: 0;
visibility: hidden;
}
._barHandle_1it16_6:hover {
fill: rgba(0, 0, 0, 0.5);
}
._barBackground_1it16_22 {
user-select: none;
stroke-width: 0;
}
._barRelationHandleWrapper_fbfjd_1:hover ._barRelationHandle_fbfjd_1,
._barRelationHandle_fbfjd_1._barRelationHandle_drawMode_fbfjd_2 {
opacity: 1;
}
._barRelationHandle_fbfjd_1 {
fill: #b2b2b2;
stroke: #fff;
stroke-width: 2px;
cursor: pointer;
opacity: 0;
filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.25));
}
._barRelationHandle_fbfjd_1:hover {
fill: #545454;
}
._projectWrapper_19i2s_1 {
cursor: pointer;
outline: none;
}
._projectBackground_19i2s_6 {
user-select: none;
opacity: 0.6;
}
._projectTop_19i2s_11 {
user-select: none;
}
._milestoneWrapper_xr9to_1 {
cursor: pointer;
outline: none;
}
._milestoneBackground_xr9to_6 {
user-select: none;
}
._barLabel_icomk_1 {
text-anchor: middle;
font-weight: 700;
font-size: 11px;
text-transform: uppercase;
dominant-baseline: central;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
._barLabelOutside_icomk_15 {
text-anchor: start;
font-weight: 700;
font-size: 11px;
text-transform: uppercase;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
._hoverVisibleWrapper_19ebs_1:hover ._wrapper_19ebs_1 {
display: initial;
}
._wrapper_19ebs_1 {
cursor: pointer;
}
._wrapper_19ebs_1:hover ._mainPath_19ebs_9 {
filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, .7));
}
._mainPath_19ebs_9 {
fill: none;
stroke-width: 1.5px;
}
._clickZone_19ebs_18 {
fill: transparent;
stroke: transparent;
}
._ganttTaskRoot_l1csn_1 {
display: flex;
flex-direction: column;
overflow-x: scroll;
overflow-y: hidden;
font-size: 0;
margin: 0;
padding: 0;
}
/* Only chrome otherwise the firefox scrollbar has no edge*/
@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) {
._ganttTaskRoot_l1csn_1 {
scrollbar-width: thin;
}
}
/* .ganttTaskRoot::-webkit-scrollbar {
width: 1.1rem;
height: 1.1rem;
}
.ganttTaskRoot::-webkit-scrollbar-corner {
background: transparent;
}
.ganttTaskRoot::-webkit-scrollbar-thumb {
border: 6px solid transparent;
background: rgba(0, 0, 0, 0.2);
background: var(--palette-black-alpha-20, rgba(0, 0, 0, 0.2));
border-radius: 10px;
background-clip: padding-box;
}
.ganttTaskRoot::-webkit-scrollbar-thumb:hover {
border: 4px solid transparent;
background: rgba(0, 0, 0, 0.3);
background: var(--palette-black-alpha-30, rgba(0, 0, 0, 0.3));
background-clip: padding-box;
} */
._ganttTaskContent_l1csn_41 {
margin: 0;
padding: 0;
overflow-x: hidden;
overflow-y: auto;
}
/* Only chrome otherwise the firefox scrollbar has no edges*/
@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) {
._ganttTaskContent_l1csn_41 {
scrollbar-width: thin;
}
}
._wrapper_l1csn_54 {
display: grid;
overflow-x: hidden;
overflow-y: hidden;
padding: 0;
margin: 0;
list-style: none;
outline: none;
position: relative;
}
/* Add this to your CSS file or create a new one */
._empty-task-placeholder-group_l1csn_66 {
cursor: pointer;
}
._empty-task-placeholder_l1csn_66,
._empty-task-placeholder-text_l1csn_71 {
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
}
._empty-task-placeholder-group_l1csn_66:hover ._empty-task-placeholder_l1csn_66 {
opacity: 0.6;
}
._empty-task-placeholder-group_l1csn_66:hover ._empty-task-placeholder-text_l1csn_71 {
opacity: 0.8;
}
/* Optional: Add a subtle animation */
._empty-task-placeholder_l1csn_66 {
transform-origin: center;
}
._empty-task-placeholder-group_l1csn_66:hover ._empty-task-placeholder_l1csn_66 {
animation: _placeholderPulse_l1csn_1 2s ease-in-out infinite;
}
@keyframes _placeholderPulse_l1csn_1 {
0%,
100% {
opacity: 0.6;
}
50% {
opacity: 0.3;
}
}
._menuOption_1uedq_1 {
display: flex;
align-items: center;
gap: 5px;
background-color: #fff;
cursor: pointer;
padding: 5px;
}
._menuOption_1uedq_1:hover {
background-color: #eeeeee;
}
._icon_1uedq_14 {
width: 30px;
}
._label_1uedq_18 {
flex: 1;
}