Styling picture selection components.

This commit is contained in:
Florian THIERRY
2024-08-19 23:02:39 +02:00
parent 56ac024cba
commit b1d9344574
4 changed files with 26 additions and 7 deletions
@@ -46,12 +46,12 @@
object-fit: cover;
border-radius: 1em;
opacity: .9;
transition: opacity .2s ease-in-out, box-shadow .2s ease-in-out;
box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);
transition: opacity .2s ease-in-out, box-shadow .2s ease-in-out;
&:hover {
opacity: 1;
cursor: pointer;
opacity: 1;
box-shadow: 0 2px 5px 0 rgba(0,0,0,.32),0 2px 10px 0 rgba(0,0,0,.24);
}
}
@@ -38,11 +38,11 @@ export class PictureSelectionDialog implements OnInit {
.finally(() => {
this.isLoading = false;
this.isLoaded = true;
})
});
}
selectPicture(picture: Picture): void {
console.log(picture.id);
this.dialogRef.close(picture.id);
}
closeDialog(): void {