[ui] tweak profile image
This commit is contained in:
		
							parent
							
								
									bfc3fbe397
								
							
						
					
					
						commit
						5005817529
					
				| @ -8,7 +8,7 @@ | |||||||
|   <ng-container *ngIf="servicesEnabled"> |   <ng-container *ngIf="servicesEnabled"> | ||||||
|     <div *ngIf="user" class="profile_image_container" [class]="{'anon': !user.imageMd5}" (click)="hamburgerClick()"> |     <div *ngIf="user" class="profile_image_container" [class]="{'anon': !user.imageMd5}" (click)="hamburgerClick()"> | ||||||
|       <img *ngIf="user.imageMd5" [src]="'/api/v1/services/account/image/' + user.username + '?md5=' + user.imageMd5" class="profile_image"> |       <img *ngIf="user.imageMd5" [src]="'/api/v1/services/account/image/' + user.username + '?md5=' + user.imageMd5" class="profile_image"> | ||||||
|       <app-svg-images *ngIf="!user.imageMd5" name="anon"></app-svg-images> |       <app-svg-images style="color: lightgrey; fill: lightgray" *ngIf="!user.imageMd5" name="anon"></app-svg-images> | ||||||
|     </div> |     </div> | ||||||
|     <div *ngIf="user === null" class="profile_image_container" (click)="hamburgerClick()"> |     <div *ngIf="user === null" class="profile_image_container" (click)="hamburgerClick()"> | ||||||
|       <app-svg-images name="hamburger" height="40"></app-svg-images> |       <app-svg-images name="hamburger" height="40"></app-svg-images> | ||||||
|  | |||||||
| @ -225,12 +225,12 @@ nav { | |||||||
|   align-self: center; |   align-self: center; | ||||||
|   cursor: pointer; |   cursor: pointer; | ||||||
|   &.anon { |   &.anon { | ||||||
|     border: 1px solid lightgrey; |     border: 1.5px solid lightgrey; | ||||||
|     color: grey; |     color: lightgrey; | ||||||
|     border-radius: 10px; |     border-radius: 5px; | ||||||
|   } |   } | ||||||
| } | } | ||||||
| .profile_image { | .profile_image { | ||||||
|   height: 35px; |   height: 35px; | ||||||
|   border-radius: 10px; |   border-radius: 5px; | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user