feedback: keep default color. darken only when selecting a node

This commit is contained in:
Michael Pilosov 2024-07-02 11:04:15 -06:00
parent 0385fd4e1d
commit e750951e35
2 changed files with 7 additions and 2 deletions

View File

@ -24,6 +24,7 @@
></sm-pipeline-controller-step> ></sm-pipeline-controller-step>
</div> </div>
<svg class="arrows" <svg class="arrows"
[class.selected]="selectedEntity?.id"
*ngIf="chartWidth" *ngIf="chartWidth"
[attr.viewBox]="'0 0 ' + chartWidth + ' ' + (50 + 132 * dagModel?.length)" [attr.viewBox]="'0 0 ' + chartWidth + ' ' + (50 + 132 * dagModel?.length)"
[style.width.px]="chartWidth" [style.width.px]="chartWidth"

View File

@ -136,9 +136,13 @@ $log-header-height: 48px;
left: 0; left: 0;
top: 0; top: 0;
pointer-events: none; pointer-events: none;
stroke: $blue-600; stroke: $blue-400;
fill: $blue-600; fill: $blue-400;
&.selected {
stroke: $blue-600;
fill: $blue-600;
}
.selected { .selected {
stroke: $blue-200; stroke: $blue-200;
fill: $blue-200; fill: $blue-200;