Begining of the style of info popin

for the jumps
This commit is contained in:
Sébastien André
2021-01-07 16:54:24 +01:00
parent e6686cbc07
commit 09fda134fc
3 changed files with 19 additions and 29 deletions

View File

@@ -3,10 +3,12 @@
<table mat-table [dataSource]="dataSourceTable">
<ng-container matColumnDef="infos">
<th mat-header-cell *matHeaderCellDef></th>
<td mat-cell *matCellDef="let element" style="text-align: left; cursor: pointer;">
<td mat-cell *matCellDef="let element" style="text-align: left;"
(mouseover)='showPopin($event, element)'
(mouseout)='hidePopin($event, element)'>
<mat-icon aria-hidden="false" aria-label="All informations of the jump"
(click)="showPopin($event, element)">info</mat-icon>
<div [ngClass]="calculateClasses(element)">
style="cursor: pointer;">info</mat-icon>
<div [ngClass]="calculateClasses(element)" style="display: none;">
<span>
Gear : {{element.gear.mainCanopy}} ({{element.gear.mainCanopy}})
<br>Cutaway : {{element.withCutaway}}