Modifs de style suite au thème sombre

This commit is contained in:
Sébastien André
2021-04-15 10:08:40 +02:00
parent 772d3fb475
commit 0bb9ed2a30
9 changed files with 18 additions and 14 deletions

View File

@@ -44,7 +44,7 @@
</mat-nav-list>
<mat-nav-list *ngIf="currentUser">
<mat-icon aria-hidden="false" aria-label="To logout">logout</mat-icon>
<span (click)="logout()" style="cursor: pointer;">Logout</span>
<span (click)="snav.toggle(); logout()" style="cursor: pointer;">Logout</span>
</mat-nav-list>
</mat-sidenav>

View File

@@ -6,7 +6,7 @@
</p>
<p>
<a routerLink="/newjump" routerLinkActive="active" skipLocationChange>
<img src="../../assets/img/addJump.png" alt="Add new jumps">
<img src="../../assets/img/addJump_white.png" alt="Add new jumps">
</a>
</p>
</div>

View File

@@ -19,4 +19,4 @@ table {
flex-direction: column;
align-items: initial;
padding-top: 25px;
}
}

View File

@@ -17,14 +17,14 @@
(click)="setToFavorite(element)" style="cursor: pointer;">favorite_border</mat-icon>
<a href='http://{{element.website}}' target="_blank">
<mat-icon aria-hidden="false" aria-label="URL to the DZ website">link</mat-icon>
<mat-icon aria-hidden="false" aria-label="URL to the DZ website" style="color: white;">link</mat-icon>
</a>
<a href='https://www.openstreetmap.org/?mlat={{element.latitude}}&mlon={{element.longitude}}#map=14/{{element.latitude}}/{{element.longitude}}'
target="_blank">
<mat-icon aria-hidden="false" aria-label="Location of the DZ">map</mat-icon>
<mat-icon aria-hidden="false" aria-label="Location of the DZ" style="color: white;">map</mat-icon>
</a>
<a href="mailto:{{element.email}}" *ngIf="element.email">
<mat-icon aria-hidden="false" aria-label="Contact mail of the DZ">mail_outline</mat-icon>
<mat-icon aria-hidden="false" aria-label="Contact mail of the DZ" style="color: white;">mail_outline</mat-icon>
</a>
</td>
</ng-container>

View File

@@ -1,8 +1,14 @@
.content {
min-height: 90vh;
display: flex;
justify-content: left;
flex-direction: column;
align-items: initial;
padding-top: 25px;
}
.containerFlex {
display: flex;
flex-wrap: wrap;
}
.contentFlex {
flex: 45%;
}

View File

@@ -1,6 +1,6 @@
<div class="content" style="display: flex; flex-direction: row;">
<div class="content containerFlex">
<fieldset style="width: 50%;">
<fieldset class="contentFlex">
<legend>Profile</legend>
<form [formGroup]="userForm" (ngSubmit)="onSubmit(userForm.value)">
<p>
@@ -45,7 +45,7 @@
</form>
</fieldset>
<fieldset style="width: 50%;">
<fieldset class="contentFlex">
<legend>Images</legend>
<app-list-of-images></app-list-of-images>
</fieldset>