From 1f44231df98ea398fa1c0ac6c8b7f019a9149460 Mon Sep 17 00:00:00 2001 From: kyle Date: Wed, 7 Feb 2018 21:07:10 -0800 Subject: [PATCH] improve: remove CPU-taxing Execute button animation (#4204) --- src/style/_buttons.scss | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/src/style/_buttons.scss b/src/style/_buttons.scss index 8ebc7507..c9ccb66a 100644 --- a/src/style/_buttons.scss +++ b/src/style/_buttons.scss @@ -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;