2015-11-25 17:04:11 +00:00
|
|
|
.l-timeline-gantt {
|
2016-05-26 03:52:36 +00:00
|
|
|
min-width: 2px;
|
|
|
|
overflow: hidden;
|
2015-11-25 17:04:11 +00:00
|
|
|
position: absolute;
|
|
|
|
top: $timelineSwimlaneGanttVM; bottom: $timelineSwimlaneGanttVM;
|
|
|
|
|
|
|
|
.bar {
|
|
|
|
@include ellipsize();
|
|
|
|
height: $activityBarH;
|
2016-05-26 03:52:36 +00:00
|
|
|
line-height: $activityBarH;
|
2015-11-25 17:04:11 +00:00
|
|
|
padding: 0 $interiorMargin;
|
|
|
|
|
|
|
|
span {
|
2016-05-26 03:52:36 +00:00
|
|
|
$iconW: 20px;
|
|
|
|
@include absPosDefault();
|
|
|
|
display: block;
|
2015-11-25 17:04:11 +00:00
|
|
|
&.s-activity-type {
|
2016-05-26 03:52:36 +00:00
|
|
|
right: auto; width: $iconW;
|
|
|
|
text-align: center;
|
2015-11-25 17:04:11 +00:00
|
|
|
&.timeline {
|
|
|
|
&:before {
|
|
|
|
content:"S";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.activity {
|
|
|
|
&:before {
|
|
|
|
content:"A";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.s-title {
|
2016-05-26 03:52:36 +00:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
left: $iconW;
|
2015-11-25 17:04:11 +00:00
|
|
|
}
|
|
|
|
&.duration {
|
|
|
|
left: auto;
|
|
|
|
opacity: 0.75;
|
|
|
|
right: 0;
|
|
|
|
text-align: right;
|
|
|
|
width: 60px;
|
|
|
|
}
|
|
|
|
&.handle {
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
height: auto;
|
|
|
|
width: 15px;
|
|
|
|
&.left {
|
|
|
|
right: auto;
|
|
|
|
}
|
|
|
|
&.middle {
|
|
|
|
right: 15px;
|
|
|
|
left: 15px;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
&.right {
|
|
|
|
right: 0;
|
|
|
|
left: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-05-26 03:52:36 +00:00
|
|
|
&.sm .bar span {
|
|
|
|
// Hide icon and label if width is too small
|
|
|
|
display: none;
|
|
|
|
}
|
2015-11-25 17:04:11 +00:00
|
|
|
}
|
|
|
|
|
2016-01-09 00:11:00 +00:00
|
|
|
.edit-mode .s-timeline-gantt,
|
|
|
|
.s-status-editing .s-timeline-gantt {
|
2015-11-25 17:04:11 +00:00
|
|
|
.handle {
|
|
|
|
cursor: col-resize;
|
|
|
|
&.mid {
|
2016-05-26 02:39:56 +00:00
|
|
|
cursor: ew-resize;
|
2015-11-25 17:04:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|