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>
<mat-nav-list *ngIf="currentUser"> <mat-nav-list *ngIf="currentUser">
<mat-icon aria-hidden="false" aria-label="To logout">logout</mat-icon> <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-nav-list>
</mat-sidenav> </mat-sidenav>

View File

@@ -6,7 +6,7 @@
</p> </p>
<p> <p>
<a routerLink="/newjump" routerLinkActive="active" skipLocationChange> <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> </a>
</p> </p>
</div> </div>

View File

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

View File

@@ -17,14 +17,14 @@
(click)="setToFavorite(element)" style="cursor: pointer;">favorite_border</mat-icon> (click)="setToFavorite(element)" style="cursor: pointer;">favorite_border</mat-icon>
<a href='http://{{element.website}}' target="_blank"> <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>
<a href='https://www.openstreetmap.org/?mlat={{element.latitude}}&mlon={{element.longitude}}#map=14/{{element.latitude}}/{{element.longitude}}' <a href='https://www.openstreetmap.org/?mlat={{element.latitude}}&mlon={{element.longitude}}#map=14/{{element.latitude}}/{{element.longitude}}'
target="_blank"> 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>
<a href="mailto:{{element.email}}" *ngIf="element.email"> <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> </a>
</td> </td>
</ng-container> </ng-container>

View File

@@ -1,8 +1,14 @@
.content { .content {
min-height: 90vh; min-height: 90vh;
display: flex;
justify-content: left; justify-content: left;
flex-direction: column;
align-items: initial; align-items: initial;
padding-top: 25px; 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> <legend>Profile</legend>
<form [formGroup]="userForm" (ngSubmit)="onSubmit(userForm.value)"> <form [formGroup]="userForm" (ngSubmit)="onSubmit(userForm.value)">
<p> <p>
@@ -45,7 +45,7 @@
</form> </form>
</fieldset> </fieldset>
<fieldset style="width: 50%;"> <fieldset class="contentFlex">
<legend>Images</legend> <legend>Images</legend>
<app-list-of-images></app-list-of-images> <app-list-of-images></app-list-of-images>
</fieldset> </fieldset>

View File

@@ -11,9 +11,7 @@
.logo { .logo {
width: 100px; width: 100px;
height: 100px; height: 100px;
background: url(/assets/img/logo_white.png) center center no-repeat;
// this way asset gets processed by webpack
background: url(/assets/img/logo.png) center center no-repeat;
background-size: 100px 100px; background-size: 100px 100px;
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB