openmct/platform/features/timeline/res/sass/_activities.scss
Charles Hacskaylo fc53dbd8a4 [Frontend] Themes added to Timelines
open #208
Espresso and Snow now supported; bulk of
work done except for minor cleanups, like zoom
buttons; Dragging not working currently in Timelines;
2015-11-20 15:23:08 -08:00

74 lines
1.1 KiB
SCSS

.l-timeline-gantt {
position: absolute;
top: $timelineSwimlaneGanttVM; bottom: $timelineSwimlaneGanttVM;
.bar {
@include ellipsize();
height: $activityBarH;
line-height: $activityBarH + 2;
padding: 0 $interiorMargin;
span {
display: inline;
&.s-activity-type {
&.timeline {
&:before {
content:"S";
}
}
&.activity {
&:before {
content:"A";
}
}
}
&.s-title {
@include text-shadow(rgba(black, 0.1) 0 1px 2px);
// right: 5px;
// width: 50%;
}
&.duration {
left: auto;
opacity: 0.75;
right: 0;
text-align: right;
width: 60px;
}
&.handle {
//background: rgba(red, 0.2);
top: 0;
bottom: 0;
height: auto;
width: 15px;
&.left {
right: auto;
}
&.middle {
right: 15px;
left: 15px;
width: auto;
}
&.right {
right: 0;
left: auto;
}
}
}
}
}
.edit-mode .s-timeline-gantt {
.handle {
cursor: col-resize;
&.start {
// @include test(red);
}
&.mid {
// @include test(green);
cursor: ew-resize;
}
&.end {
// @include test(blue);
}
}
}