mirror of
https://github.com/nasa/openmct.git
synced 2025-01-19 11:17:04 +00:00
[Frontend] WIP Timeline Follow Line
Fixes #1688 VERY WIP! Initial move of styles into classes;
This commit is contained in:
parent
1e1a2443d5
commit
8ec3c42291
@ -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"] {
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user