diff --git a/src/frontend/app/document/document.component.html b/src/frontend/app/document/document.component.html index bca0b58501908d7a713d05d6ef5bdc999f92d803..c058e83601dcbfac223476f20255146a22b87d6c 100755 --- a/src/frontend/app/document/document.component.html +++ b/src/frontend/app/document/document.component.html @@ -128,11 +128,6 @@ <div *ngIf="lockSignaturePad" style="background: #ffffffb3;position: absolute;top: 0;left: 0;width: 100%;height: 100%;"></div> </div> </ng-container> - <!--<canvas class="pdf-page-canvas" [ngClass]="{ - 'pdf-page-canvas':!renderingDoc, - 'pdf-page-canvas-loading-doc':renderingDoc - }" - #canvas></canvas> --> </div> </section> <div class="page-under"> diff --git a/src/frontend/app/profile/profile.component.html b/src/frontend/app/profile/profile.component.html index 4ae023de59df57b57a8ad206a5436ce013470424..6ef1424f93756728d04959a47bea0793b812d260 100644 --- a/src/frontend/app/profile/profile.component.html +++ b/src/frontend/app/profile/profile.component.html @@ -4,7 +4,6 @@ <div class="user"> Mon Profil </div> - <canvas class="avatar" id="avatar"></canvas> <div class="avatar" [ngStyle]="{'background': 'url(' + this.profileInfo.picture + ') no-repeat scroll center center / cover'}" (tap)="uploadFile.click();"> </div> <input #uploadFile type="file" style="display:none;" (change)="handleFileInput($event.target.files)"> diff --git a/src/frontend/app/profile/profile.component.scss b/src/frontend/app/profile/profile.component.scss index 822b11d7dbc13a5f870ea9356d91237d13d869a0..ac8aa143990ada9fd31d2b75f5daf63a1a596a0e 100644 --- a/src/frontend/app/profile/profile.component.scss +++ b/src/frontend/app/profile/profile.component.scss @@ -54,6 +54,7 @@ } .avatar { + cursor: pointer; position: absolute; /*background: url(../../assets/user_sample.svg) $primary;*/ width: 65px; @@ -64,6 +65,11 @@ background-size: cover; background-repeat: no-repeat; background-position: center; + transition: all 0.2s; +} + +.avatar:active { + box-shadow: 0px 0px 5px 0px #656565; }