You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-04-10 10:32:44

Kramito
Member
Registered: 2023-02-10
Posts: 16

Disable all animations in GLPI 10.0.x

is it possible to disable all animations in GLPI 10.0.x? If it possible, please tell me how to do it, Thank you.

Offline

#2 2023-04-10 17:25:38

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: Disable all animations in GLPI 10.0.x

In your browser/OS though, there is likely a setting somewhere to disable/reduce animations but that would affect everything and not just GLPI.
If you do change those settings though, GLPI does respect the setting at least for the most part. For example, the shaking animation on notifications goes away.

From GLPI itself?
You can probably use the UI Customization feature in the Entity configuration, but you would need to figure out which CSS selectors to use and then disable the animation with something like:
transition: none !important;

For the notifications, this CSS rule may work:
.toast.animate_animated {
    transition: none !important;
}

or, if that doesn't work:
.toast.animate_animated {
    -webkit-animation-delay: -1ms;
    animation-delay: -1ms;
    -webkit-animation-duration: 1ms;
    animation-duration: 1ms;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-duration: 0s;
    transition-duration: 0s;
}


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2023-04-10 17:28:49

Kramito
Member
Registered: 2023-02-10
Posts: 16

Re: Disable all animations in GLPI 10.0.x

Thank you!
I'll try it tomorrow.
smile

Offline

Board footer

Powered by FluxBB