feat: circle marker for current time
This commit is contained in:
parent
84a677d26e
commit
bab2afee54
@ -680,6 +680,14 @@ export default class Gantt {
|
|||||||
classes: 'current-highlight',
|
classes: 'current-highlight',
|
||||||
append_to: this.$container,
|
append_to: this.$container,
|
||||||
});
|
});
|
||||||
|
this.$current_highlight = this.create_el({
|
||||||
|
top: this.config.header_height - 6,
|
||||||
|
left: left - 2.5,
|
||||||
|
width: 6,
|
||||||
|
height: 6,
|
||||||
|
classes: 'current-ball-highlight',
|
||||||
|
append_to: this.$header,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
make_grid_highlights() {
|
make_grid_highlights() {
|
||||||
|
|||||||
@ -173,6 +173,13 @@
|
|||||||
z-index: 999;
|
z-index: 999;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& .current-ball-highlight {
|
||||||
|
position: absolute;
|
||||||
|
background: var(--g-today-highlight);
|
||||||
|
z-index: 1001;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
& .current-date-highlight {
|
& .current-date-highlight {
|
||||||
background: var(--g-today-highlight);
|
background: var(--g-today-highlight);
|
||||||
color: var(--g-text-light);
|
color: var(--g-text-light);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user