Skip to content
This repository has been archived by the owner on Oct 15, 2023. It is now read-only.

Commit

Permalink
✨ Animation du loader dans les paramètres
Browse files Browse the repository at this point in the history
  • Loading branch information
ecnivtwelve committed Jun 12, 2023
1 parent 852e723 commit 57210ec
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
18 changes: 18 additions & 0 deletions src/theme/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,24 @@ ion-alert.md .btn_secondary {
margin: 5px 16px;
}

.ElemScale-enter-active {
transition: 0.2s cubic-bezier(.5,0,0,1);
}

.ElemScale-leave-active {
transition: 0.2s cubic-bezier(.5,0,0,1);
}

.ElemScale-enter-from, .ElemScale-leave-to {
opacity: 0;
transform: scale(0.7);

width: 0;
height: 0;
margin: 0;
padding: 0;
}

/* links */
a.inherit {
color: inherit;
Expand Down
4 changes: 3 additions & 1 deletion src/views/grades/GradesView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,9 @@
</ion-select>
</div>

<ion-spinner v-if="isLoading"></ion-spinner>
<Transition name="ElemScale">
<ion-spinner v-if="isLoading"></ion-spinner>
</Transition>
</ion-buttons>
</IonToolbar>
<IonToolbar v-if="md">
Expand Down

0 comments on commit 57210ec

Please sign in to comment.