[Frontend] WIP Timeline Follow Line

Fixes #1688
VERY WIP! Initial move of styles into classes;
This commit is contained in:
Charles Hacskaylo 2017-09-13 16:46:14 -07:00
parent 1e1a2443d5
commit 8ec3c42291
2 changed files with 20 additions and 5 deletions

View File

@ -75,6 +75,10 @@
}
}
&.l-timeline-gantt {
.abs.l-timeline-gantt-header-w {
overflow: hidden;
height: $timelineTopPaneHeaderH;
}
.l-swimlanes-holder {
@include scrollV(scroll);
bottom: $scrollbarTrackSize;
@ -322,6 +326,18 @@
.l-subticks {
height: 5px
}
// Follow Line
.l-follow-line {
position: absolute;
top: 0; bottom: 0;
width: 1px;
z-index: 100;
}
.s-follow-line {
background: rgba(red, 0.5);
}
}
.s-status-editing .l-title .rep-object-label[draggable="true"] {

View File

@ -129,7 +129,7 @@
</a>
</div>
<div style="overflow: hidden; position: absolute; left: 0; top: 0; right: 0; height: 30px;" mct-scroll-x="scroll.x">
<div class="abs l-timeline-gantt-header-w" mct-scroll-x="scroll.x">
<mct-include key="'timeline-ticks'"
parameters="{
fullWidth: zoomController.width(timelineController.end()),
@ -139,10 +139,9 @@
toMillis: zoomController.toMillis
}">
</mct-include>
<div ng-if="toiController.isActive()"
ng-style="{ left: toiController.x() + 'px', width: '4px', top: '0px', height: '30px', background: 'blue', position: 'absolute' }">
</div>
<div class="t-follow-line l-follow-line s-follow-line" ng-if="toiController.isActive()"
ng-style="{ left: toiController.x() + 'px' }">
</div>
</div>
<div class="t-swimlanes-holder l-swimlanes-holder"