Modifs de style suite au thème sombre
This commit is contained in:
@@ -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>
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -19,4 +19,4 @@ table {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: initial;
|
align-items: initial;
|
||||||
padding-top: 25px;
|
padding-top: 25px;
|
||||||
}
|
}
|
||||||
@@ -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>
|
||||||
|
|||||||
@@ -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%;
|
||||||
|
}
|
||||||
@@ -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>
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
Front/skydivelogs-app/src/assets/img/addJump_white.png
Normal file
BIN
Front/skydivelogs-app/src/assets/img/addJump_white.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.9 KiB |
BIN
Front/skydivelogs-app/src/assets/img/logo_white.png
Normal file
BIN
Front/skydivelogs-app/src/assets/img/logo_white.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.9 KiB |
Reference in New Issue
Block a user