Skip to content

Commit

Permalink
Settings animations added
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaikouu committed May 20, 2024
1 parent 36fbbe5 commit d25230b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Front/kantor-angular/src/app/settings/settings.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@ <h1>Ustawienia</h1>
</div>
<div class="lower-settings-container">

<div *ngIf="isProfileSelected">
<div class="selected-profile" *ngIf="isProfileSelected">
<!-- Profile settings go here -->
<p> Profil </p>
</div>

<div *ngIf="isSecuritySelected">
<div class="selected-security" *ngIf="isSecuritySelected">
<!-- Security settings go here -->
<p> Bezpieczeństwo </p>

</div>

<div *ngIf="isHelpSelected">
<div class="selected-help" *ngIf="isHelpSelected">
<!-- Help settings go here -->
<p> Pomocy </p>

Expand Down
12 changes: 12 additions & 0 deletions Front/kantor-angular/src/app/settings/settings.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,15 @@ h1{
height: 100%;
width: 100%;
}
.selected-profile, .selected-help, .selected-security{
animation: fade-in 1s ease 0s 1 normal forwards;
@keyframes fade-in {
0% {
opacity: 0;
}

100% {
opacity: 1;
}
}
}

0 comments on commit d25230b

Please sign in to comment.