Skip to content
Snippets Groups Projects
Commit 5ccd8a5c authored by fsdavid's avatar fsdavid
Browse files

Add tools menu items

parent 2b08d2db
No related branches found
No related tags found
No related merge requests found
......@@ -68,4 +68,4 @@ mat-sidenav {
.mobileMenuTabs {
margin: 40px 0 0 5px;
}
\ No newline at end of file
}
......@@ -176,23 +176,23 @@
<!-- TODO Potentially implementing plugin contextual info -->
</div>
<panel-component class="shadow" fixedMouseContextualContainerDirective>
<div body class="pe-all">
<mat-card *ngIf="(onhoverSegmentsForFixed$ | async)?.length > 0 && regionToolsMenuVisible" class="p-0 m-0 d-flex flex-column">
<panel-component class="shadow p-0 m-0" fixedMouseContextualContainerDirective>
<div body class="pe-all" *ngIf="(onhoverSegmentsForFixed$ | async) as onHoverSegments">
<mat-card *ngIf="onHoverSegments.length > 0 && regionToolsMenuVisible" class="d-flex flex-column p-0">
<div *ngFor="let onHoverRegion of onHoverSegments" class="border rounded m-2">
<div class="text-nowrap text-ellipsis mt-2 ml-2 overflow-hidden" [matTooltip]="onHoverRegion.name" matTooltipShowDelay="1000">{{onHoverRegion.name}}</div>
<div class="d-flex align-items-center justify-content-between">
<button mat-button matTooltip="Select region" matTooltipShowDelay="1000" style="font-size: 10px" class="p-1"><i class="fas fa-hand-pointer"></i> Select</button>
<button mat-button matTooltip="Navigate to region" matTooltipShowDelay="1000" style="font-size: 10px" class="p-1"> <i class="fas fa-crosshairs"></i> Navigate </button>
<button mat-button matTooltip="Region Description" matTooltipShowDelay="1000" style="font-size: 10px" class="p-1"> <i class="fas fa-info-circle"></i> Description</button>
</div>
</div>
</mat-card>
</div>
</panel-component>
</layout-floating-container>
<!-- required for manufacturing plugin templates -->
......@@ -241,4 +241,4 @@
<!-- logo tmpl -->
<ng-template #logoTmpl>
<logo-container></logo-container>
</ng-template>
\ No newline at end of file
</ng-template>
......@@ -679,4 +679,8 @@ body::after
padding: 0!important;
overflow: hidden;
margin-top: 0.25rem;
}
\ No newline at end of file
}
.text-ellipsis {
text-overflow: ellipsis;
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment