Parcourir la source

improve: remove CPU-taxing Execute button animation (#4204)

bubble
kyle il y a 6 ans
committed by GitHub
Parent
révision
1f44231df9
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 0 ajouts et 23 suppressions
  1. +0
    -23
      src/style/_buttons.scss

+ 0
- 23
src/style/_buttons.scss Voir le fichier

@@ -64,35 +64,12 @@

&.execute
{
animation: swagger-ui-pulse 2s infinite;
will-change: transform;
background-color: $btn-execute-background-color;
color: $btn-execute-font-color;
border-color: $btn-execute-border-color;
}
}


@keyframes swagger-ui-pulse
{
0%
{
color: $btn-execute-font-color;
background: $btn-execute-background-color-alt;
box-shadow: 0 0 0 0 rgba($btn-execute-background-color-alt, .8);
}
70%
{
box-shadow: 0 0 0 5px rgba($btn-execute-background-color-alt, 0);
}
100%
{
color: $btn-execute-font-color;
background: $btn-execute-background-color-alt;
box-shadow: 0 0 0 0 rgba($btn-execute-background-color-alt, 0);
}
}

.btn-group
{
display: flex;


Chargement…
Annuler
Enregistrer