Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 56 additions & 23 deletions src/app/components/graphs/overview/chart.scss
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ body.dark-theme .commit {
pointer-events: auto;
overflow: hidden;
cursor: default;
mask: url(#milestone-badges-cutout-mask);
-webkit-mask: url(#milestone-badges-cutout-mask);
}

.session-pill {
Expand Down Expand Up @@ -211,56 +213,87 @@ body.dark-theme .commit {
pointer-events: auto;
cursor: pointer;

> rect:first-child {
.milestone-vertical-line {
transition: width var(--transition-fast), transform var(--transition-fast);
}

&:hover > rect:first-child {
&:hover .milestone-vertical-line {
width: 2px;
transform: translate(-1px, 0);
}

> rect:nth-child(2) {
rx: 12px;
ry: 12px;
transition: filter var(--transition-normal), transform var(--transition-normal);
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
.milestone-label-group {
pointer-events: none;
}

&:hover > rect:nth-child(2) {
transform: translateY(-2px);
filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));

// --- Bottom Bar ---
.milestone-bottom-bar {
pointer-events: none;
transition: height var(--transition-fast), y var(--transition-fast), filter var(--transition-fast);
}

> text {
fill: var(--color-surface);
user-select: none;
font-family: var(--font-family-sans);
font-size: 12px;
font-weight: 500;
transition: transform var(--transition-normal);
// Hover feedback: bar thickens upward (matches vertical line hover at 3px, bottom stays at y=0)
&:hover .milestone-bottom-bar {
y: -3px;
height: 3px;
filter: brightness(1.15);
}

&:hover > text {
transform: translateY(-2px);
.milestone-text {
fill: var(--color-text-primary);
user-select: none;
pointer-events: none;
font-family: var(--font-family-sans);
font-size: 11px;
font-weight: 600;
line-height: 1;
transition: fill var(--transition-fast);
}
}

.review {
> rect:first-child, > rect:nth-child(2) { fill: var(--color-primary); stroke: var(--color-primary); }
.milestone-vertical-line {
fill: var(--color-primary);
stroke: var(--color-primary);
}
.milestone-bottom-bar {
fill: var(--color-primary);
}
&:hover .milestone-text {
fill: var(--color-primary);
}
.milestone-drag-badge .badge-progress { stroke: var(--color-primary); }
}

.correction {
> rect:first-child, > rect:nth-child(2) { fill: var(--color-danger); stroke: var(--color-danger); }
.milestone-vertical-line {
fill: var(--color-danger);
stroke: var(--color-danger);
}
.milestone-bottom-bar {
fill: var(--color-danger);
}
&:hover .milestone-text {
fill: var(--color-danger);
}
.milestone-drag-badge .badge-progress { stroke: var(--color-danger); }
}

.other {
> rect:first-child, > rect:nth-child(2) { fill: var(--color-secondary); stroke: var(--color-secondary); }
.milestone-vertical-line {
fill: var(--color-secondary);
stroke: var(--color-secondary);
}
.milestone-bottom-bar {
fill: var(--color-secondary);
}
&:hover .milestone-text {
fill: var(--color-secondary);
}
.milestone-drag-badge .badge-progress { stroke: var(--color-secondary); }
}


.hitbox {
fill: transparent !important;
stroke: none !important;
Expand Down
1 change: 0 additions & 1 deletion src/app/components/graphs/overview/overview.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -489,4 +489,3 @@ <h6 class="dropdown-header px-0 mb-2" style="font-weight: 600;">{{ "OVERVIEW-GRA
(saveSession)="onSaveSession($event)"
>
</overview-graph-contextual-menu>

Loading